All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.primefaces-blutorange.monacoEditor.editor.js Maven / Gradle / Ivy

/*! For license information please see editor.js.LICENSE.txt */
!function(){var e={89982:function(e,t,n){"use strict";function i(e,t){return 0===t.length?e:String(e).replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return void 0!==t[i]?t[i]:e}))}function o(e,t,o){var r="object"==typeof t?t.key:t,s=((t=((n.g.MonacoEnvironment||{}).Locale||{}).data||{})[e]||{})[r];s||(s=o);for(var a=[],l=3;l .action-label {\r\n\tmargin-right: 1px;\r\n}\r\n",""]),t.Z=o},40371:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-aria-container {\r\n\tposition: absolute; /* try to hide from window but not from screen readers */\r\n\tleft:-999em;\r\n}",""]),t.Z=o},55796:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-text-button {\r\n\tbox-sizing: border-box;\r\n\tdisplay: flex;\r\n\twidth: 100%;\r\n\tpadding: 4px;\r\n\ttext-align: center;\r\n\tcursor: pointer;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-text-button:hover {\r\n\ttext-decoration: none !important;\r\n}\r\n\r\n.monaco-button.disabled {\r\n\topacity: 0.4;\r\n\tcursor: default;\r\n}\r\n\r\n.monaco-text-button > .codicon {\r\n\tmargin: 0 0.2em;\r\n\tcolor: inherit !important;\r\n}\r\n\r\n.monaco-button-dropdown {\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-button-dropdown > .monaco-dropdown-button {\r\n\tmargin-left: 1px;\r\n}\r\n",""]),t.Z=o},69796:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-custom-checkbox {\r\n\tmargin-left: 2px;\r\n\tfloat: left;\r\n\tcursor: pointer;\r\n\toverflow: hidden;\r\n\topacity: 0.7;\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tborder: 1px solid transparent;\r\n\tpadding: 1px;\r\n\tbox-sizing:\tborder-box;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-custom-checkbox:hover,\r\n.monaco-custom-checkbox.checked {\r\n\topacity: 1;\r\n}\r\n\r\n.hc-black .monaco-custom-checkbox {\r\n\tbackground: none;\r\n}\r\n\r\n.hc-black .monaco-custom-checkbox:hover {\r\n\tbackground: none;\r\n}\r\n\r\n.monaco-custom-checkbox.monaco-simple-checkbox {\r\n\theight: 18px;\r\n\twidth: 18px;\r\n\tborder: 1px solid transparent;\r\n\tborder-radius: 3px;\r\n\tmargin-right: 9px;\r\n\tmargin-left: 0px;\r\n\tpadding: 0px;\r\n\topacity: 1;\r\n\tbackground-size: 16px !important;\r\n}\r\n\r\n/* hide check when unchecked */\r\n.monaco-custom-checkbox.monaco-simple-checkbox:not(.checked)::before {\r\n\tvisibility: hidden;\r\n}\r\n",""]),t.Z=o},99827:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.codicon-wrench-subaction {\r\n\topacity: 0.5;\r\n}\r\n\r\n@keyframes codicon-spin {\r\n\t100% {\r\n\t\ttransform:rotate(360deg);\r\n\t}\r\n}\r\n\r\n.codicon-sync.codicon-modifier-spin, .codicon-loading.codicon-modifier-spin{\r\n\t/* Use steps to throttle FPS to reduce CPU usage */\r\n\tanimation: codicon-spin 1.5s steps(30) infinite;\r\n}\r\n\r\n.codicon-modifier-disabled {\r\n\topacity: 0.4;\r\n}\r\n\r\n/* custom speed & easing for loading icon */\r\n.codicon-loading,\r\n.codicon-tree-item-loading::before {\r\n\tanimation-duration: 1s !important;\r\n\tanimation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\r\n}\r\n",""]),t.Z=o},23222:function(e,t,n){"use strict";var i=n(23645),o=n.n(i),r=n(61667),s=n.n(r),a=n(61088),l=o()((function(e){return e[1]})),c=s()(a.Z);l.push([e.id,'/*---------------------------------------------------------------------------------------------\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@font-face {\r\n\tfont-family: "codicon";\r\n\tsrc: url('+c+") format(\"truetype\");\r\n}\r\n\r\n.codicon[class*='codicon-'] {\r\n\tfont: normal normal normal 16px/1 codicon;\r\n\tdisplay: inline-block;\r\n\ttext-decoration: none;\r\n\ttext-rendering: auto;\r\n\ttext-align: center;\r\n\t-webkit-font-smoothing: antialiased;\r\n\t-moz-osx-font-smoothing: grayscale;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n/* icon rules are dynamically created in codiconStyles */\r\n",""]),t.Z=l},72555:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.context-view {\r\n\tposition: absolute;\r\n\tz-index: 2500;\r\n}\r\n\r\n.context-view.fixed {\r\n\tall: initial;\r\n\tfont-family: inherit;\r\n\tfont-size: 13px;\r\n\tposition: fixed;\r\n\tz-index: 2500;\r\n\tcolor: inherit;\r\n}\r\n",""]),t.Z=o},73688:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-count-badge {\r\n\tpadding: 3px 6px;\r\n\tborder-radius: 11px;\r\n\tfont-size: 11px;\r\n\tmin-width: 18px;\r\n\tmin-height: 18px;\r\n\tline-height: 11px;\r\n\tfont-weight: normal;\r\n\ttext-align: center;\r\n\tdisplay: inline-block;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-count-badge.long {\r\n\tpadding: 2px 3px;\r\n\tborder-radius: 2px;\r\n\tmin-height: auto;\r\n\tline-height: normal;\r\n}\r\n",""]),t.Z=o},45340:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-dropdown {\r\n\theight: 100%;\r\n\tpadding: 0;\r\n}\r\n\r\n.monaco-dropdown > .dropdown-label {\r\n\tcursor: pointer;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-dropdown > .dropdown-label > .action-label.disabled {\r\n\tcursor: default;\r\n}\r\n",""]),t.Z=o},27504:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* ---------- Find input ---------- */\r\n\r\n.monaco-findInput {\r\n\tposition: relative;\r\n}\r\n\r\n.monaco-findInput .monaco-inputbox {\r\n\tfont-size: 13px;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-findInput > .controls {\r\n\tposition: absolute;\r\n\ttop: 3px;\r\n\tright: 2px;\r\n}\r\n\r\n.vs .monaco-findInput.disabled {\r\n\tbackground-color: #E1E1E1;\r\n}\r\n\r\n/* Theming */\r\n.vs-dark .monaco-findInput.disabled {\r\n\tbackground-color: #333;\r\n}\r\n\r\n/* Highlighting */\r\n.monaco-findInput.highlight-0 .controls {\r\n\tanimation: monaco-findInput-highlight-0 100ms linear 0s;\r\n}\r\n.monaco-findInput.highlight-1 .controls {\r\n\tanimation: monaco-findInput-highlight-1 100ms linear 0s;\r\n}\r\n.hc-black .monaco-findInput.highlight-0 .controls,\r\n.vs-dark  .monaco-findInput.highlight-0 .controls {\r\n\tanimation: monaco-findInput-highlight-dark-0 100ms linear 0s;\r\n}\r\n.hc-black .monaco-findInput.highlight-1 .controls,\r\n.vs-dark  .monaco-findInput.highlight-1 .controls {\r\n\tanimation: monaco-findInput-highlight-dark-1 100ms linear 0s;\r\n}\r\n\r\n@keyframes monaco-findInput-highlight-0 {\r\n\t0% { background: rgba(253, 255, 0, 0.8); }\r\n\t100% { background: transparent; }\r\n}\r\n@keyframes monaco-findInput-highlight-1 {\r\n\t0% { background: rgba(253, 255, 0, 0.8); }\r\n\t/* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\r\n\t99% { background: transparent; }\r\n}\r\n\r\n@keyframes monaco-findInput-highlight-dark-0 {\r\n\t0% { background: rgba(255, 255, 255, 0.44); }\r\n\t100% { background: transparent; }\r\n}\r\n@keyframes monaco-findInput-highlight-dark-1 {\r\n\t0% { background: rgba(255, 255, 255, 0.44); }\r\n\t/* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\r\n\t99% { background: transparent; }\r\n}",""]),t.Z=o},57780:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-hover {\r\n\tcursor: default;\r\n\tposition: absolute;\r\n\toverflow: hidden;\r\n\tz-index: 50;\r\n\tuser-select: text;\r\n\t-webkit-user-select: text;\r\n\t-ms-user-select: text;\r\n\tbox-sizing: initial;\r\n\tanimation: fadein 100ms linear;\r\n\tline-height: 1.5em;\r\n}\r\n\r\n.monaco-hover.hidden {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-hover .hover-contents {\r\n\tpadding: 4px 8px;\r\n}\r\n\r\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {\r\n\tmax-width: 500px;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {\r\n\t/* This is a strange rule but it avoids https://github.com/microsoft/vscode/issues/96795, just 100vw on its own caused the actual hover width to increase */\r\n\tmin-width: calc(100% + 100vw);\r\n}\r\n\r\n.monaco-hover p,\r\n.monaco-hover .code,\r\n.monaco-hover ul {\r\n\tmargin: 8px 0;\r\n}\r\n\r\n.monaco-hover code {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n.monaco-hover hr {\r\n\tbox-sizing: border-box;\r\n\tborder-left: 0px;\r\n\tborder-right: 0px;\r\n\tmargin-top: 4px;\r\n\tmargin-bottom: -4px;\r\n\tmargin-left: -8px;\r\n\tmargin-right: -8px;\r\n\theight: 1px;\r\n}\r\n\r\n.monaco-hover p:first-child,\r\n.monaco-hover .code:first-child,\r\n.monaco-hover ul:first-child {\r\n\tmargin-top: 0;\r\n}\r\n\r\n.monaco-hover p:last-child,\r\n.monaco-hover .code:last-child,\r\n.monaco-hover ul:last-child {\r\n\tmargin-bottom: 0;\r\n}\r\n\r\n/* MarkupContent Layout */\r\n.monaco-hover ul {\r\n\tpadding-left: 20px;\r\n}\r\n.monaco-hover ol {\r\n\tpadding-left: 20px;\r\n}\r\n\r\n.monaco-hover li > p {\r\n\tmargin-bottom: 0;\r\n}\r\n\r\n.monaco-hover li > ul {\r\n\tmargin-top: 0;\r\n}\r\n\r\n.monaco-hover code {\r\n\tborder-radius: 3px;\r\n\tpadding: 0 0.4em;\r\n}\r\n\r\n.monaco-hover .monaco-tokenized-source {\r\n\twhite-space: pre-wrap;\r\n}\r\n\r\n.monaco-hover .hover-row.status-bar {\r\n\tfont-size: 12px;\r\n\tline-height: 22px;\r\n}\r\n\r\n.monaco-hover .hover-row.status-bar .actions {\r\n\tdisplay: flex;\r\n\tpadding: 0px 8px;\r\n}\r\n\r\n.monaco-hover .hover-row.status-bar .actions .action-container {\r\n\tmargin-right: 16px;\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-hover .hover-row.status-bar .actions .action-container .action .icon {\r\n\tpadding-right: 4px;\r\n}\r\n\r\n.monaco-hover .markdown-hover .hover-contents .codicon {\r\n\tcolor: inherit;\r\n\tfont-size: inherit;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.monaco-hover .hover-contents a.code-link:before {\r\n\tcontent: '(';\r\n}\r\n.monaco-hover .hover-contents a.code-link:after {\r\n\tcontent: ')';\r\n}\r\n\r\n.monaco-hover .hover-contents a.code-link {\r\n\tcolor: inherit;\r\n}\r\n.monaco-hover .hover-contents a.code-link > span {\r\n\ttext-decoration: underline;\r\n\t/** Hack to force underline to show **/\r\n\tborder-bottom: 1px solid transparent;\r\n\ttext-underline-position: under;\r\n}\r\n\r\n/** Spans in markdown hovers need a margin-bottom to avoid looking cramped: https://github.com/microsoft/vscode/issues/101496 **/\r\n.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents) span {\r\n\tmargin-bottom: 4px;\r\n\tdisplay: inline-block;\r\n}\r\n",""]),t.Z=o},3293:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* ---------- Icon label ---------- */\r\n\r\n.monaco-icon-label {\r\n\tdisplay: flex; /* required for icons support :before rule */\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-icon-label::before {\r\n\r\n\t/* svg icons rendered as background image */\r\n\tbackground-size: 16px;\r\n\tbackground-position: left center;\r\n\tbackground-repeat: no-repeat;\r\n\tpadding-right: 6px;\r\n\twidth: 16px;\r\n\theight: 22px;\r\n\tline-height: inherit !important;\r\n\tdisplay: inline-block;\r\n\r\n\t/* fonts icons */\r\n\t-webkit-font-smoothing: antialiased;\r\n\t-moz-osx-font-smoothing: grayscale;\r\n\tvertical-align: top;\r\n\r\n\tflex-shrink: 0; /* fix for https://github.com/microsoft/vscode/issues/13787 */\r\n}\r\n\r\n.monaco-icon-label > .monaco-icon-label-container {\r\n\tmin-width: 0;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\tflex: 1;\r\n}\r\n\r\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {\r\n\tcolor: inherit;\r\n\twhite-space: pre; /* enable to show labels that include multiple whitespaces */\r\n}\r\n\r\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {\r\n\tmargin: 0 2px;\r\n\topacity: 0.5;\r\n}\r\n\r\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\r\n\topacity: .7;\r\n\tmargin-left: 0.5em;\r\n\tfont-size: 0.9em;\r\n\twhite-space: pre; /* enable to show labels that include multiple whitespaces */\r\n}\r\n\r\n.monaco-icon-label.nowrap > .monaco-icon-label-container > .monaco-icon-description-container > .label-description{\r\n\twhite-space: nowrap\r\n}\r\n\r\n.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\r\n\topacity: .95;\r\n}\r\n\r\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\r\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\r\n\tfont-style: italic;\r\n}\r\n\r\n.monaco-icon-label.deprecated {\r\n\ttext-decoration: line-through;\r\n\topacity: 0.66;\r\n}\r\n\r\n/* make sure apply italic font style to decorations as well */\r\n.monaco-icon-label.italic::after {\r\n\tfont-style: italic;\r\n}\r\n\r\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\r\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\r\n\ttext-decoration: line-through;\r\n}\r\n\r\n.monaco-icon-label::after {\r\n\topacity: 0.75;\r\n\tfont-size: 90%;\r\n\tfont-weight: 600;\r\n\tpadding: 0 16px 0 5px;\r\n\ttext-align: center;\r\n}\r\n\r\n/* make sure selection color wins when a label is being selected */\r\n.monaco-list:focus .selected .monaco-icon-label, /* list */\r\n.monaco-list:focus .selected .monaco-icon-label::after\r\n{\r\n\tcolor: inherit !important;\r\n}\r\n\r\n.monaco-list-row.focused.selected .label-description,\r\n.monaco-list-row.selected .label-description {\r\n\topacity: .8;\r\n}\r\n",""]),t.Z=o},24695:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-inputbox {\r\n\tposition: relative;\r\n\tdisplay: block;\r\n\tpadding: 0;\r\n\tbox-sizing:\tborder-box;\r\n\r\n\t/* Customizable */\r\n\tfont-size: inherit;\r\n}\r\n\r\n.monaco-inputbox.idle {\r\n\tborder: 1px solid transparent;\r\n}\r\n\r\n.monaco-inputbox > .ibwrapper > .input,\r\n.monaco-inputbox > .ibwrapper > .mirror {\r\n\r\n\t/* Customizable */\r\n\tpadding: 4px;\r\n}\r\n\r\n.monaco-inputbox > .ibwrapper {\r\n\tposition: relative;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-inputbox > .ibwrapper > .input {\r\n\tdisplay: inline-block;\r\n\tbox-sizing:\tborder-box;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tline-height: inherit;\r\n\tborder: none;\r\n\tfont-family: inherit;\r\n\tfont-size: inherit;\r\n\tresize: none;\r\n\tcolor: inherit;\r\n}\r\n\r\n.monaco-inputbox > .ibwrapper > input {\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-inputbox > .ibwrapper > textarea.input {\r\n\tdisplay: block;\r\n\t-ms-overflow-style: none; /* IE 10+: hide scrollbars */\r\n\tscrollbar-width: none; /* Firefox: hide scrollbars */\r\n\toutline: none;\r\n}\r\n\r\n.monaco-inputbox > .ibwrapper > textarea.input::-webkit-scrollbar {\r\n\tdisplay: none; /* Chrome + Safari: hide scrollbar */\r\n}\r\n\r\n.monaco-inputbox > .ibwrapper > textarea.input.empty {\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-inputbox > .ibwrapper > .mirror {\r\n\tposition: absolute;\r\n\tdisplay: inline-block;\r\n\twidth: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tbox-sizing: border-box;\r\n\twhite-space: pre-wrap;\r\n\tvisibility: hidden;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n/* Context view */\r\n\r\n.monaco-inputbox-container {\r\n\ttext-align: right;\r\n}\r\n\r\n.monaco-inputbox-container .monaco-inputbox-message {\r\n\tdisplay: inline-block;\r\n\toverflow: hidden;\r\n\ttext-align: left;\r\n\twidth: 100%;\r\n\tbox-sizing:\tborder-box;\r\n\tpadding: 0.4em;\r\n\tfont-size: 12px;\r\n\tline-height: 17px;\r\n\tmin-height: 34px;\r\n\tmargin-top: -1px;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n/* Action bar support */\r\n.monaco-inputbox .monaco-action-bar {\r\n\tposition: absolute;\r\n\tright: 2px;\r\n\ttop: 4px;\r\n}\r\n\r\n.monaco-inputbox .monaco-action-bar .action-item {\r\n\tmargin-left: 2px;\r\n}\r\n\r\n.monaco-inputbox .monaco-action-bar .action-item .codicon {\r\n\tbackground-repeat: no-repeat;\r\n\twidth: 16px;\r\n\theight: 16px;\r\n}\r\n",""]),t.Z=o},7896:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-keybinding {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tline-height: 10px;\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key {\r\n\tdisplay: inline-block;\r\n\tborder: solid 1px rgba(204, 204, 204, 0.4);\r\n\tborder-bottom-color: rgba(187, 187, 187, 0.4);\r\n\tborder-radius: 3px;\r\n\tbox-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);\r\n\tbackground-color: rgba(221, 221, 221, 0.4);\r\n\tvertical-align: middle;\r\n\tcolor: #555;\r\n\tfont-size: 11px;\r\n\tpadding: 3px 5px;\r\n\tmargin: 0 2px;\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key:first-child {\r\n\tmargin-left: 0;\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key:last-child {\r\n\tmargin-right: 0;\r\n}\r\n\r\n.hc-black .monaco-keybinding > .monaco-keybinding-key,\r\n.vs-dark .monaco-keybinding > .monaco-keybinding-key {\r\n\tbackground-color: rgba(128, 128, 128, 0.17);\r\n\tcolor: #ccc;\r\n\tborder: solid 1px rgba(51, 51, 51, 0.6);\r\n\tborder-bottom-color: rgba(68, 68, 68, 0.6);\r\n\tbox-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key-separator {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-keybinding > .monaco-keybinding-key-chord-separator {\r\n\twidth: 6px;\r\n}",""]),t.Z=o},85220:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-list {\r\n\tposition: relative;\r\n\theight: 100%;\r\n\twidth: 100%;\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-list.mouse-support {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-list > .monaco-scrollable-element {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-list-rows {\r\n\tposition: relative;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-list.horizontal-scrolling .monaco-list-rows {\r\n\twidth: auto;\r\n\tmin-width: 100%;\r\n}\r\n\r\n.monaco-list-row {\r\n\tposition: absolute;\r\n\tbox-sizing: border-box;\r\n\toverflow: hidden;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-list.mouse-support .monaco-list-row {\r\n\tcursor: pointer;\r\n\ttouch-action: none;\r\n}\r\n\r\n/* for OS X ballistic scrolling */\r\n.monaco-list-row.scrolling {\r\n\tdisplay: none !important;\r\n}\r\n\r\n/* Focus */\r\n.monaco-list.element-focused,\r\n.monaco-list.selection-single,\r\n.monaco-list.selection-multiple {\r\n\toutline: 0 !important;\r\n}\r\n\r\n.monaco-list:focus .monaco-list-row.selected .codicon {\r\n\tcolor: inherit;\r\n}\r\n\r\n/* Dnd */\r\n.monaco-drag-image {\r\n\tdisplay: inline-block;\r\n\tpadding: 1px 7px;\r\n\tborder-radius: 10px;\r\n\tfont-size: 12px;\r\n\tposition: absolute;\r\n\tz-index: 1000;\r\n}\r\n\r\n/* Type filter */\r\n\r\n.monaco-list-type-filter {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tposition: absolute;\r\n\tborder-radius: 2px;\r\n\tpadding: 0px 3px;\r\n\tmax-width: calc(100% - 10px);\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\ttext-align: right;\r\n\tbox-sizing: border-box;\r\n\tcursor: all-scroll;\r\n\tfont-size: 13px;\r\n\tline-height: 18px;\r\n\theight: 20px;\r\n\tz-index: 1;\r\n\ttop: 4px;\r\n}\r\n\r\n.monaco-list-type-filter.dragging {\r\n\ttransition: top 0.2s, left 0.2s;\r\n}\r\n\r\n.monaco-list-type-filter.ne {\r\n\tright: 4px;\r\n}\r\n\r\n.monaco-list-type-filter.nw {\r\n\tleft: 4px;\r\n}\r\n\r\n.monaco-list-type-filter > .controls {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tbox-sizing: border-box;\r\n\ttransition: width 0.2s;\r\n\twidth: 0;\r\n}\r\n\r\n.monaco-list-type-filter.dragging > .controls,\r\n.monaco-list-type-filter:hover > .controls {\r\n\twidth: 36px;\r\n}\r\n\r\n.monaco-list-type-filter > .controls > * {\r\n\tborder: none;\r\n\tbox-sizing: border-box;\r\n\t-webkit-appearance: none;\r\n\t-moz-appearance: none;\r\n\tbackground: none;\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tflex-shrink: 0;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-list-type-filter > .controls > .filter {\r\n\tmargin-left: 4px;\r\n}\r\n\r\n.monaco-list-type-filter-message {\r\n\tposition: absolute;\r\n\tbox-sizing: border-box;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tpadding: 40px 1em 1em 1em;\r\n\ttext-align: center;\r\n\twhite-space: normal;\r\n\topacity: 0.7;\r\n\tpointer-events: none;\r\n}\r\n\r\n.monaco-list-type-filter-message:empty {\r\n\tdisplay: none;\r\n}\r\n\r\n/* Electron */\r\n\r\n.monaco-list-type-filter {\r\n\tcursor: grab;\r\n}\r\n\r\n.monaco-list-type-filter.dragging {\r\n\tcursor: grabbing;\r\n}\r\n",""]),t.Z=o},58322:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-mouse-cursor-text {\r\n\tcursor: text;\r\n}\r\n\r\n/* The following selector looks a bit funny, but that is needed to cover all the workbench and the editor!! */\r\n.vs-dark .mac .monaco-mouse-cursor-text, .hc-black .mac .monaco-mouse-cursor-text,\r\n.vs-dark.mac .monaco-mouse-cursor-text, .hc-black.mac .monaco-mouse-cursor-text {\r\n\tcursor: -webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8, text;\r\n}\r\n",""]),t.Z=o},41227:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-progress-container {\r\n\twidth: 100%;\r\n\theight: 5px;\r\n\toverflow: hidden; /* keep progress bit in bounds */\r\n}\r\n\r\n.monaco-progress-container .progress-bit {\r\n\twidth: 2%;\r\n\theight: 5px;\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-progress-container.active .progress-bit {\r\n\tdisplay: inherit;\r\n}\r\n\r\n.monaco-progress-container.discrete .progress-bit {\r\n\tleft: 0;\r\n\ttransition: width 100ms linear;\r\n}\r\n\r\n.monaco-progress-container.discrete.done .progress-bit {\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-progress-container.infinite .progress-bit {\r\n\tanimation-name: progress;\r\n\tanimation-duration: 4s;\r\n\tanimation-iteration-count: infinite;\r\n\tanimation-timing-function: linear;\r\n\ttransform: translate3d(0px, 0px, 0px);\r\n}\r\n\r\n/**\r\n * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of\r\n * that container. Since translateX is relative to the progress bit size, we have to multiple it with\r\n * its relative size to the parent container:\r\n * parent width: 5000%\r\n *    bit width: 100%\r\n * translateX should be as follow:\r\n *  50%: 5000% * 50% - 50% (set to center) = 2450%\r\n * 100%: 5000% * 100% - 100% (do not overflow) = 4900%\r\n */\r\n@keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4900%) scaleX(1) } }\r\n",""]),t.Z=o},67054:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*---------------------------------------------------------------------------------------------\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:root {\r\n\t--sash-size: 4px;\r\n}\r\n\r\n.monaco-sash {\r\n\tposition: absolute;\r\n\tz-index: 35;\r\n\ttouch-action: none;\r\n}\r\n\r\n.monaco-sash.disabled {\r\n\tpointer-events: none;\r\n}\r\n\r\n.monaco-sash.mac.vertical {\r\n\tcursor: col-resize;\r\n}\r\n\r\n.monaco-sash.vertical.minimum {\r\n\tcursor: e-resize;\r\n}\r\n\r\n.monaco-sash.vertical.maximum {\r\n\tcursor: w-resize;\r\n}\r\n\r\n.monaco-sash.mac.horizontal {\r\n\tcursor: row-resize;\r\n}\r\n\r\n.monaco-sash.horizontal.minimum {\r\n\tcursor: s-resize;\r\n}\r\n\r\n.monaco-sash.horizontal.maximum {\r\n\tcursor: n-resize;\r\n}\r\n\r\n.monaco-sash.disabled {\r\n\tcursor: default !important;\r\n\tpointer-events: none !important;\r\n}\r\n\r\n.monaco-sash.vertical {\r\n\tcursor: ew-resize;\r\n\ttop: 0;\r\n\twidth: var(--sash-size);\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-sash.horizontal {\r\n\tcursor: ns-resize;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: var(--sash-size);\r\n}\r\n\r\n.monaco-sash:not(.disabled).orthogonal-start::before,\r\n.monaco-sash:not(.disabled).orthogonal-end::after {\r\n\tcontent: " ";\r\n\theight: calc(var(--sash-size) * 2);\r\n\twidth: calc(var(--sash-size) * 2);\r\n\tz-index: 100;\r\n\tdisplay: block;\r\n\tcursor: all-scroll;\r\n\tposition: absolute;\r\n}\r\n\r\n.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled).orthogonal-start::before,\r\n.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled).orthogonal-end::after {\r\n\tcursor: nwse-resize;\r\n}\r\n\r\n.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled).orthogonal-end::after,\r\n.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled).orthogonal-start::before {\r\n\tcursor: nesw-resize;\r\n}\r\n\r\n.monaco-sash.orthogonal-start.vertical::before {\r\n\tleft: -calc(var(--sash-size) / 2);\r\n\ttop: calc(var(--sash-size) * -1);\r\n}\r\n.monaco-sash.orthogonal-end.vertical::after {\r\n\tleft: -calc(var(--sash-size) / 2);\r\n\tbottom: calc(var(--sash-size) * -1);\r\n}\r\n.monaco-sash.orthogonal-start.horizontal::before {\r\n\ttop: -calc(var(--sash-size) / 2);\r\n\tleft: calc(var(--sash-size) * -1);\r\n}\r\n.monaco-sash.orthogonal-end.horizontal::after {\r\n\ttop: -calc(var(--sash-size) / 2);\r\n\tright: calc(var(--sash-size) * -1);\r\n}\r\n\r\n.monaco-sash {\r\n\ttransition: background-color 0.1s ease-out;\r\n\tbackground: transparent;\r\n}\r\n\r\n/** Debug **/\r\n\r\n.monaco-sash.debug {\r\n\tbackground: cyan;\r\n}\r\n\r\n.monaco-sash.debug.disabled {\r\n\tbackground: rgba(0, 255, 255, 0.2);\r\n}\r\n\r\n.monaco-sash.debug:not(.disabled).orthogonal-start::before,\r\n.monaco-sash.debug:not(.disabled).orthogonal-end::after {\r\n\tbackground: red;\r\n}\r\n',""]),t.Z=o},64836:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* Arrows */\r\n.monaco-scrollable-element > .scrollbar > .scra {\r\n\tcursor: pointer;\r\n\tfont-size: 11px !important;\r\n}\r\n\r\n.monaco-scrollable-element > .visible {\r\n\topacity: 1;\r\n\r\n\t/* Background rule added for IE9 - to allow clicks on dom node */\r\n\tbackground:rgba(0,0,0,0);\r\n\r\n\ttransition: opacity 100ms linear;\r\n}\r\n.monaco-scrollable-element > .invisible {\r\n\topacity: 0;\r\n\tpointer-events: none;\r\n}\r\n.monaco-scrollable-element > .invisible.fade {\r\n\ttransition: opacity 800ms linear;\r\n}\r\n\r\n/* Scrollable Content Inset Shadow */\r\n.monaco-scrollable-element > .shadow {\r\n\tposition: absolute;\r\n\tdisplay: none;\r\n}\r\n.monaco-scrollable-element > .shadow.top {\r\n\tdisplay: block;\r\n\ttop: 0;\r\n\tleft: 3px;\r\n\theight: 3px;\r\n\twidth: 100%;\r\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\r\n}\r\n.monaco-scrollable-element > .shadow.left {\r\n\tdisplay: block;\r\n\ttop: 3px;\r\n\tleft: 0;\r\n\theight: 100%;\r\n\twidth: 3px;\r\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\r\n}\r\n.monaco-scrollable-element > .shadow.top-left-corner {\r\n\tdisplay: block;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\theight: 3px;\r\n\twidth: 3px;\r\n}\r\n.monaco-scrollable-element > .shadow.top.left {\r\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\r\n}\r\n\r\n/* ---------- Default Style ---------- */\r\n\r\n.vs .monaco-scrollable-element > .scrollbar > .slider {\r\n\tbackground: rgba(100, 100, 100, .4);\r\n}\r\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\r\n\tbackground: rgba(121, 121, 121, .4);\r\n}\r\n.hc-black .monaco-scrollable-element > .scrollbar > .slider {\r\n\tbackground: rgba(111, 195, 223, .6);\r\n}\r\n\r\n.monaco-scrollable-element > .scrollbar > .slider:hover {\r\n\tbackground: rgba(100, 100, 100, .7);\r\n}\r\n.hc-black .monaco-scrollable-element > .scrollbar > .slider:hover {\r\n\tbackground: rgba(111, 195, 223, .8);\r\n}\r\n\r\n.monaco-scrollable-element > .scrollbar > .slider.active {\r\n\tbackground: rgba(0, 0, 0, .6);\r\n}\r\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\r\n\tbackground: rgba(191, 191, 191, .4);\r\n}\r\n.hc-black .monaco-scrollable-element > .scrollbar > .slider.active {\r\n\tbackground: rgba(111, 195, 223, 1);\r\n}\r\n\r\n.vs-dark .monaco-scrollable-element .shadow.top {\r\n\tbox-shadow: none;\r\n}\r\n\r\n.vs-dark .monaco-scrollable-element .shadow.left {\r\n\tbox-shadow: #000 6px 0 6px -6px inset;\r\n}\r\n\r\n.vs-dark .monaco-scrollable-element .shadow.top.left {\r\n\tbox-shadow: #000 6px 6px 6px -6px inset;\r\n}\r\n\r\n.hc-black .monaco-scrollable-element .shadow.top {\r\n\tbox-shadow: none;\r\n}\r\n\r\n.hc-black .monaco-scrollable-element .shadow.left {\r\n\tbox-shadow: none;\r\n}\r\n\r\n.hc-black .monaco-scrollable-element .shadow.top.left {\r\n\tbox-shadow: none;\r\n}\r\n",""]),t.Z=o},35201:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-split-view2 {\r\n\tposition: relative;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-split-view2 > .sash-container {\r\n\tposition: absolute;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tpointer-events: none;\r\n}\r\n\r\n.monaco-split-view2 > .sash-container > .monaco-sash {\r\n\tpointer-events: initial;\r\n}\r\n\r\n.monaco-split-view2 > .monaco-scrollable-element {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container {\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\twhite-space: nowrap;\r\n\tposition: relative;\r\n}\r\n\r\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view {\r\n\twhite-space: initial;\r\n\tposition: absolute;\r\n}\r\n\r\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view:not(.visible) {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-split-view2.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view {\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-split-view2.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-split-view2.separator-border > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\r\n\tcontent: ' ';\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\tz-index: 5;\r\n\tpointer-events: none;\r\n\tbackground-color: var(--separator-border);\r\n}\r\n\r\n.monaco-split-view2.separator-border.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\r\n\theight: 100%;\r\n\twidth: 1px;\r\n}\r\n\r\n.monaco-split-view2.separator-border.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\r\n\theight: 1px;\r\n\twidth: 100%;\r\n}\r\n",""]),t.Z=o},42650:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-tl-row {\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\talign-items: center;\r\n\tposition: relative;\r\n}\r\n\r\n.monaco-tl-indent {\r\n\theight: 100%;\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 16px;\r\n\tpointer-events: none;\r\n}\r\n\r\n.hide-arrows .monaco-tl-indent {\r\n\tleft: 12px;\r\n}\r\n\r\n.monaco-tl-indent > .indent-guide {\r\n\tdisplay: inline-block;\r\n\tbox-sizing: border-box;\r\n\theight: 100%;\r\n\tborder-left: 1px solid transparent;\r\n}\r\n\r\n.monaco-tl-indent > .indent-guide {\r\n\ttransition: border-color 0.1s linear;\r\n}\r\n\r\n.monaco-tl-twistie,\r\n.monaco-tl-contents {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-tl-twistie {\r\n\tfont-size: 10px;\r\n\ttext-align: right;\r\n\tpadding-right: 6px;\r\n\tflex-shrink: 0;\r\n\twidth: 16px;\r\n\tdisplay: flex !important;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tcolor: inherit !important;\r\n\ttransform: translateX(3px);\r\n}\r\n\r\n.monaco-tl-contents {\r\n\tflex: 1;\r\n\toverflow: hidden;\r\n}\r\n\r\n.monaco-tl-twistie.collapsed::before {\r\n\ttransform: rotate(-90deg);\r\n}\r\n\r\n.monaco-tl-twistie.codicon-tree-item-loading::before {\r\n\t/* Use steps to throttle FPS to reduce CPU usage */\r\n\tanimation: codicon-spin 1.25s steps(30) infinite;\r\n}\r\n",""]),t.Z=o},94368:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.quick-input-widget {\r\n\tposition: absolute;\r\n\twidth: 600px;\r\n\tz-index: 2000;\r\n\tpadding-bottom: 6px;\r\n\tleft: 50%;\r\n\tmargin-left: -300px;\r\n}\r\n\r\n.quick-input-titlebar {\r\n\tdisplay: flex;\r\n}\r\n\r\n.quick-input-left-action-bar {\r\n\tdisplay: flex;\r\n\tmargin-left: 4px;\r\n\tflex: 1;\r\n}\r\n\r\n.quick-input-left-action-bar.monaco-action-bar .actions-container {\r\n\tjustify-content: flex-start;\r\n}\r\n\r\n.quick-input-title {\r\n\tpadding: 3px 0px;\r\n\ttext-align: center;\r\n}\r\n\r\n.quick-input-right-action-bar {\r\n\tdisplay: flex;\r\n\tmargin-right: 4px;\r\n\tflex: 1;\r\n}\r\n\r\n.quick-input-titlebar .monaco-action-bar .action-label.codicon {\r\n\tmargin: 0;\r\n\twidth: 19px;\r\n\theight: 100%;\r\n\tbackground-position: center;\r\n\tbackground-repeat: no-repeat;\r\n}\r\n\r\n.quick-input-description {\r\n\tmargin: 6px;\r\n}\r\n\r\n.quick-input-header .quick-input-description {\r\n\tmargin: 4px 2px;\r\n}\r\n\r\n.quick-input-header {\r\n\tdisplay: flex;\r\n\tpadding: 6px 6px 0px 6px;\r\n\tmargin-bottom: -2px;\r\n}\r\n\r\n.quick-input-widget.hidden-input .quick-input-header {\r\n\t/* reduce margins and paddings when input box hidden */\r\n\tpadding: 0;\r\n\tmargin-bottom: 0;\r\n}\r\n\r\n.quick-input-and-message {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tflex-grow: 1;\r\n\tposition: relative;\r\n}\r\n\r\n.quick-input-check-all {\r\n\talign-self: center;\r\n\tmargin: 0;\r\n}\r\n\r\n.quick-input-filter {\r\n\tflex-grow: 1;\r\n\tdisplay: flex;\r\n\tposition: relative;\r\n}\r\n\r\n.quick-input-box {\r\n\tflex-grow: 1;\r\n}\r\n\r\n.quick-input-widget.show-checkboxes .quick-input-box,\r\n.quick-input-widget.show-checkboxes .quick-input-message {\r\n\tmargin-left: 5px;\r\n}\r\n\r\n.quick-input-visible-count {\r\n\tposition: absolute;\r\n\tleft: -10000px;\r\n}\r\n\r\n.quick-input-count {\r\n\talign-self: center;\r\n\tposition: absolute;\r\n\tright: 4px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.quick-input-count .monaco-count-badge {\r\n\tvertical-align: middle;\r\n\tpadding: 2px 4px;\r\n\tborder-radius: 2px;\r\n\tmin-height: auto;\r\n\tline-height: normal;\r\n}\r\n\r\n.quick-input-action {\r\n\tmargin-left: 6px;\r\n}\r\n\r\n.quick-input-action .monaco-text-button {\r\n\tfont-size: 11px;\r\n\tpadding: 0 6px;\r\n\tdisplay: flex;\r\n\theight: 27.5px;\r\n\talign-items: center;\r\n}\r\n\r\n.quick-input-message {\r\n\tmargin-top: -1px;\r\n\tpadding: 5px 5px 2px 5px;\r\n}\r\n\r\n.quick-input-message > .codicon {\r\n\tmargin: 0 0.2em;\r\n\tvertical-align: text-bottom;\r\n}\r\n\r\n.quick-input-progress.monaco-progress-container {\r\n\tposition: relative;\r\n}\r\n\r\n.quick-input-progress.monaco-progress-container,\r\n.quick-input-progress.monaco-progress-container .progress-bit {\r\n\theight: 2px;\r\n}\r\n\r\n.quick-input-list {\r\n\tline-height: 22px;\r\n\tmargin-top: 6px;\r\n}\r\n\r\n.quick-input-widget.hidden-input .quick-input-list {\r\n\tmargin-top: 0; /* reduce margins when input box hidden */\r\n}\r\n\r\n.quick-input-list .monaco-list {\r\n\toverflow: hidden;\r\n\tmax-height: calc(20 * 22px);\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry {\r\n\tbox-sizing: border-box;\r\n\toverflow: hidden;\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\tpadding: 0 6px;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry.quick-input-list-separator-border {\r\n\tborder-top-width: 1px;\r\n\tborder-top-style: solid;\r\n}\r\n\r\n.quick-input-list .monaco-list-row:first-child .quick-input-list-entry.quick-input-list-separator-border {\r\n\tborder-top-style: none;\r\n}\r\n\r\n.quick-input-list .quick-input-list-label {\r\n\toverflow: hidden;\r\n\tdisplay: flex;\r\n\theight: 100%;\r\n\tflex: 1;\r\n}\r\n\r\n.quick-input-list .quick-input-list-checkbox {\r\n\talign-self: center;\r\n\tmargin: 0;\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows {\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\theight: 100%;\r\n\tflex: 1;\r\n\tmargin-left: 5px;\r\n}\r\n\r\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {\r\n\tmargin-left: 10px;\r\n}\r\n\r\n.quick-input-widget .quick-input-list .quick-input-list-checkbox {\r\n\tdisplay: none;\r\n}\r\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {\r\n\tdisplay: inline;\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows > .quick-input-list-row {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,\r\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {\r\n\tflex: 1; /* make sure the icon label grows within the row */\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {\r\n\tvertical-align: sub;\r\n}\r\n\r\n.quick-input-list .quick-input-list-rows .monaco-highlighted-label span {\r\n\topacity: 1;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {\r\n\tmargin-right: 8px; /* separate from the separator label or scrollbar if any */\r\n}\r\n\r\n.quick-input-list .quick-input-list-label-meta {\r\n\topacity: 0.7;\r\n\tline-height: normal;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n}\r\n\r\n.quick-input-list .monaco-highlighted-label .highlight {\r\n\tfont-weight: bold;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry .quick-input-list-separator {\r\n\tmargin-right: 8px; /* separate from keybindings or actions */\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar {\r\n\tdisplay: flex;\r\n\tflex: 0;\r\n\toverflow: visible;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar .action-label {\r\n\t/*\r\n\t * By default, actions in the quick input action bar are hidden\r\n\t * until hovered over them or selected.\r\n\t */\r\n\tdisplay: none;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\r\n\tmargin: 0;\r\n\theight: 100%;\r\n\tpadding: 0 2px;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar {\r\n\tmargin-top: 1px;\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar {\r\n\tmargin-right: 4px; /* separate from scrollbar */\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\r\n\tmargin-right: 4px; /* separate actions */\r\n}\r\n\r\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,\r\n.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,\r\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {\r\n\tdisplay: flex;\r\n}\r\n",""]),t.Z=o},92874:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .inputarea {\r\n\tmin-width: 0;\r\n\tmin-height: 0;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tposition: absolute;\r\n\toutline: none !important;\r\n\tresize: none;\r\n\tborder: none;\r\n\toverflow: hidden;\r\n\tcolor: transparent;\r\n\tbackground-color: transparent;\r\n}\r\n/*.monaco-editor .inputarea {\r\n\tposition: fixed !important;\r\n\twidth: 800px !important;\r\n\theight: 500px !important;\r\n\ttop: initial !important;\r\n\tleft: initial !important;\r\n\tbottom: 0 !important;\r\n\tright: 0 !important;\r\n\tcolor: black !important;\r\n\tbackground: white !important;\r\n\tline-height: 15px !important;\r\n\tfont-size: 14px !important;\r\n}*/\r\n.monaco-editor .inputarea.ime-input {\r\n\tz-index: 10;\r\n}\r\n",""]),t.Z=o},82958:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .view-overlays .current-line {\r\n\tdisplay: block;\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-editor .margin-view-overlays .current-line {\r\n\tdisplay: block;\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {\r\n\tborder-right: 0;\r\n}\r\n",""]),t.Z=o},3381:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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\tKeeping name short for faster parsing.\r\n\tcdr = core decorations rendering (div)\r\n*/\r\n.monaco-editor .lines-content .cdr {\r\n\tposition: absolute;\r\n}",""]),t.Z=o},54734:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .glyph-margin {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n}\r\n\r\n/*\r\n\tKeeping name short for faster parsing.\r\n\tcgmr = core glyph margin rendering (div)\r\n*/\r\n.monaco-editor .margin-view-overlays .cgmr {\r\n\tposition: absolute;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n",""]),t.Z=o},68467:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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\tKeeping name short for faster parsing.\r\n\tcigr = core ident guides rendering (div)\r\n*/\r\n.monaco-editor .lines-content .cigr {\r\n\tposition: absolute;\r\n}\r\n.monaco-editor .lines-content .cigra {\r\n\tposition: absolute;\r\n}\r\n",""]),t.Z=o},8787:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .margin-view-overlays .line-numbers {\r\n\tfont-variant-numeric: tabular-nums;\r\n\tposition: absolute;\r\n\ttext-align: right;\r\n\tdisplay: inline-block;\r\n\tvertical-align: middle;\r\n\tbox-sizing: border-box;\r\n\tcursor: default;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .relative-current-line-number {\r\n\ttext-align: left;\r\n\tdisplay: inline-block;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .margin-view-overlays .line-numbers.lh-odd {\r\n\tmargin-top: 1px;\r\n}\r\n",""]),t.Z=o},31192:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* Uncomment to see lines flashing when they're painted */\r\n/*.monaco-editor .view-lines > .view-line {\r\n\tbackground-color: none;\r\n\tanimation-name: flash-background;\r\n\tanimation-duration: 800ms;\r\n}\r\n@keyframes flash-background {\r\n\t0%   { background-color: lightgreen; }\r\n\t100% { background-color: none }\r\n}*/\r\n\r\n.monaco-editor.no-user-select .lines-content,\r\n.monaco-editor.no-user-select .view-line,\r\n.monaco-editor.no-user-select .view-lines {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-editor .view-lines {\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .view-line {\r\n\tposition: absolute;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .mtkz {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n/* TODO@tokenization bootstrap fix */\r\n/*.monaco-editor .view-line > span > span {\r\n\tfloat: none;\r\n\tmin-height: inherit;\r\n\tmargin-left: inherit;\r\n}*/\r\n",""]),t.Z=o},17734:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .lines-decorations {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tbackground: white;\r\n}\r\n\r\n/*\r\n\tKeeping name short for faster parsing.\r\n\tcldr = core lines decorations rendering (div)\r\n*/\r\n.monaco-editor .margin-view-overlays .cldr {\r\n\tposition: absolute;\r\n\theight: 100%;\r\n}",""]),t.Z=o},92762:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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\tKeeping name short for faster parsing.\r\n\tcmdr = core margin decorations rendering (div)\r\n*/\r\n.monaco-editor .margin-view-overlays .cmdr {\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}",""]),t.Z=o},75278:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* START cover the case that slider is visible on mouseover */\r\n.monaco-editor .minimap.slider-mouseover .minimap-slider {\r\n\topacity: 0;\r\n\ttransition: opacity 100ms linear;\r\n}\r\n.monaco-editor .minimap.slider-mouseover:hover .minimap-slider {\r\n\topacity: 1;\r\n}\r\n.monaco-editor .minimap.slider-mouseover .minimap-slider.active {\r\n\topacity: 1;\r\n}\r\n/* END cover the case that slider is visible on mouseover */\r\n\r\n.monaco-editor .minimap-shadow-hidden {\r\n\tposition: absolute;\r\n\twidth: 0;\r\n}\r\n.monaco-editor .minimap-shadow-visible {\r\n\tposition: absolute;\r\n\tleft: -6px;\r\n\twidth: 6px;\r\n}\r\n.monaco-editor.no-minimap-shadow .minimap-shadow-visible {\r\n\tposition: absolute;\r\n\tleft: -1px;\r\n\twidth: 1px;\r\n}\r\n",""]),t.Z=o},28096:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .overlayWidgets {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft:0;\r\n}",""]),t.Z=o},10657:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .view-ruler {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n}",""]),t.Z=o},71039:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .scroll-decoration {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 0;\r\n\theight: 6px;\r\n}",""]),t.Z=o},58297:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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\tKeeping name short for faster parsing.\r\n\tcslr = core selections layer rendering (div)\r\n*/\r\n.monaco-editor .lines-content .cslr {\r\n\tposition: absolute;\r\n}\r\n\r\n.monaco-editor\t\t\t.top-left-radius\t\t{ border-top-left-radius: 3px; }\r\n.monaco-editor\t\t\t.bottom-left-radius\t\t{ border-bottom-left-radius: 3px; }\r\n.monaco-editor\t\t\t.top-right-radius\t\t{ border-top-right-radius: 3px; }\r\n.monaco-editor\t\t\t.bottom-right-radius\t{ border-bottom-right-radius: 3px; }\r\n\r\n.monaco-editor.hc-black .top-left-radius\t\t{ border-top-left-radius: 0; }\r\n.monaco-editor.hc-black .bottom-left-radius\t\t{ border-bottom-left-radius: 0; }\r\n.monaco-editor.hc-black .top-right-radius\t\t{ border-top-right-radius: 0; }\r\n.monaco-editor.hc-black .bottom-right-radius\t{ border-bottom-right-radius: 0; }\r\n",""]),t.Z=o},64115:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .cursors-layer {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n}\r\n\r\n.monaco-editor .cursors-layer > .cursor {\r\n\tposition: absolute;\r\n\toverflow: hidden;\r\n}\r\n\r\n/* -- smooth-caret-animation -- */\r\n.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {\r\n\ttransition: all 80ms;\r\n}\r\n\r\n/* -- block-outline-style -- */\r\n.monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {\r\n\tbox-sizing: border-box;\r\n\tbackground: transparent !important;\r\n\tborder-style: solid;\r\n\tborder-width: 1px;\r\n}\r\n\r\n/* -- underline-style -- */\r\n.monaco-editor .cursors-layer.cursor-underline-style > .cursor {\r\n\tborder-bottom-width: 2px;\r\n\tborder-bottom-style: solid;\r\n\tbackground: transparent !important;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n/* -- underline-thin-style -- */\r\n.monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {\r\n\tborder-bottom-width: 1px;\r\n\tborder-bottom-style: solid;\r\n\tbackground: transparent !important;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n@keyframes monaco-cursor-smooth {\r\n\t0%,\r\n\t20% {\r\n\t\topacity: 1;\r\n\t}\r\n\t60%,\r\n\t100% {\r\n\t\topacity: 0;\r\n\t}\r\n}\r\n\r\n@keyframes monaco-cursor-phase {\r\n\t0%,\r\n\t20% {\r\n\t\topacity: 1;\r\n\t}\r\n\t90%,\r\n\t100% {\r\n\t\topacity: 0;\r\n\t}\r\n}\r\n\r\n@keyframes monaco-cursor-expand {\r\n\t0%,\r\n\t20% {\r\n\t\ttransform: scaleY(1);\r\n\t}\r\n\t80%,\r\n\t100% {\r\n\t\ttransform: scaleY(0);\r\n\t}\r\n}\r\n\r\n.cursor-smooth {\r\n\tanimation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\r\n}\r\n\r\n.cursor-phase {\r\n\tanimation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\r\n}\r\n\r\n.cursor-expand > .cursor {\r\n\tanimation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\r\n}\r\n",""]),t.Z=o},46663:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* ---------- DiffEditor ---------- */\r\n\r\n.monaco-diff-editor .diffOverview {\r\n\tz-index: 9;\r\n}\r\n\r\n.monaco-diff-editor .diffOverview .diffViewport {\r\n\tz-index: 10;\r\n}\r\n\r\n/* colors not externalized: using transparancy on background */\r\n.monaco-diff-editor.vs\t\t\t.diffOverview { background: rgba(0, 0, 0, 0.03); }\r\n.monaco-diff-editor.vs-dark\t\t.diffOverview { background: rgba(255, 255, 255, 0.01); }\r\n\r\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs\t\t.scrollbar { background: rgba(0,0,0,0); }\r\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark\t.scrollbar { background: rgba(0,0,0,0); }\r\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black\t.scrollbar { background: none; }\r\n\r\n.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {\r\n\tz-index: 10;\r\n}\r\n.modified-in-monaco-diff-editor\t\t\t\t.slider.active { background: rgba(171, 171, 171, .4); }\r\n.modified-in-monaco-diff-editor.hc-black\t.slider.active { background: none; }\r\n\r\n/* ---------- Diff ---------- */\r\n\r\n.monaco-editor .insert-sign,\r\n.monaco-diff-editor .insert-sign,\r\n.monaco-editor .delete-sign,\r\n.monaco-diff-editor .delete-sign {\r\n\tfont-size: 11px !important;\r\n\topacity: 0.7 !important;\r\n\tdisplay: flex !important;\r\n\talign-items: center;\r\n}\r\n.monaco-editor.hc-black .insert-sign,\r\n.monaco-diff-editor.hc-black .insert-sign,\r\n.monaco-editor.hc-black .delete-sign,\r\n.monaco-diff-editor.hc-black .delete-sign {\r\n\topacity: 1;\r\n}\r\n\r\n.monaco-editor .inline-deleted-margin-view-zone {\r\n\ttext-align: right;\r\n}\r\n.monaco-editor .inline-added-margin-view-zone {\r\n\ttext-align: right;\r\n}\r\n\r\n/* ---------- Inline Diff ---------- */\r\n\r\n.monaco-editor .view-zones .view-lines .view-line span {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-editor .margin-view-zones .lightbulb-glyph:hover {\r\n\tcursor: pointer;\r\n}\r\n",""]),t.Z=o},65425:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-diff-editor .diff-review-line-number {\r\n\ttext-align: right;\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-diff-editor .diff-review {\r\n\tposition: absolute;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-summary {\r\n\tpadding-left: 10px;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-shadow {\r\n\tposition: absolute;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-row {\r\n\twhite-space: pre;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-table {\r\n\tdisplay: table;\r\n\tmin-width: 100%;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-row {\r\n\tdisplay: table-row;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-spacer {\r\n\tdisplay: inline-block;\r\n\twidth: 10px;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-spacer > .codicon {\r\n\tfont-size: 9px !important;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-actions {\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\r\n\tright: 10px;\r\n\ttop: 2px;\r\n}\r\n\r\n.monaco-diff-editor .diff-review-actions .action-label {\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tmargin: 2px 0;\r\n}\r\n",""]),t.Z=o},67691:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* -------------------- IE10 remove auto clear button -------------------- */\r\n\r\n::-ms-clear {\r\n\tdisplay: none;\r\n}\r\n\r\n/* All widgets */\r\n/* I am not a big fan of this rule */\r\n.monaco-editor .editor-widget input {\r\n\tcolor: inherit;\r\n}\r\n\r\n/* -------------------- Editor -------------------- */\r\n\r\n.monaco-editor {\r\n\tposition: relative;\r\n\toverflow: visible;\r\n\t-webkit-text-size-adjust: 100%;\r\n}\r\n\r\n/* -------------------- Misc -------------------- */\r\n\r\n.monaco-editor .overflow-guard {\r\n\tposition: relative;\r\n\toverflow: hidden;\r\n}\r\n\r\n.monaco-editor .view-overlays {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n}\r\n\r\n/*\r\n.monaco-editor .auto-closed-character {\r\n\topacity: 0.3;\r\n}\r\n*/\r\n",""]),t.Z=o},75274:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .selection-anchor {\r\n\tbackground-color: #007ACC;\r\n\twidth: 2px !important;\r\n}\r\n",""]),t.Z=o},41286:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .bracket-match {\r\n\tbox-sizing: border-box;\r\n}\r\n",""]),t.Z=o},70791:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .contentWidgets .codicon-light-bulb,\r\n.monaco-editor .contentWidgets .codicon-lightbulb-autofix {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n\r\n.monaco-editor .contentWidgets .codicon-light-bulb:hover,\r\n.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover {\r\n\tcursor: pointer;\r\n}\r\n",""]),t.Z=o},49103:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .codelens-decoration {\r\n\toverflow: hidden;\r\n\tdisplay: inline-block;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .codelens-decoration > span,\r\n.monaco-editor .codelens-decoration > a {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n\twhite-space: nowrap;\r\n\tvertical-align: sub;\r\n}\r\n\r\n.monaco-editor .codelens-decoration > a {\r\n\ttext-decoration: none;\r\n}\r\n\r\n.monaco-editor .codelens-decoration > a:hover {\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-editor .codelens-decoration .codicon {\r\n\tvertical-align: middle;\r\n\tcolor: currentColor !important;\r\n}\r\n\r\n.monaco-editor .codelens-decoration > a:hover .codicon::before {\r\n\tcursor: pointer;\r\n}\r\n\r\n@keyframes fadein {\r\n\t0% { opacity: 0; visibility: visible;}\r\n\t100% { opacity: 1; }\r\n}\r\n\r\n.monaco-editor .codelens-decoration.fadein {\r\n\tanimation: fadein 0.1s linear;\r\n}\r\n",""]),t.Z=o},33017:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*---------------------------------------------------------------------------------------------\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.colorpicker-widget {\r\n\theight: 190px;\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n.monaco-editor .colorpicker-hover:focus {\r\n\toutline: none;\r\n}\r\n\r\n\r\n/* Header */\r\n\r\n.colorpicker-header {\r\n\tdisplay: flex;\r\n\theight: 24px;\r\n\tposition: relative;\r\n\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");\r\n\tbackground-size: 9px 9px;\r\n\timage-rendering: pixelated;\r\n}\r\n\r\n.colorpicker-header .picked-color {\r\n\twidth: 216px;\r\n\ttext-align: center;\r\n\tline-height: 24px;\r\n\tcursor: pointer;\r\n\tcolor: white;\r\n\tflex: 1;\r\n\ttext-align: center;\r\n}\r\n\r\n.colorpicker-header .picked-color.light {\r\n\tcolor: black;\r\n}\r\n\r\n.colorpicker-header .original-color {\r\n\twidth: 74px;\r\n\tz-index: inherit;\r\n\tcursor: pointer;\r\n}\r\n\r\n\r\n/* Body */\r\n\r\n.colorpicker-body {\r\n\tdisplay: flex;\r\n\tpadding: 8px;\r\n\tposition: relative;\r\n}\r\n\r\n.colorpicker-body .saturation-wrap {\r\n\toverflow: hidden;\r\n\theight: 150px;\r\n\tposition: relative;\r\n\tmin-width: 220px;\r\n\tflex: 1;\r\n}\r\n\r\n.colorpicker-body .saturation-box {\r\n\theight: 150px;\r\n\tposition: absolute;\r\n}\r\n\r\n.colorpicker-body .saturation-selection {\r\n\twidth: 9px;\r\n\theight: 9px;\r\n\tmargin: -5px 0 0 -5px;\r\n\tborder: 1px solid rgb(255, 255, 255);\r\n\tborder-radius: 100%;\r\n\tbox-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);\r\n\tposition: absolute;\r\n}\r\n\r\n.colorpicker-body .strip {\r\n\twidth: 25px;\r\n\theight: 150px;\r\n}\r\n\r\n.colorpicker-body .hue-strip {\r\n\tposition: relative;\r\n\tmargin-left: 8px;\r\n\tcursor: grab;\r\n\tbackground: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);\r\n}\r\n\r\n.colorpicker-body .opacity-strip {\r\n\tposition: relative;\r\n\tmargin-left: 8px;\r\n\tcursor: grab;\r\n\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=");\r\n\tbackground-size: 9px 9px;\r\n\timage-rendering: pixelated;\r\n}\r\n\r\n.colorpicker-body .strip.grabbing {\r\n\tcursor: grabbing;\r\n}\r\n\r\n.colorpicker-body .slider {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: -2px;\r\n\twidth: calc(100% + 4px);\r\n\theight: 4px;\r\n\tbox-sizing: border-box;\r\n\tborder: 1px solid rgba(255, 255, 255, 0.71);\r\n\tbox-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);\r\n}\r\n\r\n.colorpicker-body .strip .overlay {\r\n\theight: 150px;\r\n\tpointer-events: none;\r\n}\r\n',""]),t.Z=o},85824:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor.vs .dnd-target {\r\n\tborder-right: 2px dotted black;\r\n\tcolor: white; /* opposite of black */\r\n}\r\n.monaco-editor.vs-dark .dnd-target {\r\n\tborder-right: 2px dotted #AEAFAD;\r\n\tcolor: #51504f; /* opposite of #AEAFAD */\r\n}\r\n.monaco-editor.hc-black .dnd-target {\r\n\tborder-right: 2px dotted #fff;\r\n\tcolor: #000; /* opposite of #fff */\r\n}\r\n\r\n.monaco-editor.mouse-default .view-lines,\r\n.monaco-editor.vs-dark.mac.mouse-default .view-lines,\r\n.monaco-editor.hc-black.mac.mouse-default .view-lines {\r\n\tcursor: default;\r\n}\r\n.monaco-editor.mouse-copy .view-lines,\r\n.monaco-editor.vs-dark.mac.mouse-copy .view-lines,\r\n.monaco-editor.hc-black.mac.mouse-copy .view-lines {\r\n\tcursor: copy;\r\n}",""]),t.Z=o},92038:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* Find widget */\r\n.monaco-editor .find-widget {\r\n\tposition: absolute;\r\n\tz-index: 50;\r\n\theight: 33px;\r\n\toverflow: hidden;\r\n\tline-height: 19px;\r\n\ttransition: transform 200ms linear;\r\n\tpadding: 0 4px;\r\n\tbox-sizing: border-box;\r\n\ttransform: translateY(calc(-100% - 10px)); /* shadow (10px) */\r\n}\r\n\r\n.monaco-editor .find-widget textarea {\r\n\tmargin: 0px;\r\n}\r\n\r\n.monaco-editor .find-widget.hiddenEditor {\r\n\tdisplay: none;\r\n}\r\n\r\n/* Find widget when replace is toggled on */\r\n.monaco-editor .find-widget.replaceToggled > .replace-part {\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .find-widget.visible  {\r\n\ttransform: translateY(0);\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-inputbox.synthetic-focus {\r\n\toutline: 1px solid -webkit-focus-ring-color;\r\n\toutline-offset: -1px;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-inputbox .input {\r\n\tbackground-color: transparent;\r\n\tmin-height: 0;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-findInput .input {\r\n\tfont-size: 13px;\r\n}\r\n\r\n.monaco-editor .find-widget > .find-part,\r\n.monaco-editor .find-widget > .replace-part {\r\n\tmargin: 4px 0 0 17px;\r\n\tfont-size: 12px;\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .find-widget > .find-part .monaco-inputbox,\r\n.monaco-editor .find-widget > .replace-part .monaco-inputbox {\r\n\tmin-height: 25px;\r\n}\r\n\r\n\r\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {\r\n\tpadding-right: 22px;\r\n}\r\n\r\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .input,\r\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .mirror,\r\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .input,\r\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {\r\n\tpadding-top: 2px;\r\n\tpadding-bottom: 2px;\r\n}\r\n\r\n.monaco-editor .find-widget > .find-part .find-actions {\r\n\theight: 25px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-editor .find-widget > .replace-part .replace-actions {\r\n\theight: 25px;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-findInput {\r\n\tvertical-align: middle;\r\n\tdisplay: flex;\r\n\tflex:1;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element {\r\n\t/* Make sure textarea inherits the width correctly */\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical {\r\n\t/* Hide vertical scrollbar */\r\n\topacity: 0;\r\n}\r\n\r\n.monaco-editor .find-widget .matchesCount {\r\n\tdisplay: flex;\r\n\tflex: initial;\r\n\tmargin: 0 0 0 3px;\r\n\tpadding: 2px 0 0 2px;\r\n\theight: 25px;\r\n\tvertical-align: middle;\r\n\tbox-sizing: border-box;\r\n\ttext-align: center;\r\n\tline-height: 23px;\r\n}\r\n\r\n.monaco-editor .find-widget .button {\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tdisplay: flex;\r\n\tflex: initial;\r\n\tmargin-left: 3px;\r\n\tbackground-position: center center;\r\n\tbackground-repeat: no-repeat;\r\n\tcursor: pointer;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n\r\n.monaco-editor .find-widget .button.left {\r\n\tmargin-left: 0;\r\n\tmargin-right: 3px;\r\n}\r\n\r\n.monaco-editor .find-widget .button.wide {\r\n\twidth: auto;\r\n\tpadding: 1px 6px;\r\n\ttop: -1px;\r\n}\r\n\r\n.monaco-editor .find-widget .button.toggle {\r\n\tposition: absolute;\r\n\ttop: 0;\r\n\tleft: 3px;\r\n\twidth: 18px;\r\n\theight: 100%;\r\n\tbox-sizing: border-box;\r\n}\r\n\r\n.monaco-editor .find-widget .button.toggle.disabled {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .find-widget .disabled {\r\n\topacity: 0.3;\r\n\tcursor: default;\r\n}\r\n\r\n.monaco-editor .find-widget > .replace-part {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .find-widget > .replace-part > .monaco-findInput {\r\n\tposition: relative;\r\n\tdisplay: flex;\r\n\tvertical-align: middle;\r\n\tflex: auto;\r\n\tflex-grow: 0;\r\n\tflex-shrink: 0;\r\n}\r\n\r\n.monaco-editor .find-widget > .replace-part > .monaco-findInput > .controls {\r\n\tposition: absolute;\r\n\ttop: 3px;\r\n\tright: 2px;\r\n}\r\n\r\n/* REDUCED */\r\n.monaco-editor .find-widget.reduced-find-widget .matchesCount {\r\n\tdisplay:none;\r\n}\r\n\r\n/* NARROW (SMALLER THAN REDUCED) */\r\n.monaco-editor .find-widget.narrow-find-widget {\r\n\tmax-width: 257px !important;\r\n}\r\n\r\n/* COLLAPSED (SMALLER THAN NARROW) */\r\n.monaco-editor .find-widget.collapsed-find-widget {\r\n\tmax-width: 170px !important;\r\n}\r\n\r\n.monaco-editor .find-widget.collapsed-find-widget .button.previous,\r\n.monaco-editor .find-widget.collapsed-find-widget .button.next,\r\n.monaco-editor .find-widget.collapsed-find-widget .button.replace,\r\n.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,\r\n.monaco-editor .find-widget.collapsed-find-widget > .find-part .monaco-findInput .controls {\r\n\tdisplay:none;\r\n}\r\n\r\n.monaco-editor .findMatch {\r\n\tanimation-duration: 0;\r\n\tanimation-name: inherit !important;\r\n}\r\n\r\n.monaco-editor .find-widget .monaco-sash {\r\n\tleft: 0 !important;\r\n}\r\n\r\n.monaco-editor.hc-black .find-widget .button:before {\r\n\tposition: relative;\r\n\ttop: 1px;\r\n\tleft: 2px;\r\n}\r\n",""]),t.Z=o},91710:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*---------------------------------------------------------------------------------------------\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.monaco-editor .margin-view-overlays .codicon-folding-expanded,\r\n.monaco-editor .margin-view-overlays .codicon-folding-collapsed {\r\n\tcursor: pointer;\r\n\topacity: 0;\r\n\ttransition: opacity 0.5s;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tfont-size: 140%;\r\n\tmargin-left: 2px;\r\n}\r\n\r\n.monaco-editor .margin-view-overlays:hover .codicon,\r\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,\r\n.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {\r\n\topacity: 1;\r\n}\r\n\r\n.monaco-editor .inline-folded:after {\r\n\tcolor: grey;\r\n\tmargin: 0.1em 0.2em 0 0.2em;\r\n\tcontent: "⋯";\r\n\tdisplay: inline;\r\n\tline-height: 1em;\r\n\tcursor: pointer;\r\n}\r\n',""]),t.Z=o},70121:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* marker zone */\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .severity-icon {\r\n\tdisplay: inline-block;\r\n\tvertical-align: text-top;\r\n\tmargin-right: 4px;\r\n}\r\n\r\n.monaco-editor .marker-widget {\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .marker-widget > .stale {\r\n\topacity: 0.6;\r\n\tfont-style: italic;\r\n}\r\n\r\n.monaco-editor .marker-widget .title {\r\n\tdisplay: inline-block;\r\n\tpadding-right: 5px;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer {\r\n\tposition: absolute;\r\n\twhite-space: pre;\r\n\tuser-select: text;\r\n\t-webkit-user-select: text;\r\n\t-ms-user-select: text;\r\n\tpadding: 8px 12px 0 20px;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .message {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .message .details {\r\n\tpadding-left: 6px;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .message .source,\r\n.monaco-editor .marker-widget .descriptioncontainer .message span.code {\r\n\topacity: 0.6;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link {\r\n\topacity: 0.6;\r\n\tcolor: inherit;\r\n}\r\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {\r\n\tcontent: '(';\r\n}\r\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {\r\n\tcontent: ')';\r\n}\r\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {\r\n\ttext-decoration: underline;\r\n\t/** Hack to force underline to show **/\r\n\tborder-bottom: 1px solid transparent;\r\n\ttext-underline-position: under;\r\n}\r\n\r\n.monaco-editor .marker-widget .descriptioncontainer .filename {\r\n\tcursor: pointer;\r\n}\r\n",""]),t.Z=o},28674:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .goto-definition-link {\r\n\ttext-decoration: underline;\r\n\tcursor: pointer;\r\n}",""]),t.Z=o},46370:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* -- zone widget */\r\n.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {\r\n\tborder-top-width: 1px;\r\n\tborder-bottom-width: 1px;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .inline {\r\n\tdisplay: inline-block;\r\n\tvertical-align: top;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .messages {\r\n\theight: 100%;\r\n\twidth: 100%;\r\n\ttext-align: center;\r\n\tpadding: 3em 0;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree {\r\n\tline-height: 23px;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree .reference {\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree .reference-file {\r\n\tdisplay: inline-flex;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {\r\n\tcolor: inherit !important;\r\n}\r\n\r\n.monaco-editor .reference-zone-widget .ref-tree .reference-file .count {\r\n\tmargin-right: 12px;\r\n\tmargin-left: auto;\r\n}\r\n\r\n/* High Contrast Theming */\r\n\r\n.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file {\r\n\tfont-weight: bold;\r\n}\r\n",""]),t.Z=o},62400:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .detected-link,\r\n.monaco-editor .detected-link-active {\r\n\ttext-decoration: underline;\r\n\ttext-underline-position: under;\r\n}\r\n\r\n.monaco-editor .detected-link-active {\r\n\tcursor: pointer;\r\n}\r\n",""]),t.Z=o},75382:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .monaco-editor-overlaymessage {\r\n\tpadding-bottom: 8px;\r\n\tz-index: 10000;\r\n}\r\n\r\n.monaco-editor .monaco-editor-overlaymessage.below {\r\n\tpadding-bottom: 0;\r\n\tpadding-top: 8px;\r\n\tz-index: 10000;\r\n}\r\n\r\n@keyframes fadeIn {\r\n\tfrom { opacity: 0; }\r\n\tto { opacity: 1; }\r\n}\r\n.monaco-editor .monaco-editor-overlaymessage.fadeIn {\r\n\tanimation: fadeIn 150ms ease-out;\r\n}\r\n\r\n@keyframes fadeOut {\r\n\tfrom { opacity: 1; }\r\n\tto { opacity: 0; }\r\n}\r\n.monaco-editor .monaco-editor-overlaymessage.fadeOut {\r\n\tanimation: fadeOut 100ms ease-out;\r\n}\r\n\r\n.monaco-editor .monaco-editor-overlaymessage .message {\r\n\tpadding: 1px 4px;\r\n}\r\n\r\n.monaco-editor .monaco-editor-overlaymessage .anchor {\r\n\twidth: 0 !important;\r\n\theight: 0 !important;\r\n\tborder-color: transparent;\r\n\tborder-style: solid;\r\n\tz-index: 1000;\r\n\tborder-width: 8px;\r\n\tposition: absolute;\r\n}\r\n\r\n.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,\r\n.monaco-editor .monaco-editor-overlaymessage.below .anchor.below {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .monaco-editor-overlaymessage.below .anchor.top {\r\n\tdisplay: inherit;\r\n\ttop: -8px;\r\n}\r\n",""]),t.Z=o},70537:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .parameter-hints-widget {\r\n\tz-index: 10;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tline-height: 1.5em;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget > .phwrapper {\r\n\tmax-width: 440px;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget.multiple {\r\n\tmin-height: 3.3em;\r\n\tpadding: 0;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget.visible {\r\n\ttransition: left .05s ease-in-out;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget p,\r\n.monaco-editor .parameter-hints-widget ul {\r\n\tmargin: 8px 0;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .monaco-scrollable-element,\r\n.monaco-editor .parameter-hints-widget .body {\r\n\tdisplay: flex;\r\n\tflex: 1;\r\n\tflex-direction: column;\r\n\tmin-height: 100%;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .signature {\r\n\tpadding: 4px 5px;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs {\r\n\tpadding: 0 10px 0 5px;\r\n\twhite-space: pre-wrap;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs.empty {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs .markdown-docs {\r\n\twhite-space: initial;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs .markdown-docs code {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs .code {\r\n\twhite-space: pre-wrap;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .docs code {\r\n\tborder-radius: 3px;\r\n\tpadding: 0 0.4em;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .controls {\r\n\tdisplay: none;\r\n\tflex-direction: column;\r\n\talign-items: center;\r\n\tmin-width: 22px;\r\n\tjustify-content: flex-end;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget.multiple .controls {\r\n\tdisplay: flex;\r\n\tpadding: 0 2px;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget.multiple .button {\r\n\twidth: 16px;\r\n\theight: 16px;\r\n\tbackground-repeat: no-repeat;\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .button.previous {\r\n\tbottom: 24px;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .overloads {\r\n\ttext-align: center;\r\n\theight: 12px;\r\n\tline-height: 12px;\r\n\topacity: 0.5;\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .signature .parameter.active {\r\n\tfont-weight: bold;\r\n\ttext-decoration: underline;\r\n}\r\n\r\n.monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {\r\n\tfont-weight: bold;\r\n\tmargin-right: 0.5em;\r\n}\r\n",""]),t.Z=o},82122:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .peekview-widget .head {\r\n\tbox-sizing: border-box;\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tfont-size: 13px;\r\n\tmargin-left: 20px;\r\n\tcursor: pointer;\r\n\tmin-width: 0;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {\r\n\tfont-size: 0.9em;\r\n\tmargin-left: 0.5em;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .meta {\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .dirname {\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .filename {\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {\r\n\tcontent: '-';\r\n\tpadding: 0 0.3em;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions {\r\n\tflex: 1;\r\n\ttext-align: right;\r\n\tpadding-right: 2px;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-item {\r\n\tmargin-left: 4px;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-label {\r\n\twidth: 16px;\r\n\theight: 100%;\r\n\tmargin: 0;\r\n\tline-height: inherit;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: center center;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar .action-label.codicon {\r\n\tmargin: 0;\r\n}\r\n\r\n.monaco-editor .peekview-widget > .body {\r\n\tborder-top: 1px solid;\r\n\tposition: relative;\r\n}\r\n\r\n.monaco-editor .peekview-widget .head .peekview-title .codicon {\r\n\tmargin-right: 4px;\r\n}\r\n",""]),t.Z=o},59896:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .rename-box {\r\n\tz-index: 100;\r\n\tcolor: inherit;\r\n}\r\n\r\n.monaco-editor .rename-box.preview {\r\n\tpadding: 3px 3px 0 3px;\r\n}\r\n\r\n.monaco-editor .rename-box .rename-input {\r\n\tpadding: 3px;\r\n\twidth: calc(100% - 6px);\r\n}\r\n\r\n.monaco-editor .rename-box .rename-label {\r\n\tdisplay: none;\r\n\topacity: .8;\r\n}\r\n\r\n.monaco-editor .rename-box.preview .rename-label {\r\n\tdisplay: inherit;\r\n}\r\n",""]),t.Z=o},11311:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .snippet-placeholder {\r\n\tmin-width: 2px;\r\n\toutline-style: solid;\r\n\toutline-width: 1px;\r\n}\r\n\r\n.monaco-editor .finish-snippet-placeholder {\r\n\toutline-style: solid;\r\n\toutline-width: 1px;\r\n}\r\n",""]),t.Z=o},54205:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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/* Suggest widget*/\r\n\r\n.monaco-editor .suggest-widget {\r\n\twidth: 430px;\r\n\tz-index: 40;\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n}\r\n\r\n.monaco-editor .suggest-widget.message {\r\n\tflex-direction: row;\r\n\talign-items: center;\r\n}\r\n\r\n.monaco-editor .suggest-widget,\r\n.monaco-editor .suggest-details {\r\n\tflex: 0 1 auto;\r\n\twidth: 100%;\r\n\tborder-style: solid;\r\n\tborder-width: 1px;\r\n}\r\n\r\n.monaco-editor.hc-black .suggest-widget,\r\n.monaco-editor.hc-black .suggest-details {\r\n\tborder-width: 2px;\r\n}\r\n\r\n/* Styles for status bar part */\r\n\r\n\r\n.monaco-editor .suggest-widget .suggest-status-bar {\r\n\tbox-sizing: border-box;\r\n\tdisplay: none;\r\n\tflex-flow: row nowrap;\r\n\tjustify-content: space-between;\r\n\twidth: 100%;\r\n\tfont-size: 80%;\r\n\tpadding: 0 4px 0 4px;\r\n\tborder-top: 1px solid transparent;\r\n\toverflow: hidden;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .suggest-widget .suggest-status-bar .left {\r\n\tpadding-right: 8px;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {\r\n\topacity: 0.5;\r\n\tcolor: inherit;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {\r\n\tmargin-right: 0;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {\r\n\tcontent: ', ';\r\n\tmargin-right: 0.3em;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,\r\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {\r\n\twidth: 100%;\r\n}\r\n\r\n/* Styles for Message element for when widget is loading or is empty */\r\n\r\n.monaco-editor .suggest-widget>.message {\r\n\tpadding-left: 22px;\r\n}\r\n\r\n/** Styles for the list element **/\r\n\r\n.monaco-editor .suggest-widget>.tree {\r\n\theight: 100%;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list {\r\n\tuser-select: none;\r\n\t-webkit-user-select: none;\r\n\t-ms-user-select: none;\r\n}\r\n\r\n/** Styles for each row in the list element **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row {\r\n\tdisplay: flex;\r\n\t-mox-box-sizing: border-box;\r\n\tbox-sizing: border-box;\r\n\tpadding-right: 10px;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: 2px 2px;\r\n\twhite-space: nowrap;\r\n\tcursor: pointer;\r\n\ttouch-action: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents {\r\n\tflex: 1;\r\n\theight: 100%;\r\n\toverflow: hidden;\r\n\tpadding-left: 2px;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main {\r\n\tdisplay: flex;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: pre;\r\n\tjustify-content: space-between;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left, .monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {\r\n\tdisplay: flex;\r\n}\r\n\r\n.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {\r\n\tfont-weight: bold;\r\n}\r\n\r\n/** ReadMore Icon styles **/\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore::before {\r\n\tcolor: inherit;\r\n\topacity: 1;\r\n\tfont-size: 14px;\r\n\tcursor: pointer;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close {\r\n\tposition: absolute;\r\n\ttop: 6px;\r\n\tright: 2px;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover {\r\n\topacity: 1;\r\n}\r\n\r\n/** signature, qualifier, type/details opacity **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label,\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\r\n\topacity: 0.7;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label {\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label {\r\n\tmargin-left: 4px;\r\n\topacity: 0.4;\r\n\tfont-size: 90%;\r\n\ttext-overflow: ellipsis;\r\n\toverflow: hidden;\r\n\talign-self: center;\r\n}\r\n\r\n/** Type Info and icon next to the label in the focused completion item **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\r\n\tmargin-left: 1.1em;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\twhite-space: nowrap;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source {\r\n\tdisplay: inline;\r\n}\r\n\r\n/** Details: if using CompletionItem#details, show on focus **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label {\r\n\tdisplay: inline;\r\n}\r\n\r\n/** Details: if using CompletionItemLabel#details, always show **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,\r\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label {\r\n\tdisplay: inline;\r\n}\r\n\r\n/** Ellipsis on hover **/\r\n\r\n.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {\r\n\twidth: calc(100% - 26px);\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left {\r\n\tflex-shrink: 1;\r\n\tflex-grow: 1;\r\n\toverflow: hidden;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label {\r\n\tflex-shrink: 0;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label {\r\n\tmax-width: 100%;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label {\r\n\tflex-shrink: 1;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {\r\n\toverflow: hidden;\r\n\tflex-shrink: 4;\r\n\tmax-width: 70%;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\r\n\tdisplay: inline-block;\r\n\tposition: absolute;\r\n\tright: 10px;\r\n\twidth: 18px;\r\n\theight: 18px;\r\n\tvisibility: hidden;\r\n}\r\n\r\n/** Do NOT display ReadMore when docs is side/below **/\r\n\r\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore, .monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\r\n\tdisplay: none !important;\r\n}\r\n\r\n/** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore {\r\n\tdisplay: none;\r\n}\r\n\r\n/** Focused item can show ReadMore, but can't when docs is side/below **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {\r\n\tdisplay: inline-block;\r\n}\r\n\r\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,\r\n.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover>.contents>.main>.right>.readMore {\r\n\tvisibility: visible;\r\n}\r\n\r\n/** Styles for each row in the list **/\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {\r\n\topacity: 0.66;\r\n\ttext-decoration: unset;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container {\r\n\ttext-decoration: line-through;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {\r\n\theight: 100%;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {\r\n\tdisplay: block;\r\n\theight: 16px;\r\n\twidth: 16px;\r\n\tmargin-left: 2px;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-size: 80%;\r\n\tbackground-position: center;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tmargin-right: 4px;\r\n}\r\n\r\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon, .monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {\r\n\tmargin: 0 0 0 0.3em;\r\n\tborder: 0.1em solid #000;\r\n\twidth: 0.7em;\r\n\theight: 0.7em;\r\n\tdisplay: inline-block;\r\n}\r\n\r\n/** Styles for the docs of the completion item in focus **/\r\n\r\n.monaco-editor .suggest-details-container {\r\n\tz-index: 41;\r\n}\r\n\r\n.monaco-editor .suggest-details {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\tcursor: default;\r\n}\r\n\r\n.monaco-editor .suggest-details.no-docs {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element {\r\n\tflex: 1;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body {\r\n\tbox-sizing: border-box;\r\n\theight: 100%;\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type {\r\n\tflex: 2;\r\n\toverflow: hidden;\r\n\ttext-overflow: ellipsis;\r\n\topacity: 0.7;\r\n\twhite-space: pre;\r\n\tmargin: 0 24px 0 0;\r\n\tpadding: 4px 0 12px 5px;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap {\r\n\twhite-space: normal;\r\n\tword-break: break-all;\r\n}\r\n\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs {\r\n\tmargin: 0;\r\n\tpadding: 4px 5px;\r\n\twhite-space: pre-wrap;\r\n}\r\n\r\n.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs {\r\n\tmargin-right: 24px;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs {\r\n\tpadding: 0;\r\n\twhite-space: initial;\r\n\tmin-height: calc(1rem + 8px);\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty) {\r\n\tpadding: 4px 5px;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child {\r\n\tmargin-top: 0;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child {\r\n\tmargin-bottom: 0;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code {\r\n\twhite-space: pre-wrap;\r\n\tword-wrap: break-word;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon {\r\n\tvertical-align: sub;\r\n}\r\n\r\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty {\r\n\tdisplay: none;\r\n}\r\n\r\n.monaco-editor .suggest-details code {\r\n\tborder-radius: 3px;\r\n\tpadding: 0 0.4em;\r\n}\r\n\r\n.monaco-editor .suggest-details ul {\r\n\tpadding-left: 20px;\r\n}\r\n\r\n.monaco-editor .suggest-details ol {\r\n\tpadding-left: 20px;\r\n}\r\n\r\n.monaco-editor .suggest-details p code {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n",""]),t.Z=o},49139:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .zone-widget {\r\n\tposition: absolute;\r\n\tz-index: 10;\r\n}\r\n\r\n\r\n.monaco-editor .zone-widget .zone-widget-container {\r\n\tborder-top-style: solid;\r\n\tborder-bottom-style: solid;\r\n\tborder-top-width: 0;\r\n\tborder-bottom-width: 0;\r\n\tposition: relative;\r\n}\r\n",""]),t.Z=o},21541:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .accessibilityHelpWidget {\r\n\tpadding: 10px;\r\n\tvertical-align: middle;\r\n\toverflow: scroll;\r\n}",""]),t.Z=o},45274:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*---------------------------------------------------------------------------------------------\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.monaco-editor .iPadShowKeyboard {\r\n\twidth: 58px;\r\n\tmin-width: 0;\r\n\theight: 36px;\r\n\tmin-height: 0;\r\n\tmargin: 0;\r\n\tpadding: 0;\r\n\tposition: absolute;\r\n\tresize: none;\r\n\toverflow: hidden;\r\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPg0KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzY0IDQuMDEwNDJINC4wMDc3OUw0LjAwNzc5IDMyLjAyODZINDguMDM2NFY0LjAxMDQyWk00LjAwNzc5IDAuMDA3ODEyNUMxLjc5NzIxIDAuMDA3ODEyNSAwLjAwNTE4Nzk5IDEuNzk5ODQgMC4wMDUxODc5OSA0LjAxMDQyVjMyLjAyODZDMC4wMDUxODc5OSAzNC4yMzkyIDEuNzk3MjEgMzYuMDMxMiA0LjAwNzc5IDM2LjAzMTJINDguMDM2NEM1MC4yNDcgMzYuMDMxMiA1Mi4wMzkgMzQuMjM5MiA1Mi4wMzkgMzIuMDI4NlY0LjAxMDQyQzUyLjAzOSAxLjc5OTg0IDUwLjI0NyAwLjAwNzgxMjUgNDguMDM2NCAwLjAwNzgxMjVINC4wMDc3OVpNOC4wMTA0MiA4LjAxMzAySDEyLjAxM1YxMi4wMTU2SDguMDEwNDJWOC4wMTMwMlpNMjAuMDE4MiA4LjAxMzAySDE2LjAxNTZWMTIuMDE1NkgyMC4wMTgyVjguMDEzMDJaTTI0LjAyMDggOC4wMTMwMkgyOC4wMjM0VjEyLjAxNTZIMjQuMDIwOFY4LjAxMzAyWk0zNi4wMjg2IDguMDEzMDJIMzIuMDI2VjEyLjAxNTZIMzYuMDI4NlY4LjAxMzAyWk00MC4wMzEyIDguMDEzMDJINDQuMDMzOVYxMi4wMTU2SDQwLjAzMTJWOC4wMTMwMlpNMTYuMDE1NiAxNi4wMTgySDguMDEwNDJWMjAuMDIwOEgxNi4wMTU2VjE2LjAxODJaTTIwLjAxODIgMTYuMDE4MkgyNC4wMjA4VjIwLjAyMDhIMjAuMDE4MlYxNi4wMTgyWk0zMi4wMjYgMTYuMDE4MkgyOC4wMjM0VjIwLjAyMDhIMzIuMDI2VjE2LjAxODJaTTQ0LjAzMzkgMTYuMDE4MlYyMC4wMjA4SDM2LjAyODZWMTYuMDE4Mkg0NC4wMzM5Wk0xMi4wMTMgMjQuMDIzNEg4LjAxMDQyVjI4LjAyNkgxMi4wMTNWMjQuMDIzNFpNMTYuMDE1NiAyNC4wMjM0SDM2LjAyODZWMjguMDI2SDE2LjAxNTZWMjQuMDIzNFpNNDQuMDMzOSAyNC4wMjM0SDQwLjAzMTJWMjguMDI2SDQ0LjAzMzlWMjQuMDIzNFoiIGZpbGw9IiM0MjQyNDIiLz4NCjwvZz4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJjbGlwMCI+DQo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPC9zdmc+DQo=") center center no-repeat;\r\n\tborder: 4px solid #F6F6F6;\r\n\tborder-radius: 4px;\r\n}\r\n\r\n.monaco-editor.vs-dark .iPadShowKeyboard {\r\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiPg0KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzY0IDQuMDEwNDJINC4wMDc3OUw0LjAwNzc5IDMyLjAyODZINDguMDM2NFY0LjAxMDQyWk00LjAwNzc5IDAuMDA3ODEyNUMxLjc5NzIxIDAuMDA3ODEyNSAwLjAwNTE4Nzk5IDEuNzk5ODQgMC4wMDUxODc5OSA0LjAxMDQyVjMyLjAyODZDMC4wMDUxODc5OSAzNC4yMzkyIDEuNzk3MjEgMzYuMDMxMiA0LjAwNzc5IDM2LjAzMTJINDguMDM2NEM1MC4yNDcgMzYuMDMxMiA1Mi4wMzkgMzQuMjM5MiA1Mi4wMzkgMzIuMDI4NlY0LjAxMDQyQzUyLjAzOSAxLjc5OTg0IDUwLjI0NyAwLjAwNzgxMjUgNDguMDM2NCAwLjAwNzgxMjVINC4wMDc3OVpNOC4wMTA0MiA4LjAxMzAySDEyLjAxM1YxMi4wMTU2SDguMDEwNDJWOC4wMTMwMlpNMjAuMDE4MiA4LjAxMzAySDE2LjAxNTZWMTIuMDE1NkgyMC4wMTgyVjguMDEzMDJaTTI0LjAyMDggOC4wMTMwMkgyOC4wMjM0VjEyLjAxNTZIMjQuMDIwOFY4LjAxMzAyWk0zNi4wMjg2IDguMDEzMDJIMzIuMDI2VjEyLjAxNTZIMzYuMDI4NlY4LjAxMzAyWk00MC4wMzEyIDguMDEzMDJINDQuMDMzOVYxMi4wMTU2SDQwLjAzMTJWOC4wMTMwMlpNMTYuMDE1NiAxNi4wMTgySDguMDEwNDJWMjAuMDIwOEgxNi4wMTU2VjE2LjAxODJaTTIwLjAxODIgMTYuMDE4MkgyNC4wMjA4VjIwLjAyMDhIMjAuMDE4MlYxNi4wMTgyWk0zMi4wMjYgMTYuMDE4MkgyOC4wMjM0VjIwLjAyMDhIMzIuMDI2VjE2LjAxODJaTTQ0LjAzMzkgMTYuMDE4MlYyMC4wMjA4SDM2LjAyODZWMTYuMDE4Mkg0NC4wMzM5Wk0xMi4wMTMgMjQuMDIzNEg4LjAxMDQyVjI4LjAyNkgxMi4wMTNWMjQuMDIzNFpNMTYuMDE1NiAyNC4wMjM0SDM2LjAyODZWMjguMDI2SDE2LjAxNTZWMjQuMDIzNFpNNDQuMDMzOSAyNC4wMjM0SDQwLjAzMTJWMjguMDI2SDQ0LjAzMzlWMjQuMDIzNFoiIGZpbGw9IiNDNUM1QzUiLz4NCjwvZz4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJjbGlwMCI+DQo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPC9zdmc+DQo=") center center no-repeat;\r\n\tborder: 4px solid #252526;\r\n}',""]),t.Z=o},10223:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-editor .tokens-inspect-widget {\r\n\tz-index: 50;\r\n\tuser-select: text;\r\n\t-webkit-user-select: text;\r\n\t-ms-user-select: text;\r\n\tpadding: 10px;\r\n}\r\n\r\n.tokens-inspect-separator {\r\n\theight: 1px;\r\n\tborder: 0;\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-token {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-token-length {\r\n\tfont-weight: normal;\r\n\tfont-size: 60%;\r\n\tfloat: right;\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-metadata-table {\r\n\twidth: 100%;\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-metadata-value {\r\n\tfont-family: var(--monaco-monospace-font);\r\n\ttext-align: right;\r\n}\r\n\r\n.monaco-editor .tokens-inspect-widget .tm-token-type {\r\n\tfont-family: var(--monaco-monospace-font);\r\n}\r\n",""]),t.Z=o},77078:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.quick-input-widget {\r\n\tfont-size: 13px;\r\n}\r\n\r\n.quick-input-widget .monaco-highlighted-label .highlight,\r\n.quick-input-widget .monaco-highlighted-label .highlight {\r\n\tcolor: #0066BF;\r\n}\r\n\r\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,\r\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight {\r\n\tcolor: #0097fb;\r\n}\r\n\r\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight,\r\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight {\r\n\tcolor: #F38518;\r\n}\r\n",""]),t.Z=o},72208:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,'/*---------------------------------------------------------------------------------------------\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/* Default standalone editor fonts */\r\n.monaco-editor {\r\n\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\r\n\t--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;\r\n}\r\n\r\n.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {\r\n\tstroke-width: 1.2px;\r\n}\r\n\r\n.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\r\n.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\r\n\tstroke-width: 1.2px;\r\n}\r\n\r\n.monaco-hover p {\r\n\tmargin: 0;\r\n}\r\n\r\n/*\r\nIn certain cases, the default positioning of the aria container (left: -999em) can cause scrollbars to appear.\r\nSo here we try to avoid that by using a different technique. See https://stackoverflow.com/a/26032207\r\n*/\r\n.monaco-aria-container {\r\n\tposition: absolute !important;\r\n\theight: 1px;\r\n\twidth: 1px;\r\n\tleft: inherit !important;\r\n\toverflow: hidden;\r\n\tclip: rect(1px, 1px, 1px, 1px);\r\n}\r\n\r\n/* The hc-black theme is already high contrast optimized */\r\n.monaco-editor.hc-black {\r\n\t-ms-high-contrast-adjust: none;\r\n}\r\n/* In case the browser goes into high contrast mode and the editor is not configured with the hc-black theme */\r\n@media screen and (-ms-high-contrast:active) {\r\n\r\n\t/* current line highlight */\r\n\t.monaco-editor.vs .view-overlays .current-line,\r\n\t.monaco-editor.vs-dark .view-overlays .current-line {\r\n\t\tborder-color: windowtext !important;\r\n\t\tborder-left: 0;\r\n\t\tborder-right: 0;\r\n\t}\r\n\r\n\t/* view cursors */\r\n\t.monaco-editor.vs .cursor,\r\n\t.monaco-editor.vs-dark .cursor {\r\n\t\tbackground-color: windowtext !important;\r\n\t}\r\n\t/* dnd target */\r\n\t.monaco-editor.vs .dnd-target,\r\n\t.monaco-editor.vs-dark .dnd-target {\r\n\t\tborder-color: windowtext !important;\r\n\t}\r\n\r\n\t/* selected text background */\r\n\t.monaco-editor.vs .selected-text,\r\n\t.monaco-editor.vs-dark .selected-text {\r\n\t\tbackground-color: highlight !important;\r\n\t}\r\n\r\n\t/* allow the text to have a transparent background. */\r\n\t.monaco-editor.vs .view-line,\r\n\t.monaco-editor.vs-dark .view-line {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t}\r\n\r\n\t/* text color */\r\n\t.monaco-editor.vs .view-line span,\r\n\t.monaco-editor.vs-dark .view-line span {\r\n\t\tcolor: windowtext !important;\r\n\t}\r\n\t/* selected text color */\r\n\t.monaco-editor.vs .view-line span.inline-selected-text,\r\n\t.monaco-editor.vs-dark .view-line span.inline-selected-text {\r\n\t\tcolor: highlighttext !important;\r\n\t}\r\n\r\n\t/* allow decorations */\r\n\t.monaco-editor.vs .view-overlays,\r\n\t.monaco-editor.vs-dark .view-overlays {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t}\r\n\r\n\t/* various decorations */\r\n\t.monaco-editor.vs .selectionHighlight,\r\n\t.monaco-editor.vs-dark .selectionHighlight,\r\n\t.monaco-editor.vs .wordHighlight,\r\n\t.monaco-editor.vs-dark .wordHighlight,\r\n\t.monaco-editor.vs .wordHighlightStrong,\r\n\t.monaco-editor.vs-dark .wordHighlightStrong,\r\n\t.monaco-editor.vs .reference-decoration,\r\n\t.monaco-editor.vs-dark .reference-decoration {\r\n\t\tborder: 2px dotted highlight !important;\r\n\t\tbackground: transparent !important;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .rangeHighlight,\r\n\t.monaco-editor.vs-dark .rangeHighlight {\r\n\t\tbackground: transparent !important;\r\n\t\tborder: 1px dotted activeborder !important;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .bracket-match,\r\n\t.monaco-editor.vs-dark .bracket-match {\r\n\t\tborder-color: windowtext !important;\r\n\t\tbackground: transparent !important;\r\n\t}\r\n\r\n\t/* find widget */\r\n\t.monaco-editor.vs .findMatch,\r\n\t.monaco-editor.vs-dark .findMatch,\r\n\t.monaco-editor.vs .currentFindMatch,\r\n\t.monaco-editor.vs-dark .currentFindMatch {\r\n\t\tborder: 2px dotted activeborder !important;\r\n\t\tbackground: transparent !important;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .find-widget,\r\n\t.monaco-editor.vs-dark .find-widget {\r\n\t\tborder: 1px solid windowtext;\r\n\t}\r\n\r\n\t/* list - used by suggest widget */\r\n\t.monaco-editor.vs .monaco-list .monaco-list-row,\r\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t\tcolor: windowtext !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-list .monaco-list-row.focused,\r\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused {\r\n\t\tcolor: highlighttext !important;\r\n\t\tbackground-color: highlight !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-list .monaco-list-row:hover,\r\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover {\r\n\t\tbackground: transparent !important;\r\n\t\tborder: 1px solid highlight;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t/* scrollbars */\r\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar,\r\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t\tbackground: background !important;\r\n\t\tborder: 1px solid windowtext;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider,\r\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\r\n\t\tbackground: windowtext !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider:hover,\r\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider:hover {\r\n\t\tbackground: highlight !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider.active,\r\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\r\n\t\tbackground: highlight !important;\r\n\t}\r\n\r\n\t/* overview ruler */\r\n\t.monaco-editor.vs .decorationsOverviewRuler,\r\n\t.monaco-editor.vs-dark .decorationsOverviewRuler {\r\n\t\topacity: 0;\r\n\t}\r\n\r\n\t/* minimap */\r\n\t.monaco-editor.vs .minimap,\r\n\t.monaco-editor.vs-dark .minimap {\r\n\t\tdisplay: none;\r\n\t}\r\n\r\n\t/* squiggles */\r\n\t.monaco-editor.vs .squiggly-d-error,\r\n\t.monaco-editor.vs-dark .squiggly-d-error {\r\n\t\tbackground: transparent !important;\r\n\t\tborder-bottom: 4px double #E47777;\r\n\t}\r\n\t.monaco-editor.vs .squiggly-c-warning,\r\n\t.monaco-editor.vs-dark .squiggly-c-warning {\r\n\t\tborder-bottom: 4px double #71B771;\r\n\t}\r\n\t.monaco-editor.vs .squiggly-b-info,\r\n\t.monaco-editor.vs-dark .squiggly-b-info {\r\n\t\tborder-bottom: 4px double #71B771;\r\n\t}\r\n\t.monaco-editor.vs .squiggly-a-hint,\r\n\t.monaco-editor.vs-dark .squiggly-a-hint {\r\n\t\tborder-bottom: 4px double #6c6c6c;\r\n\t}\r\n\r\n\t/* contextmenu */\r\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\r\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t\tcolor: highlighttext !important;\r\n\t\tbackground-color: highlight !important;\r\n\t}\r\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,\r\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label {\r\n\t\t-ms-high-contrast-adjust: none;\r\n\t\tbackground: transparent !important;\r\n\t\tborder: 1px solid highlight;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\r\n\t/* diff editor */\r\n\t.monaco-diff-editor.vs .diffOverviewRuler,\r\n\t.monaco-diff-editor.vs-dark .diffOverviewRuler {\r\n\t\tdisplay: none;\r\n\t}\r\n\t.monaco-editor.vs .line-insert,\r\n\t.monaco-editor.vs-dark .line-insert,\r\n\t.monaco-editor.vs .line-delete,\r\n\t.monaco-editor.vs-dark .line-delete {\r\n\t\tbackground: transparent !important;\r\n\t\tborder: 1px solid highlight !important;\r\n\t\tbox-sizing: border-box;\r\n\t}\r\n\t.monaco-editor.vs .char-insert,\r\n\t.monaco-editor.vs-dark .char-insert,\r\n\t.monaco-editor.vs .char-delete,\r\n\t.monaco-editor.vs-dark .char-delete {\r\n\t\tbackground: transparent !important;\r\n\t}\r\n}\r\n\r\n/*.monaco-editor.vs [tabindex="0"]:focus {\r\n\toutline: 1px solid rgba(0, 122, 204, 0.4);\r\n\toutline-offset: -1px;\r\n\topacity: 1 !important;\r\n}\r\n\r\n.monaco-editor.vs-dark [tabindex="0"]:focus {\r\n\toutline: 1px solid rgba(14, 99, 156, 0.6);\r\n\toutline-offset: -1px;\r\n\topacity: 1 !important;\r\n}*/\r\n',""]),t.Z=o},95861:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.monaco-action-bar .action-item.menu-entry .action-label {\r\n\tbackground-image: var(--menu-entry-icon-light);\r\n\tdisplay: inline-flex;\r\n}\r\n\r\n.vs-dark .monaco-action-bar .action-item.menu-entry .action-label,\r\n.hc-black .monaco-action-bar .action-item.menu-entry .action-label {\r\n\tbackground-image: var(--menu-entry-icon-dark);\r\n}\r\n",""]),t.Z=o},39759:function(e,t,n){"use strict";var i=n(23645),o=n.n(i)()((function(e){return e[1]}));o.push([e.id,"/*---------------------------------------------------------------------------------------------\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.context-view .monaco-menu {\r\n\tmin-width: 130px;\r\n}\r\n\r\n",""]),t.Z=o},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var r=0;r=0,u=d.indexOf("Firefox")>=0,p=d.indexOf("AppleWebKit")>=0,g=d.indexOf("Chrome")>=0,m=!g&&d.indexOf("Safari")>=0,f=!g&&!m&&p,b=d.indexOf("iPad")>=0||m&&navigator.maxTouchPoints>0,v=h&&d.indexOf("WebView/")>=0,_=d.indexOf("Electron/")>=0,w=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},69098:function(e,t,n){"use strict";n.r(t),n.d(t,{BrowserFeatures:function(){return r}});var i=n(76736),o=n(66719);const r={clipboard:{writeText:o.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:o.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:(()=>{if(i.isEdgeLegacy){let e=navigator.userAgent.indexOf("Edge/"),t=parseInt(navigator.userAgent.substring(e+5,navigator.userAgent.indexOf(".",e)),10);if(!t||t>=12&&t<=16)return!1}return!0})()},keyboard:o.isNative||i.isStandalone?0:navigator.keyboard||i.isSafari?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},65174:function(e,t,n){"use strict";n.r(t),n.d(t,{DataTransfers:function(){return i},DragAndDropData:function(){return o},StaticDND:function(){return r}});const i={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"};class o{constructor(e){this.data=e}update(){}getData(){return this.data}}const r={CurrentDragAndDropData:void 0}},96747:function(e,t,n){"use strict";n.r(t),n.d(t,{clearNode:function(){return g},isInDOM:function(){return m},addDisposableListener:function(){return b},addStandardDisposableListener:function(){return _},addStandardDisposableGenericMouseDownListner:function(){return w},addDisposableGenericMouseDownListner:function(){return y},addDisposableGenericMouseUpListner:function(){return A},addDisposableNonBubblingMouseOutListener:function(){return C},addDisposableNonBubblingPointerOutListener:function(){return S},runAtThisOrScheduleAtNextAnimationFrame:function(){return x},scheduleAtNextAnimationFrame:function(){return E},addDisposableThrottledListener:function(){return L},getComputedStyle:function(){return R},getClientArea:function(){return N},Dimension:function(){return O},getTopLeftOffset:function(){return P},size:function(){return F},getDomNodePagePosition:function(){return z},StandardWindow:function(){return B},getTotalWidth:function(){return W},getContentWidth:function(){return U},getContentHeight:function(){return H},getTotalHeight:function(){return V},isAncestor:function(){return j},findParentWithClass:function(){return K},hasParentWithClass:function(){return q},isShadowRoot:function(){return G},isInShadowDOM:function(){return Q},getShadowRoot:function(){return Y},getActiveElement:function(){return $},createStyleSheet:function(){return J},createCSSRule:function(){return ee},removeCSSRulesContainingSelector:function(){return te},isHTMLElement:function(){return ne},EventType:function(){return ie},EventHelper:function(){return oe},saveParentsScrollTop:function(){return re},restoreParentsScrollTop:function(){return se},trackFocus:function(){return le},append:function(){return ce},reset:function(){return de},Namespace:function(){return ue},$:function(){return ge},show:function(){return me},hide:function(){return fe},removeTabIndexAndUpdateFocus:function(){return be},getElementsByTagName:function(){return ve},computeScreenAwareSize:function(){return _e},windowOpenNoOpener:function(){return we},animate:function(){return ye},asCSSUrl:function(){return Ae},ModifierKeyEmitter:function(){return Ce}});var i=n(76736),o=n(50465),r=n(8769),s=n(5642),a=n(66129),l=n(12718),c=n(63801),d=n(68921),h=n(66719),u=n(27952),p=n(69098);function g(e){for(;e.firstChild;)e.firstChild.remove()}function m(e){var t;return null!==(t=null==e?void 0:e.isConnected)&&void 0!==t&&t}class f{constructor(e,t,n,i){this._node=e,this._type=t,this._handler=n,this._options=i||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function b(e,t,n,i){return new f(e,t,n,i)}function v(e){return function(t){return e(new s.StandardMouseEvent(t))}}let _=function(e,t,n,i){let o=n;return"click"===t||"mousedown"===t?o=v(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=function(e){return function(t){return e(new r.StandardKeyboardEvent(t))}}(n)),b(e,t,o,i)},w=function(e,t,n){return y(e,v(t),n)};function y(e,t,n){return b(e,h.isIOS&&p.BrowserFeatures.pointerEvents?ie.POINTER_DOWN:ie.MOUSE_DOWN,t,n)}function A(e,t,n){return b(e,h.isIOS&&p.BrowserFeatures.pointerEvents?ie.POINTER_UP:ie.MOUSE_UP,t,n)}function C(e,t){return b(e,"mouseout",(n=>{let i=n.relatedTarget;for(;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}function S(e,t){return b(e,"pointerout",(n=>{let i=n.relatedTarget;for(;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}let x,E,k=null;class T{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){(0,l.onUnexpectedError)(e)}}static sort(e,t){return t.priority-e.priority}}!function(){let e=[],t=null,n=!1,i=!1,o=()=>{for(n=!1,t=e,e=[],i=!0;t.length>0;)t.sort(T.sort),t.shift().execute();i=!1};E=(t,i=0)=>{let r=new T(t,i);return e.push(r),n||(n=!0,function(e){if(!k){const e=e=>setTimeout((()=>e((new Date).getTime())),0);k=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||e}k.call(self,e)}(o)),r},x=(e,n)=>{if(i){let i=new T(e,n);return t.push(i),i}return E(e,n)}}();const I=function(e,t){return t};class D extends d.Disposable{constructor(e,t,n,i=I,o=16){super();let r=null,s=0,l=this._register(new a.TimeoutTimer),c=()=>{s=(new Date).getTime(),n(r),r=null};this._register(b(e,t,(e=>{r=i(r,e);let t=(new Date).getTime()-s;t>=o?(l.cancel(),c()):l.setIfNotSet(c,o-t)})))}}function L(e,t,n,i,o){return new D(e,t,n,i,o)}function R(e){return document.defaultView.getComputedStyle(e,null)}function N(e){if(e!==document.body)return new O(e.clientWidth,e.clientHeight);if(h.isIOS&&window.visualViewport){const e=window.visualViewport.width,t=window.visualViewport.height-(i.isStandalone?24:0);return new O(e,t)}if(window.innerWidth&&window.innerHeight)return new O(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new O(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new O(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class M{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,n){let i=R(e),o="0";return i&&(o=i.getPropertyValue?i.getPropertyValue(t):i.getAttribute(n)),M.convertToPixels(e,o)}static getBorderLeftWidth(e){return M.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return M.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return M.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return M.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return M.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return M.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return M.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return M.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return M.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return M.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return M.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return M.getDimension(e,"margin-bottom","marginBottom")}}class O{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new O(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof O?e:new O(e.width,e.height)}static equals(e,t){return e===t||!(!e||!t)&&e.width===t.width&&e.height===t.height}}function P(e){let t=e.offsetParent,n=e.offsetTop,i=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;const o=G(e)?null:R(e);o&&(i-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(i+=M.getBorderLeftWidth(e),n+=M.getBorderTopWidth(e),n+=e.offsetTop,i+=e.offsetLeft,t=e.offsetParent)}return{left:i,top:n}}function F(e,t,n){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof n&&(e.style.height=`${n}px`)}function z(e){let t=e.getBoundingClientRect();return{left:t.left+B.scrollX,top:t.top+B.scrollY,width:t.width,height:t.height}}const B=new class{get scrollX(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function W(e){let t=M.getMarginLeft(e)+M.getMarginRight(e);return e.offsetWidth+t}function U(e){let t=M.getBorderLeftWidth(e)+M.getBorderRightWidth(e),n=M.getPaddingLeft(e)+M.getPaddingRight(e);return e.offsetWidth-t-n}function H(e){let t=M.getBorderTopWidth(e)+M.getBorderBottomWidth(e),n=M.getPaddingTop(e)+M.getPaddingBottom(e);return e.offsetHeight-t-n}function V(e){let t=M.getMarginTop(e)+M.getMarginBottom(e);return e.offsetHeight+t}function j(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function K(e,t,n){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(n)if("string"==typeof n){if(e.classList.contains(n))return null}else if(e===n)return null;e=e.parentNode}return null}function q(e,t,n){return!!K(e,t,n)}function G(e){return e&&!!e.host&&!!e.mode}function Q(e){return!!Y(e)}function Y(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return G(e)?e:null}function $(){let e=document.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function J(e=document.getElementsByTagName("head")[0]){let t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}let Z=null;function X(){return Z||(Z=J()),Z}function ee(e,t,n=X()){n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function te(e,t=X()){if(!t)return;let n=function(e){var t,n;return(null===(t=null==e?void 0:e.sheet)||void 0===t?void 0:t.rules)?e.sheet.rules:(null===(n=null==e?void 0:e.sheet)||void 0===n?void 0:n.cssRules)?e.sheet.cssRules:[]}(t),i=[];for(let t=0;t=0;e--)t.sheet.deleteRule(i[e])}function ne(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}const ie={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:i.isEdgeLegacy?"mousewheel":"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:i.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:i.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:i.isWebKit?"webkitAnimationIteration":"animationiteration"},oe={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function re(e){let t=[];for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function se(e,t){for(let n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}class ae extends d.Disposable{constructor(e){super(),this._onDidFocus=this._register(new c.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.Emitter),this.onDidBlur=this._onDidBlur.event;let t=j(document.activeElement,e),n=!1;const i=()=>{n=!1,t||(t=!0,this._onDidFocus.fire())},r=()=>{t&&(n=!0,window.setTimeout((()=>{n&&(n=!1,t=!1,this._onDidBlur.fire())}),0))};this._refreshStateHandler=()=>{j(document.activeElement,e)!==t&&(t?r():i())},this._register((0,o.domEvent)(e,ie.FOCUS,!0)(i)),this._register((0,o.domEvent)(e,ie.BLUR,!0)(r))}}function le(e){return new ae(e)}function ce(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function de(e,...t){e.innerText="",ce(e,...t)}const he=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var ue;function pe(e,t,n,...i){let o=he.exec(t);if(!o)throw new Error("Bad use of emmet");n=Object.assign({},n||{});let r,s=o[1]||"div";return r=e!==ue.HTML?document.createElementNS(e,s):document.createElement(s),o[3]&&(r.id=o[3]),o[4]&&(r.className=o[4].replace(/\./g," ").trim()),Object.keys(n).forEach((e=>{const t=n[e];void 0!==t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))})),r.append(...i),r}function ge(e,t,...n){return pe(ue.HTML,e,t,...n)}function me(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function fe(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function be(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){let t=function(e,t){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e instanceof HTMLElement&&e.hasAttribute("tabIndex"))return e;e=e.parentNode}return null}(e.parentElement);t&&t.focus()}e.removeAttribute("tabindex")}}function ve(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function _e(e){const t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function we(e){if(i.isElectron||i.isEdgeLegacyWebView)window.open(e);else{let t=window.open();t&&(t.opener=null,t.location.href=e)}}function ye(e){const t=()=>{e(),n=E(t)};let n=E(t);return(0,d.toDisposable)((()=>n.dispose()))}function Ae(e){return e?`url('${u.FileAccess.asBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(ue||(ue={})),ge.SVG=function(e,t,...n){return pe(ue.SVG,e,t,...n)},u.RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");class Ce extends c.Emitter{constructor(){super(),this._subscriptions=new d.DisposableStore,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add((0,o.domEvent)(document.body,"keydown",!0)((e=>{if(e.repeat)return;const t=new r.StandardKeyboardEvent(e);if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}))),this._subscriptions.add((0,o.domEvent)(document.body,"keyup",!0)((e=>{!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus))}))),this._subscriptions.add((0,o.domEvent)(document.body,"mousedown",!0)((e=>{this._keyStatus.lastKeyPressed=void 0}))),this._subscriptions.add((0,o.domEvent)(document.body,"mouseup",!0)((e=>{this._keyStatus.lastKeyPressed=void 0}))),this._subscriptions.add((0,o.domEvent)(document.body,"mousemove",!0)((e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)}))),this._subscriptions.add((0,o.domEvent)(window,"blur")((e=>{this.resetKeyStatus()})))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return Ce.instance||(Ce.instance=new Ce),Ce.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}},50465:function(e,t,n){"use strict";n.r(t),n.d(t,{domEvent:function(){return o},stop:function(){return r}});var i=n(63801);const o=(e,t,n)=>{const o=e=>r.fire(e),r=new i.Emitter({onFirstListenerAdd:()=>{e.addEventListener(t,o,n)},onLastListenerRemove:()=>{e.removeEventListener(t,o,n)}});return r.event};function r(e){return i.Event.map(e,(e=>(e.preventDefault(),e.stopPropagation(),e)))}},85297:function(e,t,n){"use strict";n.r(t),n.d(t,{FastDomNode:function(){return i},createFastDomNode:function(){return o}});class i{constructor(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")}setHeight(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")}setTop(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")}unsetTop(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")}setLeft(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")}setBottom(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")}setRight(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setLineHeight(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function o(e){return new i(e)}},94264:function(e,t,n){"use strict";n.r(t),n.d(t,{renderText:function(){return o},renderFormattedText:function(){return r},createElement:function(){return s}});var i=n(96747);function o(e,t={}){const n=s(t);return n.textContent=e,n}function r(e,t={}){const n=s(t);return l(n,function(e){const t={type:1,children:[]};let n=0,i=t;const o=[],r=new a(e);for(;!r.eos();){let e=r.next();const t="\\"===e&&0!==c(r.peek());if(t&&(e=r.next()),t||0===c(e)||e!==r.peek())if("\n"===e)2===i.type&&(i=o.pop()),i.children.push({type:7});else if(2!==i.type){const t={type:2,content:e};i.children.push(t),o.push(i),i=t}else i.content+=e;else{r.advance(),2===i.type&&(i=o.pop());const t=c(e);if(i.type===t||5===i.type&&6===t)i=o.pop();else{const e={type:t,children:[]};5===t&&(e.index=n,n++),i.children.push(e),o.push(i),i=e}}}return 2===i.type&&(i=o.pop()),o.length,t}(e),t.actionHandler),n}function s(e){const t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}class a{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){const e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function l(e,t,n){let o;if(2===t.type)o=document.createTextNode(t.content||"");else if(3===t.type)o=document.createElement("b");else if(4===t.type)o=document.createElement("i");else if(5===t.type&&n){const e=document.createElement("a");e.href="#",n.disposeables.add(i.addStandardDisposableListener(e,"click",(e=>{n.callback(String(t.index),e)}))),o=e}else 7===t.type?o=document.createElement("br"):1===t.type&&(o=e);o&&e!==o&&e.appendChild(o),o&&Array.isArray(t.children)&&t.children.forEach((e=>{l(o,e,n)}))}function c(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},82518:function(e,t,n){"use strict";n.r(t),n.d(t,{standardMouseMoveMerger:function(){return a},GlobalMouseMoveMonitor:function(){return l}});var i=n(96747),o=n(28132),r=n(5642),s=n(68921);function a(e,t){let n=new r.StandardMouseEvent(t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}class l{constructor(){this._hooks=new s.DisposableStore,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(e,t){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;const n=this._onStopCallback;this._onStopCallback=null,e&&n&&n(t)}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(e,t,n,s,a){if(this.isMonitoring())return;this._mouseMoveEventMerger=n,this._mouseMoveCallback=s,this._onStopCallback=a;const l=o.IframeUtils.getSameOriginWindowChain(),c=l.map((e=>e.window.document)),d=i.getShadowRoot(e);d&&c.unshift(d);for(const e of c)this._hooks.add(i.addDisposableThrottledListener(e,"mousemove",(e=>{e.buttons===t?this._mouseMoveCallback(e):this.stopMonitoring(!0)}),((e,t)=>this._mouseMoveEventMerger(e,t)))),this._hooks.add(i.addDisposableListener(e,"mouseup",(e=>this.stopMonitoring(!0))));if(o.IframeUtils.hasDifferentOriginAncestor()){let e=l[l.length-1];this._hooks.add(i.addDisposableListener(e.window.document,"mouseout",(e=>{"html"===new r.StandardMouseEvent(e).target.tagName.toLowerCase()&&this.stopMonitoring(!0)}))),this._hooks.add(i.addDisposableListener(e.window.document,"mouseover",(e=>{"html"===new r.StandardMouseEvent(e).target.tagName.toLowerCase()&&this.stopMonitoring(!0)}))),this._hooks.add(i.addDisposableListener(e.window.document.body,"mouseleave",(e=>{this.stopMonitoring(!0)})))}}}},28132:function(e,t,n){"use strict";n.r(t),n.d(t,{IframeUtils:function(){return s}});let i=!1,o=null;function r(e){if(!e.parent||e.parent===e)return null;try{let t=e.location,n=e.parent.location;if("null"!==t.origin&&"null"!==n.origin&&(t.protocol!==n.protocol||t.hostname!==n.hostname||t.port!==n.port))return i=!0,null}catch(e){return i=!0,null}return e.parent}class s{static getSameOriginWindowChain(){if(!o){o=[];let e,t=window;do{e=r(t),e?o.push({window:t,iframeElement:t.frameElement||null}):o.push({window:t,iframeElement:null}),t=e}while(t)}return o.slice(0)}static hasDifferentOriginAncestor(){return o||this.getSameOriginWindowChain(),i}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let n=0,i=0,o=this.getSameOriginWindowChain();for(const e of o){if(n+=e.window.scrollY,i+=e.window.scrollX,e.window===t)break;if(!e.iframeElement)break;let o=e.iframeElement.getBoundingClientRect();n+=o.top,i+=o.left}return{top:n,left:i}}}},8769:function(e,t,n){"use strict";n.r(t),n.d(t,{StandardKeyboardEvent:function(){return d}});var i=n(76736),o=n(98070),r=n(66719);let s=new Array(230),a=new Array(112);!function(){for(let e=0;ethis.onTouchStart(e)),{passive:!1})),this._register(s.addDisposableListener(document,"touchend",(e=>this.onTouchEnd(e)))),this._register(s.addDisposableListener(document,"touchmove",(e=>this.onTouchMove(e)),{passive:!1}))}static addTarget(e){return l.isTouchDevice()?(l.INSTANCE||(l.INSTANCE=new l),l.INSTANCE.targets.push(e),{dispose:()=>{l.INSTANCE.targets=l.INSTANCE.targets.filter((t=>t!==e))}}):r.Disposable.None}static ignoreTarget(e){return l.isTouchDevice()?(l.INSTANCE||(l.INSTANCE=new l),l.INSTANCE.ignoreTargets.push(e),{dispose:()=>{l.INSTANCE.ignoreTargets=l.INSTANCE.ignoreTargets.filter((t=>t!==e))}}):r.Disposable.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(e){let t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let n=0,o=e.targetTouches.length;n=l.HOLD_DELAY&&Math.abs(a.initialPageX-o.tail(a.rollingPageX))<30&&Math.abs(a.initialPageY-o.tail(a.rollingPageY))<30){let e=this.newGestureEvent(i.Contextmenu,a.initialTarget);e.pageX=o.tail(a.rollingPageX),e.pageY=o.tail(a.rollingPageY),this.dispatchEvent(e)}else if(1===n){let e=o.tail(a.rollingPageX),n=o.tail(a.rollingPageY),i=o.tail(a.rollingTimestamps)-a.rollingTimestamps[0],r=e-a.rollingPageX[0],s=n-a.rollingPageY[0];const l=this.targets.filter((e=>a.initialTarget instanceof Node&&e.contains(a.initialTarget)));this.inertia(l,t,Math.abs(r)/i,r>0?1:-1,e,Math.abs(s)/i,s>0?1:-1,n)}this.dispatchEvent(this.newGestureEvent(i.End,a.initialTarget)),delete this.activeTouches[s.identifier]}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}newGestureEvent(e,t){let n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n}dispatchEvent(e){if(e.type===i.Tap){const t=(new Date).getTime();let n=0;n=t-this._lastSetTapCountTime>l.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=n}else e.type!==i.Change&&e.type!==i.Contextmenu||(this._lastSetTapCountTime=0);for(let t=0;t{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)}))}inertia(e,t,n,o,r,a,c,d){this.handle=s.scheduleAtNextAnimationFrame((()=>{let s=Date.now(),h=s-t,u=0,p=0,g=!0;n+=l.SCROLL_FRICTION*h,a+=l.SCROLL_FRICTION*h,n>0&&(g=!1,u=o*n*h),a>0&&(g=!1,p=c*a*h);let m=this.newGestureEvent(i.Change);m.translationX=u,m.translationY=p,e.forEach((e=>e.dispatchEvent(m))),g||this.inertia(e,s,n,o,r+u,a,c,d+p)}))}onTouchMove(e){let t=Date.now();for(let n=0,r=e.changedTouches.length;n3&&(s.rollingPageX.shift(),s.rollingPageY.shift(),s.rollingTimestamps.shift()),s.rollingPageX.push(r.pageX),s.rollingPageY.push(r.pageY),s.rollingTimestamps.push(t)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)}}l.SCROLL_FRICTION=-.005,l.HOLD_DELAY=700,l.CLEAR_TAP_COUNT_TIME=400,function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);r>3&&s&&Object.defineProperty(t,n,s)}([a.memoize],l,"isTouchDevice",null)},61009:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseActionViewItem:function(){return u},ActionViewItem:function(){return p}}),n(59042);var i=n(66719),o=n(89982),r=n(68921),s=n(60969),a=n(18912),l=n(4043),c=n(65174),d=n(76736),h=n(96747);class u extends r.Disposable{constructor(e,t,n={}){super(),this.options=n,this._context=e||this,this._action=t,t instanceof s.Action&&this._register(t.onDidChange((e=>{this.element&&this.handleActionChangeEvent(e)})))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new s.ActionRunner)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e;this._register(l.Gesture.addTarget(e));const n=this.options&&this.options.draggable;n&&(e.draggable=!0,d.isFirefox&&this._register((0,h.addDisposableListener)(e,h.EventType.DRAG_START,(e=>{var t;return null===(t=e.dataTransfer)||void 0===t?void 0:t.setData(c.DataTransfers.TEXT,this._action.label)})))),this._register((0,h.addDisposableListener)(t,l.EventType.Tap,(e=>this.onClick(e)))),this._register((0,h.addDisposableListener)(t,h.EventType.MOUSE_DOWN,(e=>{n||h.EventHelper.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")}))),i.isMacintosh&&this._register((0,h.addDisposableListener)(t,h.EventType.CONTEXT_MENU,(e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)}))),this._register((0,h.addDisposableListener)(t,h.EventType.CLICK,(e=>{h.EventHelper.stop(e,!0),this.options&&this.options.isMenu||i.setImmediate((()=>this.onClick(e)))}))),this._register((0,h.addDisposableListener)(t,h.EventType.DBLCLICK,(e=>{h.EventHelper.stop(e,!0)}))),[h.EventType.MOUSE_UP,h.EventType.MOUSE_OUT].forEach((e=>{this._register((0,h.addDisposableListener)(t,e,(e=>{h.EventHelper.stop(e),t.classList.remove("active")})))}))}onClick(e){var t;h.EventHelper.stop(e,!0);const n=a.isUndefinedOrNull(this._context)?(null===(t=this.options)||void 0===t?void 0:t.useEventAsContext)?e:void 0:this._context;this.actionRunner.run(this._action,n)}focus(){this.element&&(this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.classList.remove("focused"))}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),super.dispose()}}class p extends u{constructor(e,t,n={}){super(e,t,n),this.options=n,this.options.icon=void 0!==n.icon&&n.icon,this.options.label=void 0===n.label||n.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=(0,h.append)(this.element,(0,h.$)("a.action-label"))),this.label&&(this._action.id===s.Separator.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&((0,h.append)(this.element,(0,h.$)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){super.focus(),this.label&&this.label.focus()}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=o.localize("vs/base/browser/ui/actionbar/actionViewItems",{key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)}updateClass(){this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):this.label&&this.label.classList.remove("codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled"),this.label.tabIndex=0),this.element&&this.element.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled"),(0,h.removeTabIndexAndUpdateFocus)(this.label)),this.element&&this.element.classList.add("disabled"))}updateChecked(){this.label&&(this.getAction().checked?this.label.classList.add("checked"):this.label.classList.remove("checked"))}}},31532:function(e,t,n){"use strict";n.r(t),n.d(t,{ActionBar:function(){return d}}),n(59042);var i=n(68921),o=n(60969),r=n(96747),s=n(18912),a=n(8769),l=n(63801),c=n(61009);class d extends i.Disposable{constructor(e,t={}){var n,i,s,c,d,h;let u,p;switch(super(),this.triggerKeyDown=!1,this._onDidBlur=this._register(new l.Emitter),this.onDidBlur=this._onDidBlur.event,this._onDidCancel=this._register(new l.Emitter({onFirstListenerAdd:()=>this.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new l.Emitter),this.onDidRun=this._onDidRun.event,this._onBeforeRun=this._register(new l.Emitter),this.onBeforeRun=this._onBeforeRun.event,this.options=t,this._context=null!==(n=t.context)&&void 0!==n?n:null,this._orientation=null!==(i=this.options.orientation)&&void 0!==i?i:0,this._triggerKeys={keyDown:null!==(c=null===(s=this.options.triggerKeys)||void 0===s?void 0:s.keyDown)&&void 0!==c&&c,keys:null!==(h=null===(d=this.options.triggerKeys)||void 0===d?void 0:d.keys)&&void 0!==h?h:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new o.ActionRunner,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun((e=>this._onDidRun.fire(e)))),this._register(this._actionRunner.onBeforeRun((e=>this._onBeforeRun.fire(e)))),this._actionIds=[],this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),this.domNode.className="monaco-action-bar",!1!==t.animated&&this.domNode.classList.add("animated"),this._orientation){case 0:u=this.options.ignoreOrientationForPreviousAndNextKey?[15,16]:[15],p=this.options.ignoreOrientationForPreviousAndNextKey?[17,18]:[17];break;case 1:u=this.options.ignoreOrientationForPreviousAndNextKey?[17,18]:[17],p=this.options.ignoreOrientationForPreviousAndNextKey?[15,16]:[15],this.domNode.className+=" reverse";break;case 2:u=this.options.ignoreOrientationForPreviousAndNextKey?[15,16]:[16],p=this.options.ignoreOrientationForPreviousAndNextKey?[17,18]:[18],this.domNode.className+=" vertical";break;case 3:u=this.options.ignoreOrientationForPreviousAndNextKey?[17,18]:[18],p=this.options.ignoreOrientationForPreviousAndNextKey?[15,16]:[16],this.domNode.className+=" vertical reverse"}this._register(r.addDisposableListener(this.domNode,r.EventType.KEY_DOWN,(e=>{const t=new a.StandardKeyboardEvent(e);let n=!0;u&&(t.equals(u[0])||t.equals(u[1]))?n=this.focusPrevious():p&&(t.equals(p[0])||t.equals(p[1]))?n=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:n=!1,n&&(t.preventDefault(),t.stopPropagation())}))),this._register(r.addDisposableListener(this.domNode,r.EventType.KEY_UP,(e=>{const t=new a.StandardKeyboardEvent(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()}))),this.focusTracker=this._register(r.trackFocus(this.domNode)),this._register(this.focusTracker.onDidBlur((()=>{r.getActiveElement()!==this.domNode&&r.isAncestor(r.getActiveElement(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0,this.triggerKeyDown=!1)}))),this._register(this.focusTracker.onDidFocus((()=>this.updateFocusedItem()))),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach((n=>{t=t||e.equals(n)})),t}updateFocusedItem(){for(let e=0;et.setActionContext(e)))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach((t=>t.actionRunner=e)))}getContainer(){return this.domNode}push(e,t={}){const n=Array.isArray(e)?e:[e];let i=s.isNumber(t.index)?t.index:null;n.forEach((e=>{const n=document.createElement("li");let o;n.className="action-item",n.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(r.addDisposableListener(n,r.EventType.CONTEXT_MENU,(e=>{r.EventHelper.stop(e,!0)}))),this.options.actionViewItemProvider&&(o=this.options.actionViewItemProvider(e)),o||(o=new c.ActionViewItem(this.context,e,t)),o.actionRunner=this._actionRunner,o.setActionContext(this.context),o.render(n),null===i||i<0||i>=this.actionsList.children.length?(this.actionsList.appendChild(n),this.viewItems.push(o),this._actionIds.push(e.id)):(this.actionsList.insertBefore(n,this.actionsList.children[i]),this.viewItems.splice(i,0,o),this._actionIds.splice(i,0,e.id),i++)})),this.focusedItem&&this.focus(this.focusedItem)}clear(){(0,i.dispose)(this.viewItems),this.viewItems=[],this._actionIds=[],r.clearNode(this.actionsList)}focus(e){let t,n=!1;if(void 0===e?n=!0:"number"==typeof e?t=e:"boolean"==typeof e&&(n=e),n&&void 0===this.focusedItem){const e=this.viewItems.findIndex((e=>e.isEnabled()));this.focusedItem=-1===e?void 0:e,this.updateFocus()}else void 0!==t&&(this.focusedItem=t),this.updateFocus()}focusNext(){void 0===this.focusedItem&&(this.focusedItem=this.viewItems.length-1);const e=this.focusedItem;let t;do{if(this.options.preventLoopNavigation&&this.focusedItem+1>=this.viewItems.length)return this.focusedItem=e,!1;this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem]}while(this.focusedItem!==e&&!t.isEnabled());return this.focusedItem!==e||t.isEnabled()||(this.focusedItem=void 0),this.updateFocus(),!0}focusPrevious(){void 0===this.focusedItem&&(this.focusedItem=0);const e=this.focusedItem;let t;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=e,!1;this.focusedItem=this.viewItems.length-1}t=this.viewItems[this.focusedItem]}while(this.focusedItem!==e&&!t.isEnabled());return this.focusedItem!==e||t.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0),!0}updateFocus(e,t){void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t});for(let n=0;n{const e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),l.appendChild(e),e};c=t(),d=t();const n=()=>{const e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),l.appendChild(e),e};h=n(),u=n(),e.appendChild(l)}function g(e){l&&(c.textContent!==e?(a.clearNode(d),f(c,e)):(a.clearNode(c),f(d,e)))}function m(e){l&&(s.isMacintosh?g(e):h.textContent!==e?(a.clearNode(u),f(h,e)):(a.clearNode(h),f(u,e)))}function f(e,t){a.clearNode(e),t.length>2e4&&(t=t.substr(0,2e4)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}},54042:function(e,t,n){"use strict";n.r(t),n.d(t,{Button:function(){return m}});var i=n(93379),o=n.n(i),r=n(55796),s=(o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals,n(8769)),a=n(17160),l=n(91057),c=n(63801),d=n(68921),h=n(4043),u=n(21348),p=n(96747);const g={buttonBackground:a.Color.fromHex("#0E639C"),buttonHoverBackground:a.Color.fromHex("#006BB3"),buttonForeground:a.Color.white};class m extends d.Disposable{constructor(e,t){super(),this._onDidClick=this._register(new c.Emitter),this.options=t||Object.create(null),(0,l.mixin)(this.options,g,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),e.appendChild(this._element),this._register(h.Gesture.addTarget(this._element)),[p.EventType.CLICK,h.EventType.Tap].forEach((e=>{this._register((0,p.addDisposableListener)(this._element,e,(e=>{this.enabled?this._onDidClick.fire(e):p.EventHelper.stop(e)})))})),this._register((0,p.addDisposableListener)(this._element,p.EventType.KEY_DOWN,(e=>{const t=new s.StandardKeyboardEvent(e);let n=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),n=!0):t.equals(9)&&(this._element.blur(),n=!0),n&&p.EventHelper.stop(t,!0)}))),this._register((0,p.addDisposableListener)(this._element,p.EventType.MOUSE_OVER,(e=>{this._element.classList.contains("disabled")||this.setHoverBackground()}))),this._register((0,p.addDisposableListener)(this._element,p.EventType.MOUSE_OUT,(e=>{this.applyStyles()}))),this.focusTracker=this._register((0,p.trackFocus)(this._element)),this._register(this.focusTracker.onDidFocus((()=>this.setHoverBackground()))),this._register(this.focusTracker.onDidBlur((()=>this.applyStyles()))),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;e=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null,e&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let e,t;this.options.secondary?(t=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",e=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(t=this.buttonForeground?this.buttonForeground.toString():"",e=this.buttonBackground?this.buttonBackground.toString():"");const n=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=t,this._element.style.backgroundColor=e,this._element.style.borderWidth=n?"1px":"",this._element.style.borderStyle=n?"solid":"",this._element.style.borderColor=n}}get element(){return this._element}set label(e){this._element.classList.add("monaco-text-button"),this.options.supportIcons?(0,p.reset)(this._element,...(0,u.renderLabelWithIcons)(e)):this._element.textContent=e,"string"==typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=e)}set enabled(e){e?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)),(0,p.removeTabIndexAndUpdateFocus)(this._element))}get enabled(){return!this._element.classList.contains("disabled")}}},22694:function(e,t,n){"use strict";n.r(t),n.d(t,{formatRule:function(){return l}});var i=n(93379),o=n.n(i),r=n(23222),s=(o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals,n(99827)),a=(o()(s.Z,{insert:"head",singleton:!1}),s.Z.locals,n(56087));function l(e){let t=e.definition;for(;t instanceof a.Codicon;)t=t.definition;return`.codicon-${e.id}:before { content: '${t.character}'; }`}},96205:function(e,t,n){"use strict";n.r(t),n.d(t,{ContextView:function(){return p},LayoutAnchorMode:function(){return i},layout:function(){return u}});var i,o=n(93379),r=n.n(o),s=n(72555),a=(r()(s.Z,{insert:"head",singleton:!1}),s.Z.locals,n(96747)),l=n(66719),c=n(68921),d=n(83682),h=n(69098);function u(e,t,n){const o=n.mode===i.ALIGN?n.offset:n.offset+n.size,r=n.mode===i.ALIGN?n.offset+n.size:n.offset;return 0===n.position?t<=e-o?o:t<=r?r-t:Math.max(e-t,0):t<=r?r-t:t<=e-o?o:0}!function(e){e[e.AVOID=0]="AVOID",e[e.ALIGN=1]="ALIGN"}(i||(i={}));class p extends c.Disposable{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=c.Disposable.None,this.toDisposeOnSetContainer=c.Disposable.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=a.$(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,a.hide(this.view),this.setContainer(e,t),this._register((0,c.toDisposable)((()=>this.setContainer(null,1))))}setContainer(e,t){var n;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,null===(n=this.shadowRootHostElement)||void 0===n||n.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){if(this.container=e,this.useFixedPosition=1!==t,this.useShadowDOM=3===t,this.useShadowDOM){this.shadowRootHostElement=a.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const e=document.createElement("style");e.textContent=g,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(a.$("slot"))}else this.container.appendChild(this.view);const n=new c.DisposableStore;p.BUBBLE_UP_EVENTS.forEach((e=>{n.add(a.addStandardDisposableListener(this.container,e,(e=>{this.onDOMEvent(e,!1)})))})),p.BUBBLE_DOWN_EVENTS.forEach((e=>{n.add(a.addStandardDisposableListener(this.container,e,(e=>{this.onDOMEvent(e,!0)}),!0))})),this.toDisposeOnSetContainer=n}}show(e){this.isVisible()&&this.hide(),a.clearNode(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",a.show(this.view),this.toDisposeOnClean=e.render(this.view)||c.Disposable.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||l.isIOS&&h.BrowserFeatures.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(!this.isVisible())return;let e,t=this.delegate.getAnchor();if(a.isHTMLElement(t)){let n=a.getDomNodePagePosition(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};const n=a.getTotalWidth(this.view),o=a.getTotalHeight(this.view),r=this.delegate.anchorPosition||0,s=this.delegate.anchorAlignment||0;let l,c;if(0===(this.delegate.anchorAxisAlignment||0)){const t={offset:e.top-window.pageYOffset,size:e.height,position:0===r?0:1},a={offset:e.left,size:e.width,position:0===s?0:1,mode:i.ALIGN};l=u(window.innerHeight,o,t)+window.pageYOffset,d.Range.intersects({start:l,end:l+o},{start:t.offset,end:t.offset+t.size})&&(a.mode=i.AVOID),c=u(window.innerWidth,n,a)}else{const t={offset:e.left,size:e.width,position:0===s?0:1},a={offset:e.top,size:e.height,position:0===r?0:1,mode:i.ALIGN};c=u(window.innerWidth,n,t),d.Range.intersects({start:c,end:c+n},{start:t.offset,end:t.offset+t.size})&&(a.mode=i.AVOID),l=u(window.innerHeight,o,a)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(0===r?"bottom":"top"),this.view.classList.add(0===s?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);const h=a.getDomNodePagePosition(this.container);this.view.style.top=l-(this.useFixedPosition?a.getDomNodePagePosition(this.view).top:h.top)+"px",this.view.style.left=c-(this.useFixedPosition?a.getDomNodePagePosition(this.view).left:h.left)+"px",this.view.style.width="initial"}hide(e){const t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),a.hide(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!a.isAncestor(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}p.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],p.BUBBLE_DOWN_EVENTS=["click"];let g='\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: "codicon";\n\t\tsrc: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");\n\t}\n\n\t.codicon[class*=\'codicon-\'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }\n\n\t:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }\n'},66218:function(e,t,n){"use strict";n.r(t),n.d(t,{CountBadge:function(){return h}});var i=n(93379),o=n.n(i),r=n(73688),s=(o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals,n(96747)),a=n(91482),l=n(17160),c=n(91057);const d={badgeBackground:l.Color.fromHex("#4D4D4D"),badgeForeground:l.Color.fromHex("#FFFFFF")};class h{constructor(e,t){this.count=0,this.options=t||Object.create(null),(0,c.mixin)(this.options,d,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=(0,s.append)(e,(0,s.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=(0,a.format)(this.countFormat,this.count),this.element.title=(0,a.format)(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",n=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}}}},6360:function(e,t,n){"use strict";n.r(t),n.d(t,{HighlightedLabel:function(){return s}});var i=n(91057),o=n(96747),r=n(21348);class s{constructor(e,t){this.supportIcons=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t=[],n="",o){e||(e=""),o&&(e=s.escapeNewLines(e,t)),this.didEverRender&&this.text===e&&this.title===n&&i.equals(this.highlights,t)||(this.text=e,this.title=n,this.highlights=t,this.render())}render(){const e=[];let t=0;for(const n of this.highlights){if(n.end===n.start)continue;if(t{i="\r\n"===e?-1:0,o+=n;for(const e of t)e.end<=o||(e.start>=o&&(e.start+=i),e.end>=o&&(e.end+=i));return n+=i,"⏎"}))}}},74838:function(e,t,n){"use strict";n.r(t),n.d(t,{IconLabel:function(){return v}});var i=n(93379),o=n.n(i),r=n(3293),s=(o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals,n(96747)),a=n(6360),l=n(68921),c=n(83682),d=n(91057),h=n(66719),u=n(18912),p=n(50465),g=n(89982),m=n(11256),f=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class b{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class v extends l.Disposable{constructor(e,t){super(),this.hoverDelegate=void 0,this.customHovers=new Map,this.domNode=this._register(new b(s.append(e,s.$(".monaco-icon-label")))),this.labelContainer=s.append(this.domNode.element,s.$(".monaco-icon-label-container"));const n=s.append(this.labelContainer,s.$("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new b(s.append(this.labelContainer,s.$("span.monaco-icon-description-container")))),(null==t?void 0:t.supportHighlights)?this.nameNode=new w(n,!!t.supportIcons):this.nameNode=new _(n),(null==t?void 0:t.supportDescriptionHighlights)?this.descriptionNodeFactory=()=>new a.HighlightedLabel(s.append(this.descriptionContainer.element,s.$("span.label-description")),!!t.supportIcons):this.descriptionNodeFactory=()=>this._register(new b(s.append(this.descriptionContainer.element,s.$("span.label-description")))),(null==t?void 0:t.hoverDelegate)&&(this.hoverDelegate=t.hoverDelegate)}setLabel(e,t,n){const i=["monaco-icon-label"];n&&(n.extraClasses&&i.push(...n.extraClasses),n.italic&&i.push("italic"),n.strikethrough&&i.push("strikethrough")),this.domNode.className=i.join(" "),this.setupHover(this.labelContainer,null==n?void 0:n.title),this.nameNode.setLabel(e,n),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof a.HighlightedLabel?(this.descriptionNode.set(t||"",n?n.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,null==n?void 0:n.descriptionTitle)):(this.descriptionNode.textContent=t||"",this.setupHover(this.descriptionNode.element,(null==n?void 0:n.descriptionTitle)||""),this.descriptionNode.empty=!t))}setupHover(e,t){const n=this.customHovers.get(e);if(n&&(n.dispose(),this.customHovers.delete(e)),t)return this.hoverDelegate?this.setupCustomHover(this.hoverDelegate,e,t):this.setupNativeHover(e,t);e.removeAttribute("title")}static adjustXAndShowCustomHover(e,t,n,i){e&&i&&(void 0!==t&&(e.target.x=t+10),n.showHover(e))}getTooltipForCustom(e){if((0,u.isString)(e))return()=>f(this,void 0,void 0,(function*(){return e}));if((0,u.isFunction)(e.markdown))return e.markdown;{const t=e.markdown;return()=>f(this,void 0,void 0,(function*(){return t}))}}setupCustomHover(e,t,n){t.setAttribute("title",""),t.removeAttribute("title");let i=this.getTooltipForCustom(n);const o=h.isMacintosh?1500:500;let r,a,l,c=!1;const d=this._register((0,p.domEvent)(t,s.EventType.MOUSE_OVER,!0)(function(n){if(c)return;function d(e){c=!1,r=void 0,l.dispose(!0),h.dispose(),u.dispose()}l=new m.CancellationTokenSource;const h=(0,p.domEvent)(t,s.EventType.MOUSE_LEAVE,!0)(d.bind(t)),u=(0,p.domEvent)(t,s.EventType.MOUSE_DOWN,!0)(d.bind(t));c=!0;const b=(0,p.domEvent)(t,s.EventType.MOUSE_MOVE,!0)(function(e){a=e.x}.bind(t));setTimeout((()=>f(this,void 0,void 0,(function*(){if(c&&i){if(!r){const t={targetElements:[this],dispose:()=>{}};r={text:(0,g.localize)("vs/base/browser/ui/iconLabel/iconLabel","iconLabel.loading","Loading..."),target:t,anchorPosition:0},v.adjustXAndShowCustomHover(r,a,e,c);const n=yield i(l.token);n&&(r={text:n,target:t,anchorPosition:0})}v.adjustXAndShowCustomHover(r,a,e,c)}b.dispose()}))),o)}.bind(t)));this.customHovers.set(t,d)}setupNativeHover(e,t){let n="";(0,u.isString)(t)?n=t:(null==t?void 0:t.markdownNotSupportedFallback)&&(n=t.markdownNotSupportedFallback),e.title=n}}class _{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!(0,d.equals)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=s.append(this.container,s.$("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let n=0;n{const o={start:i,end:i+e.length},r=n.map((e=>c.Range.intersect(o,e))).filter((e=>!c.Range.isEmpty(e))).map((({start:e,end:t})=>({start:e-i,end:t-i})));return i=o.end+t.length,r}))}(e,n,null==t?void 0:t.matches);for(let o=0;othis.element.classList.add("synthetic-focus"))),this.onblur(this.input,(()=>this.element.classList.remove("synthetic-focus"))),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=a.append(o,v("div.mirror")),this.mirror.innerText=" ",this.scrollableElement=new f.ScrollableElement(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),a.append(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll((e=>this.input.scrollTop=e.scrollTop)));const t=h.Event.filter((0,b.domEvent)(document,"selectionchange"),(()=>{const e=document.getSelection();return(null==e?void 0:e.anchorNode)===o}));this._register(t(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&this.setPlaceHolder(this.placeholder),this.oninput(this.input,(()=>this.onValueChange())),this.onblur(this.input,(()=>this.onBlur())),this.onfocus(this.input,(()=>this.onFocus())),this.ignoreGesture(this.input),setTimeout((()=>this.updateMirror()),0),this.options.actions&&(this.actionbar=this._register(new d.ActionBar(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage()}onFocus(){this._showMessage()}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e),this.input.title=e}setAriaLabel(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:a.getTotalHeight(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&this.input.setSelectionRange(e.start,e.end)}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return a.getTotalWidth(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let t=0;this.mirror&&(t=(parseFloat(this.mirror.style.paddingLeft||"")||0)+(parseFloat(this.mirror.style.paddingRight||"")||0)),this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width=`calc(100% - ${e}px)`:this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){if("number"!=typeof this.cachedContentHeight||"number"!=typeof this.cachedHeight||!this.scrollableElement)return;const e=this.cachedContentHeight,t=this.cachedHeight,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type));const n=this.stylesForType(this.message.type);this.element.style.border=n.border?`1px solid ${n.border}`:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&(e=this.validation(this.value),e?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null==e?void 0:e.type}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(!this.contextViewProvider||!this.message)return;let e,t,n=()=>e.style.width=a.getTotalWidth(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{if(!this.message)return null;e=a.append(t,v(".monaco-inputbox-container")),n();const i={inline:!0,className:"monaco-inputbox-message"},o=this.message.formatContent?(0,l.renderFormattedText)(this.message.content,i):(0,l.renderText)(this.message.content,i);o.classList.add(this.classForType(this.message.type));const r=this.stylesForType(this.message.type);return o.style.backgroundColor=r.background?r.background.toString():"",o.style.color=r.foreground?r.foreground.toString():"",o.style.border=r.border?`1px solid ${r.border}`:"",a.append(e,o),null},onHide:()=>{this.state="closed"},layout:n}),t=3===this.message.type?s.localize("vs/base/browser/ui/inputbox/inputBox","alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?s.localize("vs/base/browser/ui/inputbox/inputBox","alertWarningMessage","Warning: {0}",this.message.content):s.localize("vs/base/browser/ui/inputbox/inputBox","alertInfoMessage","Info: {0}",this.message.content),c.alert(t),this.state="open"}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(!this.mirror)return;const e=this.value,t=10===e.charCodeAt(e.length-1)?" ":"";e+t?this.mirror.textContent=e+t:this.mirror.innerText=" ",this.layout()}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){const e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",n=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}layout(){if(!this.mirror)return;const e=this.cachedContentHeight;this.cachedContentHeight=a.getTotalHeight(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}insertAtCursor(e){const t=this.inputElement,n=t.selectionStart,i=t.selectionEnd,o=t.value;null!==n&&null!==i&&(this.value=o.substr(0,n)+e+o.substr(i),t.setSelectionRange(n+1,n+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class y extends w{constructor(e,t,n){super(e,t,n),this.history=new m.HistoryNavigator(n.history,100)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,c.status(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,c.status(this.value))}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},91120:function(e,t,n){"use strict";n.r(t),n.d(t,{KeybindingLabel:function(){return h}});var i=n(93379),o=n.n(i),r=n(7896),s=(o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals,n(91057)),a=n(20693),l=n(96747),c=n(89982);const d=l.$;class h{constructor(e,t,n){this.os=t,this.options=n,this.domNode=l.append(e,d(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}set(e,t){this.didEverRender&&this.keybinding===e&&h.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){if(l.clearNode(this.domNode),this.keybinding){let[e,t]=this.keybinding.getParts();e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(l.append(this.domNode,d("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0}renderPart(e,t,n){const i=a.UILabelProvider.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,i.ctrlKey,Boolean(null==n?void 0:n.ctrlKey),i.separator),t.shiftKey&&this.renderKey(e,i.shiftKey,Boolean(null==n?void 0:n.shiftKey),i.separator),t.altKey&&this.renderKey(e,i.altKey,Boolean(null==n?void 0:n.altKey),i.separator),t.metaKey&&this.renderKey(e,i.metaKey,Boolean(null==n?void 0:n.metaKey),i.separator);const o=t.keyLabel;o&&this.renderKey(e,o,Boolean(null==n?void 0:n.keyCode),"")}renderKey(e,t,n,i){l.append(e,d("span.monaco-keybinding-key"+(n?".highlight":""),void 0,t)),i&&l.append(e,d("span.monaco-keybinding-key-separator",void 0,i))}renderUnbound(e){l.append(e,d("span.monaco-keybinding-key",void 0,(0,c.localize)("vs/base/browser/ui/keybindingLabel/keybindingLabel","unbound","Unbound")))}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&(0,s.equals)(e.firstPart,t.firstPart)&&(0,s.equals)(e.chordPart,t.chordPart)}}},40083:function(e,t,n){"use strict";n.r(t),n.d(t,{ListError:function(){return i}});class i extends Error{constructor(e,t){super(`ListError [${e}] ${t}`)}}},17659:function(e,t,n){"use strict";n.r(t),n.d(t,{PagedList:function(){return d}}),n(82833);var i=n(68921),o=n(64998),r=n(72406),s=n(63801),a=n(11256);class l{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:i.Disposable.None}}renderElement(e,t,n,i){if(n.disposable&&n.disposable.dispose(),!n.data)return;const o=this.modelProvider();if(o.isResolved(e))return this.renderer.renderElement(o.get(e),e,n.data,i);const r=new a.CancellationTokenSource,s=o.resolve(e,r.token);n.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(e,n.data),s.then((t=>this.renderer.renderElement(t,e,n.data,i)))}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class c{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}class d{constructor(e,t,n,i,o={}){const s=()=>this.model,a=i.map((e=>new l(e,s)));this.list=new r.List(e,t,n,a,function(e,t){return Object.assign(Object.assign({},t),{accessibilityProvider:t.accessibilityProvider&&new c(e,t.accessibilityProvider)})}(s,o))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return s.Event.map(this.list.onMouseDblClick,(({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n})))}get onPointer(){return s.Event.map(this.list.onPointer,(({element:e,index:t,browserEvent:n})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:n})))}get onDidChangeFocus(){return s.Event.map(this.list.onDidChangeFocus,(({elements:e,indexes:t,browserEvent:n})=>({elements:e.map((e=>this._model.get(e))),indexes:t,browserEvent:n})))}get onDidChangeSelection(){return s.Event.map(this.list.onDidChangeSelection,(({elements:e,indexes:t,browserEvent:n})=>({elements:e.map((e=>this._model.get(e))),indexes:t,browserEvent:n})))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,(0,o.range)(e.length))}getFocus(){return this.list.getFocus()}setSelection(e,t){this.list.setSelection(e,t)}style(e){this.list.style(e)}dispose(){this.list.dispose()}}},75291:function(e,t,n){"use strict";n.r(t),n.d(t,{ElementsDragAndDropData:function(){return y},ExternalElementsDragAndDropData:function(){return A},NativeDragAndDropData:function(){return C},ListView:function(){return x}});var i=n(91057),o=n(68921),r=n(4043),s=n(63801),a=n(50465),l=n(34309),c=n(6097),d=n(37218),h=n(1056),u=n(63966),p=n(83682),g=n(64998),m=n(65174),f=n(66129),b=n(76736),v=n(96747),_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};const w={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:e=>[e],getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}},horizontalScrolling:!1,transformOptimization:!0};class y{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class A{constructor(e){this.elements=e}update(){}getData(){return this.elements}}class C{constructor(){this.types=[],this.files=[]}update(e){if(e.types&&this.types.splice(0,this.types.length,...e.types),e.files){this.files.splice(0,this.files.length);for(let t=0;tn,(null==e?void 0:e.getPosInSet)?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,(null==e?void 0:e.getRole)?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",(null==e?void 0:e.isChecked)?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>{}}}class x{constructor(e,t,n,u=w){if(this.virtualDelegate=t,this.domId="list_id_"+ ++x.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new f.Delayer(50),this.splicing=!1,this.dragOverAnimationStopDisposable=o.Disposable.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=o.Disposable.None,this.onDragLeaveTimeout=o.Disposable.None,this.disposables=new o.DisposableStore,this._onDidChangeContentHeight=new s.Emitter,this._horizontalScrolling=!1,u.horizontalScrolling&&u.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new d.RangeMap;for(const e of n)this.renderers.set(e.templateId,e);this.cache=this.disposables.add(new h.RowCache(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!=typeof u.mouseSupport||u.mouseSupport),this._horizontalScrolling=(0,i.getOrDefault)(u,(e=>e.horizontalScrolling),w.horizontalScrolling),this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=void 0===u.additionalScrollHeight?0:u.additionalScrollHeight,this.accessibilityProvider=new S(u.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",(0,i.getOrDefault)(u,(e=>e.transformOptimization),w.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(r.Gesture.addTarget(this.rowsContainer)),this.scrollable=new c.Scrollable((0,i.getOrDefault)(u,(e=>e.smoothScrolling),!1)?125:0,(e=>(0,v.scheduleAtNextAnimationFrame)(e))),this.scrollableElement=this.disposables.add(new l.SmoothScrollableElement(this.rowsContainer,{horizontal:1,vertical:(0,i.getOrDefault)(u,(e=>e.verticalScrollMode),w.verticalScrollMode),useShadows:(0,i.getOrDefault)(u,(e=>e.useShadows),w.useShadows)},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),(0,a.domEvent)(this.rowsContainer,r.EventType.Change)(this.onTouchChange,this,this.disposables),(0,a.domEvent)(this.scrollableElement.getDomNode(),"scroll")((e=>e.target.scrollTop=0),null,this.disposables),s.Event.map((0,a.domEvent)(this.domNode,"dragover"),(e=>this.toDragEvent(e)))(this.onDragOver,this,this.disposables),s.Event.map((0,a.domEvent)(this.domNode,"drop"),(e=>this.toDragEvent(e)))(this.onDrop,this,this.disposables),(0,a.domEvent)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),(0,a.domEvent)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=(0,i.getOrDefault)(u,(e=>e.setRowLineHeight),w.setRowLineHeight),this.setRowHeight=(0,i.getOrDefault)(u,(e=>e.setRowHeight),w.setRowHeight),this.supportDynamicHeights=(0,i.getOrDefault)(u,(e=>e.supportDynamicHeights),w.supportDynamicHeights),this.dnd=(0,i.getOrDefault)(u,(e=>e.dnd),w.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,v.getContentWidth)(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling)}splice(e,t,n=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,n=[]){const i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),r={start:e,end:e+t},s=p.Range.intersect(i,r),a=new Map;for(let e=s.start;e({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:o.Disposable.None})));let g;0===e&&t>=this.items.length?(this.rangeMap=new d.RangeMap,this.rangeMap.splice(0,0,u),this.items=u,g=[]):(this.rangeMap.splice(e,t,u),g=this.items.splice(e,t,...u));const m=n.length-t,f=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),b=(0,d.shift)(c,m),v=p.Range.intersect(f,b);for(let e=v.start;e(0,d.shift)(e,m))),y=[{start:e,end:e+n.length},...w].map((e=>p.Range.intersect(f,e))),A=this.getNextToLastElement(y);for(const e of y)for(let t=e.start;te.element))}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,v.scheduleAtNextAnimationFrame)((()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null})))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger((()=>this.updateScrollWidth())):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(!this.horizontalScrolling)return;let e=0;for(const t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(e){return this.items[e].element}domElement(e){const t=this.items[e].row;return t&&t.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let n={height:"number"==typeof e?e:(0,v.getContentHeight)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:(0,v.getContentWidth)(this.domNode)}))}render(e,t,n,i,o,r=!1){const s=this.getRenderRange(t,n),a=p.Range.relativeComplement(s,e),l=p.Range.relativeComplement(e,s),c=this.getNextToLastElement(a);if(r){const t=p.Range.intersect(e,s);for(let e=t.start;ethis.onDragStart(i.element,l,e)))}this.horizontalScrolling&&(this.measureItemWidth(i),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){if(!e.row||!e.row.domNode)return;e.row.domNode.style.width=b.isFirefox?"-moz-fit-content":"fit-content",e.width=(0,v.getContentWidth)(e.row.domNode);const t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}updateItemInDOM(e,t){e.row.domNode.style.top=`${this.elementTop(t)}px`,this.setRowHeight&&(e.row.domNode.style.height=`${e.size}px`),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=`${e.size}px`),e.row.domNode.setAttribute("data-index",`${t}`),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];if(t.dragStartDisposable.dispose(),t.row){const n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return s.Event.map((0,a.domEvent)(this.domNode,"click"),(e=>this.toMouseEvent(e)))}get onMouseDblClick(){return s.Event.map((0,a.domEvent)(this.domNode,"dblclick"),(e=>this.toMouseEvent(e)))}get onMouseMiddleClick(){return s.Event.filter(s.Event.map((0,a.domEvent)(this.domNode,"auxclick"),(e=>this.toMouseEvent(e))),(e=>1===e.browserEvent.button))}get onMouseDown(){return s.Event.map((0,a.domEvent)(this.domNode,"mousedown"),(e=>this.toMouseEvent(e)))}get onContextMenu(){return s.Event.map((0,a.domEvent)(this.domNode,"contextmenu"),(e=>this.toMouseEvent(e)))}get onTouchStart(){return s.Event.map((0,a.domEvent)(this.domNode,"touchstart"),(e=>this.toTouchEvent(e)))}get onTap(){return s.Event.map((0,a.domEvent)(this.rowsContainer,r.EventType.Tap),(e=>this.toGestureEvent(e)))}toMouseEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toTouchEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toGestureEvent(e){const t=this.getItemIndexFromEventTarget(e.initialTarget||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}toDragEvent(e){const t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}}onScroll(e){try{const t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(t){throw console.error("Got bad scroll event:",e),t}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,n){if(!n.dataTransfer)return;const i=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(m.DataTransfers.RESOURCES,JSON.stringify([t])),n.dataTransfer.setDragImage){let e;this.dnd.getDragLabel&&(e=this.dnd.getDragLabel(i,n)),void 0===e&&(e=String(i.length));const t=(0,v.$)(".monaco-drag-image");t.textContent=e,document.body.appendChild(t),n.dataTransfer.setDragImage(t,-10,-10),setTimeout((()=>document.body.removeChild(t)),0)}this.currentDragData=new y(i),m.StaticDND.CurrentDragAndDropData=new A(i),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}onDragOver(e){if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),m.StaticDND.CurrentDragAndDropData&&"vscode-ui"===m.StaticDND.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(m.StaticDND.CurrentDragAndDropData)this.currentDragData=m.StaticDND.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new C}const t=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof t?t:t.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let n;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof t&&0===t.effect?"copy":"move",n="boolean"!=typeof t&&t.feedback?t.feedback:void 0===e.index?[-1]:[e.index],n=(0,g.distinct)(n).filter((e=>e>=-1&&ee-t)),n=-1===n[0]?[-1]:n,i=this.currentDragFeedback,r=n,Array.isArray(i)&&Array.isArray(r)?(0,g.equals)(i,r):i===r)return!0;var i,r;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,o.toDisposable)((()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")}));else{for(const e of n){const t=this.items[e];t.dropTarget=!0,t.row&&t.row.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,o.toDisposable)((()=>{for(const e of n){const t=this.items[e];t.dropTarget=!1,t.row&&t.row.domNode.classList.remove("drop-target")}}))}return!0}onDragLeave(){this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,f.disposableTimeout)((()=>this.clearDragOverFeedback()),100)}onDrop(e){if(!this.canDrop)return;const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,m.StaticDND.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}onDragEnd(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,m.StaticDND.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=o.Disposable.None}setupDragAndDropScrollTopAnimation(e){if(!this.dragOverAnimationDisposable){const e=(0,v.getTopLeftOffset)(this.domNode).top;this.dragOverAnimationDisposable=(0,v.animate)(this.animateDragAndDropScrollTop.bind(this,e))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,f.disposableTimeout)((()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}),1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){if(void 0===this.dragOverMouseY)return;const t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(e){const t=this.scrollableElement.getDomNode();let n=e;for(;n instanceof HTMLElement&&n!==this.rowsContainer&&t.contains(n);){const e=n.getAttribute("data-index");if(e){const t=Number(e);if(!isNaN(t))return t}n=n.parentElement}}getRenderRange(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}}_rerender(e,t,n){const i=this.getRenderRange(e,t);let o,r;e===this.elementTop(i.start)?(o=i.start,r=0):i.end-i.start>1&&(o=i.start+1,r=this.elementTop(o)-e);let s=0;for(;;){const a=this.getRenderRange(e,t);let l=!1;for(let e=a.start;e=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};class C{constructor(e){this.trait=e,this.renderedElements=[]}get templateId(){return`template:${this.trait.trait}`}renderTemplate(e){return e}renderElement(e,t,n){const i=this.renderedElements.findIndex((e=>e.templateData===n));if(i>=0){const e=this.renderedElements[i];this.trait.unrender(n),e.index=t}else{const e={index:t,templateData:n};this.renderedElements.push(e)}this.trait.renderIndex(t,n)}splice(e,t,n){const i=[];for(const o of this.renderedElements)o.index=e+t&&i.push({index:o.index+n-t,templateData:o.templateData});this.renderedElements=i}renderIndexes(e){for(const{index:t,templateData:n}of this.renderedElements)e.indexOf(t)>-1&&this.trait.renderIndex(t,n)}disposeTemplate(e){const t=this.renderedElements.findIndex((t=>t.templateData===e));t<0||this.renderedElements.splice(t,1)}}class S{constructor(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new h.Emitter,this.onChange=this._onChange.event}get trait(){return this._trait}get renderer(){return new C(this)}splice(e,t,n){const i=n.length-t,o=e+t,r=[...this.sortedIndexes.filter((t=>tt?n+e:-1)).filter((e=>-1!==e)),...this.sortedIndexes.filter((e=>e>=o)).map((e=>e+i))];this.renderer.splice(e,t,n.length),this._set(r,r)}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(U),t)}_set(e,t,n){const i=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;const r=W(o,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:n}),i}get(){return this.indexes}contains(e){return(0,s.binarySearch)(this.sortedIndexes,e,U)>=0}dispose(){(0,o.dispose)(this._onChange)}}A([a.memoize],S.prototype,"renderer",null);class x extends S{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class E{constructor(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}splice(e,t,n){if(!this.identityProvider)return this.trait.splice(e,t,n.map((()=>!1)));const i=this.trait.get().map((e=>this.identityProvider.getId(this.view.element(e)).toString())),o=n.map((e=>i.indexOf(this.identityProvider.getId(e).toString())>-1));this.trait.splice(e,t,o)}}function k(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function T(e){return!!e.classList.contains("monaco-editor")||!e.classList.contains("monaco-list")&&!!e.parentElement&&T(e.parentElement)}class I{constructor(e,t,n){this.list=e,this.view=t,this.disposables=new o.DisposableStore;const i=!1!==n.multipleSelectionSupport,r=h.Event.chain((0,u.domEvent)(t.domNode,"keydown")).filter((e=>!k(e.target))).map((e=>new d.StandardKeyboardEvent(e)));r.filter((e=>3===e.keyCode)).on(this.onEnter,this,this.disposables),r.filter((e=>16===e.keyCode)).on(this.onUpArrow,this,this.disposables),r.filter((e=>18===e.keyCode)).on(this.onDownArrow,this,this.disposables),r.filter((e=>11===e.keyCode)).on(this.onPageUpArrow,this,this.disposables),r.filter((e=>12===e.keyCode)).on(this.onPageDownArrow,this,this.disposables),r.filter((e=>9===e.keyCode)).on(this.onEscape,this,this.disposables),i&&r.filter((e=>(l.isMacintosh?e.metaKey:e.ctrlKey)&&31===e.keyCode)).on(this.onCtrlA,this,this.disposables)}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection((0,s.range)(this.list.length),e.browserEvent),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus())}dispose(){this.disposables.dispose()}}!function(e){e[e.Idle=0]="Idle",e[e.Typing=1]="Typing"}(i||(i={}));const D=new class{mightProducePrintableCharacter(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)}};class L{constructor(e,t,n,r){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=r,this.enabled=!1,this.state=i.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new o.DisposableStore,this.disposables=new o.DisposableStore,this.updateOptions(e.options)}updateOptions(e){void 0===e.enableKeyboardNavigation||e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)}enable(){if(this.enabled)return;const e=h.Event.chain((0,u.domEvent)(this.view.domNode,"keydown")).filter((e=>!k(e.target))).filter((()=>this.automaticKeyboardNavigation||this.triggered)).map((e=>new d.StandardKeyboardEvent(e))).filter((e=>this.delegate.mightProducePrintableCharacter(e))).forEach((e=>{e.stopPropagation(),e.preventDefault()})).map((e=>e.browserEvent.key)).event,t=h.Event.debounce(e,(()=>null),800);h.Event.reduce(h.Event.any(e,t),((e,t)=>null===t?null:(e||"")+t))(this.onInput,this,this.enabledDisposables),t(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e;const t=this.list.getFocus();if(t.length>0&&t[0]===this.previouslyFocused){const n=null===(e=this.list.options.accessibilityProvider)||void 0===e?void 0:e.getAriaLabel(this.list.element(t[0]));n&&(0,w.alert)(n)}this.previouslyFocused=-1}onInput(e){if(!e)return this.state=i.Idle,void(this.triggered=!1);const t=this.list.getFocus(),n=t.length>0?t[0]:0,o=this.state===i.Idle?1:0;this.state=i.Typing;for(let t=0;t!k(e.target))).map((e=>new d.StandardKeyboardEvent(e))).filter((e=>!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey))).on(this.onTab,this,this.disposables)}onTab(e){if(e.target!==this.view.domNode)return;const t=this.list.getFocus();if(0===t.length)return;const n=this.view.domElement(t[0]);if(!n)return;const i=n.querySelector("[tabIndex]");if(!(i&&i instanceof HTMLElement&&-1!==i.tabIndex))return;const o=window.getComputedStyle(i);"hidden"!==o.visibility&&"none"!==o.display&&(e.preventDefault(),e.stopPropagation(),i.focus())}dispose(){this.disposables.dispose()}}function N(e){return l.isMacintosh?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function M(e){return e.browserEvent.shiftKey}const O={isSelectionSingleChangeEvent:N,isSelectionRangeChangeEvent:M};class P{constructor(e){this.list=e,this.disposables=new o.DisposableStore,this._onPointer=new h.Emitter,this.onPointer=this._onPointer.event,this.multipleSelectionSupport=!(!1===e.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||O),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(c.Gesture.addTarget(e.getHTMLElement()))),h.Event.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}isSelectionSingleChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):l.isMacintosh?e.browserEvent.metaKey:e.browserEvent.ctrlKey}isSelectionRangeChangeEvent(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){T(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){if(T(e.browserEvent.target))return;const t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)}onViewPointer(e){if(!this.mouseSupport)return;if(k(e.browserEvent.target)||T(e.browserEvent.target))return;let t=this.list.getFocus()[0];const n=this.list.getSelection();t=void 0===t?n[0]:t;const i=e.index;return void 0===i?(this.list.setFocus([],e.browserEvent),void this.list.setSelection([],e.browserEvent)):this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(e)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(e)?this.changeSelection(e,t):(this.list.setFocus([i],e.browserEvent),(o=e.browserEvent)instanceof MouseEvent&&2===o.button||this.list.setSelection([i],e.browserEvent),void this._onPointer.fire(e));var o}onDoubleClick(e){if(k(e.browserEvent.target)||T(e.browserEvent.target))return;if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))return;const t=this.list.getFocus();this.list.setSelection(t,e.browserEvent)}changeSelection(e,t){const n=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){const i=Math.min(t,n),o=Math.max(t,n),r=(0,s.range)(i,o+1),a=this.list.getSelection(),l=function(e,t){const n=e.indexOf(t);if(-1===n)return[];const i=[];let o=n-1;for(;o>=0&&e[o]===t-(n-o);)i.push(e[o--]);for(i.reverse(),o=n;o=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){i++,o++;continue}e[i]e!==n));this.list.setFocus([n]),t.length===i.length?this.list.setSelection([...i,n],e.browserEvent):this.list.setSelection(i,e.browserEvent)}}dispose(){this.disposables.dispose()}}class F{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){const t=this.selectorSuffix&&`.${this.selectorSuffix}`,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):l.isMacintosh||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),e.listFocusBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(n.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),n.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&n.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listFocusAndSelectionBackground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusBackground&&(n.push(`.monaco-list${t} .monaco-list-row.focused { background-color:  ${e.listInactiveFocusBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color:  ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(n.push(`.monaco-list${t} .monaco-list-row.selected { background-color:  ${e.listInactiveSelectionBackground}; }`),n.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color:  ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&n.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&n.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color:  ${e.listHoverBackground}; }`),e.listHoverForeground&&n.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color:  ${e.listHoverForeground}; }`),e.listSelectionOutline&&n.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&n.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&n.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&n.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&n.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.listFilterWidgetBackground&&n.push(`.monaco-list-type-filter { background-color: ${e.listFilterWidgetBackground} }`),e.listFilterWidgetOutline&&n.push(`.monaco-list-type-filter { border: 1px solid ${e.listFilterWidgetOutline}; }`),e.listFilterWidgetNoMatchesOutline&&n.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${e.listFilterWidgetNoMatchesOutline}; }`),e.listMatchesShadow&&n.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${e.listMatchesShadow}; }`),this.styleElement.textContent=n.join("\n")}}const z={listFocusBackground:m.Color.fromHex("#7FB0D0"),listActiveSelectionBackground:m.Color.fromHex("#0E639C"),listActiveSelectionForeground:m.Color.fromHex("#FFFFFF"),listFocusAndSelectionBackground:m.Color.fromHex("#094771"),listFocusAndSelectionForeground:m.Color.fromHex("#FFFFFF"),listInactiveSelectionBackground:m.Color.fromHex("#3F3F46"),listHoverBackground:m.Color.fromHex("#2A2D2E"),listDropBackground:m.Color.fromHex("#383B3D"),treeIndentGuidesStroke:m.Color.fromHex("#a9a9a9")},B={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:()=>null,onDragStart(){},onDragOver:()=>!1,drop(){}}};function W(e,t){const n=[];let i=0,o=0;for(;i=e.length)n.push(t[o++]);else if(o>=t.length)n.push(e[i++]);else{if(e[i]===t[o]){n.push(e[i]),i++,o++;continue}e[i]e-t;class H{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map((t=>t.renderTemplate(e)))}renderElement(e,t,n,i){let o=0;for(const r of this.renderers)r.renderElement(e,t,n[o++],i)}disposeElement(e,t,n,i){let o=0;for(const r of this.renderers)r.disposeElement&&r.disposeElement(e,t,n[o],i),o+=1}disposeTemplate(e){let t=0;for(const n of this.renderers)n.disposeTemplate(e[t++])}}class V{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,n){const i=this.accessibilityProvider.getAriaLabel(e);i?n.setAttribute("aria-label",i):n.removeAttribute("aria-label");const o=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof o?n.setAttribute("aria-level",`${o}`):n.removeAttribute("aria-level")}disposeTemplate(e){}}class j{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements();return t.indexOf(e)>-1?t:[e]}getDragURI(e){return this.dnd.getDragURI(e)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)}onDragOver(e,t,n,i){return this.dnd.onDragOver(e,t,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}drop(e,t,n,i){this.dnd.drop(e,t,n,i)}}class K{constructor(e,t,n,i,r=B){var s;this.user=e,this._options=r,this.eventBufferer=new h.EventBufferer,this._ariaLabel="",this.disposables=new o.DisposableStore,this.didJustPressContextMenuKey=!1,this._onDidDispose=new h.Emitter,this.onDidDispose=this._onDidDispose.event;const a=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?null===(s=this._options.accessibilityProvider)||void 0===s?void 0:s.getWidgetRole():"list";this.selection=new x("listbox"!==a),this.focus=new S("focused"),(0,f.mixin)(r,z,!1);const l=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=r.accessibilityProvider,this.accessibilityProvider&&(l.push(new V(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),i=i.map((e=>new H(e.templateId,[...l,e])));const c=Object.assign(Object.assign({},r),{dnd:r.dnd&&new j(this,r.dnd)});if(this.view=new g.ListView(t,n,i,c),this.view.domNode.setAttribute("role",a),r.styleController)this.styleController=r.styleController(this.view.domId);else{const e=(0,y.createStyleSheet)(this.view.domNode);this.styleController=new F(e,this.view.domId)}if(this.spliceable=new b.CombinedSpliceable([new E(this.focus,this.view,r.identityProvider),new E(this.selection,this.view,r.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=h.Event.map((0,u.domEvent)(this.view.domNode,"focus",!0),(()=>null)),this.onDidBlur=h.Event.map((0,u.domEvent)(this.view.domNode,"blur",!0),(()=>null)),this.disposables.add(new R(this,this.view)),"boolean"!=typeof r.keyboardSupport||r.keyboardSupport){const e=new I(this,this.view,r);this.disposables.add(e)}if(r.keyboardNavigationLabelProvider){const e=r.keyboardNavigationDelegate||D;this.typeLabelController=new L(this,this.view,r.keyboardNavigationLabelProvider,e),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(r),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),r.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return h.Event.map(this.eventBufferer.wrapEvent(this.focus.onChange),(e=>this.toListEvent(e)))}get onDidChangeSelection(){return h.Event.map(this.eventBufferer.wrapEvent(this.selection.onChange),(e=>this.toListEvent(e)))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){const e=h.Event.chain((0,u.domEvent)(this.view.domNode,"keydown")).map((e=>new d.StandardKeyboardEvent(e))).filter((e=>this.didJustPressContextMenuKey=58===e.keyCode||e.shiftKey&&68===e.keyCode)).filter((e=>(e.preventDefault(),e.stopPropagation(),!1))).event,t=h.Event.chain((0,u.domEvent)(this.view.domNode,"keyup")).filter((()=>{const e=this.didJustPressContextMenuKey;return this.didJustPressContextMenuKey=!1,e})).filter((()=>this.getFocus().length>0&&!!this.view.domElement(this.getFocus()[0]))).map((e=>{const t=this.getFocus()[0];return{index:t,element:this.view.element(t),anchor:this.view.domElement(t),browserEvent:e}})).event,n=h.Event.chain(this.view.onContextMenu).filter((()=>!this.didJustPressContextMenuKey)).map((({element:e,index:t,browserEvent:n})=>({element:e,index:t,anchor:{x:n.clientX+1,y:n.clientY},browserEvent:n}))).event;return h.Event.any(e,t,n)}get onKeyDown(){return(0,u.domEvent)(this.view.domNode,"keydown")}createMouseController(e){return new P(this)}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,n=[]){if(e<0||e>this.view.length)throw new p.ListError(this.user,`Invalid start index: ${e}`);if(t<0)throw new p.ListError(this.user,`Invalid delete count: ${t}`);0===t&&0===n.length||this.eventBufferer.bufferEvents((()=>this.spliceable.splice(e,t,n)))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus()}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const t of e)if(t<0||t>=this.length)throw new p.ListError(this.user,`Invalid index ${t}`);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map((e=>this.view.element(e)))}setFocus(e,t){for(const t of e)if(t<0||t>=this.length)throw new p.ListError(this.user,`Invalid index ${t}`);this.focus.set(e,t)}focusNext(e=1,t=!1,n,i){if(0===this.length)return;const o=this.focus.get(),r=this.findNextIndex(o.length>0?o[0]+e:0,t,i);r>-1&&this.setFocus([r],n)}focusPrevious(e=1,t=!1,n,i){if(0===this.length)return;const o=this.focus.get(),r=this.findPreviousIndex(o.length>0?o[0]-e:0,t,i);r>-1&&this.setFocus([r],n)}focusNextPage(e,t){let n=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);n=0===n?0:n-1;const i=this.view.element(n),o=this.getFocusedElements()[0];if(o!==i){const i=this.findPreviousIndex(n,!1,t);i>-1&&o!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const i=this.view.getScrollTop();this.view.setScrollTop(i+this.view.renderHeight-this.view.elementHeight(n)),this.view.getScrollTop()!==i&&(this.setFocus([]),setTimeout((()=>this.focusNextPage(e,t)),0))}}focusPreviousPage(e,t){let n;const i=this.view.getScrollTop();n=0===i?this.view.indexAt(i):this.view.indexAfter(i-1);const o=this.view.element(n),r=this.getFocusedElements()[0];if(r!==o){const i=this.findNextIndex(n,!1,t);i>-1&&r!==this.view.element(i)?this.setFocus([i],e):this.setFocus([n],e)}else{const n=i;this.view.setScrollTop(i-this.view.renderHeight),this.view.getScrollTop()!==n&&(this.setFocus([]),setTimeout((()=>this.focusPreviousPage(e,t)),0))}}focusLast(e,t){if(0===this.length)return;const n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}focusFirst(e,t){this.focusNth(0,e,t)}focusNth(e,t,n){if(0===this.length)return;const i=this.findNextIndex(e,!1,n);i>-1&&this.setFocus([i],t)}findNextIndex(e,t=!1,n){for(let i=0;i=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,n){for(let i=0;ithis.view.element(e)))}reveal(e,t){if(e<0||e>=this.length)throw new p.ListError(this.user,`Invalid index ${e}`);const n=this.view.getScrollTop(),i=this.view.elementTop(e),o=this.view.elementHeight(e);if((0,r.isNumber)(t)){const e=o-this.view.renderHeight;this.view.setScrollTop(e*(0,v.clamp)(t,0,1)+i)}else{const e=i+o,t=n+this.view.renderHeight;i=t||(i=t&&this.view.setScrollTop(e-this.view.renderHeight))}}getRelativeTop(e){if(e<0||e>=this.length)throw new p.ListError(this.user,`Invalid index ${e}`);const t=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(nt+this.view.renderHeight)return null;const o=i-this.view.renderHeight;return Math.abs((t-n)/o)}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map((e=>this.view.element(e))),browserEvent:t}}_onFocusChange(){const e=this.focus.get();this.view.domNode.classList.toggle("element-focused",e.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var e;const t=this.focus.get();if(t.length>0){let n;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",n||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){const e=this.selection.get();this.view.domNode.classList.toggle("selection-none",0===e.length),this.view.domNode.classList.toggle("selection-single",1===e.length),this.view.domNode.classList.toggle("selection-multiple",e.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}A([a.memoize],K.prototype,"onDidChangeFocus",null),A([a.memoize],K.prototype,"onDidChangeSelection",null),A([a.memoize],K.prototype,"onContextMenu",null)},37218:function(e,t,n){"use strict";n.r(t),n.d(t,{groupIntersect:function(){return o},shift:function(){return r},consolidate:function(){return s},RangeMap:function(){return a}});var i=n(83682);function o(e,t){const n=[];for(let o of t){if(e.start>=o.range.end)continue;if(e.end({range:r(e.range,i),size:e.size}))),c=n.map(((t,n)=>({range:{start:e+n,end:e+n+1},size:t.size})));this.groups=function(...e){return s(e.reduce(((e,t)=>e.concat(t)),[]))}(a,c,l),this._size=this.groups.reduce(((e,t)=>e+t.size*(t.range.end-t.range.start)),0)}get count(){const e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;let t=0,n=0;for(let i of this.groups){const o=i.range.end-i.range.start,r=n+o*i.size;if(e{for(const n of e)this.getRenderer(t).disposeTemplate(n.templateData),n.templateData=null})),this.cache.clear()}getRenderer(e){const t=this.renderers.get(e);if(!t)throw new Error(`No renderer found for ${e}`);return t}}},25218:function(e,t,n){"use strict";n.r(t),n.d(t,{CombinedSpliceable:function(){return i}});class i{constructor(e){this.spliceables=e}splice(e,t,n){this.spliceables.forEach((i=>i.splice(e,t,n)))}}},96959:function(e,t,n){"use strict";n.r(t),n.d(t,{MENU_MNEMONIC_REGEX:function(){return w},MENU_ESCAPED_MNEMONIC_REGEX:function(){return y},Direction:function(){return S},Menu:function(){return x},cleanMnemonic:function(){return I}});var i=n(89982),o=n(91482),r=n(60969),s=n(31532),a=n(96747),l=n(8769),c=n(66129),d=n(68921),h=n(34309),u=n(96205),p=n(66719),g=n(56087),m=n(61009),f=n(22694),b=n(76736),v=n(5642),_=n(69373);const w=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,y=/(&)?(&)([^\s&])/g,A=(0,g.registerCodicon)("menu-selection",g.Codicon.check),C=(0,g.registerCodicon)("menu-submenu",g.Codicon.chevronRight);var S;!function(e){e[e.Right=0]="Right",e[e.Left=1]="Left"}(S||(S={}));class x extends s.ActionBar{constructor(e,t,n={}){e.classList.add("monaco-menu-container"),e.setAttribute("role","presentation");const i=document.createElement("div");i.classList.add("monaco-menu"),i.setAttribute("role","presentation"),super(i,{orientation:2,actionViewItemProvider:e=>this.doGetActionViewItem(e,n,o),context:n.context,actionRunner:n.actionRunner,ariaLabel:n.ariaLabel,triggerKeys:{keys:[3,...p.isMacintosh||p.isLinux?[10]:[]],keyDown:!0}}),this.menuElement=i,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new d.DisposableStore),this.initializeStyleSheet(e),(0,a.addDisposableListener)(i,a.EventType.KEY_DOWN,(e=>{new l.StandardKeyboardEvent(e).equals(2)&&e.preventDefault()})),n.enableMnemonics&&this.menuDisposables.add((0,a.addDisposableListener)(i,a.EventType.KEY_DOWN,(e=>{const t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){a.EventHelper.stop(e,!0);const n=this.mnemonics.get(t);if(1===n.length&&(n[0]instanceof k&&n[0].container&&this.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){const e=n.shift();e&&e.container&&(this.focusItemByElement(e.container),n.push(e)),this.mnemonics.set(t,n)}}}))),p.isLinux&&this._register((0,a.addDisposableListener)(i,a.EventType.KEY_DOWN,(e=>{const t=new l.StandardKeyboardEvent(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),a.EventHelper.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),a.EventHelper.stop(e,!0))}))),this._register((0,a.addDisposableListener)(this.domNode,a.EventType.MOUSE_OUT,(e=>{let t=e.relatedTarget;(0,a.isAncestor)(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())}))),this._register((0,a.addDisposableListener)(this.actionsList,a.EventType.MOUSE_OVER,(e=>{let t=e.target;if(t&&(0,a.isAncestor)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;if(t.classList.contains("action-item")){const e=this.focusedItem;this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus()}}})));let o={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new h.DomScrollableElement(i,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const r=this.scrollableElement.getDomNode();r.style.position="",this._register((0,a.addDisposableListener)(r,a.EventType.MOUSE_UP,(e=>{e.preventDefault()}))),i.style.maxHeight=`${Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)}px`,t=t.filter((e=>{var t;return!(null===(t=n.submenuIds)||void 0===t?void 0:t.has(e.id))||(console.warn(`Found submenu cycle: ${e.id}`),!1)})),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter((e=>!(e instanceof T))).forEach(((e,t,n)=>{e.updatePositionInSet(t+1,n.length)}))}initializeStyleSheet(e){(0,a.isInShadowDOM)(e)?(this.styleSheet=(0,a.createStyleSheet)(e),this.styleSheet.textContent=D):(x.globalStyleSheet||(x.globalStyleSheet=(0,a.createStyleSheet)(),x.globalStyleSheet.textContent=D),this.styleSheet=x.globalStyleSheet)}style(e){const t=this.getContainer(),n=e.foregroundColor?`${e.foregroundColor}`:"",i=e.backgroundColor?`${e.backgroundColor}`:"",o=e.borderColor?`1px solid ${e.borderColor}`:"",r=e.shadowColor?`0 2px 4px ${e.shadowColor}`:"";t.style.border=o,this.domNode.style.color=n,this.domNode.style.backgroundColor=i,t.style.boxShadow=r,this.viewItems&&this.viewItems.forEach((t=>{(t instanceof E||t instanceof T)&&t.style(e)}))}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){const t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t{this.element&&(this._register((0,a.addDisposableListener)(this.element,a.EventType.MOUSE_UP,(e=>{if(a.EventHelper.stop(e,!0),b.isFirefox){if(new v.StandardMouseEvent(e).rightButton)return;this.onClick(e)}else setTimeout((()=>{this.onClick(e)}),0)}))),this._register((0,a.addDisposableListener)(this.element,a.EventType.CONTEXT_MENU,(e=>{a.EventHelper.stop(e,!0)}))))}),100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=(0,a.append)(this.element,(0,a.$)("a.action-menu-item")),this._action.id===r.Separator.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",`${this.mnemonic}`)),this.check=(0,a.append)(this.item,(0,a.$)("span.menu-item-check"+A.cssSelector)),this.check.setAttribute("role","none"),this.label=(0,a.append)(this.item,(0,a.$)("span.action-label")),this.options.label&&this.options.keybinding&&((0,a.append)(this.item,(0,a.$)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",`${e}`),this.item.setAttribute("aria-setsize",`${t}`))}updateLabel(){if(this.label&&this.options.label){(0,a.clearNode)(this.label);let e=(0,_.stripIcons)(this.getAction().label);if(e){const t=I(e);this.options.enableMnemonics||(e=t),this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));const n=w.exec(e);if(n){e=o.escape(e),y.lastIndex=0;let t=y.exec(e);for(;t&&t[1];)t=y.exec(e);const i=e=>e.replace(/&&/g,"&");t?this.label.append(o.ltrim(i(e.substr(0,t.index))," "),(0,a.$)("u",{"aria-hidden":"true"},t[3]),o.rtrim(i(e.substr(t.index+t[0].length))," ")):this.label.innerText=i(e).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else this.label.innerText=e.replace(/&&/g,"&").trim()}}}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=i.localize("vs/base/browser/ui/menu/menu",{key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.getAction().enabled?(this.element&&this.element.classList.remove("disabled"),this.item&&(this.item.classList.remove("disabled"),this.item.tabIndex=0)):(this.element&&this.element.classList.add("disabled"),this.item&&(this.item.classList.add("disabled"),(0,a.removeTabIndexAndUpdateFocus)(this.item)))}updateChecked(){this.item&&(this.getAction().checked?(this.item.classList.add("checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(this.item.classList.remove("checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}getMnemonic(){return this.mnemonic}applyStyle(){if(!this.menuStyle)return;const e=this.element&&this.element.classList.contains("focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,i=e&&this.menuStyle.selectionBorderColor?`thin solid ${this.menuStyle.selectionBorderColor}`:"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=n?n.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=i)}style(e){this.menuStyle=e,this.applyStyle()}}class k extends E{constructor(e,t,n,i){super(e,e,i),this.submenuActions=t,this.parentData=n,this.submenuOptions=i,this.mysubmenu=null,this.submenuDisposables=this._register(new d.DisposableStore),this.mouseOver=!1,this.expandDirection=i&&void 0!==i.expandDirection?i.expandDirection:S.Right,this.showScheduler=new c.RunOnceScheduler((()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))}),250),this.hideScheduler=new c.RunOnceScheduler((()=>{this.element&&!(0,a.isAncestor)((0,a.getActiveElement)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))}),750)}render(e){super.render(e),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=(0,a.append)(this.item,(0,a.$)("span.submenu-indicator"+C.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register((0,a.addDisposableListener)(this.element,a.EventType.KEY_UP,(e=>{let t=new l.StandardKeyboardEvent(e);(t.equals(17)||t.equals(3))&&(a.EventHelper.stop(e,!0),this.createSubmenu(!0))}))),this._register((0,a.addDisposableListener)(this.element,a.EventType.KEY_DOWN,(e=>{let t=new l.StandardKeyboardEvent(e);(0,a.getActiveElement)()===this.item&&(t.equals(17)||t.equals(3))&&a.EventHelper.stop(e,!0)}))),this._register((0,a.addDisposableListener)(this.element,a.EventType.MOUSE_OVER,(e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())}))),this._register((0,a.addDisposableListener)(this.element,a.EventType.MOUSE_LEAVE,(e=>{this.mouseOver=!1}))),this._register((0,a.addDisposableListener)(this.element,a.EventType.FOCUS_OUT,(e=>{this.element&&!(0,a.isAncestor)((0,a.getActiveElement)(),this.element)&&this.hideScheduler.schedule()}))),this._register(this.parentData.parent.onScroll((()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)}))))}updateEnabled(){}onClick(e){a.EventHelper.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(e){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,n,i){const o={top:0,left:0};return o.left=(0,u.layout)(e.width,t.width,{position:i===S.Right?0:1,offset:n.left,size:n.width}),o.left>=n.left&&o.left{new l.StandardKeyboardEvent(e).equals(15)&&(a.EventHelper.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))}))),this.submenuDisposables.add((0,a.addDisposableListener)(this.submenuContainer,a.EventType.KEY_DOWN,(e=>{new l.StandardKeyboardEvent(e).equals(15)&&a.EventHelper.stop(e,!0)}))),this.submenuDisposables.add(this.parentData.submenu.onDidCancel((()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)}))),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}}updateAriaExpanded(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))}applyStyle(){if(super.applyStyle(),!this.menuStyle)return;const e=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=e?`${e}`:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class T extends m.ActionViewItem{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?`${e.separatorColor}`:"")}}function I(e){const t=w,n=t.exec(e);if(!n)return e;const i=!n[1];return e.replace(t,i?"$2$3":"").trim()}let D=`\n.monaco-menu {\n\tfont-size: 13px;\n\n}\n\n${(0,f.formatRule)(A)}\n${(0,f.formatRule)(C)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative;  /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n\theight: 0px !important;\n\tmargin-left: .8em !important;\n\tmargin-right: .8em !important;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n\t-webkit-app-region: no-drag;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: thin solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n:host-context(.hc-black) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: .5em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 1.8em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tpadding: 0.2em 0 0 0;\n\tmargin-bottom: 0.2em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n\tcursor: pointer;\n\tfont-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n:host-context(.vs) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(100, 100, 100, .4);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(121, 121, 121, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(100, 100, 100, .7);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(0, 0, 0, .6);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(191, 191, 191, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(111, 195, 223, 1);\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: #000 6px 0 6px -6px inset;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: #000 6px 6px 6px -6px inset;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: none;\n}\n`},16011:function(e,t,n){"use strict";n.r(t),n.d(t,{MOUSE_CURSOR_TEXT_CSS_CLASS_NAME:function(){return s}});var i=n(93379),o=n.n(i),r=n(58322);o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals;const s="monaco-mouse-cursor-text"},81449:function(e,t,n){"use strict";n.r(t),n.d(t,{ProgressBar:function(){return f}});var i=n(93379),o=n.n(i),r=n(41227),s=(o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals,n(68921)),a=n(17160),l=n(91057),c=n(96747),d=n(66129);const h="done",u="active",p="infinite",g="discrete",m={progressBarBackground:a.Color.fromHex("#0E70C0")};class f extends s.Disposable{constructor(e,t){super(),this.options=t||Object.create(null),(0,l.mixin)(this.options,m,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new d.RunOnceScheduler((()=>(0,c.show)(this.element)),0)),this.create(e)}create(e){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),e.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(u,p,g),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add(h),this.element.classList.contains(p)?(this.bit.style.opacity="0",e?setTimeout((()=>this.off()),200):this.off()):(this.bit.style.width="inherit",e?setTimeout((()=>this.off()),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(g,h),this.element.classList.add(u,p),this}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const e=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=e}}}},59625:function(e,t,n){"use strict";n.r(t),n.d(t,{OrthogonalEdge:function(){return i},Sash:function(){return f}});var i,o=n(93379),r=n.n(o),s=n(67054),a=(r()(s.Z,{insert:"head",singleton:!1}),s.Z.locals,n(68921)),l=n(66719),c=n(18912),d=n(4043),h=n(5642),u=n(63801),p=n(96747),g=n(50465);!function(e){e.North="north",e.South="south",e.East="east",e.West="west"}(i||(i={}));const m=new u.Emitter;class f extends a.Disposable{constructor(e,t,n){super(),this._state=3,this._onDidEnablementChange=this._register(new u.Emitter),this.onDidEnablementChange=this._onDidEnablementChange.event,this._onDidStart=this._register(new u.Emitter),this.onDidStart=this._onDidStart.event,this._onDidChange=this._register(new u.Emitter),this.onDidChange=this._onDidChange.event,this._onDidReset=this._register(new u.Emitter),this.onDidReset=this._onDidReset.event,this._onDidEnd=this._register(new u.Emitter),this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.orthogonalStartSashDisposables=this._register(new a.DisposableStore),this.orthogonalEndSashDisposables=this._register(new a.DisposableStore),this.el=(0,p.append)(e,(0,p.$)(".monaco-sash")),n.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${n.orthogonalEdge}`),l.isMacintosh&&this.el.classList.add("mac"),this._register((0,g.domEvent)(this.el,"mousedown")(this.onMouseDown,this)),this._register((0,g.domEvent)(this.el,"dblclick")(this.onMouseDoubleClick,this)),this._register(d.Gesture.addTarget(this.el)),this._register((0,g.domEvent)(this.el,d.EventType.Start)(this.onTouchStart,this)),"number"==typeof n.size?(this.size=n.size,0===n.orientation?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=4,this._register(m.event((e=>{this.size=e,this.layout()})))),this.hidden=!1,this.layoutProvider=t,this.orthogonalStartSash=n.orthogonalStartSash,this.orthogonalEndSash=n.orthogonalEndSash,this.orientation=n.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",!1),this.layout()}get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){this.orthogonalStartSashDisposables.clear(),e?(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){this.orthogonalEndSashDisposables.clear(),e?(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e}onMouseDown(e){p.EventHelper.stop(e,!1);let t=!1;if(!e.__orthogonalSashEvent){const n=this.getOrthogonalSash(e);n&&(t=!0,e.__orthogonalSashEvent=!0,n.onMouseDown(e))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),!this.state)return;const n=[...(0,p.getElementsByTagName)("iframe"),...(0,p.getElementsByTagName)("webview")];for(const e of n)e.style.pointerEvents="none";const i=new h.StandardMouseEvent(e),o=i.posx,r=i.posy,s=i.altKey,c={startX:o,currentX:o,startY:r,currentY:r,altKey:s};this.el.classList.add("active"),this._onDidStart.fire(c);const d=(0,p.createStyleSheet)(this.el),u=()=>{let e="";e=t?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":l.isMacintosh?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":l.isMacintosh?"col-resize":"ew-resize",d.textContent=`* { cursor: ${e} !important; }`},m=new a.DisposableStore;u(),t||this.onDidEnablementChange(u,null,m),(0,g.domEvent)(window,"mousemove")((e=>{p.EventHelper.stop(e,!1);const t=new h.StandardMouseEvent(e),n={startX:o,currentX:t.posx,startY:r,currentY:t.posy,altKey:s};this._onDidChange.fire(n)}),null,m),(0,g.domEvent)(window,"mouseup")((e=>{p.EventHelper.stop(e,!1),this.el.removeChild(d),this.el.classList.remove("active"),this._onDidEnd.fire(),m.dispose();for(const e of n)e.style.pointerEvents="auto"}),null,m)}onMouseDoubleClick(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}onTouchStart(e){p.EventHelper.stop(e);const t=[],n=e.pageX,i=e.pageY,o=e.altKey;this._onDidStart.fire({startX:n,currentX:n,startY:i,currentY:i,altKey:o}),t.push((0,p.addDisposableListener)(this.el,d.EventType.Change,(e=>{c.isNumber(e.pageX)&&c.isNumber(e.pageY)&&this._onDidChange.fire({startX:n,currentX:e.pageX,startY:i,currentY:e.pageY,altKey:o})}))),t.push((0,p.addDisposableListener)(this.el,d.EventType.End,(e=>{this._onDidEnd.fire(),(0,a.dispose)(t)})))}layout(){if(0===this.orientation){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}hide(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}onOrthogonalStartSashEnablementChange(e){this.el.classList.toggle("orthogonal-start",0!==e)}onOrthogonalEndSashEnablementChange(e){this.el.classList.toggle("orthogonal-end",0!==e)}getOrthogonalSash(e){if(0===this.orientation){if(e.offsetY<=this.size)return this.orthogonalStartSash;if(e.offsetY>=this.el.clientHeight-this.size)return this.orthogonalEndSash}else{if(e.offsetX<=this.size)return this.orthogonalStartSash;if(e.offsetX>=this.el.clientWidth-this.size)return this.orthogonalEndSash}}dispose(){super.dispose(),this.el.remove()}}},92117:function(e,t,n){"use strict";n.r(t),n.d(t,{AbstractScrollbar:function(){return d}});var i=n(96747),o=n(85297),r=n(82518),s=n(24990),a=n(23487),l=n(47257),c=n(66719);class d extends l.Widget{constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new a.ScrollbarVisibilityController(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new r.GlobalMouseMoveMonitor),this._shouldRender=!0,this.domNode=(0,o.createFastDomNode)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,(e=>this._domNodeMouseDown(e)))}_createArrow(e){const t=this._register(new s.ScrollbarArrow(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)}_createSlider(e,t,n,i){this.slider=(0,o.createFastDomNode)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof n&&this.slider.setWidth(n),"number"==typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,(e=>{e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(()=>{})))})),this.onclick(this.slider.domNode,(e=>{e.leftButton&&e.stopPropagation()}))}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(e){e.target===this.domNode.domNode&&this._onMouseDown(e)}delegateMouseDown(e){const t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderMousePosition(e);n<=o&&o<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(()=>{}))):this._onMouseDown(e)}_onMouseDown(e){let t,n;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{const o=i.getDomNodePagePosition(this.domNode.domNode);t=e.posx-o.left,n=e.posy-o.top}const o=this._mouseDownRelativePosition(t,n);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(o):this._scrollbarState.getDesiredScrollPositionFromOffset(o)),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(()=>{})))}_sliderMouseDown(e,t){const n=this._sliderMousePosition(e),i=this._sliderOrthogonalMousePosition(e),o=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,r.standardMouseMoveMerger,(e=>{const t=this._sliderOrthogonalMousePosition(e),r=Math.abs(t-i);if(c.isWindows&&r>140)return void this._setDesiredScrollPositionNow(o.getScrollPosition());const s=this._sliderMousePosition(e)-n;this._setDesiredScrollPositionNow(o.getDesiredScrollPositionFromDelta(s))}),(()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),t()})),this._host.onDragStart()}_setDesiredScrollPositionNow(e){const t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}},48555:function(e,t,n){"use strict";n.r(t),n.d(t,{HorizontalScrollbar:function(){return d}});var i=n(5642),o=n(92117),r=n(24990),s=n(76344),a=n(56087);const l=(0,a.registerCodicon)("scrollbar-button-left",a.Codicon.triangleLeft),c=(0,a.registerCodicon)("scrollbar-button-right",a.Codicon.triangleRight);class d extends o.AbstractScrollbar{constructor(e,t,n){const o=e.getScrollDimensions(),a=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new s.ScrollbarState(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize,o.width,o.scrollWidth,a.scrollLeft),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e,scrollByPage:t.scrollByPage}),t.horizontalHasArrows){const e=(t.arrowSize-r.ARROW_IMG_SIZE)/2,n=(t.horizontalScrollbarSize-r.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:l,top:n,left:e,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new i.StandardWheelEvent(null,1,0))}),this._createArrow({className:"scra",icon:c,top:n,left:void 0,bottom:void 0,right:e,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new i.StandardWheelEvent(null,-1,0))})}this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return e}_sliderMousePosition(e){return e.posx}_sliderOrthogonalMousePosition(e){return e.posy}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}}},34309:function(e,t,n){"use strict";n.r(t),n.d(t,{AbstractScrollableElement:function(){return w},DomScrollableElement:function(){return C},MouseWheelClassifier:function(){return _},ScrollableElement:function(){return y},SmoothScrollableElement:function(){return A}});var i=n(93379),o=n.n(i),r=n(64836),s=(o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals,n(96747)),a=n(85297),l=n(5642),c=n(48555),d=n(22876),h=n(47257),u=n(66129),p=n(63801),g=n(68921),m=n(66719),f=n(6097),b=n(76736);class v{constructor(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0}}class _{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,n=1,i=this._rear;for(;;){const o=i===this._front?e:Math.pow(2,-n);if(e-=o,t+=this._memory[i].score*o,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}return t<=.5}accept(e,t,n){const i=new v(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)}_computeScore(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;let t=.5;return-1===this._front&&-1===this._rear||this._memory[this._rear],this._isAlmostInt(e.deltaX)&&this._isAlmostInt(e.deltaY)||(t+=.25),Math.min(Math.max(t,0),1)}_isAlmostInt(e){return Math.abs(Math.round(e)-e)<.01}}_.INSTANCE=new _;class w extends h.Widget{constructor(e,t,n){super(),this._onScroll=this._register(new p.Emitter),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new p.Emitter),e.style.overflow="hidden",this._options=function(e){const t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,consumeMouseWheelIfScrollbarIsNeeded:void 0!==e.consumeMouseWheelIfScrollbarIsNeeded&&e.consumeMouseWheelIfScrollbarIsNeeded,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,scrollPredominantAxis:void 0===e.scrollPredominantAxis||e.scrollPredominantAxis,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0,scrollByPage:void 0!==e.scrollByPage&&e.scrollByPage};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,m.isMacintosh&&(t.className+=" mac"),t}(t),this._scrollable=n,this._register(this._scrollable.onScroll((e=>{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)})));const i={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new d.VerticalScrollbar(this._scrollable,this._options,i)),this._horizontalScrollbar=this._register(new c.HorizontalScrollbar(this._scrollable,this._options,i)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,a.createFastDomNode)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,a.createFastDomNode)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,a.createFastDomNode)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,(e=>this._onMouseOver(e))),this.onnonbubblingmouseout(this._listenOnDomNode,(e=>this._onMouseOut(e))),this._hideTimeout=this._register(new u.TimeoutTimer),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=(0,g.dispose)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(e){this._verticalScrollbar.delegateMouseDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,m.isMacintosh&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontalScrollbarSize&&this._horizontalScrollbar.updateScrollbarSize(e.horizontalScrollbarSize),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=(0,g.dispose)(this._mouseWheelToDispose),e)){const e=e=>{this._onMouseWheel(new l.StandardWheelEvent(e))};this._mouseWheelToDispose.push(s.addDisposableListener(this._listenOnDomNode,s.EventType.MOUSE_WHEEL,e,{passive:!1}))}}_onMouseWheel(e){const t=_.INSTANCE;{const n=window.devicePixelRatio/(0,b.getZoomFactor)();m.isWindows||m.isLinux?t.accept(Date.now(),e.deltaX/n,e.deltaY/n):t.accept(Date.now(),e.deltaX,e.deltaY)}let n=!1;if(e.deltaY||e.deltaX){let i=e.deltaY*this._options.mouseWheelScrollSensitivity,o=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(i)>=Math.abs(o)?o=0:i=0),this._options.flipAxes&&([i,o]=[o,i]);const r=!m.isMacintosh&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||o||(o=i,i=0),e.browserEvent&&e.browserEvent.altKey&&(o*=this._options.fastScrollSensitivity,i*=this._options.fastScrollSensitivity);const s=this._scrollable.getFutureScrollPosition();let a={};if(i){const e=s.scrollTop-50*i;this._verticalScrollbar.writeScrollPosition(a,e)}if(o){const e=s.scrollLeft-50*o;this._horizontalScrollbar.writeScrollPosition(a,e)}a=this._scrollable.validateScrollPosition(a),(s.scrollLeft!==a.scrollLeft||s.scrollTop!==a.scrollTop)&&(this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),n=!0)}let i=n;!i&&this._options.alwaysConsumeMouseWheel&&(i=!0),!i&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(i=!0),i&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(e){this._mouseIsOver=!1,this._hide()}_onMouseOver(e){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((()=>this._hide()),500)}}class y extends w{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;const n=new f.Scrollable(0,(e=>s.scheduleAtNextAnimationFrame(e)));super(e,t,n),this._register(n)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}}class A extends w{constructor(e,t,n){super(e,t,n)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class C extends y{constructor(e,t){super(e,t),this._element=e,this.onScroll((e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)})),this.scanDomNode()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},24990:function(e,t,n){"use strict";n.r(t),n.d(t,{ARROW_IMG_SIZE:function(){return s},ScrollbarArrow:function(){return a}});var i=n(82518),o=n(47257),r=n(66129);const s=11;class a extends o.Widget{constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...e.icon.classNamesArray),this.domNode.style.position="absolute",this.domNode.style.width=s+"px",this.domNode.style.height=s+"px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._mouseMoveMonitor=this._register(new i.GlobalMouseMoveMonitor),this.onmousedown(this.bgDomNode,(e=>this._arrowMouseDown(e))),this.onmousedown(this.domNode,(e=>this._arrowMouseDown(e))),this._mousedownRepeatTimer=this._register(new r.IntervalTimer),this._mousedownScheduleRepeatTimer=this._register(new r.TimeoutTimer)}_arrowMouseDown(e){this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet((()=>{this._mousedownRepeatTimer.cancelAndSet((()=>this._onActivate()),1e3/24)}),200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,i.standardMouseMoveMerger,(e=>{}),(()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()})),e.preventDefault()}}},76344:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollbarState:function(){return i}});class i{constructor(e,t,n,i,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new i(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){const t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)}setScrollSize(e){const t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)}setScrollPosition(e){const t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=e}static _computeValues(e,t,n,i,o){const r=Math.max(0,n-e),s=Math.max(0,r-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};const l=Math.round(Math.max(20,Math.floor(n*s/i))),c=(s-l)/(i-n),d=o*c;return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(l),computedSliderRatio:c,computedSliderPosition:Math.round(d)}}_refreshComputedValues(){const e=i._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(e){if(!this._computedIsNeeded)return 0;const t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(e){if(!this._computedIsNeeded)return 0;const t=e-this._arrowSize;let n=this._scrollPosition;return t{this._domNode&&this._domNode.setClassName(this._visibleClassName)}),0))}_hide(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))}}},22876:function(e,t,n){"use strict";n.r(t),n.d(t,{VerticalScrollbar:function(){return d}});var i=n(5642),o=n(92117),r=n(24990),s=n(76344),a=n(56087);const l=(0,a.registerCodicon)("scrollbar-button-up",a.Codicon.triangleUp),c=(0,a.registerCodicon)("scrollbar-button-down",a.Codicon.triangleDown);class d extends o.AbstractScrollbar{constructor(e,t,n){const o=e.getScrollDimensions(),a=e.getCurrentScrollPosition();if(super({lazyRender:t.lazyRender,host:n,scrollbarState:new s.ScrollbarState(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,o.height,o.scrollHeight,a.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows){const e=(t.arrowSize-r.ARROW_IMG_SIZE)/2,n=(t.verticalScrollbarSize-r.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:l,top:e,left:n,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new i.StandardWheelEvent(null,0,1))}),this._createArrow({className:"scra",icon:c,top:void 0,left:n,bottom:e,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new i.StandardWheelEvent(null,0,-1))})}this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return t}_sliderMousePosition(e){return e.posy}_sliderOrthogonalMousePosition(e){return e.posx}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}}},72665:function(e,t,n){"use strict";n.r(t),n.d(t,{AbstractTree:function(){return z},ComposedTreeDelegate:function(){return T},RenderIndentGuides:function(){return i}});var i,o=n(93379),r=n.n(o),s=n(42650),a=(r()(s.Z,{insert:"head",singleton:!1}),s.Z.locals,n(68921)),l=n(72406),c=n(96747),d=n(63801),h=n(8769),u=n(23877),p=n(65174),g=n(64998),m=n(75291),f=n(50465),b=n(27017),v=n(49517),_=n(89982),w=n(66129),y=n(66719),A=n(53719),C=n(64280),S=n(98285);class x extends m.ElementsDragAndDropData{constructor(e){super(e.elements.map((e=>e.element))),this.data=e}}function E(e){return e instanceof m.ElementsDragAndDropData?new x(e):e}class k{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=a.Disposable.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((e=>e.element)),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(E(e),t)}onDragOver(e,t,n,i,o=!0){const r=this.dnd.onDragOver(E(e),t&&t.element,n,i),s=this.autoExpandNode!==t;if(s&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return r;if(s&&"boolean"!=typeof r&&r.autoExpand&&(this.autoExpandDisposable=(0,w.disposableTimeout)((()=>{const e=this.modelProvider(),n=e.getNodeLocation(t);e.isCollapsed(n)&&e.setCollapsed(n,!1),this.autoExpandNode=void 0}),500)),"boolean"==typeof r||!r.accept||void 0===r.bubble||r.feedback)return o?r:{accept:"boolean"==typeof r?r:r.accept,effect:"boolean"==typeof r?void 0:r.effect,feedback:[n]};if(1===r.bubble){const n=this.modelProvider(),o=n.getNodeLocation(t),r=n.getParentNodeLocation(o),s=n.getNode(r),a=r&&n.getListIndex(r);return this.onDragOver(e,s,a,i,!1)}const a=this.modelProvider(),l=a.getNodeLocation(t),c=a.getListIndex(l),d=a.getListRenderCount(l);return Object.assign(Object.assign({},r),{feedback:(0,g.range)(c,c+d)})}drop(e,t,n,i){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(E(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}class T{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)}}!function(e){e.None="none",e.OnHover="onHover",e.Always="always"}(i||(i={}));class I{constructor(e,t=[]){this._elements=t,this.onDidChange=d.Event.forEach(e,(e=>this._elements=e))}get elements(){return this._elements}}class D{constructor(e,t,n,i,o={}){this.renderer=e,this.modelProvider=t,this.activeNodes=i,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=D.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new C.SetMap,this.activeIndentNodes=new Set,this.indentGuidesDisposable=a.Disposable.None,this.disposables=new a.DisposableStore,this.templateId=e.templateId,this.updateOptions(o),d.Event.map(n,(e=>e.node))(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){if(void 0!==e.indent&&(this.indent=(0,A.clamp)(e.indent,0,40)),void 0!==e.renderIndentGuides){const t=e.renderIndentGuides!==i.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){const e=new a.DisposableStore;this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,e),this.indentGuidesDisposable=e,this._onDidChangeActiveNodes(this.activeNodes.elements)}}void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){const t=(0,c.append)(e,(0,c.$)(".monaco-tl-row")),n=(0,c.append)(t,(0,c.$)(".monaco-tl-indent")),i=(0,c.append)(t,(0,c.$)(".monaco-tl-twistie")),o=(0,c.append)(t,(0,c.$)(".monaco-tl-contents")),r=this.renderer.renderTemplate(o);return{container:e,indent:n,twistie:i,indentGuidesDisposable:a.Disposable.None,templateData:r}}renderElement(e,t,n,i){"number"==typeof i&&(this.renderedNodes.set(e,{templateData:n,height:i}),this.renderedElements.set(e.element,e));const o=D.DefaultIndent+(e.depth-1)*this.indent;n.twistie.style.paddingLeft=`${o}px`,n.indent.style.width=o+this.indent-16+"px",this.renderTwistie(e,n),"number"==typeof i&&this.renderIndentGuides(e,n),this.renderer.renderElement(e,t,n.templateData,i)}disposeElement(e,t,n,i){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,i),"number"==typeof i&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){const t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)}onDidChangeNodeTwistieState(e){const t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){t.twistie.classList.remove(...S.treeItemExpandedIcon.classNamesArray);let n=!1;this.renderer.renderTwistie&&(n=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(n||t.twistie.classList.add(...S.treeItemExpandedIcon.classNamesArray),t.twistie.classList.add("collapsible"),t.twistie.classList.toggle("collapsed",e.collapsed)):t.twistie.classList.remove("collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")}renderIndentGuides(e,t){if((0,c.clearNode)(t.indent),t.indentGuidesDisposable.dispose(),!this.shouldRenderIndentGuides)return;const n=new a.DisposableStore,i=this.modelProvider();let o=e;for(;;){const e=i.getNodeLocation(o),r=i.getParentNodeLocation(e);if(!r)break;const s=i.getNode(r),l=(0,c.$)(".indent-guide",{style:`width: ${this.indent}px`});this.activeIndentNodes.has(s)&&l.classList.add("active"),0===t.indent.childElementCount?t.indent.appendChild(l):t.indent.insertBefore(l,t.indent.firstElementChild),this.renderedIndentGuides.add(s,l),n.add((0,a.toDisposable)((()=>this.renderedIndentGuides.delete(s,l)))),o=s}t.indentGuidesDisposable=n}_onDidChangeActiveNodes(e){if(!this.shouldRenderIndentGuides)return;const t=new Set,n=this.modelProvider();e.forEach((e=>{const i=n.getNodeLocation(e);try{const o=n.getParentNodeLocation(i);e.collapsible&&e.children.length>0&&!e.collapsed?t.add(e):o&&t.add(n.getNode(o))}catch(e){}})),this.activeIndentNodes.forEach((e=>{t.has(e)||this.renderedIndentGuides.forEach(e,(e=>e.classList.remove("active")))})),t.forEach((e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,(e=>e.classList.add("active")))})),this.activeIndentNodes=t}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),(0,a.dispose)(this.disposables)}}D.DefaultIndent=8;class L{constructor(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new a.DisposableStore,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()}filter(e,t){if(this._filter){const n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;let i;if(i="boolean"==typeof n?n?1:0:(0,v.isFilterResult)(n)?(0,v.getVisibleState)(n.visibility):n,0===i)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:b.FuzzyScore.Default,visibility:!0};const n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),i=Array.isArray(n)?n:[n];for(const e of i){const t=e&&e.toString();if(void 0===t)return{data:b.FuzzyScore.Default,visibility:!0};const n=(0,b.fuzzyScore)(this._pattern,this._lowercasePattern,0,t,t.toLowerCase(),0,!0);if(n)return this._matchCount++,1===i.length?{data:n,visibility:!0}:{data:{label:t,score:n},visibility:!0}}return this.tree.options.filterOnType?2:{data:b.FuzzyScore.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){(0,a.dispose)(this.disposables)}}class R{constructor(e,t,n,i,o){this.tree=e,this.view=n,this.filter=i,this.keyboardNavigationDelegate=o,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new d.Emitter,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new d.Emitter,this.enabledDisposables=new a.DisposableStore,this.disposables=new a.DisposableStore,this.domNode=(0,c.$)(`.monaco-list-type-filter.${this.positionClassName}`),this.domNode.draggable=!0,(0,f.domEvent)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=(0,c.append)(n.getHTMLElement(),(0,c.$)(".monaco-list-type-filter-message")),this.labelDomNode=(0,c.append)(this.domNode,(0,c.$)("span.label"));const r=(0,c.append)(this.domNode,(0,c.$)(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=(0,c.append)(r,(0,c.$)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),(0,f.domEvent)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=(0,c.append)(r,(0,c.$)("button.clear"+S.treeFilterClearIcon.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=(0,_.localize)("vs/base/browser/ui/tree/abstractTree","clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){if(this._enabled)return;const e=d.Event.chain((0,f.domEvent)(this.view.getHTMLElement(),"keydown")).filter((e=>!(0,l.isInputElement)(e.target)||e.target===this.filterOnTypeDomNode)).filter((e=>"Dead"!==e.key&&!/^Media/.test(e.key))).map((e=>new h.StandardKeyboardEvent(e))).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter((()=>this.automaticKeyboardNavigation||this.triggered)).filter((e=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(e)&&!(18===e.keyCode||16===e.keyCode||15===e.keyCode||17===e.keyCode)||(this.pattern.length>0||this.triggered)&&(9===e.keyCode||1===e.keyCode)&&!e.altKey&&!e.ctrlKey&&!e.metaKey||1===e.keyCode&&(y.isMacintosh?e.altKey&&!e.metaKey:e.ctrlKey)&&!e.shiftKey)).forEach((e=>{e.stopPropagation(),e.preventDefault()})).event,t=(0,f.domEvent)(this.clearDomNode,"click");d.Event.chain(d.Event.any(e,t)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(y.isMacintosh?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)}onInput(e){const t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,(e=>!b.FuzzyScore.isDefault(e.filterData)));const n=this.tree.getFocus();if(n.length>0){const e=n[0];null===this.tree.getRelativeTop(e)&&this.tree.reveal(e,.5)}this.render(),e||(this.triggered=!1)}onDragStart(){const e=this.view.getHTMLElement(),{left:t}=(0,c.getDomNodePagePosition)(e),n=e.clientWidth,i=n/2,o=this.domNode.clientWidth,r=new a.DisposableStore;let s=this.positionClassName;const l=()=>{switch(s){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=n-o-6+"px"}};l(),this.domNode.classList.remove(s),this.domNode.classList.add("dragging"),r.add((0,a.toDisposable)((()=>this.domNode.classList.remove("dragging")))),(0,f.domEvent)(document,"dragover")((e=>{e.preventDefault();const n=e.clientX-t;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),s=n{this.positionClassName=s,this.domNode.className=`monaco-list-type-filter ${this.positionClassName}`,this.domNode.style.top="",this.domNode.style.left="",(0,a.dispose)(r)}),null,r),p.StaticDND.CurrentDragAndDropData=new p.DragAndDropData("vscode-ui"),r.add((0,a.toDisposable)((()=>p.StaticDND.CurrentDragAndDropData=void 0)))}onDidSpliceModel(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(this.filterOnTypeDomNode.classList.remove(...S.treeFilterOnTypeOffIcon.classNamesArray),this.filterOnTypeDomNode.classList.add(...S.treeFilterOnTypeOnIcon.classNamesArray),this.filterOnTypeDomNode.title=(0,_.localize)("vs/base/browser/ui/tree/abstractTree","disable filter on type","Disable Filter on Type")):(this.filterOnTypeDomNode.classList.remove(...S.treeFilterOnTypeOnIcon.classNamesArray),this.filterOnTypeDomNode.classList.add(...S.treeFilterOnTypeOffIcon.classNamesArray),this.filterOnTypeDomNode.title=(0,_.localize)("vs/base/browser/ui/tree/abstractTree","enable filter on type","Enable Filter on Type"))}render(){const e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=(0,_.localize)("vs/base/browser/ui/tree/abstractTree","empty","No elements found"),this._empty=!0):(this.messageDomNode.innerText="",this._empty=!1),this.domNode.classList.toggle("no-matches",e),this.domNode.title=(0,_.localize)("vs/base/browser/ui/tree/abstractTree","found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)}shouldAllowFocus(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||this.filter.totalCount>0&&this.filter.matchCount<=1||!b.FuzzyScore.isDefault(e.filterData)}dispose(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),(0,a.dispose)(this.disposables)}}function N(e){let t=u.TreeMouseEventTarget.Unknown;return(0,c.hasParentWithClass)(e.browserEvent.target,"monaco-tl-twistie","monaco-tl-row")?t=u.TreeMouseEventTarget.Twistie:(0,c.hasParentWithClass)(e.browserEvent.target,"monaco-tl-contents","monaco-tl-row")&&(t=u.TreeMouseEventTarget.Element),{browserEvent:e.browserEvent,element:e.element?e.element.element:null,target:t}}function M(e,t){t(e),e.children.forEach((e=>M(e,t)))}class O{constructor(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new d.Emitter,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){var n;!(null===(n=t)||void 0===n?void 0:n.__forceEvent)&&(0,g.equals)(this.nodes,e)||this._set(e,!1,t)}_set(e,t,n){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:n})}}get(){return this.elements||(this.elements=this.nodes.map((e=>e.element))),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(!this.identityProvider){const e=this.createNodeSet(),n=t=>e.delete(t);return t.forEach((e=>M(e,n))),void this.set([...e.values()])}const n=new Set,i=e=>n.add(this.identityProvider.getId(e.element).toString());t.forEach((e=>M(e,i)));const o=new Map,r=e=>o.set(this.identityProvider.getId(e.element).toString(),e);e.forEach((e=>M(e,r)));const s=[];for(const e of this.nodes){const t=this.identityProvider.getId(e.element).toString();if(n.has(t)){const e=o.get(t);e&&s.push(e)}else s.push(e)}this._set(s,!0)}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class P extends l.MouseController{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if((0,l.isInputElement)(e.browserEvent.target)||(0,l.isMonacoEditor)(e.browserEvent.target))return;const t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const n=e.browserEvent.target,i=n.classList.contains("monaco-tl-twistie")||n.classList.contains("monaco-icon-label")&&n.classList.contains("folder-icon")&&e.browserEvent.offsetX<16;let o=!1;if(o="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick,o&&!i&&2!==e.browserEvent.detail)return super.onViewPointer(e);if(this.tree.expandOnlyOnDoubleClick&&2!==e.browserEvent.detail&&!i)return super.onViewPointer(e);if(t.collapsible){const n=this.tree.model,r=n.getNodeLocation(t),s=e.browserEvent.altKey;if(n.setCollapsed(r,void 0,s),o&&i)return}super.onViewPointer(e)}onDoubleClick(e){e.browserEvent.target.classList.contains("monaco-tl-twistie")||super.onDoubleClick(e)}}class F extends l.List{constructor(e,t,n,i,o,r,s){super(e,t,n,i,s),this.focusTrait=o,this.selectionTrait=r}createMouseController(e){return new P(this,e.tree)}splice(e,t,n=[]){if(super.splice(e,t,n),0===n.length)return;const i=[],o=[];n.forEach(((t,n)=>{this.focusTrait.has(t)&&i.push(e+n),this.selectionTrait.has(t)&&o.push(e+n)})),i.length>0&&super.setFocus((0,g.distinctES6)([...super.getFocus(),...i])),o.length>0&&super.setSelection((0,g.distinctES6)([...super.getSelection(),...o]))}setFocus(e,t,n=!1){super.setFocus(e,t),n||this.focusTrait.set(e.map((e=>this.element(e))),t)}setSelection(e,t,n=!1){super.setSelection(e,t),n||this.selectionTrait.set(e.map((e=>this.element(e))),t)}}class z{constructor(e,t,n,o,r={}){this._options=r,this.eventBufferer=new d.EventBufferer,this.disposables=new a.DisposableStore,this._onWillRefilter=new d.Emitter,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new d.Emitter;const s=new T(n),u=new d.Relay,p=new d.Relay,g=new I(p.event);this.renderers=o.map((e=>new D(e,(()=>this.model),u.event,g,r)));for(let e of this.renderers)this.disposables.add(e);let m;r.keyboardNavigationLabelProvider&&(m=new L(this,r.keyboardNavigationLabelProvider,r.filter),r=Object.assign(Object.assign({},r),{filter:m}),this.disposables.add(m)),this.focus=new O(r.identityProvider),this.selection=new O(r.identityProvider),this.view=new F(e,t,s,this.renderers,this.focus,this.selection,Object.assign(Object.assign({},function(e,t){return t&&Object.assign(Object.assign({},t),{identityProvider:t.identityProvider&&{getId:e=>t.identityProvider.getId(e.element)},dnd:t.dnd&&new k(e,t.dnd),multipleSelectionController:t.multipleSelectionController&&{isSelectionSingleChangeEvent:e=>t.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element})),isSelectionRangeChangeEvent:e=>t.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},accessibilityProvider:t.accessibilityProvider&&Object.assign(Object.assign({},t.accessibilityProvider),{getSetSize(t){const n=e(),i=n.getNodeLocation(t),o=n.getParentNodeLocation(i);return n.getNode(o).visibleChildrenCount},getPosInSet:e=>e.visibleChildIndex+1,isChecked:t.accessibilityProvider&&t.accessibilityProvider.isChecked?e=>t.accessibilityProvider.isChecked(e.element):void 0,getRole:t.accessibilityProvider&&t.accessibilityProvider.getRole?e=>t.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel:e=>t.accessibilityProvider.getAriaLabel(e.element),getWidgetAriaLabel:()=>t.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:t.accessibilityProvider&&t.accessibilityProvider.getWidgetRole?()=>t.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:t.accessibilityProvider&&t.accessibilityProvider.getAriaLevel?e=>t.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:t.accessibilityProvider.getActiveDescendantId&&(e=>t.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:e=>t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}),enableKeyboardNavigation:t.simpleKeyboardNavigation})}((()=>this.model),r)),{tree:this})),this.model=this.createModel(e,this.view,r),u.input=this.model.onDidChangeCollapseState;const f=d.Event.forEach(this.model.onDidSplice,(e=>{this.eventBufferer.bufferEvents((()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)}))}));if(f((()=>null),null,this.disposables),p.input=d.Event.chain(d.Event.any(f,this.focus.onDidChange,this.selection.onDidChange)).debounce((()=>null),0).map((()=>{const e=new Set;for(const t of this.focus.getNodes())e.add(t);for(const t of this.selection.getNodes())e.add(t);return[...e.values()]})).event,!1!==r.keyboardSupport){const e=d.Event.chain(this.view.onKeyDown).filter((e=>!(0,l.isInputElement)(e.target))).map((e=>new h.StandardKeyboardEvent(e)));e.filter((e=>15===e.keyCode)).on(this.onLeftArrow,this,this.disposables),e.filter((e=>17===e.keyCode)).on(this.onRightArrow,this,this.disposables),e.filter((e=>10===e.keyCode)).on(this.onSpace,this,this.disposables)}if(r.keyboardNavigationLabelProvider){const e=r.keyboardNavigationDelegate||l.DefaultKeyboardNavigationDelegate;this.typeFilterController=new R(this,this.model,this.view,m,e),this.focusNavigationFilter=e=>this.typeFilterController.shouldAllowFocus(e),this.disposables.add(this.typeFilterController)}this.styleElement=(0,c.createStyleSheet)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===i.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return d.Event.map(this.view.onMouseDblClick,N)}get onPointer(){return d.Event.map(this.view.onPointer,N)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnlyOnDoubleClick(){var e;return null!==(e=this._options.expandOnlyOnDoubleClick)&&void 0!==e&&e}get expandOnlyOnTwistieClick(){return void 0!==this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation,smoothScrolling:this._options.smoothScrolling,horizontalScrolling:this._options.horizontalScrolling}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===i.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){this.view.layout(e,t)}style(e){const t=`.${this.view.domId}`,n=[];e.treeIndentGuidesStroke&&(n.push(`.monaco-list${t}:hover .monaco-tl-indent > .indent-guide, .monaco-list${t}.always .monaco-tl-indent > .indent-guide  { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),n.push(`.monaco-list${t} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=n.join("\n"),this.view.style(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){const n=e.map((e=>this.model.getNode(e)));this.selection.set(n,t);const i=e.map((e=>this.model.getListIndex(e))).filter((e=>e>-1));this.view.setSelection(i,t,!0)}getSelection(){return this.selection.get()}setFocus(e,t){const n=e.map((e=>this.model.getNode(e)));this.focus.set(n,t);const i=e.map((e=>this.model.getListIndex(e))).filter((e=>e>-1));this.view.setFocus(i,t,!0)}focusNext(e=1,t=!1,n,i=this.focusNavigationFilter){this.view.focusNext(e,t,n,i)}getFocus(){return this.focus.get()}reveal(e,t){this.model.expandTo(e);const n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)}getRelativeTop(e){const t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)}onLeftArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!0)){const e=this.model.getParentNodeLocation(i);if(!e)return;const t=this.model.getListIndex(e);this.view.reveal(t),this.view.setFocus([t])}}onRightArrow(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!1)){if(!n.children.some((e=>e.visible)))return;const[e]=this.view.getFocus(),t=e+1;this.view.reveal(t),this.view.setFocus([t])}}onSpace(e){e.preventDefault(),e.stopPropagation();const t=this.view.getFocusedElements();if(0===t.length)return;const n=t[0],i=this.model.getNodeLocation(n),o=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,o)}dispose(){(0,a.dispose)(this.disposables),this.view.dispose()}}},74904:function(e,t,n){"use strict";n.r(t),n.d(t,{AsyncDataTree:function(){return E},CompressibleAsyncDataTree:function(){return I}});var i=n(72665),o=n(22481),r=n(23877),s=n(68921),a=n(63801),l=n(66129),c=n(24417),d=n(75291),h=n(12718),u=n(49517),p=n(98285),g=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function m(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function f(e,t){return!!t.parent&&(t.parent===e||f(e,t.parent))}class b{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map((e=>new b(e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class v{constructor(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?(t.classList.add(...p.treeItemLoadingIcon.classNamesArray),!0):(t.classList.remove(...p.treeItemLoadingIcon.classNamesArray),!1)}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function _(e){return{browserEvent:e.browserEvent,elements:e.elements.map((e=>e.element))}}function w(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class y extends d.ElementsDragAndDropData{constructor(e){super(e.elements.map((e=>e.element))),this.data=e}}function A(e){return e instanceof d.ElementsDragAndDropData?new y(e):e}class C{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((e=>e.element)),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(A(e),t)}onDragOver(e,t,n,i,o=!0){return this.dnd.onDragOver(A(e),t&&t.element,n,i)}drop(e,t,n,i){this.dnd.drop(A(e),t&&t.element,n,i)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function S(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:t=>e.identityProvider.getId(t.element)},dnd:e.dnd&&new C(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:t=>e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element})),isSelectionRangeChangeEvent:t=>e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var n;return!!(null===(n=e.accessibilityProvider)||void 0===n?void 0:n.isChecked(t.element))}:void 0,getAriaLabel:t=>e.accessibilityProvider.getAriaLabel(t.element),getWidgetAriaLabel:()=>e.accessibilityProvider.getWidgetAriaLabel(),getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter:(t,n)=>e.filter.filter(t.element,n)},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function x(e,t){t(e),e.children.forEach((e=>x(e,t)))}class E{constructor(e,t,n,i,o,l={}){this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new a.Emitter,this._onDidChangeNodeSlowState=new a.Emitter,this.nodeMapper=new r.WeakMapper((e=>new b(e))),this.disposables=new s.DisposableStore,this.identityProvider=l.identityProvider,this.autoExpandSingleChildren=void 0!==l.autoExpandSingleChildren&&l.autoExpandSingleChildren,this.sorter=l.sorter,this.collapseByDefault=l.collapseByDefault,this.tree=this.createTree(e,t,n,i,l),this.root=m({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return a.Event.map(this.tree.onDidChangeFocus,_)}get onDidChangeSelection(){return a.Event.map(this.tree.onDidChangeSelection,_)}get onMouseDblClick(){return a.Event.map(this.tree.onMouseDblClick,w)}get onPointer(){return a.Event.map(this.tree.onPointer,w)}get onDidFocus(){return this.tree.onDidFocus}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,n,r,s){const a=new i.ComposedTreeDelegate(n),l=r.map((e=>new v(e,this.nodeMapper,this._onDidChangeNodeSlowState.event))),c=S(s)||{};return new o.ObjectTree(e,t,a,l,c)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return g(this,void 0,void 0,(function*(){this.refreshPromises.forEach((e=>e.cancel())),this.refreshPromises.clear(),this.root.element=e;const n=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,n),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}))}_updateChildren(e=this.root.element,t=!0,n=!1,i,o){return g(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new r.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield a.Event.toPromise(this._onDidRender.event));const s=this.getDataNode(e);if(yield this.refreshAndRenderNode(s,t,i,o),n)try{this.tree.rerender(s)}catch(e){}}))}rerender(e){if(void 0===e||e===this.root.element)return void this.tree.rerender();const t=this.getDataNode(e);this.tree.rerender(t)}collapse(e,t=!1){const n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)}expand(e,t=!1){return g(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new r.TreeError(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield a.Event.toPromise(this._onDidRender.event));const n=this.getDataNode(e);if(this.tree.hasElement(n)&&!this.tree.isCollapsible(n))return!1;if(n.refreshPromise&&(yield this.root.refreshPromise,yield a.Event.toPromise(this._onDidRender.event)),n!==this.root&&!n.refreshPromise&&!this.tree.isCollapsed(n))return!1;const i=this.tree.expand(n===this.root?null:n,t);return n.refreshPromise&&(yield this.root.refreshPromise,yield a.Event.toPromise(this._onDidRender.event)),i}))}setSelection(e,t){const n=e.map((e=>this.getDataNode(e)));this.tree.setSelection(n,t)}getSelection(){return this.tree.getSelection().map((e=>e.element))}setFocus(e,t){const n=e.map((e=>this.getDataNode(e)));this.tree.setFocus(n,t)}getFocus(){return this.tree.getFocus().map((e=>e.element))}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getDataNode(e){const t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new r.TreeError(this.user,`Data tree node not found: ${e}`);return t}refreshAndRenderNode(e,t,n,i){return g(this,void 0,void 0,(function*(){yield this.refreshNode(e,t,n),this.render(e,n,i)}))}refreshNode(e,t,n){return g(this,void 0,void 0,(function*(){let i;return this.subTreeRefreshPromises.forEach(((o,r)=>{!i&&function(e,t){return e===t||f(e,t)||f(t,e)}(r,e)&&(i=o.then((()=>this.refreshNode(e,t,n))))})),i||this.doRefreshSubTree(e,t,n)}))}doRefreshSubTree(e,t,n){return g(this,void 0,void 0,(function*(){let i;e.refreshPromise=new Promise((e=>i=e)),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally((()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)}));try{const o=yield this.doRefreshNode(e,t,n);e.stale=!1,yield Promise.all(o.map((e=>this.doRefreshSubTree(e,t,n))))}finally{i()}}))}doRefreshNode(e,t,n){return g(this,void 0,void 0,(function*(){let i;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){const t=(0,l.timeout)(800);t.then((()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)}),(e=>null)),i=this.doGetChildren(e).finally((()=>t.cancel()))}else i=Promise.resolve(c.Iterable.empty());try{const o=yield i;return this.setChildren(e,o,t,n)}catch(t){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),(0,h.isPromiseCanceledError)(t))return[];throw t}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}))}doGetChildren(e){let t=this.refreshPromises.get(e);return t||(t=(0,l.createCancelablePromise)((()=>g(this,void 0,void 0,(function*(){const t=yield this.dataSource.getChildren(e.element);return this.processChildren(t)})))),this.refreshPromises.set(e,t),t.finally((()=>{this.refreshPromises.delete(e)})))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(h.onUnexpectedError))}setChildren(e,t,n,i){const o=[...t];if(0===e.children.length&&0===o.length)return[];const r=new Map,s=new Map;for(const t of e.children)if(r.set(t.element,t),this.identityProvider){const e=this.tree.isCollapsed(t);s.set(t.id,{node:t,collapsed:e})}const a=[],l=o.map((t=>{const o=!!this.dataSource.hasChildren(t);if(!this.identityProvider){const n=m({element:t,parent:e,hasChildren:o});return o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(n.collapsedByDefault=!1,a.push(n)),n}const l=this.identityProvider.getId(t).toString(),c=s.get(l);if(c){const e=c.node;return r.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=o,n?c.collapsed?(e.children.forEach((e=>x(e,(e=>this.nodes.delete(e.element))))),e.children.splice(0,e.children.length),e.stale=!0):a.push(e):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,a.push(e)),e}const d=m({element:t,parent:e,id:l,hasChildren:o});return i&&i.viewState.focus&&i.viewState.focus.indexOf(l)>-1&&i.focus.push(d),i&&i.viewState.selection&&i.viewState.selection.indexOf(l)>-1&&i.selection.push(d),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(l)>-1?a.push(d):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(d.collapsedByDefault=!1,a.push(d)),d}));for(const e of r.values())x(e,(e=>this.nodes.delete(e.element)));for(const e of l)this.nodes.set(e.element,e);return e.children.splice(0,e.children.length,...l),e!==this.root&&this.autoExpandSingleChildren&&1===l.length&&0===a.length&&(l[0].collapsedByDefault=!1,a.push(l[0])),a}render(e,t,n){const i=e.children.map((e=>this.asTreeElement(e,t))),o=n&&Object.assign(Object.assign({},n),{diffIdentityProvider:n.diffIdentityProvider&&{getId:e=>n.diffIdentityProvider.getId(e.element)}});this.tree.setChildren(e===this.root?null:e,i,o),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let n;return n=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?c.Iterable.map(e.children,(e=>this.asTreeElement(e,t))):[],collapsible:e.hasChildren,collapsed:n}}processChildren(e){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),e}dispose(){this.disposables.dispose()}}class k{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map((e=>e.element)),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map((e=>new k(e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class T{constructor(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)}renderCompressedElements(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}renderTwistie(e,t){return e.slow?(t.classList.add(...p.treeItemLoadingIcon.classNamesArray),!0):(t.classList.remove(...p.treeItemLoadingIcon.classNamesArray),!1)}disposeElement(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)}disposeCompressedElements(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=(0,s.dispose)(this.disposables)}}class I extends E{constructor(e,t,n,i,o,s,a={}){super(e,t,n,o,s,a),this.compressionDelegate=i,this.compressibleNodeMapper=new r.WeakMapper((e=>new k(e))),this.filter=a.filter}createTree(e,t,n,r,s){const a=new i.ComposedTreeDelegate(n),l=r.map((e=>new T(e,this.nodeMapper,(()=>this.compressibleNodeMapper),this._onDidChangeNodeSlowState.event))),c=function(e){const t=e&&S(e);return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:t=>e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map((e=>e.element)))})})}(s)||{};return new o.CompressibleObjectTree(e,t,a,l,c)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const n=e=>this.identityProvider.getId(e).toString(),i=e=>{const t=new Set;for(const i of e){const e=this.tree.getCompressedTreeNode(i===this.root?null:i);if(e.element)for(const i of e.element.elements)t.add(n(i.element))}return t},o=i(this.tree.getSelection()),r=i(this.tree.getFocus());super.render(e,t);const s=this.getSelection();let a=!1;const l=this.getFocus();let c=!1;const d=e=>{const t=e.element;if(t)for(let e=0;e{const t="boolean"==typeof(n=this.filter.filter(e,1))?n?1:0:(0,u.isFilterResult)(n)?(0,u.getVisibleState)(n.visibility):(0,u.getVisibleState)(n);var n;if(2===t)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===t}))),super.processChildren(e)}}},41605:function(e,t,n){"use strict";n.r(t),n.d(t,{compress:function(){return l},decompress:function(){return d},CompressedObjectTreeModel:function(){return u},DefaultElementMapper:function(){return p},CompressibleObjectTreeModel:function(){return m}});var i=n(24417),o=n(63801),r=n(23877),s=n(63735);function a(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:i.Iterable.map(i.Iterable.from(e.children),a),collapsible:e.collapsible,collapsed:e.collapsed}}function l(e){const t=[e.element],n=e.incompressible||!1;let o,r;for(;[r,o]=i.Iterable.consume(i.Iterable.from(e.children),2),1===r.length&&!r[0].incompressible;)e=r[0],t.push(e.element);return{element:{elements:t,incompressible:n},children:i.Iterable.map(i.Iterable.concat(r,o),l),collapsible:e.collapsible,collapsed:e.collapsed}}function c(e,t=0){let n;return n=tc(e,0))),0===t&&e.element.incompressible?{element:e.element.elements[t],children:n,incompressible:!0,collapsible:e.collapsible,collapsed:e.collapsed}:{element:e.element.elements[t],children:n,collapsible:e.collapsible,collapsed:e.collapsed}}function d(e){return c(e,0)}function h(e,t,n){return e.element===t?Object.assign(Object.assign({},e),{children:n}):Object.assign(Object.assign({},e),{children:i.Iterable.map(i.Iterable.from(e.children),(e=>h(e,t,n)))})}class u{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new s.ObjectTreeModel(e,t,n),this.enabled=void 0===n.compressionEnabled||n.compressionEnabled,this.identityProvider=n.identityProvider}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=i.Iterable.empty(),n){const o=n.diffIdentityProvider&&(r=n.diffIdentityProvider,{getId:e=>e.elements.map((e=>r.getId(e).toString())).join("\0")});var r;if(null===e){const e=i.Iterable.map(t,this.enabled?l:a);return void this._setChildren(null,e,{diffIdentityProvider:o,diffDepth:1/0})}const s=this.nodes.get(e);if(!s)throw new Error("Unknown compressed tree node");const c=this.model.getNode(s),u=this.model.getParentNodeLocation(s),p=this.model.getNode(u),g=h(d(c),e,t),m=(this.enabled?l:a)(g),f=p.children.map((e=>e===c?m:e));this._setChildren(p.element,f,{diffIdentityProvider:o,diffDepth:c.depth-p.depth})}setCompressionEnabled(e){if(e===this.enabled)return;this.enabled=e;const t=this.model.getNode().children,n=i.Iterable.map(t,d),o=i.Iterable.map(n,e?l:a);this._setChildren(null,o,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(e,t,n){const i=new Set;this.model.setChildren(e,t,Object.assign(Object.assign({},n),{onDidCreateNode:e=>{for(const t of e.element.elements)i.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(const t of e.element.elements)i.has(t)||this.nodes.delete(t)}}))}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getCompressedNode(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getCompressedNode(e);return this.model.getListRenderCount(t)}getNode(e){if(void 0===e)return this.model.getNode();const t=this.getCompressedNode(e);return this.model.getNode(t)}getNodeLocation(e){const t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]}getParentNodeLocation(e){const t=this.getCompressedNode(e),n=this.model.getParentNodeLocation(t);return null===n?null:n.elements[n.elements.length-1]}isCollapsible(e){const t=this.getCompressedNode(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getCompressedNode(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getCompressedNode(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getCompressedNode(e);this.model.expandTo(t)}rerender(e){const t=this.getCompressedNode(e);this.model.rerender(t)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;const t=this.nodes.get(e);if(!t)throw new r.TreeError(this.user,`Tree element not found: ${e}`);return t}}const p=e=>e[e.length-1];class g{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map((e=>new g(this.unwrapper,e)))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class m{constructor(e,t,n={}){this.rootRef=null,this.elementMapper=n.elementMapper||p;const i=e=>this.elementMapper(e.elements);this.nodeMapper=new r.WeakMapper((e=>new g(i,e))),this.model=new u(e,function(e,t){return{splice(n,i,o){t.splice(n,i,o.map((t=>e.map(t))))},updateElementHeight(e,n){t.updateElementHeight(e,n)}}}(this.nodeMapper,t),function(e,t){return Object.assign(Object.assign({},t),{identityProvider:t.identityProvider&&{getId:n=>t.identityProvider.getId(e(n))},sorter:t.sorter&&{compare:(e,n)=>t.sorter.compare(e.elements[0],n.elements[0])},filter:t.filter&&{filter:(n,i)=>t.filter.filter(e(n),i)}})}(i,n))}get onDidSplice(){return o.Event.map(this.model.onDidSplice,(({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map((e=>this.nodeMapper.map(e))),deletedNodes:t.map((e=>this.nodeMapper.map(e)))})))}get onDidChangeCollapseState(){return o.Event.map(this.model.onDidChangeCollapseState,(({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t})))}get onDidChangeRenderNodeCount(){return o.Event.map(this.model.onDidChangeRenderNodeCount,(e=>this.nodeMapper.map(e)))}setChildren(e,t=i.Iterable.empty(),n={}){this.model.setChildren(e,t,n)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,n){return this.model.setCollapsed(e,t,n)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}},35313:function(e,t,n){"use strict";n.r(t),n.d(t,{DataTree:function(){return r}});var i=n(72665),o=n(63735);class r extends i.AbstractTree{constructor(e,t,n,i,o,r={}){super(e,t,n,i,r),this.user=e,this.dataSource=o,this.identityProvider=r.identityProvider}createModel(e,t,n){return new o.ObjectTreeModel(e,t,n)}}},49517:function(e,t,n){"use strict";n.r(t),n.d(t,{isFilterResult:function(){return l},getVisibleState:function(){return c},IndexTreeModel:function(){return h}});var i=n(23877),o=n(64998),r=n(11914),s=n(63801),a=n(24417);function l(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function c(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function d(e){return"boolean"==typeof e.collapsible}class h{constructor(e,t,n,i={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new s.EventBufferer,this._onDidChangeCollapseState=new s.Emitter,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new s.Emitter,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new s.Emitter,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==i.collapseByDefault&&i.collapseByDefault,this.filter=i.filter,this.autoExpandSingleChildren=void 0!==i.autoExpandSingleChildren&&i.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,n=a.Iterable.empty(),o={}){if(0===e.length)throw new i.TreeError(this.user,"Invalid tree location");o.diffIdentityProvider?this.spliceSmart(o.diffIdentityProvider,e,t,n,o):this.spliceSimple(e,t,n,o)}spliceSmart(e,t,n,i,o,s){var l;void 0===i&&(i=a.Iterable.empty()),void 0===s&&(s=null!==(l=o.diffDepth)&&void 0!==l?l:0);const{parentNode:c}=this.getParentNodeWithListIndex(t),d=[...i],h=t[t.length-1],u=new r.LcsDiff({getElements:()=>c.children.map((t=>e.getId(t.element).toString()))},{getElements:()=>[...c.children.slice(0,h),...d,...c.children.slice(h+n)].map((t=>e.getId(t.element).toString()))}).ComputeDiff(!1);if(u.quitEarly)return this.spliceSimple(t,n,d,o);const p=t.slice(0,-1),g=(t,n,i)=>{if(s>0)for(let r=0;rt.originalStart-e.originalStart)))g(m,f,m-(e.originalStart+e.originalLength)),m=e.originalStart,f=e.modifiedStart-h,this.spliceSimple([...p,m],e.originalLength,a.Iterable.slice(d,f,f+e.modifiedLength),o);g(m,f,m)}spliceSimple(e,t,n=a.Iterable.empty(),{onDidCreateNode:i,onDidDeleteNode:o}){const{parentNode:r,listIndex:s,revealed:l,visible:c}=this.getParentNodeWithListIndex(e),d=[],h=a.Iterable.map(n,(e=>this.createTreeNode(e,r,r.visible?1:0,l,d,i))),u=e[e.length-1],p=r.children.length>0;let g=0;for(let e=u;e>=0&&ee+(t.visible?t.renderNodeCount:0)),0);this._updateAncestorsRenderNodeCount(r,b-e),this.list.splice(s,e,d)}if(v.length>0&&o){const e=t=>{o(t),t.children.forEach(e)};v.forEach(e)}const w=r.children.length>0;p!==w&&this.setCollapsible(e.slice(0,-1),w),this._onDidSplice.fire({insertedNodes:m,deletedNodes:v});let y=r;for(;y;){if(2===y.visibility){this.refilter();break}y=y.parent}}rerender(e){if(0===e.length)throw new i.TreeError(this.user,"Invalid tree location");const{node:t,listIndex:n,revealed:o}=this.getTreeNodeWithListIndex(e);t.visible&&o&&this.list.splice(n,1,[t])}has(e){return this.hasTreeNode(e)}getListIndex(e){const{listIndex:t,visible:n,revealed:i}=this.getTreeNodeWithListIndex(e);return n&&i?t:-1}getListRenderCount(e){return this.getTreeNode(e).renderNodeCount}isCollapsible(e){return this.getTreeNode(e).collapsible}setCollapsible(e,t){const n=this.getTreeNode(e);void 0===t&&(t=!n.collapsible);const i={collapsible:t};return this.eventBufferer.bufferEvents((()=>this._setCollapseState(e,i)))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,n){const i=this.getTreeNode(e);void 0===t&&(t=!i.collapsed);const o={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents((()=>this._setCollapseState(e,o)))}_setCollapseState(e,t){const{node:n,listIndex:i,revealed:o}=this.getTreeNodeWithListIndex(e),r=this._setListNodeCollapseState(n,i,o,t);if(n!==this.root&&this.autoExpandSingleChildren&&r&&!d(t)&&n.collapsible&&!n.collapsed&&!t.recursive){let i=-1;for(let e=0;e-1){i=-1;break}i=e}i>-1&&this._setCollapseState([...e,i],t)}return r}_setListNodeCollapseState(e,t,n,i){const o=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!o)return o;const r=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),a=r-(-1===t?0:1);return this.list.splice(t+1,a,s.slice(1)),o}_setNodeCollapseState(e,t,n){let i;if(e===this.root?i=!1:(d(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!d(t)&&t.recursive)for(const n of e.children)i=this._setNodeCollapseState(n,t,!0)||i;return i}expandTo(e){this.eventBufferer.bufferEvents((()=>{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})}))}refilter(){const e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)}createTreeNode(e,t,n,i,o,r){const s={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},l=this._filterNode(s,n);s.visibility=l,i&&o.push(s);const c=e.children||a.Iterable.empty(),d=i&&0!==l&&!s.collapsed,h=a.Iterable.map(c,(e=>this.createTreeNode(e,s,l,d,o,r)));let u=0,p=1;for(const e of h)s.children.push(e),p+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=u++);return s.collapsible=s.collapsible||s.children.length>0,s.visibleChildrenCount=u,s.visible=2===l?u>0:1===l,s.visible?s.collapsed||(s.renderNodeCount=p):(s.renderNodeCount=0,i&&o.pop()),r&&r(s),s}updateNodeAfterCollapseChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterCollapseChange(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(const n of e.children)e.renderNodeCount+=this._updateNodeAfterCollapseChange(n,t);return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount}updateNodeAfterFilterChange(e){const t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n}_updateNodeAfterFilterChange(e,t,n,i=!0){let o;if(e!==this.root){if(o=this._filterNode(e,t),0===o)return e.visible=!1,e.renderNodeCount=0,!1;i&&n.push(e)}const r=n.length;e.renderNodeCount=e===this.root?0:1;let s=!1;if(e.collapsed&&0===o)e.visibleChildrenCount=0;else{let t=0;for(const r of e.children)s=this._updateNodeAfterFilterChange(r,o,n,i&&!e.collapsed)||s,r.visible&&(r.visibleChildIndex=t++);e.visibleChildrenCount=t}return e!==this.root&&(e.visible=2===o?s:1===o),e.visible?e.collapsed||(e.renderNodeCount+=n.length-r):(e.renderNodeCount=0,i&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible}_updateAncestorsRenderNodeCount(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent}_filterNode(e,t){const n=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof n?(e.filterData=void 0,n?1:0):l(n)?(e.filterData=n.data,c(n.visibility)):(e.filterData=void 0,c(n))}hasTreeNode(e,t=this.root){if(!e||0===e.length)return!0;const[n,...i]=e;return!(n<0||n>t.children.length)&&this.hasTreeNode(i,t.children[n])}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;const[n,...o]=e;if(n<0||n>t.children.length)throw new i.TreeError(this.user,"Invalid tree location");return this.getTreeNode(o,t.children[n])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:t,listIndex:n,revealed:o,visible:r}=this.getParentNodeWithListIndex(e),s=e[e.length-1];if(s<0||s>t.children.length)throw new i.TreeError(this.user,"Invalid tree location");const a=t.children[s];return{node:a,listIndex:n,revealed:o,visible:r&&a.visible}}getParentNodeWithListIndex(e,t=this.root,n=0,o=!0,r=!0){const[s,...a]=e;if(s<0||s>t.children.length)throw new i.TreeError(this.user,"Invalid tree location");for(let e=0;e=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);r>3&&s&&Object.defineProperty(t,n,s)}([a.memoize],c.prototype,"compressedTreeNodeProvider",null);class d extends l{constructor(e,t,n,i,o={}){const r=()=>this;super(e,t,n,i.map((e=>new c(r,e))),function(e,t){return t&&Object.assign(Object.assign({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(n){let i;try{i=e().getCompressedTreeNode(n)}catch(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===i.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}})}(r,o))}setChildren(e,t=i.Iterable.empty(),n){this.model.setChildren(e,t,n)}createModel(e,t,n){return new s.CompressibleObjectTreeModel(e,t,n)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}},63735:function(e,t,n){"use strict";n.r(t),n.d(t,{ObjectTreeModel:function(){return a}});var i=n(24417),o=n(49517),r=n(23877),s=n(64998);class a{constructor(e,t,n={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new o.IndexTreeModel(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare:(e,t)=>n.sorter.compare(e.element,t.element)}),this.identityProvider=n.identityProvider}setChildren(e,t=i.Iterable.empty(),n={}){const o=this.getElementLocation(e);this._setChildren(o,this.preserveCollapseState(t),n)}_setChildren(e,t=i.Iterable.empty(),n){const o=new Set,r=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,Object.assign(Object.assign({},n),{onDidCreateNode:e=>{var t;if(null===e.element)return;const i=e;if(o.add(i.element),this.nodes.set(i.element,i),this.identityProvider){const e=this.identityProvider.getId(i.element).toString();r.add(e),this.nodesByIdentity.set(e,i)}null===(t=n.onDidCreateNode)||void 0===t||t.call(n,i)},onDidDeleteNode:e=>{var t;if(null===e.element)return;const i=e;if(o.has(i.element)||this.nodes.delete(i.element),this.identityProvider){const e=this.identityProvider.getId(i.element).toString();r.has(e)||this.nodesByIdentity.delete(e)}null===(t=n.onDidDeleteNode)||void 0===t||t.call(n,i)}}))}preserveCollapseState(e=i.Iterable.empty()){return this.sorter&&(e=(0,s.mergeSort)([...e],this.sorter.compare.bind(this.sorter))),i.Iterable.map(e,(e=>{let t=this.nodes.get(e.element);if(!t&&this.identityProvider){const n=this.identityProvider.getId(e.element).toString();t=this.nodesByIdentity.get(n)}if(!t)return Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)});const n="boolean"==typeof e.collapsible?e.collapsible:t.collapsible,i=void 0!==e.collapsed?e.collapsed:t.collapsed;return Object.assign(Object.assign({},e),{collapsible:n,collapsed:i,children:this.preserveCollapseState(e.children)})}))}rerender(e){const t=this.getElementLocation(e);this.model.rerender(t)}has(e){return this.nodes.has(e)}getListIndex(e){const t=this.getElementLocation(e);return this.model.getListIndex(t)}getListRenderCount(e){const t=this.getElementLocation(e);return this.model.getListRenderCount(t)}isCollapsible(e){const t=this.getElementLocation(e);return this.model.isCollapsible(t)}setCollapsible(e,t){const n=this.getElementLocation(e);return this.model.setCollapsible(n,t)}isCollapsed(e){const t=this.getElementLocation(e);return this.model.isCollapsed(t)}setCollapsed(e,t,n){const i=this.getElementLocation(e);return this.model.setCollapsed(i,t,n)}expandTo(e){const t=this.getElementLocation(e);this.model.expandTo(t)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);const t=this.nodes.get(e);if(!t)throw new r.TreeError(this.user,`Tree element not found: ${e}`);return t}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new r.TreeError(this.user,"Invalid getParentNodeLocation call");const t=this.nodes.get(e);if(!t)throw new r.TreeError(this.user,`Tree element not found: ${e}`);const n=this.model.getNodeLocation(t),i=this.model.getParentNodeLocation(n);return this.model.getNode(i).element}getElementLocation(e){if(null===e)return[];const t=this.nodes.get(e);if(!t)throw new r.TreeError(this.user,`Tree element not found: ${e}`);return this.model.getNodeLocation(t)}}},23877:function(e,t,n){"use strict";var i;n.r(t),n.d(t,{TreeMouseEventTarget:function(){return i},TreeError:function(){return o},WeakMapper:function(){return r}}),function(e){e[e.Unknown=0]="Unknown",e[e.Twistie=1]="Twistie",e[e.Element=2]="Element"}(i||(i={}));class o extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class r{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}},98285:function(e,t,n){"use strict";n.r(t),n.d(t,{treeItemExpandedIcon:function(){return o},treeFilterOnTypeOnIcon:function(){return r},treeFilterOnTypeOffIcon:function(){return s},treeFilterClearIcon:function(){return a},treeItemLoadingIcon:function(){return l}});var i=n(56087);const o=(0,i.registerCodicon)("tree-item-expanded",i.Codicon.chevronDown),r=(0,i.registerCodicon)("tree-filter-on-type-on",i.Codicon.listFilter),s=(0,i.registerCodicon)("tree-filter-on-type-off",i.Codicon.listSelection),a=(0,i.registerCodicon)("tree-filter-clear",i.Codicon.close),l=(0,i.registerCodicon)("tree-item-loading",i.Codicon.loading)},47257:function(e,t,n){"use strict";n.r(t),n.d(t,{Widget:function(){return l}});var i=n(96747),o=n(8769),r=n(5642),s=n(68921),a=n(4043);class l extends s.Disposable{onclick(e,t){this._register(i.addDisposableListener(e,i.EventType.CLICK,(e=>t(new r.StandardMouseEvent(e)))))}onmousedown(e,t){this._register(i.addDisposableListener(e,i.EventType.MOUSE_DOWN,(e=>t(new r.StandardMouseEvent(e)))))}onmouseover(e,t){this._register(i.addDisposableListener(e,i.EventType.MOUSE_OVER,(e=>t(new r.StandardMouseEvent(e)))))}onnonbubblingmouseout(e,t){this._register(i.addDisposableNonBubblingMouseOutListener(e,(e=>t(new r.StandardMouseEvent(e)))))}onkeydown(e,t){this._register(i.addDisposableListener(e,i.EventType.KEY_DOWN,(e=>t(new o.StandardKeyboardEvent(e)))))}onkeyup(e,t){this._register(i.addDisposableListener(e,i.EventType.KEY_UP,(e=>t(new o.StandardKeyboardEvent(e)))))}oninput(e,t){this._register(i.addDisposableListener(e,i.EventType.INPUT,t))}onblur(e,t){this._register(i.addDisposableListener(e,i.EventType.BLUR,t))}onfocus(e,t){this._register(i.addDisposableListener(e,i.EventType.FOCUS,t))}ignoreGesture(e){a.Gesture.ignoreTarget(e)}}},60969:function(e,t,n){"use strict";n.r(t),n.d(t,{Action:function(){return a},ActionRunner:function(){return l},Separator:function(){return c},SubmenuAction:function(){return d},EmptySubmenuAction:function(){return h}});var i=n(89982),o=n(68921),r=n(63801),s=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class a extends o.Disposable{constructor(e,t="",n="",i=!0,o){super(),this._onDidChange=this._register(new r.Emitter),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._checked=!1,this._id=e,this._label=t,this._cssClass=n,this._enabled=i,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)}}class l extends o.Disposable{constructor(){super(...arguments),this._onBeforeRun=this._register(new r.Emitter),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new r.Emitter),this.onDidRun=this._onDidRun.event}run(e,t){return s(this,void 0,void 0,(function*(){if(!e.enabled)return Promise.resolve(null);this._onBeforeRun.fire({action:e});try{const n=yield this.runAction(e,t);this._onDidRun.fire({action:e,result:n})}catch(t){this._onDidRun.fire({action:e,error:t})}}))}runAction(e,t){const n=t?e.run(t):e.run();return Promise.resolve(n)}}class c extends a{constructor(e){super(c.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}c.ID="vs.actions.separator";class d{constructor(e,t,n,i){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=e,this.label=t,this.class=i,this._actions=n}dispose(){}get actions(){return this._actions}run(){return s(this,void 0,void 0,(function*(){}))}}class h extends a{constructor(){super(h.ID,i.localize("vs/base/common/actions","submenu.empty","(empty)"),void 0,!1)}}h.ID="vs.actions.empty"},64998:function(e,t,n){"use strict";function i(e,t=0){return e[e.length-(1+t)]}function o(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function r(e,t,n=((e,t)=>e===t)){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0,o=e.length;i0))return r;o=r-1}}return-(i+1)}function a(e,t){let n=0,i=e.length;if(0===i)return 0;for(;n=t.length)throw new TypeError("invalid index");let i=t[Math.floor(t.length*Math.random())],o=[],r=[],s=[];for(let e of t){const t=n(e,i);t<0?o.push(e):t>0?r.push(e):s.push(e)}return ei?e[l]=r[a++]:a>o?e[l]=r[s++]:t(r[a],r[s])<0?e[l]=r[a++]:e[l]=r[s++]}(e,t,n,r,i,o)}function h(e,t){const n=[];let i;for(const o of c(e.slice(0),t))i&&0===t(i[0],o)?i.push(o):(i=[o],n.push(i));return n}function u(e){return e.filter((e=>!!e))}function p(e){return!Array.isArray(e)||0===e.length}function g(e){return Array.isArray(e)&&e.length>0}function m(e,t){if(!t)return e.filter(((t,n)=>e.indexOf(t)===n));const n=Object.create(null);return e.filter((e=>{const i=t(e);return!n[i]&&(n[i]=!0,!0)}))}function f(e){const t=new Set;return e.filter((e=>!t.has(e)&&(t.add(e),!0)))}function b(e,t){return e.length>0?e[0]:t}function v(e){return[].concat(...e)}function _(e,t){let n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);const i=[];if(n<=t)for(let e=n;et;e--)i.push(e);return i}function w(e,t,n){const i=e.slice(0,t),o=e.slice(t);return i.concat(n,o)}function y(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function A(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function C(e){return Array.isArray(e)?e:[e]}n.r(t),n.d(t,{tail:function(){return i},tail2:function(){return o},equals:function(){return r},binarySearch:function(){return s},findFirstInSorted:function(){return a},quickSelect:function(){return l},mergeSort:function(){return c},groupBy:function(){return h},coalesce:function(){return u},isFalsyOrEmpty:function(){return p},isNonEmptyArray:function(){return g},distinct:function(){return m},distinctES6:function(){return f},firstOrDefault:function(){return b},flatten:function(){return v},range:function(){return _},arrayInsert:function(){return w},pushToStart:function(){return y},pushToEnd:function(){return A},asArray:function(){return C}})},86995:function(e,t,n){"use strict";function i(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}n.r(t),n.d(t,{ok:function(){return i}})},66129:function(e,t,n){"use strict";n.r(t),n.d(t,{isThenable:function(){return s},createCancelablePromise:function(){return a},raceCancellation:function(){return l},Delayer:function(){return c},timeout:function(){return d},disposableTimeout:function(){return h},first:function(){return u},TimeoutTimer:function(){return p},IntervalTimer:function(){return g},RunOnceScheduler:function(){return m},runWhenIdle:function(){return f},IdleValue:function(){return b}});var i=n(11256),o=n(12718),r=n(68921);function s(e){return e&&"function"==typeof e.then}function a(e){const t=new i.CancellationTokenSource,n=e(t.token),r=new Promise(((e,i)=>{t.token.onCancellationRequested((()=>{i(o.canceled())})),Promise.resolve(n).then((n=>{t.dispose(),e(n)}),(e=>{t.dispose(),i(e)}))}));return new class{cancel(){t.cancel()}then(e,t){return r.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return r.finally(e)}}}function l(e,t,n){return Promise.race([e,new Promise((e=>t.onCancellationRequested((()=>e(n)))))])}class c{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(((e,t)=>{this.doResolve=e,this.doReject=t})).then((()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const e=this.task;return this.task=null,e()}}))),this.timeout=setTimeout((()=>{this.timeout=null,this.doResolve&&this.doResolve(null)}),t),this.completionPromise}isTriggered(){return null!==this.timeout}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(o.canceled()),this.completionPromise=null)}cancelTimeout(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancelTimeout()}}function d(e,t){return t?new Promise(((n,i)=>{const r=setTimeout(n,e);t.onCancellationRequested((()=>{clearTimeout(r),i(o.canceled())}))})):a((t=>d(e,t)))}function h(e,t=0){const n=setTimeout(e,t);return(0,r.toDisposable)((()=>clearTimeout(n)))}function u(e,t=(e=>!!e),n=null){let i=0;const o=e.length,r=()=>{if(i>=o)return Promise.resolve(n);const s=e[i++];return Promise.resolve(s()).then((e=>t(e)?Promise.resolve(e):r()))};return r()}class p{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout((()=>{this._token=-1,e()}),t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout((()=>{this._token=-1,e()}),t))}}class g{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval((()=>{e()}),t)}}class m{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let f;!function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){const e=Object.freeze({didTimeout:!0,timeRemaining:()=>15});f=t=>{const n=setTimeout((()=>t(e)));let i=!1;return{dispose(){i||(i=!0,clearTimeout(n))}}}}else f=(e,t)=>{const n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0);let i=!1;return{dispose(){i||(i=!0,cancelIdleCallback(n))}}}}();class b{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=f((()=>this._executor()))}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}}},44913:function(e,t,n){"use strict";n.r(t),n.d(t,{VSBuffer:function(){return a},readUInt16LE:function(){return l},writeUInt16LE:function(){return c},readUInt32BE:function(){return d},writeUInt32BE:function(){return h},readUInt8:function(){return u},writeUInt8:function(){return p}});var i=n(91482);const o="undefined"!=typeof Buffer,r="undefined"!=typeof TextDecoder;let s;class a{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(e){return o&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new a(e)}toString(){return o?this.buffer.toString():r?(s||(s=new TextDecoder),s.decode(this.buffer)):i.decodeUTF8(this.buffer)}}function l(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function c(e,t,n){e[n+0]=255&t,t>>>=8,e[n+1]=255&t}function d(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function h(e,t,n){e[n+3]=t,t>>>=8,e[n+2]=t,t>>>=8,e[n+1]=t,t>>>=8,e[n]=t}function u(e,t){return e[t]}function p(e,t,n){e[n]=t}},11256:function(e,t,n){"use strict";n.r(t),n.d(t,{CancellationToken:function(){return r},CancellationTokenSource:function(){return a}});var i=n(63801);const o=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var r;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||t instanceof s||!(!t||"object"!=typeof t)&&"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:i.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o})}(r||(r={}));class s{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?o:(this._emitter||(this._emitter=new i.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new s),this._token}cancel(){this._token?this._token instanceof s&&this._token.cancel():this._token=r.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof s&&this._token.dispose():this._token=r.None}}},56087:function(e,t,n){"use strict";n.r(t),n.d(t,{iconRegistry:function(){return r},registerCodicon:function(){return s},Codicon:function(){return a},CSSIcon:function(){return l}});var i=n(63801);const o=new class{constructor(){this._icons=new Map,this._onDidRegister=new i.Emitter}add(e){const t=this._icons.get(e.id);t?e.description?t.description=e.description:console.error(`Duplicate registration of codicon ${e.id}`):(this._icons.set(e.id,e),this._onDidRegister.fire(e))}get(e){return this._icons.get(e)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}},r=o;function s(e,t){return new a(e,t)}class a{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,o.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var l;!function(e){function t(n){if(n instanceof a)return["codicon","codicon-"+n.id];const i=e.iconIdRegex.exec(n.id);if(!i)return t(a.error);let[,,o,r]=i;const s=["codicon","codicon-"+o];return r&&s.push("codicon-modifier-"+r),s}e.iconIdRegex=/^(codicon\/)?([a-z\-]+)(?:~([a-z\-]+))?$/i,e.asClassNameArray=t,e.asClassName=function(e){return t(e).join(" ")},e.asCSSSelector=function(e){return"."+t(e).join(".")}}(l||(l={})),function(e){e.add=new e("add",{character:"\\ea60"}),e.plus=new e("plus",{character:"\\ea60"}),e.gistNew=new e("gist-new",{character:"\\ea60"}),e.repoCreate=new e("repo-create",{character:"\\ea60"}),e.lightbulb=new e("lightbulb",{character:"\\ea61"}),e.lightBulb=new e("light-bulb",{character:"\\ea61"}),e.repo=new e("repo",{character:"\\ea62"}),e.repoDelete=new e("repo-delete",{character:"\\ea62"}),e.gistFork=new e("gist-fork",{character:"\\ea63"}),e.repoForked=new e("repo-forked",{character:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{character:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{character:"\\ea64"}),e.recordKeys=new e("record-keys",{character:"\\ea65"}),e.keyboard=new e("keyboard",{character:"\\ea65"}),e.tag=new e("tag",{character:"\\ea66"}),e.tagAdd=new e("tag-add",{character:"\\ea66"}),e.tagRemove=new e("tag-remove",{character:"\\ea66"}),e.person=new e("person",{character:"\\ea67"}),e.personAdd=new e("person-add",{character:"\\ea67"}),e.personFollow=new e("person-follow",{character:"\\ea67"}),e.personOutline=new e("person-outline",{character:"\\ea67"}),e.personFilled=new e("person-filled",{character:"\\ea67"}),e.gitBranch=new e("git-branch",{character:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{character:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{character:"\\ea68"}),e.sourceControl=new e("source-control",{character:"\\ea68"}),e.mirror=new e("mirror",{character:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{character:"\\ea69"}),e.star=new e("star",{character:"\\ea6a"}),e.starAdd=new e("star-add",{character:"\\ea6a"}),e.starDelete=new e("star-delete",{character:"\\ea6a"}),e.starEmpty=new e("star-empty",{character:"\\ea6a"}),e.comment=new e("comment",{character:"\\ea6b"}),e.commentAdd=new e("comment-add",{character:"\\ea6b"}),e.alert=new e("alert",{character:"\\ea6c"}),e.warning=new e("warning",{character:"\\ea6c"}),e.search=new e("search",{character:"\\ea6d"}),e.searchSave=new e("search-save",{character:"\\ea6d"}),e.logOut=new e("log-out",{character:"\\ea6e"}),e.signOut=new e("sign-out",{character:"\\ea6e"}),e.logIn=new e("log-in",{character:"\\ea6f"}),e.signIn=new e("sign-in",{character:"\\ea6f"}),e.eye=new e("eye",{character:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{character:"\\ea70"}),e.eyeWatch=new e("eye-watch",{character:"\\ea70"}),e.circleFilled=new e("circle-filled",{character:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{character:"\\ea71"}),e.closeDirty=new e("close-dirty",{character:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{character:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{character:"\\ea71"}),e.debugHint=new e("debug-hint",{character:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{character:"\\ea72"}),e.edit=new e("edit",{character:"\\ea73"}),e.pencil=new e("pencil",{character:"\\ea73"}),e.info=new e("info",{character:"\\ea74"}),e.issueOpened=new e("issue-opened",{character:"\\ea74"}),e.gistPrivate=new e("gist-private",{character:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{character:"\\ea75"}),e.lock=new e("lock",{character:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{character:"\\ea75"}),e.close=new e("close",{character:"\\ea76"}),e.removeClose=new e("remove-close",{character:"\\ea76"}),e.x=new e("x",{character:"\\ea76"}),e.repoSync=new e("repo-sync",{character:"\\ea77"}),e.sync=new e("sync",{character:"\\ea77"}),e.clone=new e("clone",{character:"\\ea78"}),e.desktopDownload=new e("desktop-download",{character:"\\ea78"}),e.beaker=new e("beaker",{character:"\\ea79"}),e.microscope=new e("microscope",{character:"\\ea79"}),e.vm=new e("vm",{character:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{character:"\\ea7a"}),e.file=new e("file",{character:"\\ea7b"}),e.fileText=new e("file-text",{character:"\\ea7b"}),e.more=new e("more",{character:"\\ea7c"}),e.ellipsis=new e("ellipsis",{character:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{character:"\\ea7c"}),e.mailReply=new e("mail-reply",{character:"\\ea7d"}),e.reply=new e("reply",{character:"\\ea7d"}),e.organization=new e("organization",{character:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{character:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{character:"\\ea7e"}),e.newFile=new e("new-file",{character:"\\ea7f"}),e.fileAdd=new e("file-add",{character:"\\ea7f"}),e.newFolder=new e("new-folder",{character:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{character:"\\ea80"}),e.trash=new e("trash",{character:"\\ea81"}),e.trashcan=new e("trashcan",{character:"\\ea81"}),e.history=new e("history",{character:"\\ea82"}),e.clock=new e("clock",{character:"\\ea82"}),e.folder=new e("folder",{character:"\\ea83"}),e.fileDirectory=new e("file-directory",{character:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{character:"\\ea83"}),e.logoGithub=new e("logo-github",{character:"\\ea84"}),e.markGithub=new e("mark-github",{character:"\\ea84"}),e.github=new e("github",{character:"\\ea84"}),e.terminal=new e("terminal",{character:"\\ea85"}),e.console=new e("console",{character:"\\ea85"}),e.repl=new e("repl",{character:"\\ea85"}),e.zap=new e("zap",{character:"\\ea86"}),e.symbolEvent=new e("symbol-event",{character:"\\ea86"}),e.error=new e("error",{character:"\\ea87"}),e.stop=new e("stop",{character:"\\ea87"}),e.variable=new e("variable",{character:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{character:"\\ea88"}),e.array=new e("array",{character:"\\ea8a"}),e.symbolArray=new e("symbol-array",{character:"\\ea8a"}),e.symbolModule=new e("symbol-module",{character:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{character:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{character:"\\ea8b"}),e.symbolObject=new e("symbol-object",{character:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{character:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{character:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{character:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{character:"\\ea8f"}),e.symbolNull=new e("symbol-null",{character:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{character:"\\ea90"}),e.symbolNumber=new e("symbol-number",{character:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{character:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{character:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{character:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{character:"\\ea92"}),e.symbolKey=new e("symbol-key",{character:"\\ea93"}),e.symbolText=new e("symbol-text",{character:"\\ea93"}),e.symbolReference=new e("symbol-reference",{character:"\\ea94"}),e.goToFile=new e("go-to-file",{character:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{character:"\\ea95"}),e.symbolValue=new e("symbol-value",{character:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{character:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{character:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{character:"\\ea97"}),e.archive=new e("archive",{character:"\\ea98"}),e.arrowBoth=new e("arrow-both",{character:"\\ea99"}),e.arrowDown=new e("arrow-down",{character:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{character:"\\ea9b"}),e.arrowRight=new e("arrow-right",{character:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{character:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{character:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{character:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{character:"\\eaa0"}),e.arrowUp=new e("arrow-up",{character:"\\eaa1"}),e.bell=new e("bell",{character:"\\eaa2"}),e.bold=new e("bold",{character:"\\eaa3"}),e.book=new e("book",{character:"\\eaa4"}),e.bookmark=new e("bookmark",{character:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{character:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{character:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{character:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{character:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{character:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{character:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{character:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{character:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{character:"\\eaab"}),e.briefcase=new e("briefcase",{character:"\\eaac"}),e.broadcast=new e("broadcast",{character:"\\eaad"}),e.browser=new e("browser",{character:"\\eaae"}),e.bug=new e("bug",{character:"\\eaaf"}),e.calendar=new e("calendar",{character:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{character:"\\eab1"}),e.check=new e("check",{character:"\\eab2"}),e.checklist=new e("checklist",{character:"\\eab3"}),e.chevronDown=new e("chevron-down",{character:"\\eab4"}),e.chevronLeft=new e("chevron-left",{character:"\\eab5"}),e.chevronRight=new e("chevron-right",{character:"\\eab6"}),e.chevronUp=new e("chevron-up",{character:"\\eab7"}),e.chromeClose=new e("chrome-close",{character:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{character:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{character:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{character:"\\eabb"}),e.circleOutline=new e("circle-outline",{character:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{character:"\\eabc"}),e.circleSlash=new e("circle-slash",{character:"\\eabd"}),e.circuitBoard=new e("circuit-board",{character:"\\eabe"}),e.clearAll=new e("clear-all",{character:"\\eabf"}),e.clippy=new e("clippy",{character:"\\eac0"}),e.closeAll=new e("close-all",{character:"\\eac1"}),e.cloudDownload=new e("cloud-download",{character:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{character:"\\eac3"}),e.code=new e("code",{character:"\\eac4"}),e.collapseAll=new e("collapse-all",{character:"\\eac5"}),e.colorMode=new e("color-mode",{character:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{character:"\\eac7"}),e.compareChanges=new e("compare-changes",{character:"\\eafd"}),e.creditCard=new e("credit-card",{character:"\\eac9"}),e.dash=new e("dash",{character:"\\eacc"}),e.dashboard=new e("dashboard",{character:"\\eacd"}),e.database=new e("database",{character:"\\eace"}),e.debugContinue=new e("debug-continue",{character:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{character:"\\ead0"}),e.debugPause=new e("debug-pause",{character:"\\ead1"}),e.debugRestart=new e("debug-restart",{character:"\\ead2"}),e.debugStart=new e("debug-start",{character:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{character:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{character:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{character:"\\ead6"}),e.debugStop=new e("debug-stop",{character:"\\ead7"}),e.debug=new e("debug",{character:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{character:"\\ead9"}),e.deviceCamera=new e("device-camera",{character:"\\eada"}),e.deviceMobile=new e("device-mobile",{character:"\\eadb"}),e.diffAdded=new e("diff-added",{character:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{character:"\\eadd"}),e.diffModified=new e("diff-modified",{character:"\\eade"}),e.diffRemoved=new e("diff-removed",{character:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{character:"\\eae0"}),e.diff=new e("diff",{character:"\\eae1"}),e.discard=new e("discard",{character:"\\eae2"}),e.editorLayout=new e("editor-layout",{character:"\\eae3"}),e.emptyWindow=new e("empty-window",{character:"\\eae4"}),e.exclude=new e("exclude",{character:"\\eae5"}),e.extensions=new e("extensions",{character:"\\eae6"}),e.eyeClosed=new e("eye-closed",{character:"\\eae7"}),e.fileBinary=new e("file-binary",{character:"\\eae8"}),e.fileCode=new e("file-code",{character:"\\eae9"}),e.fileMedia=new e("file-media",{character:"\\eaea"}),e.filePdf=new e("file-pdf",{character:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{character:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{character:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{character:"\\eaee"}),e.fileZip=new e("file-zip",{character:"\\eaef"}),e.files=new e("files",{character:"\\eaf0"}),e.filter=new e("filter",{character:"\\eaf1"}),e.flame=new e("flame",{character:"\\eaf2"}),e.foldDown=new e("fold-down",{character:"\\eaf3"}),e.foldUp=new e("fold-up",{character:"\\eaf4"}),e.fold=new e("fold",{character:"\\eaf5"}),e.folderActive=new e("folder-active",{character:"\\eaf6"}),e.folderOpened=new e("folder-opened",{character:"\\eaf7"}),e.gear=new e("gear",{character:"\\eaf8"}),e.gift=new e("gift",{character:"\\eaf9"}),e.gistSecret=new e("gist-secret",{character:"\\eafa"}),e.gist=new e("gist",{character:"\\eafb"}),e.gitCommit=new e("git-commit",{character:"\\eafc"}),e.gitCompare=new e("git-compare",{character:"\\eafd"}),e.gitMerge=new e("git-merge",{character:"\\eafe"}),e.githubAction=new e("github-action",{character:"\\eaff"}),e.githubAlt=new e("github-alt",{character:"\\eb00"}),e.globe=new e("globe",{character:"\\eb01"}),e.grabber=new e("grabber",{character:"\\eb02"}),e.graph=new e("graph",{character:"\\eb03"}),e.gripper=new e("gripper",{character:"\\eb04"}),e.heart=new e("heart",{character:"\\eb05"}),e.home=new e("home",{character:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{character:"\\eb07"}),e.hubot=new e("hubot",{character:"\\eb08"}),e.inbox=new e("inbox",{character:"\\eb09"}),e.issueClosed=new e("issue-closed",{character:"\\eb0a"}),e.issueReopened=new e("issue-reopened",{character:"\\eb0b"}),e.issues=new e("issues",{character:"\\eb0c"}),e.italic=new e("italic",{character:"\\eb0d"}),e.jersey=new e("jersey",{character:"\\eb0e"}),e.json=new e("json",{character:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{character:"\\eb10"}),e.key=new e("key",{character:"\\eb11"}),e.law=new e("law",{character:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{character:"\\eb13"}),e.linkExternal=new e("link-external",{character:"\\eb14"}),e.link=new e("link",{character:"\\eb15"}),e.listOrdered=new e("list-ordered",{character:"\\eb16"}),e.listUnordered=new e("list-unordered",{character:"\\eb17"}),e.liveShare=new e("live-share",{character:"\\eb18"}),e.loading=new e("loading",{character:"\\eb19"}),e.location=new e("location",{character:"\\eb1a"}),e.mailRead=new e("mail-read",{character:"\\eb1b"}),e.mail=new e("mail",{character:"\\eb1c"}),e.markdown=new e("markdown",{character:"\\eb1d"}),e.megaphone=new e("megaphone",{character:"\\eb1e"}),e.mention=new e("mention",{character:"\\eb1f"}),e.milestone=new e("milestone",{character:"\\eb20"}),e.mortarBoard=new e("mortar-board",{character:"\\eb21"}),e.move=new e("move",{character:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{character:"\\eb23"}),e.mute=new e("mute",{character:"\\eb24"}),e.noNewline=new e("no-newline",{character:"\\eb25"}),e.note=new e("note",{character:"\\eb26"}),e.octoface=new e("octoface",{character:"\\eb27"}),e.openPreview=new e("open-preview",{character:"\\eb28"}),e.package_=new e("package",{character:"\\eb29"}),e.paintcan=new e("paintcan",{character:"\\eb2a"}),e.pin=new e("pin",{character:"\\eb2b"}),e.play=new e("play",{character:"\\eb2c"}),e.run=new e("run",{character:"\\eb2c"}),e.plug=new e("plug",{character:"\\eb2d"}),e.preserveCase=new e("preserve-case",{character:"\\eb2e"}),e.preview=new e("preview",{character:"\\eb2f"}),e.project=new e("project",{character:"\\eb30"}),e.pulse=new e("pulse",{character:"\\eb31"}),e.question=new e("question",{character:"\\eb32"}),e.quote=new e("quote",{character:"\\eb33"}),e.radioTower=new e("radio-tower",{character:"\\eb34"}),e.reactions=new e("reactions",{character:"\\eb35"}),e.references=new e("references",{character:"\\eb36"}),e.refresh=new e("refresh",{character:"\\eb37"}),e.regex=new e("regex",{character:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{character:"\\eb39"}),e.remote=new e("remote",{character:"\\eb3a"}),e.remove=new e("remove",{character:"\\eb3b"}),e.replaceAll=new e("replace-all",{character:"\\eb3c"}),e.replace=new e("replace",{character:"\\eb3d"}),e.repoClone=new e("repo-clone",{character:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{character:"\\eb3f"}),e.repoPull=new e("repo-pull",{character:"\\eb40"}),e.repoPush=new e("repo-push",{character:"\\eb41"}),e.report=new e("report",{character:"\\eb42"}),e.requestChanges=new e("request-changes",{character:"\\eb43"}),e.rocket=new e("rocket",{character:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{character:"\\eb45"}),e.rootFolder=new e("root-folder",{character:"\\eb46"}),e.rss=new e("rss",{character:"\\eb47"}),e.ruby=new e("ruby",{character:"\\eb48"}),e.saveAll=new e("save-all",{character:"\\eb49"}),e.saveAs=new e("save-as",{character:"\\eb4a"}),e.save=new e("save",{character:"\\eb4b"}),e.screenFull=new e("screen-full",{character:"\\eb4c"}),e.screenNormal=new e("screen-normal",{character:"\\eb4d"}),e.searchStop=new e("search-stop",{character:"\\eb4e"}),e.server=new e("server",{character:"\\eb50"}),e.settingsGear=new e("settings-gear",{character:"\\eb51"}),e.settings=new e("settings",{character:"\\eb52"}),e.shield=new e("shield",{character:"\\eb53"}),e.smiley=new e("smiley",{character:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{character:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{character:"\\eb56"}),e.splitVertical=new e("split-vertical",{character:"\\eb57"}),e.squirrel=new e("squirrel",{character:"\\eb58"}),e.starFull=new e("star-full",{character:"\\eb59"}),e.starHalf=new e("star-half",{character:"\\eb5a"}),e.symbolClass=new e("symbol-class",{character:"\\eb5b"}),e.symbolColor=new e("symbol-color",{character:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{character:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{character:"\\eb5e"}),e.symbolField=new e("symbol-field",{character:"\\eb5f"}),e.symbolFile=new e("symbol-file",{character:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{character:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{character:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{character:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{character:"\\eb64"}),e.symbolProperty=new e("symbol-property",{character:"\\eb65"}),e.wrench=new e("wrench",{character:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{character:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{character:"\\eb66"}),e.tasklist=new e("tasklist",{character:"\\eb67"}),e.telescope=new e("telescope",{character:"\\eb68"}),e.textSize=new e("text-size",{character:"\\eb69"}),e.threeBars=new e("three-bars",{character:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{character:"\\eb6b"}),e.thumbsup=new e("thumbsup",{character:"\\eb6c"}),e.tools=new e("tools",{character:"\\eb6d"}),e.triangleDown=new e("triangle-down",{character:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{character:"\\eb6f"}),e.triangleRight=new e("triangle-right",{character:"\\eb70"}),e.triangleUp=new e("triangle-up",{character:"\\eb71"}),e.twitter=new e("twitter",{character:"\\eb72"}),e.unfold=new e("unfold",{character:"\\eb73"}),e.unlock=new e("unlock",{character:"\\eb74"}),e.unmute=new e("unmute",{character:"\\eb75"}),e.unverified=new e("unverified",{character:"\\eb76"}),e.verified=new e("verified",{character:"\\eb77"}),e.versions=new e("versions",{character:"\\eb78"}),e.vmActive=new e("vm-active",{character:"\\eb79"}),e.vmOutline=new e("vm-outline",{character:"\\eb7a"}),e.vmRunning=new e("vm-running",{character:"\\eb7b"}),e.watch=new e("watch",{character:"\\eb7c"}),e.whitespace=new e("whitespace",{character:"\\eb7d"}),e.wholeWord=new e("whole-word",{character:"\\eb7e"}),e.window=new e("window",{character:"\\eb7f"}),e.wordWrap=new e("word-wrap",{character:"\\eb80"}),e.zoomIn=new e("zoom-in",{character:"\\eb81"}),e.zoomOut=new e("zoom-out",{character:"\\eb82"}),e.listFilter=new e("list-filter",{character:"\\eb83"}),e.listFlat=new e("list-flat",{character:"\\eb84"}),e.listSelection=new e("list-selection",{character:"\\eb85"}),e.selection=new e("selection",{character:"\\eb85"}),e.listTree=new e("list-tree",{character:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{character:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{character:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{character:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{character:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{character:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{character:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{character:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{character:"\\eb8c"}),e.symbolString=new e("symbol-string",{character:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{character:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{character:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{character:"\\eb90"}),e.callIncoming=new e("call-incoming",{character:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{character:"\\eb93"}),e.menu=new e("menu",{character:"\\eb94"}),e.expandAll=new e("expand-all",{character:"\\eb95"}),e.feedback=new e("feedback",{character:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{character:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{character:"\\eb98"}),e.account=new e("account",{character:"\\eb99"}),e.bellDot=new e("bell-dot",{character:"\\eb9a"}),e.debugConsole=new e("debug-console",{character:"\\eb9b"}),e.library=new e("library",{character:"\\eb9c"}),e.output=new e("output",{character:"\\eb9d"}),e.runAll=new e("run-all",{character:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{character:"\\eb9f"}),e.pinned=new e("pinned",{character:"\\eba0"}),e.githubInverted=new e("github-inverted",{character:"\\eba1"}),e.debugAlt=new e("debug-alt",{character:"\\eb91"}),e.serverProcess=new e("server-process",{character:"\\eba2"}),e.serverEnvironment=new e("server-environment",{character:"\\eba3"}),e.pass=new e("pass",{character:"\\eba4"}),e.stopCircle=new e("stop-circle",{character:"\\eba5"}),e.playCircle=new e("play-circle",{character:"\\eba6"}),e.record=new e("record",{character:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{character:"\\eba8"}),e.vmConnect=new e("vm-connect",{character:"\\eba9"}),e.cloud=new e("cloud",{character:"\\ebaa"}),e.merge=new e("merge",{character:"\\ebab"}),e.exportIcon=new e("export",{character:"\\ebac"}),e.graphLeft=new e("graph-left",{character:"\\ebad"}),e.magnet=new e("magnet",{character:"\\ebae"}),e.notebook=new e("notebook",{character:"\\ebaf"}),e.redo=new e("redo",{character:"\\ebb0"}),e.checkAll=new e("check-all",{character:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{character:"\\ebb2"}),e.passFilled=new e("pass-filled",{character:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{character:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{character:"\\ebb5"}),e.combine=new e("combine",{character:"\\ebb6"}),e.gather=new e("gather",{character:"\\ebb6"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition)}(a||(a={}))},64280:function(e,t,n){"use strict";n.r(t),n.d(t,{forEach:function(){return o},SetMap:function(){return r}});const i=Object.prototype.hasOwnProperty;function o(e,t){for(let n in e)if(i.call(e,n)&&!1===t({key:n,value:e[n]},(function(){delete e[n]})))return}class r{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}}},17160:function(e,t,n){"use strict";function i(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}n.r(t),n.d(t,{RGBA:function(){return o},HSLA:function(){return r},HSVA:function(){return s},Color:function(){return a}});class o{constructor(e,t,n,o=1){this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=i(Math.max(Math.min(1,o),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class r{constructor(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.l=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,o=e.a,s=Math.max(t,n,i),a=Math.min(t,n,i);let l=0,c=0;const d=(a+s)/2,h=s-a;if(h>0){switch(c=Math.min(d<=.5?h/(2*d):h/(2-2*d),1),s){case t:l=(n-i)/h+(n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:i,a:s}=e;let a,l,c;if(0===n)a=l=c=i;else{const e=i<.5?i*(1+n):i+n-i*n,o=2*i-e;a=r._hue2rgb(o,e,t+1/3),l=r._hue2rgb(o,e,t),c=r._hue2rgb(o,e,t-1/3)}return new o(Math.round(255*a),Math.round(255*l),Math.round(255*c),s)}}class s{constructor(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.v=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,i=e.b/255,o=Math.max(t,n,i),r=o-Math.min(t,n,i),a=0===o?0:r/o;let l;return l=0===r?0:o===t?((n-i)/r%6+6)%6:o===n?(i-t)/r+2:(t-n)/r+4,new s(Math.round(60*l),a,o,e.a)}static toRGBA(e){const{h:t,s:n,v:i,a:r}=e,s=i*n,a=s*(1-Math.abs(t/60%2-1)),l=i-s;let[c,d,h]=[0,0,0];return t<60?(c=s,d=a):t<120?(c=a,d=s):t<180?(d=s,h=a):t<240?(d=a,h=s):t<300?(c=a,h=s):t<=360&&(c=s,h=a),c=Math.round(255*(c+l)),d=Math.round(255*(d+l)),h=Math.round(255*(h+l)),new o(c,d,h,r)}}class a{constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof o)this.rgba=e;else if(e instanceof r)this._hsla=e,this.rgba=r.toRGBA(e);else{if(!(e instanceof s))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=s.toRGBA(e)}}static fromHex(e){return a.Format.CSS.parseHex(e)||a.red}get hsla(){return this._hsla?this._hsla:r.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:s.fromRGBA(this.rgba)}equals(e){return!!e&&o.equals(this.rgba,e.rgba)&&r.equals(this.hsla,e.hsla)&&s.equals(this.hsva,e.hsva)}getRelativeLuminance(){return i(.2126*a._relativeLuminanceForComponent(this.rgba.r)+.7152*a._relativeLuminanceForComponent(this.rgba.g)+.0722*a._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance(){const e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}}));function o(e,t,n=!1){const o=e||"",r=t||"",s=i.value.collator.compare(o,r);return i.value.collatorIsNumeric&&0===s&&o!==r?oo.length)return 1}return 0}},63966:function(e,t,n){"use strict";n.r(t),n.d(t,{createMemoizer:function(){return o},memoize:function(){return r}});let i=0;function o(){const e="$memoize"+i++;let t;const n=function(n,i,o){let r=null,s=null;if("function"==typeof o.value?(r="value",s=o.value,0!==s.length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof o.get&&(r="get",s=o.get),!s)throw new Error("not supported");const a=`${e}:${i}`;o[r]=function(...e){return t=this,this.hasOwnProperty(a)||Object.defineProperty(this,a,{configurable:!0,enumerable:!1,writable:!0,value:s.apply(this,e)}),this[a]}};return n.clear=()=>{void 0!==t&&Object.getOwnPropertyNames(t).forEach((n=>{0===n.indexOf(e)&&delete t[n]}))},n}function r(e,t,n){return o()(e,t,n)}},11914:function(e,t,n){"use strict";n.r(t),n.d(t,{StringDiffSequence:function(){return r},stringDiff:function(){return s},Debug:function(){return a},MyArray:function(){return l},LcsDiff:function(){return d}});var i=n(97917),o=n(23829);class r{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let n=0,i=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new i.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class d{constructor(e,t,n=null){this.ContinueProcessingPredicate=n;const[i,o,r]=d._getElements(e),[s,a,l]=d._getElements(t);this._hasStrings=r&&l,this._originalStringElements=i,this._originalElementsOrHash=o,this._modifiedStringElements=s,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(d._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,i=t.length;n=e&&o>=n&&this.ElementsAreEqual(t,o);)t--,o--;if(e>t||n>o){let r;return n<=o?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),r=[new i.DiffChange(e,0,n,o-n+1)]):e<=t?(a.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),r=[new i.DiffChange(e,t-e+1,n,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),r=[]),r}const s=[0],l=[0],c=this.ComputeRecursionPoint(e,t,n,o,s,l,r),d=s[0],h=l[0];if(null!==c)return c;if(!r[0]){const s=this.ComputeDiffRecursive(e,d,n,h,r);let a=[];return a=r[0]?[new i.DiffChange(d+1,t-(d+1)+1,h+1,o-(h+1)+1)]:this.ComputeDiffRecursive(d+1,t,h+1,o,r),this.ConcatenateChanges(s,a)}return[new i.DiffChange(e,t-e+1,n,o-n+1)]}WALKTRACE(e,t,n,o,r,s,a,l,d,h,u,p,g,m,f,b,v,_){let w=null,y=null,A=new c,C=t,S=n,x=g[0]-b[0]-o,E=-1073741824,k=this.m_forwardHistory.length-1;do{const t=x+e;t===C||t=0&&(e=(d=this.m_forwardHistory[k])[0],C=1,S=d.length-1)}while(--k>=-1);if(w=A.getReverseChanges(),_[0]){let e=g[0]+1,t=b[0]+1;if(null!==w&&w.length>0){const n=w[w.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}y=[new i.DiffChange(e,p-e+1,t,f-t+1)]}else{A=new c,C=s,S=a,x=g[0]-b[0]-l,E=1073741824,k=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=x+r;e===C||e=h[e+1]?(m=(u=h[e+1]-1)-x-l,u>E&&A.MarkNextChange(),E=u+1,A.AddOriginalElement(u+1,m+1),x=e+1-r):(m=(u=h[e-1])-x-l,u>E&&A.MarkNextChange(),E=u,A.AddModifiedElement(u+1,m+1),x=e-1-r),k>=0&&(r=(h=this.m_reverseHistory[k])[0],C=1,S=h.length-1)}while(--k>=-1);y=A.getChanges()}return this.ConcatenateChanges(w,y)}ComputeRecursionPoint(e,t,n,o,r,s,a){let c=0,d=0,h=0,u=0,p=0,g=0;e--,n--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const m=t-e+(o-n),f=m+1,b=new Int32Array(f),v=new Int32Array(f),_=o-n,w=t-e,y=e-n,A=t-o,C=(w-_)%2==0;b[_]=e,v[w]=t,a[0]=!1;for(let S=1;S<=m/2+1;S++){let m=0,x=0;h=this.ClipDiagonalBound(_-S,S,_,f),u=this.ClipDiagonalBound(_+S,S,_,f);for(let e=h;e<=u;e+=2){c=e===h||em+x&&(m=c,x=d),!C&&Math.abs(e-w)<=S-1&&c>=v[e])return r[0]=c,s[0]=d,n<=v[e]&&S<=1448?this.WALKTRACE(_,h,u,y,w,p,g,A,b,v,c,t,r,d,o,s,C,a):null}const E=(m-e+(x-n)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,E))return a[0]=!0,r[0]=m,s[0]=x,E>0&&S<=1448?this.WALKTRACE(_,h,u,y,w,p,g,A,b,v,c,t,r,d,o,s,C,a):(e++,n++,[new i.DiffChange(e,t-e+1,n,o-n+1)]);p=this.ClipDiagonalBound(w-S,S,w,f),g=this.ClipDiagonalBound(w+S,S,w,f);for(let i=p;i<=g;i+=2){c=i===p||i=v[i+1]?v[i+1]-1:v[i-1],d=c-(i-w)-A;const l=c;for(;c>e&&d>n&&this.ElementsAreEqual(c,d);)c--,d--;if(v[i]=c,C&&Math.abs(i-_)<=S&&c<=b[i])return r[0]=c,s[0]=d,l>=b[i]&&S<=1448?this.WALKTRACE(_,h,u,y,w,p,g,A,b,v,c,t,r,d,o,s,C,a):null}if(S<=1447){let e=new Int32Array(u-h+2);e[0]=_-h+1,l.Copy2(b,h,e,1,u-h+1),this.m_forwardHistory.push(e),e=new Int32Array(g-p+2),e[0]=w-p+1,l.Copy2(v,p,e,1,g-p+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(_,h,u,y,w,p,g,A,b,v,c,t,r,d,o,s,C,a)}PrettifyChanges(e){for(let t=0;t0,s=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){const n=e[t];let i=0,o=0;if(t>0){const n=e[t-1];n.originalLength>0&&(i=n.originalStart+n.originalLength),n.modifiedLength>0&&(o=n.modifiedStart+n.modifiedLength)}const r=n.originalLength>0,s=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(tl&&(l=d,a=e)}n.originalStart-=a,n.modifiedStart-=a}if(this._hasStrings)for(let t=1,n=e.length;t0&&n>a&&(a=n,l=t,c=e)}return a>0?[l,c]:null}_contiguousSequenceScore(e,t,n){let i=0;for(let o=0;o=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)}ConcatenateChanges(e,t){let n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const i=new Array(e.length+t.length-1);return l.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],l.Copy(t,1,i,e.length,t.length-1),i}{const n=new Array(e.length+t.length);return l.Copy(e,0,n,0,e.length),l.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const o=e.originalStart;let r=e.originalLength;const s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i.DiffChange(o,r,s,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,i){if(e>=0&&e{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const o=new i;function r(e){c(e)||o.onUnexpectedError(e)}function s(e){c(e)||o.onUnexpectedExternalError(e)}function a(e){if(e instanceof Error){let{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}}return e}const l="Canceled";function c(e){return e instanceof Error&&e.name===l&&e.message===l}function d(){const e=new Error(l);return e.name=e.message,e}function h(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function u(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}},63801:function(e,t,n){"use strict";n.r(t),n.d(t,{Event:function(){return i},Emitter:function(){return c},PauseableEmitter:function(){return d},EventBufferer:function(){return h},Relay:function(){return u}});var i,o=n(12718),r=n(68921),s=n(22446),a=n(702);!function(e){function t(e){return(t,n=null,i)=>{let o,r=!1;return o=e((e=>{if(!r)return o?o.dispose():r=!0,t.call(n,e)}),null,i),r&&o.dispose(),o}}function n(e,t){return a(((n,i=null,o)=>e((e=>n.call(i,t(e))),null,o)))}function i(e,t){return a(((n,i=null,o)=>e((e=>{t(e),n.call(i,e)}),null,o)))}function o(e,t){return a(((n,i=null,o)=>e((e=>t(e)&&n.call(i,e)),null,o)))}function s(e,t,i){let o=i;return n(e,(e=>(o=t(o,e),o)))}function a(e){let t;const n=new c({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function l(e,t,n=100,i=!1,o){let r,s,a,l=0;const d=new c({leakWarningThreshold:o,onFirstListenerAdd(){r=e((e=>{l++,s=t(s,e),i&&!a&&(d.fire(s),s=void 0),clearTimeout(a),a=setTimeout((()=>{const e=s;s=void 0,a=void 0,(!i||l>1)&&d.fire(e),l=0}),n)}))},onLastListenerRemove(){r.dispose()}});return d.event}function d(e){let t,n=!0;return o(e,(e=>{const i=n||e!==t;return n=!1,t=e,i}))}e.None=()=>r.Disposable.None,e.once=t,e.map=n,e.forEach=i,e.filter=o,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,i)=>(0,r.combinedDisposable)(...e.map((e=>e((e=>t.call(n,e)),null,i))))},e.reduce=s,e.snapshot=a,e.debounce=l,e.stopwatch=function(e){const i=(new Date).getTime();return n(t(e),(e=>(new Date).getTime()-i))},e.latch=d,e.buffer=function(e,t=!1,n=[]){let i=n.slice(),o=e((e=>{i?i.push(e):s.fire(e)}));const r=()=>{i&&i.forEach((e=>s.fire(e))),i=null},s=new c({onFirstListenerAdd(){o||(o=e((e=>s.fire(e))))},onFirstListenerDidAdd(){i&&(t?setTimeout(r):r())},onLastListenerRemove(){o&&o.dispose(),o=null}});return s.event};class h{constructor(e){this.event=e}map(e){return new h(n(this.event,e))}forEach(e){return new h(i(this.event,e))}filter(e){return new h(o(this.event,e))}reduce(e,t){return new h(s(this.event,e,t))}latch(){return new h(d(this.event))}debounce(e,t=100,n=!1,i){return new h(l(this.event,e,t,n,i))}on(e,t,n){return this.event(e,t,n)}once(e,n,i){return t(this.event)(e,n,i)}}e.chain=function(e){return new h(e)},e.fromNodeEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>o.fire(n(...e)),o=new c({onFirstListenerAdd:()=>e.on(t,i),onLastListenerRemove:()=>e.removeListener(t,i)});return o.event},e.fromDOMEventEmitter=function(e,t,n=(e=>e)){const i=(...e)=>o.fire(n(...e)),o=new c({onFirstListenerAdd:()=>e.addEventListener(t,i),onLastListenerRemove:()=>e.removeEventListener(t,i)});return o.event},e.fromPromise=function(e){const t=new c;let n=!1;return e.then(void 0,(()=>null)).then((()=>{n?t.fire(void 0):setTimeout((()=>t.fire(void 0)),0)})),n=!0,t.event},e.toPromise=function(e){return new Promise((n=>t(e)(n)))}}(i||(i={}));class l{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${e}_${l._idPool++}`}start(e){this._stopWatch=new a.StopWatch(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${e.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}l._idPool=0;class c{constructor(e){var t;this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=(null===(t=this._options)||void 0===t?void 0:t._profName)?new l(this._options._profName):void 0}get event(){return this._event||(this._event=(e,t,n)=>{var i;this._listeners||(this._listeners=new s.LinkedList);const o=this._listeners.isEmpty();o&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const a=this._listeners.push(t?[e,t]:e);o&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t);const l=null===(i=this._leakageMon)||void 0===i?void 0:i.check(this._listeners.size);let d;return d={dispose:()=>{l&&l(),d.dispose=c._noop,!this._disposed&&(a(),this._options&&this._options.onLastListenerRemove)&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this))}},n instanceof r.DisposableStore?n.add(d):Array.isArray(n)&&n.push(d),d}),this._event}fire(e){var t,n;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.LinkedList);for(let t of this._listeners)this._deliveryQueue.push([t,e]);for(null===(t=this._perfMon)||void 0===t||t.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[e,t]=this._deliveryQueue.shift();try{"function"==typeof e?e.call(void 0,t):e[0].call(e[1],t)}catch(e){(0,o.onUnexpectedError)(e)}}null===(n=this._perfMon)||void 0===n||n.stop()}}dispose(){var e,t,n;null===(e=this._listeners)||void 0===e||e.clear(),null===(t=this._deliveryQueue)||void 0===t||t.clear(),null===(n=this._leakageMon)||void 0===n||n.dispose(),this._disposed=!0}}c._noop=function(){};class d extends c{constructor(e){super(e),this._isPaused=0,this._eventQueue=new s.LinkedList,this._mergeFn=null==e?void 0:e.merge}pause(){this._isPaused++}resume(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}else for(;!this._isPaused&&0!==this._eventQueue.size;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(0!==this._isPaused?this._eventQueue.push(e):super.fire(e))}}class h{constructor(){this.buffers=[]}wrapEvent(e){return(t,n,i)=>e((e=>{const i=this.buffers[this.buffers.length-1];i?i.push((()=>t.call(n,e))):t.call(n,e)}),void 0,i)}bufferEvents(e){const t=[];this.buffers.push(t);const n=e();return this.buffers.pop(),t.forEach((e=>e())),n}}class u{constructor(){this.listening=!1,this.inputEvent=i.None,this.inputEventListener=r.Disposable.None,this.emitter=new c({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},98508:function(e,t,n){"use strict";n.r(t),n.d(t,{toSlashes:function(){return s},isEqualOrParent:function(){return a},isWindowsDriveLetter:function(){return l},isRootOrDriveLetter:function(){return c},hasDriveLetter:function(){return d}});var i=n(66719),o=n(91482),r=n(23674);function s(e){return e.replace(/[\\/]/g,r.posix.sep)}function a(e,t,n,i=r.sep){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){if(!(0,o.startsWithIgnoreCase)(e,t))return!1;if(t.length===e.length)return!0;let n=t.length;return t.charAt(t.length-1)===i&&n--,e.charAt(n)===i}return t.charAt(t.length-1)!==i&&(t+=i),0===e.indexOf(t)}function l(e){return e>=65&&e<=90||e>=97&&e<=122}function c(e){const t=(0,r.normalize)(e);return i.isWindows?!(e.length>3)&&d(t)&&(2===e.length||92===t.charCodeAt(2)):t===r.posix.sep}function d(e){return!!i.isWindows&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)}},27017:function(e,t,n){"use strict";n.r(t),n.d(t,{or:function(){return r},matchesPrefix:function(){return s},matchesContiguousSubString:function(){return a},matchesSubString:function(){return l},isUpper:function(){return h},matchesCamelCase:function(){return w},matchesWords:function(){return y},matchesFuzzy:function(){return k},anyScore:function(){return T},createMatches:function(){return I},isPatternInWord:function(){return U},FuzzyScore:function(){return H},fuzzyScore:function(){return V},fuzzyScoreGracefulAggressive:function(){return K}});var i=n(13833),o=n(91482);function r(...e){return function(t,n){for(let i=0,o=e.length;i0?[{start:0,end:t.length}]:[]:null}.bind(void 0,!0);function a(e,t){const n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]}function l(e,t){return c(e.toLowerCase(),t.toLowerCase(),0,0)}function c(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]===t[i]){let o=null;return(o=c(e,t,n+1,i+1))?b({start:i,end:i+1},o):null}return c(e,t,n,i+1)}function d(e){return 97<=e&&e<=122}function h(e){return 65<=e&&e<=90}function u(e){return 48<=e&&e<=57}function p(e){return 32===e||9===e||10===e||13===e}const g=new Set;function m(e){return p(e)||g.has(e)}function f(e){return d(e)||h(e)||u(e)}function b(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function v(e,t){for(let n=t;n0&&!f(e.charCodeAt(n-1)))return n}return e.length}function _(e,t,n,i){if(n===e.length)return[];if(i===t.length)return null;if(e[n]!==t[i].toLowerCase())return null;{let o=null,r=i+1;for(o=_(e,t,n+1,i+1);!o&&(r=v(t,r))60)return null;const n=function(e){let t=0,n=0,i=0,o=0,r=0;for(let s=0;s.2&&t<.8&&i>.6&&o<.2}(n)){if(!function(e){const{upperPercent:t,lowerPercent:n}=e;return 0===n&&t>.6}(n))return null;t=t.toLowerCase()}let i=null,o=0;for(e=e.toLowerCase();o0&&m(e.charCodeAt(n-1)))return n;return e.length}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach((e=>g.add(e.charCodeAt(0))));const S=r(s,w,a),x=r(s,w,l),E=new i.LRUCache(1e4);function k(e,t,n=!1){if("string"!=typeof e||"string"!=typeof t)return null;let i=E.get(e);i||(i=new RegExp(o.convertSimple2RegExpPattern(e),"i"),E.set(e,i));const r=i.exec(t);return r?[{start:r.index,end:r.index+r[0].length}]:n?x(e,t):S(e,t)}function T(e,t,n,i,o,r){const s=V(e,t,0,i,o,0,!0);if(s)return s;let a=[],l=0,c=r;for(let e=0;e=0)l+=1,a.unshift(n),c=n+1;else if(a.length>0)break}return[l,r,...a]}function I(e){if(void 0===e)return[];const t=[],n=e[1];for(let i=e.length-1;i>1;i--){const o=e[i]+n,r=t[t.length-1];r&&r.end===o?r.end=o+1:t.push({start:o,end:o+1})}return t}const D=128;function L(){const e=[],t=[];for(let e=0;e<=D;e++)t[e]=0;for(let n=0;n<=D;n++)e.push(t.slice(0));return e}function R(e){const t=[];for(let n=0;n<=e;n++)t[n]=0;return t}const N=R(2*D),M=R(2*D),O=L(),P=L(),F=L();function z(e,t){if(t<0||t>=e.length)return!1;const n=e.codePointAt(t);switch(n){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 40:case 91:return!0;case void 0:return!1;default:return!!o.isEmojiImprecise(n)}}function B(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}function W(e,t,n){return t[e]!==n[e]}function U(e,t,n,i,o,r,s=!1){for(;tD?D:e.length,l=i.length>D?D:i.length;if(n>=a||r>=l||a-n>l-r)return;if(!U(t,n,a,o,r,l,!0))return;!function(e,t,n,i,o,r){let s=e-1,a=t-1;for(;s>=n&&a>=i;)o[s]===r[a]&&(M[s]=a,s--),a--}(a,l,n,r,t,o);let c=1,d=1,h=n,u=r;const p=[!1];for(c=1,h=n;hs,v=b?P[c][d-1]+(O[c][d-1]>0?-5:0):0,_=u>s+1&&O[c][d-1]>0,w=_?P[c][d-2]+(O[c][d-2]>0?-5:0):0;if(_&&(!b||w>=v)&&(!m||w>=f))P[c][d]=w,F[c][d]=3,O[c][d]=0;else if(b&&(!m||v>=f))P[c][d]=v,F[c][d]=2,O[c][d]=0;else{if(!m)throw new Error("not possible");P[c][d]=f,F[c][d]=1,O[c][d]=O[c-1][d-1]+1}}}if(!p[0]&&!s)return;c--,d--;const g=[P[c][d],r];let m=0,f=0;for(;c>=1;){let e=d;do{const t=F[c][e];if(3===t)e-=2;else{if(2!==t)break;e-=1}}while(e>=1);m>1&&t[n+c-1]===o[r+d-1]&&!W(e+r-1,i,o)&&m+1>O[c][e]&&(e=d),e===d?m++:m=1,f||(f=e),c--,d=e-1,g.push(d)}l===a&&(g[0]+=2);const b=f-a;return g[0]-=b,g}function j(e,t,n,i,o,r,s,a,l,c,d){if(t[n]!==r[s])return Number.MIN_SAFE_INTEGER;let h=1,u=!1;return s===n-i?h=e[n]===o[s]?7:5:!W(s,o,r)||0!==s&&W(s-1,o,r)?!z(r,s)||0!==s&&z(r,s-1)?(z(r,s-1)||B(r,s-1))&&(h=5,u=!0):h=5:(h=e[n]===o[s]?7:5,u=!0),h>1&&n===i&&(d[0]=!0),u||(u=W(s,o,r)||z(r,s-1)||B(r,s-1)),n===i?s>l&&(h-=u?3:5):h+=c?u?2:0:u?0:1,s+1===a&&(h-=u?3:5),h}function K(e,t,n,i,o,r,s){return function(e,t,n,i,o,r,s,a){let l=V(e,t,n,i,o,r,a);if(e.length>=3){const t=Math.min(7,e.length-1);for(let s=n+1;sl[0])&&(l=e))}}}return l}(e,t,n,i,o,r,0,s)}function q(e,t){if(t+1>=e.length)return;const n=e[t],i=e[t+1];return n!==i?e.slice(0,t)+i+n+e.slice(t+2):void 0}!function(e){e.Default=[-100,0],e.isDefault=function(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]}}(H||(H={}))},40548:function(e,t,n){"use strict";function i(e){const t=this;let n,i=!1;return function(){return i||(i=!0,n=e.apply(t,arguments)),n}}n.r(t),n.d(t,{once:function(){return i}})},30997:function(e,t,n){"use strict";n.r(t),n.d(t,{splitGlobAware:function(){return h},match:function(){return E},parse:function(){return k},isRelativePattern:function(){return T}});var i=n(91482),o=n(98508),r=n(23674),s=n(13833),a=n(66129);const l="**",c=/\//g;function d(e){switch(e){case 0:return"";case 1:return"[^/\\\\]*?";default:return"(?:[/\\\\]|[^/\\\\]+[/\\\\]|[/\\\\][^/\\\\]+)*?"}}function h(e,t){if(!e)return[];const n=[];let i=!1,o=!1,r="";for(const s of e){switch(s){case t:if(!i&&!o){n.push(r),r="";continue}break;case"{":i=!0;break;case"}":i=!1;break;case"[":o=!0;break;case"]":o=!1}r+=s}return r&&n.push(r),n}function u(e){if(!e)return"";let t="";const n=h(e,"/");if(n.every((e=>e===l)))t=".*";else{let e=!1;n.forEach(((o,r)=>{if(o===l)return void(e||(t+=d(2),e=!0));let s=!1,a="",c=!1,p="";for(const e of o)if("}"!==e&&s)a+=e;else if(!c||"]"===e&&p)switch(e){case"{":s=!0;continue;case"[":c=!0;continue;case"}":const n=`(?:${h(a,",").map((e=>u(e))).join("|")})`;t+=n,s=!1,a="";break;case"]":t+="["+p+"]",c=!1,p="";break;case"?":t+="[^/\\\\]";continue;case"*":t+=d(1);continue;default:t+=i.escapeRegExpCharacters(e)}else{let t;t="-"===e?e:"^"!==e&&"!"!==e||p?"/"===e?"":i.escapeRegExpCharacters(e):"^",p+=t}rA(e,t))).filter((e=>e!==y)),e),i=n.length;if(!i)return y;if(1===i)return n[0];const o=function(t,i){for(let o=0,r=n.length;o!!e.allBasenames));r&&(o.allBasenames=r.allBasenames);const s=n.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);return s.length&&(o.allPaths=s),o}(n,t):(o=b.exec(S(n,t)))?x(o[1].substr(1),n,!0):(o=v.exec(S(n,t)))?x(o[1],n,!1):function(e){try{const t=new RegExp(`^${u(e)}$`);return function(n){return t.lastIndex=0,"string"==typeof n&&t.test(n)?e:null}}catch(e){return y}}(n);return _.set(i,r),C(r,e)}function C(e,t){return"string"==typeof t?e:function(n,i){return o.isEqualOrParent(n,t.base)?e(r.relative(t.base,n),i):null}}function S(e,t){return t.trimForExclusions&&e.endsWith("/**")?e.substr(0,e.length-2):e}function x(e,t,n){const i=r.sep===r.posix.sep,o=i?e:e.replace(c,r.sep),s=r.sep+o,a=r.posix.sep+e,l=n?function(n,r){return"string"!=typeof n||n!==o&&!n.endsWith(s)&&(i||n!==e&&!n.endsWith(a))?null:t}:function(n,r){return"string"!=typeof n||n!==o&&(i||n!==e)?null:t};return l.allPaths=[(n?"*/":"./")+e],l}function E(e,t,n){return!(!e||"string"!=typeof t)&&k(e)(t,void 0,n)}function k(e,t={}){if(!e)return w;if("string"==typeof e||T(e)){const n=A(e,t);if(n===y)return w;const i=function(e,t){return!!n(e,t)};return n.allBasenames&&(i.allBasenames=n.allBasenames),n.allPaths&&(i.allPaths=n.allPaths),i}return function(e,t){const n=I(Object.getOwnPropertyNames(e).map((n=>function(e,t,n){if(!1===t)return y;const i=A(e,n);if(i===y)return y;if("boolean"==typeof t)return i;if(t){const n=t.when;if("string"==typeof n){const t=(t,o,r,s)=>{if(!s||!i(t,o))return null;const l=s(n.replace("$(basename)",r));return(0,a.isThenable)(l)?l.then((t=>t?e:null)):l?e:null};return t.requiresSiblings=!0,t}}return i}(n,e[n],t))).filter((e=>e!==y))),i=n.length;if(!i)return y;if(!n.some((e=>!!e.requiresSiblings))){if(1===i)return n[0];const e=function(e,t){for(let i=0,o=n.length;i!!e.allBasenames));t&&(e.allBasenames=t.allBasenames);const o=n.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);return o.length&&(e.allPaths=o),e}const o=function(e,t,i){let o;for(let s=0,a=n.length;s!!e.allBasenames));s&&(o.allBasenames=s.allBasenames);const l=n.reduce(((e,t)=>t.allPaths?e.concat(t.allPaths):e),[]);return l.length&&(o.allPaths=l),o}(e,t)}function T(e){const t=e;return t&&"string"==typeof t.base&&"string"==typeof t.pattern}function I(e,t){const n=e.filter((e=>!!e.basenames));if(n.length<2)return e;const i=n.reduce(((e,t)=>{const n=t.basenames;return n?e.concat(n):e}),[]);let o;if(t){o=[];for(let e=0,n=i.length;e{const n=t.patterns;return n?e.concat(n):e}),[]);const r=function(e,t){if("string"!=typeof e)return null;if(!t){let n;for(n=e.length;n>0;n--){const t=e.charCodeAt(n-1);if(47===t||92===t)break}t=e.substr(n)}const n=i.indexOf(t);return-1!==n?o[n]:null};r.basenames=i,r.patterns=o,r.allBasenames=i;const s=e.filter((e=>!e.basenames));return s.push(r),s}},23829:function(e,t,n){"use strict";n.r(t),n.d(t,{hash:function(){return o},doHash:function(){return r},stringHash:function(){return a},toHexString:function(){return d},StringSHA1:function(){return h}});var i=n(91482);function o(e){return r(e,0)}function r(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,i=s(104579,i=t),n.reduce(((e,t)=>r(t,e)),i)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce(((t,n)=>(t=a(n,t),r(e[n],t))),t)}(e,t);case"string":return a(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,i}function s(e,t){return(t<<5)-t+e|0}function a(e,t){t=s(149417,t);for(let n=0,i=e.length;n>>i)>>>0}function c(e,t=0,n=e.byteLength,i=0){for(let o=0;oe.toString(16).padStart(2,"0"))).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class h{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let o,r,s=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(o=a,r=-1,a=0):(o=e.charCodeAt(0),r=0);;){let l=o;if(i.isHighSurrogate(o)){if(!(r+1>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),d(this._h0)+d(this._h1)+d(this._h2)+d(this._h3)+d(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,c(this._buff,this._buffLen),this._buffLen>56&&(this._step(),c(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,l(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,i,o,r=this._h0,s=this._h1,a=this._h2,c=this._h3,d=this._h4;for(let t=0;t<80;t++)t<20?(n=s&a|~s&c,i=1518500249):t<40?(n=s^a^c,i=1859775393):t<60?(n=s&a|s&c|a&c,i=2400959708):(n=s^a^c,i=3395469782),o=l(r,5)+n+d+i+e.getUint32(4*t,!1)&4294967295,d=c,c=a,a=l(s,30),s=r,r=o;this._h0=this._h0+r&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+a&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}h._bigBlock32=new DataView(new ArrayBuffer(320))},68538:function(e,t,n){"use strict";n.r(t),n.d(t,{HistoryNavigator:function(){return o}});var i=n(27582);class o{constructor(e=[],t=10){this._initialize(e),this._limit=t,this._onChange()}add(e){this._history.delete(e),this._history.add(e),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return 0!==this._currentPosition()?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();const e=this._elements;this._navigator=new i.ArrayNavigator(e,0,e.length,e.length)}_reduceToLimit(){const e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){const e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){this._history=new Set;for(const t of e)this._history.add(t)}get _elements(){const e=[];return this._history.forEach((t=>e.push(t))),e}}},69373:function(e,t,n){"use strict";n.r(t),n.d(t,{iconStartMarker:function(){return r},escapeIcons:function(){return a},markdownEscapeEscapedIcons:function(){return c},stripIcons:function(){return h},parseLabelWithIcons:function(){return u},matchesFuzzyIconAware:function(){return p}});var i=n(27017),o=n(91482);const r="$(",s=/(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function a(e){return e.replace(s,((e,t)=>t?e:`\\${e}`))}const l=/\\\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function c(e){return e.replace(l,(e=>`\\${e}`))}const d=/(\s)?(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)(\s)?/gi;function h(e){return-1===e.indexOf(r)?e:e.replace(d,((e,t,n,i)=>n?e:t||i||""))}function u(e){const t=e.indexOf(r);return-1===t?{text:e}:function(e,t){const n=[];let i="";function o(e){if(e){i+=e;for(const t of e)n.push(d)}}let s,a,l=-1,c="",d=0,h=t;const u=e.length;for(o(e.substr(0,t));he.length&&(n=e.length);to}]}}(i||(i={}))},98070:function(e,t,n){"use strict";n.r(t),n.d(t,{KeyCodeUtils:function(){return l},KeyChord:function(){return c},createKeybinding:function(){return d},createSimpleKeybinding:function(){return h},SimpleKeybinding:function(){return u},ChordKeybinding:function(){return p},ResolvedKeybindingPart:function(){return g},ResolvedKeybinding:function(){return m}});var i=n(12718);class o{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const r=new o,s=new o,a=new o;var l;function c(e,t){return(e|(65535&t)<<16>>>0)>>>0}function d(e,t){if(0===e)return null;const n=(65535&e)>>>0,i=(4294901760&e)>>>16;return new p(0!==i?[h(n,t),h(i,t)]:[h(n,t)])}function h(e,t){const n=!!(2048&e),i=!!(256&e);return new u(2===t?i:n,!!(1024&e),!!(512&e),2===t?n:i,255&e)}!function(){function e(e,t,n=t,i=n){r.define(e,t),s.define(e,n),a.define(e,i)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return r.keyCodeToStr(e)},e.fromString=function(e){return r.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return a.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||a.strToKeyCode(e)}}(l||(l={}));class u{constructor(e,t,n,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyCode=o}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new p([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class p{constructor(e){if(0===e.length)throw(0,i.illegalArgument)("parts");this.parts=e}}class g{constructor(e,t,n,i,o,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=i,this.keyLabel=o,this.keyAriaLabel=r}}class m{}},20693:function(e,t,n){"use strict";n.r(t),n.d(t,{ModifierLabelProvider:function(){return o},UILabelProvider:function(){return r},AriaLabelProvider:function(){return s}});var i=n(89982);class o{constructor(e,t,n=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}toLabel(e,t,n){if(0===t.length)return null;const i=[];for(let o=0,r=t.length;o1)throw new s(t);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function c(...e){return e.forEach(o),d((()=>l(e)))}function d(e){const t={dispose:()=>{e()}};return t}class h{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){try{l(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?h.DISABLE_DISPOSED_WARNING||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):this._toDispose.add(e),e}}h.DISABLE_DISPOSED_WARNING=!1;class u{constructor(){this._store=new h}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}u.None=Object.freeze({dispose(){}});class p{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value&&this._value.dispose(),this._value=void 0}}class g{constructor(e){this.object=e}dispose(){}}},22446:function(e,t,n){"use strict";n.r(t),n.d(t,{LinkedList:function(){return o}});class i{constructor(e){this.element=e,this.next=i.Undefined,this.prev=i.Undefined}}i.Undefined=new i(void 0);class o{constructor(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===i.Undefined}clear(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new i(e);if(this._first===i.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let o=!1;return()=>{o||(o=!0,this._remove(n))}}shift(){if(this._first!==i.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==i.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==i.Undefined;)yield e.element,e=e.next}}},13833:function(e,t,n){"use strict";n.r(t),n.d(t,{StringIterator:function(){return r},ConfigKeysIterator:function(){return s},PathIterator:function(){return a},UriIterator:function(){return l},TernarySearchTree:function(){return d},ResourceMap:function(){return h},LinkedMap:function(){return u},LRUCache:function(){return p}});var i=n(19300),o=n(91482);class r{constructor(){this._value="",this._pos=0}reset(e){return this._value=e,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos!1)){return new d(new l(e))}static forStrings(){return new d(new r)}static forConfigKeys(){return new d(new s)}clear(){this._root=void 0}set(e,t){const n=this._iter.reset(e);let i;for(this._root||(this._root=new c,this._root.segment=n.value()),i=this._root;;){const e=n.cmp(i.segment);if(e>0)i.left||(i.left=new c,i.left.segment=n.value()),i=i.left;else if(e<0)i.right||(i.right=new c,i.right.segment=n.value()),i=i.right;else{if(!n.hasNext())break;n.next(),i.mid||(i.mid=new c,i.mid.segment=n.value()),i=i.mid}}const o=i.value;return i.value=t,i.key=e,o}get(e){var t;return null===(t=this._getNode(e))||void 0===t?void 0:t.value}_getNode(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n}has(e){const t=this._getNode(e);return!(void 0===(null==t?void 0:t.value)&&void 0===(null==t?void 0:t.mid))}delete(e){return this._delete(e,!1)}deleteSuperstr(e){return this._delete(e,!0)}_delete(e,t){const n=this._iter.reset(e),i=[];let o=this._root;for(;o;){const e=n.cmp(o.segment);if(e>0)i.push([1,o]),o=o.left;else if(e<0)i.push([-1,o]),o=o.right;else{if(!n.hasNext()){for(t?(o.left=void 0,o.mid=void 0,o.right=void 0):o.value=void 0;i.length>0&&o.isEmpty();){let[e,t]=i.pop();switch(e){case 1:t.left=void 0;break;case 0:t.mid=void 0;break;case-1:t.right=void 0}o=t}break}n.next(),i.push([0,o]),o=o.mid}}}findSubstr(e){const t=this._iter.reset(e);let n,i=this._root;for(;i;){const e=t.cmp(i.segment);if(e>0)i=i.left;else if(e<0)i=i.right;else{if(!t.hasNext())break;t.next(),n=i.value||n,i=i.mid}}return i&&i.value||n}findSuperstr(e){const t=this._iter.reset(e);let n=this._root;for(;n;){const e=t.cmp(n.segment);if(e>0)n=n.left;else if(e<0)n=n.right;else{if(!t.hasNext())return n.mid?this._entries(n.mid):void 0;t.next(),n=n.mid}}}forEach(e){for(const[t,n]of this)e(n,t)}*[Symbol.iterator](){yield*this._entries(this._root)}*_entries(e){e&&(yield*this._entries(e.left),e.value&&(yield[e.key,e.value]),yield*this._entries(e.mid),yield*this._entries(e.right))}}class h{constructor(e,t){this[Symbol.toStringTag]="ResourceMap",e instanceof h?(this.map=new Map(e.map),this.toKey=null!=t?t:h.defaultToKey):(this.map=new Map,this.toKey=null!=e?e:h.defaultToKey)}set(e,t){return this.map.set(this.toKey(e),t),this}get(e){return this.map.get(this.toKey(e))}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){void 0!==t&&(e=e.bind(t));for(let[t,n]of this.map)e(n,i.URI.parse(t),this)}values(){return this.map.values()}*keys(){for(let e of this.map.keys())yield i.URI.parse(e)}*entries(){for(let e of this.map.entries())yield[i.URI.parse(e[0]),e[1]]}*[Symbol.iterator](){for(let e of this.map)yield[i.URI.parse(e[0]),e[1]]}}h.defaultToKey=e=>e.toString();class u{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){const n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value}set(e,t,n=0){let i=this._map.get(e);if(i)i.value=t,0!==n&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:default:this.addItemLast(i)}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.key,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}values(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.value,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}entries(){const e=this,t=this._state;let n=this._head;const i={[Symbol.iterator]:()=>i,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:[n.key,n.value],done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return i}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;const t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;const t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach(((t,n)=>{e.push([n,t])})),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class p extends u{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},55202:function(e){e.exports=function(){"use strict";function e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(i=e[Symbol.iterator]()).next.bind(i)}var i=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),o=(i.defaults,i.getDefaults,i.changeDefaults,/[&<>"']/),r=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(e){return l[e]};var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function h(e){return e.replace(d,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var u=/(^|[^\[])\^/g;var p=/[^\w:]/g,g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var m={},f=/^[^:]+:\/*[^/]*$/,b=/^([^:]+:)[\s\S]*$/,v=/^([^:]+:\/*[^/]*)[\s\S]*$/;function _(e,t){m[" "+e]||(f.test(e)?m[" "+e]=e+"/":m[" "+e]=w(e,"/",!0));var n=-1===(e=m[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(b,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(v,"$1")+t:e+t}function w(e,t,n){var i=e.length;if(0===i)return"";for(var o=0;o=0&&"\\"===n[o];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.length1;)1&t&&(n+=e),t>>=1,e+=e;return n+e},R=i.defaults,N=T,M=k,O=y,P=I;function F(e,t,n){var i=t.href,o=t.title?O(t.title):null,r=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:i,title:o,text:r}:{type:"image",raw:n,href:i,title:o,text:O(r)}}var z=function(){function e(e){this.options=e||R}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var i=t[t.length-1];if(i&&"paragraph"===i.type)return{raw:n[0],text:n[0].trimRight()};var o=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?o:N(o,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:M(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var i,o=n.align.length;for(i=0;i ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){for(var n,i,o,r,s,a,l,c=t[0],d=t[2],h=d.length>1,u=")"===d[d.length-1],p={type:"list",raw:c,ordered:h,start:h?+d.slice(0,-1):"",loose:!1,items:[]},g=t[0].match(this.rules.block.item),m=!1,f=g.length,b=0;b1||this.options.smartLists&&o!==d)&&(r=g.slice(b+1).join("\n"),p.raw=p.raw.substring(0,p.raw.length-r.length),b=f-1)),s=m||/\n\n(?!\s*$)/.test(n),b!==f-1&&(m="\n"===n.charAt(n.length-1),s||(s=m)),s&&(p.loose=!0),l=void 0,(a=/^\[[ xX]\] /.test(n))&&(l=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,"")),p.items.push({type:"list_item",raw:c,task:a,checked:l,loose:s,text:n});return p}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):O(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:M(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var i,o=n.align.length;for(i=0;i/i.test(i[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):O(i[0]):i[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=P(t[2],"()");if(n>-1){var i=(0===t[0].indexOf("!")?5:4)+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,i).trim(),t[3]=""}var o=t[2],r="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s?(o=s[1],r=s[3]):r=""}else r=t[3]?t[3].slice(1,-1):"";return F(t,{href:(o=o.trim().replace(/^<([\s\S]*)>$/,"$1"))?o.replace(this.rules.inline._escapes,"$1"):o,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return F(n,i,n[0])}},t.strong=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.strong.start.exec(e);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var o,r="**"===i[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(r.lastIndex=0;null!=(i=r.exec(t));)if(o=this.rules.inline.strong.middle.exec(t.slice(0,i.index+3)))return{type:"strong",raw:e.slice(0,o[0].length),text:e.slice(2,o[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.em.start.exec(e);if(i&&(!i[1]||i[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var o,r="*"===i[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(r.lastIndex=0;null!=(i=r.exec(t));)if(o=this.rules.inline.em.middle.exec(t.slice(0,i.index+2)))return{type:"em",raw:e.slice(0,o[0].length),text:e.slice(1,o[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),o=n.startsWith(" ")&&n.endsWith(" ");return i&&o&&(n=n.substring(1,n.length-1)),n=O(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}},t.autolink=function(e,t){var n,i,o=this.rules.inline.autolink.exec(e);if(o)return i="@"===o[2]?"mailto:"+(n=O(this.options.mangle?t(o[1]):o[1])):n=O(o[1]),{type:"link",raw:o[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var i,o;if("@"===n[2])o="mailto:"+(i=O(this.options.mangle?t(n[0]):n[0]));else{var r;do{r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(r!==n[0]);i=O(n[0]),o="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:o,tokens:[{type:"text",raw:i,text:i}]}}},t.inlineText=function(e,t,n){var i,o=this.rules.inline.text.exec(e);if(o)return i=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):O(o[0]):o[0]:O(this.options.smartypants?n(o[0]):o[0]),{type:"text",raw:o[0],text:i}},e}(),B=x,W=C,U=E,H={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:B,table:B,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};H.def=W(H.def).replace("label",H._label).replace("title",H._title).getRegex(),H.bullet=/(?:[*+-]|\d{1,9}[.)])/,H.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,H.item=W(H.item,"gm").replace(/bull/g,H.bullet).getRegex(),H.list=W(H.list).replace(/bull/g,H.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+H.def.source+")").getRegex(),H._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",H._comment=/|$)/,H.html=W(H.html,"i").replace("comment",H._comment).replace("tag",H._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),H.paragraph=W(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",H._tag).getRegex(),H.blockquote=W(H.blockquote).replace("paragraph",H.paragraph).getRegex(),H.normal=U({},H),H.gfm=U({},H.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),H.gfm.nptable=W(H.gfm.nptable).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",H._tag).getRegex(),H.gfm.table=W(H.gfm.table).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",H._tag).getRegex(),H.pedantic=U({},H.normal,{html:W("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",H._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:B,paragraph:W(H.normal._paragraph).replace("hr",H.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",H.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var V={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:B,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:B,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};V.punctuation=W(V.punctuation).replace(/punctuation/g,V._punctuation).getRegex(),V._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",V._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",V._comment=W(H._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),V.em.start=W(V.em.start).replace(/punctuation/g,V._punctuation).getRegex(),V.em.middle=W(V.em.middle).replace(/punctuation/g,V._punctuation).replace(/overlapSkip/g,V._overlapSkip).getRegex(),V.em.endAst=W(V.em.endAst,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.em.endUnd=W(V.em.endUnd,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.strong.start=W(V.strong.start).replace(/punctuation/g,V._punctuation).getRegex(),V.strong.middle=W(V.strong.middle).replace(/punctuation/g,V._punctuation).replace(/overlapSkip/g,V._overlapSkip).getRegex(),V.strong.endAst=W(V.strong.endAst,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.strong.endUnd=W(V.strong.endUnd,"g").replace(/punctuation/g,V._punctuation).getRegex(),V.blockSkip=W(V._blockSkip,"g").getRegex(),V.overlapSkip=W(V._overlapSkip,"g").getRegex(),V._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,V._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,V._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,V.autolink=W(V.autolink).replace("scheme",V._scheme).replace("email",V._email).getRegex(),V._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,V.tag=W(V.tag).replace("comment",V._comment).replace("attribute",V._attribute).getRegex(),V._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,V._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,V._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,V.link=W(V.link).replace("label",V._label).replace("href",V._href).replace("title",V._title).getRegex(),V.reflink=W(V.reflink).replace("label",V._label).getRegex(),V.reflinkSearch=W(V.reflinkSearch,"g").replace("reflink",V.reflink).replace("nolink",V.nolink).getRegex(),V.normal=U({},V),V.pedantic=U({},V.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:W(/^!?\[(label)\]\((.*?)\)/).replace("label",V._label).getRegex(),reflink:W(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",V._label).getRegex()}),V.gfm=U({},V.normal,{escape:W(V.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var J=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||K,this.options.tokenizer=this.options.tokenizer||new z,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:q.normal,inline:G.normal};this.options.pedantic?(t.block=q.pedantic,t.inline=G.pedantic):this.options.gfm&&(t.block=q.gfm,this.options.breaks?t.inline=G.breaks:t.inline=G.gfm),this.tokenizer.rules=t}t.lex=function(e,n){return new t(n).lex(e)},t.lexInline=function(e,n){return new t(n).inlineTokens(e)};var n,i,o,r=t.prototype;return r.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,n){var i,o,r,s;for(void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");e;)if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e,t))e=e.substring(i.raw.length),i.type?t.push(i):((s=t[t.length-1]).raw+="\n"+i.raw,s.text+="\n"+i.text);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.nptable(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),t.push(i);else if(i=this.tokenizer.list(e)){for(e=e.substring(i.raw.length),r=i.items.length,o=0;o0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(a));)l.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,s.index)+"["+Q("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,s.index)+"["+Q("a",s[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;e;)if(r=this.tokenizer.escape(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.tag(e,n,i))e=e.substring(r.raw.length),n=r.inLink,i=r.inRawBlock,t.push(r);else if(r=this.tokenizer.link(e))e=e.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),t.push(r);else if(r=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),t.push(r);else if(r=this.tokenizer.strong(e,a,o))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.em(e,a,o))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.codespan(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.br(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.del(e))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.autolink(e,$))e=e.substring(r.raw.length),t.push(r);else if(n||!(r=this.tokenizer.url(e,$))){if(r=this.tokenizer.inlineText(e,i,Y))e=e.substring(r.raw.length),o=r.raw.slice(-1),t.push(r);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(r.raw.length),t.push(r);return t},n=t,o=[{key:"rules",get:function(){return{block:q,inline:G}}}],(i=null)&&e(n.prototype,i),o&&e(n,o),t}(),Z=i.defaults,X=S,ee=y,te=function(){function e(e){this.options=e||Z}var t=e.prototype;return t.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,i);null!=o&&o!==e&&(n=!0,e=o)}return i?'
'+(n?e:ee(e,!0))+"
\n":"
"+(n?e:ee(e,!0))+"
\n"},t.blockquote=function(e){return"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,n,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
\n":"
\n"},t.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(null===(e=X(this.options.sanitize,this.options.baseUrl,e)))return n;var i='"+n+""},t.image=function(e,t,n){if(null===(e=X(this.options.sanitize,this.options.baseUrl,e)))return n;var i=''+n+'":">")},t.text=function(e){return e},e}(),ne=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),ie=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do{n=e+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),oe=i.defaults,re=A,se=function(){function e(e){this.options=e||oe,this.options.renderer=this.options.renderer||new te,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ne,this.slugger=new ie}e.parse=function(t,n){return new e(n).parse(t)},e.parseInline=function(t,n){return new e(n).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,i,o,r,s,a,l,c,d,h,u,p,g,m,f,b,v,_,w="",y=e.length;for(n=0;n0&&"text"===f.tokens[0].type?(f.tokens[0].text=_+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=_+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:_}):m+=_),m+=this.parse(f.tokens,g),d+=this.renderer.listitem(m,v,b);w+=this.renderer.list(d,u,p);continue;case"html":w+=this.renderer.html(h.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(d=h.tokens?this.parseInline(h.tokens):h.text;n+1An error occurred:

    "+ce(e.message+"",!0)+"
    ";throw e}}return pe.options=pe.setOptions=function(e){return ae(pe.defaults,e),he(pe.defaults),pe},pe.getDefaults=de,pe.defaults=ue,pe.use=function(e){var t=ae({},e);if(e.renderer&&function(){var n=pe.defaults.renderer||new te,i=function(t){var i=n[t];n[t]=function(){for(var o=arguments.length,r=new Array(o),s=0;sAn error occurred:

    "+ce(e.message+"",!0)+"
    ";throw e}},pe.Parser=se,pe.parser=se.parse,pe.Renderer=te,pe.TextRenderer=ne,pe.Lexer=J,pe.lexer=J.lex,pe.Tokenizer=z,pe.Slugger=ie,pe.parse=pe,pe}()},61098:function(e,t,n){"use strict";n.r(t),n.d(t,{parse:function(){return r},revive:function(){return s}});var i=n(44913),o=n(19300);function r(e){let t=JSON.parse(e);return t=s(t),t}function s(e,t=0){if(!e||t>200)return e;if("object"==typeof e){switch(e.$mid){case 1:return o.URI.revive(e);case 2:return new RegExp(e.source,e.flags)}if(e instanceof i.VSBuffer||e instanceof Uint8Array)return e;if(Array.isArray(e))for(let n=0;n=0}}(e);d.push(n),n.userConfigured?u.push(n):h.push(n),t&&!n.userConfigured&&d.forEach((e=>{e.mime===n.mime||e.userConfigured||(n.extension&&e.extension===n.extension&&console.warn(`Overwriting extension <<${n.extension}>> to now point to mime <<${n.mime}>>`),n.filename&&e.filename===n.filename&&console.warn(`Overwriting filename <<${n.filename}>> to now point to mime <<${n.mime}>>`),n.filepattern&&e.filepattern===n.filepattern&&console.warn(`Overwriting filepattern <<${n.filepattern}>> to now point to mime <<${n.mime}>>`),n.firstline&&e.firstline===n.firstline&&console.warn(`Overwriting firstline <<${n.firstline}>> to now point to mime <<${n.mime}>>`))}))}function g(e,t){let n;if(e)switch(e.scheme){case s.Schemas.file:n=e.fsPath;break;case s.Schemas.data:n=a.DataUri.parseMetaData(e).get(a.DataUri.META_DATA_LABEL);break;default:n=e.path}if(!n)return[c];n=n.toLowerCase();const r=(0,i.basename)(n),p=m(n,r,u);if(p)return[p,l];const g=m(n,r,h);if(g)return[g,l];if(t){const e=function(e){if((0,o.startsWithUTF8BOM)(e)&&(e=e.substr(1)),e.length>0)for(let t=d.length-1;t>=0;t--){const n=d[t];if(!n.firstline)continue;const i=e.match(n.firstline);if(i&&i.length>0)return n.mime}return null}(t);if(e)return[e,l]}return[c]}function m(e,t,n){let i=null,o=null,s=null;for(let a=n.length-1;a>=0;a--){const l=n[a];if(t===l.filenameLowercase){i=l;break}if(l.filepattern&&(!o||l.filepattern.length>o.filepattern.length)){const n=l.filepatternOnPath?e:t;(0,r.match)(l.filepatternLowercase,n)&&(o=l)}l.extension&&(!s||l.extension.length>s.extension.length)&&t.endsWith(l.extensionLowercase)&&(s=l)}return i?i.mime:o?o.mime:s?s.mime:null}},27582:function(e,t,n){"use strict";n.r(t),n.d(t,{ArrayNavigator:function(){return i}});class i{constructor(e,t=0,n=e.length,i=t-1){this.items=e,this.start=t,this.end=n,this.index=i}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}},27952:function(e,t,n){"use strict";n.r(t),n.d(t,{Schemas:function(){return i},RemoteAuthorities:function(){return s},FileAccess:function(){return a}});var i,o=n(19300),r=n(66719);!function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.userData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebook="vscode-notebook",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeSettings="vscode-settings",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.vscodeWebviewResource="vscode-webview-resource",e.extension="extension",e.vscodeFileResource="vscode-file"}(i||(i={}));const s=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}setPreferredWebSchema(e){this._preferredWebSchema=e}rewrite(e){if(this._delegate)return this._delegate(e);const t=e.authority;let n=this._hosts[t];n&&-1!==n.indexOf(":")&&(n=`[${n}]`);const s=this._ports[t],a=this._connectionTokens[t];let l=`path=${encodeURIComponent(e.path)}`;return"string"==typeof a&&(l+=`&tkn=${encodeURIComponent(a)}`),o.URI.from({scheme:r.isWeb?this._preferredWebSchema:i.vscodeRemoteResource,authority:`${n}:${s}`,path:"/vscode-remote-resource",query:l})}},a=new class{constructor(){this.FALLBACK_AUTHORITY="vscode-app"}asBrowserUri(e,t,n){const o=this.toUri(e,t);return o.scheme===i.vscodeRemote?s.rewrite(o):r.isNative&&(n||r.isPreferringBrowserCodeLoad)&&o.scheme===i.file?o.with({scheme:i.vscodeFileResource,authority:o.authority||this.FALLBACK_AUTHORITY,query:null,fragment:null}):o}toUri(e,t){return o.URI.isUri(e)?e:o.URI.parse(t.toUrl(e))}}},53719:function(e,t,n){"use strict";function i(e,t,n){return Math.min(Math.max(e,t),n)}n.r(t),n.d(t,{clamp:function(){return i},MovingAverage:function(){return o}});class o{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this}get value(){return this._val}}},91057:function(e,t,n){"use strict";n.r(t),n.d(t,{deepClone:function(){return o},deepFreeze:function(){return r},cloneAndChange:function(){return a},mixin:function(){return c},equals:function(){return d},getOrDefault:function(){return h}});var i=n(18912);function o(e){if(!e||"object"!=typeof e)return e;if(e instanceof RegExp)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach((n=>{e[n]&&"object"==typeof e[n]?t[n]=o(e[n]):t[n]=e[n]})),t}function r(e){if(!e||"object"!=typeof e)return e;const t=[e];for(;t.length>0;){const e=t.shift();Object.freeze(e);for(const n in e)if(s.call(e,n)){const i=e[n];"object"!=typeof i||Object.isFrozen(i)||t.push(i)}}return e}const s=Object.prototype.hasOwnProperty;function a(e,t){return l(e,t,new Set)}function l(e,t,n){if((0,i.isUndefinedOrNull)(e))return e;const o=t(e);if(void 0!==o)return o;if((0,i.isArray)(e)){const i=[];for(const o of e)i.push(l(o,t,n));return i}if((0,i.isObject)(e)){if(n.has(e))throw new Error("Cannot clone recursive data-structure");n.add(e);const i={};for(let o in e)s.call(e,o)&&(i[o]=l(e[o],t,n));return n.delete(e),i}return e}function c(e,t,n=!0){return(0,i.isObject)(e)?((0,i.isObject)(t)&&Object.keys(t).forEach((o=>{o in e?n&&((0,i.isObject)(e[o])&&(0,i.isObject)(t[o])?c(e[o],t[o],n):e[o]=t[o]):e[o]=t[o]})),e):t}function d(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n=65&&e<=90||e>=97&&e<=122}function p(e,t,n,i){let s="",a=0,l=-1,c=0,d=0;for(let h=0;h<=e.length;++h){if(h2){const e=s.lastIndexOf(n);-1===e?(s="",a=0):(s=s.slice(0,e),a=s.length-1-s.lastIndexOf(n)),l=h,c=0;continue}if(0!==s.length){s="",a=0,l=h,c=0;continue}}t&&(s+=s.length>0?`${n}..`:"..",a=2)}else s.length>0?s+=`${n}${e.slice(l+1,h)}`:s=e.slice(l+1,h),a=h-l-1;l=h,c=0}else d===o&&-1!==c?++c:c=-1}return s}function g(e,t){if(null===t||"object"!=typeof t)throw new l("pathObject","Object",t);const n=t.dir||t.root,i=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${i}`:`${n}${e}${i}`:i}const m={resolve(...e){let t="",n="",o=!1;for(let r=e.length-1;r>=-1;r--){let l;if(r>=0){if(l=e[r],c(l,"path"),0===l.length)continue}else 0===t.length?l=i.cwd():(l=i.env[`=${t}`]||i.cwd(),(void 0===l||l.slice(0,2).toLowerCase()!==t.toLowerCase()&&l.charCodeAt(2)===s)&&(l=`${t}\\`));const h=l.length;let p=0,g="",m=!1;const f=l.charCodeAt(0);if(1===h)d(f)&&(p=1,m=!0);else if(d(f))if(m=!0,d(l.charCodeAt(1))){let e=2,t=e;for(;e2&&d(l.charCodeAt(2))&&(m=!0,p=3));if(g.length>0)if(t.length>0){if(g.toLowerCase()!==t.toLowerCase())continue}else t=g;if(o){if(t.length>0)break}else if(n=`${l.slice(p)}\\${n}`,o=m,m&&t.length>0)break}return n=p(n,!o,"\\",d),o?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){c(e,"path");const t=e.length;if(0===t)return".";let n,i=0,o=!1;const r=e.charCodeAt(0);if(1===t)return h(r)?"\\":e;if(d(r))if(o=!0,d(e.charCodeAt(1))){let o=2,r=o;for(;o2&&d(e.charCodeAt(2))&&(o=!0,i=3));let s=i0&&d(e.charCodeAt(t-1))&&(s+="\\"),void 0===n?o?`\\${s}`:s:o?`${n}\\${s}`:`${n}${s}`},isAbsolute(e){c(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return d(n)||t>2&&u(n)&&e.charCodeAt(1)===a&&d(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let i=0;i0&&(void 0===t?t=n=o:t+=`\\${o}`)}if(void 0===t)return".";let i=!0,o=0;if("string"==typeof n&&d(n.charCodeAt(0))){++o;const e=n.length;e>1&&d(n.charCodeAt(1))&&(++o,e>2&&(d(n.charCodeAt(2))?++o:i=!1))}if(i){for(;o=2&&(t=`\\${t.slice(o)}`)}return m.normalize(t)},relative(e,t){if(c(e,"from"),c(t,"to"),e===t)return"";const n=m.resolve(e),i=m.resolve(t);if(n===i)return"";if((e=n.toLowerCase())===(t=i.toLowerCase()))return"";let o=0;for(;oo&&e.charCodeAt(r-1)===s;)r--;const a=r-o;let l=0;for(;ll&&t.charCodeAt(d-1)===s;)d--;const h=d-l,u=au){if(t.charCodeAt(l+g)===s)return i.slice(l+g+1);if(2===g)return i.slice(l+g)}a>u&&(e.charCodeAt(o+g)===s?p=g:2===g&&(p=3)),-1===p&&(p=0)}let f="";for(g=o+p+1;g<=r;++g)g!==r&&e.charCodeAt(g)!==s||(f+=0===f.length?"..":"\\..");return l+=p,f.length>0?`${f}${i.slice(l,d)}`:(i.charCodeAt(l)===s&&++l,i.slice(l,d))},toNamespacedPath(e){if("string"!=typeof e)return e;if(0===e.length)return"";const t=m.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===s){if(t.charCodeAt(1)===s){const e=t.charCodeAt(2);if(63!==e&&e!==o)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(u(t.charCodeAt(0))&&t.charCodeAt(1)===a&&t.charCodeAt(2)===s)return`\\\\?\\${t}`;return e},dirname(e){c(e,"path");const t=e.length;if(0===t)return".";let n=-1,i=0;const o=e.charCodeAt(0);if(1===t)return d(o)?e:".";if(d(o)){if(n=i=1,d(e.charCodeAt(1))){let o=2,r=o;for(;o2&&d(e.charCodeAt(2))?3:2,i=n);let r=-1,s=!0;for(let n=t-1;n>=i;--n)if(d(e.charCodeAt(n))){if(!s){r=n;break}}else s=!1;if(-1===r){if(-1===n)return".";r=n}return e.slice(0,r)},basename(e,t){void 0!==t&&c(t,"ext"),c(e,"path");let n,i=0,o=-1,r=!0;if(e.length>=2&&u(e.charCodeAt(0))&&e.charCodeAt(1)===a&&(i=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let s=t.length-1,a=-1;for(n=e.length-1;n>=i;--n){const l=e.charCodeAt(n);if(d(l)){if(!r){i=n+1;break}}else-1===a&&(r=!1,a=n+1),s>=0&&(l===t.charCodeAt(s)?-1==--s&&(o=n):(s=-1,o=a))}return i===o?o=a:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=i;--n)if(d(e.charCodeAt(n))){if(!r){i=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname(e){c(e,"path");let t=0,n=-1,i=0,r=-1,s=!0,l=0;e.length>=2&&e.charCodeAt(1)===a&&u(e.charCodeAt(0))&&(t=i=2);for(let a=e.length-1;a>=t;--a){const t=e.charCodeAt(a);if(d(t)){if(!s){i=a+1;break}}else-1===r&&(s=!1,r=a+1),t===o?-1===n?n=a:1!==l&&(l=1):-1!==n&&(l=-1)}return-1===n||-1===r||0===l||1===l&&n===r-1&&n===i+1?"":e.slice(n,r)},format:g.bind(null,"\\"),parse(e){c(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let i=0,r=e.charCodeAt(0);if(1===n)return d(r)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(d(r)){if(i=1,d(e.charCodeAt(1))){let t=2,o=t;for(;t0&&(t.root=e.slice(0,i));let s=-1,l=i,h=-1,p=!0,g=e.length-1,m=0;for(;g>=i;--g)if(r=e.charCodeAt(g),d(r)){if(!p){l=g+1;break}}else-1===h&&(p=!1,h=g+1),r===o?-1===s?s=g:1!==m&&(m=1):-1!==s&&(m=-1);return-1!==h&&(-1===s||0===m||1===m&&s===h-1&&s===l+1?t.base=t.name=e.slice(l,h):(t.name=e.slice(l,s),t.base=e.slice(l,h),t.ext=e.slice(s,h))),t.dir=l>0&&l!==i?e.slice(0,l-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},f={resolve(...e){let t="",n=!1;for(let o=e.length-1;o>=-1&&!n;o--){const s=o>=0?e[o]:i.cwd();c(s,"path"),0!==s.length&&(t=`${s}/${t}`,n=s.charCodeAt(0)===r)}return t=p(t,!n,"/",h),n?`/${t}`:t.length>0?t:"."},normalize(e){if(c(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===r,n=e.charCodeAt(e.length-1)===r;return 0===(e=p(e,!t,"/",h)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute:e=>(c(e,"path"),e.length>0&&e.charCodeAt(0)===r),join(...e){if(0===e.length)return".";let t;for(let n=0;n0&&(void 0===t?t=i:t+=`/${i}`)}return void 0===t?".":f.normalize(t)},relative(e,t){if(c(e,"from"),c(t,"to"),e===t)return"";if((e=f.resolve(e))===(t=f.resolve(t)))return"";const n=e.length,i=n-1,o=t.length-1,s=is){if(t.charCodeAt(1+l)===r)return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else i>s&&(e.charCodeAt(1+l)===r?a=l:0===l&&(a=0));let d="";for(l=1+a+1;l<=n;++l)l!==n&&e.charCodeAt(l)!==r||(d+=0===d.length?"..":"/..");return`${d}${t.slice(1+a)}`},toNamespacedPath:e=>e,dirname(e){if(c(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===r;let n=-1,i=!0;for(let t=e.length-1;t>=1;--t)if(e.charCodeAt(t)===r){if(!i){n=t;break}}else i=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&c(t,"ext"),c(e,"path");let n,i=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(n=e.length-1;n>=0;--n){const c=e.charCodeAt(n);if(c===r){if(!s){i=n+1;break}}else-1===l&&(s=!1,l=n+1),a>=0&&(c===t.charCodeAt(a)?-1==--a&&(o=n):(a=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===r){if(!s){i=n+1;break}}else-1===o&&(s=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname(e){c(e,"path");let t=-1,n=0,i=-1,s=!0,a=0;for(let l=e.length-1;l>=0;--l){const c=e.charCodeAt(l);if(c!==r)-1===i&&(s=!1,i=l+1),c===o?-1===t?t=l:1!==a&&(a=1):-1!==t&&(a=-1);else if(!s){n=l+1;break}}return-1===t||-1===i||0===a||1===a&&t===i-1&&t===n+1?"":e.slice(t,i)},format:g.bind(null,"/"),parse(e){c(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===r;let i;n?(t.root="/",i=1):i=0;let s=-1,a=0,l=-1,d=!0,h=e.length-1,u=0;for(;h>=i;--h){const t=e.charCodeAt(h);if(t!==r)-1===l&&(d=!1,l=h+1),t===o?-1===s?s=h:1!==u&&(u=1):-1!==s&&(u=-1);else if(!d){a=h+1;break}}if(-1!==l){const i=0===a&&n?1:a;-1===s||0===u||1===u&&s===l-1&&s===a+1?t.base=t.name=e.slice(i,l):(t.name=e.slice(i,s),t.base=e.slice(i,l),t.ext=e.slice(s,l))}return a>0?t.dir=e.slice(0,a-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};f.win32=m.win32=m,f.posix=m.posix=f;const b="win32"===i.platform?m.normalize:f.normalize,v="win32"===i.platform?m.resolve:f.resolve,_="win32"===i.platform?m.relative:f.relative,w="win32"===i.platform?m.dirname:f.dirname,y="win32"===i.platform?m.basename:f.basename,A="win32"===i.platform?m.extname:f.extname,C="win32"===i.platform?m.sep:f.sep},66719:function(e,t,n){"use strict";var i;n.r(t),n.d(t,{isElectronSandboxed:function(){return _},browserCodeLoadingCacheStrategy:function(){return w},isPreferringBrowserCodeLoad:function(){return y},isWindows:function(){return C},isMacintosh:function(){return S},isLinux:function(){return x},isNative:function(){return E},isWeb:function(){return k},isIOS:function(){return T},userAgent:function(){return I},globals:function(){return D},setImmediate:function(){return L},OS:function(){return R},isLittleEndian:function(){return O}});const o="en";let r,s,a,l=!1,c=!1,d=!1,h=!1,u=!1,p=!1,g=!1,m=null;const f="object"==typeof self?self:"object"==typeof n.g?n.g:{};let b;"undefined"!=typeof process?b=process:void 0!==f.vscode&&(b=f.vscode.process);const v="string"==typeof(null===(i=null==b?void 0:b.versions)||void 0===i?void 0:i.electron)&&"renderer"===b.type,_=v&&(null==b?void 0:b.sandboxed),w=(()=>{if(_)return"bypassHeatCheck";const e=null==b?void 0:b.env.ENABLE_VSCODE_BROWSER_CODE_LOADING;return"string"==typeof e?"none"===e||"code"===e||"bypassHeatCheck"===e||"bypassHeatCheckAndEagerCompile"===e?e:"bypassHeatCheck":void 0})(),y="string"==typeof w;if("object"!=typeof navigator||v)if("object"==typeof b){l="win32"===b.platform,c="darwin"===b.platform,d="linux"===b.platform,h=d&&!!b.env.SNAP&&!!b.env.SNAP_REVISION,r=o,m=o;const e=b.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];r=t.locale,m=n||o,s=t._translationsConfigFile}catch(e){}u=!0}else console.error("Unable to resolve platform.");else a=navigator.userAgent,l=a.indexOf("Windows")>=0,c=a.indexOf("Macintosh")>=0,g=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,d=a.indexOf("Linux")>=0,p=!0,r=navigator.language,m=r;let A=0;c?A=1:l?A=3:d&&(A=2);const C=l,S=c,x=d,E=u,k=p,T=g,I=a,D=f,L=function(){if(D.setImmediate)return D.setImmediate.bind(D);if("function"==typeof D.postMessage&&!D.importScripts){let e=[];D.addEventListener("message",(t=>{if(t.data&&t.data.vscodeSetImmediateId)for(let n=0,i=e.length;n{const i=++t;e.push({id:i,callback:n}),D.postMessage({vscodeSetImmediateId:i},"*")}}if(b)return b.nextTick.bind(b);const e=Promise.resolve();return t=>e.then(t)}(),R=c||g?2:l?1:3;let N=!0,M=!1;function O(){if(!M){M=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);N=513===t[0]}return N}},63953:function(e,t,n){"use strict";n.r(t),n.d(t,{cwd:function(){return r},env:function(){return s},platform:function(){return a}});var i=n(66719);let o;o="undefined"!=typeof process?process:void 0!==i.globals.vscode?{get platform(){return i.globals.vscode.process.platform},get env(){return i.globals.vscode.process.env},nextTick:e=>(0,i.setImmediate)(e),cwd:()=>i.globals.vscode.process.env.VSCODE_CWD||i.globals.vscode.process.execPath.substr(0,i.globals.vscode.process.execPath.lastIndexOf("win32"===i.globals.vscode.process.platform?"\\":"/"))}:{get platform(){return i.isWindows?"win32":i.isMacintosh?"darwin":"linux"},nextTick:e=>(0,i.setImmediate)(e),get env(){return Object.create(null)},cwd:()=>"/"};const r=o.cwd,s=o.env,a=o.platform},83682:function(e,t,n){"use strict";var i;n.r(t),n.d(t,{Range:function(){return i}}),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};const n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return i-n<=0?{start:0,end:0}:{start:n,end:i}}function n(e){return e.end-e.start<=0}e.intersect=t,e.isEmpty=n,e.intersects=function(e,i){return!n(t(e,i))},e.relativeComplement=function(e,t){const i=[],o={start:e.start,end:Math.min(t.start,e.end)},r={start:Math.max(t.end,e.start),end:e.end};return n(o)||i.push(o),n(r)||i.push(r),i}}(i||(i={}))},50552:function(e,t,n){"use strict";n.r(t),n.d(t,{originalFSPath:function(){return l},ExtUri:function(){return c},extUri:function(){return d},isEqual:function(){return h},basenameOrAuthority:function(){return u},basename:function(){return p},dirname:function(){return g},joinPath:function(){return m},normalizePath:function(){return f},resolvePath:function(){return b},DataUri:function(){return v}});var i=n(98508),o=n(23674),r=n(19300),s=n(91482),a=n(27952);function l(e){return(0,r.uriToFsPath)(e,!0)}class c{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:(0,s.compare)(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}joinPath(e,...t){return r.URI.joinPath(e,...t)}basenameOrAuthority(e){return p(e)||e.authority}basename(e){return o.posix.basename(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===a.Schemas.file?t=r.URI.file(o.dirname(l(e))).path:(t=o.posix.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error(`dirname("${e.toString})) resulted in a relative path`),t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===a.Schemas.file?r.URI.file(o.normalize(l(e))).path:o.posix.normalize(e.path),e.with({path:t})}resolvePath(e,t){if(e.scheme===a.Schemas.file){const n=r.URI.file(o.resolve(l(e),t));return e.with({authority:n.authority,path:n.path})}return-1===t.indexOf("/")&&(t=i.toSlashes(t),/^[a-zA-Z]:(\/|$)/.test(t)&&(t="/"+t)),e.with({path:o.posix.resolve(e.path,t)})}}const d=new c((()=>!1)),h=d.isEqual.bind(d),u=d.basenameOrAuthority.bind(d),p=d.basename.bind(d),g=d.dirname.bind(d),m=d.joinPath.bind(d),f=d.normalizePath.bind(d),b=d.resolvePath.bind(d);var v;!function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach((e=>{const[t,i]=e.split(":");t&&i&&n.set(t,i)}));const i=t.path.substring(0,t.path.indexOf(";"));return i&&n.set(e.META_DATA_MIME,i),n}}(v||(v={}))},6097:function(e,t,n){"use strict";n.r(t),n.d(t,{ScrollState:function(){return r},Scrollable:function(){return s},SmoothScrollingUpdate:function(){return a},SmoothScrollingOperation:function(){return c}});var i=n(63801),o=n(68921);class r{constructor(e,t,n,i,o,r){e|=0,t|=0,n|=0,i|=0,o|=0,r|=0,this.rawScrollLeft=n,this.rawScrollTop=r,e<0&&(e=0),n+e>t&&(n=t-e),n<0&&(n=0),i<0&&(i=0),r+i>o&&(r=o-i),r<0&&(r=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=i,this.scrollHeight=o,this.scrollTop=r}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new r(void 0!==e.width?e.width:this.width,void 0!==e.scrollWidth?e.scrollWidth:this.scrollWidth,t?this.rawScrollLeft:this.scrollLeft,void 0!==e.height?e.height:this.height,void 0!==e.scrollHeight?e.scrollHeight:this.scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new r(this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){const n=this.width!==e.width,i=this.scrollWidth!==e.scrollWidth,o=this.scrollLeft!==e.scrollLeft,r=this.height!==e.height,s=this.scrollHeight!==e.scrollHeight,a=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:n,scrollWidthChanged:i,scrollLeftChanged:o,heightChanged:r,scrollHeightChanged:s,scrollTopChanged:a}}}class s extends o.Disposable{constructor(e,t){super(),this._onScroll=this._register(new i.Emitter),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e,this._scheduleAtNextAnimationFrame=t,this._state=new r(0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){const n=this._state.withScrollDimensions(e,t);this._setState(n,Boolean(this._smoothScrolling)),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){const t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t,!1)}setScrollPositionSmooth(e,t){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};const n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;let i;i=t?new c(this._smoothScrolling.from,n,this._smoothScrolling.startTime,this._smoothScrolling.duration):this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=i}else{const t=this._state.withScrollPosition(e);this._smoothScrolling=c.start(this._state,t,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())}))}_performSmoothScrolling(){if(!this._smoothScrolling)return;const e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e);return this._setState(t,!0),this._smoothScrolling?e.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())}))):void 0}_setState(e,t){const n=this._state;n.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(n,t)))}}class a{constructor(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n}}function l(e,t){const n=t-e;return function(t){return e+n*(1-(i=1-t,Math.pow(i,3)));var i}}class c{constructor(e,t,n,i){this.from=e,this.to=t,this.duration=i,this.startTime=n,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,n){if(Math.abs(e-t)>2.5*n){let s,a;return e=t.length?e:t[i]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,t=" "){return d(c(e,t),t)}function c(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let i=0;for(;e.indexOf(t,i)===i;)i+=n;return e.substring(i)}function d(e,t){if(!e||!t)return e;const n=t.length,i=e.length;if(0===n||0===i)return e;let o=i,r=-1;for(;r=e.lastIndexOf(t,o-1),-1!==r&&r+n===o;){if(0===r)return"";o=r}return e.substring(0,o)}function h(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function u(e){return e.replace(/\*/g,"")}function p(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let i="";return n.global&&(i+="g"),n.matchCase||(i+="i"),n.multiline&&(i+="m"),n.unicode&&(i+="u"),new RegExp(e,i)}function g(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function m(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function f(e){return e.split(/\r\n|\r|\n/)}function b(e){for(let t=0,n=e.length;t=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function w(e,t){return et?1:0}function y(e,t,n=0,i=e.length,o=0,r=t.length){for(;nr)return 1}const s=i-n,a=r-o;return sa?1:0}function A(e,t){return C(e,t,0,e.length,0,t.length)}function C(e,t,n=0,i=e.length,o=0,r=t.length){for(;na?1:0}function S(e){return e>=97&&e<=122}function x(e){return e>=65&&e<=90}function E(e){return S(e)||x(e)}function k(e,t){return e.length===t.length&&T(e,t)}function T(e,t,n=e.length){for(let i=0;ie.length)&&T(e,t,n)}function D(e,t){let n,i=Math.min(e.length,t.length);for(n=0;n1){const i=e.charCodeAt(t-2);if(R(i))return M(i,n)}return n}function F(e,t){const n=ie.getInstance(),i=t,o=e.length,r=O(e,o,t);t+=r>=65536?2:1;let s=n.getGraphemeBreakType(r);for(;t=65536?2:1,s=r}return t-i}function z(e,t){const n=ie.getInstance(),i=t,o=P(e,t);t-=o>=65536?2:1;let r=n.getGraphemeBreakType(o);for(;t>0;){const i=P(e,t),o=n.getGraphemeBreakType(i);if(ne(o,r))break;t-=i>=65536?2:1,r=o}return i-t}function B(e){const t=e.byteLength,n=[];let i=0;for(;i=240&&i+3>>0|(63&e[i++])<<12>>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:o>=224&&i+2>>0|(63&e[i++])<<6>>>0|(63&e[i++])<<0>>>0:o>=192&&i+1>>0|(63&e[i++])<<0>>>0:e[i++],r>=0&&r<=55295||r>=57344&&r<=65535)n.push(String.fromCharCode(r));else if(r>=65536&&r<=1114111){const e=r-65536,t=55296+((1047552&e)>>>10),i=56320+((1023&e)>>>0);n.push(String.fromCharCode(t)),n.push(String.fromCharCode(i))}else n.push(String.fromCharCode(65533))}return n.join("")}const W=/(?:[\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])/;function U(e){return W.test(e)}const H=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function V(e){return H.test(e)}const j=/^[\t\n\r\x20-\x7E]*$/;function K(e){return j.test(e)}const q=/[\u2028\u2029]/;function G(e){return q.test(e)}function Q(e){for(let t=0,n=e.length;t=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function $(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}const J=String.fromCharCode(65279);function Z(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function X(e,t=!1){return!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function ee(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function te(e){return ie.getInstance().getGraphemeBreakType(e)}function ne(e,t){return 0===e?5!==t&&7!==t:!(2===e&&3===t||4!==e&&2!==e&&3!==e&&4!==t&&2!==t&&3!==t&&(8===e&&(8===t||9===t||11===t||12===t)||!(11!==e&&9!==e||9!==t&&10!==t)||(12===e||10===e)&&10===t||5===t||13===t||7===t||1===e||13===e&&14===t||6===e&&6===t))}class ie{constructor(){this._data=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]")}static getInstance(){return ie._INSTANCE||(ie._INSTANCE=new ie),ie._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let i=1;for(;i<=n;)if(et[3*i+1]))return t[3*i+2];i=2*i+1}return 0}}ie._INSTANCE=null},18912:function(e,t,n){"use strict";function i(e){return Array.isArray(e)}function o(e){return"string"==typeof e}function r(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function l(e){return void 0===e}function c(e){return l(e)||null===e}function d(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function h(e){if(c(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function u(e){return"function"==typeof e}function p(e,t){const n=Math.min(e.length,t.length);for(let i=0;ifunction(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)};let i={};for(const t of e)i[t]=n(t);return i}function v(e){return null===e?void 0:e}n.r(t),n.d(t,{isArray:function(){return i},isString:function(){return o},isObject:function(){return r},isNumber:function(){return s},isBoolean:function(){return a},isUndefined:function(){return l},isUndefinedOrNull:function(){return c},assertType:function(){return d},assertIsDefined:function(){return h},isFunction:function(){return u},validateConstraints:function(){return p},validateConstraint:function(){return g},getAllPropertyNames:function(){return m},getAllMethodNames:function(){return f},createProxyObject:function(){return b},withNullAsUndefined:function(){return v}})},90662:function(e,t,n){"use strict";function i(e){return e<0?0:e>255?255:0|e}function o(e){return e<0?0:e>4294967295?4294967295:0|e}n.r(t),n.d(t,{toUint8:function(){return i},toUint32:function(){return o}})},19300:function(e,t,n){"use strict";n.r(t),n.d(t,{URI:function(){return h},uriToFsPath:function(){return b}});var i=n(66719),o=n(23674);const r=/^\w[\w\d+.-]*$/,s=/^\//,a=/^\/\//,l="",c="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{constructor(e,t,n,i,o,d=!1){"object"==typeof e?(this.scheme=e.scheme||l,this.authority=e.authority||l,this.path=e.path||l,this.query=e.query||l,this.fragment=e.fragment||l):(this.scheme=function(e,t){return e||t?e:"file"}(e,d),this.authority=t||l,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==c&&(t=c+t):t=c}return t}(this.scheme,n||l),this.query=i||l,this.fragment=o||l,function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!r.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.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(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,d))}static isUri(e){return e instanceof h||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}get fsPath(){return b(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:i,query:o,fragment:r}=e;return void 0===t?t=this.scheme:null===t&&(t=l),void 0===n?n=this.authority:null===n&&(n=l),void 0===i?i=this.path:null===i&&(i=l),void 0===o?o=this.query:null===o&&(o=l),void 0===r?r=this.fragment:null===r&&(r=l),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new p(t,n,i,o,r)}static parse(e,t=!1){const n=d.exec(e);return n?new p(n[2]||l,y(n[4]||l),y(n[5]||l),y(n[7]||l),y(n[9]||l),t):new p(l,l,l,l,l)}static file(e){let t=l;if(i.isWindows&&(e=e.replace(/\\/g,c)),e[0]===c&&e[1]===c){const n=e.indexOf(c,2);-1===n?(t=e.substring(2),e=c):(t=e.substring(2,n),e=e.substring(n)||c)}return new p("file",t,e,l,l)}static from(e){return new p(e.scheme,e.authority,e.path,e.query,e.fragment)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=i.isWindows&&"file"===e.scheme?h.file(o.win32.join(b(e,!0),...t)).path:o.posix.join(e.path,...t),e.with({path:n})}toString(e=!1){return v(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof h)return e;{const t=new p(e);return t._formatted=e.external,t._fsPath=e._sep===u?e.fsPath:null,t}}return e}}const u=i.isWindows?1:void 0;class p extends h{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath}toString(e=!1){return e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t){let n,i=-1;for(let o=0;o=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));const t=g[r];void 0!==t?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=t):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function f(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i.isWindows&&(n=n.replace(/\//g,"\\")),n}function v(e,t){const n=t?f:m;let i="",{scheme:o,authority:r,path:s,query:a,fragment:l}=e;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=c,i+=c),r){let e=r.indexOf("@");if(-1!==e){const t=r.substr(0,e);r=r.substr(e+1),e=t.indexOf(":"),-1===e?i+=n(t,!1):(i+=n(t.substr(0,e),!1),i+=":",i+=n(t.substr(e+1),!1)),i+="@"}r=r.toLowerCase(),e=r.indexOf(":"),-1===e?i+=n(r,!1):(i+=n(r.substr(0,e),!1),i+=r.substr(e))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2)){const e=s.charCodeAt(1);e>=65&&e<=90&&(s=`/${String.fromCharCode(e+32)}:${s.substr(3)}`)}else if(s.length>=2&&58===s.charCodeAt(1)){const e=s.charCodeAt(0);e>=65&&e<=90&&(s=`${String.fromCharCode(e+32)}:${s.substr(2)}`)}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:m(l,!1)),i}function _(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+_(e.substr(3)):e}}const w=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y(e){return e.match(w)?e.replace(w,(e=>_(e))):e}},50302:function(e,t,n){"use strict";n.r(t),n.d(t,{logOnceWebWorkerWarning:function(){return c},SimpleWorkerClient:function(){return h},SimpleWorkerServer:function(){return u},create:function(){return p}});var i=n(12718),o=n(68921),r=n(66719),s=n(18912);const a="$initialize";let l=!1;function c(e){r.isWeb&&(l||(l=!0,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")),console.warn(e.message))}class d{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise(((i,o)=>{this._pendingReplies[n]={resolve:i,reject:o},this._send({vsWorker:this._workerId,req:n,method:e,args:t})}))}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){let t=e;if(!this._pendingReplies[t.seq])return void console.warn("Got reply to unknown seq");let n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&(e=new Error,e.name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void n.reject(e)}return void n.resolve(t.res)}let t=e,n=t.req;this._handler.handleMessage(t.method,t.args).then((e=>{this._send({vsWorker:this._workerId,seq:n,res:e,err:void 0})}),(e=>{e.detail instanceof Error&&(e.detail=(0,i.transformErrorForSerialization)(e.detail)),this._send({vsWorker:this._workerId,seq:n,res:void 0,err:(0,i.transformErrorForSerialization)(e)})}))}_send(e){let t=[];if(e.req){const n=e;for(let e=0;e{this._protocol.handleMessage(e)}),(e=>{i&&i(e)}))),this._protocol=new d({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof n[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(n[e].apply(n,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId());let o=null;void 0!==self.require&&"function"==typeof self.require.getConfig?o=self.require.getConfig():void 0!==self.requirejs&&(o=self.requirejs.s.contexts._.config);const r=s.getAllMethodNames(n);this._onModuleLoaded=this._protocol.sendMessage(a,[this._worker.getId(),JSON.parse(JSON.stringify(o)),t,r]);const l=(e,t)=>this._request(e,t);this._lazyProxy=new Promise(((e,n)=>{i=n,this._onModuleLoaded.then((t=>{e(s.createProxyObject(t,l))}),(e=>{n(e),this._onError("Worker failed to load "+t,e)}))}))}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise(((n,i)=>{this._onModuleLoaded.then((()=>{this._protocol.sendMessage(e,t).then(n,i)}),i)}))}_onError(e,t){console.error(e),console.info(t)}}class u{constructor(e,t){this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new d({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===a)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,i){this._protocol.setWorkerId(e);const o=s.createProxyObject(i,((e,t)=>this._protocol.sendMessage(e,t)));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(o),Promise.resolve(s.getAllMethodNames(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,void 0!==typeof t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,self.require.config(t)),new Promise(((e,t)=>{self.require([n],(n=>{this._requestHandler=n.create(o),this._requestHandler?e(s.getAllMethodNames(this._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}}function p(e){return new u(e,null)}},72067:function(e,t,n){"use strict";n.r(t),n.d(t,{QuickInputController:function(){return I}}),n(67027);var i=n(11476),o=n(96747),r=n(11256),s=n(59765),a=n(19376),l=n(8769),c=n(89982),d=n(66218),h=n(81449),u=n(63801),p=n(54042),g=n(68921),m=n(15051),f=n(31532),b=n(60969),v=n(64998),_=n(66129),w=n(2926),y=n(56087),A=n(91482),C=n(21348),S=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const x=o.$,E={iconClass:(0,y.registerCodicon)("quick-input-back",y.Codicon.arrowLeft).classNames,tooltip:(0,c.localize)("vs/base/parts/quickinput/browser/quickInput","quickInput.back","Back"),handle:-1};class k extends g.Disposable{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new u.Emitter),this.onDidHideEmitter=this._register(new u.Emitter),this.onDisposeEmitter=this._register(new u.Emitter),this.visibleDisposables=this._register(new g.DisposableStore),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){this._ignoreFocusOut=e,this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton((e=>{-1!==this.buttons.indexOf(e)&&this.onDidTriggerButtonEmitter.fire(e)}))),this.ui.show(this),this.visible=!0,this.update())}hide(){this.visible&&this.ui.hide()}didHide(){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire()}update(){if(!this.visible)return;const e=this.getTitle();e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:e||" "===this.ui.title.innerHTML||(this.ui.title.innerText=" ;");const t=this.getDescription();if(this.ui.description1.textContent!==t&&(this.ui.description1.textContent=t),this.ui.description2.textContent!==t&&(this.ui.description2.textContent=t),this.busy&&!this.busyDelay&&(this.busyDelay=new _.TimeoutTimer,this.busyDelay.setIfNotSet((()=>{this.visible&&this.ui.progressBar.infinite()}),800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const e=this.buttons.filter((e=>e===E));this.ui.leftActionBar.push(e.map(((e,t)=>{const n=new b.Action(`id-${t}`,"",e.iconClass||(0,w.getIconClass)(e.iconPath),!0,(()=>S(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)}))));return n.tooltip=e.tooltip||"",n})),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const t=this.buttons.filter((e=>e!==E));this.ui.rightActionBar.push(t.map(((e,t)=>{const n=new b.Action(`id-${t}`,"",e.iconClass||(0,w.getIconClass)(e.iconPath),!0,(()=>S(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)}))));return n.tooltip=e.tooltip||"",n})),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey)}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,c.localize)("vs/base/parts/quickinput/browser/quickInput","quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e===m.default.Error){const t=this.ui.inputBox.stylesForType(e);this.ui.message.style.color=t.foreground?`${t.foreground}`:"",this.ui.message.style.backgroundColor=t.background?`${t.background}`:"",this.ui.message.style.border=t.border?`1px solid ${t.border}`:"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}class T extends k{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new u.Emitter),this.onDidAcceptEmitter=this._register(new u.Emitter),this.onDidCustomEmitter=this._register(new u.Emitter),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._itemActivation=this.ui.isScreenReaderOptimized()?i.ItemActivation.NONE:i.ItemActivation.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new u.Emitter),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new u.Emitter),this.onDidTriggerItemButtonEmitter=this._register(new u.Emitter),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this._value=e||"",this.update()}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=e,this.update()}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?i.NO_KEY_MODS:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(s.QuickInputListFocus.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange((e=>{e!==this.value&&(this._value=e,this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(e))}))),this.visibleDisposables.add(this.ui.inputBox.onMouseDown((e=>{this.autoFocusOnList||this.ui.list.clearFocus()}))),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown((e=>{switch(e.keyCode){case 18:this.ui.list.focus(s.QuickInputListFocus.Next),this.canSelectMany&&this.ui.list.domFocus(),o.EventHelper.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(s.QuickInputListFocus.Previous):this.ui.list.focus(s.QuickInputListFocus.Last),this.canSelectMany&&this.ui.list.domFocus(),o.EventHelper.stop(e,!0);break;case 12:this.ui.list.focus(s.QuickInputListFocus.NextPage),this.canSelectMany&&this.ui.list.domFocus(),o.EventHelper.stop(e,!0);break;case 11:this.ui.list.focus(s.QuickInputListFocus.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),o.EventHelper.stop(e,!0);break;case 17:if(!this._canAcceptInBackground)return;if(!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!0}));break;case 14:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(s.QuickInputListFocus.First),o.EventHelper.stop(e,!0));break;case 13:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(s.QuickInputListFocus.Last),o.EventHelper.stop(e,!0))}}))),this.visibleDisposables.add(this.ui.onDidAccept((()=>{!this.canSelectMany&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.onDidAcceptEmitter.fire({inBackground:!1})}))),this.visibleDisposables.add(this.ui.onDidCustom((()=>{this.onDidCustomEmitter.fire()}))),this.visibleDisposables.add(this.ui.list.onDidChangeFocus((e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,v.equals)(e,this._activeItems,((e,t)=>e===t))||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))}))),this.visibleDisposables.add(this.ui.list.onDidChangeSelection((({items:e,event:t})=>{this.canSelectMany?e.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&(0,v.equals)(e,this._selectedItems,((e,t)=>e===t))||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.onDidAcceptEmitter.fire({inBackground:t instanceof MouseEvent&&1===t.button}))}))),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements((e=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,v.equals)(e,this._selectedItems,((e,t)=>e===t))||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e)))}))),this.visibleDisposables.add(this.ui.list.onButtonTriggered((e=>this.onDidTriggerItemButtonEmitter.fire(e)))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}registerQuickNavigation(){return o.addDisposableListener(this.ui.container,o.EventType.KEY_UP,(e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new l.StandardKeyboardEvent(e),n=t.keyCode;this._quickNavigate.keybindings.some((e=>{const[i,o]=e.getParts();return!(o||(i.shiftKey&&4===n?t.ctrlKey||t.altKey||t.metaKey:!(i.altKey&&6===n||i.ctrlKey&&5===n||i.metaKey&&57===n)))}))&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.onDidAcceptEmitter.fire({inBackground:!1})),this._quickNavigate=void 0)}))}update(){if(!this.visible)return;let e=!1,t=!1;this._hideInput&&this._items.length>0&&(this.ui.isScreenReaderOptimized()?t=!0:e=!0),this.ui.container.classList.toggle("hidden-input",e&&!this.description);const n={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!e,progressBar:!e,visibleCount:!0,count:this.canSelectMany,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};if(this.ui.setVisibilities(n),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||""),t)this.ui.inputBox.ariaLabel="";else{const e=this.ariaLabel||this.placeholder||T.DEFAULT_ARIA_LABEL;this.ui.inputBox.ariaLabel!==e&&(this.ui.inputBox.ariaLabel=e)}if(this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case i.ItemActivation.NONE:this._itemActivation=i.ItemActivation.FIRST;break;case i.ItemActivation.SECOND:this.ui.list.focus(s.QuickInputListFocus.Second),this._itemActivation=i.ItemActivation.FIRST;break;case i.ItemActivation.LAST:this.ui.list.focus(s.QuickInputListFocus.Last),this._itemActivation=i.ItemActivation.FIRST;break;default:this.trySelectFirst()}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null));const r=this.validationMessage||"";this._lastValidationMessage!==r&&(this._lastValidationMessage=r,o.reset(this.ui.message,...(0,C.renderLabelWithIcons)((0,A.escape)(r))),this.showMessageDecoration(this.validationMessage?m.default.Error:m.default.Ignore)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),n.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(s.QuickInputListFocus.First))}}T.DEFAULT_ARIA_LABEL=(0,c.localize)("vs/base/parts/quickinput/browser/quickInput","quickInputBox.ariaLabel","Type to narrow down results.");class I extends g.Disposable{constructor(e){super(),this.options=e,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new u.Emitter),this.onDidCustomEmitter=this._register(new u.Emitter),this.onDidTriggerButtonEmitter=this._register(new u.Emitter),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new u.Emitter),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new u.Emitter),this.onHide=this.onHideEmitter.event,this.idPrefix=e.idPrefix,this.parentElement=e.container,this.styles=e.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const e=e=>{this.keyMods.ctrlCmd=e.ctrlKey||e.metaKey,this.keyMods.alt=e.altKey};this._register(o.addDisposableListener(window,o.EventType.KEY_DOWN,e,!0)),this._register(o.addDisposableListener(window,o.EventType.KEY_UP,e,!0)),this._register(o.addDisposableListener(window,o.EventType.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=o.append(this.parentElement,x(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";const t=o.createStyleSheet(e),n=o.append(e,x(".quick-input-titlebar")),i=this._register(new f.ActionBar(n));i.domNode.classList.add("quick-input-left-action-bar");const r=o.append(n,x(".quick-input-title")),u=this._register(new f.ActionBar(n));u.domNode.classList.add("quick-input-right-action-bar");const g=o.append(e,x(".quick-input-description")),m=o.append(e,x(".quick-input-header")),b=o.append(m,x("input.quick-input-check-all"));b.type="checkbox",this._register(o.addStandardDisposableListener(b,o.EventType.CHANGE,(e=>{const t=b.checked;M.setAllVisibleChecked(t)}))),this._register(o.addDisposableListener(b,o.EventType.CLICK,(e=>{(e.x||e.y)&&y.setFocus()})));const v=o.append(m,x(".quick-input-description")),_=o.append(m,x(".quick-input-and-message")),w=o.append(_,x(".quick-input-filter")),y=this._register(new a.QuickInputBox(w));y.setAttribute("aria-describedby",`${this.idPrefix}message`);const A=o.append(w,x(".quick-input-visible-count"));A.setAttribute("aria-live","polite"),A.setAttribute("aria-atomic","true");const C=new d.CountBadge(A,{countFormat:(0,c.localize)("vs/base/parts/quickinput/browser/quickInput",{key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),S=o.append(w,x(".quick-input-count"));S.setAttribute("aria-live","polite");const E=new d.CountBadge(S,{countFormat:(0,c.localize)("vs/base/parts/quickinput/browser/quickInput",{key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),k=o.append(m,x(".quick-input-action")),I=new p.Button(k);I.label=(0,c.localize)("vs/base/parts/quickinput/browser/quickInput","ok","OK"),this._register(I.onDidClick((e=>{this.onDidAcceptEmitter.fire()})));const D=o.append(m,x(".quick-input-action")),L=new p.Button(D);L.label=(0,c.localize)("vs/base/parts/quickinput/browser/quickInput","custom","Custom"),this._register(L.onDidClick((e=>{this.onDidCustomEmitter.fire()})));const R=o.append(_,x(`#${this.idPrefix}message.quick-input-message`)),N=new h.ProgressBar(e);N.getContainer().classList.add("quick-input-progress");const M=this._register(new s.QuickInputList(e,this.idPrefix+"list",this.options));this._register(M.onChangedAllVisibleChecked((e=>{b.checked=e}))),this._register(M.onChangedVisibleCount((e=>{C.setCount(e)}))),this._register(M.onChangedCheckedCount((e=>{E.setCount(e)}))),this._register(M.onLeave((()=>{setTimeout((()=>{y.setFocus(),this.controller instanceof T&&this.controller.canSelectMany&&M.clearFocus()}),0)}))),this._register(M.onDidChangeFocus((()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")})));const O=o.trackFocus(e);return this._register(O),this._register(o.addDisposableListener(e,o.EventType.FOCUS,(e=>{this.previousFocusElement=e.relatedTarget instanceof HTMLElement?e.relatedTarget:void 0}),!0)),this._register(O.onDidBlur((()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(),this.previousFocusElement=void 0}))),this._register(o.addDisposableListener(e,o.EventType.FOCUS,(e=>{y.setFocus()}))),this._register(o.addDisposableListener(e,o.EventType.KEY_DOWN,(t=>{const n=new l.StandardKeyboardEvent(t);switch(n.keyCode){case 3:o.EventHelper.stop(t,!0),this.onDidAcceptEmitter.fire();break;case 9:o.EventHelper.stop(t,!0),this.hide();break;case 2:if(!n.altKey&&!n.ctrlKey&&!n.metaKey){const i=[".action-label.codicon"];e.classList.contains("show-checkboxes")?i.push("input"):i.push("input[type=text]"),this.getUI().list.isDisplayed()&&i.push(".monaco-list");const r=e.querySelectorAll(i.join(", "));n.shiftKey&&n.target===r[0]?(o.EventHelper.stop(t,!0),r[r.length-1].focus()):n.shiftKey||n.target!==r[r.length-1]||(o.EventHelper.stop(t,!0),r[0].focus())}}}))),this.ui={container:e,styleSheet:t,leftActionBar:i,titleBar:n,title:r,description1:g,description2:v,rightActionBar:u,checkAll:b,filterContainer:w,inputBox:y,visibleCountContainer:A,visibleCount:C,countContainer:S,count:E,okContainer:k,ok:I,message:R,customButtonContainer:D,customButton:L,progressBar:N,list:M,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setComboboxAccessibility:e=>this.setComboboxAccessibility(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e)},this.updateStyles(),this.ui}pick(e,t={},n=r.CancellationToken.None){return new Promise(((i,o)=>{let r=e=>{r=i,t.onKeyMods&&t.onKeyMods(s.keyMods),i(e)};if(n.isCancellationRequested)return void r(void 0);const s=this.createQuickPick();let a;const l=[s,s.onDidAccept((()=>{if(s.canSelectMany)r(s.selectedItems.slice()),s.hide();else{const e=s.activeItems[0];e&&(r(e),s.hide())}})),s.onDidChangeActive((e=>{const n=e[0];n&&t.onDidFocus&&t.onDidFocus(n)})),s.onDidChangeSelection((e=>{if(!s.canSelectMany){const t=e[0];t&&(r(t),s.hide())}})),s.onDidTriggerItemButton((e=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},e),{removeItem:()=>{const t=s.items.indexOf(e.item);if(-1!==t){const e=s.items.slice();e.splice(t,1),s.items=e}}})))),s.onDidChangeValue((e=>{!a||e||1===s.activeItems.length&&s.activeItems[0]===a||(s.activeItems=[a])})),n.onCancellationRequested((()=>{s.hide()})),s.onDidHide((()=>{(0,g.dispose)(l),r(void 0)}))];s.canSelectMany=!!t.canPickMany,s.placeholder=t.placeHolder,s.ignoreFocusOut=!!t.ignoreFocusLost,s.matchOnDescription=!!t.matchOnDescription,s.matchOnDetail=!!t.matchOnDetail,s.matchOnLabel=void 0===t.matchOnLabel||t.matchOnLabel,s.autoFocusOnList=void 0===t.autoFocusOnList||t.autoFocusOnList,s.quickNavigate=t.quickNavigate,s.contextKey=t.contextKey,s.busy=!0,Promise.all([e,t.activeItem]).then((([e,t])=>{a=t,s.busy=!1,s.items=e,s.canSelectMany&&(s.selectedItems=e.filter((e=>"separator"!==e.type&&e.picked))),a&&(s.activeItems=[a])})),s.show(),Promise.resolve(e).then(void 0,(e=>{o(e),s.hide()}))}))}createQuickPick(){const e=this.getUI();return new T(e)}show(e){const t=this.getUI();this.onShowEmitter.fire();const n=this.controller;this.controller=e,n&&n.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description1.textContent="",t.description2.textContent="",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(m.default.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),o.reset(t.message),t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel="";const i=this.options.backKeybindingLabel();E.tooltip=i?(0,c.localize)("vs/base/parts/quickinput/browser/quickInput","quickInput.backWithKeybinding","Back ({0})",i):(0,c.localize)("vs/base/parts/quickinput/browser/quickInput","quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus()}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?"":"none",t.description1.style.display=e.description&&(e.inputBox||e.checkAll)?"":"none",t.description2.style.display=!e.description||e.inputBox||e.checkAll?"none":"",t.checkAll.style.display=e.checkAll?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList[e.checkBox?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute("role","combobox"),t.inputBox.setAttribute("aria-haspopup","true"),t.inputBox.setAttribute("aria-autocomplete","list"),t.inputBox.setAttribute("aria-activedescendant",t.list.getActiveDescendant()||"")):(t.inputBox.removeAttribute("role"),t.inputBox.removeAttribute("aria-haspopup"),t.inputBox.removeAttribute("aria-autocomplete"),t.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(){var e;const t=this.controller;if(t){const n=!(null===(e=this.ui)||void 0===e?void 0:e.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",n||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),t.didHide()}}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=`${this.titleBarOffset}px`;const e=this.ui.container.style,t=Math.min(.62*this.dimension.width,I.MAX_WIDTH);e.width=t+"px",e.marginLeft="-"+t/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:e,quickInputBackground:t,quickInputForeground:n,contrastBorder:i,widgetShadow:o}=this.styles.widget;this.ui.titleBar.style.backgroundColor=e?e.toString():"",this.ui.container.style.backgroundColor=t?t.toString():"",this.ui.container.style.color=n?n.toString():"",this.ui.container.style.border=i?`1px solid ${i}`:"",this.ui.container.style.boxShadow=o?`0 0 8px 2px ${o}`:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const r=[];this.styles.list.listInactiveFocusForeground&&(r.push(`.monaco-list .monaco-list-row.focused { color: ${this.styles.list.listInactiveFocusForeground}; }`),r.push(`.monaco-list .monaco-list-row.focused:hover { color: ${this.styles.list.listInactiveFocusForeground}; }`)),this.styles.list.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`);const s=r.join("\n");s!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=s)}}}I.MAX_WIDTH=600},19376:function(e,t,n){"use strict";n.r(t),n.d(t,{QuickInputBox:function(){return d}}),n(67027);var i=n(96747),o=n(25802),r=n(68921),s=n(8769),a=n(15051),l=n(5642);const c=i.$;class d extends r.Disposable{constructor(e){super(),this.parent=e,this.onKeyDown=e=>i.addDisposableListener(this.inputBox.inputElement,i.EventType.KEY_DOWN,(t=>{e(new s.StandardKeyboardEvent(t))})),this.onMouseDown=e=>i.addDisposableListener(this.inputBox.inputElement,i.EventType.MOUSE_DOWN,(t=>{e(new l.StandardMouseEvent(t))})),this.onDidChange=e=>this.inputBox.onDidChange(e),this.container=i.append(this.parent,c(".quick-input-box")),this.inputBox=this._register(new o.InputBox(this.container,void 0))}get value(){return this.inputBox.value}set value(e){this.inputBox.value=e}select(e=null){this.inputBox.select(e)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.inputBox.setPlaceHolder(e)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(e){this.inputBox.setAriaLabel(e)}get password(){return"password"===this.inputBox.inputElement.type}set password(e){this.inputBox.inputElement.type=e?"password":"text"}setAttribute(e,t){this.inputBox.inputElement.setAttribute(e,t)}removeAttribute(e){this.inputBox.inputElement.removeAttribute(e)}showDecoration(e){e===a.default.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:e===a.default.Info?1:e===a.default.Warning?2:3,content:""})}stylesForType(e){return this.inputBox.stylesForType(e===a.default.Info?1:e===a.default.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(e){this.inputBox.style(e)}}},59765:function(e,t,n){"use strict";n.r(t),n.d(t,{QuickInputListFocus:function(){return x},QuickInputList:function(){return E}}),n(67027);var i=n(96747),o=n(68921),r=n(69373),s=n(99981),a=n(63801),l=n(8769),c=n(74838),d=n(6360),h=n(63966),u=n(64998),p=n(66719),g=n(31532),m=n(60969),f=n(2926),b=n(18912),v=n(91120),_=n(89982),w=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s};const y=i.$;class A{constructor(e){this.hidden=!1,this._onChecked=new a.Emitter,this.onChecked=this._onChecked.event,Object.assign(this,e)}get checked(){return!!this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire(e))}dispose(){this._onChecked.dispose()}}class C{get templateId(){return C.ID}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=[],t.toDisposeTemplate=[],t.entry=i.append(e,y(".quick-input-list-entry"));const n=i.append(t.entry,y("label.quick-input-list-label"));t.toDisposeTemplate.push(i.addStandardDisposableListener(n,i.EventType.CLICK,(e=>{t.checkbox.offsetParent||e.preventDefault()}))),t.checkbox=i.append(n,y("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(i.addStandardDisposableListener(t.checkbox,i.EventType.CHANGE,(e=>{t.element.checked=t.checkbox.checked})));const o=i.append(n,y(".quick-input-list-rows")),r=i.append(o,y(".quick-input-list-row")),s=i.append(o,y(".quick-input-list-row"));t.label=new c.IconLabel(r,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0});const a=i.append(r,y(".quick-input-list-entry-keybinding"));t.keybinding=new v.KeybindingLabel(a,p.OS);const l=i.append(s,y(".quick-input-list-label-meta"));return t.detail=new d.HighlightedLabel(l,!0),t.separator=i.append(t.entry,y(".quick-input-list-separator")),t.actionBar=new g.ActionBar(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,n){n.toDisposeElement=(0,o.dispose)(n.toDisposeElement),n.element=e,n.checkbox.checked=e.checked,n.toDisposeElement.push(e.onChecked((e=>n.checkbox.checked=e)));const{labelHighlights:i,descriptionHighlights:r,detailHighlights:s}=e,a=Object.create(null);a.matches=i||[],a.descriptionTitle=e.saneDescription,a.descriptionMatches=r||[],a.extraClasses=e.item.iconClasses,a.italic=e.item.italic,a.strikethrough=e.item.strikethrough,n.label.setLabel(e.saneLabel,e.saneDescription,a),n.keybinding.set(e.item.keybinding),n.detail.set(e.saneDetail,s),e.separator&&e.separator.label?(n.separator.textContent=e.separator.label,n.separator.style.display=""):n.separator.style.display="none",n.entry.classList.toggle("quick-input-list-separator-border",!!e.separator),n.actionBar.clear();const l=e.item.buttons;l&&l.length?(n.actionBar.push(l.map(((t,n)=>{let i=t.iconClass||(t.iconPath?(0,f.getIconClass)(t.iconPath):void 0);t.alwaysVisible&&(i=i?`${i} always-visible`:"always-visible");const o=new m.Action(`id-${n}`,"",i,!0,(()=>{return n=this,i=void 0,r=function*(){e.fireButtonTriggered({button:t,item:e.item})},new((o=void 0)||(o=Promise))((function(e,t){function s(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(s,a)}l((r=r.apply(n,i||[])).next())}));var n,i,o,r}));return o.tooltip=t.tooltip||"",o})),{icon:!0,label:!1}),n.entry.classList.add("has-actions")):n.entry.classList.remove("has-actions")}disposeElement(e,t,n){n.toDisposeElement=(0,o.dispose)(n.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=(0,o.dispose)(e.toDisposeElement),e.toDisposeTemplate=(0,o.dispose)(e.toDisposeTemplate)}}C.ID="listelement";class S{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return C.ID}}var x;!function(e){e[e.First=1]="First",e[e.Second=2]="Second",e[e.Last=3]="Last",e[e.Next=4]="Next",e[e.Previous=5]="Previous",e[e.NextPage=6]="NextPage",e[e.PreviousPage=7]="PreviousPage"}(x||(x={}));class E{constructor(e,t,n){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new a.Emitter,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new a.Emitter,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new a.Emitter,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new a.Emitter,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new a.Emitter,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new a.Emitter,this.onKeyDown=this._onKeyDown.event,this._onLeave=new a.Emitter,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=i.append(this.parent,y(".quick-input-list"));const o=new S,r=new k;this.list=n.createList("QuickInput",this.container,o,[new C],{identityProvider:{getId:e=>e.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:r}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown((e=>{const t=new l.StandardKeyboardEvent(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(p.isMacintosh?e.metaKey:e.ctrlKey)&&this.list.setFocus((0,u.range)(this.list.length));break;case 16:const t=this.list.getFocus();1===t.length&&0===t[0]&&this._onLeave.fire();break;case 18:const n=this.list.getFocus();1===n.length&&n[0]===this.list.length-1&&this._onLeave.fire()}this._onKeyDown.fire(t)}))),this.disposables.push(this.list.onMouseDown((e=>{2!==e.browserEvent.button&&e.browserEvent.preventDefault()}))),this.disposables.push(i.addDisposableListener(this.container,i.EventType.CLICK,(e=>{(e.x||e.y)&&this._onLeave.fire()}))),this.disposables.push(this.list.onMouseMiddleClick((e=>{this._onLeave.fire()}))),this.disposables.push(this.list.onContextMenu((e=>{"number"==typeof e.index&&(e.browserEvent.preventDefault(),this.list.setSelection([e.index]))}))),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return a.Event.map(this.list.onDidChangeFocus,(e=>e.elements.map((e=>e.item))))}get onDidChangeSelection(){return a.Event.map(this.list.onDidChangeSelection,(e=>({items:e.elements.map((e=>e.item)),event:e.browserEvent})))}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let n=0,i=e.length;n{t.hidden||(t.checked=e)}))}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=(0,o.dispose)(this.elementDisposables);const t=e=>this.fireButtonTriggered(e);this.inputElements=e,this.elements=e.reduce(((n,i,o)=>{var s,a,l;if("separator"!==i.type){const c=o&&e[o-1],d=i.label&&i.label.replace(/\r?\n/g," "),h=i.meta&&i.meta.replace(/\r?\n/g," "),u=i.description&&i.description.replace(/\r?\n/g," "),p=i.detail&&i.detail.replace(/\r?\n/g," "),g=i.ariaLabel||[d,u,p].map((e=>e&&(0,r.parseLabelWithIcons)(e).text)).filter((e=>!!e)).join(", ");n.push(new A({index:o,item:i,saneLabel:d,saneMeta:h,saneAriaLabel:g,saneDescription:u,saneDetail:p,labelHighlights:null===(s=i.highlights)||void 0===s?void 0:s.label,descriptionHighlights:null===(a=i.highlights)||void 0===a?void 0:a.description,detailHighlights:null===(l=i.highlights)||void 0===l?void 0:l.detail,checked:!1,separator:c&&"separator"===c.type?c:void 0,fireButtonTriggered:t}))}return n}),[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map((e=>e.onChecked((()=>this.fireCheckedEvents()))))),this.elementsToIndexes=this.elements.reduce(((e,t,n)=>(e.set(t.item,n),e)),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map((e=>e.item))}setFocusedElements(e){if(this.list.setFocus(e.filter((e=>this.elementsToIndexes.has(e))).map((e=>this.elementsToIndexes.get(e)))),e.length>0){const e=this.list.getFocus()[0];"number"==typeof e&&this.list.reveal(e)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(e){this.list.setSelection(e.filter((e=>this.elementsToIndexes.has(e))).map((e=>this.elementsToIndexes.get(e))))}getCheckedElements(){return this.elements.filter((e=>e.checked)).map((e=>e.item))}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const n of e)t.add(n);for(const e of this.elements)e.checked=t.has(e.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?"":"none"}focus(e){if(!this.list.length)return;switch(e===x.Next&&this.list.getFocus()[0]===this.list.length-1&&(e=x.First),e===x.Previous&&0===this.list.getFocus()[0]&&(e=x.Last),e===x.Second&&this.list.length<2&&(e=x.First),e){case x.First:this.list.focusFirst();break;case x.Second:this.list.focusNth(1);break;case x.Last:this.list.focusLast();break;case x.Next:this.list.focusNext();break;case x.Previous:this.list.focusPrevious();break;case x.NextPage:this.list.focusNextPage();break;case x.PreviousPage:this.list.focusPreviousPage()}const t=this.list.getFocus()[0];"number"==typeof t&&this.list.reveal(t)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${44*Math.floor(e/44)}px)`:"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;(e=e.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)?this.elements.forEach((t=>{const n=this.matchOnLabel?(0,b.withNullAsUndefined)((0,r.matchesFuzzyIconAware)(e,(0,r.parseLabelWithIcons)(t.saneLabel))):void 0,i=this.matchOnDescription?(0,b.withNullAsUndefined)((0,r.matchesFuzzyIconAware)(e,(0,r.parseLabelWithIcons)(t.saneDescription||""))):void 0,o=this.matchOnDetail?(0,b.withNullAsUndefined)((0,r.matchesFuzzyIconAware)(e,(0,r.parseLabelWithIcons)(t.saneDetail||""))):void 0,s=this.matchOnMeta?(0,b.withNullAsUndefined)((0,r.matchesFuzzyIconAware)(e,(0,r.parseLabelWithIcons)(t.saneMeta||""))):void 0;n||i||o||s?(t.labelHighlights=n,t.descriptionHighlights=i,t.detailHighlights=o,t.hidden=!1):(t.labelHighlights=void 0,t.descriptionHighlights=void 0,t.detailHighlights=void 0,t.hidden=!t.item.alwaysShow),t.separator=void 0})):this.elements.forEach((e=>{e.labelHighlights=void 0,e.descriptionHighlights=void 0,e.detailHighlights=void 0,e.hidden=!1;const t=e.index&&this.inputElements[e.index-1];e.separator=t&&"separator"===t.type?t:void 0}));const t=this.elements.filter((e=>!e.hidden));if(this.sortByLabel&&e){const n=e.toLowerCase();t.sort(((e,t)=>function(e,t,n){const i=e.labelHighlights||[],o=t.labelHighlights||[];return i.length&&!o.length?-1:!i.length&&o.length?1:0===i.length&&0===o.length?0:(0,s.compareAnything)(e.saneLabel,t.saneLabel,n)}(e,t,n)))}return this.elementsToIndexes=t.reduce(((e,t,n)=>(e.set(t.item,n),e)),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const n of e)n.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=(0,o.dispose)(this.elementDisposables),this.disposables=(0,o.dispose)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}w([h.memoize],E.prototype,"onDidChangeFocus",null),w([h.memoize],E.prototype,"onDidChangeSelection",null);class k{getWidgetAriaLabel(){return(0,_.localize)("vs/base/parts/quickinput/browser/quickInputList","quickInput","Quick Input")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}},2926:function(e,t,n){"use strict";n.r(t),n.d(t,{getIconClass:function(){return a}}),n(67027);var i=n(96747),o=n(60538);const r={},s=new o.IdGenerator("quick-input-button-icon-");function a(e){if(!e)return;let t;const n=e.dark.toString();return r[n]?t=r[n]:(t=s.nextId(),i.createCSSRule(`.${t}`,`background-image: ${i.asCSSUrl(e.light||e.dark)}`),i.createCSSRule(`.vs-dark .${t}, .hc-black .${t}`,`background-image: ${i.asCSSUrl(e.dark)}`),r[n]=t),t}},11476:function(e,t,n){"use strict";n.r(t),n.d(t,{NO_KEY_MODS:function(){return i},ItemActivation:function(){return o}});const i={ctrlCmd:!1,alt:!1};var o;!function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(o||(o={}))},88275:function(e,t,n){"use strict";n.r(t),n.d(t,{DefaultWorkerFactory:function(){return l}});var i,o=n(66719),r=n(50302);const s=null===(i=window.trustedTypes)||void 0===i?void 0:i.createPolicy("defaultWorkerFactory",{createScriptURL:e=>e});class a{constructor(e,t,n,i,r){this.id=t;const a=function(e,t){if(o.globals.MonacoEnvironment){if("function"==typeof o.globals.MonacoEnvironment.getWorker)return o.globals.MonacoEnvironment.getWorker(e,t);if("function"==typeof o.globals.MonacoEnvironment.getWorkerUrl){const n=o.globals.MonacoEnvironment.getWorkerUrl(e,t);return new Worker(s?s.createScriptURL(n):n,{name:t})}}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",n);"function"==typeof a.then?this.worker=a:this.worker=Promise.resolve(a),this.postMessage(e,[]),this.worker.then((e=>{e.onmessage=function(e){i(e.data)},e.onmessageerror=r,"function"==typeof e.addEventListener&&e.addEventListener("error",r)}))}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then((n=>n.postMessage(e,t)))}dispose(){this.worker&&this.worker.then((e=>e.terminate())),this.worker=null}}class l{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,n){let i=++l.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new a(e,i,this._label||"anonymous"+i,t,(e=>{(0,r.logOnceWebWorkerWarning)(e),this._webWorkerFailedBeforeError=e,n(e)}))}}l.LAST_WORKER_ID=0},97365:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},o={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","node","nodes","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","non-unicode","non-unique","no-scrolling","no-sign","no-title","no-topofpage","no-zero","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","condense","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","insert","ipow","line_exists","line_index","lines","log","log10","match","matches","nmax","nmin","numofchar","repeat","replace","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","translate","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","table","hashed","index","sorted","standard","accp","char","clnt","cuky","curr","dats","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","tims","unit","df16_scl","df34_scl","prec","varc","abap_bool","space","me","syst","sy","screen"],operators:[" +"," -","/","*","**","div","mod","=","#","@","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","and","equiv","not","or"," < "," > ","<=",">=","<>","><","=<","=>","between","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","in","le","lt","na","nb","ne","np","ns"],symbols:/[=>/,"identifier"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}},81294:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return r}});var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},o=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach((function(e){o.push(e),o.push(e.toUpperCase()),o.push(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e))}));var r={defaultToken:"",tokenPostfix:".apex",keywords:o,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},64343:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"#"}},o={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}},42479:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=>"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","begin","Bytes","Crypto","Current","else","end","failwith","false","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","Set","set","sender","source","String","then","true","type","with"],typeKeywords:["int","unit","string","tz"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},36525:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}},78444:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}},12910:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},53691:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={brackets:[],autoClosingPairs:[],surroundingPairs:[]},o={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=>",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}},7001:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},o={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}}},25922:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}},71040:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:["append","break","declare","demangle","end","for","getdatatype","if","inmodule","loop","mangle","onwarning","option","set","stored","uniquename"].join("|"),keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:["integer","unsigned"].join("|"),typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:["ascii","big_endian","boolean","data","decimal","ebcdic","grouped","integer","linkcounted","pattern","qstring","real","record","rule","set of","streamed","string","token","udecimal","unicode","unsigned","utf8","varstring","varunicode"].join("|"),operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}}},82283:function(e,t,n){"use strict";n.r(t),n.d(t,{CancellationTokenSource:function(){return i.AU},Emitter:function(){return i.Q5},KeyCode:function(){return i.VD},KeyMod:function(){return i.DC},MarkerSeverity:function(){return i.ZL},MarkerTag:function(){return i.eB},Position:function(){return i.Ly},Range:function(){return i.e6},Selection:function(){return i.Y1},SelectionDirection:function(){return i.a$},Token:function(){return i.WU},Uri:function(){return i.Sf},editor:function(){return i.j6},languages:function(){return i.Mj}});var i=n(57768)},73567:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},o={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}},62823:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}},35857:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},o={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}},55055:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return r},language:function(){return s}});var i=n(82283),o=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.languages.IndentAction.Indent}}]},s={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}},12053:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}}},62642:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return r},language:function(){return s}});var i=n(82283),o=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+o.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},s={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},16830:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}},16853:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},o={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},22237:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return o},language:function(){return r}});var i=n(22633),o=i.conf,r={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:i.language.operators,symbols:i.language.symbols,escapes:i.language.escapes,digits:i.language.digits,octaldigits:i.language.octaldigits,binarydigits:i.language.binarydigits,hexdigits:i.language.hexdigits,regexpctl:i.language.regexpctl,regexpesc:i.language.regexpesc,tokenizer:i.language.tokenizer}},19308:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","π","ℯ","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","÷","∈","∉","∋","∌","∘","√","∛","∩","∪","≈","≉","≠","≡","≢","≤","≥","⊆","⊇","⊈","⊉","⊊","⊋","⊻"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"keyword.flow"}}],[/@ident[!?']?/,{cases:{"@types":"type","@keywords":"keyword","@constants":"variable","@default":"identifier"}}],[/\$\w+/,"key"],[/\$\(/,"key","@paste"],[/@@ident/,"annotation"],{include:"@whitespace"},[/'(?:@escapes|.)'/,"string.character"],[/[()\[\]{}]/,"@brackets"],[/@allops/,{cases:{"@keywordops":"keyword","@operators":"operator"}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/[+\-]?\d+(\.\d+)?(im?|[eE][+\-]?\d+(\.\d+)?)?/,"number"]],typeanno:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@gen"],[/([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(\s*<:\s*)/,["type","keyword"]],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type","@pop"],["","","@pop"]],gen:[[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\{/,"type","@push"],[/[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*/,"type"],[/<:/,"keyword"],[/(\})(\s*<:\s*)/,["type",{token:"keyword",next:"@pop"}]],[/\}/,"type","@pop"],{include:"@root"}],quote:[[/\$\(/,"key","@paste"],[/\(/,"@brackets","@paren"],[/\)/,"metatag","@pop"],{include:"@root"}],paste:[[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@paren"],[/\)/,"key","@pop"],{include:"@root"}],paren:[[/\$\(/,"key","@paste"],[/:\(/,"metatag","@quote"],[/\(/,"@brackets","@push"],[/\)/,"@brackets","@pop"],{include:"@root"}],sregexp:[[/^.*/,"invalid"],[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"[imsx]*/,"regexp.delim","@pop"]],tregexp:[[/[^\\"()\[\]{}]/,"regexp"],[/[()\[\]{}]/,"@brackets"],[/\\./,"operator.scss"],[/"(?!"")/,"string"],[/"""[imsx]*/,"regexp.delim","@pop"]],rsstring:[[/^.*/,"invalid"],[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"/,"string.delim","@pop"]],rtstring:[[/[^\\"]/,"string"],[/\\./,"string.escape"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],dsstring:[[/^.*/,"invalid"],[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string.delim","@pop"]],dtstring:[[/[^\\"\$]/,"string"],[/\$/,"","@interpolated"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?!"")/,"string"],[/"""/,"string.delim","@pop"]],interpolated:[[/\(/,{token:"",switchTo:"@interpolated_compound"}],[/[a-zA-Z_]\w*/,"identifier"],["","","@pop"]],interpolated_compound:[[/\)/,"","@pop"],{include:"@root"}],whitespace:[[/[ \t\r\n]+/,""],[/#=/,"comment","@multi_comment"],[/#.*$/,"comment"]],multi_comment:[[/#=/,"comment","@push"],[/=#/,"comment","@pop"],[/=(?!#)|#(?!=)/,"comment"],[/[^#=]+/,"comment"]]}}},45556:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},o={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}}},39689:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},o={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}},65843:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},o={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}}},29931:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=>"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}]},o={defaultToken:"",tokenPostfix:".m3",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["AND","ANY","ARRAY","AS","BEGIN","BITS","BRANDED","BY","CASE","CONST","DIV","DO","ELSE","ELSIF","END","EVAL","EXCEPT","EXCEPTION","EXIT","EXPORTS","FINALLY","FOR","FROM","GENERIC","IF","IMPORT","IN","INTERFACE","LOCK","LOOP","METHODS","MOD","MODULE","NOT","OBJECT","OF","OR","OVERRIDES","PROCEDURE","RAISE","RAISES","READONLY","RECORD","REF","REPEAT","RETURN","REVEAL","SET","THEN","TO","TRY","TYPE","TYPECASE","UNSAFE","UNTIL","UNTRACED","VALUE","VAR","WHILE","WITH"],reservedConstNames:["ABS","ADR","ADRSIZE","BITSIZE","BYTESIZE","CEILING","DEC","DISPOSE","FALSE","FIRST","FLOAT","FLOOR","INC","ISTYPE","LAST","LOOPHOLE","MAX","MIN","NARROW","NEW","NIL","NUMBER","ORD","ROUND","SUBARRAY","TRUE","TRUNC","TYPECODE","VAL"],reservedTypeNames:["ADDRESS","ANY","BOOLEAN","CARDINAL","CHAR","EXTENDED","INTEGER","LONGCARD","LONGINT","LONGREAL","MUTEX","NULL","REAL","REFANY","ROOT","TEXT"],operators:["+","-","*","/","&","^","."],relations:["=","#","<","<=",">",">=","<:",":"],delimiters:["|","..","=>",",",";",":="],symbols:/[>=<#.,:;+\-*/&^]+/,escapes:/\\(?:[\\fnrt"']|[0-7]{3})/,tokenizer:{root:[[/_\w*/,"invalid"],[/[a-zA-Z][a-zA-Z0-9_]*/,{cases:{"@keywords":{token:"keyword.$0"},"@reservedConstNames":{token:"constant.reserved.$0"},"@reservedTypeNames":{token:"type.reserved.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[0-9]+\.[0-9]+(?:[DdEeXx][\+\-]?[0-9]+)?/,"number.float"],[/[0-9]+(?:\_[0-9a-fA-F]+)?L?/,"number"],[/@symbols/,{cases:{"@operators":"operators","@relations":"operators","@delimiters":"delimiter","@default":"invalid"}}],[/'[^\\']'/,"string.char"],[/(')(@escapes)(')/,["string.char","string.escape","string.char"]],[/'/,"invalid"],[/"([^"\\]|\\.)*$/,"invalid"],[/"/,"string.text","@text"]],text:[[/[^\\"]+/,"string.text"],[/@escapes/,"string.escape"],[/\\./,"invalid"],[/"/,"string.text","@pop"]],comment:[[/\(\*/,"comment","@push"],[/\*\)/,"comment","@pop"],[/./,"comment"]],pragma:[[/<\*/,"keyword.pragma","@push"],[/\*>/,"keyword.pragma","@pop"],[/./,"keyword.pragma"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/<\*/,"keyword.pragma","@pragma"]]}}},508:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#?region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e")}}},o={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"variable.source",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)\s*>/,{token:"tag"}],[//,"comment","@pop"],[//,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},83851:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}},81034:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},o={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}},44638:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}},18923:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},o={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[//,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}},72795:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}},77480:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BY","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}},59028:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#?region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e")}}},o={defaultToken:"",tokenPostfix:".rst",control:/[\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],alphanumerics:/[A-Za-z0-9]/,alphanumericsplus:/[A-Za-z0-9-_+:.]/,simpleRefNameWithoutBq:/(?:@alphanumerics@alphanumericsplus*@alphanumerics)+|(?:@alphanumerics+)/,simpleRefName:/(?:`@simpleRefNameWithoutBq`|@simpleRefNameWithoutBq)/,phrase:/@simpleRefName(?:\s@simpleRefName)*/,citationName:/[A-Za-z][A-Za-z0-9-_.]*/,blockLiteralStart:/(?:[!"#$%&'()*+,-./:;<=>?@\[\]^_`{|}~]|[\s])/,precedingChars:/(?:[ -:/'"<([{])/,followingChars:/(?:[ -.,:;!?/'")\]}>]|$)/,punctuation:/(=|-|~|`|#|"|\^|\+|\*|:|\.|'|_|\+)/,tokenizer:{root:[[/^(@punctuation{3,}$){1,1}?/,"keyword"],[/^\s*([\*\-+‣•]|[a-zA-Z0-9]+\.|\([a-zA-Z0-9]+\)|[a-zA-Z0-9]+\))\s/,"keyword"],[/([ ]::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],[/(::)\s*$/,"keyword","@blankLineOfLiteralBlocks"],{include:"@tables"},{include:"@explicitMarkupBlocks"},{include:"@inlineMarkup"}],explicitMarkupBlocks:[{include:"@citations"},{include:"@footnotes"},[/^(\.\.\s)(@simpleRefName)(::\s)(.*)$/,[{token:"",next:"subsequentLines"},"keyword","",""]],[/^(\.\.)(\s+)(_)(@simpleRefName)(:)(\s+)(.*)/,[{token:"",next:"hyperlinks"},"","","string.link","","","string.link"]],[/^((?:(?:\.\.)(?:\s+))?)(__)(:)(\s+)(.*)/,[{token:"",next:"subsequentLines"},"","","","string.link"]],[/^(__\s+)(.+)/,["","string.link"]],[/^(\.\.)( \|)([^| ]+[^|]*[^| ]*)(\| )(@simpleRefName)(:: .*)/,[{token:"",next:"subsequentLines"},"","string.link","","keyword",""],"@rawBlocks"],[/(\|)([^| ]+[^|]*[^| ]*)(\|_{0,2})/,["","string.link",""]],[/^(\.\.)([ ].*)$/,[{token:"",next:"@comments"},"comment"]]],inlineMarkup:[{include:"@citationsReference"},{include:"@footnotesReference"},[/(@simpleRefName)(_{1,2})/,["string.link",""]],[/(`)([^<`]+\s+)(<)(.*)(>)(`)(_)/,["","string.link","","string.link","","",""]],[/\*\*([^\\*]|\*(?!\*))+\*\*/,"strong"],[/\*[^*]+\*/,"emphasis"],[/(``)((?:[^`]|\`(?!`))+)(``)/,["","keyword",""]],[/(__\s+)(.+)/,["","keyword"]],[/(:)((?:@simpleRefNameWithoutBq)?)(:`)([^`]+)(`)/,["","keyword","","",""]],[/(`)([^`]+)(`:)((?:@simpleRefNameWithoutBq)?)(:)/,["","","","keyword",""]],[/(`)([^`]+)(`)/,""],[/(_`)(@phrase)(`)/,["","string.link",""]]],citations:[[/^(\.\.\s+\[)((?:@citationName))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],citationsReference:[[/(\[)(@citationName)(\]_)/,["","string.link",""]]],footnotes:[[/^(\.\.\s+\[)((?:[0-9]+))(\]\s+.*)/,[{token:"",next:"@subsequentLines"},"string.link",""]],[/^(\.\.\s+\[)((?:#@simpleRefName?))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]],[/^(\.\.\s+\[)((?:\*))(\]\s+)(.*)/,[{token:"",next:"@subsequentLines"},"string.link","",""]]],footnotesReference:[[/(\[)([0-9]+)(\])(_)/,["","string.link","",""]],[/(\[)(#@simpleRefName?)(\])(_)/,["","string.link","",""]],[/(\[)(\*)(\])(_)/,["","string.link","",""]]],blankLineOfLiteralBlocks:[[/^$/,"","@subsequentLinesOfLiteralBlocks"],[/^.*$/,"","@pop"]],subsequentLinesOfLiteralBlocks:[[/(@blockLiteralStart+)(.*)/,["keyword",""]],[/^(?!blockLiteralStart)/,"","@popall"]],subsequentLines:[[/^[\s]+.*/,""],[/^(?!\s)/,"","@pop"]],hyperlinks:[[/^[\s]+.*/,"string.link"],[/^(?!\s)/,"","@pop"]],comments:[[/^[\s]+.*/,"comment"],[/^(?!\s)/,"","@pop"]],tables:[[/\+-[+-]+/,"keyword"],[/\+=[+=]+/,"keyword"]]}}},79365:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp("^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$"),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},o={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}},46044:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},o={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","async","await","box","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","try","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}},41763:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},o={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}},72688:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={wordPattern:/(unary_[@~!#%^&*()\-=+\\|:<>\/?]+)|([a-zA-Z_$][\w$]*?_=)|(`[^`]+`)|([a-zA-Z_$][\w$]*)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},o={tokenPostfix:".scala",keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],softKeywords:["as","export","extension","end","derives","on"],constants:["true","false","null","this","super"],modifiers:["abstract","final","implicit","lazy","override","private","protected","sealed"],softModifiers:["inline","opaque","open","transparent","using"],name:/(?:[a-z_$][\w$]*|`[^`]+`)/,type:/(?:[A-Z][\w$]*)/,symbols:/[=>))/,["@brackets","white","variable"]],[/@name/,{cases:{"@keywords":"keyword","@softKeywords":"keyword","@modifiers":"keyword.modifier","@softModifiers":"keyword.modifier","@constants":{token:"constant",next:"@allowMethod"},"@default":{token:"identifier",next:"@allowMethod"}}}],[/@type/,"type","@allowMethod"],{include:"@whitespace"},[/@[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*/,"annotation"],[/[{(]/,"@brackets"],[/[})]/,"@brackets","@allowMethod"],[/\[/,"operator.square"],[/](?!\s*(?:va[rl]|def|type)\b)/,"operator.square","@allowMethod"],[/]/,"operator.square"],[/([=-]>|<-|>:|<:|:>|<%)(?=[\s\w()[\]{},\."'`])/,"keyword"],[/@symbols/,"operator"],[/[;,\.]/,"delimiter"],[/'[a-zA-Z$][\w$]*(?!')/,"attribute.name"],[/'[^\\']'/,"string","@allowMethod"],[/(')(@escapes)(')/,["string","string.escape",{token:"string",next:"@allowMethod"}]],[/'/,"string.invalid"]],import:[[/;/,"delimiter","@pop"],[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/@name|@type/,"type"],[/[(){}]/,"@brackets"],[/[[\]]/,"operator.square"],[/[\.,]/,"delimiter"]],allowMethod:[[/^|$/,"","@pop"],[/[ \t]+/,"white"],[/[\n\r]+/,"white","@pop"],[/\/\*/,"comment","@comment"],[/(?==>[\s\w([{])/,"keyword","@pop"],[/(@name|@symbols)(?=[ \t]*[[({"'`]|[ \t]+(?:[+-]?\.?\d|\w))/,{cases:{"@keywords":{token:"keyword",next:"@pop"},"->|<-|>:|<:|<%":{token:"keyword",next:"@pop"},"@default":{token:"@rematch",next:"@pop"}}}],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],case:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword","@allowMethod"],[/\bif\b|=>/,"keyword","@pop"],[/`[^`]+`/,"identifier","@allowMethod"],[/@name/,"variable","@allowMethod"],[/:::?|\||@(?![a-z_$])/,"keyword"],{include:"@root"}],vardef:[[/\b_\*/,"key"],[/\b(_|true|false|null|this|super)\b/,"keyword"],[/@name/,"variable"],[/:::?|\||@(?![a-z_$])/,"keyword"],[/=|:(?!:)/,"operator","@pop"],[/$/,"white","@pop"],{include:"@root"}],string:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],stringt:[[/[^\\"\n\r]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],fstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],fstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/%%/,"string"],[/(%)([\-#+ 0,(])(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","keyword.modifier","number","metatag"]],[/(%)(\d+|\.\d+|\d+\.\d+)(@fstring_conv)/,["metatag","number","metatag"]],[/(%)([\-#+ 0,(])(@fstring_conv)/,["metatag","keyword.modifier","metatag"]],[/(%)(@fstring_conv)/,["metatag","metatag"]],[/./,"string"]],sstring:[[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],sstringt:[[/@escapes/,"string.escape"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/\$\$/,"string"],[/(\$)([a-z_]\w*)/,["operator","identifier"]],[/\$\{/,"operator","@interp"],[/./,"string"]],interp:[[/{/,"operator","@push"],[/}/,"operator","@pop"],{include:"@root"}],rawstring:[[/[^"]/,"string"],[/"/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}]],rawstringt:[[/[^"]/,"string"],[/"(?=""")/,"string"],[/"""/,{token:"string.quote",bracket:"@close",switchTo:"@allowMethod"}],[/"/,"string"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}},92742:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}},4509:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},o={defaultToken:"",tokenPostfix:".scss",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}},28053:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],symbols:/[=>"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},92048:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={defaultToken:"",tokenPostfix:".aes",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["contract","library","entrypoint","function","stateful","state","hash","signature","tuple","list","address","string","bool","int","record","datatype","type","option","oracle","oracle_query","Call","Bits","Bytes","Oracle","String","Crypto","Address","Auth","Chain","None","Some","bits","bytes","event","let","map","private","public","true","false","var","if","else","throw"],operators:["=",">","<","!","~","?","::",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}},38880:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}},49323:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},o={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}},92744:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},o={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]]}}},12534:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=>\/\s]+)/g,comments:{blockComment:["{#","#}"]},brackets:[["{#","#}"],["{%","%}"],["{{","}}"],["(",")"],["[","]"],["\x3c!--","--\x3e"],["<",">"]],autoClosingPairs:[{open:"{# ",close:" #}"},{open:"{% ",close:" %}"},{open:"{{ ",close:" }}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},o={defaultToken:"",tokenPostfix:"",ignoreCase:!0,keywords:["apply","autoescape","block","deprecated","do","embed","extends","flush","for","from","if","import","include","macro","sandbox","set","use","verbatim","with","endapply","endautoescape","endblock","endembed","endfor","endif","endmacro","endsandbox","endset","endwith","true","false"],tokenizer:{root:[[/\s+/],[/{#/,"comment.twig","@commentState"],[/{%[-~]?/,"delimiter.twig","@blockState"],[/{{[-~]?/,"delimiter.twig","@variableState"],[/)/,["delimiter.html","tag.html","","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/|>=|<=/,"operators.twig"],[/(starts with|ends with|matches)(\s+)/,["operators.twig",""]],[/(in)(\s+)/,["operators.twig",""]],[/(is)(\s+)/,["operators.twig",""]],[/\||~|:|\.{1,2}|\?{1,2}/,"operators.twig"],[/[^\W\d][\w]*/,{cases:{"@keywords":"keyword.twig","@default":"variable.twig"}}],[/\d+(\.\d+)?/,"number.twig"],[/\(|\)|\[|\]|{|}|,/,"delimiter.twig"],[/"([^#"\\]*(?:\\.[^#"\\]*)*)"|\'([^\'\\]*(?:\\.[^\'\\]*)*)\'/,"string.twig"],[/"/,"string.twig","@stringState"],[/=>/,"operators.twig"],[/=/,"operators.twig"]],doctype:[[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name.html","@scriptAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter.html","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name.html","@styleAfterType"],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter.html","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value.html",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value.html"],[/'([^']*)'/,"attribute.value.html"],[/[\w\-]+/,"attribute.name.html"],[/=/,"delimiter.html"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}},22633:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return o},language:function(){return r}});var i=n(82283),o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:i.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:i.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:i.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:i.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},r={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","package","private","protected","public","readonly","require","global","return","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<",">",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}},12140:function(e,t,n){"use strict";n.r(t),n.d(t,{conf:function(){return i},language:function(){return o}});var i={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},o={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=>"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.languages.IndentAction.Indent}}]},r={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[/|<\/?script\s*\/?>?/i);if(0===u.length)return c.goToEnd(),g(t,_e.Script);if("\x3c!--"===u)1===h&&(h=2);else if("--\x3e"===u)h=1;else if("/"!==u[1])2===h&&(h=3);else{if(3!==h){c.goBack(u.length);break}h=2}}return d=we.WithinContent,t=0){var n=this.children[t];if(e>n.start){if(e=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this}}();var Ge={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"};function Qe(e,t){if(e.length0))return r;o=r-1}}var a;return-(i+1)}(nt,e.toLowerCase())>=0}function ot(e){return void 0!==e}var rt=function(){function e(e,t){var n=this;this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach((function(e){n._tagMap[e.name.toLowerCase()]=e})),t.valueSets&&t.valueSets.forEach((function(e){n._valueSetMap[e.name]=e.values}))}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(e){var t=[],n=function(e){t.push(e)},i=this._tagMap[e.toLowerCase()];return i&&i.attributes.forEach(n),this._globalAttributes.forEach(n),t},e.prototype.provideValues=function(e,t){var n=this,i=[];t=t.toLowerCase();var o=function(e){e.forEach((function(e){e.name.toLowerCase()===t&&(e.values&&e.values.forEach((function(e){i.push(e)})),e.valueSet&&n._valueSetMap[e.valueSet]&&n._valueSetMap[e.valueSet].forEach((function(e){i.push(e)})))}))},r=this._tagMap[e.toLowerCase()];return r?(o(r.attributes),o(this._globalAttributes),i):[]},e}();function st(e,t,n){void 0===t&&(t={});var i={kind:n?"markdown":"plaintext",value:""};if(e.description&&!1!==t.documentation){var o=function(e){if(e)return"string"==typeof e?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}(e.description);o&&(i.value+=o.value)}if(e.references&&e.references.length>0&&!1!==t.references&&(i.value.length&&(i.value+="\n\n"),i.value+=n?e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "):e.references.map((function(e){return e.name+": "+e.url})).join("\n")),""!==i.value)return i}var at=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},lt=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]h&&(t=h),{start:e.positionAt(t),end:e.positionAt(n)}}function b(e,t){var n=f(e,t);return l.forEach((function(e){e.provideTags().forEach((function(e){o.items.push({label:e.name,kind:W.Property,documentation:st(e,void 0,c),textEdit:w.replace(n,e.name),insertTextFormat:U.PlainText})}))})),o}function v(e){for(var t=e;t>0;){var n=d.charAt(t-1);if("\n\r".indexOf(n)>=0)return d.substring(t,e);if(!mt(n))return null;t--}return d.substring(0,e)}function _(e,t,n){void 0===n&&(n=h);var i=f(e,n),r=ft(d,n,we.WithinEndTag,_e.EndTagClose)?"":">",s=u;for(t&&(s=s.parent);s;){var a=s.tag;if(a&&(!s.closed||s.endTagStart&&s.endTagStart>h)){var p={label:"/"+a,kind:W.Property,filterText:"/"+a,textEdit:w.replace(i,"/"+a+r),insertTextFormat:U.PlainText},g=v(s.start),m=v(e-1);if(null!==g&&null!==m&&g!==m){var b=g+"",kind:W.Property,filterText:"",textEdit:w.insert(r,"$0"),insertTextFormat:U.Snippet})}return o}function A(e,t){return b(e,t),_(e,!0,t),o}function C(e,t){void 0===t&&(t=h);for(var i=h;in&&h<=i&&(g=d[n],/^["']*$/.test(g))){var b=n+1,v=i;i>n&&d[i-1]===d[n]&&v--;var _=function(e,t,n){for(;t>n&&!mt(e[t-1]);)t--;return t}(d,h,b),y=function(e,t,n){for(;t=b&&h<=v?d.substring(b,h):"",s=!1}else r=f(n,i),u=d.substring(n,h),s=!0;if(a.length>0)for(var A=m.toLowerCase(),C=p.toLowerCase(),S=f(n,i),x=0,E=a;x=0&&tt(d,i);)i--,a--;if(i>=0&&"&"===d[i]){var l=s.create(r.create(t.line,a-1),t);for(var c in Ge)if(";",void 0,(n=(e=c).length-";".length)>0?e.lastIndexOf(";")===n:0===n&&";"===e){var u="&"+c;o.items.push({label:u,kind:W.Keyword,documentation:gt("vs/language/html/_deps/vscode-html-languageservice/services/htmlCompletion","entity.propose","Character entity representing '"+Ge[c]+"'"),textEdit:w.replace(l,u),insertTextFormat:U.PlainText})}}return o}for(var T,I=g.scan();I!==_e.EOS&&g.getTokenOffset()<=h;){switch(I){case _e.StartTagOpen:if(g.getTokenEnd()===h){var D=x(_e.StartTag);return 0===t.line&&(void 0,T=f(h,D),o.items.push({label:"!DOCTYPE",kind:W.Property,documentation:"A preamble for an HTML document.",textEdit:w.replace(T,"!DOCTYPE html>"),insertTextFormat:U.PlainText})),A(h,D)}break;case _e.StartTag:if(g.getTokenOffset()<=h&&h<=g.getTokenEnd())return b(g.getTokenOffset(),g.getTokenEnd());m=g.getTokenText();break;case _e.AttributeName:if(g.getTokenOffset()<=h&&h<=g.getTokenEnd())return C(g.getTokenOffset(),g.getTokenEnd());p=g.getTokenText();break;case _e.DelimiterAssign:if(g.getTokenEnd()===h)return D=x(_e.AttributeValue),S(h,D);break;case _e.AttributeValue:if(g.getTokenOffset()<=h&&h<=g.getTokenEnd())return S(g.getTokenOffset(),g.getTokenEnd());break;case _e.Whitespace:if(h<=g.getTokenEnd())switch(g.getScannerState()){case we.AfterOpeningStartTag:return A(g.getTokenOffset(),x(_e.StartTag));case we.WithinTag:case we.AfterAttributeName:return C(g.getTokenEnd());case we.BeforeAttributeValue:return S(g.getTokenEnd());case we.AfterOpeningEndTag:return _(g.getTokenOffset()-1,!1);case we.WithinContent:return E()}break;case _e.EndTagOpen:if(h<=g.getTokenEnd())return _(g.getTokenOffset()+1,!1,x(_e.EndTag));break;case _e.EndTag:if(h<=g.getTokenEnd())for(var L=g.getTokenOffset()-1;L>=0;){var R=d.charAt(L);if("/"===R)return _(L,!1,g.getTokenEnd());if(!mt(R))break;L--}break;case _e.StartTagClose:if(h<=g.getTokenEnd()&&m)return y(g.getTokenEnd(),m);break;case _e.Content:if(h<=g.getTokenEnd())return E();break;default:if(h<=g.getTokenEnd())return o}I=g.scan()}return o},e.prototype.doTagComplete=function(e,t,n){var i=e.offsetAt(t);if(i<=0)return null;var o=e.getText().charAt(i-1);if(">"===o){if((s=n.findNodeBefore(i))&&s.tag&&!it(s.tag)&&s.starti))for(var r=(a=Ke(e.getText(),s.start)).scan();r!==_e.EOS&&a.getTokenEnd()<=i;){if(r===_e.StartTagClose&&a.getTokenEnd()===i)return"$0";r=a.scan()}}else if("/"===o){for(var s=n.findNodeBefore(i);s&&s.closed;)s=s.parent;var a;if(s&&s.tag)for(r=(a=Ke(e.getText(),s.start)).scan();r!==_e.EOS&&a.getTokenEnd()<=i;){if(r===_e.EndTagOpen&&a.getTokenEnd()===i)return s.tag+">";r=a.scan()}}return null},e.prototype.convertCompletionList=function(e){return this.doesSupportMarkdown()||e.items.forEach((function(e){e.documentation&&"string"!=typeof e.documentation&&(e.documentation={kind:"plaintext",value:e.documentation.value})})),e},e.prototype.doesSupportMarkdown=function(){var e,t,n;if(!ot(this.supportsMarkdown)){if(!ot(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var i=null===(n=null===(t=null===(e=this.lsOptions.clientCapabilities.textDocument)||void 0===e?void 0:e.completion)||void 0===t?void 0:t.completionItem)||void 0===n?void 0:n.documentationFormat;this.supportsMarkdown=Array.isArray(i)&&-1!==i.indexOf(z.Markdown)}return this.supportsMarkdown}}();var bt,vt=N.loadMessageBundle();!function(){function e(e,t){this.lsOptions=e,this.dataManager=t}e.prototype.doHover=function(e,t,n,i){var o=this.convertContents.bind(this),a=this.doesSupportMarkdown(),l=e.offsetAt(t),c=n.findNodeAt(l),d=e.getText();if(!c||!c.tag)return null;var h=this.dataManager.getDataProviders().filter((function(t){return t.isApplicable(e.languageId)}));function u(e,t,n){for(var r=function(n){var r=null;if(n.provideTags().forEach((function(n){if(n.name.toLowerCase()===e.toLowerCase()){var o=st(n,i,a);o||(o={kind:a?"markdown":"plaintext",value:""}),r={contents:o,range:t}}})),r)return r.contents=o(r.contents),{value:r}},s=0,l=h;s=c.endTagStart){var g=p(_e.EndTag,c.endTagStart);return g?u(c.tag,g):null}var m=p(_e.StartTag,c.start);if(m)return u(c.tag,m);var f=p(_e.AttributeName,c.start);if(f)return function(e,t,n){for(var r=function(r){var s=null;if(r.provideAttributes(e).forEach((function(e){if(t===e.name&&e.description){var o=st(e,i,a);s=o?{contents:o,range:n}:null}})),s)return s.contents=o(s.contents),{value:s}},s=0,l=h;s=0&&tt(d,e);)e--,n--;for(var i=e+1,o=n;tt(d,i);)i++,o++;return e>=0&&"&"===d[e]?";"===d[i]?s.create(r.create(t.line,n),r.create(t.line,o+1)):s.create(r.create(t.line,n),r.create(t.line,o)):null}();if(b)return function(e,t){var n=function(e){for(var t=l-1,n="&";t>=0&&tt(e,t);)t--;for(t+=1;tt(e,t);)n+=e[t],t+=1;return n+";"}(e);for(var i in Ge){var r=null;if(n==="&"+i){var s=Ge[i].charCodeAt(0).toString(16).toUpperCase(),a="U+";if(s.length<4)for(var c=4-s.length,d=0;d0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(e,t){this.__indent_cache=new o(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},o.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),(n+=e*this.__indent_size)+t},o.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+this.__cache[t]},o.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},o.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var o=this.__lines[n];if(o.is_empty())break;if(0!==o.item(0).indexOf(e)&&o.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=r},,,,function(e,t,n){function i(e,t){this.raw_options=o(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}function o(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,n={};for(t in e)n[t.replace(/-/g,"_")]=e[t];return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=r,e.exports.mergeOpts=o},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function o(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}o.prototype.restart=function(){this.__position=0},o.prototype.back=function(){this.__position>0&&(this.__position-=1)},o.prototype.hasNext=function(){return this.__position=0&&e=0&&t=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=o},,,,,function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},,function(e,t,n){var i=n(16).Beautifier,o=n(17).Options;e.exports=function(e,t){return new i(e,t).beautify()},e.exports.defaultOptions=function(){return new o}},function(e,t,n){var i=n(17).Options,o=n(2).Output,r=n(8).InputScanner,s=new(0,n(13).Directives)(/\/\*/,/\*\//),a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,d=/(?:\s|\n)+/g,h=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(e,t){this._source_text=e||"",this._options=new i(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},p.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(0===n||n0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&a.test(e||"")&&(t=e.match(a)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new o(this._options,n),this._input=new r(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,g=0,m=!1,f=!1,b=!1,v=!1,_=!1,w=this._ch;i=""!==this._input.read(d),p=w,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),w=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var y=this._input.read(h),A=s.get_directives(y);A&&"start"===A.ignore&&(y+=s.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(u)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var C=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);C.match(/[ :]$/)&&(C=this.eatString(": ").replace(/\s$/,""),this.print_string(C),this._output.space_before_token=!0),"extend"===(C=C.replace(/\s$/,""))?v=!0:"import"===C&&(_=!0),C in this.NESTED_AT_RULE?(this._nestedLevel+=1,C in this.CONDITIONAL_GROUP_RULE&&(b=!0)):m||0!==g||-1===C.indexOf(":")||(f=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(f&&(f=!1,this.outdent()),b?(b=!1,m=this._indentLevel>=this._nestedLevel):m=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&m&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),_=!1,v=!1,f&&(this.outdent(),f=!1),this.print_string(this._ch),m=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!m&&!b||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||v||0!==g?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),f||(f=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===g?(f&&(this.outdent(),f=!1),v=!1,_=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),g++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),g&&(g--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),g++,this.indent()):")"===this._ch?(g&&(g--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||f||0!==g||_?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||f||0!==g?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function o(e){i.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t;var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var o=0;o0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(e,t){this.__indent_cache=new o(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},o.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),(n+=e*this.__indent_size)+t},o.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+this.__cache[t]},o.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},o.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline()||(this.raw||this.__add_outputline(),0))},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var o=this.__lines[n];if(o.is_empty())break;if(0!==o.item(0).indexOf(e)&&o.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=r},function(e,t,n){e.exports.Token=function(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e,t,n){function i(e,t){this.raw_options=o(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}function o(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,n={};for(t in e)n[t.replace(/-/g,"_")]=e[t];return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=r,e.exports.mergeOpts=o},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function o(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}o.prototype.restart=function(){this.__position=0},o.prototype.back=function(){this.__position>0&&(this.__position-=1)},o.prototype.hasNext=function(){return this.__position=0&&e=0&&t=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=o},function(e,t,n){var i=n(8).InputScanner,o=n(3).Token,r=n(10).TokenStream,s=n(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(e,t){this._input=new i(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new s(this._input)};l.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new r,this._reset();for(var t=new o(a.START,""),n=null,i=[],s=new r;t.type!==a.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)s.add(e),e=this._get_next_token(t,n);s.isEmpty()||(e.comments_before=s,s=new r),e.parent=n,this._is_opening(e)?(i.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=i.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(a.RAW,n):this._create_token(a.EOF,"")},l.prototype._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return!1},l.prototype._is_closing=function(e,t){return!1},l.prototype._create_token=function(e,t){return new o(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=l,e.exports.TOKEN=a},function(e,t,n){function i(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position=0&&e/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new i,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},r.prototype.read_options=function(e){var t=this._create();for(var n in o)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},r.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},r.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},r.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||e.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},r.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(e=(e=(e=e||this.__patterns.smarty_comment.read())||this.__patterns.smarty_literal.read())||this.__patterns.smarty.read()));return e},e.exports.TemplatablePattern=r},,,,function(e,t,n){var i=n(19).Beautifier,o=n(20).Options;e.exports=function(e,t,n,o){return new i(e,t,n,o).beautify()},e.exports.defaultOptions=function(){return new o}},function(e,t,n){var i=n(20).Options,o=n(2).Output,r=n(21).Tokenizer,s=n(21).TOKEN,a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new o(e,t)};c.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},c.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},c.prototype.print_preserved_newlines=function(e){var t=0;e.type!==s.TEXT&&e.previous.type!==s.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines0);return 0!==t},c.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines||(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),0))},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(e){this._output.add_new_line(e)},c.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};function d(e,t){return-1!==t.indexOf(e)}function h(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function u(e){this._printer=e,this._current_frame=null}function p(e,t,n,o){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=o,this._tag_stack=null;var r=new i(t,"html");this._options=r,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}u.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},u.prototype.record_tag=function(e){var t=new h(this._current_frame,e,this._printer.indent_level);this._current_frame=t},u.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},u.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},u.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},u.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&a.test(e)&&(t=e.match(a)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},o=new g,d=new c(this._options,n),h=new r(e,this._options).tokenize();this._tag_stack=new u(d);for(var p=null,m=h.next();m.type!==s.EOF;)m.type===s.TAG_OPEN||m.type===s.COMMENT?o=p=this._handle_tag_open(d,m,o,i):m.type===s.ATTRIBUTE||m.type===s.EQUALS||m.type===s.VALUE||m.type===s.TEXT&&!o.tag_complete?p=this._handle_inside_tag(d,m,o,h):m.type===s.TAG_CLOSE?p=this._handle_tag_close(d,m,o):m.type===s.TEXT?p=this._handle_text(d,m,o):d.add_raw_token(m),i=p,m=h.next();return d._output.get_code(t)},p.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},p.prototype._handle_inside_tag=function(e,t,n,i){var o=n.has_wrapped_attrs,r={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===s.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===s.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===s.EQUALS||t.type===s.VALUE&&t.previous.type===s.EQUALS)&&e.set_space_before_token(!1),t.type===s.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),o=o||0!==t.newlines),this._is_wrap_attributes_force)){var a=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,c=!0,d=0;do{if((l=i.peek(d)).type===s.ATTRIBUTE){c=!1;break}d+=1}while(d<4&&l.type!==s.EOF&&l.type!==s.TAG_CLOSE);a=!c}a&&(e.print_newline(!1),o=!0)}e.print_token(t),o=o||e.previous_token_wrapped(),n.has_wrapped_attrs=o}return r},p.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},p.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){var o,r=t.text,s=1,a="",l="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?o=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?o=this._css_beautify:"html"===n.custom_beautifier_name&&(o=function(e,t){return new p(e,t,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?s=0:"separate"===this._options.indent_scripts&&(s=-e.indent_level);var c=e.get_full_indent(s);if(r=r.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===r[0]&&r.match(/^(|]]>)$/.exec(r);if(!d)return void e.add_raw_token(t);a=c+d[1]+"\n",r=d[4],d[5]&&(l=c+d[5]),r=r.replace(/\n[ \t]*$/,""),(d[2]||-1!==d[3].indexOf("\n"))&&(d=d[3].match(/[ \t]+$/))&&(t.whitespace_before=d[0])}if(r)if(o){var h=function(){this.eol="\n"};h.prototype=this._options.raw_options,r=o(c+r,new h)}else{var u=t.whitespace_before;u&&(r=r.replace(new RegExp("\n("+u+")?","g"),"\n")),r=c+r.replace(/\n/g,"\n"+c)}a&&(r=r?a+r+"\n"+l:a+l),e.print_newline(!1),r&&(t.text=r,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},p.prototype._handle_tag_open=function(e,t,n,i){var o=this._get_tag_open_token(t);return!n.is_unformatted&&!n.is_content_unformatted||n.is_empty_element||t.type!==s.TAG_OPEN||0!==t.text.indexOf("]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===t.text&&">"===this.tag_check&&null!==t.next&&(this.tag_check=t.next.text)),this.tag_check=this.tag_check.toLowerCase(),t.type===s.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};p.prototype._get_tag_open_token=function(e){var t=new g(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||d(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&d(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&d(t.tag_check,this._options.content_unformatted),t.is_inline_element=d(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},p.prototype._set_tag_position=function(e,t,n,i,o){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||e.print_newline(!1)),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),(n=function(e){for(var t=null,n=e.next;n.type!==s.EOF&&e.closed!==n;){if(n.type===s.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===s.EQUALS&&n.next.next&&n.next.next.type===s.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n).search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null}(n.tag_check,t)))),d(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element)"{"===n.tag_start_char&&"else"===n.tag_check&&(this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1)),"!--"===n.tag_name&&o.type===s.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||(n.is_inline_element||n.is_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,n));else if(n.is_end_tag){var r=!1;r=(r=n.start_tag_token&&n.start_tag_token.multiline_content)||!n.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(o.type===s.TAG_CLOSE&&n.start_tag_token===i)&&"TK_CONTENT"!==o.type,(n.is_content_unformatted||n.is_unformatted)&&(r=!1),r&&e.print_newline(!1)}else n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||n.is_unformatted||"TK_CONTENT"===o.type&&!n.is_content_unformatted||e.print_newline(!1),this._calcluate_parent_multiline(e,n)},p.prototype._calcluate_parent_multiline=function(e,t){!t.parent||!e._output.just_added_newline()||(t.is_inline_element||t.is_unformatted)&&t.parent.is_inline_element||(t.parent.multiline_content=!0)};var m=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],f=["a","audio","del","ins","map","noscript","video"];p.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent){if("body"===e.tag_name)t=t||this._tag_stack.try_pop("head");else if("li"===e.tag_name)t=t||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===e.tag_name||"dt"===e.tag_name)t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]);else if("p"===e.parent.tag_name&&-1!==m.indexOf(e.tag_name)){var n=e.parent.parent;n&&-1!==f.indexOf(n.tag_name)||(t=t||this._tag_stack.try_pop("p"))}else"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return e.parent=this._tag_stack.get_parser_token(),t}},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function o(e){i.call(this,e,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new i,e.exports.Options=o},function(e,t,n){var i=n(9).Tokenizer,o=n(9).TOKEN,r=n(13).Directives,s=n(14).TemplatablePattern,a=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},c=new r(/<\!--/,/-->/),d=function(e,t){i.call(this,e,t),this._current_tag_name="";var n=new s(this._input).read_options(this._options),o=new a(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:o.starting_with(/{{!--/).until_after(/--}}/),handlebars:o.starting_with(/{{/).until_after(/}}/),handlebars_open:o.until(/[\n\r\t }]/),handlebars_raw_close:o.until(/}}/),comment:o.starting_with(//),cdata:o.starting_with(//),conditional_comment:o.starting_with(//),processing:o.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var r=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=o.matching(r).until_after(r)}};(d.prototype=new i)._is_comment=function(e){return!1},d.prototype._is_opening=function(e){return e.type===l.TAG_OPEN},d.prototype._is_closing=function(e,t){return e.type===l.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},d.prototype._reset=function(){this._current_tag_name=""},d.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,t))||this._read_attribute(i,e,t))||this._read_close(i,t))||this._read_raw_content(i,e,t))||this._read_content_word(i))||this._read_comment_or_cdata(i))||this._read_processing(i))||this._read_open(i,t))||this._create_token(l.UNKNOWN,this._input.next())},d.prototype._read_comment_or_cdata=function(e){var t=null,n=null,i=null;return"<"===e&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=c.get_directives(n))&&"start"===i.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=i)),t},d.prototype._read_processing=function(e){var t=null,n=null;if("<"===e){var i=this._input.peek(1);"!"!==i&&"?"!==i||(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=null)}return t},d.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},d.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},d.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},d.prototype._read_attribute=function(e,t,n){var i=null,o="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(l.EQUALS,this._input.next());else if('"'===e||"'"===e){var r=this._input.next();r+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,r)}else(o=this.__patterns.attribute.read())&&(i=t.type===l.EQUALS?this._create_token(l.VALUE,o):this._create_token(l.ATTRIBUTE,o));return i},d.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},d.prototype._read_raw_content=function(e,t,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(t.type===l.TAG_CLOSE&&"<"===t.opened.text[0]&&"/"!==t.text[0]){var o=t.opened.text.substr(1).toLowerCase();if("script"===o||"style"===o){var r=this._read_comment_or_cdata(e);if(r)return r.type=l.TEXT,r;i=this._input.readUntil(new RegExp("","ig"))}else this._is_content_unformatted(o)&&(i=this._input.readUntil(new RegExp("","ig")))}return i?this._create_token(l.TEXT,i):null},d.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(l.TEXT,t)},e.exports.Tokenizer=d,e.exports.TOKEN=l}]),bt=(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,i="",o=0,r=-1,s=0,a=0;a<=e.length;++a){if(a2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",o=0):o=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),r=a,s=0;continue}}else if(2===i.length||1===i.length){i="",o=0,r=a,s=0;continue}t&&(i.length>0?i+="/..":i="..",o=2)}else i.length>0?i+="/"+e.slice(r+1,a):i=e.slice(r+1,a),o=a-r-1;r=a,s=0}else 46===n&&-1!==s?++s:s=-1}return i}var i={resolve:function(){for(var e,i="",o=!1,r=arguments.length-1;r>=-1&&!o;r--){var s;r>=0?s=arguments[r]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(i=s+"/"+i,o=47===s.charCodeAt(0))}return i=n(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&o&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=i.resolve(e))===(n=i.resolve(n)))return"";for(var o=1;oc){if(47===n.charCodeAt(a+h))return n.slice(a+h+1);if(0===h)return n.slice(a+h)}else s>c&&(47===e.charCodeAt(o+h)?d=h:0===h&&(d=0));break}var u=e.charCodeAt(o+h);if(u!==n.charCodeAt(a+h))break;47===u&&(d=h)}var p="";for(h=o+d+1;h<=r;++h)h!==r&&47!==e.charCodeAt(h)||(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(a+d):(a+=d,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),i=47===n,o=-1,r=!0,s=e.length-1;s>=1;--s)if(47===(n=e.charCodeAt(s))){if(!r){o=s;break}}else r=!1;return-1===o?i?"/":".":i&&1===o?"//":e.slice(0,o)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var i,o=0,r=-1,s=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47===c){if(!s){o=i+1;break}}else-1===l&&(s=!1,l=i+1),a>=0&&(c===n.charCodeAt(a)?-1==--a&&(r=i):(a=-1,r=l))}return o===r?r=l:-1===r&&(r=e.length),e.slice(o,r)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){o=i+1;break}}else-1===r&&(s=!1,r=i+1);return-1===r?"":e.slice(o,r)},extname:function(e){t(e);for(var n=-1,i=0,o=-1,r=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===o&&(r=!1,o=a+1),46===l?-1===n?n=a:1!==s&&(s=1):-1!==n&&(s=-1);else if(!r){i=a+1;break}}return-1===n||-1===o||0===s||1===s&&n===o-1&&n===i+1?"":e.slice(n,o)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+"/"+i:i}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i,o=e.charCodeAt(0),r=47===o;r?(n.root="/",i=1):i=0;for(var s=-1,a=0,l=-1,c=!0,d=e.length-1,h=0;d>=i;--d)if(47!==(o=e.charCodeAt(d)))-1===l&&(c=!1,l=d+1),46===o?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1);else if(!c){a=d+1;break}return-1===s||-1===l||0===h||1===h&&s===l-1&&s===a+1?-1!==l&&(n.base=n.name=0===a&&r?e.slice(1,l):e.slice(a,l)):(0===a&&r?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i},447:(e,t,n)=>{var i;if(n.r(t),n.d(t,{URI:()=>g,Utils:()=>x}),"object"==typeof process)i="win32"===process.platform;else if("object"==typeof navigator){var o=navigator.userAgent;i=o.indexOf("Windows")>=0}var r,s,a=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//,h="",u="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,g=function(){function e(e,t,n,i,o,r){void 0===r&&(r=!1),"object"==typeof e?(this.scheme=e.scheme||h,this.authority=e.authority||h,this.path=e.path||h,this.query=e.query||h,this.fragment=e.fragment||h):(this.scheme=function(e,t){return e||t?e:"file"}(e,r),this.authority=t||h,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==u&&(t=u+t):t=u}return t}(this.scheme,n||h),this.query=i||h,this.fragment=o||h,function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.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(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,r))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return w(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,o=e.query,r=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=h),void 0===n?n=this.authority:null===n&&(n=h),void 0===i?i=this.path:null===i&&(i=h),void 0===o?o=this.query:null===o&&(o=h),void 0===r?r=this.fragment:null===r&&(r=h),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new f(t,n,i,o,r)},e.parse=function(e,t){void 0===t&&(t=!1);var n=p.exec(e);return n?new f(n[2]||h,S(n[4]||h),S(n[5]||h),S(n[7]||h),S(n[9]||h),t):new f(h,h,h,h,h)},e.file=function(e){var t=h;if(i&&(e=e.replace(/\\/g,u)),e[0]===u&&e[1]===u){var n=e.indexOf(u,2);-1===n?(t=e.substring(2),e=u):(t=e.substring(2,n),e=e.substring(n)||u)}return new f("file",t,e,h,h)},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),y(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=i?1:void 0,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(g),b=((s={})[58]="%3A",s[47]="%2F",s[63]="%3F",s[35]="%23",s[91]="%5B",s[93]="%5D",s[64]="%40",s[33]="%21",s[36]="%24",s[38]="%26",s[39]="%27",s[40]="%28",s[41]="%29",s[42]="%2A",s[43]="%2B",s[44]="%2C",s[59]="%3B",s[61]="%3D",s[32]="%20",s);function v(e,t){for(var n=void 0,i=-1,o=0;o=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));var s=b[r];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=s):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i&&(n=n.replace(/\//g,"\\")),n}function y(e,t){var n=t?_:v,i="",o=e.scheme,r=e.authority,s=e.path,a=e.query,l=e.fragment;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=u,i+=u),r){var c=r.indexOf("@");if(-1!==c){var d=r.substr(0,c);r=r.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(r=r.toLowerCase()).indexOf(":"))?i+=n(r,!1):(i+=n(r.substr(0,c),!1),i+=r.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(h=s.charCodeAt(1))>=65&&h<=90&&(s="/"+String.fromCharCode(h+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var h;(h=s.charCodeAt(0))>=65&&h<=90&&(s=String.fromCharCode(h+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:v(l,!1)),i}function A(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+A(e.substr(3)):e}}var C=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(C)?e.replace(C,(function(e){return A(e)})):e}var x,E=n(470),k=function(){for(var e=0,t=0,n=arguments.length;t{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})();const{URI:_t,Utils:wt}=bt;var yt={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `__x__` or `__X__`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `` element. It specifies the type of content being loaded by the ``, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `` element. When used on a `` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:"`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:"The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/td"}]},{name:"th",description:{kind:"markdown",value:"The th element represents a header cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:{kind:"markdown",value:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."}},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:"An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:'\\[Deprecated in ARIA 1.1\\] Indicates an element\'s "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.'}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]}]};!function(){function e(e){this.dataProviders=[],this.setDataProviders(!1!==e.useDefaultDataProvider,e.customDataProviders||[])}e.prototype.setDataProviders=function(e,t){var n;this.dataProviders=[],e&&this.dataProviders.push(new rt("html5",yt)),(n=this.dataProviders).push.apply(n,t)},e.prototype.getDataProviders=function(){return this.dataProviders}}();var At=n(28904),Ct=function(){function e(e,t,n){var i=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var o=function(e){var t,n=e.getModeId();n===i._languageId&&(i._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return i._doValidate(e.uri,n)}),500)})),i._doValidate(e.uri,n))},r=function(e){At.editor.setModelMarkers(e,i._languageId,[]);var t=e.uri.toString(),n=i._listener[t];n&&(n.dispose(),delete i._listener[t])};this._disposables.push(At.editor.onDidCreateModel(o)),this._disposables.push(At.editor.onWillDisposeModel((function(e){r(e)}))),this._disposables.push(At.editor.onDidChangeModelLanguage((function(e){r(e.model),o(e.model)}))),this._disposables.push(n.onDidChange((function(e){At.editor.getModels().forEach((function(e){e.getModeId()===i._languageId&&(r(e),o(e))}))}))),this._disposables.push({dispose:function(){for(var e in i._listener)i._listener[e].dispose()}}),At.editor.getModels().forEach(o)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){var i=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:St(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n})),o=At.editor.getModel(e);o&&o.getModeId()===t&&At.editor.setModelMarkers(o,t,i)}))})).then(void 0,(function(e){console.error(e)}))},e}();function St(e){switch(e){case m.Error:return At.MarkerSeverity.Error;case m.Warning:return At.MarkerSeverity.Warning;case m.Information:return At.MarkerSeverity.Info;case m.Hint:return At.MarkerSeverity.Hint;default:return At.MarkerSeverity.Info}}function xt(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function Et(e){if(e)return new At.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function kt(e){var t=At.languages.CompletionItemKind;switch(e){case W.Text:return t.Text;case W.Method:return t.Method;case W.Function:return t.Function;case W.Constructor:return t.Constructor;case W.Field:return t.Field;case W.Variable:return t.Variable;case W.Class:return t.Class;case W.Interface:return t.Interface;case W.Module:return t.Module;case W.Property:return t.Property;case W.Unit:return t.Unit;case W.Value:return t.Value;case W.Enum:return t.Enum;case W.Keyword:return t.Keyword;case W.Snippet:return t.Snippet;case W.Color:return t.Color;case W.File:return t.File;case W.Reference:return t.Reference}return t.Property}function Tt(e){if(e)return{range:Et(e.range),text:e.newText}}var It=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!1,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,i){var o=e.uri;return this._worker(o).then((function(e){return e.doComplete(o.toString(),xt(t))})).then((function(n){if(n){var i=e.getWordUntilPosition(t),o=new At.Range(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn),r=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:o,kind:kt(e.kind)};return e.textEdit&&(void 0===(t=e.textEdit).insert||void 0===t.replace?n.range=Et(e.textEdit.range):n.range={insert:Et(e.textEdit.insert),replace:Et(e.textEdit.replace)},n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(Tt)),e.insertTextFormat===U.Snippet&&(n.insertTextRules=At.languages.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:r}}}))},e}();function Dt(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function Lt(e){if(e)return Array.isArray(e)?e.map(Dt):[Dt(e)]}var Rt=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),xt(t))})).then((function(e){if(e)return{range:Et(e.range),contents:Lt(e.contents)}}))},e}();function Nt(e){var t=At.languages.DocumentHighlightKind;switch(e){case J.Read:return t.Read;case J.Write:return t.Write;case J.Text:return t.Text}return t.Text}var Mt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),xt(t))})).then((function(e){if(e)return e.map((function(e){return{range:Et(e.range),kind:Nt(e.kind)}}))}))},e}();function Ot(e){var t=At.languages.SymbolKind;switch(e){case X.File:return t.Array;case X.Module:return t.Module;case X.Namespace:return t.Namespace;case X.Package:return t.Package;case X.Class:return t.Class;case X.Method:return t.Method;case X.Property:return t.Property;case X.Field:return t.Field;case X.Constructor:return t.Constructor;case X.Enum:return t.Enum;case X.Interface:return t.Interface;case X.Function:return t.Function;case X.Variable:return t.Variable;case X.Constant:return t.Constant;case X.String:return t.String;case X.Number:return t.Number;case X.Boolean:return t.Boolean;case X.Array:return t.Array}return t.Function}var Pt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:Ot(e.kind),tags:[],range:Et(e.location.range),selectionRange:Et(e.location.range)}}))}))},e}(),Ft=function(){function e(e){this._worker=e}return e.prototype.provideLinks=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentLinks(n.toString())})).then((function(e){if(e)return{links:e.map((function(e){return{range:Et(e.range),url:e.target}}))}}))},e}();function zt(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var Bt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),null,zt(t)).then((function(e){if(e&&0!==e.length)return e.map(Tt)}))}))},e}(),Wt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){var o=e.uri;return this._worker(o).then((function(e){return e.format(o.toString(),function(e){if(e)return{start:xt(e.getStartPosition()),end:xt(e.getEndPosition())}}(t),zt(n)).then((function(e){if(e&&0!==e.length)return e.map(Tt)}))}))},e}(),Ut=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,i){var o=e.uri;return this._worker(o).then((function(e){return e.doRename(o.toString(),xt(t),n)})).then((function(e){return function(e){if(e&&e.changes){var t=[];for(var n in e.changes)for(var i=At.Uri.parse(n),o=0,r=e.changes[n];o<r.length;o++){var s=r[o];t.push({resource:i,edit:{range:Et(s.range),text:s.newText}})}return{edits:t}}}(e)}))},e}(),Ht=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getFoldingRanges(i.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case u.Comment:return At.languages.FoldingRangeKind.Comment;case u.Imports:return At.languages.FoldingRangeKind.Imports;case u.Region:return At.languages.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}(),Vt=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(xt))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:Et(e.range)}),e=e.parent;return t}))}))},e}()},21876:function(e,t,n){"use strict";n.r(t),n.d(t,{WorkerManager:function(){return o}});var i=n(28904),o=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.editor.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}()},92056:function(e,t,n){"use strict";n(31096)},31096:function(e,t,n){"use strict";n.d(t,{k$:function(){return r},Qc:function(){return s},jv:function(){return a},SN:function(){return l},F6:function(){return c},zA:function(){return d},Hk:function(){return h},Vn:function(){return u},zx:function(){return p}});var i,o=n(15006);function r(e,t){var n=[],i=new Object,o=void 0,r={value:{},offset:0,length:0,type:"object",parent:void 0},s=!1;function a(e,t,n,i){r.value=e,r.offset=t,r.length=n,r.type=i,r.colonOffset=void 0,o=r}try{u(e,{onObjectBegin:function(e,r){if(t<=e)throw i;o=void 0,s=t>e,n.push("")},onObjectProperty:function(e,o,r){if(t<o)throw i;if(a(e,o,r,"property"),n[n.length-1]=e,t<=o+r)throw i},onObjectEnd:function(e,r){if(t<=e)throw i;o=void 0,n.pop()},onArrayBegin:function(e,r){if(t<=e)throw i;o=void 0,n.push(0)},onArrayEnd:function(e,r){if(t<=e)throw i;o=void 0,n.pop()},onLiteralValue:function(e,n,o){if(t<n)throw i;if(a(e,n,o,g(e)),t<=n+o)throw i},onSeparator:function(e,r,a){if(t<=r)throw i;if(":"===e&&o&&"property"===o.type)o.colonOffset=r,s=!1,o=void 0;else if(","===e){var l=n[n.length-1];"number"==typeof l?n[n.length-1]=l+1:(s=!0,n[n.length-1]=""),o=void 0}}})}catch(e){if(e!==i)throw e}return{path:n,previousNode:o,isAtPropertyKey:s,matches:function(e){for(var t=0,i=0;t<e.length&&i<n.length;i++)if(e[t]===n[i]||"*"===e[t])t++;else if("**"!==e[t])return!1;return t===e.length}}}function s(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=i.DEFAULT);var o=null,r=[],s=[];function a(e){Array.isArray(r)?r.push(e):null!==o&&(r[o]=e)}return u(e,{onObjectBegin:function(){var e={};a(e),s.push(r),r=e,o=null},onObjectProperty:function(e){o=e},onObjectEnd:function(){r=s.pop()},onArrayBegin:function(){var e=[];a(e),s.push(r),r=e,o=null},onArrayEnd:function(){r=s.pop()},onLiteralValue:a,onError:function(e,n,i){t.push({error:e,offset:n,length:i})}},n),r[0]}function a(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=i.DEFAULT);var o={type:"array",offset:-1,length:-1,children:[],parent:void 0};function r(e){"property"===o.type&&(o.length=e-o.offset,o=o.parent)}function s(e){return o.children.push(e),e}u(e,{onObjectBegin:function(e){o=s({type:"object",offset:e,length:-1,parent:o,children:[]})},onObjectProperty:function(e,t,n){(o=s({type:"property",offset:t,length:-1,parent:o,children:[]})).children.push({type:"string",value:e,offset:t,length:n,parent:o})},onObjectEnd:function(e,t){r(e+t),o.length=e+t-o.offset,o=o.parent,r(e+t)},onArrayBegin:function(e,t){o=s({type:"array",offset:e,length:-1,parent:o,children:[]})},onArrayEnd:function(e,t){o.length=e+t-o.offset,o=o.parent,r(e+t)},onLiteralValue:function(e,t,n){s({type:g(e),offset:t,length:n,parent:o,value:e}),r(t+n)},onSeparator:function(e,t,n){"property"===o.type&&(":"===e?o.colonOffset=t:","===e&&r(t))},onError:function(e,n,i){t.push({error:e,offset:n,length:i})}},n);var a=o.children[0];return a&&delete a.parent,a}function l(e,t){if(e){for(var n=e,i=0,o=t;i<o.length;i++){var r=o[i];if("string"==typeof r){if("object"!==n.type||!Array.isArray(n.children))return;for(var s=!1,a=0,l=n.children;a<l.length;a++){var c=l[a];if(Array.isArray(c.children)&&c.children[0].value===r){n=c.children[1],s=!0;break}}if(!s)return}else{var d=r;if("array"!==n.type||d<0||!Array.isArray(n.children)||d>=n.children.length)return;n=n.children[d]}}return n}}function c(e){if(!e.parent||!e.parent.children)return[];var t=c(e.parent);if("property"===e.parent.type){var n=e.parent.children[0].value;t.push(n)}else if("array"===e.parent.type){var i=e.parent.children.indexOf(e);-1!==i&&t.push(i)}return t}function d(e){switch(e.type){case"array":return e.children.map(d);case"object":for(var t=Object.create(null),n=0,i=e.children;n<i.length;n++){var o=i[n],r=o.children[1];r&&(t[o.children[0].value]=d(r))}return t;case"null":case"string":case"number":case"boolean":return e.value;default:return}}function h(e,t,n){if(void 0===n&&(n=!1),function(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}(e,t,n)){var i=e.children;if(Array.isArray(i))for(var o=0;o<i.length&&i[o].offset<=t;o++){var r=h(i[o],t,n);if(r)return r}return e}}function u(e,t,n){void 0===n&&(n=i.DEFAULT);var r=(0,o.t)(e,!1);function s(e){return e?function(){return e(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}function a(e){return e?function(t){return e(t,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter())}:function(){return!0}}var l=s(t.onObjectBegin),c=a(t.onObjectProperty),d=s(t.onObjectEnd),h=s(t.onArrayBegin),u=s(t.onArrayEnd),p=a(t.onLiteralValue),g=a(t.onSeparator),m=s(t.onComment),f=a(t.onError),b=n&&n.disallowComments,v=n&&n.allowTrailingComma;function _(){for(;;){var e=r.scan();switch(r.getTokenError()){case 4:w(14);break;case 5:w(15);break;case 3:w(13);break;case 1:b||w(11);break;case 2:w(12);break;case 6:w(16)}switch(e){case 12:case 13:b?w(10):m();break;case 16:w(1);break;case 15:case 14:break;default:return e}}}function w(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),f(e),t.length+n.length>0)for(var i=r.getToken();17!==i;){if(-1!==t.indexOf(i)){_();break}if(-1!==n.indexOf(i))break;i=_()}}function y(e){var t=r.getTokenValue();return e?p(t):c(t),_(),!0}return _(),17===r.getToken()?!!n.allowEmptyContent||(w(4,[],[]),!1):function e(){switch(r.getToken()){case 3:return function(){h(),_();for(var t=!1;4!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||w(4,[],[]),g(","),_(),4===r.getToken()&&v)break}else t&&w(6,[],[]);e()||w(4,[],[4,5]),t=!0}return u(),4!==r.getToken()?w(8,[4],[]):_(),!0}();case 1:return function(){l(),_();for(var t=!1;2!==r.getToken()&&17!==r.getToken();){if(5===r.getToken()){if(t||w(4,[],[]),g(","),_(),2===r.getToken()&&v)break}else t&&w(6,[],[]);(10!==r.getToken()?(w(3,[],[2,5]),0):(y(!1),6===r.getToken()?(g(":"),_(),e()||w(4,[],[2,5])):w(5,[],[2,5]),1))||w(4,[],[2,5]),t=!0}return d(),2!==r.getToken()?w(7,[2],[]):_(),!0}();case 10:return y(!0);default:return function(){switch(r.getToken()){case 11:var e=r.getTokenValue(),t=Number(e);isNaN(t)&&(w(2),t=0),p(t);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return _(),!0}()}}()?(17!==r.getToken()&&w(9,[],[]),!0):(w(4,[],[]),!1)}function p(e,t){var n,i,r=(0,o.t)(e),s=[],a=0;do{switch(i=r.getPosition(),n=r.scan()){case 12:case 13:case 17:a!==i&&s.push(e.substring(a,i)),void 0!==t&&s.push(r.getTokenValue().replace(/[^\r\n]/g,t)),a=r.getPosition()}}while(17!==n);return s.join("")}function g(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"object":return e?Array.isArray(e)?"array":"object":"null";default:return"null"}}!function(e){e.DEFAULT={allowTrailingComma:!1}}(i||(i={}))},15006:function(e,t,n){"use strict";function i(e,t){void 0===t&&(t=!1);var n=e.length,i=0,a="",l=0,c=16,d=0,h=0,u=0,p=0,g=0;function m(t,n){for(var o=0,r=0;o<t||!n;){var s=e.charCodeAt(i);if(s>=48&&s<=57)r=16*r+s-48;else if(s>=65&&s<=70)r=16*r+s-65+10;else{if(!(s>=97&&s<=102))break;r=16*r+s-97+10}i++,o++}return o<t&&(r=-1),r}function f(){if(a="",g=0,l=i,h=d,p=u,i>=n)return l=n,c=17;var t=e.charCodeAt(i);if(o(t)){do{i++,a+=String.fromCharCode(t),t=e.charCodeAt(i)}while(o(t));return c=15}if(r(t))return i++,a+=String.fromCharCode(t),13===t&&10===e.charCodeAt(i)&&(i++,a+="\n"),d++,u=i,c=14;switch(t){case 123:return i++,c=1;case 125:return i++,c=2;case 91:return i++,c=3;case 93:return i++,c=4;case 58:return i++,c=6;case 44:return i++,c=5;case 34:return i++,a=function(){for(var t="",o=i;;){if(i>=n){t+=e.substring(o,i),g=2;break}var s=e.charCodeAt(i);if(34===s){t+=e.substring(o,i),i++;break}if(92!==s){if(s>=0&&s<=31){if(r(s)){t+=e.substring(o,i),g=2;break}g=6}i++}else{if(t+=e.substring(o,i),++i>=n){g=2;break}switch(e.charCodeAt(i++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=m(4,!0);a>=0?t+=String.fromCharCode(a):g=4;break;default:g=5}o=i}}return t}(),c=10;case 47:var f=i-1;if(47===e.charCodeAt(i+1)){for(i+=2;i<n&&!r(e.charCodeAt(i));)i++;return a=e.substring(f,i),c=12}if(42===e.charCodeAt(i+1)){i+=2;for(var v=n-1,_=!1;i<v;){var w=e.charCodeAt(i);if(42===w&&47===e.charCodeAt(i+1)){i+=2,_=!0;break}i++,r(w)&&(13===w&&10===e.charCodeAt(i)&&i++,d++,u=i)}return _||(i++,g=1),a=e.substring(f,i),c=13}return a+=String.fromCharCode(t),i++,c=16;case 45:if(a+=String.fromCharCode(t),++i===n||!s(e.charCodeAt(i)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return a+=function(){var t=i;if(48===e.charCodeAt(i))i++;else for(i++;i<e.length&&s(e.charCodeAt(i));)i++;if(i<e.length&&46===e.charCodeAt(i)){if(!(++i<e.length&&s(e.charCodeAt(i))))return g=3,e.substring(t,i);for(i++;i<e.length&&s(e.charCodeAt(i));)i++}var n=i;if(i<e.length&&(69===e.charCodeAt(i)||101===e.charCodeAt(i)))if((++i<e.length&&43===e.charCodeAt(i)||45===e.charCodeAt(i))&&i++,i<e.length&&s(e.charCodeAt(i))){for(i++;i<e.length&&s(e.charCodeAt(i));)i++;n=i}else g=3;return e.substring(t,n)}(),c=11;default:for(;i<n&&b(t);)i++,t=e.charCodeAt(i);if(l!==i){switch(a=e.substring(l,i)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}return a+=String.fromCharCode(t),i++,c=16}}function b(e){if(o(e)||r(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){i=e,a="",l=0,c=16,g=0},getPosition:function(){return i},scan:t?function(){var e;do{e=f()}while(e>=12&&e<=15);return e}:f,getToken:function(){return c},getTokenValue:function(){return a},getTokenOffset:function(){return l},getTokenLength:function(){return i-l},getTokenStartLine:function(){return h},getTokenStartCharacter:function(){return l-p},getTokenError:function(){return g}}}function o(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function r(e){return 10===e||13===e||8232===e||8233===e}function s(e){return e>=48&&e<=57}n.d(t,{t:function(){return i}})},738:function(e,t,n){"use strict";n.d(t,{tU:function(){return r},Qc:function(){return s},Hk:function(){return a},F6:function(){return l},zA:function(){return c}}),n(92056);var i=n(15006),o=n(31096),r=i.t,s=(o.k$,o.Qc),a=(o.jv,o.SN,o.Hk),l=o.F6,c=o.zA;o.Vn,o.zx},72877:function(e,t,n){"use strict";n.r(t),n.d(t,{CancellationTokenSource:function(){return i.AU},Emitter:function(){return i.Q5},KeyCode:function(){return i.VD},KeyMod:function(){return i.DC},MarkerSeverity:function(){return i.ZL},MarkerTag:function(){return i.eB},Position:function(){return i.Ly},Range:function(){return i.e6},Selection:function(){return i.Y1},SelectionDirection:function(){return i.a$},Token:function(){return i.WU},Uri:function(){return i.Sf},editor:function(){return i.j6},languages:function(){return i.Mj}});var i=n(57768)},28040:function(e,t,n){"use strict";n.r(t),n.d(t,{setupMode:function(){return a}});var i=n(57886),o=n(65327),r=n(38214),s=n(72877);function a(e){var t=[],n=[],a=new i.WorkerManager(e);t.push(a);var h=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.getLanguageServiceWorker.apply(a,e)};function u(){var t=e.languageId,i=e.modeConfiguration;c(n),i.documentFormattingEdits&&n.push(s.languages.registerDocumentFormattingEditProvider(t,new o.DocumentFormattingEditProvider(h))),i.documentRangeFormattingEdits&&n.push(s.languages.registerDocumentRangeFormattingEditProvider(t,new o.DocumentRangeFormattingEditProvider(h))),i.completionItems&&n.push(s.languages.registerCompletionItemProvider(t,new o.CompletionAdapter(h))),i.hovers&&n.push(s.languages.registerHoverProvider(t,new o.HoverAdapter(h))),i.documentSymbols&&n.push(s.languages.registerDocumentSymbolProvider(t,new o.DocumentSymbolAdapter(h))),i.tokens&&n.push(s.languages.setTokensProvider(t,(0,r.createTokenizationSupport)(!0))),i.colors&&n.push(s.languages.registerColorProvider(t,new o.DocumentColorAdapter(h))),i.foldingRanges&&n.push(s.languages.registerFoldingRangeProvider(t,new o.FoldingRangeAdapter(h))),i.diagnostics&&n.push(new o.DiagnosticsAdapter(t,h,e)),i.selectionRanges&&n.push(s.languages.registerSelectionRangeProvider(t,new o.SelectionRangeAdapter(h)))}u(),t.push(s.languages.setLanguageConfiguration(e.languageId,d));var p=e.modeConfiguration;return e.onDidChange((function(e){e.modeConfiguration!==p&&(p=e.modeConfiguration,u())})),t.push(l(n)),l(t)}function l(e){return{dispose:function(){return c(e)}}}function c(e){for(;e.length;)e.pop().dispose()}var d={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}},65327:function(e,t,n){"use strict";n.r(t),n.d(t,{CompletionAdapter:function(){return Rt},DiagnosticsAdapter:function(){return xt},DocumentColorAdapter:function(){return Ut},DocumentFormattingEditProvider:function(){return Bt},DocumentRangeFormattingEditProvider:function(){return Wt},DocumentSymbolAdapter:function(){return Ft},FoldingRangeAdapter:function(){return Ht},HoverAdapter:function(){return Ot},SelectionRangeAdapter:function(){return Vt}});var i,o,r,s,a,l,c,d,h,u,p,g,m,f,b,v,_,w,y,A,C,S,x,E,k,T,I,D,L,R,N,M,O=n(72877),P=n(738);function F(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!F(e[n],t[n]))return!1}else{var o=[];for(i in e)o.push(i);o.sort();var r=[];for(i in t)r.push(i);if(r.sort(),!F(o,r))return!1;for(n=0;n<o.length;n++)if(!F(e[o[n]],t[o[n]]))return!1}return!0}function z(e){return"number"==typeof e}function B(e){return void 0!==e}function W(e){return"boolean"==typeof e}!function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(i||(i={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(o||(o={})),(M=r||(r={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=o.MAX_VALUE),t===Number.MAX_VALUE&&(t=o.MAX_VALUE),{line:e,character:t}},M.is=function(e){var t=e;return ye.objectLiteral(t)&&ye.uinteger(t.line)&&ye.uinteger(t.character)},(N=s||(s={})).create=function(e,t,n,i){if(ye.uinteger(e)&&ye.uinteger(t)&&ye.uinteger(n)&&ye.uinteger(i))return{start:r.create(e,t),end:r.create(n,i)};if(r.is(e)&&r.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},N.is=function(e){var t=e;return ye.objectLiteral(t)&&r.is(t.start)&&r.is(t.end)},function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ye.defined(t)&&s.is(t.range)&&(ye.string(t.uri)||ye.undefined(t.uri))}}(a||(a={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ye.defined(t)&&s.is(t.targetRange)&&ye.string(t.targetUri)&&(s.is(t.targetSelectionRange)||ye.undefined(t.targetSelectionRange))&&(s.is(t.originSelectionRange)||ye.undefined(t.originSelectionRange))}}(l||(l={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ye.numberRange(t.red,0,1)&&ye.numberRange(t.green,0,1)&&ye.numberRange(t.blue,0,1)&&ye.numberRange(t.alpha,0,1)}}(c||(c={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return s.is(t.range)&&c.is(t.color)}}(d||(d={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ye.string(t.label)&&(ye.undefined(t.textEdit)||w.is(t))&&(ye.undefined(t.additionalTextEdits)||ye.typedArray(t.additionalTextEdits,w.is))}}(h||(h={})),(R=u||(u={})).Comment="comment",R.Imports="imports",R.Region="region",function(e){e.create=function(e,t,n,i,o){var r={startLine:e,endLine:t};return ye.defined(n)&&(r.startCharacter=n),ye.defined(i)&&(r.endCharacter=i),ye.defined(o)&&(r.kind=o),r},e.is=function(e){var t=e;return ye.uinteger(t.startLine)&&ye.uinteger(t.startLine)&&(ye.undefined(t.startCharacter)||ye.uinteger(t.startCharacter))&&(ye.undefined(t.endCharacter)||ye.uinteger(t.endCharacter))&&(ye.undefined(t.kind)||ye.string(t.kind))}}(p||(p={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ye.defined(t)&&a.is(t.location)&&ye.string(t.message)}}(g||(g={})),(L=m||(m={})).Error=1,L.Warning=2,L.Information=3,L.Hint=4,function(e){e.Unnecessary=1,e.Deprecated=2}(f||(f={})),function(e){e.is=function(e){var t=e;return null!=t&&ye.string(t.href)}}(b||(b={})),(D=v||(v={})).create=function(e,t,n,i,o,r){var s={range:e,message:t};return ye.defined(n)&&(s.severity=n),ye.defined(i)&&(s.code=i),ye.defined(o)&&(s.source=o),ye.defined(r)&&(s.relatedInformation=r),s},D.is=function(e){var t,n=e;return ye.defined(n)&&s.is(n.range)&&ye.string(n.message)&&(ye.number(n.severity)||ye.undefined(n.severity))&&(ye.integer(n.code)||ye.string(n.code)||ye.undefined(n.code))&&(ye.undefined(n.codeDescription)||ye.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(ye.string(n.source)||ye.undefined(n.source))&&(ye.undefined(n.relatedInformation)||ye.typedArray(n.relatedInformation,g.is))},function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={title:e,command:t};return ye.defined(n)&&n.length>0&&(o.arguments=n),o},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.title)&&ye.string(t.command)}}(_||(_={})),(I=w||(w={})).replace=function(e,t){return{range:e,newText:t}},I.insert=function(e,t){return{range:{start:e,end:e},newText:t}},I.del=function(e){return{range:e,newText:""}},I.is=function(e){var t=e;return ye.objectLiteral(t)&&ye.string(t.newText)&&s.is(t.range)},function(e){e.create=function(e,t,n){var i={label:e};return void 0!==t&&(i.needsConfirmation=t),void 0!==n&&(i.description=n),i},e.is=function(e){var t=e;return void 0!==t&&ye.objectLiteral(t)&&ye.string(t.label)&&(ye.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(ye.string(t.description)||void 0===t.description)}}(y||(y={})),function(e){e.is=function(e){return"string"==typeof e}}(A||(A={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){var t=e;return w.is(t)&&(y.is(t.annotationId)||A.is(t.annotationId))}}(C||(C={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ye.defined(t)&&V.is(t.textDocument)&&Array.isArray(t.edits)}}(S||(S={})),function(e){e.create=function(e,t,n){var i={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(i.options=t),void 0!==n&&(i.annotationId=n),i},e.is=function(e){var t=e;return t&&"create"===t.kind&&ye.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ye.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ye.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||A.is(t.annotationId))}}(x||(x={})),function(e){e.create=function(e,t,n,i){var o={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(o.options=n),void 0!==i&&(o.annotationId=i),o},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ye.string(t.oldUri)&&ye.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ye.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ye.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||A.is(t.annotationId))}}(E||(E={})),function(e){e.create=function(e,t,n){var i={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(i.options=t),void 0!==n&&(i.annotationId=n),i},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ye.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ye.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ye.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||A.is(t.annotationId))}}(k||(k={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ye.string(e.kind)?x.is(e)||E.is(e)||k.is(e):S.is(e)})))}}(T||(T={}));var U,H,V,j,K,q,G,Q,Y,$,J,Z,X,ee,te,ne,ie,oe,re,se,ae,le,ce,de,he,ue,pe,ge,me,fe,be,ve,_e=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var i,o;if(void 0===n?i=w.insert(e,t):A.is(n)?(o=n,i=C.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(n),i=C.insert(e,t,o)),this.edits.push(i),void 0!==o)return o},e.prototype.replace=function(e,t,n){var i,o;if(void 0===n?i=w.replace(e,t):A.is(n)?(o=n,i=C.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),o=this.changeAnnotations.manage(n),i=C.replace(e,t,o)),this.edits.push(i),void 0!==o)return o},e.prototype.delete=function(e,t){var n,i;if(void 0===t?n=w.del(e):A.is(t)?(i=t,n=C.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(t),n=C.del(e,i)),this.edits.push(n),void 0!==i)return i},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),we=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(A.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new we(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(S.is(e)){var n=new _e(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new _e(e.changes[n]);t._textEditChanges[n]=i}))):this._workspaceEdit={}}Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(V.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:o=[]};this._workspaceEdit.documentChanges.push(n),i=new _e(o,this._changeAnnotations),this._textEditChanges[t.uri]=i}return i}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var o=[];this._workspaceEdit.changes[e]=o,i=new _e(o),this._textEditChanges[e]=i}return i},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new we,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,o,r;if(y.is(t)||A.is(t)?i=t:n=t,void 0===i?o=x.create(e,n):(r=A.is(i)?i:this._changeAnnotations.manage(i),o=x.create(e,n,r)),this._workspaceEdit.documentChanges.push(o),void 0!==r)return r},e.prototype.renameFile=function(e,t,n,i){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var o,r,s;if(y.is(n)||A.is(n)?o=n:i=n,void 0===o?r=E.create(e,t,i):(s=A.is(o)?o:this._changeAnnotations.manage(o),r=E.create(e,t,i,s)),this._workspaceEdit.documentChanges.push(r),void 0!==s)return s},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,o,r;if(y.is(t)||A.is(t)?i=t:n=t,void 0===i?o=k.create(e,n):(r=A.is(i)?i:this._changeAnnotations.manage(i),o=k.create(e,n,r)),this._workspaceEdit.documentChanges.push(o),void 0!==r)return r}}(),function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)}}(U||(U={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&ye.integer(t.version)}}(H||(H={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&(null===t.version||ye.integer(t.version))}}(V||(V={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ye.defined(t)&&ye.string(t.uri)&&ye.string(t.languageId)&&ye.integer(t.version)&&ye.string(t.text)}}(j||(j={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(K||(K={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(K||(K={})),function(e){e.is=function(e){var t=e;return ye.objectLiteral(e)&&K.is(t.kind)&&ye.string(t.value)}}(q||(q={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(G||(G={})),function(e){e.PlainText=1,e.Snippet=2}(Q||(Q={})),function(e){e.Deprecated=1}(Y||(Y={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&ye.string(t.newText)&&s.is(t.insert)&&s.is(t.replace)}}($||($={})),function(e){e.asIs=1,e.adjustIndentation=2}(J||(J={})),function(e){e.create=function(e){return{label:e}}}(Z||(Z={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(X||(X={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ye.string(t)||ye.objectLiteral(t)&&ye.string(t.language)&&ye.string(t.value)}}(ee||(ee={})),function(e){e.is=function(e){var t=e;return!!t&&ye.objectLiteral(t)&&(q.is(t.contents)||ee.is(t.contents)||ye.typedArray(t.contents,ee.is))&&(void 0===e.range||s.is(e.range))}}(te||(te={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(ne||(ne={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={label:e};return ye.defined(t)&&(o.documentation=t),ye.defined(n)?o.parameters=n:o.parameters=[],o}}(ie||(ie={})),function(e){e.Text=1,e.Read=2,e.Write=3}(oe||(oe={})),function(e){e.create=function(e,t){var n={range:e};return ye.number(t)&&(n.kind=t),n}}(re||(re={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(se||(se={})),function(e){e.Deprecated=1}(ae||(ae={})),function(e){e.create=function(e,t,n,i,o){var r={name:e,kind:t,location:{uri:i,range:n}};return o&&(r.containerName=o),r}}(le||(le={})),function(e){e.create=function(e,t,n,i,o,r){var s={name:e,detail:t,kind:n,range:i,selectionRange:o};return void 0!==r&&(s.children=r),s},e.is=function(e){var t=e;return t&&ye.string(t.name)&&ye.number(t.kind)&&s.is(t.range)&&s.is(t.selectionRange)&&(void 0===t.detail||ye.string(t.detail))&&(void 0===t.deprecated||ye.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(ce||(ce={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(de||(de={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ye.defined(t)&&ye.typedArray(t.diagnostics,v.is)&&(void 0===t.only||ye.typedArray(t.only,ye.string))}}(he||(he={})),function(e){e.create=function(e,t,n){var i={title:e},o=!0;return"string"==typeof t?(o=!1,i.kind=t):_.is(t)?i.command=t:i.edit=t,o&&void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ye.string(t.title)&&(void 0===t.diagnostics||ye.typedArray(t.diagnostics,v.is))&&(void 0===t.kind||ye.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||_.is(t.command))&&(void 0===t.isPreferred||ye.boolean(t.isPreferred))&&(void 0===t.edit||T.is(t.edit))}}(ue||(ue={})),function(e){e.create=function(e,t){var n={range:e};return ye.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ye.defined(t)&&s.is(t.range)&&(ye.undefined(t.command)||_.is(t.command))}}(pe||(pe={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ye.defined(t)&&ye.uinteger(t.tabSize)&&ye.boolean(t.insertSpaces)}}(ge||(ge={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ye.defined(t)&&s.is(t.range)&&(ye.undefined(t.target)||ye.string(t.target))}}(me||(me={})),(be=fe||(fe={})).create=function(e,t){return{range:e,parent:t}},be.is=function(e){var t=e;return void 0!==t&&s.is(t.range)&&(void 0===t.parent||be.is(t.parent))},function(e){function t(e,n){if(e.length<=1)return e;var i=e.length/2|0,o=e.slice(0,i),r=e.slice(i);t(o,n),t(r,n);for(var s=0,a=0,l=0;s<o.length&&a<r.length;){var c=n(o[s],r[a]);e[l++]=c<=0?o[s++]:r[a++]}for(;s<o.length;)e[l++]=o[s++];for(;a<r.length;)e[l++]=r[a++];return e}e.create=function(e,t,n,i){return new Ae(e,t,n,i)},e.is=function(e){var t=e;return!!(ye.defined(t)&&ye.string(t.uri)&&(ye.undefined(t.languageId)||ye.string(t.languageId))&&ye.uinteger(t.lineCount)&&ye.func(t.getText)&&ye.func(t.positionAt)&&ye.func(t.offsetAt))},e.applyEdits=function(e,n){for(var i=e.getText(),o=t(n,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=i.length,s=o.length-1;s>=0;s--){var a=o[s],l=e.offsetAt(a.range.start),c=e.offsetAt(a.range.end);if(!(c<=r))throw new Error("Overlapping edit");i=i.substring(0,l)+a.newText+i.substring(c,i.length),r=l}return i}}(ve||(ve={}));var ye,Ae=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var o=t.charAt(i);n="\r"===o||"\n"===o,"\r"===o&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return r.create(0,e);for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var s=n-1;return r.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,i){return"[object Number]"===t.call(e)&&n<=e&&e<=i},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ye||(ye={}));var Ce,Se,xe,Ee,ke=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,o=t;i<o.length;i++){var r=o[i];if(e.isIncremental(r)){var s=De(r.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+r.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),h=this._lineOffsets,u=Ie(r.text,!1,a);if(d-c===u.length)for(var p=0,g=u.length;p<g;p++)h[p+c+1]=u[p];else u.length<1e4?h.splice.apply(h,[c+1,d-c].concat(u)):this._lineOffsets=h=h.slice(0,c+1).concat(u,h.slice(d+1));var m=r.text.length-(l-a);if(0!==m)for(p=c+1+u.length,g=h.length;p<g;p++)h[p]=h[p]+m}else{if(!e.isFull(r))throw new Error("Unknown change event received");this._content=r.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=Ie(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var o=Math.floor((n+i)/2);t[o]>e?i=o:n=o+1}var r=n-1;return{line:r,character:e-t[r]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function Te(e,t){if(e.length<=1)return e;var n=e.length/2|0,i=e.slice(0,n),o=e.slice(n);Te(i,t),Te(o,t);for(var r=0,s=0,a=0;r<i.length&&s<o.length;){var l=t(i[r],o[s]);e[a++]=l<=0?i[r++]:o[s++]}for(;r<i.length;)e[a++]=i[r++];for(;s<o.length;)e[a++]=o[s++];return e}function Ie(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],o=0;o<e.length;o++){var r=e.charCodeAt(o);13!==r&&10!==r||(13===r&&o+1<e.length&&10===e.charCodeAt(o+1)&&o++,i.push(n+o+1))}return i}function De(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function Le(e){var t=De(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new ke(e,t,n,i)},e.update=function(e,t,n){if(e instanceof ke)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=0,o=[],r=0,s=Te(t.map(Le),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n}));r<s.length;r++){var a=s[r],l=e.offsetAt(a.range.start);if(l<i)throw new Error("Overlapping edit");l>i&&o.push(n.substring(i,l)),a.newText.length&&o.push(a.newText),i=e.offsetAt(a.range.end)}return o.push(n.substr(i)),o.join("")}}(Ce||(Ce={})),(Ee=Se||(Se={}))[Ee.Undefined=0]="Undefined",Ee[Ee.EnumValueMismatch=1]="EnumValueMismatch",Ee[Ee.Deprecated=2]="Deprecated",Ee[Ee.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",Ee[Ee.UnexpectedEndOfString=258]="UnexpectedEndOfString",Ee[Ee.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",Ee[Ee.InvalidUnicode=260]="InvalidUnicode",Ee[Ee.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",Ee[Ee.InvalidCharacter=262]="InvalidCharacter",Ee[Ee.PropertyExpected=513]="PropertyExpected",Ee[Ee.CommaExpected=514]="CommaExpected",Ee[Ee.ColonExpected=515]="ColonExpected",Ee[Ee.ValueExpected=516]="ValueExpected",Ee[Ee.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",Ee[Ee.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",Ee[Ee.TrailingComma=519]="TrailingComma",Ee[Ee.DuplicateKey=520]="DuplicateKey",Ee[Ee.CommentNotPermitted=521]="CommentNotPermitted",Ee[Ee.SchemaResolveError=768]="SchemaResolveError",function(e){e.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[K.Markdown,K.PlainText],commitCharactersSupport:!0}}}}}(xe||(xe={}));var Re,Ne,Me,Oe=n(89982),Pe=(Re=function(e,t){return(Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}Re(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Fe=Oe.loadMessageBundle(),ze={"color-hex":{errorMessage:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}},Be=function(){function e(e,t,n){void 0===n&&(n=0),this.offset=t,this.length=n,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}();function We(e){return W(e)?e?{}:{not:{}}:e}Pe((function(e,t){var n=Me.call(this,e,t)||this;return n.type="null",n.value=null,n}),Me=Be),function(e){Pe((function(t,n,i){var o=e.call(this,t,i)||this;return o.type="boolean",o.value=n,o}),e)}(Be),function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="array",i.items=[],i}Pe(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!1,configurable:!0})}(Be),function(e){Pe((function(t,n){var i=e.call(this,t,n)||this;return i.type="number",i.isInteger=!0,i.value=Number.NaN,i}),e)}(Be),function(e){Pe((function(t,n,i){var o=e.call(this,t,n,i)||this;return o.type="string",o.value="",o}),e)}(Be),function(e){function t(t,n,i){var o=e.call(this,t,n)||this;return o.type="property",o.colonOffset=-1,o.keyNode=i,o}Pe(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!1,configurable:!0})}(Be),function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.type="object",i.properties=[],i}Pe(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!1,configurable:!0})}(Be),function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(Ne||(Ne={}));var Ue=function(){function e(e,t){void 0===e&&(e=-1),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){Array.prototype.push.apply(this.schemas,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||qe(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),He=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!1,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Ve=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=void 0}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.merge(i)}},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,n=this.problems;t<n.length;t++){var i=n[t];i.code===Se.EnumValueMismatch&&(i.message=Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map((function(e){return JSON.stringify(e)})).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function je(e){return P.zA(e)}function Ke(e){return P.F6(e)}function qe(e,t,n){return void 0===n&&(n=!1),t>=e.offset&&t<e.offset+e.length||n&&t===e.offset+e.length}function Ge(e,t,n,i){if(e&&i.include(e)){var o=e;switch(o.type){case"object":!function(e,t,n,i){for(var o=Object.create(null),r=[],s=0,a=e.properties;s<a.length;s++)o[U=(f=a[s]).keyNode.value]=f.valueNode,r.push(U);if(Array.isArray(t.required))for(var l=0,c=t.required;l<c.length;l++)if(!o[C=c[l]]){var d=e.parent&&"property"===e.parent.type&&e.parent.keyNode,h=d?{offset:d.offset,length:d.length}:{offset:e.offset,length:1};n.problems.push({location:h,message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","MissingRequiredPropWarning",'Missing property "{0}".',C)})}var u=function(e){for(var t=r.indexOf(e);t>=0;)r.splice(t,1),t=r.indexOf(e)};if(t.properties)for(var p=0,g=Object.keys(t.properties);p<g.length;p++){u(C=g[p]);var m=t.properties[C];if(I=o[C])if(W(m))if(m)n.propertiesMatches++,n.propertiesValueMatches++;else{var f=I.parent;n.problems.push({location:{offset:f.keyNode.offset,length:f.keyNode.length},message:t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","DisallowedExtraPropWarning","Property {0} is not allowed.",C)})}else Ge(I,m,E=new Ve,i),n.mergePropertyMatch(E)}if(t.patternProperties)for(var b=0,v=Object.keys(t.patternProperties);b<v.length;b++)for(var _=v[b],w=new RegExp(_),y=0,A=r.slice(0);y<A.length;y++){var C=A[y];w.test(C)&&(u(C),(I=o[C])&&(W(m=t.patternProperties[_])?m?(n.propertiesMatches++,n.propertiesValueMatches++):(f=I.parent,n.problems.push({location:{offset:f.keyNode.offset,length:f.keyNode.length},message:t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","DisallowedExtraPropWarning","Property {0} is not allowed.",C)})):(Ge(I,m,E=new Ve,i),n.mergePropertyMatch(E))))}if("object"==typeof t.additionalProperties){for(var S=0,x=r;S<x.length;S++)if(I=o[C=x[S]]){var E=new Ve;Ge(I,t.additionalProperties,E,i),n.mergePropertyMatch(E)}}else if(!1===t.additionalProperties&&r.length>0)for(var k=0,T=r;k<T.length;k++){var I;(I=o[C=T[k]])&&(f=I.parent,n.problems.push({location:{offset:f.keyNode.offset,length:f.keyNode.length},message:t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","DisallowedExtraPropWarning","Property {0} is not allowed.",C)}))}if(z(t.maxProperties)&&e.properties.length>t.maxProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)}),z(t.minProperties)&&e.properties.length<t.minProperties&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)}),t.dependencies)for(var D=0,L=Object.keys(t.dependencies);D<L.length;D++)if(o[U=L[D]]){var R=t.dependencies[U];if(Array.isArray(R))for(var N=0,M=R;N<M.length;N++){var O=M[N];o[O]?n.propertiesValueMatches++:n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",O,U)})}else(m=We(R))&&(Ge(e,m,E=new Ve,i),n.mergePropertyMatch(E))}var P=We(t.propertyNames);if(P)for(var F=0,B=e.properties;F<B.length;F++){var U;(U=B[F].keyNode)&&Ge(U,P,n,He.instance)}}(o,t,n,i);break;case"array":!function(e,t,n,i){if(Array.isArray(t.items)){for(var o=t.items,r=0;r<o.length;r++){var s=We(o[r]),a=new Ve;(u=e.items[r])?(Ge(u,s,a,i),n.mergePropertyMatch(a)):e.items.length>=o.length&&n.propertiesValueMatches++}if(e.items.length>o.length)if("object"==typeof t.additionalItems)for(var l=o.length;l<e.items.length;l++)a=new Ve,Ge(e.items[l],t.additionalItems,a,i),n.mergePropertyMatch(a);else!1===t.additionalItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",o.length)})}else{var c=We(t.items);if(c)for(var d=0,h=e.items;d<h.length;d++){var u;Ge(u=h[d],c,a=new Ve,i),n.mergePropertyMatch(a)}}var p=We(t.contains);if(p&&(e.items.some((function(e){var t=new Ve;return Ge(e,p,t,He.instance),!t.hasProblems()}))||n.problems.push({location:{offset:e.offset,length:e.length},message:t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","requiredItemMissingWarning","Array does not contain required item.")})),z(t.minItems)&&e.items.length<t.minItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)}),z(t.maxItems)&&e.items.length>t.maxItems&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)}),!0===t.uniqueItems){var g=je(e);g.some((function(e,t){return t!==g.lastIndexOf(e)}))&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","uniqueItemsWarning","Array has duplicate items.")})}}(o,t,n,i);break;case"string":!function(e,t,n,i){if(z(t.minLength)&&e.value.length<t.minLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)}),z(t.maxLength)&&e.value.length>t.maxLength&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)}),"string"==typeof t.pattern&&(new RegExp(t.pattern).test(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","patternWarning",'String does not match the pattern of "{0}".',t.pattern)})),t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value){var r=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);r?r[2]||"uri"!==t.format||(o=Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","uriSchemeMissing","URI with a scheme is expected.")):o=Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","uriMissing","URI is expected.")}else o=Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","uriEmpty","URI expected.");o&&n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","uriFormatWarning","String is not a URI: {0}",o)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var s=ze[t.format];e.value&&s.pattern.exec(e.value)||n.problems.push({location:{offset:e.offset,length:e.length},message:t.patternErrorMessage||t.errorMessage||s.errorMessage})}}(o,t,n);break;case"number":!function(e,t,n,i){var o=e.value;function r(e){var t,n=/^(-?\d+)(?:\.(\d+))?(?:e([-+]\d+))?$/.exec(e.toString());return n&&{value:Number(n[1]+(n[2]||"")),multiplier:((null===(t=n[2])||void 0===t?void 0:t.length)||0)-(parseInt(n[3])||0)}}if(z(t.multipleOf)){var s=-1;if(Number.isInteger(t.multipleOf))s=o%t.multipleOf;else{var a=r(t.multipleOf),l=r(o);if(a&&l){var c=Math.pow(10,Math.abs(l.multiplier-a.multiplier));l.multiplier<a.multiplier?l.value*=c:a.value*=c,s=l.value%a.value}}0!==s&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)})}function d(e,t){return z(t)?t:W(t)&&t?e:void 0}function h(e,t){if(!W(t)||!t)return e}var u=d(t.minimum,t.exclusiveMinimum);z(u)&&o<=u&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",u)});var p=d(t.maximum,t.exclusiveMaximum);z(p)&&o>=p&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",p)});var g=h(t.minimum,t.exclusiveMinimum);z(g)&&o<g&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","minimumWarning","Value is below the minimum of {0}.",g)});var m=h(t.maximum,t.exclusiveMaximum);z(m)&&o>m&&n.problems.push({location:{offset:e.offset,length:e.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","maximumWarning","Value is above the maximum of {0}.",m)})}(o,t,n);break;case"property":return Ge(o.valueNode,t,n,i)}!function(){function e(e){return o.type===e||"integer"===e&&"number"===o.type&&o.isInteger}if(Array.isArray(t.type)?t.type.some(e)||n.problems.push({location:{offset:o.offset,length:o.length},message:t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(e(t.type)||n.problems.push({location:{offset:o.offset,length:o.length},message:t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)})),Array.isArray(t.allOf))for(var r=0,s=t.allOf;r<s.length;r++){var a=s[r];Ge(o,We(a),n,i)}var l=We(t.not);if(l){var c=new Ve,d=i.newSub();Ge(o,l,c,d),c.hasProblems()||n.problems.push({location:{offset:o.offset,length:o.length},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","notSchemaWarning","Matches a schema that is not allowed.")});for(var h=0,u=d.schemas;h<u.length;h++){var p=u[h];p.inverted=!p.inverted,i.add(p)}}var g=function(e,t){for(var r=[],s=void 0,a=0,l=e;a<l.length;a++){var c=We(l[a]),d=new Ve,h=i.newSub();if(Ge(o,c,d,h),d.hasProblems()||r.push(c),s)if(t||d.hasProblems()||s.validationResult.hasProblems()){var u=d.compare(s.validationResult);u>0?s={schema:c,validationResult:d,matchingSchemas:h}:0===u&&(s.matchingSchemas.merge(h),s.validationResult.mergeEnumValues(d))}else s.matchingSchemas.merge(h),s.validationResult.propertiesMatches+=d.propertiesMatches,s.validationResult.propertiesValueMatches+=d.propertiesValueMatches;else s={schema:c,validationResult:d,matchingSchemas:h}}return r.length>1&&t&&n.problems.push({location:{offset:o.offset,length:1},message:Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","oneOfWarning","Matches multiple schemas when only one must validate.")}),s&&(n.merge(s.validationResult),n.propertiesMatches+=s.validationResult.propertiesMatches,n.propertiesValueMatches+=s.validationResult.propertiesValueMatches,i.merge(s.matchingSchemas)),r.length};Array.isArray(t.anyOf)&&g(t.anyOf,!1),Array.isArray(t.oneOf)&&g(t.oneOf,!0);var f=function(e){var t=new Ve,r=i.newSub();Ge(o,We(e),t,r),n.merge(t),n.propertiesMatches+=t.propertiesMatches,n.propertiesValueMatches+=t.propertiesValueMatches,i.merge(r)},b=We(t.if);if(b&&function(e,t,n){var r=We(e),s=new Ve,a=i.newSub();Ge(o,r,s,a),i.merge(a),s.hasProblems()?n&&f(n):t&&f(t)}(b,We(t.then),We(t.else)),Array.isArray(t.enum)){for(var v=je(o),_=!1,w=0,y=t.enum;w<y.length;w++){if(F(v,y[w])){_=!0;break}}n.enumValues=t.enum,n.enumValueMatch=_,_||n.problems.push({location:{offset:o.offset,length:o.length},code:Se.EnumValueMismatch,message:t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}B(t.const)&&(F(v=je(o),t.const)?n.enumValueMatch=!0:(n.problems.push({location:{offset:o.offset,length:o.length},code:Se.EnumValueMismatch,message:t.errorMessage||Fe("vs/language/json/_deps/vscode-json-languageservice/parser/jsonParser","constWarning","Value must be {0}.",JSON.stringify(t.const))}),n.enumValueMatch=!1),n.enumValues=[t.const]),t.deprecationMessage&&o.parent&&n.problems.push({location:{offset:o.parent.offset,length:o.parent.length},severity:m.Warning,message:t.deprecationMessage,code:Se.Deprecated})}(),i.add({node:o,schema:t})}}function Qe(e,t,n){if(null!==e&&"object"==typeof e){var i=t+"\t";if(Array.isArray(e)){if(0===e.length)return"[]";for(var o="[\n",r=0;r<e.length;r++)o+=i+Qe(e[r],i,n),r<e.length-1&&(o+=","),o+="\n";return o+(t+"]")}var s=Object.keys(e);if(0===s.length)return"{}";for(o="{\n",r=0;r<s.length;r++){var a=s[r];o+=i+JSON.stringify(a)+": "+Qe(e[a],i,n),r<s.length-1&&(o+=","),o+="\n"}return o+(t+"}")}return n(e)}function Ye(e,t){var n=e.length-t.length;return n>0?e.lastIndexOf(t)===n:0===n&&e===t}function $e(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}!function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=[]),this.root=e,this.syntaxErrors=t,this.comments=n}e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return P.Hk(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(n){var i=e(n),o=n.children;if(Array.isArray(o))for(var r=0;r<o.length&&i;r++)i=t(o[r]);return i};t(this.root)}},e.prototype.validate=function(e,t,n){if(void 0===n&&(n=m.Warning),this.root&&t){var i=new Ve;return Ge(this.root,t,i,He.instance),i.problems.map((function(t){var i,o=s.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return v.create(o,t.message,null!==(i=t.severity)&&void 0!==i?i:n,t.code)}))}},e.prototype.getMatchingSchemas=function(e,t,n){void 0===t&&(t=-1);var i=new Ue(t,n);return this.root&&e&&Ge(this.root,e,new Ve,i),i.schemas}}();var Je,Ze=Oe.loadMessageBundle();!function(){function e(e,t,n,i){void 0===t&&(t=[]),void 0===n&&(n=Promise),void 0===i&&(i={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=n,this.clientCapabilities=i}e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--){var n=this.contributions[t].resolveCompletion;if(n){var i=n(e);if(i)return i}}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,n){var i=this,o={items:[],isIncomplete:!1},r=e.getText(),a=e.offsetAt(t),l=n.getNodeFromOffset(a,!0);if(this.isInComment(e,l?l.offset:0,a))return Promise.resolve(o);if(l&&a===l.offset+l.length&&a>0){var c=r[a-1];("object"===l.type&&"}"===c||"array"===l.type&&"]"===c)&&(l=l.parent)}var d,h=this.getCurrentWord(e,a);if(!l||"string"!==l.type&&"number"!==l.type&&"boolean"!==l.type&&"null"!==l.type){var u=a-h.length;u>0&&'"'===r[u-1]&&u--,d=s.create(e.positionAt(u),t)}else d=s.create(e.positionAt(l.offset),e.positionAt(l.offset+l.length));var p={},g={add:function(e){var t=e.label,n=p[t];if(n)n.documentation||(n.documentation=e.documentation),n.detail||(n.detail=e.detail);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var i=t.substr(0,57).trim()+"...";p[i]||(t=i)}d&&void 0!==e.insertText&&(e.textEdit=w.replace(d,e.insertText)),e.label=t,p[t]=e,o.items.push(e)}},setAsIncomplete:function(){o.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return o.items.length}};return this.schemaService.getSchemaForResource(e.uri,n).then((function(t){var s=[],c=!0,u="",m=void 0;if(l&&"string"===l.type){var f=l.parent;f&&"property"===f.type&&f.keyNode===l&&(c=!f.valueNode,m=f,u=r.substr(l.offset+1,l.length-2),f&&(l=f.parent))}if(l&&"object"===l.type){if(l.offset===a)return o;l.properties.forEach((function(e){m&&m===e||(p[e.keyNode.value]=Z.create("__"))}));var b="";c&&(b=i.evaluateSeparatorAfter(e,e.offsetAt(d.end))),t?i.getPropertyCompletions(t,n,l,c,b,g):i.getSchemaLessPropertyCompletions(n,l,u,g);var v=Ke(l);i.contributions.forEach((function(t){var n=t.collectPropertyCompletions(e.uri,v,h,c,""===b,g);n&&s.push(n)})),!t&&h.length>0&&'"'!==r.charAt(a-h.length-1)&&(g.add({kind:G.Property,label:i.getLabelForValue(h),insertText:i.getInsertTextForProperty(h,void 0,!1,b),insertTextFormat:Q.Snippet,documentation:""}),g.setAsIncomplete())}var _={};return t?i.getValueCompletions(t,n,l,a,e,g,_):i.getSchemaLessValueCompletions(n,l,a,e,g),i.contributions.length>0&&i.getContributedValueCompletions(n,l,a,e,g,s),i.promiseConstructor.all(s).then((function(){if(0===g.getNumberOfProposals()){var t=a;!l||"string"!==l.type&&"number"!==l.type&&"boolean"!==l.type&&"null"!==l.type||(t=l.offset+l.length);var n=i.evaluateSeparatorAfter(e,t);i.addFillerValueCompletions(_,n,g)}return o}))}))},e.prototype.getPropertyCompletions=function(e,t,n,i,o,r){var s=this;t.getMatchingSchemas(e.schema,n.offset).forEach((function(e){if(e.node===n&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var n=t[e];if("object"==typeof n&&!n.deprecationMessage&&!n.doNotSuggest){var a={kind:G.Property,label:e,insertText:s.getInsertTextForProperty(e,n,i,o),insertTextFormat:Q.Snippet,filterText:s.getFilterTextForValue(e),documentation:s.fromMarkup(n.markdownDescription)||n.description||""};void 0!==n.suggestSortText&&(a.sortText=n.suggestSortText),a.insertText&&Ye(a.insertText,"$1"+o)&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"}),r.add(a)}}));var a=e.schema.propertyNames;if("object"==typeof a&&!a.deprecationMessage&&!a.doNotSuggest){var l=function(e,t){void 0===t&&(t=void 0);var n={kind:G.Property,label:e,insertText:s.getInsertTextForProperty(e,void 0,i,o),insertTextFormat:Q.Snippet,filterText:s.getFilterTextForValue(e),documentation:t||s.fromMarkup(a.markdownDescription)||a.description||""};void 0!==a.suggestSortText&&(n.sortText=a.suggestSortText),n.insertText&&Ye(n.insertText,"$1"+o)&&(n.command={title:"Suggest",command:"editor.action.triggerSuggest"}),r.add(n)};if(a.enum)for(var c=0;c<a.enum.length;c++){var d=void 0;a.markdownEnumDescriptions&&c<a.markdownEnumDescriptions.length?d=s.fromMarkup(a.markdownEnumDescriptions[c]):a.enumDescriptions&&c<a.enumDescriptions.length&&(d=a.enumDescriptions[c]),l(a.enum[c],d)}a.const&&l(a.const)}}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,n,i){var o=this,r=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;i.add({kind:G.Property,label:t,insertText:o.getInsertTextForValue(t,""),insertTextFormat:Q.Snippet,filterText:o.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var s=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===s&&e.valueNode&&"object"===e.valueNode.type&&r(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&r(e)}));else"object"===t.type&&i.add({kind:G.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",void 0,!0,""),insertTextFormat:Q.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,n,i,o){var r=this,s=n;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(s=t.offset+t.length,t=t.parent),!t)return o.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:Q.Snippet,documentation:""}),void o.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:Q.Snippet,documentation:""});var a=this.evaluateSeparatorAfter(i,s),l=function(e){e.parent&&!qe(e.parent,n,!0)&&o.add({kind:r.getSuggestionKind(e.type),label:r.getLabelTextForMatchingNode(e,i),insertText:r.getInsertTextForMatchingNode(e,i,a),insertTextFormat:Q.Snippet,documentation:""}),"boolean"===e.type&&r.addBooleanValueCompletion(!e.value,a,o)};if("property"===t.type&&n>(t.colonOffset||0)){var c=t.valueNode;if(c&&(n>c.offset+c.length||"object"===c.type||"array"===c.type))return;var d=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===d&&e.valueNode&&l(e.valueNode),!0})),"$schema"===d&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(a,o)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var h=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===h&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(l),!0}))}else t.items.forEach(l)},e.prototype.getValueCompletions=function(e,t,n,i,o,r,s){var a=i,l=void 0,c=void 0;if(!n||"string"!==n.type&&"number"!==n.type&&"boolean"!==n.type&&"null"!==n.type||(a=n.offset+n.length,c=n,n=n.parent),n){if("property"===n.type&&i>(n.colonOffset||0)){var d=n.valueNode;if(d&&i>d.offset+d.length)return;l=n.keyNode.value,n=n.parent}if(n&&(void 0!==l||"array"===n.type)){for(var h=this.evaluateSeparatorAfter(o,a),u=0,p=t.getMatchingSchemas(e.schema,n.offset,c);u<p.length;u++){var g=p[u];if(g.node===n&&!g.inverted&&g.schema){if("array"===n.type&&g.schema.items)if(Array.isArray(g.schema.items)){var m=this.findItemAtOffset(n,o,i);m<g.schema.items.length&&this.addSchemaValueCompletions(g.schema.items[m],h,r,s)}else this.addSchemaValueCompletions(g.schema.items,h,r,s);if(void 0!==l){var f=!1;if(g.schema.properties&&(w=g.schema.properties[l])&&(f=!0,this.addSchemaValueCompletions(w,h,r,s)),g.schema.patternProperties&&!f)for(var b=0,v=Object.keys(g.schema.patternProperties);b<v.length;b++){var _=v[b];if(new RegExp(_).test(l)){f=!0;var w=g.schema.patternProperties[_];this.addSchemaValueCompletions(w,h,r,s)}}g.schema.additionalProperties&&!f&&(w=g.schema.additionalProperties,this.addSchemaValueCompletions(w,h,r,s))}}}"$schema"!==l||n.parent||this.addDollarSchemaCompletions(h,r),s.boolean&&(this.addBooleanValueCompletion(!0,h,r),this.addBooleanValueCompletion(!1,h,r)),s.null&&this.addNullValueCompletion(h,r)}}else this.addSchemaValueCompletions(e.schema,"",r,s)},e.prototype.getContributedValueCompletions=function(e,t,n,i,o,r){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),t&&"property"===t.type&&n>(t.colonOffset||0)){var s=t.keyNode.value,a=t.valueNode;if((!a||n<=a.offset+a.length)&&t.parent){var l=Ke(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(i.uri,l,s,o);t&&r.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(i.uri,o);t&&r.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,n,i){var o=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,n),this.addDefaultValueCompletions(e,t,n),this.collectTypes(e,i),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return o.addSchemaValueCompletions(e,t,n,i)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return o.addSchemaValueCompletions(e,t,n,i)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return o.addSchemaValueCompletions(e,t,n,i)})))},e.prototype.addDefaultValueCompletions=function(e,t,n,i){var o=this;void 0===i&&(i=0);var r=!1;if(B(e.default)){for(var s=e.type,a=e.default,l=i;l>0;l--)a=[a],s="array";n.add({kind:this.getSuggestionKind(s),label:this.getLabelForValue(a),insertText:this.getInsertTextForValue(a,t),insertTextFormat:Q.Snippet,detail:Ze("vs/language/json/_deps/vscode-json-languageservice/services/jsonCompletion","json.suggest.default","Default value")}),r=!0}Array.isArray(e.examples)&&e.examples.forEach((function(s){for(var a=e.type,l=s,c=i;c>0;c--)l=[l],a="array";n.add({kind:o.getSuggestionKind(a),label:o.getLabelForValue(l),insertText:o.getInsertTextForValue(l,t),insertTextFormat:Q.Snippet}),r=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(s){var a,l,c=e.type,d=s.body,h=s.label;if(B(d)){e.type;for(var u=i;u>0;u--)d=[d];a=o.getInsertTextForSnippetValue(d,t),l=o.getFilterTextForSnippetValue(d),h=h||o.getLabelForSnippetValue(d)}else{if("string"!=typeof s.bodyText)return;var p="",g="",m="";for(u=i;u>0;u--)p=p+m+"[\n",g=g+"\n"+m+"]",m+="\t",c="array";a=p+m+s.bodyText.split("\n").join("\n"+m)+g+t,h=h||a,l=a.replace(/[\n]/g,"")}n.add({kind:o.getSuggestionKind(c),label:h,documentation:o.fromMarkup(s.markdownDescription)||s.description,insertText:a,insertTextFormat:Q.Snippet,filterText:l}),r=!0})),!r&&"object"==typeof e.items&&!Array.isArray(e.items)&&i<5&&this.addDefaultValueCompletions(e.items,t,n,i+1)},e.prototype.addEnumValueCompletions=function(e,t,n){if(B(e.const)&&n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:Q.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var i=0,o=e.enum.length;i<o;i++){var r=e.enum[i],s=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&i<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?s=this.fromMarkup(e.markdownEnumDescriptions[i]):e.enumDescriptions&&i<e.enumDescriptions.length&&(s=e.enumDescriptions[i]),n.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(r),insertText:this.getInsertTextForValue(r,t),insertTextFormat:Q.Snippet,documentation:s})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!B(e.const)){var n=e.type;Array.isArray(n)?n.forEach((function(e){return t[e]=!0})):n&&(t[n]=!0)}},e.prototype.addFillerValueCompletions=function(e,t,n){e.object&&n.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:Q.Snippet,detail:Ze("vs/language/json/_deps/vscode-json-languageservice/services/jsonCompletion","defaults.object","New object"),documentation:""}),e.array&&n.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:Q.Snippet,detail:Ze("vs/language/json/_deps/vscode-json-languageservice/services/jsonCompletion","defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,n){n.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:Q.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:Q.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var n=this;this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e})).forEach((function(i){return t.add({kind:G.Module,label:n.getLabelForValue(i),filterText:n.getFilterTextForValue(i),insertText:n.getInsertTextForValue(i,e),insertTextFormat:Q.Snippet,documentation:""})}))},e.prototype.getLabelForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var n=JSON.stringify(e,null,"\t");return"{}"===n?"{$1}"+t:"[]"===n?"[$1]"+t:this.getInsertTextForPlainText(n+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return Qe(e,"",(function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)}))+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var n=JSON.stringify(e);return n=n.substr(1,n.length-2),'"${1:'+(n=this.getInsertTextForPlainText(n))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:void 0}if(!e)return G.Value;switch(e){case"string":return G.Value;case"object":return G.Module;case"property":return G.Property;default:return G.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,n){switch(e.type){case"array":return this.getInsertTextForValue([],n);case"object":return this.getInsertTextForValue({},n);default:var i=t.getText().substr(e.offset,e.length)+n;return this.getInsertTextForPlainText(i)}},e.prototype.getInsertTextForProperty=function(e,t,n,i){var o=this.getInsertTextForValue(e,"");if(!n)return o;var r,s=o+": ",a=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var l=t.defaultSnippets[0].body;B(l)&&(r=this.getInsertTextForSnippetValue(l,""))}a+=t.defaultSnippets.length}if(t.enum&&(r||1!==t.enum.length||(r=this.getInsertTextForGuessedValue(t.enum[0],"")),a+=t.enum.length),B(t.default)&&(r||(r=this.getInsertTextForGuessedValue(t.default,"")),a++),Array.isArray(t.examples)&&t.examples.length&&(r||(r=this.getInsertTextForGuessedValue(t.examples[0],"")),a+=t.examples.length),0===a){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":r="$1";break;case"string":r='"$1"';break;case"object":r="{$1}";break;case"array":r="[$1]";break;case"number":case"integer":r="${1:0}";break;case"null":r="${1:null}";break;default:return o}}}return(!r||a>1)&&(r="$1"),s+r+i},e.prototype.getCurrentWord=function(e,t){for(var n=t-1,i=e.getText();n>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(i.charAt(n));)n--;return i.substring(n+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var n=P.tU(e.getText(),!0);switch(n.setPosition(t),n.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,n){for(var i=P.tU(t.getText(),!0),o=e.items,r=o.length-1;r>=0;r--){var s=o[r];if(n>s.offset+s.length)return i.setPosition(s.offset+s.length),5===i.scan()&&n>=i.getTokenOffset()+i.getTokenLength()?r+1:r;if(n>=s.offset)return r}return 0},e.prototype.isInComment=function(e,t,n){var i=P.tU(e.getText(),!1);i.setPosition(t);for(var o=i.scan();17!==o&&i.getTokenOffset()+i.getTokenLength()<n;)o=i.scan();return(12===o||13===o)&&i.getTokenOffset()<=n},e.prototype.fromMarkup=function(e){if(e&&this.doesSupportMarkdown())return{kind:K.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!B(this.supportsMarkdown)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(K.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!B(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters}}(),Je=(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,i="",o=0,r=-1,s=0,a=0;a<=e.length;++a){if(a<e.length)n=e.charCodeAt(a);else{if(47===n)break;n=47}if(47===n){if(r===a-1||1===s);else if(r!==a-1&&2===s){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",o=0):o=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),r=a,s=0;continue}}else if(2===i.length||1===i.length){i="",o=0,r=a,s=0;continue}t&&(i.length>0?i+="/..":i="..",o=2)}else i.length>0?i+="/"+e.slice(r+1,a):i=e.slice(r+1,a),o=a-r-1;r=a,s=0}else 46===n&&-1!==s?++s:s=-1}return i}var i={resolve:function(){for(var e,i="",o=!1,r=arguments.length-1;r>=-1&&!o;r--){var s;r>=0?s=arguments[r]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(i=s+"/"+i,o=47===s.charCodeAt(0))}return i=n(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!i)).length||i||(e="."),e.length>0&&o&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var o=arguments[n];t(o),o.length>0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=i.resolve(e))===(n=i.resolve(n)))return"";for(var o=1;o<e.length&&47===e.charCodeAt(o);++o);for(var r=e.length,s=r-o,a=1;a<n.length&&47===n.charCodeAt(a);++a);for(var l=n.length-a,c=s<l?s:l,d=-1,h=0;h<=c;++h){if(h===c){if(l>c){if(47===n.charCodeAt(a+h))return n.slice(a+h+1);if(0===h)return n.slice(a+h)}else s>c&&(47===e.charCodeAt(o+h)?d=h:0===h&&(d=0));break}var u=e.charCodeAt(o+h);if(u!==n.charCodeAt(a+h))break;47===u&&(d=h)}var p="";for(h=o+d+1;h<=r;++h)h!==r&&47!==e.charCodeAt(h)||(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(a+d):(a+=d,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),i=47===n,o=-1,r=!0,s=e.length-1;s>=1;--s)if(47===(n=e.charCodeAt(s))){if(!r){o=s;break}}else r=!1;return-1===o?i?"/":".":i&&1===o?"//":e.slice(0,o)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var i,o=0,r=-1,s=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47===c){if(!s){o=i+1;break}}else-1===l&&(s=!1,l=i+1),a>=0&&(c===n.charCodeAt(a)?-1==--a&&(r=i):(a=-1,r=l))}return o===r?r=l:-1===r&&(r=e.length),e.slice(o,r)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!s){o=i+1;break}}else-1===r&&(s=!1,r=i+1);return-1===r?"":e.slice(o,r)},extname:function(e){t(e);for(var n=-1,i=0,o=-1,r=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===o&&(r=!1,o=a+1),46===l?-1===n?n=a:1!==s&&(s=1):-1!==n&&(s=-1);else if(!r){i=a+1;break}}return-1===n||-1===o||0===s||1===s&&n===o-1&&n===i+1?"":e.slice(n,o)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+i:n+"/"+i:i}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i,o=e.charCodeAt(0),r=47===o;r?(n.root="/",i=1):i=0;for(var s=-1,a=0,l=-1,c=!0,d=e.length-1,h=0;d>=i;--d)if(47!==(o=e.charCodeAt(d)))-1===l&&(c=!1,l=d+1),46===o?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1);else if(!c){a=d+1;break}return-1===s||-1===l||0===h||1===h&&s===l-1&&s===a+1?-1!==l&&(n.base=n.name=0===a&&r?e.slice(1,l):e.slice(a,l)):(0===a&&r?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):r&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i},447:(e,t,n)=>{var i;if(n.r(t),n.d(t,{URI:()=>g,Utils:()=>x}),"object"==typeof process)i="win32"===process.platform;else if("object"==typeof navigator){var o=navigator.userAgent;i=o.indexOf("Windows")>=0}var r,s,a=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//,h="",u="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,g=function(){function e(e,t,n,i,o,r){void 0===r&&(r=!1),"object"==typeof e?(this.scheme=e.scheme||h,this.authority=e.authority||h,this.path=e.path||h,this.query=e.query||h,this.fragment=e.fragment||h):(this.scheme=function(e,t){return e||t?e:"file"}(e,r),this.authority=t||h,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==u&&(t=u+t):t=u}return t}(this.scheme,n||h),this.query=i||h,this.fragment=o||h,function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.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(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,r))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return w(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,o=e.query,r=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=h),void 0===n?n=this.authority:null===n&&(n=h),void 0===i?i=this.path:null===i&&(i=h),void 0===o?o=this.query:null===o&&(o=h),void 0===r?r=this.fragment:null===r&&(r=h),t===this.scheme&&n===this.authority&&i===this.path&&o===this.query&&r===this.fragment?this:new f(t,n,i,o,r)},e.parse=function(e,t){void 0===t&&(t=!1);var n=p.exec(e);return n?new f(n[2]||h,S(n[4]||h),S(n[5]||h),S(n[7]||h),S(n[9]||h),t):new f(h,h,h,h,h)},e.file=function(e){var t=h;if(i&&(e=e.replace(/\\/g,u)),e[0]===u&&e[1]===u){var n=e.indexOf(u,2);-1===n?(t=e.substring(2),e=u):(t=e.substring(2,n),e=e.substring(n)||u)}return new f("file",t,e,h,h)},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),y(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=i?1:void 0,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?y(this,!0):(this._formatted||(this._formatted=y(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(g),b=((s={})[58]="%3A",s[47]="%2F",s[63]="%3F",s[35]="%23",s[91]="%5B",s[93]="%5D",s[64]="%40",s[33]="%21",s[36]="%24",s[38]="%26",s[39]="%27",s[40]="%28",s[41]="%29",s[42]="%2A",s[43]="%2B",s[44]="%2C",s[59]="%3B",s[61]="%3D",s[32]="%20",s);function v(e,t){for(var n=void 0,i=-1,o=0;o<e.length;o++){var r=e.charCodeAt(o);if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),void 0!==n&&(n+=e.charAt(o));else{void 0===n&&(n=e.substr(0,o));var s=b[r];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,o)),i=-1),n+=s):-1===i&&(i=o)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var i=e.charCodeAt(n);35===i||63===i?(void 0===t&&(t=e.substr(0,n)),t+=b[i]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function w(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i&&(n=n.replace(/\//g,"\\")),n}function y(e,t){var n=t?_:v,i="",o=e.scheme,r=e.authority,s=e.path,a=e.query,l=e.fragment;if(o&&(i+=o,i+=":"),(r||"file"===o)&&(i+=u,i+=u),r){var c=r.indexOf("@");if(-1!==c){var d=r.substr(0,c);r=r.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(r=r.toLowerCase()).indexOf(":"))?i+=n(r,!1):(i+=n(r.substr(0,c),!1),i+=r.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(h=s.charCodeAt(1))>=65&&h<=90&&(s="/"+String.fromCharCode(h+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var h;(h=s.charCodeAt(0))>=65&&h<=90&&(s=String.fromCharCode(h+32)+":"+s.substr(2))}i+=n(s,!0)}return a&&(i+="?",i+=n(a,!1)),l&&(i+="#",i+=t?l:v(l,!1)),i}function A(e){try{return decodeURIComponent(e)}catch(t){return e.length>3?e.substr(0,3)+A(e.substr(3)):e}}var C=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(C)?e.replace(C,(function(e){return A(e)})):e}var x,E=n(470),k=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i},T=E.posix||E;!function(e){e.joinPath=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.with({path:T.join.apply(T,k([e.path],t))})},e.resolvePath=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=e.path||"/";return e.with({path:T.resolve.apply(T,k([i],t))})},e.dirname=function(e){var t=T.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)?e:e.with({path:t})},e.basename=function(e){return T.basename(e.path)},e.extname=function(e){return T.extname(e.path)}}(x||(x={}))}},t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}return n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})();const{URI:Xe,Utils:et}=Je;var tt=Oe.loadMessageBundle(),nt=function(){function e(e,t){this.patternRegExps=[],this.isInclude=[];try{for(var n=0,i=e;n<i.length;n++){var o=i[n],r="!"!==o[0];r||(o=o.substring(1)),this.patternRegExps.push(new RegExp($e(o)+"$")),this.isInclude.push(r)}this.uris=t}catch(e){this.patternRegExps.length=0,this.isInclude.length=0,this.uris=[]}}return e.prototype.matchesPattern=function(e){for(var t=!1,n=0;n<this.patternRegExps.length;n++)this.patternRegExps[n].test(e)&&(t=this.isInclude[n]);return t},e.prototype.getURIs=function(){return this.uris},e}(),it=function(){function e(e,t,n){this.service=e,this.url=t,this.dependencies={},n&&(this.unresolvedSchema=this.service.promise.resolve(new ot(n)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=void 0,this.unresolvedSchema=void 0,this.dependencies={}},e}(),ot=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},rt=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){var t=this.getSectionRecursive(e,this.schema);if(t)return We(t)},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var n=e.shift();if(t.properties&&(t.properties[n],1))return this.getSectionRecursive(e,t.properties[n]);if(t.patternProperties)for(var i=0,o=Object.keys(t.patternProperties);i<o.length;i++){var r=o[i];if(new RegExp(r).test(n))return this.getSectionRecursive(e,t.patternProperties[r])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(n.match("[0-9]+"))if(Array.isArray(t.items)){var s=parseInt(n,10);if(!isNaN(s)&&t.items[s])return this.getSectionRecursive(e,t.items[s])}else if(t.items)return this.getSectionRecursive(e,t.items)}},e}(),st=(function(){function e(e,t,n){this.contextService=t,this.requestService=e,this.promiseConstructor=n||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations=[],this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={}}e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){var n=Xe.parse(t).scheme;return"schemaservice"!==n&&(!e||e(n))}))},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){for(var t=this,n=!1,i=[e=at(e)],o=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));i.length;)for(var r=i.pop(),s=0;s<o.length;s++){var a=o[s];a&&(a.url===r||a.dependencies[r])&&(a.url!==r&&i.push(a.url),a.clearSchema(),o[s]=void 0,n=!0)}return n},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var n in t){var i=at(n);this.contributionSchemas[i]=this.addSchemaHandle(i,t[n])}}if(Array.isArray(e.schemaAssociations))for(var o=0,r=e.schemaAssociations;o<r.length;o++){var s=r[o],a=s.uris.map(at),l=this.addFilePatternAssociation(s.pattern,a);this.contributionAssociations.push(l)}},e.prototype.addSchemaHandle=function(e,t){var n=new it(this,e,t);return this.schemasById[e]=n,n},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.addFilePatternAssociation=function(e,t){var n=new nt(e,t);return this.filePatternAssociations.push(n),n},e.prototype.registerExternalSchema=function(e,t,n){var i=at(e);return this.registeredSchemasIds[i]=!0,this.cachedSchemaForResource=void 0,t&&this.addFilePatternAssociation(t,[e]),n?this.addSchemaHandle(i,n):this.getOrAddSchemaHandle(i)},e.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.registeredSchemasIds={},this.cachedSchemaForResource=void 0,this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t=0,n=this.contributionAssociations;t<n.length;t++){var i=n[t];this.filePatternAssociations.push(i)}},e.prototype.getResolvedSchema=function(e){var t=at(e),n=this.schemasById[t];return n?n.getResolvedSchema():this.promise.resolve(void 0)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=tt("vs/language/json/_deps/vscode-json-languageservice/services/jsonSchemaService","json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",lt(e));return this.promise.resolve(new ot({},[t]))}return this.requestService(e).then((function(t){if(!t){var n=tt("vs/language/json/_deps/vscode-json-languageservice/services/jsonSchemaService","json.schema.nocontent","Unable to load schema from '{0}': No content.",lt(e));return new ot({},[n])}var i,o=[];i=P.Qc(t,o);var r=o.length?[tt("vs/language/json/_deps/vscode-json-languageservice/services/jsonSchemaService","json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",lt(e),o[0].offset)]:[];return new ot(i,r)}),(function(t){var n=t.toString(),i=t.toString().split("Error: ");return i.length>1&&(n=i[1]),Ye(n,".")&&(n=n.substr(0,n.length-1)),new ot({},[tt("vs/language/json/_deps/vscode-json-languageservice/services/jsonSchemaService","json.schema.nocontent","Unable to load schema from '{0}': {1}.",lt(e),n)])}))},e.prototype.resolveSchemaContent=function(e,t,n){var i=this,o=e.errors.slice(0),r=e.schema;if(r.$schema){var s=at(r.$schema);if("http://json-schema.org/draft-03/schema"===s)return this.promise.resolve(new rt({},[tt("vs/language/json/_deps/vscode-json-languageservice/services/jsonSchemaService","json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===s&&o.push(tt("vs/language/json/_deps/vscode-json-languageservice/services/jsonSchemaService","json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var a=this.contextService,l=function(e,t,n,i){var r=i?decodeURIComponent(i):void 0,s=function(e,t){if(!t)return e;var n=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some((function(e){return!(n=n[e])})),n}(t,r);if(s)for(var a in s)s.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=s[a]);else o.push(tt("vs/language/json/_deps/vscode-json-languageservice/services/jsonSchemaService","json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",r,n))},c=function(e,t,n,r,s){a&&!/^\w+:\/\/.*/.test(t)&&(t=a.resolveRelativePath(t,r)),t=at(t);var c=i.getOrAddSchemaHandle(t);return c.getUnresolvedSchema().then((function(i){if(s[t]=!0,i.errors.length){var r=n?t+"#"+n:t;o.push(tt("vs/language/json/_deps/vscode-json-languageservice/services/jsonSchemaService","json.schema.problemloadingref","Problems loading reference '{0}': {1}",r,i.errors[0]))}return l(e,i.schema,t,n),d(e,i.schema,t,c.dependencies)}))},d=function(e,t,n,o){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var r=[e],s=[],a=[],d=function(e){for(var i=[];e.$ref;){var s=e.$ref,d=s.split("#",2);if(delete e.$ref,d[0].length>0)return void a.push(c(e,d[0],d[1],n,o));-1===i.indexOf(s)&&(l(e,t,n,d[1]),i.push(s))}!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];"object"==typeof o&&r.push(o)}}(e.items,e.additionalItems,e.additionalProperties,e.not,e.contains,e.propertyNames,e.if,e.then,e.else),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];if("object"==typeof o)for(var s in o){var a=o[s];"object"==typeof a&&r.push(a)}}}(e.definitions,e.properties,e.patternProperties,e.dependencies),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,i=e;n<i.length;n++){var o=i[n];if(Array.isArray(o))for(var s=0,a=o;s<a.length;s++){var l=a[s];"object"==typeof l&&r.push(l)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};r.length;){var h=r.pop();s.indexOf(h)>=0||(s.push(h),d(h))}return i.promise.all(a)};return d(r,r,t,n).then((function(e){return new rt(r,o)}))},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var n=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type}));if(n.length>0){var i=n[0].valueNode;if(i&&"string"===i.type){var o=je(i);if(o&&function(e,t){if(e.length<".".length)return!1;for(var n=0;n<".".length;n++)if(e[n]!=="."[n])return!1;return!0}(o)&&this.contextService&&(o=this.contextService.resolveRelativePath(o,e)),o){var r=at(o);return this.getOrAddSchemaHandle(r).getResolvedSchema()}}}}if(this.cachedSchemaForResource&&this.cachedSchemaForResource.resource===e)return this.cachedSchemaForResource.resolvedSchema;for(var s=Object.create(null),a=[],l=function(e){try{return Xe.parse(e).with({fragment:null,query:null}).toString()}catch(t){return e}}(e),c=0,d=this.filePatternAssociations;c<d.length;c++){var h=d[c];if(h.matchesPattern(l))for(var u=0,p=h.getURIs();u<p.length;u++){var g=p[u];s[g]||(a.push(g),s[g]=!0)}}var m=a.length>0?this.createCombinedSchema(e,a).getResolvedSchema():this.promise.resolve(void 0);return this.cachedSchemaForResource={resource:e,resolvedSchema:m},m},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var n="schemaservice://combinedSchema/"+encodeURIComponent(e),i={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(n,i)},e.prototype.getMatchingSchemas=function(e,t,n){if(n){var i=n.id||"schemaservice://untitled/matchingSchemas/"+st++;return this.resolveSchemaContent(new ot(n),i,{}).then((function(e){return t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted}))}))}return this.getSchemaForResource(e.uri,t).then((function(e){return e?t.getMatchingSchemas(e.schema).filter((function(e){return!e.inverted})):[]}))}}(),0);function at(e){try{return Xe.parse(e).toString()}catch(t){return e}}function lt(e){try{var t=Xe.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}var ct=Oe.loadMessageBundle(),dt=(function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}e.prototype.configure=function(e){e&&(this.validationEnabled=!1!==e.validate,this.commentSeverity=e.allowComments?void 0:m.Error)},e.prototype.doValidation=function(e,t,n,i){var o=this;if(!this.validationEnabled)return this.promise.resolve([]);var r=[],a={},l=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;a[t]||(a[t]=!0,r.push(e))},c=function(i){var a=n?pt(n.trailingCommas):m.Error,c=n?pt(n.comments):o.commentSeverity,d=(null==n?void 0:n.schemaValidation)?pt(n.schemaValidation):m.Warning,h=(null==n?void 0:n.schemaRequest)?pt(n.schemaRequest):m.Warning;if(i){if(i.errors.length&&t.root&&h){var u=t.root,p="object"===u.type?u.properties[0]:void 0;if(p&&"$schema"===p.keyNode.value){var g=p.valueNode||p,f=s.create(e.positionAt(g.offset),e.positionAt(g.offset+g.length));l(v.create(f,i.errors[0],h,Se.SchemaResolveError))}else f=s.create(e.positionAt(u.offset),e.positionAt(u.offset+1)),l(v.create(f,i.errors[0],h,Se.SchemaResolveError))}else if(d){var b=t.validate(e,i.schema,d);b&&b.forEach(l)}ht(i.schema)&&(c=void 0),ut(i.schema)&&(a=void 0)}for(var _=0,w=t.syntaxErrors;_<w.length;_++){var y=w[_];if(y.code===Se.TrailingComma){if("number"!=typeof a)continue;y.severity=a}l(y)}if("number"==typeof c){var A=ct("vs/language/json/_deps/vscode-json-languageservice/services/jsonValidation","InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){l(v.create(e,A,c,Se.CommentNotPermitted))}))}return r};if(i){var d=i.id||"schemaservice://untitled/"+dt++;return this.jsonSchemaService.resolveSchemaContent(new ot(i),d,{}).then((function(e){return c(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return c(e)}))}}(),0);function ht(e){if(e&&"object"==typeof e){if(W(e.allowComments))return e.allowComments;if(e.allOf)for(var t=0,n=e.allOf;t<n.length;t++){var i=ht(n[t]);if(W(i))return i}}}function ut(e){if(e&&"object"==typeof e){if(W(e.allowTrailingCommas))return e.allowTrailingCommas;var t=e;if(W(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(e.allOf)for(var n=0,i=e.allOf;n<i.length;n++){var o=ut(i[n]);if(W(o))return o}}}function pt(e){switch(e){case"error":return m.Error;case"warning":return m.Warning;case"ignore":return}}function gt(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function mt(e){if("#"===e[0])switch(e.length){case 4:return{red:17*gt(e.charCodeAt(1))/255,green:17*gt(e.charCodeAt(2))/255,blue:17*gt(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*gt(e.charCodeAt(1))/255,green:17*gt(e.charCodeAt(2))/255,blue:17*gt(e.charCodeAt(3))/255,alpha:17*gt(e.charCodeAt(4))/255};case 7:return{red:(16*gt(e.charCodeAt(1))+gt(e.charCodeAt(2)))/255,green:(16*gt(e.charCodeAt(3))+gt(e.charCodeAt(4)))/255,blue:(16*gt(e.charCodeAt(5))+gt(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*gt(e.charCodeAt(1))+gt(e.charCodeAt(2)))/255,green:(16*gt(e.charCodeAt(3))+gt(e.charCodeAt(4)))/255,blue:(16*gt(e.charCodeAt(5))+gt(e.charCodeAt(6)))/255,alpha:(16*gt(e.charCodeAt(7))+gt(e.charCodeAt(8)))/255}}}function ft(e,t){return s.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}!function(){function e(e){this.schemaService=e}e.prototype.findDocumentSymbols=function(e,t,n){var i=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var o=t.root;if(!o)return[];var r=n.resultLimit||Number.MAX_VALUE,s=e.uri;if(("vscode://defaultsettings/keybindings.json"===s||Ye(s.toLowerCase(),"/user/keybindings.json"))&&"array"===o.type){for(var l=[],c=0,d=o.items;c<d.length;c++){var h=d[c];if("object"===h.type)for(var u=0,p=h.properties;u<p.length;u++){var g=p[u];if("key"===g.keyNode.value&&g.valueNode){var m=a.create(e.uri,ft(e,h));if(l.push({name:je(g.valueNode),kind:se.Function,location:m}),--r<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),l}}}return l}for(var f=[{node:o,containerName:""}],b=0,v=!1,_=[],w=function(t,n){"array"===t.type?t.items.forEach((function(e){e&&f.push({node:e,containerName:n})})):"object"===t.type&&t.properties.forEach((function(t){var o=t.valueNode;if(o)if(r>0){r--;var s=a.create(e.uri,ft(e,t)),l=n?n+"."+t.keyNode.value:t.keyNode.value;_.push({name:i.getKeyLabel(t),kind:i.getSymbolKind(o.type),location:s,containerName:n}),f.push({node:o,containerName:l})}else v=!0}))};b<f.length;){var y=f[b++];w(y.node,y.containerName)}return v&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),_},e.prototype.findDocumentSymbols2=function(e,t,n){var i=this;void 0===n&&(n={resultLimit:Number.MAX_VALUE});var o=t.root;if(!o)return[];var r=n.resultLimit||Number.MAX_VALUE,s=e.uri;if(("vscode://defaultsettings/keybindings.json"===s||Ye(s.toLowerCase(),"/user/keybindings.json"))&&"array"===o.type){for(var a=[],l=0,c=o.items;l<c.length;l++){var d=c[l];if("object"===d.type)for(var h=0,u=d.properties;h<u.length;h++){var p=u[h];if("key"===p.keyNode.value&&p.valueNode){var g=ft(e,d),m=ft(e,p.keyNode);if(a.push({name:je(p.valueNode),kind:se.Function,range:g,selectionRange:m}),--r<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),a}}}return a}for(var f=[],b=[{node:o,result:f}],v=0,_=!1,w=function(t,n){"array"===t.type?t.items.forEach((function(t,o){if(t)if(r>0){r--;var s=ft(e,t),a=s,l={name:String(o),kind:i.getSymbolKind(t.type),range:s,selectionRange:a,children:[]};n.push(l),b.push({result:l.children,node:t})}else _=!0})):"object"===t.type&&t.properties.forEach((function(t){var o=t.valueNode;if(o)if(r>0){r--;var s=ft(e,t),a=ft(e,t.keyNode),l=[],c={name:i.getKeyLabel(t),kind:i.getSymbolKind(o.type),range:s,selectionRange:a,children:l,detail:i.getDetail(o)};n.push(c),b.push({result:l,node:o})}else _=!0}))};v<b.length;){var y=b[v++];w(y.node,y.result)}return _&&n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(s),f},e.prototype.getSymbolKind=function(e){switch(e){case"object":return se.Module;case"string":return se.String;case"number":return se.Number;case"array":return se.Array;case"boolean":return se.Boolean;default:return se.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"↵")),t&&t.trim()?t:'"'+t+'"'},e.prototype.getDetail=function(e){if(e)return"boolean"===e.type||"number"===e.type||"null"===e.type||"string"===e.type?String(e.value):"array"===e.type?e.children.length?void 0:"[]":"object"===e.type?e.children.length?void 0:"{}":void 0},e.prototype.findDocumentColors=function(e,t,n){return this.schemaService.getSchemaForResource(e.uri,t).then((function(i){var o=[];if(i)for(var r=n&&"number"==typeof n.resultLimit?n.resultLimit:Number.MAX_VALUE,s={},a=0,l=t.getMatchingSchemas(i.schema);a<l.length;a++){var c=l[a];if(!c.inverted&&c.schema&&("color"===c.schema.format||"color-hex"===c.schema.format)&&c.node&&"string"===c.node.type){var d=String(c.node.offset);if(!s[d]){var h=mt(je(c.node));if(h){var u=ft(e,c.node);o.push({color:h,range:u})}if(s[d]=!0,--r<=0)return n&&n.onResultLimitExceeded&&n.onResultLimitExceeded(e.uri),o}}}return o}))},e.prototype.getColorPresentations=function(e,t,n,i){var o,r=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);function c(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return o=1===n.alpha?"#"+c(s)+c(a)+c(l):"#"+c(s)+c(a)+c(l)+c(Math.round(255*n.alpha)),r.push({label:o,textEdit:w.replace(i,JSON.stringify(o))}),r}}();var bt=Oe.loadMessageBundle(),vt={schemaAssociations:[],schemas:{"http://json-schema.org/schema#":{$ref:"http://json-schema.org/draft-07/schema#"},"http://json-schema.org/draft-04/schema#":{title:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},_t={id:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.id","A unique identifier for the schema."),$schema:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.$schema","The schema to verify this document against."),title:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.title","A descriptive title of the element."),description:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.default","A default value. Used by suggestions."),multipleOf:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.maxLength","The maximum length of a string."),minLength:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.minLength","The minimum length of a string."),pattern:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.properties","A map of property names to schemas for each property."),patternProperties:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.enum","The set of literal values that are valid."),type:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.format","Describes the format expected for the value."),allOf:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.allOf","An array of schemas, all of which must match."),anyOf:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.oneOf","An array of schemas, exactly one of which must match."),not:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.not","A schema which must not match."),$id:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.$id","A unique identifier for the schema."),$ref:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.$ref","Reference a definition hosted on any location."),$comment:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.contentEncoding","Describes the content encoding of a string property."),if:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:bt("vs/language/json/_deps/vscode-json-languageservice/services/configuration","schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var wt in vt.schemas){var yt=vt.schemas[wt];for(var At in yt.properties){var Ct=yt.properties[At];"boolean"==typeof Ct&&(Ct=yt.properties[At]={});var St=_t[At];St?Ct.description=St:console.log(At+": localize('vs/language/json/_deps/vscode-json-languageservice/services/configuration', 'schema.json."+At+'\', "")')}}var xt=function(){function e(e,t,n){var i=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var o=function(e){var t,n=e.getModeId();n===i._languageId&&(i._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return i._doValidate(e.uri,n)}),500)})),i._doValidate(e.uri,n))},r=function(e){O.editor.setModelMarkers(e,i._languageId,[]);var t=e.uri.toString(),n=i._listener[t];n&&(n.dispose(),delete i._listener[t])};this._disposables.push(O.editor.onDidCreateModel(o)),this._disposables.push(O.editor.onWillDisposeModel((function(e){r(e),i._resetSchema(e.uri)}))),this._disposables.push(O.editor.onDidChangeModelLanguage((function(e){r(e.model),o(e.model),i._resetSchema(e.model.uri)}))),this._disposables.push(n.onDidChange((function(e){O.editor.getModels().forEach((function(e){e.getModeId()===i._languageId&&(r(e),o(e))}))}))),this._disposables.push({dispose:function(){for(var e in O.editor.getModels().forEach(r),i._listener)i._listener[e].dispose()}}),O.editor.getModels().forEach(o)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._resetSchema=function(e){this._worker().then((function(t){t.resetSchema(e.toString())}))},e.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){var i=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:Et(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n})),o=O.editor.getModel(e);o&&o.getModeId()===t&&O.editor.setModelMarkers(o,t,i)}))})).then(void 0,(function(e){console.error(e)}))},e}();function Et(e){switch(e){case m.Error:return O.MarkerSeverity.Error;case m.Warning:return O.MarkerSeverity.Warning;case m.Information:return O.MarkerSeverity.Info;case m.Hint:return O.MarkerSeverity.Hint;default:return O.MarkerSeverity.Info}}function kt(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function Tt(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function It(e){if(e)return new O.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function Dt(e){var t=O.languages.CompletionItemKind;switch(e){case G.Text:return t.Text;case G.Method:return t.Method;case G.Function:return t.Function;case G.Constructor:return t.Constructor;case G.Field:return t.Field;case G.Variable:return t.Variable;case G.Class:return t.Class;case G.Interface:return t.Interface;case G.Module:return t.Module;case G.Property:return t.Property;case G.Unit:return t.Unit;case G.Value:return t.Value;case G.Enum:return t.Enum;case G.Keyword:return t.Keyword;case G.Snippet:return t.Snippet;case G.Color:return t.Color;case G.File:return t.File;case G.Reference:return t.Reference}return t.Property}function Lt(e){if(e)return{range:It(e.range),text:e.newText}}var Rt=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!1,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,i){var o=e.uri;return this._worker(o).then((function(e){return e.doComplete(o.toString(),kt(t))})).then((function(n){if(n){var i=e.getWordUntilPosition(t),o=new O.Range(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn),r=n.items.map((function(e){var t,n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:o,kind:Dt(e.kind)};return e.textEdit&&(void 0===(t=e.textEdit).insert||void 0===t.replace?n.range=It(e.textEdit.range):n.range={insert:It(e.textEdit.insert),replace:It(e.textEdit.replace)},n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(Lt)),e.insertTextFormat===Q.Snippet&&(n.insertTextRules=O.languages.CompletionItemInsertTextRule.InsertAsSnippet),n}));return{isIncomplete:n.isIncomplete,suggestions:r}}}))},e}();function Nt(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function Mt(e){if(e)return Array.isArray(e)?e.map(Nt):[Nt(e)]}var Ot=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),kt(t))})).then((function(e){if(e)return{range:It(e.range),contents:Mt(e.contents)}}))},e}();function Pt(e){var t=O.languages.SymbolKind;switch(e){case se.File:return t.Array;case se.Module:return t.Module;case se.Namespace:return t.Namespace;case se.Package:return t.Package;case se.Class:return t.Class;case se.Method:return t.Method;case se.Property:return t.Property;case se.Field:return t.Field;case se.Constructor:return t.Constructor;case se.Enum:return t.Enum;case se.Interface:return t.Interface;case se.Function:return t.Function;case se.Variable:return t.Variable;case se.Constant:return t.Constant;case se.String:return t.String;case se.Number:return t.Number;case se.Boolean:return t.Boolean;case se.Array:return t.Array}return t.Function}var Ft=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:Pt(e.kind),range:It(e.location.range),selectionRange:It(e.location.range),tags:[]}}))}))},e}();function zt(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var Bt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),null,zt(t)).then((function(e){if(e&&0!==e.length)return e.map(Lt)}))}))},e}(),Wt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){var o=e.uri;return this._worker(o).then((function(e){return e.format(o.toString(),Tt(t),zt(n)).then((function(e){if(e&&0!==e.length)return e.map(Lt)}))}))},e}(),Ut=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentColors(n.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:It(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getColorPresentations(i.toString(),t.color,Tt(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=Lt(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(Lt)),t}))}))},e}(),Ht=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getFoldingRanges(i.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case u.Comment:return O.languages.FoldingRangeKind.Comment;case u.Imports:return O.languages.FoldingRangeKind.Imports;case u.Region:return O.languages.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}(),Vt=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(kt))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:It(e.range)}),e=e.parent;return t}))}))},e}()},38214:function(e,t,n){"use strict";n.r(t),n.d(t,{createTokenizationSupport:function(){return o},TOKEN_DELIM_OBJECT:function(){return r},TOKEN_DELIM_ARRAY:function(){return s},TOKEN_DELIM_COLON:function(){return a},TOKEN_DELIM_COMMA:function(){return l},TOKEN_VALUE_BOOLEAN:function(){return c},TOKEN_VALUE_NULL:function(){return d},TOKEN_VALUE_STRING:function(){return h},TOKEN_VALUE_NUMBER:function(){return u},TOKEN_PROPERTY_NAME:function(){return p},TOKEN_COMMENT_BLOCK:function(){return g},TOKEN_COMMENT_LINE:function(){return m}});var i=n(738);function o(e){return{getInitialState:function(){return new b(null,null,!1,null)},tokenize:function(t,n,o,v){return function(e,t,n,o,v){void 0===o&&(o=0);var _=0,w=!1;switch(n.scanError){case 2:t='"'+t,_=1;break;case 1:t="/*"+t,_=2}for(var y=i.tU(t),A=n.lastWasColon,C=n.parents,S={tokens:[],endState:n.clone()};;){var x=o+y.getPosition(),E="",k=y.scan();if(17===k)break;if(x===o+y.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+t.substr(y.getPosition(),3));switch(w&&(x-=_),w=_>0,k){case 1:C=f.push(C,0),E=r,A=!1;break;case 2:C=f.pop(C),E=r,A=!1;break;case 3:C=f.push(C,1),E=s,A=!1;break;case 4:C=f.pop(C),E=s,A=!1;break;case 6:E=a,A=!0;break;case 5:E=l,A=!1;break;case 8:case 9:E=c,A=!1;break;case 7:E=d,A=!1;break;case 10:var T=C?C.type:0;E=A||1===T?h:p,A=!1;break;case 11:E=u,A=!1}if(e)switch(k){case 12:E=m;break;case 13:E=g}S.endState=new b(n.getStateData(),y.getTokenError(),A,C),S.tokens.push({startIndex:x,scopes:E})}return S}(e,t,n,o)}}}var r="delimiter.bracket.json",s="delimiter.array.json",a="delimiter.colon.json",l="delimiter.comma.json",c="keyword.json",d="keyword.json",h="string.value.json",u="number.json",p="string.key.json",g="comment.block.json",m="comment.line.json",f=function(){function e(e,t){this.parent=e,this.type=t}return e.pop=function(e){return e?e.parent:null},e.push=function(t,n){return new e(t,n)},e.equals=function(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;for(;e&&t;){if(e===t)return!0;if(e.type!==t.type)return!1;e=e.parent,t=t.parent}return!0},e}(),b=function(){function e(e,t,n,i){this._state=e,this.scanError=t,this.lastWasColon=n,this.parents=i}return e.prototype.clone=function(){return new e(this._state,this.scanError,this.lastWasColon,this.parents)},e.prototype.equals=function(t){return t===this||!!(t&&t instanceof e)&&this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon&&f.equals(this.parents,t.parents)},e.prototype.getStateData=function(){return this._state},e.prototype.setStateData=function(e){this._state=e},e}()},57886:function(e,t,n){"use strict";n.r(t),n.d(t,{WorkerManager:function(){return o}});var i=n(72877),o=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&Date.now()-this._lastUsedTime>12e4&&this._stopWorker()},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=i.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}()},7946:function(e,t,n){"use strict";n.r(t),n.d(t,{CancellationTokenSource:function(){return i.AU},Emitter:function(){return i.Q5},KeyCode:function(){return i.VD},KeyMod:function(){return i.DC},MarkerSeverity:function(){return i.ZL},MarkerTag:function(){return i.eB},Position:function(){return i.Ly},Range:function(){return i.e6},Selection:function(){return i.Y1},SelectionDirection:function(){return i.a$},Token:function(){return i.WU},Uri:function(){return i.Sf},editor:function(){return i.j6},languages:function(){return i.Mj}});var i=n(57768)},57142:function(e,t,n){"use strict";n.r(t),n.d(t,{Adapter:function(){return p},CodeActionAdaptor:function(){return I},DefinitionAdapter:function(){return y},DiagnosticsAdapter:function(){return m},FormatAdapter:function(){return k},FormatHelper:function(){return E},FormatOnTypeAdapter:function(){return T},Kind:function(){return S},LibFiles:function(){return g},OccurrencesAdapter:function(){return w},OutlineAdapter:function(){return C},QuickInfoAdapter:function(){return _},ReferenceAdapter:function(){return A},RenameAdapter:function(){return D},SignatureHelpAdapter:function(){return v},SuggestAdapter:function(){return f},flattenDiagnosticMessageText:function(){return d}});var i,o,r={"lib.d.ts":!0,"lib.dom.d.ts":!0,"lib.dom.iterable.d.ts":!0,"lib.es2015.collection.d.ts":!0,"lib.es2015.core.d.ts":!0,"lib.es2015.d.ts":!0,"lib.es2015.generator.d.ts":!0,"lib.es2015.iterable.d.ts":!0,"lib.es2015.promise.d.ts":!0,"lib.es2015.proxy.d.ts":!0,"lib.es2015.reflect.d.ts":!0,"lib.es2015.symbol.d.ts":!0,"lib.es2015.symbol.wellknown.d.ts":!0,"lib.es2016.array.include.d.ts":!0,"lib.es2016.d.ts":!0,"lib.es2016.full.d.ts":!0,"lib.es2017.d.ts":!0,"lib.es2017.full.d.ts":!0,"lib.es2017.intl.d.ts":!0,"lib.es2017.object.d.ts":!0,"lib.es2017.sharedmemory.d.ts":!0,"lib.es2017.string.d.ts":!0,"lib.es2017.typedarrays.d.ts":!0,"lib.es2018.asyncgenerator.d.ts":!0,"lib.es2018.asynciterable.d.ts":!0,"lib.es2018.d.ts":!0,"lib.es2018.full.d.ts":!0,"lib.es2018.intl.d.ts":!0,"lib.es2018.promise.d.ts":!0,"lib.es2018.regexp.d.ts":!0,"lib.es2019.array.d.ts":!0,"lib.es2019.d.ts":!0,"lib.es2019.full.d.ts":!0,"lib.es2019.object.d.ts":!0,"lib.es2019.string.d.ts":!0,"lib.es2019.symbol.d.ts":!0,"lib.es2020.bigint.d.ts":!0,"lib.es2020.d.ts":!0,"lib.es2020.full.d.ts":!0,"lib.es2020.intl.d.ts":!0,"lib.es2020.promise.d.ts":!0,"lib.es2020.sharedmemory.d.ts":!0,"lib.es2020.string.d.ts":!0,"lib.es2020.symbol.wellknown.d.ts":!0,"lib.es5.d.ts":!0,"lib.es6.d.ts":!0,"lib.esnext.d.ts":!0,"lib.esnext.full.d.ts":!0,"lib.esnext.intl.d.ts":!0,"lib.esnext.promise.d.ts":!0,"lib.esnext.string.d.ts":!0,"lib.esnext.weakref.d.ts":!0,"lib.scripthost.d.ts":!0,"lib.webworker.d.ts":!0,"lib.webworker.importscripts.d.ts":!0,"lib.webworker.iterable.d.ts":!0},s=n(7946),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},c=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}};function d(e,t,n){if(void 0===n&&(n=0),"string"==typeof e)return e;if(void 0===e)return"";var i="";if(n){i+=t;for(var o=0;o<n;o++)i+=" "}if(i+=e.messageText,n++,e.next)for(var r=0,s=e.next;r<s.length;r++)i+=d(s[r],t,n);return i}function h(e){return e?e.map((function(e){return e.text})).join(""):""}!function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(o||(o={}));var u,p=function(){function e(e){this._worker=e}return e.prototype._textSpanToRange=function(e,t){var n=e.getPositionAt(t.start),i=e.getPositionAt(t.start+t.length);return{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}},e}(),g=function(){function e(e){this._worker=e,this._libFiles={},this._hasFetchedLibFiles=!1,this._fetchLibFilesPromise=null}return e.prototype.isLibFile=function(e){return!!e&&0===e.path.indexOf("/lib.")&&!!r[e.path.slice(1)]},e.prototype.getOrCreateModel=function(e){return s.editor.getModel(e)||(this.isLibFile(e)&&this._hasFetchedLibFiles?s.editor.createModel(this._libFiles[e.path.slice(1)],"typescript",e):null)},e.prototype._containsLibFile=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];if(this.isLibFile(i))return!0}return!1},e.prototype.fetchLibFilesIfNecessary=function(e){return l(this,void 0,void 0,(function(){return c(this,(function(t){switch(t.label){case 0:return this._containsLibFile(e)?[4,this._fetchLibFiles()]:[2];case 1:return t.sent(),[2]}}))}))},e.prototype._fetchLibFiles=function(){var e=this;return this._fetchLibFilesPromise||(this._fetchLibFilesPromise=this._worker().then((function(e){return e.getLibFiles()})).then((function(t){e._hasFetchedLibFiles=!0,e._libFiles=t}))),this._fetchLibFilesPromise},e}();!function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(u||(u={}));var m=function(e){function t(t,n,i,o){var r=e.call(this,o)||this;r._libFiles=t,r._defaults=n,r._selector=i,r._disposables=[],r._listener=Object.create(null);var a=function(e){if(e.getModeId()===i){var t,n=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return r._doValidate(e)}),500)}));r._listener[e.uri.toString()]={dispose:function(){n.dispose(),clearTimeout(t)}},r._doValidate(e)}},l=function(e){s.editor.setModelMarkers(e,r._selector,[]);var t=e.uri.toString();r._listener[t]&&(r._listener[t].dispose(),delete r._listener[t])};r._disposables.push(s.editor.onDidCreateModel(a)),r._disposables.push(s.editor.onWillDisposeModel(l)),r._disposables.push(s.editor.onDidChangeModelLanguage((function(e){l(e.model),a(e.model)}))),r._disposables.push({dispose:function(){for(var e=0,t=s.editor.getModels();e<t.length;e++){var n=t[e];l(n)}}});var c=function(){for(var e=0,t=s.editor.getModels();e<t.length;e++){var n=t[e];l(n),a(n)}};return r._disposables.push(r._defaults.onDidChange(c)),r._disposables.push(r._defaults.onDidExtraLibsChange(c)),s.editor.getModels().forEach(a),r}return a(t,e),t.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},t.prototype._doValidate=function(e){return l(this,void 0,void 0,(function(){var t,n,i,o,r,a,l,d,h,u=this;return c(this,(function(c){switch(c.label){case 0:return[4,this._worker(e.uri)];case 1:return t=c.sent(),e.isDisposed()?[2]:(n=[],i=this._defaults.getDiagnosticsOptions(),o=i.noSyntaxValidation,r=i.noSemanticValidation,a=i.noSuggestionDiagnostics,o||n.push(t.getSyntacticDiagnostics(e.uri.toString())),r||n.push(t.getSemanticDiagnostics(e.uri.toString())),a||n.push(t.getSuggestionDiagnostics(e.uri.toString())),[4,Promise.all(n)]);case 2:return!(l=c.sent())||e.isDisposed()?[2]:(d=l.reduce((function(e,t){return t.concat(e)}),[]).filter((function(e){return-1===(u._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)})),h=d.map((function(e){return e.relatedInformation||[]})).reduce((function(e,t){return t.concat(e)}),[]).map((function(e){return e.file?s.Uri.parse(e.file.fileName):null})),[4,this._libFiles.fetchLibFilesIfNecessary(h)]);case 3:return c.sent(),e.isDisposed()||s.editor.setModelMarkers(e,this._selector,d.map((function(t){return u._convertDiagnostics(e,t)}))),[2]}}))}))},t.prototype._convertDiagnostics=function(e,t){var n=t.start||0,i=t.length||1,o=e.getPositionAt(n),r=o.lineNumber,a=o.column,l=e.getPositionAt(n+i),c=l.lineNumber,h=l.column,u=[];return t.reportsUnnecessary&&u.push(s.MarkerTag.Unnecessary),t.reportsDeprecated&&u.push(s.MarkerTag.Deprecated),{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:r,startColumn:a,endLineNumber:c,endColumn:h,message:d(t.messageText,"\n"),code:t.code.toString(),tags:u,relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}},t.prototype._convertRelatedInformation=function(e,t){var n=this;if(t){var i=[];return t.forEach((function(t){var o=e;if(t.file){var r=s.Uri.parse(t.file.fileName);o=n._libFiles.getOrCreateModel(r)}if(o){var a=t.start||0,l=t.length||1,c=o.getPositionAt(a),h=c.lineNumber,u=c.column,p=o.getPositionAt(a+l),g=p.lineNumber,m=p.column;i.push({resource:o.uri,startLineNumber:h,startColumn:u,endLineNumber:g,endColumn:m,message:d(t.messageText,"\n")})}})),i}},t.prototype._tsDiagnosticCategoryToMarkerSeverity=function(e){switch(e){case u.Error:return s.MarkerSeverity.Error;case u.Message:return s.MarkerSeverity.Info;case u.Warning:return s.MarkerSeverity.Warning;case u.Suggestion:return s.MarkerSeverity.Hint}return s.MarkerSeverity.Info},t}(p),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"triggerCharacters",{get:function(){return["."]},enumerable:!1,configurable:!0}),t.prototype.provideCompletionItems=function(e,n,i,o){return l(this,void 0,void 0,(function(){var i,o,r,a,l;return c(this,(function(c){switch(c.label){case 0:return i=e.getWordUntilPosition(n),o=new s.Range(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn),r=e.uri,a=e.getOffsetAt(n),[4,this._worker(r)];case 1:return[4,c.sent().getCompletionsAtPosition(r.toString(),a)];case 2:return!(l=c.sent())||e.isDisposed()?[2]:[2,{suggestions:l.entries.map((function(i){var l,c=o;if(i.replacementSpan){var d=e.getPositionAt(i.replacementSpan.start),h=e.getPositionAt(i.replacementSpan.start+i.replacementSpan.length);c=new s.Range(d.lineNumber,d.column,h.lineNumber,h.column)}var u=[];return-1!==(null===(l=i.kindModifiers)||void 0===l?void 0:l.indexOf("deprecated"))&&u.push(s.languages.CompletionItemTag.Deprecated),{uri:r,position:n,offset:a,range:c,label:i.name,insertText:i.name,sortText:i.sortText,kind:t.convertKind(i.kind),tags:u}}))}]}}))}))},t.prototype.resolveCompletionItem=function(e,n){return l(this,void 0,void 0,(function(){var n,i,o,r,s;return c(this,(function(a){switch(a.label){case 0:return i=(n=e).uri,o=n.position,r=n.offset,[4,this._worker(i)];case 1:return[4,a.sent().getCompletionEntryDetails(i.toString(),r,n.label)];case 2:return(s=a.sent())?[2,{uri:i,position:o,label:s.name,kind:t.convertKind(s.kind),detail:h(s.displayParts),documentation:{value:t.createDocumentationString(s)}}]:[2,n]}}))}))},t.convertKind=function(e){switch(e){case S.primitiveType:case S.keyword:return s.languages.CompletionItemKind.Keyword;case S.variable:case S.localVariable:return s.languages.CompletionItemKind.Variable;case S.memberVariable:case S.memberGetAccessor:case S.memberSetAccessor:return s.languages.CompletionItemKind.Field;case S.function:case S.memberFunction:case S.constructSignature:case S.callSignature:case S.indexSignature:return s.languages.CompletionItemKind.Function;case S.enum:return s.languages.CompletionItemKind.Enum;case S.module:return s.languages.CompletionItemKind.Module;case S.class:return s.languages.CompletionItemKind.Class;case S.interface:return s.languages.CompletionItemKind.Interface;case S.warning:return s.languages.CompletionItemKind.File}return s.languages.CompletionItemKind.Property},t.createDocumentationString=function(e){var t=h(e.documentation);if(e.tags)for(var n=0,i=e.tags;n<i.length;n++)t+="\n\n"+b(i[n]);return t},t}(p);function b(e){var t="*@"+e.name+"*";if("param"===e.name&&e.text){var n=e.text.split(" "),i=n[0],o=n.slice(1);t+="`"+i+"`",o.length>0&&(t+=" — "+o.join(" "))}else e.text&&(t+=" — "+e.text);return t}var v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.signatureHelpTriggerCharacters=["(",","],t}return a(t,e),t._toSignatureHelpTriggerReason=function(e){switch(e.triggerKind){case s.languages.SignatureHelpTriggerKind.TriggerCharacter:return e.triggerCharacter?e.isRetrigger?{kind:"retrigger",triggerCharacter:e.triggerCharacter}:{kind:"characterTyped",triggerCharacter:e.triggerCharacter}:{kind:"invoked"};case s.languages.SignatureHelpTriggerKind.ContentChange:return e.isRetrigger?{kind:"retrigger"}:{kind:"invoked"};case s.languages.SignatureHelpTriggerKind.Invoke:default:return{kind:"invoked"}}},t.prototype.provideSignatureHelp=function(e,n,i,o){return l(this,void 0,void 0,(function(){var i,r,s,a;return c(this,(function(l){switch(l.label){case 0:return i=e.uri,r=e.getOffsetAt(n),[4,this._worker(i)];case 1:return[4,l.sent().getSignatureHelpItems(i.toString(),r,{triggerReason:t._toSignatureHelpTriggerReason(o)})];case 2:return!(s=l.sent())||e.isDisposed()?[2]:(a={activeSignature:s.selectedItemIndex,activeParameter:s.argumentIndex,signatures:[]},s.items.forEach((function(e){var t={label:"",parameters:[]};t.documentation={value:h(e.documentation)},t.label+=h(e.prefixDisplayParts),e.parameters.forEach((function(n,i,o){var r=h(n.displayParts),s={label:r,documentation:{value:h(n.documentation)}};t.label+=r,t.parameters.push(s),i<o.length-1&&(t.label+=h(e.separatorDisplayParts))})),t.label+=h(e.suffixDisplayParts),a.signatures.push(t)})),[2,{value:a,dispose:function(){}}])}}))}))},t}(p),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.provideHover=function(e,t,n){return l(this,void 0,void 0,(function(){var n,i,o,r,s,a;return c(this,(function(l){switch(l.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,l.sent().getQuickInfoAtPosition(n.toString(),i)];case 2:return!(o=l.sent())||e.isDisposed()?[2]:(r=h(o.documentation),s=o.tags?o.tags.map((function(e){return b(e)})).join(" \n\n"):"",a=h(o.displayParts),[2,{range:this._textSpanToRange(e,o.textSpan),contents:[{value:"```typescript\n"+a+"\n```\n"},{value:r+(s?"\n\n"+s:"")}]}])}}))}))},t}(p),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.provideDocumentHighlights=function(e,t,n){return l(this,void 0,void 0,(function(){var n,i,o,r=this;return c(this,(function(a){switch(a.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,a.sent().getOccurrencesAtPosition(n.toString(),i)];case 2:return!(o=a.sent())||e.isDisposed()?[2]:[2,o.map((function(t){return{range:r._textSpanToRange(e,t.textSpan),kind:t.isWriteAccess?s.languages.DocumentHighlightKind.Write:s.languages.DocumentHighlightKind.Text}}))]}}))}))},t}(p),y=function(e){function t(t,n){var i=e.call(this,n)||this;return i._libFiles=t,i}return a(t,e),t.prototype.provideDefinition=function(e,t,n){return l(this,void 0,void 0,(function(){var n,i,o,r,a,l,d,h,u;return c(this,(function(c){switch(c.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,c.sent().getDefinitionAtPosition(n.toString(),i)];case 2:return!(o=c.sent())||e.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(o.map((function(e){return s.Uri.parse(e.fileName)})))];case 3:if(c.sent(),e.isDisposed())return[2];for(r=[],a=0,l=o;a<l.length;a++)d=l[a],h=s.Uri.parse(d.fileName),(u=this._libFiles.getOrCreateModel(h))&&r.push({uri:h,range:this._textSpanToRange(u,d.textSpan)});return[2,r]}}))}))},t}(p),A=function(e){function t(t,n){var i=e.call(this,n)||this;return i._libFiles=t,i}return a(t,e),t.prototype.provideReferences=function(e,t,n,i){return l(this,void 0,void 0,(function(){var n,i,o,r,a,l,d,h,u;return c(this,(function(c){switch(c.label){case 0:return n=e.uri,i=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,c.sent().getReferencesAtPosition(n.toString(),i)];case 2:return!(o=c.sent())||e.isDisposed()?[2]:[4,this._libFiles.fetchLibFilesIfNecessary(o.map((function(e){return s.Uri.parse(e.fileName)})))];case 3:if(c.sent(),e.isDisposed())return[2];for(r=[],a=0,l=o;a<l.length;a++)d=l[a],h=s.Uri.parse(d.fileName),(u=this._libFiles.getOrCreateModel(h))&&r.push({uri:h,range:this._textSpanToRange(u,d.textSpan)});return[2,r]}}))}))},t}(p),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.provideDocumentSymbols=function(e,t){return l(this,void 0,void 0,(function(){var t,n,i,o,r=this;return c(this,(function(a){switch(a.label){case 0:return t=e.uri,[4,this._worker(t)];case 1:return[4,a.sent().getNavigationBarItems(t.toString())];case 2:return!(n=a.sent())||e.isDisposed()?[2]:(i=function(t,n,o){var a={name:n.text,detail:"",kind:x[n.kind]||s.languages.SymbolKind.Variable,range:r._textSpanToRange(e,n.spans[0]),selectionRange:r._textSpanToRange(e,n.spans[0]),tags:[],containerName:o};if(n.childItems&&n.childItems.length>0)for(var l=0,c=n.childItems;l<c.length;l++){var d=c[l];i(t,d,a.name)}t.push(a)},o=[],n.forEach((function(e){return i(o,e)})),[2,o])}}))}))},t}(p),S=function(){function e(){}return e.unknown="",e.keyword="keyword",e.script="script",e.module="module",e.class="class",e.interface="interface",e.type="type",e.enum="enum",e.variable="var",e.localVariable="local var",e.function="function",e.localFunction="local function",e.memberFunction="method",e.memberGetAccessor="getter",e.memberSetAccessor="setter",e.memberVariable="property",e.constructorImplementation="constructor",e.callSignature="call",e.indexSignature="index",e.constructSignature="construct",e.parameter="parameter",e.typeParameter="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.const="const",e.let="let",e.warning="warning",e}(),x=Object.create(null);x[S.module]=s.languages.SymbolKind.Module,x[S.class]=s.languages.SymbolKind.Class,x[S.enum]=s.languages.SymbolKind.Enum,x[S.interface]=s.languages.SymbolKind.Interface,x[S.memberFunction]=s.languages.SymbolKind.Method,x[S.memberVariable]=s.languages.SymbolKind.Property,x[S.memberGetAccessor]=s.languages.SymbolKind.Property,x[S.memberSetAccessor]=s.languages.SymbolKind.Property,x[S.variable]=s.languages.SymbolKind.Variable,x[S.const]=s.languages.SymbolKind.Variable,x[S.localVariable]=s.languages.SymbolKind.Variable,x[S.variable]=s.languages.SymbolKind.Variable,x[S.function]=s.languages.SymbolKind.Function,x[S.localFunction]=s.languages.SymbolKind.Function;var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t._convertOptions=function(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:o.Smart,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}},t.prototype._convertTextChanges=function(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}},t}(p),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){return l(this,void 0,void 0,(function(){var i,o,r,s,a,l=this;return c(this,(function(c){switch(c.label){case 0:return i=e.uri,o=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),r=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),[4,this._worker(i)];case 1:return s=c.sent(),e.isDisposed()?[2]:[4,s.getFormattingEditsForRange(i.toString(),o,r,E._convertOptions(n))];case 2:return!(a=c.sent())||e.isDisposed()?[2]:[2,a.map((function(t){return l._convertTextChanges(e,t)}))]}}))}))},t}(E),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),Object.defineProperty(t.prototype,"autoFormatTriggerCharacters",{get:function(){return[";","}","\n"]},enumerable:!1,configurable:!0}),t.prototype.provideOnTypeFormattingEdits=function(e,t,n,i,o){return l(this,void 0,void 0,(function(){var o,r,s,a=this;return c(this,(function(l){switch(l.label){case 0:return o=e.uri,r=e.getOffsetAt(t),[4,this._worker(o)];case 1:return[4,l.sent().getFormattingEditsAfterKeystroke(o.toString(),r,n,E._convertOptions(i))];case 2:return!(s=l.sent())||e.isDisposed()?[2]:[2,s.map((function(t){return a._convertTextChanges(e,t)}))]}}))}))},t}(E),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.provideCodeActions=function(e,t,n,i){return l(this,void 0,void 0,(function(){var i,o,r,s,a,l,d=this;return c(this,(function(c){switch(c.label){case 0:return i=e.uri,o=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),r=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),s=E._convertOptions(e.getOptions()),a=n.markers.filter((function(e){return e.code})).map((function(e){return e.code})).map(Number),[4,this._worker(i)];case 1:return[4,c.sent().getCodeFixesAtPosition(i.toString(),o,r,a,s)];case 2:return!(l=c.sent())||e.isDisposed()?[2,{actions:[],dispose:function(){}}]:[2,{actions:l.filter((function(e){return 0===e.changes.filter((function(e){return e.isNewFile})).length})).map((function(t){return d._tsCodeFixActionToMonacoCodeAction(e,n,t)})),dispose:function(){}}]}}))}))},t.prototype._tsCodeFixActionToMonacoCodeAction=function(e,t,n){for(var i=[],o=0,r=n.changes;o<r.length;o++)for(var s=0,a=r[o].textChanges;s<a.length;s++){var l=a[s];i.push({resource:e.uri,edit:{range:this._textSpanToRange(e,l.span),text:l.newText}})}return{title:n.description,edit:{edits:i},diagnostics:t.markers,kind:"quickfix"}},t}(E),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.provideRenameEdits=function(e,t,n,i){return l(this,void 0,void 0,(function(){var i,o,r,a,l,d,h,u,p,g,m,f;return c(this,(function(c){switch(c.label){case 0:return i=e.uri,o=i.toString(),r=e.getOffsetAt(t),[4,this._worker(i)];case 1:return[4,(a=c.sent()).getRenameInfo(o,r,{allowRenameOfImportPath:!1})];case 2:if(!1===(l=c.sent()).canRename)return[2,{edits:[],rejectReason:l.localizedErrorMessage}];if(void 0!==l.fileToRename)throw new Error("Renaming files is not supported.");return[4,a.findRenameLocations(o,r,!1,!1,!1)];case 3:if(!(d=c.sent())||e.isDisposed())return[2];for(h=[],u=0,p=d;u<p.length;u++){if(g=p[u],m=s.Uri.parse(g.fileName),!(f=s.editor.getModel(m)))throw new Error("Unknown URI "+m+".");h.push({resource:m,edit:{range:this._textSpanToRange(f,g.textSpan),text:n}})}return[2,{edits:h}]}}))}))},t}(p)},1259:function(e,t,n){"use strict";n.r(t),n.d(t,{setupTypeScript:function(){return l},setupJavaScript:function(){return c},getJavaScriptWorker:function(){return d},getTypeScriptWorker:function(){return h}});var i,o,r=n(50258),s=n(57142),a=n(7946);function l(e){o=u(e,"typescript")}function c(e){i=u(e,"javascript")}function d(){return new Promise((function(e,t){if(!i)return t("JavaScript not registered!");e(i)}))}function h(){return new Promise((function(e,t){if(!o)return t("TypeScript not registered!");e(o)}))}function u(e,t){var n=new r.WorkerManager(t,e),i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.getLanguageServiceWorker.apply(n,e)},o=new s.LibFiles(i);return a.languages.registerCompletionItemProvider(t,new s.SuggestAdapter(i)),a.languages.registerSignatureHelpProvider(t,new s.SignatureHelpAdapter(i)),a.languages.registerHoverProvider(t,new s.QuickInfoAdapter(i)),a.languages.registerDocumentHighlightProvider(t,new s.OccurrencesAdapter(i)),a.languages.registerDefinitionProvider(t,new s.DefinitionAdapter(o,i)),a.languages.registerReferenceProvider(t,new s.ReferenceAdapter(o,i)),a.languages.registerDocumentSymbolProvider(t,new s.OutlineAdapter(i)),a.languages.registerDocumentRangeFormattingEditProvider(t,new s.FormatAdapter(i)),a.languages.registerOnTypeFormattingEditProvider(t,new s.FormatOnTypeAdapter(i)),a.languages.registerCodeActionProvider(t,new s.CodeActionAdaptor(i)),a.languages.registerRenameProvider(t,new s.RenameAdapter(i)),new s.DiagnosticsAdapter(o,e,t,i),i}},50258:function(e,t,n){"use strict";n.r(t),n.d(t,{WorkerManager:function(){return o}});var i=n(7946),o=function(){function e(e,t){var n=this;this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange((function(){return n._stopWorker()})),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange((function(){return n._updateExtraLibs()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()},e.prototype._updateExtraLibs=function(){return e=this,t=void 0,i=function(){var e,t;return function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break}o[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(e){r=[6,e],i=0}finally{n=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,a])}}}(this,(function(n){switch(n.label){case 0:return this._worker?(e=++this._updateExtraLibsToken,[4,this._worker.getProxy()]):[2];case 1:return t=n.sent(),this._updateExtraLibsToken!==e||t.updateExtraLibs(this._defaults.getExtraLibs()),[2]}}))},new((n=void 0)||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}));var e,t,n,i},e.prototype._getClient=function(){var e=this;if(!this._client){this._worker=i.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs(),customWorkerPath:this._defaults.workerOptions.customWorkerPath}});var t=this._worker.getProxy();this._defaults.getEagerModelSync()&&(t=t.then((function(t){return e._worker?e._worker.withSyncedResources(i.editor.getModels().filter((function(t){return t.getModeId()===e._modeId})).map((function(e){return e.uri}))):t}))),this._client=t}return this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){if(t._worker)return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}()},27348:function(e,t,n){"use strict";n.r(t),n.d(t,{IAccessibilityService:function(){return r},CONTEXT_ACCESSIBILITY_MODE_ENABLED:function(){return s}});var i=n(68465),o=n(65410);const r=(0,i.createDecorator)("accessibilityService"),s=new o.RawContextKey("accessibilityModeEnabled",!1)},44619:function(e,t,n){"use strict";n.r(t),n.d(t,{AccessibilityService:function(){return c}});var i=n(68921),o=n(27348),r=n(63801),s=n(65410),a=n(16445),l=function(e,t){return function(n,i){t(n,i,e)}};let c=class extends i.Disposable{constructor(e,t){super(),this._contextKeyService=e,this._configurationService=t,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new r.Emitter,this._accessibilityModeEnabledContext=o.CONTEXT_ACCESSIBILITY_MODE_ENABLED.bindTo(this._contextKeyService);const n=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(n(),this._onDidChangeScreenReaderOptimized.fire())}))),n(),this.onDidChangeScreenReaderOptimized((()=>n()))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}getAccessibilitySupport(){return this._accessibilitySupport}};c=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([l(0,s.IContextKeyService),l(1,a.IConfigurationService)],c)},92704:function(e,t,n){"use strict";n.r(t),n.d(t,{isIMenuItem:function(){return g},MenuId:function(){return m},IMenuService:function(){return f},MenuRegistry:function(){return b},SubmenuItemAction:function(){return v},MenuItemAction:function(){return _}});var i=n(60969),o=n(68465),r=n(65410),s=n(10086),a=n(68921),l=n(63801),c=n(84535),d=n(24417),h=n(22446),u=n(56087),p=function(e,t){return function(n,i){t(n,i,e)}};function g(e){return void 0!==e.command}class m{constructor(e){this.id=m._idPool++,this._debugName=e}}m._idPool=0,m.CommandPalette=new m("CommandPalette"),m.EditorContext=new m("EditorContext"),m.EditorContextPeek=new m("EditorContextPeek"),m.MenubarEditMenu=new m("MenubarEditMenu"),m.MenubarGoMenu=new m("MenubarGoMenu"),m.MenubarSelectionMenu=new m("MenubarSelectionMenu");const f=(0,o.createDecorator)("menuService"),b=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Emitter,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:e=>e===m.CommandPalette}}addCommand(e){return this.addCommands(d.Iterable.single(e))}addCommands(e){for(const t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,a.toDisposable)((()=>{let t=!1;for(const n of e)t=this._commands.delete(n.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)}))}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach(((t,n)=>e.set(n,t))),e}appendMenuItem(e,t){return this.appendMenuItems(d.Iterable.single({id:e,item:t}))}appendMenuItems(e){const t=new Set,n=new h.LinkedList;for(const{id:i,item:o}of e){let e=this._menuItems.get(i);e||(e=new h.LinkedList,this._menuItems.set(i,e)),n.push(e.push(o)),t.add(i)}return this._onDidChangeMenu.fire(t),(0,a.toDisposable)((()=>{if(n.size>0){for(let e of n)e();this._onDidChangeMenu.fire(t),n.clear()}}))}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===m.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){const t=new Set;for(const n of e)g(n)&&(t.add(n.command.id),n.alt&&t.add(n.alt.id));this._commands.forEach(((n,i)=>{t.has(i)||e.push({command:n})}))}};class v extends i.SubmenuAction{constructor(e,t,n,o){const r=[],s=t.createMenu(e.submenu,n),a=s.getActions(o);s.dispose();for(let e of a){const[,t]=e;t.length>0&&(r.push(...t),r.push(new i.Separator))}r.length&&r.pop(),super(`submenuitem.${e.submenu.id}`,"string"==typeof e.title?e.title:e.title.value,r,"submenu"),this.item=e}}let _=class e{constructor(t,n,i,o,r){var s;if(this._commandService=r,this.id=t.id,this.label="string"==typeof t.title?t.title:t.title.value,this.tooltip=null!==(s=t.tooltip)&&void 0!==s?s:"",this.enabled=!t.precondition||o.contextMatchesRules(t.precondition),this.checked=!1,t.toggled){const e=t.toggled.condition?t.toggled:{condition:t.toggled};this.checked=o.contextMatchesRules(e.condition),this.checked&&e.tooltip&&(this.tooltip="string"==typeof e.tooltip?e.tooltip:e.tooltip.value)}this.item=t,this.alt=n?new e(n,void 0,i,o,r):void 0,this._options=i,c.ThemeIcon.isThemeIcon(t.icon)&&(this.class=u.CSSIcon.asClassName(t.icon))}dispose(){}run(...e){var t,n;let i=[];return(null===(t=this._options)||void 0===t?void 0:t.arg)&&(i=[...i,this._options.arg]),(null===(n=this._options)||void 0===n?void 0:n.shouldForwardArgs)&&(i=[...i,...e]),this._commandService.executeCommand(this.id,...i)}};_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([p(3,r.IContextKeyService),p(4,s.ICommandService)],_)},55541:function(e,t,n){"use strict";n.r(t),n.d(t,{MenuService:function(){return h}});var i=n(66129),o=n(63801),r=n(68921),s=n(92704),a=n(10086),l=n(65410),c=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},d=function(e,t){return function(n,i){t(n,i,e)}};let h=class{constructor(e){this._commandService=e}createMenu(e,t){return new u(e,this._commandService,t,this)}};h=c([d(0,a.ICommandService)],h);let u=class e{constructor(e,t,n,a){this._id=e,this._commandService=t,this._contextKeyService=n,this._menuService=a,this._dispoables=new r.DisposableStore,this._onDidChange=new o.Emitter,this.onDidChange=this._onDidChange.event,this._menuGroups=[],this._contextKeys=new Set,this._build();const l=new i.RunOnceScheduler((()=>this._build()),50);this._dispoables.add(l),this._dispoables.add(s.MenuRegistry.onDidChangeMenu((t=>{t.has(e)&&l.schedule()})));const c=new i.RunOnceScheduler((()=>this._onDidChange.fire(this)),50);this._dispoables.add(c),this._dispoables.add(n.onDidChangeContext((e=>{e.affectsSome(this._contextKeys)&&c.schedule()})))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=s.MenuRegistry.getMenuItems(this._id);let n;t.sort(e._compareMenuItems);for(let i of t){const t=i.group||"";if(n&&n[0]===t||(n=[t,[]],this._menuGroups.push(n)),n[1].push(i),e._fillInKbExprKeys(i.when,this._contextKeys),(0,s.isIMenuItem)(i)&&(i.command.precondition&&e._fillInKbExprKeys(i.command.precondition,this._contextKeys),i.command.toggled)){const t=i.command.toggled.condition||i.command.toggled;e._fillInKbExprKeys(t,this._contextKeys)}}this._onDidChange.fire(this)}getActions(e){const t=[];for(let n of this._menuGroups){const[i,o]=n,r=[];for(const t of o)if(this._contextKeyService.contextMatchesRules(t.when)){const n=(0,s.isIMenuItem)(t)?new s.MenuItemAction(t.command,t.alt,e,this._contextKeyService,this._commandService):new s.SubmenuItemAction(t,this._menuService,this._contextKeyService,e);r.push(n)}r.length>0&&t.push([i,r])}return t}static _fillInKbExprKeys(e,t){if(e)for(let n of e.keys())t.add(n)}static _compareMenuItems(t,n){let i=t.group,o=n.group;if(i!==o){if(!i)return 1;if(!o)return-1;if("navigation"===i)return-1;if("navigation"===o)return 1;let e=i.localeCompare(o);if(0!==e)return e}let r=t.order||0,a=n.order||0;return r<a?-1:r>a?1:e._compareTitles((0,s.isIMenuItem)(t)?t.command.title:t.title,(0,s.isIMenuItem)(n)?n.command.title:n.title)}static _compareTitles(e,t){const n="string"==typeof e?e:e.original,i="string"==typeof t?t:t.original;return n.localeCompare(i)}};u=c([d(1,a.ICommandService),d(2,l.IContextKeyService),d(3,s.IMenuService)],u)},21797:function(e,t,n){"use strict";n.r(t),n.d(t,{BrowserClipboardService:function(){return r}});var i=n(96747),o=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class r{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(e,t){return o(this,void 0,void 0,(function*(){if(t)return void this.mapTextToType.set(t,e);try{return yield navigator.clipboard.writeText(e)}catch(e){console.error(e)}const n=document.activeElement,o=document.body.appendChild((0,i.$)("textarea",{"aria-hidden":!0}));o.style.height="1px",o.style.width="1px",o.style.position="absolute",o.value=e,o.focus(),o.select(),document.execCommand("copy"),n instanceof HTMLElement&&n.focus(),document.body.removeChild(o)}))}readText(e){return o(this,void 0,void 0,(function*(){if(e)return this.mapTextToType.get(e)||"";try{return yield navigator.clipboard.readText()}catch(e){return console.error(e),""}}))}readFindText(){return o(this,void 0,void 0,(function*(){return this.findText}))}writeFindText(e){return o(this,void 0,void 0,(function*(){this.findText=e}))}}},58965:function(e,t,n){"use strict";n.r(t),n.d(t,{IClipboardService:function(){return i}});const i=(0,n(68465).createDecorator)("clipboardService")},10086:function(e,t,n){"use strict";n.r(t),n.d(t,{ICommandService:function(){return c},CommandsRegistry:function(){return d}});var i=n(68921),o=n(18912),r=n(68465),s=n(63801),a=n(22446),l=n(24417);const c=(0,r.createDecorator)("commandService"),d=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new s.Emitter,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw new Error("invalid command");if("string"==typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){const t=[];for(let n of e.description.args)t.push(n.constraint);const n=e.handler;e.handler=function(e,...i){return(0,o.validateConstraints)(i,t),n(e,...i)}}const{id:n}=e;let r=this._commands.get(n);r||(r=new a.LinkedList,this._commands.set(n,r));let s=r.unshift(e),l=(0,i.toDisposable)((()=>{s();const e=this._commands.get(n);(null==e?void 0:e.isEmpty())&&this._commands.delete(n)}));return this._onDidRegisterCommand.fire(n),l}registerCommandAlias(e,t){return d.registerCommand(e,((e,...n)=>e.get(c).executeCommand(t,...n)))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return l.Iterable.first(t)}getCommands(){const e=new Map;for(const t of this._commands.keys()){const n=this.getCommand(t);n&&e.set(t,n)}return e}}},16445:function(e,t,n){"use strict";n.r(t),n.d(t,{IConfigurationService:function(){return s},toValuesTree:function(){return a},addToValueTree:function(){return l},removeFromValueTree:function(){return c},getConfigurationValue:function(){return h},getConfigurationKeys:function(){return u},getDefaultValues:function(){return p}});var i=n(11484),o=n(68465),r=n(79558);const s=(0,o.createDecorator)("configurationService");function a(e,t){const n=Object.create(null);for(let i in e)l(n,i,e[i],t);return n}function l(e,t,n,i){const o=t.split("."),r=o.pop();let s=e;for(let e=0;e<o.length;e++){let n=o[e],r=s[n];switch(typeof r){case"undefined":r=s[n]=Object.create(null);break;case"object":break;default:return void i(`Ignoring ${t} as ${o.slice(0,e+1).join(".")} is ${JSON.stringify(r)}`)}s=r}if("object"==typeof s&&null!==s)try{s[r]=n}catch(e){i(`Ignoring ${t} as ${o.join(".")} is ${JSON.stringify(s)}`)}else i(`Ignoring ${t} as ${o.join(".")} is ${JSON.stringify(s)}`)}function c(e,t){d(e,t.split("."))}function d(e,t){const n=t.shift();if(0!==t.length){if(-1!==Object.keys(e).indexOf(n)){const i=e[n];"object"!=typeof i||Array.isArray(i)||(d(i,t),0===Object.keys(i).length&&delete e[n])}}else delete e[n]}function h(e,t,n){const i=function(e,t){let n=e;for(const e of t){if("object"!=typeof n||null===n)return;n=n[e]}return n}(e,t.split("."));return void 0===i?n:i}function u(){const e=i.Registry.as(r.Extensions.Configuration).getConfigurationProperties();return Object.keys(e)}function p(){const e=Object.create(null),t=i.Registry.as(r.Extensions.Configuration).getConfigurationProperties();for(let n in t)l(e,n,t[n].default,(e=>console.error(`Conflict in default settings: ${e}`)));return e}},40122:function(e,t,n){"use strict";n.r(t),n.d(t,{ConfigurationModel:function(){return d},DefaultConfigurationModel:function(){return h},Configuration:function(){return u},ConfigurationChangeEvent:function(){return p}});var i=n(13833),o=n(64998),r=n(18912),s=n(91057),a=n(19300),l=n(79558),c=n(16445);class d{constructor(e={},t=[],n=[]){this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?(0,c.getConfigurationValue)(this.contents,e):this.contents}override(e){const t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;let n={};for(const e of o.distinct([...Object.keys(this.contents),...Object.keys(t)])){let i=this.contents[e],o=t[e];o&&("object"==typeof i&&"object"==typeof o?(i=s.deepClone(i),this.mergeContents(i,o)):i=o),n[e]=i}return new d(n,this.keys,this.overrides)}merge(...e){const t=s.deepClone(this.contents),n=s.deepClone(this.overrides),i=[...this.keys];for(const r of e){this.mergeContents(t,r.contents);for(const e of r.overrides){const[t]=n.filter((t=>o.equals(t.identifiers,e.identifiers)));t?this.mergeContents(t.contents,e.contents):n.push(s.deepClone(e))}for(const e of r.keys)-1===i.indexOf(e)&&i.push(e)}return new d(t,i,n)}freeze(){return this.isFrozen=!0,this}mergeContents(e,t){for(const n of Object.keys(t))n in e&&r.isObject(e[n])&&r.isObject(t[n])?this.mergeContents(e[n],t[n]):e[n]=s.deepClone(t[n])}checkAndFreeze(e){return this.isFrozen&&!Object.isFrozen(e)?s.deepFreeze(e):e}getContentsForOverrideIdentifer(e){for(const t of this.overrides)if(-1!==t.identifiers.indexOf(e))return t.contents;return null}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(e,t){this.addKey(e),(0,c.addToValueTree)(this.contents,e,t,(e=>{throw new Error(e)}))}removeValue(e){this.removeKey(e)&&(0,c.removeFromValueTree)(this.contents,e)}addKey(e){let t=this.keys.length;for(let n=0;n<t;n++)0===e.indexOf(this.keys[n])&&(t=n);this.keys.splice(t,1,e)}removeKey(e){let t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)}}class h extends d{constructor(){const e=(0,c.getDefaultValues)(),t=(0,c.getConfigurationKeys)(),n=[];for(const t of Object.keys(e))l.OVERRIDE_PROPERTY_PATTERN.test(t)&&n.push({identifiers:[(0,l.overrideIdentifierFromKey)(t).trim()],keys:Object.keys(e[t]),contents:(0,c.toValuesTree)(e[t],(e=>console.error(`Conflict in default settings file: ${e}`)))});super(e,t,n)}}class u{constructor(e,t,n=new d,o=new d,r=new i.ResourceMap,s=new d,a=new i.ResourceMap,l=!0){this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=o,this._folderConfigurations=r,this._memoryConfiguration=s,this._memoryConfigurationByResource=a,this._freeze=l,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new i.ResourceMap,this._userConfiguration=null}getValue(e,t,n){return this.getConsolidateConfigurationModel(t,n).getValue(e)}updateValue(e,t,n={}){let i;n.resource?(i=this._memoryConfigurationByResource.get(n.resource),i||(i=new d,this._memoryConfigurationByResource.set(n.resource,i))):i=this._memoryConfiguration,void 0===t?i.removeValue(e):i.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}getConsolidateConfigurationModel(e,t){let n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n}getConsolidatedConfigurationModelForResource({resource:e},t){let n=this.getWorkspaceConsolidatedConfiguration();if(t&&e){const i=t.getFolder(e);i&&(n=this.getFolderConsolidatedConfiguration(i.uri)||n);const o=this._memoryConfigurationByResource.get(e);o&&(n=n.merge(o))}return n}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const n=this.getWorkspaceConsolidatedConfiguration(),i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce(((e,t)=>{const{contents:n,overrides:i,keys:o}=this._folderConfigurations.get(t);return e.push([t,{contents:n,overrides:i,keys:o}]),e}),[])}}static parse(e){const t=this.parseConfigurationModel(e.defaults),n=this.parseConfigurationModel(e.user),o=this.parseConfigurationModel(e.workspace),r=e.folders.reduce(((e,t)=>(e.set(a.URI.revive(t[0]),this.parseConfigurationModel(t[1])),e)),new i.ResourceMap);return new u(t,n,new d,o,r,new d,new i.ResourceMap,!1)}static parseConfigurationModel(e){return new d(e.contents,e.keys,e.overrides).freeze()}}class p{constructor(e,t,n,i){this.change=e,this.previous=t,this.currentConfiguraiton=n,this.currentWorkspace=i,this._previousConfiguration=void 0;const o=new Set;e.keys.forEach((e=>o.add(e))),e.overrides.forEach((([,e])=>e.forEach((e=>o.add(e))))),this.affectedKeys=[...o.values()];const r=new d;this.affectedKeys.forEach((e=>r.setValue(e,{}))),this.affectedKeysTree=r.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=u.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var n;if(this.doesAffectedKeysTreeContains(this.affectedKeysTree,e)){if(t){const i=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null===(n=this.previous)||void 0===n?void 0:n.workspace):void 0,o=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!s.equals(i,o)}return!0}return!1}doesAffectedKeysTreeContains(e,t){let n,i=(0,c.toValuesTree)({[t]:!0},(()=>{}));for(;"object"==typeof i&&(n=Object.keys(i)[0]);){if(!(e=e[n]))return!1;i=i[n]}return!0}}},79558:function(e,t,n){"use strict";n.r(t),n.d(t,{Extensions:function(){return l},allSettings:function(){return c},applicationSettings:function(){return d},machineSettings:function(){return h},machineOverridableSettings:function(){return u},windowSettings:function(){return p},resourceSettings:function(){return g},resourceLanguageSettingsSchemaId:function(){return m},OVERRIDE_PROPERTY_PATTERN:function(){return b},overrideIdentifierFromKey:function(){return v},getDefaultValue:function(){return _},validateProperty:function(){return y}});var i=n(89982),o=n(63801),r=n(11484),s=n(18912),a=n(96309);const l={Configuration:"base.contributions.configuration"},c={properties:{},patternProperties:{}},d={properties:{},patternProperties:{}},h={properties:{},patternProperties:{}},u={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},g={properties:{},patternProperties:{}},m="vscode://schemas/settings/resourceLanguage",f=r.Registry.as(a.Extensions.JSONContribution),b=new RegExp("\\[.*\\]$");function v(e){return e.substring(1,e.length-1)}function _(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}const w=new class{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new o.Emitter,this._onDidUpdateConfiguration=new o.Emitter,this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:i.localize("vs/platform/configuration/common/configurationRegistry","defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},f.registerSchema(m,this.resourceLanguageSettingsSchema)}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const n=[];e.forEach((e=>{n.push(...this.validateAndRegisterProperties(e,t)),this.configurationContributors.push(e),this.registerJSONConfiguration(e)})),f.registerSchema(m,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(n)}registerOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(e,t=!0,n=3){n=s.isUndefinedOrNull(e.scope)?n:e.scope;let i=[],o=e.properties;if(o)for(let e in o){if(t&&y(e)){delete o[e];continue}const r=o[e];this.updatePropertyDefaultValue(e,r),b.test(e)?r.scope=void 0:r.scope=s.isUndefinedOrNull(r.scope)?n:r.scope,!o[e].hasOwnProperty("included")||o[e].included?(this.configurationProperties[e]=o[e],!o[e].deprecationMessage&&o[e].markdownDeprecationMessage&&(o[e].deprecationMessage=o[e].markdownDeprecationMessage),i.push(e)):(this.excludedConfigurationProperties[e]=o[e],delete o[e])}let r=e.allOf;if(r)for(let e of r)i.push(...this.validateAndRegisterProperties(e,t,n));return i}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(e){const t=e=>{let n=e.properties;if(n)for(const e in n)this.updateSchema(e,n[e]);let i=e.allOf;i&&i.forEach(t)};t(e)}updateSchema(e,t){switch(c.properties[e]=t,t.scope){case 1:d.properties[e]=t;break;case 2:h.properties[e]=t;break;case 6:u.properties[e]=t;break;case 3:p.properties[e]=t;break;case 4:g.properties[e]=t;break;case 5:g.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(const e of this.overrideIdentifiers.values()){const t=`[${e}]`,n={type:"object",description:i.localize("vs/platform/configuration/common/configurationRegistry","overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:i.localize("vs/platform/configuration/common/configurationRegistry","overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:m};this.updatePropertyDefaultValue(t,n),c.properties[t]=n,d.properties[t]=n,h.properties[t]=n,u.properties[t]=n,p.properties[t]=n,g.properties[t]=n}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let n=this.defaultValues[e];s.isUndefined(n)&&(n=t.default),s.isUndefined(n)&&(n=_(t.type)),t.default=n}};function y(e){return e.trim()?b.test(e)?i.localize("vs/platform/configuration/common/configurationRegistry","config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==w.getConfigurationProperties()[e]?i.localize("vs/platform/configuration/common/configurationRegistry","config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null:i.localize("vs/platform/configuration/common/configurationRegistry","config.property.empty","Cannot register an empty property")}r.Registry.add(l.Configuration,w)},13077:function(e,t,n){"use strict";n.r(t),n.d(t,{Context:function(){return u},AbstractContextKeyService:function(){return _},ContextKeyService:function(){return w}});var i=n(63801),o=n(24417),r=n(68921),s=n(13833),a=n(10086),l=n(16445),c=n(65410),d=n(92969);const h="data-keybinding-context";class u{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}setValue(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)}removeValue(e){return e in this._value&&(delete this._value[e],!0)}getValue(e){const t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t}}class p extends u{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}p.INSTANCE=new p;class g extends u{constructor(e,t,n){super(e,null),this._configurationService=t,this._values=s.TernarySearchTree.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration((e=>{if(6===e.source){const e=Array.from(o.Iterable.map(this._values,(([e])=>e)));this._values.clear(),n.fire(new b(e))}else{const t=[];for(const n of e.affectedKeys){const e=`config.${n}`,i=this._values.findSuperstr(e);void 0!==i&&(t.push(...o.Iterable.map(i,(([e])=>e))),this._values.deleteSuperstr(e)),this._values.has(e)&&(t.push(e),this._values.delete(e))}n.fire(new b(t))}}))}dispose(){this._listener.dispose()}getValue(e){if(0!==e.indexOf(g._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);const t=e.substr(g._keyPrefix.length),n=this._configurationService.getValue(t);let i;switch(typeof n){case"number":case"boolean":case"string":i=n;break;default:i=Array.isArray(n)?JSON.stringify(n):n}return this._values.set(e,i),i}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}g._keyPrefix="config.";class m{constructor(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class f{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}}class b{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}}class v{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}}class _{constructor(e){this._onDidChangeContext=new i.PauseableEmitter({merge:e=>new v(e)}),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new m(this,e,t)}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new C(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const t=this.getContextValuesContainer(this._myContextId);return d.KeybindingResolver.contextMatchesRules(t,e)}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(this._isDisposed)return;const n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new f(e))}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new f(e))}getContext(e){return this._isDisposed?p.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute(h)){const t=e.getAttribute(h);return t?parseInt(t,10):NaN}e=e.parentElement}return 0}(e))}}let w=class extends _{constructor(e){super(0),this._contexts=new Map,this._toDispose=new r.DisposableStore,this._lastContextId=0;const t=new g(this._myContextId,e,this._onDidChangeContext);this._contexts.set(this._myContextId,t),this._toDispose.add(t)}dispose(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(e){return this._isDisposed?p.INSTANCE:this._contexts.get(e)||p.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");let t=++this._lastContextId;return this._contexts.set(t,new u(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};var y,A;w=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([(y=0,A=l.IConfigurationService,function(e,t){A(e,t,y)})],w);class C extends _{constructor(e,t){if(super(e.createChildContext()),this._parentChangeListener=new r.MutableDisposable,this._parent=e,this._updateParentChangeListener(),t){if(this._domNode=t,this._domNode.hasAttribute(h)){let e="";this._domNode.classList&&(e=Array.from(this._domNode.classList.values()).join(", ")),console.error("Element already has context attribute"+(e?": "+e:""))}this._domNode.setAttribute(h,String(this._myContextId))}}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(this._onDidChangeContext.fire,this._onDidChangeContext)}dispose(){var e;this._onDidChangeContext.dispose(),this._isDisposed=!0,this._parent.disposeContext(this._myContextId),null===(e=this._parentChangeListener)||void 0===e||e.dispose(),this._domNode&&(this._domNode.removeAttribute(h),this._domNode=void 0)}getContextValuesContainer(e){return this._isDisposed?p.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}a.CommandsRegistry.registerCommand(c.SET_CONTEXT_COMMAND_ID,(function(e,t,n){e.get(c.IContextKeyService).createKey(String(t),n)}))},65410:function(e,t,n){"use strict";n.r(t),n.d(t,{ContextKeyExpr:function(){return c},ContextKeyFalseExpr:function(){return h},ContextKeyTrueExpr:function(){return u},ContextKeyDefinedExpr:function(){return p},ContextKeyEqualsExpr:function(){return g},ContextKeyInExpr:function(){return m},ContextKeyNotInExpr:function(){return f},ContextKeyNotEqualsExpr:function(){return b},ContextKeyNotExpr:function(){return v},ContextKeyGreaterExpr:function(){return _},ContextKeyGreaterEqualsExpr:function(){return w},ContextKeySmallerExpr:function(){return y},ContextKeySmallerEqualsExpr:function(){return A},ContextKeyRegexExpr:function(){return C},ContextKeyNotRegexExpr:function(){return S},ContextKeyAndExpr:function(){return x},ContextKeyOrExpr:function(){return E},RawContextKey:function(){return k},IContextKeyService:function(){return T},SET_CONTEXT_COMMAND_ID:function(){return I}});var i=n(91482),o=n(68465),r=n(66719);let s=r.userAgent||"";const a=new Map;a.set("false",!1),a.set("true",!0),a.set("isMac",r.isMacintosh),a.set("isLinux",r.isLinux),a.set("isWindows",r.isWindows),a.set("isWeb",r.isWeb),a.set("isMacNative",r.isMacintosh&&!r.isWeb),a.set("isEdge",s.indexOf("Edg/")>=0),a.set("isFirefox",s.indexOf("Firefox")>=0),a.set("isChrome",s.indexOf("Chrome")>=0),a.set("isSafari",s.indexOf("Safari")>=0),a.set("isIPad",s.indexOf("iPad")>=0);const l=Object.prototype.hasOwnProperty;class c{static has(e){return p.create(e)}static equals(e,t){return g.create(e,t)}static regex(e,t){return C.create(e,t)}static not(e){return v.create(e)}static and(...e){return x.create(e)}static or(...e){return E.create(e)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let n=e.split("||");return E.create(n.map((e=>this._deserializeAndExpression(e,t))))}static _deserializeAndExpression(e,t){let n=e.split("&&");return x.create(n.map((e=>this._deserializeOne(e,t))))}static _deserializeOne(e,t){if((e=e.trim()).indexOf("!=")>=0){let n=e.split("!=");return b.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){let n=e.split("==");return g.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){let n=e.split("=~");return C.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}if(e.indexOf(" in ")>=0){let t=e.split(" in ");return m.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(e)){const t=e.split(">=");return w.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(e)){const t=e.split(">");return _.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(e)){const t=e.split("<=");return A.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(e)){const t=e.split("<");return y.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?v.create(e.substr(1).trim()):p.create(e)}static _deserializeValue(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;let n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e}static _deserializeRegexValue(e,t){if((0,i.isFalsyOrWhitespace)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let n=e.indexOf("/"),o=e.lastIndexOf("/");if(n===o||n<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return console.warn(`bad regexp-value '${e}', missing /-enclosure`),null}let r=e.slice(n+1,o),s="i"===e[o+1]?"i":"";try{return new RegExp(r,s)}catch(n){if(t)throw new Error(`bad regexp-value '${e}', parse error: ${n}`);return console.warn(`bad regexp-value '${e}', parse error: ${n}`),null}}}function d(e,t){return e.cmp(t)}class h{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return u.INSTANCE}}h.INSTANCE=new h;class u{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return h.INSTANCE}}u.INSTANCE=new u;class p{constructor(e){this.key=e,this.type=2}static create(e){const t=a.get(e);return"boolean"==typeof t?t?u.INSTANCE:h.INSTANCE:new p(e)}cmp(e){return e.type!==this.type?this.type-e.type:D(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return v.create(this.key)}}class g{constructor(e,t){this.key=e,this.value=t,this.type=4}static create(e,t){if("boolean"==typeof t)return t?p.create(e):v.create(e);const n=a.get(e);return"boolean"==typeof n?t===(n?"true":"false")?u.INSTANCE:h.INSTANCE:new g(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return b.create(this.key,this.value)}}class m{constructor(e,t){this.key=e,this.valueKey=t,this.type=10}static create(e,t){return new m(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}evaluate(e){const t=e.getValue(this.valueKey),n=e.getValue(this.key);return Array.isArray(t)?t.indexOf(n)>=0:"string"==typeof n&&"object"==typeof t&&null!==t&&l.call(t,n)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return f.create(this)}}class f{constructor(e){this._actual=e,this.type=11}static create(e){return new f(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class b{constructor(e,t){this.key=e,this.value=t,this.type=5}static create(e,t){if("boolean"==typeof t)return t?v.create(e):p.create(e);const n=a.get(e);return"boolean"==typeof n?t===(n?"true":"false")?h.INSTANCE:u.INSTANCE:new b(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return g.create(this.key,this.value)}}class v{constructor(e){this.key=e,this.type=3}static create(e){const t=a.get(e);return"boolean"==typeof t?t?h.INSTANCE:u.INSTANCE:new v(e)}cmp(e){return e.type!==this.type?this.type-e.type:D(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return p.create(this.key)}}class _{constructor(e,t){this.key=e,this.value=t,this.type=12}static create(e,t){return new _(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))>parseFloat(this.value)}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return A.create(this.key,this.value)}}class w{constructor(e,t){this.key=e,this.value=t,this.type=13}static create(e,t){return new w(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))>=parseFloat(this.value)}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return y.create(this.key,this.value)}}class y{constructor(e,t){this.key=e,this.value=t,this.type=14}static create(e,t){return new y(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))<parseFloat(this.value)}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return w.create(this.key,this.value)}}class A{constructor(e,t){this.key=e,this.value=t,this.type=15}static create(e,t){return new A(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:L(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))<=parseFloat(this.value)}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return _.create(this.key,this.value)}}class C{constructor(e,t){this.key=e,this.regexp=t,this.type=7}static create(e,t){return new C(e,t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.key<e.key)return-1;if(this.key>e.key)return 1;const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return this.key===e.key&&t===n}return!1}evaluate(e){let t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return S.create(this)}}class S{constructor(e){this._actual=e,this.type=8}static create(e){return new S(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class x{constructor(e){this.expr=e,this.type=6}static create(e){return x._normalizeArr(e)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=d(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0}static _normalizeArr(e){const t=[];let n=!1;for(const i of e)if(i)if(1!==i.type){if(0===i.type)return h.INSTANCE;6!==i.type?t.push(i):t.push(...i.expr)}else n=!0;if(0===t.length&&n)return u.INSTANCE;if(0!==t.length){if(1===t.length)return t[0];for(t.sort(d);t.length>1;){const e=t[t.length-1];if(9!==e.type)break;t.pop();const n=t.pop(),i=E.create(e.expr.map((e=>x.create([e,n]))));i&&(t.push(i),t.sort(d))}return 1===t.length?t[0]:new x(t)}}serialize(){return this.expr.map((e=>e.serialize())).join(" && ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let t of this.expr)e.push(t.negate());return E.create(e)}}class E{constructor(e){this.expr=e,this.type=9}static create(e){const t=E._normalizeArr(e);if(0!==t.length)return 1===t.length?t[0]:new E(t)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(let t=0,n=this.expr.length;t<n;t++){const n=d(this.expr[t],e.expr[t]);if(0!==n)return n}return 0}equals(e){if(e.type===this.type){if(this.expr.length!==e.expr.length)return!1;for(let t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1}evaluate(e){for(let t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1}static _normalizeArr(e){let t=[],n=!1;if(e){for(let i=0,o=e.length;i<o;i++){const o=e[i];if(o)if(0!==o.type){if(1===o.type)return[u.INSTANCE];9!==o.type?t.push(o):t=t.concat(o.expr)}else n=!0}if(0===t.length&&n)return[h.INSTANCE];t.sort(d)}return t}serialize(){return this.expr.map((e=>e.serialize())).join(" || ")}keys(){const e=[];for(let t of this.expr)e.push(...t.keys());return e}negate(){let e=[];for(let t of this.expr)e.push(t.negate());const t=e=>9===e.type?e.expr:[e];for(;e.length>1;){const n=e.shift(),i=e.shift(),o=[];for(const e of t(n))for(const n of t(i))o.push(c.and(e,n));e.unshift(c.or(...o))}return e[0]}}class k extends p{constructor(e,t){super(e),this._defaultValue=t}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return c.not(this.key)}isEqualTo(e){return c.equals(this.key,e)}}const T=(0,o.createDecorator)("contextKeyService"),I="setContext";function D(e,t){return e<t?-1:e>t?1:0}function L(e,t,n,i){return e<n?-1:e>n?1:t<i?-1:t>i?1:0}},70359:function(e,t,n){"use strict";n.r(t),n.d(t,{InputFocusedContextKey:function(){return i}});const i="inputFocus"},85600:function(e,t,n){"use strict";n.r(t),n.d(t,{ContextMenuHandler:function(){return p}});var i=n(93379),o=n.n(i),r=n(39759),s=(o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals,n(60969)),a=n(68921),l=n(96959),c=n(96747),d=n(53503),h=n(50465),u=n(5642);class p{constructor(e,t,n,i,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=i,this.themeService=o,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(!t.length)return;let n;this.focusToReturn=document.activeElement;let i=(0,c.isHTMLElement)(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,anchorAxisAlignment:e.anchorAxisAlignment,render:i=>{let o=e.getMenuClassName?e.getMenuClassName():"";o&&(i.className+=" "+o),this.options.blockMouse&&(this.block=i.appendChild((0,c.$)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",(0,h.domEvent)(this.block,c.EventType.MOUSE_DOWN)((e=>e.stopPropagation())));const r=new a.DisposableStore,p=e.actionRunner||new s.ActionRunner;return p.onBeforeRun(this.onActionRun,this,r),p.onDidRun(this.onDidActionRun,this,r),n=new l.Menu(i,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:p,getKeyBinding:e.getKeyBinding?e.getKeyBinding:e=>this.keybindingService.lookupKeybinding(e.id)}),r.add((0,d.attachMenuStyler)(n,this.themeService)),n.onDidCancel((()=>this.contextViewService.hideContextView(!0)),null,r),n.onDidBlur((()=>this.contextViewService.hideContextView(!0)),null,r),(0,h.domEvent)(window,c.EventType.BLUR)((()=>{this.contextViewService.hideContextView(!0)}),null,r),(0,h.domEvent)(window,c.EventType.MOUSE_DOWN)((e=>{if(e.defaultPrevented)return;let t=new u.StandardMouseEvent(e),n=t.target;if(!t.rightButton){for(;n;){if(n===i)return;n=n.parentElement}this.contextViewService.hideContextView(!0)}}),null,r),(0,a.combinedDisposable)(r,n)},focus:()=>{n&&n.focus(!!e.autoSelectFirstItem)},onHide:t=>{e.onHide&&e.onHide(!!t),this.block&&(this.block.remove(),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},i,!!i)}onActionRun(e){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(e){e.error&&this.notificationService.error(e.error)}}},60559:function(e,t,n){"use strict";n.r(t),n.d(t,{ContextMenuService:function(){return u}});var i=n(85600),o=n(11787),r=n(28428),s=n(54303),a=n(84535),l=n(9657),c=n(68921),d=n(96747),h=function(e,t){return function(n,i){t(n,i,e)}};let u=class extends c.Disposable{constructor(e,t,n,o,r){super(),this.contextMenuHandler=new i.ContextMenuHandler(n,e,t,o,r)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){this.contextMenuHandler.showContextMenu(e),d.ModifierKeyEmitter.getInstance().resetKeyStatus()}};u=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([h(0,r.ITelemetryService),h(1,s.INotificationService),h(2,o.IContextViewService),h(3,l.IKeybindingService),h(4,a.IThemeService)],u)},11787:function(e,t,n){"use strict";n.r(t),n.d(t,{IContextViewService:function(){return o},IContextMenuService:function(){return r}});var i=n(68465);const o=(0,i.createDecorator)("contextViewService"),r=(0,i.createDecorator)("contextMenuService")},94772:function(e,t,n){"use strict";n.r(t),n.d(t,{ContextViewService:function(){return s}});var i=n(96205),o=n(68921),r=n(30813);let s=class extends o.Disposable{constructor(e){super(),this.layoutService=e,this.currentViewDisposable=o.Disposable.None,this.container=e.container,this.contextView=this._register(new i.ContextView(this.container,1)),this.layout(),this._register(e.onLayout((()=>this.layout())))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,n){t?t!==this.container&&(this.container=t,this.setContainer(t,n?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(e);const i=(0,o.toDisposable)((()=>{this.currentViewDisposable===i&&this.hideContextView()}));return this.currentViewDisposable=i,i}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};var a,l;s=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([(a=0,l=r.ILayoutService,function(e,t){l(e,t,a)})],s)},65620:function(e,t,n){"use strict";n.r(t),n.d(t,{IDialogService:function(){return i}});const i=(0,n(68465).createDecorator)("dialogService")},29442:function(e,t,n){"use strict";var i;n.r(t),n.d(t,{EditorOpenContext:function(){return i}}),function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(i||(i={}))},58553:function(e,t,n){"use strict";n.r(t),n.d(t,{ExtensionIdentifier:function(){return i}});class i{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"==typeof e?e.toLowerCase():e._lower}}},51880:function(e,t,n){"use strict";n.r(t),n.d(t,{SyncDescriptor:function(){return i}});class i{constructor(e,t=[],n=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}}},2011:function(e,t,n){"use strict";n.r(t),n.d(t,{registerSingleton:function(){return r},getSingletonServiceDescriptors:function(){return s}});var i=n(51880);const o=[];function r(e,t,n){o.push([e,new i.SyncDescriptor(t,[],n)])}function s(){return o}},82304:function(e,t,n){"use strict";n.r(t),n.d(t,{Node:function(){return i},Graph:function(){return o}});class i{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class o{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(let t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing.set(this._hashFn(t),i),i.incoming.set(this._hashFn(e),n)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(let e of this._nodes.values())e.outgoing.delete(t),e.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let n=this._nodes.get(t);return n||(n=new i(e),this._nodes.set(t,n)),n}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(let[t,n]of this._nodes)e.push(`${t}, (incoming)[${[...n.incoming.keys()].join(", ")}], (outgoing)[${[...n.outgoing.keys()].join(",")}]`);return e.join("\n")}}},68465:function(e,t,n){"use strict";var i;n.r(t),n.d(t,{_util:function(){return i},IInstantiationService:function(){return o},createDecorator:function(){return s},optional:function(){return a}}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(i||(i={}));const o=s("instantiationService");function r(e,t,n,o){t[i.DI_TARGET]===t?t[i.DI_DEPENDENCIES].push({id:e,index:n,optional:o}):(t[i.DI_DEPENDENCIES]=[{id:e,index:n,optional:o}],t[i.DI_TARGET]=t)}function s(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);const t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(t,e,i,!1)};return t.toString=()=>e,i.serviceIds.set(e,t),t}function a(e){return function(t,n,i){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");r(e,t,i,!0)}}},79649:function(e,t,n){"use strict";n.r(t),n.d(t,{InstantiationService:function(){return d}});var i=n(12718),o=n(82304),r=n(51880),s=n(68465),a=n(54268),l=n(66129);class c extends Error{constructor(e){super("cyclic dependency between services"),this.message=e.toString()}}class d{constructor(e=new a.ServiceCollection,t=!1,n){this._activeInstantiations=new Set,this._services=e,this._strict=t,this._parent=n,this._services.set(s.IInstantiationService,this)}createChild(e){return new d(e,this._strict,this)}invokeFunction(e,...t){let n=h.traceInvocation(e),o=!1;try{return e({get:(e,t)=>{if(o)throw(0,i.illegalState)("service accessor is only valid during the invocation of its target method");const r=this._getOrCreateServiceInstance(e,n);if(!r&&t!==s.optional)throw new Error(`[invokeFunction] unknown service '${e}'`);return r}},...t)}finally{o=!0,n.stop()}}createInstance(e,...t){let n,i;return e instanceof r.SyncDescriptor?(n=h.traceCreation(e.ctor),i=this._createInstance(e.ctor,e.staticArguments.concat(t),n)):(n=h.traceCreation(e),i=this._createInstance(e,t,n)),n.stop(),i}_createInstance(e,t=[],n){let i=s._util.getServiceDependencies(e).sort(((e,t)=>e.index-t.index)),o=[];for(const t of i){let i=this._getOrCreateServiceInstance(t.id,n);if(!i&&this._strict&&!t.optional)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`);o.push(i)}let r=i.length>0?i[0].index:t.length;if(t.length!==r){console.warn(`[createInstance] First service dependency of ${e.name} at position ${r+1} conflicts with ${t.length} static arguments`);let n=r-t.length;t=n>0?t.concat(new Array(n)):t.slice(0,r)}return new e(...[...t,...o])}_setServiceInstance(e,t){if(this._services.get(e)instanceof r.SyncDescriptor)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}}_getServiceInstanceOrDescriptor(e){let t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){let n=this._getServiceInstanceOrDescriptor(e);return n instanceof r.SyncDescriptor?this._safeCreateAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)}_safeCreateAndCacheServiceInstance(e,t,n){if(this._activeInstantiations.has(e))throw new Error(`illegal state - RECURSIVELY instantiating service '${e}'`);this._activeInstantiations.add(e);try{return this._createAndCacheServiceInstance(e,t,n)}finally{this._activeInstantiations.delete(e)}}_createAndCacheServiceInstance(e,t,n){const i=new o.Graph((e=>e.id.toString()));let a=0;const l=[{id:e,desc:t,_trace:n}];for(;l.length;){const t=l.pop();if(i.lookupOrInsertNode(t),a++>1e3)throw new c(i);for(let n of s._util.getServiceDependencies(t.desc.ctor)){let o=this._getServiceInstanceOrDescriptor(n.id);if(o||n.optional||console.warn(`[createInstance] ${e} depends on ${n.id} which is NOT registered.`),o instanceof r.SyncDescriptor){const e={id:n.id,desc:o,_trace:t._trace.branch(n.id,!0)};i.insertEdge(t,e),l.push(e)}}}for(;;){const e=i.roots();if(0===e.length){if(!i.isEmpty())throw new c(i);break}for(const{data:t}of e){if(this._getServiceInstanceOrDescriptor(t.id)instanceof r.SyncDescriptor){const e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setServiceInstance(t.id,e)}i.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,n=[],i,o){if(this._services.get(e)instanceof r.SyncDescriptor)return this._createServiceInstance(t,n,i,o);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,i,o);throw new Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t=[],n,i){if(n){const n=new l.IdleValue((()=>this._createInstance(e,t,i)));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];let i=n.value,o=i[t];return"function"!=typeof o||(o=o.bind(i),e[t]=o),o},set:(e,t,i)=>(n.value[t]=i,!0)})}return this._createInstance(e,t,i)}}class h{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return h._None}static traceCreation(e){return h._None}branch(e,t){let n=new h(2,e.toString());return this._dep.push([e,t,n]),n}stop(){let e=Date.now()-this._start;h._totals+=e;let t=!1,n=[`${0===this.type?"CREATE":"CALL"} ${this.name}`,`${function e(n,i){let o=[],r=new Array(n+1).join("\t");for(const[s,a,l]of i._dep)if(a&&l){t=!0,o.push(`${r}CREATES -> ${s}`);let i=e(n+1,l);i&&o.push(i)}else o.push(`${r}uses -> ${s}`);return o.join("\n")}(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${h._totals.toFixed(2)}ms)`];(e>2||t)&&console.log(n.join("\n"))}}h._None=new class extends h{constructor(){super(-1,null)}stop(){}branch(){return this}},h._totals=0},54268:function(e,t,n){"use strict";n.r(t),n.d(t,{ServiceCollection:function(){return i}});class i{constructor(...e){this._entries=new Map;for(let[t,n]of e)this.set(t,n)}set(e,t){const n=this._entries.get(e);return this._entries.set(e,t),n}has(e){return this._entries.has(e)}get(e){return this._entries.get(e)}}},96309:function(e,t,n){"use strict";n.r(t),n.d(t,{Extensions:function(){return r}});var i=n(11484),o=n(63801);const r={JSONContribution:"base.contributions.json"},s=new class{constructor(){this._onDidChangeSchema=new o.Emitter,this.schemasById={}}registerSchema(e,t){var n;this.schemasById[(n=e,n.length>0&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};i.Registry.add(r.JSONContribution,s)},84680:function(e,t,n){"use strict";n.r(t),n.d(t,{AbstractKeybindingService:function(){return a}});var i=n(89982),o=n(66129),r=n(63801),s=n(68921);class a extends s.Disposable{constructor(e,t,n,i,s){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=n,this._notificationService=i,this._logService=s,this._onDidUpdateKeybindings=this._register(new r.Emitter),this._currentChord=null,this._currentChordChecker=new o.IntervalTimer,this._currentChordStatusMessage=null,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:r.Event.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info(`[KeybindingService]: ${e}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e){const t=this._getResolver().lookupPrimaryKeybinding(e);if(t)return t.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){const n=this.resolveKeyboardEvent(e);if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;const[i]=n.getDispatchParts();if(null===i)return null;const o=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(o,r,i)}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(i.localize("vs/platform/keybinding/common/abstractKeybindingService","first.chord","({0}) was pressed. Waiting for second key of chord...",t));const n=Date.now();this._currentChordChecker.cancelAndSet((()=>{this._documentHasFocus()?Date.now()-n>5e3&&this._leaveChordMode():this._leaveChordMode()}),500)}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)}_doDispatch(e,t){let n=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;const[o]=e.getDispatchParts();if(null===o)return this._log("\\ Keyboard event cannot be dispatched."),n;const r=this._contextKeyService.getContext(t),s=this._currentChord?this._currentChord.keypress:null,a=e.getLabel(),l=this._getResolver().resolve(r,s,o);return this._logService.trace("KeybindingService#dispatch",a,null==l?void 0:l.commandId),l&&l.enterChord?(n=!0,this._enterChordMode(o,a),n):(this._currentChord&&(l&&l.commandId||(this._notificationService.status(i.localize("vs/platform/keybinding/common/abstractKeybindingService","missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,a),{hideAfter:1e4}),n=!0)),this._leaveChordMode(),l&&l.commandId&&(l.bubble||(n=!0),void 0===l.commandArgs?this._commandService.executeCommand(l.commandId).then(void 0,(e=>this._notificationService.warn(e))):this._commandService.executeCommand(l.commandId,l.commandArgs).then(void 0,(e=>this._notificationService.warn(e))),this._telemetryService.publicLog2("workbenchActionExecuted",{id:l.commandId,from:"keybinding"})),n)}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)}}},6802:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseResolvedKeybinding:function(){return s}});var i=n(12718),o=n(20693),r=n(98070);class s extends r.ResolvedKeybinding{constructor(e,t){if(super(),0===t.length)throw(0,i.illegalArgument)("parts");this._os=e,this._parts=t}getLabel(){return o.UILabelProvider.toLabel(this._os,this._parts,(e=>this._getLabel(e)))}getAriaLabel(){return o.AriaLabelProvider.toLabel(this._os,this._parts,(e=>this._getAriaLabel(e)))}isChord(){return this._parts.length>1}getParts(){return this._parts.map((e=>this._getPart(e)))}_getPart(e){return new r.ResolvedKeybindingPart(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map((e=>this._getDispatchPart(e)))}}},9657:function(e,t,n){"use strict";n.r(t),n.d(t,{IKeybindingService:function(){return i}});const i=(0,n(68465).createDecorator)("keybindingService")},92969:function(e,t,n){"use strict";n.r(t),n.d(t,{KeybindingResolver:function(){return i}});class i{constructor(e,t,n){this._log=n,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(let t=0,n=e.length;t<n;t++){const n=e[t].command;n&&this._defaultBoundCommands.set(n,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=i.combine(e,t);for(let e=0,t=this._keybindings.length;e<t;e++){let t=this._keybindings[e];0!==t.keypressParts.length&&(t.when&&0===t.when.type||this._addKeyPress(t.keypressParts[0],t))}}static _isTargetedForRemoval(e,t,n,i,o){if(e.command!==i)return!1;if(t&&e.keypressParts[0]!==t)return!1;if(n&&e.keypressParts[1]!==n)return!1;if(o){if(!e.when)return!1;if(!o.equals(e.when))return!1}return!0}static combine(e,t){e=e.slice(0);let n=[];for(const i of t){if(!i.command||0===i.command.length||"-"!==i.command.charAt(0)){n.push(i);continue}const t=i.command.substr(1),o=i.keypressParts[0],r=i.keypressParts[1],s=i.when;for(let n=e.length-1;n>=0;n--)this._isTargetedForRemoval(e[n],o,r,t,s)&&e.splice(n,1)}return e.concat(n)}_addKeyPress(e,t){const n=this._map.get(e);if(void 0===n)return this._map.set(e,[t]),void this._addToLookupMap(t);for(let e=n.length-1;e>=0;e--){let o=n[e];if(o.command===t.command)continue;const r=o.keypressParts.length>1,s=t.keypressParts.length>1;r&&s&&o.keypressParts[1]!==t.keypressParts[1]||i.whenIsEntirelyIncluded(o.when,t.when)&&this._removeFromLookupMap(o)}n.push(t),this._addToLookupMap(t)}_addToLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}_removeFromLookupMap(e){if(!e.command)return;let t=this._lookupMap.get(e.command);if(void 0!==t)for(let n=0,i=t.length;n<i;n++)if(t[n]===e)return void t.splice(n,1)}static whenIsEntirelyIncluded(e,t){return!t||!!e&&this._implies(e,t)}static _implies(e,t){const n=e=>9===e.type?e.expr:[e];let i=n(e.negate()).concat(n(t));for(let e=0;e<i.length;e++){const t=i[e].negate();for(let n=e+1;n<i.length;n++){const e=i[n];if(t.equals(e))return!0}}return!1}getKeybindings(){return this._keybindings}lookupPrimaryKeybinding(e){let t=this._lookupMap.get(e);return void 0===t||0===t.length?null:t[t.length-1]}resolve(e,t,n){this._log(`| Resolving ${n}${t?` chorded from ${t}`:""}`);let i=null;if(null!==t){const e=this._map.get(t);if(void 0===e)return this._log("\\ No keybinding entries."),null;i=[];for(let t=0,o=e.length;t<o;t++){let o=e[t];o.keypressParts[1]===n&&i.push(o)}}else{const e=this._map.get(n);if(void 0===e)return this._log("\\ No keybinding entries."),null;i=e}let s=this._findCommand(e,i);return s?null===t&&s.keypressParts.length>1&&null!==s.keypressParts[1]?(this._log(`\\ From ${i.length} keybinding entries, matched chord, when: ${o(s.when)}, source: ${r(s)}.`),{enterChord:!0,leaveChord:!1,commandId:null,commandArgs:null,bubble:!1}):(this._log(`\\ From ${i.length} keybinding entries, matched ${s.command}, when: ${o(s.when)}, source: ${r(s)}.`),{enterChord:!1,leaveChord:s.keypressParts.length>1,commandId:s.command,commandArgs:s.commandArgs,bubble:s.bubble}):(this._log(`\\ From ${i.length} keybinding entries, no when clauses matched the context.`),null)}_findCommand(e,t){for(let n=t.length-1;n>=0;n--){let o=t[n];if(i.contextMatchesRules(e,o.when))return o}return null}static contextMatchesRules(e,t){return!t||t.evaluate(e)}}function o(e){return e?`${e.serialize()}`:"no when condition"}function r(e){return e.extensionId?e.isBuiltinExtension?`built-in extension ${e.extensionId}`:`user extension ${e.extensionId}`:e.isDefault?"built-in":"user"}},16066:function(e,t,n){"use strict";n.r(t),n.d(t,{KeybindingsRegistry:function(){return l},Extensions:function(){return c}});var i=n(98070),o=n(66719),r=n(10086),s=n(11484);class a{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===o.OS){if(e&&e.win)return e.win}else if(2===o.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=a.bindToCurrentPlatform(e);if(t&&t.primary){const n=(0,i.createKeybinding)(t.primary,o.OS);n&&this._registerDefaultKeybinding(n,e.id,e.args,e.weight,0,e.when)}if(t&&Array.isArray(t.secondary))for(let n=0,r=t.secondary.length;n<r;n++){const r=t.secondary[n],s=(0,i.createKeybinding)(r,o.OS);s&&this._registerDefaultKeybinding(s,e.id,e.args,e.weight,-n-1,e.when)}}registerCommandAndKeybindingRule(e){this.registerKeybindingRule(e),r.CommandsRegistry.registerCommand(e)}static _mightProduceChar(e){return e>=21&&e<=30||e>=31&&e<=56||80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e}_assertNoCtrlAlt(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&a._mightProduceChar(e.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",e," for ",t)}_registerDefaultKeybinding(e,t,n,i,r,s){1===o.OS&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:s,weight1:i,weight2:r,extensionId:null,isBuiltinExtension:!1}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(d)),this._cachedMergedKeybindings.slice(0)}}const l=new a,c={EditorModes:"platform.keybindingsRegistry"};function d(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}s.Registry.add(c.EditorModes,l)},22801:function(e,t,n){"use strict";n.r(t),n.d(t,{ResolvedKeybindingItem:function(){return i},removeElementsAfterNulls:function(){return o}});class i{constructor(e,t,n,i,r,s,a){this.resolvedKeybinding=e,this.keypressParts=e?o(e.getDispatchParts()):[],this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=i,this.isDefault=r,this.extensionId=s,this.isBuiltinExtension=a}}function o(e){let t=[];for(let n=0,i=e.length;n<i;n++){const i=e[n];if(!i)return t;t.push(i)}return t}},46042:function(e,t,n){"use strict";n.r(t),n.d(t,{USLayoutResolvedKeybinding:function(){return r}});var i=n(98070),o=n(6802);class r extends o.BaseResolvedKeybinding{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return i.KeyCodeUtils.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":i.KeyCodeUtils.toString(e.keyCode)}_getDispatchPart(e){return r.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=i.KeyCodeUtils.toString(e.keyCode),t}}},87280:function(e,t,n){"use strict";n.r(t),n.d(t,{ILabelService:function(){return i}});const i=(0,n(68465).createDecorator)("labelService")},30813:function(e,t,n){"use strict";n.r(t),n.d(t,{ILayoutService:function(){return i}});const i=(0,n(68465).createDecorator)("layoutService")},6801:function(e,t,n){"use strict";n.r(t),n.d(t,{IListService:function(){return S},ListService:function(){return x},WorkbenchListSupportsMultiSelectContextKey:function(){return k},WorkbenchListFocusContextKey:function(){return T},WorkbenchListHasSelectionOrFocus:function(){return I},WorkbenchListDoubleSelection:function(){return D},WorkbenchListMultiSelection:function(){return L},WorkbenchListSupportsKeyboardNavigation:function(){return R},WorkbenchListAutomaticKeyboardNavigationKey:function(){return N},WorkbenchListAutomaticKeyboardNavigation:function(){return M},didBindWorkbenchListAutomaticKeyboardNavigation:function(){return O},WorkbenchList:function(){return Y},WorkbenchPagedList:function(){return $},WorkbenchObjectTree:function(){return ee},WorkbenchCompressibleObjectTree:function(){return te},WorkbenchDataTree:function(){return ne},WorkbenchAsyncDataTree:function(){return ie},WorkbenchCompressibleAsyncDataTree:function(){return oe}});var i=n(96747),o=n(17659),r=n(72406),s=n(63801),a=n(68921),l=n(89982),c=n(16445),d=n(79558),h=n(65410),u=n(68465),p=n(9657),g=n(11484),m=n(53503),f=n(84535),b=n(70359),v=n(22481),_=n(74904),w=n(35313),y=n(27348),A=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},C=function(e,t){return function(n,i){t(n,i,e)}};const S=(0,u.createDecorator)("listService");let x=class{constructor(e){this._themeService=e,this.disposables=new a.DisposableStore,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const e=new r.DefaultStyleController((0,i.createStyleSheet)(),"");this.disposables.add((0,m.attachListStyler)(e,this._themeService))}if(this.lists.some((t=>t.widget===e)))throw new Error("Cannot register the same widget multiple times");const n={widget:e,extraContextKeys:t};return this.lists.push(n),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),(0,a.combinedDisposable)(e.onDidFocus((()=>this._lastFocusedWidget=e)),(0,a.toDisposable)((()=>this.lists.splice(this.lists.indexOf(n),1))),e.onDidDispose((()=>{this.lists=this.lists.filter((e=>e!==n)),this._lastFocusedWidget===e&&(this._lastFocusedWidget=void 0)})))}dispose(){this.disposables.dispose()}};x=A([C(0,f.IThemeService)],x);const E=new h.RawContextKey("listFocus",!0),k=new h.RawContextKey("listSupportsMultiselect",!0),T=h.ContextKeyExpr.and(E,h.ContextKeyExpr.not(b.InputFocusedContextKey)),I=new h.RawContextKey("listHasSelectionOrFocus",!1),D=new h.RawContextKey("listDoubleSelection",!1),L=new h.RawContextKey("listMultiSelection",!1),R=new h.RawContextKey("listSupportsKeyboardNavigation",!0),N="listAutomaticKeyboardNavigation",M=new h.RawContextKey(N,!0);let O=!1;function P(e,t){const n=e.createScoped(t.getHTMLElement());return E.bindTo(n),n}const F="workbench.list.multiSelectModifier",z="workbench.list.openMode",B="workbench.list.horizontalScrolling",W="workbench.list.keyboardNavigation",U="workbench.list.automaticKeyboardNavigation",H="workbench.tree.indent",V="workbench.tree.renderIndentGuides",j="workbench.list.smoothScrolling",K="workbench.tree.expandMode";function q(e){return"alt"===e.getValue(F)}class G extends a.Disposable{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=q(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration(F)&&(this.useAltAsMultipleSelectionModifier=q(this.configurationService))})))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:(0,r.isSelectionSingleChangeEvent)(e)}isSelectionRangeChangeEvent(e){return(0,r.isSelectionRangeChangeEvent)(e)}}function Q(e,t,n){const i=new a.DisposableStore,o=Object.assign({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){const e=new G(t);o.multipleSelectionController=e,i.add(e)}return o.keyboardNavigationDelegate={mightProducePrintableCharacter:e=>n.mightProducePrintableCharacter(e)},o.smoothScrolling=t.getValue(j),[o,i]}let Y=class extends r.List{constructor(e,t,n,i,o,r,s,a,l,c){const d=void 0!==o.horizontalScrolling?o.horizontalScrolling:l.getValue(B),[h,u]=Q(o,l,c);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,m.computeStyles)(a.getColorTheme(),m.defaultListStyles)),h),{horizontalScrolling:d})),this.disposables.add(u),this.contextKeyService=P(r,this),this.themeService=a,k.bindTo(this.contextKeyService).set(!(!1===o.multipleSelectionSupport)),this.listHasSelectionOrFocus=I.bindTo(this.contextKeyService),this.listDoubleSelection=D.bindTo(this.contextKeyService),this.listMultiSelection=L.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=q(l),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection((()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)}))}))),this.disposables.add(this.onDidChangeFocus((()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)}))),this.disposables.add(l.onDidChangeConfiguration((e=>{e.affectsConfiguration(F)&&(this._useAltAsMultipleSelectionModifier=q(l));let t={};if(e.affectsConfiguration(B)&&void 0===this.horizontalScrolling){const e=l.getValue(B);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(j)){const e=l.getValue(j);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}Object.keys(t).length>0&&this.updateOptions(t)})))}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles)}dispose(){super.dispose(),this._styler&&this._styler.dispose()}updateStyles(e){this._styler&&this._styler.dispose(),this._styler=(0,m.attachListStyler)(this,this.themeService,e)}};Y=A([C(5,h.IContextKeyService),C(6,S),C(7,f.IThemeService),C(8,c.IConfigurationService),C(9,p.IKeybindingService)],Y);let $=class extends o.PagedList{constructor(e,t,n,i,o,r,s,l,c,d){const h=void 0!==o.horizontalScrolling?o.horizontalScrolling:c.getValue(B),[u,p]=Q(o,c,d);super(e,t,n,i,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},(0,m.computeStyles)(l.getColorTheme(),m.defaultListStyles)),u),{horizontalScrolling:h})),this.disposables=new a.DisposableStore,this.disposables.add(p),this.contextKeyService=P(r,this),this.horizontalScrolling=o.horizontalScrolling,k.bindTo(this.contextKeyService).set(!(!1===o.multipleSelectionSupport)),this._useAltAsMultipleSelectionModifier=q(c),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),o.overrideStyles&&this.disposables.add((0,m.attachListStyler)(this,l,o.overrideStyles)),this.disposables.add(c.onDidChangeConfiguration((e=>{e.affectsConfiguration(F)&&(this._useAltAsMultipleSelectionModifier=q(c));let t={};if(e.affectsConfiguration(B)&&void 0===this.horizontalScrolling){const e=c.getValue(B);t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(j)){const e=c.getValue(j);t=Object.assign(Object.assign({},t),{smoothScrolling:e})}Object.keys(t).length>0&&this.updateOptions(t)})))}dispose(){super.dispose(),this.disposables.dispose()}};$=A([C(5,h.IContextKeyService),C(6,S),C(7,f.IThemeService),C(8,c.IConfigurationService),C(9,p.IKeybindingService)],$);class J extends a.Disposable{constructor(e,t){var n,i;super(),this.widget=e,this._onDidOpen=this._register(new s.Emitter),this.onDidOpen=this._onDidOpen.event,this.openOnFocus=null!==(n=null==t?void 0:t.openOnFocus)&&void 0!==n&&n,this._register(s.Event.filter(this.widget.onDidChangeSelection,(e=>e.browserEvent instanceof KeyboardEvent))((e=>this.onSelectionFromKeyboard(e)))),this._register(this.widget.onPointer((e=>this.onPointer(e.element,e.browserEvent)))),this._register(this.widget.onMouseDblClick((e=>this.onMouseDblClick(e.element,e.browserEvent)))),this.openOnFocus&&this._register(s.Event.filter(this.widget.onDidChangeFocus,(e=>e.browserEvent instanceof KeyboardEvent))((e=>this.onFocusFromKeyboard(e)))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(z)),this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration((()=>{this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(z))})))):this.openOnSingleClick=null===(i=null==t?void 0:t.openOnSingleClick)||void 0===i||i}onFocusFromKeyboard(e){const t=this.widget.getFocus();this.widget.setSelection(t,e.browserEvent);const n=e.browserEvent,i="boolean"!=typeof n.preserveFocus||n.preserveFocus,o="boolean"==typeof n.pinned?n.pinned:!i;this._open(this.getSelectedElement(),i,o,!1,e.browserEvent)}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;const t=e.browserEvent,n="boolean"!=typeof t.preserveFocus||t.preserveFocus,i="boolean"==typeof t.pinned?t.pinned:!n;this._open(this.getSelectedElement(),n,i,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;if(2===t.detail)return;const n=1===t.button,i=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!0,n,i,t)}onMouseDblClick(e,t){if(!t)return;const n=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!1,!0,n,t)}_open(e,t,n,i,o){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:n,revealIfVisible:!0},sideBySide:i,element:e,browserEvent:o})}}class Z extends J{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}function X(e,t){let n=!1;return i=>{if(n)return n=!1,!1;const o=t.softDispatch(i,e);return o&&o.enterChord?(n=!0,!1):(n=!1,!0)}}let ee=class extends v.ObjectTree{constructor(e,t,n,i,o,r,s,a,l,c,d){const{options:h,getAutomaticKeyboardNavigation:u,disposable:p}=re(t,o,r,l,c,d);super(e,t,n,i,h),this.disposables.add(p),this.internals=new se(this,o,u,o.overrideStyles,r,s,a,l,d),this.disposables.add(this.internals)}};ee=A([C(5,h.IContextKeyService),C(6,S),C(7,f.IThemeService),C(8,c.IConfigurationService),C(9,p.IKeybindingService),C(10,y.IAccessibilityService)],ee);let te=class extends v.CompressibleObjectTree{constructor(e,t,n,i,o,r,s,a,l,c,d){const{options:h,getAutomaticKeyboardNavigation:u,disposable:p}=re(t,o,r,l,c,d);super(e,t,n,i,h),this.disposables.add(p),this.internals=new se(this,o,u,o.overrideStyles,r,s,a,l,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};te=A([C(5,h.IContextKeyService),C(6,S),C(7,f.IThemeService),C(8,c.IConfigurationService),C(9,p.IKeybindingService),C(10,y.IAccessibilityService)],te);let ne=class extends w.DataTree{constructor(e,t,n,i,o,r,s,a,l,c,d,h){const{options:u,getAutomaticKeyboardNavigation:p,disposable:g}=re(t,r,s,c,d,h);super(e,t,n,i,o,u),this.disposables.add(g),this.internals=new se(this,r,p,r.overrideStyles,s,a,l,c,h),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};ne=A([C(6,h.IContextKeyService),C(7,S),C(8,f.IThemeService),C(9,c.IConfigurationService),C(10,p.IKeybindingService),C(11,y.IAccessibilityService)],ne);let ie=class extends _.AsyncDataTree{constructor(e,t,n,i,o,r,s,a,l,c,d,h){const{options:u,getAutomaticKeyboardNavigation:p,disposable:g}=re(t,r,s,c,d,h);super(e,t,n,i,o,u),this.disposables.add(g),this.internals=new se(this,r,p,r.overrideStyles,s,a,l,c,h),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles)}};ie=A([C(6,h.IContextKeyService),C(7,S),C(8,f.IThemeService),C(9,c.IConfigurationService),C(10,p.IKeybindingService),C(11,y.IAccessibilityService)],ie);let oe=class extends _.CompressibleAsyncDataTree{constructor(e,t,n,i,o,r,s,a,l,c,d,h,u){const{options:p,getAutomaticKeyboardNavigation:g,disposable:m}=re(t,s,a,d,h,u);super(e,t,n,i,o,r,p),this.disposables.add(m),this.internals=new se(this,s,g,s.overrideStyles,a,l,c,d,u),this.disposables.add(this.internals)}};function re(e,t,n,i,o,r){var s;R.bindTo(n),O||(M.bindTo(n),O=!0);const a=()=>{let e=n.getContextKeyValue(N);return e&&(e=i.getValue(U)),e},l=r.isScreenReaderOptimized(),c=t.simpleKeyboardNavigation||l?"simple":i.getValue(W),d=void 0!==t.horizontalScrolling?t.horizontalScrolling:i.getValue(B),[h,u]=Q(t,i,o),p=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:a,disposable:u,options:Object.assign(Object.assign({keyboardSupport:!1},h),{indent:i.getValue(H),renderIndentGuides:i.getValue(V),smoothScrolling:i.getValue(j),automaticKeyboardNavigation:a(),simpleKeyboardNavigation:"simple"===c,filterOnType:"filter"===c,horizontalScrolling:d,keyboardNavigationEventFilter:X(e,o),additionalScrollHeight:p,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnDoubleClick:"doubleClick"===i.getValue(z),expandOnlyOnTwistieClick:null!==(s=t.expandOnlyOnTwistieClick)&&void 0!==s?s:"doubleClick"===i.getValue(K)})}}oe=A([C(7,h.IContextKeyService),C(8,S),C(9,f.IThemeService),C(10,c.IConfigurationService),C(11,p.IKeybindingService),C(12,y.IAccessibilityService)],oe);let se=class{constructor(e,t,n,i,o,r,s,a,l){this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=P(o,e),k.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=I.bindTo(this.contextKeyService),this.hasDoubleSelection=D.bindTo(this.contextKeyService),this.hasMultiSelection=L.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=q(a);const c=new Set;c.add(N);const d=()=>{const t=l.isScreenReaderOptimized()?"simple":a.getValue(W);e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})};this.updateStyleOverrides(i),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection((()=>{const t=e.getSelection(),n=e.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.hasSelectionOrFocus.set(t.length>0||n.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)}))})),e.onDidChangeFocus((()=>{const t=e.getSelection(),n=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||n.length>0)})),a.onDidChangeConfiguration((i=>{let o={};if(i.affectsConfiguration(F)&&(this._useAltAsMultipleSelectionModifier=q(a)),i.affectsConfiguration(H)){const e=a.getValue(H);o=Object.assign(Object.assign({},o),{indent:e})}if(i.affectsConfiguration(V)){const e=a.getValue(V);o=Object.assign(Object.assign({},o),{renderIndentGuides:e})}if(i.affectsConfiguration(j)){const e=a.getValue(j);o=Object.assign(Object.assign({},o),{smoothScrolling:e})}if(i.affectsConfiguration(W)&&d(),i.affectsConfiguration(U)&&(o=Object.assign(Object.assign({},o),{automaticKeyboardNavigation:n()})),i.affectsConfiguration(B)&&void 0===t.horizontalScrolling){const e=a.getValue(B);o=Object.assign(Object.assign({},o),{horizontalScrolling:e})}i.affectsConfiguration(z)&&(o=Object.assign(Object.assign({},o),{expandOnlyOnDoubleClick:"doubleClick"===a.getValue(z)})),i.affectsConfiguration(K)&&void 0===t.expandOnlyOnTwistieClick&&(o=Object.assign(Object.assign({},o),{expandOnlyOnTwistieClick:"doubleClick"===a.getValue(K)})),Object.keys(o).length>0&&e.updateOptions(o)})),this.contextKeyService.onDidChangeContext((t=>{t.affectsSome(c)&&e.updateOptions({automaticKeyboardNavigation:n()})})),l.onDidChangeScreenReaderOptimized((()=>d()))),this.navigator=new Z(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateStyleOverrides(e){(0,a.dispose)(this.styler),this.styler=e?(0,m.attachListStyler)(this.tree,this.themeService,e):a.Disposable.None}dispose(){this.disposables=(0,a.dispose)(this.disposables),(0,a.dispose)(this.styler),this.styler=void 0}};se=A([C(4,h.IContextKeyService),C(5,S),C(6,f.IThemeService),C(7,c.IConfigurationService),C(8,y.IAccessibilityService)],se),g.Registry.as(d.Extensions.Configuration).registerConfiguration({id:"workbench",order:7,title:(0,l.localize)("vs/platform/list/browser/listService","workbenchConfigurationTitle","Workbench"),type:"object",properties:{[F]:{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[(0,l.localize)("vs/platform/list/browser/listService","multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,l.localize)("vs/platform/list/browser/listService","multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:(0,l.localize)("vs/platform/list/browser/listService",{key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[z]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,l.localize)("vs/platform/list/browser/listService",{key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},[B]:{type:"boolean",default:!1,description:(0,l.localize)("vs/platform/list/browser/listService","horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[H]:{type:"number",default:8,minimum:0,maximum:40,description:(0,l.localize)("vs/platform/list/browser/listService","tree indent setting","Controls tree indentation in pixels.")},[V]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,l.localize)("vs/platform/list/browser/listService","render tree indent guides","Controls whether the tree should render indent guides.")},[j]:{type:"boolean",default:!1,description:(0,l.localize)("vs/platform/list/browser/listService","list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[W]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,l.localize)("vs/platform/list/browser/listService","keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),(0,l.localize)("vs/platform/list/browser/listService","keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),(0,l.localize)("vs/platform/list/browser/listService","keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:(0,l.localize)("vs/platform/list/browser/listService","keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},[U]:{type:"boolean",default:!0,markdownDescription:(0,l.localize)("vs/platform/list/browser/listService","automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},[K]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,l.localize)("vs/platform/list/browser/listService","expand mode","Controls how tree folders are expanded when clicking the folder names.")}}})},1314:function(e,t,n){"use strict";n.r(t),n.d(t,{ILogService:function(){return s},LogLevel:function(){return a},DEFAULT_LOG_LEVEL:function(){return l},AbstractLogService:function(){return c},ConsoleLogService:function(){return d}});var i=n(68465),o=n(68921),r=n(63801);const s=(0,i.createDecorator)("logService");var a;!function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Info=2]="Info",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.Off=6]="Off"}(a||(a={}));const l=a.Info;class c extends o.Disposable{constructor(){super(...arguments),this.level=l,this._onDidChangeLogLevel=this._register(new r.Emitter)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class d extends c{constructor(e=l){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=a.Trace&&console.log("%cTRACE","color: #888",e,...t)}debug(e,...t){this.getLevel()<=a.Debug&&console.log("%cDEBUG","background: #eee; color: #888",e,...t)}info(e,...t){this.getLevel()<=a.Info&&console.log("%c INFO","color: #33f",e,...t)}error(e,...t){this.getLevel()<=a.Error&&console.log("%c ERR","color: #f33",e,...t)}dispose(){}}},96061:function(e,t,n){"use strict";n.r(t),n.d(t,{MarkerService:function(){return u}});var i=n(64998),o=n(27952),r=n(19300),s=n(63801),a=n(84030),l=n(13833),c=n(24417);class d{constructor(){this._byResource=new l.ResourceMap,this._byOwner=new Map}set(e,t,n){let i=this._byResource.get(e);i||(i=new Map,this._byResource.set(e,i)),i.set(t,n);let o=this._byOwner.get(t);o||(o=new l.ResourceMap,this._byOwner.set(t,o)),o.set(e,n)}get(e,t){let n=this._byResource.get(e);return null==n?void 0:n.get(t)}delete(e,t){let n=!1,i=!1,o=this._byResource.get(e);o&&(n=o.delete(t));let r=this._byOwner.get(t);if(r&&(i=r.delete(e)),n!==i)throw new Error("illegal state");return n&&i}values(e){var t,n,i,o;return"string"==typeof e?null!==(n=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==n?n:c.Iterable.empty():r.URI.isUri(e)?null!==(o=null===(i=this._byResource.get(e))||void 0===i?void 0:i.values())&&void 0!==o?o:c.Iterable.empty():c.Iterable.map(c.Iterable.concat(...this._byOwner.values()),(e=>e[1]))}}class h{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new l.ResourceMap,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const e=this._data.get(t);e&&this._substract(e);const n=this._resourceStats(t);this._add(n),this._data.set(t,n)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===o.Schemas.inMemory||e.scheme===o.Schemas.walkThrough||e.scheme===o.Schemas.walkThroughSnippet)return t;for(const{severity:n}of this._service.read({resource:e}))n===a.MarkerSeverity.Error?t.errors+=1:n===a.MarkerSeverity.Warning?t.warnings+=1:n===a.MarkerSeverity.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class u{constructor(){this._onMarkerChanged=new s.Emitter,this.onMarkerChanged=s.Event.debounce(this._onMarkerChanged.event,u._debouncer,0),this._data=new d,this._stats=new h(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const n of t||[])this.changeOne(e,n,[])}changeOne(e,t,n){if((0,i.isFalsyOrEmpty)(n))this._data.delete(t,e)&&this._onMarkerChanged.fire([t]);else{const i=[];for(const o of n){const n=u._toMarker(e,t,o);n&&i.push(n)}this._data.set(t,e,i),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,n){let{code:i,severity:o,message:r,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:h,tags:u}=n;if(r)return a=a>0?a:1,l=l>0?l:1,c=c>=a?c:a,d=d>0?d:l,{resource:t,owner:e,code:i,severity:o,message:r,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:h,tags:u}}read(e=Object.create(null)){let{owner:t,resource:n,severities:i,take:o}=e;if((!o||o<0)&&(o=-1),t&&n){const e=this._data.get(n,t);if(e){const t=[];for(const n of e)if(u._accept(n,i)){const e=t.push(n);if(o>0&&e===o)break}return t}return[]}if(t||n){const e=this._data.values(null!=n?n:t),r=[];for(const t of e)for(const e of t)if(u._accept(e,i)){const t=r.push(e);if(o>0&&t===o)return r}return r}{const e=[];for(let t of this._data.values())for(let n of t)if(u._accept(n,i)){const t=e.push(n);if(o>0&&t===o)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _debouncer(e,t){e||(u._dedupeMap=new l.ResourceMap,e=[]);for(const n of t)u._dedupeMap.has(n)||(u._dedupeMap.set(n,!0),e.push(n));return e}}},84030:function(e,t,n){"use strict";n.r(t),n.d(t,{MarkerSeverity:function(){return i},IMarkerData:function(){return o},IMarkerService:function(){return l}});var i,o,r=n(68465),s=n(89982),a=n(15051);!function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(i||(i={})),function(e){e.compare=function(e,t){return t-e};const t=Object.create(null);t[e.Error]=(0,s.localize)("vs/platform/markers/common/markers","sev.error","Error"),t[e.Warning]=(0,s.localize)("vs/platform/markers/common/markers","sev.warning","Warning"),t[e.Info]=(0,s.localize)("vs/platform/markers/common/markers","sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case a.default.Error:return e.Error;case a.default.Warning:return e.Warning;case a.default.Info:return e.Info;case a.default.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return a.default.Error;case e.Warning:return a.default.Warning;case e.Info:return a.default.Info;case e.Hint:return a.default.Ignore}}}(i||(i={})),function(e){const t="";function n(e,n){let o=[t];return e.source?o.push(e.source.replace("¦","\\¦")):o.push(t),e.code?"string"==typeof e.code?o.push(e.code.replace("¦","\\¦")):o.push(e.code.value.replace("¦","\\¦")):o.push(t),void 0!==e.severity&&null!==e.severity?o.push(i.toString(e.severity)):o.push(t),e.message&&n?o.push(e.message.replace("¦","\\¦")):o.push(t),void 0!==e.startLineNumber&&null!==e.startLineNumber?o.push(e.startLineNumber.toString()):o.push(t),void 0!==e.startColumn&&null!==e.startColumn?o.push(e.startColumn.toString()):o.push(t),void 0!==e.endLineNumber&&null!==e.endLineNumber?o.push(e.endLineNumber.toString()):o.push(t),void 0!==e.endColumn&&null!==e.endColumn?o.push(e.endColumn.toString()):o.push(t),o.push(t),o.join("¦")}e.makeKey=function(e){return n(e,!0)},e.makeKeyOptionalMessage=n}(o||(o={}));const l=(0,r.createDecorator)("markerService")},54303:function(e,t,n){"use strict";n.r(t),n.d(t,{Severity:function(){return r},INotificationService:function(){return s},NoOpNotification:function(){return a}});var i=n(15051),o=n(68465),r=i.default;const s=(0,o.createDecorator)("notificationService");class a{}},19156:function(e,t,n){"use strict";n.r(t),n.d(t,{IOpenerService:function(){return l},NullOpenerService:function(){return c},matchesScheme:function(){return d}});var i=n(68921),o=n(91482),r=n(19300),s=n(68465),a=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const l=(0,s.createDecorator)("openerService"),c=Object.freeze({_serviceBrand:void 0,registerOpener:()=>i.Disposable.None,registerValidator:()=>i.Disposable.None,registerExternalUriResolver:()=>i.Disposable.None,setDefaultExternalOpener(){},registerExternalOpener:()=>i.Disposable.None,open(){return a(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return a(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}});function d(e,t){return r.URI.isUri(e)?(0,o.equalsIgnoreCase)(e.scheme,t):(0,o.startsWithIgnoreCase)(e,t+":")}},49985:function(e,t,n){"use strict";n.r(t),n.d(t,{Progress:function(){return o},IEditorProgressService:function(){return r}});var i=n(68465);class o{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}o.None=Object.freeze({report(){}});const r=(0,i.createDecorator)("editorProgressService")},2104:function(e,t,n){"use strict";n.r(t),n.d(t,{QuickAccessController:function(){return h}});var i=n(36578),o=n(68921),r=n(66824),s=n(11484),a=n(11256),l=n(68465),c=n(40548),d=function(e,t){return function(n,i){t(n,i,e)}};let h=class extends o.Disposable{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=s.Registry.as(r.Extensions.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){var n;const[s,a]=this.getOrInstantiateProvider(e),l=this.visibleQuickAccess,c=null==l?void 0:l.descriptor;if(l&&a&&c===a)return e===a.prefix||(null==t?void 0:t.preserveValue)||(l.picker.value=e),void this.adjustValueSelection(l.picker,a,t);if(a&&!(null==t?void 0:t.preserveValue)){let t;if(l&&c&&c!==a){const e=l.value.substr(c.prefix.length);e&&(t=`${a.prefix}${e}`)}if(!t){const e=null==s?void 0:s.defaultFilterValue;e===r.DefaultQuickAccessFilterValue.LAST?t=this.lastAcceptedPickerValues.get(a):"string"==typeof e&&(t=`${a.prefix}${e}`)}"string"==typeof t&&(e=t)}const d=new o.DisposableStore,h=d.add(this.quickInputService.createQuickPick());h.value=e,this.adjustValueSelection(h,a,t),h.placeholder=null==a?void 0:a.placeholder,h.quickNavigate=null==t?void 0:t.quickNavigateConfiguration,h.hideInput=!!h.quickNavigate&&!l,("number"==typeof(null==t?void 0:t.itemActivation)||(null==t?void 0:t.quickNavigateConfiguration))&&(h.itemActivation=null!==(n=null==t?void 0:t.itemActivation)&&void 0!==n?n:i.ItemActivation.SECOND),h.contextKey=null==a?void 0:a.contextKey,h.filterValue=e=>e.substring(a?a.prefix.length:0),(null==a?void 0:a.placeholder)&&(h.ariaLabel=null==a?void 0:a.placeholder);const u=this.registerPickerListeners(h,s,a,e,d);s&&d.add(s.provide(h,u)),h.show()}adjustValueSelection(e,t,n){var i;let o;o=(null==n?void 0:n.preserveValue)?[e.value.length,e.value.length]:[null!==(i=null==t?void 0:t.prefix.length)&&void 0!==i?i:0,e.value.length],e.valueSelection=o}registerPickerListeners(e,t,n,i,r){const s=this.visibleQuickAccess={picker:e,descriptor:n,value:i};r.add((0,o.toDisposable)((()=>{s===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)}))),r.add(e.onDidChangeValue((e=>{const[n]=this.getOrInstantiateProvider(e);n!==t?this.show(e,{preserveValue:!0}):s.value=e}))),n&&r.add(e.onDidAccept((()=>{this.lastAcceptedPickerValues.set(n,e.value)})));const l=r.add(new a.CancellationTokenSource);return(0,c.once)(e.onDidHide)((()=>{0===e.selectedItems.length&&l.cancel(),r.dispose()})),l.token}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let n=this.mapProviderToDescriptor.get(t);return n||(n=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,n)),[n,t]}};h=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([d(0,i.IQuickInputService),d(1,l.IInstantiationService)],h)},92679:function(e,t,n){"use strict";n.r(t),n.d(t,{QuickInputService:function(){return m}});var i=n(30813),o=n(68465),r=n(84535),s=n(16189),a=n(11256),l=n(53503),c=n(65410),d=n(27348),h=n(72067),u=n(6801),p=n(2104),g=function(e,t){return function(n,i){t(n,i,e)}};let m=class extends r.Themable{constructor(e,t,n,i,o){super(n),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=i,this.layoutService=o,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(p.QuickAccessController))),this._quickAccess}createController(e=this.layoutService,t){var n,i;const o={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,n,i,o)=>this.instantiationService.createInstance(u.WorkbenchList,e,t,n,i,o),styles:this.computeStyles()},r=this._register(new h.QuickInputController(Object.assign(Object.assign({},o),t)));return r.layout(e.dimension,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0),this._register(e.onLayout((t=>{var n,i;return r.layout(t,null!==(i=null===(n=e.offset)||void 0===n?void 0:n.top)&&void 0!==i?i:0)}))),this._register(r.onShow((()=>this.resetContextKeys()))),this._register(r.onHide((()=>this.resetContextKeys()))),r}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new c.RawContextKey(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),t&&t.get()||(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach((e=>{e.get()&&e.reset()}))}pick(e,t={},n=a.CancellationToken.None){return this.controller.pick(e,t,n)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},(0,l.computeStyles)(this.theme,{quickInputBackground:s.quickInputBackground,quickInputForeground:s.quickInputForeground,quickInputTitleBackground:s.quickInputTitleBackground,contrastBorder:s.contrastBorder,widgetShadow:s.widgetShadow})),inputBox:(0,l.computeStyles)(this.theme,{inputForeground:s.inputForeground,inputBackground:s.inputBackground,inputBorder:s.inputBorder,inputValidationInfoBackground:s.inputValidationInfoBackground,inputValidationInfoForeground:s.inputValidationInfoForeground,inputValidationInfoBorder:s.inputValidationInfoBorder,inputValidationWarningBackground:s.inputValidationWarningBackground,inputValidationWarningForeground:s.inputValidationWarningForeground,inputValidationWarningBorder:s.inputValidationWarningBorder,inputValidationErrorBackground:s.inputValidationErrorBackground,inputValidationErrorForeground:s.inputValidationErrorForeground,inputValidationErrorBorder:s.inputValidationErrorBorder}),countBadge:(0,l.computeStyles)(this.theme,{badgeBackground:s.badgeBackground,badgeForeground:s.badgeForeground,badgeBorder:s.contrastBorder}),button:(0,l.computeStyles)(this.theme,{buttonForeground:s.buttonForeground,buttonBackground:s.buttonBackground,buttonHoverBackground:s.buttonHoverBackground,buttonBorder:s.contrastBorder}),progressBar:(0,l.computeStyles)(this.theme,{progressBarBackground:s.progressBarBackground}),list:(0,l.computeStyles)(this.theme,{listBackground:s.quickInputBackground,listInactiveFocusForeground:s.listFocusForeground,listInactiveFocusBackground:s.listFocusBackground,listFocusOutline:s.activeContrastBorder,listInactiveFocusOutline:s.activeContrastBorder,pickerGroupBorder:s.pickerGroupBorder,pickerGroupForeground:s.pickerGroupForeground})}}};m=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([g(0,o.IInstantiationService),g(1,c.IContextKeyService),g(2,r.IThemeService),g(3,d.IAccessibilityService),g(4,i.ILayoutService)],m)},66824:function(e,t,n){"use strict";n.r(t),n.d(t,{DefaultQuickAccessFilterValue:function(){return i},Extensions:function(){return a},QuickAccessRegistry:function(){return l}});var i,o=n(11484),r=n(64998),s=n(68921);!function(e){e[e.PRESERVE=0]="PRESERVE",e[e.LAST=1]="LAST"}(i||(i={}));const a={Quickaccess:"workbench.contributions.quickaccess"};class l{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort(((e,t)=>t.prefix.length-e.prefix.length)),(0,s.toDisposable)((()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)}))}getQuickAccessProviders(){return(0,r.coalesce)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find((t=>e.startsWith(t.prefix)))||this.defaultProvider}}o.Registry.add(a.Quickaccess,new l)},36578:function(e,t,n){"use strict";n.r(t),n.d(t,{ItemActivation:function(){return o.ItemActivation},NO_KEY_MODS:function(){return o.NO_KEY_MODS},IQuickInputService:function(){return r}});var i=n(68465),o=n(11476);const r=(0,i.createDecorator)("quickInputService")},11484:function(e,t,n){"use strict";n.r(t),n.d(t,{Registry:function(){return r}});var i=n(18912),o=n(86995);const r=new class{constructor(){this.data=new Map}add(e,t){o.ok(i.isString(e)),o.ok(i.isObject(t)),o.ok(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},90679:function(e,t,n){"use strict";n.r(t),n.d(t,{IStorageService:function(){return l},WillSaveStateReason:function(){return c},AbstractStorageService:function(){return d},InMemoryStorageService:function(){return h}});var i=n(68465),o=n(63801),r=n(68921),s=n(18912);const a="__$__targetStorageMarker",l=(0,i.createDecorator)("storageService");var c;!function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"}(c||(c={}));class d extends r.Disposable{constructor(){super(...arguments),this._onDidChangeValue=this._register(new o.PauseableEmitter),this._onDidChangeTarget=this._register(new o.PauseableEmitter),this._onWillSaveState=this._register(new o.Emitter),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._globalKeyTargets=void 0}emitDidChangeValue(e,t){t===a?(0===e?this._globalKeyTargets=void 0:1===e&&(this._workspaceKeyTargets=void 0),this._onDidChangeTarget.fire({scope:e})):this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}store(e,t,n,i){(0,s.isUndefinedOrNull)(t)?this.remove(e,n):this.withPausedEmitters((()=>{this.updateKeyTarget(e,n,i),this.doStore(e,t,n)}))}remove(e,t){this.withPausedEmitters((()=>{this.updateKeyTarget(e,t,void 0),this.doRemove(e,t)}))}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,n){const i=this.getKeyTargets(t);"number"==typeof n?i[e]!==n&&(i[e]=n,this.doStore(a,JSON.stringify(i),t)):"number"==typeof i[e]&&(delete i[e],this.doStore(a,JSON.stringify(i),t))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get globalKeyTargets(){return this._globalKeyTargets||(this._globalKeyTargets=this.loadKeyTargets(0)),this._globalKeyTargets}getKeyTargets(e){return 0===e?this.globalKeyTargets:this.workspaceKeyTargets}loadKeyTargets(e){const t=this.get(a,e);if(t)try{return JSON.parse(t)}catch(e){}return Object.create(null)}}class h extends d{constructor(){super(...arguments),this.globalCache=new Map,this.workspaceCache=new Map}getCache(e){return 0===e?this.globalCache:this.workspaceCache}get(e,t,n){const i=this.getCache(t).get(e);return(0,s.isUndefinedOrNull)(i)?n:i}getBoolean(e,t,n){const i=this.getCache(t).get(e);return(0,s.isUndefinedOrNull)(i)?n:"true"===i}getNumber(e,t,n){const i=this.getCache(t).get(e);return(0,s.isUndefinedOrNull)(i)?n:parseInt(i,10)}doStore(e,t,n){const i=String(t);this.getCache(n).get(e)!==i&&(this.getCache(n).set(e,i),this.emitDidChangeValue(n,e))}doRemove(e,t){this.getCache(t).delete(e)&&this.emitDidChangeValue(t,e)}}},28428:function(e,t,n){"use strict";n.r(t),n.d(t,{ITelemetryService:function(){return i}});const i=(0,n(68465).createDecorator)("telemetryService")},16189:function(e,t,n){"use strict";n.r(t),n.d(t,{Extensions:function(){return c},registerColor:function(){return h},foreground:function(){return u},errorForeground:function(){return p},iconForeground:function(){return g},focusBorder:function(){return m},contrastBorder:function(){return f},activeContrastBorder:function(){return b},textLinkForeground:function(){return v},textCodeBlockBackground:function(){return _},widgetShadow:function(){return w},inputBackground:function(){return y},inputForeground:function(){return A},inputBorder:function(){return C},inputActiveOptionBorder:function(){return S},inputActiveOptionBackground:function(){return x},inputActiveOptionForeground:function(){return E},inputValidationInfoBackground:function(){return k},inputValidationInfoForeground:function(){return T},inputValidationInfoBorder:function(){return I},inputValidationWarningBackground:function(){return D},inputValidationWarningForeground:function(){return L},inputValidationWarningBorder:function(){return R},inputValidationErrorBackground:function(){return N},inputValidationErrorForeground:function(){return M},inputValidationErrorBorder:function(){return O},selectBackground:function(){return P},selectForeground:function(){return F},buttonForeground:function(){return z},buttonBackground:function(){return B},buttonHoverBackground:function(){return W},badgeBackground:function(){return U},badgeForeground:function(){return H},scrollbarShadow:function(){return V},scrollbarSliderBackground:function(){return j},scrollbarSliderHoverBackground:function(){return K},scrollbarSliderActiveBackground:function(){return q},progressBarBackground:function(){return G},editorErrorBackground:function(){return Q},editorErrorForeground:function(){return Y},editorErrorBorder:function(){return $},editorWarningBackground:function(){return J},editorWarningForeground:function(){return Z},editorWarningBorder:function(){return X},editorInfoBackground:function(){return ee},editorInfoForeground:function(){return te},editorInfoBorder:function(){return ne},editorHintForeground:function(){return ie},editorHintBorder:function(){return oe},editorBackground:function(){return re},editorForeground:function(){return se},editorWidgetBackground:function(){return ae},editorWidgetForeground:function(){return le},editorWidgetBorder:function(){return ce},editorWidgetResizeBorder:function(){return de},quickInputBackground:function(){return he},quickInputForeground:function(){return ue},quickInputTitleBackground:function(){return pe},pickerGroupForeground:function(){return ge},pickerGroupBorder:function(){return me},editorSelectionBackground:function(){return fe},editorSelectionForeground:function(){return be},editorInactiveSelection:function(){return ve},editorSelectionHighlight:function(){return _e},editorSelectionHighlightBorder:function(){return we},editorFindMatch:function(){return ye},editorFindMatchHighlight:function(){return Ae},editorFindRangeHighlight:function(){return Ce},editorFindMatchBorder:function(){return Se},editorFindMatchHighlightBorder:function(){return xe},editorFindRangeHighlightBorder:function(){return Ee},editorHoverHighlight:function(){return ke},editorHoverBackground:function(){return Te},editorHoverForeground:function(){return Ie},editorHoverBorder:function(){return De},editorHoverStatusBarBackground:function(){return Le},editorActiveLinkForeground:function(){return Re},editorInlineHintForeground:function(){return Ne},editorInlineHintBackground:function(){return Me},editorLightBulbForeground:function(){return Oe},editorLightBulbAutoFixForeground:function(){return Pe},defaultInsertColor:function(){return Fe},defaultRemoveColor:function(){return ze},diffInserted:function(){return Be},diffRemoved:function(){return We},diffInsertedOutline:function(){return Ue},diffRemovedOutline:function(){return He},diffBorder:function(){return Ve},diffDiagonalFill:function(){return je},listFocusBackground:function(){return Ke},listFocusForeground:function(){return qe},listActiveSelectionBackground:function(){return Ge},listActiveSelectionForeground:function(){return Qe},listInactiveSelectionBackground:function(){return Ye},listInactiveSelectionForeground:function(){return $e},listInactiveFocusBackground:function(){return Je},listHoverBackground:function(){return Ze},listHoverForeground:function(){return Xe},listDropBackground:function(){return et},listHighlightForeground:function(){return tt},listFilterWidgetBackground:function(){return nt},listFilterWidgetOutline:function(){return it},listFilterWidgetNoMatchesOutline:function(){return ot},treeIndentGuidesStroke:function(){return rt},menuBorder:function(){return st},menuForeground:function(){return at},menuBackground:function(){return lt},menuSelectionForeground:function(){return ct},menuSelectionBackground:function(){return dt},menuSelectionBorder:function(){return ht},menuSeparatorBackground:function(){return ut},snippetTabstopHighlightBackground:function(){return pt},snippetTabstopHighlightBorder:function(){return gt},snippetFinalTabstopHighlightBackground:function(){return mt},snippetFinalTabstopHighlightBorder:function(){return ft},overviewRulerFindMatchForeground:function(){return bt},overviewRulerSelectionHighlightForeground:function(){return vt},minimapFindMatch:function(){return _t},minimapSelection:function(){return wt},minimapError:function(){return yt},minimapWarning:function(){return At},minimapBackground:function(){return Ct},minimapSliderBackground:function(){return St},minimapSliderHoverBackground:function(){return xt},minimapSliderActiveBackground:function(){return Et},problemsErrorIconForeground:function(){return kt},problemsWarningIconForeground:function(){return Tt},problemsInfoIconForeground:function(){return It},darken:function(){return Dt},lighten:function(){return Lt},transparent:function(){return Rt},oneOf:function(){return Nt},resolveColorValue:function(){return Ot},workbenchColorsSchemaId:function(){return Pt}});var i=n(11484),o=n(17160),r=n(63801),s=n(89982),a=n(96309),l=n(66129);const c={ColorContribution:"base.contributions.colors"},d=new class{constructor(){this._onDidChangeSchema=new r.Emitter,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,n,i=!1,o){let r={id:e,description:n,defaults:t,needsTransparency:i,deprecationMessage:o};this.colorsById[e]=r;let s={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e}resolveDefaultColor(e,t){const n=this.colorsById[e];if(n&&n.defaults)return Ot(n.defaults[t.type],t)}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort(((e,t)=>{let n=-1===e.indexOf(".")?0:1,i=-1===t.indexOf(".")?0:1;return n!==i?n-i:e.localeCompare(t)})).map((e=>`- \`${e}\`: ${this.colorsById[e].description}`)).join("\n")}};function h(e,t,n,i,o){return d.registerColor(e,t,n,i,o)}i.Registry.add(c.ColorContribution,d);const u=h("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},s.localize("vs/platform/theme/common/colorRegistry","foreground","Overall foreground color. This color is only used if not overridden by a component.")),p=h("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},s.localize("vs/platform/theme/common/colorRegistry","errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),g=h("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},s.localize("vs/platform/theme/common/colorRegistry","iconForeground","The default color for icons in the workbench.")),m=h("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},s.localize("vs/platform/theme/common/colorRegistry","focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),f=h("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},s.localize("vs/platform/theme/common/colorRegistry","contrastBorder","An extra border around elements to separate them from others for greater contrast.")),b=h("contrastActiveBorder",{light:null,dark:null,hc:m},s.localize("vs/platform/theme/common/colorRegistry","activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),v=h("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},s.localize("vs/platform/theme/common/colorRegistry","textLinkForeground","Foreground color for links in text.")),_=h("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","textCodeBlockBackground","Background color for code blocks in text.")),w=h("widget.shadow",{dark:Rt(o.Color.black,.36),light:Rt(o.Color.black,.16),hc:null},s.localize("vs/platform/theme/common/colorRegistry","widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),y=h("input.background",{dark:"#3C3C3C",light:o.Color.white,hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","inputBoxBackground","Input box background.")),A=h("input.foreground",{dark:u,light:u,hc:u},s.localize("vs/platform/theme/common/colorRegistry","inputBoxForeground","Input box foreground.")),C=h("input.border",{dark:null,light:null,hc:f},s.localize("vs/platform/theme/common/colorRegistry","inputBoxBorder","Input box border.")),S=h("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:f},s.localize("vs/platform/theme/common/colorRegistry","inputBoxActiveOptionBorder","Border color of activated options in input fields.")),x=h("inputOption.activeBackground",{dark:Rt(m,.4),light:Rt(m,.2),hc:o.Color.transparent},s.localize("vs/platform/theme/common/colorRegistry","inputOption.activeBackground","Background color of activated options in input fields.")),E=h("inputOption.activeForeground",{dark:o.Color.white,light:o.Color.black,hc:null},s.localize("vs/platform/theme/common/colorRegistry","inputOption.activeForeground","Foreground color of activated options in input fields.")),k=h("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","inputValidationInfoBackground","Input validation background color for information severity.")),T=h("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","inputValidationInfoForeground","Input validation foreground color for information severity.")),I=h("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:f},s.localize("vs/platform/theme/common/colorRegistry","inputValidationInfoBorder","Input validation border color for information severity.")),D=h("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","inputValidationWarningBackground","Input validation background color for warning severity.")),L=h("inputValidation.warningForeground",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","inputValidationWarningForeground","Input validation foreground color for warning severity.")),R=h("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:f},s.localize("vs/platform/theme/common/colorRegistry","inputValidationWarningBorder","Input validation border color for warning severity.")),N=h("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","inputValidationErrorBackground","Input validation background color for error severity.")),M=h("inputValidation.errorForeground",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","inputValidationErrorForeground","Input validation foreground color for error severity.")),O=h("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:f},s.localize("vs/platform/theme/common/colorRegistry","inputValidationErrorBorder","Input validation border color for error severity.")),P=h("dropdown.background",{dark:"#3C3C3C",light:o.Color.white,hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","dropdownBackground","Dropdown background.")),F=h("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:o.Color.white},s.localize("vs/platform/theme/common/colorRegistry","dropdownForeground","Dropdown foreground.")),z=h("button.foreground",{dark:o.Color.white,light:o.Color.white,hc:o.Color.white},s.localize("vs/platform/theme/common/colorRegistry","buttonForeground","Button foreground color.")),B=h("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},s.localize("vs/platform/theme/common/colorRegistry","buttonBackground","Button background color.")),W=h("button.hoverBackground",{dark:Lt(B,.2),light:Dt(B,.2),hc:null},s.localize("vs/platform/theme/common/colorRegistry","buttonHoverBackground","Button background color when hovering.")),U=h("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),H=h("badge.foreground",{dark:o.Color.white,light:"#333",hc:o.Color.white},s.localize("vs/platform/theme/common/colorRegistry","badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),V=h("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},s.localize("vs/platform/theme/common/colorRegistry","scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),j=h("scrollbarSlider.background",{dark:o.Color.fromHex("#797979").transparent(.4),light:o.Color.fromHex("#646464").transparent(.4),hc:Rt(f,.6)},s.localize("vs/platform/theme/common/colorRegistry","scrollbarSliderBackground","Scrollbar slider background color.")),K=h("scrollbarSlider.hoverBackground",{dark:o.Color.fromHex("#646464").transparent(.7),light:o.Color.fromHex("#646464").transparent(.7),hc:Rt(f,.8)},s.localize("vs/platform/theme/common/colorRegistry","scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),q=h("scrollbarSlider.activeBackground",{dark:o.Color.fromHex("#BFBFBF").transparent(.4),light:o.Color.fromHex("#000000").transparent(.6),hc:f},s.localize("vs/platform/theme/common/colorRegistry","scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),G=h("progressBar.background",{dark:o.Color.fromHex("#0E70C0"),light:o.Color.fromHex("#0E70C0"),hc:f},s.localize("vs/platform/theme/common/colorRegistry","progressBarBackground","Background color of the progress bar that can show for long running operations.")),Q=h("editorError.background",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Y=h("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorError.foreground","Foreground color of error squigglies in the editor.")),$=h("editorError.border",{dark:null,light:null,hc:o.Color.fromHex("#E47777").transparent(.8)},s.localize("vs/platform/theme/common/colorRegistry","errorBorder","Border color of error boxes in the editor.")),J=h("editorWarning.background",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Z=h("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorWarning.foreground","Foreground color of warning squigglies in the editor.")),X=h("editorWarning.border",{dark:null,light:null,hc:o.Color.fromHex("#FFCC00").transparent(.8)},s.localize("vs/platform/theme/common/colorRegistry","warningBorder","Border color of warning boxes in the editor.")),ee=h("editorInfo.background",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),te=h("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorInfo.foreground","Foreground color of info squigglies in the editor.")),ne=h("editorInfo.border",{dark:null,light:null,hc:o.Color.fromHex("#75BEFF").transparent(.8)},s.localize("vs/platform/theme/common/colorRegistry","infoBorder","Border color of info boxes in the editor.")),ie=h("editorHint.foreground",{dark:o.Color.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorHint.foreground","Foreground color of hint squigglies in the editor.")),oe=h("editorHint.border",{dark:null,light:null,hc:o.Color.fromHex("#eeeeee").transparent(.8)},s.localize("vs/platform/theme/common/colorRegistry","hintBorder","Border color of hint boxes in the editor.")),re=h("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","editorBackground","Editor background color.")),se=h("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:o.Color.white},s.localize("vs/platform/theme/common/colorRegistry","editorForeground","Editor default foreground color.")),ae=h("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},s.localize("vs/platform/theme/common/colorRegistry","editorWidgetBackground","Background color of editor widgets, such as find/replace.")),le=h("editorWidget.foreground",{dark:u,light:u,hc:u},s.localize("vs/platform/theme/common/colorRegistry","editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),ce=h("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:f},s.localize("vs/platform/theme/common/colorRegistry","editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),de=h("editorWidget.resizeBorder",{light:null,dark:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),he=h("quickInput.background",{dark:ae,light:ae,hc:ae},s.localize("vs/platform/theme/common/colorRegistry","pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),ue=h("quickInput.foreground",{dark:le,light:le,hc:le},s.localize("vs/platform/theme/common/colorRegistry","pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),pe=h("quickInputTitle.background",{dark:new o.Color(new o.RGBA(255,255,255,.105)),light:new o.Color(new o.RGBA(0,0,0,.06)),hc:"#000000"},s.localize("vs/platform/theme/common/colorRegistry","pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),ge=h("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:o.Color.white},s.localize("vs/platform/theme/common/colorRegistry","pickerGroupForeground","Quick picker color for grouping labels.")),me=h("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:o.Color.white},s.localize("vs/platform/theme/common/colorRegistry","pickerGroupBorder","Quick picker color for grouping borders.")),fe=h("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},s.localize("vs/platform/theme/common/colorRegistry","editorSelectionBackground","Color of the editor selection.")),be=h("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},s.localize("vs/platform/theme/common/colorRegistry","editorSelectionForeground","Color of the selected text for high contrast.")),ve=h("editor.inactiveSelectionBackground",{light:Rt(fe,.5),dark:Rt(fe,.5),hc:Rt(fe,.5)},s.localize("vs/platform/theme/common/colorRegistry","editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),_e=h("editor.selectionHighlightBackground",{light:Mt(fe,re,.3,.6),dark:Mt(fe,re,.3,.6),hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),we=h("editor.selectionHighlightBorder",{light:null,dark:null,hc:b},s.localize("vs/platform/theme/common/colorRegistry","editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),ye=h("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},s.localize("vs/platform/theme/common/colorRegistry","editorFindMatch","Color of the current search match.")),Ae=h("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},s.localize("vs/platform/theme/common/colorRegistry","findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),Ce=h("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},s.localize("vs/platform/theme/common/colorRegistry","findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Se=h("editor.findMatchBorder",{light:null,dark:null,hc:b},s.localize("vs/platform/theme/common/colorRegistry","editorFindMatchBorder","Border color of the current search match.")),xe=h("editor.findMatchHighlightBorder",{light:null,dark:null,hc:b},s.localize("vs/platform/theme/common/colorRegistry","findMatchHighlightBorder","Border color of the other search matches.")),Ee=h("editor.findRangeHighlightBorder",{dark:null,light:null,hc:Rt(b,.4)},s.localize("vs/platform/theme/common/colorRegistry","findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),ke=h("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},s.localize("vs/platform/theme/common/colorRegistry","hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),Te=h("editorHoverWidget.background",{light:ae,dark:ae,hc:ae},s.localize("vs/platform/theme/common/colorRegistry","hoverBackground","Background color of the editor hover.")),Ie=h("editorHoverWidget.foreground",{light:le,dark:le,hc:le},s.localize("vs/platform/theme/common/colorRegistry","hoverForeground","Foreground color of the editor hover.")),De=h("editorHoverWidget.border",{light:ce,dark:ce,hc:ce},s.localize("vs/platform/theme/common/colorRegistry","hoverBorder","Border color of the editor hover.")),Le=h("editorHoverWidget.statusBarBackground",{dark:Lt(Te,.2),light:Dt(Te,.05),hc:ae},s.localize("vs/platform/theme/common/colorRegistry","statusBarBackground","Background color of the editor hover status bar.")),Re=h("editorLink.activeForeground",{dark:"#4E94CE",light:o.Color.blue,hc:o.Color.cyan},s.localize("vs/platform/theme/common/colorRegistry","activeLinkForeground","Color of active links.")),Ne=h("editorInlineHint.foreground",{dark:ae,light:le,hc:ae},s.localize("vs/platform/theme/common/colorRegistry","editorInlineHintForeground","Foreground color of inline hints")),Me=h("editorInlineHint.background",{dark:le,light:ae,hc:le},s.localize("vs/platform/theme/common/colorRegistry","editorInlineHintBackground","Background color of inline hints")),Oe=h("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},s.localize("vs/platform/theme/common/colorRegistry","editorLightBulbForeground","The color used for the lightbulb actions icon.")),Pe=h("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},s.localize("vs/platform/theme/common/colorRegistry","editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),Fe=new o.Color(new o.RGBA(155,185,85,.2)),ze=new o.Color(new o.RGBA(255,0,0,.2)),Be=h("diffEditor.insertedTextBackground",{dark:Fe,light:Fe,hc:null},s.localize("vs/platform/theme/common/colorRegistry","diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),We=h("diffEditor.removedTextBackground",{dark:ze,light:ze,hc:null},s.localize("vs/platform/theme/common/colorRegistry","diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Ue=h("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},s.localize("vs/platform/theme/common/colorRegistry","diffEditorInsertedOutline","Outline color for the text that got inserted.")),He=h("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},s.localize("vs/platform/theme/common/colorRegistry","diffEditorRemovedOutline","Outline color for text that got removed.")),Ve=h("diffEditor.border",{dark:null,light:null,hc:f},s.localize("vs/platform/theme/common/colorRegistry","diffEditorBorder","Border color between the two text editors.")),je=h("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},s.localize("vs/platform/theme/common/colorRegistry","diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),Ke=h("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},s.localize("vs/platform/theme/common/colorRegistry","listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),qe=h("list.focusForeground",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ge=h("list.activeSelectionBackground",{dark:"#094771",light:"#0060C0",hc:null},s.localize("vs/platform/theme/common/colorRegistry","listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Qe=h("list.activeSelectionForeground",{dark:o.Color.white,light:o.Color.white,hc:null},s.localize("vs/platform/theme/common/colorRegistry","listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ye=h("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},s.localize("vs/platform/theme/common/colorRegistry","listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),$e=h("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Je=h("list.inactiveFocusBackground",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Ze=h("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},s.localize("vs/platform/theme/common/colorRegistry","listHoverBackground","List/Tree background when hovering over items using the mouse.")),Xe=h("list.hoverForeground",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),et=h("list.dropBackground",{dark:Ke,light:Ke,hc:null},s.localize("vs/platform/theme/common/colorRegistry","listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),tt=h("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:m},s.localize("vs/platform/theme/common/colorRegistry","highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),nt=h("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:o.Color.black},s.localize("vs/platform/theme/common/colorRegistry","listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),it=h("listFilterWidget.outline",{dark:o.Color.transparent,light:o.Color.transparent,hc:"#f38518"},s.localize("vs/platform/theme/common/colorRegistry","listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),ot=h("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:f},s.localize("vs/platform/theme/common/colorRegistry","listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),rt=h("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},s.localize("vs/platform/theme/common/colorRegistry","treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),st=h("menu.border",{dark:null,light:null,hc:f},s.localize("vs/platform/theme/common/colorRegistry","menuBorder","Border color of menus.")),at=h("menu.foreground",{dark:F,light:u,hc:F},s.localize("vs/platform/theme/common/colorRegistry","menuForeground","Foreground color of menu items.")),lt=h("menu.background",{dark:P,light:P,hc:P},s.localize("vs/platform/theme/common/colorRegistry","menuBackground","Background color of menu items.")),ct=h("menu.selectionForeground",{dark:Qe,light:Qe,hc:Qe},s.localize("vs/platform/theme/common/colorRegistry","menuSelectionForeground","Foreground color of the selected menu item in menus.")),dt=h("menu.selectionBackground",{dark:Ge,light:Ge,hc:Ge},s.localize("vs/platform/theme/common/colorRegistry","menuSelectionBackground","Background color of the selected menu item in menus.")),ht=h("menu.selectionBorder",{dark:null,light:null,hc:b},s.localize("vs/platform/theme/common/colorRegistry","menuSelectionBorder","Border color of the selected menu item in menus.")),ut=h("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:f},s.localize("vs/platform/theme/common/colorRegistry","menuSeparatorBackground","Color of a separator menu item in menus.")),pt=h("editor.snippetTabstopHighlightBackground",{dark:new o.Color(new o.RGBA(124,124,124,.3)),light:new o.Color(new o.RGBA(10,50,100,.2)),hc:new o.Color(new o.RGBA(124,124,124,.3))},s.localize("vs/platform/theme/common/colorRegistry","snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),gt=h("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),mt=h("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),ft=h("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new o.Color(new o.RGBA(10,50,100,.5)),hc:"#525252"},s.localize("vs/platform/theme/common/colorRegistry","snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),bt=h("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},s.localize("vs/platform/theme/common/colorRegistry","overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),vt=h("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},s.localize("vs/platform/theme/common/colorRegistry","overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),_t=h("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},s.localize("vs/platform/theme/common/colorRegistry","minimapFindMatchHighlight","Minimap marker color for find matches."),!0),wt=h("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},s.localize("vs/platform/theme/common/colorRegistry","minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),yt=h("minimap.errorHighlight",{dark:new o.Color(new o.RGBA(255,18,18,.7)),light:new o.Color(new o.RGBA(255,18,18,.7)),hc:new o.Color(new o.RGBA(255,50,50,1))},s.localize("vs/platform/theme/common/colorRegistry","minimapError","Minimap marker color for errors.")),At=h("minimap.warningHighlight",{dark:Z,light:Z,hc:X},s.localize("vs/platform/theme/common/colorRegistry","overviewRuleWarning","Minimap marker color for warnings.")),Ct=h("minimap.background",{dark:null,light:null,hc:null},s.localize("vs/platform/theme/common/colorRegistry","minimapBackground","Minimap background color.")),St=h("minimapSlider.background",{light:Rt(j,.5),dark:Rt(j,.5),hc:Rt(j,.5)},s.localize("vs/platform/theme/common/colorRegistry","minimapSliderBackground","Minimap slider background color.")),xt=h("minimapSlider.hoverBackground",{light:Rt(K,.5),dark:Rt(K,.5),hc:Rt(K,.5)},s.localize("vs/platform/theme/common/colorRegistry","minimapSliderHoverBackground","Minimap slider background color when hovering.")),Et=h("minimapSlider.activeBackground",{light:Rt(q,.5),dark:Rt(q,.5),hc:Rt(q,.5)},s.localize("vs/platform/theme/common/colorRegistry","minimapSliderActiveBackground","Minimap slider background color when clicked on.")),kt=h("problemsErrorIcon.foreground",{dark:Y,light:Y,hc:Y},s.localize("vs/platform/theme/common/colorRegistry","problemsErrorIconForeground","The color used for the problems error icon.")),Tt=h("problemsWarningIcon.foreground",{dark:Z,light:Z,hc:Z},s.localize("vs/platform/theme/common/colorRegistry","problemsWarningIconForeground","The color used for the problems warning icon.")),It=h("problemsInfoIcon.foreground",{dark:te,light:te,hc:te},s.localize("vs/platform/theme/common/colorRegistry","problemsInfoIconForeground","The color used for the problems info icon."));function Dt(e,t){return n=>{let i=Ot(e,n);if(i)return i.darken(t)}}function Lt(e,t){return n=>{let i=Ot(e,n);if(i)return i.lighten(t)}}function Rt(e,t){return n=>{let i=Ot(e,n);if(i)return i.transparent(t)}}function Nt(...e){return t=>{for(let n of e){let e=Ot(n,t);if(e)return e}}}function Mt(e,t,n,i){return r=>{let s=Ot(e,r);if(s){let e=Ot(t,r);return e?s.isDarkerThan(e)?o.Color.getLighterColor(s,e,n).transparent(i):o.Color.getDarkerColor(s,e,n).transparent(i):s.transparent(n*i)}}}function Ot(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?o.Color.fromHex(e):t.getColor(e):e instanceof o.Color?e:"function"==typeof e?e(t):void 0}const Pt="vscode://schemas/workbench-colors";let Ft=i.Registry.as(a.Extensions.JSONContribution);Ft.registerSchema(Pt,d.getColorSchema());const zt=new l.RunOnceScheduler((()=>Ft.notifySchemaChanged(Pt)),200);d.onDidChangeSchema((()=>{zt.isScheduled()||zt.schedule()}))},87297:function(e,t,n){"use strict";n.r(t),n.d(t,{Extensions:function(){return d},registerIcon:function(){return u},getIconRegistry:function(){return p},iconsSchemaId:function(){return g},widgetClose:function(){return b}});var i=n(11484),o=n(84535),r=n(63801),s=n(89982),a=n(96309),l=n(66129),c=n(56087);const d={IconContribution:"base.contributions.icons"},h=new class{constructor(){this._onDidChange=new r.Emitter,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,s.localize)("vs/platform/theme/common/iconRegistry","iconDefintion.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:(0,s.localize)("vs/platform/theme/common/iconRegistry","iconDefintion.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.iconsById={}}registerIcon(e,t,n,i){const o=this.iconsById[e];if(o){if(n&&!o.description){o.description=n,this.iconSchema.properties[e].markdownDescription=`${n} $(${e})`;const t=this.iconReferenceSchema.enum.indexOf(e);-1!==t&&(this.iconReferenceSchema.enumDescriptions[t]=n),this._onDidChange.fire()}return o}let r={id:e,description:n,defaults:t,deprecationMessage:i};this.iconsById[e]=r;let s={$ref:"#/definitions/icons"};return i&&(s.deprecationMessage=i),n&&(s.markdownDescription=`${n}: $(${e})`),this.iconSchema.properties[e]=s,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(n||""),this._onDidChange.fire(),{id:e}}getIconSchema(){return this.iconSchema}getCSS(){const e=[];for(let t in this.iconsById){const n=this.formatRule(t);n&&e.push(n)}return e.join("\n")}formatRule(e){let t=this.iconsById[e].defaults;for(;o.ThemeIcon.isThemeIcon(t);){const e=this.iconsById[t.id];if(!e)return;t=e.defaults}return`.codicon-${e}:before { content: '${t.character}'; }`}toString(){const e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;o.ThemeIcon.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return`codicon codicon-${e?e.id:""}`};let n=[];n.push("| preview | identifier | default codicon id | description"),n.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const i=Object.keys(this.iconsById).map((e=>this.iconsById[e]));for(const r of i.filter((e=>!!e.description)).sort(e))n.push(`|<i class="${t(r)}"></i>|${r.id}|${o.ThemeIcon.isThemeIcon(r.defaults)?r.defaults.id:r.id}|${r.description||""}|`);n.push("| preview | identifier "),n.push("| ----------- | --------------------------------- |");for(const r of i.filter((e=>!o.ThemeIcon.isThemeIcon(e.defaults))).sort(e))n.push(`|<i class="${t(r)}"></i>|${r.id}|`);return n.join("\n")}};function u(e,t,n,i){return h.registerIcon(e,t,n,i)}function p(){return h}i.Registry.add(d.IconContribution,h),function(){for(const e of c.iconRegistry.all)h.registerIcon(e.id,e.definition,e.description);c.iconRegistry.onDidRegister((e=>h.registerIcon(e.id,e.definition,e.description)))}();const g="vscode://schemas/icons";let m=i.Registry.as(a.Extensions.JSONContribution);m.registerSchema(g,h.getIconSchema());const f=new l.RunOnceScheduler((()=>m.notifySchemaChanged(g)),200);h.onDidChange((()=>{f.isScheduled()||f.schedule()}));const b=u("widget-close",c.Codicon.close,(0,s.localize)("vs/platform/theme/common/iconRegistry","widgetClose","Icon for the close action in widgets."))},53503:function(e,t,n){"use strict";n.r(t),n.d(t,{computeStyles:function(){return o},attachStyler:function(){return r},attachBadgeStyler:function(){return s},attachListStyler:function(){return a},defaultListStyles:function(){return l},defaultMenuStyles:function(){return c},attachMenuStyler:function(){return d}});var i=n(16189);function o(e,t){const n=Object.create(null);for(let o in t){const r=t[o];r&&(n[o]=(0,i.resolveColorValue)(r,e))}return n}function r(e,t,n){function i(i){const r=o(e.getColorTheme(),t);"function"==typeof n?n(r):n.style(r)}return i(e.getColorTheme()),e.onDidColorThemeChange(i)}function s(e,t,n){return r(t,{badgeBackground:n&&n.badgeBackground||i.badgeBackground,badgeForeground:n&&n.badgeForeground||i.badgeForeground,badgeBorder:i.contrastBorder},e)}function a(e,t,n){return r(t,Object.assign(Object.assign({},l),n||{}),e)}const l={listFocusBackground:i.listFocusBackground,listFocusForeground:i.listFocusForeground,listActiveSelectionBackground:(0,i.darken)(i.listActiveSelectionBackground,.1),listActiveSelectionForeground:i.listActiveSelectionForeground,listFocusAndSelectionBackground:i.listActiveSelectionBackground,listFocusAndSelectionForeground:i.listActiveSelectionForeground,listInactiveSelectionBackground:i.listInactiveSelectionBackground,listInactiveSelectionForeground:i.listInactiveSelectionForeground,listInactiveFocusBackground:i.listInactiveFocusBackground,listHoverBackground:i.listHoverBackground,listHoverForeground:i.listHoverForeground,listDropBackground:i.listDropBackground,listFocusOutline:i.activeContrastBorder,listSelectionOutline:i.activeContrastBorder,listHoverOutline:i.activeContrastBorder,listFilterWidgetBackground:i.listFilterWidgetBackground,listFilterWidgetOutline:i.listFilterWidgetOutline,listFilterWidgetNoMatchesOutline:i.listFilterWidgetNoMatchesOutline,listMatchesShadow:i.widgetShadow,treeIndentGuidesStroke:i.treeIndentGuidesStroke},c={shadowColor:i.widgetShadow,borderColor:i.menuBorder,foregroundColor:i.menuForeground,backgroundColor:i.menuBackground,selectionForegroundColor:i.menuSelectionForeground,selectionBackgroundColor:i.menuSelectionBackground,selectionBorderColor:i.menuSelectionBorder,separatorColor:i.menuSeparatorBackground};function d(e,t,n){return r(t,Object.assign(Object.assign({},c),n),e)}},67761:function(e,t,n){"use strict";var i;n.r(t),n.d(t,{ColorScheme:function(){return i}}),function(e){e.DARK="dark",e.LIGHT="light",e.HIGH_CONTRAST="hc"}(i||(i={}))},84535:function(e,t,n){"use strict";n.r(t),n.d(t,{IThemeService:function(){return c},ThemeColor:function(){return d},themeColorFromId:function(){return u},ThemeIcon:function(){return h},getThemeTypeSelector:function(){return p},Extensions:function(){return g},registerThemingParticipant:function(){return f},Themable:function(){return b}});var i=n(68465),o=n(68921),r=n(11484),s=n(63801),a=n(67761),l=n(56087);const c=(0,i.createDecorator)("themeService");var d,h;function u(e){return{id:e}}function p(e){switch(e){case a.ColorScheme.DARK:return"vs-dark";case a.ColorScheme.HIGH_CONTRAST:return"hc-black";default:return"vs"}}!function(e){e.isThemeColor=function(e){return e&&"object"==typeof e&&"string"==typeof e.id}}(d||(d={})),function(e){e.isThemeIcon=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&(void 0===e.color||d.isThemeColor(e.color))};const t=/^\$\(([a-z.]+\/)?([a-z-~]+)\)$/i;e.fromString=function(e){const n=t.exec(e);if(!n)return;let[,i,o]=n;return i&&"codicon/"!==i?{id:i+o}:{id:o}},e.modify=function(e,t){let n=e.id;const i=n.lastIndexOf("~");return-1!==i&&(n=n.substring(0,i)),t&&(n=`${n}~${t}`),{id:n}},e.isEqual=function(e,t){var n,i;return e.id===t.id&&(null===(n=e.color)||void 0===n?void 0:n.id)===(null===(i=t.color)||void 0===i?void 0:i.id)},e.asClassNameArray=l.CSSIcon.asClassNameArray,e.asClassName=l.CSSIcon.asClassName,e.asCSSSelector=l.CSSIcon.asCSSSelector}(h||(h={}));const g={ThemingContribution:"base.contributions.theming"};let m=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new s.Emitter}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,o.toDisposable)((()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)}))}getThemingParticipants(){return this.themingParticipants}};function f(e){return m.onColorThemeChange(e)}r.Registry.add(g.ThemingContribution,m);class b extends o.Disposable{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange((e=>this.onThemeChange(e))))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},33461:function(e,t,n){"use strict";n.r(t),n.d(t,{IUndoRedoService:function(){return i},ResourceEditStackSnapshot:function(){return o},UndoRedoGroup:function(){return r},UndoRedoSource:function(){return s}});const i=(0,n(68465).createDecorator)("undoRedoService");class o{constructor(e,t){this.resource=e,this.elements=t}}class r{constructor(){this.id=r._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}r._ID=0,r.None=new r;class s{constructor(){this.id=s._ID++,this.order=1}nextOrder(){return 0===this.id?0:this.order++}}s._ID=0,s.None=new s},77576:function(e,t,n){"use strict";n.r(t),n.d(t,{UndoRedoService:function(){return C}});var i=n(89982),o=n(33461),r=n(12718),s=n(2011),a=n(65620),l=n(15051),c=n(27952),d=n(54303),h=n(68921),u=function(e,t){return function(n,i){t(n,i,e)}},p=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function g(e){return e.scheme===c.Schemas.file?e.fsPath:e.path}let m=0;class f{constructor(e,t,n,i,o,r,s){this.id=++m,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=n,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=i,this.groupOrder=o,this.sourceId=r,this.sourceOrder=s,this.isValid=!0}setValid(e){this.isValid=e}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class b{constructor(e,t){this.resourceLabel=e,this.reason=t}}class v{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,n]of this.elements)(0===n.reason?e:t).push(n.resourceLabel);let n=[];return e.length>0&&n.push(i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",e.join(", "))),t.length>0&&n.push(i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),n.join("\n")}get size(){return this.elements.size}has(e){return this.elements.has(e)}set(e,t){this.elements.set(e,t)}delete(e){return this.elements.delete(e)}}class _{constructor(e,t,n,i,o,r,s){this.id=++m,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=n,this.groupId=i,this.groupOrder=o,this.sourceId=r,this.sourceOrder=s,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(e,t,n){this.removedResources||(this.removedResources=new v),this.removedResources.has(t)||this.removedResources.set(t,new b(e,n))}setValid(e,t,n){n?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new v),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new b(e,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class w{constructor(e,t){this.resourceLabel=e,this.strResource=t,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const e of this._past)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let e=[];e.push(`* ${this.strResource}:`);for(let t=0;t<this._past.length;t++)e.push(` * [UNDO] ${this._past[t]}`);for(let t=this._future.length-1;t>=0;t--)e.push(` * [REDO] ${this._future[t]}`);return e.join("\n")}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(e,t){1===e.type?e.setValid(this.resourceLabel,this.strResource,t):e.setValid(t)}setElementsValidFlag(e,t){for(const n of this._past)t(n.actual)&&this._setElementValidFlag(n,e);for(const n of this._future)t(n.actual)&&this._setElementValidFlag(n,e)}pushElement(e){for(const e of this._future)1===e.type&&e.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(e),this.versionId++}createSnapshot(e){const t=[];for(let e=0,n=this._past.length;e<n;e++)t.push(this._past[e].id);for(let e=this._future.length-1;e>=0;e--)t.push(this._future[e].id);return new o.ResourceEditStackSnapshot(e,t)}restoreSnapshot(e){const t=e.elements.length;let n=!0,i=0,o=-1;for(let r=0,s=this._past.length;r<s;r++,i++){const s=this._past[r];n&&(i>=t||s.id!==e.elements[i])&&(n=!1,o=0),n||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}let r=-1;for(let o=this._future.length-1;o>=0;o--,i++){const s=this._future[o];n&&(i>=t||s.id!==e.elements[i])&&(n=!1,r=o),n||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}-1!==o&&(this._past=this._past.slice(0,o)),-1!==r&&(this._future=this._future.slice(r+1)),this.versionId++}getElements(){const e=[],t=[];for(const t of this._past)e.push(t.actual);for(const e of this._future)t.push(e.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(e,t){for(let n=this._past.length-1;n>=0;n--)if(this._past[n]===e){t.has(this.strResource)?this._past[n]=t.get(this.strResource):this._past.splice(n,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let n=this._future.length-1;n>=0;n--)if(this._future[n]===e){t.has(this.strResource)?this._future[n]=t.get(this.strResource):this._future.splice(n,1);break}this.versionId++}moveBackward(e){this._past.pop(),this._future.push(e),this.versionId++}moveForward(e){this._future.pop(),this._past.push(e),this.versionId++}}class y{constructor(e){this.editStacks=e,this._versionIds=[];for(let e=0,t=this.editStacks.length;e<t;e++)this._versionIds[e]=this.editStacks[e].versionId}isValid(){for(let e=0,t=this.editStacks.length;e<t;e++)if(this._versionIds[e]!==this.editStacks[e].versionId)return!1;return!0}}const A=new w("","");A.locked=!0;let C=class{constructor(e,t){this._dialogService=e,this._notificationService=t,this._editStacks=new Map,this._uriComparisonKeyComputers=[]}getUriComparisonKey(e){for(const t of this._uriComparisonKeyComputers)if(t[0]===e.scheme)return t[1].getComparisonKey(e);return e.toString()}_print(e){console.log("------------------------------------"),console.log(`AFTER ${e}: `);let t=[];for(const e of this._editStacks)t.push(e[1].toString());console.log(t.join("\n"))}pushElement(e,t=o.UndoRedoGroup.None,n=o.UndoRedoSource.None){if(0===e.type){const i=g(e.resource),o=this.getUriComparisonKey(e.resource);this._pushElement(new f(e,i,o,t.id,t.nextOrder(),n.id,n.nextOrder()))}else{const i=new Set,o=[],r=[];for(const t of e.resources){const e=g(t),n=this.getUriComparisonKey(t);i.has(n)||(i.add(n),o.push(e),r.push(n))}1===o.length?this._pushElement(new f(e,o[0],r[0],t.id,t.nextOrder(),n.id,n.nextOrder())):this._pushElement(new _(e,o,r,t.id,t.nextOrder(),n.id,n.nextOrder()))}}_pushElement(e){for(let t=0,n=e.strResources.length;t<n;t++){const n=e.resourceLabels[t],i=e.strResources[t];let o;this._editStacks.has(i)?o=this._editStacks.get(i):(o=new w(n,i),this._editStacks.set(i,o)),o.pushElement(e)}}getLastElement(e){const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);if(e.hasFutureElements())return null;const n=e.getClosestPastElement();return n?n.actual:null}return null}_splitPastWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const e of n){const t=g(e.resource),n=this.getUriComparisonKey(e.resource),o=new f(e,t,n,0,0,0,0);i.set(o.strResource,o)}for(const n of e.strResources)t&&t.has(n)||this._editStacks.get(n).splitPastWorkspaceElement(e,i)}_splitFutureWorkspaceElement(e,t){const n=e.actual.split(),i=new Map;for(const e of n){const t=g(e.resource),n=this.getUriComparisonKey(e.resource),o=new f(e,t,n,0,0,0,0);i.set(o.strResource,o)}for(const n of e.strResources)t&&t.has(n)||this._editStacks.get(n).splitFutureWorkspaceElement(e,i)}removeElements(e){const t="string"==typeof e?e:this.getUriComparisonKey(e);this._editStacks.has(t)&&(this._editStacks.get(t).dispose(),this._editStacks.delete(t))}setElementsValidFlag(e,t,n){const i=this.getUriComparisonKey(e);this._editStacks.has(i)&&this._editStacks.get(i).setElementsValidFlag(t,n)}createSnapshot(e){const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).createSnapshot(e):new o.ResourceEditStackSnapshot(e,[])}restoreSnapshot(e){const t=this.getUriComparisonKey(e.resource);if(this._editStacks.has(t)){const n=this._editStacks.get(t);n.restoreSnapshot(e),n.hasPastElements()||n.hasFutureElements()||(n.dispose(),this._editStacks.delete(t))}}getElements(e){const t=this.getUriComparisonKey(e);return this._editStacks.has(t)?this._editStacks.get(t).getElements():{past:[],future:[]}}_findClosestUndoElementWithSource(e){if(!e)return[null,null];let t=null,n=null;for(const[i,o]of this._editStacks){const r=o.getClosestPastElement();r&&r.sourceId===e&&(!t||r.sourceOrder>t.sourceOrder)&&(t=r,n=i)}return[t,n]}canUndo(e){if(e instanceof o.UndoRedoSource){const[,t]=this._findClosestUndoElementWithSource(e.id);return!!t}const t=this.getUriComparisonKey(e);return!!this._editStacks.has(t)&&this._editStacks.get(t).hasPastElements()}_onError(e,t){(0,r.onUnexpectedError)(e);for(const e of t.strResources)this.removeElements(e);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error("Cannot acquire edit stack lock");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,n,i,o){const r=this._acquireLocks(n);let s;try{s=t()}catch(t){return r(),i.dispose(),this._onError(t,e)}return s?s.then((()=>(r(),i.dispose(),o())),(t=>(r(),i.dispose(),this._onError(t,e)))):(r(),i.dispose(),o())}_invokeWorkspacePrepare(e){return p(this,void 0,void 0,(function*(){if(void 0===e.actual.prepareUndoRedo)return h.Disposable.None;const t=e.actual.prepareUndoRedo();return void 0===t?h.Disposable.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return t(h.Disposable.None);const n=e.actual.prepareUndoRedo();return n?(0,h.isDisposable)(n)?t(n):n.then((e=>t(e))):t(h.Disposable.None)}_getAffectedEditStacks(e){const t=[];for(const n of e.strResources)t.push(this._editStacks.get(n)||A);return new y(t)}_tryToSplitAndUndo(e,t,n,i){if(t.canSplit())return this._splitPastWorkspaceElement(t,n),this._notificationService.info(i),new S(this._undo(e,0,!0));for(const e of t.strResources)this.removeElements(e);return this._notificationService.info(i),new S}_checkWorkspaceUndo(e,t,n,o){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(o&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const r=[];for(const e of n.editStacks)e.getClosestPastElement()!==t&&r.push(e.resourceLabel);if(r.length>0)return this._tryToSplitAndUndo(e,t,null,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",t.label,r.join(", ")));const s=[];for(const e of n.editStacks)e.locked&&s.push(e.resourceLabel);return s.length>0?this._tryToSplitAndUndo(e,t,null,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,s.join(", "))):n.isValid()?null:this._tryToSplitAndUndo(e,t,null,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceUndo(e,t,n){const i=this._getAffectedEditStacks(t),o=this._checkWorkspaceUndo(e,t,i,!1);return o?o.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,i,n)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(const[,t]of this._editStacks){const n=t.getClosestPastElement();if(n){if(n===e){const n=t.getSecondClosestPastElement();if(n&&n.groupId===e.groupId)return!0}if(n.groupId===e.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(e,t,n,o){return p(this,void 0,void 0,(function*(){if(t.canSplit()&&!this._isPartOfUndoGroup(t)){const r=yield this._dialogService.show(l.default.Info,i.localize("vs/platform/undoRedo/common/undoRedoService","confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),[i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",n.editStacks.length),i.localize("vs/platform/undoRedo/common/undoRedoService","nok","Undo this File"),i.localize("vs/platform/undoRedo/common/undoRedoService","cancel","Cancel")],{cancelId:2});if(2===r.choice)return;if(1===r.choice)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);const s=this._checkWorkspaceUndo(e,t,n,!1);if(s)return s.returnValue;o=!0}let r;try{r=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const s=this._checkWorkspaceUndo(e,t,n,!0);if(s)return r.dispose(),s.returnValue;for(const e of n.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,(()=>t.actual.undo()),n,r,(()=>this._continueUndoInGroup(t.groupId,o)))}))}_resourceUndo(e,t,n){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,(i=>(e.moveBackward(t),this._safeInvokeWithLocks(t,(()=>t.actual.undo()),new y([e]),i,(()=>this._continueUndoInGroup(t.groupId,n))))));{const e=i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.info(e)}}else e.flushAllElements()}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,n=null;for(const[i,o]of this._editStacks){const r=o.getClosestPastElement();r&&r.groupId===e&&(!t||r.groupOrder>t.groupOrder)&&(t=r,n=i)}return[t,n]}_continueUndoInGroup(e,t){if(!e)return;const[,n]=this._findClosestUndoElementInGroup(e);return n?this._undo(n,0,t):void 0}undo(e){if(e instanceof o.UndoRedoSource){const[,t]=this._findClosestUndoElementWithSource(e.id);return t?this._undo(t,e.id,!1):void 0}return"string"==typeof e?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,n){if(!this._editStacks.has(e))return;const i=this._editStacks.get(e),o=i.getClosestPastElement();if(o){if(o.groupId){const[e,i]=this._findClosestUndoElementInGroup(o.groupId);if(o!==e&&i)return this._undo(i,t,n)}if((o.sourceId!==t||o.confirmBeforeUndo)&&!n)return this._confirmAndContinueUndo(e,t,o);try{return 1===o.type?this._workspaceUndo(e,o,n):this._resourceUndo(i,o,n)}finally{}}}_confirmAndContinueUndo(e,t,n){return p(this,void 0,void 0,(function*(){if(1!==(yield this._dialogService.show(l.default.Info,i.localize("vs/platform/undoRedo/common/undoRedoService","confirmDifferentSource","Would you like to undo '{0}'?",n.label),[i.localize("vs/platform/undoRedo/common/undoRedoService","confirmDifferentSource.ok","Undo"),i.localize("vs/platform/undoRedo/common/undoRedoService","cancel","Cancel")],{cancelId:1})).choice)return this._undo(e,t,!0)}))}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,n=null;for(const[i,o]of this._editStacks){const r=o.getClosestFutureElement();r&&r.sourceId===e&&(!t||r.sourceOrder<t.sourceOrder)&&(t=r,n=i)}return[t,n]}canRedo(e){if(e instanceof o.UndoRedoSource){const[,t]=this._findClosestRedoElementWithSource(e.id);return!!t}const t=this.getUriComparisonKey(e);return!!this._editStacks.has(t)&&this._editStacks.get(t).hasFutureElements()}_tryToSplitAndRedo(e,t,n,i){if(t.canSplit())return this._splitFutureWorkspaceElement(t,n),this._notificationService.info(i),new S(this._redo(e));for(const e of t.strResources)this.removeElements(e);return this._notificationService.info(i),new S}_checkWorkspaceRedo(e,t,n,o){if(t.removedResources)return this._tryToSplitAndRedo(e,t,t.removedResources,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(o&&t.invalidatedResources)return this._tryToSplitAndRedo(e,t,t.invalidatedResources,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceRedo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not redo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const r=[];for(const e of n.editStacks)e.getClosestFutureElement()!==t&&r.push(e.resourceLabel);if(r.length>0)return this._tryToSplitAndRedo(e,t,null,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",t.label,r.join(", ")));const s=[];for(const e of n.editStacks)e.locked&&s.push(e.resourceLabel);return s.length>0?this._tryToSplitAndRedo(e,t,null,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",t.label,s.join(", "))):n.isValid()?null:this._tryToSplitAndRedo(e,t,null,i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",t.label))}_workspaceRedo(e,t){const n=this._getAffectedEditStacks(t),i=this._checkWorkspaceRedo(e,t,n,!1);return i?i.returnValue:this._executeWorkspaceRedo(e,t,n)}_executeWorkspaceRedo(e,t,n){return p(this,void 0,void 0,(function*(){let i;try{i=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const o=this._checkWorkspaceRedo(e,t,n,!0);if(o)return i.dispose(),o.returnValue;for(const e of n.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,(()=>t.actual.redo()),n,i,(()=>this._continueRedoInGroup(t.groupId)))}))}_resourceRedo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,(n=>(e.moveForward(t),this._safeInvokeWithLocks(t,(()=>t.actual.redo()),new y([e]),n,(()=>this._continueRedoInGroup(t.groupId))))));{const e=i.localize("vs/platform/undoRedo/common/undoRedoService",{key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label);this._notificationService.info(e)}}else e.flushAllElements()}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,n=null;for(const[i,o]of this._editStacks){const r=o.getClosestFutureElement();r&&r.groupId===e&&(!t||r.groupOrder<t.groupOrder)&&(t=r,n=i)}return[t,n]}_continueRedoInGroup(e){if(!e)return;const[,t]=this._findClosestRedoElementInGroup(e);return t?this._redo(t):void 0}redo(e){if(e instanceof o.UndoRedoSource){const[,t]=this._findClosestRedoElementWithSource(e.id);return t?this._redo(t):void 0}return"string"==typeof e?this._redo(e):this._redo(this.getUriComparisonKey(e))}_redo(e){if(!this._editStacks.has(e))return;const t=this._editStacks.get(e),n=t.getClosestFutureElement();if(n){if(n.groupId){const[e,t]=this._findClosestRedoElementInGroup(n.groupId);if(n!==e&&t)return this._redo(t)}try{return 1===n.type?this._workspaceRedo(e,n):this._resourceRedo(t,n)}finally{}}}};C=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([u(0,a.IDialogService),u(1,d.INotificationService)],C);class S{constructor(e){this.returnValue=e}}(0,s.registerSingleton)(o.IUndoRedoService,C)},81522:function(e,t,n){"use strict";n.r(t),n.d(t,{IWorkspaceContextService:function(){return r},Workspace:function(){return s},WorkspaceFolder:function(){return a}});var i=n(68465),o=n(13833);const r=(0,i.createDecorator)("contextService");class s{constructor(e,t,n,i){this._id=e,this._configuration=n,this._ignorePathCasing=i,this._foldersMap=o.TernarySearchTree.forUris(this._ignorePathCasing),this.folders=t}get folders(){return this._folders}set folders(e){this._folders=e,this.updateFoldersMap()}get id(){return this._id}get configuration(){return this._configuration}set configuration(e){this._configuration=e}getFolder(e){return e&&this._foldersMap.findSubstr(e.with({scheme:e.scheme,authority:e.authority,path:e.path}))||null}updateFoldersMap(){this._foldersMap=o.TernarySearchTree.forUris(this._ignorePathCasing);for(const e of this.folders)this._foldersMap.set(e.uri,e)}toJSON(){return{id:this.id,folders:this.folders,configuration:this.configuration}}}class a{constructor(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}toJSON(){return{uri:this.uri,name:this.name,index:this.index}}}},59042:function(e,t,n){"use strict";var i=n(93379),o=n.n(i),r=n(97138);o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals},82833:function(e,t,n){"use strict";var i=n(93379),o=n.n(i),r=n(85220);o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals},67027:function(e,t,n){"use strict";var i=n(93379),o=n.n(i),r=n(94368);o()(r.Z,{insert:"head",singleton:!1}),r.Z.locals},93379:function(e,t,n){"use strict";var i,o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function s(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function a(e,t){for(var n={},i=[],o=0;o<e.length;o++){var a=e[o],l=t.base?a[0]+t.base:a[0],c=n[l]||0,d="".concat(l," ").concat(c);n[l]=c+1;var h=s(d),u={css:a[1],media:a[2],sourceMap:a[3]};-1!==h?(r[h].references++,r[h].updater(u)):r.push({identifier:d,updater:m(u,t),references:1}),i.push(d)}return i}function l(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var s=o(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function h(e,t,n,i){var o=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var r=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}function u(e,t,n){var i=n.css,o=n.media,r=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var p=null,g=0;function m(e,t){var n,i,o;if(t.singleton){var r=g++;n=p||(p=l(t)),i=h.bind(null,n,r,!1),o=h.bind(null,n,r,!0)}else n=l(t),i=u.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i));var n=a(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var o=s(n[i]);r[o].references--}for(var l=a(e,t),c=0;c<n.length;c++){var d=s(n[c]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}n=l}}}},61088:function(e,t){"use strict";t.Z="data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzJAhUmBAAABjAAAAFZjbWFw4iz+kAAAByQAABPqZ2x5ZoY94g4AAB20AADD9GhlYWQbZmYsAAAA4AAAADZoaGVhB9cFNAAAALwAAAAkaG10eByYAAAAAAHkAAAFQGxvY2GwyHvsAAAbEAAAAqJtYXhwAmsAxgAAARgAAAAgbmFtZSGpQYEAAOGoAAACCnBvc3S5mkj5AADjtAAAEZQAAQAAA+gAAAAAA+gAAP/7A+0AAQAAAAAAAAAAAAAAAAAAAVAAAQAAAAEAAC6x0m1fDzz1AAsD6AAAAADcLRCyAAAAANwtELIAAP/6A+0D6QAAAAgAAgAAAAAAAAABAAABUAC6ABEAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAED5QGQAAUAAAAPArwAAACMAA8CvAAAAeAAMQECAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOpg67YD6AAAAFoD6QAGAAAAAQAAAAAAAAAAAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAAAAAUAAAADAAAALAAAAAQAAAQaAAEAAAAAAxQAAwABAAAALAADAAoAAAQaAAQC6AAAAA4ACAACAAbqiOqM6sfqyetO67b//wAA6mDqiuqP6snqzOtQ//8AAAAAAAAAAAAAAAAAAQAOAF4AYgDSANIB1gAAAAMApwDwAO0AiQDfAS0AzwEKAL0BDgA5AUgA/wEHAQYAbwAnANgAZQCbALMAMAEsAFoADgFHAHkAZwDqAMkAwgDDATYAlgCCAI0BMAEZAGkBKgESASEBHwETASIBKQEkAR0AjwEYASYAAgAEAAUABgAHAAgACQAKAAsADAANABAAEQASABMAQABBAEIAQwBGAEcAFAAVABYAFwAYABsAHQAeAB8AIAAhACIAIwAkACUAJgAqACsALAAtAC4ALwAxADIANAA1ADYAOAA6ADsAPAA9AEoASwBMAE4AUwBVAFYAVwBYAFkAWwBcAF0AXgBfAGAAYQBiAGMAZABmAGgAagBtAG4AcQByAHMAdAB1AHYAdwB4AHoAewB8AH0AfgB/AIAAgQCDAIQAhQByAIYAhwCIAIoAiwCOAJAAkgCTAJUAlwCYAJkAmgCcAJ0AngCfAKAAoQCiAKMApACmAKgAqQCsAK8AsACxALIAtQC2ALcAuAC5ALwAvgC/AMAAwQDEAMUAxwDIAMsAzADQANQA1QDWANcA2QDaANsA3ADdAN4A4gDjAOQA5QDmAOcA6ADpAOsA7ADuAO8A8QDyAPMA9AD1APYA9wD5APoA+wD8AP0A/gECAQMBBAEFAQgBCQELAQwBDQEPARABFAEVARYBFwEaARsBHAEeASABIwElAScBLgEvATEBMgEzATQBNQE3ATgBOQE6ATsBPAE+AT8BQAFBAUIBQwFFAUYBSQFKAUsBTAFNAU4BTwCqAKsArQCuAEQARQBQAFEAUgBIASgATwBUAE0APwAZABoAugBrAHAAlAE9AAEADwBJAKUAygD4ASsA0gCMAQEBAADOAREA0wDgAD4BRAAzALsAbACRALQAxgDhABwA0QDNACgAKQA3AAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAA/QAAAAAAAAAVAAAOpgAADqYAAAAAMAAOphAADqYQAAAKcAAOpiAADqYgAAAPAAAOpjAADqYwAAAO0AAOpkAADqZAAAAIkAAOplAADqZQAAAN8AAOpmAADqZgAAAS0AAOpnAADqZwAAAM8AAOpoAADqaAAAAQoAAOppAADqaQAAAL0AAOpqAADqagAAAQ4AAOprAADqawAAADkAAOpsAADqbAAAAUgAAOptAADqbQAAAP8AAOpuAADqbgAAAQcAAOpvAADqbwAAAQYAAOpwAADqcAAAAG8AAOpxAADqcQAAACcAAOpyAADqcgAAANgAAOpzAADqcwAAAGUAAOp0AADqdAAAAJsAAOp1AADqdQAAALMAAOp2AADqdgAAADAAAOp3AADqdwAAASwAAOp4AADqeAAAAFoAAOp5AADqeQAAAA4AAOp6AADqegAAAUcAAOp7AADqewAAAHkAAOp8AADqfAAAAGcAAOp9AADqfQAAAOoAAOp+AADqfgAAAMkAAOp/AADqfwAAAMIAAOqAAADqgAAAAMMAAOqBAADqgQAAATYAAOqCAADqggAAAJYAAOqDAADqgwAAAIIAAOqEAADqhAAAAI0AAOqFAADqhQAAATAAAOqGAADqhgAAARkAAOqHAADqhwAAAGkAAOqIAADqiAAAASoAAOqKAADqigAAARIAAOqLAADqiwAAASEAAOqMAADqjAAAAR8AAOqPAADqjwAAARMAAOqQAADqkAAAASIAAOqRAADqkQAAASkAAOqSAADqkgAAASQAAOqTAADqkwAAAR0AAOqUAADqlAAAAI8AAOqVAADqlQAAARgAAOqWAADqlgAAASYAAOqXAADqlwAAAAIAAOqYAADqmAAAAAQAAOqZAADqmQAAAAUAAOqaAADqmgAAAAYAAOqbAADqmwAAAAcAAOqcAADqnAAAAAgAAOqdAADqnQAAAAkAAOqeAADqngAAAAoAAOqfAADqnwAAAAsAAOqgAADqoAAAAAwAAOqhAADqoQAAAA0AAOqiAADqogAAABAAAOqjAADqowAAABEAAOqkAADqpAAAABIAAOqlAADqpQAAABMAAOqmAADqpgAAAEAAAOqnAADqpwAAAEEAAOqoAADqqAAAAEIAAOqpAADqqQAAAEMAAOqqAADqqgAAAEYAAOqrAADqqwAAAEcAAOqsAADqrAAAABQAAOqtAADqrQAAABUAAOquAADqrgAAABYAAOqvAADqrwAAABcAAOqwAADqsAAAABgAAOqxAADqsQAAABsAAOqyAADqsgAAAB0AAOqzAADqswAAAB4AAOq0AADqtAAAAB8AAOq1AADqtQAAACAAAOq2AADqtgAAACEAAOq3AADqtwAAACIAAOq4AADquAAAACMAAOq5AADquQAAACQAAOq6AADqugAAACUAAOq7AADquwAAACYAAOq8AADqvAAAACoAAOq9AADqvQAAACsAAOq+AADqvgAAACwAAOq/AADqvwAAAC0AAOrAAADqwAAAAC4AAOrBAADqwQAAAC8AAOrCAADqwgAAADEAAOrDAADqwwAAADIAAOrEAADqxAAAADQAAOrFAADqxQAAADUAAOrGAADqxgAAADYAAOrHAADqxwAAADgAAOrJAADqyQAAADoAAOrMAADqzAAAADsAAOrNAADqzQAAADwAAOrOAADqzgAAAD0AAOrPAADqzwAAAEoAAOrQAADq0AAAAEsAAOrRAADq0QAAAEwAAOrSAADq0gAAAE4AAOrTAADq0wAAAFMAAOrUAADq1AAAAFUAAOrVAADq1QAAAFYAAOrWAADq1gAAAFcAAOrXAADq1wAAAFgAAOrYAADq2AAAAFkAAOrZAADq2QAAAFsAAOraAADq2gAAAFwAAOrbAADq2wAAAF0AAOrcAADq3AAAAF4AAOrdAADq3QAAAF8AAOreAADq3gAAAGAAAOrfAADq3wAAAGEAAOrgAADq4AAAAGIAAOrhAADq4QAAAGMAAOriAADq4gAAAGQAAOrjAADq4wAAAGYAAOrkAADq5AAAAGgAAOrlAADq5QAAAGoAAOrmAADq5gAAAG0AAOrnAADq5wAAAG4AAOroAADq6AAAAHEAAOrpAADq6QAAAHIAAOrqAADq6gAAAHMAAOrrAADq6wAAAHQAAOrsAADq7AAAAHUAAOrtAADq7QAAAHYAAOruAADq7gAAAHcAAOrvAADq7wAAAHgAAOrwAADq8AAAAHoAAOrxAADq8QAAAHsAAOryAADq8gAAAHwAAOrzAADq8wAAAH0AAOr0AADq9AAAAH4AAOr1AADq9QAAAH8AAOr2AADq9gAAAIAAAOr3AADq9wAAAIEAAOr4AADq+AAAAIMAAOr5AADq+QAAAIQAAOr6AADq+gAAAIUAAOr7AADq+wAAAHIAAOr8AADq/AAAAIYAAOr9AADq/QAAAIcAAOr+AADq/gAAAIgAAOr/AADq/wAAAIoAAOsAAADrAAAAAIsAAOsBAADrAQAAAI4AAOsCAADrAgAAAJAAAOsDAADrAwAAAJIAAOsEAADrBAAAAJMAAOsFAADrBQAAAJUAAOsGAADrBgAAAJcAAOsHAADrBwAAAJgAAOsIAADrCAAAAJkAAOsJAADrCQAAAJoAAOsKAADrCgAAAJwAAOsLAADrCwAAAJ0AAOsMAADrDAAAAJ4AAOsNAADrDQAAAJ8AAOsOAADrDgAAAKAAAOsPAADrDwAAAKEAAOsQAADrEAAAAKIAAOsRAADrEQAAAKMAAOsSAADrEgAAAKQAAOsTAADrEwAAAKYAAOsUAADrFAAAAKgAAOsVAADrFQAAAKkAAOsWAADrFgAAAKwAAOsXAADrFwAAAK8AAOsYAADrGAAAALAAAOsZAADrGQAAALEAAOsaAADrGgAAALIAAOsbAADrGwAAALUAAOscAADrHAAAALYAAOsdAADrHQAAALcAAOseAADrHgAAALgAAOsfAADrHwAAALkAAOsgAADrIAAAALwAAOshAADrIQAAAL4AAOsiAADrIgAAAL8AAOsjAADrIwAAAMAAAOskAADrJAAAAMEAAOslAADrJQAAAMQAAOsmAADrJgAAAMUAAOsnAADrJwAAAMcAAOsoAADrKAAAAMgAAOspAADrKQAAAMsAAOsqAADrKgAAAMwAAOsrAADrKwAAANAAAOssAADrLAAAANQAAOstAADrLQAAANUAAOsuAADrLgAAANYAAOsvAADrLwAAANcAAOswAADrMAAAANkAAOsxAADrMQAAANoAAOsyAADrMgAAANsAAOszAADrMwAAANwAAOs0AADrNAAAAN0AAOs1AADrNQAAAN4AAOs2AADrNgAAAOIAAOs3AADrNwAAAOMAAOs4AADrOAAAAOQAAOs5AADrOQAAAOUAAOs6AADrOgAAAOYAAOs7AADrOwAAAOcAAOs8AADrPAAAAOgAAOs9AADrPQAAAOkAAOs+AADrPgAAAOsAAOs/AADrPwAAAOwAAOtAAADrQAAAAO4AAOtBAADrQQAAAO8AAOtCAADrQgAAAPEAAOtDAADrQwAAAPIAAOtEAADrRAAAAPMAAOtFAADrRQAAAPQAAOtGAADrRgAAAPUAAOtHAADrRwAAAPYAAOtIAADrSAAAAPcAAOtJAADrSQAAAPkAAOtKAADrSgAAAPoAAOtLAADrSwAAAPsAAOtMAADrTAAAAPwAAOtNAADrTQAAAP0AAOtOAADrTgAAAP4AAOtQAADrUAAAAQIAAOtRAADrUQAAAQMAAOtSAADrUgAAAQQAAOtTAADrUwAAAQUAAOtUAADrVAAAAQgAAOtVAADrVQAAAQkAAOtWAADrVgAAAQsAAOtXAADrVwAAAQwAAOtYAADrWAAAAQ0AAOtZAADrWQAAAQ8AAOtaAADrWgAAARAAAOtbAADrWwAAARQAAOtcAADrXAAAARUAAOtdAADrXQAAARYAAOteAADrXgAAARcAAOtfAADrXwAAARoAAOtgAADrYAAAARsAAOthAADrYQAAARwAAOtiAADrYgAAAR4AAOtjAADrYwAAASAAAOtkAADrZAAAASMAAOtlAADrZQAAASUAAOtmAADrZgAAAScAAOtnAADrZwAAAS4AAOtoAADraAAAAS8AAOtpAADraQAAATEAAOtqAADragAAATIAAOtrAADrawAAATMAAOtsAADrbAAAATQAAOttAADrbQAAATUAAOtuAADrbgAAATcAAOtvAADrbwAAATgAAOtwAADrcAAAATkAAOtxAADrcQAAAToAAOtyAADrcgAAATsAAOtzAADrcwAAATwAAOt0AADrdAAAAT4AAOt1AADrdQAAAT8AAOt2AADrdgAAAUAAAOt3AADrdwAAAUEAAOt4AADreAAAAUIAAOt5AADreQAAAUMAAOt6AADregAAAUUAAOt7AADrewAAAUYAAOt8AADrfAAAAUkAAOt9AADrfQAAAUoAAOt+AADrfgAAAUsAAOt/AADrfwAAAUwAAOuAAADrgAAAAU0AAOuBAADrgQAAAU4AAOuCAADrggAAAU8AAOuDAADrgwAAAKoAAOuEAADrhAAAAKsAAOuFAADrhQAAAK0AAOuGAADrhgAAAK4AAOuHAADrhwAAAEQAAOuIAADriAAAAEUAAOuJAADriQAAAFAAAOuKAADrigAAAFEAAOuLAADriwAAAFIAAOuMAADrjAAAAEgAAOuNAADrjQAAASgAAOuOAADrjgAAAE8AAOuPAADrjwAAAFQAAOuQAADrkAAAAE0AAOuRAADrkQAAAD8AAOuSAADrkgAAABkAAOuTAADrkwAAABoAAOuUAADrlAAAALoAAOuVAADrlQAAAGsAAOuWAADrlgAAAHAAAOuXAADrlwAAAJQAAOuYAADrmAAAAT0AAOuZAADrmQAAAAEAAOuaAADrmgAAAA8AAOubAADrmwAAAEkAAOucAADrnAAAAKUAAOudAADrnQAAAMoAAOueAADrngAAAPgAAOufAADrnwAAASsAAOugAADroAAAANIAAOuhAADroQAAAIwAAOuiAADrogAAAQEAAOujAADrowAAAQAAAOukAADrpAAAAM4AAOulAADrpQAAAREAAOumAADrpgAAANMAAOunAADrpwAAAOAAAOuoAADrqAAAAD4AAOupAADrqQAAAUQAAOuqAADrqgAAADMAAOurAADrqwAAALsAAOusAADrrAAAAGwAAOutAADrrQAAAJEAAOuuAADrrgAAALQAAOuvAADrrwAAAMYAAOuwAADrsAAAAOEAAOuxAADrsQAAABwAAOuyAADrsgAAANEAAOuzAADrswAAAM0AAOu0AADrtAAAACgAAOu1AADrtQAAACkAAOu2AADrtgAAADcAAAAAAAAAwgESASoBXAF8AZYBsAHMAeIB+AIOAiQCPgJ2AvYDUAOCA94EAAREBN4FAAV6BfQGyAemCA4IPghUCKIIuAjOCOYI/gkgCTYJRAloCZYJxAosCloKpAsiC1gLsgvyDAwMcgzYDTQNWg2ODcYOKA5oDpAOwg7QD14PzBAuEJQQzBDyEQwRHhEwET4RVhFmEYwSFBIuEqQSuhMIE0ATWhOQE6oTzhPiFCIUTBR4FLoU0BVmFZwVyBYmFkgWchaYFsYW6BcOF0YXeheiF9IYAhgwGKAZKhlkGYAZxhoqGnga6BtIG4Yb4BxaHKoc/h1GHbId2B4MHi4evB7gHwQfJh98H7Yf7CBmIRQhaCGyIj4i1iOCI8YkfiUYJd4mcCa2JsonGidkJ4wn0ig8KH4osCj+KWQpminyKk4qoirwKyQrfCw+LHQs5i1ULZgt+i4+Lmgu1i7yLxIvwi/eMAYwPjCqMM4xKjFgMb4x6jIQMjoybjLiMvwzWDOIM840FDRWNJA0xjT2NTg1gDWwNfA2fjbWN9o4GjhWOMY4+DliOcY6HjqcOvI7WjtuO6Q77jwuPEo8ejyePSI9Zj36PmA+yj84P2w/4EAgQEhAqEDKQNhBrEIoQlBC2EMsQ6ZEFERuRMpE/kU6RZ5GCEZwRqpG1Eb2RzZHhEeuR+ZIJEiOSNJJGEmqShpKmErkS2pLrEvuTFpMpk0mTUpNbE5+TrxO2E8ET2ZPik/AUApQwFDqUSxRdFGcUdBR+FI2UvxTOlNwU7xUflSqVTpVeFXwVhxWWlbeVxxXZlesV/RYRlhwWMBY6FkaWTZZmFn4Wq5a8FsCWxRbJls4W6Jb6lxCXHZczF1UXaZd3F4gXoBezF8eX0RfaF+oX9xgXmCAYVhhrGH6AAAABAAA//8D6APoACIAOQBLAIMAAAE0JyYnJiAHBgcGFRQXFh8BFjEWFxYfAR4BMjY/ATI1Njc2ASInJic2NzU+BDMyFhcWFxYXDgEDJjQ+ATc2Mh4CFA4CIi4BATQ1Jy4BJyYnNjc2NzYnNC4CIg4CFRQXFhcWFxYXBgcOAQcGFSYnJjU0NzY3NjIXFhcWFRQGA+hEQ3F0/vB0cUNEMC5TAQESCgMHBD6Plo8+KwFRLjD+DEVBPjcBBAkiLjdDIzNfJSIUCgU3gd0NGywfHUY8LBsaLj1DPS4BxAEPOCgeIxANFhEiASRCVmBXQCQJCRAMGw0RIx4nOQ8BPSEiPDpjZu5mYzo8QgH1h3VxQkREQnF1h3BlYkYBAQ4HAgUEKiwsKiABR2Jl/roVFSYIDwEgOywiEiYjIy4bHicpAc4fRDwsDg0bLDxGOi4aGi3+0wEBAy9SHhYQCg4WGzdBMFdAJSVBVzAhHSEZFxoOChAXHlEvAgM9TlBYd2ZjOjw8OmNmdlefAAIAAAAAA6wDqgAbADAAAAEWDgEHJic+Ay4CDgEHJic+Ajc2HgIHBSIHBgcGFBcWFxYyNzY3NjQnJicmA6oCQXRHAQw3WzUBOGBzZUAGHiAJUHpGOGhPKwH9r01BQCUnJyVAQZlCPyYmJiY/QgKQR31PBiAeBj1gcmI8BTNeOQsCRXJBAQErT2g4HyYmP0KZQUAlJyclQEGZQj8mJgAAAAABAAAAAANrA6oACwAAARUhESMRITUhETMRA2v+iT7+iQF3PgIzP/6JAXc/AXf+iQAEAAAAAAOqA6oADQASABYAGgAAASEHFRczERchNxEzNzUHITUhFQERIREDIRUhA4r81B8fHx8CsB8fIF79MQLu/VECcX3+iQF3A6ogux/97B8fAhQfu5x9ff3OAfT+DAF3PwAAAQAAAAADjwKnAA8AABMXByc1NxcHISc3FxUHJze8hi27uy2GAnGHLbu7LYcBtocsvCy7LIaGLLssvCyHAAAAAAEAAAAAA2IDawAJAAATATMBJwERIxEBxQE4LAE5LP79P/79Abb+xwE5LP79Aoz9dAEDAAABAAAAAANrAycACQAACQEVATcBITUhAQG2/scBOSz+/QKM/XQBAwMn/scs/sgsAQM+AQQAAQAAAAADawMiAAoAACUBNQEHASEVIQEXAjMBOP7ILQED/XQCjf78LIQBOSwBOCz+/T/+/SwAAAABAAAAAAKdAu4ACQAAAQcjJzcXETMRNwKdnCycK2c/ZwHMnJwsZgFc/qRnAAEAAAAAArkCsAAJAAABJzU3FwchFSEXAZacnC1nAVz+pGcBS50rnSxnP2cAAQAAAAACuQKwAAkAAAEXFQcnNyE1IScCHJycLGb+pAFcZwKwnSudLGc/ZwABAAAAAAKdAu4ACQAAATczFwcnESMRBwE5nCycLGc/ZwJSnJwtZ/6kAVxnAAEAAAAAA2IDawAJAAAJASMBFwERMxEBA2L+xyz+yCwBAz8BAwIzATj+yC0BA/10Ao3+/AADAAAAAANsA6oAFQAcACAAACUDNTM1IzUFFTMVAwYeAjMhMj4CATcRNxEXIQc3IRcDZPM/P/7IPvMIAhEcEQJxEBwRAv5DB315/pCAYAGwYZkB2Po+AQE+9/4kDiAcEBAcIAHODQEEAf736vu8uwAAAwAAAAADqgOqAD0ASABVAAABFh8BByMUDgIiJyYnLgE1Iyc3Njc2PQE0NzY3Njc2NzYzBgciBwYHBgcOAQcGHQEUBwYPASEnJi8BMjM2ATI+AjUjFB4CARQOAS4CPgIyHgEDLQoPJR/bEyUtMRcaDRMT2x8mDAUIGQ0TERoqRi81DBkNBwwMLykTIgkTCAQNGQJYGQsMAhcLEP7UChkSCn0JEhkBwDNWZlYzATJWZlYzAbw/K2srGC4kEwkKEhIuGCtrMhkpIYpLMh8bFxkrFBMTMgICCQkpDiwXLzWJJi8cOEVFIUcPAv7FChIVDg4VEgoCcTNWMwEyVmZWMzNWAAMAAAAAA2kDrwAeACYAOwAAASY9ATYuAicmDgIHFRQPARczFB4CMj4CNTM3BQYiJjUzFgclNzY9ATQ2Nz4BFx4DBxUUHwEhA0QYASlOaTtDfWI1ARglHtsTIy4xLyIU2x7+thI0JX0BE/6nFxwsJihlNDBTPyABHBf9pgFTSUx9O3BZOAcHKll5QopMSG4qGC4jExMjLhgqVhMlGhoTa0ZSVoo1YSMkIQYGLUlZMH5XUUUAAAMAAAAAAu8DLQAOABYAHwAAJREzMhYVFAYHHgEVFAYjAxUzMjY1NCMnMzI2NTQmKwEBOdJoajMtND1wZ4qMO0V+joA4Qz4/frwCcVVSLEMTDk83VGABJOE7NXFCNi40LwAAAAAJAAAAAAOqA2sAEAAXAB4AIgAmACoALgAyADYAAAEhDwEvASEHERchFzM3ITcRAS8BIREhFwEhDwERNyEFIxUzFSMVMyczFSMlIxUzBzMVIxUzFSMDiv6pFikpFf6oHx8BSjYsNgFKIP4rCxT+xwErLwGU/sgWCSwBK/4Mu7u7u7u7uwJxvLy8vLy8vANrCSgoCR/9jx82Nh8Ccf2aCwkCMy/9/AkJAhksfT+7P7w/vD8+Pz4/AAAAAgAAAAADLQOqAAgADgAAASEHERcJATcRAycjBxEhAw39zh82AQIBAjc/4y7jAfQDqiD81BUBH/7hFQMs/SX8/AK8AAAFAAAAAAOqA2sADQARABsAHwApAAABIzUnIQcVIwcRFyE3ESUzFSMFFQc1JyMHFSc1BRUjNQURFxUXMzc1NxEDitog/sgf2x8fAywg/c36+gH0+h+7IPoBtn3+x/ofvB/6Au5eHx9eH/4MHx8B9F4/PjCMHyAgH48tvD4++gFBjxYfHxSO/sIABAAAAAADbAOqACkARwBjAG0AAAE+ATMyFxYXFhUUDgEHNTc2PQE+Ai4DDgMeARcVFBYXFS4CNgEGIxUUBicjMiMxJicmPQEiJj0BNDY7ATIWHQEUBxMUBxYdAT4CJicuAQ4CFhc1NDcmPgIeARUnDgEiJj4BMhYVASQuajhmV1UyMz5ySgMbOU8eF0hrfX5nQxMgTTgPD2SFGlgBfQkMEgxDAQMPBAkMEiUaPRolCVEcEiEkAiMgK3Z3Vh0jLRIdBEFlZD5mASQ0JQEkNCUDah8gMzJUWGVPjmsaAwMbJgkgaYCBbEYXHEptf3xlIAkTJA0DJKbTwf3UCZ0NEgEEBAkNnRIMfholJRp+DAkBMDIqHiMGH1NbVCEsISBYd3YpBSQeLGpTHyJXNQEaJSUzJSUaAAADAAAAAAOqA6oABwALAA8AABMhFxEHIScRFxEhESUhNSFeAywgIPzUHz4C7v0SAu79EgOqIP0SHx8C7tr+DAH0Pn0AAAMAAAAAA6UDqgA3AEEAUwAAATU0LgEiDgEdASMnBxcHBhUUHwEjFTMVFh8BBxc3Fx4BMjY/ARc3Jzc2PwEzNSM3NjU0LwE3JwchNTQ+ATIeAR0BHwEWFRQHDgIiLgEnJjU0PwECqDFVYVUxNGglZQEgAQGBhxAsAnoldAQpaHJmKQR3JXwCLRABiIIBASACYyVo/pYjPUU9I18CHBYVSVthW0kVFhwCAs8kMVUxMVUxJGglZQNWWxISAzQCWEcDeyV1BC80Mi4EeCV+A0haAjQDEhJdVgNiJWckIzwjIzwjJDUDSlRJQ0BfMjJfQENJVEoDAAARAAAAAAOqA6oADwATABcAGwAfACMAJwArAC8AMwA3ADsAPwBDAEcASwBPAAABIzUjFSE1IxUjBxEXITcRAyERITUhNSEBIxUzBzMVIxcjFTMTMxUjFyMVMwczFSMTIxUzFzMVIxcjFTMHMxUjEyMVMxczFSMXIxUzAzMVIwOKXT/+DD5eHx8DLCA//RIC7v0SAu79jz4+Pj4+Pj4+fT8/Pz8/Pz8/Pz8/fT4+Pj4+Pj4+Pj4+fT8/Pz8/Pz8/A2s/Pz8/H/0SHx8C7v0xAjM+P/7HPj8+Pz4BOD4/Pj8+AbU+Pz4/Pj8+AbU+Pz4/PgE4PgAAAwAAAAADqgOqAEQAhwCQAAABLgEHDgQmLwEmJyYnJjUmNj8BPgI1NCcmJy4CIyIHDgIHBhcUHgUXFhc2Nz4CNzY3LgMvASYnJgMGJyYnJicmJy4BJyYnJjU0Nz4BPwE2MzIWFxYXHgEVFg8BDgMVHgEfAR4CNzY/AT4BMzIeBBUUBwYHDgETATMVIREzFQEDEBIlEQ4ZFBEUGQiHJyUNCwkBDQoVCxMMHBIPEiktGSgdGiUbBgcBIThRX2tuOTY3IB8aLCgZHAECChYYDhsMCw4pGBowLjQvalUrShwaEA8GBRYPJAoPBhkNHxoLEAEIEAkWEw0BDw3pDiQlEB0UEwkSCwcXHB8YDwoTEQ4inf7ezf7IPgEjAaEHAQcHEhcSDgIJgiYpDw8NBgsQCxMLFx4TKB0RExUlGxwaJi0aHyA0b25rYFE6ERABAQYGGyYZHSgQIRwbDRcLCw7+6AYBAQ4QGjpVLF40MDUvMRkZFCAQIwoRCxkfDhgGCwgTChIaHxEUIw7pDg8BCA0XFQkNEBcfHRcHDgoTEQ4XAvb+3T4BOM0BIgAAAAMAAAAAA6oDqgAJAFAAlQAACQEjNSERIzUBJxcyFxYfAR4DFwYHDgIHBiciJyYnJicuAScmJyYnJic+Ajc2NzYXNh4CFxYVFg4EFxQXFhcWHwEeAT4DNzYDMj4CNzY1NCcmJy4BJyYnJiMiBg8BDgIiJi8BLgI+Aj8BNic0JicuAScuAQciDwEOAQcGFRQXFhceARcWFxYXFgIdASLOATk//t4szigdCg0bDhgWCwEBHBknLBsfIDc2OjY5NDVeKSceHBEQAQEMGhQRGx0oGC4qIhAcAQ0TFhIPAQkLDSUnhwgZExMTGQ4REh4oIR4VCggJCg0dDwwNDAcLEgkTChgfJSQO6Q0PAQ0TFgkRBwERCwwcEAwaBg8KJA4XBQYPEBobSytVai80LgJJASI//sfO/t0soBwKCxgNGx0gECgdGSUbBwcBEBIcHigoYDUzOjU6NDclNCsVExodAQEbJykPHSgSHxgUEhILBg0PDykmggkCDhIXEgcH/tQLFh8UCg4HDA0NDx0MCwkIDQkVCxMNDw7pDiMnHRoSCxIICwYaDA8dDAsSAQojDyITGRkvMTUwM18sVToaEA4AAAQAAAAAA5sDLQAHABAAMwBFAAABFzMDIwMzNxMfASM/AzMBFTM1NCYjIgcGBwYHFT4BMzIeAhUHDgMUHgIzMjY3JzY/ARUUDgIjIi4CNDY3NgHUOETKQMlENXUDUrZSAgMDAgH4PENCEhQiIQsKGT8iER0VC3EhLR8PDx4tHSY7E4QRGVwPHCcWERoTCgcKCwGykwIO/fKTASAJ398JCRL+bTrzREkEBg4FBz0VGAoXJBoQBBQgKy4oHREjIW0GAw0mFycfEQoRFxsZCQoAAAAEAAAAAAPRAy0ABgAKAAwAEwAACQEnAzcXCQInAQcXBxcHJwM3FwPQ/hgtwS+sAc/+IAESLP74PyOIIjItwS+sAwf9wAIBEyH0AiT+lwFDJv7HSjBHMTsCARMh9AAAAAABAAAAAAOGA0EABgAACQEnAzcTAQOG/e8y0TO6AfcDGP2PAwEqJP73AlIAAAgAAAAAA6kDawAGAAoADgASABYAHQAkACsAABMjJzcXNx8BIRUhFSEVIQUhFSEFIRUhAzM3JwcnBxcjJzcXNxcDMzcnBycH6ixBLCxYLFwB9P4MAfT+DAH0/gwB9P4MAfT+DPcsbyxYLCxtLEEsLFgsmyxvLFgsLALQQisqWCwSP30+fT99PgFZbixYKyz+QS0rWCz+1W8sWCssAAEAAAAAAyoCgwAGAAAJARcBIwE3AfMBECf+3Cf+3SYBcwEQJ/7dASMnAAAAAQAAAAACgwMtAAYAAAkBBwE1ARcBcwEQJ/7dASMnAfb+7ycBJCcBJCcAAAABAAAAAAKwAyoABwAACQE3ARUBJwECdv7vJwEk/twnAREB8wEQJ/7cJ/7dJgEQAAABAAAAAAMtArAABwAACQEnATMBBwEB9f7wJwEkJwEkJ/7wAnb+7ycBJP7cJwERAAABAAAAAANJA0kACwAACQEXCQE3CQEnCQEHAb3+4zcBHQEdN/7jAR03/uP+4zcB9P7jNwEd/uM3AR0BHTf+4wEdNwAAAAIAAAAAAy0DLQADAAcAABMRIREDIREhvAJxP/4MAfQDLf2PAnH9zQH0AAAAAQAAAAADawH0AAMAAAEVITUDa/1RAfQ+PgAAAAMAAAAAA2sDLQADAAcAEQAAExEhEQMhESElMzUhESMVMxEhvAIyPv5KAbb+iT4Btj99/c4CsP3NAjP+DAG1Pz7+Sz8CMwAAAAEAAAAAAu4C7wAZAAABMhceARcWFAcOAQcGIicuAScmNDY3Njc+AQH0IiBAXRIJCRFeQCBEIEBdEgkSECE5HEAC7gkSXUAfRSBAXRIJCRJdQCBEQBw4IhASAAAAAQAAAAADqgOqABoAAAEyFx4BFxYUBgcGBw4BIi4EPgE3Njc+AQH0Ozlwox8QHx07YzFwdnBiUDofAR4dO2IycAOqEB+jcDh4bzJiOx0fHzpQYnB3bzFjOx0fAAACAAAAAAOqA6oAKgBEAAABJiIPAQYHBgcxDgEUFxYXHgIyNjcxNjc2PwE2NC8BJicxJi8BJicxJicBBgcOASIuBD4BNzY3PgEyFx4BFxYUBgJXMGYwAS8qVTIZGg0bRiJUYGdfKlUyGQwBDQ0BDBkZIgEiKSovARY7YzFwdnBiUDofAR4dO2IycHY5cKMfEB8DXg0NAQ0YMlUrX2cvYEYiMhobGDJVKi8BMGcvAS8qKSIBIhkZDP26YjsdHx86UGJwd28xYzsdHxAfo3A4eG8AAwAAAAAC7gLuAAwAGQAaAAAlMj4BNC4BIg4BFB4BNxQOASIuATQ+ATIeAScB9ERzQ0NziHNDQ3PnLEtYSywsS1hLLKP6Q3OIc0NDc4hzQ/osSywsS1hLLCxLgAADAAAAAAOqA6oAFQAgACsAAAEyFxYXFhQHBgcGIicmJyY0NzY3NjMBFBYXAS4BDgMFNCYnAR4BPgMB9HdmYzo7OzpjZu5mYzo7OzpjZnf+iS4rAhA3iI+EYjUC7i4r/fA3iI+EYjUDqjw6Y2buZmM6Ozs6Y2buZmM6O/5LQn0zAhAvLQc9aYVIQn0z/fAvLQc9aYUABQAAAAADqgOqAAcAOQBCAEsAVAAAASEHERchNxEDITUzHgEyPgE0LgEiDgEVIxUjETMVDgEUHgEyPgE1MxQeATI+ATQuASIGByMuASM1IQE0NjIWFAYiJgMyFhQGIiY0NiEyFhQGIiY0NgOK/NQfHwMsID/9zo8OO0M6IiI6QzohvH19HCIhOkM6In0hOkM6IiI6QzsOog47IQIy/okiOSIiOSK7HCIiOSIiAZQcIiI5IiIDqiD81B8fAyz8830cIiE6QzoiIjohvALukA47QzkiIjkiIjkiIjlEOSIjGxsjff3OHCIiOSIiAZQjOCIiOCMjOCIiOCMAAAAABQAAAAADqgMtAAsADwATABgAHAAAJRc3FzcnNycHJwcXASE1IRUhNSEFNSEVIRU1IRUCcSxkZDJqajJkZCxk/WoDa/yVA2v8lQH0/gwB9P4M1SxkZCxkZDJrazJkAbU/+j7bID+7Pj4AAAAABAAAAAADnQOqABgAJQAvADkAACUjESEVMzUnIzUjNC4BIg4BFSMVIwcRFzMRPgIeAg4BLgI3AQcRIxEnBxczNwEzFwcnESMRBycBtrwB9D8gXT8iOUQ5IkJaHx/bAxsmIxUCEiAkHQ4CAbtDP0MteS14/mIseSxEPkQsfgIyfZwgPiI5IiI5Ij4g/Y8fAvoUGwcOHyQfEQIWIRL9sUQBTv6zQyx5eQEweC1E/rIBTkQtAAAABAAAAAADawNrAAsAGQAgACQAAAEnBycHFwcXNxc3JwM3IRcRByMVByEnETc7AhcVMxEhFyERIQIbLFlYLFhYLFhZLFmJPgG2Pj59P/5LPz99Pvo/ff5K+v5LAbUB7yxZWSxZWCxYWCxYAZc+Pv5KPn0/PwG1Pz/6Aba8/ksAAAABAAAAAAMFAwUACwAAARc3JzcnBycHFwcXAfTkLOTkLOTkLOTkLAHI5Czk5Czk5Czk5CwAAgAAAAADsAM0ADcAQQAAATMyFhceAQYHDgEjNT4CNC4BJyMnLgIGDwEnJiMiBgcOAR4BOwEVIyImJy4BPgE3Nhc+AR4BARcRMxE3FwcjJwLrAyZEGyQZGSQbRCYhNyAgNyE5BwhKZ1sVFDMREh86FiESJE4wHx8vViAnGCZaOi4uHX+QaP7CUj5QLYcshgJxHRokYWAkGh0/ASI5QTkiAjU0Sg40MC8LBRgWIV1YND8mIyx0cE4LCAtDSBRn/nhSAVT+rlAshoYAAAAAAgAAAAADsAM0ADkAQwAAATMyFhceAQYHDgErATUzPgI0LgEnIycuAgYPAScmIyIGBw4BHgE7ARUjIiYnLgE3PgIXPgEeAQMnESMRByc3MxcC6wMmRBskGRkkG0QmfHwhNyAgNyE5BwhKZ1sVFDMREh86FiESJE4wnJwvViAwDSQZTVwuHX+QaF5SPlAshiyHAnEdGiRhYCQaHT8BIjlBOSICNTRKDjQwLwsFGBYhXVg0PyYjNY8+KDYRC0NIFGf+x1L+rQFRUCyHhwAAAgAAAAADsAM0ABwAOgAAATMyFhceAQYHDgEjNRUhIiYnLgE+ATc2Fz4BHgEBITI+AjU0LgEnIycuAgYPAScmIyIGBw4BHgEzAusDJkQbJBkZJBtEJv4tL1YgJxgmWjouLh1/kGj+WAG2GC4jEyE6IjkHCEpnWxUUMxESHzoWIRIkTjACcR0aJGFgJBodAQEmIyx0cE4LCAtDSBRn/oATIy4YIjohATU0Sg40MC8LBRgWIV1YNAAAAAMAAAAAA5gDLQAGAA0AEQAAAQcXByc1NyEHFwcXNzUBFwEnASalpSy7uwHiLKWlLLv9nDgBODgCi6WlLbwsvC2lpS28LP7AHAJxHAAEAAAAAANrA2sAAwARABgAHAAAASEVIQM3IRcRByMVByEnETc7AhcVMxEhFyERIQIz/scBOfo+AbY+Pn0//ks/P30++j99/kr6/ksBtQG2PwG2Pj7+Sj59Pz8BtT8/+gG2vP5LAAAAAAIAAAAAA6oDqgAUACAAAAEiBwYHBhQXFhcWMjc2NzY0JyYnJgMRMhcWFxYUBwYHBgH0d2ZjOjs7OmNm7mZjOjw8OmNmd2ZXVTIzMzJVVwOqPDpjZu5mYzo7OzpjZu5mYzo7/NQC7jMyVVfMV1UyMwAKAAAAAAPoA6oABwALABMAFwAfACMAKwAvADMAPQAAEwcVFzM3NScHNTMVDwEVFzM3NScHNTMVBzczFxUHIyc3FTM1AQcRFzM3EScHIzUzESM1MyUjFTMHFzc1JwdeHx+7ICCcfZwfH7sgIJx9ux+7ICC7Hz59AhMfH7wfHx99fX19/o/Cwj8scXEsA6ogux8fuyC8fX19H7wfH7wfu319nSAgux8fnH19AbYg/okfHwF3ILx9/sh9Pj4/JXAscCsAAAAAAwAAAAADqgOqABIAHgAnAAATNxUHJzUjJxE3IRcRIzUhETMXBRc3NTM3ESchBxEXNyM1IRUjBxUn+j9INV4fHwLuHz79UF4fAYl0NV4fH/4MHx/62gG1Xh9IASY/WUcWnB8B9CAg/uf6/ksg2nQWXh8BOCAg/sgfPvr6HzJIAAACAAAAAAOqA2sACwAUAAABIQcRFzMVFzchNxEDIQ8BNScjESEDivzUHx+cNbMBqCA//moWhiCcAu4Dax/9zR+cFrIfAjP97QqGcCAB9AAAAAQAAAAAA6oC7wADAAcAFwAbAAABFSE1FSERIQEhIgYVEQYWMyEyNjURLgEDMxUjA2v9EgLu/RIC7v0SGiQBJRoC7holASTVfX0CsD8/ff7HAfQlGv5LGiQkGgG2GSX+iT4AAAABAAAAAAKwAfQAAwAAASEVIQE5AXf+iQH0PgAABgAAAAADcQOwABQAJwAzADwARgBYAAATNjc2Fx4BFxYHDgEHBicuAScmNzYTHgEzNjc2NzY1NC4CDgIeAQEXBxYOAS4CPgEXBxY+AS4BDgEWJQcWFRQHFz4BLwEmIyIOAhUUFwcuAT4CFhfzXG1rYGJ7BgcvMLduamBjegcGLjB/KmIzXVBOLS9Hfp+ZeT4LTwGxLYcPETlFMQUoQx86CxkPBRYZDwYBFi8PHy4rCSOtJSgsUD4hHy4jEiJTcnw5A2U9BwYuMLhta2BiewYHLzC3bmpgY/3NHB4BLy1OUF1Rj2IfKmiWn4sBzCyHH0MoBjFFOBIPbwcFFhkOBRUaki8nKTwzLkCYRE0PIT5QLDwzLjV6eF8xAhwAAAADAAAAAAMtA6oAGgAvAEQAAAE0JicmIgcOAR8BIxEXHgEXFjI3PgE/AREjNyUyFxYXFhQHBgcGIicmJyY0NzY3NgEHBgcGBwYiJyYnJi8BER4BNxY2NwMtVUZJqklGVQEBAQMJVkJFnkVCVgkDAQH+yEc+NCIfHyI0Po4+NCIfHyI0PgFBAgQeITM7jjszIR4EAjl/QkJ/OQMNK0cVFhYVRysH/dUWJT4REhIRPiUWAisHXBEOFxUiFRYPEBAPFxQiFRcOEf1yCBETFQ4PDw4VExEIAdUhIAICICEABAAAAAADpQNrACUALAA1AD0AAAEHLgEiBgcnBxcHFSMVMxUWFwcXNx4BMjY3FzcnNjc1MzUjNSc3JzIWFSM0NhcOAQcuASc1MxkBCQE1JQEVAcg3DVRsVA03LEgJPz8EDVAsRRlIUEgZRSxQDQQ/PgpI+ic3vDekBUYyMkYF+gIt/o8BBf59AbU3NEJCNDcsSAk+PwMeHVEsRSAkJCBFLFEdHwQ9PglILDcnJzf6MUcEBEcxXgEaATj+ev79TLcBDsAAAAQAAAAAA94D6AAlACwANQBAAAABBy4BIgYHJwcXBxUjFTMVFhcHFzceATI2Nxc3JzY3NTM1IzUnNycyFhUjNDYXDgEHLgEnNTMBFQE1JQERJicRNwHINw1UbFQNNyxICT8/BA1QLEUZSFBIGUUsUA0FPj4KSPonN7w3pAVGMjJGBfoCZ/5VAWL94h0iMAG2NzNCQjQ4LUcJPz4EHxxRLEUgJCQgRSxRHR8FPD8JRy03Jyc3+jJHBQVHMl0BPzT+8ErgAVf+dhQKAaUaAAQAAAAAAvMC8wAMABkAHQAhAAABPgEeAg4CLgI2Ex4BPgIuAg4CFjcjFTMVIxUzAWk4hnlKCTxxhHdLCDlkJl1TNAYqTltRMwYn47y8vLwCxCYJO3CGeUoIO3CEeP7HGgcoTl1TMgQoTFtS0z8+PwADAAAAAALuAu4ADAAQABQAAAEiDgEUHgEyPgE0LgETFSM1NxUjNQH0RHNDQ3OIc0NDczn6+voC7kNziHNDQ3OIc0P+yD8/uz4+AAAAAgAAAAAC/gLuAAUACwAAASEHFyE3ByMnNzMXAm3+35CQASGQv8NiYsNhAu76+vqpqampAAEAAAAAAv0C7gAFAAABByEnNyEC/ZH+4JCQASEB9Pr6+gAAAAIAAAAAAu4C7gACAAUAABMhCwEzJ/oB9Ppz5nMBOQG1/pnKAAEAAAAAAu4C7gACAAABEyEB9Pr+DALu/lAAAAACAAAAAAMsAy0AAwAHAAATCQI1NycHvQE3ATf+ya6urgH1ATj+yP7Jia6vrwAAAAABAAAAAAMtAy0AAwAACQMB9AE5/sf+yAMt/sf+yAE4AAMAAAAAAvIC8gAMABAAFAAAAT4BLgIOAh4CNicjFTMnNTMVAsQlCTtwhnhLCDtxhHiBTk5OTgFpOIZ4Sgk7cYR4TAc6Rj59+voAAAAFAAAAAAOyA7IAFQAeAEUATQBXAAABNyEfAhEPAiE1NCchESERJgcRNwEHJi8BNyc3FwU3FwcXFTMVIxUGBxcHJw4BIiYnByc3Jic1IzUzNTcnNxc+ATIWFycuAQ4BFTM0AzY3NSMVHgEXNgElBgJNBjEDAzEG/s8XAUD9wyAhAgG+dQUJEl6XIqz+3zcsSAo+PgUNUCxFGUhQSBlFLFANBT4/CUgsNw1UbFQNVRQ4NCC8CSMF+gVGMjIDrwMDMQb9swYxAgghGAI9/tEIAQEwBv6ndAsIEl2aI63ENy1HCT88BR8dUSxFICQkIEUsUR0eBD4/CUctNzNCQjQcFAsWLxwn/ugjMV5dMkcEBAAAAAMAAAAAA6oDawADAAYACQAAEzMRIxMRASMlEZxeXtsCM6j+0wNr/RIC4/0dAXPA/n0AAAAEAAAAAAOMA6oAEwAgADoARwAAASYnNycHJicmBgcGDwEBNzY3PgEHBg8BJzc+ATIeAhQBNycHJzcnBycHDgEVFBYXBxc3HgE3MjY/AQcGIi4CNDY/ARcHBgNTCRNVJ1UZHSFFICMbYAEOYRsODgJCCxM6wToTMjcyJRb+yF0nXXRdJ1wnYRsdExNUJlUZOh8nRhthtBk4MSYVFRM6wToTAvgdGVUnVRMJCwIODhth/vJgGyMgRVAZEzrBOhMVFiUyN/6vYCdhdWEmYSdhG0YmHzsZVSZVExQBHBthWAoVJjI3MhM7wjoTAAAAAAIAAAAAAs8DLQADAAcAAAEzESMBESMRARleXgG2XgMt/Y8Ccf2PAnEAAAAABQAAAAADsgMtAAQACQAOABIALQAAEzUhBgc3NjchFQEmJyEVARUhNQEyPgEuAQYHMxUjJzUzFT4BHgEOAiYnNx4BPwFFCQNOHSb+NgFeEAn+uwNr/JUCmTlYFDltbBxCexo1K4qESBJkjXwdMRNPAXc/HyC8Ixs+/okeID4CcT8//Y1KcWQnJzI1G4xAOCU2fI1mFEVBFCszAAAAAQAAAAADewNxACMAAAEUDgIuAScHHgI+AjU0LgIOAQc1IxUXMzUjPgIeAgMdOWaAfWQaVyOEp6yITUBzlp2KMF4v23cfZnt5XzUB9EJ0UBsgUjwjUHArJGqbWE+QajQOSz9z+i9eNkcWIVBwAAAAAAMAAAAAA0wDawADAAYACQAAASMRMwMRATMlEQNMXl7b/c6nAS0Da/0SAuP9HQFzwP59AAADAAAAAAOLA2sADAAWABsAAAEUDgEiLgE0PgEyHgElASchBxEXITcBBSERIQECcSI5RDkiIjlEOSIBGf72Ov7ETk4BPDoBCv68/sQBPAEKAfQiOSIiOUQ5IiI5EwEoGk79r04bASj1AlH+2AABAAAAAAJxAnEADAAAARQOASIuATQ+ATIeAQJxIjlEOSIiOUQ5IgH0IjkiIjlEOSIiOQAAAgAAAAADiwNrAAkADgAACQEnIQcRFyE3AQUhESEBA4r+9jr+xE5OATw6AQr+vP7EATwBCgIpASgaTv2vThsBKPUCUf7YAAAAAgAAAAADLQNrAAIABQAAExEBJQ0B+gIz/isBLP7UA2v9HQF0v8DCAAIAAAAAA3wDewAbACgAABM1MxU+ATMyFhcWHwEjJy4BJyYjIgcGBzMVIScBIi4BND4BMh4BFA4BbV42n1piqzU3CAFeAQdQQEFLUEVCJrH++zwBhyI5IiI5RDkiIjkCgfqfQEpYTE9fEA5EcCEhJSU9Xj3+HSI5RDkiIjlEOSIAAgAAAAADCgOqAAoAFwAAATM3JwcRIxEnBx8BFA4BIi4BND4BMh4BAfQi9EKlXqVC9JwhOkQ5IiI5RDohAZT0Q6QBg/59pEP02SI6ISE6RDkiIjkAAgAAAAADCgOqAAoAFwAAASMHFzcRMxEXNycTFA4BIi4BND4BMh4BAfQi9EKlXqVC9FghOkQ5IiI5RDohA6r1QqP+fgGCo0L1/REiOiEhOkQ5IiI5AAAAAAIAAAAAA3sDewAbACgAAAE1IxUuASMiBgcGDwEzNz4BNzYzMhcWFyMVITcBMj4BNC4BIg4BFB4BA3teNp9aYqs1NwgBXgEHUEBBS1BFQiawAQQ8/nkiOSIiOUQ5IiI5AoH6n0BKWExPXxAORHAhISUlPV49/h0iOUQ5IiI5RDkiAAAAAAIAAAAAA2sDawADAAcAABMRIREDIREhfQLuTv2uAlIDa/0SAu79YAJSAAAABQAAAAAD4wPoAAEADQBFAE8AYwAAEzUFJzcXNxcHFwcnBycBFTM3FwcXFgcUBxUzFSMVBg8BFwcnBw4BIiYvAQcnNycmJzUjNTM1JjU0PwEnNxczNTQ+ATIeAQUVITU0LgEiDgEFJyEHBhcUFxYXHgEyNjc2NzY1NJABL34qhoMrf38rhYQqAYE4dipwASYBAZObEzQCjiqIBDB1gXcvBIYqjAIyE5uTASQBcyp3PDhfcl85/poBKihEUUUoAZkC/fwCIAEYGCspZ3BnKioYGQHQAyB/K4eEKn9/KoeEKgHjKnYqcANjahUVAzsDZ1EEkCqJBDU6PDYFhiqMBFFkAjwDFRVrXwRzKncqOGA4OGA4KiooRCgoRJIEBFddVE1INzY5OTY3SE1UYAAAAgAAAAADqgNrABUAHwAANzUyNzY3NjUhJxE3IRcRJxEhESEHFzM3JwcRIxEnBxf6Oh4YCAX+5x8fAywgP/0SAWYfnIWdLWc+ZyycPz4LCBAJEx8CcR8f/b4/AeT9zR+cnCxoAZT+bWcsnAAAAwAAAAADqgLuAA0AEQAVAAABBzUnIQcRFyE3NRc3EQEhESETJzU3A3vLIP3OHx8CMiDLL/7H/gwB9Pq7uwLAdoUfH/5KHx99dR4BZf6VAXf+x2ohbwAAAAUAAAAAA6oDawANABcAIAAtADoAAAEzFxEHIScRNzM/ATMXASERIy8BIw8BIxciBhQWMjY0JgUyHgEUDgEiLgE0PgE3Ig4BFB4BMj4BNC4BAp3tICD81B8f7TUWvBb+FQLu2xY1ojUW214NEhIaEhIBDCI5IiI5RDkiIjkiM1YyMlZmVjMzVgMtIP3OHx8CMiA1CQn9mAH0CTY2CT4TGhISGhM/IjlEOSIiOUQ5Ij8zVmZWMjJWZlYzAAAAAwAAAAADLQOqAAcACwAPAAABIRcRByEnERMhESETMxUjARkB9CAg/gwfPwG1/kucfX0DqiD81B8fAyz88wLu/Y8+AAADAAAAAANrA6oABwALABcAABMhFxEHIScREyERIQUjFSMVMxUzNTM1I14C7h8f/RIfPgKw/VABdz68vD68vAOqIP0SHx8C7v0yAq99uz+7uz8AAAADAAAAAAOqA6oABwALABEAABMhFxEHIScREyERIQUzFQEjNV4DLCAg/NQfPgLu/RIB9H3+iX0DqiD81B8fAyz88wLufX3+iX0AAAAAAwAAAAADqgOqAAcACwAYAAATIRcRByEnERcRIREBMj4BNC4BIg4BFB4BXgMsICD81B8+Au7+iTNWMzNWZlYyMlYDqiD81B8fAywf/RIC7v3OMlZmVjMzVmZWMgADAAAAAANrA6oAAwALAA8AAAEVITUDIRcRByEnERMhESECcf7I2wLuHx/9Eh8+ArD9UAIzPz8BdyD9Eh8fAu79MgKvAAMAAAAAA6oDqgAHAAsAEgAAEyEXEQchJxETIREhEzMVLQEVI14DLCAg/NQfPgLu/RJ9vAE4/si8A6og/NQfHwMs/PMC7v5LvPr6uwAGAAAAAAOqAy0ABwALAA8AFwAbAB8AABM3IRcRByEnNzMRIzUzNSMlIRcRByEnERMzNSM1MzUjfR8BOR8f/scfP/r6+voBlgE4ICD+yB8++vr6+gMNICD9zh8fHwF3Pz4/IP3OHx8CMv3tfX36AAAAAQAAAAADNwN1AB0AABMVFzM1Izc+AR4CBgcBFwE2NzYnLgEnJgcGDwE12x/bnjsqc3RVHyAr/rstAUU3ExMTE25LSEhLNywDa9sfPzorIB9UdHQq/rwtAUQ3S0hJSm4UExMUNyt/AAADAAAAAAOqA6oACQAMABAAAAEjAQcDFyU3ATUBNxc3JwEXAztb/fwKk1gBAQ4CBPztXls2bwH0bwOq/fwO/v9YkwoCBFv9XLtaH28B9G8AAAMAAAAAA6oDqgANABEAGAAAASchESchBxEXMxEXITcBETMRASE1Mzc1IQOqHv4qHv7EHR2eHQJ1HvzT+gH0/c5fHgG1AlIfARseHv4IHf7lHh4BWgF3/on+x/odXwAAAAMAAAAAA2wCMwAIABEAGgAAExQGIiY0NjIWBQ4BLgE0Nh4BBRQGLgE0Nh4B+iUzJSUzJQE5ASQ0JCQ0JQE4JTMlJTMlAfQaJSU0JSUaGiUBJDQlASQaGiUBJDQlASQAAAIAAAAAA6oDqgALABwAABMzFSMVIzUjNTM1MwMRMxEhESE1ITUhNSEXEQch+ry8Pry8Prs+Au7+iQF3/okBliAg/NQC7j68vD68/LQBWP7HAbY+fT8g/VEfAAAAAwAAAAADnQOvABsANwBDAAABFhcWFxYVFAcGBwYHBgcGJyYnLgM3Njc+ARM2NzY3Njc2JzQmJyYnJgcGBwYHBhcWFxYXHgEDNxcHFwcnByc3JzcCGkhGQjZ9GxkwMD9CSU1HS0BDYzkHFzF+PJJrPjU4KSgTFQU3M2GAPzxBMmskFAMCGzlwOH4NliyWliyWliyWliwDqgUjIDWHuEpHRD46JigODwsLJCdvjJpFnFIpJvzVDyAiMzY5Pz9MjjNhCQUPECROgT8+Qjt6QSETAZ6dLJydK5ycK52cLAAAAAAEAAAAAAO0A6oANQBIAFUAWQAAASMHJwcXBxUXBxc3FzMmJyMnJi8CByc3LwE1PwEnNxc/ATMfATcXBx8BFh8BFRYXNSc3Jw8BMhYXBgcuAQ4CFhcGBy4BPgEXPgEeAg4CLgI2FxUhNQJMsB6BfVaXl1Z9gR6CIRgWEgICBzB9NFQUlJQUVDR9MB1KHTB9NFMTJQsKWiQbmFZ9gHcnQQ0eGgUmLiEDGxcSDCotEEZ9LXVvTBIrXXFsShMmHAE4A6qYVn2AH7AegX1WlxsjWgsKJRNTNH0wHUodMH00UxOUlBNTNH0wBwICEhYYIYIfgH1WoS0kDBIXGwMhLiYFGh4QTlo6rycVKVx1b0kRKVpybGM/PwAFAAAAAANrA2sAAwAHABUAHAAgAAABIRUhBxEjEQM3IRcRByMVByEnETc7AhcVMxEhFyERIQIz/scBOX0/Pj4Btj4+fT/+Sz8/fT76P33+Svr+SwG1AbY/fQE5/scCMz4+/ko+fT8/AbU/P/oBtrz+SwAAAAIAAAAAA6oC9QAJAA0AAAEnNxcHJzc1ITUnMxEjAzKVK+LiLJX9i30+PgIzlSzh4SyVAT+7/ksABgAAAAAD6APoAAcACwAXABsAHwAjAAABNyEXEQchJxMRIREBETchFxEhFxEHIScBESERBSERITMhESECMz4BOT4+/sc+PgE5/FY/ATg/ATg/P/1RPwF3/sgBOP7IATg/ATj+yAOqPj7+xz4+ATn+xwE5/c0Bdz8//sg//sg/PwF3ATj+yD/+yAE4AAAEAAAAAAOqA2sAEQAnADAAPgAAASIHFzYzMhcWFxYVMzQnJicmBRcOARUzNDY3FwYVFB4BMzI2Nxc3CQEXBiMiLgE1NAUnLgEvATY3NjMyHgEVAfSNZzJVbWVYVTIzPzw5Y2b902QwND4tK4klMVY0JUAYvCv9EgEgtSYlIjkiATk/Cj0pPw0MCBE0VjIDa0ssOTQyVVdld2ZjOjs+XjmSTkV5L30vQTVWMRoYrywCr/6iqRkiOiEpSDkmOQU4BAEBMVY0AAAAAAMAAAAAA6oDLQAXACQAMQAAEzQ3Njc2MhcWFxYVIzQnJicmIgcGBwYVMzQ+ATIeARQOASIuATcUHgEyPgE0LgEiDgE/OzljZvBmYzk8PzMyVVjKWFUyM7wxVmhWMjJWaFYxPiI5RDkiIjlEOSIBd3hmYzk8PDljZnhlWFUyMzMyVVhlNFYyMlZoVjExVjQiOSIiOUQ5IiI5AAAAAAMAAAAAA6oDqgArADwATgAAAR4DHQEjNTYuAiIOAgcVIzUmNjc2Ny4DNTQ+AjIeARcWBw4CJzI+AjQuAiIOAhQeAgERIwc1IzUzFTczESEVDgEHNQHYK0czGzcBJkVaY1pEJgE2ARwZNVcTHxYLHjRGTkY1DhkPBhYdgRwyJRYVJjI4MSYVFSYyAlpupDduV0393Q4bDgFyEThLVy0bGzFaRCclRVkzGxstVyVNIg0jKS0XKEU1Hh41Ijo+FykiBxUlMjcyJhYVJjI4MiYVAiT+SqSkN1dXAUhiAgUFpQAACAAAAAADawOqAAkADgAYAB0AJwAxADsAQAAAAR8BEQchJxE3IQURIREnBRQzMjY1NCMiBhc0MhQiFzM1IzUHFTcVIwMjNTM1BzU3FTM3FDMyNjU0IyIGFzQyFCIClc0JH/1QHx8B4/49AnG8/qZWKi5ULC42QkLHmDFpNDJUmDIzaDFBVisuVC0uNkJCA6HOF/2iHx8DLCA//RICM7v9eUE9e0I9V6glKssVKwuW/p4qlgsrFctOeEE9e0I9VqgABQAAAAADawOqAAkADAATABoAIQAAAR8BEQchJxE3IQczJyERIREjJzUDNycHFRc/AhcVByc3ApXNCR/9UB8fAeMOvLz+SwJx2x/3ciyIiCx4LImJLHIDoc4X/aIfHwMsIPq7/RIB9B/b/ilyLYksiCzkLIgsiCxyAAAAAAcAAAAAA6oDqgARABQAHAAlACkALQA2AAATIRUXMxUzNS8CIQcRFzM1IwEXIwUhBxEXITcRBxUnIwcnIwc1ATcXIyE1Nxc3MjY0JiIGFBZ9AXcf2z8KzRb+Hh8f27wBtru7AVf+DB8fAfQgP2YsSYUsKQEGM2Bl/sw+nnsNExMaEhIDa9sfPokXzgkg/NQfPgLuu7wf/okfHwF3H/pkSoUphP71MmBdP5zbEhoSEhoSAAAAAAkAAAAAA2sDqgAOABEAGQAeACoAMAA8AEYAUAAAAS8BIQcRMxEhFRczFTM1BzUXBQcRFyE3EScDFSERIQUjFSM1MzIWFRQHBicjFTMyNBc+ASc0JisBFTMWNic1MzYWBxYHBiclIxUjNTMVIxUzA2LNFv4dHz8Bdx/bPvq8/W8fHwKwHx8f/Y8Ccf4MFCtCIyQUGCIQECLcDg4BMjJCQhQmUhQZJAEBERIZAQE9KmxCPQLTzgkg/qkBONsfPokMu7u8H/6JHx8Bdx/+yD8BObw+uyAeHBISXDo6fw4kFC4tuwENFncBIxgaExEBJki7Ii8AAAAEAAAAAAOqA2sAAwAhACsAMgAAEzM1Izc1NyEfASEXEQchJzUjJxE3IR8BIRcVJzUhLwEjFQUnIxUzPwEhNSEHIxUhESEHfT8/Px8BFRsaAWUgIP1RH14fHwEUHBoBZSA//qgbGuQBexrkxRobAXf+qEHYAnH+nBoBOfo/HiAQLx/+DB8fnB8CMx8QLiCcAnsQL7swL7suED+8+gE5LwAABAAAAAADqwNrAAoAEgAcADAAAAEhFxEHIScRNyEXATUTIQ8BIREBITchLwEhFSE3Fyc3FxUHJzcjDgMXIzQ+AjcB4gGoIB/80x8fATkWAb0B/nY1Fv7nAVcBlgH+ahc1/vQBDDWlVS+KjyxYVhgrIRIBPxoxQSQDLSD9jx8fArAfCf1aXgFYNgn+iQH0PQo1vDb1ViuLLIotVAEUISsXI0EzHgIAAAAABQAAAAADawOqABEAFAAcACAAKgAAAR8BEQcjNTMRIyc1IRUjETchBzMnAyEHERchNxEDIREhBxUjNQcnNyM1MwKVzQkf27zbH/6JPx8B4w68vF7+Sx8fAbUgP/6JAXc+P6Utpm65A6HOF/2iHz4B9B/b+gEZIPq7/sgg/ksfHwG1/moBd167cKYtpT8AAAAACwAAAAADawOqAAoADgAjACcAKwAvADMANwA7AD8ASQAAEyEXEQ8BEQchJxEXIxUzETMRLwERIxUHIxUjNSMnNSMRMzUzNRUzNScVIzU3MxUjNRUjNTczFSM1FSM1OwE1IwU3ESMRHwERMxGcArAfCTUg/Y8f+j4++jUJfSAfPiAfPn0+Pz8+Pj8/Pj4/Pz4+Pz8BgDa8NQo+A6og/sgWNv5YHx8DLB99/Y8BizUXARecHz8/H5z9Ej8+Pj4/Pz8+Pn0/Pz4+fT8/Pkg2AQz+9TUW/mgBlgAAAwAAAAADawOqAAkADwASAAABLwEhBxEXITcRAyERIRUzJzUXA1m8LP6JPj4CMz4+/c0BOfq8vALcuxM//RI+PgIz/c0C7vo/u7sAAAQAAAAAA5UD6AANABAAFwAdAAABIQcVIwcRFyE3NTM3EScXIwMhETMRFzM3IREhFTMC2f6JPrw+PgH3PMM3vGNjff4MvD76+v4MATm7A+g+vD79jDw8vjwB92Nj/RICcf6GPD8CcbwAAgAAAAADqgNrAAcADwAAARUBESMRATUBETMRATUhFQOq/sf6/sgBd30BOP0SA2to/tb+pAFcASpo/on+yAE4ASoPDwACAAAAAANCA6oANABYAAAlJzYmJy4BJwYHBhcWFwcuAjc1Njc2NzY3Nj8BNjc2NzY3Nic3HgIHNj8BFxYXFgcOAQcDFwYWFx4BBz4BNzYmJw4BLwE2JicGDwEGBwYXFQYWFyY3NjcCOyEcCyMdJgcuCAcSCyAjQmk4AwEFBg4QGh8sEhUTGhEVBQURLEVYGhQXDTYBIRMnJSB4Sn02BB4fKiINJz0SDw0cEj8iFioeRAeGB08dDgEENjEfEBRePzAkXR0YQSRAOC4tHC0wDVN5Qw8UFR4eJiMpJRIXGCIhKCQqIikxjKRRFhwFATg+elpEWAoBsxkrUh4dYDIOOCY5djQeHQUrWsZKdIoIQ0woIAE7aSBKSlppAAAAAAIAAAAAA3gDqgAGAA0AAAEnCQEHATMlJwkBBwEzA3gs/on+iSwBjSwBjSz+if6JLAGNLAN9Lf6JAXct/nMWLf6JAXct/nMAAAIAAAAAA4QDqgAGAA0AABMXCQE3ASMBFwkBNwEjPysBdwF3LP52LP5xKwF3AXcs/nYsAhosAXf+iSwBkPz5LAF3/oksAZAAAAIAAAAAAxgDVAAGAA0AAAEHJwcBMwkBNxc3ASMBAuv4+ScBDCcBDP3i//4n/u4n/u4DU/j4Jv70AQz9UP//JwES/u4ABAAA//0D7QNrABQAHgArADIAAAEhFxEmJzUhDwEhESEWFyEnETchHwEhNyEvASEVITcXPgEeAg4CLgI2EzcnBycHFwHiAaggHSL+djYW/ucBQAYN/o8fHwE5FicBlgH+ahc1/vQBDDWlOIZ5Sgk8cYR3Swg5vZUygVInawMtIP7nFg9ZNgn+iSEeHwKwHwmyPQo1vDbcJgk7cIZ5Sgg7cIR4/u7HJa1BMFYAAAMAAAAAA9ADawANABkAIAAANyE3EycjNSchLwEhBxETIR8BIRUhDwEjDwEFIRMzPwEhXgKvHqUeRx/+ljYW/sgfPgEMNhYBWP7mFjXtHj4Cd/2TaOQWNQFqfRcBtiecIDUJH/1QApE2CX0JNRbAoQE4CTYAAwAAAAADqwNrAAoAEgAcAAABIS8BIQcRFyE3EQMVIREhPwEhJyEPASE1IR8BIQOK/lg1Fv7HHx8DLR9A/RIBGRY2AYoB/moWNf70AQw1FwGWAy01CR/9UB8fAnH+DV4Bdwk2Pgo2vDUKAAAABAAAAAADqgOqAB8AOABFAE4AAAEnIw8BJwcXDwEVHwEHFzcfATM/ARc3Jz8BNS8BNycHJxc3FwcXFQcXBycHIycHJzcnNTcnNxc3MxMUDgEiLgE0PgEyHgEHMjY0JiIGFBYCOR9LICt9OVINlpYTUTJ9MhlLHzJ9MlESkJYTUjN9GB+DfVeWlld9gx+vIIN9WJaWUn2EGa4mIjlEOSIiOUQ5In0cIyM4IiIC1ZaWE1IyfSwfSyAyfTJSE5CWE1EyfTIZSx8yfTJR4ZZRfYMZryCDfViWllJ9hBmvH4N9V5b+SiI5IiI5RDkiIjlgIjgjIzgiAAUAAAAAA2sDqgAvADMAUABsAHAAAAEjNjc2NSYnLgEnJicmByYHBgcGByYnJicmIyIHDgEHBgcGDwEUFRYXIwcRFyE3EQEhESE1IzUmJyY1PgE3Njc2NzY3Njc2MhcWFxYXFhcWFTM0NzY3Njc2NzYyFx4BFxYXHgEXFAcGBxQGByMBIREhA0xkBAEBDA0KFA4GDBkNEwkQDDkrLDgTCRANHBwNFQkHBgQFAwIEZB8fAu4f/kv+xwE5vAQBAQIFAgQGBAkFDQQJBhkGCgkgEgwFCD4IBQwSIAgLBhkGCxEHBAsEBgMBAQQCBbUBOf7HATkC7hEVDBkmEg8SBQIFDAEBAgMIEEFBEAYDBBMFEg8HDggRChkMFREf/c0fHwIz/e0B9D4NDA0HEgMQAwYDCAcEBgQBAQEBBAsbEgsREBARCxIbCwQBAQEBCQUECwQWBhEHDQwFAwX9zgH0AAUAAAAAA6oDqgATABYAKQAzADcAADczFRchJxE3IR8CFSYnNSMnNSEFJxUXFTMXFQchJzU3MzU0PgEyHgEVJwYdATM1NC4BBgcVITW8+gX+4R8fAeMWzQkZJdsf/okCcbzbPiAg/okfHz8hOkQ5IqkTfRUjJX0BOH05BR8DLCAJzhefJRYZH9u7u7v6Px/6Hx/6Hz8hOiIiOiItExk/PxIgDge2vLwAAAIAAAAAAvID6AAYAC0AAAEuASc1IxUOAx4BFzMVMzU2NzY3PgEmBw4BJyYnJj4CNzYXNh4CDgEHNwKuGUAkPjRUMQMsUTMMPhsaPSUcDR9QJ28vJxMNAyE5IhAPHzssGQEaFwICsBkgBfr6CDxaaV1AC/r6BAsZNytjX+QoCx8aLCFGPioGAgIBGCw6PjkVAgAAAAAEAAD/+gOxA6sAIAAsAE0AWwAAJSc3FxUHJzcjIi4CNREuAj4BFzYeAgcUBgcRFBYzAxY+AicuAQ4CFgEWFx4BBw4BLgI2NzY3ETQmKwEXByc1NxcHMzIeAhUDPgImJy4BDgIXHgEBzlAqhYUsT3MfOiwYLUMTJU4wIDssGAFGNzcnsRxDLwcTEDQ4KAsWAp0uISgLHxtXXUMTJScZHjYndE8shYUsT3QfOSwYFhkoFQQNEDU3KQsLDDW8UCuFLIUtTxgsOR8BWwpCXVg1AQEYLDsgOFYL/qgnNwIEEwcvQxwYFQsoODT+ZgkhKG8vJyQSQ11XGxEGAVsnN1AshSyFLFAXLDof/a8CHC0xFRcWCyg4Gh0gAAAABAAAAAADbgPpADkARgBSAGEAAAEuAQcGBwYHLgInNjc+ATU2LgIHIg4BHgEXEQYHDgEeAj4BNTQnLgEnNRYXFhceAj4CNS4BBRYXFg4CJy4BPgIDIi4BPgIXHgEOAQEOAS4BJyY+AhceAgYDPihvLycSBgNBbUQIDw0sNAEYLDshL08kEkMuHhkoJBNDXVc1DA88JjFMPUUIMkhOQCYBGf3pGhESBjBDGxgWCyg4ChwwFQsoOBofIA00AdYQLS8kCQsLKTcbFR4KDgIFJwsfGiwNDgdFbUECBhJPLyE6LBkBNVddQwn+wQYRG1ddQxIkTjAgHiQyB5ZFJx8GJzweCCxEJx84vgwXHEMvBxMQNDgoCwGyIDQ4KAsKDTtCK/5mEQ0JHhYaNykLCwkkLi0AAAUAAP/6A6wDqwAhADEAPwBhAG8AAAEGBwYHER4BFxYVFgcOAS4CPgE3ES4CPgEXNh4CBxQDLgEjIg4CFx4CNjc+AQMWMzI+ASYnLgEOAhYBFhceAQcWDgEuAjY3NjcRNCYrARcHJzU3FwczMhYXFhUTPgEnLgEOAhceAjYBXxosCRQfMxEaAQ0SUGBPJBNDLS1DEyRPMB87LRgBSQwtGhUmGwoEBig4NBAOA5MYHBosGQIPEDQ4KAsVAp4uIRYYAQE1WF1DEiQoGR43J3NPLIWFLE90L08SDCMXBxIRNDgoCwsIJS4tArQnEwMF/scGIxonLyEeLDUBNFhdQwkBPgpCXVg1AQEYLTogMP3uFxoSICkVHCgLFhcWNAIOEBstNBYXFgsoODT+ZgkhFjofL08kEkNdWBoRBgFbJzdQLIUshS1PNCwdH/3KF0McGBYMKDcbFR4KDgAABQAAAAADrAOqAAwAGAAfACMAJwAAEzMXIycRNyEXESc1IQEHMwEnIzcnIwcDFxMzBzMBNyMnIzUzByM1M76hKekfHwLuHz79UAFaWIoBYC5mMzSzOY85j7N13P6YaqshtdJVfZkBdz4fAjIgIP7Wbp39ztkBaGtbYCX+yFgBd7z+k/C8Prs+AAEAAAAAA6YDvwB7AAABFhUUBwYHFh0BFAYiJj0BNiYnNzY3Njc2NTQvAT4BJwYHBg8BJgcnJiMGFhcHDgEVFBcWFxYfAQ4BFxUUBiImPQEGJyYnJi8BJicmJyYnJjc+ARcWFxYfARYXFhcWNzUmNyYnJjU0NyY2PwE2MxYXFhc2FzY3NjM2HwEWA2w5TTtqEw8ZEQMQEhNHLDoeJDUHCgIJFxQkKheIiRZXJgkBCwccHSIeOS1JDxEQAxIZEjosJB4SGgMRCA0NBAQFAgMUCxcVDRUGFQ8XHSIwBRhqPFA5CQYOEwcQGR8qMYuKMCogGREHEx0DDURblk07EiE2mw4REg2bGC4RMgkTGTI7YEk7Hxs6HAQJDh4DIiIDNR07GR8bRiNfOjIaFAkxEisXnw0SEg1XDAwKGxAiAxQIDAMFCAsKDAwFBRELGQcdDRMGCAsPLSoWOk6SW0QoUSIPBAELDh8jIyEPDAEED1IAAAAAAQAAAAAD6QPpAGgAAAEiBwYHBhUUFx4BFxY3Nj0BBicmJyYnJi8BJicmLwEmNzYzMRYXFh8BFhcWNzY3JicmNTQ3MSYnJj8BMhcWFxYXNjMyFzY3Njc2MxcWDwEeARUUBwYHBgcWFxYdARQWNz4CNSYnJicmAfOIdHFCRC0qm2ERCQgmIBsWEQ0JBgQKDgoMCR0NBwwWEw8LCR4xHyIEG2Y1SDQHAQMSCAsOExgcITJMO0IgHRgTDgsJGRIBGRsjHTcrQQ8JChERZJpVAkRDcXQD6ERCcXSIa2JejSICCQcLVgkEAwwKDgsMChoTDQkGEwgEAQ4KDg0yBQMPKBsMLTyDTjkUFysqAQMECw0WDw8WDQsEAwE+QgMcRiVaODAZEggMFhkgigsQAyGPv2qIdHFCRAACAAAAAAO/A78AFACIAAABIgcGBwYUFxYXFjI3Njc2NCcmJyYDIyImNTc0Jic2Nz4BNzYnNiYnNjc2JyYnJisBIg4CByYHLgMrASIHBgcGFxYXDgEVFBceARcWFw4BBw4BJicuAysBIg4BFRQfAR4DFx4BMzI/ARUUBicjJicmJyY2NzY3NjIXFhceAQcGBwYHAfR9amg9Pj49aGr6amg9Pj49aGoEBAgMAQwPKCYgMAoMAQEVFAQCBQYDBgICBA0bGhcLYmILGBoaDQQCAgYDBgUBBRQVDAovICYoCwwCFS4kCwUNDxIJBQMGBAUKCA0KCAULMx4KChQMCANbQ0EdHh44N1JVvlVSNzgeHh1BQ1sDvj49aGr6amg9Pj49aGr6amg9PvzADAhsFCcNBA4NMSEnKh03FQsMGhoPDgEIDA4HGxsHDgwIAQ4PGhoMCxU3HSkoITENDgQKHA4LARoSCA4MBwIDAgYEBwYMDhAJHB4CA0MIDAEdQ0JYWr1MSysrKytLTL1aWEJDHQAKAAAAAAOqA6oAFAAaACYAMgA9AEMATABSAFcAXQAAATIXFhcWFAcGBwYiJyYnJjQ3Njc2BS4BJxYfATY1NCcjFhUUBzM2JzU2NCcjBgcUFzM2JyYnIyYiDwExBgcjNjcOAQ8BBhQXMyY1NDcXIx4BFyYXNjcjFjcGBz4BNwITb15cNjg4Nlxe3V9cNjc3NlxfAaAeYz4qEqgBDZMEDZwJ2gME8QQBD90HCBc4AxMTCQw4FkESKj5jHxgNDZwNAxqUJH5NPH89ILkg2x89Tn0kA6o4Nlxe3V9cNjc3Nlxf3V5cNjf5OlcWT1i8EA8wLiQbPz4fIAQdPR8fH0A+INtjVgIBAVZjWE8WVzo/LmAtPUAaJPpGXxBTQ0pbW1tiUxBfRgAAAwAAAAAD6AOqABgAKQAsAAABNzUnBxcjDgIUHgE7ATUjIiY0NjsBBxclIychHwIRByEnERcRIREjNxUzAXeBhixQuytHKipHKx8fJzc3J7tRLQE+pz8BJCy8Ej79zT4+AjP6PrwCdoEshy1QASpHVUgqPzZON1Es+j8Tuyz9zT4+AdU1/mAB9Pq7AAACAAAAAAOqAnEAAwAHAAABIRUhFSEVIQOq/JUDa/yVA2sCcT59PwAABwAAAAADqgOIAAkAEQAVAB0AIQApAC0AABMXByc1NxcHIRUBETczFxEHIzcRIxE3ETczFxEHIzcRIxETERczNxEnIxcRIxGEOCdoaCc1AyP9UB99ICB9Xj67H30gIH1ePrsffSAgfV4+Au43J2gnaCY0P/1tAjgdHf3IHDgCAP4AYAG9HBz+Qxw4AYX+ewGi/r4aGgFCGzb+9AEMAAAAAAcAAAAAA6oD6AAGAA4AEgAaAB4AJgAqAAA3ITUhESMRNxE3MxcRByM3ESMRAREXMzcRJyMXESMRARE3MxcRByM3ESMRXgNM/NM+fR99Hx99Xj8Bth99Hx99Xj/+yB99Hx99Xj99PwMs/LR9AfQgIP4MHz8Btf5LAlH9jx8fAnEgP/3OAjL9rgF3ICD+iR8/ATj+yAAGAAAAAAKwAy0AAwAHAAsADwATABcAAAEzFSMVMxUjFTMVIxMzFSMVMxUjFTMVIwE5fX19fX19+n19fX19fQMtfX19fX0CcX19fX19AAAAAAcAAAAAA2sDqgAJABUAGQAdACkALQAxAAATMxUjETMVIycRBRUjNSMVIzUzFTM1ByMVMyUjFTMHMxUjNSMVIzUzFTMrARUzFzM1I159Xl59HwMs+n27u327Pz8Bd319vPr6fbu7fbs/P/p9fQOqP/0SPh8DLF36Pj67Pn19P319u/p9P7w/Pj99AAAAAgAAAAADqgNsACEAPwAAAS4BJy4BIgcGDwIvASYnJiIGBwYHBh4CFwkBNjc2JzYHBgcJAS4CND4BNz4BMhYfATc+ATIWFxYXFhUWBwOiCB4XIFZcKyggAykpAyAoK1xWIC4PCAEPHhcBcQFxFw8fAQFGDCD+u/66EBYLCxYQGD9DPxhVVRg+Qz8YEQoWAQUCvR42FiEjEhEdBCkpBB0REiMhLD4ePjo2Fv6PAXEWGzU+IEgrIP67AUUQJyotKycQGBoaGFVVGBoaGBAUJy0WFwAAAAACAAAAAAO0A68AIgApAAAlPgEmJy4BDgEHNSMVFzM1Iz4CHgIOAy4BJwceAjYnNyc1IxUXA0w9Kyg8QsXZuzg+H9uJKoqlo35EBEuDpaSFJzczud7NjSyyPgnmTb2+T1ZcDHBeltsfP0lfHC5umamVaCYjZksdY3wVWJQtsu36FgAAAAACAAAAAAOYA5MAEQAcAAAJAQcnEQcjJzUjFQcjJxEHJwEDETM1NzMXFTMRJwILAY0sPyC7H30gux8/LAGN5H0fvB99+gOS/pYsOf5oHx/b2x8fAZc4LAFq/tv+T9sfH9sBseMABAAAAAADLQLuAAsAIQAuADIAAAEzESMVIzUjETM1MwUzJzY3Njc2NTYuAScmJyYrAREzNTM3BisBNTMWFxYHFAcGEyEVIQGSMzOjMzOjAWI5UAwMGgoGAQoSCxQaCguaNFsfCQpoaBUPFQEGCU39jwJxAXcBd6Oj/omjo6QGCRMfEBQSIBkJEQYD/ombNQR6AQ4TGxAMFf6rPgAABQAAAAADawOqACUALwA8AEAARAAAATMXFTMXFQcjFQcjByc1Iyc1Iyc1NzM1NzM1LgEnPgEeARUOAQcTNSERFzMVPwEzJwYHNQYmJwceATI2NycjFTM3MxUjAhL6HyEfHyEfw5w2nB8gHx8gIfoPEgEBJDQlARIO3P4MnCBwFrKFIzIpUR0sIFVbVCD/Pz+7Pz8C7h9/Hz0fvB+sFpYosx89H4gWRwgdERolASQaEBwI/r28/pEIiX8KmyQKAQgYHi0gIyMgqj8/PwAAAwAAAAADqgOqAAkAEwAeAAA3ITcRAychBwMRJSE1Mx8BIT8BMycjDwEjLwEjNRMhXgMsIK4d/iwdrwMs/RKfLxsBHRwroQGzGyv5LxuxpAGofR8BGgHeFhX+Mf7WILpODxBNPhBNTg8CAbUABAAAAAADqQOwABgALQAxADUAAAEeARcWFxYHBgcGBwYnJicuAz4DFxM+ATc2NzYnJicuAQYHDgEeARceAQMzNSMXFSM1AhhKhzROHx8VFEZAXFpjZVpCZTkHK1l9kUoeP24oPBERGhpDPaKpSFFXCWhWOH4pTk5OTgOoCEE2TmpnaWxXTyopAwMwJHGMl5F6VSUH/N0MQzJKXVpYW0Q+NxYxOLDFpy8fEgH5P336+gAEAAAAAAOqA6wAJwAvADQAOAAAJTI3Njc2PwEWBwYHDgEnJicuATc2Nz4BNzYXFhcHLgIOAh4CFwE3JwcnBxczJRUzESMRNTMVAdVbUEwuMAI8DCMjSErEYWBKTEsLCjY3sGVhWVo7LC6Ln5RnKSBijlEBg1It1VYtbSz++D4+PrwtLExNXDxkXlxCQzIXFz9BvGRhUlRiAQIqLFIsQk0JP3mann1GAQHTUizWVy1sP30BOP5LPj4ABAAAAAADyAO0ABUAGQAdADQAABM3Jwc+Ah4CFzMuAw4BBycHFyUzESMVMxUjJRcHJw4CLgInMzUUHgI+ATcHJzd9zRiRGm+Un4NSCD4HXJe4sIcjMjpUAXE+Pj4+Aa9UOjMjibC5l1sGPkmBopp3HI0YywIzVDo+S280E1aGUF2faRw2e1d6GMqr/sg/PqbJHH1XfDUdaqFdH1KQYRwubk06OlQAAAAABAAAAAADcQNxABQAJQApAC0AABM2NzYXHgEXFgcOAQcGJy4BJyY3NhMeAT4CLgEnJgcOAQcGFxYBIxEzFSMVM/NcbWtgYnsGBy8wt25qX2N6BwYuMH5MuqdnDFScXFlQUmYGBiYnASo+Pj4+Ayc9BgcvMLduamBjegYGLjC3bmpgYv3ONQ5SmrqmZAUEJymZXFlQUwHE/sc+PwAAAQAAAAAC6wNrAB4AACUHITc2NzY3NjcTNjU0LgEjNyEHIgcOAQcDBhUUHgECMwb+zQguDxgLExOBERAcKgcBIAYkERcbFIIRDR+WFBQCBgoQGkIBwjcdDRYKFBQICipF/j4+EQ4TCgACAAAAAAOqA2sAHQA1AAAlIScRIy8BNyUXFhcWFx4BMjY3Nj8DBRcPASMRJSERNzM3JwYHBgcOASInJicmLwEHFzMXAuj+Fh9ZHikUAQooBgcHCBArLisQCAcKAygBChcqHlr+FQGsH18d1AMFCg0ZQUgiHhgNCgjWHV8fbyABoBinJlcUDg4JCRARERAJChIJFFkkphj+YB4BoB9zRwcGEAwZHA4PGAwPDkdzHwAAAAIAAAAAA2sDbABJAJQAAAE1IyIOAQcxBgcxBhYVFAcxBgcGKwEVMzIXMRYXMRYXFRYVFAYXMRYXMR4COwE1IyIuAjU0NzYuAScmJzY3PgImNTQ2NzYzARUzMj4BNzE2NzE2JjU0NzE2NzY7ATUjIicxJicxJic1JjU0NicxJicxLgIrARUzMh4CFQYVBh4BFxYXBgcOAhYVFAYHBisBAXcGHTcpCwkDAwMIDiIQEgYGEhARDAwHCAMDAwkKKjcdBgYSIRkOAQEBBggPHx8PCAYBAh4ZERIBAAYdNyoKCQMDAwgOIhASBgYSEBEMDQYIAwMDCQspNx0GBhIhGA8BAQEGCA8fHw8IBgECHhkREgYDLj0XKhsZGxs2GxMRIg8HPgcIDA0QARATGzcbGhkaKxc+DhohExcTFSgoEiQYGCQRKCkqFRwuCwj9jT4XKxoYHBo3GxMRIg8HPgcHDQ0QARATGzYcGhkbKhc+DhkiExcTFSknEiQYGCQSJykqFRwuCwgAAAADAAAAAAI0A2wACwAUAB0AACUeAT4CJicmDgEWEyImNDYeAQ4BAyImPgEyFg4BAdEOIh4TAg8OFjEcCTcaJCQ0JQEkGholASQ0JQEkiAoCDxwhHgkOCyoyASAkNCUBJDQlATklMyUlMyUAAAADAAAAAAOxA7EAHgA+AEoAAAEeARcWBw4CByInDwEjFQcjFQcjJzU3ASY3PgMTPgE3MzYuAgcOAgcGFwcBFTM1NzM1NzM/ARYzMjYnPgEuAgYHBh4BNgLFTXQWFQ8OUXRCKicyGDwgXSC7HwkBNw4BATdjepEdKAgBCx9QazcyTy0BAQ8G/sR9H14fTjcjJikmRxcLAw8dIh4JDgsqMgOkEGpMRUZBZjkBDDsLXh9eHx+RFgE3KyxAcVAd/jIYQCU3bE8hDAs+WTMrKCL+xWReH14fPwkPGsMNIx8TAhAPFjEcCQAGAAAAAAOqA6oALwA2ADkAPQBAAEcAAAEnMzUhNSMVIRUzByMVMx4BMjY3MzUjJzMRIw8BFyE3LwEjETMHIxUzHgEyNjczNQUOASYnMwYnIzcBFyE3ARcjFwYiJiczBgOSZT7+yD/+yD5lGAkPUmRSEAkdaMN9GH0YAjMYfRh9w2gdCRBRZVEQCf2cFS8qDZwMBX0+AYpN/ktNAYo+fWkVMCkNnAsCM/o+Pz8++j8wOjowP/r+DAydMjKdDAH0+j8wOjowP18LARgUFFOW/jFeXgHNll4MGBUVAAAABgAAAAAD2QNrAAcACwATABcAHwAjAAABNzMXEQcjJxMRMxEXPwEXEw8BJwMTNwMlNzMXEQcjJxMRMxEBOR99Hx99Hz4/hxN1KOsSdiil1TvW/YIffR8ffR8+PwNMHx/9UB8fApH9jwJxFigrE/16KCsTAn79tRUCSygfH/1QHx8Ckf2PAnEAAAMAAAAAA6oDqgAMABYAPwAAAQ4CHgIyPgE0LgETJwc3JzM3FzMHAw4BByMVFBY7ARYXBisBIiY9ATQmJy4BNyY3PgMXNhcWFxYVFAcGAu4zVjMBMlZmVjMzVh9SUR9LXCEiW0tmPWAXdQsIWAgRBwZkIjAiHyguAQEnEjQ/SSZMQkAlJxYNAbYBMlZmVjIyVmZWM/7HPz9gNGZmNAESDVA6igcMIB0BMCFkLU4eJ2Y4TEIfNCUUAQEnJUBCTDoxHQAAAAACAAAAAAMvA6oAIwAtAAABDgEXFRQGBwYrASImPQE0JicuATU0Nz4DFzYXFhcWBxQGByMVFBY7ATI2NQLZHyMBGxcPEWQiLyMfKC0mEzM/SSZNQUElJwEtqIoLCGQICwHLHlArZBgpCgYwIWQtTh4nZjhMQh80JRQBASclQEJMOmSaigcMCwgAAgAAAAADqgOqAAwAFgAAEyEVIxEhNTMRByEnESERIxEBJwEhNSFeARn6Au4/IPzUHwNrP/5aLAGm/rUBlgOqP/0S+v7nHx8DLP5qAUv+WS0Bpj8AAgAAAAADqgMtACgAUQAAATMyHgEdARQOASsBNTMyPgE3NTQuASsBIg4BHQEUFhcVLgInNT4CBTUeAh0BFA4BKwEiLgE9ATQ+ATsBFSMOAhcVFB4BOwEyPgE9ATQmARPBOmE5OWI5Hh4oRSgBKUQpwSlFKEc2NFYxAQE5YQIVNVUxOWE6wTliOTliOR8fKUQpAShFKMEpRShHAy06YToNOWI5PyhEKQ0pRCkoRSkNN1MJPgY7WzUNOmE5/D8HO1w0DTphOTlhOQ45Yjk+AShFKA0pRSgoRSgONlQAAAMAAAAAA2sDLQADAAcACwAAJTUzFQEhFSEBFSE1AXf6/okB9P4MAnH9Evo/PwE5PwE5Pz8AAAAABAAAAAADawMtAAMABwALAA8AABM1IRUlIRUhJRUhNREVITV9Au79EgLu/RIC7v0SAu4Bdz8/+j76Pz/9zT4+AAYAAAAAA6oDawAGAAoADgASADcAeQAAEzczFSM1BzchFSEVIRUhBSEVIQE/ATY1NCcmJyYiBwYHBh0BMzU0NzY3NhceARUWBwYPARUzNSMXFhcWBwYHBgcGIyIuAicmPQEzFR4BFxY3Mj4BNC4BJyM1MzI+AjQuAQcGBwYdASM1NDc+AjIWFxYXFhcUBwaPGSstF6oCcf2PAnH9jwJx/Y8Ccf1AAgQKBAgXDR4OFggDMwMBAgUGAgMCBAMFP305JwQDDAEBAwcXDw8LEw4JAwUzAQMCBAUCBAIDBAIPCwIFAwMDCQUCAgIzCwUOFBYTCA0HBQELAwNXFLuKEgU/uz+7PwERAwUPEQsLGAkGBgoXCQsDAwYEAgEDAwEFAgoJBgVIIizBAwQQEwoJFwkFBgoMBwsMAwgCBQECAgQHCQgDASgCAwYHCAMCAQIFBQMDEw8HCgYEBQYNCwsSDwQAAAADAAAAAAOqAy0AAwAHAAsAADc1IRUBIRUhARUhNT8CMv3OA2v8lQKv/VH6Pz8BOT8BOT8/AAAAAAUAAAAAA2sDLQADAAcACwAPABMAAAEVITUFFSE1BRUhNQUVITURMxEjA2v9EgKw/koBtv4MAfT+DD4+Ay0/P7w+Prs/P7w+PgH0/c4AAAAACAAAAAADqgMtAAMABwALAA8AEwAXABsAHwAAEyMVMxUjFTMHMxUjFyMVMxMhFSEFIRUhBSEVIQUhFSF9Pj4+Pj4+Pj4+Pn0CsP1QArD9UAKw/VACsP1QArD9UAKwAy0/fT59P30+AnE/fT59P30+AAQAAAAAA8cDvwAYACkANgBDAAABNwEVBSc1IyYHBgcGBwYHJyY3PgMXMxcVNycVIyYGBwYHNjc2NzYzBz4BHgIOAi4CNhceAT4CLgIOAhYCPDwBT/6xPBhOKDsvNjM2O0ABDA1Vg6JVK0vt63hQlzpGHkNEO0kyXNwoYVg2Bi1RXlU2BihQGDo0IAQaMTkzIQMYA6Ed/vk6/R1zAQQGExUrLk0VMC5Tkmw2Atl0sr5vBDk5SmE/IB0JB/YcBypRYlY1BCpQXlXTEAQZMTozIQMZMTkzAAAAAAEAAAAAA6YDqgATAAABLgIiDgEHIzY3Njc2MhcWFxYXA2YPap+0n2oPPw8/PVxf1l9cPT8PAjNYj1FRj1hqVlUwMTEwVVZqAAQAAAAAAvEDiwARACEAKgA3AAABLgErAQ4CBwYXEzMTNic0JicXNx4CFxYHCwEmNz4CFyYOAR4BPgEmJz4BHgIOAi4CNgKlI1syAkRyQwEBJ8QixCgCJ9kFBTJUMQEBHqCgHgEBMVRZFjMdCysyHQp+HEQ9JgQfOUI6JQUcA0AjJwFDckRIPP5xAY88SDJbLwEBAjRWMjYs/r0BQyw2MlY0hg8LKzIdCiszQhQFHTlEPCUCHTdCOwADAAAAAANrA6oAEQAbAB8AAAEjNTQuAQ4CHQEjBxEXITcRJTQ+ATIeAR0BIQEhESEDLT9Dc4hzQz4/PwJxPv3OMlZmVjP+iQH0/Y8CcQIzfUNzRAFDc0R8P/6JPj4Bd7wyVzIyVzJ9/koBdwAEAAAAAAOqA4sAHAAgACQAPQAAASIHBgcGFREXMzcRND4BMh4BFREXMzcRNCcmJyYBIzUzBSM1Myc1NC4BIyIOAQcVIzU0NzY3NjIXFhcWHQEB9HhmYzk7Prw+IjlEOSI/uz88OWNm/s28vAIyu7u7MlY0MVQzA7wzMlVYylhVMjMDijs6YmZ4/sc+PgE5IjkiIjki/sc+PgE5eGZiOjv9Ery8vD4/NFYxMFAvSz9lWFUxNDQxVVhlPwAAAAMAAAAAA6oDhgAHAAwAFAAAASMFERchNxElBQchJwEhER8BIT8BAgQg/lsfAywg/koBYFb97FIC0/0SRRkCMhlFA4b5/g8fHwHxutBjY/5FAXxXDAxXAAADAAAAAAOqAy0ABwANABAAABM3IRcRByEnExEhEQEjASEFPx8DLCAg/NQfPgLu/pwmAU39jAE6Aw0gIP3OHx8B8v4tAdP+7wEy8gAAAgAAAAADqgKwABAAFwAAATMRIxMDIwMWEzEjETMXFhclNSMVIxc3AY2DWwRvS3ECAVKGMDECAgh6eba3ArD+ZwFM/rQBTCj+3AGZj5IMStvbtrYAAwAAAAADqgMYAA8AFwAbAAATJRcRByUOAi4CNy8BNRcGBxQeATY3JQURBX0DAyoq/oMJMkdHNBIKgRrWAgEkNS4I/twCyv02AkHWIf3nIWMjNRQSNEckISJ5zAcIGykIHBqSvAHKyQACAAAAAAMXAy4AQgBOAAAlDgEnBi4CNyY+AjMyFxYXFhUUBw4BJwYnDgEnIiY1NDY3NjM2Fhc3MwcGFjMyPgE1NCYjIgcOAQcGHgI3FjcXJRQzMjY3NiMiBw4BAo4rYjI6bFMoBAMxYH5FTD1AJCYYGFMyRAISOyEvNywlJi0eMwgNOTILChYfNR97Z1BAPUQBAyBCWS9dUgz+9zkkNw4eVR8aFxvkGhcCBChSbTlFgGI2HR03OlBCNjM6AQE6HB4BPjo3Yh0eBCEdM8grIS5RMWBsKCeJUy9ZQyEEBCst6Us6OHgZFkoAAwAAAAAD6ALuAAMABwALAAABITUhESE1ITUhNSED6PwYA+j8GAPo/BgD6AKwPv3OPrw+AAIAAAAAAw4DTAAnAD0AAAEnIwcXNxUjFRcVFB4BFx4BHwEeAh0BMzU0JyYnLgQnJjc1FwM2NyYvAQ4DBwYHBh0BMzU0PgE3ApCGLIYsRAECBgkIDioYLxgmGFgKCRIQKi0qIgoLAUOsCwoYDwYQKSwqERIJClkXJhgCxoaGLUVAHAETEyQlFCQ5GjIZN0IrNzcsKyQhHjMuLzQfIiRiRP7uCwwiJhIYLS4zHiEkKyw3NytCOBgAAAADAAAAAAOrA6oAEQAWABoAAAEjFSEHFRchETMRIT8BNS8BIQUhNSEXJSEVIQH0Pv6oHx8BWD4BGRWIiBX+5wEM/X0Cg2b90wE4/sgDqn0g+h/+SwG1CH0ufQn6u14gPwADAAAAAAOqA6oACgAVACUAAAEFFxEHJQUnETclEwURJRUjNQURJRUTNxcVByc3IRcHJzU3FwchAhgBgw8w/nr+ei8OAYNEAVf+qT/+qAFYdy2amixk/oljLJqbLGcBfAOq+hj9wRr6+hoCPxj6/cXdAfXbsrPd/gzeAQErK5ssmixkZCyaLJsrZwAAAAMAAAAAA6oDLQAVACQAKAAAASUjBREzERcGFQYXFR8BMz8BNSYnNwcVByc0NT4BNxczNx4BByctAQUDqv5VFv5WPpAxAQES+Br2EgEw09za2wEYFqEXoBYYAdn+qgFWAVcChqen/nQBOTlGVQoKBxlvcRkbVUZR6wVjZAICJEQcPj4cRCSChoSGAAAABAAAAAADiwOqAAkAEwAdACcAAAEHNSMVJwcXMzcBFzcVMzUXNycjAwczFSMXByc1NwUzJzcXFQcnNyMCgG0+bC2iLKL+kC1sPm0soiyybdfXbS2hoQFT120toaEtbdcBS2zX12wsoqIB6Sxs19dsLKL+9Ww/bCyhLKKYbCyiLKEsbAAABQAAAAADqgOqAAwAEAAYABwAIAAAATchFxEHIzUzNSEVIzcVITUBBxEXITcRJwU1IRUFIRUhAXcfAfQgIJx9/ks/PwG1/PMfHwH0Hx/+KwG2/koBtv5KA4ogIP5LHz76Prs+Pv7IIP5LHx8BtSB9Pj4/+gADAAAAAAOmA58ACQARAB0AABMzNxcRBycjJxETFxEPASMVMyUXBxcHJwcnNyc3F16u8TY28a4f8MXFFpycAmAtbW0tbGwsbGwsbAKw7xb81BXxHwE4/tzEApXDCfr2LGxsLW1tLWxsLGwAAAADAAAAAAPoA6oACwAcAB8AACEzNTM1IzUjFSMVMxMvASEHERchNSMRIRUzFTM1IzUXAu4/u7s/u7s41BP+XR8fARr6ATj6P/q1vD68vD4CDdoHIP0SHz8Cr/o+fbu7AAADAAAAAAPoA6oAEgAcACgAAAEhLwEhBxEXITUhESE/ASEVMxEHIQ8BITUhHwEhAyM1IzUzNTMVMxUjA4r+WDUW/scfHwFY/sYBGRY2AYo/QP5qFjX+9AEMNRcBlj4/u7s/u7sDazUKIP1RHz4Bdwk2fQEZXgk2uzUJ/NS8Pry8PgAAAAAEAAAAAAOqArMADAATABoALAAAEz4BHgIOAi4CNhcmIg4BFB8BFjI+ATQnJRUUBiMhNycHFRc3JyEyNj0BkipkWjgGK1VkWjgGK9IdQzshEiwdQzshEgIGEg3+/Wctn58tZQEBJzYCkBwGK1VkWjgGK1VkWhUSITtDHSwSITtDHX18DRNmLZ8knyxlNyZ9AAAFAAAAAAOqA2sABwALAA8AEwAXAAATIRcRByEnERcRIREFIRUhBSEVIQUzFSNeAywgIPzUHz4C7v2PAfT+DAF3/okBd/6J+voDax/9jx8fAnEf/c0CM30/Pj8+PwAAAAAHAAAAAAOqA6oABwALABMAFwAbAB8AIwAAEzchFxEHIScTESERBTchFxUHISc3FSE1BSMVMwczFSMXIxUzfT8CMj8//c4/PwIy/gw/ATg/P/7IPz8BOAE5Pz8/Pz8/Pz8Daz8//RI+PgLu/RIC7n0/Pz4/Pz4+Pj59P30+fQAAAAQAAAAAA6oDPQArAEsAVABdAAABNjc2LwEmBwYHBgcmJyYiBwYHJicmJyYPAQYXFhcGFRQXFhcWIDc2NzY3NAEiJyYnJjU0Njc2NzYzMhcWMjc2MzIXFhcWFRQHBgcGAyIGFBYyNjQmMyIGFBYyNjQmA2ILAgQYCw8TGx8oLSUvI2gjLyUtKB8bEw8LGAQCC0c4NGZXARZYZjQ5Af5KbzZPJi0dGxQdGSUXMTo9OTEXJBkeFDgtJk839xsnJzYmJvcbJiY2JyYChRsjOz0BAQUFDxIfCwQDAwQLHxIPBgQBAT07IxtMa4dPSR8bGx9JT4dr/nIIDSUqUx86GBMHBwQEBAQHBxMyP1IrJQwJARI5UTk5UTk5UTk5UTkABAAAAAAD6wOqAAwAEAAlADMAABMhFxEmJxEhEQchJxETIREhAQYHIw4CFhcHFzceAT4CLgEnJgcGJy4BPgIWFx4BDgG8Aq8/HiH+yEb+zz8/ATj+yAKIKCICGyYOCxKTLJMfSUc0FQwtISQZIRwYFgspNzUQDgMVKAOqP/61DgUBOP1YRj8Cr/1RAq/+iQIUEDQ/PxuSLZQVCRk2R0k8ERH7AxMQNDgoCxYXFTEtHAAKAAAAAAOqA6sADQAZACoAMwBQAG4AhAChAK0AtgAAAQ4BLgI+Ah4CBgcnLgEOAhYXFj4BJjc2FhceAQ4BBwYmJy4BPgE3FxYyNjQuAQYUATMVIyImPQEuAT0BPgM7AQYHIw4BHQEzFQYWAS4BKwEOAx0BBhYXFRQXFhczPgEnNT4BJzU2JgMjFQ4BKwEuAT0BIzU0NjczMhYXFhUTIzUzMjY9ATM1NCYnIyYnMx4DFxUUBgcVFAYBIg4BHgI+ATU0JgciJjQ2MhYUBgI5G0Q9JgQfOUI8JQQcHCMOIh8TAhAOFjEcCY8cQxcRDgodFho4FA8OBBUSHgkaEhIaEv34cnIfKxskAREeKRZzGAtQFBw/AQcBzhAoFpsWKR4RASQbFhEYfRskARskAQERLj4BBwVlBQc+HBOcDhgGA7BxcAUIPhwTUQsXcxUpHhEBJRor/bodLxULKDg1HzcnDRISGhISAsUUBR44RDwlBB05QjsTmwoDDh0iHgkNCioyDRIGGBEtLiUJCwsUDygqJQtkCRIaEgETGv3ZPywfcQEnG4gWKSARHCMBHBSLsQUHAZcQEQERHykWxhsnAZEfFxADBCkckQEnG8YWKf740QUIAQcF0ckUHAERDQkK/nk/BwWxixQcASMcARAgKRaIGyYCcR8sAtEfNTgpCxYwHCc3fRIaEhIaEgAABQAAAAADawPoABUAGQAdACEAJQAAARUXEQchJxE3NTMVMzUzFTM1MxUzNQEhESEXIRUhBSEVIQUhFSEDLT4+/Y8/Pz59P30+ff3OAnH9j30Bd/6JAXf+iQF3/okBd/6JA+g+P/zUPz8DLD8+Pj4+Pj4+/FcDLH0+vD68PgAAAAAEAAAAAAOqAy0ACgAQABQAHAAAAQUXEQcFJScRNyUXBx8BPwEBBRElBRElEQcVBzUCGgFnKRj+gf6BFyYBZgz6Ita8O/2yATj+yAF3ATh+PwMtYB3+Wh5paR4Bph1gPz4NODIT/nJWAWdTU/6ZVgFmIqEQnwAAAAADAAAAAAOQA6sAIgAtAEUAAAEnNQE1LgMHJgYdAQcGFB8BFhcWNzY3AQcGHgM+AgEmPgIXHgEdAQcTBgcGJyYvASY0NwEVBhUGHgE+ASYnNRcDjUj+zgEOGyMSJza/GxvjDREkJBENATQpAwYSGh8cFQb+CgIECg0HCxA+QQQGDAsGBeIKCgEPDwEUIR8OCQ7wAQbDBAEyThMiGg4BATcmzLscTRzjDQcPDwcNATSKDh0XDgINGB0CVQYNCAQCAREMTj/9yQUCBgYCBeIJGgkBELIOFBEdCA4fIQqx8gAAAAIAAAAAA6oDqgAUABsAACUyNzY3NjQnJicuAQcGBwYUFxYXFhMjJzcXARcB9HdmYzo8PDpjZu5mYzo7OzpjZjcsjix4AQcsPzs6Y2buZmM6OwE8OmNm7mZjOjsBAo4seAEHLAADAAAAAAOdA68ABgAiAD4AAAEzAScBJwcBFhcWFxYVFAcGBwYHBgcGJyYnLgM3Njc+ARM2NzY3Njc2JzQmJyYnJgcGBwYHBhcWFxYXHgEBiCwBHSz++XgsASBIRkI2fRsZMDA/QklNR0tAQ2M5BxcxfjySaz41OCkoExUFNzNhgD88QTJrJBQDAhs5cDh+AUEBHSz++XgsAdsFIyA1h7hKR0Q+OiYoDg8LCyQnb4yaRZxSKSb81Q8gIjM2OT8/TI4zYQkFDxAkToE/PkI7ekEhEwAAAAQAAAAAArEDqgAIABUALwBDAAABMhYOASImPgE3Ig4BFB4BPgI0LgETIyIOAR0BBhYXFRQWOwEyNic1PgEnNTYuAQM1NDYXMzYWHQEjFRQGKwEiJj0BAfQaJQEkNCUBJBoiOSIiOUQ5IiI5K5oeMx0CJRssH2QgLAEbJQIBHjPoHBSaFBw+CAVkBQgDayUzJSUzJT8iOkM6IgEhOkM6Iv7nHjMepRsoApEfLC4fkAEoG6UeMx7+5qsUHQEBHRSrzwUHBwXPAAAAAgAAAAADawLuABwAOAAAAREjIiYnIw4DKwE1Iyc3MzUzMhYXFhczPgE3BwYHBg8BIScmJyYnJicRNjc2NzY/ASEXHgIXA2sRJkEWsw0pMzwfIMk+PskgHzsaNhqzFkAnIAoKEAoM/v8HDR8PGRcWFRgZDx4OBwEBCwUOEAwCsP5KIR4dLiER+h8f+hIQITodIQFEBAYMERIVJhsNCwoF/koECwsNGyYVEwgODQMAAAACAAAAAAPpA2sANwBRAAATIRUUBgcVFhcWFwYPASYvARE3PgI3IRYXFh8BEQcGBwYHBgchBgcjFQcnNSM1NDY3Njc1LgE1AT4BMhceARcWFAcOAQcGIicuAScmNDc2Nzb6AbYhHh0XEw4dGgMbKhQSCQ4NA/7SBAYLERMVJxoNCwoFATkSDCEfH/oRECI5HSEB1BUwMxgwRg0HBw1GMBgzGDBGDQcHDikOA2sRJkAXsw0VERQKEAEiDgcBAQsFDhELCwkQCgz+/wcOHg8ZFxYXGsk+PskgHzsaNhqzFkIl/gMNDQcNRjAYMxgwRg0HBw1GMBgzGDUkDQAAAAACAAAAAALuA2sAHAA4AAATIRUUBgcVHgMdASMVByc1IzU0Njc2NzUuATUXFhcWHwERBwYHBgcGByEmJyYnJi8BETc+Ajf6AbYhHh0uIRH6Hx/6ERAiOR0hRAQGCxETFScaDQsKBQG2BQoLDRsmFRIJDg0DA2sRJkAXsw0pMzwfIMk+PskgHzsaNhqzFkIlIAsJEAoM/v8HDh4PGRcWFRgZDx8NCAEACwUOEQsABAAAAAADnQOvABsANwA6AD0AAAEWFxYXFhUUBwYHBgcGBwYnJicuAzc2Nz4BEzY3Njc2NzYnNCYnJicmBwYHBgcGFxYXFhceAQMNAT8BJwIaSEZCNn0bGTAwP0JJTUdLQENjOQcXMX48kms+NTgpKBMVBTczYYA/PEEyayQUAwIbOXA4fnQBSP64Nq+vA6oFIyA1h7hKR0Q+OiYoDg8LCyQnb4yaRZxSKSb81Q8gIjM2OT8/TI4zYQkFDxAkToE/PkI7ekEhEwJa2txndXQAAAIAAAAAAygDawACAAUAABMRASMBEfoCLWz+fQNr/PQBhv7xAh4AAAACAAAAAALvA6oAFwAiAAABIxUjBxUUHgEXFTM1PgI9AScjNSMVIxMOAS4BPQEhFQ4BAbY/Xh85ZD4+PmQ5H14+fcMpb2k/AXcBHAOqvB/bPmxGCL29CEZsPtsfvLz+gSgWLF45vLwlRQAAAAAFAAAAAAOqAu4ABwAPAB8AJwAvAAAlIycjByMTMxMnJicjBg8BBREzMhYVFAYHFR4BFRQGIwMVMzI2NTQjBxUzMjY1NCMCFUQ44TRFy0A6UwUDAQQFUgGXlkVQMCs1QWJKXD8zOmVHVDY9gN2UlAIR/rvhEhIXDeHMAhFDNi1DDQIGRTZEVAHZqzEtTeO+NC1dAAAACAAAAAADqgNrAAcACwAPABMAFwAbAB8AIwAAEyEXEQchJxETIREhBSEVISchNSEDMzUjFzMVIycjFTMHMxUjfQLuPz/9Ej4+Au79EgKw/Y8CcT/+DAH0u/r6Pn19u/r6+vr6A2s+/Y8/PwJx/Y8CcT+7Pj/+Svo+fbs+fT8AAAACAAAAAAMOAw4ABwALAAATNyEXEQchJxMRIRHbHwH0Hx/+DB8+AbYC7h8f/gwfHwHV/koBtgAAAAUAAAAAA6oDqgAHAAsADwATABcAABMhFxEHIScREyERIRczESMBIxEzEzMRI14DLCAg/NQfPgLu/RI/fX0Bd319fX19A6og/NQfHwMs/PMC7j79jwJx/okBd/4MAAAAAAEAAAAAA6oDLQASAAABAyMLASMDIxUzPwETMxsBFzM1AuJxPnRJPEmyyR8uR0B1Wx7gAbYBd/5hATX+8z4Xqf7CAbj+3Bc/AAQAAAAAA2wDqgAVACoAUwBXAAABBgcGBwYWFxYXFjI3Njc2NCcmJyYHESInJicmNDc2NzYyFxYXFhQHBgcGEyYnJiIHDgIHMzQ2NzYzNh4CFRQGDwEOAh0BMzU0Nj8BPgI0JgMzFSMB1W9eXDY4ATc2XF7dX1w2Nzc2XF9uXlBOLS8vLU5Qu1BOLi8vLk5QBBEVHDoaFyAPAk0RDgkKCRAMCA4KFgwUDUsPCRcMFQ4Om0lJA6oBNzZcXt1fXDY3NzZcX91eXDY4Af0TLi5OULtQTi0vLy1OULtQTi4vAg8RCQsMCSQrFw8ZBgMBBAwRCREeDRsMGh4RKR8OGgwbDiAmKij+x0kAAAIAAAAAA3YDgQAVACwAAAEGBwYVNjMyFhcWFRQGIyImNTQ3NjcFBgcGFTYzMhYXFhUUBiMiJjU0NzY3FwHAdjQ4ChEpSBUXV0ZZYVBOmwH9djQ4ChIpRxUXVkZZYVBOm0gDDUtRWHoDJCAkLktZioCwhIBac0tRWHoDJCAkLktZioCwhIBacwAIAAAAAAOpA6oADAAZACUAMQBFAFIAVgBaAAATPgE3Jw4BFBYXNy4BNwYWFzcuATQ2NycOAQEnPgE0Jic3HgEUBhMHHgEUBgcXPgE0JgcWBwYHEwcnIQcnEy4BNjc+AR4BBw4CHgEzMjY1NC4BFyMHMxcnIwe7ATQxLTk+PjktMTRCASsoLSAhIR8sKCoB3i0gISEgLScrKy4tMTU1MS05Pj75AxMICdc5MP6mMTnXFAsVGBUxLRxhCQwEBhAJDRIKEgURNn1UOLQ3AotEfjEsOZWhlTksMH5EOGcnLR1RVlEeLCdn/wAsH1BWUR4sJ2dwZwHALTB+iH4wLDmVoZXcIhwIBv4dGWxsGQHjFDg0EA4EFSkDAg0REQsSDQoPB4N5vH19AAAAAAUAAAAAA6oDbQAZACIALwA4AEQAAAEUBzM2LgMOAh4DNzUGLgE+Ah4BBTI2NCYiBhQWFzI2NxcOASImJzceATcWNjQuAQYUFhczFTMVIxUjNSM1MwLuAj8HLV2CjoRlNAQ9aodHV5pQFnSqpGP+ahokJDQlJZchOhYsH1JaUx8sFj2eGiQkNCUltj99fT99fQITDxBHh2o9BDRlhI6CXS0HPwpTm62DKT6QOCQ0JSU0JJ0aFywhIiQhLBgbnQElNCQBJTQkvH0+fX0+AA4AAAAAA6oDLQAPABMAFwAbAB8AIwAnACsALwAzADcAOwA/AEMAAAEhIgYVERQWMyEyNjURLgEDIREhByMVMwcjFTM3MxUjFyMVMyUhFSElIxUzJTMVIxUjFTMHMxUjETMVIzcjFTMHMxUjA2v9URolJRkCsBolASQa/VECr7s/Pz8+Pn0/Pz8/P/5KATn+xwG2fX3+xz8/Pj76Pz8/P7w/P7x9fQMtJRr+SxolJRoBtRol/gwBtT4/Pj+8P7s/Pz+8P7w/Pj8+PwE5Pz8/Pj8AAAAAAwAAAAADnQOvAAwAKABEAAABMj4BNC4BIg4BFB4BExYXFhcWFRQHBgcGBwYHBicmJy4DNzY3PgETNjc2NzY3Nic0JicmJyYHBgcGBwYXFhcWFx4BAfQiOSIiOUQ5IiI5SEhGQjZ9GxkwMD9CSU1HS0BDYzkHFzF+PJJrPjU4KSgTFQU3M2GAPzxBMmskFAMCGzlwOH4BdyI5RDkiIjlEOSICMwUjIDWHuEpHRD46JigODwsLJCdvjJpFnFIpJvzVDyAiMzY5Pz9MjjNhCQUPECROgT8+Qjt6QSETAAEAAAAAAw4DdQAdAAABFQcjNTMnLgEOAhYXAQcBJicmNz4BNzYXFh8BNQMNH9ueOypzdFUfICsBRS3+uzcTExMTbktISEs3LANr2x8/OisgH1R0dCr+uy0BRTdLSElKbhQTExQ3K38ACgAAAAAD4QPoABkAIQAlADIANgA6AD4AQgBGAEsAAAEHJzcjIg4BFB4BOwEVIy4CND4BNzMnNxcTIScRNyEXESUhESETIRcRByM1MxEhFSM1EyMVMwczFSMXIxUzEzMVIxcjFTMnNTMVIwHPjy9WyBsuGxsuGyUlLEgrK0gsyFYvj+b+cCIiAZAh/nABTf6z6QGQIiKnhv6yQkPIyMjIyMjIyELIyMhDQ4uLSQMqjy9XGy81LxtCAi5LV0suAlYvj/ynIQIVIiL96yIB0gGQIf3rIUMB0sjp/k9CQ0NCQwKbQ8hDxwFCAAIAAAAAA3UDawAhACgAAAEOAh4CMzI3Njc+AScmJyYnBx4CDgIHIi4CPgE3JyM1MxcVIwFcUG4rJGubV1tRTzQ2HB0cPkFXEkhpLxdYhUxDelkoD0Q3B7zbHz4DSySEp6uITCooSEm0VlQ/QBw7GGqNlnlEATdjgYRzJjo+H9sAAgAAAAADbgNrABEAFQAAATMVNxcHFwcnFSM1Byc3JzcXATMVIwJyPaAeoKAeoD2gH6GhH6D+C/r6A2vDYjhhYThiw8NiOGFhOGL+z/oAAAAFAAAAAAPpA5AAFAAhAC4ANAA6AAATIRcRJicRIREhFBYXITUzNSEnETcBIg4BFB4BMj4BNC4BAyIuATQ+ATIeARQOATcnNxcHFycXBxc3JzgDTiEeI/zzAUUhIP78w/6aISECrEd4RkZ4jXhGRnhGNVo1NVpqWTU1WTdaWhs/P/o/PxtaWgOPIP6aFhABH/22NGUqQUEhAosh/nlGeI14RkZ4jXhG/jg1WWtZNTVZa1k1g1laGz8+Oj4/G1pZAAACAAAAAAMnA6oABgANAAABJzcnARUJARcHFwE1AQMn+fkn/vQBDP28/v4mARL+7gGS+Pkn/vQn/vQBHv/+JwESJwESAAEAAAAAA6oCMwADAAABITUhA6r8lQNrAfQ/AAALAAAAAAOqA6oADwAbAC0AQwBNAGIAbQCAAIgAjACTAAABNjIWFRQGIyInMRUjNTMVBwYWMjY1NCYiBwYXASc3FzU0NjczFSMOAR0BNxcHJTM1NCMiBwYHFTYyFQcGFRQWNzI3MzUVFgYjBiY1NDcDIzUxBiMGJjU0PwE0Igc1PgEzMhUHNQcGFRQWNzI2NRcyNzUOASY0NhYXNSYjIgYVFBYlNyEXEQchJxMRIRElNyEXEQcRAtUOMBoeGBcLJSUBAQ4YDg0XCAgB/i6FKT8zJJOTDBE7KYIBSCg7DQ8NCxYxJTAXFBsOAQEPDQgLFXopDhsUFy8mMhYJHw07KBkVCggNDrYeEA8mGBgmDwwbJy8s/l0/AjI/P/3OPz8CMv6JPwG1Pz8DQR0sJykyFxP2aUUOFxsZFBgMDhD++oUpPl4kMwE5ARIMXjspgq1rTAUDByoTHQYINBkeAR47DA8XAQ0JFQP9vBoeAR4ZNAgGHhQqBglMIgwFAxUJDQEVEU0KLQ0BHDAdAQ0vCDUtKDH6Pj7+xz4+ATn+xwE5fT4+/sc+AXcAAAAABgAAAAAC7wOqABAAIQAyAEgAUABUAAATFzcnBzU0NjsBNSMOARcVJwUzFjMyNjU0JiMiByM1IxEzJzU0NjMyFhcWFRQHDgEjIiYDBiMGJjU0NjMWFxUmIyIGFBYzMjcVAQcRFyE3EScFIREhyY6KK0ASDV9fJjcBRAF1AREhJSwmIyYUATc3ARUSCA8ECgsEEAkQFDYYLjVBRjsoExYcHiQiHhoZ/sg+PgG2Pj7+SgG2/koC/o2LKz9kDRQ9ATYnZEKcHT80MDckg/7MWxUXHQgHDhofEQgJHP4MDgFDNTxHAQs+ESVAJBE7AWk//ok+PgF3Pz/+iQABAAAAAANsA2IAGAAAAQcVFzcnMzIXHgIdATM1NCcuAScmKwE3AYr7+yzIdoFZVmgxPxwdfmRii3HDA2L7LfssyRwbaqd3FhaBW2OBHx7EAAkAAAAAA6oDqgApAC0AMQA1ADwATABVAFkAXQAAASERMzUhDgIHBhURFBYXFjsBNSMiJyYnJjc1Jjc2NzYzIRUjFSE3ESMBIxUzBzMVIxUzFSMTIzUzFSMnEyEXEQcjFSM1IyImNREmNhMzNSMiBhQWMzczNSMnMzUjAy39zfr+9hYpHggIJB8UFhAQCggSBwICAgIHEggKAkP6ARkfPv5KPj4+Pj4+PhERuxFN2wEZICCcPj8aJAElOSAgDRISDV59fT67uwF3AfQ/AREgFRMU/a4hNw0IPgQIEQkJIAkJEQgEfj4fARoBdz8+Pz4//ku7u14DDSD+iR8+PiUaATgaJf6JPhIaEwE+P7sAAAAAAgAAAAADawOqACYAOAAAEyEXEQcjNTM1IzUzESERMxUjIgYXFQYWNzMVIyIuAjURND4CFxMXNxUHFzcRMxEXNyc1FzcnI+oCYh8f27y8vP3NvMwUGwEBGxTMzBYoHxAQHygWZCx6pC14Pn8sq30rsCwDqiD9Eh8/fT4B9P4MPhwTIBMcAT8RHikVAlIWKB8RAf7TLHpbpCt4/icB334rrFV8LLEAAAAABAAAAAADbANvADEAOgBEAE4AAAE0LgEOARYXFRQGDwEnLgE3NT4BLgEiDgEWFxUUFh8BFQ4BHgEyPgEmJzU3PgEnNT4BJTQ2MhYUBi4BARQGIiY0NjIWFRMiJj4BHgEOASMDa0JiTQ82MAkIra0ICgEuNQxHXkcMNS4bGKouNQxHXkcMNS6pGRsBKTT9jyUzJSUzJQFWJTQkJDQlnholASQ0JQEkGgLuMUgIPWBSC0IJDwRaWAQQCkIMTl0/P11ODEIbLQxYUgxOXj4+Xk4MUlUMLxtEC0MqGiUlNCUBJP3oGiUlMyUlGgH1JDQlASQ0JQAAAAcAAAAAA6QDqgAqACwAMAA0ADgAQgBJAAABFSM1IREhFQchNTM1IQYHBgcGHQEUFxYXFjsBFSMiLgI1ETY3PgIzIQERFyMVMxUjFTMHMxUjAQcXIRUhBxc3NQEHIzUzFSMDLT/9zgJxIP7n+v29CQkSBwMDBxIJCRERFSkeEQEIBx8pFQJi/XC8Pz8/Pz8/PwH4K3j+dwGPfiux/bVMErwSA4pdPv4M2x8/fQEDCBEJCSAJCREIAz8RHikVAlIUExUgEf3DAdAPPz4/Pj8BICx4P38rsCz+Ol67uwAFAAAAAANrA6oAJQAqAC4AOAA8AAABISIOAhURFB4COwE1IwYmNzUmNjsBNSMRIREjFTMVIxUzNxEFIhUZARcjFTMDFzcRMxEXNycjJzMVIwNM/Z4WKB8QEB8oFszMFBsBARsUzLwCM7y8vNsf/VEBvD4+Jy14Pn8ssSzIPj4DqhEfKBb9rhUpHhE/ARwTIBMcPgH0/gw+fT8fAu5NAf4wAdEQP/7dK3j+JwHffiuxND8AAAAGAAAAAANrA6oAJQApAC0AMQA1ADwAAAERJyEOAgcGFREUHgI7ATUjBicmJyY9ATQ3Njc2MyEVIxUhNyURIREBMxUjFTMVIxcjFTMTByM1MxUjA2sf/Z4WKR4ICBAfKBYQEAoIEgcDAwcSCAkCRPoBGR/9jwIz/gw+Pj4+Pj4+H0wRuxEBdwITIAERIBUTFP2uFSkeET8BBAgRCQkgCQkRCAN8Px/bAfT+DAG2Pz4/Pj/+qV67uwAABAAAAAADqgOqAAsAFAAYABwAABMhFxEHIQcnNSMnEQEhESERMxcVNxMzESMVMzUjXgMsICD+WLM1nB8BlgGW/RKcIIYWPj4+PgOqIP2PH7IWnB8Ccf2vAjL9ziBwhgH+/sd9PwAAAAAEAAAAAAOqA6oACwAUABgAJAAAASEHERczFRc3ITcRAyEPATUnIxEhAyM1MwMzFTMVIxUjNSM1MwOK/NQfH5w1swGoID/+ahaGIJwC7vr6+pw+fX0+fX0DqiD9jx+cFrIfAnH9rwqGcCACMv4MQAF2fT99fT8AAAAGAAAAAAOqA6oAFQAaAB8ALAAyADsAAAEGBwYHIQcVHwEVFzEfATM3ETY3NjUBMwYHJwEnNjcVLwE2NzY3NjcGBwYHBgc1IzUjFQE2LgEOAR4BNgOKm5t8dv78Hwk++j8WuyBtP0381KVMPxoBZBpaUNfWNkdyeaCeCmRMe0zvfT4CYRUPQE0rD0FMA6oBTT9tILsWPgH6PgkfAQN3fJub/udQWRr+mxo/TKVI1U9NekxkCp6geXFHvD59uwHfIEwrD0BNKw8AAAQAAAAAA9ADawAeACcANABCAAATNTchHwEhFxUzFwMHIzY3MxMhJic/ASE1IS8BIRcGARQGIi4BNh4BFxQOASIuATQ+ATIeAQcyPgE0LgEiDgEUHgEzPx8BOBY2AWofRx6lHusYEqqU/pgUGQgWARr+qBY2/vQBIgEbN042ATdON307ZHdlOjpld2Q72ytHKytHVUgqKkgqAmHrHwk1IJwn/koXHSIBdxgVCAl9CTajEf7fJzc3TjcBNic8ZDs7ZHdlOztl1ypHVUgqKkhVRysAAAAABAAAAAADqwNrABwAJQAyAEAAAAEhFxEHITY3IRMhByYnPwEhNyEvASEVBgc1NyEXAxQGIi4BNh4BFxQOASIuATQ+ATIeAQcyPgE0LgEiDgEUHgEzAeIBqCAf/pcYEgEeAf52ARoeFhYBlgH+ahc1/vQhHR8BORY2N042ATdON307ZHdlOjpld2Q72ytHKytHVUgqKkgqAy0g/Y8fHSEBtwESDRYKPQo1ohEY6x8J/fYnNzdONwE2JzxkOztkd2U7O2XXKkdVSCoqSFVHKwAAAAMAAAAAAy0DLQAFABUAIwAAJSM1Mh4BAxUyFx4BFxYVMzQnLgEnJgcVMhcWFxYVMzQnJicmATl9IjkifXJoZZwrLD8yL61wdH9USUcpKz80MVVYvH0iOQJPPywrnGVoc4B0cK0vMvo/KylHSVRlWFUxNAAAAwAAAAADqgMtAAkADgASAAATATMBNS8BIQ8BCQE3IRclMxcBPwGfLQGf0Bb+YRfPAbX+jrABhLD+jqhx/ucCJ/5hAZ8tzwoKz/53AXKxsXFx/u0AAwAAAAADhQNrAAIABQALAAAJARETCQETNQkBNQECqv3TPgGD/n2dAcH+PwItAeX+egMM/WsBDwEP/WtNATkBOU3+egAEAAAAAAOqA6oADwAYABwAJgAAAS8BIQcVIwcRFyE3NTM3EQMhETMVITUzFwU1MxUFIxEvAiE1IRcDoF4V/esfmx8fAnEfnCD6/c0/AXcxTP7HfQF3fQleFv7IAehLA0JeCiCcH/2PHx+cHwIU/VACM8DATDF9ffoBOBZeCX1MAAUAAAAAA6oDpwAUABgAJgApAC0AAAEfARUjBzUnIxUhNSMRMwcjJxE3IQczNSMFFwcBDwMnPwMJAQc/ARcBJwKyaBMgH2gV/ol9vCCcPj4CCdB9fQGWXgL+qQkXBrsqXQYXCAFX/qggQQoyAUExA5VoLRQgNGn6+v2PPz8CcT73u7teK/6oCBcFXiq7BxcIAVj+Oz4eYDEBQjEAAAMAAAAAA6oDqgAJABIAFgAAAR8BEQchJxE3IQURIREnIxUhNTMVMzUDQ10KIPzUHx8Cz/1QAu5LcP5K+n0DoF0W/TEfHwMsID/9EgKjS/r6u7sAAAYAAAAAA6oDawADAAcADgAVABwAIwAANyERIRchFSEnIzU3MxUjJRUjNSM1MwMzFQcjNTMhMxUjJzUzvAJx/Y99AXf+ibw+H9u8Ay0/u9ofPyDau/0SvNsfPvoB9H36+tsfPh/bvD7+DNsfPz8f2wAGAAAAAAOqA6oABgANABQAGwAjACcAABMjNTM1MxUlNSMVFzM1AxUzNTM1IyEVMxUzNSclByEnETchFwcjFTPbnH0+AjM/H528P32d/TJ9Ph8CEx/+Sh8fAbYfffr6Au4/fZ0gfZ0fP/2unH0+Pn2cH14fHwE4ICBdfQAABAAAAAADrwOxACEALgA5AEIAAAEOARYXFhcGHQEmJwcnNy4BPgMeAhUUByYnNTQuAQYTPgEeAg4CLgI2Ex4BMzI3AQYVFBYTATY1NC4BIyIBZyoqAxobMgYUCe0u7TIrFFB+k5JwPwQbH1+ep4I3hnlLCDxwhHhLCDo+GkUmOzH++iIdMgEGIjJXMjwDGSptdDY5KB8fCw4H5SnnOI+UgFEXKmKISxkZGBIIVY5BIf6zJgk7cIZ4Swc6cYR3/tIaHSIBBjE7JkUBBP76MTwyVzIAAAACAAAAAAPaA+kAEgAnAAABIg4BFhcBFwEeAT4DLgIjESInJicmNDc2NzYyFxYXFhQHBgcGAntlq1MfQ/6wLgFQOo+RekwSLGKGS0xCPyUnJyU/QplBQCUnJyVAQQPobrnJTP6DKgF8LiIaVH6Sjm49/Y8mJj9CmUFAJScnJUBBmUI/JiYAAAAABgAAAAADswOqAAMABwALAB0AIQApAAABMxUjETMVIxUzFSMFIRMzETQ+AhchNh4CFREzBSERIQEnIxUhNSMHAXf6+vr6+voCO/yETnYKERcNAXcMFhIKdv3VAXf+iQIpL0X+DEUvAy0//sg/Pj/6ATkCMgwXEgoBAQoRFw39zn0Cr/zUu319uwAAAAAGAAAAAAOqA2sADAAQAC4ANwBVAF4AABMhFxEjNSERIRUhJxEXITUhATUmJwcnNyY3JzcXNjc1MxUWFzcXBxYHFwcnBgcVJxQWMjY0JiIGATUmJwcnNyY3JzcXNjc1MxUWFzcXBxYHFwcnBgcVJxQWMjY0JiIGXgMsID/9EgG2/isfPgLu/RIBORENOx86AwM6HzsOED4QDTsgOwMDOyA7DRBOGyccHCcbAU0QDTsfOgMDOh87Dg8/EA07HzoDAzofOw0QThsnHBwnHANrH/5qu/5LPx8CsJx9/c1EBgsiNiIRESM1IQsFRUUFCyE1IxERIjYiCwZEnBMcHCcbG/6VRAYKITYiEREiNiILBkREBgsiNiIRESI2IgsGRJwUGxsnHBwABgAAAAADawOqAAcAGwAjADcAPwBTAAATJzU3IRcVBycjFSM1IxUjNSMVIzUjFSE1IxUjASc1NyEXFQclIxUjNSMVITUjFSM1IxUjNSMVIwE3NSchBxUXNzUzFTM1MxUzNTMVMzUzFTM1MxWcHx8CsB8f2z4/Pj8+Pz4CcX0//isfHwKwHx/+Kz4/PgJxfT8+Pz4/AdUfH/1QHx8gPj8+Pz4/Pj99ArAfuyAgux+7Pj4+Pj4+fX0+/kofvB8fvB+8Pz99fT8/Pz8//ksfuyAgux8+fT4+Pj4+Pj4+fQAAAAAEAAAAAAPoA+gAFwA3AEQAUAAAARcVBxcHJwcjJwcnNyc1Nyc3FzczFzcXAzc1LwE3JwcvASMPAScHFw8BFR8BBxc3HwEzPwEXNyclNjMyHgEVFA4BLgE2FxYzMjY1NC4BDgEWAzutrWKPkyLKIpOPYq2tYo+TIsoik4+jpqYXYDyPNiJTIjaPPGAXpqYXYDyPNiJTIjaPPGD+wiQrJ0EnQWRaKB5SEhYeKSAyLRQPAnsiyiKTj2KtrWKPkyLKIpOPYq2tYo/+miJTIjaPPGAXpqYXYDyPNiJTIjaPPGAXpqYXYDyP+RgnQSczTxQwX2GVDCkeGSgKGC8xAAAJAAAAAAOpA2sAAwALABMAFwAbAB8AJwArAC8AABMjETMhIyc1NzMXFQUjJzU3MxcVEyMVMwczESMnIxUzJTM3NScjBxUTIxEzBzMVI9s/PwF9yBkZyBn+r8gZGcgZ2j4+Pj4++j8/Ae7HGRnHGZw/Pz8/PwNr/sgiPh0gPtsfPx8fPwHVffr+iby8vB87Hx87AhP+ifp9AAMAAAAAA6sDsAAmAE0AWQAAJS4EJyY9ATcyPgI3Njc2FxYXFhceAzMXFRQHDgQHARUGHgEXHgEXFhc2Nz4EPQEiJyMmJyYnJicmJyYHBgcOAgcBPgEuASIOARYXBzMCAzBdVks4EBAfITg1NRgjJz4/KSQTEhg0NzchHxAQOExVXjD+mQEcMSIjTywlJiYlLU9EMhsJEgcgIEI5Dw8cHzIwHxsePkAgAVofIA00QzQNIB8bfVAdP0pWYzc7PcggBAwVDxcNEgkGEgkLEBUMBCDIPTs3ZFZJPx0CuKo0Y1cmKEQeGRcXGR5ETVhjNKoBAwcOJQkHDgUHDgoSExoNA/7yDTtCKipCOw2jAAADAAAAAAOuA2sAFwAcACYAAAE1FzUnIQcVIxEXBTc1Mzc1BxUjES8BIQMnERcREyEVIRcHJzU3FwKxPh/9ziABFwE4KNwfPr0V4wG1+/r6wQE2/sxjLJqbLAL8AT6NHx8f/XwcbB4+H40/LgIGHE/9P1MCQVT9vwGmPmQsmiybKwAAAAADAAAAAAOuA2sAFwAcACYAAAEVNzUnIQcVIxEXBTc1Mzc1JxUjES8BIQMnERcRASE1ISc3FxUHJwKxPh/9ziABFwE4KNwfPr0V4wG1+/r6AZf+yQE1ZCyamywC/GE+cx8fH/18HGwePh9xP5ACBhxP/T9TAkFU/b8Baz9kK5ktmywAAAAFAAAAAAO0A7MAEAAhACsANQBCAAABPgEeAg4BBwYnLgEnJjc2Ex4BPgIuAScmBw4BBwYXFhMUBiImNDYyFhUlFAYiJjQ2MhYVBwYmJwceAT4BNycOAQEBYezTgw9pxnZyZ2uEBwcyNIZTybVwDVqoZWJYW3EGBissxiQ0JSU0JAE5JTQkJDQl2zRZGTYheo12HzgYWwNgQhFoxOvTgwcHMzPGdnJna/2eOA5Zp8q0cAUGKyypZWJYWwE+GiUlMyUlGgEaJSUzJSUa+QE2LR4+RgNMPxswOgAHAAAAAAOqA2sACgAOABIAGgAeACIALAAAAQcVMzUhFTcXNScFMxUjByMVMycHERchNxEnAREhEScjFTMBIxUnBxczNycHAbY/PwG1DTI//ol9fbt9fbw+PgG2Pj7+SgG2P319ATk/Six/LIAtSQNrPry8mgoxwT59fbt9+j/+yD8/ATg//okBOP7Iu30B9PFJLH9/LEkAAAQAAP/+A2wD6AA2AEIASwBUAAABNi4BDgIeARcOAQcjIgYHET4CLgIiDgIeARcRDgIeAz4CLgEnPgE7ATI2Nz4CJTQ+ATIeARUUBiImExQGIiY0NjIWASImNDYyFhQGA2sBL05ZRyAPOyoQPCN9IkEZJjweCCxET0QrCB47JiY8IAYoQk9GLw4YNiYQPCN9PGETJj4j/VMZLDIrGTdNN7s3TTc3TTcBVyc3N003NwKRLUsoBzVSV0INICUBGRcBLQgxSE5AJSVATkgxCP6ECDBGTkIoBCA9TUo2DB8mRjkFK0PhGSwZGSwZJjc3/XkmNzdNNzcBbjdNNzdNNwAAAAADAAAAAAOqA6oABwALAA8AAAEhBxEXITcRASERIQEhESEDa/1RPz8Crz/+Sv7IATgBd/7IATgDqj/9UT8/Aq/9UQKv/VECrwADAAAAAAOqA6oABwALAA8AAAEhBxEXITcRAyERITUhESEDa/1RPz8Crz8//VECr/1RAq8Dqj/9UT8/Aq/9UQE4PwE4AAMAAAAAA6oDigBSALAAuQAAASInLgEjFQ4BBxUWFxYXFjEGBwYHBhc5AR4BNjczBgcjDgIVBhYXIRY+AicmLwEmJyY2NzY7ARYXFhcWNjc2NTQnJicuAQcGBwYHJic1NiYnARYHBgcGIyE0NjczNSY2NycGByMiBiMGJj4BNzY7ATI3Nj8BBiYnPgE3FzIXFhcWFxYfATM1JjY3Njc2NzYWFxYXFhcWHwEWBw4BJyYnLgEHDgEHBhYfARYXFgcmJwEiBhQWMjY0JgFbAwQIMiBIZA8SNhwjAkQjGQcEAgIkMhiAEAYUJz4jAQ4MAaE0X0chBQMsBxcHCgsJBQMICgsVFyI9DgkuJTwmVSo9KyIPERcBNSYBTAcGCi0cHv6SIRhQATwtJxoKyQkQBAcKAxANEBQ+EwsFAREwXiQQbUgFDwcMDiU0GxMDCwMEBg0dIi8ePBsrHA8HCQIBAQoGGQoPDg8mEhUgBQoVHQYiAgIVBBn+Sw0SEhoSEgNDAR4nUhx4TBghFwsHAQglGiUTDRkhAgkdIQYtRSYMEgECJktiM0k6CR4OFB8HAwEEDQQHIB8UFjlJPCYVDQgLLSUwGhUKJTYB/ZgyHTAaChgkAh8tQgM4BwgIAQYXGggKEQgJRgcfIkZdBAEBAwYQRyMgBgQWTRMpHyIHBgkPGywXEhUYBRgKBgcCAwgKBQcHIRYmSxsJKTYvKi0lAXgTGhISGhMAAAAABQAAAAADqgOqAAkADQAPABEAGwAAAQsBIQUDJQUDJQUhEwMHAwEhBTM3FzMHFycHNwJYZGT+rwERZgEKAQpmARL86QERUFA0UgI3/u/+7pQuLpR4Lnh4LgJhAUn+t9T+ss7OAU7UHQEH/vms/vMBuTiWll6WXV2XAAAAAAEAAAAAA6oDqgAJAAABCwEhBQMlBQMlAlhkZP6vARFmAQoBCmYBEgJhAUn+t9T+ss7OAU7UAAAABAAAAAADqgOqAAkADwAQABIAAAEbASEFEyUFEyUFFyc3Iyc1ASEBkGRkAVL+7mb+9v72Zv7vAbV4LniULgFh/u8CYQFJ/rfU/rLOzgFO1Oxdl12Wqf75AAMAAAAAA50DrwADAB8AOwAAATMVIxMWFxYXFhUUBwYHBgcGBwYnJicuAzc2Nz4BEzY3Njc2NzYnNCYnJicmBwYHBgcGFxYXFhceAQF3+vqjSEZCNn0bGTAwP0JJTUdLQENjOQcXMX48kms+NTgpKBMVBTczYYA/PEEyayQUAwIbOXA4fgJx+gIzBSMgNYe4SkdEPjomKA4PCwskJ2+MmkWcUikm/NUPICIzNjk/P0yOM2EJBQ8QJE6BPz5CO3pBIRMAAAACAAAAAAOqA2sACQATAAATBxEXMzUjETM1ATcRJyMVMxEjFV4fH5x9fQKQICCcfX0Dax/9UB8/AnE+/RIfArAfPv2PPwAAAAACAAAAAAOqAy0ABwAfAAATNyEXEQchJwEhFSM3JwcVFzcnBTUzJzcXFQcnNyMVIT8fAywgIPzUHwMs/on/gyy5uSyEAQD0hCy5uSyD8wF3Aw0gIP3OHx8CE9qDLLksuSyFAT6ELLksuSyD2gAEAAAAAAOYA6oAIAAkACgALAAAATM3NScjByE1NzUnIwcVFzM3ERchFRczNzUnIwchNSEVNxcHJx8BBycBJzcXAsUsp1Qrcv7HdX0t+n0sRx8BI1MtplMsdP7HAQa9KH0ofSh9KP4gUM1SAYmnLFRyT3MtffotfUj+lh8hU6YtU3T6Ho4nfSe7KH0oAZBSzVAAAAAABwAAAAADrQOsACEASQBSAFsAZABtAHYAAAEiDgIXFRYXFjY3Nh4CBw4BFxYXMzI3Njc2NCcmJyYjAyMiJicmNjc+ASYnLgEiBgcOAScuAT0BNjc2NzYyFxYXFhQHBgcGIxMOASImPgEyFhMUBiImNDYyFgEyNjQmIgYUFiUUBiImNDYyFhcOAS4BPgEeAQH0V6F7QwECIR9YISNcQgMfIgsXGDAmdmZjOjw8OmNmdwIgDRIBAwsNIhcXIhlCR0IZCx4PCQwBMzFVWMtYVTE0NDFVWGY9ASQ0JQEkNCW7JTMlJTMl/ksZJSUzJSUBzyUzJSUzJT8BJDQlASQ0JQOpQnuhVxstFxYNIR8DQV0jI1whJAQ8OmNm7mZiOjz80hALEyQNIltbIhkbGxkMDAMBDgoXZlhUMjMzMlRYzFdVMTQCdBokJDQlJf4wGiQkNCUlAR8kNCUlNCQ+GiQkNCUl1RolASQ0JQEkAAAAAAQAAAAAA6oDLQADAAcADwATAAATIRUhBSEVIQE3IRcRByEnExEhEfoB9P4MAfT+DAH0/VE+Au4/P/0SPj4C7gJxPn0/AXc/P/4MPj4B9P4MAfQAAAYAAAAAA6oDawAMABUAGQAeACIAJgAAATchFxEHIzUzESEVIxc1JyEHERchNwMRIRElJzUzFSczFSMDIxUzAbY+AXc/P/r6/ok+fT/+iT4+AXc/P/6JAc8Z+vr6+n36+gMtPj7+xz4+ATm8uz4/P/7IPz8BOP7IATg/GSU+uz7+xz4AAAcAAAAAA6oDawAMABEAGgAeACIAJgAqAAABIQcVMzUhESMVMzcRBTMVIycHIQcRFyE3EScRIREhBTMVIxUzFSMBMxUjA2v+iT4+AXf6+j/+ifrhGX3+xz4+AXc/P/6JAXf+yPr6+voBd/r6A2s+vLz+xz4+ATm8PhkZP/7IPz8BOD/+iQE4Pj8+PwH0PgAAAAIAAAAAAx0DqgALABIAAAE3MxcHMxcBJzcjJxcDASMTIwMBzznNNIlvLf5DZINMOOy0Ab3nzc3WA4cjY9Zq/jhI8Fob/rQByQE4/ksAAAAABAAAAAADqgNrAAsADwATABcAAAElIwUHERcFMyU3EQElNQU3LQEFEwU1JQOH/sg5/ksjIwE4OQG1I/3p/ucBGR/+3QGgASQV/moBlgLPnNs3/uY4nNs4ARn+HIzpfTSE0JL+3cv1vAADAAAAAANrA6oACQAMABMAAAEvASEHERchNxEHIzUBESEVFzMRA2LNFv4dHx8CsB8+vP5LAXcf2wLTzgkg/NQfHwJeDLv9EgLu2x/+DAAAAAIAAAAAA60C7wAYACUAAAEiDgEHIy4BDgEUHgE2NzMeAj4CLgIDIi4BND4BMh4BFA4BAs82Xj0IwQxOXj8/Xk4MwQhFZ3NcMwY8YjkrSCoqSFVIKipIAu4xVTYuNQxHXkcMNS45WS4LQWRzYDf+iSpIVUcrK0dVSCoAAAAFAAAAAAOqAw8AFwAsAFAAXgCCAAABFjcWNjc+ASc2JicuAQciBgc1IxEzNRYTNhcyFhcWBxYHDgEiJicmNzUmNzYlIgYPARU3Njc2FhcWFQcGBw4BFB4CNxY3NjcVMzU2JicuARcWBw4BIwYnJjQ3Nj8BBRY3Fj8BNQcGJyImJyY3JjY3PgEzMh8BNScmIyYOAhcGHgEBwyAkIDoTFhUCAhMTEjYeGjEUPj4HMBEUEB4KGAICGwogJCALGQEBGgz+9R83FwYaJDILFggOTTAmDxAPHygWJh8JCTsCEA8QLB4CGgwfERYQDQ0bH0ACCB0gLykIHB4lEyMMHAMBDg8OJRUhHBsLIyYiQC4ZAgIWKgE9EwEBHBocRCQfPRkXGAESEqz+IxYGAQMIAQ4NIyszKg8RDQ4cJSUpHw9HEhEFSxciAgEKCRYbCwUfDiYpJh4OAQEVBwgc0hkxFBESwCggDA4CDw4nDxADCZwMAQEYBUgUFgEPDiUuFy0SEBASEEkEEAEbM0MjIT8xAAAIAAAAAAOqA2sAAwAHAAsADwATABcAGwAfAAABITUhByMVMychFSETIRUhJSEVISUhFSEBFSE1BSEVIQOq/scBOT99ffr9zgIyff1RAq/+yP6JAXcB9P7HATn+Sv5LAXf+xwE5Au4/+j8/P/7IP/o+Pj4CMru7Pj8AAAAABAAAAAADawOqAAsADwATABcAAAElIwUHERcFMyU3EQElEQUtAQ0DESUDTP7IP/7IHx8BOD8BOB/+av7nARn+9wEpASj+2AE4/ucBGQLuvLw2/ok1u7s1AXf94agBQ5nXsrKi36gBUpkAAAAABQAAAAADsAOqAAgADAARAB4AKwAAEyEVFhcRIRE3FycDISU/AR8BEz4BHgIOAi4CNhMeAT4CLgIOAhb6AfQgH/2PPoZH+gH0/ndsIyNrjjF2akIHNWNzaEEHMVMjVEsvBiZHUksuBiQDa/oDCwFH/e5tjn3+Sz68Pj68AZEhCTRidmpABjNic2j+6hgGJUZUTC4EJEZTSgACAAAAAANrA2wASQCUAAABNSMiDgEHMQYHMQYWFRQHMQYHBisBFTMyFzEWFzEWFxUWFRQGFzEWFzEeAjsBNSMiLgI1NDU2LgEnJic2Nz4CJjU0Njc2MwEVMzI+ATcxNjcxNiY1NDcxNjc2OwE1IyInMSYnMSYnNSY1NDYnMSYnMS4CKwEVMzIeAhUGFQYeARcWFwYHDgIWFRQHDgErAQF3Bh03KQsJAwMDCA4iEBIGBhIQEQwMBwgDAwMJCio3HQYGEiEYDgEBBggPHx8PCAYBAh4ZERIBAAYdNyoKCQMDAwgOIhASBgYSEBEMDQYIAwMDCQspNx0GBhIhGA8BAQEGCA8fHw8IBgECGwwhEgYDLj0XKhsZGxs2GxMRIg8HPgcIDA0QARATGzcbGhkaKxc+DhohExcTFSgoEiQYGCQRKCkqFRwuCwj9jT4XKxoYHBo3GxMRIg8HPgcHDQ0QARATGzYcGhkbKhc+DhkiExcTFSknEiQYGCQSJykqFSYbDQ8AAAAAAgAAAAADqgOqABsAHwAAARUzFSMVMxUjFSM1IxUjNSM1MzUjNTM1MxUzNQMVMzUCsPr6+vo/+j76+vr6Pvr6+gOq+j/6Pvr6+vo++j/6+vr+x/r6AAAAAAgAAAAAA6oDsQAQABsAHwArADcARQBWAFoAABMWFxYVFAYHBiMiJjcmNjc2Fz4BNC4BDgEeAjcBFwkBMxUzFSMVIzUjNTMlFwcXBycHJzcnNxcTLgEiBgcGHgIyPgIHBgcGJicmJyY+AhcWFx4BJSMVM7QgDgcUEhYZJDIBAR0XIQ4JDA4VFgwBDhb8/rMrAU0BEj6dnT6cnP6aLG9vLG9uLW9vLW7DCiszKwoJBBgmKyYYAzcGDAoUCAQDBAQPFAoGBQcEAdn6+gOjDSARERUmDA4yIxorCg17BBEWEgYHExcRBnP+sysBTf4+nT6cnD58LW5uLW9vLW5vLG8BdRgcHBgUKyMVFSMrGwwGBAQIBAYKFA8EBAMECBS3PwAAAAMAAAAAA6gC7gAbACIAKQAAASM1NCYrAREUFjsBFSM1MzI2NREjIgYdASM1IRcnNxcVBychJzcnBxUXArA/Eg1AEg0fux8NEj0NEj4Bd7ZcLHJvLP3RXFksb3ICcR8NE/6oDRI/PxINAVgTDR99/VstcixvLVtYLW8scgACAAAAAAOrA68AIgBKAAA3IiYnLgE3NjcmNjc+ATc+AR8BBxc3Fx4BBgcGBw4BJwYHBgEiBwYHDgEfAQcGBwYHBhYXHgEzNjc2PwEXFjY3Njc+ATU0JwcnNyavFikPHggad9URAhIQNSM5hj4ntE+4ERUBKCYVGTV+O+NqHQHKQDQUES4WGwgOWV9pNgoEDggVChAMYvYOEzFsLBQRHh8Eop+dFEASERxTIn3RL2MuJz8VJgsaEbhPtCcxbGMmFQ8jDxbmYhsDMCMNEC6AOxMOV19pORAlDQgKAQpc+A8JFggeDRAeTCoUFJ2fogQAAAACAAAAAAMtA6oABwAbAAATBxEXITcRJwU1IREhNTM1IzUzNSM1MzUjNTM1+j4+AfQ/P/4MAfT+DH19+vp9ffoDqj/9Ej4+Au4/fT79Ej8+fT99Pn0/AAAACAAAAAADqgOqAAkADQARABUAGQAdACEAJQAAEwcRMxEhETMRJwE1MxU3IxUzNzMVIzcjFTM3MxUjITUjFSczFSOcHz8Crz8g/PM/fT8/Pj8/vD8/Pj8/ATk/fT8/A6og/TICr/1RAs4g/JU+Pj4+Pj4+Pj4+Pj4+PgAAAAcAAAAAA6oDawAHAAsAIQArADsARwBbAAATBxEXITcRJwERIRElMzU0IyIHBgcVNjIVBwYVFBY3MjczNRUWBiMGJjU0NxcxFSM1MxUxNjIWFRQGJyInFQYWMjY1NCYiBwYXMjc1DgEmNDYWFzUmIyIGFRQWM30+PgLuPz/9EgLu/eQoOw0PDQsWMSUwFxQbDgEBDw0ICxWlJSUOMBoeGBcMAQ4YDg0XCAjnHhAPJhgYJg8MGycvLCMDaz79zT4+AjM+/Y8CM/3NwGtMBQMHKhMdBgg0GR4BHjsMDxcBDQkVAz0T9mkdLCcpMwFdEQ4XGxkUGAwObQotDQEcMB0BDS8INS0oMgAAAAYAAAAAA6oDawAHAAsAEwAYACAAJQAAEwcVFyE3NScFIRUhBzczFxUHIyc3IxUzNSE3MxcVByMnNyMVMzV9Pj4C7j8//RIC7v0SPj68Pj68Pn0/vAE4P7s/P7s/fT67A2s+vD4+vD4+vPo/P7s/P7u7uz8/uz8/u7u7AAAGAAAAAAOqAu4ACQATAB8AIwAnACsAABMzNSMHERczNSMBIxUzESMVMzcRBxcVBwUjLwE1NyUzARc1JzcXNycDNzUHfX2cHx+cfQMNnH19nCDLDxP+5x2cDxMBGR3+9l1dJFrUWlra2gKwPh/+DB8+AfQ+/ko+HwH0ghqdHH1dG5wdff7eOFM4NDdeNv7cYldgAAAAAwAAAAAD5QNwABEAIwAnAAABJz4BHgEXNxcHIyc3Fy4CBhMXBi4CJwcnNx8BByceAwE3AQcBVjBVy7RtBEovgjCCL00DV5Cl1TFVwadkBUwxgy+DMEkGUIKY/horAukrAwIsNwtdrGVKMIGEME5SjE8D/asuLQRgpGBNMIIBhDBKTIJOCgJ5Lf1KLgACAAAAAAPlA3QAFQArAAATByc3HwEHJx4DPgE3Fw4CLgIlJwcXMzcnBy4DDgEHFz4CHgJ9TDGDL4MwSQVCbYeEbCEzKYWgoYBLAqtNL4Iwgi9KA0l9np+GKzMjb4WFaT4B400wggGEMEpFd1EcHlI9JUhgICZmkW9PMISBMEpRkWYqHFpGJTtNGSJVeAAAAAADAAAAAAPWA2sAEgAkADEAAAEhBwEVATM3FjI+ATc2NTQmJzUHJiMiBhQWMzIXFQcGDwEJASEXHgEVBgcOAyc/AQM5/rwW/mABQy2KPot7TgcDQjs+LjANEhINMS32CQR+/ugBgQEYPh4hAQIHOVhlL+cJA2sJ/l8s/ryLIUJzRRAQRnwnjm4QEhoTFYX1BQl+ARcBgr8fTysQDzNTMwYU5xYAAAQAAAAAA6oDqgAGAAoADgASAAATAScBJwcXJSE3IQUhFSEFIRUh3wFkKv60Xy9zAvj+AZABb/3NAjP9zQIz/c0CMwJFATUw/uBzK4poffp9fX0AAAUAAAAAA2gDqgATABcAGwAgACoAAAEXEw8BLwEHLwEHLwE/ASc/ASc3ARc3JzcXNyc3EzcDBwMTIycVIxEDIzcCvySEDs4lCt8kCqAkLRGdDA/fCxH+qBaLFyJFu0UidY9umg69SXY+dkVqA6oP/sskWQ8aXAsYQg9oJUIaJGAaJP66Njk1TJlQmE/+/z8BAD7+gv7OvfoBQv779AAAAAADAAAAAAOqA6oABwALABIAABMHERchNxEnAREhESUXNzUnBxd9Pj4C7j8//RIC7v3+K9vbK78Dqj/9Ej4+Au4//NMC7v0SpyzaJtwtxAAAAAQAAAAAA6oC7gAHAAoAEgAZAAATAzM3MxczAwc3FwEjAzM3MxczJTc2NxYfAdKTUyCNIlWTWjAxAblkyWEv0jBi/rJKBgICBE8CM/6JW1sBd92GhgGY/c6Pj9rhERIREuEAAAADAAAAAANrAy0AAwAHAAsAAAEhNSERITUhASE1IQNr/RIC7v0SAu79EgLu/RICsH3+iX3+iX0AAAIAAAAAA6oDawAcAD0AACUiJy4BPwEjIi4CNzY3PgEzIR4BBxUWBisBAQYDDgEHBgcGBwYXHgE3MxcVBwYeATI3ATczFjYnNTQmIyEBVRsXGRANPK4WJxgDCnIcCSwbAi4kMwEBMyRW/pMZUgcNAhIsKCwGBgQNB84hRQMEDhEGAXseVQsOAQ4K/dJ2EBI7HIgUJSwU90wZHwEzI9wkMv6rFwK3AQgHMGNaWwsLBgUCKx2YCBAKBQFdCQEQCtwKDgAAAAACAAAAAAOrA2wAHAA8AAABMhceAQ8BMzYeAgcGBw4BIyEuATc1NDY7AQE2EzI2NzY3Njc2Jy4BByMnNTc2LgEiBwEHIyIGFxUUFjMCkxsXGRAMPa4WJxgDCnIcCSwb/dIkMwEyJFYBbRlSBw0CEiwoLAYGBA0HziFFAwQOEQf+hh5VCw4BDgoDaxASOxyIARUkLRP4TBkfATMk2yQyAVYW/UoIBzFjWVsLCwYFASodmAgQCgX+owgQCtsKDwAAAAAGAAAAAAOpA6oAJAA1AEoAVgBbAHMAAAEnByc3JyYjJgYHDgEUFwYHBhcWFx4BFzY3Njc2NxYyPgI1NgEOAS4BJy4BNzY3NjceARcGARQGBw4BJicuATc+AjsBBxUXMzcFMxc3JzcvAQ8CFycXByMnATcXFhQHDgEnJi8BNxcWFxY3PgI0JicDmzCES4EMKSsvViAkJRLDvhUDAhsMHxIeF0V6b1YrXldDJAH9DgMKCQkDBwcGPHVqWQkWDfMCNBsZIltbIiYVEw0zQiMQcnYqc/1dXywrKgQOsyU0BHMhkQJEXQHPKsIZGRM1GRALxSvDBAYLCwYIBAQEAw4Mg0yHMQ4BJSIiWWEswMYaIiQYDQ8BARRBem9aEiVEWDAs/Z4EAgIFBQcVB0F1bFgMFwr6AbokQhoiFxciJ2ozIjQbdSt2cYItKitpHHUENSW31l9Gk/5fKscbShoUCwsHDcgqxwUCBQUCCQsMCwQABgAAAAADLQOqABMAFwAbAB8AIwAnAAABMxUjEQchJxEjNTM1NDY7AR4BFSsBFTMBIREhFyMRMxMzESMTMxEjAnG8Pz7+Sj4/vCQavBklPry8/scBtv5KfT4+Pz4+fT4+Ay0//c4/PwIyPz4aJQEkGj79jwIyPv5KAbb+SgG2/koAAAAAAQAAAAADbAKwAAUAABM3IRcBI30aArsZ/qAzAo0jIv6rAAAAAQAAAAACsANrAAUAAAEXEQcBNQKNIyL+qwNrGv1FGQFgMwAAAQAAAAACsANrAAUAACUnETcBFQFcIyEBVn0aArsZ/qAzAAAAAQAAAAADawKwAAUAAAEHIScBMwNrGv1FGQFgMwFcIyEBVgAAAQAAAAADqgNQAEQAAAEOAQcWFRQGBwYHDgEHBiciJicWNjciJicmJxcWNy4DPQEWFyYnJicmNzY3FhcWFxYXLgE1ND4CMhYXNjcOAQc2NwOqEy0aARcWHzAvekZJS0mNPkiKOCpLGRAJESAfHjUoFSYsJRULBQwMBg0iKlRoNDYDAhwxQkpEGT01CigdNjEC/BsvEwwMNmkxRTo4TxQVASgoCCcsKCIXGwIDCQYgMDsfAhYBGSgTFi0tFxUrIUMcDgMKFQomQDIcHhsMICAzEQcVAAADAAAAAANrA6oACQATAC0AAAE1Byc3MxcHJxUHFScHFzM3Jwc1ARcHFwchNTMnIwczFSEnNyc3IRUjFzM3IzUB1z8sci1zLT48PyxyLXMtPgFHEebmEf76u7q8wcD+9hHm5hEBCsC7vMC7AlH6Pixxcyw/+br6Pixwciw/+QFXQLe9QD+Xlz9Atr5APpiYPgAIAAAAAAOqA6oACQAVABkAHQApAC0AMQA7AAATFwcnESMRByc3BRUjNSMVIzUzFTM1ByMVMyUjFTMHMxUjNSMVIzUzFTMrARUzFzM1IwURIxEnBxczNyezgSxMP0wsgQMk+n28vH28Pj4Bd319u/r6fby8fbw+Pvp9ff3OP0wtgiyCLAOqgixM/usBFk0sgn36Pj67Pn19P319u/p9P7w/Pj992AEX/upMK4KBLAAAAAIAAAAAA2sDrwAZAB4AAAE1Jj4CHgEXMy4CDgIdASMHERchNxEnBzMRIREBOQEpR1lVQA9BEFJye2Q5Pj8/AnE+Pn19/Y8CM30tTzUPGj0rPForEEZsPX0//ok+PgF3Pz/+iQF3AAAABQAAAAADqgOqAAkAEQAfACoAMwAAEzM3FxEHJyMnERMXEQ8BIxUzJRQGByc+ATQmJzceAQcjFAYHJzY0JzceAQcUByc2NCc3Fl6u8TY28a4f8MXFFpycApEzMC0oKSomLDAzAXwhHi0tLS0eIX0cLgsLLhwCuvAW/NMU8B8BOf7cxAKVwwn6fUyPOiwyd4B3MSw7jkszYSgtQJ1ALShgMzUtLhg2GS4tAAAAAAQAAAAAA5oDmAAXAC8AXQBhAAAlMzczNzU3NSc1JyMnIwcjBxUHFRcVFzM3IzUvAT8BNTM/AR8BMxUfAQ8BFSMPAScTDgEHFSM1Njc+Axc2HgIUDgMHBh0BIzU0PgQnNCcxLgEnMSYiBhMjNTMB3y1rliBsax+Yay1omiFqaiGaCocHX10JhxdcYBaEC19hCYQYXlxDBQYBOAIMBA8WHxEbJhcLDBIVEAYGNwwRFREMAQMCCwgJFRIyNzdQbB+XbCxrmR9qaiCYayxslx8+hRZfXhaGCV5eCYYWXl8WhQlfXwF3CBQKAgMeGAoTEAoBARIcJSUfGxkVCwkLHiIQGhcXFxgOCgoJDQMEC/7JNwAAAwAAAAADmgOYABcALwA2AAAlMzczNzU3NSc1JyMnIwcjBxUHFRcVFzM3IzUvAT8BNTM/AR8BMxUfAQ8BFSMPASc3MzcnBycHAd8ta5YgbGsfmGstaJohamohmgqHB19dCYcXXGAWhAtfYQmEGF5cDSzsLdVWLFBsH5dsLGuZH2pqIJhrLGyXHz6FFl9eFoYJXl4JhhZeXxaFCV9faOws1lctAAAEAAAAAAOqAy0ABwALABYAIQAAJRchNxEnIQcXMxEjJzUzNSMHERczNSMnNTM1IwcRFzM1IwG2HwG1ICD+Sx99+vr6Pl4fH14+vD9eHx9eP9sfHwIyICBd/ol9+j4f/kofP7t9PyD+yB8+AAADAAD//QPtA2sAEwAgACcAABMhFxEmJxEhESEUFhcjNTM1IScRAT4BHgIOAi4CNhM3JwcnBxdeAywgHiH9EgE5IB76vP6oHwIkOIZ5Sgk8cYR3Swg5vZUygVInawNrH/6oFg4BFf3NM2AoPj8fAnH+fiYJO3CGeUoIO3CEeP7uxyWtQTBWAAAABQAAAAAD6ANrABMAIAAuADQAOgAAEyEXESYnESERIRQWFyM1MzUhJxEBIg4BFB4BMj4BNC4BAwYuATQ+ATIeARQOAQc3FzcnNycHJzcXBydeAywgHiH9EgE5IB76vP6oHwKvRHNDQ3OIc0NDc0QyVzMzV2VWMzNWMwhaGz8/G6A/G1paGwNrH/6oFg4BFf3NM2AoPj8fAnH+qENziHNDQ3OIc0P+SwEzV2RXMzNWZlYyAd9ZGj8/G5w+G1laGwAAAwAAAAAD6ANrABMAIAAuAAATIRcRJicRIREhFBYXIzUzNSEnEQEiDgEUHgEyPgE0LgEDBi4BND4BMh4BFA4BB14DLCAeIf0SATkgHvq8/qgfAq9Ec0NDc4hzQ0NzRDJXMzNXZVYzM1YzA2sf/qgWDgEV/c0zYCg+Px8Ccf6oQ3OIc0NDc4hzQ/5LATNXZFczM1ZmVjIBAAADAAD/+wPtA2sAEwAvADIAABMhFxEmJxEhESEUFhcjNTM1IScRATIeAhceAQcOAgcOAScuAicuATc+Ajc2FycVXgMsIB4h/RIBOSAe+rz+qB8CryJAOC4QGQ0NCCItHCtlMCA4LhAZDQ0IIi0cOsG7A2sf/qgWDgEV/c0zYCg+Px8Ccf6oEiEtHCtlMCA4LhAZDQ0IIi0cK2UwIDguECL5fPoAAAIAAAAAA6oDawAPABMAAAEhBxEXIRUjFSE1IzUhNxEDIREhA4r81B8fAVi8AfS7AVcgP/0SAu4Dax/9jx8/Pj4/HwJx/a4CMwAAAAAEAAAAAAOpA6oABQAIAAwAEAAAATMBByEnCQEhJTUjFT0BMxUB2TcBmBv8zRsBtf6bAsn+w05OA6r9AS4uAq/9Yj4/P336+gADAAAAAAMtA6oABgAaACcAAAEzNSM1IxUDDgEUFhcVFzM3NT4BNCYnNScjBwEUDgEiLgE0PgEyHgEB1X1ePl5JVFRJH/ofSVRUSR/6HwGWQ3OIc0NDc4hzQwG2Ppy7AS4qkaiRKocfH4cqkaiRKocgIP5qRHNDQ3OIc0NDcwAAAAMAAAAAAu4DqgARABsAHwAAATUhIg4BHgI7AREjFSE1IxEDIyIuATQ+ATsBEyMRMwLu/qg7ZTsBOmU7Xj4BOD68XipIKipIKl59Pj4Daz87ZXdkO/7IPz8Cr/7IKkdVSCr9UQKvAAAABwAAAAADqgNrAAMABwAjAEUASQBRAFUAABMhFSEFIxEzJy4BJyYHIg4BDwE1IxEzNRceAjMyPgI1NC8BHgEXFhcVFAcGBw4BIi4BJzEwMSYnJjQ3NjcxNjc+ATMyASEVISUHIxMzEyMvASMHMz8Da/yVAyw+PqoHHxcaHBMeGwkMNzcICBYcESEzIxEIXA4VBQUBBwUMCx4mHBQEAwMGBgMDBQkKIBUSAVT8lQNr/QYuQ5o6nEQwRQE5cwNrPj/+DOIaLAwNAQkRCxDF/jAkCwkPCRsvPyUeHiYHGhMRFAgfFxUREA8OFgwHCxYnFwwIEAsNEf6zP/p/Ab/+QX/grAAAAAADAAAAAAOqA2sABwALAA8AAAEhBxEXITcRAyERITUhNSEDivzUHx8DLCA//RIC7v0SAu4Dax/9UB8fArD9cAG1P30AAAYAAAAAA6oDqgAiADMATABfAIUAlQAAEyYnJgcGBwYPARU3PgEyFhcHDgIHBhceAjI2NxUzNTQmBxUUBwYHBicuAjQ+ATc2NyUuAgciBwYHNSMRMzUWFxYzMj4BNzY1NAcUDgMuAj0BND4CMh4CAT4BMhYfATUnJg4DFRQeAjMyNj8BNQ8BBgcGJy4BJyY1NDYlIzUhFxEHIRcHJzU3Fwch8g0RHCYXFQgHAgoOJiQSATwVHRUECQoEFR0kIAw/CzQDBhIQEAUJBAMIBgkKAWUFFSMWGBMJCDk6CxIJDBgkGQYGOwcMERMQDAYHDBETEQoH/sYJFRwTCxUGGzsvIhEQHysbFiAOBQ0bBAkUEgsRBAULAt36ARkgIP5igiy1tSx9AXoDEA4HCwYECQMFAkIJCw8TFAkCDxgPIB8OFgwODhaiGCVoDwsKEwkHBQIICg0MCAIEAUkVJRcBDgcJm/57EQ8FAxYoGBscGRgWIBQKAQkPFQshDxkRCQkRHP7ACgoHCBBHBA4BFSczHhsvIhQKCQM4BgoCAgQIBBQNEBEUHv4/IP6JH4EttSy1LH0AAAMAAAAAA6sDsgASACkANQAAARYGBwEHAQ4BLgM+Ah4CATI2Nwc+ATU0JyYnJiIHBgcGFBcWFxY3NSM1IxUjFTMVMzUC8AQpKwELLP72PZeYf0gHPnWWm39M/rE4ZygDKSwmJUBCmEJAJSYmJUBC5X0/fX0/AmhDfjT+9iwBCzMmHl6JnJFmKxtah/6AKygCKGg4TUFAJScnJUBBmUI/JSf6P319P319AAMAAAAAA6sDsgASACkALQAAARYGBwEHAQ4BLgM+Ah4CATI2Nwc+ATU0JyYnJiIHBgcGFBcWFxYDIRUhAvAEKSsBCyz+9j2XmH9IBz51lpt/TP6xOGcoAyksJiVAQphCQCUmJiVAQlMBOf7HAmhDfjT+9iwBCzMmHl6JnJFmKxtah/6AKygCKGg4TUFAJScnJUBBmUI/JScBNz4AAAAAEADGAAEAAAAAAAEABwAAAAEAAAAAAAIABwAHAAEAAAAAAAMABwAOAAEAAAAAAAQABwAVAAEAAAAAAAUACwAcAAEAAAAAAAYABwAnAAEAAAAAAAoAKwAuAAEAAAAAAAsAEwBZAAMAAQQJAAEADgBsAAMAAQQJAAIADgB6AAMAAQQJAAMADgCIAAMAAQQJAAQADgCWAAMAAQQJAAUAFgCkAAMAAQQJAAYADgC6AAMAAQQJAAoAVgDIAAMAAQQJAAsAJgEeY29kaWNvblJlZ3VsYXJjb2RpY29uY29kaWNvblZlcnNpb24gMS4wY29kaWNvbkdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAGMAbwBkAGkAYwBvAG4AUgBlAGcAdQBsAGEAcgBjAG8AZABpAGMAbwBuAGMAbwBkAGkAYwBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAGMAbwBkAGkAYwBvAG4ARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFQAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETARQBFQEWARcBGAEZARoBGwEcAR0BHgEfASABIQEiASMBJAElASYBJwEoASkBKgErASwBLQEuAS8BMAExATIBMwE0ATUBNgE3ATgBOQE6ATsBPAE9AT4BPwFAAUEBQgFDAUQBRQFGAUcBSAFJAUoBSwFMAU0BTgFPAVABUQFSAVMBVAFVAVYBVwFYAVkBWgFbAVwBXQFeAV8BYAFhAWIBYwFkAWUBZgFnAWgBaQFqAWsBbAFtAW4BbwFwAXEBcgFzAXQBdQF2AXcBeAF5AXoBewF8AX0BfgF/AYABgQGCAYMBhAGFAYYBhwGIAYkBigGLAYwBjQGOAY8BkAGRAZIBkwGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAbABsQGyAbMBtAG1AbYBtwG4AbkBugG7AbwBvQG+Ab8BwAHBAcIBwwHEAcUBxgHHAcgByQHKAcsBzAHNAc4BzwHQAdEB0gHTAdQB1QHWAdcB2AHZAdoB2wHcAd0B3gHfAeAB4QHiAeMB5AHlAeYB5wHoAekB6gHrAewB7QHuAe8B8AHxAfIB8wH0AfUB9gH3AfgB+QH6AfsB/AH9Af4B/wIAAgECAgIDAgQCBQIGAgcCCAIJAgoCCwIMAg0CDgIPAhACEQISAhMCFAIVAhYCFwIYAhkCGgIbAhwCHQIeAh8CIAIhAiICIwIkAiUCJgInAigCKQIqAisCLAItAi4CLwIwAjECMgIzAjQCNQI2AjcCOAI5AjoCOwI8Aj0CPgI/AkACQQJCAkMCRAJFAkYCRwJIAkkCSgJLAkwCTQJOAk8CUAJRAAdhY2NvdW50FGFjdGl2YXRlLWJyZWFrcG9pbnRzA2FkZAdhcmNoaXZlCmFycm93LWJvdGgKYXJyb3ctZG93bgphcnJvdy1sZWZ0C2Fycm93LXJpZ2h0EGFycm93LXNtYWxsLWRvd24QYXJyb3ctc21hbGwtbGVmdBFhcnJvdy1zbWFsbC1yaWdodA5hcnJvdy1zbWFsbC11cAhhcnJvdy11cAZiZWFrZXIIYmVsbC1kb3QEYmVsbARib2xkBGJvb2sIYm9va21hcmsJYnJpZWZjYXNlCWJyb2FkY2FzdAdicm93c2VyA2J1ZwhjYWxlbmRhcg1jYWxsLWluY29taW5nDWNhbGwtb3V0Z29pbmcOY2FzZS1zZW5zaXRpdmUJY2hlY2stYWxsBWNoZWNrCWNoZWNrbGlzdAxjaGV2cm9uLWRvd24MY2hldnJvbi1sZWZ0DWNoZXZyb24tcmlnaHQKY2hldnJvbi11cAxjaHJvbWUtY2xvc2UPY2hyb21lLW1heGltaXplD2Nocm9tZS1taW5pbWl6ZQ5jaHJvbWUtcmVzdG9yZQ1jaXJjbGUtZmlsbGVkE2NpcmNsZS1sYXJnZS1maWxsZWQUY2lyY2xlLWxhcmdlLW91dGxpbmUOY2lyY2xlLW91dGxpbmUMY2lyY2xlLXNsYXNoDWNpcmN1aXQtYm9hcmQJY2xlYXItYWxsBmNsaXBweQljbG9zZS1hbGwFY2xvc2UOY2xvdWQtZG93bmxvYWQMY2xvdWQtdXBsb2FkBWNsb3VkBGNvZGUMY29sbGFwc2UtYWxsCmNvbG9yLW1vZGUHY29tYmluZRJjb21tZW50LWRpc2N1c3Npb24HY29tbWVudAtjcmVkaXQtY2FyZARkYXNoCWRhc2hib2FyZAhkYXRhYmFzZQ9kZWJ1Zy1hbHQtc21hbGwJZGVidWctYWx0J2RlYnVnLWJyZWFrcG9pbnQtY29uZGl0aW9uYWwtdW52ZXJpZmllZBxkZWJ1Zy1icmVha3BvaW50LWNvbmRpdGlvbmFsIGRlYnVnLWJyZWFrcG9pbnQtZGF0YS11bnZlcmlmaWVkFWRlYnVnLWJyZWFrcG9pbnQtZGF0YSRkZWJ1Zy1icmVha3BvaW50LWZ1bmN0aW9uLXVudmVyaWZpZWQZZGVidWctYnJlYWtwb2ludC1mdW5jdGlvbh9kZWJ1Zy1icmVha3BvaW50LWxvZy11bnZlcmlmaWVkFGRlYnVnLWJyZWFrcG9pbnQtbG9nHGRlYnVnLWJyZWFrcG9pbnQtdW5zdXBwb3J0ZWQNZGVidWctY29uc29sZQ5kZWJ1Zy1jb250aW51ZRBkZWJ1Zy1kaXNjb25uZWN0C2RlYnVnLXBhdXNlE2RlYnVnLXJlc3RhcnQtZnJhbWUNZGVidWctcmVzdGFydBZkZWJ1Zy1yZXZlcnNlLWNvbnRpbnVlF2RlYnVnLXN0YWNrZnJhbWUtYWN0aXZlFGRlYnVnLXN0YWNrZnJhbWUtZG90EGRlYnVnLXN0YWNrZnJhbWULZGVidWctc3RhcnQPZGVidWctc3RlcC1iYWNrD2RlYnVnLXN0ZXAtaW50bw5kZWJ1Zy1zdGVwLW91dA9kZWJ1Zy1zdGVwLW92ZXIKZGVidWctc3RvcAVkZWJ1ZxBkZXNrdG9wLWRvd25sb2FkE2RldmljZS1jYW1lcmEtdmlkZW8NZGV2aWNlLWNhbWVyYQ1kZXZpY2UtbW9iaWxlCmRpZmYtYWRkZWQMZGlmZi1pZ25vcmVkDWRpZmYtbW9kaWZpZWQMZGlmZi1yZW1vdmVkDGRpZmYtcmVuYW1lZARkaWZmB2Rpc2NhcmQEZWRpdA1lZGl0b3ItbGF5b3V0CGVsbGlwc2lzDGVtcHR5LXdpbmRvdwVlcnJvcgdleGNsdWRlCmV4cGFuZC1hbGwGZXhwb3J0CmV4dGVuc2lvbnMKZXllLWNsb3NlZANleWUIZmVlZGJhY2sLZmlsZS1iaW5hcnkJZmlsZS1jb2RlCmZpbGUtbWVkaWEIZmlsZS1wZGYOZmlsZS1zdWJtb2R1bGUWZmlsZS1zeW1saW5rLWRpcmVjdG9yeRFmaWxlLXN5bWxpbmstZmlsZQhmaWxlLXppcARmaWxlBWZpbGVzBmZpbHRlcgVmbGFtZQlmb2xkLWRvd24HZm9sZC11cARmb2xkDWZvbGRlci1hY3RpdmUNZm9sZGVyLW9wZW5lZAZmb2xkZXIEZ2VhcgRnaWZ0C2dpc3Qtc2VjcmV0CmdpdC1jb21taXQLZ2l0LWNvbXBhcmUJZ2l0LW1lcmdlEGdpdC1wdWxsLXJlcXVlc3QNZ2l0aHViLWFjdGlvbgpnaXRodWItYWx0D2dpdGh1Yi1pbnZlcnRlZAZnaXRodWIFZ2xvYmUKZ28tdG8tZmlsZQdncmFiYmVyCmdyYXBoLWxlZnQFZ3JhcGgHZ3JpcHBlchFncm91cC1ieS1yZWYtdHlwZQVoZWFydAdoaXN0b3J5BGhvbWUPaG9yaXpvbnRhbC1ydWxlBWh1Ym90BWluYm94BGluZm8MaXNzdWUtY2xvc2VkDmlzc3VlLXJlb3BlbmVkBmlzc3VlcwZpdGFsaWMGamVyc2V5BGpzb24Oa2ViYWItdmVydGljYWwDa2V5A2xhdwdsaWJyYXJ5EWxpZ2h0YnVsYi1hdXRvZml4CWxpZ2h0YnVsYg1saW5rLWV4dGVybmFsBGxpbmsLbGlzdC1maWx0ZXIJbGlzdC1mbGF0DGxpc3Qtb3JkZXJlZA5saXN0LXNlbGVjdGlvbglsaXN0LXRyZWUObGlzdC11bm9yZGVyZWQKbGl2ZS1zaGFyZQdsb2FkaW5nCGxvY2F0aW9uBGxvY2sGbWFnbmV0CW1haWwtcmVhZARtYWlsCG1hcmtkb3duCW1lZ2FwaG9uZQdtZW50aW9uBG1lbnUFbWVyZ2UJbWlsZXN0b25lBm1pcnJvcgxtb3J0YXItYm9hcmQEbW92ZRBtdWx0aXBsZS13aW5kb3dzBG11dGUIbmV3LWZpbGUKbmV3LWZvbGRlcgpuby1uZXdsaW5lBG5vdGUIbm90ZWJvb2sIb2N0b2ZhY2UMb3Blbi1wcmV2aWV3DG9yZ2FuaXphdGlvbgZvdXRwdXQHcGFja2FnZQhwYWludGNhbgtwYXNzLWZpbGxlZARwYXNzBnBlcnNvbgNwaW4McGlubmVkLWRpcnR5BnBpbm5lZAtwbGF5LWNpcmNsZQRwbGF5BHBsdWcNcHJlc2VydmUtY2FzZQdwcmV2aWV3EHByaW1pdGl2ZS1zcXVhcmUHcHJvamVjdAVwdWxzZQhxdWVzdGlvbgVxdW90ZQtyYWRpby10b3dlcglyZWFjdGlvbnMLcmVjb3JkLWtleXMGcmVjb3JkBHJlZG8KcmVmZXJlbmNlcwdyZWZyZXNoBXJlZ2V4D3JlbW90ZS1leHBsb3JlcgZyZW1vdGUGcmVtb3ZlC3JlcGxhY2UtYWxsB3JlcGxhY2UFcmVwbHkKcmVwby1jbG9uZQ9yZXBvLWZvcmNlLXB1c2gLcmVwby1mb3JrZWQJcmVwby1wdWxsCXJlcG8tcHVzaARyZXBvBnJlcG9ydA9yZXF1ZXN0LWNoYW5nZXMGcm9ja2V0EnJvb3QtZm9sZGVyLW9wZW5lZAtyb290LWZvbGRlcgNyc3MEcnVieQdydW4tYWxsCHNhdmUtYWxsB3NhdmUtYXMEc2F2ZQtzY3JlZW4tZnVsbA1zY3JlZW4tbm9ybWFsC3NlYXJjaC1zdG9wBnNlYXJjaBJzZXJ2ZXItZW52aXJvbm1lbnQOc2VydmVyLXByb2Nlc3MGc2VydmVyDXNldHRpbmdzLWdlYXIIc2V0dGluZ3MGc2hpZWxkB3NpZ24taW4Ic2lnbi1vdXQGc21pbGV5D3NvcnQtcHJlY2VkZW5jZQ5zb3VyY2UtY29udHJvbBBzcGxpdC1ob3Jpem9udGFsDnNwbGl0LXZlcnRpY2FsCHNxdWlycmVsCnN0YXItZW1wdHkJc3Rhci1mdWxsCXN0YXItaGFsZgtzdG9wLWNpcmNsZQxzeW1ib2wtYXJyYXkOc3ltYm9sLWJvb2xlYW4Mc3ltYm9sLWNsYXNzDHN5bWJvbC1jb2xvcg9zeW1ib2wtY29uc3RhbnQSc3ltYm9sLWVudW0tbWVtYmVyC3N5bWJvbC1lbnVtDHN5bWJvbC1ldmVudAxzeW1ib2wtZmllbGQLc3ltYm9sLWZpbGUQc3ltYm9sLWludGVyZmFjZQpzeW1ib2wta2V5DnN5bWJvbC1rZXl3b3JkDXN5bWJvbC1tZXRob2QLc3ltYm9sLW1pc2MQc3ltYm9sLW5hbWVzcGFjZQ5zeW1ib2wtbnVtZXJpYw9zeW1ib2wtb3BlcmF0b3IQc3ltYm9sLXBhcmFtZXRlcg9zeW1ib2wtcHJvcGVydHkMc3ltYm9sLXJ1bGVyDnN5bWJvbC1zbmlwcGV0DXN5bWJvbC1zdHJpbmcQc3ltYm9sLXN0cnVjdHVyZQ9zeW1ib2wtdmFyaWFibGUMc3luYy1pZ25vcmVkBHN5bmMDdGFnCHRhc2tsaXN0CXRlbGVzY29wZQh0ZXJtaW5hbAl0ZXh0LXNpemUKdGhyZWUtYmFycwp0aHVtYnNkb3duCHRodW1ic3VwBXRvb2xzBXRyYXNoDXRyaWFuZ2xlLWRvd24NdHJpYW5nbGUtbGVmdA50cmlhbmdsZS1yaWdodAt0cmlhbmdsZS11cAd0d2l0dGVyBnVuZm9sZBN1bmdyb3VwLWJ5LXJlZi10eXBlBnVubG9jawZ1bm11dGUKdW52ZXJpZmllZAh2ZXJpZmllZAh2ZXJzaW9ucwl2bS1hY3RpdmUKdm0tY29ubmVjdAp2bS1vdXRsaW5lCnZtLXJ1bm5pbmcCdm0Hd2FybmluZwV3YXRjaAp3aGl0ZXNwYWNlCndob2xlLXdvcmQGd2luZG93CXdvcmQtd3JhcAd6b29tLWluCHpvb20tb3V0AAA="},47106:function(){window.MonacoEnvironment=window.MonacoEnvironment||{},window.MonacoEnvironment.globalAPI=!0}},t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={id:i,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};n.r(e),n.d(e,{JsxEmit:function(){return Fi},ModuleKind:function(){return Pi},ModuleResolutionKind:function(){return Wi},NewLineKind:function(){return zi},ScriptTarget:function(){return Bi},getJavaScriptWorker:function(){return Gi},getTypeScriptWorker:function(){return qi},javascriptDefaults:function(){return Ki},typescriptDefaults:function(){return ji},typescriptVersion:function(){return Vi}});var t={};n.r(t),n.d(t,{cssDefaults:function(){return Xi},lessDefaults:function(){return to},scssDefaults:function(){return eo}});var i={};n.r(i),n.d(i,{jsonDefaults:function(){return oo}});var o={};n.r(o),n.d(o,{handlebarDefaults:function(){return fo},htmlDefaults:function(){return mo},razorDefaults:function(){return bo}});var r={};n.r(r),n.d(r,{loadLanguage:function(){return Co},registerLanguage:function(){return So}});var s={};n.r(s);var a={};n.r(a);var l={};n.r(l);var c={};n.r(c);var d={};n.r(d);var h={};n.r(h);var u={};n.r(u);var p={};n.r(p);var g={};n.r(g);var m={};n.r(m);var f={};n.r(f);var b={};n.r(b);var v={};n.r(v);var _={};n.r(_);var w={};n.r(w);var y={};n.r(y);var A={};n.r(A);var C={};n.r(C);var S={};n.r(S);var x={};n.r(x);var E={};n.r(E);var k={};n.r(k);var T={};n.r(T);var I={};n.r(I);var D={};n.r(D);var L={};n.r(L);var R={};n.r(R);var N={};n.r(N);var M={};n.r(M);var O={};n.r(O);var P={};n.r(P);var F={};n.r(F);var z={};n.r(z);var B={};n.r(B);var W={};n.r(W);var U={};n.r(U);var H={};n.r(H);var V={};n.r(V);var j={};n.r(j);var K={};n.r(K);var q={};n.r(q);var G={};n.r(G);var Q={};n.r(Q);var Y={};n.r(Y);var $={};n.r($);var J={};n.r(J);var Z={};n.r(Z);var X={};n.r(X);var ee={};n.r(ee);var te={};n.r(te);var ne={};n.r(ne);var ie={};n.r(ie);var oe={};n.r(oe);var re={};n.r(re);var se={};n.r(se);var ae={};n.r(ae);var le={};n.r(le);var ce={};n.r(ce);var de={};n.r(de);var he={};n.r(he);var ue={};n.r(ue);var pe={};n.r(pe);var ge={};n.r(ge);var me={};n.r(me);var fe={};n.r(fe);var be={};n.r(be);var ve={};n.r(ve);var _e={};n.r(_e);var we={};n.r(we);var ye={};n.r(ye),n.d(ye,{MarkdownString:function(){return Uo},escapeMarkdownSyntaxTokens:function(){return qo},isEmptyMarkdownString:function(){return Ho},isMarkdownString:function(){return Vo},markedStringsEquals:function(){return jo},parseHrefAndDimensions:function(){return Qo},removeMarkdownEscapes:function(){return Go}});var Ae={};n.r(Ae),n.d(Ae,{SelectionAnchorSet:function(){return Jo}});var Ce={};n.r(Ce),n.d(Ce,{BracketMatchingController:function(){return wr}});var Se={};n.r(Se),n.d(Se,{MoveCaretCommand:function(){return yr}});var xe={};n.r(xe);var Ee={};n.r(Ee);var ke={};n.r(ke),n.d(ke,{CopyAction:function(){return zr},CutAction:function(){return Fr},PasteAction:function(){return Br}});var Te={};n.r(Te),n.d(Te,{Lazy:function(){return Vr}});var Ie={};n.r(Ie),n.d(Ie,{CodeActionCommandArgs:function(){return es},CodeActionKind:function(){return $r},filtersAction:function(){return Zr},mayIncludeActionsOfKind:function(){return Jr}});var De={};n.r(De),n.d(De,{CodeActionItem:function(){return cs},codeActionCommandId:function(){return os},fixAllCommandId:function(){return ls},getCodeActions:function(){return us},organizeImportsCommandId:function(){return as},refactorCommandId:function(){return rs},sourceActionCommandId:function(){return ss}});var Le={};n.r(Le),n.d(Le,{MessageController:function(){return ms}});var Re={};n.r(Re),n.d(Re,{CodeActionKeybindingResolver:function(){return Es},CodeActionMenu:function(){return xs}});var Ne={};n.r(Ne),n.d(Ne,{LightBulbWidget:function(){return Ns}});var Me={};n.r(Me),n.d(Me,{CodeActionUi:function(){return Os}});var Oe={};n.r(Oe),n.d(Oe,{CodeActionModel:function(){return Vs},CodeActionsState:function(){return Hs},SUPPORTED_CODE_ACTIONS:function(){return Ws}});var Pe={};n.r(Pe),n.d(Pe,{AutoFixAction:function(){return ia},CodeActionCommand:function(){return Zs},FixAllAction:function(){return na},OrganizeImportsAction:function(){return ta},QuickFixAction:function(){return Js},QuickFixController:function(){return Qs},RefactorAction:function(){return Xs},SourceAction:function(){return ea},applyCodeAction:function(){return Ys}});var Fe={};n.r(Fe);var ze={};n.r(ze),n.d(ze,{CodeLensModel:function(){return sa},getCodeLensModel:function(){return aa}});var Be={};n.r(Be),n.d(Be,{CodeLensHelper:function(){return ua},CodeLensWidget:function(){return pa}});var We={};n.r(We),n.d(We,{CodeLensCache:function(){return wa},ICodeLensCache:function(){return va}});var Ue={};n.r(Ue),n.d(Ue,{CodeLensContribution:function(){return xa}});var He={};n.r(He),n.d(He,{getColorPresentations:function(){return Ta},getColors:function(){return ka}});var Ve={};n.r(Ve),n.d(Ve,{ColorDetector:function(){return La}});var je={};n.r(je),n.d(je,{ColorPickerModel:function(){return Na}});var Ke={};n.r(Ke),n.d(Ke,{ColorPickerBody:function(){return za},ColorPickerHeader:function(){return Fa},ColorPickerWidget:function(){return Va}});var qe={};n.r(qe),n.d(qe,{HoverOperation:function(){return ja}});var Ge={};n.r(Ge),n.d(Ge,{HoverWidget:function(){return Qa},renderHoverAction:function(){return Ya}});var Qe={};n.r(Qe),n.d(Qe,{getBaseLabel:function(){return tl},normalizeDriveLetter:function(){return nl}});var Ye={};n.r(Ye),n.d(Ye,{EmbeddedCodeEditorWidget:function(){return ll}});var $e={};n.r($e),n.d($e,{OverlayWidgetDelegate:function(){return ml},ViewZoneDelegate:function(){return gl},ZoneWidget:function(){return bl}});var Je={};n.r(Je),n.d(Je,{BaseDropdown:function(){return Cl},DropdownMenu:function(){return Sl}});var Ze={};n.r(Ze),n.d(Ze,{DropdownMenuActionViewItem:function(){return xl}});var Xe={};n.r(Xe),n.d(Xe,{MenuEntryActionViewItem:function(){return Il},SubmenuEntryActionViewItem:function(){return Dl},createActionViewItem:function(){return Ll},createAndFillInActionBarActions:function(){return Tl}});var et={};n.r(et),n.d(et,{IPeekViewService:function(){return Ml},PeekContext:function(){return Ol},PeekViewWidget:function(){return Bl},getOuterEditor:function(){return Fl},peekViewBorder:function(){return Vl},peekViewEditorBackground:function(){return Yl},peekViewEditorGutterBackground:function(){return $l},peekViewEditorMatchHighlight:function(){return Zl},peekViewEditorMatchHighlightBorder:function(){return Xl},peekViewResultsBackground:function(){return jl},peekViewResultsFileForeground:function(){return ql},peekViewResultsMatchForeground:function(){return Kl},peekViewResultsMatchHighlight:function(){return Jl},peekViewResultsSelectionBackground:function(){return Gl},peekViewResultsSelectionForeground:function(){return Ql},peekViewTitleBackground:function(){return Wl},peekViewTitleForeground:function(){return Ul},peekViewTitleInfoForeground:function(){return Hl}});var tt={};n.r(tt),n.d(tt,{SeverityIcon:function(){return ec}});var nt={};n.r(nt),n.d(nt,{MarkerNavigationWidget:function(){return rc},editorMarkerNavigationBackground:function(){return uc},editorMarkerNavigationError:function(){return cc},editorMarkerNavigationInfo:function(){return hc},editorMarkerNavigationWarning:function(){return dc}});var it={};n.r(it),n.d(it,{IMarkerNavigationService:function(){return vc},MarkerCoordinate:function(){return fc},MarkerList:function(){return bc}});var ot={};n.r(ot),n.d(ot,{MarkerController:function(){return Cc},NextMarkerAction:function(){return xc}});var rt={};n.r(rt),n.d(rt,{MarkerHover:function(){return Lc},MarkerHoverParticipant:function(){return Nc}});var st={};n.r(st),n.d(st,{insane:function(){return zc}});var at={};n.r(at),n.d(at,{renderMarkdown:function(){return Hc}});var lt={};n.r(lt),n.d(lt,{MarkdownRenderer:function(){return qc}});var ct={};n.r(ct),n.d(ct,{getHover:function(){return Gc}});var dt={};n.r(dt),n.d(dt,{MarkdownHover:function(){return $c},MarkdownHoverParticipant:function(){return Jc}});var ht={};n.r(ht),n.d(ht,{ModesContentHoverWidget:function(){return td}});var ut={};n.r(ut),n.d(ut,{GlyphHoverWidget:function(){return nd}});var pt={};n.r(pt),n.d(pt,{ModesGlyphHoverWidget:function(){return od}});var gt={};n.r(gt),n.d(gt,{getDeclarationsAtPosition:function(){return cd},getDefinitionsAtPosition:function(){return ld},getImplementationsAtPosition:function(){return dd},getReferencesAtPosition:function(){return ud},getTypeDefinitionsAtPosition:function(){return hd}});var mt={};n.r(mt),n.d(mt,{FilePreview:function(){return fd},FileReferences:function(){return bd},OneReference:function(){return md},ReferencesModel:function(){return vd}});var ft={};n.r(ft),n.d(ft,{AccessibilityProvider:function(){return Od},DataSource:function(){return kd},Delegate:function(){return Td},FileReferencesRenderer:function(){return Rd},IdentityProvider:function(){return Dd},OneReferenceRenderer:function(){return Md},StringRepresentationProvider:function(){return Id}});var bt={};n.r(bt),n.d(bt,{Sizing:function(){return Kd},SplitView:function(){return qd}});var vt={};n.r(vt),n.d(vt,{LayoutData:function(){return Jd},ReferenceWidget:function(){return Xd}});var _t={};n.r(_t),n.d(_t,{ReferencesController:function(){return oh},ctxReferenceSearchVisible:function(){return ih}});var wt={};n.r(wt),n.d(wt,{ISymbolNavigationService:function(){return ch},ctxHasSymbols:function(){return lh}});var yt={};n.r(yt),n.d(yt,{DefinitionAction:function(){return Ah}});var At={};n.r(At),n.d(At,{ClickLinkGesture:function(){return Mh},ClickLinkKeyboardEvent:function(){return Lh},ClickLinkMouseEvent:function(){return Dh},ClickLinkOptions:function(){return Rh}});var Ct={};n.r(Ct),n.d(Ct,{GotoDefinitionAtPositionEditorContribution:function(){return Ph}});var St={};n.r(St),n.d(St,{ModesHoverController:function(){return zh}});var xt={};n.r(xt),n.d(xt,{ColorContribution:function(){return Uh}});var Et={};n.r(Et),n.d(Et,{BlockCommentCommand:function(){return jh}});var kt={};n.r(kt),n.d(kt,{LineCommentCommand:function(){return Kh}});var Tt={};n.r(Tt);var It={};n.r(It),n.d(It,{ContextMenuController:function(){return Yh}});var Dt={};n.r(Dt),n.d(Dt,{CursorRedo:function(){return tu},CursorUndo:function(){return eu},CursorUndoRedoController:function(){return Xh}});var Lt={};n.r(Lt),n.d(Lt,{DragAndDropCommand:function(){return iu}});var Rt={};n.r(Rt),n.d(Rt,{DragAndDropController:function(){return ru}});var Nt={};n.r(Nt),n.d(Nt,{FindDecorations:function(){return au}});var Mt={};n.r(Mt),n.d(Mt,{ReplaceAllCommand:function(){return lu}});var Ot={};n.r(Ot),n.d(Ot,{buildReplaceStringWithCasePreserved:function(){return cu}});var Pt={};n.r(Pt),n.d(Pt,{ReplacePattern:function(){return gu},ReplacePiece:function(){return mu},parseReplaceString:function(){return bu}});var Ft={};n.r(Ft),n.d(Ft,{CONTEXT_FIND_INPUT_FOCUSED:function(){return _u},CONTEXT_FIND_WIDGET_VISIBLE:function(){return vu},CONTEXT_REPLACE_INPUT_FOCUSED:function(){return wu},FIND_IDS:function(){return Eu},FindModelBoundToEditorModel:function(){return Tu},MATCHES_LIMIT:function(){return ku},ToggleCaseSensitiveKeybinding:function(){return yu},TogglePreserveCaseKeybinding:function(){return xu},ToggleRegexKeybinding:function(){return Cu},ToggleSearchScopeKeybinding:function(){return Su},ToggleWholeWordKeybinding:function(){return Au}});var zt={};n.r(zt),n.d(zt,{Checkbox:function(){return Lu}});var Bt={};n.r(Bt),n.d(Bt,{CaseSensitiveCheckbox:function(){return Ou},RegexCheckbox:function(){return Fu},WholeWordsCheckbox:function(){return Pu}});var Wt={};n.r(Wt),n.d(Wt,{FindOptionsWidget:function(){return zu}});var Ut={};n.r(Ut),n.d(Ut,{FindReplaceState:function(){return Wu}});var Ht={};n.r(Ht),n.d(Ht,{FindInput:function(){return Ku}});var Vt={};n.r(Vt),n.d(Vt,{PreserveCaseCheckbox:function(){return Qu},ReplaceInput:function(){return Yu}});var jt={};n.r(jt),n.d(jt,{ContextScopedFindInput:function(){return np},ContextScopedReplaceInput:function(){return ip},HistoryNavigationEnablementContext:function(){return Xu},HistoryNavigationWidgetContext:function(){return Zu},createAndBindHistoryNavigationWidgetScopedContextKeyService:function(){return tp}});var Kt={};n.r(Kt),n.d(Kt,{FindWidget:function(){return Rp},FindWidgetViewZone:function(){return Ip},SimpleButton:function(){return Np},findNextMatchIcon:function(){return dp},findPreviousMatchIcon:function(){return cp},findReplaceAllIcon:function(){return lp},findReplaceIcon:function(){return ap}});var qt={};n.r(qt),n.d(qt,{CommonFindController:function(){return zp},EditorStartFindAction:function(){return Jp},EditorStartFindReplaceAction:function(){return Zp},FindController:function(){return Bp},MatchFindAction:function(){return Hp},NextMatchFindAction:function(){return Vp},NextMatchFindAction2:function(){return jp},NextSelectionMatchFindAction:function(){return Qp},PreviousMatchFindAction:function(){return Kp},PreviousMatchFindAction2:function(){return qp},PreviousSelectionMatchFindAction:function(){return Yp},SelectionMatchFindAction:function(){return Gp},StartFindAction:function(){return Wp},StartFindReplaceAction:function(){return $p},StartFindWithSelectionAction:function(){return Up},getSelectionSearchString:function(){return Fp}});var Gt={};n.r(Gt),n.d(Gt,{FoldingRegion:function(){return rg},FoldingRegions:function(){return og},MAX_FOLDING_REGIONS:function(){return tg},MAX_LINE_NUMBER:function(){return ng}});var Qt={};n.r(Qt),n.d(Qt,{FoldingModel:function(){return sg},setCollapseStateAtLevel:function(){return hg},setCollapseStateForMatchingLines:function(){return ug},setCollapseStateForType:function(){return pg},setCollapseStateLevelsDown:function(){return lg},setCollapseStateLevelsUp:function(){return cg},setCollapseStateUp:function(){return dg},toggleCollapseState:function(){return ag}});var Yt={};n.r(Yt),n.d(Yt,{FoldingDecorationProvider:function(){return fg},foldingCollapsedIcon:function(){return mg},foldingExpandedIcon:function(){return gg}});var $t={};n.r($t),n.d($t,{HiddenRangeModel:function(){return bg}});var Jt={};n.r(Jt),n.d(Jt,{ID_INDENT_PROVIDER:function(){return _g},IndentRangeProvider:function(){return wg},RangesCollector:function(){return yg},computeRanges:function(){return Ag}});var Zt={};n.r(Zt),n.d(Zt,{ID_SYNTAX_PROVIDER:function(){return Sg},RangesCollector:function(){return Eg},SyntaxRangeProvider:function(){return xg},sanitizeRanges:function(){return kg}});var Xt={};n.r(Xt),n.d(Xt,{ID_INIT_PROVIDER:function(){return Tg},InitializingRangeProvider:function(){return Ig}});var en={};n.r(en),n.d(en,{FoldingController:function(){return Lg},editorFoldForeground:function(){return Pg},foldBackgroundBackground:function(){return Og}});var tn={};n.r(tn);var nn={};n.r(nn);var on={};n.r(on),n.d(on,{OutlineElement:function(){return em},OutlineGroup:function(){return tm},OutlineModel:function(){return nm},TreeElement:function(){return Xg}});var rn={};n.r(rn),n.d(rn,{getDocumentSymbols:function(){return om}});var sn={};n.r(sn),n.d(sn,{generateIndent:function(){return am},getSpaceCnt:function(){return sm}});var an={};n.r(an),n.d(an,{AutoIndentOnPaste:function(){return vm},AutoIndentOnPasteCommand:function(){return bm},ChangeIndentationSizeAction:function(){return hm},DetectIndentation:function(){return gm},IndentUsingSpaces:function(){return pm},IndentUsingTabs:function(){return um},IndentationToSpacesAction:function(){return cm},IndentationToSpacesCommand:function(){return wm},IndentationToTabsAction:function(){return dm},IndentationToTabsCommand:function(){return ym},ReindentLinesAction:function(){return mm},ReindentSelectedLinesAction:function(){return fm},getReindentEditOperations:function(){return lm}});var ln={};n.r(ln),n.d(ln,{InlineHintsController:function(){return xm},getInlineHints:function(){return Sm}});var cn={};n.r(cn),n.d(cn,{InPlaceReplaceCommand:function(){return Em}});var dn={};n.r(dn);var hn={};n.r(hn),n.d(hn,{TrimTrailingWhitespaceCommand:function(){return Dm},trimTrailingWhitespace:function(){return Lm}});var un={};n.r(un),n.d(un,{CopyLinesCommand:function(){return Nm}});var pn={};n.r(pn),n.d(pn,{MoveLinesCommand:function(){return Om}});var gn={};n.r(gn),n.d(gn,{SortLinesCommand:function(){return Pm}});var mn={};n.r(mn),n.d(mn,{AbstractCaseAction:function(){return tf},AbstractDeleteAllToBoundaryAction:function(){return $m},AbstractSortLinesAction:function(){return Um},DeleteAllLeftAction:function(){return Jm},DeleteAllRightAction:function(){return Zm},DeleteLinesAction:function(){return Km},DuplicateSelectionAction:function(){return Bm},IndentLinesAction:function(){return qm},InsertLineAfterAction:function(){return Ym},InsertLineBeforeAction:function(){return Qm},JoinLinesAction:function(){return Xm},LowerCaseAction:function(){return of},SnakeCaseAction:function(){return sf},SortLinesAscendingAction:function(){return Hm},SortLinesDescendingAction:function(){return Vm},TitleCaseAction:function(){return rf},TransposeAction:function(){return ef},TrimTrailingWhitespaceAction:function(){return jm},UpperCaseAction:function(){return nf}});var fn={};n.r(fn),n.d(fn,{CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE:function(){return lf},LinkedEditingAction:function(){return hf},LinkedEditingContribution:function(){return df},editorLinkedEditingBackground:function(){return gf}});var bn={};n.r(bn),n.d(bn,{Link:function(){return bf},LinksList:function(){return vf},getLinks:function(){return _f}});var vn={};n.r(vn),n.d(vn,{LinkDetector:function(){return Cf}});var _n={};n.r(_n),n.d(_n,{AddSelectionToNextFindMatchAction:function(){return Of},AddSelectionToPreviousFindMatchAction:function(){return Pf},CompatChangeAll:function(){return Wf},InsertCursorAbove:function(){return Ef},InsertCursorBelow:function(){return kf},MoveSelectionToNextFindMatchAction:function(){return Ff},MoveSelectionToPreviousFindMatchAction:function(){return zf},MultiCursorSelectionController:function(){return Nf},MultiCursorSelectionControllerAction:function(){return Mf},MultiCursorSession:function(){return Rf},MultiCursorSessionResult:function(){return Lf},SelectHighlightsAction:function(){return Bf},SelectionHighlighter:function(){return Hf}});var wn={};n.r(wn),n.d(wn,{Context:function(){return Gf},provideSignatureHelp:function(){return Qf}});var yn={};n.r(yn),n.d(yn,{ParameterHintsModel:function(){return $f}});var An={};n.r(An),n.d(An,{ParameterHintsWidget:function(){return nb}});var Cn={};n.r(Cn),n.d(Cn,{TriggerParameterHintsAction:function(){return ob}});var Sn={};n.r(Sn),n.d(Sn,{CONTEXT_RENAME_INPUT_VISIBLE:function(){return cb},RenameInputField:function(){return db}});var xn={};n.r(xn),n.d(xn,{RenameAction:function(){return wb},rename:function(){return vb}});var En={};n.r(En),n.d(En,{WordSelectionRangeProvider:function(){return Ab}});var kn={};n.r(kn),n.d(kn,{BracketSelectionRangeProvider:function(){return Cb}});var Tn={};n.r(Tn),n.d(Tn,{provideSelectionRanges:function(){return Tb}});var In={};n.r(In),n.d(In,{Choice:function(){return Mb},FormatString:function(){return Pb},Marker:function(){return Db},Placeholder:function(){return Nb},Scanner:function(){return Ib},SnippetParser:function(){return Wb},Text:function(){return Lb},TextmateSnippet:function(){return Bb},Transform:function(){return Ob},TransformableMarker:function(){return Rb},Variable:function(){return Fb}});var Dn={};n.r(Dn),n.d(Dn,{CompletionItem:function(){return Kb},CompletionItemModel:function(){return Qb},CompletionOptions:function(){return qb},Context:function(){return Vb},getSnippetSuggestSupport:function(){return Gb},getSuggestionComparator:function(){return Zb},provideSuggestionItems:function(){return Yb},showSimpleSuggestions:function(){return ev},suggestWidgetStatusbarMenu:function(){return jb}});var Ln={};n.r(Ln),n.d(Ln,{WORKSPACE_EXTENSION:function(){return ov},isSingleFolderWorkspaceIdentifier:function(){return rv},toWorkspaceIdentifier:function(){return sv}});var Rn={};n.r(Rn),n.d(Rn,{generateUuid:function(){return cv}});var Nn={};n.r(Nn),n.d(Nn,{ClipboardBasedVariableResolver:function(){return pv},CommentBasedVariableResolver:function(){return gv},CompositeSnippetVariableResolver:function(){return dv},ModelBasedVariableResolver:function(){return uv},RandomBasedVariableResolver:function(){return bv},SelectionBasedVariableResolver:function(){return hv},TimeBasedVariableResolver:function(){return mv},WorkspaceBasedVariableResolver:function(){return fv}});var Mn={};n.r(Mn),n.d(Mn,{OneSnippet:function(){return vv},SnippetSession:function(){return wv}});var On={};n.r(On),n.d(On,{SnippetController2:function(){return Cv}});var Pn={};n.r(Pn),n.d(Pn,{ISuggestMemoryService:function(){return Lv},LRUMemory:function(){return Tv},Memory:function(){return Ev},NoMemory:function(){return kv},PrefixMemory:function(){return Iv},SuggestMemoryService:function(){return Dv}});var Fn={};n.r(Fn),n.d(Fn,{SuggestAlternatives:function(){return Rv}});var zn={};n.r(zn),n.d(zn,{CompletionModel:function(){return Mv},LineContext:function(){return Nv}});var Bn={};n.r(Bn),n.d(Bn,{WordDistance:function(){return Ov}});var Wn={};n.r(Wn),n.d(Wn,{LineContext:function(){return Fv},SuggestModel:function(){return zv}});var Un={};n.r(Un),n.d(Un,{ResizableHTMLElement:function(){return Hv}});var Hn={};n.r(Hn),n.d(Hn,{SuggestDetailsOverlay:function(){return Kv},SuggestDetailsWidget:function(){return jv},canExpandCompletionItem:function(){return Vv}});var Vn={};n.r(Vn),n.d(Vn,{SuggestWidgetStatus:function(){return Qv}});var jn={};n.r(jn),n.d(jn,{FileKind:function(){return Yv}});var Kn={};n.r(Kn),n.d(Kn,{cssEscape:function(){return Xv},detectModeId:function(){return Zv},getIconClasses:function(){return Jv}});var qn={};n.r(qn),n.d(qn,{ItemRenderer:function(){return r_},getAriaId:function(){return n_},suggestMoreInfoIcon:function(){return i_}});var Gn={};n.r(Gn),n.d(Gn,{SuggestContentWidget:function(){return g_},SuggestWidget:function(){return p_},editorSuggestWidgetBackground:function(){return a_},editorSuggestWidgetBorder:function(){return l_},editorSuggestWidgetForeground:function(){return c_},editorSuggestWidgetHighlightForeground:function(){return h_},editorSuggestWidgetSelectedBackground:function(){return d_}});var Qn={};n.r(Qn),n.d(Qn,{WordContextKey:function(){return m_}});var Yn={};n.r(Yn),n.d(Yn,{CommitCharacterController:function(){return f_}});var $n={};n.r($n),n.d($n,{OvertypingCapturer:function(){return b_}});var Jn={};n.r(Jn),n.d(Jn,{SuggestController:function(){return w_},TriggerSuggestAction:function(){return y_}});var Zn={};n.r(Zn);var Xn={};n.r(Xn),n.d(Xn,{ToggleTabFocusModeAction:function(){return E_}});var ei={};n.r(ei);var ti={};n.r(ti);var ni={};n.r(ni),n.d(ni,{getOccurrencesAtPosition:function(){return V_}});var ii={};n.r(ii),n.d(ii,{CursorWordAccessibilityLeft:function(){return dw},CursorWordAccessibilityLeftSelect:function(){return hw},CursorWordAccessibilityRight:function(){return vw},CursorWordAccessibilityRightSelect:function(){return _w},CursorWordEndLeft:function(){return rw},CursorWordEndLeftSelect:function(){return lw},CursorWordEndRight:function(){return pw},CursorWordEndRightSelect:function(){return fw},CursorWordLeft:function(){return sw},CursorWordLeftSelect:function(){return cw},CursorWordRight:function(){return gw},CursorWordRightSelect:function(){return bw},CursorWordStartLeft:function(){return ow},CursorWordStartLeftSelect:function(){return aw},CursorWordStartRight:function(){return uw},CursorWordStartRightSelect:function(){return mw},DeleteInsideWord:function(){return Iw},DeleteWordCommand:function(){return ww},DeleteWordEndLeft:function(){return Sw},DeleteWordEndRight:function(){return kw},DeleteWordLeft:function(){return xw},DeleteWordLeftCommand:function(){return yw},DeleteWordRight:function(){return Tw},DeleteWordRightCommand:function(){return Aw},DeleteWordStartLeft:function(){return Cw},DeleteWordStartRight:function(){return Ew},MoveWordCommand:function(){return tw},WordLeftCommand:function(){return nw},WordRightCommand:function(){return iw}});var oi={};n.r(oi),n.d(oi,{CursorWordPartLeft:function(){return Nw},CursorWordPartLeftSelect:function(){return Mw},CursorWordPartRight:function(){return Pw},CursorWordPartRightSelect:function(){return Fw},DeleteWordPartLeft:function(){return Dw},DeleteWordPartRight:function(){return Lw},WordPartLeftCommand:function(){return Rw},WordPartRightCommand:function(){return Ow}});var ri={};n.r(ri);var si={};n.r(si),n.d(si,{IPadShowKeyboard:function(){return Yw}});var ai={};n.r(ai);var li={};n.r(li),n.d(li,{HelpQuickAccessProvider:function(){return ry}});var ci={};n.r(ci);var di={};n.r(di),n.d(di,{AbstractEditorNavigationQuickAccessProvider:function(){return sy}});var hi={};n.r(hi),n.d(hi,{AbstractGotoLineQuickAccessProvider:function(){return ay}});var ui={};n.r(ui),n.d(ui,{GotoLineAction:function(){return cy},StandaloneGotoLineQuickAccessProvider:function(){return ly}});var pi={};n.r(pi),n.d(pi,{pieceToQuery:function(){return fy},prepareQuery:function(){return gy},scoreFuzzy2:function(){return hy}});var gi={};n.r(gi),n.d(gi,{AbstractGotoSymbolQuickAccessProvider:function(){return vy}});var mi={};n.r(mi),n.d(mi,{GotoLineAction:function(){return Ay},StandaloneGotoSymbolQuickAccessProvider:function(){return yy}});var fi={};n.r(fi),n.d(fi,{PickerQuickAccessProvider:function(){return Ey},TriggerAction:function(){return Cy}});var bi={};n.r(bi),n.d(bi,{toErrorMessage:function(){return Dy}});var vi={};n.r(vi),n.d(vi,{AbstractCommandsQuickAccessProvider:function(){return My},CommandsHistory:function(){return Oy}});var _i={};n.r(_i),n.d(_i,{AbstractEditorCommandsQuickAccessProvider:function(){return Py}});var wi={};n.r(wi),n.d(wi,{GotoLineAction:function(){return By},StandaloneCommandsQuickAccessProvider:function(){return zy}});var yi={};n.r(yi),n.d(yi,{StandaloneReferencesController:function(){return Uy}});var Ai={};n.r(Ai);var Ci={};n.r(Ci),n.d(Ci,{IEnvironmentService:function(){return pC}});var Si={};n.r(Si);var xi={};n.r(xi);var Ei={};n.r(Ei);var ki={};n.r(ki);var Ti={};n.r(Ti);var Ii={};n.r(Ii);var Di={};n.r(Di);var Li={};n.r(Li);var Ri={};n.r(Ri);var Ni={};n.r(Ni);var Mi={};n.r(Mi);var Oi={};n.r(Oi),n(47106),n(57768);var Pi,Fi,zi,Bi,Wi,Ui=n(7946);!function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext"}(Pi||(Pi={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev"}(Fi||(Fi={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(zi||(zi={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(Bi||(Bi={})),function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(Wi||(Wi={}));var Hi=function(){function e(e,t,n){this._onDidChange=new Ui.Emitter,this._onDidExtraLibsChange=new Ui.Emitter,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(n),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var n,i=this;if(n=void 0===t?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var o=1;return this._removedExtraLibs[n]&&(o=this._removedExtraLibs[n]+1),this._extraLibs[n]&&(o=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:o},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=i._extraLibs[n];e&&e.version===o&&(delete i._extraLibs[n],i._removedExtraLibs[n]=o,i._fireOnDidExtraLibsChangeSoon())}}},e.prototype.setExtraLibs=function(e){for(var t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(var n=0,i=e;n<i.length;n++){var o=i[n],r=(t=o.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),o.content),s=1;this._removedExtraLibs[t]&&(s=this._removedExtraLibs[t]+1),this._extraLibs[t]={content:r,version:s}}this._fireOnDidExtraLibsChangeSoon()},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout((function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)}),0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setWorkerOptions=function(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}(),Vi="4.1.3",ji=new Hi({allowNonTsExtensions:!0,target:Bi.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1},{}),Ki=new Hi({allowNonTsExtensions:!0,allowJs:!0,target:Bi.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1},{}),qi=function(){return Qi().then((function(e){return e.getTypeScriptWorker()}))},Gi=function(){return Qi().then((function(e){return e.getJavaScriptWorker()}))};function Qi(){return Promise.resolve().then(n.bind(n,1259))}Ui.languages.typescript={ModuleKind:Pi,JsxEmit:Fi,NewLineKind:zi,ScriptTarget:Bi,ModuleResolutionKind:Wi,typescriptVersion:Vi,typescriptDefaults:ji,javascriptDefaults:Ki,getTypeScriptWorker:qi,getJavaScriptWorker:Gi},Ui.languages.onLanguage("typescript",(function(){return Qi().then((function(e){return e.setupTypeScript(ji)}))})),Ui.languages.onLanguage("javascript",(function(){return Qi().then((function(e){return e.setupJavaScript(Ki)}))}));var Yi=n(69422),$i=function(){function e(e,t,n){this._onDidChange=new Yi.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),Ji={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}},Zi={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},Xi=new $i("css",Ji,Zi),eo=new $i("scss",Ji,Zi),to=new $i("less",Ji,Zi);function no(){return Promise.resolve().then(n.bind(n,34346))}Yi.languages.css={cssDefaults:Xi,lessDefaults:to,scssDefaults:eo},Yi.languages.onLanguage("less",(function(){no().then((function(e){return e.setupMode(to)}))})),Yi.languages.onLanguage("scss",(function(){no().then((function(e){return e.setupMode(eo)}))})),Yi.languages.onLanguage("css",(function(){no().then((function(e){return e.setupMode(Xi)}))}));var io=n(72877),oo=new(function(){function e(e,t,n){this._onDidChange=new io.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}())("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning"},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});io.languages.json={jsonDefaults:oo},io.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),io.languages.onLanguage("json",(function(){Promise.resolve().then(n.bind(n,28040)).then((function(e){return e.setupMode(oo)}))}));var ro=n(28904),so=function(){function e(e,t,n){this._onDidChange=new ro.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),e.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),ao={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},lo={format:ao,suggest:{html5:!0}},co={format:ao,suggest:{html5:!0,razor:!0}};function ho(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===uo,documentFormattingEdits:e===uo,documentRangeFormattingEdits:e===uo}}var uo="html",po="handlebars",go="razor",mo=new so(uo,{format:ao,suggest:{html5:!0,angular1:!0,ionic:!0}},ho(uo)),fo=new so(po,lo,ho(po)),bo=new so(go,co,ho(go));function vo(){return Promise.resolve().then(n.bind(n,59027))}ro.languages.html={htmlDefaults:mo,razorDefaults:bo,handlebarDefaults:fo},ro.languages.onLanguage(uo,(function(){vo().then((function(e){return e.setupMode(mo)}))})),ro.languages.onLanguage(po,(function(){vo().then((function(e){return e.setupMode(fo)}))})),ro.languages.onLanguage(go,(function(){vo().then((function(e){return e.setupMode(bo)}))}));var _o=n(82283),wo={},yo={},Ao=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,n){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=n}))}return e.getOrCreate=function(t){return yo[t]||(yo[t]=new e(t)),yo[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,wo[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();function Co(e){return Ao.getOrCreate(e).load()}function So(e){var t=e.id;wo[t]=e,_o.languages.register(e);var n=Ao.getOrCreate(t);_o.languages.setMonarchTokensProvider(t,n.whenLoaded().then((function(e){return e.language}))),_o.languages.onLanguage(t,(function(){n.load().then((function(e){_o.languages.setLanguageConfiguration(t,e.conf)}))}))}So({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return Promise.resolve().then(n.bind(n,97365))}}),So({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return Promise.resolve().then(n.bind(n,81294))}}),So({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return Promise.resolve().then(n.bind(n,64343))}}),So({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return Promise.resolve().then(n.bind(n,42479))}}),So({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return Promise.resolve().then(n.bind(n,39395))}}),So({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return Promise.resolve().then(n.bind(n,36525))}}),So({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return Promise.resolve().then(n.bind(n,78444))}}),So({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return Promise.resolve().then(n.bind(n,63584))}}),So({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return Promise.resolve().then(n.bind(n,63584))}}),So({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return Promise.resolve().then(n.bind(n,12910))}}),So({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return Promise.resolve().then(n.bind(n,53691))}}),So({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return Promise.resolve().then(n.bind(n,94095))}}),So({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return Promise.resolve().then(n.bind(n,7001))}}),So({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return Promise.resolve().then(n.bind(n,25922))}}),So({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:function(){return Promise.resolve().then(n.bind(n,71040))}}),So({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return Promise.resolve().then(n.bind(n,73567))}}),So({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return Promise.resolve().then(n.bind(n,62823))}}),So({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return Promise.resolve().then(n.bind(n,35857))}}),So({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return Promise.resolve().then(n.bind(n,55055))}}),So({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return Promise.resolve().then(n.bind(n,12053))}}),So({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return Promise.resolve().then(n.bind(n,62642))}}),So({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return Promise.resolve().then(n.bind(n,16830))}}),So({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return Promise.resolve().then(n.bind(n,16853))}}),So({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return Promise.resolve().then(n.bind(n,22237))}}),So({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return Promise.resolve().then(n.bind(n,19308))}}),So({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return Promise.resolve().then(n.bind(n,45556))}}),So({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return Promise.resolve().then(n.bind(n,39689))}}),So({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return Promise.resolve().then(n.bind(n,65843))}}),So({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return Promise.resolve().then(n.bind(n,29931))}}),So({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:function(){return Promise.resolve().then(n.bind(n,34906))}}),So({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return Promise.resolve().then(n.bind(n,508))}}),So({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return Promise.resolve().then(n.bind(n,29266))}}),So({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return Promise.resolve().then(n.bind(n,34245))}}),So({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return Promise.resolve().then(n.bind(n,39889))}}),So({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return Promise.resolve().then(n.bind(n,83015))}}),So({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return Promise.resolve().then(n.bind(n,21599))}}),So({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:function(){return Promise.resolve().then(n.bind(n,95104))}}),So({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return Promise.resolve().then(n.bind(n,59184))}}),So({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return Promise.resolve().then(n.bind(n,2e4))}}),So({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return Promise.resolve().then(n.bind(n,86146))}}),So({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return Promise.resolve().then(n.bind(n,83851))}}),So({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return Promise.resolve().then(n.bind(n,81034))}}),So({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return Promise.resolve().then(n.bind(n,44638))}}),So({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return Promise.resolve().then(n.bind(n,18923))}}),So({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return Promise.resolve().then(n.bind(n,78981))}}),So({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:function(){return Promise.resolve().then(n.bind(n,36833))}}),So({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return Promise.resolve().then(n.bind(n,27058))}}),So({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return Promise.resolve().then(n.bind(n,72795))}}),So({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return Promise.resolve().then(n.bind(n,77480))}}),So({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return Promise.resolve().then(n.bind(n,59028))}}),So({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return Promise.resolve().then(n.bind(n,79365))}}),So({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return Promise.resolve().then(n.bind(n,46044))}}),So({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return Promise.resolve().then(n.bind(n,41763))}}),So({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return Promise.resolve().then(n.bind(n,72688))}}),So({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return Promise.resolve().then(n.bind(n,92742))}}),So({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return Promise.resolve().then(n.bind(n,4509))}}),So({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return Promise.resolve().then(n.bind(n,28053))}}),So({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return Promise.resolve().then(n.bind(n,5952))}}),So({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return Promise.resolve().then(n.bind(n,92048))}}),So({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return Promise.resolve().then(n.bind(n,38880))}}),So({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return Promise.resolve().then(n.bind(n,49323))}}),So({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return Promise.resolve().then(n.bind(n,2060))}}),So({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:function(){return Promise.resolve().then(n.bind(n,92744))}}),So({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:function(){return Promise.resolve().then(n.bind(n,92744))}}),So({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return Promise.resolve().then(n.bind(n,12534))}}),So({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:function(){return Promise.resolve().then(n.bind(n,27061))}}),So({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return Promise.resolve().then(n.bind(n,22633))}}),So({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return Promise.resolve().then(n.bind(n,12140))}}),So({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return Promise.resolve().then(n.bind(n,82048))}}),So({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return Promise.resolve().then(n.bind(n,75975))}});var xo=n(29743),Eo=n(41171),ko=n(94712),To=n(91296),Io=n(93379),Do=n.n(Io),Lo=n(75274),Ro=(Do()(Lo.Z,{insert:"head",singleton:!1}),Lo.Z.locals,n(21044)),No=n(89982),Mo=n(11101),Oo=n(88133),Po=n(98070),Fo=n(65410),zo=n(64998),Bo=n(69373),Wo=n(12718);class Uo{constructor(e="",t=!1){var n,i;if(this.value=e,"string"!=typeof this.value)throw(0,Wo.illegalArgument)("value");"boolean"==typeof t?(this.isTrusted=t,this.supportThemeIcons=!1):(this.isTrusted=null!==(n=t.isTrusted)&&void 0!==n?n:void 0,this.supportThemeIcons=null!==(i=t.supportThemeIcons)&&void 0!==i&&i)}appendText(e,t=0){return this.value+=qo(this.supportThemeIcons?(0,Bo.escapeIcons)(e):e).replace(/([ \t]+)/g,((e,t)=>" ".repeat(t.length))).replace(/^>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+="\n```",this.value+=e,this.value+="\n",this.value+=t,this.value+="\n```\n",this}}function Ho(e){return Vo(e)?!e.value:!Array.isArray(e)||e.every(Ho)}function Vo(e){return e instanceof Uo||!(!e||"object"!=typeof e)&&!("string"!=typeof e.value||"boolean"!=typeof e.isTrusted&&void 0!==e.isTrusted||"boolean"!=typeof e.supportThemeIcons&&void 0!==e.supportThemeIcons)}function jo(e,t){return!e&&!t||!(!e||!t)&&(Array.isArray(e)&&Array.isArray(t)?(0,zo.equals)(e,t,Ko):!(!Vo(e)||!Vo(t))&&Ko(e,t))}function Ko(e,t){return e===t||!(!e||!t)&&e.value===t.value&&e.isTrusted===t.isTrusted&&e.supportThemeIcons===t.supportThemeIcons}function qo(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function Go(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):e}function Qo(e){const t=[],n=e.split("|").map((e=>e.trim()));e=n[0];const i=n[1];if(i){const e=/height=(\d+)/.exec(i),n=/width=(\d+)/.exec(i),o=e?e[1]:"",r=n?n[1]:"",s=isFinite(parseInt(r)),a=isFinite(parseInt(o));s&&t.push(`width="${r}"`),a&&t.push(`height="${o}"`)}return{href:e,dimensions:t}}var Yo=n(61950),$o=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Jo=new Fo.RawContextKey("selectionAnchorSet",!1);let Zo=class e{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=Jo.bindTo(t),this.modelChangeListener=e.onDidChangeModel((()=>this.selectionAnchorSetContextKey.reset()))}static get(t){return t.getContribution(e.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],n=this.editor.deltaDecorations(t,[{range:Oo.Selection.fromPositions(e,e),options:{stickiness:1,hoverMessage:(new Uo).appendText((0,No.localize)("vs/editor/contrib/anchorSelect/anchorSelect","selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=n[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),(0,Yo.alert)((0,No.localize)("vs/editor/contrib/anchorSelect/anchorSelect","anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(Oo.Selection.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};var Xo,er;Zo.ID="editor.contrib.selectionAnchorController",Zo=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([(Xo=1,er=Fo.IContextKeyService,function(e,t){er(e,t,Xo)})],Zo);class tr extends Ro.EditorAction{constructor(){super({id:"editor.action.setSelectionAnchor",label:(0,No.localize)("vs/editor/contrib/anchorSelect/anchorSelect","setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2080),weight:100}})}run(e,t){return $o(this,void 0,void 0,(function*(){Zo.get(t).setSelectionAnchor()}))}}class nr extends Ro.EditorAction{constructor(){super({id:"editor.action.goToSelectionAnchor",label:(0,No.localize)("vs/editor/contrib/anchorSelect/anchorSelect","goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:Jo})}run(e,t){return $o(this,void 0,void 0,(function*(){Zo.get(t).goToSelectionAnchor()}))}}class ir extends Ro.EditorAction{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:(0,No.localize)("vs/editor/contrib/anchorSelect/anchorSelect","selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:Jo,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2089),weight:100}})}run(e,t){return $o(this,void 0,void 0,(function*(){Zo.get(t).selectFromAnchorToCursor()}))}}class or extends Ro.EditorAction{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:(0,No.localize)("vs/editor/contrib/anchorSelect/anchorSelect","cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:Jo,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:9,weight:100}})}run(e,t){return $o(this,void 0,void 0,(function*(){Zo.get(t).cancelSelectionAnchor()}))}}(0,Ro.registerEditorContribution)(Zo.ID,Zo),(0,Ro.registerEditorAction)(tr),(0,Ro.registerEditorAction)(nr),(0,Ro.registerEditorAction)(ir),(0,Ro.registerEditorAction)(or);var rr=n(41286),sr=(Do()(rr.Z,{insert:"head",singleton:!1}),rr.Z.locals,n(66129)),ar=n(68921),lr=n(98296),cr=n(24898),dr=n(33138),hr=n(56115),ur=n(48970),pr=n(16189),gr=n(84535),mr=n(92704);const fr=(0,pr.registerColor)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},No.localize("vs/editor/contrib/bracketMatching/bracketMatching","overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class br extends Ro.EditorAction{constructor(){super({id:"editor.action.jumpToBracket",label:No.localize("vs/editor/contrib/bracketMatching/bracketMatching","smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3160,weight:100}})}run(e,t){let n=wr.get(t);n&&n.jumpToBracket()}}class vr extends Ro.EditorAction{constructor(){super({id:"editor.action.selectToBracket",label:No.localize("vs/editor/contrib/bracketMatching/bracketMatching","smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,n){const i=wr.get(t);if(!i)return;let o=!0;n&&!1===n.selectBrackets&&(o=!1),i.selectToBracket(o)}}class _r{constructor(e,t,n){this.position=e,this.brackets=t,this.options=n}}class wr extends ar.Disposable{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new sr.RunOnceScheduler((()=>this._updateBrackets()),50)),this._matchBrackets=this._editor.getOption(58),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition((e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()}))),this._register(e.onDidChangeModelContent((e=>{this._updateBracketsSoon.schedule()}))),this._register(e.onDidChangeModel((e=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()}))),this._register(e.onDidChangeModelLanguageConfiguration((e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()}))),this._register(e.onDidChangeConfiguration((e=>{e.hasChanged(58)&&(this._matchBrackets=this._editor.getOption(58),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})))}static get(e){return e.getContribution(wr.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map((t=>{const n=t.getStartPosition(),i=e.matchBracket(n);let o=null;if(i)i[0].containsPosition(n)?o=i[1].getStartPosition():i[1].containsPosition(n)&&(o=i[0].getStartPosition());else{const t=e.findEnclosingBrackets(n);if(t)o=t[0].getStartPosition();else{const t=e.findNextBracket(n);t&&t.range&&(o=t.range.getStartPosition())}}return o?new Oo.Selection(o.lineNumber,o.column,o.lineNumber,o.column):new Oo.Selection(n.lineNumber,n.column,n.lineNumber,n.column)}));this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=[];this._editor.getSelections().forEach((i=>{const o=i.getStartPosition();let r=t.matchBracket(o);if(!r&&(r=t.findEnclosingBrackets(o),!r)){const e=t.findNextBracket(o);e&&e.range&&(r=t.matchBracket(e.range.getStartPosition()))}let s=null,a=null;if(r){r.sort(cr.Range.compareRangesUsingStarts);const[t,n]=r;s=e?t.getStartPosition():t.getEndPosition(),a=e?n.getEndPosition():n.getStartPosition()}s&&a&&n.push(new Oo.Selection(s.lineNumber,s.column,a.lineNumber,a.column))})),n.length>0&&(this._editor.setSelections(n),this._editor.revealRange(n[0]))}_updateBrackets(){if("never"===this._matchBrackets)return;this._recomputeBrackets();let e=[],t=0;for(const n of this._lastBracketsData){let i=n.brackets;i&&(e[t++]={range:i[0],options:n.options},e[t++]={range:i[1],options:n.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}_recomputeBrackets(){if(!this._editor.hasModel())return this._lastBracketsData=[],void(this._lastVersionId=0);const e=this._editor.getSelections();if(e.length>100)return this._lastBracketsData=[],void(this._lastVersionId=0);const t=this._editor.getModel(),n=t.getVersionId();let i=[];this._lastVersionId===n&&(i=this._lastBracketsData);let o=[],r=0;for(let t=0,n=e.length;t<n;t++){let n=e[t];n.isEmpty()&&(o[r++]=n.getStartPosition())}o.length>1&&o.sort(lr.Position.compare);let s=[],a=0,l=0,c=i.length;for(let e=0,n=o.length;e<n;e++){let n=o[e];for(;l<c&&i[l].position.isBefore(n);)l++;if(l<c&&i[l].position.equals(n))s[a++]=i[l];else{let e=t.matchBracket(n),i=wr._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;e||"always"!==this._matchBrackets||(e=t.findEnclosingBrackets(n,20),i=wr._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),s[a++]=new _r(n,e,i)}}this._lastBracketsData=s,this._lastVersionId=n}}wr.ID="editor.contrib.bracketMatchingController",wr._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=hr.ModelDecorationOptions.register({stickiness:1,className:"bracket-match",overviewRuler:{color:(0,gr.themeColorFromId)(fr),position:dr.OverviewRulerLane.Center}}),wr._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=hr.ModelDecorationOptions.register({stickiness:1,className:"bracket-match"}),(0,Ro.registerEditorContribution)(wr.ID,wr),(0,Ro.registerEditorAction)(vr),(0,Ro.registerEditorAction)(br),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(ur.editorBracketMatchBackground);n&&t.addRule(`.monaco-editor .bracket-match { background-color: ${n}; }`);const i=e.getColor(ur.editorBracketMatchBorder);i&&t.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)})),mr.MenuRegistry.appendMenuItem(mr.MenuId.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:No.localize("vs/editor/contrib/bracketMatching/bracketMatching",{key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class yr{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const n=this._selection.startLineNumber,i=this._selection.startColumn,o=this._selection.endColumn;if((!this._isMovingLeft||1!==i)&&(this._isMovingLeft||o!==e.getLineMaxColumn(n)))if(this._isMovingLeft){const r=new cr.Range(n,i-1,n,i),s=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new cr.Range(n,o,n,o),s)}else{const r=new cr.Range(n,o,n,o+1),s=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new cr.Range(n,i,n,i),s)}}computeCursorState(e,t){return this._isMovingLeft?new Oo.Selection(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new Oo.Selection(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class Ar extends Ro.EditorAction{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;let n=[],i=t.getSelections();for(const e of i)n.push(new yr(e,this.left));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}(0,Ro.registerEditorAction)(class extends Ar{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:No.localize("vs/editor/contrib/caretOperations/caretOperations","caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:Mo.EditorContextKeys.writable})}}),(0,Ro.registerEditorAction)(class extends Ar{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:No.localize("vs/editor/contrib/caretOperations/caretOperations","caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:Mo.EditorContextKeys.writable})}});var Cr=n(8735),Sr=n(91095);class xr extends Ro.EditorAction{constructor(){super({id:"editor.action.transposeLetters",label:No.localize("vs/editor/contrib/caretOperations/transpose","transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let n=t.getModel(),i=[],o=t.getSelections();for(let e of o){if(!e.isEmpty())continue;let t=e.startLineNumber,o=e.startColumn,r=n.getLineMaxColumn(t);if(1===t&&(1===o||2===o&&2===r))continue;let s=o===r?e.getPosition():Sr.MoveOperations.rightPosition(n,e.getPosition().lineNumber,e.getPosition().column),a=Sr.MoveOperations.leftPosition(n,s.lineNumber,s.column),l=Sr.MoveOperations.leftPosition(n,a.lineNumber,a.column),c=n.getValueInRange(cr.Range.fromPositions(l,a)),d=n.getValueInRange(cr.Range.fromPositions(a,s)),h=cr.Range.fromPositions(l,s);i.push(new Cr.ReplaceCommand(h,d+c))}i.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop())}}(0,Ro.registerEditorAction)(xr);var Er=n(76736),kr=n(66719),Tr=n(47193),Ir=n(19464),Dr=n(58965);const Lr="9_cutcopypaste",Rr=kr.isNative||document.queryCommandSupported("cut"),Nr=kr.isNative||document.queryCommandSupported("copy"),Mr=Nr&&!Er.isEdgeLegacy,Or=void 0!==navigator.clipboard&&!Er.isFirefox||document.queryCommandSupported("paste");function Pr(e){return e.register(),e}const Fr=Rr?Pr(new Ro.MultiCommand({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:kr.isNative?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:mr.MenuId.MenubarEditMenu,group:"2_ccp",title:No.localize("vs/editor/contrib/clipboard/clipboard",{key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:mr.MenuId.EditorContext,group:Lr,title:No.localize("vs/editor/contrib/clipboard/clipboard","actions.clipboard.cutLabel","Cut"),when:Mo.EditorContextKeys.writable,order:1},{menuId:mr.MenuId.CommandPalette,group:"",title:No.localize("vs/editor/contrib/clipboard/clipboard","actions.clipboard.cutLabel","Cut"),order:1}]})):void 0,zr=Nr?Pr(new Ro.MultiCommand({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:kr.isNative?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:mr.MenuId.MenubarEditMenu,group:"2_ccp",title:No.localize("vs/editor/contrib/clipboard/clipboard",{key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:mr.MenuId.EditorContext,group:Lr,title:No.localize("vs/editor/contrib/clipboard/clipboard","actions.clipboard.copyLabel","Copy"),order:2},{menuId:mr.MenuId.CommandPalette,group:"",title:No.localize("vs/editor/contrib/clipboard/clipboard","actions.clipboard.copyLabel","Copy"),order:1}]})):void 0,Br=Or?Pr(new Ro.MultiCommand({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:kr.isNative?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:mr.MenuId.MenubarEditMenu,group:"2_ccp",title:No.localize("vs/editor/contrib/clipboard/clipboard",{key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:3},{menuId:mr.MenuId.EditorContext,group:Lr,title:No.localize("vs/editor/contrib/clipboard/clipboard","actions.clipboard.pasteLabel","Paste"),when:Mo.EditorContextKeys.writable,order:3},{menuId:mr.MenuId.CommandPalette,group:"",title:No.localize("vs/editor/contrib/clipboard/clipboard","actions.clipboard.pasteLabel","Paste"),order:1}]})):void 0;class Wr extends Ro.EditorAction{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:No.localize("vs/editor/contrib/clipboard/clipboard","actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,weight:100}})}run(e,t){t.hasModel()&&(!t.getOption(28)&&t.getSelection().isEmpty()||(Tr.CopyOptions.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),Tr.CopyOptions.forceCopyWithSyntaxHighlighting=!1))}}function Ur(e,t){e&&(e.addImplementation(1e4,((e,n)=>{const i=e.get(Ir.ICodeEditorService).getFocusedCodeEditor();if(i&&i.hasTextFocus()){const e=i.getOption(28),n=i.getSelection();return n&&n.isEmpty()&&!e||document.execCommand(t),!0}return!1})),e.addImplementation(0,((e,n)=>(document.execCommand(t),!0))))}Ur(Fr,"cut"),Ur(zr,"copy"),Br&&(Br.addImplementation(1e4,((e,t)=>{const n=e.get(Ir.ICodeEditorService),i=e.get(Dr.IClipboardService),o=n.getFocusedCodeEditor();return!(!o||!o.hasTextFocus())&&!(!document.execCommand("paste")&&kr.isWeb&&(r=void 0,s=void 0,a=void 0,l=function*(){const e=yield i.readText();if(""!==e){const t=Tr.InMemoryClipboardMetadataManager.INSTANCE.get(e);let n=!1,i=null,r=null;t&&(n=o.getOption(28)&&!!t.isFromEmptySelection,i=void 0!==t.multicursorText?t.multicursorText:null,r=t.mode),o.trigger("keyboard","paste",{text:e,pasteOnNewLine:n,multicursorText:i,mode:r})}},new(a||(a=Promise))((function(e,t){function n(e){try{o(l.next(e))}catch(e){t(e)}}function i(e){try{o(l.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):(o=t.value,o instanceof a?o:new a((function(e){e(o)}))).then(n,i)}o((l=l.apply(r,s||[])).next())})),0));var r,s,a,l})),Br.addImplementation(0,((e,t)=>(document.execCommand("paste"),!0)))),Mr&&(0,Ro.registerEditorAction)(Wr);var Hr=n(11256);class Vr{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var jr=n(91482),Kr=n(25285),qr=n(19300),Gr=n(68095),Qr=n(66300),Yr=n(94448);class $r{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||e.value.startsWith(this.value+$r.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new $r(this.value+$r.sep+e)}}function Jr(e,t){return!(e.include&&!e.include.intersects(t)||e.excludes&&e.excludes.some((n=>Xr(t,n,e.include)))||!e.includeSourceActions&&$r.Source.contains(t))}function Zr(e,t){const n=t.kind?new $r(t.kind):void 0;return!(!(!e.include||n&&e.include.contains(n))||e.excludes&&n&&e.excludes.some((t=>Xr(n,t,e.include)))||!e.includeSourceActions&&n&&$r.Source.contains(n)||e.onlyIncludePreferredActions&&!t.isPreferred)}function Xr(e,t,n){return!(!t.contains(e)||n&&t.contains(n))}$r.sep=".",$r.None=new $r("@@none@@"),$r.Empty=new $r(""),$r.QuickFix=new $r("quickfix"),$r.Refactor=new $r("refactor"),$r.Source=new $r("source"),$r.SourceOrganizeImports=$r.Source.append("organizeImports"),$r.SourceFixAll=$r.Source.append("fixAll");class es{constructor(e,t,n){this.kind=e,this.apply=t,this.preferred=n}static fromUser(e,t){return e&&"object"==typeof e?new es(es.getKindFromUser(e,t.kind),es.getApplyFromUser(e,t.apply),es.getPreferredUser(e)):new es(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new $r(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}}var ts=n(49985),ns=n(10086),is=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const os="editor.action.codeAction",rs="editor.action.refactor",ss="editor.action.sourceAction",as="editor.action.organizeImports",ls="editor.action.fixAll";class cs{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return is(this,void 0,void 0,(function*(){if((null===(t=this.provider)||void 0===t?void 0:t.resolveCodeAction)&&!this.action.edit){let t;try{t=yield this.provider.resolveCodeAction(this.action,e)}catch(e){(0,Wo.onUnexpectedExternalError)(e)}t&&(this.action.edit=t.edit)}return this}))}}class ds extends ar.Disposable{constructor(e,t,n){super(),this.documentation=t,this._register(n),this.allActions=(0,zo.mergeSort)([...e],ds.codeActionsComparator),this.validActions=this.allActions.filter((({action:e})=>!e.disabled))}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:(0,zo.isNonEmptyArray)(e.diagnostics)?(0,zo.isNonEmptyArray)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:(0,zo.isNonEmptyArray)(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some((({action:e})=>!!e.kind&&$r.QuickFix.contains(new $r(e.kind))&&!!e.isPreferred))}}const hs={actions:[],documentation:void 0};function us(e,t,n,i,o){var r;const s=n.filter||{},a={only:null===(r=s.include)||void 0===r?void 0:r.value,trigger:n.type},l=new Gr.TextModelCancellationTokenSource(e,o),c=function(e,t){return Qr.CodeActionProviderRegistry.all(e).filter((e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some((e=>Jr(t,new $r(e))))))}(e,s),d=new ar.DisposableStore,h=c.map((n=>is(this,void 0,void 0,(function*(){try{i.report(n);const o=yield n.provideCodeActions(e,t,a,l.token);if(o&&d.add(o),l.token.isCancellationRequested)return hs;const r=((null==o?void 0:o.actions)||[]).filter((e=>e&&Zr(s,e))),c=function(e,t,n){if(!e.documentation)return;const i=e.documentation.map((e=>({kind:new $r(e.kind),command:e.command})));if(n){let e;for(const t of i)t.kind.contains(n)&&(e?e.kind.contains(t.kind)&&(e=t):e=t);if(e)return null==e?void 0:e.command}for(const e of t)if(e.kind)for(const t of i)if(t.kind.contains(new $r(e.kind)))return t.command}(n,r,s.include);return{actions:r.map((e=>new cs(e,n))),documentation:c}}catch(e){if((0,Wo.isPromiseCanceledError)(e))throw e;return(0,Wo.onUnexpectedExternalError)(e),hs}})))),u=Qr.CodeActionProviderRegistry.onDidChange((()=>{const t=Qr.CodeActionProviderRegistry.all(e);(0,zo.equals)(t,c)||l.cancel()}));return Promise.all(h).then((e=>{const t=(0,zo.flatten)(e.map((e=>e.actions))),n=(0,zo.coalesce)(e.map((e=>e.documentation)));return new ds(t,n,d)})).finally((()=>{u.dispose(),l.dispose()}))}ns.CommandsRegistry.registerCommand("_executeCodeActionProvider",(function(e,...t){return is(this,void 0,void 0,(function*(){const[n,i,o,r]=t;if(!(n instanceof qr.URI))throw(0,Wo.illegalArgument)();const s=e.get(Yr.IModelService).getModel(n);if(!s)throw(0,Wo.illegalArgument)();const a=Oo.Selection.isISelection(i)?Oo.Selection.liftSelection(i):cr.Range.isIRange(i)?s.validateRange(i):void 0;if(!a)throw(0,Wo.illegalArgument)();const l=yield us(s,a,{type:2,filter:{includeSourceActions:!0,include:o&&o.value?new $r(o.value):void 0}},ts.Progress.None,Hr.CancellationToken.None),c=[],d=Math.min(l.validActions.length,"number"==typeof r?r:0);for(let e=0;e<d;e++)c.push(l.validActions[e].resolve(Hr.CancellationToken.None));try{return yield Promise.all(c),l.validActions.map((e=>e.action))}finally{setTimeout((()=>l.dispose()),100)}}))}));var ps=n(75382),gs=(Do()(ps.Z,{insert:"head",singleton:!1}),ps.Z.locals,n(67761));let ms=class e{constructor(t,n){this._messageWidget=new ar.MutableDisposable,this._messageListeners=new ar.DisposableStore,this._editor=t,this._visible=e.MESSAGE_VISIBLE.bindTo(n),this._editorListener=this._editor.onDidAttemptReadOnlyEdit((()=>this._onDidAttemptReadOnlyEdit()))}static get(t){return t.getContribution(e.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){let n;(0,Yo.alert)(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new bs(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText((()=>this.closeMessage()))),this._messageListeners.add(this._editor.onDidChangeCursorPosition((()=>this.closeMessage()))),this._messageListeners.add(this._editor.onDidDispose((()=>this.closeMessage()))),this._messageListeners.add(this._editor.onDidChangeModel((()=>this.closeMessage()))),this._messageListeners.add(new sr.TimeoutTimer((()=>this.closeMessage()),3e3)),this._messageListeners.add(this._editor.onMouseMove((e=>{e.target.position&&(n?n.containsPosition(e.target.position)||this.closeMessage():n=new cr.Range(t.lineNumber-3,1,e.target.position.lineNumber+3,1))})))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(bs.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(No.localize("vs/editor/contrib/message/messageController","editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};ms.ID="editor.contrib.messageController",ms.MESSAGE_VISIBLE=new Fo.RawContextKey("messageVisible",!1),ms=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,Fo.IContextKeyService)],ms);const fs=Ro.EditorCommand.bindToContribution(ms.get);(0,Ro.registerEditorCommand)(new fs({id:"leaveEditorMessage",precondition:ms.MESSAGE_VISIBLE,handler:e=>e.closeMessage(),kbOpts:{weight:130,primary:9}}));class bs{constructor(e,{lineNumber:t,column:n},i){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:n-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const o=document.createElement("div");o.classList.add("anchor","top"),this._domNode.appendChild(o);const r=document.createElement("div");r.classList.add("message"),r.textContent=i,this._domNode.appendChild(r);const s=document.createElement("div");s.classList.add("anchor","below"),this._domNode.appendChild(s),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const n=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",n)};return t=setTimeout(n,110),e.getDomNode().addEventListener("animationend",n),e.getDomNode().classList.add("fadeOut"),{dispose:n}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}afterRender(e){this._domNode.classList.toggle("below",2===e)}}(0,Ro.registerEditorContribution)(ms.ID,ms),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.inputValidationInfoBorder);if(n){let i=e.type===gs.ColorScheme.HIGH_CONTRAST?2:1;t.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.below { border-top-color: ${n}; }`),t.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.top { border-bottom-color: ${n}; }`),t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${i}px solid ${n}; }`)}const i=e.getColor(pr.inputValidationInfoBackground);i&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${i}; }`);const o=e.getColor(pr.inputValidationInfoForeground);o&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${o}; }`)}));var vs=n(68465),_s=n(96747),ws=n(60969),ys=n(11787),As=n(9657),Cs=function(e,t){return function(n,i){t(n,i,e)}};class Ss extends ws.Action{constructor(e,t){super(e.command?e.command.id:e.title,e.title.replace(/\r\n|\r|\n/g," "),void 0,!e.disabled,t),this.action=e}}let xs=class extends ar.Disposable{constructor(e,t,n,i){super(),this._editor=e,this._delegate=t,this._contextMenuService=n,this._visible=!1,this._showingActions=this._register(new ar.MutableDisposable),this._keybindingResolver=new Es({getKeybindings:()=>i.getKeybindings()})}get isVisible(){return this._visible}show(e,t,n,i){return o=this,r=void 0,a=function*(){const o=i.includeDisabledActions?t.allActions:t.validActions;if(!o.length)return void(this._visible=!1);if(!this._editor.getDomNode())throw this._visible=!1,(0,Wo.canceled)();this._visible=!0,this._showingActions.value=t;const r=this.getMenuActions(e,o,t.documentation),s=lr.Position.isIPosition(n)?this._toCoords(n):n||{x:0,y:0},a=this._keybindingResolver.getResolver();this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>s,getActions:()=>r,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:e=>e instanceof Ss?a(e.action):void 0})},new((s=void 0)||(s=Promise))((function(e,t){function n(e){try{l(a.next(e))}catch(e){t(e)}}function i(e){try{l(a.throw(e))}catch(e){t(e)}}function l(t){var o;t.done?e(t.value):(o=t.value,o instanceof s?o:new s((function(e){e(o)}))).then(n,i)}l((a=a.apply(o,r||[])).next())}));var o,r,s,a}getMenuActions(e,t,n){var i,o;const r=e=>new Ss(e.action,(()=>this._delegate.onSelectCodeAction(e))),s=t.map(r),a=[...n],l=this._editor.getModel();if(l&&s.length)for(const n of Qr.CodeActionProviderRegistry.all(l))n._getAdditionalMenuItems&&a.push(...n._getAdditionalMenuItems({trigger:e.type,only:null===(o=null===(i=e.filter)||void 0===i?void 0:i.include)||void 0===o?void 0:o.value},t.map((e=>e.action))));return a.length&&s.push(new ws.Separator,...a.map((e=>r(new cs({title:e.title,command:e},void 0))))),s}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),n=(0,_s.getDomNodePagePosition)(this._editor.getDomNode());return{x:n.left+t.left,y:n.top+t.top+t.height}}};xs=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Cs(2,ys.IContextMenuService),Cs(3,As.IKeybindingService)],xs);class Es{constructor(e){this._keybindingProvider=e}getResolver(){const e=new Vr((()=>this._keybindingProvider.getKeybindings().filter((e=>Es.codeActionCommands.indexOf(e.command)>=0)).filter((e=>e.resolvedKeybinding)).map((e=>{let t=e.commandArgs;return e.command===as?t={kind:$r.SourceOrganizeImports.value}:e.command===ls&&(t={kind:$r.SourceFixAll.value}),Object.assign({resolvedKeybinding:e.resolvedKeybinding},es.fromUser(t,{kind:$r.None,apply:"never"}))}))));return t=>{if(t.kind){const n=this.bestKeybindingForCodeAction(t,e.getValue());return null==n?void 0:n.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const n=new $r(e.kind);return t.filter((e=>e.kind.contains(n))).filter((t=>!t.preferred||e.isPreferred)).reduceRight(((e,t)=>e?e.kind.contains(t.kind)?t:e:t),void 0)}}Es.codeActionCommands=[rs,os,ss,as,ls];var ks,Ts=n(82518),Is=n(63801),Ds=n(70791),Ls=(Do()(Ds.Z,{insert:"head",singleton:!1}),Ds.Z.locals,n(4043)),Rs=n(56087);!function(e){e.Hidden={type:0},e.Showing=class{constructor(e,t,n,i){this.actions=e,this.trigger=t,this.editorPosition=n,this.widgetPosition=i,this.type=1}}}(ks||(ks={}));let Ns=class e extends ar.Disposable{constructor(e,t,n,i){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=n,this._keybindingService=i,this._onClick=this._register(new Is.Emitter),this.onClick=this._onClick.event,this._state=ks.Hidden,this._domNode=document.createElement("div"),this._domNode.className=Rs.Codicon.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent((e=>{const t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()}))),Ls.Gesture.ignoreTarget(this._domNode),this._register(_s.addStandardDisposableGenericMouseDownListner(this._domNode,(e=>{if(1!==this.state.type)return;this._editor.focus(),e.preventDefault();const{top:t,height:n}=_s.getDomNodePagePosition(this._domNode),i=this._editor.getOption(53);let o=Math.floor(i/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber<this.state.editorPosition.lineNumber&&(o+=i),this._onClick.fire({x:e.posx,y:t+n+o,actions:this.state.actions,trigger:this.state.trigger})}))),this._register(_s.addDisposableListener(this._domNode,"mouseenter",(e=>{if(1!=(1&e.buttons))return;this.hide();const t=new Ts.GlobalMouseMoveMonitor;t.startMonitoring(e.target,e.buttons,Ts.standardMouseMoveMerger,(()=>{}),(()=>{t.dispose()}))}))),this._register(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(51)&&!this._editor.getOption(51).enabled&&this.hide()}))),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(t,n,i){if(t.validActions.length<=0)return this.hide();const o=this._editor.getOptions();if(!o.get(51).enabled)return this.hide();const r=this._editor.getModel();if(!r)return this.hide();const{lineNumber:s,column:a}=r.validatePosition(i),l=r.getOptions().tabSize,c=o.get(38),d=r.getLineContent(s),h=hr.TextModel.computeIndentLevel(d,l),u=e=>e>2&&this._editor.getTopForLineNumber(e)===this._editor.getTopForLineNumber(e-1);let p=s;if(!(c.spaceWidth*h>22))if(s>1&&!u(s-1))p-=1;else if(u(s+1)){if(a*c.spaceWidth<22)return this.hide()}else p+=1;this.state=new ks.Showing(t,n,i,{position:{lineNumber:p,column:1},preference:e._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=ks.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(1===this.state.type&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...Rs.Codicon.lightBulb.classNamesArray),this._domNode.classList.add(...Rs.Codicon.lightbulbAutofix.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(e)return void(this.title=No.localize("vs/editor/contrib/codeAction/lightBulbWidget","prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",e.getLabel()))}this._domNode.classList.remove(...Rs.Codicon.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...Rs.Codicon.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=e?No.localize("vs/editor/contrib/codeAction/lightBulbWidget","quickFixWithKb","Show Fixes ({0})",e.getLabel()):No.localize("vs/editor/contrib/codeAction/lightBulbWidget","quickFix","Show Fixes")}set title(e){this._domNode.title=e}};Ns._posPref=[0],Ns=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(3,As.IKeybindingService)],Ns),(0,gr.registerThemingParticipant)(((e,t)=>{var n;const i=null===(n=e.getColor(pr.editorBackground))||void 0===n?void 0:n.transparent(.7),o=e.getColor(pr.editorLightBulbForeground);o&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${Rs.Codicon.lightBulb.cssSelector} {\n\t\t\tcolor: ${o};\n\t\t\tbackground-color: ${i};\n\t\t}`);const r=e.getColor(pr.editorLightBulbAutoFixForeground);r&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${Rs.Codicon.lightbulbAutofix.cssSelector} {\n\t\t\tcolor: ${r};\n\t\t\tbackground-color: ${i};\n\t\t}`)}));var Ms=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Os=class extends ar.Disposable{constructor(e,t,n,i,o){super(),this._editor=e,this.delegate=i,this._activeCodeActions=this._register(new ar.MutableDisposable),this._codeActionWidget=new Vr((()=>this._register(o.createInstance(xs,this._editor,{onSelectCodeAction:e=>Ms(this,void 0,void 0,(function*(){this.delegate.applyCodeAction(e,!0)}))})))),this._lightBulbWidget=new Vr((()=>{const e=this._register(o.createInstance(Ns,this._editor,t,n));return this._register(e.onClick((e=>this.showCodeActionList(e.trigger,e.actions,e,{includeDisabledActions:!1})))),e}))}update(e){var t,n,i;return Ms(this,void 0,void 0,(function*(){if(1!==e.type)return void(null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide());let o;try{o=yield e.actions}catch(e){return void(0,Wo.onUnexpectedError)(e)}if(this._lightBulbWidget.getValue().update(o,e.trigger,e.position),2===e.trigger.type){if(null===(n=e.trigger.filter)||void 0===n?void 0:n.include){const t=this.tryGetValidActionToApply(e.trigger,o);if(t){try{yield this.delegate.applyCodeAction(t,!1)}finally{o.dispose()}return}if(e.trigger.context){const t=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,o);if(t&&t.action.disabled)return ms.get(this._editor).showMessage(t.action.disabled,e.trigger.context.position),void o.dispose()}}const t=!!(null===(i=e.trigger.filter)||void 0===i?void 0:i.include);if(e.trigger.context&&(!o.allActions.length||!t&&!o.validActions.length))return ms.get(this._editor).showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=o,void o.dispose();this._activeCodeActions.value=o,this._codeActionWidget.getValue().show(e.trigger,o,e.position,{includeDisabledActions:t})}else this._codeActionWidget.getValue().isVisible?o.dispose():this._activeCodeActions.value=o}))}getInvalidActionThatWouldHaveBeenApplied(e,t){if(t.allActions.length)return"first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length?t.allActions.find((({action:e})=>e.disabled)):void 0}tryGetValidActionToApply(e,t){if(t.validActions.length)return"first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length?t.validActions[0]:void 0}showCodeActionList(e,t,n,i){return Ms(this,void 0,void 0,(function*(){this._codeActionWidget.getValue().show(e,t,n,i)}))}};Os=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(4,vs.IInstantiationService)],Os);var Ps=n(84030),Fs=n(54303),zs=n(28428),Bs=n(50552);const Ws=new Fo.RawContextKey("supportedCodeAction","");class Us extends ar.Disposable{constructor(e,t,n,i=250){super(),this._editor=e,this._markerService=t,this._signalChange=n,this._delay=i,this._autoTriggerTimer=this._register(new sr.TimeoutTimer),this._register(this._markerService.onMarkerChanged((e=>this._onMarkerChanges(e)))),this._register(this._editor.onDidChangeCursorPosition((()=>this._onCursorChange())))}trigger(e){const t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some((e=>(0,Bs.isEqual)(e,t.uri)))&&this._autoTriggerTimer.cancelAndSet((()=>{this.trigger({type:1})}),this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet((()=>{this.trigger({type:1})}),this._delay)}_getRangeOfMarker(e){const t=this._editor.getModel();if(t)for(const n of this._markerService.read({resource:t.uri})){const i=t.validateRange(n);if(cr.Range.intersectRanges(i,e))return cr.Range.lift(i)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=this._editor.getSelection();if(n.isEmpty()&&1===e.type){const{lineNumber:e,column:i}=n.getPosition(),o=t.getLineContent(e);if(0===o.length)return;if(1===i){if(/\s/.test(o[0]))return}else if(i===t.getLineMaxColumn(e)){if(/\s/.test(o[o.length-1]))return}else if(/\s/.test(o[i-2])&&/\s/.test(o[i-1]))return}return n}_createEventAndSignalChange(e,t){const n=this._editor.getModel();if(!t||!n)return void this._signalChange(void 0);const i=this._getRangeOfMarker(t),o=i?i.getStartPosition():t.getStartPosition(),r={trigger:e,selection:t,position:o};return this._signalChange(r),r}}var Hs;!function(e){e.Empty={type:0},e.Triggered=class{constructor(e,t,n,i){this.trigger=e,this.rangeOrSelection=t,this.position=n,this.actions=i,this.type=1}}}(Hs||(Hs={}));class Vs extends ar.Disposable{constructor(e,t,n,i){super(),this._editor=e,this._markerService=t,this._progressService=i,this._codeActionOracle=this._register(new ar.MutableDisposable),this._state=Hs.Empty,this._onDidChangeState=this._register(new Is.Emitter),this.onDidChangeState=this._onDidChangeState.event,this._supportedCodeActions=Ws.bindTo(n),this._register(this._editor.onDidChangeModel((()=>this._update()))),this._register(this._editor.onDidChangeModelLanguage((()=>this._update()))),this._register(Qr.CodeActionProviderRegistry.onDidChange((()=>this._update()))),this._update()}dispose(){super.dispose(),this.setState(Hs.Empty,!0)}_update(){this._codeActionOracle.value=void 0,this.setState(Hs.Empty);const e=this._editor.getModel();if(e&&Qr.CodeActionProviderRegistry.has(e)&&!this._editor.getOption(75)){const t=[];for(const n of Qr.CodeActionProviderRegistry.all(e))Array.isArray(n.providedCodeActionKinds)&&t.push(...n.providedCodeActionKinds);this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new Us(this._editor,this._markerService,(t=>{var n;if(!t)return void this.setState(Hs.Empty);const i=(0,sr.createCancelablePromise)((n=>us(e,t.selection,t.trigger,ts.Progress.None,n)));2===t.trigger.type&&(null===(n=this._progressService)||void 0===n||n.showWhile(i,250)),this.setState(new Hs.Triggered(t.trigger,t.selection,t.position,i))}),void 0),this._codeActionOracle.value.trigger({type:1})}else this._supportedCodeActions.reset()}trigger(e){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.actions.cancel(),this._state=e,t||this._onDidChangeState.fire(e))}}var js=function(e,t){return function(n,i){t(n,i,e)}},Ks=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function qs(e){return Fo.ContextKeyExpr.regex(Ws.keys()[0],new RegExp("(\\s|^)"+(0,jr.escapeRegExpCharacters)(e.value)+"\\b"))}const Gs={type:"object",defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:No.localize("vs/editor/contrib/codeAction/codeActionCommands","args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:No.localize("vs/editor/contrib/codeAction/codeActionCommands","args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[No.localize("vs/editor/contrib/codeAction/codeActionCommands","args.schema.apply.first","Always apply the first returned code action."),No.localize("vs/editor/contrib/codeAction/codeActionCommands","args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),No.localize("vs/editor/contrib/codeAction/codeActionCommands","args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:No.localize("vs/editor/contrib/codeAction/codeActionCommands","args.schema.preferred","Controls if only preferred code actions should be returned.")}}};let Qs=class e extends ar.Disposable{constructor(e,t,n,i,o){super(),this._instantiationService=o,this._editor=e,this._model=this._register(new Vs(this._editor,t,n,i)),this._register(this._model.onDidChangeState((e=>this.update(e)))),this._ui=new Vr((()=>this._register(new Os(e,Js.Id,ia.Id,{applyCodeAction:(e,t)=>Ks(this,void 0,void 0,(function*(){try{yield this._applyCodeAction(e)}finally{t&&this._trigger({type:1,filter:{}})}}))},this._instantiationService))))}static get(t){return t.getContribution(e.ID)}update(e){this._ui.getValue().update(e)}showCodeActions(e,t,n){return this._ui.getValue().showCodeActionList(e,t,n,{includeDisabledActions:!1})}manualTriggerAtCurrentPosition(e,t,n){if(!this._editor.hasModel())return;ms.get(this._editor).closeMessage();const i=this._editor.getPosition();this._trigger({type:2,filter:t,autoApply:n,context:{notAvailableMessage:e,position:i}})}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e){return this._instantiationService.invokeFunction(Ys,e,this._editor)}};function Ys(e,t,n){return Ks(this,void 0,void 0,(function*(){const i=e.get(Kr.IBulkEditService),o=e.get(ns.ICommandService),r=e.get(zs.ITelemetryService),s=e.get(Fs.INotificationService);if(r.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred}),yield t.resolve(Hr.CancellationToken.None),t.action.edit&&(yield i.apply(Kr.ResourceEdit.convert(t.action.edit),{editor:n,label:t.action.title})),t.action.command)try{yield o.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(e){const t=function(e){return"string"==typeof e?e:e instanceof Error&&"string"==typeof e.message?e.message:void 0}(e);s.error("string"==typeof t?t:No.localize("vs/editor/contrib/codeAction/codeActionCommands","applyCodeActionFailed","An unknown error occurred while applying the code action"))}}))}function $s(e,t,n,i){if(e.hasModel()){const o=Qs.get(e);o&&o.manualTriggerAtCurrentPosition(t,n,i)}}Qs.ID="editor.contrib.quickFixController",Qs=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([js(1,Ps.IMarkerService),js(2,Fo.IContextKeyService),js(3,ts.IEditorProgressService),js(4,vs.IInstantiationService)],Qs);class Js extends Ro.EditorAction{constructor(){super({id:Js.Id,label:No.localize("vs/editor/contrib/codeAction/codeActionCommands","quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2132,weight:100}})}run(e,t){return $s(t,No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0)}}Js.Id="editor.action.quickFix";class Zs extends Ro.EditorCommand{constructor(){super({id:os,precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:Gs}]}})}runEditorCommand(e,t,n){const i=es.fromUser(n,{kind:$r.Empty,apply:"ifSingle"});return $s(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",n.kind):No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",n.kind):i.preferred?No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.codeAction.noneMessage","No code actions available"),{include:i.kind,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class Xs extends Ro.EditorAction{constructor(){super({id:rs,label:No.localize("vs/editor/contrib/codeAction/codeActionCommands","refactor.label","Refactor..."),alias:"Refactor...",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,qs($r.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:Gs}]}})}run(e,t,n){const i=es.fromUser(n,{kind:$r.Refactor,apply:"never"});return $s(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",n.kind):No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",n.kind):i.preferred?No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.refactor.noneMessage","No refactorings available"),{include:$r.Refactor.contains(i.kind)?i.kind:$r.None,onlyIncludePreferredActions:i.preferred},i.apply)}}class ea extends Ro.EditorAction{constructor(){super({id:ss,label:No.localize("vs/editor/contrib/codeAction/codeActionCommands","source.label","Source Action..."),alias:"Source Action...",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,qs($r.Source))},description:{description:"Source Action...",args:[{name:"args",schema:Gs}]}})}run(e,t,n){const i=es.fromUser(n,{kind:$r.Source,apply:"never"});return $s(t,"string"==typeof(null==n?void 0:n.kind)?i.preferred?No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",n.kind):No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.source.noneMessage.kind","No source actions for '{0}' available",n.kind):i.preferred?No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.source.noneMessage.preferred","No preferred source actions available"):No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.source.noneMessage","No source actions available"),{include:$r.Source.contains(i.kind)?i.kind:$r.None,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}class ta extends Ro.EditorAction{constructor(){super({id:as,label:No.localize("vs/editor/contrib/codeAction/codeActionCommands","organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,qs($r.SourceOrganizeImports)),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1581,weight:100}})}run(e,t){return $s(t,No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.organize.noneMessage","No organize imports action available"),{include:$r.SourceOrganizeImports,includeSourceActions:!0},"ifSingle")}}class na extends Ro.EditorAction{constructor(){super({id:ls,label:No.localize("vs/editor/contrib/codeAction/codeActionCommands","fixAll.label","Fix All"),alias:"Fix All",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,qs($r.SourceFixAll))})}run(e,t){return $s(t,No.localize("vs/editor/contrib/codeAction/codeActionCommands","fixAll.noneMessage","No fix all action available"),{include:$r.SourceFixAll,includeSourceActions:!0},"ifSingle")}}class ia extends Ro.EditorAction{constructor(){super({id:ia.Id,label:No.localize("vs/editor/contrib/codeAction/codeActionCommands","autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,qs($r.QuickFix)),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return $s(t,No.localize("vs/editor/contrib/codeAction/codeActionCommands","editor.action.autoFix.noneMessage","No auto fixes available"),{include:$r.QuickFix,onlyIncludePreferredActions:!0},"ifSingle")}}ia.Id="editor.action.autoFix",(0,Ro.registerEditorContribution)(Qs.ID,Qs),(0,Ro.registerEditorAction)(Js),(0,Ro.registerEditorAction)(Xs),(0,Ro.registerEditorAction)(ea),(0,Ro.registerEditorAction)(ta),(0,Ro.registerEditorAction)(ia),(0,Ro.registerEditorAction)(na),(0,Ro.registerEditorCommand)(new Zs);var oa=n(18912),ra=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class sa{constructor(){this.lenses=[],this._disposables=new ar.DisposableStore}dispose(){this._disposables.dispose()}add(e,t){this._disposables.add(e);for(const n of e.lenses)this.lenses.push({symbol:n,provider:t})}}function aa(e,t){return ra(this,void 0,void 0,(function*(){const n=Qr.CodeLensProviderRegistry.ordered(e),i=new Map,o=new sa,r=n.map(((n,r)=>ra(this,void 0,void 0,(function*(){i.set(n,r);try{const i=yield Promise.resolve(n.provideCodeLenses(e,t));i&&o.add(i,n)}catch(e){(0,Wo.onUnexpectedExternalError)(e)}}))));return yield Promise.all(r),o.lenses=(0,zo.mergeSort)(o.lenses,((e,t)=>e.symbol.range.startLineNumber<t.symbol.range.startLineNumber?-1:e.symbol.range.startLineNumber>t.symbol.range.startLineNumber?1:i.get(e.provider)<i.get(t.provider)?-1:i.get(e.provider)>i.get(t.provider)?1:e.symbol.range.startColumn<t.symbol.range.startColumn?-1:e.symbol.range.startColumn>t.symbol.range.startColumn?1:0)),o}))}ns.CommandsRegistry.registerCommand("_executeCodeLensProvider",(function(e,...t){let[n,i]=t;(0,oa.assertType)(qr.URI.isUri(n)),(0,oa.assertType)("number"==typeof i||!i);const o=e.get(Yr.IModelService).getModel(n);if(!o)throw(0,Wo.illegalArgument)();const r=[],s=new ar.DisposableStore;return aa(o,Hr.CancellationToken.None).then((e=>{s.add(e);let t=[];for(const n of e.lenses)null==i||Boolean(n.symbol.command)?r.push(n.symbol):i-- >0&&n.provider.resolveCodeLens&&t.push(Promise.resolve(n.provider.resolveCodeLens(o,n.symbol,Hr.CancellationToken.None)).then((e=>r.push(e||n.symbol))));return Promise.all(t)})).then((()=>r)).finally((()=>{setTimeout((()=>s.dispose()),100)}))}));var la=n(49103),ca=(Do()(la.Z,{insert:"head",singleton:!1}),la.Z.locals,n(21348));class da{constructor(e,t,n){this.afterLineNumber=e,this.heightInPx=t,this._onHeight=n,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}}class ha{constructor(e,t,n){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id="codelens.widget-"+ha._idPool++,this.updatePosition(n),this._domNode=document.createElement("span"),this._domNode.className=`codelens-decoration ${t}`}withCommands(e,t){this._commands.clear();let n=[],i=!1;for(let t=0;t<e.length;t++){const o=e[t];if(o&&(i=!0,o.command)){const i=(0,ca.renderLabelWithIcons)(o.command.title.trim());o.command.id?(n.push(_s.$("a",{id:String(t)},...i)),this._commands.set(String(t),o.command)):n.push(_s.$("span",void 0,...i)),t+1<e.length&&n.push(_s.$("span",void 0," | "))}}i?(_s.reset(this._domNode,...n),this._isEmpty&&t&&this._domNode.classList.add("fadein"),this._isEmpty=!1):_s.reset(this._domNode,_s.$("span",void 0,"no commands"))}getCommand(e){return e.parentElement===this._domNode?this._commands.get(e.id):void 0}getId(){return this._id}getDomNode(){return this._domNode}updatePosition(e){const t=this._editor.getModel().getLineFirstNonWhitespaceColumn(e);this._widgetPosition={position:{lineNumber:e,column:t},preference:[1]}}getPosition(){return this._widgetPosition||null}}ha._idPool=0;class ua{constructor(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}addDecoration(e,t){this._addDecorations.push(e),this._addDecorationsCallbacks.push(t)}removeDecoration(e){this._removeDecorations.push(e)}commit(e){let t=e.deltaDecorations(this._removeDecorations,this._addDecorations);for(let e=0,n=t.length;e<n;e++)this._addDecorationsCallbacks[e](t[e])}}class pa{constructor(e,t,n,i,o,r,s){let a;this._isDisposed=!1,this._editor=t,this._className=n,this._data=e,this._decorationIds=[];let l=[];this._data.forEach(((e,t)=>{e.symbol.command&&l.push(e.symbol),i.addDecoration({range:e.symbol.range,options:hr.ModelDecorationOptions.EMPTY},(e=>this._decorationIds[t]=e)),a=a?cr.Range.plusRange(a,e.symbol.range):cr.Range.lift(e.symbol.range)})),this._viewZone=new da(a.startLineNumber-1,r,s),this._viewZoneId=o.addZone(this._viewZone),l.length>0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(l,!1))}_createContentWidgetIfNecessary(){this._contentWidget?this._editor.layoutContentWidget(this._contentWidget):(this._contentWidget=new ha(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))}dispose(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t&&t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0}isDisposed(){return this._isDisposed}isValid(){return this._decorationIds.some(((e,t)=>{const n=this._editor.getModel().getDecorationRange(e),i=this._data[t].symbol;return!(!n||cr.Range.isEmpty(i.range)!==n.isEmpty())}))}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach(((e,n)=>{t.addDecoration({range:e.symbol.range,options:hr.ModelDecorationOptions.EMPTY},(e=>this._decorationIds[n]=e))}))}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(let t=0;t<this._decorationIds.length;t++){const n=e.getDecorationRange(this._decorationIds[t]);n&&(this._data[t].symbol.range=n)}return this._data}updateCommands(e){this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(e,!0);for(let t=0;t<this._data.length;t++){const n=e[t];if(n){const{symbol:e}=this._data[t];e.command=n.command||e.command}}}getCommand(e){var t;return null===(t=this._contentWidget)||void 0===t?void 0:t.getCommand(e)}getLineNumber(){const e=this._editor.getModel().getDecorationRange(this._decorationIds[0]);return e?e.startLineNumber:-1}update(e){if(this.isValid()){const t=this._editor.getModel().getDecorationRange(this._decorationIds[0]);t&&(this._viewZone.afterLineNumber=t.startLineNumber-1,e.layoutZone(this._viewZoneId),this._contentWidget&&(this._contentWidget.updatePosition(t.startLineNumber),this._editor.layoutContentWidget(this._contentWidget)))}}getItems(){return this._data}}(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(ur.editorCodeLensForeground);n&&(t.addRule(`.monaco-editor .codelens-decoration { color: ${n}; }`),t.addRule(`.monaco-editor .codelens-decoration .codicon { color: ${n}; }`));const i=e.getColor(pr.editorActiveLinkForeground);i&&(t.addRule(`.monaco-editor .codelens-decoration > a:hover { color: ${i} !important; }`),t.addRule(`.monaco-editor .codelens-decoration > a:hover .codicon { color: ${i} !important; }`))}));var ga=n(2011),ma=n(13833),fa=n(90679),ba=n(40548);const va=(0,vs.createDecorator)("ICodeLensCache");class _a{constructor(e,t){this.lineCount=e,this.data=t}}let wa=class{constructor(e){this._fakeProvider=new class{provideCodeLenses(){throw new Error("not supported")}},this._cache=new ma.LRUCache(20,.75),(0,sr.runWhenIdle)((()=>e.remove("codelens/cache",1)));const t="codelens/cache2",n=e.get(t,1,"{}");this._deserialize(n),(0,ba.once)(e.onWillSaveState)((n=>{n.reason===fa.WillSaveStateReason.SHUTDOWN&&e.store(t,this._serialize(),1,1)}))}put(e,t){const n=t.lenses.map((e=>{var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}})),i=new sa;i.add({lenses:n,dispose:()=>{}},this._fakeProvider);const o=new _a(e.getLineCount(),i);this._cache.set(e.uri.toString(),o)}get(e){const t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(const[t,n]of this._cache){const i=new Set;for(const e of n.data.lenses)i.add(e.symbol.range.startLineNumber);e[t]={lineCount:n.lineCount,lines:[...i.values()]}}return JSON.stringify(e)}_deserialize(e){try{const t=JSON.parse(e);for(const e in t){const n=t[e],i=[];for(const e of n.lines)i.push({range:new cr.Range(e,1,e,11)});const o=new sa;o.add({lenses:i,dispose(){}},this._fakeProvider),this._cache.set(e,new _a(n.lineCount,o))}}catch(e){}}};wa=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(0,fa.IStorageService)],wa),(0,ga.registerSingleton)(va,wa);var ya=n(23829),Aa=n(36578),Ca=n(91076),Sa=function(e,t){return function(n,i){t(n,i,e)}};let xa=class{constructor(e,t,n,i){this._editor=e,this._commandService=t,this._notificationService=n,this._codeLensCache=i,this._disposables=new ar.DisposableStore,this._localToDispose=new ar.DisposableStore,this._lenses=[],this._getCodeLensModelDelays=new Ca.LanguageFeatureRequestDelays(Qr.CodeLensProviderRegistry,250,2500),this._oldCodeLensModels=new ar.DisposableStore,this._resolveCodeLensesDelays=new Ca.LanguageFeatureRequestDelays(Qr.CodeLensProviderRegistry,250,2500),this._resolveCodeLensesScheduler=new sr.RunOnceScheduler((()=>this._resolveCodeLensesInViewport()),this._resolveCodeLensesDelays.min),this._disposables.add(this._editor.onDidChangeModel((()=>this._onModelChange()))),this._disposables.add(this._editor.onDidChangeModelLanguage((()=>this._onModelChange()))),this._disposables.add(this._editor.onDidChangeConfiguration((e=>{(e.hasChanged(38)||e.hasChanged(13)||e.hasChanged(12))&&this._updateLensStyle(),e.hasChanged(11)&&this._onModelChange()}))),this._disposables.add(Qr.CodeLensProviderRegistry.onDidChange(this._onModelChange,this)),this._onModelChange(),this._styleClassName="_"+(0,ya.hash)(this._editor.getId()).toString(16),this._styleElement=_s.createStyleSheet(_s.isInShadowDOM(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),null===(e=this._currentCodeLensModel)||void 0===e||e.dispose(),this._styleElement.remove()}_getLayoutInfo(){let e,t=this._editor.getOption(13);return!t||t<5?(t=.9*this._editor.getOption(40)|0,e=this._editor.getOption(53)):e=t*Math.max(1.3,this._editor.getOption(53)/this._editor.getOption(40))|0,{codeLensHeight:e,fontSize:t}}_updateLensStyle(){var e;const{codeLensHeight:t,fontSize:n}=this._getLayoutInfo(),i=this._editor.getOption(12),o=this._editor.getOption(38),r=`--codelens-font-family${this._styleClassName}`;let s=`\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} { line-height: ${t}px; font-size: ${n}px; padding-right: ${Math.round(.5*n)}px; font-feature-settings: ${o.fontFeatureSettings} }\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} span.codicon { line-height: ${t}px; font-size: ${n}px; }\n\t\t`;i&&(s+=`.monaco-editor .codelens-decoration.${this._styleClassName} { font-family: var(${r})}`),this._styleElement.textContent=s,null===(e=this._editor.getDomNode())||void 0===e||e.style.setProperty(r,null!=i?i:"inherit"),this._editor.changeViewZones((e=>{for(let n of this._lenses)n.updateHeight(t,e)}))}_localDispose(){var e,t,n;null===(e=this._getCodeLensModelPromise)||void 0===e||e.cancel(),this._getCodeLensModelPromise=void 0,null===(t=this._resolveCodeLensesPromise)||void 0===t||t.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),null===(n=this._currentCodeLensModel)||void 0===n||n.dispose()}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e)return;if(!this._editor.getOption(11))return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!Qr.CodeLensProviderRegistry.has(e))return void(t&&this._localToDispose.add((0,sr.disposableTimeout)((()=>{const n=this._codeLensCache.get(e);t===n&&(this._codeLensCache.delete(e),this._onModelChange())}),3e4)));for(const t of Qr.CodeLensProviderRegistry.all(e))if("function"==typeof t.onDidChange){let e=t.onDidChange((()=>n.schedule()));this._localToDispose.add(e)}const n=new sr.RunOnceScheduler((()=>{var t;const i=Date.now();null===(t=this._getCodeLensModelPromise)||void 0===t||t.cancel(),this._getCodeLensModelPromise=(0,sr.createCancelablePromise)((t=>aa(e,t))),this._getCodeLensModelPromise.then((t=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=t,this._codeLensCache.put(e,t);const o=this._getCodeLensModelDelays.update(e,Date.now()-i);n.delay=o,this._renderCodeLensSymbols(t),this._resolveCodeLensesInViewport()}),Wo.onUnexpectedError)}),this._getCodeLensModelDelays.get(e));this._localToDispose.add(n),this._localToDispose.add((0,ar.toDisposable)((()=>this._resolveCodeLensesScheduler.cancel()))),this._localToDispose.add(this._editor.onDidChangeModelContent((()=>{this._editor.changeDecorations((e=>{this._editor.changeViewZones((t=>{let n=[],i=-1;this._lenses.forEach((e=>{e.isValid()&&i!==e.getLineNumber()?(e.update(t),i=e.getLineNumber()):n.push(e)}));let o=new ua;n.forEach((e=>{e.dispose(o,t),this._lenses.splice(this._lenses.indexOf(e),1)})),o.commit(e)}))})),n.schedule()}))),this._localToDispose.add(this._editor.onDidFocusEditorWidget((()=>{n.schedule()}))),this._localToDispose.add(this._editor.onDidScrollChange((e=>{e.scrollTopChanged&&this._lenses.length>0&&this._resolveCodeLensesInViewportSoon()}))),this._localToDispose.add(this._editor.onDidLayoutChange((()=>{this._resolveCodeLensesInViewportSoon()}))),this._localToDispose.add((0,ar.toDisposable)((()=>{if(this._editor.getModel()){const e=Gr.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations((e=>{this._editor.changeViewZones((t=>{this._disposeAllLenses(e,t)}))})),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)}))),this._localToDispose.add(this._editor.onMouseDown((e=>{if(9!==e.target.type)return;let t=e.target.element;if("SPAN"===(null==t?void 0:t.tagName)&&(t=t.parentElement),"A"===(null==t?void 0:t.tagName))for(const e of this._lenses){let n=e.getCommand(t);if(n){this._commandService.executeCommand(n.id,...n.arguments||[]).catch((e=>this._notificationService.error(e)));break}}}))),n.schedule()}_disposeAllLenses(e,t){const n=new ua;for(const e of this._lenses)e.dispose(n,t);e&&n.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){if(!this._editor.hasModel())return;let t,n=this._editor.getModel().getLineCount(),i=[];for(let o of e.lenses){let e=o.symbol.range.startLineNumber;e<1||e>n||(t&&t[t.length-1].symbol.range.startLineNumber===e?t.push(o):(t=[o],i.push(t)))}const o=Gr.StableEditorScrollState.capture(this._editor),r=this._getLayoutInfo();this._editor.changeDecorations((e=>{this._editor.changeViewZones((t=>{const n=new ua;let o=0,s=0;for(;s<i.length&&o<this._lenses.length;){let e=i[s][0].symbol.range.startLineNumber,a=this._lenses[o].getLineNumber();a<e?(this._lenses[o].dispose(n,t),this._lenses.splice(o,1)):a===e?(this._lenses[o].updateCodeLensSymbols(i[s],n),s++,o++):(this._lenses.splice(o,0,new pa(i[s],this._editor,this._styleClassName,n,t,r.codeLensHeight,(()=>this._resolveCodeLensesInViewportSoon()))),o++,s++)}for(;o<this._lenses.length;)this._lenses[o].dispose(n,t),this._lenses.splice(o,1);for(;s<i.length;)this._lenses.push(new pa(i[s],this._editor,this._styleClassName,n,t,r.codeLensHeight,(()=>this._resolveCodeLensesInViewportSoon()))),s++;n.commit(e)}))})),o.restore(this._editor)}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;null===(e=this._resolveCodeLensesPromise)||void 0===e||e.cancel(),this._resolveCodeLensesPromise=void 0;const t=this._editor.getModel();if(!t)return;const n=[],i=[];if(this._lenses.forEach((e=>{const o=e.computeIfNecessary(t);o&&(n.push(o),i.push(e))})),0===n.length)return;const o=Date.now(),r=(0,sr.createCancelablePromise)((e=>{const o=n.map(((n,o)=>{const r=new Array(n.length),s=n.map(((n,i)=>n.symbol.command||"function"!=typeof n.provider.resolveCodeLens?(r[i]=n.symbol,Promise.resolve(void 0)):Promise.resolve(n.provider.resolveCodeLens(t,n.symbol,e)).then((e=>{r[i]=e}),Wo.onUnexpectedExternalError)));return Promise.all(s).then((()=>{e.isCancellationRequested||i[o].isDisposed()||i[o].updateCommands(r)}))}));return Promise.all(o)}));this._resolveCodeLensesPromise=r,this._resolveCodeLensesPromise.then((()=>{const e=this._resolveCodeLensesDelays.update(t,Date.now()-o);this._resolveCodeLensesScheduler.delay=e,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)}),(e=>{(0,Wo.onUnexpectedError)(e),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)}))}getLenses(){return this._lenses}};xa.ID="css.editor.codeLens",xa=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Sa(1,ns.ICommandService),Sa(2,Fs.INotificationService),Sa(3,va)],xa),(0,Ro.registerEditorContribution)(xa.ID,xa),(0,Ro.registerEditorAction)(class extends Ro.EditorAction{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:Mo.EditorContextKeys.hasCodeLensProvider,label:(0,No.localize)("vs/editor/contrib/codelens/codelensController","showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(e,t){return n=this,i=void 0,r=function*(){if(!t.hasModel())return;const n=e.get(Aa.IQuickInputService),i=e.get(ns.ICommandService),o=e.get(Fs.INotificationService),r=t.getSelection().positionLineNumber,s=t.getContribution(xa.ID),a=[];for(let e of s.getLenses())if(e.getLineNumber()===r)for(let t of e.getItems()){const{command:e}=t.symbol;e&&a.push({label:e.title,command:e})}if(0===a.length)return;const l=yield n.pick(a,{canPickMany:!1});if(l)try{yield i.executeCommand(l.command.id,...l.command.arguments||[])}catch(e){o.error(e)}},new((o=void 0)||(o=Promise))((function(e,t){function s(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(s,a)}l((r=r.apply(n,i||[])).next())}));var n,i,o,r}});var Ea=n(17160);function ka(e,t){const n=[],i=Qr.ColorProviderRegistry.ordered(e).reverse().map((i=>Promise.resolve(i.provideDocumentColors(e,t)).then((e=>{if(Array.isArray(e))for(let t of e)n.push({colorInfo:t,provider:i})}))));return Promise.all(i).then((()=>n))}function Ta(e,t,n,i){return Promise.resolve(n.provideColorPresentations(e,t,i))}ns.CommandsRegistry.registerCommand("_executeDocumentColorProvider",(function(e,...t){const[n]=t;if(!(n instanceof qr.URI))throw(0,Wo.illegalArgument)();const i=e.get(Yr.IModelService).getModel(n);if(!i)throw(0,Wo.illegalArgument)();const o=[],r=Qr.ColorProviderRegistry.ordered(i).reverse().map((e=>Promise.resolve(e.provideDocumentColors(i,Hr.CancellationToken.None)).then((e=>{if(Array.isArray(e))for(let t of e)o.push({range:t.range,color:[t.color.red,t.color.green,t.color.blue,t.color.alpha]})}))));return Promise.all(r).then((()=>o))})),ns.CommandsRegistry.registerCommand("_executeColorPresentationProvider",(function(e,...t){const[n,i]=t,{uri:o,range:r}=i;if(!(o instanceof qr.URI&&Array.isArray(n)&&4===n.length&&cr.Range.isIRange(r)))throw(0,Wo.illegalArgument)();const[s,a,l,c]=n,d=e.get(Yr.IModelService).getModel(o);if(!d)throw(0,Wo.illegalArgument)();const h={range:r,color:{red:s,green:a,blue:l,alpha:c}},u=[],p=Qr.ColorProviderRegistry.ordered(d).reverse().map((e=>Promise.resolve(e.provideColorPresentations(d,h,Hr.CancellationToken.None)).then((e=>{Array.isArray(e)&&u.push(...e)}))));return Promise.all(p).then((()=>u))}));var Ia=n(16445),Da=function(e,t){return function(n,i){t(n,i,e)}};let La=class e extends ar.Disposable{constructor(e,t,n){super(),this._editor=e,this._codeEditorService=t,this._configurationService=n,this._localToDispose=this._register(new ar.DisposableStore),this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=[],this._decorationsTypes=new Set,this._register(e.onDidChangeModel((()=>{this._isEnabled=this.isEnabled(),this.onModelChanged()}))),this._register(e.onDidChangeModelLanguage((()=>this.onModelChanged()))),this._register(Qr.ColorProviderRegistry.onDidChange((()=>this.onModelChanged()))),this._register(e.onDidChangeConfiguration((()=>{let e=this._isEnabled;this._isEnabled=this.isEnabled(),e!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())}))),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;const t=e.getLanguageIdentifier(),n=this._configurationService.getValue(t.language);if(n){const e=n.colorDecorators;if(e&&void 0!==e.enable&&!e.enable)return e.enable}return this._editor.getOption(14)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){if(this.stop(),!this._isEnabled)return;const t=this._editor.getModel();t&&Qr.ColorProviderRegistry.has(t)&&(this._localToDispose.add(this._editor.onDidChangeModelContent((()=>{this._timeoutTimer||(this._timeoutTimer=new sr.TimeoutTimer,this._timeoutTimer.cancelAndSet((()=>{this._timeoutTimer=null,this.beginCompute()}),e.RECOMPUTE_TIME))}))),this.beginCompute())}beginCompute(){this._computePromise=(0,sr.createCancelablePromise)((e=>{const t=this._editor.getModel();return t?ka(t,e):Promise.resolve([])})),this._computePromise.then((e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null}),Wo.onUnexpectedError)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){const t=e.map((e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:hr.ModelDecorationOptions.EMPTY})));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach(((t,n)=>this._colorDatas.set(t,e[n])))}updateColorDecorators(e){let t=[],n={};for(let i=0;i<e.length&&t.length<500;i++){const{red:o,green:r,blue:s,alpha:a}=e[i].colorInfo.color,l=new Ea.RGBA(Math.round(255*o),Math.round(255*r),Math.round(255*s),a);let c=(0,ya.hash)(`rgba(${l.r},${l.g},${l.b},${l.a})`).toString(16),d=`rgba(${l.r}, ${l.g}, ${l.b}, ${l.a})`,h="colorBox-"+c;this._decorationsTypes.has(h)||n[h]||this._codeEditorService.registerDecorationType(h,{before:{contentText:" ",border:"solid 0.1em #000",margin:"0.1em 0.2em 0 0.2em",width:"0.8em",height:"0.8em",backgroundColor:d},dark:{before:{border:"solid 0.1em #eee"}}},void 0,this._editor),n[h]=!0,t.push({range:{startLineNumber:e[i].colorInfo.range.startLineNumber,startColumn:e[i].colorInfo.range.startColumn,endLineNumber:e[i].colorInfo.range.endLineNumber,endColumn:e[i].colorInfo.range.endColumn},options:this._codeEditorService.resolveDecorationOptions(h,!0)})}this._decorationsTypes.forEach((e=>{n[e]||this._codeEditorService.removeDecorationType(e)})),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,t)}removeAllDecorations(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]),this._decorationsTypes.forEach((e=>{this._codeEditorService.removeDecorationType(e)}))}getColorData(e){const t=this._editor.getModel();if(!t)return null;const n=t.getDecorationsInRange(cr.Range.fromPositions(e,e)).filter((e=>this._colorDatas.has(e.id)));return 0===n.length?null:this._colorDatas.get(n[0].id)}};La.ID="editor.contrib.colorDetector",La.RECOMPUTE_TIME=1e3,La=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Da(1,Ir.ICodeEditorService),Da(2,Ia.IConfigurationService)],La),(0,Ro.registerEditorContribution)(La.ID,La);var Ra=n(40704);class Na{constructor(e,t,n){this.presentationIndex=n,this._onColorFlushed=new Is.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new Is.Emitter,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new Is.Emitter,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}get color(){return this._color}set color(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let e=0;e<this.colorPresentations.length;e++)if(t.toLowerCase()===this.colorPresentations[e].label){this.presentationIndex=e,this._onDidChangePresentation.fire(this.presentation);break}}flushColor(){this._onColorFlushed.fire(this._color)}}var Ma=n(33017),Oa=(Do()(Ma.Z,{insert:"head",singleton:!1}),Ma.Z.locals,n(47257));const Pa=_s.$;class Fa extends ar.Disposable{constructor(e,t,n){super(),this.model=t,this.domNode=Pa(".colorpicker-header"),_s.append(e,this.domNode),this.pickedColorNode=_s.append(this.domNode,Pa(".picked-color"));const i=_s.append(this.domNode,Pa(".original-color"));i.style.backgroundColor=Ea.Color.Format.CSS.format(this.model.originalColor)||"",this.backgroundColor=n.getColorTheme().getColor(pr.editorHoverBackground)||Ea.Color.white,this._register((0,gr.registerThemingParticipant)(((e,t)=>{this.backgroundColor=e.getColor(pr.editorHoverBackground)||Ea.Color.white}))),this._register(_s.addDisposableListener(this.pickedColorNode,_s.EventType.CLICK,(()=>this.model.selectNextColorPresentation()))),this._register(_s.addDisposableListener(i,_s.EventType.CLICK,(()=>{this.model.color=this.model.originalColor,this.model.flushColor()}))),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=Ea.Color.Format.CSS.format(t.color)||"",this.pickedColorNode.classList.toggle("light",t.color.rgba.a<.5?this.backgroundColor.isLighter():t.color.isLighter())}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=Ea.Color.Format.CSS.format(e)||"",this.pickedColorNode.classList.toggle("light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""}}class za extends ar.Disposable{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this.domNode=Pa(".colorpicker-body"),_s.append(e,this.domNode),this.saturationBox=new Ba(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new Ua(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new Ha(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){const n=this.model.color.hsva;this.model.color=new Ea.Color(new Ea.HSVA(n.h,e,t,n.a))}onDidOpacityChange(e){const t=this.model.color.hsva;this.model.color=new Ea.Color(new Ea.HSVA(t.h,t.s,t.v,e))}onDidHueChange(e){const t=this.model.color.hsva,n=360*(1-e);this.model.color=new Ea.Color(new Ea.HSVA(360===n?0:n,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class Ba extends ar.Disposable{constructor(e,t,n){super(),this.model=t,this.pixelRatio=n,this._onDidChange=new Is.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new Is.Emitter,this.onColorFlushed=this._onColorFlushed.event,this.domNode=Pa(".saturation-wrap"),_s.append(e,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",_s.append(this.domNode,this.canvas),this.selection=Pa(".saturation-selection"),_s.append(this.domNode,this.selection),this.layout(),this._register(_s.addDisposableGenericMouseDownListner(this.domNode,(e=>this.onMouseDown(e)))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(e){this.monitor=this._register(new Ts.GlobalMouseMoveMonitor);const t=_s.getDomNodePagePosition(this.domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.buttons,Ts.standardMouseMoveMerger,(e=>this.onDidChangePosition(e.posx-t.left,e.posy-t.top)),(()=>null));const n=_s.addDisposableGenericMouseUpListner(document,(()=>{this._onColorFlushed.fire(),n.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)}),!0)}onDidChangePosition(e,t){const n=Math.max(0,Math.min(1,e/this.width)),i=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(n,i),this._onDidChange.fire({s:n,v:i})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();const e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){const e=this.model.color.hsva,t=new Ea.Color(new Ea.HSVA(e.h,1,1,1)),n=this.canvas.getContext("2d"),i=n.createLinearGradient(0,0,this.canvas.width,0);i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)");const o=n.createLinearGradient(0,0,0,this.canvas.height);o.addColorStop(0,"rgba(0, 0, 0, 0)"),o.addColorStop(1,"rgba(0, 0, 0, 1)"),n.rect(0,0,this.canvas.width,this.canvas.height),n.fillStyle=Ea.Color.Format.CSS.format(t),n.fill(),n.fillStyle=i,n.fill(),n.fillStyle=o,n.fill()}paintSelection(e,t){this.selection.style.left=e*this.width+"px",this.selection.style.top=this.height-t*this.height+"px"}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class Wa extends ar.Disposable{constructor(e,t){super(),this.model=t,this._onDidChange=new Is.Emitter,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new Is.Emitter,this.onColorFlushed=this._onColorFlushed.event,this.domNode=_s.append(e,Pa(".strip")),this.overlay=_s.append(this.domNode,Pa(".overlay")),this.slider=_s.append(this.domNode,Pa(".slider")),this.slider.style.top="0px",this._register(_s.addDisposableGenericMouseDownListner(this.domNode,(e=>this.onMouseDown(e)))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const e=this.getValue(this.model.color);this.updateSliderPosition(e)}onMouseDown(e){const t=this._register(new Ts.GlobalMouseMoveMonitor),n=_s.getDomNodePagePosition(this.domNode);this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.buttons,Ts.standardMouseMoveMerger,(e=>this.onDidChangeTop(e.posy-n.top)),(()=>null));const i=_s.addDisposableGenericMouseUpListner(document,(()=>{this._onColorFlushed.fire(),i.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")}),!0)}onDidChangeTop(e){const t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)}updateSliderPosition(e){this.slider.style.top=(1-e)*this.height+"px"}}class Ua extends Wa{constructor(e,t){super(e,t),this.domNode.classList.add("opacity-strip"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){const{r:t,g:n,b:i}=e.rgba,o=new Ea.Color(new Ea.RGBA(t,n,i,1)),r=new Ea.Color(new Ea.RGBA(t,n,i,0));this.overlay.style.background=`linear-gradient(to bottom, ${o} 0%, ${r} 100%)`}getValue(e){return e.hsva.a}}class Ha extends Wa{constructor(e,t){super(e,t),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class Va extends Oa.Widget{constructor(e,t,n,i){super(),this.model=t,this.pixelRatio=n,this._register((0,Er.onDidChangeZoomLevel)((()=>this.layout())));const o=Pa(".colorpicker-widget");e.appendChild(o);const r=new Fa(o,this.model,i);this.body=new za(o,this.model,this.pixelRatio),this._register(r),this._register(this.body)}layout(){this.body.layout()}}class ja{constructor(e,t,n,i,o){this._computer=e,this._state=0,this._hoverTime=o,this._firstWaitScheduler=new sr.RunOnceScheduler((()=>this._triggerAsyncComputation()),0),this._secondWaitScheduler=new sr.RunOnceScheduler((()=>this._triggerSyncComputation()),0),this._loadingMessageScheduler=new sr.RunOnceScheduler((()=>this._showLoadingMessage()),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=n,this._progressCallback=i}setHoverTime(e){this._hoverTime=e}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=(0,sr.createCancelablePromise)((e=>this._computer.computeAsync(e))),this._asyncComputationPromise.then((e=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(e)}),(e=>this._onError(e)))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(e){e&&this._computer.onResult(e,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(e){this._completeCallback(e)}_onError(e){this._errorCallback?this._errorCallback(e):(0,Wo.onUnexpectedError)(e)}_onProgress(e){this._progressCallback(e)}start(e){if(0===e)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}var Ka=n(57780),qa=(Do()(Ka.Z,{insert:"head",singleton:!1}),Ka.Z.locals,n(34309));const Ga=_s.$;class Qa extends ar.Disposable{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new qa.DomScrollableElement(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}function Ya(e,t,n){const i=_s.append(e,Ga("div.action-container")),o=_s.append(i,Ga("a.action"));return o.setAttribute("href","#"),o.setAttribute("role","button"),t.iconClass&&_s.append(o,Ga(`span.icon.${t.iconClass}`)),_s.append(o,Ga("span")).textContent=n?`${t.label} (${n})`:t.label,_s.addDisposableListener(i,_s.EventType.CLICK,(e=>{e.stopPropagation(),e.preventDefault(),t.run(i)}))}var $a=n(90442),Ja=n(19156),Za=n(70121),Xa=(Do()(Za.Z,{insert:"head",singleton:!1}),Za.Z.locals,n(27952)),el=n(98508);function tl(e){if(!e)return;"string"==typeof e&&(e=qr.URI.file(e));const t=(0,Bs.basename)(e)||(e.scheme===Xa.Schemas.file?e.fsPath:e.path);return kr.isWindows&&(0,el.isRootOrDriveLetter)(t)?nl(t):t}function nl(e){return(0,el.hasDriveLetter)(e)?e.charAt(0).toUpperCase()+e.slice(1):e}var il=n(82122),ol=(Do()(il.Z,{insert:"head",singleton:!1}),il.Z.locals,n(31532)),rl=n(91057),sl=n(27348),al=function(e,t){return function(n,i){t(n,i,e)}};let ll=class extends Eo.CodeEditorWidget{constructor(e,t,n,i,o,r,s,a,l,c){super(e,Object.assign(Object.assign({},n.getRawOptions()),{overflowWidgetsDomNode:n.getOverflowWidgetsDomNode()}),{},i,o,r,s,a,l,c),this._parentEditor=n,this._overwriteOptions=t,super.updateOptions(this._overwriteOptions),this._register(n.onDidChangeConfiguration((e=>this._onParentConfigurationChanged(e))))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){rl.mixin(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};ll=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([al(3,vs.IInstantiationService),al(4,Ir.ICodeEditorService),al(5,ns.ICommandService),al(6,Fo.IContextKeyService),al(7,gr.IThemeService),al(8,Fs.INotificationService),al(9,sl.IAccessibilityService)],ll);var cl=n(49139),dl=(Do()(cl.Z,{insert:"head",singleton:!1}),cl.Z.locals,n(59625)),hl=n(60538);const ul=new Ea.Color(new Ea.RGBA(0,122,204)),pl={showArrow:!0,showFrame:!0,className:"",frameColor:ul,arrowColor:ul,keepEditorSelection:!1};class gl{constructor(e,t,n,i,o,r){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=n,this.heightInLines=i,this._onDomNodeTop=o,this._onComputedHeight=r}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class ml{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class fl{constructor(e){this._editor=e,this._ruleName=fl._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}dispose(){this.hide(),_s.removeCSSRulesContainingSelector(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){_s.removeCSSRulesContainingSelector(this._ruleName),_s.createCSSRule(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:cr.Range.fromPositions(e),options:{className:this._ruleName,stickiness:1}}])}hide(){this._editor.deltaDecorations(this._decorations,[])}}fl._IdGenerator=new hl.IdGenerator(".arrow-decoration-");class bl{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new ar.DisposableStore,this.container=null,this._isShowing=!1,this.editor=e,this.options=rl.deepClone(t),rl.mixin(this.options,pl,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange((e=>{const t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)})))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones((e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null})),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new fl(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){let e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){if(this.domNode.style.height=`${e}px`,this.container){let t=e-this._decoratingElementsHeight();this.container.style.height=`${t}px`;const n=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(n))}this._resizeSash&&this._resizeSash.layout()}get position(){const[e]=this._positionMarkerId;if(!e)return;const t=this.editor.getModel();if(!t)return;const n=t.getDecorationRange(e);return n?n.getStartPosition():void 0}show(e,t){const n=cr.Range.isIRange(e)?cr.Range.lift(e):cr.Range.fromPositions(e);this._isShowing=!0,this._showImpl(n,t),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:n,options:hr.ModelDecorationOptions.EMPTY}])}hide(){this._viewZone&&(this.editor.changeViewZones((e=>{this._viewZone&&e.removeZone(this._viewZone.id)})),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){let e=this.editor.getOption(53),t=0;return this.options.showArrow&&(t+=2*Math.round(e/3)),this.options.showFrame&&(t+=2*Math.round(e/9)),t}_showImpl(e,t){const n=e.getStartPosition(),i=this.editor.getLayoutInfo(),o=this._getWidth(i);this.domNode.style.width=`${o}px`,this.domNode.style.left=this._getLeft(i)+"px";const r=document.createElement("div");r.style.overflow="hidden";const s=this.editor.getOption(53),a=Math.max(12,this.editor.getLayoutInfo().height/s*.8);t=Math.min(t,a);let l=0,c=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(s/3),this._arrow.height=l,this._arrow.show(n)),this.options.showFrame&&(c=Math.round(s/9)),this.editor.changeViewZones((e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new gl(r,n.lineNumber,n.column,t,(e=>this._onViewZoneTop(e)),(e=>this._onViewZoneHeight(e))),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new ml("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)})),this.container&&this.options.showFrame){const e=this.options.frameWidth?this.options.frameWidth:c;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}let d=t*s-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+"px",this.container.style.height=d+"px",this.container.style.overflow="hidden"),this._doLayout(d,o),this.options.keepEditorSelection||this.editor.setSelection(e);const h=this.editor.getModel();if(h){const t=e.endLineNumber+1;t<=h.getLineCount()?this.revealLine(t,!1):this.revealLine(h.getLineCount(),!0)}}revealLine(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones((t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))}))}_initSash(){if(this._resizeSash)return;let e;this._resizeSash=this._disposables.add(new dl.Sash(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart((t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})}))),this._disposables.add(this._resizeSash.onDidEnd((()=>{e=void 0}))),this._disposables.add(this._resizeSash.onDidChange((t=>{if(e){let n=(t.currentY-e.startY)/this.editor.getOption(53),i=n<0?Math.ceil(n):Math.floor(n),o=e.heightInLines+i;o>5&&o<35&&this._relayout(o)}})))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){const e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}var vl=n(95861),_l=(Do()(vl.Z,{insert:"head",singleton:!1}),vl.Z.locals,n(50465)),wl=n(61009),yl=n(45340),Al=(Do()(yl.Z,{insert:"head",singleton:!1}),yl.Z.locals,n(8769));class Cl extends ws.ActionRunner{constructor(e,t){super(),this._onDidChangeVisibility=new Is.Emitter,this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=(0,_s.append)(e,(0,_s.$)(".monaco-dropdown")),this._label=(0,_s.append)(this._element,(0,_s.$)(".dropdown-label"));let n=t.labelRenderer;n||(n=e=>(e.textContent=t.label||"",null));for(const e of[_s.EventType.CLICK,_s.EventType.MOUSE_DOWN,Ls.EventType.Tap])this._register((0,_s.addDisposableListener)(this.element,e,(e=>_s.EventHelper.stop(e,!0))));for(const e of[_s.EventType.MOUSE_DOWN,Ls.EventType.Tap])this._register((0,_s.addDisposableListener)(this._label,e,(e=>{e instanceof MouseEvent&&e.detail>1||(this.visible?this.hide():this.show())})));this._register((0,_s.addDisposableListener)(this._label,_s.EventType.KEY_UP,(e=>{const t=new Al.StandardKeyboardEvent(e);(t.equals(3)||t.equals(10))&&(_s.EventHelper.stop(e,!0),this.visible?this.hide():this.show())})));const i=n(this._label);i&&this._register(i),this._register(Ls.Gesture.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class Sl extends Cl{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||"",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add("active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}class xl extends wl.BaseActionViewItem{constructor(e,t,n,i={}){super(null,e,i),this.options=i,this.actionItem=null,this._onDidChangeVisibility=this._register(new Is.Emitter),this.menuActionsOrProvider=t,this.contextMenuProvider=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;const t=Array.isArray(this.menuActionsOrProvider),n={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{this.element=(0,_s.append)(e,(0,_s.$)("a.action-label"));let t=[];return"string"==typeof this.options.classNames?t=this.options.classNames.split(/\s+/g).filter((e=>!!e)):this.options.classNames&&(t=this.options.classNames),t.find((e=>"icon"===e))||t.push("codicon"),this.element.classList.add(...t),this.element.tabIndex=0,this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},menuAsChild:this.options.menuAsChild,actions:t?this.menuActionsOrProvider:void 0,actionProvider:t?void 0:this.menuActionsOrProvider};if(this.dropdownMenu=this._register(new Sl(e,n)),this._register(this.dropdownMenu.onDidChangeVisibility((e=>{var t;null===(t=this.element)||void 0===t||t.setAttribute("aria-expanded",`${e}`),this._onDidChangeVisibility.fire(e)}))),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const e=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return e.options.anchorAlignmentProvider()}})}this.updateEnabled()}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}updateEnabled(){var e,t;const n=!this.getAction().enabled;null===(e=this.actionItem)||void 0===e||e.classList.toggle("disabled",n),null===(t=this.element)||void 0===t||t.classList.toggle("disabled",n)}}var El=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},kl=function(e,t){return function(n,i){t(n,i,e)}};function Tl(e,t,n,i){const o=e.getActions(t);return function(e,t,n,i=(e=>"navigation"===e)){for(let[o,r]of e)if(n&&(r=r.map((e=>e instanceof mr.MenuItemAction&&e.alt?e.alt:e))),i(o))(Array.isArray(t)?t:t.primary).unshift(...r);else{const e=Array.isArray(t)?t:t.secondary;e.length>0&&e.push(new ws.Separator),e.push(...r)}}(o,n,!1,i),function(e){const t=new ar.DisposableStore;for(const[,n]of e)for(const e of n)t.add(e);return t}(o)}let Il=class extends wl.ActionViewItem{constructor(e,t,n){super(void 0,e,{icon:!(!e.class&&!e.item.icon),label:!e.class&&!e.item.icon}),this._action=e,this._keybindingService=t,this._notificationService=n,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new ar.MutableDisposable),this._altKey=_s.ModifierKeyEmitter.getInstance()}get _commandAction(){return this._wantsAltCommand&&this._action.alt||this._action}onClick(e){e.preventDefault(),e.stopPropagation(),this.actionRunner.run(this._commandAction,this._context).catch((e=>this._notificationService.error(e)))}render(e){super.render(e),e.classList.add("menu-entry"),this._updateItemClass(this._action.item);let t=!1,n=this._altKey.keyStatus.altKey||(kr.isWindows||kr.isLinux)&&this._altKey.keyStatus.shiftKey;const i=()=>{const e=t&&n;e!==this._wantsAltCommand&&(this._wantsAltCommand=e,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._action.alt&&this._register(this._altKey.event((e=>{n=e.altKey||(kr.isWindows||kr.isLinux)&&e.shiftKey,i()}))),this._register((0,_l.domEvent)(e,"mouseleave")((e=>{t=!1,i()}))),this._register((0,_l.domEvent)(e,"mouseenter")((e=>{t=!0,i()})))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const e=this._keybindingService.lookupKeybinding(this._commandAction.id),t=e&&e.getLabel(),n=this._commandAction.tooltip||this._commandAction.label;this.label.title=t?(0,No.localize)("vs/platform/actions/browser/menuEntryActionViewItem","titleAndKb","{0} ({1})",n,t):n}}updateClass(){this.options.icon&&(this._commandAction!==this._action?this._action.alt&&this._updateItemClass(this._action.alt.item):this._action.alt&&this._updateItemClass(this._action.item))}_updateItemClass(e){var t;this._itemClassDispose.value=void 0;const{element:n,label:i}=this;if(!n||!i)return;const o=this._commandAction.checked&&(null===(t=e.toggled)||void 0===t?void 0:t.icon)?e.toggled.icon:e.icon;if(o)if(gr.ThemeIcon.isThemeIcon(o)){const e=gr.ThemeIcon.asClassName(o);i.classList.add(...e.split(" ")),this._itemClassDispose.value=(0,ar.toDisposable)((()=>{i.classList.remove(...e.split(" "))}))}else o.light&&i.style.setProperty("--menu-entry-icon-light",(0,_s.asCSSUrl)(o.light)),o.dark&&i.style.setProperty("--menu-entry-icon-dark",(0,_s.asCSSUrl)(o.dark)),i.classList.add("icon"),this._itemClassDispose.value=(0,ar.toDisposable)((()=>{i.classList.remove("icon"),i.style.removeProperty("--menu-entry-icon-light"),i.style.removeProperty("--menu-entry-icon-dark")}))}};Il=El([kl(1,As.IKeybindingService),kl(2,Fs.INotificationService)],Il);let Dl=class extends xl{constructor(e,t){super(e,{getActions:()=>e.actions},t,{menuAsChild:!0,classNames:gr.ThemeIcon.isThemeIcon(e.item.icon)?gr.ThemeIcon.asClassName(e.item.icon):void 0})}render(e){if(super.render(e),this.element){e.classList.add("menu-entry");const{icon:t}=this._action.item;t&&!gr.ThemeIcon.isThemeIcon(t)&&(this.element.classList.add("icon"),t.light&&this.element.style.setProperty("--menu-entry-icon-light",(0,_s.asCSSUrl)(t.light)),t.dark&&this.element.style.setProperty("--menu-entry-icon-dark",(0,_s.asCSSUrl)(t.dark)))}}};function Ll(e,t){return t instanceof mr.MenuItemAction?e.createInstance(Il,t):t instanceof mr.SubmenuItemAction?e.createInstance(Dl,t):void 0}Dl=El([kl(1,ys.IContextMenuService)],Dl);var Rl=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Nl=function(e,t){return function(n,i){t(n,i,e)}};const Ml=(0,vs.createDecorator)("IPeekViewService");var Ol;(0,ga.registerSingleton)(Ml,class{constructor(){this._widgets=new Map}addExclusiveWidget(e,t){const n=this._widgets.get(e);n&&(n.listener.dispose(),n.widget.dispose()),this._widgets.set(e,{widget:t,listener:t.onDidClose((()=>{const n=this._widgets.get(e);n&&n.widget===t&&(n.listener.dispose(),this._widgets.delete(e))}))})}}),function(e){e.inPeekEditor=new Fo.RawContextKey("inReferenceSearchEditor",!0),e.notInPeekEditor=e.inPeekEditor.toNegated()}(Ol||(Ol={}));let Pl=class{constructor(e,t){e instanceof ll&&Ol.inPeekEditor.bindTo(t)}dispose(){}};function Fl(e){let t=e.get(Ir.ICodeEditorService).getFocusedCodeEditor();return t instanceof ll?t.getParentEditor():t}Pl.ID="editor.contrib.referenceController",Pl=Rl([Nl(1,Fo.IContextKeyService)],Pl),(0,Ro.registerEditorContribution)(Pl.ID,Pl);const zl={headerBackgroundColor:Ea.Color.white,primaryHeadingColor:Ea.Color.fromHex("#333333"),secondaryHeadingColor:Ea.Color.fromHex("#6c6c6cb3")};let Bl=class extends bl{constructor(e,t,n){super(e,t),this.instantiationService=n,this._onDidClose=new Is.Emitter,this.onDidClose=this._onDidClose.event,rl.mixin(this.options,zl,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){let t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();let e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=_s.$(".head"),this._bodyElement=_s.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){const n=_s.$(".peekview-title");_s.append(this._headElement,n),_s.addStandardDisposableListener(n,"click",(e=>this._onTitleClick(e))),this._fillTitleIcon(n),this._primaryHeading=_s.$("span.filename"),this._secondaryHeading=_s.$("span.dirname"),this._metaHeading=_s.$("span.meta"),_s.append(n,this._primaryHeading,this._secondaryHeading,this._metaHeading);const i=_s.$(".peekview-actions");_s.append(this._headElement,i);const o=this._getActionBarOptions();this._actionbarWidget=new ol.ActionBar(i,o),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new ws.Action("peekview.close",No.localize("vs/editor/contrib/peekView/peekView","label.close","Close"),Rs.Codicon.close.classNames,!0,(()=>(this.dispose(),Promise.resolve()))),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:Ll.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("aria-label",e),t?this._secondaryHeading.innerText=t:_s.clearNode(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,_s.show(this._metaHeading)):_s.hide(this._metaHeading))}_doLayout(e,t){if(!this._isShowing&&e<0)return void this.dispose();const n=Math.ceil(1.2*this.editor.getOption(53)),i=Math.round(e-(n+2));this._doLayoutHead(n,t),this._doLayoutBody(i,t)}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=`${e}px`,this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=`${e}px`)}};Bl=Rl([Nl(2,vs.IInstantiationService)],Bl);const Wl=(0,pr.registerColor)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},No.localize("vs/editor/contrib/peekView/peekView","peekViewTitleBackground","Background color of the peek view title area.")),Ul=(0,pr.registerColor)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},No.localize("vs/editor/contrib/peekView/peekView","peekViewTitleForeground","Color of the peek view title.")),Hl=(0,pr.registerColor)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},No.localize("vs/editor/contrib/peekView/peekView","peekViewTitleInfoForeground","Color of the peek view title info.")),Vl=(0,pr.registerColor)("peekView.border",{dark:"#007acc",light:"#007acc",hc:pr.contrastBorder},No.localize("vs/editor/contrib/peekView/peekView","peekViewBorder","Color of the peek view borders and arrow.")),jl=(0,pr.registerColor)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:Ea.Color.black},No.localize("vs/editor/contrib/peekView/peekView","peekViewResultsBackground","Background color of the peek view result list.")),Kl=(0,pr.registerColor)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:Ea.Color.white},No.localize("vs/editor/contrib/peekView/peekView","peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),ql=(0,pr.registerColor)("peekViewResult.fileForeground",{dark:Ea.Color.white,light:"#1E1E1E",hc:Ea.Color.white},No.localize("vs/editor/contrib/peekView/peekView","peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),Gl=(0,pr.registerColor)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},No.localize("vs/editor/contrib/peekView/peekView","peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),Ql=(0,pr.registerColor)("peekViewResult.selectionForeground",{dark:Ea.Color.white,light:"#6C6C6C",hc:Ea.Color.white},No.localize("vs/editor/contrib/peekView/peekView","peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),Yl=(0,pr.registerColor)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:Ea.Color.black},No.localize("vs/editor/contrib/peekView/peekView","peekViewEditorBackground","Background color of the peek view editor.")),$l=(0,pr.registerColor)("peekViewEditorGutter.background",{dark:Yl,light:Yl,hc:Yl},No.localize("vs/editor/contrib/peekView/peekView","peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),Jl=(0,pr.registerColor)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},No.localize("vs/editor/contrib/peekView/peekView","peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),Zl=(0,pr.registerColor)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},No.localize("vs/editor/contrib/peekView/peekView","peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),Xl=(0,pr.registerColor)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:pr.activeContrastBorder},No.localize("vs/editor/contrib/peekView/peekView","peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."));var ec,tc=n(15051);!function(e){e.className=function(e){switch(e){case tc.default.Ignore:return"severity-ignore "+Rs.Codicon.info.classNames;case tc.default.Info:return Rs.Codicon.info.classNames;case tc.default.Warning:return Rs.Codicon.warning.classNames;case tc.default.Error:return Rs.Codicon.error.classNames;default:return""}}}(ec||(ec={})),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.problemsErrorIconForeground);if(n){const e=Rs.Codicon.error.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e} {\n\t\t\t\tcolor: ${n};\n\t\t\t}\n\t\t`)}const i=e.getColor(pr.problemsWarningIconForeground);if(i){const e=Rs.Codicon.warning.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.extension-editor ${e} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`)}const o=e.getColor(pr.problemsInfoIconForeground);if(o){const e=Rs.Codicon.info.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.extension-editor ${e} {\n\t\t\t\tcolor: ${o};\n\t\t\t}\n\t\t`)}}));var nc=n(87280),ic=function(e,t){return function(n,i){t(n,i,e)}};class oc{constructor(e,t,n,i,o){this._openerService=i,this._labelService=o,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new ar.DisposableStore,this._editor=t;const r=document.createElement("div");r.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),r.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),r.appendChild(this._relatedBlock),this._disposables.add(_s.addStandardDisposableListener(this._relatedBlock,"click",(e=>{e.preventDefault();const t=this._relatedDiagnostics.get(e.target);t&&n(t)}))),this._scrollable=new qa.ScrollableElement(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll((e=>{r.style.left=`-${e.scrollLeft}px`,r.style.top=`-${e.scrollTop}px`}))),this._disposables.add(this._scrollable)}dispose(){(0,ar.dispose)(this._disposables)}update(e){const{source:t,message:n,relatedInformation:i,code:o}=e;let r=((null==t?void 0:t.length)||0)+"()".length;o&&(r+="string"==typeof o?o.length:o.value.length);const s=(0,jr.splitLines)(n);this._lines=s.length,this._longestLineLength=0;for(const e of s)this._longestLineLength=Math.max(e.length+r,this._longestLineLength);_s.clearNode(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let a=this._messageBlock;for(const e of s)a=document.createElement("div"),a.innerText=e,""===e&&(a.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(a);if(t||o){const e=document.createElement("span");if(e.classList.add("details"),a.appendChild(e),t){const n=document.createElement("span");n.innerText=t,n.classList.add("source"),e.appendChild(n)}if(o)if("string"==typeof o){const t=document.createElement("span");t.innerText=`(${o})`,t.classList.add("code"),e.appendChild(t)}else this._codeLink=_s.$("a.code-link"),this._codeLink.setAttribute("href",`${o.target.toString()}`),this._codeLink.onclick=e=>{this._openerService.open(o.target),e.preventDefault(),e.stopPropagation()},_s.append(this._codeLink,_s.$("span")).innerText=o.value,e.appendChild(this._codeLink)}if(_s.clearNode(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,zo.isNonEmptyArray)(i)){const e=this._relatedBlock.appendChild(document.createElement("div"));e.style.paddingTop=`${Math.floor(.66*this._editor.getOption(53))}px`,this._lines+=1;for(const t of i){let n=document.createElement("div"),i=document.createElement("a");i.classList.add("filename"),i.innerText=`${tl(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,i.title=this._labelService.getUriLabel(t.resource),this._relatedDiagnostics.set(i,t);let o=document.createElement("span");o.innerText=t.message,n.appendChild(i),n.appendChild(o),this._lines+=1,e.appendChild(n)}}const l=this._editor.getOption(38),c=Math.ceil(l.typicalFullwidthCharacterWidth*this._longestLineLength*.75),d=l.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:c,scrollHeight:d})}layout(e,t){this._scrollable.getDomNode().style.height=`${e}px`,this._scrollable.getDomNode().style.width=`${t}px`,this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case Ps.MarkerSeverity.Error:t=No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","Error","Error");break;case Ps.MarkerSeverity.Warning:t=No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","Warning","Warning");break;case Ps.MarkerSeverity.Info:t=No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","Info","Info");break;case Ps.MarkerSeverity.Hint:t=No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","Hint","Hint")}let n=No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn);const i=this._editor.getModel();return i&&e.startLineNumber<=i.getLineCount()&&e.startLineNumber>=1&&(n=`${i.getLineContent(e.startLineNumber)}, ${n}`),n}}let rc=class e extends Bl{constructor(e,t,n,i,o,r,s){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0},o),this._themeService=t,this._openerService=n,this._menuService=i,this._contextKeyService=r,this._labelService=s,this._callOnDispose=new ar.DisposableStore,this._onDidSelectRelatedInformation=new Is.Emitter,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=Ps.MarkerSeverity.Warning,this._backgroundColor=Ea.Color.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(uc);let t=cc;this._severity===Ps.MarkerSeverity.Warning?t=dc:this._severity===Ps.MarkerSeverity.Info&&(t=hc);const n=e.getColor(t);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:this._backgroundColor,primaryHeadingColor:e.getColor(Ul),secondaryHeadingColor:e.getColor(Hl)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(t){super._fillHead(t),this._disposables.add(this._actionbarWidget.actionRunner.onBeforeRun((e=>this.editor.focus())));const n=[],i=this._menuService.createMenu(e.TitleMenu,this._contextKeyService);Tl(i,void 0,n),this._actionbarWidget.push(n,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=_s.append(e,_s.$(""))}_fillBody(e){this._parentContainer=e,e.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new oc(this._container,this.editor,(e=>this._onDidSelectRelatedInformation.fire(e)),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(e,t,n){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let i=cr.Range.lift(e);const o=this.editor.getPosition();let r=o&&i.containsPosition(o)?o:i.getStartPosition();super.show(r,this.computeRequiredHeight());const s=this.editor.getModel();if(s){const e=n>1?No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","problems","{0} of {1} problems",t,n):No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","change","{0} of {1} problem",t,n);this.setTitle((0,Bs.basename)(s.uri),e)}this._icon.className=`codicon ${ec.className(Ps.MarkerSeverity.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(r,0),this.editor.focus()}updateMarker(e){this._container.classList.remove("stale"),this._message.update(e)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._heightInPixel=e,this._message.layout(e,t),this._container.style.height=`${e}px`}_onWidth(e){this._message.layout(this._heightInPixel,e)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};rc.TitleMenu=new mr.MenuId("gotoErrorTitleMenu"),rc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([ic(1,gr.IThemeService),ic(2,Ja.IOpenerService),ic(3,mr.IMenuService),ic(4,vs.IInstantiationService),ic(5,Fo.IContextKeyService),ic(6,nc.ILabelService)],rc);let sc=(0,pr.oneOf)(pr.editorErrorForeground,pr.editorErrorBorder),ac=(0,pr.oneOf)(pr.editorWarningForeground,pr.editorWarningBorder),lc=(0,pr.oneOf)(pr.editorInfoForeground,pr.editorInfoBorder);const cc=(0,pr.registerColor)("editorMarkerNavigationError.background",{dark:sc,light:sc,hc:sc},No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","editorMarkerNavigationError","Editor marker navigation widget error color.")),dc=(0,pr.registerColor)("editorMarkerNavigationWarning.background",{dark:ac,light:ac,hc:ac},No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),hc=(0,pr.registerColor)("editorMarkerNavigationInfo.background",{dark:lc,light:lc,hc:lc},No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","editorMarkerNavigationInfo","Editor marker navigation widget info color.")),uc=(0,pr.registerColor)("editorMarkerNavigation.background",{dark:"#2D2D30",light:Ea.Color.white,hc:"#0C141F"},No.localize("vs/editor/contrib/gotoError/gotoErrorWidget","editorMarkerNavigationBackground","Editor marker navigation widget background."));(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.textLinkForeground);n&&(t.addRule(`.monaco-editor .marker-widget a { color: ${n}; }`),t.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${n}; }`))}));var pc=n(22446),gc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},mc=function(e,t){return function(n,i){t(n,i,e)}};class fc{constructor(e,t,n){this.marker=e,this.index=t,this.total=n}}let bc=class e{constructor(t,n){this._markerService=n,this._onDidChange=new Is.Emitter,this.onDidChange=this._onDidChange.event,this._dispoables=new ar.DisposableStore,this._markers=[],this._nextIdx=-1,qr.URI.isUri(t)?this._resourceFilter=e=>e.toString()===t.toString():t&&(this._resourceFilter=t);const i=()=>{this._markers=this._markerService.read({resource:qr.URI.isUri(t)?t:void 0,severities:Ps.MarkerSeverity.Error|Ps.MarkerSeverity.Warning|Ps.MarkerSeverity.Info}),"function"==typeof t&&(this._markers=this._markers.filter((e=>this._resourceFilter(e.resource)))),this._markers.sort(e._compareMarker)};i(),this._dispoables.add(n.onMarkerChanged((e=>{this._resourceFilter&&!e.some((e=>this._resourceFilter(e)))||(i(),this._nextIdx=-1,this._onDidChange.fire())})))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!(!this._resourceFilter||!e)&&this._resourceFilter(e)}get selected(){const e=this._markers[this._nextIdx];return e&&new fc(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,n){let i=!1,o=this._markers.findIndex((t=>t.resource.toString()===e.uri.toString()));o<0&&(o=(0,zo.binarySearch)(this._markers,{resource:e.uri},((e,t)=>(0,jr.compare)(e.resource.toString(),t.resource.toString()))),o<0&&(o=~o));for(let n=o;n<this._markers.length;n++){let o=cr.Range.lift(this._markers[n]);if(o.isEmpty()){const t=e.getWordAtPosition(o.getStartPosition());t&&(o=new cr.Range(o.startLineNumber,t.startColumn,o.startLineNumber,t.endColumn))}if(t&&(o.containsPosition(t)||t.isBeforeOrEqual(o.getStartPosition()))){this._nextIdx=n,i=!0;break}if(this._markers[n].resource.toString()!==e.uri.toString())break}i||(this._nextIdx=n?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)}resetIndex(){this._nextIdx=-1}move(e,t,n){if(0===this._markers.length)return!1;let i=this._nextIdx;return-1===this._nextIdx?this._initIdx(t,n,e):e?this._nextIdx=(this._nextIdx+1)%this._markers.length:e||(this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length),i!==this._nextIdx}find(e,t){let n=this._markers.findIndex((t=>t.resource.toString()===e.toString()));if(!(n<0))for(;n<this._markers.length;n++)if(cr.Range.containsPosition(this._markers[n],t))return new fc(this._markers[n],n+1,this._markers.length)}static _compareMarker(e,t){let n=(0,jr.compare)(e.resource.toString(),t.resource.toString());return 0===n&&(n=Ps.MarkerSeverity.compare(e.severity,t.severity)),0===n&&(n=cr.Range.compareRangesUsingStarts(e,t)),n}};bc=gc([mc(1,Ps.IMarkerService)],bc);const vc=(0,vs.createDecorator)("IMarkerNavigationService");let _c=class{constructor(e){this._markerService=e,this._provider=new pc.LinkedList}getMarkerList(e){for(let t of this._provider){const n=t.getMarkerList(e);if(n)return n}return new bc(e,this._markerService)}};_c=gc([mc(0,Ps.IMarkerService)],_c),(0,ga.registerSingleton)(vc,_c,!0);var wc=n(87297),yc=function(e,t){return function(n,i){t(n,i,e)}},Ac=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Cc=class e{constructor(e,t,n,i,o){this._markerNavigationService=t,this._contextKeyService=n,this._editorService=i,this._instantiationService=o,this._sessionDispoables=new ar.DisposableStore,this._editor=e,this._widgetVisible=kc.bindTo(this._contextKeyService)}static get(t){return t.getContribution(e.ID)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(e){if(this._model&&this._model.matches(e))return this._model;let t=!1;return this._model&&(t=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(e),t&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(rc,this._editor),this._widget.onDidClose((()=>this.close()),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition((e=>{var t,n,i;(null===(t=this._model)||void 0===t?void 0:t.selected)&&cr.Range.containsPosition(null===(n=this._model)||void 0===n?void 0:n.selected.marker,e.position)||null===(i=this._model)||void 0===i||i.resetIndex()}))),this._sessionDispoables.add(this._model.onDidChange((()=>{if(!this._widget||!this._widget.position||!this._model)return;const e=this._model.find(this._editor.getModel().uri,this._widget.position);e?this._widget.updateMarker(e.marker):this._widget.showStale()}))),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation((e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:cr.Range.lift(e).collapseToStart()}},this._editor),this.close(!1)}))),this._sessionDispoables.add(this._editor.onDidChangeModel((()=>this._cleanUp()))),this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){const t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new lr.Position(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}nagivate(t,n){return Ac(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const i=this._getOrCreateModel(n?void 0:this._editor.getModel().uri);if(i.move(t,this._editor.getModel(),this._editor.getPosition()),!i.selected)return;if(i.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const o=yield this._editorService.openCodeEditor({resource:i.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:i.selected.marker}},this._editor);o&&(e.get(o).close(),e.get(o).nagivate(t,n))}else this._widget.showAtMarker(i.selected.marker,i.selected.index,i.selected.total)}}))}};Cc.ID="editor.contrib.markerController",Cc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([yc(1,vc),yc(2,Fo.IContextKeyService),yc(3,Ir.ICodeEditorService),yc(4,vs.IInstantiationService)],Cc);class Sc extends Ro.EditorAction{constructor(e,t,n){super(n),this._next=e,this._multiFile=t}run(e,t){return Ac(this,void 0,void 0,(function*(){t.hasModel()&&Cc.get(t).nagivate(this._next,this._multiFile)}))}}class xc extends Sc{constructor(){super(!0,!1,{id:xc.ID,label:xc.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:578,weight:100},menuOpts:{menuId:rc.TitleMenu,title:xc.LABEL,icon:(0,wc.registerIcon)("marker-navigation-next",Rs.Codicon.chevronDown,No.localize("vs/editor/contrib/gotoError/gotoError","nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}xc.ID="editor.action.marker.next",xc.LABEL=No.localize("vs/editor/contrib/gotoError/gotoError","markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class Ec extends Sc{constructor(){super(!1,!1,{id:Ec.ID,label:Ec.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:1602,weight:100},menuOpts:{menuId:rc.TitleMenu,title:xc.LABEL,icon:(0,wc.registerIcon)("marker-navigation-previous",Rs.Codicon.chevronUp,No.localize("vs/editor/contrib/gotoError/gotoError","previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}Ec.ID="editor.action.marker.prev",Ec.LABEL=No.localize("vs/editor/contrib/gotoError/gotoError","markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),(0,Ro.registerEditorContribution)(Cc.ID,Cc),(0,Ro.registerEditorAction)(xc),(0,Ro.registerEditorAction)(Ec),(0,Ro.registerEditorAction)(class extends Sc{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:No.localize("vs/editor/contrib/gotoError/gotoError","markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:66,weight:100},menuOpts:{menuId:mr.MenuId.MenubarGoMenu,title:No.localize("vs/editor/contrib/gotoError/gotoError",{key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}),(0,Ro.registerEditorAction)(class extends Sc{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:No.localize("vs/editor/contrib/gotoError/gotoError","markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:1090,weight:100},menuOpts:{menuId:mr.MenuId.MenubarGoMenu,title:No.localize("vs/editor/contrib/gotoError/gotoError",{key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}});const kc=new Fo.RawContextKey("markersNavigationVisible",!1),Tc=Ro.EditorCommand.bindToContribution(Cc.get);(0,Ro.registerEditorCommand)(new Tc({id:"closeMarkersNavigation",precondition:kc,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:Mo.EditorContextKeys.focus,primary:9,secondary:[1033]}}));var Ic=function(e,t){return function(n,i){t(n,i,e)}};const Dc=_s.$;class Lc{constructor(e,t){this.range=e,this.marker=t}equals(e){return e instanceof Lc&&Ps.IMarkerData.makeKey(this.marker)===Ps.IMarkerData.makeKey(e.marker)}}const Rc={type:2,filter:{include:$r.QuickFix}};let Nc=class{constructor(e,t,n,i,o){this._editor=e,this._hover=t,this._markerDecorationsService=n,this._keybindingService=i,this._openerService=o,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel())return[];const n=this._editor.getModel(),i=e.startLineNumber,o=n.getLineMaxColumn(i),r=[];for(const s of t){const t=s.range.startLineNumber===i?s.range.startColumn:1,a=s.range.endLineNumber===i?s.range.endColumn:o,l=this._markerDecorationsService.getMarker(n.uri,s);if(!l)continue;const c=new cr.Range(e.startLineNumber,t,e.startLineNumber,a);r.push(new Lc(c,l))}return r}renderHoverParts(e,t){if(!e.length)return ar.Disposable.None;const n=new ar.DisposableStore;e.forEach((e=>t.appendChild(this.renderMarkerHover(e,n))));const i=1===e.length?e[0]:e.sort(((e,t)=>Ps.MarkerSeverity.compare(e.marker.severity,t.marker.severity)))[0];return t.appendChild(this.renderMarkerStatusbar(i,n)),n}renderMarkerHover(e,t){const n=Dc("div.hover-row"),i=_s.append(n,Dc("div.marker.hover-contents")),{source:o,message:r,code:s,relatedInformation:a}=e.marker;this._editor.applyFontInfo(i);const l=_s.append(i,Dc("span"));if(l.style.whiteSpace="pre-wrap",l.innerText=r,o||s)if(s&&"string"!=typeof s){const e=Dc("span");o&&(_s.append(e,Dc("span")).innerText=o);const n=_s.append(e,Dc("a.code-link"));n.setAttribute("href",s.target.toString()),t.add(_s.addDisposableListener(n,"click",(e=>{this._openerService.open(s.target),e.preventDefault(),e.stopPropagation()}))),_s.append(n,Dc("span")).innerText=s.value;const r=_s.append(i,e);r.style.opacity="0.6",r.style.paddingLeft="6px"}else{const e=_s.append(i,Dc("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=o&&s?`${o}(${s})`:o||`(${s})`}if((0,zo.isNonEmptyArray)(a))for(const{message:e,resource:n,startLineNumber:o,startColumn:r}of a){const s=_s.append(i,Dc("div"));s.style.marginTop="8px";const a=_s.append(s,Dc("a"));a.innerText=`${(0,Bs.basename)(n)}(${o}, ${r}): `,a.style.cursor="pointer",t.add(_s.addDisposableListener(a,"click",(e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(n,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:o,startColumn:r}}}).catch(Wo.onUnexpectedError)})));const l=_s.append(s,Dc("span"));l.innerText=e,this._editor.applyFontInfo(l)}return n}renderMarkerStatusbar(e,t){const n=Dc("div.hover-row.status-bar"),i=_s.append(n,Dc("div.actions"));if(e.marker.severity!==Ps.MarkerSeverity.Error&&e.marker.severity!==Ps.MarkerSeverity.Warning&&e.marker.severity!==Ps.MarkerSeverity.Info||t.add(this.renderAction(i,{label:No.localize("vs/editor/contrib/hover/markerHoverParticipant","peek problem","Peek Problem"),commandId:xc.ID,run:()=>{this._hover.hide(),Cc.get(this._editor).showAtMarker(e.marker),this._editor.focus()}})),!this._editor.getOption(75)){const n=_s.append(i,Dc("div"));this.recentMarkerCodeActionsInfo&&(Ps.IMarkerData.makeKey(this.recentMarkerCodeActionsInfo.marker)===Ps.IMarkerData.makeKey(e.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(n.textContent=No.localize("vs/editor/contrib/hover/markerHoverParticipant","noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);const o=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?ar.Disposable.None:t.add((0,sr.disposableTimeout)((()=>n.textContent=No.localize("vs/editor/contrib/hover/markerHoverParticipant","checkingForQuickFixes","Checking for quick fixes...")),200));n.textContent||(n.textContent=String.fromCharCode(160));const r=this.getCodeActions(e.marker);t.add((0,ar.toDisposable)((()=>r.cancel()))),r.then((r=>{if(o.dispose(),this.recentMarkerCodeActionsInfo={marker:e.marker,hasCodeActions:r.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions)return r.dispose(),void(n.textContent=No.localize("vs/editor/contrib/hover/markerHoverParticipant","noQuickFixes","No quick fixes available"));n.style.display="none";let s=!1;t.add((0,ar.toDisposable)((()=>{s||r.dispose()}))),t.add(this.renderAction(i,{label:No.localize("vs/editor/contrib/hover/markerHoverParticipant","quick fixes","Quick Fix..."),commandId:Js.Id,run:e=>{s=!0;const t=Qs.get(this._editor),n=_s.getDomNodePagePosition(e);this._hover.hide(),t.showCodeActions(Rc,r,{x:n.left+6,y:n.top+n.height+6})}}))}))}return n}renderAction(e,t){const n=this._keybindingService.lookupKeybinding(t.commandId);return Ya(e,t,n?n.getLabel():null)}getCodeActions(e){return(0,sr.createCancelablePromise)((t=>us(this._editor.getModel(),new cr.Range(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),Rc,ts.Progress.None,t)))}};Nc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Ic(2,$a.IMarkerDecorationsService),Ic(3,As.IKeybindingService),Ic(4,Ja.IOpenerService)],Nc);var Mc=n(94264),Oc=n(55202);let Pc;!function e(t,n,i){function o(s,a){if(!n[s]){if(!t[s]){if(r)return r(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){return o(t[s][1][e]||e)}),c,c.exports,e,t,n,i)}return n[s].exports}for(var r=void 0,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(e,t,n){var i=e("./toMap");t.exports={uris:i(["background","base","cite","href","longdesc","src","usemap"])}},{"./toMap":10}],2:[function(e,t,n){t.exports={allowedAttributes:{"*":["title","accesskey"],a:["href","name","target","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"],filter:null}},{}],3:[function(e,t,n){var i=e("./toMap");t.exports={voids:i(["area","br","col","hr","img","wbr","input","base","basefont","link","meta"])}},{"./toMap":10}],4:[function(e,t,n){e("he");var i=e("assignment"),o=e("./parser"),r=e("./sanitizer"),s=e("./defaults");function a(e,t,n){var a=[],l=!0===n?t:i({},s,t),c=r(a,l);return o(e,c),a.join("")}a.defaults=s,t.exports=a,Pc=a},{"./defaults":2,"./parser":7,"./sanitizer":8,assignment:6,he:9}],5:[function(e,t,n){t.exports=function(e){return"string"==typeof e?e.toLowerCase():e}},{}],6:[function(e,t,n){t.exports=function e(t){for(var n,i,o=Array.prototype.slice.call(arguments,1);o.length;)for(i in n=o.shift())n.hasOwnProperty(i)&&("[object Object]"===Object.prototype.toString.call(t[i])?t[i]=e(t[i],n[i]):t[i]=n[i]);return t}},{}],7:[function(e,t,n){var i=e("he"),o=e("./lowercase"),r=(e("./attributes"),e("./elements")),s=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,a=/^<\s*\/\s*([\w:-]+)[^>]*>/,l=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,c=/^</,d=/^<\s*\//;t.exports=function(e,t){for(var n,h=function(){var e=[];return e.lastItem=function(){return e[e.length-1]},e}(),u=e;e;)p();function p(){var i;n=!0,"\x3c!--"===e.substr(0,4)?(i=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,i)),e=e.substring(i+3),n=!1):d.test(e)?g(a,f):c.test(e)&&g(s,m),function(){if(n){var i,o=e.indexOf("<");o>=0?(i=e.substring(0,o),e=e.substring(o)):(i=e,e=""),t.chars&&t.chars(i)}}();var o=e===u;u=e,o&&(e="")}function g(t,i){var o=e.match(t);o&&(e=e.substring(o[0].length),o[0].replace(t,i),n=!1)}function m(e,n,s,a){var c={},d=o(n),u=r.voids[d]||!!a;s.replace(l,(function(e,t,n,o,r){c[t]=void 0===n&&void 0===o&&void 0===r?void 0:i.decode(n||o||r||"")})),u||h.push(d),t.start&&t.start(d,c,u)}function f(e,n){var i,r=0,s=o(n);if(s)for(r=h.length-1;r>=0&&h[r]!==s;r--);if(r>=0){for(i=h.length-1;i>=r;i--)t.end&&t.end(h[i]);h.length=r}}f()}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(e,t,n){var i=e("he"),o=e("./lowercase"),r=e("./attributes"),s=e("./elements");t.exports=function(e,t){var n,a=t||{};return d(),{start:function(e,t,s){var d=o(e);n.ignoring?c(d):-1!==(a.allowedTags||[]).indexOf(d)&&(!a.filter||a.filter({tag:d,attrs:t}))?(l("<"),l(d),Object.keys(t).forEach((function(e){var n=t[e],s=(a.allowedClasses||{})[d]||[],c=(a.allowedAttributes||{})[d]||[];c=c.concat((a.allowedAttributes||{})["*"]||[]);var h=o(e);("class"===h&&-1===c.indexOf(h)?(n=n.split(" ").filter((function(e){return s&&-1!==s.indexOf(e)})).join(" ").trim()).length:-1!==c.indexOf(h)&&(!0!==r.uris[h]||function(e){var t=e[0];if("#"===t||"/"===t)return!0;var n=e.indexOf(":");if(-1===n)return!0;var i=e.indexOf("?");if(-1!==i&&n>i)return!0;var o=e.indexOf("#");return-1!==o&&n>o||a.allowedSchemes.some((function(t){return 0===e.indexOf(t+":")}))}(n)))&&(l(" "),l(e),"string"==typeof n&&(l('="'),l(i.encode(n)),l('"')))})),l(s?"/>":">")):c(d)},end:function(e){var t=o(e);-1!==(a.allowedTags||[]).indexOf(t)&&!1===n.ignoring?(l("</"),l(t),l(">")):function(e){n.ignoring===e&&--n.depth<=0&&d()}(t)},chars:function(e){!1===n.ignoring&&l(a.transformText?a.transformText(e):e)}};function l(t){e.push(t)}function c(e){s.voids[e]||(!1===n.ignoring?n={ignoring:e,depth:1}:n.ignoring===e&&n.depth++)}function d(){n={ignoring:!1,depth:0}}}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(e,t,n){var i={"&":"&","<":"<",">":">",'"':""","'":"'"},o={"&":"&","<":"<",">":">",""":'"',"'":"'"},r=/(&|<|>|"|')/g,s=/[&<>"']/g;function a(e){return i[e]}function l(e){return o[e]}function c(e){return null==e?"":String(e).replace(s,a)}function d(e){return null==e?"":String(e).replace(r,l)}c.options=d.options={},t.exports={encode:c,escape:c,decode:d,unescape:d,version:"1.0.0-browser"}},{}],10:[function(e,t,n){function i(e,t){return e[t]=!0,e}t.exports=function(e){return e.reduce(i,{})}},{}]},{},[4]);var Fc,zc=Pc,Bc=n(61098),Wc=n(5642);const Uc=null===(Fc=window.trustedTypes)||void 0===Fc?void 0:Fc.createPolicy("insane",{createHTML:(e,t)=>zc(e,t)});function Hc(e,t={},n={}){var i;const o=(0,Mc.createElement)(t),r=function(t){let n;try{n=(0,Bc.parse)(decodeURIComponent(t))}catch(e){}return n?(n=(0,rl.cloneAndChange)(n,(t=>e.uris&&e.uris[t]?qr.URI.revive(e.uris[t]):void 0)),encodeURIComponent(JSON.stringify(n))):t},s=function(t,n){const i=e.uris&&e.uris[t];if(!i)return t;let o=qr.URI.revive(i);return qr.URI.parse(t).toString()===o.toString()?t:n?Xa.FileAccess.asBrowserUri(o).toString(!0):(o.query&&(o=o.with({query:r(o.query)})),o.toString())};let a;const l=new Promise((e=>a=e)),c=new Oc.Renderer;c.image=(e,n,i)=>{let o=[],r=[];if(e){({href:e,dimensions:o}=Qo(e)),e=s(e,!0);try{const n=qr.URI.parse(e);t.baseUrl&&n.scheme===Xa.Schemas.file&&(e=(0,Bs.resolvePath)(t.baseUrl,e).toString())}catch(e){}r.push(`src="${e}"`)}return i&&r.push(`alt="${i}"`),n&&r.push(`title="${n}"`),o.length&&(r=r.concat(o)),"<img "+r.join(" ")+">"},c.link=(n,i,o)=>(n===o&&(o=Go(o)),n=s(n,!1),t.baseUrl&&(/^\w[\w\d+.-]*:/.test(n)||(n=(0,Bs.resolvePath)(t.baseUrl,n).toString())),i=Go(i),!(n=Go(n))||n.match(/^data:|javascript:/i)||n.match(/^command:/i)&&!e.isTrusted||n.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?o:`<a href="#" data-href="${n=n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}" title="${i||n}">${o}</a>`),c.paragraph=t=>(e.supportThemeIcons&&(t=(0,ca.renderLabelWithIcons)(t).map((e=>"string"==typeof e?e:e.outerHTML)).join("")),`<p>${t}</p>`),t.codeBlockRenderer&&(c.code=(e,n)=>{const i=t.codeBlockRenderer(n,e),r=hl.defaultGenerator.nextId(),s=Promise.all([i,l]).then((e=>{const t=o.querySelector(`div[data-code="${r}"]`);t&&_s.reset(t,e[0])})).catch((e=>{}));return t.asyncRenderCallback&&s.then(t.asyncRenderCallback),`<div class="code" data-code="${r}">${(0,jr.escape)(e)}</div>`}),t.actionHandler&&t.actionHandler.disposeables.add(Is.Event.any((0,_l.domEvent)(o,"click"),(0,_l.domEvent)(o,"auxclick"))((e=>{const n=new Wc.StandardMouseEvent(e);if(!n.leftButton&&!n.middleButton)return;let i=n.target;if("A"===i.tagName||(i=i.parentElement,i&&"A"===i.tagName))try{const e=i.dataset.href;e&&t.actionHandler.callback(e,n)}catch(e){(0,Wo.onUnexpectedError)(e)}finally{n.preventDefault()}}))),n.sanitizer=t=>(e.isTrusted?t.match(/^(<span[^>]+>)|(<\/\s*span>)$/):void 0)?t:"",n.sanitize=!0,n.silent=!0,n.renderer=c;let d=null!==(i=e.value)&&void 0!==i?i:"";d.length>1e5&&(d=`${d.substr(0,1e5)}…`),e.supportThemeIcons&&(d=(0,Bo.markdownEscapeEscapedIcons)(d));const h=Oc.parse(d,n);if(o.innerHTML=function(e,t){var n;const i=function(e){const t=[Xa.Schemas.http,Xa.Schemas.https,Xa.Schemas.mailto,Xa.Schemas.data,Xa.Schemas.file,Xa.Schemas.vscodeRemote,Xa.Schemas.vscodeRemoteResource];return e.isTrusted&&t.push(Xa.Schemas.command),{allowedSchemes:t,allowedTags:["ul","li","p","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],allowedAttributes:{a:["href","name","target","data-href"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class","style"],th:["align"],td:["align"]},filter:t=>!("span"===t.tag&&e.isTrusted&&(t.attrs.style&&1===Object.keys(t.attrs).length?!t.attrs.style.match(/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/):!t.attrs.class||!t.attrs.class.match(/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/)))}}(e);return null!==(n=null==Uc?void 0:Uc.createHTML(t,i))&&void 0!==n?n:zc(t,i)}(e,h),a(),t.asyncRenderCallback)for(const e of o.getElementsByTagName("img")){const n=_s.addDisposableListener(e,"load",(()=>{n.dispose(),t.asyncRenderCallback()}))}return o}var Vc,jc=n(14359),Kc=function(e,t){return function(n,i){t(n,i,e)}};let qc=class e{constructor(e,t,n){this._options=e,this._modeService=t,this._openerService=n,this._onDidRenderAsync=new Is.Emitter,this.onDidRenderAsync=this._onDidRenderAsync.event}dispose(){this._onDidRenderAsync.dispose()}render(e,t,n){const i=new ar.DisposableStore;let o;return o=e?Hc(e,Object.assign(Object.assign({},this._getRenderOptions(i)),t),n):document.createElement("span"),{element:o,dispose:()=>i.dispose()}}_getRenderOptions(t){return{baseUrl:this._options.baseUrl,codeBlockRenderer:(t,n)=>{return i=this,o=void 0,s=function*(){var i,o,r,s;let a;t?a=this._modeService.getModeIdForLanguageName(t):this._options.editor&&(a=null===(i=this._options.editor.getModel())||void 0===i?void 0:i.getLanguageIdentifier().language),a||(a="plaintext"),this._modeService.triggerMode(a);const l=null!==(o=yield Qr.TokenizationRegistry.getPromise(a))&&void 0!==o?o:void 0,c=document.createElement("span");c.innerHTML=null!==(s=null===(r=e._ttpTokenizer)||void 0===r?void 0:r.createHTML(n,l))&&void 0!==s?s:(0,jc.tokenizeToString)(n,l);let d=this._options.codeBlockFontFamily;return this._options.editor&&(d=this._options.editor.getOption(38).fontFamily),d&&(c.style.fontFamily=d),c},new((r=void 0)||(r=Promise))((function(e,t){function n(e){try{l(s.next(e))}catch(e){t(e)}}function a(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var i;t.done?e(t.value):(i=t.value,i instanceof r?i:new r((function(e){e(i)}))).then(n,a)}l((s=s.apply(i,o||[])).next())}));var i,o,r,s},asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:e=>this._openerService.open(e,{fromUserGesture:!0,allowContributedOpeners:!0}).catch(Wo.onUnexpectedError),disposeables:t}}}};function Gc(e,t,n){const i=Qr.HoverProviderRegistry.ordered(e).map((i=>Promise.resolve(i.provideHover(e,t,n)).then((e=>e&&function(e){const t=void 0!==e.range,n=void 0!==e.contents&&e.contents&&e.contents.length>0;return t&&n}(e)?e:void 0),(e=>{(0,Wo.onUnexpectedExternalError)(e)}))));return Promise.all(i).then(zo.coalesce)}qc._ttpTokenizer=null===(Vc=window.trustedTypes)||void 0===Vc?void 0:Vc.createPolicy("tokenizeToString",{createHTML:(e,t)=>(0,jc.tokenizeToString)(e,t)}),qc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Kc(1,Ra.IModeService),Kc(2,Ja.IOpenerService)],qc),(0,Ro.registerModelAndPositionCommand)("_executeHoverProvider",((e,t)=>Gc(e,t,Hr.CancellationToken.None)));var Qc=function(e,t){return function(n,i){t(n,i,e)}};const Yc=_s.$;class $c{constructor(e,t){this.range=e,this.contents=t}equals(e){return e instanceof $c&&jo(this.contents,e.contents)}}let Jc=class{constructor(e,t,n,i){this._editor=e,this._hover=t,this._modeService=n,this._openerService=i}createLoadingMessage(e){return new $c(e,[(new Uo).appendText(No.localize("vs/editor/contrib/hover/markdownHoverParticipant","modesContentHover.loading","Loading..."))])}computeSync(e,t){if(!this._editor.hasModel())return[];const n=this._editor.getModel(),i=e.startLineNumber,o=n.getLineMaxColumn(i),r=[];for(const n of t){const t=n.range.startLineNumber===i?n.range.startColumn:1,s=n.range.endLineNumber===i?n.range.endColumn:o,a=n.options.hoverMessage;if(!a||Ho(a))continue;const l=new cr.Range(e.startLineNumber,t,e.startLineNumber,s);r.push(new $c(l,(0,zo.asArray)(a)))}return r}computeAsync(e,t){return n=this,i=void 0,r=function*(){if(!this._editor.hasModel()||!e)return Promise.resolve([]);const n=this._editor.getModel();if(!Qr.HoverProviderRegistry.has(n))return Promise.resolve([]);const i=yield Gc(n,new lr.Position(e.startLineNumber,e.startColumn),t),o=[];for(const t of i){if(Ho(t.contents))continue;const n=t.range?cr.Range.lift(t.range):e;o.push(new $c(n,t.contents))}return o},new((o=void 0)||(o=Promise))((function(e,t){function s(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(s,a)}l((r=r.apply(n,i||[])).next())}));var n,i,o,r}renderHoverParts(e,t){const n=new ar.DisposableStore;for(const i of e)for(const e of i.contents){if(Ho(e))continue;const i=Yc("div.hover-row.markdown-hover"),o=_s.append(i,Yc("div.hover-contents")),r=n.add(new qc({editor:this._editor},this._modeService,this._openerService));n.add(r.onDidRenderAsync((()=>{o.className="hover-contents code-hover-contents",this._hover.onContentsChanged()})));const s=n.add(r.render(e));o.appendChild(s.element),t.appendChild(i)}return n}};Jc=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Qc(2,Ra.IModeService),Qc(3,Ja.IOpenerService)],Jc);class Zc{constructor(e,t,n){this.range=e,this.color=t,this.provider=n}equals(e){return!1}}class Xc{constructor(e,t){this.owner=e,this.data=t}}class ed{constructor(e,t,n){this._markerHoverParticipant=t,this._markdownHoverParticipant=n,this._editor=e,this._result=[],this._range=null}setRange(e){this._range=e,this._result=[]}clearResult(){this._result=[]}computeAsync(e){return t=this,n=void 0,o=function*(){return this._editor.hasModel()&&this._range?(yield this._markdownHoverParticipant.computeAsync(this._range,e)).map((e=>new Xc(this._markdownHoverParticipant,e))):Promise.resolve([])},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}l((o=o.apply(t,n||[])).next())}));var t,n,i,o}computeSync(){if(!this._editor.hasModel()||!this._range)return[];const e=this._editor.getModel(),t=this._range,n=t.startLineNumber;if(n>this._editor.getModel().getLineCount())return[];const i=e.getLineMaxColumn(n),o=this._editor.getLineDecorations(n).filter((e=>{const o=e.range.startLineNumber===n?e.range.startColumn:1,r=e.range.endLineNumber===n?e.range.endColumn:i;return!(o>t.startColumn||t.endColumn>r)}));let r=[];const s=La.get(this._editor);for(const e of o){const t=s.getColorData(e.range.getStartPosition());if(t){const{color:e,range:n}=t.colorInfo;r.push(new Xc(null,new Zc(cr.Range.lift(n),e,t.provider)));break}}const a=this._markdownHoverParticipant.computeSync(this._range,o);r=r.concat(a.map((e=>new Xc(this._markdownHoverParticipant,e))));const l=this._markerHoverParticipant.computeSync(this._range,o);return r=r.concat(l.map((e=>new Xc(this._markerHoverParticipant,e)))),(0,zo.coalesce)(r)}onResult(e,t){this._result=t?e.concat(this._result):this._result.concat(e)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){if(this._range){const e=new Xc(this._markdownHoverParticipant,this._markdownHoverParticipant.createLoadingMessage(this._range));return this._result.slice(0).concat([e])}return this._result.slice(0)}}class td extends Oa.Widget{constructor(e,t,n,i){super(),this._hoverVisibleKey=t,this._themeService=i,this.allowEditorOverflow=!0,this._markerHoverParticipant=n.createInstance(Nc,e,this),this._markdownHoverParticipant=n.createInstance(Jc,e,this),this._hover=this._register(new Qa),this._id=td.ID,this._editor=e,this._isVisible=!1,this._stoleFocus=!1,this._renderDisposable=null,this.onkeydown(this._hover.containerDomNode,(e=>{e.equals(9)&&this.hide()})),this._register(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(38)&&this._updateFont()}))),this._editor.onDidLayoutChange((()=>this.layout())),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1,this._messages=[],this._lastRange=null,this._computer=new ed(this._editor,this._markerHoverParticipant,this._markdownHoverParticipant),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._hoverOperation=new ja(this._computer,(e=>this._withResult(e,!0)),null,(e=>this._withResult(e,!1)),this._editor.getOption(48).delay),this._register(_s.addStandardDisposableListener(this.getDomNode(),_s.EventType.FOCUS,(()=>{this._colorPicker&&this.getDomNode().classList.add("colorpicker-hover")}))),this._register(_s.addStandardDisposableListener(this.getDomNode(),_s.EventType.BLUR,(()=>{this.getDomNode().classList.remove("colorpicker-hover")}))),this._register(e.onDidChangeConfiguration((()=>{this._hoverOperation.setHoverTime(this._editor.getOption(48).delay)}))),this._register(Qr.TokenizationRegistry.onDidChange((()=>{this._isVisible&&this._lastRange&&this._messages.length>0&&(this._messages=this._messages.map((e=>{var t,n;if(e.data instanceof Zc&&(null===(t=this._lastRange)||void 0===t?void 0:t.intersectRanges(e.data.range))&&(null===(n=this._colorPicker)||void 0===n?void 0:n.model.color)){const t=this._colorPicker.model.color,n={red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a};return new Xc(e.owner,new Zc(e.data.range,n,e.data.provider))}return e})),this._hover.contentsDomNode.textContent="",this._renderMessages(this._lastRange,this._messages))})))}dispose(){this._hoverOperation.cancel(),this._editor.removeContentWidget(this),super.dispose()}getId(){return this._id}getDomNode(){return this._hover.containerDomNode}showAt(e,t,n){this._showAtPosition=e,this._showAtRange=t,this._hoverVisibleKey.set(!0),this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=n,n&&this._hover.containerDomNode.focus()}getPosition(){return this._isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach((e=>this._editor.applyFontInfo(e)))}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}layout(){const e=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:t,lineHeight:n}=this._editor.getOption(38);this._hover.contentsDomNode.style.fontSize=`${t}px`,this._hover.contentsDomNode.style.lineHeight=`${n}px`,this._hover.contentsDomNode.style.maxHeight=`${e}px`,this._hover.contentsDomNode.style.maxWidth=`${Math.max(.66*this._editor.getLayoutInfo().width,500)}px`}onModelDecorationsChanged(){this._isChangingDecorations||this._isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAt(e,t,n){if(!this._lastRange||!this._lastRange.equalsRange(e)){if(this._hoverOperation.cancel(),this._isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===e.startLineNumber){let t=[];for(let n=0,i=this._messages.length;n<i;n++){const i=this._messages[n],o=i.data.range;o&&o.startColumn<=e.startColumn&&o.endColumn>=e.endColumn&&t.push(i)}if(t.length>0){if(function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].data.equals(t[n].data))return!1;return!0}(t,this._messages))return;this._renderMessages(e,t)}else this.hide()}else this.hide();this._lastRange=e,this._computer.setRange(e),this._shouldFocus=n,this._hoverOperation.start(t)}}hide(){this._lastRange=null,this._hoverOperation.cancel(),this._isVisible&&(setTimeout((()=>{this._isVisible||this._hoverVisibleKey.set(!1)}),0),this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus()),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this._renderDisposable&&(this._renderDisposable.dispose(),this._renderDisposable=null),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}onContentsChanged(){this._hover.onContentsChanged()}_withResult(e,t){this._messages=e,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):t&&this.hide()}_renderMessages(e,t){this._renderDisposable&&(this._renderDisposable.dispose(),this._renderDisposable=null),this._colorPicker=null;let n=1073741824,i=t[0].data.range?cr.Range.lift(t[0].data.range):null,o=document.createDocumentFragment(),r=!1;const s=new ar.DisposableStore,a=[],l=[];t.forEach((e=>{const t=e.data;if(t.range)if(n=Math.min(n,t.range.startColumn),i=i?cr.Range.plusRange(i,t.range):cr.Range.lift(t.range),t instanceof Zc){r=!0;const{red:e,green:n,blue:i,alpha:a}=t.color,l=new Ea.RGBA(Math.round(255*e),Math.round(255*n),Math.round(255*i),a),c=new Ea.Color(l);if(!this._editor.hasModel())return;const d=this._editor.getModel();let h=new cr.Range(t.range.startLineNumber,t.range.startColumn,t.range.endLineNumber,t.range.endColumn),u={range:t.range,color:t.color};const p=new Na(c,[],0),g=new Va(o,p,this._editor.getOption(122),this._themeService);Ta(d,u,t.provider,Hr.CancellationToken.None).then((e=>{if(p.colorPresentations=e||[],!this._editor.hasModel())return;const n=this._editor.getModel().getValueInRange(t.range);p.guessColorPresentation(c,n);const i=()=>{let e,t;if(p.presentation.textEdit){e=[p.presentation.textEdit],t=new cr.Range(p.presentation.textEdit.range.startLineNumber,p.presentation.textEdit.range.startColumn,p.presentation.textEdit.range.endLineNumber,p.presentation.textEdit.range.endColumn);const n=this._editor.getModel()._setTrackedRange(null,t,3);this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",e),t=this._editor.getModel()._getTrackedRange(n)||t}else e=[{identifier:null,range:h,text:p.presentation.label,forceMoveMarkers:!1}],t=h.setEndPosition(h.endLineNumber,h.startColumn+p.presentation.label.length),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",e);p.presentation.additionalTextEdits&&(e=[...p.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",e),this.hide()),this._editor.pushUndoStop(),h=t},r=e=>Ta(d,{range:h,color:{red:e.rgba.r/255,green:e.rgba.g/255,blue:e.rgba.b/255,alpha:e.rgba.a}},t.provider,Hr.CancellationToken.None).then((e=>{p.colorPresentations=e||[]})),a=p.onColorFlushed((e=>{r(e).then(i)})),l=p.onDidChangeColor(r);this._colorPicker=g,this.showAt(h.getStartPosition(),h,this._shouldFocus),this._updateContents(o),this._colorPicker.layout(),this._renderDisposable=(0,ar.combinedDisposable)(a,l,g,s)}))}else t instanceof Lc?a.push(t):t instanceof $c&&l.push(t)})),l.length>0&&s.add(this._markdownHoverParticipant.renderHoverParts(l,o)),a.length&&s.add(this._markerHoverParticipant.renderHoverParts(a,o)),this._renderDisposable=s,!r&&o.hasChildNodes()&&(this.showAt(new lr.Position(e.startLineNumber,n),i,this._shouldFocus),this._updateContents(o)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,i?[{range:i,options:td._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1}}td.ID="editor.contrib.modesContentHoverWidget",td._DECORATION_OPTIONS=hr.ModelDecorationOptions.register({className:"hoverHighlight"}),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.textLinkForeground);n&&t.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${n}; }`)}));class nd extends Oa.Widget{constructor(e,t){super(),this._id=e,this._editor=t,this._isVisible=!1,this._domNode=document.createElement("div"),this._domNode.className="monaco-hover hidden",this._domNode.setAttribute("aria-hidden","true"),this._domNode.setAttribute("role","tooltip"),this._showAtLineNumber=-1,this._register(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(38)&&this.updateFont()}))),this._editor.addOverlayWidget(this)}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,this._domNode.classList.toggle("hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._domNode}showAt(e){this._showAtLineNumber=e,this.isVisible||(this.isVisible=!0);const t=this._editor.getLayoutInfo(),n=this._editor.getTopForLineNumber(this._showAtLineNumber),i=this._editor.getScrollTop(),o=this._editor.getOption(53),r=n-i-(this._domNode.clientHeight-o)/2;this._domNode.style.left=`${t.glyphMarginLeft+t.glyphMarginWidth}px`,this._domNode.style.top=`${Math.max(Math.round(r),0)}px`}hide(){this.isVisible&&(this.isVisible=!1)}getPosition(){return null}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}updateFont(){[...Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),...Array.prototype.slice.call(this._domNode.getElementsByClassName("code"))].forEach((e=>this._editor.applyFontInfo(e)))}updateContents(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont()}}class id{constructor(e){this._editor=e,this._lineNumber=-1,this._result=[]}setLineNumber(e){this._lineNumber=e,this._result=[]}clearResult(){this._result=[]}computeSync(){const e=e=>({value:e}),t=this._editor.getLineDecorations(this._lineNumber),n=[];if(!t)return n;for(const i of t){if(!i.options.glyphMarginClassName)continue;const t=i.options.glyphMarginHoverMessage;t&&!Ho(t)&&n.push(...(0,zo.asArray)(t).map(e))}return n}onResult(e,t){this._result=this._result.concat(e)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class od extends nd{constructor(e,t,n=Ja.NullOpenerService){super(od.ID,e),this._renderDisposeables=this._register(new ar.DisposableStore),this._messages=[],this._lastLineNumber=-1,this._markdownRenderer=this._register(new qc({editor:this._editor},t,n)),this._computer=new id(this._editor),this._hoverOperation=new ja(this._computer,(e=>this._withResult(e)),void 0,(e=>this._withResult(e)),300)}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(e){this._lastLineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=e,this._computer.setLineNumber(e),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),super.hide()}_withResult(e){this._messages=e,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()}_renderMessages(e,t){this._renderDisposeables.clear();const n=document.createDocumentFragment();for(const e of t){const t=this._markdownRenderer.render(e.value);this._renderDisposeables.add(t),n.appendChild((0,_s.$)("div.hover-row",void 0,t.element))}this.updateContents(n),this.showAt(e)}}od.ID="editor.contrib.modesGlyphHoverWidget";var rd=n(28674),sd=(Do()(rd.Z,{insert:"head",singleton:!1}),rd.Z.locals,function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))});function ad(e,t,n,i){const o=n.ordered(e).map((n=>Promise.resolve(i(n,e,t)).then(void 0,(e=>{(0,Wo.onUnexpectedExternalError)(e)}))));return Promise.all(o).then((e=>{const t=[];for(let n of e)Array.isArray(n)?t.push(...n):n&&t.push(n);return t}))}function ld(e,t,n){return ad(e,t,Qr.DefinitionProviderRegistry,((e,t,i)=>e.provideDefinition(t,i,n)))}function cd(e,t,n){return ad(e,t,Qr.DeclarationProviderRegistry,((e,t,i)=>e.provideDeclaration(t,i,n)))}function dd(e,t,n){return ad(e,t,Qr.ImplementationProviderRegistry,((e,t,i)=>e.provideImplementation(t,i,n)))}function hd(e,t,n){return ad(e,t,Qr.TypeDefinitionProviderRegistry,((e,t,i)=>e.provideTypeDefinition(t,i,n)))}function ud(e,t,n,i){return ad(e,t,Qr.ReferenceProviderRegistry,((e,t,o)=>sd(this,void 0,void 0,(function*(){const r=yield e.provideReferences(t,o,{includeDeclaration:!0},i);if(!n||!r||2!==r.length)return r;const s=yield e.provideReferences(t,o,{includeDeclaration:!1},i);return s&&1===s.length?s:r}))))}(0,Ro.registerModelAndPositionCommand)("_executeDefinitionProvider",((e,t)=>ld(e,t,Hr.CancellationToken.None))),(0,Ro.registerModelAndPositionCommand)("_executeDeclarationProvider",((e,t)=>cd(e,t,Hr.CancellationToken.None))),(0,Ro.registerModelAndPositionCommand)("_executeImplementationProvider",((e,t)=>dd(e,t,Hr.CancellationToken.None))),(0,Ro.registerModelAndPositionCommand)("_executeTypeDefinitionProvider",((e,t)=>hd(e,t,Hr.CancellationToken.None))),(0,Ro.registerModelAndPositionCommand)("_executeReferenceProvider",((e,t)=>ud(e,t,!1,Hr.CancellationToken.None)));var pd=n(43999),gd=n(62126);class md{constructor(e,t,n,i,o){this.isProviderFirst=e,this.parent=t,this.uri=n,this._range=i,this._rangeCallback=o,this.id=hl.defaultGenerator.nextId()}get range(){return this._range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e;const t=null===(e=this.parent.getPreview(this))||void 0===e?void 0:e.preview(this.range);return t?(0,No.localize)("vs/editor/contrib/gotoSymbol/referencesModel",{key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"symbol in {0} on line {1} at column {2}, {3}",(0,Bs.basename)(this.uri),this.range.startLineNumber,this.range.startColumn,t.value):(0,No.localize)("vs/editor/contrib/gotoSymbol/referencesModel","aria.oneReference","symbol in {0} on line {1} at column {2}",(0,Bs.basename)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class fd{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const n=this._modelReference.object.textEditorModel;if(!n)return;const{startLineNumber:i,startColumn:o,endLineNumber:r,endColumn:s}=e,a=n.getWordUntilPosition({lineNumber:i,column:o-t}),l=new cr.Range(i,a.startColumn,i,o),c=new cr.Range(r,s,r,1073741824),d=n.getValueInRange(l).replace(/^\s+/,""),h=n.getValueInRange(e);return{value:d+h+n.getValueInRange(c).replace(/\s+$/,""),highlight:{start:d.length,end:d.length+h.length}}}}class bd{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new ma.ResourceMap}dispose(){(0,ar.dispose)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){const e=this.children.length;return 1===e?(0,No.localize)("vs/editor/contrib/gotoSymbol/referencesModel","aria.fileReferences.1","1 symbol in {0}, full path {1}",(0,Bs.basename)(this.uri),this.uri.fsPath):(0,No.localize)("vs/editor/contrib/gotoSymbol/referencesModel","aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,(0,Bs.basename)(this.uri),this.uri.fsPath)}resolve(e){return t=this,n=void 0,o=function*(){if(0!==this._previews.size)return this;for(let t of this.children)if(!this._previews.has(t.uri))try{const n=yield e.createModelReference(t.uri);this._previews.set(t.uri,new fd(n))}catch(e){(0,Wo.onUnexpectedError)(e)}return this},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}l((o=o.apply(t,n||[])).next())}));var t,n,i,o}}class vd{constructor(e,t){this._disposables=new ar.DisposableStore,this.groups=[],this.references=[],this._onDidChangeReferenceRange=new Is.Emitter,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;const[n]=e;let i;e.sort(vd._compareReferences);for(let t of e)if(i&&Bs.extUri.isEqual(i.uri,t.uri,!0)||(i=new bd(this,t.uri),this.groups.push(i)),0===i.children.length||0!==vd._compareReferences(t,i.children[i.children.length-1])){const e=new md(n===t,i,t.uri,t.targetSelectionRange||t.range,(e=>this._onDidChangeReferenceRange.fire(e)));this.references.push(e),i.children.push(e)}}dispose(){(0,ar.dispose)(this.groups),this._disposables.dispose(),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new vd(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?(0,No.localize)("vs/editor/contrib/gotoSymbol/referencesModel","aria.result.0","No results found"):1===this.references.length?(0,No.localize)("vs/editor/contrib/gotoSymbol/referencesModel","aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?(0,No.localize)("vs/editor/contrib/gotoSymbol/referencesModel","aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):(0,No.localize)("vs/editor/contrib/gotoSymbol/referencesModel","aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let{parent:n}=e,i=n.children.indexOf(e),o=n.children.length,r=n.parent.groups.length;return 1===r||t&&i+1<o||!t&&i>0?(i=t?(i+1)%o:(i+o-1)%o,n.children[i]):(i=n.parent.groups.indexOf(n),t?(i=(i+1)%r,n.parent.groups[i].children[0]):(i=(i+r-1)%r,n.parent.groups[i].children[n.parent.groups[i].children.length-1]))}nearestReference(e,t){const n=this.references.map(((n,i)=>({idx:i,prefixLen:jr.commonPrefixLength(n.uri.toString(),e.toString()),offsetDist:100*Math.abs(n.range.startLineNumber-t.lineNumber)+Math.abs(n.range.startColumn-t.column)}))).sort(((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLen<t.prefixLen?1:e.offsetDist<t.offsetDist?-1:e.offsetDist>t.offsetDist?1:0))[0];if(n)return this.references[n.idx]}referenceAt(e,t){for(const n of this.references)if(n.uri.toString()===e.toString()&&cr.Range.containsPosition(n.range,t))return n}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return Bs.extUri.compare(e.uri,t.uri)||cr.Range.compareRangesUsingStarts(e.range,t.range)}}var _d=n(46370),wd=(Do()(_d.Z,{insert:"head",singleton:!1}),_d.Z.locals,n(74838)),yd=n(66218),Ad=n(53503),Cd=n(27017),Sd=n(6360),xd=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ed=function(e,t){return function(n,i){t(n,i,e)}};let kd=class{constructor(e){this._resolverService=e}hasChildren(e){return e instanceof vd||e instanceof bd}getChildren(e){if(e instanceof vd)return e.groups;if(e instanceof bd)return e.resolve(this._resolverService).then((e=>e.children));throw new Error("bad tree")}};kd=xd([Ed(0,pd.ITextModelService)],kd);class Td{getHeight(){return 23}getTemplateId(e){return e instanceof bd?Rd.id:Md.id}}let Id=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){var t;if(e instanceof md){const n=null===(t=e.parent.getPreview(e))||void 0===t?void 0:t.preview(e.range);if(n)return n.value}return(0,Bs.basename)(e.uri)}};Id=xd([Ed(0,As.IKeybindingService)],Id);class Dd{getId(e){return e instanceof md?e.id:e.uri}}let Ld=class extends ar.Disposable{constructor(e,t,n){super(),this._uriLabel=t;const i=document.createElement("div");i.classList.add("reference-file"),this.file=this._register(new wd.IconLabel(i,{supportHighlights:!0})),this.badge=new yd.CountBadge(_s.append(i,_s.$(".count"))),this._register((0,Ad.attachBadgeStyler)(this.badge,n)),e.appendChild(i)}set(e,t){let n=(0,Bs.dirname)(e.uri);this.file.setLabel(tl(e.uri),this._uriLabel.getUriLabel(n,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t});const i=e.children.length;this.badge.setCount(i),i>1?this.badge.setTitleFormat((0,No.localize)("vs/editor/contrib/gotoSymbol/peek/referencesTree","referencesCount","{0} references",i)):this.badge.setTitleFormat((0,No.localize)("vs/editor/contrib/gotoSymbol/peek/referencesTree","referenceCount","{0} reference",i))}};Ld=xd([Ed(1,nc.ILabelService),Ed(2,gr.IThemeService)],Ld);let Rd=class e{constructor(t){this._instantiationService=t,this.templateId=e.id}renderTemplate(e){return this._instantiationService.createInstance(Ld,e)}renderElement(e,t,n){n.set(e.element,(0,Cd.createMatches)(e.filterData))}disposeTemplate(e){e.dispose()}};Rd.id="FileReferencesRenderer",Rd=xd([Ed(0,vs.IInstantiationService)],Rd);class Nd{constructor(e){this.label=new Sd.HighlightedLabel(e,!1)}set(e,t){var n;const i=null===(n=e.parent.getPreview(e))||void 0===n?void 0:n.preview(e.range);if(i&&i.value){const{value:e,highlight:n}=i;t&&!Cd.FuzzyScore.isDefault(t)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(e,(0,Cd.createMatches)(t))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(e,[n]))}else this.label.set(`${(0,Bs.basename)(e.uri)}:${e.range.startLineNumber+1}:${e.range.startColumn+1}`)}}class Md{constructor(){this.templateId=Md.id}renderTemplate(e){return new Nd(e)}renderElement(e,t,n){n.set(e.element,e.filterData)}disposeTemplate(){}}Md.id="OneReferenceRenderer";class Od{getWidgetAriaLabel(){return(0,No.localize)("vs/editor/contrib/gotoSymbol/peek/referencesTree","treeAriaLabel","References")}getAriaLabel(e){return e.ariaMessage}}var Pd=n(6801),Fd=n(35201),zd=(Do()(Fd.Z,{insert:"head",singleton:!1}),Fd.Z.locals,n(53719)),Bd=n(6097);const Wd={separatorBorder:Ea.Color.transparent};class Ud{constructor(e,t,n,i){this.container=e,this.view=t,this.disposable=i,this._cachedVisibleSize=void 0,"number"==typeof n?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add("visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){e!==this.visible&&(e?(this.size=(0,zd.clamp)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),this.container.classList.toggle("visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class Hd extends Ud{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}}class Vd extends Ud{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}}var jd,Kd;!function(e){e[e.Idle=0]="Idle",e[e.Busy=1]="Busy"}(jd||(jd={})),function(e){e.Distribute={type:"distribute"},e.Split=function(e){return{type:"split",index:e}},e.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}}}(Kd||(Kd={}));class qd extends ar.Disposable{constructor(e,t={}){super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=jd.Idle,this._onDidSashChange=this._register(new Is.Emitter),this.onDidSashChange=this._onDidSashChange.event,this._onDidSashReset=this._register(new Is.Emitter),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.orientation=oa.isUndefined(t.orientation)?0:t.orientation,this.inverseAltBehavior=!!t.inverseAltBehavior,this.proportionalLayout=!!oa.isUndefined(t.proportionalLayout)||!!t.proportionalLayout,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(0===this.orientation?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=(0,_s.append)(this.el,(0,_s.$)(".sash-container")),this.viewContainer=(0,_s.$)(".split-view-container"),this.scrollable=new Bd.Scrollable(125,_s.scheduleAtNextAnimationFrame),this.scrollableElement=this._register(new qa.SmoothScrollableElement(this.viewContainer,{vertical:0===this.orientation?1:2,horizontal:1===this.orientation?1:2},this.scrollable)),this._register(this.scrollableElement.onScroll((e=>{this.viewContainer.scrollTop=e.scrollTop,this.viewContainer.scrollLeft=e.scrollLeft}))),(0,_s.append)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||Wd),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach(((e,t)=>{const n=oa.isUndefined(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},i=e.view;this.doAddView(i,n,t,!0)})),this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){for(const t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){for(const t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,n=this.viewItems.length,i){this.doAddView(e,t,n,i)}layout(e,t){const n=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let t=0;t<this.viewItems.length;t++){const n=this.viewItems[t];n.size=(0,zd.clamp)(Math.round(this.proportions[t]*e),n.minimumSize,n.maximumSize)}else{const t=(0,zo.range)(this.viewItems.length),i=t.filter((e=>1===this.viewItems[e].priority)),o=t.filter((e=>2===this.viewItems[e].priority));this.resize(this.viewItems.length-1,e-n,void 0,i,o)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map((e=>e.size/this.contentSize)))}onSashStart({sash:e,start:t,alt:n}){for(const e of this.viewItems)e.enabled=!1;const i=this.sashItems.findIndex((t=>t.sash===e)),o=(0,ar.combinedDisposable)((0,_l.domEvent)(document.body,"keydown")((e=>r(this.sashDragState.current,e.altKey))),(0,_l.domEvent)(document.body,"keyup")((()=>r(this.sashDragState.current,!1)))),r=(e,t)=>{const n=this.viewItems.map((e=>e.size));let r,s,a=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(t=!t),t)if(i===this.sashItems.length-1){const e=this.viewItems[i];a=(e.minimumSize-e.size)/2,l=(e.maximumSize-e.size)/2}else{const e=this.viewItems[i+1];a=(e.size-e.maximumSize)/2,l=(e.size-e.minimumSize)/2}if(!t){const e=(0,zo.range)(i,-1),t=(0,zo.range)(i+1,this.viewItems.length),o=e.reduce(((e,t)=>e+(this.viewItems[t].minimumSize-n[t])),0),a=e.reduce(((e,t)=>e+(this.viewItems[t].viewMaximumSize-n[t])),0),l=0===t.length?Number.POSITIVE_INFINITY:t.reduce(((e,t)=>e+(n[t]-this.viewItems[t].minimumSize)),0),c=0===t.length?Number.NEGATIVE_INFINITY:t.reduce(((e,t)=>e+(n[t]-this.viewItems[t].viewMaximumSize)),0),d=Math.max(o,c),h=Math.min(l,a),u=this.findFirstSnapIndex(e),p=this.findFirstSnapIndex(t);if("number"==typeof u){const e=this.viewItems[u],t=Math.floor(e.viewMinimumSize/2);r={index:u,limitDelta:e.visible?d-t:d+t,size:e.size}}if("number"==typeof p){const e=this.viewItems[p],t=Math.floor(e.viewMinimumSize/2);s={index:p,limitDelta:e.visible?h+t:h-t,size:e.size}}}this.sashDragState={start:e,current:e,index:i,sizes:n,minDelta:a,maxDelta:l,alt:t,snapBefore:r,snapAfter:s,disposable:o}};r(t,n)}onSashChange({current:e}){const{index:t,start:n,sizes:i,alt:o,minDelta:r,maxDelta:s,snapBefore:a,snapAfter:l}=this.sashDragState;this.sashDragState.current=e;const c=e-n,d=this.resize(t,c,i,void 0,void 0,r,s,a,l);if(o){const e=t===this.sashItems.length-1,n=this.viewItems.map((e=>e.size)),i=e?t:t+1,o=this.viewItems[i],r=o.size-o.maximumSize,s=o.size-o.minimumSize,a=e?t-1:t+1;this.resize(a,-d,n,void 0,void 0,r,s)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(const e of this.viewItems)e.enabled=!0}onViewChange(e,t){const n=this.viewItems.indexOf(e);n<0||n>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=(0,zd.clamp)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([n],void 0)))}resizeView(e,t){if(this.state!==jd.Idle)throw new Error("Cant modify splitview");if(this.state=jd.Busy,e<0||e>=this.viewItems.length)return;const n=(0,zo.range)(this.viewItems.length).filter((t=>t!==e)),i=[...n.filter((e=>1===this.viewItems[e].priority)),e],o=n.filter((e=>2===this.viewItems[e].priority)),r=this.viewItems[e];t=Math.round(t),t=(0,zd.clamp)(t,r.minimumSize,Math.min(r.maximumSize,this.size)),r.size=t,this.relayout(i,o),this.state=jd.Idle}distributeViewSizes(){const e=[];let t=0;for(const n of this.viewItems)n.maximumSize-n.minimumSize>0&&(e.push(n),t+=n.size);const n=Math.floor(t/e.length);for(const t of e)t.size=(0,zd.clamp)(n,t.minimumSize,t.maximumSize);const i=(0,zo.range)(this.viewItems.length),o=i.filter((e=>1===this.viewItems[e].priority)),r=i.filter((e=>2===this.viewItems[e].priority));this.relayout(o,r)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,n=this.viewItems.length,i){if(this.state!==jd.Idle)throw new Error("Cant modify splitview");this.state=jd.Busy;const o=(0,_s.$)(".split-view-view");n===this.viewItems.length?this.viewContainer.appendChild(o):this.viewContainer.insertBefore(o,this.viewContainer.children.item(n));const r=e.onDidChange((e=>this.onViewChange(c,e))),s=(0,ar.toDisposable)((()=>this.viewContainer.removeChild(o))),a=(0,ar.combinedDisposable)(r,s);let l;l="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;const c=0===this.orientation?new Hd(o,e,l,a):new Vd(o,e,l,a);if(this.viewItems.splice(n,0,c),this.viewItems.length>1){const e=0===this.orientation?new dl.Sash(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e)},{orientation:1,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}):new dl.Sash(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e)},{orientation:0,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),t=0===this.orientation?t=>({sash:e,start:t.startY,current:t.currentY,alt:t.altKey}):t=>({sash:e,start:t.startX,current:t.currentX,alt:t.altKey}),i=Is.Event.map(e.onDidStart,t)(this.onSashStart,this),o=Is.Event.map(e.onDidChange,t)(this.onSashChange,this),r=Is.Event.map(e.onDidEnd,(()=>this.sashItems.findIndex((t=>t.sash===e))))(this.onSashEnd,this),s=e.onDidReset((()=>{const t=this.sashItems.findIndex((t=>t.sash===e)),n=(0,zo.range)(t,-1),i=(0,zo.range)(t+1,this.viewItems.length),o=this.findFirstSnapIndex(n),r=this.findFirstSnapIndex(i);("number"!=typeof o||this.viewItems[o].visible)&&("number"!=typeof r||this.viewItems[r].visible)&&this._onDidSashReset.fire(t)})),a=(0,ar.combinedDisposable)(i,o,r,s,e),l={sash:e,disposable:a};this.sashItems.splice(n-1,0,l)}let d;o.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(d=[t.index]),i||this.relayout([n],d),this.state=jd.Idle,i||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}relayout(e,t){const n=this.viewItems.reduce(((e,t)=>e+t.size),0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,n=this.viewItems.map((e=>e.size)),i,o,r=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY,a,l){if(e<0||e>=this.viewItems.length)return 0;const c=(0,zo.range)(e,-1),d=(0,zo.range)(e+1,this.viewItems.length);if(o)for(const e of o)(0,zo.pushToStart)(c,e),(0,zo.pushToStart)(d,e);if(i)for(const e of i)(0,zo.pushToEnd)(c,e),(0,zo.pushToEnd)(d,e);const h=c.map((e=>this.viewItems[e])),u=c.map((e=>n[e])),p=d.map((e=>this.viewItems[e])),g=d.map((e=>n[e])),m=c.reduce(((e,t)=>e+(this.viewItems[t].minimumSize-n[t])),0),f=c.reduce(((e,t)=>e+(this.viewItems[t].maximumSize-n[t])),0),b=0===d.length?Number.POSITIVE_INFINITY:d.reduce(((e,t)=>e+(n[t]-this.viewItems[t].minimumSize)),0),v=0===d.length?Number.NEGATIVE_INFINITY:d.reduce(((e,t)=>e+(n[t]-this.viewItems[t].maximumSize)),0),_=Math.max(m,v,r),w=Math.min(b,f,s);let y=!1;if(a){const e=this.viewItems[a.index],n=t>=a.limitDelta;y=n!==e.visible,e.setVisible(n,a.size)}if(!y&&l){const e=this.viewItems[l.index],n=t<l.limitDelta;y=n!==e.visible,e.setVisible(n,l.size)}if(y)return this.resize(e,t,n,i,o,r,s);for(let e=0,n=t=(0,zd.clamp)(t,_,w);e<h.length;e++){const t=h[e],i=(0,zd.clamp)(u[e]+n,t.minimumSize,t.maximumSize);n-=i-u[e],t.size=i}for(let e=0,n=t;e<p.length;e++){const t=p[e],i=(0,zd.clamp)(g[e]-n,t.minimumSize,t.maximumSize);n+=i-g[e],t.size=i}return t}distributeEmptySpace(e){const t=this.viewItems.reduce(((e,t)=>e+t.size),0);let n=this.size-t;const i=(0,zo.range)(this.viewItems.length-1,-1),o=i.filter((e=>1===this.viewItems[e].priority)),r=i.filter((e=>2===this.viewItems[e].priority));for(const e of r)(0,zo.pushToStart)(i,e);for(const e of o)(0,zo.pushToEnd)(i,e);"number"==typeof e&&(0,zo.pushToEnd)(i,e);for(let e=0;0!==n&&e<i.length;e++){const t=this.viewItems[i[e]],o=(0,zd.clamp)(t.size+n,t.minimumSize,t.maximumSize);n-=o-t.size,t.size=o}}layoutViews(){this.contentSize=this.viewItems.reduce(((e,t)=>e+t.size),0);let e=0;for(const t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach((e=>e.sash.layout())),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this.contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this.contentSize})}updateSashEnablement(){let e=!1;const t=this.viewItems.map((t=>e=t.size-t.minimumSize>0||e));e=!1;const n=this.viewItems.map((t=>e=t.maximumSize-t.size>0||e)),i=[...this.viewItems].reverse();e=!1;const o=i.map((t=>e=t.size-t.minimumSize>0||e)).reverse();e=!1;const r=i.map((t=>e=t.maximumSize-t.size>0||e)).reverse();let s=0;for(let e=0;e<this.sashItems.length;e++){const{sash:i}=this.sashItems[e];s+=this.viewItems[e].size;const a=!(t[e]&&r[e+1]),l=!(n[e]&&o[e+1]);if(a&&l){const n=(0,zo.range)(e,-1),r=(0,zo.range)(e+1,this.viewItems.length),a=this.findFirstSnapIndex(n),l=this.findFirstSnapIndex(r),c="number"==typeof a&&!this.viewItems[a].visible,d="number"==typeof l&&!this.viewItems[l].visible;c&&o[e]&&(s>0||this.startSnappingEnabled)?i.state=1:d&&t[e]&&(s<this.contentSize||this.endSnappingEnabled)?i.state=2:i.state=0}else i.state=a&&!l?1:!a&&l?2:3}}getSashPosition(e){let t=0;for(let n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return t;return 0}findFirstSnapIndex(e){for(const t of e){const e=this.viewItems[t];if(e.visible&&e.snap)return t}for(const t of e){const e=this.viewItems[t];if(e.visible&&e.maximumSize-e.minimumSize>0)return;if(!e.visible&&e.snap)return t}}dispose(){super.dispose(),this.viewItems.forEach((e=>e.dispose())),this.viewItems=[],this.sashItems.forEach((e=>e.disposable.dispose())),this.sashItems=[]}}var Gd=n(33461),Qd=function(e,t){return function(n,i){t(n,i,e)}},Yd=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class $d{constructor(e,t){this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new ar.DisposableStore,this._callOnModelChange=new ar.DisposableStore,this._callOnDispose.add(this._editor.onDidChangeModel((()=>this._onModelChanged()))),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const e=this._editor.getModel();if(e)for(let t of this._model.references)if(t.uri.toString()===e.uri.toString())return void this._addDecorations(t.parent)}_addDecorations(e){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations((()=>this._onDecorationChanged())));const t=[],n=[];for(let i=0,o=e.children.length;i<o;i++){let o=e.children[i];this._decorationIgnoreSet.has(o.id)||o.uri.toString()===this._editor.getModel().uri.toString()&&(t.push({range:o.range,options:$d.DecorationOptions}),n.push(i))}const i=this._editor.deltaDecorations([],t);for(let t=0;t<i.length;t++)this._decorations.set(i[t],e.children[n[t]])}_onDecorationChanged(){const e=[],t=this._editor.getModel();if(t){for(let[n,i]of this._decorations){const o=t.getDecorationRange(n);if(!o)continue;let r=!1;cr.Range.equalsRange(o,i.range)||((cr.Range.spansMultipleLines(o)||i.range.endColumn-i.range.startColumn!=o.endColumn-o.startColumn)&&(r=!0),r?(this._decorationIgnoreSet.add(i.id),e.push(n)):i.range=o)}for(let t=0,n=e.length;t<n;t++)this._decorations.delete(e[t]);this._editor.deltaDecorations(e,[])}}removeDecorations(){this._editor.deltaDecorations([...this._decorations.keys()],[]),this._decorations.clear()}}$d.DecorationOptions=hr.ModelDecorationOptions.register({stickiness:1,className:"reference-decoration"});class Jd{constructor(){this.ratio=.7,this.heightInLines=18}static fromJSON(e){let t,n;try{const i=JSON.parse(e);t=i.ratio,n=i.heightInLines}catch(e){}return{ratio:t||.7,heightInLines:n||18}}}class Zd extends Pd.WorkbenchAsyncDataTree{}let Xd=class extends Bl{constructor(e,t,n,i,o,r,s,a,l,c){super(e,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0},r),this._defaultTreeKeyboardSupport=t,this.layoutData=n,this._textModelResolverService=o,this._instantiationService=r,this._peekViewService=s,this._uriLabel=a,this._undoRedoService=l,this._keybindingService=c,this._disposeOnNewModel=new ar.DisposableStore,this._callOnDispose=new ar.DisposableStore,this._onDidSelectReference=new Is.Emitter,this.onDidSelectReference=this._onDidSelectReference.event,this._dim=new _s.Dimension(0,0),this._applyTheme(i.getColorTheme()),this._callOnDispose.add(i.onDidColorThemeChange(this._applyTheme.bind(this))),this._peekViewService.addExclusiveWidget(e,this),this.create()}dispose(){this.setModel(void 0),this._callOnDispose.dispose(),this._disposeOnNewModel.dispose(),(0,ar.dispose)(this._preview),(0,ar.dispose)(this._previewNotAvailableMessage),(0,ar.dispose)(this._tree),(0,ar.dispose)(this._previewModelReference),this._splitView.dispose(),super.dispose()}_applyTheme(e){const t=e.getColor(Vl)||Ea.Color.transparent;this.style({arrowColor:t,frameColor:t,headerBackgroundColor:e.getColor(Wl)||Ea.Color.transparent,primaryHeadingColor:e.getColor(Ul),secondaryHeadingColor:e.getColor(Hl)})}show(e){this.editor.revealRangeInCenterIfOutsideViewport(e,0),super.show(e,this.layoutData.heightInLines||18)}focusOnReferenceTree(){this._tree.domFocus()}focusOnPreviewEditor(){this._preview.focus()}isPreviewEditorFocused(){return this._preview.hasTextFocus()}_onTitleClick(e){this._preview&&this._preview.getModel()&&this._onDidSelectReference.fire({element:this._getFocusedReference(),kind:e.ctrlKey||e.metaKey||e.altKey?"side":"open",source:"title"})}_fillBody(e){this.setCssClass("reference-zone-widget"),this._messageContainer=_s.append(e,_s.$("div.messages")),_s.hide(this._messageContainer),this._splitView=new qd(e,{orientation:1}),this._previewContainer=_s.append(e,_s.$("div.preview.inline")),this._preview=this._instantiationService.createInstance(ll,this._previewContainer,{scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:"auto",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,alwaysConsumeMouseWheel:!1},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}},this.editor),_s.hide(this._previewContainer),this._previewNotAvailableMessage=new hr.TextModel(No.localize("vs/editor/contrib/gotoSymbol/peek/referencesWidget","missingPreviewMessage","no preview available"),hr.TextModel.DEFAULT_CREATION_OPTIONS,null,null,this._undoRedoService),this._treeContainer=_s.append(e,_s.$("div.ref-tree.inline"));const t={keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new Od,keyboardNavigationLabelProvider:this._instantiationService.createInstance(Id),identityProvider:new Dd,openOnSingleClick:!0,openOnFocus:!0,overrideStyles:{listBackground:jl}};this._defaultTreeKeyboardSupport&&this._callOnDispose.add(_s.addStandardDisposableListener(this._treeContainer,"keydown",(e=>{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())}),!0)),this._tree=this._instantiationService.createInstance(Zd,"ReferencesWidget",this._treeContainer,new Td,[this._instantiationService.createInstance(Rd),this._instantiationService.createInstance(Md)],this._instantiationService.createInstance(kd),t),this._splitView.addView({onDidChange:Is.Event.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},Kd.Distribute),this._splitView.addView({onDidChange:Is.Event.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${e}px`,this._tree.layout(this._dim.height,e)}},Kd.Distribute),this._disposables.add(this._splitView.onDidSashChange((()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)}),void 0));let n=(e,t)=>{e instanceof md&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen((e=>{e.sideBySide?n(e.element,"side"):e.editorOptions.pinned?n(e.element,"goto"):n(e.element,"show")})),_s.hide(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new _s.Dimension(t,e),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then((()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))}))}setModel(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=No.localize("vs/editor/contrib/gotoSymbol/peek/referencesWidget","noResults","No results"),_s.show(this._messageContainer),Promise.resolve(void 0)):(_s.hide(this._messageContainer),this._decorationsManager=new $d(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange((e=>this._tree.rerender(e)))),this._disposeOnNewModel.add(this._preview.onMouseDown((e=>{const{event:t,target:n}=e;if(2!==t.detail)return;const i=this._getFocusedReference();i&&this._onDidSelectReference.fire({element:{uri:i.uri,range:n.range},kind:t.ctrlKey||t.metaKey||t.altKey?"side":"open",source:"editor"})}))),this.container.classList.add("results-loaded"),_s.show(this._treeContainer),_s.show(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[e]=this._tree.getFocus();return e instanceof md?e:e instanceof bd&&e.children.length>0?e.children[0]:void 0}revealReference(e){return Yd(this,void 0,void 0,(function*(){yield this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:"goto",source:"tree"})}))}_revealReference(e,t){return Yd(this,void 0,void 0,(function*(){if(this._revealedReference===e)return;this._revealedReference=e,e.uri.scheme!==Xa.Schemas.inMemory?this.setTitle((0,Bs.basenameOrAuthority)(e.uri),this._uriLabel.getUriLabel((0,Bs.dirname)(e.uri))):this.setTitle(No.localize("vs/editor/contrib/gotoSymbol/peek/referencesWidget","peekView.alternateTitle","References"));const n=this._textModelResolverService.createModelReference(e.uri);this._tree.getInput()===e.parent||(t&&this._tree.reveal(e.parent),yield this._tree.expand(e.parent)),this._tree.reveal(e);const i=yield n;if(!this._model)return void i.dispose();(0,ar.dispose)(this._previewModelReference);const o=i.object;if(o){const t=this._preview.getModel()===o.textEditorModel?0:1,n=cr.Range.lift(e.range).collapseToStart();this._previewModelReference=i,this._preview.setModel(o.textEditorModel),this._preview.setSelection(n),this._preview.revealRangeInCenter(n,t)}else this._preview.setModel(this._previewNotAvailableMessage),i.dispose()}))}};Xd=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Qd(3,gr.IThemeService),Qd(4,pd.ITextModelService),Qd(5,vs.IInstantiationService),Qd(6,Ml),Qd(7,nc.ILabelService),Qd(8,Gd.IUndoRedoService),Qd(9,As.IKeybindingService)],Xd),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(Jl);n&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${n}; }`);const i=e.getColor(Zl);i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${i}; }`);const o=e.getColor(Xl);o&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${o}; box-sizing: border-box; }`);const r=e.getColor(pr.activeContrastBorder);r&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${r}; box-sizing: border-box; }`);const s=e.getColor(jl);s&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${s}; }`);const a=e.getColor(Kl);a&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${a}; }`);const l=e.getColor(ql);l&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${l}; }`);const c=e.getColor(Gl);c&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${c}; }`);const d=e.getColor(Ql);d&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${d} !important; }`);const h=e.getColor(Yl);h&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\tbackground-color: ${h};}`);const u=e.getColor($l);u&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\tbackground-color: ${u};}`)}));var eh=n(16066),th=function(e,t){return function(n,i){t(n,i,e)}},nh=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const ih=new Fo.RawContextKey("referenceSearchVisible",!1);let oh=class e{constructor(e,t,n,i,o,r,s,a){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=i,this._notificationService=o,this._instantiationService=r,this._storageService=s,this._configurationService=a,this._disposables=new ar.DisposableStore,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=ih.bindTo(n)}static get(t){return t.getContribution(e.ID)}dispose(){var e,t;this._referenceSearchVisible.reset(),this._disposables.dispose(),null===(e=this._widget)||void 0===e||e.dispose(),null===(t=this._model)||void 0===t||t.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(e,t,n){let i;if(this._widget&&(i=this._widget.position),this.closeWidget(),i&&e.containsPosition(i))return;this._peekMode=n,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage((()=>{this.closeWidget()}))),this._disposables.add(this._editor.onDidChangeModel((()=>{this._ignoreModelChangeEvent||this.closeWidget()})));const o="peekViewLayout",r=Jd.fromJSON(this._storageService.get(o,0,"{}"));this._widget=this._instantiationService.createInstance(Xd,this._editor,this._defaultTreeKeyboardSupport,r),this._widget.setTitle(No.localize("vs/editor/contrib/gotoSymbol/peek/referencesController","labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose((()=>{t.cancel(),this._widget&&(this._storageService.store(o,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()}))),this._disposables.add(this._widget.onDidSelectReference((e=>{let{element:t,kind:i}=e;if(t)switch(i){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1,!1);break;case"side":this.openReference(t,!0,!1);break;case"goto":n?this._gotoReference(t):this.openReference(t,!1,!0)}})));const s=++this._requestIdPool;t.then((t=>{if(s===this._requestIdPool&&this._widget)return this._model&&this._model.dispose(),this._model=t,this._widget.setModel(this._model).then((()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(No.localize("vs/editor/contrib/gotoSymbol/peek/referencesController","metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let t=this._editor.getModel().uri,n=new lr.Position(e.startLineNumber,e.startColumn),i=this._model.nearestReference(t,n);if(i)return this._widget.setSelection(i).then((()=>{this._widget&&"editor"===this._editor.getOption(71)&&this._widget.focusOnPreviewEditor()}))}}))}),(e=>{this._notificationService.error(e)}))}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(e){return nh(this,void 0,void 0,(function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const t=this._widget.position;if(!t)return;const n=this._model.nearestReference(this._editor.getModel().uri,t);if(!n)return;const i=this._model.nextOrPreviousReference(n,e),o=this._editor.hasTextFocus(),r=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(i),yield this._gotoReference(i),o?this._editor.focus():this._widget&&r&&this._widget.focusOnPreviewEditor()}))}revealReference(e){return nh(this,void 0,void 0,(function*(){this._editor.hasModel()&&this._model&&this._widget&&(yield this._widget.revealReference(e))}))}closeWidget(e=!0){var t,n;null===(t=this._widget)||void 0===t||t.dispose(),null===(n=this._model)||void 0===n||n.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(t){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const n=cr.Range.lift(t.range).collapseToStart();return this._editorService.openCodeEditor({resource:t.uri,options:{selection:n}},this._editor).then((t=>{var i;if(this._ignoreModelChangeEvent=!1,t&&this._widget)if(this._editor===t)this._widget.show(n),this._widget.focusOnReferenceTree();else{const o=e.get(t),r=this._model.clone();this.closeWidget(),t.focus(),o.toggleWidget(n,(0,sr.createCancelablePromise)((e=>Promise.resolve(r))),null!==(i=this._peekMode)&&void 0!==i&&i)}else this.closeWidget()}),(e=>{this._ignoreModelChangeEvent=!1,(0,Wo.onUnexpectedError)(e)}))}openReference(e,t,n){t||this.closeWidget();const{uri:i,range:o}=e;this._editorService.openCodeEditor({resource:i,options:{selection:o,pinned:n}},this._editor,t)}};function rh(e,t){const n=Fl(e);if(!n)return;let i=oh.get(n);i&&t(i)}oh.ID="editor.contrib.referencesController",oh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([th(2,Fo.IContextKeyService),th(3,Ir.ICodeEditorService),th(4,Fs.INotificationService),th(5,vs.IInstantiationService),th(6,fa.IStorageService),th(7,Ia.IConfigurationService)],oh),eh.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,Po.KeyChord)(2089,60),when:Fo.ContextKeyExpr.or(ih,Ol.inPeekEditor),handler(e){rh(e,(e=>{e.changeFocusBetweenPreviewAndReferences()}))}}),eh.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:Fo.ContextKeyExpr.or(ih,Ol.inPeekEditor),handler(e){rh(e,(e=>{e.goToNextOrPreviousReference(!0)}))}}),eh.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:Fo.ContextKeyExpr.or(ih,Ol.inPeekEditor),handler(e){rh(e,(e=>{e.goToNextOrPreviousReference(!1)}))}}),ns.CommandsRegistry.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),ns.CommandsRegistry.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),ns.CommandsRegistry.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),ns.CommandsRegistry.registerCommand("closeReferenceSearch",(e=>rh(e,(e=>e.closeWidget())))),eh.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:Fo.ContextKeyExpr.and(Ol.inPeekEditor,Fo.ContextKeyExpr.not("config.editor.stablePeek"))}),eh.KeybindingsRegistry.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:Fo.ContextKeyExpr.and(ih,Fo.ContextKeyExpr.not("config.editor.stablePeek"))}),eh.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:Fo.ContextKeyExpr.and(ih,Pd.WorkbenchListFocusContextKey),handler(e){var t;const n=null===(t=e.get(Pd.IListService).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof md&&rh(e,(e=>e.revealReference(n[0])))}}),eh.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:Fo.ContextKeyExpr.and(ih,Pd.WorkbenchListFocusContextKey),handler(e){var t;const n=null===(t=e.get(Pd.IListService).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof md&&rh(e,(e=>e.openReference(n[0],!0,!0)))}}),ns.CommandsRegistry.registerCommand("openReference",(e=>{var t;const n=null===(t=e.get(Pd.IListService).lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(n)&&n[0]instanceof md&&rh(e,(e=>e.openReference(n[0],!1,!0)))}));var sh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ah=function(e,t){return function(n,i){t(n,i,e)}};const lh=new Fo.RawContextKey("hasSymbols",!1),ch=(0,vs.createDecorator)("ISymbolNavigationService");let dh=class{constructor(e,t,n,i){this._editorService=t,this._notificationService=n,this._keybindingService=i,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=lh.bindTo(e)}reset(){var e,t;this._ctxHasSymbols.reset(),null===(e=this._currentState)||void 0===e||e.dispose(),null===(t=this._currentMessage)||void 0===t||t.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(e){const t=e.parent.parent;if(t.references.length<=1)return void this.reset();this._currentModel=t,this._currentIdx=t.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();const n=new hh(this._editorService),i=n.onDidChange((e=>{if(this._ignoreEditorChange)return;const n=this._editorService.getActiveCodeEditor();if(!n)return;const i=n.getModel(),o=n.getPosition();if(!i||!o)return;let r=!1,s=!1;for(const e of t.references)if((0,Bs.isEqual)(e.uri,i.uri))r=!0,s=s||cr.Range.containsPosition(e.range,o);else if(r)break;r&&s||this.reset()}));this._currentState=(0,ar.combinedDisposable)(n,i)}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:cr.Range.collapseToStart(t.range),selectionRevealType:3}},e).finally((()=>{this._ignoreEditorChange=!1}))}_showMessage(){var e;null===(e=this._currentMessage)||void 0===e||e.dispose();const t=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),n=t?(0,No.localize)("vs/editor/contrib/gotoSymbol/symbolNavigation","location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,t.getLabel()):(0,No.localize)("vs/editor/contrib/gotoSymbol/symbolNavigation","location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(n)}};dh=sh([ah(0,Fo.IContextKeyService),ah(1,Ir.ICodeEditorService),ah(2,Fs.INotificationService),ah(3,As.IKeybindingService)],dh),(0,ga.registerSingleton)(ch,dh,!0),(0,Ro.registerEditorCommand)(new class extends Ro.EditorCommand{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:lh,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(ch).revealNext(t)}}),eh.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:lh,primary:9,handler(e){e.get(ch).reset()}});let hh=class{constructor(e){this._listener=new Map,this._disposables=new ar.DisposableStore,this._onDidChange=new Is.Emitter,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,ar.dispose)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,(0,ar.combinedDisposable)(e.onDidChangeCursorPosition((t=>this._onDidChange.fire({editor:e}))),e.onDidChangeModelContent((t=>this._onDidChange.fire({editor:e})))))}_onDidRemoveEditor(e){var t;null===(t=this._listener.get(e))||void 0===t||t.dispose(),this._listener.delete(e)}};hh=sh([ah(0,Ir.ICodeEditorService)],hh);var uh,ph,gh,mh,fh,bh,vh,_h,wh=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};mr.MenuRegistry.appendMenuItem(mr.MenuId.EditorContext,{submenu:mr.MenuId.EditorContextPeek,title:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","peek.submenu","Peek"),group:"navigation",order:100});class yh extends Ro.EditorAction{constructor(e,t){super(t),this._configuration=e}run(e,t){if(!t.hasModel())return Promise.resolve(void 0);const n=e.get(Fs.INotificationService),i=e.get(Ir.ICodeEditorService),o=e.get(ts.IEditorProgressService),r=e.get(ch),s=t.getModel(),a=t.getPosition(),l=new Gr.EditorStateCancellationTokenSource(t,5),c=(0,sr.raceCancellation)(this._getLocationModel(s,a,l.token),l.token).then((e=>wh(this,void 0,void 0,(function*(){if(!e||l.token.isCancellationRequested)return;let n;if((0,Yo.alert)(e.ariaMessage),e.referenceAt(s.uri,a)){const e=this._getAlternativeCommand(t);e!==this.id&&(n=t.getAction(e))}const o=e.references.length;if(0===o){if(!this._configuration.muteMessage){const e=s.getWordAtPosition(a);ms.get(t).showMessage(this._getNoResultFoundMessage(e),a)}}else{if(1!==o||!n)return this._onResult(i,r,t,e);n.run()}}))),(e=>{n.error(e)})).finally((()=>{l.dispose()}));return o.showWhile(c,250),c}_onResult(e,t,n,i){return wh(this,void 0,void 0,(function*(){const o=this._getGoToPreference(n);if(n instanceof ll||!(this._configuration.openInPeek||"peek"===o&&i.references.length>1)){const r=i.firstReference(),s=i.references.length>1&&"gotoAndPeek"===o,a=yield this._openReference(n,e,r,this._configuration.openToSide,!s);s&&a?this._openInPeek(a,i):i.dispose(),"goto"===o&&t.put(r)}else this._openInPeek(n,i)}))}_openReference(e,t,n,i,o){return wh(this,void 0,void 0,(function*(){let r;if((0,Qr.isLocationLink)(n)&&(r=n.targetSelectionRange),r||(r=n.range),!r)return;const s=yield t.openCodeEditor({resource:n.uri,options:{selection:cr.Range.collapseToStart(r),selectionRevealType:3}},e,i);if(s){if(o){const e=s.getModel(),t=s.deltaDecorations([],[{range:r,options:{className:"symbolHighlight"}}]);setTimeout((()=>{s.getModel()===e&&s.deltaDecorations(t,[])}),350)}return s}}))}_openInPeek(e,t){let n=oh.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),(0,sr.createCancelablePromise)((e=>Promise.resolve(t))),this._configuration.openInPeek):t.dispose()}}class Ah extends yh{_getLocationModel(e,t,n){return wh(this,void 0,void 0,(function*(){return new vd(yield ld(e,t,n),No.localize("vs/editor/contrib/gotoSymbol/goToCommands","def.title","Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?No.localize("vs/editor/contrib/gotoSymbol/goToCommands","noResultWord","No definition found for '{0}'",e.word):No.localize("vs/editor/contrib/gotoSymbol/goToCommands","generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(45).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(45).multipleDefinitions}}const Ch=kr.isWeb&&!Er.isStandalone?2118:70;(0,Ro.registerEditorAction)(((uh=class e extends Ah{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasDefinitionProvider,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:Ch,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:mr.MenuId.MenubarGoMenu,group:"4_symbol_nav",order:2,title:No.localize("vs/editor/contrib/gotoSymbol/goToCommands",{key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}}),ns.CommandsRegistry.registerCommandAlias("editor.action.goToDeclaration",e.id)}}).id="editor.action.revealDefinition",uh)),(0,Ro.registerEditorAction)(((ph=class e extends Ah{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:e.id,label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasDefinitionProvider,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,Ch),weight:100}}),ns.CommandsRegistry.registerCommandAlias("editor.action.openDeclarationToTheSide",e.id)}}).id="editor.action.revealDefinitionAside",ph)),(0,Ro.registerEditorAction)(((gh=class e extends Ah{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.id,label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasDefinitionProvider,Ol.notInPeekEditor,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:mr.MenuId.EditorContextPeek,group:"peek",order:2}}),ns.CommandsRegistry.registerCommandAlias("editor.action.previewDeclaration",e.id)}}).id="editor.action.peekDefinition",gh));class Sh extends yh{_getLocationModel(e,t,n){return wh(this,void 0,void 0,(function*(){return new vd(yield cd(e,t,n),No.localize("vs/editor/contrib/gotoSymbol/goToCommands","decl.title","Declarations"))}))}_getNoResultFoundMessage(e){return e&&e.word?No.localize("vs/editor/contrib/gotoSymbol/goToCommands","decl.noResultWord","No declaration found for '{0}'",e.word):No.localize("vs/editor/contrib/gotoSymbol/goToCommands","decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(45).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(45).multipleDeclarations}}(0,Ro.registerEditorAction)(((mh=class e extends Sh{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasDeclarationProvider,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:mr.MenuId.MenubarGoMenu,group:"4_symbol_nav",order:3,title:No.localize("vs/editor/contrib/gotoSymbol/goToCommands",{key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})}_getNoResultFoundMessage(e){return e&&e.word?No.localize("vs/editor/contrib/gotoSymbol/goToCommands","decl.noResultWord","No declaration found for '{0}'",e.word):No.localize("vs/editor/contrib/gotoSymbol/goToCommands","decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",mh)),(0,Ro.registerEditorAction)(class extends Sh{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasDeclarationProvider,Ol.notInPeekEditor,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:mr.MenuId.EditorContextPeek,group:"peek",order:3}})}});class xh extends yh{_getLocationModel(e,t,n){return wh(this,void 0,void 0,(function*(){return new vd(yield hd(e,t,n),No.localize("vs/editor/contrib/gotoSymbol/goToCommands","typedef.title","Type Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?No.localize("vs/editor/contrib/gotoSymbol/goToCommands","goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):No.localize("vs/editor/contrib/gotoSymbol/goToCommands","goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(45).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(45).multipleTypeDefinitions}}(0,Ro.registerEditorAction)(((fh=class e extends xh{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasTypeDefinitionProvider,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:mr.MenuId.MenubarGoMenu,group:"4_symbol_nav",order:3,title:No.localize("vs/editor/contrib/gotoSymbol/goToCommands",{key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})}}).ID="editor.action.goToTypeDefinition",fh)),(0,Ro.registerEditorAction)(((bh=class e extends xh{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasTypeDefinitionProvider,Ol.notInPeekEditor,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:mr.MenuId.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",bh));class Eh extends yh{_getLocationModel(e,t,n){return wh(this,void 0,void 0,(function*(){return new vd(yield dd(e,t,n),No.localize("vs/editor/contrib/gotoSymbol/goToCommands","impl.title","Implementations"))}))}_getNoResultFoundMessage(e){return e&&e.word?No.localize("vs/editor/contrib/gotoSymbol/goToCommands","goToImplementation.noResultWord","No implementation found for '{0}'",e.word):No.localize("vs/editor/contrib/gotoSymbol/goToCommands","goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(45).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(45).multipleImplementations}}(0,Ro.registerEditorAction)(((vh=class e extends Eh{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasImplementationProvider,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:mr.MenuId.MenubarGoMenu,group:"4_symbol_nav",order:4,title:No.localize("vs/editor/contrib/gotoSymbol/goToCommands",{key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})}}).ID="editor.action.goToImplementation",vh)),(0,Ro.registerEditorAction)(((_h=class e extends Eh{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasImplementationProvider,Ol.notInPeekEditor,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:mr.MenuId.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",_h));class kh extends yh{_getNoResultFoundMessage(e){return e?No.localize("vs/editor/contrib/gotoSymbol/goToCommands","references.no","No references found for '{0}'",e.word):No.localize("vs/editor/contrib/gotoSymbol/goToCommands","references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(45).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(45).multipleReferences}}(0,Ro.registerEditorAction)(class extends kh{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","goToReferences.label","Go to References"),alias:"Go to References",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasReferenceProvider,Ol.notInPeekEditor,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:mr.MenuId.MenubarGoMenu,group:"4_symbol_nav",order:5,title:No.localize("vs/editor/contrib/gotoSymbol/goToCommands",{key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})}_getLocationModel(e,t,n){return wh(this,void 0,void 0,(function*(){return new vd(yield ud(e,t,!0,n),No.localize("vs/editor/contrib/gotoSymbol/goToCommands","ref.title","References"))}))}}),(0,Ro.registerEditorAction)(class extends kh{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","references.action.label","Peek References"),alias:"Peek References",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.hasReferenceProvider,Ol.notInPeekEditor,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:mr.MenuId.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(e,t,n){return wh(this,void 0,void 0,(function*(){return new vd(yield ud(e,t,!1,n),No.localize("vs/editor/contrib/gotoSymbol/goToCommands","ref.title","References"))}))}});class Th extends yh{constructor(e,t,n){super(e,{id:"editor.action.goToLocation",label:No.localize("vs/editor/contrib/gotoSymbol/goToCommands","label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:Fo.ContextKeyExpr.and(Ol.notInPeekEditor,Mo.EditorContextKeys.isInWalkThroughSnippet.toNegated())}),this._references=t,this._gotoMultipleBehaviour=n}_getLocationModel(e,t,n){return wh(this,void 0,void 0,(function*(){return new vd(this._references,No.localize("vs/editor/contrib/gotoSymbol/goToCommands","generic.title","Locations"))}))}_getNoResultFoundMessage(e){return e&&No.localize("vs/editor/contrib/gotoSymbol/goToCommands","generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(45).multipleReferences}_getAlternativeCommand(){return""}}function Ih(e,t){return!!e[t]}ns.CommandsRegistry.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:qr.URI},{name:"position",description:"The position at which to start",constraint:lr.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(e,t,n,i,o,r,s)=>wh(void 0,void 0,void 0,(function*(){(0,oa.assertType)(qr.URI.isUri(t)),(0,oa.assertType)(lr.Position.isIPosition(n)),(0,oa.assertType)(Array.isArray(i)),(0,oa.assertType)(void 0===o||"string"==typeof o),(0,oa.assertType)(void 0===s||"boolean"==typeof s);const a=e.get(Ir.ICodeEditorService),l=yield a.openCodeEditor({resource:t},a.getFocusedCodeEditor());if((0,gd.isCodeEditor)(l))return l.setPosition(n),l.revealPositionInCenterIfOutsideViewport(n,0),l.invokeWithinContext((e=>{const t=new class extends Th{_getNoResultFoundMessage(e){return r||super._getNoResultFoundMessage(e)}}({muteMessage:!Boolean(r),openInPeek:Boolean(s),openToSide:!1},i,o);e.get(vs.IInstantiationService).invokeFunction(t.run.bind(t),l)}))}))}),ns.CommandsRegistry.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:qr.URI},{name:"position",description:"The position at which to start",constraint:lr.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(e,t,n,i,o)=>wh(void 0,void 0,void 0,(function*(){e.get(ns.ICommandService).executeCommand("editor.action.goToLocations",t,n,i,o,void 0,!0)}))}),ns.CommandsRegistry.registerCommand({id:"editor.action.findReferences",handler:(e,t,n)=>{(0,oa.assertType)(qr.URI.isUri(t)),(0,oa.assertType)(lr.Position.isIPosition(n));const i=e.get(Ir.ICodeEditorService);return i.openCodeEditor({resource:t},i.getFocusedCodeEditor()).then((e=>{if(!(0,gd.isCodeEditor)(e)||!e.hasModel())return;const t=oh.get(e);if(!t)return;const i=(0,sr.createCancelablePromise)((t=>ud(e.getModel(),lr.Position.lift(n),!1,t).then((e=>new vd(e,No.localize("vs/editor/contrib/gotoSymbol/goToCommands","ref.title","References")))))),o=new cr.Range(n.lineNumber,n.column,n.lineNumber,n.column);return Promise.resolve(t.toggleWidget(o,i,!1))}))}}),ns.CommandsRegistry.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations");class Dh{constructor(e,t){this.target=e.target,this.hasTriggerModifier=Ih(e.event,t.triggerModifier),this.hasSideBySideModifier=Ih(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=e.event.detail<=1}}class Lh{constructor(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=Ih(e,t.triggerModifier)}}class Rh{constructor(e,t,n,i){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=n,this.triggerSideBySideModifier=i}equals(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier}}function Nh(e){return"altKey"===e?kr.isMacintosh?new Rh(57,"metaKey",6,"altKey"):new Rh(5,"ctrlKey",6,"altKey"):kr.isMacintosh?new Rh(6,"altKey",57,"metaKey"):new Rh(6,"altKey",5,"ctrlKey")}class Mh extends ar.Disposable{constructor(e){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new Is.Emitter),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new Is.Emitter),this.onExecute=this._onExecute.event,this._onCancel=this._register(new Is.Emitter),this.onCancel=this._onCancel.event,this._editor=e,this._opts=Nh(this._editor.getOption(64)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration((e=>{if(e.hasChanged(64)){const e=Nh(this._editor.getOption(64));if(this._opts.equals(e))return;this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}}))),this._register(this._editor.onMouseMove((e=>this._onEditorMouseMove(new Dh(e,this._opts))))),this._register(this._editor.onMouseDown((e=>this._onEditorMouseDown(new Dh(e,this._opts))))),this._register(this._editor.onMouseUp((e=>this._onEditorMouseUp(new Dh(e,this._opts))))),this._register(this._editor.onKeyDown((e=>this._onEditorKeyDown(new Lh(e,this._opts))))),this._register(this._editor.onKeyUp((e=>this._onEditorKeyUp(new Lh(e,this._opts))))),this._register(this._editor.onMouseDrag((()=>this._resetHandler()))),this._register(this._editor.onDidChangeCursorSelection((e=>this._onDidChangeCursorSelection(e)))),this._register(this._editor.onDidChangeModel((e=>this._resetHandler()))),this._register(this._editor.onDidChangeModelContent((()=>this._resetHandler()))),this._register(this._editor.onDidScrollChange((e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()})))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=e.target.position?e.target.position.lineNumber:0}_onEditorMouseUp(e){const t=e.target.position?e.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}var Oh=function(e,t){return function(n,i){t(n,i,e)}};let Ph=class e{constructor(e,t,n){this.textModelResolverService=t,this.modeService=n,this.toUnhook=new ar.DisposableStore,this.toUnhookForKeyboard=new ar.DisposableStore,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e;let i=new Mh(e);this.toUnhook.add(i),this.toUnhook.add(i.onMouseMoveOrRelevantKeyDown((([e,t])=>{this.startFindDefinitionFromMouse(e,(0,oa.withNullAsUndefined)(t))}))),this.toUnhook.add(i.onExecute((e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).then((()=>{this.removeLinkDecorations()}),(e=>{this.removeLinkDecorations(),(0,Wo.onUnexpectedError)(e)}))}))),this.toUnhook.add(i.onCancel((()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null})))}static get(t){return t.getContribution(e.ID)}startFindDefinitionFromCursor(e){return this.startFindDefinition(e).then((()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition((()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()}))),this.toUnhookForKeyboard.add(this.editor.onKeyDown((e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())})))}))}startFindDefinitionFromMouse(e,t){if(9===e.target.type&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(e,t))return this.currentWordAtPosition=null,void this.removeLinkDecorations();const n=e.target.position;this.startFindDefinition(n)}startFindDefinition(e){var t;this.toUnhookForKeyboard.clear();const n=e?null===(t=this.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(e):null;if(!n)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===n.startColumn&&this.currentWordAtPosition.endColumn===n.endColumn&&this.currentWordAtPosition.word===n.word)return Promise.resolve(0);this.currentWordAtPosition=n;let i=new Gr.EditorState(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,sr.createCancelablePromise)((t=>this.findDefinition(e,t))),this.previousPromise.then((t=>{if(t&&t.length&&i.validate(this.editor))if(t.length>1)this.addDecoration(new cr.Range(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn),(new Uo).appendText(No.localize("vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition","multipleResults","Click to show {0} definitions.",t.length)));else{let i=t[0];if(!i.uri)return;this.textModelResolverService.createModelReference(i.uri).then((t=>{if(!t.object||!t.object.textEditorModel)return void t.dispose();const{object:{textEditorModel:o}}=t,{startLineNumber:r}=i.range;if(r<1||r>o.getLineCount())return void t.dispose();const s=this.getPreviewValue(o,r,i);let a;a=i.originSelectionRange?cr.Range.lift(i.originSelectionRange):new cr.Range(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn);const l=this.modeService.getModeIdByFilepathOrFirstLine(o.uri);this.addDecoration(a,(new Uo).appendCodeblock(l||"",s)),t.dispose()}))}else this.removeLinkDecorations()})).then(void 0,Wo.onUnexpectedError)}getPreviewValue(t,n,i){let o=i.targetSelectionRange?i.range:this.getPreviewRangeBasedOnBrackets(t,n);return o.endLineNumber-o.startLineNumber>=e.MAX_SOURCE_PREVIEW_LINES&&(o=this.getPreviewRangeBasedOnIndentation(t,n)),this.stripIndentationFromPreviewRange(t,n,o)}stripIndentationFromPreviewRange(e,t,n){let i=e.getLineFirstNonWhitespaceColumn(t);for(let o=t+1;o<n.endLineNumber;o++){const t=e.getLineFirstNonWhitespaceColumn(o);i=Math.min(i,t)}return e.getValueInRange(n).replace(new RegExp(`^\\s{${i-1}}`,"gm"),"").trim()}getPreviewRangeBasedOnIndentation(t,n){const i=t.getLineFirstNonWhitespaceColumn(n),o=Math.min(t.getLineCount(),n+e.MAX_SOURCE_PREVIEW_LINES);let r=n+1;for(;r<o&&i!==t.getLineFirstNonWhitespaceColumn(r);r++);return new cr.Range(n,1,r+1,1)}getPreviewRangeBasedOnBrackets(t,n){const i=Math.min(t.getLineCount(),n+e.MAX_SOURCE_PREVIEW_LINES),o=[];let r=!0,s=t.findNextBracket(new lr.Position(n,1));for(;null!==s;){if(0===o.length)o.push(s);else{const e=o[o.length-1];if(e.open[0]===s.open[0]&&e.isOpen&&!s.isOpen?o.pop():o.push(s),0===o.length){if(!r)return new cr.Range(n,1,s.range.endLineNumber+1,1);r=!1}}const e=t.getLineMaxColumn(n);let a=s.range.endLineNumber,l=s.range.endColumn;if(e===s.range.endColumn&&(a++,l=1),a>i)return new cr.Range(n,1,i+1,1);s=t.findNextBracket(new lr.Position(a,l))}return new cr.Range(n,1,i+1,1)}addDecoration(e,t){const n={range:e,options:{inlineClassName:"goto-definition-link",hoverMessage:t}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[n])}removeLinkDecorations(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))}isEnabled(e,t){return this.editor.hasModel()&&e.isNoneOrSingleMouseDown&&6===e.target.type&&(e.hasTriggerModifier||!!t&&t.keyCodeIsTriggerKey)&&Qr.DefinitionProviderRegistry.has(this.editor.getModel())}findDefinition(e,t){const n=this.editor.getModel();return n?ld(n,e,t):Promise.resolve(null)}gotoDefinition(e,t){return this.editor.setPosition(e),this.editor.invokeWithinContext((e=>{const n=!t&&this.editor.getOption(72)&&!this.isInPeekEditor(e);return new Ah({openToSide:t,openInPeek:n,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0}).run(e,this.editor)}))}isInPeekEditor(e){const t=e.get(Fo.IContextKeyService);return Ol.inPeekEditor.getValue(t)}dispose(){this.toUnhook.dispose()}};Ph.ID="editor.contrib.gotodefinitionatposition",Ph.MAX_SOURCE_PREVIEW_LINES=8,Ph=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Oh(1,pd.ITextModelService),Oh(2,Ra.IModeService)],Ph),(0,Ro.registerEditorContribution)(Ph.ID,Ph),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.editorActiveLinkForeground);n&&t.addRule(`.monaco-editor .goto-definition-link { color: ${n} !important; }`)}));var Fh=function(e,t){return function(n,i){t(n,i,e)}};let zh=class e{constructor(e,t,n,i,o,r){this._editor=e,this._instantiationService=t,this._openerService=n,this._modeService=i,this._themeService=o,this._toUnhook=new ar.DisposableStore,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration((e=>{e.hasChanged(48)&&(this._unhookEvents(),this._hookEvents())})),this._hoverVisibleKey=Mo.EditorContextKeys.hoverVisible.bindTo(r)}static get(t){return t.getContribution(e.ID)}_hookEvents(){const e=()=>this._hideWidgets(),t=this._editor.getOption(48);this._isHoverEnabled=t.enabled,this._isHoverSticky=t.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown((e=>this._onEditorMouseDown(e)))),this._toUnhook.add(this._editor.onMouseUp((e=>this._onEditorMouseUp(e)))),this._toUnhook.add(this._editor.onMouseMove((e=>this._onEditorMouseMove(e)))),this._toUnhook.add(this._editor.onKeyDown((e=>this._onKeyDown(e)))),this._toUnhook.add(this._editor.onDidChangeModelDecorations((()=>this._onModelDecorationsChanged())))):(this._toUnhook.add(this._editor.onMouseMove((e=>this._onEditorMouseMove(e)))),this._toUnhook.add(this._editor.onKeyDown((e=>this._onKeyDown(e))))),this._toUnhook.add(this._editor.onMouseLeave(e)),this._toUnhook.add(this._editor.onDidChangeModel(e)),this._toUnhook.add(this._editor.onDidScrollChange((e=>this._onEditorScrollChanged(e))))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){var e,t;null===(e=this._contentWidget)||void 0===e||e.onModelDecorationsChanged(),null===(t=this._glyphWidget)||void 0===t||t.onModelDecorationsChanged()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._isMouseDown=!0;const t=e.target.type;9!==t||e.target.detail!==td.ID?12===t&&e.target.detail===od.ID||(12!==t&&e.target.detail!==od.ID&&(this._hoverClicked=!1),this._hideWidgets()):this._hoverClicked=!0}_onEditorMouseUp(e){this._isMouseDown=!1}_onEditorMouseMove(e){var t,n,i,o,r,s;let a=e.target.type;if((!this._isMouseDown||!this._hoverClicked)&&(!this._isHoverSticky||9!==a||e.target.detail!==td.ID)&&(!this._isHoverSticky||(null===(n=null===(t=e.event.browserEvent.view)||void 0===t?void 0:t.getSelection())||void 0===n?void 0:n.isCollapsed))&&(this._isHoverSticky||9!==a||e.target.detail!==td.ID||!(null===(i=this._contentWidget)||void 0===i?void 0:i.isColorPickerVisible()))&&(!this._isHoverSticky||12!==a||e.target.detail!==od.ID)){if(7===a){const t=this._editor.getOption(38).typicalHalfwidthCharacterWidth/2,n=e.target.detail;n&&!n.isAfterLines&&"number"==typeof n.horizontalDistanceToText&&n.horizontalDistanceToText<t&&(a=6)}if(6===a){if(null===(o=this._glyphWidget)||void 0===o||o.hide(),this._isHoverEnabled&&e.target.range){const t=[...(null===(r=e.target.element)||void 0===r?void 0:r.classList.values())||[]].find((e=>e.startsWith("ced-colorBox")))&&e.target.range.endColumn-e.target.range.startColumn==1?new cr.Range(e.target.range.startLineNumber,e.target.range.startColumn+1,e.target.range.endLineNumber,e.target.range.endColumn+1):e.target.range;this._contentWidget||(this._contentWidget=new td(this._editor,this._hoverVisibleKey,this._instantiationService,this._themeService)),this._contentWidget.startShowingAt(t,0,!1)}}else 2===a?(null===(s=this._contentWidget)||void 0===s||s.hide(),this._isHoverEnabled&&e.target.position&&(this._glyphWidget||(this._glyphWidget=new od(this._editor,this._modeService,this._openerService)),this._glyphWidget.startShowingAt(e.target.position.lineNumber))):this._hideWidgets()}}_onKeyDown(e){5!==e.keyCode&&6!==e.keyCode&&57!==e.keyCode&&4!==e.keyCode&&this._hideWidgets()}_hideWidgets(){var e,t,n;this._isMouseDown&&this._hoverClicked&&(null===(e=this._contentWidget)||void 0===e?void 0:e.isColorPickerVisible())||(this._hoverClicked=!1,null===(t=this._glyphWidget)||void 0===t||t.hide(),null===(n=this._contentWidget)||void 0===n||n.hide())}isColorPickerVisible(){var e;return(null===(e=this._contentWidget)||void 0===e?void 0:e.isColorPickerVisible())||!1}showContentHover(e,t,n){this._contentWidget||(this._contentWidget=new td(this._editor,this._hoverVisibleKey,this._instantiationService,this._themeService)),this._contentWidget.startShowingAt(e,t,n)}dispose(){var e,t;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),null===(e=this._glyphWidget)||void 0===e||e.dispose(),null===(t=this._contentWidget)||void 0===t||t.dispose()}};zh.ID="editor.contrib.hover",zh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Fh(1,vs.IInstantiationService),Fh(2,Ja.IOpenerService),Fh(3,Ra.IModeService),Fh(4,gr.IThemeService),Fh(5,Fo.IContextKeyService)],zh);class Bh extends Ro.EditorAction{constructor(){super({id:"editor.action.showHover",label:No.localize("vs/editor/contrib/hover/hover",{key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2087),weight:100}})}run(e,t){if(!t.hasModel())return;let n=zh.get(t);if(!n)return;const i=t.getPosition(),o=new cr.Range(i.lineNumber,i.column,i.lineNumber,i.column),r=2===t.getOption(2);n.showContentHover(o,1,r)}}class Wh extends Ro.EditorAction{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:No.localize("vs/editor/contrib/hover/hover",{key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){let n=zh.get(t);if(!n)return;const i=t.getPosition();if(!i)return;const o=new cr.Range(i.lineNumber,i.column,i.lineNumber,i.column),r=Ph.get(t).startFindDefinitionFromCursor(i);r?r.then((()=>{n.showContentHover(o,1,!0)})):n.showContentHover(o,1,!0)}}(0,Ro.registerEditorContribution)(zh.ID,zh),(0,Ro.registerEditorAction)(Bh),(0,Ro.registerEditorAction)(Wh),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.editorHoverHighlight);n&&t.addRule(`.monaco-editor .hoverHighlight { background-color: ${n}; }`);const i=e.getColor(pr.editorHoverBackground);i&&t.addRule(`.monaco-editor .monaco-hover { background-color: ${i}; }`);const o=e.getColor(pr.editorHoverBorder);o&&(t.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${o}; }`),t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${o.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${o.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${o.transparent(.5)}; }`));const r=e.getColor(pr.textLinkForeground);r&&t.addRule(`.monaco-editor .monaco-hover a { color: ${r}; }`);const s=e.getColor(pr.editorHoverForeground);s&&t.addRule(`.monaco-editor .monaco-hover { color: ${s}; }`);const a=e.getColor(pr.editorHoverStatusBarBackground);a&&t.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${a}; }`);const l=e.getColor(pr.textCodeBlockBackground);l&&t.addRule(`.monaco-editor .monaco-hover code { background-color: ${l}; }`)}));class Uh extends ar.Disposable{constructor(e){super(),this._editor=e,this._register(e.onMouseDown((e=>this.onMouseDown(e))))}dispose(){super.dispose()}onMouseDown(e){var t;if(6!==e.target.type)return;if(![...(null===(t=e.target.element)||void 0===t?void 0:t.classList.values())||[]].find((e=>e.startsWith("ced-colorBox"))))return;if(!e.target.range)return;const n=this._editor.getContribution(zh.ID);if(!n.isColorPickerVisible()){const t=new cr.Range(e.target.range.startLineNumber,e.target.range.startColumn+1,e.target.range.endLineNumber,e.target.range.endColumn+1);n.showContentHover(t,0,!1)}}}Uh.ID="editor.contrib.colorContribution",(0,Ro.registerEditorContribution)(Uh.ID,Uh);var Hh=n(21006),Vh=n(9437);class jh{constructor(e,t){this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,n){if(n<0)return!1;const i=t.length;if(n+i>e.length)return!1;for(let o=0;o<i;o++){const i=e.charCodeAt(n+o),r=t.charCodeAt(o);if(i!==r&&!(i>=65&&i<=90&&i+32===r||r>=65&&r<=90&&r+32===i))return!1}return!0}_createOperationsForBlockComment(e,t,n,i,o,r){const s=e.startLineNumber,a=e.startColumn,l=e.endLineNumber,c=e.endColumn,d=o.getLineContent(s),h=o.getLineContent(l);let u,p=d.lastIndexOf(t,a-1+t.length),g=h.indexOf(n,c-1-n.length);if(-1!==p&&-1!==g)if(s===l)d.substring(p+t.length,g).indexOf(n)>=0&&(p=-1,g=-1);else{const e=d.substring(p+t.length),i=h.substring(0,g);(e.indexOf(n)>=0||i.indexOf(n)>=0)&&(p=-1,g=-1)}-1!==p&&-1!==g?(i&&p+t.length<d.length&&32===d.charCodeAt(p+t.length)&&(t+=" "),i&&g>0&&32===h.charCodeAt(g-1)&&(n=" "+n,g-=1),u=jh._createRemoveBlockCommentOperations(new cr.Range(s,p+t.length+1,l,g+1),t,n)):(u=jh._createAddBlockCommentOperations(e,t,n,this._insertSpace),this._usedEndToken=1===u.length?n:null);for(const e of u)r.addTrackedEditOperation(e.range,e.text)}static _createRemoveBlockCommentOperations(e,t,n){let i=[];return cr.Range.isEmpty(e)?i.push(Hh.EditOperation.delete(new cr.Range(e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+n.length))):(i.push(Hh.EditOperation.delete(new cr.Range(e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),i.push(Hh.EditOperation.delete(new cr.Range(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+n.length)))),i}static _createAddBlockCommentOperations(e,t,n,i){let o=[];return cr.Range.isEmpty(e)?o.push(Hh.EditOperation.replace(new cr.Range(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+n)):(o.push(Hh.EditOperation.insert(new lr.Position(e.startLineNumber,e.startColumn),t+(i?" ":""))),o.push(Hh.EditOperation.insert(new lr.Position(e.endLineNumber,e.endColumn),(i?" ":"")+n))),o}getEditOperations(e,t){const n=this._selection.startLineNumber,i=this._selection.startColumn;e.tokenizeIfCheap(n);const o=e.getLanguageIdAtPosition(n,i),r=Vh.LanguageConfigurationRegistry.getComments(o);r&&r.blockCommentStartToken&&r.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,r.blockCommentStartToken,r.blockCommentEndToken,this._insertSpace,e,t)}computeCursorState(e,t){const n=t.getInverseEditOperations();if(2===n.length){const e=n[0],t=n[1];return new Oo.Selection(e.range.endLineNumber,e.range.endColumn,t.range.startLineNumber,t.range.startColumn)}{const e=n[0].range,t=this._usedEndToken?-this._usedEndToken.length-1:0;return new Oo.Selection(e.endLineNumber,e.endColumn+t,e.endLineNumber,e.endColumn+t)}}}class Kh{constructor(e,t,n,i,o,r){this._selection=e,this._tabSize=t,this._type=n,this._insertSpace=i,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1,this._ignoreEmptyLines=o,this._ignoreFirstLine=r||!1}static _gatherPreflightCommentStrings(e,t,n){e.tokenizeIfCheap(t);const i=e.getLanguageIdAtPosition(t,1),o=Vh.LanguageConfigurationRegistry.getComments(i),r=o?o.lineCommentToken:null;if(!r)return null;let s=[];for(let e=0,i=n-t+1;e<i;e++)s[e]={ignore:!1,commentStr:r,commentStrOffset:0,commentStrLength:r.length};return s}static _analyzeLines(e,t,n,i,o,r,s){let a,l=!0;a=0===e||1!==e;for(let c=0,d=i.length;c<d;c++){const d=i[c],h=o+c;if(h===o&&s){d.ignore=!0;continue}const u=n.getLineContent(h),p=jr.firstNonWhitespaceIndex(u);if(-1!==p){if(l=!1,d.ignore=!1,d.commentStrOffset=p,a&&!jh._haystackHasNeedleAtOffset(u,d.commentStr,p)&&(0===e?a=!1:1===e||(d.ignore=!0)),a&&t){const e=p+d.commentStrLength;e<u.length&&32===u.charCodeAt(e)&&(d.commentStrLength+=1)}}else d.ignore=r,d.commentStrOffset=u.length}if(0===e&&l){a=!1;for(let e=0,t=i.length;e<t;e++)i[e].ignore=!1}return{supported:!0,shouldRemoveComments:a,lines:i}}static _gatherPreflightData(e,t,n,i,o,r,s){const a=Kh._gatherPreflightCommentStrings(n,i,o);return null===a?{supported:!1}:Kh._analyzeLines(e,t,n,a,i,r,s)}_executeLineComments(e,t,n,i){let o;n.shouldRemoveComments?o=Kh._createRemoveLineCommentsOperations(n.lines,i.startLineNumber):(Kh._normalizeInsertionPoint(e,n.lines,i.startLineNumber,this._tabSize),o=this._createAddLineCommentsOperations(n.lines,i.startLineNumber));const r=new lr.Position(i.positionLineNumber,i.positionColumn);for(let n=0,i=o.length;n<i;n++)t.addEditOperation(o[n].range,o[n].text),cr.Range.isEmpty(o[n].range)&&cr.Range.getStartPosition(o[n].range).equals(r)&&e.getLineContent(r.lineNumber).length+1===r.column&&(this._deltaColumn=(o[n].text||"").length);this._selectionId=t.trackSelection(i)}_attemptRemoveBlockComment(e,t,n,i){let o=t.startLineNumber,r=t.endLineNumber,s=i.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn),a=e.getLineContent(o).lastIndexOf(n,s-1),l=e.getLineContent(r).indexOf(i,t.endColumn-1-n.length);return-1!==a&&-1===l&&(l=e.getLineContent(o).indexOf(i,a+n.length),r=o),-1===a&&-1!==l&&(a=e.getLineContent(r).lastIndexOf(n,l),o=r),!t.isEmpty()||-1!==a&&-1!==l||(a=e.getLineContent(o).indexOf(n),-1!==a&&(l=e.getLineContent(o).indexOf(i,a+n.length))),-1!==a&&32===e.getLineContent(o).charCodeAt(a+n.length)&&(n+=" "),-1!==l&&32===e.getLineContent(r).charCodeAt(l-1)&&(i=" "+i,l-=1),-1!==a&&-1!==l?jh._createRemoveBlockCommentOperations(new cr.Range(o,a+n.length+1,r,l+1),n,i):null}_executeBlockComment(e,t,n){e.tokenizeIfCheap(n.startLineNumber);let i=e.getLanguageIdAtPosition(n.startLineNumber,1),o=Vh.LanguageConfigurationRegistry.getComments(i);if(!o||!o.blockCommentStartToken||!o.blockCommentEndToken)return;const r=o.blockCommentStartToken,s=o.blockCommentEndToken;let a=this._attemptRemoveBlockComment(e,n,r,s);if(!a){if(n.isEmpty()){const t=e.getLineContent(n.startLineNumber);let i=jr.firstNonWhitespaceIndex(t);-1===i&&(i=t.length),a=jh._createAddBlockCommentOperations(new cr.Range(n.startLineNumber,i+1,n.startLineNumber,t.length+1),r,s,this._insertSpace)}else a=jh._createAddBlockCommentOperations(new cr.Range(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),r,s,this._insertSpace);1===a.length&&(this._deltaColumn=r.length+1)}this._selectionId=t.trackSelection(n);for(const e of a)t.addEditOperation(e.range,e.text)}getEditOperations(e,t){let n=this._selection;if(this._moveEndPositionDown=!1,n.startLineNumber===n.endLineNumber&&this._ignoreFirstLine)return t.addEditOperation(new cr.Range(n.startLineNumber,e.getLineMaxColumn(n.startLineNumber),n.startLineNumber+1,1),n.startLineNumber===e.getLineCount()?"":"\n"),void(this._selectionId=t.trackSelection(n));n.startLineNumber<n.endLineNumber&&1===n.endColumn&&(this._moveEndPositionDown=!0,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));const i=Kh._gatherPreflightData(this._type,this._insertSpace,e,n.startLineNumber,n.endLineNumber,this._ignoreEmptyLines,this._ignoreFirstLine);return i.supported?this._executeLineComments(e,t,i,n):this._executeBlockComment(e,t,n)}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),new Oo.Selection(n.selectionStartLineNumber,n.selectionStartColumn+this._deltaColumn,n.positionLineNumber,n.positionColumn+this._deltaColumn)}static _createRemoveLineCommentsOperations(e,t){let n=[];for(let i=0,o=e.length;i<o;i++){const o=e[i];o.ignore||n.push(Hh.EditOperation.delete(new cr.Range(t+i,o.commentStrOffset+1,t+i,o.commentStrOffset+o.commentStrLength+1)))}return n}_createAddLineCommentsOperations(e,t){let n=[];const i=this._insertSpace?" ":"";for(let o=0,r=e.length;o<r;o++){const r=e[o];r.ignore||n.push(Hh.EditOperation.insert(new lr.Position(t+o,r.commentStrOffset+1),r.commentStr+i))}return n}static nextVisibleColumn(e,t,n,i){return n?e+(t-e%t):e+i}static _normalizeInsertionPoint(e,t,n,i){let o,r,s=1073741824;for(let o=0,r=t.length;o<r;o++){if(t[o].ignore)continue;const r=e.getLineContent(n+o);let a=0;for(let e=0,n=t[o].commentStrOffset;a<s&&e<n;e++)a=Kh.nextVisibleColumn(a,i,9===r.charCodeAt(e),1);a<s&&(s=a)}s=Math.floor(s/i)*i;for(let a=0,l=t.length;a<l;a++){if(t[a].ignore)continue;const l=e.getLineContent(n+a);let c=0;for(o=0,r=t[a].commentStrOffset;c<s&&o<r;o++)c=Kh.nextVisibleColumn(c,i,9===l.charCodeAt(o),1);t[a].commentStrOffset=c>s?o-1:o}}}class qh extends Ro.EditorAction{constructor(e,t){super(t),this._type=e}run(e,t){if(!t.hasModel())return;const n=[],i=t.getModel().getOptions(),o=t.getOption(16),r=t.getSelections().map(((e,t)=>({selection:e,index:t,ignoreFirstLine:!1})));r.sort(((e,t)=>cr.Range.compareRangesUsingStarts(e.selection,t.selection)));let s=r[0];for(let e=1;e<r.length;e++){const t=r[e];s.selection.endLineNumber===t.selection.startLineNumber&&(s.index<t.index?t.ignoreFirstLine=!0:(s.ignoreFirstLine=!0,s=t))}for(const e of r)n.push(new Kh(e.selection,i.tabSize,this._type,o.insertSpace,o.ignoreEmptyLines,e.ignoreFirstLine));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class Gh extends Ro.EditorAction{constructor(){super({id:"editor.action.blockComment",label:No.localize("vs/editor/contrib/comment/comment","comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:mr.MenuId.MenubarEditMenu,group:"5_insert",title:No.localize("vs/editor/contrib/comment/comment",{key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(e,t){if(!t.hasModel())return;const n=t.getOption(16),i=[],o=t.getSelections();for(const e of o)i.push(new jh(e,n.insertSpace));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}(0,Ro.registerEditorAction)(class extends qh{constructor(){super(0,{id:"editor.action.commentLine",label:No.localize("vs/editor/contrib/comment/comment","comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:mr.MenuId.MenubarEditMenu,group:"5_insert",title:No.localize("vs/editor/contrib/comment/comment",{key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}),(0,Ro.registerEditorAction)(class extends qh{constructor(){super(1,{id:"editor.action.addCommentLine",label:No.localize("vs/editor/contrib/comment/comment","comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2081),weight:100}})}}),(0,Ro.registerEditorAction)(class extends qh{constructor(){super(2,{id:"editor.action.removeCommentLine",label:No.localize("vs/editor/contrib/comment/comment","comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2099),weight:100}})}}),(0,Ro.registerEditorAction)(Gh);var Qh=function(e,t){return function(n,i){t(n,i,e)}};let Yh=class e{constructor(e,t,n,i,o,r){this._contextMenuService=t,this._contextViewService=n,this._contextKeyService=i,this._keybindingService=o,this._menuService=r,this._toDispose=new ar.DisposableStore,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu((e=>this._onContextMenu(e)))),this._toDispose.add(this._editor.onMouseWheel((e=>{if(this._contextMenuIsBeingShownCount>0){const t=this._contextViewService.getContextViewElement(),n=e.srcElement;n.shadowRoot&&_s.getShadowRoot(t)===n.shadowRoot||this._contextViewService.hideContextView()}}))),this._toDispose.add(this._editor.onKeyDown((e=>{58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())})))}static get(t){return t.getContribution(e.ID)}_onContextMenu(e){if(!this._editor.hasModel())return;if(!this._editor.getOption(17))return this._editor.focus(),void(e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position));if(12===e.target.type)return;if(e.event.preventDefault(),6!==e.target.type&&7!==e.target.type&&1!==e.target.type)return;if(this._editor.focus(),e.target.position){let t=!1;for(const n of this._editor.getSelections())if(n.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}showContextMenu(e){if(!this._editor.getOption(17))return;if(!this._editor.hasModel())return;if(!this._contextMenuService)return void this._editor.focus();const t=this._getMenuActions(this._editor.getModel(),mr.MenuId.EditorContext);t.length>0&&this._doShowContextMenu(t,e)}_getMenuActions(e,t){const n=[],i=this._menuService.createMenu(t,this._contextKeyService),o=i.getActions({arg:e.uri});i.dispose();for(let t of o){const[,i]=t;let o=0;for(const t of i)if(t instanceof mr.SubmenuItemAction){const i=this._getMenuActions(e,t.item.submenu);i.length>0&&(n.push(new ws.SubmenuAction(t.id,t.label,i)),o++)}else n.push(t),o++;o&&n.push(new ws.Separator)}return n.length&&n.pop(),n}_doShowContextMenu(e,t=null){if(!this._editor.hasModel())return;const n=this._editor.getOption(48);if(this._editor.updateOptions({hover:{enabled:!1}}),!t){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();const e=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),n=_s.getDomNodePagePosition(this._editor.getDomNode()),i=n.left+e.left,o=n.top+e.top+e.height;t={x:i,y:o}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:this._editor.getDomNode(),getAnchor:()=>t,getActions:()=>e,getActionViewItem:e=>{const t=this._keybindingFor(e);if(t)return new wl.ActionViewItem(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0});const n=e;return"function"==typeof n.getActionViewItem?n.getActionViewItem():new wl.ActionViewItem(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:n})}})}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()}};Yh.ID="editor.contrib.contextmenu",Yh=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Qh(1,ys.IContextMenuService),Qh(2,ys.IContextViewService),Qh(3,Fo.IContextKeyService),Qh(4,As.IKeybindingService),Qh(5,mr.IMenuService)],Yh);class $h extends Ro.EditorAction{constructor(){super({id:"editor.action.showContextMenu",label:No.localize("vs/editor/contrib/contextmenu/contextmenu","action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:1092,weight:100}})}run(e,t){Yh.get(t).showContextMenu()}}(0,Ro.registerEditorContribution)(Yh.ID,Yh),(0,Ro.registerEditorAction)($h);class Jh{constructor(e){this.selections=e}equals(e){const t=this.selections.length;if(t!==e.selections.length)return!1;for(let n=0;n<t;n++)if(!this.selections[n].equalsSelection(e.selections[n]))return!1;return!0}}class Zh{constructor(e,t,n){this.cursorState=e,this.scrollTop=t,this.scrollLeft=n}}class Xh extends ar.Disposable{constructor(e){super(),this._editor=e,this._isCursorUndoRedo=!1,this._undoStack=[],this._redoStack=[],this._register(e.onDidChangeModel((e=>{this._undoStack=[],this._redoStack=[]}))),this._register(e.onDidChangeModelContent((e=>{this._undoStack=[],this._redoStack=[]}))),this._register(e.onDidChangeCursorSelection((t=>{if(this._isCursorUndoRedo)return;if(!t.oldSelections)return;if(t.oldModelVersionId!==t.modelVersionId)return;const n=new Jh(t.oldSelections);this._undoStack.length>0&&this._undoStack[this._undoStack.length-1].cursorState.equals(n)||(this._undoStack.push(new Zh(n,e.getScrollTop(),e.getScrollLeft())),this._redoStack=[],this._undoStack.length>50&&this._undoStack.shift())})))}static get(e){return e.getContribution(Xh.ID)}cursorUndo(){this._editor.hasModel()&&0!==this._undoStack.length&&(this._redoStack.push(new Zh(new Jh(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop()))}cursorRedo(){this._editor.hasModel()&&0!==this._redoStack.length&&(this._undoStack.push(new Zh(new Jh(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop()))}_applyState(e){this._isCursorUndoRedo=!0,this._editor.setSelections(e.cursorState.selections),this._editor.setScrollPosition({scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),this._isCursorUndoRedo=!1}}Xh.ID="editor.contrib.cursorUndoRedoController";class eu extends Ro.EditorAction{constructor(){super({id:"cursorUndo",label:No.localize("vs/editor/contrib/cursorUndo/cursorUndo","cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2099,weight:100}})}run(e,t,n){Xh.get(t).cursorUndo()}}class tu extends Ro.EditorAction{constructor(){super({id:"cursorRedo",label:No.localize("vs/editor/contrib/cursorUndo/cursorUndo","cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})}run(e,t,n){Xh.get(t).cursorRedo()}}(0,Ro.registerEditorContribution)(Xh.ID,Xh),(0,Ro.registerEditorAction)(eu),(0,Ro.registerEditorAction)(tu);var nu=n(85824);Do()(nu.Z,{insert:"head",singleton:!1}),nu.Z.locals;class iu{constructor(e,t,n){this.selection=e,this.targetPosition=t,this.copy=n,this.targetSelection=null}getEditOperations(e,t){let n=e.getValueInRange(this.selection);this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new cr.Range(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),n),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new Oo.Selection(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new Oo.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber<this.selection.endLineNumber?this.targetSelection=new Oo.Selection(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber+this.selection.endLineNumber-this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.selection.endColumn<=this.targetPosition.column?this.targetSelection=new Oo.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,(this.selection.startLineNumber,this.selection.endLineNumber,this.targetPosition.column-this.selection.endColumn+this.selection.startColumn),this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column:this.selection.endColumn):this.targetSelection=new Oo.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column+this.selection.endColumn-this.selection.startColumn):this.targetSelection=this.selection}computeCursorState(e,t){return this.targetSelection}}function ou(e){return kr.isMacintosh?e.altKey:e.ctrlKey}class ru extends ar.Disposable{constructor(e){super(),this._editor=e,this._register(this._editor.onMouseDown((e=>this._onEditorMouseDown(e)))),this._register(this._editor.onMouseUp((e=>this._onEditorMouseUp(e)))),this._register(this._editor.onMouseDrag((e=>this._onEditorMouseDrag(e)))),this._register(this._editor.onMouseDrop((e=>this._onEditorMouseDrop(e)))),this._register(this._editor.onMouseDropCanceled((()=>this._onEditorMouseDropCanceled()))),this._register(this._editor.onKeyDown((e=>this.onEditorKeyDown(e)))),this._register(this._editor.onKeyUp((e=>this.onEditorKeyUp(e)))),this._register(this._editor.onDidBlurEditorWidget((()=>this.onEditorBlur()))),this._register(this._editor.onDidBlurEditorText((()=>this.onEditorBlur()))),this._dndDecorationIds=[],this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){this._editor.getOption(27)&&!this._editor.getOption(15)&&(ou(e)&&(this._modifierPressed=!0),this._mouseDown&&ou(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){this._editor.getOption(27)&&!this._editor.getOption(15)&&(ou(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===ru.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){let e=(this._editor.getSelections()||[]).filter((e=>t.position&&e.containsPosition(t.position)));if(1!==e.length)return;this._dragSelection=e[0]}ou(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let t=new lr.Position(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let n=null;if(e.event.shiftKey){let e=this._editor.getSelection();if(e){const{selectionStartLineNumber:i,selectionStartColumn:o}=e;n=[new Oo.Selection(i,o,t.lineNumber,t.column)]}}else n=(this._editor.getSelections()||[]).map((e=>e.containsPosition(t)?new Oo.Selection(t.lineNumber,t.column,t.lineNumber,t.column):e));this._editor.setSelections(n||[],"mouse",3)}else(!this._dragSelection.containsPosition(t)||(ou(e.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(t)||this._dragSelection.getStartPosition().equals(t)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(ru.ID,new iu(this._dragSelection,t,ou(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){let t=[{range:new cr.Range(e.lineNumber,e.column,e.lineNumber,e.column),options:ru._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,t),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}ru.ID="editor.contrib.dragAndDrop",ru.TRIGGER_KEY_VALUE=kr.isMacintosh?6:5,ru._DECORATION_OPTIONS=hr.ModelDecorationOptions.register({className:"dnd-target"}),(0,Ro.registerEditorContribution)(ru.ID,ru);var su=n(90558);class au{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){const e=this._findScopeDecorationIds.map((e=>this._editor.getModel().getDecorationRange(e))).filter((e=>!!e));if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){const t=this._decorations.indexOf(e);return t>=0?t+1:1}getCurrentMatchesPosition(e){let t=this._editor.getModel().getDecorationsInRange(e);for(const e of t){const t=e.options;if(t===au._FIND_MATCH_DECORATION||t===au._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(e.id)}return 0}setCurrentFindMatch(e){let t=null,n=0;if(e)for(let i=0,o=this._decorations.length;i<o;i++){let o=this._editor.getModel().getDecorationRange(this._decorations[i]);if(e.equalsRange(o)){t=this._decorations[i],n=i+1;break}}return null===this._highlightedDecorationId&&null===t||this._editor.changeDecorations((e=>{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,au._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,au._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let n=this._editor.getModel().getDecorationRange(t);if(n.startLineNumber!==n.endLineNumber&&1===n.endColumn){let e=n.endLineNumber-1,t=this._editor.getModel().getLineMaxColumn(e);n=new cr.Range(n.startLineNumber,n.startColumn,e,t)}this._rangeHighlightDecorationId=e.addDecoration(n,au._RANGE_HIGHLIGHT_DECORATION)}})),n}set(e,t){this._editor.changeDecorations((n=>{let i=au._FIND_MATCH_DECORATION,o=[];if(e.length>1e3){i=au._FIND_MATCH_NO_OVERVIEW_DECORATION;const t=this._editor.getModel().getLineCount(),n=this._editor.getLayoutInfo().height/t,r=Math.max(2,Math.ceil(3/n));let s=e[0].range.startLineNumber,a=e[0].range.endLineNumber;for(let t=1,n=e.length;t<n;t++){const n=e[t].range;a+r>=n.startLineNumber?n.endLineNumber>a&&(a=n.endLineNumber):(o.push({range:new cr.Range(s,1,a,1),options:au._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),s=n.startLineNumber,a=n.endLineNumber)}o.push({range:new cr.Range(s,1,a,1),options:au._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let r=new Array(e.length);for(let t=0,n=e.length;t<n;t++)r[t]={range:e[t].range,options:i};this._decorations=n.deltaDecorations(this._decorations,r),this._overviewRulerApproximateDecorations=n.deltaDecorations(this._overviewRulerApproximateDecorations,o),this._rangeHighlightDecorationId&&(n.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),this._findScopeDecorationIds.length&&(this._findScopeDecorationIds.forEach((e=>n.removeDecoration(e))),this._findScopeDecorationIds=[]),(null==t?void 0:t.length)&&(this._findScopeDecorationIds=t.map((e=>n.addDecoration(e,au._FIND_SCOPE_DECORATION))))}))}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let t=this._decorations.length-1;t>=0;t--){let n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.endLineNumber>e.lineNumber)){if(i.endLineNumber<e.lineNumber)return i;if(!(i.endColumn>e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let t=0,n=this._decorations.length;t<n;t++){let n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.startLineNumber<e.lineNumber)){if(i.startLineNumber>e.lineNumber)return i;if(!(i.startColumn<e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[0])}_allDecorations(){let e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationIds.length&&e.push(...this._findScopeDecorationIds),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e}}au._CURRENT_FIND_MATCH_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:(0,gr.themeColorFromId)(pr.overviewRulerFindMatchForeground),position:dr.OverviewRulerLane.Center},minimap:{color:(0,gr.themeColorFromId)(pr.minimapFindMatch),position:dr.MinimapPosition.Inline}}),au._FIND_MATCH_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:(0,gr.themeColorFromId)(pr.overviewRulerFindMatchForeground),position:dr.OverviewRulerLane.Center},minimap:{color:(0,gr.themeColorFromId)(pr.minimapFindMatch),position:dr.MinimapPosition.Inline}}),au._FIND_MATCH_NO_OVERVIEW_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),au._FIND_MATCH_ONLY_OVERVIEW_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,overviewRuler:{color:(0,gr.themeColorFromId)(pr.overviewRulerFindMatchForeground),position:dr.OverviewRulerLane.Center}}),au._RANGE_HIGHLIGHT_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),au._FIND_SCOPE_DECORATION=hr.ModelDecorationOptions.register({className:"findScope",isWholeLine:!0});class lu{constructor(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n,this._trackedEditorSelectionId=null}getEditOperations(e,t){if(this._ranges.length>0){let e=[];for(let t=0;t<this._ranges.length;t++)e.push({range:this._ranges[t],text:this._replaceStrings[t]});e.sort(((e,t)=>cr.Range.compareRangesUsingStarts(e.range,t.range)));let n=[],i=e[0];for(let t=1;t<e.length;t++)i.range.endLineNumber===e[t].range.startLineNumber&&i.range.endColumn===e[t].range.startColumn?(i.range=i.range.plusRange(e[t].range),i.text=i.text+e[t].text):(n.push(i),i=e[t]);n.push(i);for(const e of n)t.addEditOperation(e.range,e.text)}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)}computeCursorState(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)}}function cu(e,t){if(e&&""!==e[0]){const n=du(e,t,"-"),i=du(e,t,"_");return n&&!i?hu(e,t,"-"):!n&&i?hu(e,t,"_"):e[0].toUpperCase()===e[0]?t.toUpperCase():e[0].toLowerCase()===e[0]?t.toLowerCase():jr.containsUppercaseCharacter(e[0][0])&&t.length>0?t[0].toUpperCase()+t.substr(1):t}return t}function du(e,t,n){return-1!==e[0].indexOf(n)&&-1!==t.indexOf(n)&&e[0].split(n).length===t.split(n).length}function hu(e,t,n){const i=t.split(n),o=e[0].split(n);let r="";return i.forEach(((e,t)=>{r+=cu([o[t]],e)+n})),r.slice(0,-1)}class uu{constructor(e){this.staticValue=e,this.kind=0}}class pu{constructor(e){this.pieces=e,this.kind=1}}class gu{constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new uu(e[0].staticValue):this._state=new pu(e):this._state=new uu("")}static fromStaticValue(e){return new gu([mu.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(e,t){if(0===this._state.kind)return t?cu(e,this._state.staticValue):this._state.staticValue;let n="";for(let t=0,i=this._state.pieces.length;t<i;t++){let i=this._state.pieces[t];if(null!==i.staticValue){n+=i.staticValue;continue}let o=gu._substitute(i.matchIndex,e);if(null!==i.caseOps&&i.caseOps.length>0){let e=[],t=i.caseOps.length,n=0;for(let r=0,s=o.length;r<s;r++){if(n>=t){e.push(o.slice(r));break}switch(i.caseOps[n]){case"U":e.push(o[r].toUpperCase());break;case"u":e.push(o[r].toUpperCase()),n++;break;case"L":e.push(o[r].toLowerCase());break;case"l":e.push(o[r].toLowerCase()),n++;break;default:e.push(o[r])}}o=e.join("")}n+=o}return n}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let n="";for(;e>0;){if(e<t.length)return(t[e]||"")+n;n=String(e%10)+n,e=Math.floor(e/10)}return"$"+n}}class mu{constructor(e,t,n){this.staticValue=e,this.matchIndex=t,n&&0!==n.length?this.caseOps=n.slice(0):this.caseOps=null}static staticValue(e){return new mu(e,-1,null)}static caseOps(e,t){return new mu(null,e,t)}}class fu{constructor(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}emitUnchanged(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e}emitStatic(e,t){this._emitStatic(e),this._lastCharIndex=t}_emitStatic(e){0!==e.length&&(this._currentStaticPiece+=e)}emitMatchIndex(e,t,n){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=mu.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=mu.caseOps(e,n),this._lastCharIndex=t}finalize(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=mu.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new gu(this._result)}}function bu(e){if(!e||0===e.length)return new gu(null);let t=[],n=new fu(e);for(let i=0,o=e.length;i<o;i++){let r=e.charCodeAt(i);if(92!==r){if(36===r){if(i++,i>=o)break;let r=e.charCodeAt(i);if(36===r){n.emitUnchanged(i-1),n.emitStatic("$",i+1);continue}if(48===r||38===r){n.emitUnchanged(i-1),n.emitMatchIndex(0,i+1,t),t.length=0;continue}if(49<=r&&r<=57){let s=r-48;if(i+1<o){let o=e.charCodeAt(i+1);if(48<=o&&o<=57){i++,s=10*s+(o-48),n.emitUnchanged(i-2),n.emitMatchIndex(s,i+1,t),t.length=0;continue}}n.emitUnchanged(i-1),n.emitMatchIndex(s,i+1,t),t.length=0;continue}}}else{if(i++,i>=o)break;let r=e.charCodeAt(i);switch(r){case 92:n.emitUnchanged(i-1),n.emitStatic("\\",i+1);break;case 110:n.emitUnchanged(i-1),n.emitStatic("\n",i+1);break;case 116:n.emitUnchanged(i-1),n.emitStatic("\t",i+1);break;case 117:case 85:case 108:case 76:n.emitUnchanged(i-1),n.emitStatic("",i+1),t.push(String.fromCharCode(r))}}}return n.finalize()}const vu=new Fo.RawContextKey("findWidgetVisible",!1),_u=new Fo.RawContextKey("findInputFocussed",!1),wu=new Fo.RawContextKey("replaceInputFocussed",!1),yu={primary:545,mac:{primary:2593}},Au={primary:565,mac:{primary:2613}},Cu={primary:560,mac:{primary:2608}},Su={primary:554,mac:{primary:2602}},xu={primary:558,mac:{primary:2606}},Eu={StartFindAction:"actions.find",StartFindWithSelection:"actions.findWithSelection",NextMatchFindAction:"editor.action.nextMatchFindAction",PreviousMatchFindAction:"editor.action.previousMatchFindAction",NextSelectionMatchFindAction:"editor.action.nextSelectionMatchFindAction",PreviousSelectionMatchFindAction:"editor.action.previousSelectionMatchFindAction",StartFindReplaceAction:"editor.action.startFindReplaceAction",CloseFindWidgetCommand:"closeFindWidget",ToggleCaseSensitiveCommand:"toggleFindCaseSensitive",ToggleWholeWordCommand:"toggleFindWholeWord",ToggleRegexCommand:"toggleFindRegex",ToggleSearchScopeCommand:"toggleFindInSelection",TogglePreserveCaseCommand:"togglePreserveCase",ReplaceOneAction:"editor.action.replaceOne",ReplaceAllAction:"editor.action.replaceAll",SelectAllMatchesAction:"editor.action.selectAllMatches"},ku=19999;class Tu{constructor(e,t){this._toDispose=new ar.DisposableStore,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new sr.TimeoutTimer,this._decorations=new au(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new sr.RunOnceScheduler((()=>this.research(!1)),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition((e=>{3!==e.reason&&5!==e.reason&&6!==e.reason||this._decorations.setStartPosition(this._editor.getPosition())}))),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent((e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())}))),this._toDispose.add(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,(0,ar.dispose)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)&&(this._editor.getModel().isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet((()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}),240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor))}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let n=null;void 0!==t?null!==t&&(n=Array.isArray(t)?t:[t]):n=this._decorations.getFindScopes(),null!==n&&(n=n.map((e=>{if(e.startLineNumber!==e.endLineNumber){let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new cr.Range(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}return e})));let i=this._findMatches(n,!1,ku);this._decorations.set(i,n);const o=this._editor.getSelection();let r=this._decorations.getCurrentMatchesPosition(o);if(0===r&&i.length>0){const e=(0,zo.findFirstInSorted)(i.map((e=>e.range)),(e=>cr.Range.compareRangesUsingStarts(e,o)>=0));r=e>0?e-1+1:r}this._state.changeMatchInfo(r,this._decorations.getCount(),void 0),e&&this._editor.getOption(31).cursorMoveOnType&&this._moveToNextMatch(this._decorations.getStartPosition())}_hasMatches(){return this._state.matchesCount>0}_cannotFind(){if(!this._hasMatches()){let e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1}_setCurrentFindMatch(e){let t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)}_prevSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:n,column:i}=e,o=this._editor.getModel();return t||1===i?(1===n?n=o.getLineCount():n--,i=o.getLineMaxColumn(n)):i--,new lr.Position(n,i)}_moveToPrevMatch(e,t=!1){if(!this._state.canNavigateBack()){const t=this._decorations.matchAfterPosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<ku){let t=this._decorations.matchBeforePosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._prevSearchPosition(e),t=this._decorations.matchBeforePosition(e)),void(t&&this._setCurrentFindMatch(t))}if(this._cannotFind())return;let n=this._decorations.getFindScope(),i=Tu._getSearchRange(this._editor.getModel(),n);i.getEndPosition().isBefore(e)&&(e=i.getEndPosition()),e.isBefore(i.getStartPosition())&&(e=i.getEndPosition());let{lineNumber:o,column:r}=e,s=this._editor.getModel(),a=new lr.Position(o,r),l=s.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(110):null,!1);return l&&l.range.isEmpty()&&l.range.getStartPosition().equals(a)&&(a=this._prevSearchPosition(a),l=s.findPreviousMatch(this._state.searchString,a,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(110):null,!1)),l?t||i.containsRange(l.range)?void this._setCurrentFindMatch(l.range):this._moveToPrevMatch(l.range.getStartPosition(),!0):void 0}moveToPrevMatch(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())}_nextSearchPosition(e){let t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),{lineNumber:n,column:i}=e,o=this._editor.getModel();return t||i===o.getLineMaxColumn(n)?(n===o.getLineCount()?n=1:n++,i=1):i++,new lr.Position(n,i)}_moveToNextMatch(e){if(!this._state.canNavigateForward()){const t=this._decorations.matchBeforePosition(e);return void(t&&this._setCurrentFindMatch(t))}if(this._decorations.getCount()<ku){let t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}let t=this._getNextMatch(e,!1,!0);t&&this._setCurrentFindMatch(t.range)}_getNextMatch(e,t,n,i=!1){if(this._cannotFind())return null;let o=this._decorations.getFindScope(),r=Tu._getSearchRange(this._editor.getModel(),o);r.getEndPosition().isBefore(e)&&(e=r.getStartPosition()),e.isBefore(r.getStartPosition())&&(e=r.getStartPosition());let{lineNumber:s,column:a}=e,l=this._editor.getModel(),c=new lr.Position(s,a),d=l.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(110):null,t);return n&&d&&d.range.isEmpty()&&d.range.getStartPosition().equals(c)&&(c=this._nextSearchPosition(c),d=l.findNextMatch(this._state.searchString,c,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(110):null,t)),d?i||r.containsRange(d.range)?d:this._getNextMatch(d.range.getEndPosition(),t,n,!0):null}moveToNextMatch(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())}_getReplacePattern(){return this._state.isRegex?bu(this._state.replaceString):gu.fromStaticValue(this._state.replaceString)}replace(){if(!this._hasMatches())return;let e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){let i=e.buildReplaceString(n.matches,this._state.preserveCase),o=new Cr.ReplaceCommand(t,i);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new lr.Position(t.startLineNumber,t.startColumn+i.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}_findMatches(e,t,n){const i=(e||[null]).map((e=>Tu._getSearchRange(this._editor.getModel(),e)));return this._editor.getModel().findMatches(this._state.searchString,i,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(110):null,t,n)}replaceAll(){if(!this._hasMatches())return;const e=this._decorations.getFindScopes();null===e&&this._state.matchesCount>=ku?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}_largeReplaceAll(){const e=new su.SearchParams(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(110):null).parseSearchRequest();if(!e)return;let t=e.regex;if(!t.multiline){let e="mu";t.ignoreCase&&(e+="i"),t.global&&(e+="g"),t=new RegExp(t.source,e)}const n=this._editor.getModel(),i=n.getValue(1),o=n.getFullModelRange(),r=this._getReplacePattern();let s;const a=this._state.preserveCase;s=r.hasReplacementPatterns||a?i.replace(t,(function(){return r.buildReplaceString(arguments,a)})):i.replace(t,r.buildReplaceString(null,a));let l=new Cr.ReplaceCommandThatPreservesSelection(o,s,this._editor.getSelection());this._executeEditorCommand("replaceAll",l)}_regularReplaceAll(e){const t=this._getReplacePattern();let n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),i=[];for(let e=0,o=n.length;e<o;e++)i[e]=t.buildReplaceString(n[e].matches,this._state.preserveCase);let o=new lu(this._editor.getSelection(),n.map((e=>e.range)),i);this._executeEditorCommand("replaceAll",o)}selectAllMatches(){if(!this._hasMatches())return;let e=this._decorations.getFindScopes(),t=this._findMatches(e,!1,1073741824).map((e=>new Oo.Selection(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn))),n=this._editor.getSelection();for(let e=0,i=t.length;e<i;e++)if(t[e].equalsRange(n)){t=[n].concat(t.slice(0,e)).concat(t.slice(e+1));break}this._editor.setSelections(t)}_executeEditorCommand(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}}}var Iu=n(69796);Do()(Iu.Z,{insert:"head",singleton:!1}),Iu.Z.locals;const Du={inputActiveOptionBorder:Ea.Color.fromHex("#007ACC00"),inputActiveOptionForeground:Ea.Color.fromHex("#FFFFFF"),inputActiveOptionBackground:Ea.Color.fromHex("#0E639C50")};class Lu extends Oa.Widget{constructor(e){super(),this._onChange=this._register(new Is.Emitter),this.onChange=this._onChange.event,this._onKeyDown=this._register(new Is.Emitter),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},Du),e),this._checked=this._opts.isChecked;const t=["monaco-custom-checkbox"];this._opts.icon&&t.push(...Rs.CSSIcon.asClassNameArray(this._opts.icon)),this._opts.actionClassName&&t.push(...this._opts.actionClassName.split(" ")),this._checked&&t.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(...t),this.domNode.tabIndex=0,this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,(e=>{this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault()})),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,(e=>{if(10===e.keyCode||3===e.keyCode)return this.checked=!this._checked,this._onChange.fire(!0),void e.preventDefault();this._onKeyDown.fire(e)}))}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")}enable(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))}disable(){_s.removeTabIndexAndUpdateFocus(this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))}}const Ru=No.localize("vs/base/browser/ui/findinput/findInputCheckboxes","caseDescription","Match Case"),Nu=No.localize("vs/base/browser/ui/findinput/findInputCheckboxes","wordsDescription","Match Whole Word"),Mu=No.localize("vs/base/browser/ui/findinput/findInputCheckboxes","regexDescription","Use Regular Expression");class Ou extends Lu{constructor(e){super({icon:Rs.Codicon.caseSensitive,title:Ru+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Pu extends Lu{constructor(e){super({icon:Rs.Codicon.wholeWord,title:Nu+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Fu extends Lu{constructor(e){super({icon:Rs.Codicon.regex,title:Mu+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class zu extends Oa.Widget{constructor(e,t,n,i){super(),this._hideSoon=this._register(new sr.RunOnceScheduler((()=>this._hide()),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=n,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true");const o=i.getColorTheme().getColor(pr.inputActiveOptionBorder),r=i.getColorTheme().getColor(pr.inputActiveOptionForeground),s=i.getColorTheme().getColor(pr.inputActiveOptionBackground);this.caseSensitive=this._register(new Ou({appendTitle:this._keybindingLabelFor(Eu.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,inputActiveOptionBorder:o,inputActiveOptionForeground:r,inputActiveOptionBackground:s})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange((()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)}))),this.wholeWords=this._register(new Pu({appendTitle:this._keybindingLabelFor(Eu.ToggleWholeWordCommand),isChecked:this._state.wholeWord,inputActiveOptionBorder:o,inputActiveOptionForeground:r,inputActiveOptionBackground:s})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange((()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)}))),this.regex=this._register(new Fu({appendTitle:this._keybindingLabelFor(Eu.ToggleRegexCommand),isChecked:this._state.isRegex,inputActiveOptionBorder:o,inputActiveOptionForeground:r,inputActiveOptionBackground:s})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange((()=>{this._state.change({isRegex:this.regex.checked},!1)}))),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange((e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()}))),this._register(_s.addDisposableNonBubblingMouseOutListener(this._domNode,(e=>this._onMouseOut()))),this._register(_s.addDisposableListener(this._domNode,"mouseover",(e=>this._onMouseOver()))),this._applyTheme(i.getColorTheme()),this._register(i.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return zu.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseOut(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(pr.inputActiveOptionBorder),inputActiveOptionForeground:e.getColor(pr.inputActiveOptionForeground),inputActiveOptionBackground:e.getColor(pr.inputActiveOptionBackground)};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)}}function Bu(e,t){return 1===e||2!==e&&t}zu.ID="editor.contrib.findOptionsWidget",(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.editorWidgetBackground);n&&t.addRule(`.monaco-editor .findOptionsWidget { background-color: ${n}; }`);const i=e.getColor(pr.editorWidgetForeground);i&&t.addRule(`.monaco-editor .findOptionsWidget { color: ${i}; }`);const o=e.getColor(pr.widgetShadow);o&&t.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 0 8px 2px ${o}; }`);const r=e.getColor(pr.contrastBorder);r&&t.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${r}; }`)}));class Wu extends ar.Disposable{constructor(){super(),this._onFindReplaceStateChange=this._register(new Is.Emitter),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return Bu(this._isRegexOverride,this._isRegex)}get wholeWord(){return Bu(this._wholeWordOverride,this._wholeWord)}get matchCase(){return Bu(this._matchCaseOverride,this._matchCase)}get preserveCase(){return Bu(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,n){let i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},o=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,i.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,i.matchesCount=!0,o=!0),void 0!==n&&(cr.Range.equalsRange(this._currentMatch,n)||(this._currentMatch=n,i.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(i)}change(e,t,n=!0){var i;let o={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},r=!1;const s=this.isRegex,a=this.wholeWord,l=this.matchCase,c=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,o.searchString=!0,r=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,o.replaceString=!0,r=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,o.isRevealed=!0,r=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,o.isReplaceRevealed=!0,r=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0!==e.searchScope&&((null===(i=e.searchScope)||void 0===i?void 0:i.every((e=>{var t;return null===(t=this._searchScope)||void 0===t?void 0:t.some((t=>!cr.Range.equalsRange(t,e)))})))||(this._searchScope=e.searchScope,o.searchScope=!0,r=!0)),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,o.loop=!0,r=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,s!==this.isRegex&&(r=!0,o.isRegex=!0),a!==this.wholeWord&&(r=!0,o.wholeWord=!0),l!==this.matchCase&&(r=!0,o.matchCase=!0),c!==this.preserveCase&&(r=!0,o.preserveCase=!0),r&&this._onFindReplaceStateChange.fire(o)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition<this.matchesCount}canNavigateInLoop(){return this._loop||this.matchesCount>=ku}}var Uu=n(92038),Hu=(Do()(Uu.Z,{insert:"head",singleton:!1}),Uu.Z.locals,n(27504)),Vu=(Do()(Hu.Z,{insert:"head",singleton:!1}),Hu.Z.locals,n(25802));const ju=No.localize("vs/base/browser/ui/findinput/findInput","defaultLabel","input");class Ku extends Oa.Widget{constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this._onDidOptionChange=this._register(new Is.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new Is.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new Is.Emitter),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new Is.Emitter),this._onKeyUp=this._register(new Is.Emitter),this._onCaseSensitiveKeyDown=this._register(new Is.Emitter),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new Is.Emitter),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||ju,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const o=i.appendCaseSensitiveLabel||"",r=i.appendWholeWordsLabel||"",s=i.appendRegexLabel||"",a=i.history||[],l=!!i.flexibleHeight,c=!!i.flexibleWidth,d=i.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new Vu.HistoryInputBox(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:a,flexibleHeight:l,flexibleWidth:c,flexibleMaxHeight:d})),this.regex=this._register(new Fu({appendTitle:s,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this._register(this.regex.onKeyDown((e=>{this._onRegexKeyDown.fire(e)}))),this.wholeWords=this._register(new Pu({appendTitle:r,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this.caseSensitive=this._register(new Ou({appendTitle:o,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this._register(this.caseSensitive.onKeyDown((e=>{this._onCaseSensitiveKeyDown.fire(e)}))),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let h=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,(e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=h.indexOf(document.activeElement);if(t>=0){let n=-1;e.equals(17)?n=(t+1)%h.length:e.equals(15)&&(n=0===t?h.length-1:t-1),e.equals(9)?(h[t].blur(),this.inputBox.focus()):n>=0&&h[n].focus(),_s.EventHelper.stop(e,!0)}}}));let u=document.createElement("div");u.className="controls",u.style.display=this._showOptionButtons?"block":"none",u.appendChild(this.caseSensitive.domNode),u.appendChild(this.wholeWords.domNode),u.appendChild(this.regex.domNode),this.domNode.appendChild(u),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,(e=>this._onKeyDown.fire(e))),this.onkeyup(this.inputBox.inputElement,(e=>this._onKeyUp.fire(e))),this.oninput(this.inputBox.inputElement,(e=>this._onInput.fire())),this.onmousedown(this.inputBox.inputElement,(e=>this._onMouseDown.fire(e)))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}clearMessage(){this.inputBox.hideMessage()}}const qu=No.localize("vs/base/browser/ui/findinput/replaceInput","defaultLabel","input"),Gu=No.localize("vs/base/browser/ui/findinput/replaceInput","label.preserveCaseCheckbox","Preserve Case");class Qu extends Lu{constructor(e){super({icon:Rs.Codicon.preserveCase,title:Gu+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Yu extends Oa.Widget{constructor(e,t,n,i){super(),this._showOptionButtons=n,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new Is.Emitter),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new Is.Emitter),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new Is.Emitter),this._onInput=this._register(new Is.Emitter),this._onKeyUp=this._register(new Is.Emitter),this._onPreserveCaseKeyDown=this._register(new Is.Emitter),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=i.placeholder||"",this.validation=i.validation,this.label=i.label||qu,this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputActiveOptionForeground=i.inputActiveOptionForeground,this.inputActiveOptionBackground=i.inputActiveOptionBackground,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground;const o=i.appendPreserveCaseLabel||"",r=i.history||[],s=!!i.flexibleHeight,a=!!i.flexibleWidth,l=i.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new Vu.HistoryInputBox(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:r,flexibleHeight:s,flexibleWidth:a,flexibleMaxHeight:l})),this.preserveCase=this._register(new Qu({appendTitle:o,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange((e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()}))),this._register(this.preserveCase.onKeyDown((e=>{this._onPreserveCaseKeyDown.fire(e)}))),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let c=[this.preserveCase.domNode];this.onkeydown(this.domNode,(e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){let t=c.indexOf(document.activeElement);if(t>=0){let n=-1;e.equals(17)?n=(t+1)%c.length:e.equals(15)&&(n=0===t?c.length-1:t-1),e.equals(9)?(c[t].blur(),this.inputBox.focus()):n>=0&&c[n].focus(),_s.EventHelper.stop(e,!0)}}}));let d=document.createElement("div");d.className="controls",d.style.display=this._showOptionButtons?"block":"none",d.appendChild(this.preserveCase.domNode),this.domNode.appendChild(d),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,(e=>this._onKeyDown.fire(e))),this.onkeyup(this.inputBox.inputElement,(e=>this._onKeyUp.fire(e))),this.oninput(this.inputBox.inputElement,(e=>this._onInput.fire())),this.onmousedown(this.inputBox.inputElement,(e=>this._onMouseDown.fire(e)))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){if(this.domNode){const e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);const t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}var $u=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ju=function(e,t){return function(n,i){t(n,i,e)}};const Zu="historyNavigationWidget",Xu="historyNavigationEnabled";function ep(e,t){return e.getContext(document.activeElement).getValue(t)}function tp(e,t){const n=function(e,t){return e.createScoped(t.target)}(e,t);return function(e,t,n){new Fo.RawContextKey(n,t).bindTo(e)}(n,t,Zu),{scopedContextKeyService:n,historyNavigationEnablement:new Fo.RawContextKey(Xu,!0).bindTo(n)}}let np=class extends Ku{constructor(e,t,n,i,o=!1){super(e,t,o,n),this._register(tp(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};np=$u([Ju(3,Fo.IContextKeyService)],np);let ip=class extends Yu{constructor(e,t,n,i,o=!1){super(e,t,o,n),this._register(tp(i,{target:this.inputBox.element,historyNavigator:this.inputBox}).scopedContextKeyService)}};ip=$u([Ju(3,Fo.IContextKeyService)],ip),eh.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:Fo.ContextKeyExpr.and(Fo.ContextKeyExpr.has(Zu),Fo.ContextKeyExpr.equals(Xu,!0)),primary:16,secondary:[528],handler:(e,t)=>{const n=ep(e.get(Fo.IContextKeyService),Zu);n&&n.historyNavigator.showPreviousValue()}}),eh.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:Fo.ContextKeyExpr.and(Fo.ContextKeyExpr.has(Zu),Fo.ContextKeyExpr.equals(Xu,!0)),primary:18,secondary:[530],handler:(e,t)=>{const n=ep(e.get(Fo.IContextKeyService),Zu);n&&n.historyNavigator.showNextValue()}});const op=(0,wc.registerIcon)("find-selection",Rs.Codicon.selection,No.localize("vs/editor/contrib/find/findWidget","findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),rp=(0,wc.registerIcon)("find-collapsed",Rs.Codicon.chevronRight,No.localize("vs/editor/contrib/find/findWidget","findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),sp=(0,wc.registerIcon)("find-expanded",Rs.Codicon.chevronDown,No.localize("vs/editor/contrib/find/findWidget","findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),ap=(0,wc.registerIcon)("find-replace",Rs.Codicon.replace,No.localize("vs/editor/contrib/find/findWidget","findReplaceIcon","Icon for 'Replace' in the editor find widget.")),lp=(0,wc.registerIcon)("find-replace-all",Rs.Codicon.replaceAll,No.localize("vs/editor/contrib/find/findWidget","findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),cp=(0,wc.registerIcon)("find-previous-match",Rs.Codicon.arrowUp,No.localize("vs/editor/contrib/find/findWidget","findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),dp=(0,wc.registerIcon)("find-next-match",Rs.Codicon.arrowDown,No.localize("vs/editor/contrib/find/findWidget","findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),hp=No.localize("vs/editor/contrib/find/findWidget","label.find","Find"),up=No.localize("vs/editor/contrib/find/findWidget","placeholder.find","Find"),pp=No.localize("vs/editor/contrib/find/findWidget","label.previousMatchButton","Previous match"),gp=No.localize("vs/editor/contrib/find/findWidget","label.nextMatchButton","Next match"),mp=No.localize("vs/editor/contrib/find/findWidget","label.toggleSelectionFind","Find in selection"),fp=No.localize("vs/editor/contrib/find/findWidget","label.closeButton","Close"),bp=No.localize("vs/editor/contrib/find/findWidget","label.replace","Replace"),vp=No.localize("vs/editor/contrib/find/findWidget","placeholder.replace","Replace"),_p=No.localize("vs/editor/contrib/find/findWidget","label.replaceButton","Replace"),wp=No.localize("vs/editor/contrib/find/findWidget","label.replaceAllButton","Replace All"),yp=No.localize("vs/editor/contrib/find/findWidget","label.toggleReplaceButton","Toggle Replace mode"),Ap=No.localize("vs/editor/contrib/find/findWidget","title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",ku),Cp=No.localize("vs/editor/contrib/find/findWidget","label.matchesLocation","{0} of {1}"),Sp=No.localize("vs/editor/contrib/find/findWidget","label.noResults","No results"),xp=419;let Ep=69;const kp="ctrlEnterReplaceAll.windows.donotask",Tp=kr.isMacintosh?256:2048;class Ip{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function Dp(e,t,n){const i=!!t.match(/\n/);n&&i&&n.selectionStart>0&&e.stopPropagation()}function Lp(e,t,n){const i=!!t.match(/\n/);n&&i&&n.selectionEnd<n.value.length&&e.stopPropagation()}class Rp extends Oa.Widget{constructor(e,t,n,i,o,r,s,a,l){super(),this._cachedHeight=null,this._revealTimeouts=[],this._codeEditor=e,this._controller=t,this._state=n,this._contextViewProvider=i,this._keybindingService=o,this._contextKeyService=r,this._storageService=a,this._notificationService=l,this._ctrlEnterReplaceAllWarningPrompted=!!a.getBoolean(kp,0),this._isVisible=!1,this._isReplaceVisible=!1,this._ignoreChangeEvent=!1,this._updateHistoryDelayer=new sr.Delayer(500),this._register((0,ar.toDisposable)((()=>this._updateHistoryDelayer.cancel()))),this._register(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration((e=>{if(e.hasChanged(75)&&(this._codeEditor.getOption(75)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(124)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(31)){const e=this._codeEditor.getOption(31).addExtraSpaceOnTop;e&&!this._viewZone&&(this._viewZone=new Ip(0),this._showViewZone()),!e&&this._viewZone&&this._removeViewZone()}}))),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection((()=>{this._isVisible&&this._updateToggleSelectionFindButton()}))),this._register(this._codeEditor.onDidFocusEditorWidget((()=>{return e=this,t=void 0,i=function*(){if(this._isVisible){let e=yield this._controller.getGlobalBufferTerm();e&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())}},new((n=void 0)||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}));var e,t,n,i}))),this._findInputFocused=_u.bindTo(r),this._findFocusTracker=this._register(_s.trackFocus(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus((()=>{this._findInputFocused.set(!0),this._updateSearchScope()}))),this._register(this._findFocusTracker.onDidBlur((()=>{this._findInputFocused.set(!1)}))),this._replaceInputFocused=wu.bindTo(r),this._replaceFocusTracker=this._register(_s.trackFocus(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus((()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()}))),this._register(this._replaceFocusTracker.onDidBlur((()=>{this._replaceInputFocused.set(!1)}))),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(31).addExtraSpaceOnTop&&(this._viewZone=new Ip(0)),this._applyTheme(s.getColorTheme()),this._register(s.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel((()=>{this._isVisible&&(this._viewZoneId=void 0)}))),this._register(this._codeEditor.onDidScrollChange((e=>{e.scrollTopChanged?this._layoutViewZone():setTimeout((()=>{this._layoutViewZone()}),0)})))}getId(){return Rp.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(75)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=_s.getTotalWidth(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){let e=this._state.searchString.length>0&&0===this._state.matchesCount;this._domNode.classList.toggle("no-results",e),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory(),e.loop&&this._updateButtons()}_delayedUpdateHistory(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this)).then(void 0,Wo.onUnexpectedError)}_updateHistory(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()}_updateMatchesCount(){let e;if(this._matchesCount.style.minWidth=Ep+"px",this._state.matchesCount>=ku?this._matchesCount.title=Ap:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){let t=String(this._state.matchesCount);this._state.matchesCount>=ku&&(t+="+");let n=String(this._state.matchesPosition);"0"===n&&(n="?"),e=jr.format(Cp,n,t)}else e=Sp;this._matchesCount.appendChild(document.createTextNode(e)),(0,Yo.alert)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),Ep=Math.max(Ep,this._matchesCount.clientWidth)}_getAriaLabel(e,t,n){if(e===Sp)return""===n?No.localize("vs/editor/contrib/find/findWidget","ariaSearchNoResultEmpty","{0} found",e):No.localize("vs/editor/contrib/find/findWidget","ariaSearchNoResult","{0} found for '{1}'",e,n);if(t){const i=No.localize("vs/editor/contrib/find/findWidget","ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,n,t.startLineNumber+":"+t.startColumn),o=this._codeEditor.getModel();return o&&t.startLineNumber<=o.getLineCount()&&t.startLineNumber>=1?`${o.getLineContent(t.startLineNumber)}, ${i}`:i}return No.localize("vs/editor/contrib/find/findWidget","ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,n)}_updateToggleSelectionFindButton(){let e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._isVisible&&(n||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);let e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateBack()),this._nextBtn.setEnabled(this._isVisible&&e&&t&&this._state.canNavigateForward()),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._domNode.classList.toggle("replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);let n=!this._codeEditor.getOption(75);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)}_reveal(){if(this._revealTimeouts.forEach((e=>{clearTimeout(e)})),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const e=this._codeEditor.getSelection();switch(this._codeEditor.getOption(31).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":const t=!!e&&e.startLineNumber!==e.endLineNumber;this._toggleSelectionFind.checked=t}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout((()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")}),0)),this._revealTimeouts.push(setTimeout((()=>{this._findInput.validate()}),200)),this._codeEditor.layoutOverlayWidget(this);let t=!0;if(this._codeEditor.getOption(31).seedSearchStringFromSelection&&e){const n=this._codeEditor.getDomNode();if(n){const i=_s.getDomNodePagePosition(n),o=this._codeEditor.getScrolledVisiblePosition(e.getStartPosition()),r=i.left+(o?o.left:0),s=o?o.top:0;if(this._viewZone&&s<this._viewZone.heightInPx){e.endLineNumber>e.startLineNumber&&(t=!1);const n=_s.getTopLeftOffset(this._domNode).left;r>n&&(t=!1);const o=this._codeEditor.getScrolledVisiblePosition(e.getEndPosition());i.left+(o?o.left:0)>n&&(t=!1)}}}this._showViewZone(t)}}_hide(e){this._revealTimeouts.forEach((e=>{clearTimeout(e)})),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){if(!this._codeEditor.getOption(31).addExtraSpaceOnTop)return void this._removeViewZone();if(!this._isVisible)return;const t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones((n=>{t.heightInPx=this._getHeight(),this._viewZoneId=n.addZone(t),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+t.heightInPx)}))}_showViewZone(e=!0){if(!this._isVisible)return;if(!this._codeEditor.getOption(31).addExtraSpaceOnTop)return;void 0===this._viewZone&&(this._viewZone=new Ip(0));const t=this._viewZone;this._codeEditor.changeViewZones((n=>{if(void 0!==this._viewZoneId){const i=this._getHeight();if(i===t.heightInPx)return;let o=i-t.heightInPx;return t.heightInPx=i,n.layoutZone(this._viewZoneId),void(e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+o))}{let i=this._getHeight();if(i-=this._codeEditor.getOption(69).top,i<=0)return;t.heightInPx=i,this._viewZoneId=n.addZone(t),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+i)}}))}_removeViewZone(){this._codeEditor.changeViewZones((e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))}))}_applyTheme(e){let t={inputActiveOptionBorder:e.getColor(pr.inputActiveOptionBorder),inputActiveOptionBackground:e.getColor(pr.inputActiveOptionBackground),inputActiveOptionForeground:e.getColor(pr.inputActiveOptionForeground),inputBackground:e.getColor(pr.inputBackground),inputForeground:e.getColor(pr.inputForeground),inputBorder:e.getColor(pr.inputBorder),inputValidationInfoBackground:e.getColor(pr.inputValidationInfoBackground),inputValidationInfoForeground:e.getColor(pr.inputValidationInfoForeground),inputValidationInfoBorder:e.getColor(pr.inputValidationInfoBorder),inputValidationWarningBackground:e.getColor(pr.inputValidationWarningBackground),inputValidationWarningForeground:e.getColor(pr.inputValidationWarningForeground),inputValidationWarningBorder:e.getColor(pr.inputValidationWarningBorder),inputValidationErrorBackground:e.getColor(pr.inputValidationErrorBackground),inputValidationErrorForeground:e.getColor(pr.inputValidationErrorForeground),inputValidationErrorBorder:e.getColor(pr.inputValidationErrorBorder)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)}_tryUpdateWidgetWidth(){if(!this._isVisible)return;if(!_s.isInDOM(this._domNode))return;const e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)return void this._domNode.classList.add("hiddenEditor");this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");const t=e.width,n=e.minimap.minimapWidth;let i=!1,o=!1,r=!1;if(this._resized&&_s.getTotalWidth(this._domNode)>xp)return this._domNode.style.maxWidth=t-28-n-15+"px",void(this._replaceInput.width=_s.getTotalWidth(this._findInput.domNode));if(447+n>=t&&(o=!0),447+n-Ep>=t&&(r=!0),447+n-Ep>=t+50&&(i=!0),this._domNode.classList.toggle("collapsed-find-widget",i),this._domNode.classList.toggle("narrow-find-widget",r),this._domNode.classList.toggle("reduced-find-widget",o),r||i||(this._domNode.style.maxWidth=t-28-n-15+"px"),this._resized){this._findInput.inputBox.layout();let e=this._findInput.inputBox.element.clientWidth;e>0&&(this._replaceInput.width=e)}else this._isReplaceVisible&&(this._replaceInput.width=_s.getTotalWidth(this._findInput.domNode))}_getHeight(){let e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4,e}_tryUpdateHeight(){const e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=`${e}px`,!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map((e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));const t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||cr.Range.equalsRange(e,t)?null:e})).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){return e.equals(3|Tp)?(this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?Dp(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?Lp(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0}_onReplaceInputKeyDown(e){return e.equals(3|Tp)?(kr.isWindows&&kr.isNative&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(No.localize("vs/editor/contrib/find/findWidget","ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(kp,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?Dp(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?Lp(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new np(null,this._contextViewProvider,{width:221,label:hp,placeholder:up,appendCaseSensitiveLabel:this._keybindingLabelFor(Eu.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(Eu.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(Eu.ToggleRegexCommand),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return new RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown((e=>this._onFindInputKeyDown(e)))),this._register(this._findInput.inputBox.onDidChange((()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)}))),this._register(this._findInput.onDidOptionChange((()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)}))),this._register(this._findInput.onCaseSensitiveKeyDown((e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())}))),this._register(this._findInput.onRegexKeyDown((e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())}))),this._register(this._findInput.inputBox.onDidHeightChange((e=>{this._tryUpdateHeight()&&this._showViewZone()}))),kr.isLinux&&this._register(this._findInput.onMouseDown((e=>this._onFindInputMouseDown(e)))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new Np({label:pp+this._keybindingLabelFor(Eu.PreviousMatchFindAction),icon:cp,onTrigger:()=>{this._codeEditor.getAction(Eu.PreviousMatchFindAction).run().then(void 0,Wo.onUnexpectedError)}})),this._nextBtn=this._register(new Np({label:gp+this._keybindingLabelFor(Eu.NextMatchFindAction),icon:dp,onTrigger:()=>{this._codeEditor.getAction(Eu.NextMatchFindAction).run().then(void 0,Wo.onUnexpectedError)}}));let e=document.createElement("div");e.className="find-part",e.appendChild(this._findInput.domNode);const t=document.createElement("div");t.className="find-actions",e.appendChild(t),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Lu({icon:op,title:mp+this._keybindingLabelFor(Eu.ToggleSearchScopeCommand),isChecked:!1})),this._register(this._toggleSelectionFind.onChange((()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();e.map((e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e))).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)}))),t.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new Np({label:fp+this._keybindingLabelFor(Eu.CloseFindWidgetCommand),icon:wc.widgetClose,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceBtn.isEnabled()?this._replaceBtn.focus():this._codeEditor.focus(),e.preventDefault())}})),t.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new ip(null,void 0,{label:bp,placeholder:vp,appendPreserveCaseLabel:this._keybindingLabelFor(Eu.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown((e=>this._onReplaceInputKeyDown(e)))),this._register(this._replaceInput.inputBox.onDidChange((()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)}))),this._register(this._replaceInput.inputBox.onDidHeightChange((e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()}))),this._register(this._replaceInput.onDidOptionChange((()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)}))),this._register(this._replaceInput.onPreserveCaseKeyDown((e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())}))),this._replaceBtn=this._register(new Np({label:_p+this._keybindingLabelFor(Eu.ReplaceOneAction),icon:ap,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}})),this._replaceAllBtn=this._register(new Np({label:wp+this._keybindingLabelFor(Eu.ReplaceAllAction),icon:lp,onTrigger:()=>{this._controller.replaceAll()}}));let n=document.createElement("div");n.className="replace-part",n.appendChild(this._replaceInput.domNode);const i=document.createElement("div");i.className="replace-actions",n.appendChild(i),i.appendChild(this._replaceBtn.domNode),i.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new Np({label:yp,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=_s.getTotalWidth(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(e),this._domNode.appendChild(n),this._resizeSash=new dl.Sash(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let o=xp;this._register(this._resizeSash.onDidStart((()=>{o=_s.getTotalWidth(this._domNode)}))),this._register(this._resizeSash.onDidChange((e=>{this._resized=!0;let t=o+e.startX-e.currentX;t<xp||t>(parseFloat(_s.getComputedStyle(this._domNode).maxWidth)||0)||(this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=_s.getTotalWidth(this._findInput.domNode)),this._findInput.inputBox.layout(),this._tryUpdateHeight())}))),this._register(this._resizeSash.onDidReset((()=>{const e=_s.getTotalWidth(this._domNode);if(e<xp)return;let t=xp;if(!this._resized||e===xp){const e=this._codeEditor.getLayoutInfo();t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0}this._domNode.style.width=`${t}px`,this._isReplaceVisible&&(this._replaceInput.width=_s.getTotalWidth(this._findInput.domNode)),this._findInput.inputBox.layout()})))}updateAccessibilitySupport(){const e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}Rp.ID="editor.contrib.findWidget";class Np extends Oa.Widget{constructor(e){super(),this._opts=e;let t="button";this._opts.className&&(t=t+" "+this._opts.className),this._opts.icon&&(t=t+" "+gr.ThemeIcon.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className=t,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,(e=>{this._opts.onTrigger(),e.preventDefault()})),this.onkeydown(this._domNode,(e=>{if(e.equals(10)||e.equals(3))return this._opts.onTrigger(),void e.preventDefault();this._opts.onKeyDown&&this._opts.onKeyDown(e)}))}get domNode(){return this._domNode}isEnabled(){return this._domNode.tabIndex>=0}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(...gr.ThemeIcon.asClassNameArray(rp)),this._domNode.classList.add(...gr.ThemeIcon.asClassNameArray(sp))):(this._domNode.classList.remove(...gr.ThemeIcon.asClassNameArray(sp)),this._domNode.classList.add(...gr.ThemeIcon.asClassNameArray(rp)))}}(0,gr.registerThemingParticipant)(((e,t)=>{const n=(e,n)=>{n&&t.addRule(`.monaco-editor ${e} { background-color: ${n}; }`)};n(".findMatch",e.getColor(pr.editorFindMatchHighlight)),n(".currentFindMatch",e.getColor(pr.editorFindMatch)),n(".findScope",e.getColor(pr.editorFindRangeHighlight)),n(".find-widget",e.getColor(pr.editorWidgetBackground));const i=e.getColor(pr.widgetShadow);i&&t.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${i}; }`);const o=e.getColor(pr.editorFindMatchHighlightBorder);o&&t.addRule(`.monaco-editor .findMatch { border: 1px ${"hc"===e.type?"dotted":"solid"} ${o}; box-sizing: border-box; }`);const r=e.getColor(pr.editorFindMatchBorder);r&&t.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${r}; padding: 1px; box-sizing: border-box; }`);const s=e.getColor(pr.editorFindRangeHighlightBorder);s&&t.addRule(`.monaco-editor .findScope { border: 1px ${"hc"===e.type?"dashed":"solid"} ${s}; }`);const a=e.getColor(pr.contrastBorder);a&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${a}; }`);const l=e.getColor(pr.editorWidgetForeground);l&&t.addRule(`.monaco-editor .find-widget { color: ${l}; }`);const c=e.getColor(pr.errorForeground);c&&t.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${c}; }`);const d=e.getColor(pr.editorWidgetResizeBorder);if(d)t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${d}; }`);else{const n=e.getColor(pr.editorWidgetBorder);n&&t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${n}; }`)}const h=e.getColor(pr.focusBorder);h&&t.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${h}; }`)}));var Mp=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Op=function(e,t){return function(n,i){t(n,i,e)}},Pp=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function Fp(e,t="single"){if(!e.hasModel())return null;const n=e.getSelection();if("single"===t&&n.startLineNumber===n.endLineNumber||"multiple"===t)if(n.isEmpty()){const t=e.getConfiguredWordAtPosition(n.getStartPosition());if(t)return t.word}else if(e.getModel().getValueLengthInRange(n)<524288)return e.getModel().getValueInRange(n);return null}let zp=class e extends ar.Disposable{constructor(e,t,n,i){super(),this._editor=e,this._findWidgetVisible=vu.bindTo(t),this._contextKeyService=t,this._storageService=n,this._clipboardService=i,this._updateHistoryDelayer=new sr.Delayer(500),this._state=this._register(new Wu),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange((e=>this._onStateChanged(e)))),this._model=null,this._register(this._editor.onDidChangeModel((()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(31).loop})})))}get editor(){return this._editor}static get(t){return t.getContribution(e.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,0),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,0),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,0),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,0)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!_u.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();e.map((e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()?null:e))).filter((e=>!!e)),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=jr.escapeRegExpCharacters(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}_start(e){return Pp(this,void 0,void 0,(function*(){if(this.disposeModel(),!this._editor.hasModel())return;let t={isRevealed:!0};if("single"===e.seedSearchStringFromSelection){let n=Fp(this._editor,e.seedSearchStringFromSelection);n&&(this._state.isRegex?t.searchString=jr.escapeRegExpCharacters(n):t.searchString=n)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){let n=Fp(this._editor,e.seedSearchStringFromSelection);n&&(t.searchString=n)}if(!t.searchString&&e.seedSearchStringFromGlobalClipboard){let e=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(t.searchString=e)}if(e.forceRevealReplace?t.isReplaceRevealed=!0:this._findWidgetVisible.get()||(t.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some((e=>!e.isEmpty()))&&(t.searchScope=e)}t.loop=e.loop,this._state.change(t,!1),this._model||(this._model=new Tu(this._editor,this._state))}))}start(e){return this._start(e)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return Pp(this,void 0,void 0,(function*(){return this._editor.getOption(31).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}))}setGlobalBufferTerm(e){this._editor.getOption(31).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};zp.ID="editor.contrib.findController",zp=Mp([Op(1,Fo.IContextKeyService),Op(2,fa.IStorageService),Op(3,Dr.IClipboardService)],zp);let Bp=class extends zp{constructor(e,t,n,i,o,r,s,a){super(e,n,s,a),this._contextViewService=t,this._keybindingService=i,this._themeService=o,this._notificationService=r,this._widget=null,this._findOptionsWidget=null}_start(e){const t=Object.create(null,{_start:{get:()=>super._start}});return Pp(this,void 0,void 0,(function*(){this._widget||this._createFindWidget();const n=this._editor.getSelection();let i=!1;switch(this._editor.getOption(31).autoFindInSelection){case"always":i=!0;break;case"never":i=!1;break;case"multiline":i=!!n&&n.startLineNumber!==n.endLineNumber}e.updateSearchScope=i,yield t._start.call(this,e),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}))}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Rp(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new zu(this._editor,this._state,this._keybindingService,this._themeService))}};Bp=Mp([Op(1,ys.IContextViewService),Op(2,Fo.IContextKeyService),Op(3,As.IKeybindingService),Op(4,gr.IThemeService),Op(5,Fs.INotificationService),Op(6,fa.IStorageService),Op(7,Dr.IClipboardService)],Bp);class Wp extends Ro.MultiEditorAction{constructor(){super({id:Eu.StartFindAction,label:No.localize("vs/editor/contrib/find/findController","startFindAction","Find"),alias:"Find",precondition:Fo.ContextKeyExpr.or(Fo.ContextKeyExpr.has("editorFocus"),Fo.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:mr.MenuId.MenubarEditMenu,group:"3_find",title:No.localize("vs/editor/contrib/find/findController",{key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})}run(e,t){return Pp(this,void 0,void 0,(function*(){let e=zp.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(31).seedSearchStringFromSelection?"single":"none",seedSearchStringFromGlobalClipboard:t.getOption(31).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(31).loop}))}))}}class Up extends Ro.EditorAction{constructor(){super({id:Eu.StartFindWithSelection,label:No.localize("vs/editor/contrib/find/findController","startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return Pp(this,void 0,void 0,(function*(){let e=zp.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(31).loop}),e.setGlobalBufferTerm(e.getState().searchString))}))}}class Hp extends Ro.EditorAction{run(e,t){return Pp(this,void 0,void 0,(function*(){let e=zp.get(t);e&&!this._run(e)&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&t.getOption(31).seedSearchStringFromSelection?"single":"none",seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(31).loop}),this._run(e))}))}}class Vp extends Hp{constructor(){super({id:Eu.NextMatchFindAction,label:No.localize("vs/editor/contrib/find/findController","findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})}_run(e){return!!e.moveToNextMatch()&&(e.editor.pushUndoStop(),!0)}}class jp extends Hp{constructor(){super({id:Eu.NextMatchFindAction,label:No.localize("vs/editor/contrib/find/findController","findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.focus,_u),primary:3,weight:100}})}_run(e){return!!e.moveToNextMatch()&&(e.editor.pushUndoStop(),!0)}}class Kp extends Hp{constructor(){super({id:Eu.PreviousMatchFindAction,label:No.localize("vs/editor/contrib/find/findController","findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})}_run(e){return e.moveToPrevMatch()}}class qp extends Hp{constructor(){super({id:Eu.PreviousMatchFindAction,label:No.localize("vs/editor/contrib/find/findController","findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.focus,_u),primary:1027,weight:100}})}_run(e){return e.moveToPrevMatch()}}class Gp extends Ro.EditorAction{run(e,t){return Pp(this,void 0,void 0,(function*(){let e=zp.get(t);if(!e)return;let n=Fp(t);n&&e.setSearchString(n),this._run(e)||(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(31).seedSearchStringFromSelection?"single":"none",seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(31).loop}),this._run(e))}))}}class Qp extends Gp{constructor(){super({id:Eu.NextSelectionMatchFindAction,label:No.localize("vs/editor/contrib/find/findController","nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}class Yp extends Gp{constructor(){super({id:Eu.PreviousSelectionMatchFindAction,label:No.localize("vs/editor/contrib/find/findController","previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}}class $p extends Ro.MultiEditorAction{constructor(){super({id:Eu.StartFindReplaceAction,label:No.localize("vs/editor/contrib/find/findController","startReplace","Replace"),alias:"Replace",precondition:Fo.ContextKeyExpr.or(Fo.ContextKeyExpr.has("editorFocus"),Fo.ContextKeyExpr.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:mr.MenuId.MenubarEditMenu,group:"3_find",title:No.localize("vs/editor/contrib/find/findController",{key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})}run(e,t){return Pp(this,void 0,void 0,(function*(){if(!t.hasModel()||t.getOption(75))return;let e=zp.get(t),n=t.getSelection(),i=e.isFindInputFocused(),o=!n.isEmpty()&&n.startLineNumber===n.endLineNumber&&t.getOption(31).seedSearchStringFromSelection&&!i,r=i||o?2:1;e&&(yield e.start({forceRevealReplace:!0,seedSearchStringFromSelection:o?"single":"none",seedSearchStringFromGlobalClipboard:t.getOption(31).seedSearchStringFromSelection,shouldFocus:r,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(31).loop}))}))}}(0,Ro.registerEditorContribution)(zp.ID,Bp);const Jp=new Wp;(0,Ro.registerMultiEditorAction)(Jp),(0,Ro.registerEditorAction)(Up),(0,Ro.registerEditorAction)(Vp),(0,Ro.registerEditorAction)(jp),(0,Ro.registerEditorAction)(Kp),(0,Ro.registerEditorAction)(qp),(0,Ro.registerEditorAction)(Qp),(0,Ro.registerEditorAction)(Yp);const Zp=new $p;(0,Ro.registerMultiEditorAction)(Zp);const Xp=Ro.EditorCommand.bindToContribution(zp.get);(0,Ro.registerEditorCommand)(new Xp({id:Eu.CloseFindWidgetCommand,precondition:vu,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.focus,Fo.ContextKeyExpr.not("isComposing")),primary:9,secondary:[1033]}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:Mo.EditorContextKeys.focus,primary:yu.primary,mac:yu.mac,win:yu.win,linux:yu.linux}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:Mo.EditorContextKeys.focus,primary:Au.primary,mac:Au.mac,win:Au.win,linux:Au.linux}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:Mo.EditorContextKeys.focus,primary:Cu.primary,mac:Cu.mac,win:Cu.win,linux:Cu.linux}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:Mo.EditorContextKeys.focus,primary:Su.primary,mac:Su.mac,win:Su.win,linux:Su.linux}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:Mo.EditorContextKeys.focus,primary:xu.primary,mac:xu.mac,win:xu.win,linux:xu.linux}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.ReplaceOneAction,precondition:vu,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:Mo.EditorContextKeys.focus,primary:3094}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.ReplaceOneAction,precondition:vu,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.focus,wu),primary:3}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.ReplaceAllAction,precondition:vu,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:Mo.EditorContextKeys.focus,primary:2563}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.ReplaceAllAction,precondition:vu,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.focus,wu),primary:void 0,mac:{primary:2051}}})),(0,Ro.registerEditorCommand)(new Xp({id:Eu.SelectAllMatchesAction,precondition:vu,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:Mo.EditorContextKeys.focus,primary:515}}));var eg=n(91710);Do()(eg.Z,{insert:"head",singleton:!1}),eg.Z.locals;const tg=65535,ng=16777215,ig=4278190080;class og{constructor(e,t,n){if(e.length!==t.length||e.length>tg)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new Uint32Array(Math.ceil(e.length/32)),this._types=n,this._parentsComputed=!1}ensureParentIndices(){if(!this._parentsComputed){this._parentsComputed=!0;let e=[],t=(t,n)=>{let i=e[e.length-1];return this.getStartLineNumber(i)<=t&&this.getEndLineNumber(i)>=n};for(let n=0,i=this._startIndexes.length;n<i;n++){let i=this._startIndexes[n],o=this._endIndexes[n];if(i>ng||o>ng)throw new Error("startLineNumber or endLineNumber must not exceed "+ng);for(;e.length>0&&!t(i,o);)e.pop();let r=e.length>0?e[e.length-1]:-1;e.push(n),this._startIndexes[n]=i+((255&r)<<24),this._endIndexes[n]=o+((65280&r)<<16)}}}get length(){return this._startIndexes.length}getStartLineNumber(e){return this._startIndexes[e]&ng}getEndLineNumber(e){return this._endIndexes[e]&ng}getType(e){return this._types?this._types[e]:void 0}hasTypes(){return!!this._types}isCollapsed(e){let t=e/32|0,n=e%32;return 0!=(this._collapseStates[t]&1<<n)}setCollapsed(e,t){let n=e/32|0,i=e%32,o=this._collapseStates[n];this._collapseStates[n]=t?o|1<<i:o&~(1<<i)}toRegion(e){return new rg(this,e)}getParentIndex(e){this.ensureParentIndices();let t=((this._startIndexes[e]&ig)>>>24)+((this._endIndexes[e]&ig)>>>16);return t===tg?-1:t}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,n=this._startIndexes.length;if(0===n)return-1;for(;t<n;){let i=Math.floor((t+n)/2);e<this.getStartLineNumber(i)?n=i:t=i+1}return t-1}findRange(e){let t=this.findIndex(e);if(t>=0){if(this.getEndLineNumber(t)>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1}toString(){let e=[];for(let t=0;t<this.length;t++)e[t]=`[${this.isCollapsed(t)?"+":"-"}] ${this.getStartLineNumber(t)}/${this.getEndLineNumber(t)}`;return e.join(", ")}}class rg{constructor(e,t){this.ranges=e,this.index=t}get startLineNumber(){return this.ranges.getStartLineNumber(this.index)}get endLineNumber(){return this.ranges.getEndLineNumber(this.index)}get regionIndex(){return this.index}get parentIndex(){return this.ranges.getParentIndex(this.index)}get isCollapsed(){return this.ranges.isCollapsed(this.index)}containedBy(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}class sg{constructor(e,t){this._updateEventEmitter=new Is.Emitter,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new og(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}get regions(){return this._regions}get textModel(){return this._textModel}get isInitialized(){return this._isInitialized}toggleCollapseState(e){if(!e.length)return;e=e.sort(((e,t)=>e.regionIndex-t.regionIndex));const t={};this._decorationProvider.changeDecorations((n=>{let i=0,o=-1,r=-1;const s=e=>{for(;i<e;){const e=this._regions.getEndLineNumber(i),t=this._regions.isCollapsed(i);e<=o&&n.changeDecorationOptions(this._editorDecorationIds[i],this._decorationProvider.getDecorationOption(t,e<=r)),t&&e>r&&(r=e),i++}};for(let n of e){let e=n.regionIndex,i=this._editorDecorationIds[e];if(i&&!t[i]){t[i]=!0,s(e);let n=!this._regions.isCollapsed(e);this._regions.setCollapsed(e,n),o=Math.max(o,this._regions.getEndLineNumber(e))}}s(this._regions.length)})),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}update(e,t=[]){let n=[],i=-1,o=(o,r)=>{const s=e.getStartLineNumber(o),a=e.getEndLineNumber(o);r&&((e,n)=>{for(let i of t)if(e<i&&i<=n)return!0;return!1})(s,a)&&(r=!1),e.setCollapsed(o,r);const l=this._textModel.getLineMaxColumn(s),c={startLineNumber:s,startColumn:Math.max(l-1,1),endLineNumber:s,endColumn:l};n.push({range:c,options:this._decorationProvider.getDecorationOption(r,a<=i)}),r&&a>i&&(i=a)},r=0,s=()=>{for(;r<this._regions.length;){let e=this._regions.isCollapsed(r);if(r++,e)return r-1}return-1},a=0,l=s();for(;-1!==l&&a<e.length;){let t=this._textModel.getDecorationRange(this._editorDecorationIds[l]);if(t){let n=t.startLineNumber;if(t.startColumn===Math.max(t.endColumn-1,1)&&this._textModel.getLineMaxColumn(n)===t.endColumn)for(;a<e.length;){let t=e.getStartLineNumber(a);if(!(n>=t))break;o(a,n===t),a++}}l=s()}for(;a<e.length;)o(a,!1),a++;this._editorDecorationIds=this._decorationProvider.deltaDecorations(this._editorDecorationIds,n),this._regions=e,this._isInitialized=!0,this._updateEventEmitter.fire({model:this})}getMemento(){let e=[];for(let t=0;t<this._regions.length;t++)if(this._regions.isCollapsed(t)){let n=this._textModel.getDecorationRange(this._editorDecorationIds[t]);if(n){let i=n.startLineNumber,o=n.endLineNumber+this._regions.getEndLineNumber(t)-this._regions.getStartLineNumber(t);e.push({startLineNumber:i,endLineNumber:o})}}if(e.length>0)return e}applyMemento(e){if(!Array.isArray(e))return;let t=[];for(let n of e){let e=this.getRegionAtLine(n.startLineNumber);e&&!e.isCollapsed&&t.push(e)}this.toggleCollapseState(t)}dispose(){this._decorationProvider.deltaDecorations(this._editorDecorationIds,[])}getAllRegionsAtLine(e,t){let n=[];if(this._regions){let i=this._regions.findRange(e),o=1;for(;i>=0;){let e=this._regions.toRegion(i);t&&!t(e,o)||n.push(e),o++,i=e.parentIndex}}return n}getRegionAtLine(e){if(this._regions){let t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null}getRegionsInside(e,t){let n=[],i=e?e.regionIndex+1:0,o=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length){const e=[];for(let r=i,s=this._regions.length;r<s;r++){let i=this._regions.toRegion(r);if(!(this._regions.getStartLineNumber(r)<o))break;for(;e.length>0&&!i.containedBy(e[e.length-1]);)e.pop();e.push(i),t(i,e.length)&&n.push(i)}}else for(let e=i,r=this._regions.length;e<r;e++){let i=this._regions.toRegion(e);if(!(this._regions.getStartLineNumber(e)<o))break;t&&!t(i)||n.push(i)}return n}}function ag(e,t,n){let i=[];for(let o of n){let n=e.getRegionAtLine(o);if(n){const o=!n.isCollapsed;if(i.push(n),t>1){let r=e.getRegionsInside(n,((e,n)=>e.isCollapsed!==o&&n<t));i.push(...r)}}}e.toggleCollapseState(i)}function lg(e,t,n=Number.MAX_VALUE,i){let o=[];if(i&&i.length>0)for(let r of i){let i=e.getRegionAtLine(r);if(i&&(i.isCollapsed!==t&&o.push(i),n>1)){let r=e.getRegionsInside(i,((e,i)=>e.isCollapsed!==t&&i<n));o.push(...r)}}else{let i=e.getRegionsInside(null,((e,i)=>e.isCollapsed!==t&&i<n));o.push(...i)}e.toggleCollapseState(o)}function cg(e,t,n,i){let o=[];for(let r of i){let i=e.getAllRegionsAtLine(r,((e,i)=>e.isCollapsed!==t&&i<=n));o.push(...i)}e.toggleCollapseState(o)}function dg(e,t,n){let i=[];for(let o of n){let n=e.getAllRegionsAtLine(o,(e=>e.isCollapsed!==t));n.length>0&&i.push(n[0])}e.toggleCollapseState(i)}function hg(e,t,n,i){let o=e.getRegionsInside(null,((e,o)=>o===t&&e.isCollapsed!==n&&!i.some((t=>e.containsLine(t)))));e.toggleCollapseState(o)}function ug(e,t,n){let i=e.textModel,o=e.regions,r=[];for(let e=o.length-1;e>=0;e--)if(n!==o.isCollapsed(e)){let n=o.getStartLineNumber(e);t.test(i.getLineContent(n))&&r.push(o.toRegion(e))}e.toggleCollapseState(r)}function pg(e,t,n){let i=e.regions,o=[];for(let e=i.length-1;e>=0;e--)n!==i.isCollapsed(e)&&t===i.getType(e)&&o.push(i.toRegion(e));e.toggleCollapseState(o)}const gg=(0,wc.registerIcon)("folding-expanded",Rs.Codicon.chevronDown,(0,No.localize)("vs/editor/contrib/folding/foldingDecorations","foldingExpandedIcon","Icon for expanded ranges in the editor glyph margin.")),mg=(0,wc.registerIcon)("folding-collapsed",Rs.Codicon.chevronRight,(0,No.localize)("vs/editor/contrib/folding/foldingDecorations","foldingCollapsedIcon","Icon for collapsed ranges in the editor glyph margin."));class fg{constructor(e){this.editor=e,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}getDecorationOption(e,t){return t?fg.HIDDEN_RANGE_DECORATION:e?this.showFoldingHighlights?fg.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:fg.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?fg.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:fg.EXPANDED_VISUAL_DECORATION}deltaDecorations(e,t){return this.editor.deltaDecorations(e,t)}changeDecorations(e){return this.editor.changeDecorations(e)}}fg.COLLAPSED_VISUAL_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:gr.ThemeIcon.asClassName(mg)}),fg.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:gr.ThemeIcon.asClassName(mg)}),fg.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:gr.ThemeIcon.asClassName(gg)}),fg.EXPANDED_VISUAL_DECORATION=hr.ModelDecorationOptions.register({stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+gr.ThemeIcon.asClassName(gg)}),fg.HIDDEN_RANGE_DECORATION=hr.ModelDecorationOptions.register({stickiness:1});class bg{constructor(e){this._updateEventEmitter=new Is.Emitter,this._foldingModel=e,this._foldingModelListener=e.onDidChange((e=>this.updateHiddenRanges())),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}updateHiddenRanges(){let e=!1,t=[],n=0,i=0,o=Number.MAX_VALUE,r=-1,s=this._foldingModel.regions;for(;n<s.length;n++){if(!s.isCollapsed(n))continue;let a=s.getStartLineNumber(n)+1,l=s.getEndLineNumber(n);o<=a&&l<=r||(!e&&i<this._hiddenRanges.length&&this._hiddenRanges[i].startLineNumber===a&&this._hiddenRanges[i].endLineNumber===l?(t.push(this._hiddenRanges[i]),i++):(e=!0,t.push(new cr.Range(a,1,l,1))),o=a,r=l)}(e||i<this._hiddenRanges.length)&&this.applyHiddenRanges(t)}applyMemento(e){if(!Array.isArray(e)||0===e.length)return!1;let t=[];for(let n of e){if(!n.startLineNumber||!n.endLineNumber)return!1;t.push(new cr.Range(n.startLineNumber+1,1,n.endLineNumber,1))}return this.applyHiddenRanges(t),!0}getMemento(){return this._hiddenRanges.map((e=>({startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber})))}applyHiddenRanges(e){this._hiddenRanges=e,this._updateEventEmitter.fire(e)}hasRanges(){return this._hiddenRanges.length>0}isHidden(e){return null!==vg(this._hiddenRanges,e)}adjustSelections(e){let t=!1,n=this._foldingModel.textModel,i=null,o=e=>(i&&function(e,t){return e>=t.startLineNumber&&e<=t.endLineNumber}(e,i)||(i=vg(this._hiddenRanges,e)),i?i.startLineNumber-1:null);for(let i=0,r=e.length;i<r;i++){let r=e[i],s=o(r.startLineNumber);s&&(r=r.setStartPosition(s,n.getLineMaxColumn(s)),t=!0);let a=o(r.endLineNumber);a&&(r=r.setEndPosition(a,n.getLineMaxColumn(a)),t=!0),e[i]=r}return t}dispose(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)}}function vg(e,t){let n=(0,zo.findFirstInSorted)(e,(e=>t<e.startLineNumber))-1;return n>=0&&e[n].endLineNumber>=t?e[n]:null}const _g="indent";class wg{constructor(e){this.editorModel=e,this.id=_g}dispose(){}compute(e){let t=Vh.LanguageConfigurationRegistry.getFoldingRules(this.editorModel.getLanguageIdentifier().id),n=t&&!!t.offSide,i=t&&t.markers;return Promise.resolve(Ag(this.editorModel,n,i))}}class yg{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,n){if(e>ng||t>ng)return;let i=this._length;this._startIndexes[i]=e,this._endIndexes[i]=t,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}toIndentRanges(e){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=this._length-1,i=0;n>=0;n--,i++)e[i]=this._startIndexes[n],t[i]=this._endIndexes[n];return new og(e,t)}{let t=0,n=this._indentOccurrences.length;for(let e=0;e<this._indentOccurrences.length;e++){let i=this._indentOccurrences[e];if(i){if(i+t>this._foldingRangesLimit){n=e;break}t+=i}}const i=e.getOptions().tabSize;let o=new Uint32Array(this._foldingRangesLimit),r=new Uint32Array(this._foldingRangesLimit);for(let s=this._length-1,a=0;s>=0;s--){let l=this._startIndexes[s],c=e.getLineContent(l),d=hr.TextModel.computeIndentLevel(c,i);(d<n||d===n&&t++<this._foldingRangesLimit)&&(o[a]=l,r[a]=this._endIndexes[s],a++)}return new og(o,r)}}}function Ag(e,t,n,i=5e3){const o=e.getOptions().tabSize;let r,s=new yg(i);n&&(r=new RegExp(`(${n.start.source})|(?:${n.end.source})`));let a=[],l=e.getLineCount()+1;a.push({indent:-1,endAbove:l,line:l});for(let n=e.getLineCount();n>0;n--){let i,l=e.getLineContent(n),c=hr.TextModel.computeIndentLevel(l,o),d=a[a.length-1];if(-1!==c){if(r&&(i=l.match(r))){if(!i[1]){a.push({indent:-2,endAbove:n,line:n});continue}{let e=a.length-1;for(;e>0&&-2!==a[e].indent;)e--;if(e>0){a.length=e+1,d=a[e],s.insertFirst(n,d.line,c),d.line=n,d.indent=c,d.endAbove=n;continue}}}if(d.indent>c){do{a.pop(),d=a[a.length-1]}while(d.indent>c);let e=d.endAbove-1;e-n>=1&&s.insertFirst(n,e,c)}d.indent===c?d.endAbove=n:a.push({indent:c,endAbove:n,line:n})}else t&&(d.endAbove=n)}return s.toIndentRanges(e)}const Cg={},Sg="syntax";class xg{constructor(e,t,n,i=5e3){this.editorModel=e,this.providers=t,this.limit=i,this.id=Sg;for(const e of t)"function"==typeof e.onDidChange&&(this.disposables||(this.disposables=new ar.DisposableStore),this.disposables.add(e.onDidChange(n)))}compute(e){return function(e,t,n){let i=null,o=e.map(((e,o)=>Promise.resolve(e.provideFoldingRanges(t,Cg,n)).then((e=>{if(!n.isCancellationRequested&&Array.isArray(e)){Array.isArray(i)||(i=[]);let n=t.getLineCount();for(let t of e)t.start>0&&t.end>t.start&&t.end<=n&&i.push({start:t.start,end:t.end,rank:o,kind:t.kind})}}),Wo.onUnexpectedExternalError)));return Promise.all(o).then((e=>i))}(this.providers,this.editorModel,e).then((e=>e?kg(e,this.limit):null))}dispose(){var e;null===(e=this.disposables)||void 0===e||e.dispose()}}class Eg{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,n,i){if(e>ng||t>ng)return;let o=this._length;this._startIndexes[o]=e,this._endIndexes[o]=t,this._nestingLevels[o]=i,this._types[o]=n,this._length++,i<30&&(this._nestingLevelCounts[i]=(this._nestingLevelCounts[i]||0)+1)}toIndentRanges(){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let n=0;n<this._length;n++)e[n]=this._startIndexes[n],t[n]=this._endIndexes[n];return new og(e,t,this._types)}{let e=0,t=this._nestingLevelCounts.length;for(let n=0;n<this._nestingLevelCounts.length;n++){let i=this._nestingLevelCounts[n];if(i){if(i+e>this._foldingRangesLimit){t=n;break}e+=i}}let n=new Uint32Array(this._foldingRangesLimit),i=new Uint32Array(this._foldingRangesLimit),o=[];for(let r=0,s=0;r<this._length;r++){let a=this._nestingLevels[r];(a<t||a===t&&e++<this._foldingRangesLimit)&&(n[s]=this._startIndexes[r],i[s]=this._endIndexes[r],o[s]=this._types[r],s++)}return new og(n,i,o)}}}function kg(e,t){let n,i=e.sort(((e,t)=>{let n=e.start-t.start;return 0===n&&(n=e.rank-t.rank),n})),o=new Eg(t),r=[];for(let e of i)if(n){if(e.start>n.start)if(e.end<=n.end)r.push(n),n=e,o.add(e.start,e.end,e.kind&&e.kind.value,r.length);else{if(e.start>n.end){do{n=r.pop()}while(n&&e.start>n.end);n&&r.push(n),n=e}o.add(e.start,e.end,e.kind&&e.kind.value,r.length)}}else n=e,o.add(e.start,e.end,e.kind&&e.kind.value,r.length);return o.toIndentRanges()}const Tg="init";class Ig{constructor(e,t,n,i){if(this.editorModel=e,this.id=Tg,t.length){let o=t=>({range:{startLineNumber:t.startLineNumber,startColumn:0,endLineNumber:t.endLineNumber,endColumn:e.getLineLength(t.endLineNumber)},options:{stickiness:1}});this.decorationIds=e.deltaDecorations([],t.map(o)),this.timeout=setTimeout(n,i)}}dispose(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"==typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)}compute(e){let t=[];if(this.decorationIds)for(let e of this.decorationIds){let n=this.editorModel.getDecorationRange(e);n&&t.push({start:n.startLineNumber,end:n.endLineNumber,rank:1})}return Promise.resolve(kg(t,Number.MAX_VALUE))}}const Dg=new Fo.RawContextKey("foldingEnabled",!1);let Lg=class e extends ar.Disposable{constructor(e,t){super(),this.contextKeyService=t,this.localToDispose=this._register(new ar.DisposableStore),this.editor=e;const n=this.editor.getOptions();this._isEnabled=n.get(33),this._useFoldingProviders="indentation"!==n.get(34),this._unfoldOnClickAfterEndOfLine=n.get(36),this._restoringViewState=!1,this.foldingModel=null,this.hiddenRangeModel=null,this.rangeProvider=null,this.foldingRegionPromise=null,this.foldingStateMemento=null,this.foldingModelPromise=null,this.updateScheduler=null,this.cursorChangedScheduler=null,this.mouseDownInfo=null,this.foldingDecorationProvider=new fg(e),this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===n.get(94),this.foldingDecorationProvider.showFoldingHighlights=n.get(35),this.foldingEnabled=Dg.bindTo(this.contextKeyService),this.foldingEnabled.set(this._isEnabled),this._register(this.editor.onDidChangeModel((()=>this.onModelChanged()))),this._register(this.editor.onDidChangeConfiguration((e=>{if(e.hasChanged(33)&&(this._isEnabled=this.editor.getOptions().get(33),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(94)||e.hasChanged(35)){const e=this.editor.getOptions();this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===e.get(94),this.foldingDecorationProvider.showFoldingHighlights=e.get(35),this.onModelContentChanged()}e.hasChanged(34)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(34),this.onFoldingStrategyChanged()),e.hasChanged(36)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(36))}))),this.onModelChanged()}static get(t){return t.getContribution(e.ID)}saveViewState(){let e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){let t=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),n=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:n}}}restoreViewState(e){let t=this.editor.getModel();if(!t||!this._isEnabled||t.isTooLargeForTokenization()||!this.hiddenRangeModel)return;if(!e||!e.collapsedRegions||e.lineCount!==t.getLineCount())return;e.provider!==Sg&&e.provider!==Tg||(this.foldingStateMemento=e);const n=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(n)){const e=this.getFoldingModel();e&&e.then((e=>{if(e){this._restoringViewState=!0;try{e.applyMemento(n)}finally{this._restoringViewState=!1}}})).then(void 0,Wo.onUnexpectedError)}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();this._isEnabled&&e&&!e.isTooLargeForTokenization()&&(this.foldingModel=new sg(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new bg(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange((e=>this.onHiddenRangesChanges(e)))),this.updateScheduler=new sr.Delayer(200),this.cursorChangedScheduler=new sr.RunOnceScheduler((()=>this.revealCursor()),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(Qr.FoldingRangeProviderRegistry.onDidChange((()=>this.onFoldingStrategyChanged()))),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration((()=>this.onFoldingStrategyChanged()))),this.localToDispose.add(this.editor.onDidChangeModelContent((()=>this.onModelContentChanged()))),this.localToDispose.add(this.editor.onDidChangeCursorPosition((()=>this.onCursorPositionChanged()))),this.localToDispose.add(this.editor.onMouseDown((e=>this.onEditorMouseDown(e)))),this.localToDispose.add(this.editor.onMouseUp((e=>this.onEditorMouseUp(e)))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.foldingStateMemento=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.onModelContentChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()}getRangeProvider(e){if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new wg(e),this._useFoldingProviders&&this.foldingModel){let t=Qr.FoldingRangeProviderRegistry.ordered(this.foldingModel.textModel);if(0===t.length&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions)return this.rangeProvider=new Ig(e,this.foldingStateMemento.collapsedRegions,(()=>{this.foldingStateMemento=null,this.onFoldingStrategyChanged()}),3e4);t.length>0&&(this.rangeProvider=new xg(e,t,(()=>this.onModelContentChanged())))}return this.foldingStateMemento=null,this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onModelContentChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger((()=>{const e=this.foldingModel;if(!e)return null;let t=this.foldingRegionPromise=(0,sr.createCancelablePromise)((t=>this.getRangeProvider(e.textModel).compute(t)));return t.then((n=>{if(n&&t===this.foldingRegionPromise){let t=this.editor.getSelections(),i=t?t.map((e=>e.startLineNumber)):[];e.update(n,i)}return e}))})).then(void 0,(e=>((0,Wo.onUnexpectedError)(e),null))))}onHiddenRangesChanges(e){if(this.hiddenRangeModel&&e.length&&!this._restoringViewState){let e=this.editor.getSelections();e&&this.hiddenRangeModel.adjustSelections(e)&&this.editor.setSelections(e)}this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const e=this.getFoldingModel();e&&e.then((e=>{if(e){let t=this.editor.getSelections();if(t&&t.length>0){let n=[];for(let i of t){let t=i.selectionStartLineNumber;this.hiddenRangeModel&&this.hiddenRangeModel.isHidden(t)&&n.push(...e.getAllRegionsAtLine(t,(e=>e.isCollapsed&&t>e.startLineNumber)))}n.length&&(e.toggleCollapseState(n),this.reveal(t[0].getPosition()))}}})).then(void 0,Wo.onUnexpectedError)}onEditorMouseDown(e){if(this.mouseDownInfo=null,!this.hiddenRangeModel||!e.target||!e.target.range)return;if(!e.event.leftButton&&!e.event.middleButton)return;const t=e.target.range;let n=!1;switch(e.target.type){case 4:const i=e.target.detail,o=e.target.element.offsetLeft;if(i.offsetX-o<5)return;n=!0;break;case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!e.target.detail.isAfterLines)break;return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:n}}onEditorMouseUp(e){const t=this.getFoldingModel();if(!t||!this.mouseDownInfo||!e.target)return;let n=this.mouseDownInfo.lineNumber,i=this.mouseDownInfo.iconClicked,o=e.target.range;if(o&&o.startLineNumber===n){if(i){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||o.startColumn!==e.getLineMaxColumn(n))return}t.then((t=>{if(t){let o=t.getRegionAtLine(n);if(o&&o.startLineNumber===n){let r=o.isCollapsed;if(i||r){let i=[],s=e.event.middleButton||e.event.shiftKey;if(s)for(const e of t.getRegionsInside(o))e.isCollapsed===r&&i.push(e);!r&&s&&0!==i.length||i.push(o),t.toggleCollapseState(i),this.reveal({lineNumber:n,column:1})}}}})).then(void 0,Wo.onUnexpectedError)}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};Lg.ID="editor.contrib.folding",Lg=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,Fo.IContextKeyService)],Lg);class Rg extends Ro.EditorAction{runEditorCommand(e,t,n){let i=Lg.get(t);if(!i)return;let o=i.getFoldingModel();return o?(this.reportTelemetry(e,t),o.then((e=>{if(e){this.invoke(i,e,t,n);const o=t.getSelection();o&&i.reveal(o.getStartPosition())}}))):void 0}getSelectedLines(e){let t=e.getSelections();return t?t.map((e=>e.startLineNumber)):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map((e=>e+1)):this.getSelectedLines(t)}run(e,t){}}function Ng(e){if(!oa.isUndefined(e)){if(!oa.isObject(e))return!1;const t=e;if(!oa.isUndefined(t.levels)&&!oa.isNumber(t.levels))return!1;if(!oa.isUndefined(t.direction)&&!oa.isString(t.direction))return!1;if(!(oa.isUndefined(t.selectionLines)||oa.isArray(t.selectionLines)&&t.selectionLines.every(oa.isNumber)))return!1}return!0}class Mg extends Rg{getFoldingLevel(){return parseInt(this.id.substr(Mg.ID_PREFIX.length))}invoke(e,t,n){hg(t,this.getFoldingLevel(),!0,this.getSelectedLines(n))}}Mg.ID_PREFIX="editor.foldLevel",Mg.ID=e=>Mg.ID_PREFIX+e,(0,Ro.registerEditorContribution)(Lg.ID,Lg),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.unfold",label:No.localize("vs/editor/contrib/folding/folding","unfoldAction.label","Unfold"),alias:"Unfold",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t* 'levels': Number of levels to unfold. If not set, defaults to 1.\n\t\t\t\t\t\t* 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t",constraint:Ng,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,n,i){let o=i&&i.levels||1,r=this.getLineNumbers(i,n);i&&"up"===i.direction?cg(t,!1,o,r):lg(t,!1,o,r)}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.unfoldRecursively",label:No.localize("vs/editor/contrib/folding/folding","unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2137),weight:100}})}invoke(e,t,n,i){lg(t,!1,Number.MAX_VALUE,this.getSelectedLines(n))}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.fold",label:No.localize("vs/editor/contrib/folding/folding","foldAction.label","Fold"),alias:"Fold",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t\t* 'levels': Number of levels to fold.\n\t\t\t\t\t\t\t* 'direction': If 'up', folds given number of levels up otherwise folds down.\n\t\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t\tIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.\n\t\t\t\t\t\t",constraint:Ng,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,n,i){let o=this.getLineNumbers(i,n);const r=i&&i.levels,s=i&&i.direction;"number"!=typeof r&&"string"!=typeof s?dg(t,!0,o):"up"===s?cg(t,!0,r||1,o):lg(t,!0,r||1,o)}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.foldRecursively",label:No.localize("vs/editor/contrib/folding/folding","foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2135),weight:100}})}invoke(e,t,n){let i=this.getSelectedLines(n);lg(t,!0,Number.MAX_VALUE,i)}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.foldAll",label:No.localize("vs/editor/contrib/folding/folding","foldAllAction.label","Fold All"),alias:"Fold All",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2069),weight:100}})}invoke(e,t,n){lg(t,!0)}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.unfoldAll",label:No.localize("vs/editor/contrib/folding/folding","unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2088),weight:100}})}invoke(e,t,n){lg(t,!1)}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.foldAllBlockComments",label:No.localize("vs/editor/contrib/folding/folding","foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2133),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())pg(t,Qr.FoldingRangeKind.Comment.value,!0);else{const e=n.getModel();if(!e)return;let i=Vh.LanguageConfigurationRegistry.getComments(e.getLanguageIdentifier().id);i&&i.blockCommentStartToken&&ug(t,new RegExp("^\\s*"+(0,jr.escapeRegExpCharacters)(i.blockCommentStartToken)),!0)}}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.foldAllMarkerRegions",label:No.localize("vs/editor/contrib/folding/folding","foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2077),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())pg(t,Qr.FoldingRangeKind.Region.value,!0);else{const e=n.getModel();if(!e)return;let i=Vh.LanguageConfigurationRegistry.getFoldingRules(e.getLanguageIdentifier().id);i&&i.markers&&i.markers.start&&ug(t,new RegExp(i.markers.start),!0)}}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.unfoldAllMarkerRegions",label:No.localize("vs/editor/contrib/folding/folding","unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2078),weight:100}})}invoke(e,t,n){if(t.regions.hasTypes())pg(t,Qr.FoldingRangeKind.Region.value,!1);else{const e=n.getModel();if(!e)return;let i=Vh.LanguageConfigurationRegistry.getFoldingRules(e.getLanguageIdentifier().id);i&&i.markers&&i.markers.start&&ug(t,new RegExp(i.markers.start),!1)}}}),(0,Ro.registerEditorAction)(class extends Rg{constructor(){super({id:"editor.toggleFold",label:No.localize("vs/editor/contrib/folding/folding","toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2090),weight:100}})}invoke(e,t,n){ag(t,1,this.getSelectedLines(n))}});for(let e=1;e<=7;e++)(0,Ro.registerInstantiatedEditorAction)(new Mg({id:Mg.ID(e),label:No.localize("vs/editor/contrib/folding/folding","foldLevelAction.label","Fold Level {0}",e),alias:`Fold Level ${e}`,precondition:Dg,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2048|21+e),weight:100}}));const Og=(0,pr.registerColor)("editor.foldBackground",{light:(0,pr.transparent)(pr.editorSelectionBackground,.3),dark:(0,pr.transparent)(pr.editorSelectionBackground,.3),hc:null},No.localize("vs/editor/contrib/folding/folding","foldBackgroundBackground","Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."),!0),Pg=(0,pr.registerColor)("editorGutter.foldingControlForeground",{dark:pr.iconForeground,light:pr.iconForeground,hc:pr.iconForeground},No.localize("vs/editor/contrib/folding/folding","editorGutter.foldingControlForeground","Color of the folding control in the editor gutter."));(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(Og);n&&t.addRule(`.monaco-editor .folded-background { background-color: ${n}; }`);const i=e.getColor(Pg);i&&t.addRule(`\n\t\t.monaco-editor .cldr${gr.ThemeIcon.asCSSSelector(gg)},\n\t\t.monaco-editor .cldr${gr.ThemeIcon.asCSSSelector(mg)} {\n\t\t\tcolor: ${i} !important;\n\t\t}\n\t\t`)}));var Fg=n(9790);class zg extends Ro.EditorAction{constructor(){super({id:"editor.action.fontZoomIn",label:No.localize("vs/editor/contrib/fontZoom/fontZoom","EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})}run(e,t){Fg.EditorZoom.setZoomLevel(Fg.EditorZoom.getZoomLevel()+1)}}class Bg extends Ro.EditorAction{constructor(){super({id:"editor.action.fontZoomOut",label:No.localize("vs/editor/contrib/fontZoom/fontZoom","EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})}run(e,t){Fg.EditorZoom.setZoomLevel(Fg.EditorZoom.getZoomLevel()-1)}}class Wg extends Ro.EditorAction{constructor(){super({id:"editor.action.fontZoomReset",label:No.localize("vs/editor/contrib/fontZoom/fontZoom","EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})}run(e,t){Fg.EditorZoom.setZoomLevel(0)}}(0,Ro.registerEditorAction)(zg),(0,Ro.registerEditorAction)(Bg),(0,Ro.registerEditorAction)(Wg);var Ug=n(90480),Hg=n(88297),Vg=n(3348),jg=n(56184),Kg=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},qg=function(e,t){return function(n,i){t(n,i,e)}},Gg=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let Qg=class{constructor(e,t){this._workerService=t,this._callOnDispose=new ar.DisposableStore,this._callOnModel=new ar.DisposableStore,this._editor=e,this._callOnDispose.add(e.onDidChangeConfiguration((()=>this._update()))),this._callOnDispose.add(e.onDidChangeModel((()=>this._update()))),this._callOnDispose.add(e.onDidChangeModelLanguage((()=>this._update()))),this._callOnDispose.add(Qr.OnTypeFormattingEditProviderRegistry.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){if(this._callOnModel.clear(),!this._editor.getOption(43))return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),[t]=Qr.OnTypeFormattingEditProviderRegistry.ordered(e);if(!t||!t.autoFormatTriggerCharacters)return;let n=new Ug.CharacterSet;for(let e of t.autoFormatTriggerCharacters)n.add(e.charCodeAt(0));this._callOnModel.add(this._editor.onDidType((e=>{let t=e.charCodeAt(e.length-1);n.has(t)&&this._trigger(String.fromCharCode(t))})))}_trigger(e){if(!this._editor.hasModel())return;if(this._editor.getSelections().length>1)return;const t=this._editor.getModel(),n=this._editor.getPosition();let i=!1;const o=this._editor.onDidChangeModelContent((e=>{if(e.isFlush)return i=!0,void o.dispose();for(let t=0,r=e.changes.length;t<r;t++)if(e.changes[t].range.endLineNumber<=n.lineNumber)return i=!0,void o.dispose()}));(0,Vg.getOnTypeFormattingEdits)(this._workerService,t,n,e,t.getFormattingOptions()).then((e=>{o.dispose(),i||(0,zo.isNonEmptyArray)(e)&&(jg.FormattingEdit.execute(this._editor,e,!0),(0,Vg.alertFormattingEdits)(e))}),(e=>{throw o.dispose(),e}))}};Qg.ID="editor.contrib.autoFormat",Qg=Kg([qg(1,Hg.IEditorWorkerService)],Qg);let Yg=class{constructor(e,t){this.editor=e,this._instantiationService=t,this._callOnDispose=new ar.DisposableStore,this._callOnModel=new ar.DisposableStore,this._callOnDispose.add(e.onDidChangeConfiguration((()=>this._update()))),this._callOnDispose.add(e.onDidChangeModel((()=>this._update()))),this._callOnDispose.add(e.onDidChangeModelLanguage((()=>this._update()))),this._callOnDispose.add(Qr.DocumentRangeFormattingEditProviderRegistry.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(42)&&this.editor.hasModel()&&Qr.DocumentRangeFormattingEditProviderRegistry.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste((({range:e})=>this._trigger(e))))}_trigger(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(Vg.formatDocumentRangesWithSelectedProvider,this.editor,e,2,ts.Progress.None,Hr.CancellationToken.None).catch(Wo.onUnexpectedError))}};Yg.ID="editor.contrib.formatOnPaste",Yg=Kg([qg(1,vs.IInstantiationService)],Yg);class $g extends Ro.EditorAction{constructor(){super({id:"editor.action.formatDocument",label:No.localize("vs/editor/contrib/format/formatActions","formatDocument.label","Format Document"),alias:"Format Document",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.notInCompositeEditor,Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasDocumentFormattingProvider),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{group:"1_modification",order:1.3}})}run(e,t){return Gg(this,void 0,void 0,(function*(){if(t.hasModel()){const n=e.get(vs.IInstantiationService),i=e.get(ts.IEditorProgressService);yield i.showWhile(n.invokeFunction(Vg.formatDocumentWithSelectedProvider,t,1,ts.Progress.None,Hr.CancellationToken.None),250)}}))}}class Jg extends Ro.EditorAction{constructor(){super({id:"editor.action.formatSelection",label:No.localize("vs/editor/contrib/format/formatActions","formatSelection.label","Format Selection"),alias:"Format Selection",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2084),weight:100},contextMenuOpts:{when:Mo.EditorContextKeys.hasNonEmptySelection,group:"1_modification",order:1.31}})}run(e,t){return Gg(this,void 0,void 0,(function*(){if(!t.hasModel())return;const n=e.get(vs.IInstantiationService),i=t.getModel(),o=t.getSelections().map((e=>e.isEmpty()?new cr.Range(e.startLineNumber,1,e.startLineNumber,i.getLineMaxColumn(e.startLineNumber)):e)),r=e.get(ts.IEditorProgressService);yield r.showWhile(n.invokeFunction(Vg.formatDocumentRangesWithSelectedProvider,t,o,1,ts.Progress.None,Hr.CancellationToken.None),250)}))}}(0,Ro.registerEditorContribution)(Qg.ID,Qg),(0,Ro.registerEditorContribution)(Yg.ID,Yg),(0,Ro.registerEditorAction)($g),(0,Ro.registerEditorAction)(Jg),ns.CommandsRegistry.registerCommand("editor.action.format",(e=>Gg(void 0,void 0,void 0,(function*(){const t=e.get(Ir.ICodeEditorService).getFocusedCodeEditor();if(!t||!t.hasModel())return;const n=e.get(ns.ICommandService);t.getSelection().isEmpty()?yield n.executeCommand("editor.action.formatDocument"):yield n.executeCommand("editor.action.formatSelection")}))));var Zg=n(24417);class Xg{remove(){this.parent&&this.parent.children.delete(this.id)}static findId(e,t){let n;"string"==typeof e?n=`${t.id}/${e}`:(n=`${t.id}/${e.name}`,void 0!==t.children.get(n)&&(n=`${t.id}/${e.name}_${e.range.startLineNumber}_${e.range.startColumn}`));let i=n;for(let e=0;void 0!==t.children.get(i);e++)i=`${n}_${e}`;return i}static empty(e){return 0===e.children.size}}class em extends Xg{constructor(e,t,n){super(),this.id=e,this.parent=t,this.symbol=n,this.children=new Map}}class tm extends Xg{constructor(e,t,n,i){super(),this.id=e,this.parent=t,this.label=n,this.order=i,this.children=new Map}}class nm extends Xg{constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}static create(e,t){let n=this._keys.for(e,!0),i=nm._requests.get(n);if(!i){let t=new Hr.CancellationTokenSource;i={promiseCnt:0,source:t,promise:nm._create(e,t.token),model:void 0},nm._requests.set(n,i);const o=Date.now();i.promise.then((()=>{this._requestDurations.update(e,Date.now()-o)}))}return i.model?Promise.resolve(i.model):(i.promiseCnt+=1,t.onCancellationRequested((()=>{0==--i.promiseCnt&&(i.source.cancel(),nm._requests.delete(n))})),new Promise(((e,t)=>{i.promise.then((t=>{i.model=t,e(t)}),(e=>{nm._requests.delete(n),t(e)}))})))}static _create(e,t){const n=new Hr.CancellationTokenSource(t),i=new nm(e.uri),o=Qr.DocumentSymbolProviderRegistry.ordered(e),r=o.map(((t,o)=>{var r;let s=Xg.findId(`provider_${o}`,i),a=new tm(s,i,null!==(r=t.displayName)&&void 0!==r?r:"Unknown Outline Provider",o);return Promise.resolve(t.provideDocumentSymbols(e,n.token)).then((e=>{for(const t of e||[])nm._makeOutlineElement(t,a);return a}),(e=>((0,Wo.onUnexpectedExternalError)(e),a))).then((e=>{Xg.empty(e)?e.remove():i._groups.set(s,e)}))})),s=Qr.DocumentSymbolProviderRegistry.onDidChange((()=>{const t=Qr.DocumentSymbolProviderRegistry.ordered(e);(0,zo.equals)(t,o)||n.cancel()}));return Promise.all(r).then((()=>n.token.isCancellationRequested&&!t.isCancellationRequested?nm._create(e,t):i._compact())).finally((()=>{s.dispose()}))}static _makeOutlineElement(e,t){let n=Xg.findId(e,t),i=new em(n,t,e);if(e.children)for(const t of e.children)nm._makeOutlineElement(t,i);t.children.set(i.id,i)}_compact(){let e=0;for(const[t,n]of this._groups)0===n.children.size?this._groups.delete(t):e+=1;if(1!==e)this.children=this._groups;else{let e=Zg.Iterable.first(this._groups.values());for(let[,t]of e.children)t.parent=this,this.children.set(t.id,t)}return this}getTopLevelSymbols(){const e=[];for(const t of this.children.values())t instanceof em?e.push(t.symbol):e.push(...Zg.Iterable.map(t.children.values(),(e=>e.symbol)));return e.sort(((e,t)=>cr.Range.compareRangesUsingStarts(e.range,t.range)))}asListOfDocumentSymbols(){const e=this.getTopLevelSymbols(),t=[];return nm._flattenDocumentSymbols(t,e,""),t.sort(((e,t)=>cr.Range.compareRangesUsingStarts(e.range,t.range)))}static _flattenDocumentSymbols(e,t,n){for(const i of t)e.push({kind:i.kind,tags:i.tags,name:i.name,detail:i.detail,containerName:i.containerName||n,range:i.range,selectionRange:i.selectionRange,children:void 0}),i.children&&nm._flattenDocumentSymbols(e,i.children,i.name)}}nm._requestDurations=new Ca.LanguageFeatureRequestDelays(Qr.DocumentSymbolProviderRegistry,350),nm._requests=new ma.LRUCache(9,.75),nm._keys=new class{constructor(){this._counter=1,this._data=new WeakMap}for(e,t){return`${e.id}/${t?e.getVersionId():""}/${this._hash(Qr.DocumentSymbolProviderRegistry.all(e))}`}_hash(e){let t="";for(const n of e){let e=this._data.get(n);void 0===e&&(e=this._counter++,this._data.set(n,e)),t+=e}return t}};var im=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function om(e,t,n){return im(this,void 0,void 0,(function*(){const i=yield nm.create(e,n);return t?i.asListOfDocumentSymbols():i.getTopLevelSymbols()}))}ns.CommandsRegistry.registerCommand("_executeDocumentSymbolProvider",(function(e,...t){return im(this,void 0,void 0,(function*(){const[n]=t;(0,oa.assertType)(qr.URI.isUri(n));const i=e.get(Yr.IModelService).getModel(n);if(i)return om(i,!1,Hr.CancellationToken.None);const o=yield e.get(pd.ITextModelService).createModelReference(n);try{return yield om(o.object.textEditorModel,!1,Hr.CancellationToken.None)}finally{o.dispose()}}))}));var rm=n(57550);function sm(e,t){let n=0;for(let i=0;i<e.length;i++)"\t"===e.charAt(i)?n+=t:n++;return n}function am(e,t,n){e=e<0?0:e;let i="";if(!n){let n=Math.floor(e/t);e%=t;for(let e=0;e<n;e++)i+="\t"}for(let t=0;t<e;t++)i+=" ";return i}function lm(e,t,n,i){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return[];let o=Vh.LanguageConfigurationRegistry.getIndentationRules(e.getLanguageIdentifier().id);if(!o)return[];for(n=Math.min(n,e.getLineCount());t<=n&&o.unIndentedLinePattern;){let n=e.getLineContent(t);if(!o.unIndentedLinePattern.test(n))break;t++}if(t>n-1)return[];const{tabSize:r,indentSize:s,insertSpaces:a}=e.getOptions(),l=(e,t)=>(t=t||1,rm.ShiftCommand.shiftIndent(e,e.length+t,r,s,a)),c=(e,t)=>(t=t||1,rm.ShiftCommand.unshiftIndent(e,e.length+t,r,s,a));let d,h=[],u=e.getLineContent(t),p=u;if(null!=i){d=i;let e=jr.getLeadingWhitespace(u);p=d+u.substring(e.length),o.decreaseIndentPattern&&o.decreaseIndentPattern.test(p)&&(d=c(d),p=d+u.substring(e.length)),u!==p&&h.push(Hh.EditOperation.replaceMove(new Oo.Selection(t,1,t,e.length+1),hr.TextModel.normalizeIndentation(d,s,a)))}else d=jr.getLeadingWhitespace(u);let g=d;o.increaseIndentPattern&&o.increaseIndentPattern.test(p)?(g=l(g),d=l(d)):o.indentNextLinePattern&&o.indentNextLinePattern.test(p)&&(g=l(g));for(let i=++t;i<=n;i++){let t=e.getLineContent(i),n=jr.getLeadingWhitespace(t),r=g+t.substring(n.length);o.decreaseIndentPattern&&o.decreaseIndentPattern.test(r)&&(g=c(g),d=c(d)),n!==g&&h.push(Hh.EditOperation.replaceMove(new Oo.Selection(i,1,i,n.length+1),hr.TextModel.normalizeIndentation(g,s,a))),o.unIndentedLinePattern&&o.unIndentedLinePattern.test(t)||(o.increaseIndentPattern&&o.increaseIndentPattern.test(r)?(d=l(d),g=d):g=o.indentNextLinePattern&&o.indentNextLinePattern.test(r)?l(g):d)}return h}class cm extends Ro.EditorAction{constructor(){super({id:cm.ID,label:No.localize("vs/editor/contrib/indentation/indentation","indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:Mo.EditorContextKeys.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=n.getOptions(),o=t.getSelection();if(!o)return;const r=new wm(o,i.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop(),n.updateOptions({insertSpaces:!0})}}cm.ID="editor.action.indentationToSpaces";class dm extends Ro.EditorAction{constructor(){super({id:dm.ID,label:No.localize("vs/editor/contrib/indentation/indentation","indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:Mo.EditorContextKeys.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=n.getOptions(),o=t.getSelection();if(!o)return;const r=new ym(o,i.tabSize);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop(),n.updateOptions({insertSpaces:!1})}}dm.ID="editor.action.indentationToTabs";class hm extends Ro.EditorAction{constructor(e,t){super(t),this.insertSpaces=e}run(e,t){const n=e.get(Aa.IQuickInputService),i=e.get(Yr.IModelService);let o=t.getModel();if(!o)return;let r=i.getCreationOptions(o.getLanguageIdentifier().language,o.uri,o.isForSimpleWidget);const s=[1,2,3,4,5,6,7,8].map((e=>({id:e.toString(),label:e.toString(),description:e===r.tabSize?No.localize("vs/editor/contrib/indentation/indentation","configuredTabSize","Configured Tab Size"):void 0}))),a=Math.min(o.getOptions().tabSize-1,7);setTimeout((()=>{n.pick(s,{placeHolder:No.localize("vs/editor/contrib/indentation/indentation",{key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:s[a]}).then((e=>{e&&o&&!o.isDisposed()&&o.updateOptions({tabSize:parseInt(e.label,10),insertSpaces:this.insertSpaces})}))}),50)}}class um extends hm{constructor(){super(!1,{id:um.ID,label:No.localize("vs/editor/contrib/indentation/indentation","indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0})}}um.ID="editor.action.indentUsingTabs";class pm extends hm{constructor(){super(!0,{id:pm.ID,label:No.localize("vs/editor/contrib/indentation/indentation","indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0})}}pm.ID="editor.action.indentUsingSpaces";class gm extends Ro.EditorAction{constructor(){super({id:gm.ID,label:No.localize("vs/editor/contrib/indentation/indentation","detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0})}run(e,t){const n=e.get(Yr.IModelService);let i=t.getModel();if(!i)return;let o=n.getCreationOptions(i.getLanguageIdentifier().language,i.uri,i.isForSimpleWidget);i.detectIndentation(o.insertSpaces,o.tabSize)}}gm.ID="editor.action.detectIndentation";class mm extends Ro.EditorAction{constructor(){super({id:"editor.action.reindentlines",label:No.localize("vs/editor/contrib/indentation/indentation","editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:Mo.EditorContextKeys.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=lm(n,1,n.getLineCount());i.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,i),t.pushUndoStop())}}class fm extends Ro.EditorAction{constructor(){super({id:"editor.action.reindentselectedlines",label:No.localize("vs/editor/contrib/indentation/indentation","editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:Mo.EditorContextKeys.writable})}run(e,t){let n=t.getModel();if(!n)return;let i=t.getSelections();if(null===i)return;let o=[];for(let e of i){let t=e.startLineNumber,i=e.endLineNumber;if(t!==i&&1===e.endColumn&&i--,1===t){if(t===i)continue}else t--;let r=lm(n,t,i);o.push(...r)}o.length>0&&(t.pushUndoStop(),t.executeEdits(this.id,o),t.pushUndoStop())}}class bm{constructor(e,t){this._initialSelection=t,this._edits=[],this._selectionId=null;for(let t of e)t.range&&"string"==typeof t.text&&this._edits.push(t)}getEditOperations(e,t){for(let e of this._edits)t.addEditOperation(cr.Range.lift(e.range),e.text);let n=!1;Array.isArray(this._edits)&&1===this._edits.length&&this._initialSelection.isEmpty()&&(this._edits[0].range.startColumn===this._initialSelection.endColumn&&this._edits[0].range.startLineNumber===this._initialSelection.endLineNumber?(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!0)):this._edits[0].range.endColumn===this._initialSelection.startColumn&&this._edits[0].range.endLineNumber===this._initialSelection.startLineNumber&&(n=!0,this._selectionId=t.trackSelection(this._initialSelection,!1))),n||(this._selectionId=t.trackSelection(this._initialSelection))}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}class vm{constructor(e){this.callOnDispose=new ar.DisposableStore,this.callOnModel=new ar.DisposableStore,this.editor=e,this.callOnDispose.add(e.onDidChangeConfiguration((()=>this.update()))),this.callOnDispose.add(e.onDidChangeModel((()=>this.update()))),this.callOnDispose.add(e.onDidChangeModelLanguage((()=>this.update())))}update(){this.callOnModel.clear(),this.editor.getOption(8)<4||this.editor.getOption(42)||this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste((({range:e})=>{this.trigger(e)})))}trigger(e){let t=this.editor.getSelections();if(null===t||t.length>1)return;const n=this.editor.getModel();if(!n)return;if(!n.isCheapToTokenize(e.getStartPosition().lineNumber))return;const i=this.editor.getOption(8),{tabSize:o,indentSize:r,insertSpaces:s}=n.getOptions();let a=[],l={shiftIndent:e=>rm.ShiftCommand.shiftIndent(e,e.length+1,o,r,s),unshiftIndent:e=>rm.ShiftCommand.unshiftIndent(e,e.length+1,o,r,s)},c=e.startLineNumber;for(;c<=e.endLineNumber&&this.shouldIgnoreLine(n,c);)c++;if(c>e.endLineNumber)return;let d=n.getLineContent(c);if(!/\S/.test(d.substring(0,e.startColumn-1))){let e=Vh.LanguageConfigurationRegistry.getGoodIndentForLine(i,n,n.getLanguageIdentifier().id,c,l);if(null!==e){let t=jr.getLeadingWhitespace(d),i=sm(e,o);if(i!==sm(t,o)){let e=am(i,o,s);a.push({range:new cr.Range(c,1,c,t.length+1),text:e}),d=e+d.substr(t.length)}else{let e=Vh.LanguageConfigurationRegistry.getIndentMetadata(n,c);if(0===e||8===e)return}}}const h=c;for(;c<e.endLineNumber&&!/\S/.test(n.getLineContent(c+1));)c++;if(c!==e.endLineNumber){let t={getLineTokens:e=>n.getLineTokens(e),getLanguageIdentifier:()=>n.getLanguageIdentifier(),getLanguageIdAtPosition:(e,t)=>n.getLanguageIdAtPosition(e,t),getLineContent:e=>e===h?d:n.getLineContent(e)},r=Vh.LanguageConfigurationRegistry.getGoodIndentForLine(i,t,n.getLanguageIdentifier().id,c+1,l);if(null!==r){let t=sm(r,o),i=sm(jr.getLeadingWhitespace(n.getLineContent(c+1)),o);if(t!==i){let r=t-i;for(let t=c+1;t<=e.endLineNumber;t++){let e=n.getLineContent(t),i=jr.getLeadingWhitespace(e),l=am(sm(i,o)+r,o,s);l!==i&&a.push({range:new cr.Range(t,1,t,i.length+1),text:l})}}}}if(a.length>0){this.editor.pushUndoStop();let e=new bm(a,this.editor.getSelection());this.editor.executeCommand("autoIndentOnPaste",e),this.editor.pushUndoStop()}}shouldIgnoreLine(e,t){e.forceTokenization(t);let n=e.getLineFirstNonWhitespaceColumn(t);if(0===n)return!0;let i=e.getLineTokens(t);if(i.getCount()>0){let e=i.findTokenIndexAtOffset(n);if(e>=0&&1===i.getStandardTokenType(e))return!0}return!1}dispose(){this.callOnDispose.dispose(),this.callOnModel.dispose()}}function _m(e,t,n,i){if(1===e.getLineCount()&&1===e.getLineMaxColumn(1))return;let o="";for(let e=0;e<n;e++)o+=" ";let r=new RegExp(o,"gi");for(let n=1,s=e.getLineCount();n<=s;n++){let s=e.getLineFirstNonWhitespaceColumn(n);if(0===s&&(s=e.getLineMaxColumn(n)),1===s)continue;const a=new cr.Range(n,1,n,s),l=e.getValueInRange(a),c=i?l.replace(/\t/gi,o):l.replace(r,"\t");t.addEditOperation(a,c)}}vm.ID="editor.contrib.autoIndentOnPaste";class wm{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),_m(e,t,this.tabSize,!0)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}class ym{constructor(e,t){this.selection=e,this.tabSize=t,this.selectionId=null}getEditOperations(e,t){this.selectionId=t.trackSelection(this.selection),_m(e,t,this.tabSize,!1)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}}(0,Ro.registerEditorContribution)(vm.ID,vm),(0,Ro.registerEditorAction)(cm),(0,Ro.registerEditorAction)(dm),(0,Ro.registerEditorAction)(um),(0,Ro.registerEditorAction)(pm),(0,Ro.registerEditorAction)(gm),(0,Ro.registerEditorAction)(mm),(0,Ro.registerEditorAction)(fm);var Am=function(e,t){return function(n,i){t(n,i,e)}},Cm=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function Sm(e,t,n){return Cm(this,void 0,void 0,(function*(){const i=[],o=Qr.InlineHintsProviderRegistry.ordered(e).reverse(),r=(0,zo.flatten)(o.map((o=>t.map((t=>Promise.resolve(o.provideInlineHints(e,t,n)).then((e=>{e&&i.push({list:e,provider:o})}),(e=>{(0,Wo.onUnexpectedExternalError)(e)})))))));return yield Promise.all(r),i}))}let xm=class{constructor(e,t,n){this._editor=e,this._codeEditorService=t,this._themeService=n,this._disposables=new ar.DisposableStore,this._sessionDisposables=new ar.DisposableStore,this._getInlineHintsDelays=new Ca.LanguageFeatureRequestDelays(Qr.InlineHintsProviderRegistry,250,2500),this._decorationsTypeIds=[],this._decorationIds=[],this._disposables.add(Qr.InlineHintsProviderRegistry.onDidChange((()=>this._update()))),this._disposables.add(n.onDidColorThemeChange((()=>this._update()))),this._disposables.add(e.onDidChangeModel((()=>this._update()))),this._disposables.add(e.onDidChangeModelLanguage((()=>this._update()))),this._disposables.add(e.onDidChangeConfiguration((e=>{e.hasChanged(120)&&this._update()}))),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){if(this._sessionDisposables.clear(),!this._editor.getOption(120).enabled)return void this._removeAllDecorations();const e=this._editor.getModel();if(!e||!Qr.InlineHintsProviderRegistry.has(e))return void this._removeAllDecorations();const t=new sr.RunOnceScheduler((()=>Cm(this,void 0,void 0,(function*(){const n=Date.now(),i=new Hr.CancellationTokenSource;this._sessionDisposables.add((0,ar.toDisposable)((()=>i.dispose(!0))));const o=this._editor.getVisibleRangesPlusViewportAboveBelow(),r=yield Sm(e,o,i.token),s=this._getInlineHintsDelays.update(e,Date.now()-n);t.delay=s,this._updateHintsDecorators(r)}))),this._getInlineHintsDelays.get(e));this._sessionDisposables.add(t),this._sessionDisposables.add(this._editor.onDidChangeModelContent((()=>t.schedule()))),this._disposables.add(this._editor.onDidScrollChange((()=>t.schedule()))),t.schedule();const n=new ar.DisposableStore;this._sessionDisposables.add(n);for(const i of Qr.InlineHintsProviderRegistry.all(e))"function"==typeof i.onDidChangeInlineHints&&n.add(i.onDidChangeInlineHints((()=>t.schedule())))}_updateHintsDecorators(e){const{fontSize:t,fontFamily:n}=this._getLayoutInfo(),i=this._themeService.getColorTheme().getColor(pr.editorInlineHintBackground),o=this._themeService.getColorTheme().getColor(pr.editorInlineHintForeground),r=[],s=[];for(const{list:a}of e)for(let e=0;e<a.length&&s.length<500;e++){const{text:l,range:c,description:d,whitespaceBefore:h,whitespaceAfter:u}=a[e],p={contentText:l,backgroundColor:`${i}`,color:`${o}`,margin:`0px ${u?t/3|0:0}px 0px ${h?t/3|0:0}px`,fontSize:`${t}px`,fontFamily:n,padding:`0px ${t/4|0}px`,borderRadius:(t/4|0)+"px"},g="inlineHints-"+(0,ya.hash)(p).toString(16);this._codeEditorService.registerDecorationType(g,{before:p},void 0,this._editor),r.push(g);const m=this._codeEditorService.resolveDecorationOptions(g,!0);"string"==typeof d?m.hoverMessage=(new Uo).appendText(d):d&&(m.hoverMessage=d),s.push({range:c,options:m})}this._decorationsTypeIds.forEach(this._codeEditorService.removeDecorationType,this._codeEditorService),this._decorationsTypeIds=r,this._decorationIds=this._editor.deltaDecorations(this._decorationIds,s)}_getLayoutInfo(){const e=this._editor.getOption(120),t=this._editor.getOption(40);let n=e.fontSize;return(!n||n<5||n>t)&&(n=.9*t|0),{fontSize:n,fontFamily:e.fontFamily}}_removeAllDecorations(){this._decorationIds=this._editor.deltaDecorations(this._decorationIds,[]),this._decorationsTypeIds.forEach(this._codeEditorService.removeDecorationType,this._codeEditorService),this._decorationsTypeIds=[]}};xm.ID="editor.contrib.InlineHints",xm=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Am(1,Ir.ICodeEditorService),Am(2,gr.IThemeService)],xm),(0,Ro.registerEditorContribution)(xm.ID,xm),ns.CommandsRegistry.registerCommand("_executeInlineHintProvider",((e,...t)=>Cm(void 0,void 0,void 0,(function*(){const[n,i]=t;(0,oa.assertType)(qr.URI.isUri(n)),(0,oa.assertType)(cr.Range.isIRange(i));const o=yield e.get(pd.ITextModelService).createModelReference(n);try{const e=yield Sm(o.object.textEditorModel,[cr.Range.lift(i)],Hr.CancellationToken.None);return(0,zo.flatten)(e.map((e=>e.list))).sort(((e,t)=>cr.Range.compareRangesUsingStarts(e.range,t.range)))}finally{o.dispose()}}))));class Em{constructor(e,t,n){this._editRange=e,this._originalSelection=t,this._text=n}getEditOperations(e,t){t.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(e,t){const n=t.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new Oo.Selection(n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn),n.endLineNumber,Math.min(this._originalSelection.positionColumn,n.endColumn)):new Oo.Selection(n.endLineNumber,n.endColumn-this._text.length,n.endLineNumber,n.endColumn)}}let km=class e{constructor(e,t){this.decorationIds=[],this.editor=e,this.editorWorkerService=t}static get(t){return t.getContribution(e.ID)}dispose(){}run(t,n){this.currentRequest&&this.currentRequest.cancel();const i=this.editor.getSelection(),o=this.editor.getModel();if(!o||!i)return;let r=i;if(r.startLineNumber!==r.endLineNumber)return;const s=new Gr.EditorState(this.editor,5),a=o.uri;return this.editorWorkerService.canNavigateValueSet(a)?(this.currentRequest=(0,sr.createCancelablePromise)((e=>this.editorWorkerService.navigateValueSet(a,r,n))),this.currentRequest.then((n=>{if(!n||!n.range||!n.value)return;if(!s.validate(this.editor))return;let i=cr.Range.lift(n.range),o=n.range,a=n.value.length-(r.endColumn-r.startColumn);o={startLineNumber:o.startLineNumber,startColumn:o.startColumn,endLineNumber:o.endLineNumber,endColumn:o.startColumn+n.value.length},a>1&&(r=new Oo.Selection(r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn+a-1));const l=new Em(i,r,n.value);this.editor.pushUndoStop(),this.editor.executeCommand(t,l),this.editor.pushUndoStop(),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[{range:o,options:e.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=(0,sr.timeout)(350),this.decorationRemover.then((()=>this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[]))).catch(Wo.onUnexpectedError)})).catch(Wo.onUnexpectedError)):Promise.resolve(void 0)}};km.ID="editor.contrib.inPlaceReplaceController",km.DECORATION=hr.ModelDecorationOptions.register({className:"valueSetReplacement"}),km=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,Hg.IEditorWorkerService)],km);class Tm extends Ro.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.up",label:No.localize("vs/editor/contrib/inPlaceReplace/inPlaceReplace","InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3154,weight:100}})}run(e,t){const n=km.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)}}class Im extends Ro.EditorAction{constructor(){super({id:"editor.action.inPlaceReplace.down",label:No.localize("vs/editor/contrib/inPlaceReplace/inPlaceReplace","InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3156,weight:100}})}run(e,t){const n=km.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)}}(0,Ro.registerEditorContribution)(km.ID,km),(0,Ro.registerEditorAction)(Tm),(0,Ro.registerEditorAction)(Im),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(ur.editorBracketMatchBorder);n&&t.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${n}; }`)}));class Dm{constructor(e,t){this._selection=e,this._cursors=t,this._selectionId=null}getEditOperations(e,t){let n=Lm(e,this._cursors);for(let e=0,i=n.length;e<i;e++){let i=n[e];t.addEditOperation(i.range,i.text)}this._selectionId=t.trackSelection(this._selection)}computeCursorState(e,t){return t.getTrackedSelection(this._selectionId)}}function Lm(e,t){t.sort(((e,t)=>e.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber));for(let e=t.length-2;e>=0;e--)t[e].lineNumber===t[e+1].lineNumber&&t.splice(e,1);let n=[],i=0,o=0,r=t.length;for(let s=1,a=e.getLineCount();s<=a;s++){let a=e.getLineContent(s),l=a.length+1,c=0;if(o<r&&t[o].lineNumber===s&&(c=t[o].column,o++,c===l))continue;if(0===a.length)continue;let d=jr.lastNonWhitespaceIndex(a),h=0;if(-1===d)h=1;else{if(d===a.length-1)continue;h=d+2}h=Math.max(c,h),n[i++]=Hh.EditOperation.delete(new cr.Range(s,h,s,l))}return n}var Rm=n(90151);class Nm{constructor(e,t,n){this._selection=e,this._isCopyingDown=t,this._noop=n||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(e,t){let n=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,n.startLineNumber<n.endLineNumber&&1===n.endColumn&&(this._endLineNumberDelta=1,n=n.setEndPosition(n.endLineNumber-1,e.getLineMaxColumn(n.endLineNumber-1)));let i=[];for(let t=n.startLineNumber;t<=n.endLineNumber;t++)i.push(e.getLineContent(t));const o=i.join("\n");""===o&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?t.addEditOperation(new cr.Range(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber+1,1),n.endLineNumber===e.getLineCount()?"":"\n"):this._isCopyingDown?t.addEditOperation(new cr.Range(n.startLineNumber,1,n.startLineNumber,1),o+"\n"):t.addEditOperation(new cr.Range(n.endLineNumber,e.getLineMaxColumn(n.endLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),"\n"+o),this._selectionId=t.trackSelection(n),this._selectionDirection=this._selection.getDirection()}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);if(0!==this._startLineNumberDelta||0!==this._endLineNumberDelta){let e=n.startLineNumber,t=n.startColumn,i=n.endLineNumber,o=n.endColumn;0!==this._startLineNumberDelta&&(e+=this._startLineNumberDelta,t=1),0!==this._endLineNumberDelta&&(i+=this._endLineNumberDelta,o=1),n=Oo.Selection.createWithDirection(e,t,i,o,this._selectionDirection)}return n}}var Mm=n(70798);class Om{constructor(e,t,n){this._selection=e,this._isMovingDown=t,this._autoIndent=n,this._selectionId=null,this._moveEndLineSelectionShrink=!1}getEditOperations(e,t){let n=e.getLineCount();if(this._isMovingDown&&this._selection.endLineNumber===n)return void(this._selectionId=t.trackSelection(this._selection));if(!this._isMovingDown&&1===this._selection.startLineNumber)return void(this._selectionId=t.trackSelection(this._selection));this._moveEndPositionDown=!1;let i=this._selection;i.startLineNumber<i.endLineNumber&&1===i.endColumn&&(this._moveEndPositionDown=!0,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));const{tabSize:o,indentSize:r,insertSpaces:s}=e.getOptions();let a=this.buildIndentConverter(o,r,s),l={getLineTokens:t=>e.getLineTokens(t),getLanguageIdentifier:()=>e.getLanguageIdentifier(),getLanguageIdAtPosition:(t,n)=>e.getLanguageIdAtPosition(t,n),getLineContent:null};if(i.startLineNumber===i.endLineNumber&&1===e.getLineMaxColumn(i.startLineNumber)){let n=i.startLineNumber,o=this._isMovingDown?n+1:n-1;1===e.getLineMaxColumn(o)?t.addEditOperation(new cr.Range(1,1,1,1),null):(t.addEditOperation(new cr.Range(n,1,n,1),e.getLineContent(o)),t.addEditOperation(new cr.Range(o,1,o,e.getLineMaxColumn(o)),null)),i=new Oo.Selection(o,1,o,1)}else{let n,r;if(this._isMovingDown){n=i.endLineNumber+1,r=e.getLineContent(n),t.addEditOperation(new cr.Range(n-1,e.getLineMaxColumn(n-1),n,e.getLineMaxColumn(n)),null);let c=r;if(this.shouldAutoIndent(e,i)){let d=this.matchEnterRule(e,a,o,n,i.startLineNumber-1);if(null!==d){let t=am(d+sm(jr.getLeadingWhitespace(e.getLineContent(n)),o),o,s);c=t+this.trimLeft(r)}else{l.getLineContent=t=>t===i.startLineNumber?e.getLineContent(n):e.getLineContent(t);let t=Vh.LanguageConfigurationRegistry.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(n,1),i.startLineNumber,a);if(null!==t){let i=jr.getLeadingWhitespace(e.getLineContent(n)),a=sm(t,o);if(a!==sm(i,o)){let e=am(a,o,s);c=e+this.trimLeft(r)}}}t.addEditOperation(new cr.Range(i.startLineNumber,1,i.startLineNumber,1),c+"\n");let h=this.matchEnterRuleMovingDown(e,a,o,i.startLineNumber,n,c);if(null!==h)0!==h&&this.getIndentEditsOfMovingBlock(e,t,i,o,s,h);else{l.getLineContent=t=>t===i.startLineNumber?c:t>=i.startLineNumber+1&&t<=i.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t);let r=Vh.LanguageConfigurationRegistry.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(n,1),i.startLineNumber+1,a);if(null!==r){const n=jr.getLeadingWhitespace(e.getLineContent(i.startLineNumber)),a=sm(r,o),l=sm(n,o);if(a!==l){const n=a-l;this.getIndentEditsOfMovingBlock(e,t,i,o,s,n)}}}}else t.addEditOperation(new cr.Range(i.startLineNumber,1,i.startLineNumber,1),c+"\n")}else if(n=i.startLineNumber-1,r=e.getLineContent(n),t.addEditOperation(new cr.Range(n,1,n+1,1),null),t.addEditOperation(new cr.Range(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),"\n"+r),this.shouldAutoIndent(e,i)){l.getLineContent=t=>t===n?e.getLineContent(i.startLineNumber):e.getLineContent(t);let r=this.matchEnterRule(e,a,o,i.startLineNumber,i.startLineNumber-2);if(null!==r)0!==r&&this.getIndentEditsOfMovingBlock(e,t,i,o,s,r);else{let r=Vh.LanguageConfigurationRegistry.getGoodIndentForLine(this._autoIndent,l,e.getLanguageIdAtPosition(i.startLineNumber,1),n,a);if(null!==r){let n=jr.getLeadingWhitespace(e.getLineContent(i.startLineNumber)),a=sm(r,o),l=sm(n,o);if(a!==l){let n=a-l;this.getIndentEditsOfMovingBlock(e,t,i,o,s,n)}}}}}this._selectionId=t.trackSelection(i)}buildIndentConverter(e,t,n){return{shiftIndent:i=>rm.ShiftCommand.shiftIndent(i,i.length+1,e,t,n),unshiftIndent:i=>rm.ShiftCommand.unshiftIndent(i,i.length+1,e,t,n)}}parseEnterResult(e,t,n,i,o){if(o){let r=o.indentation;o.indentAction===Mm.IndentAction.None||o.indentAction===Mm.IndentAction.Indent?r=o.indentation+o.appendText:o.indentAction===Mm.IndentAction.IndentOutdent?r=o.indentation:o.indentAction===Mm.IndentAction.Outdent&&(r=t.unshiftIndent(o.indentation)+o.appendText);let s=e.getLineContent(i);if(this.trimLeft(s).indexOf(this.trimLeft(r))>=0){let o=jr.getLeadingWhitespace(e.getLineContent(i)),s=jr.getLeadingWhitespace(r),a=Vh.LanguageConfigurationRegistry.getIndentMetadata(e,i);return null!==a&&2&a&&(s=t.unshiftIndent(s)),sm(s,n)-sm(o,n)}}return null}matchEnterRuleMovingDown(e,t,n,i,o,r){if(jr.lastNonWhitespaceIndex(r)>=0){let r=e.getLineMaxColumn(o),s=Vh.LanguageConfigurationRegistry.getEnterAction(this._autoIndent,e,new cr.Range(o,r,o,r));return this.parseEnterResult(e,t,n,i,s)}{let o=i-1;for(;o>=1;){let t=e.getLineContent(o);if(jr.lastNonWhitespaceIndex(t)>=0)break;o--}if(o<1||i>e.getLineCount())return null;let r=e.getLineMaxColumn(o),s=Vh.LanguageConfigurationRegistry.getEnterAction(this._autoIndent,e,new cr.Range(o,r,o,r));return this.parseEnterResult(e,t,n,i,s)}}matchEnterRule(e,t,n,i,o,r){let s=o;for(;s>=1;){let t;if(t=s===o&&void 0!==r?r:e.getLineContent(s),jr.lastNonWhitespaceIndex(t)>=0)break;s--}if(s<1||i>e.getLineCount())return null;let a=e.getLineMaxColumn(s),l=Vh.LanguageConfigurationRegistry.getEnterAction(this._autoIndent,e,new cr.Range(s,a,s,a));return this.parseEnterResult(e,t,n,i,l)}trimLeft(e){return e.replace(/^\s+/,"")}shouldAutoIndent(e,t){if(this._autoIndent<4)return!1;if(!e.isCheapToTokenize(t.startLineNumber))return!1;let n=e.getLanguageIdAtPosition(t.startLineNumber,1);return n===e.getLanguageIdAtPosition(t.endLineNumber,1)&&null!==Vh.LanguageConfigurationRegistry.getIndentRulesSupport(n)}getIndentEditsOfMovingBlock(e,t,n,i,o,r){for(let s=n.startLineNumber;s<=n.endLineNumber;s++){let a=e.getLineContent(s),l=jr.getLeadingWhitespace(a),c=am(sm(l,i)+r,i,o);c!==l&&(t.addEditOperation(new cr.Range(s,1,s,l.length+1),c),s===n.endLineNumber&&n.endColumn<=l.length+1&&""===c&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&n.startLineNumber<n.endLineNumber&&(n=n.setEndPosition(n.endLineNumber,2)),n}}class Pm{constructor(e,t){this.selection=e,this.descending=t,this.selectionId=null}static getCollator(){return Pm._COLLATOR||(Pm._COLLATOR=new Intl.Collator),Pm._COLLATOR}getEditOperations(e,t){let n=function(e,t,n){let i=Fm(e,t,n);return i?Hh.EditOperation.replace(new cr.Range(i.startLineNumber,1,i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),i.after.join("\n")):null}(e,this.selection,this.descending);n&&t.addEditOperation(n.range,n.text),this.selectionId=t.trackSelection(this.selection)}computeCursorState(e,t){return t.getTrackedSelection(this.selectionId)}static canRun(e,t,n){if(null===e)return!1;let i=Fm(e,t,n);if(!i)return!1;for(let e=0,t=i.before.length;e<t;e++)if(i.before[e]!==i.after[e])return!0;return!1}}function Fm(e,t,n){let i=t.startLineNumber,o=t.endLineNumber;if(1===t.endColumn&&o--,i>=o)return null;let r=[];for(let t=i;t<=o;t++)r.push(e.getLineContent(t));let s=r.slice(0);return s.sort(Pm.getCollator().compare),!0===n&&(s=s.reverse()),{startLineNumber:i,endLineNumber:o,before:r,after:s}}Pm._COLLATOR=null;class zm extends Ro.EditorAction{constructor(e,t){super(t),this.down=e}run(e,t){if(!t.hasModel())return;const n=t.getSelections().map(((e,t)=>({selection:e,index:t,ignore:!1})));n.sort(((e,t)=>cr.Range.compareRangesUsingStarts(e.selection,t.selection)));let i=n[0];for(let e=1;e<n.length;e++){const t=n[e];i.selection.endLineNumber===t.selection.startLineNumber&&(i.index<t.index?t.ignore=!0:(i.ignore=!0,i=t))}const o=[];for(const e of n)o.push(new Nm(e.selection,this.down,e.ignore));t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class Bm extends Ro.EditorAction{constructor(){super({id:"editor.action.duplicateSelection",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","duplicateSelection","Duplicate Selection"),alias:"Duplicate Selection",precondition:Mo.EditorContextKeys.writable,menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"2_line",title:No.localize("vs/editor/contrib/linesOperations/linesOperations",{key:"miDuplicateSelection",comment:["&& denotes a mnemonic"]},"&&Duplicate Selection"),order:5}})}run(e,t,n){if(!t.hasModel())return;const i=[],o=t.getSelections(),r=t.getModel();for(const e of o)if(e.isEmpty())i.push(new Nm(e,!0));else{const t=new Oo.Selection(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn);i.push(new Cr.ReplaceCommandThatSelectsText(t,r.getValueInRange(e)))}t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Wm extends Ro.EditorAction{constructor(e,t){super(t),this.down=e}run(e,t){let n=[],i=t.getSelections()||[];const o=t.getOption(8);for(const e of i)n.push(new Om(e,this.down,o));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}class Um extends Ro.EditorAction{constructor(e,t){super(t),this.descending=e}run(e,t){const n=t.getSelections()||[];for(const e of n)if(!Pm.canRun(t.getModel(),e,this.descending))return;let i=[];for(let e=0,t=n.length;e<t;e++)i[e]=new Pm(n[e],this.descending);t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class Hm extends Um{constructor(){super(!1,{id:"editor.action.sortLinesAscending",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.sortAscending","Sort Lines Ascending"),alias:"Sort Lines Ascending",precondition:Mo.EditorContextKeys.writable})}}class Vm extends Um{constructor(){super(!0,{id:"editor.action.sortLinesDescending",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.sortDescending","Sort Lines Descending"),alias:"Sort Lines Descending",precondition:Mo.EditorContextKeys.writable})}}class jm extends Ro.EditorAction{constructor(){super({id:jm.ID,label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.trimTrailingWhitespace","Trim Trailing Whitespace"),alias:"Trim Trailing Whitespace",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:(0,Po.KeyChord)(2089,2102),weight:100}})}run(e,t,n){let i=[];"auto-save"===n.reason&&(i=(t.getSelections()||[]).map((e=>new lr.Position(e.positionLineNumber,e.positionColumn))));let o=t.getSelection();if(null===o)return;let r=new Dm(o,i);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop()}}jm.ID="editor.action.trimTrailingWhitespace";class Km extends Ro.EditorAction{constructor(){super({id:"editor.action.deleteLines",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.delete","Delete Line"),alias:"Delete Line",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:3113,weight:100}})}run(e,t){if(!t.hasModel())return;let n=this._getLinesToRemove(t),i=t.getModel();if(1===i.getLineCount()&&1===i.getLineMaxColumn(1))return;let o=0,r=[],s=[];for(let e=0,t=n.length;e<t;e++){const t=n[e];let a=t.startLineNumber,l=t.endLineNumber,c=1,d=i.getLineMaxColumn(l);l<i.getLineCount()?(l+=1,d=1):a>1&&(a-=1,c=i.getLineMaxColumn(a)),r.push(Hh.EditOperation.replace(new Oo.Selection(a,c,l,d),"")),s.push(new Oo.Selection(a-o,t.positionColumn,a-o,t.positionColumn)),o+=t.endLineNumber-t.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,r,s),t.pushUndoStop()}_getLinesToRemove(e){let t=e.getSelections().map((e=>{let t=e.endLineNumber;return e.startLineNumber<e.endLineNumber&&1===e.endColumn&&(t-=1),{startLineNumber:e.startLineNumber,selectionStartColumn:e.selectionStartColumn,endLineNumber:t,positionColumn:e.positionColumn}}));t.sort(((e,t)=>e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber));let n=[],i=t[0];for(let e=1;e<t.length;e++)i.endLineNumber+1>=t[e].startLineNumber?i.endLineNumber=t[e].endLineNumber:(n.push(i),i=t[e]);return n.push(i),n}}class qm extends Ro.EditorAction{constructor(){super({id:"editor.action.indentLines",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.indent","Indent Line"),alias:"Indent Line",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2137,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,Rm.TypeOperations.indent(n.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class Gm extends Ro.EditorAction{constructor(){super({id:"editor.action.outdentLines",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2135,weight:100}})}run(e,t){xo.CoreEditingCommands.Outdent.runEditorCommand(e,t,null)}}class Qm extends Ro.EditorAction{constructor(){super({id:"editor.action.insertLineBefore",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3075,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,Rm.TypeOperations.lineInsertBefore(n.cursorConfig,t.getModel(),t.getSelections())))}}class Ym extends Ro.EditorAction{constructor(){super({id:"editor.action.insertLineAfter",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2051,weight:100}})}run(e,t){const n=t._getViewModel();n&&(t.pushUndoStop(),t.executeCommands(this.id,Rm.TypeOperations.lineInsertAfter(n.cursorConfig,t.getModel(),t.getSelections())))}}class $m extends Ro.EditorAction{run(e,t){if(!t.hasModel())return;const n=t.getSelection();let i=this._getRangesToDelete(t),o=[];for(let e=0,t=i.length-1;e<t;e++){let t=i[e],n=i[e+1];null===cr.Range.intersectRanges(t,n)?o.push(t):i[e+1]=cr.Range.plusRange(t,n)}o.push(i[i.length-1]);let r=this._getEndCursorState(n,o),s=o.map((e=>Hh.EditOperation.replace(e,"")));t.pushUndoStop(),t.executeEdits(this.id,s,r),t.pushUndoStop()}}class Jm extends $m{constructor(){super({id:"deleteAllLeft",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let n=null,i=[],o=0;return t.forEach((t=>{let r;if(1===t.endColumn&&o>0){let e=t.startLineNumber-o;r=new Oo.Selection(e,t.startColumn,e,t.startColumn)}else r=new Oo.Selection(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);o+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?n=r:i.push(r)})),n&&i.unshift(n),i}_getRangesToDelete(e){let t=e.getSelections();if(null===t)return[];let n=t,i=e.getModel();return null===i?[]:(n.sort(cr.Range.compareRangesUsingStarts),n=n.map((e=>{if(e.isEmpty()){if(1===e.startColumn){let t=Math.max(1,e.startLineNumber-1),n=1===e.startLineNumber?1:i.getLineContent(t).length+1;return new cr.Range(t,n,e.startLineNumber,1)}return new cr.Range(e.startLineNumber,1,e.startLineNumber,e.startColumn)}return new cr.Range(e.startLineNumber,1,e.endLineNumber,e.endColumn)})),n)}}class Zm extends $m{constructor(){super({id:"deleteAllRight",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let n=null,i=[];for(let o=0,r=t.length,s=0;o<r;o++){let r=t[o],a=new Oo.Selection(r.startLineNumber-s,r.startColumn,r.startLineNumber-s,r.startColumn);r.intersectRanges(e)?n=a:i.push(a)}return n&&i.unshift(n),i}_getRangesToDelete(e){let t=e.getModel();if(null===t)return[];let n=e.getSelections();if(null===n)return[];let i=n.map((e=>{if(e.isEmpty()){const n=t.getLineMaxColumn(e.startLineNumber);return e.startColumn===n?new cr.Range(e.startLineNumber,e.startColumn,e.startLineNumber+1,1):new cr.Range(e.startLineNumber,e.startColumn,e.startLineNumber,n)}return e}));return i.sort(cr.Range.compareRangesUsingStarts),i}}class Xm extends Ro.EditorAction{constructor(){super({id:"editor.action.joinLines",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.joinLines","Join Lines"),alias:"Join Lines",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let n=t.getSelections();if(null===n)return;let i=t.getSelection();if(null===i)return;n.sort(cr.Range.compareRangesUsingStarts);let o=[],r=n.reduce(((e,t)=>e.isEmpty()?e.endLineNumber===t.startLineNumber?(i.equalsSelection(e)&&(i=t),t):t.startLineNumber>e.endLineNumber+1?(o.push(e),t):new Oo.Selection(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(o.push(e),t):new Oo.Selection(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn)));o.push(r);let s=t.getModel();if(null===s)return;let a=[],l=[],c=i,d=0;for(let e=0,t=o.length;e<t;e++){let t,n,r=o[e],h=r.startLineNumber,u=1,p=0,g=s.getLineContent(r.endLineNumber).length-r.endColumn;if(r.isEmpty()||r.startLineNumber===r.endLineNumber){let e=r.getStartPosition();e.lineNumber<s.getLineCount()?(t=h+1,n=s.getLineMaxColumn(t)):(t=e.lineNumber,n=s.getLineMaxColumn(e.lineNumber))}else t=r.endLineNumber,n=s.getLineMaxColumn(t);let m=s.getLineContent(h);for(let e=h+1;e<=t;e++){let t=s.getLineContent(e),n=s.getLineFirstNonWhitespaceColumn(e);if(n>=1){let e=!0;""===m&&(e=!1),!e||" "!==m.charAt(m.length-1)&&"\t"!==m.charAt(m.length-1)||(e=!1,m=m.replace(/[\s\uFEFF\xA0]+$/g," "));let i=t.substr(n-1);m+=(e?" ":"")+i,p=e?i.length+1:i.length}else p=0}let f=new cr.Range(h,u,t,n);if(!f.isEmpty()){let e;r.isEmpty()?(a.push(Hh.EditOperation.replace(f,m)),e=new Oo.Selection(f.startLineNumber-d,m.length-p+1,h-d,m.length-p+1)):r.startLineNumber===r.endLineNumber?(a.push(Hh.EditOperation.replace(f,m)),e=new Oo.Selection(r.startLineNumber-d,r.startColumn,r.endLineNumber-d,r.endColumn)):(a.push(Hh.EditOperation.replace(f,m)),e=new Oo.Selection(r.startLineNumber-d,r.startColumn,r.startLineNumber-d,m.length-g)),null!==cr.Range.intersectRanges(f,i)?c=e:l.push(e)}d+=f.endLineNumber-f.startLineNumber}l.unshift(c),t.pushUndoStop(),t.executeEdits(this.id,a,l),t.pushUndoStop()}}class ef extends Ro.EditorAction{constructor(){super({id:"editor.action.transpose",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:Mo.EditorContextKeys.writable})}run(e,t){let n=t.getSelections();if(null===n)return;let i=t.getModel();if(null===i)return;let o=[];for(let e=0,t=n.length;e<t;e++){let t=n[e];if(!t.isEmpty())continue;let r=t.getStartPosition(),s=i.getLineMaxColumn(r.lineNumber);if(r.column>=s){if(r.lineNumber===i.getLineCount())continue;let e=new cr.Range(r.lineNumber,Math.max(1,r.column-1),r.lineNumber+1,1),t=i.getValueInRange(e).split("").reverse().join("");o.push(new Cr.ReplaceCommand(new Oo.Selection(r.lineNumber,Math.max(1,r.column-1),r.lineNumber+1,1),t))}else{let e=new cr.Range(r.lineNumber,Math.max(1,r.column-1),r.lineNumber,r.column+1),t=i.getValueInRange(e).split("").reverse().join("");o.push(new Cr.ReplaceCommandThatPreservesSelection(e,t,new Oo.Selection(r.lineNumber,r.column+1,r.lineNumber,r.column+1)))}}t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}class tf extends Ro.EditorAction{run(e,t){const n=t.getSelections();if(null===n)return;const i=t.getModel();if(null===i)return;const o=t.getOption(110),r=[];for(const e of n)if(e.isEmpty()){const n=e.getStartPosition(),s=t.getConfiguredWordAtPosition(n);if(!s)continue;const a=new cr.Range(n.lineNumber,s.startColumn,n.lineNumber,s.endColumn),l=i.getValueInRange(a);r.push(Hh.EditOperation.replace(a,this._modifyText(l,o)))}else{const t=i.getValueInRange(e);r.push(Hh.EditOperation.replace(e,this._modifyText(t,o)))}t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop()}}class nf extends tf{constructor(){super({id:"editor.action.transformToUppercase",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:Mo.EditorContextKeys.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}class of extends tf{constructor(){super({id:"editor.action.transformToLowercase",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:Mo.EditorContextKeys.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}class rf extends tf{constructor(){super({id:"editor.action.transformToTitlecase",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:Mo.EditorContextKeys.writable})}_modifyText(e,t){const n=("\r\n\t "+t).split("");let i="",o=!0;for(let t=0;t<e.length;t++){let r=e[t];n.indexOf(r)>=0?(o=!0,i+=r):o?(o=!1,i+=r.toLocaleUpperCase()):i+=r.toLocaleLowerCase()}return i}}class sf extends tf{constructor(){super({id:"editor.action.transformToSnakecase",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","editor.transformToSnakecase","Transform to Snake Case"),alias:"Transform to Snake Case",precondition:Mo.EditorContextKeys.writable})}_modifyText(e,t){return e.replace(/(\p{Ll})(\p{Lu})/gmu,"$1_$2").replace(/([^\b_])(\p{Lu})(\p{Ll})/gmu,"$1_$2$3").toLocaleLowerCase()}}(0,Ro.registerEditorAction)(class extends zm{constructor(){super(!1,{id:"editor.action.copyLinesUpAction",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.copyUp","Copy Line Up"),alias:"Copy Line Up",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"2_line",title:No.localize("vs/editor/contrib/linesOperations/linesOperations",{key:"miCopyLinesUp",comment:["&& denotes a mnemonic"]},"&&Copy Line Up"),order:1}})}}),(0,Ro.registerEditorAction)(class extends zm{constructor(){super(!0,{id:"editor.action.copyLinesDownAction",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.copyDown","Copy Line Down"),alias:"Copy Line Down",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"2_line",title:No.localize("vs/editor/contrib/linesOperations/linesOperations",{key:"miCopyLinesDown",comment:["&& denotes a mnemonic"]},"Co&&py Line Down"),order:2}})}}),(0,Ro.registerEditorAction)(Bm),(0,Ro.registerEditorAction)(class extends Wm{constructor(){super(!1,{id:"editor.action.moveLinesUpAction",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.moveUp","Move Line Up"),alias:"Move Line Up",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:528,linux:{primary:528},weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"2_line",title:No.localize("vs/editor/contrib/linesOperations/linesOperations",{key:"miMoveLinesUp",comment:["&& denotes a mnemonic"]},"Mo&&ve Line Up"),order:3}})}}),(0,Ro.registerEditorAction)(class extends Wm{constructor(){super(!0,{id:"editor.action.moveLinesDownAction",label:No.localize("vs/editor/contrib/linesOperations/linesOperations","lines.moveDown","Move Line Down"),alias:"Move Line Down",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:530,linux:{primary:530},weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"2_line",title:No.localize("vs/editor/contrib/linesOperations/linesOperations",{key:"miMoveLinesDown",comment:["&& denotes a mnemonic"]},"Move &&Line Down"),order:4}})}}),(0,Ro.registerEditorAction)(Hm),(0,Ro.registerEditorAction)(Vm),(0,Ro.registerEditorAction)(jm),(0,Ro.registerEditorAction)(Km),(0,Ro.registerEditorAction)(qm),(0,Ro.registerEditorAction)(Gm),(0,Ro.registerEditorAction)(Qm),(0,Ro.registerEditorAction)(Ym),(0,Ro.registerEditorAction)(Jm),(0,Ro.registerEditorAction)(Zm),(0,Ro.registerEditorAction)(Xm),(0,Ro.registerEditorAction)(ef),(0,Ro.registerEditorAction)(nf),(0,Ro.registerEditorAction)(of),(0,Ro.registerEditorAction)(rf),(0,Ro.registerEditorAction)(sf);var af=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const lf=new Fo.RawContextKey("LinkedEditingInputVisible",!1),cf="linked-editing-decoration";let df=class e extends ar.Disposable{constructor(e,t){super(),this._debounceDuration=200,this._localToDispose=this._register(new ar.DisposableStore),this._editor=e,this._enabled=!1,this._visibleContextKey=lf.bindTo(t),this._currentDecorations=[],this._languageWordPattern=null,this._currentWordPattern=null,this._ignoreChangeEvent=!1,this._localToDispose=this._register(new ar.DisposableStore),this._rangeUpdateTriggerPromise=null,this._rangeSyncTriggerPromise=null,this._currentRequest=null,this._currentRequestPosition=null,this._currentRequestModelVersion=null,this._register(this._editor.onDidChangeModel((()=>this.reinitialize()))),this._register(this._editor.onDidChangeConfiguration((e=>{(e.hasChanged(56)||e.hasChanged(76))&&this.reinitialize()}))),this._register(Qr.LinkedEditingRangeProviderRegistry.onDidChange((()=>this.reinitialize()))),this._register(this._editor.onDidChangeModelLanguage((()=>this.reinitialize()))),this.reinitialize()}static get(t){return t.getContribution(e.ID)}reinitialize(){const e=this._editor.getModel(),t=null!==e&&(this._editor.getOption(56)||this._editor.getOption(76))&&Qr.LinkedEditingRangeProviderRegistry.has(e);if(t===this._enabled)return;if(this._enabled=t,this.clearRanges(),this._localToDispose.clear(),!t||null===e)return;this._languageWordPattern=Vh.LanguageConfigurationRegistry.getWordDefinition(e.getLanguageIdentifier().id),this._localToDispose.add(e.onDidChangeLanguageConfiguration((()=>{this._languageWordPattern=Vh.LanguageConfigurationRegistry.getWordDefinition(e.getLanguageIdentifier().id)})));const n=new sr.Delayer(this._debounceDuration),i=()=>{this._rangeUpdateTriggerPromise=n.trigger((()=>this.updateRanges()),this._debounceDuration)},o=new sr.Delayer(0),r=e=>{this._rangeSyncTriggerPromise=o.trigger((()=>this._syncRanges(e)))};this._localToDispose.add(this._editor.onDidChangeCursorPosition((()=>{i()}))),this._localToDispose.add(this._editor.onDidChangeModelContent((t=>{if(!this._ignoreChangeEvent&&this._currentDecorations.length>0){const n=e.getDecorationRange(this._currentDecorations[0]);if(n&&t.changes.every((e=>n.intersectRanges(e.range))))return void r(this._currentDecorations)}i()}))),this._localToDispose.add({dispose:()=>{n.cancel(),o.cancel()}}),this.updateRanges()}_syncRanges(e){if(!this._editor.hasModel()||e!==this._currentDecorations||0===e.length)return;const t=this._editor.getModel(),n=t.getDecorationRange(e[0]);if(!n||n.startLineNumber!==n.endLineNumber)return this.clearRanges();const i=t.getValueInRange(n);if(this._currentWordPattern){const e=i.match(this._currentWordPattern);if((e?e[0].length:0)!==i.length)return this.clearRanges()}let o=[];for(let n=1,r=e.length;n<r;n++){const r=t.getDecorationRange(e[n]);if(r)if(r.startLineNumber!==r.endLineNumber)o.push({range:r,text:i});else{let e=t.getValueInRange(r),n=i,s=r.startColumn,a=r.endColumn;const l=jr.commonPrefixLength(e,n);s+=l,e=e.substr(l),n=n.substr(l);const c=jr.commonSuffixLength(e,n);a-=c,e=e.substr(0,e.length-c),n=n.substr(0,n.length-c),s===a&&0===n.length||o.push({range:new cr.Range(r.startLineNumber,s,r.endLineNumber,a),text:n})}}if(0!==o.length)try{this._editor.popUndoStop(),this._ignoreChangeEvent=!0;const e=this._editor._getViewModel().getPrevEditOperationType();this._editor.executeEdits("linkedEditing",o),this._editor._getViewModel().setPrevEditOperationType(e)}finally{this._ignoreChangeEvent=!1}}dispose(){this.clearRanges(),super.dispose()}clearRanges(){this._visibleContextKey.set(!1),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,[]),this._currentRequest&&(this._currentRequest.cancel(),this._currentRequest=null,this._currentRequestPosition=null)}updateRanges(t=!1){return af(this,void 0,void 0,(function*(){if(!this._editor.hasModel())return void this.clearRanges();const n=this._editor.getPosition();if(!this._enabled&&!t||this._editor.getSelections().length>1)return void this.clearRanges();const i=this._editor.getModel(),o=i.getVersionId();if(this._currentRequestPosition&&this._currentRequestModelVersion===o){if(n.equals(this._currentRequestPosition))return;if(this._currentDecorations&&this._currentDecorations.length>0){const e=i.getDecorationRange(this._currentDecorations[0]);if(e&&e.containsPosition(n))return}}this._currentRequestPosition=n,this._currentRequestModelVersion=o;const r=(0,sr.createCancelablePromise)((t=>af(this,void 0,void 0,(function*(){try{const s=yield pf(i,n,t);if(r!==this._currentRequest)return;if(this._currentRequest=null,o!==i.getVersionId())return;let a=[];(null==s?void 0:s.ranges)&&(a=s.ranges),this._currentWordPattern=(null==s?void 0:s.wordPattern)||this._languageWordPattern;let l=!1;for(let e=0,t=a.length;e<t;e++)if(cr.Range.containsPosition(a[e],n)){if(l=!0,0!==e){const t=a[e];a.splice(e,1),a.unshift(t)}break}if(!l)return void this.clearRanges();const c=a.map((t=>({range:t,options:e.DECORATION})));this._visibleContextKey.set(!0),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,c)}catch(e){(0,Wo.isPromiseCanceledError)(e)||(0,Wo.onUnexpectedError)(e),this._currentRequest!==r&&this._currentRequest||this.clearRanges()}}))));return this._currentRequest=r,r}))}};df.ID="editor.contrib.linkedEditing",df.DECORATION=hr.ModelDecorationOptions.register({stickiness:0,className:cf}),df=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,Fo.IContextKeyService)],df);class hf extends Ro.EditorAction{constructor(){super({id:"editor.action.linkedEditing",label:No.localize("vs/editor/contrib/linkedEditing/linkedEditing","linkedEditing.label","Start Linked Editing"),alias:"Start Linked Editing",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){const n=e.get(Ir.ICodeEditorService),[i,o]=Array.isArray(t)&&t||[void 0,void 0];return qr.URI.isUri(i)&&lr.Position.isIPosition(o)?n.openCodeEditor({resource:i},n.getActiveCodeEditor()).then((e=>{e&&(e.setPosition(o),e.invokeWithinContext((t=>(this.reportTelemetry(t,e),this.run(t,e)))))}),Wo.onUnexpectedError):super.runCommand(e,t)}run(e,t){const n=df.get(t);return n?Promise.resolve(n.updateRanges(!0)):Promise.resolve()}}const uf=Ro.EditorCommand.bindToContribution(df.get);function pf(e,t,n){const i=Qr.LinkedEditingRangeProviderRegistry.ordered(e);return(0,sr.first)(i.map((i=>()=>af(this,void 0,void 0,(function*(){try{return yield i.provideLinkedEditingRanges(e,t,n)}catch(e){return void(0,Wo.onUnexpectedExternalError)(e)}})))),(e=>!!e&&zo.isNonEmptyArray(null==e?void 0:e.ranges)))}(0,Ro.registerEditorCommand)(new uf({id:"cancelLinkedEditingInput",precondition:lf,handler:e=>e.clearRanges(),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));const gf=(0,pr.registerColor)("editor.linkedEditingBackground",{dark:Ea.Color.fromHex("#f00").transparent(.3),light:Ea.Color.fromHex("#f00").transparent(.3),hc:Ea.Color.fromHex("#f00").transparent(.3)},No.localize("vs/editor/contrib/linkedEditing/linkedEditing","editorLinkedEditingBackground","Background color when the editor auto renames on type."));(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(gf);n&&t.addRule(`.monaco-editor .${cf} { background: ${n}; border-left-color: ${n}; }`)})),(0,Ro.registerModelAndPositionCommand)("_executeLinkedEditingProvider",((e,t)=>pf(e,t,Hr.CancellationToken.None))),(0,Ro.registerEditorContribution)(df.ID,df),(0,Ro.registerEditorAction)(hf);var mf=n(62400),ff=(Do()(mf.Z,{insert:"head",singleton:!1}),mf.Z.locals,function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))});class bf{constructor(e,t){this._link=e,this._provider=t}toJSON(){return{range:this.range,url:this.url,tooltip:this.tooltip}}get range(){return this._link.range}get url(){return this._link.url}get tooltip(){return this._link.tooltip}resolve(e){return ff(this,void 0,void 0,(function*(){return this._link.url?this._link.url:"function"==typeof this._provider.resolveLink?Promise.resolve(this._provider.resolveLink(this._link,e)).then((t=>(this._link=t||this._link,this._link.url?this.resolve(e):Promise.reject(new Error("missing"))))):Promise.reject(new Error("missing"))}))}}class vf{constructor(e){this._disposables=new ar.DisposableStore;let t=[];for(const[n,i]of e){const e=n.links.map((e=>new bf(e,i)));t=vf._union(t,e),(0,ar.isDisposable)(n)&&this._disposables.add(n)}this.links=t}dispose(){this._disposables.dispose(),this.links.length=0}static _union(e,t){let n,i,o,r,s=[];for(n=0,o=0,i=e.length,r=t.length;n<i&&o<r;){const i=e[n],r=t[o];cr.Range.areIntersectingOrTouching(i.range,r.range)?n++:cr.Range.compareRangesUsingStarts(i.range,r.range)<0?(s.push(i),n++):(s.push(r),o++)}for(;n<i;n++)s.push(e[n]);for(;o<r;o++)s.push(t[o]);return s}}function _f(e,t){const n=[],i=Qr.LinkProviderRegistry.ordered(e).reverse().map(((i,o)=>Promise.resolve(i.provideLinks(e,t)).then((e=>{e&&(n[o]=[e,i])}),Wo.onUnexpectedExternalError)));return Promise.all(i).then((()=>{const e=new vf((0,zo.coalesce)(n));return t.isCancellationRequested?(e.dispose(),new vf([])):e}))}ns.CommandsRegistry.registerCommand("_executeLinkProvider",((e,...t)=>ff(void 0,void 0,void 0,(function*(){let[n,i]=t;(0,oa.assertType)(n instanceof qr.URI),"number"!=typeof i&&(i=0);const o=e.get(Yr.IModelService).getModel(n);if(!o)return[];const r=yield _f(o,Hr.CancellationToken.None);if(!r)return[];for(let e=0;e<Math.min(i,r.links.length);e++)yield r.links[e].resolve(Hr.CancellationToken.None);const s=r.links.slice(0);return r.dispose(),s}))));var wf=function(e,t){return function(n,i){t(n,i,e)}};const yf={general:hr.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link"}),active:hr.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active"})};class Af{constructor(e,t){this.link=e,this.decorationId=t}static decoration(e,t){return{range:e.range,options:Af._getOptions(e,t,!1)}}static _getOptions(e,t,n){const i=Object.assign({},n?yf.active:yf.general);return i.hoverMessage=function(e,t){const n=e.url&&/^command:/i.test(e.url.toString()),i=e.tooltip?e.tooltip:n?No.localize("vs/editor/contrib/links/links","links.navigate.executeCmd","Execute command"):No.localize("vs/editor/contrib/links/links","links.navigate.follow","Follow link"),o=t?kr.isMacintosh?No.localize("vs/editor/contrib/links/links","links.navigate.kb.meta.mac","cmd + click"):No.localize("vs/editor/contrib/links/links","links.navigate.kb.meta","ctrl + click"):kr.isMacintosh?No.localize("vs/editor/contrib/links/links","links.navigate.kb.alt.mac","option + click"):No.localize("vs/editor/contrib/links/links","links.navigate.kb.alt","alt + click");if(e.url){let t="";if(/^command:/i.test(e.url.toString())){const n=e.url.toString().match(/^command:([^?#]+)/);if(n){const e=n[1];t=` "${No.localize("vs/editor/contrib/links/links","tooltip.explanation","Execute command {0}",e)}"`}}return new Uo("",!0).appendMarkdown(`[${i}](${e.url.toString(!0)}${t}) (${o})`)}return(new Uo).appendText(`${i} (${o})`)}(e,t),i}activate(e,t){e.changeDecorationOptions(this.decorationId,Af._getOptions(this.link,t,!0))}deactivate(e,t){e.changeDecorationOptions(this.decorationId,Af._getOptions(this.link,t,!1))}}let Cf=class e{constructor(e,t,n){this.listenersToRemove=new ar.DisposableStore,this.editor=e,this.openerService=t,this.notificationService=n;let i=new Mh(e);this.listenersToRemove.add(i),this.listenersToRemove.add(i.onMouseMoveOrRelevantKeyDown((([e,t])=>{this._onEditorMouseMove(e,t)}))),this.listenersToRemove.add(i.onExecute((e=>{this.onEditorMouseUp(e)}))),this.listenersToRemove.add(i.onCancel((e=>{this.cleanUpActiveLinkDecoration()}))),this.enabled=e.getOption(57),this.listenersToRemove.add(e.onDidChangeConfiguration((t=>{const n=e.getOption(57);this.enabled!==n&&(this.enabled=n,this.updateDecorations([]),this.stop(),this.beginCompute())}))),this.listenersToRemove.add(e.onDidChangeModelContent((e=>this.onChange()))),this.listenersToRemove.add(e.onDidChangeModel((e=>this.onModelChanged()))),this.listenersToRemove.add(e.onDidChangeModelLanguage((e=>this.onModelModeChanged()))),this.listenersToRemove.add(Qr.LinkProviderRegistry.onDidChange((e=>this.onModelModeChanged()))),this.timeout=new sr.TimeoutTimer,this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null,this.beginCompute()}static get(t){return t.getContribution(e.ID)}onModelChanged(){this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.beginCompute()}onModelModeChanged(){this.stop(),this.beginCompute()}onChange(){this.timeout.setIfNotSet((()=>this.beginCompute()),e.RECOMPUTE_TIME)}beginCompute(){return e=this,t=void 0,i=function*(){if(!this.editor.hasModel()||!this.enabled)return;const e=this.editor.getModel();if(Qr.LinkProviderRegistry.has(e)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=sr.createCancelablePromise((t=>_f(e,t)));try{this.activeLinksList=yield this.computePromise,this.updateDecorations(this.activeLinksList.links)}catch(e){(0,Wo.onUnexpectedError)(e)}finally{this.computePromise=null}}},new((n=void 0)||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}));var e,t,n,i}updateDecorations(e){const t="altKey"===this.editor.getOption(64);let n=[],i=Object.keys(this.currentOccurrences);for(let e=0,t=i.length;e<t;e++){let t=i[e],o=this.currentOccurrences[t];n.push(o.decorationId)}let o=[];if(e)for(const n of e)o.push(Af.decoration(n,t));let r=this.editor.deltaDecorations(n,o);this.currentOccurrences={},this.activeLinkDecorationId=null;for(let t=0,n=r.length;t<n;t++){let n=new Af(e[t],r[t]);this.currentOccurrences[n.decorationId]=n}}_onEditorMouseMove(e,t){const n="altKey"===this.editor.getOption(64);if(this.isEnabled(e,t)){this.cleanUpActiveLinkDecoration();const t=this.getLinkOccurrence(e.target.position);t&&this.editor.changeDecorations((e=>{t.activate(e,n),this.activeLinkDecorationId=t.decorationId}))}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const e="altKey"===this.editor.getOption(64);if(this.activeLinkDecorationId){const t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations((n=>{t.deactivate(n,e)})),this.activeLinkDecorationId=null}}onEditorMouseUp(e){if(!this.isEnabled(e))return;const t=this.getLinkOccurrence(e.target.position);t&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,n=!1){if(!this.openerService)return;const{link:i}=e;i.resolve(Hr.CancellationToken.None).then((e=>{if("string"==typeof e&&this.editor.hasModel()){const t=this.editor.getModel().uri;if(t.scheme===Xa.Schemas.file&&e.startsWith(`${Xa.Schemas.file}:`)){const n=qr.URI.parse(e);if(n.scheme===Xa.Schemas.file){const i=Bs.originalFSPath(n);let o=null;i.startsWith("/./")?o=`.${i.substr(1)}`:i.startsWith("//./")&&(o=`.${i.substr(2)}`),o&&(e=Bs.joinPath(t,o))}}}return this.openerService.open(e,{openToSide:t,fromUserGesture:n,allowContributedOpeners:!0})}),(e=>{const t=e instanceof Error?e.message:e;"invalid"===t?this.notificationService.warn(No.localize("vs/editor/contrib/links/links","invalid.url","Failed to open this link because it is not well-formed: {0}",i.url.toString())):"missing"===t?this.notificationService.warn(No.localize("vs/editor/contrib/links/links","missing.url","Failed to open this link because its target is missing.")):(0,Wo.onUnexpectedError)(e)}))}getLinkOccurrence(e){if(!this.editor.hasModel()||!e)return null;const t=this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0);for(const e of t){const t=this.currentOccurrences[e.id];if(t)return t}return null}isEnabled(e,t){return Boolean(6===e.target.type&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){var e;this.timeout.cancel(),this.activeLinksList&&(null===(e=this.activeLinksList)||void 0===e||e.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){this.listenersToRemove.dispose(),this.stop(),this.timeout.dispose()}};Cf.ID="editor.linkDetector",Cf.RECOMPUTE_TIME=1e3,Cf=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([wf(1,Ja.IOpenerService),wf(2,Fs.INotificationService)],Cf);class Sf extends Ro.EditorAction{constructor(){super({id:"editor.action.openLink",label:No.localize("vs/editor/contrib/links/links","label","Open Link"),alias:"Open Link",precondition:void 0})}run(e,t){let n=Cf.get(t);if(!n)return;if(!t.hasModel())return;let i=t.getSelections();for(let e of i){let t=n.getLinkOccurrence(e.getEndPosition());t&&n.openLinkOccurrence(t,!1)}}}(0,Ro.registerEditorContribution)(Cf.ID,Cf),(0,Ro.registerEditorAction)(Sf),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.editorActiveLinkForeground);n&&t.addRule(`.monaco-editor .detected-link-active { color: ${n} !important; }`)}));var xf=n(48321);class Ef extends Ro.EditorAction{constructor(){super({id:"editor.action.insertCursorAbove",label:No.localize("vs/editor/contrib/multicursor/multicursor","mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"3_multi",title:No.localize("vs/editor/contrib/multicursor/multicursor",{key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,n){if(!t.hasModel())return;const i=n&&!0===n.logicalLine,o=t._getViewModel();o.cursorConfig.readOnly||(o.pushStackElement(),o.setCursorStates(n.source,3,xf.CursorMoveCommands.addCursorUp(o,o.getCursorStates(),i)),o.revealTopMostCursor(n.source))}}class kf extends Ro.EditorAction{constructor(){super({id:"editor.action.insertCursorBelow",label:No.localize("vs/editor/contrib/multicursor/multicursor","mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"3_multi",title:No.localize("vs/editor/contrib/multicursor/multicursor",{key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,n){if(!t.hasModel())return;const i=n&&!0===n.logicalLine,o=t._getViewModel();o.cursorConfig.readOnly||(o.pushStackElement(),o.setCursorStates(n.source,3,xf.CursorMoveCommands.addCursorDown(o,o.getCursorStates(),i)),o.revealBottomMostCursor(n.source))}}class Tf extends Ro.EditorAction{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:No.localize("vs/editor/contrib/multicursor/multicursor","mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"3_multi",title:No.localize("vs/editor/contrib/multicursor/multicursor",{key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,n){if(!e.isEmpty()){for(let i=e.startLineNumber;i<e.endLineNumber;i++){let e=t.getLineMaxColumn(i);n.push(new Oo.Selection(i,e,i,e))}e.endColumn>1&&n.push(new Oo.Selection(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}}run(e,t){if(!t.hasModel())return;const n=t.getModel(),i=t.getSelections();let o=[];i.forEach((e=>this.getCursorsForSelection(e,n,o))),o.length>0&&t.setSelections(o)}}class If extends Ro.EditorAction{constructor(){super({id:"editor.action.addCursorsToBottom",label:No.localize("vs/editor/contrib/multicursor/multicursor","mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getSelections(),i=t.getModel().getLineCount();let o=[];for(let e=n[0].startLineNumber;e<=i;e++)o.push(new Oo.Selection(e,n[0].startColumn,e,n[0].endColumn));o.length>0&&t.setSelections(o)}}class Df extends Ro.EditorAction{constructor(){super({id:"editor.action.addCursorsToTop",label:No.localize("vs/editor/contrib/multicursor/multicursor","mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getSelections();let i=[];for(let e=n[0].startLineNumber;e>=1;e--)i.push(new Oo.Selection(e,n[0].startColumn,e,n[0].endColumn));i.length>0&&t.setSelections(i)}}class Lf{constructor(e,t,n){this.selections=e,this.revealRange=t,this.revealScrollType=n}}class Rf{constructor(e,t,n,i,o,r,s){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=n,this.searchText=i,this.wholeWord=o,this.matchCase=r,this.currentMatch=s}static create(e,t){if(!e.hasModel())return null;const n=t.getState();if(!e.hasTextFocus()&&n.isRevealed&&n.searchString.length>0)return new Rf(e,t,!1,n.searchString,n.wholeWord,n.matchCase,null);let i,o,r=!1;const s=e.getSelections();1===s.length&&s[0].isEmpty()?(r=!0,i=!0,o=!0):(i=n.wholeWord,o=n.matchCase);const a=e.getSelection();let l,c=null;if(a.isEmpty()){const t=e.getConfiguredWordAtPosition(a.getStartPosition());if(!t)return null;l=t.word,c=new Oo.Selection(a.startLineNumber,t.startColumn,a.startLineNumber,t.endColumn)}else l=e.getModel().getValueInRange(a).replace(/\r\n/g,"\n");return new Rf(e,t,r,l,i,o,c)}addSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new Lf(t.concat(e),e,0)}moveSelectionToNextFindMatch(){if(!this._editor.hasModel())return null;const e=this._getNextMatch();if(!e)return null;const t=this._editor.getSelections();return new Lf(t.slice(0,t.length-1).concat(e),e,0)}_getNextMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findNextMatch(this.searchText,t.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(110):null,!1);return n?new Oo.Selection(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}addSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new Lf(t.concat(e),e,0)}moveSelectionToPreviousFindMatch(){if(!this._editor.hasModel())return null;const e=this._getPreviousMatch();if(!e)return null;const t=this._editor.getSelections();return new Lf(t.slice(0,t.length-1).concat(e),e,0)}_getPreviousMatch(){if(!this._editor.hasModel())return null;if(this.currentMatch){const e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();const e=this._editor.getSelections(),t=e[e.length-1],n=this._editor.getModel().findPreviousMatch(this.searchText,t.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(110):null,!1);return n?new Oo.Selection(n.range.startLineNumber,n.range.startColumn,n.range.endLineNumber,n.range.endColumn):null}selectAll(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(110):null,!1,1073741824)):[]}}class Nf extends ar.Disposable{constructor(e){super(),this._sessionDispose=this._register(new ar.DisposableStore),this._editor=e,this._ignoreSelectionChange=!1,this._session=null}static get(e){return e.getContribution(Nf.ID)}dispose(){this._endSession(),super.dispose()}_beginSessionIfNeeded(e){if(!this._session){const t=Rf.create(this._editor,e);if(!t)return;this._session=t;const n={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(n.wholeWordOverride=1,n.matchCaseOverride=1,n.isRegexOverride=2),e.getState().change(n,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection((e=>{this._ignoreSelectionChange||this._endSession()}))),this._sessionDispose.add(this._editor.onDidBlurEditorText((()=>{this._endSession()}))),this._sessionDispose.add(e.getState().onFindReplaceStateChange((e=>{(e.matchCase||e.wholeWord)&&this._endSession()})))}}_endSession(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){const e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(e,!1)}this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){if(!t.isEmpty())return t;const n=this._editor.getConfiguredWordAtPosition(t.getStartPosition());return n?new Oo.Selection(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){const t=this._editor.getSelections();if(t.length>1){const n=e.getState().matchCase;if(!Vf(this._editor.getModel(),t,n)){const e=this._editor.getModel();let n=[];for(let i=0,o=t.length;i<o;i++)n[i]=this._expandEmptyToWord(e,t[i]);return void this._editor.setSelections(n)}}}this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToNextFindMatch())}}addSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToPreviousFindMatch())}moveSelectionToNextFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToNextFindMatch())}moveSelectionToPreviousFindMatch(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToPreviousFindMatch())}selectAll(e){if(!this._editor.hasModel())return;let t=null;const n=e.getState();if(n.isRevealed&&n.searchString.length>0&&n.isRegex)t=this._editor.getModel().findMatches(n.searchString,!0,n.isRegex,n.matchCase,n.wholeWord?this._editor.getOption(110):null,!1,1073741824);else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll()}if(n.searchScope){const e=n.searchScope;let i=[];t.forEach((t=>{e.forEach((e=>{t.range.endLineNumber<=e.endLineNumber&&t.range.startLineNumber>=e.startLineNumber&&i.push(t)}))})),t=i}if(t.length>0){const e=this._editor.getSelection();for(let n=0,i=t.length;n<i;n++){const i=t[n];if(i.range.intersectRanges(e)){t[n]=t[0],t[0]=i;break}}this._setSelections(t.map((e=>new Oo.Selection(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn))))}}}Nf.ID="editor.contrib.multiCursorController";class Mf extends Ro.EditorAction{run(e,t){const n=Nf.get(t);if(!n)return;const i=zp.get(t);i&&this._run(n,i)}}class Of extends Mf{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:No.localize("vs/editor/contrib/multicursor/multicursor","addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:2082,weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"3_multi",title:No.localize("vs/editor/contrib/multicursor/multicursor",{key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}class Pf extends Mf{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:No.localize("vs/editor/contrib/multicursor/multicursor","addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"3_multi",title:No.localize("vs/editor/contrib/multicursor/multicursor",{key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}class Ff extends Mf{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:No.localize("vs/editor/contrib/multicursor/multicursor","moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:(0,Po.KeyChord)(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}class zf extends Mf{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:No.localize("vs/editor/contrib/multicursor/multicursor","moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}class Bf extends Mf{constructor(){super({id:"editor.action.selectHighlights",label:No.localize("vs/editor/contrib/multicursor/multicursor","selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:3114,weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"3_multi",title:No.localize("vs/editor/contrib/multicursor/multicursor",{key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(e,t){e.selectAll(t)}}class Wf extends Mf{constructor(){super({id:"editor.action.changeAll",label:No.localize("vs/editor/contrib/multicursor/multicursor","changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.editorTextFocus),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(e,t){e.selectAll(t)}}class Uf{constructor(e,t,n,i){this.searchText=e,this.matchCase=t,this.wordSeparators=n,this.modelVersionId=i}static softEquals(e,t){return!e&&!t||!(!e||!t)&&e.searchText===t.searchText&&e.matchCase===t.matchCase&&e.wordSeparators===t.wordSeparators&&e.modelVersionId===t.modelVersionId}}class Hf extends ar.Disposable{constructor(e){super(),this.editor=e,this._isEnabled=e.getOption(92),this.decorations=[],this.updateSoon=this._register(new sr.RunOnceScheduler((()=>this._update()),300)),this.state=null,this._register(e.onDidChangeConfiguration((t=>{this._isEnabled=e.getOption(92)}))),this._register(e.onDidChangeCursorSelection((e=>{this._isEnabled&&(e.selection.isEmpty()?3===e.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())}))),this._register(e.onDidChangeModel((e=>{this._setState(null)}))),this._register(e.onDidChangeModelContent((e=>{this._isEnabled&&this.updateSoon.schedule()}))),this._register(zp.get(e).getState().onFindReplaceStateChange((e=>{this._update()})))}_update(){this._setState(Hf._createState(this._isEnabled,this.editor))}static _createState(e,t){if(!e)return null;if(!t.hasModel())return null;const n=t.getSelection();if(n.startLineNumber!==n.endLineNumber)return null;const i=Nf.get(t);if(!i)return null;const o=zp.get(t);if(!o)return null;let r=i.getSession(o);if(!r){const e=t.getSelections();if(e.length>1){const n=o.getState().matchCase;if(!Vf(t.getModel(),e,n))return null}r=Rf.create(t,o)}if(!r)return null;if(r.currentMatch)return null;if(/^[ \t]+$/.test(r.searchText))return null;if(r.searchText.length>200)return null;const s=o.getState(),a=s.matchCase;if(s.isRevealed){let e=s.searchString;a||(e=e.toLowerCase());let t=r.searchText;if(a||(t=t.toLowerCase()),e===t&&r.matchCase===s.matchCase&&r.wholeWord===s.wholeWord&&!s.isRegex)return null}return new Uf(r.searchText,r.matchCase,r.wholeWord?t.getOption(110):null,t.getModel().getVersionId())}_setState(e){if(Uf.softEquals(this.state,e))return void(this.state=e);if(this.state=e,!this.state)return void(this.decorations=this.editor.deltaDecorations(this.decorations,[]));if(!this.editor.hasModel())return;const t=this.editor.getModel();if(t.isTooLargeForTokenization())return;const n=Qr.DocumentHighlightProviderRegistry.has(t)&&this.editor.getOption(66);let i=t.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map((e=>e.range));i.sort(cr.Range.compareRangesUsingStarts);let o=this.editor.getSelections();o.sort(cr.Range.compareRangesUsingStarts);let r=[];for(let e=0,t=0,n=i.length,s=o.length;e<n;){const n=i[e];if(t>=s)r.push(n),e++;else{const i=cr.Range.compareRangesUsingStarts(n,o[t]);i<0?(!o[t].isEmpty()&&cr.Range.areIntersecting(n,o[t])||r.push(n),e++):(i>0||e++,t++)}}const s=r.map((e=>({range:e,options:n?Hf._SELECTION_HIGHLIGHT:Hf._SELECTION_HIGHLIGHT_OVERVIEW})));this.decorations=this.editor.deltaDecorations(this.decorations,s)}dispose(){this._setState(null),super.dispose()}}function Vf(e,t,n){const i=jf(e,t[0],!n);for(let o=1,r=t.length;o<r;o++){const r=t[o];if(r.isEmpty())return!1;if(i!==jf(e,r,!n))return!1}return!0}function jf(e,t,n){const i=e.getValueInRange(t);return n?i.toLowerCase():i}Hf.ID="editor.contrib.selectionHighlighter",Hf._SELECTION_HIGHLIGHT_OVERVIEW=hr.ModelDecorationOptions.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:(0,gr.themeColorFromId)(pr.overviewRulerSelectionHighlightForeground),position:dr.OverviewRulerLane.Center}}),Hf._SELECTION_HIGHLIGHT=hr.ModelDecorationOptions.register({stickiness:1,className:"selectionHighlight"}),(0,Ro.registerEditorContribution)(Nf.ID,Nf),(0,Ro.registerEditorContribution)(Hf.ID,Hf),(0,Ro.registerEditorAction)(Ef),(0,Ro.registerEditorAction)(kf),(0,Ro.registerEditorAction)(Tf),(0,Ro.registerEditorAction)(Of),(0,Ro.registerEditorAction)(Pf),(0,Ro.registerEditorAction)(Ff),(0,Ro.registerEditorAction)(zf),(0,Ro.registerEditorAction)(Bf),(0,Ro.registerEditorAction)(Wf),(0,Ro.registerEditorAction)(If),(0,Ro.registerEditorAction)(Df);var Kf=n(70537),qf=(Do()(Kf.Z,{insert:"head",singleton:!1}),Kf.Z.locals,function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))});const Gf={Visible:new Fo.RawContextKey("parameterHintsVisible",!1),MultipleSignatures:new Fo.RawContextKey("parameterHintsMultipleSignatures",!1)};function Qf(e,t,n,i){return qf(this,void 0,void 0,(function*(){const o=Qr.SignatureHelpProviderRegistry.ordered(e);for(const r of o)try{const o=yield r.provideSignatureHelp(e,t,i,n);if(o)return o}catch(e){(0,Wo.onUnexpectedExternalError)(e)}}))}ns.CommandsRegistry.registerCommand("_executeSignatureHelpProvider",((e,...t)=>qf(void 0,void 0,void 0,(function*(){const[n,i,o]=t;(0,oa.assertType)(qr.URI.isUri(n)),(0,oa.assertType)(lr.Position.isIPosition(i)),(0,oa.assertType)("string"==typeof o||!o);const r=yield e.get(pd.ITextModelService).createModelReference(n);try{const e=yield Qf(r.object.textEditorModel,lr.Position.lift(i),{triggerKind:Qr.SignatureHelpTriggerKind.Invoke,isRetrigger:!1,triggerCharacter:o},Hr.CancellationToken.None);if(!e)return;return setTimeout((()=>e.dispose()),0),e.value}finally{r.dispose()}}))));var Yf;!function(e){e.Default={type:0},e.Pending=class{constructor(e,t){this.request=e,this.previouslyActiveHints=t,this.type=2}},e.Active=class{constructor(e){this.hints=e,this.type=1}}}(Yf||(Yf={}));class $f extends ar.Disposable{constructor(e,t=$f.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new Is.Emitter),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=Yf.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new ar.MutableDisposable),this.triggerChars=new Ug.CharacterSet,this.retriggerChars=new Ug.CharacterSet,this.triggerId=0,this.editor=e,this.throttledDelayer=new sr.Delayer(t),this._register(this.editor.onDidChangeConfiguration((()=>this.onEditorConfigurationChange()))),this._register(this.editor.onDidChangeModel((e=>this.onModelChanged()))),this._register(this.editor.onDidChangeModelLanguage((e=>this.onModelChanged()))),this._register(this.editor.onDidChangeCursorSelection((e=>this.onCursorChange(e)))),this._register(this.editor.onDidChangeModelContent((e=>this.onModelContentChange()))),this._register(Qr.SignatureHelpProviderRegistry.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType((e=>this.onDidType(e)))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){2===this._state.type&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=Yf.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){const n=this.editor.getModel();if(!n||!Qr.SignatureHelpProviderRegistry.has(n))return;const i=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger((()=>this.doTrigger(i)),t).catch(Wo.onUnexpectedError)}next(){if(1!==this.state.type)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=t%e==e-1,i=this.editor.getOption(70).cycle;!(e<2||n)||i?this.updateActiveSignature(n&&i?0:t+1):this.cancel()}previous(){if(1!==this.state.type)return;const e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,n=0===t,i=this.editor.getOption(70).cycle;!(e<2||n)||i?this.updateActiveSignature(n&&i?e-1:t-1):this.cancel()}updateActiveSignature(e){1===this.state.type&&(this.state=new Yf.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){return t=this,n=void 0,o=function*(){const t=1===this.state.type||2===this.state.type,n=this.getLastActiveHints();if(this.cancel(!0),0===this._pendingTriggers.length)return!1;const i=this._pendingTriggers.reduce(Jf);this._pendingTriggers=[];const o={triggerKind:i.triggerKind,triggerCharacter:i.triggerCharacter,isRetrigger:t,activeSignatureHelp:n};if(!this.editor.hasModel())return!1;const r=this.editor.getModel(),s=this.editor.getPosition();this.state=new Yf.Pending((0,sr.createCancelablePromise)((e=>Qf(r,s,o,e))),n);try{const t=yield this.state.request;return e!==this.triggerId?(null==t||t.dispose(),!1):t&&t.value.signatures&&0!==t.value.signatures.length?(this.state=new Yf.Active(t.value),this._lastSignatureHelpResult.value=t,this._onChangedHints.fire(this.state.hints),!0):(null==t||t.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1)}catch(t){return e===this.triggerId&&(this.state=Yf.Default),(0,Wo.onUnexpectedError)(t),!1}},new((i=void 0)||(i=Promise))((function(e,r){function s(e){try{l(o.next(e))}catch(e){r(e)}}function a(e){try{l(o.throw(e))}catch(e){r(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(s,a)}l((o=o.apply(t,n||[])).next())}));var t,n,i,o}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new Ug.CharacterSet,this.retriggerChars=new Ug.CharacterSet;const e=this.editor.getModel();if(e)for(const t of Qr.SignatureHelpProviderRegistry.ordered(e)){for(const e of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(e.charCodeAt(0)),this.retriggerChars.add(e.charCodeAt(0));for(const e of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(e.charCodeAt(0))}}onDidType(e){if(!this.triggerOnType)return;const t=e.length-1,n=e.charCodeAt(t);(this.triggerChars.has(n)||this.isTriggered&&this.retriggerChars.has(n))&&this.trigger({triggerKind:Qr.SignatureHelpTriggerKind.TriggerCharacter,triggerCharacter:e.charAt(t)})}onCursorChange(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:Qr.SignatureHelpTriggerKind.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:Qr.SignatureHelpTriggerKind.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(70).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function Jf(e,t){switch(t.triggerKind){case Qr.SignatureHelpTriggerKind.Invoke:return t;case Qr.SignatureHelpTriggerKind.ContentChange:return e;case Qr.SignatureHelpTriggerKind.TriggerCharacter:default:return t}}$f.DEFAULT_DELAY=120;var Zf=function(e,t){return function(n,i){t(n,i,e)}};const Xf=_s.$,eb=(0,wc.registerIcon)("parameter-hints-next",Rs.Codicon.chevronDown,No.localize("vs/editor/contrib/parameterHints/parameterHintsWidget","parameterHintsNextIcon","Icon for show next parameter hint.")),tb=(0,wc.registerIcon)("parameter-hints-previous",Rs.Codicon.chevronUp,No.localize("vs/editor/contrib/parameterHints/parameterHintsWidget","parameterHintsPreviousIcon","Icon for show previous parameter hint."));let nb=class e extends ar.Disposable{constructor(e,t,n,i){super(),this.editor=e,this.renderDisposeables=this._register(new ar.DisposableStore),this.visible=!1,this.announcedLabel=null,this.allowEditorOverflow=!0,this.markdownRenderer=this._register(new qc({editor:e},i,n)),this.model=this._register(new $f(e)),this.keyVisible=Gf.Visible.bindTo(t),this.keyMultipleSignatures=Gf.MultipleSignatures.bindTo(t),this._register(this.model.onChangedHints((e=>{e?(this.show(),this.render(e)):this.hide()})))}createParamaterHintDOMNodes(){const e=Xf(".editor-widget.parameter-hints-widget"),t=_s.append(e,Xf(".phwrapper"));t.tabIndex=-1;const n=_s.append(t,Xf(".controls")),i=_s.append(n,Xf(".button"+gr.ThemeIcon.asCSSSelector(tb))),o=_s.append(n,Xf(".overloads")),r=_s.append(n,Xf(".button"+gr.ThemeIcon.asCSSSelector(eb))),s=(0,_l.stop)((0,_l.domEvent)(i,"click"));this._register(s(this.previous,this));const a=(0,_l.stop)((0,_l.domEvent)(r,"click"));this._register(a(this.next,this));const l=Xf(".body"),c=new qa.DomScrollableElement(l,{});this._register(c),t.appendChild(c.getDomNode());const d=_s.append(l,Xf(".signature")),h=_s.append(l,Xf(".docs"));e.style.userSelect="text",this.domNodes={element:e,signature:d,overloads:o,docs:h,scrollbar:c},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection((e=>{this.visible&&this.editor.layoutContentWidget(this)})));const u=()=>{if(!this.domNodes)return;const e=this.editor.getOption(38);this.domNodes.element.style.fontSize=`${e.fontSize}px`};u(),this._register(Is.Event.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((e=>e.hasChanged(38))).on(u,null)),this._register(this.editor.onDidLayoutChange((e=>this.updateMaxHeight()))),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout((()=>{this.domNodes&&this.domNodes.element.classList.add("visible")}),100),this.editor.layoutContentWidget(this))}hide(){this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&this.domNodes.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){var t;if(this.renderDisposeables.clear(),!this.domNodes)return;const n=e.signatures.length>1;this.domNodes.element.classList.toggle("multiple",n),this.keyMultipleSignatures.set(n),this.domNodes.signature.innerText="",this.domNodes.docs.innerText="";const i=e.signatures[e.activeSignature];if(!i)return;const o=_s.append(this.domNodes.signature,Xf(".code")),r=this.editor.getOption(38);o.style.fontSize=`${r.fontSize}px`,o.style.fontFamily=r.fontFamily;const s=i.parameters.length>0,a=null!==(t=i.activeParameter)&&void 0!==t?t:e.activeParameter;s?this.renderParameters(o,i,a):_s.append(o,Xf("span")).textContent=i.label;const l=i.parameters[a];if(null==l?void 0:l.documentation){const e=Xf("span.documentation");if("string"==typeof l.documentation)e.textContent=l.documentation;else{const t=this.renderMarkdownDocs(l.documentation);e.appendChild(t.element)}_s.append(this.domNodes.docs,Xf("p",{},e))}if(void 0===i.documentation);else if("string"==typeof i.documentation)_s.append(this.domNodes.docs,Xf("p",{},i.documentation));else{const e=this.renderMarkdownDocs(i.documentation);_s.append(this.domNodes.docs,e.element)}const c=this.hasDocs(i,l);if(this.domNodes.signature.classList.toggle("has-docs",c),this.domNodes.docs.classList.toggle("empty",!c),this.domNodes.overloads.textContent=String(e.activeSignature+1).padStart(e.signatures.length.toString().length,"0")+"/"+e.signatures.length,l){const e=this.getParameterLabel(i,a);this.announcedLabel!==e&&(Yo.alert(No.localize("vs/editor/contrib/parameterHints/parameterHintsWidget","hint","{0}, hint",e)),this.announcedLabel=e)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()}renderMarkdownDocs(e){const t=this.renderDisposeables.add(this.markdownRenderer.render(e,{asyncRenderCallback:()=>{var e;null===(e=this.domNodes)||void 0===e||e.scrollbar.scanDomNode()}}));return t.element.classList.add("markdown-docs"),t}hasDocs(e,t){return!!(t&&"string"==typeof t.documentation&&(0,oa.assertIsDefined)(t.documentation).length>0||t&&"object"==typeof t.documentation&&(0,oa.assertIsDefined)(t.documentation).value.length>0||e.documentation&&"string"==typeof e.documentation&&(0,oa.assertIsDefined)(e.documentation).length>0||e.documentation&&"object"==typeof e.documentation&&(0,oa.assertIsDefined)(e.documentation.value).length>0)}renderParameters(e,t,n){const[i,o]=this.getParameterLabelOffsets(t,n),r=document.createElement("span");r.textContent=t.label.substring(0,i);const s=document.createElement("span");s.textContent=t.label.substring(i,o),s.className="parameter active";const a=document.createElement("span");a.textContent=t.label.substring(o),_s.append(e,r,s,a)}getParameterLabel(e,t){const n=e.parameters[t];return Array.isArray(n.label)?e.label.substring(n.label[0],n.label[1]):n.label}getParameterLabelOffsets(e,t){const n=e.parameters[t];if(n){if(Array.isArray(n.label))return n.label;if(n.label.length){const t=new RegExp(`(\\W|^)${(0,jr.escapeRegExpCharacters)(n.label)}(?=\\W|$)`,"g");t.test(e.label);const i=t.lastIndex-n.label.length;return i>=0?[i,t.lastIndex]:[0,0]}return[0,0]}return[0,0]}next(){this.editor.focus(),this.model.next()}previous(){this.editor.focus(),this.model.previous()}cancel(){this.model.cancel()}getDomNode(){return this.domNodes||this.createParamaterHintDOMNodes(),this.domNodes.element}getId(){return e.ID}trigger(e){this.model.trigger(e,0)}updateMaxHeight(){if(!this.domNodes)return;const e=`${Math.max(this.editor.getLayoutInfo().height/4,250)}px`;this.domNodes.element.style.maxHeight=e;const t=this.domNodes.element.getElementsByClassName("phwrapper");t.length&&(t[0].style.maxHeight=e)}};nb.ID="editor.widget.parameterHintsWidget",nb=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Zf(1,Fo.IContextKeyService),Zf(2,Ja.IOpenerService),Zf(3,Ra.IModeService)],nb),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.editorHoverBorder);if(n){const i=e.type===gs.ColorScheme.HIGH_CONTRAST?2:1;t.addRule(`.monaco-editor .parameter-hints-widget { border: ${i}px solid ${n}; }`),t.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${n.transparent(.5)}; }`),t.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${n.transparent(.5)}; }`)}const i=e.getColor(pr.editorHoverBackground);i&&t.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${i}; }`);const o=e.getColor(pr.textLinkForeground);o&&t.addRule(`.monaco-editor .parameter-hints-widget a { color: ${o}; }`);const r=e.getColor(pr.editorHoverForeground);r&&t.addRule(`.monaco-editor .parameter-hints-widget { color: ${r}; }`);const s=e.getColor(pr.textCodeBlockBackground);s&&t.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${s}; }`)}));let ib=class e extends ar.Disposable{constructor(e,t){super(),this.editor=e,this.widget=this._register(t.createInstance(nb,this.editor))}static get(t){return t.getContribution(e.ID)}cancel(){this.widget.cancel()}previous(){this.widget.previous()}next(){this.widget.next()}trigger(e){this.widget.trigger(e)}};ib.ID="editor.controller.parameterHints",ib=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,vs.IInstantiationService)],ib);class ob extends Ro.EditorAction{constructor(){super({id:"editor.action.triggerParameterHints",label:No.localize("vs/editor/contrib/parameterHints/parameterHints","parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:Mo.EditorContextKeys.hasSignatureHelpProvider,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:3082,weight:100}})}run(e,t){const n=ib.get(t);n&&n.trigger({triggerKind:Qr.SignatureHelpTriggerKind.Invoke})}}(0,Ro.registerEditorContribution)(ib.ID,ib),(0,Ro.registerEditorAction)(ob);const rb=Ro.EditorCommand.bindToContribution(ib.get);(0,Ro.registerEditorCommand)(new rb({id:"closeParameterHints",precondition:Gf.Visible,handler:e=>e.cancel(),kbOpts:{weight:175,kbExpr:Mo.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,Ro.registerEditorCommand)(new rb({id:"showPrevParameterHint",precondition:Fo.ContextKeyExpr.and(Gf.Visible,Gf.MultipleSignatures),handler:e=>e.previous(),kbOpts:{weight:175,kbExpr:Mo.EditorContextKeys.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),(0,Ro.registerEditorCommand)(new rb({id:"showNextParameterHint",precondition:Fo.ContextKeyExpr.and(Gf.Visible,Gf.MultipleSignatures),handler:e=>e.next(),kbOpts:{weight:175,kbExpr:Mo.EditorContextKeys.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}));var sb=n(59896),ab=(Do()(sb.Z,{insert:"head",singleton:!1}),sb.Z.locals,function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}),lb=function(e,t){return function(n,i){t(n,i,e)}};const cb=new Fo.RawContextKey("renameInputVisible",!1);let db=class{constructor(e,t,n,i,o){this._editor=e,this._acceptKeybindings=t,this._themeService=n,this._keybindingService=i,this._disposables=new ar.DisposableStore,this.allowEditorOverflow=!0,this._visibleContextKey=cb.bindTo(o),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(38)&&this._updateFont()}))),this._disposables.add(n.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",(0,No.localize)("vs/editor/contrib/rename/renameInputField","renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);const e=()=>{var e,t;const[n,i]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(n),this._label.innerText=(0,No.localize)("vs/editor/contrib/rename/renameInputField",{key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null===(e=this._keybindingService.lookupKeybinding(n))||void 0===e?void 0:e.getLabel(),null===(t=this._keybindingService.lookupKeybinding(i))||void 0===t?void 0:t.getLabel())};e(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())}return this._domNode}_updateStyles(e){var t,n,i,o;if(!this._input||!this._domNode)return;const r=e.getColor(pr.widgetShadow);this._domNode.style.backgroundColor=String(null!==(t=e.getColor(pr.editorWidgetBackground))&&void 0!==t?t:""),this._domNode.style.boxShadow=r?` 0 0 8px 2px ${r}`:"",this._domNode.style.color=String(null!==(n=e.getColor(pr.inputForeground))&&void 0!==n?n:""),this._input.style.backgroundColor=String(null!==(i=e.getColor(pr.inputBackground))&&void 0!==i?i:"");const s=e.getColor(pr.inputBorder);this._input.style.borderWidth=s?"1px":"0px",this._input.style.borderStyle=s?"solid":"none",this._input.style.borderColor=null!==(o=null==s?void 0:s.toString())&&void 0!==o?o:"none"}_updateFont(){if(!this._input||!this._label)return;const e=this._editor.getOption(38);this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=`${e.fontSize}px`,this._label.style.fontSize=.8*e.fontSize+"px"}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}afterRender(e){e||this.cancelInput(!0)}acceptInput(e){this._currentAcceptInput&&this._currentAcceptInput(e)}cancelInput(e){this._currentCancelInput&&this._currentCancelInput(e)}getInput(e,t,n,i,o,r){this._domNode.classList.toggle("preview",o),this._position=new lr.Position(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",i.toString()),this._input.size=Math.max(1.1*(e.endColumn-e.startColumn),20);const s=new ar.DisposableStore;return new Promise((e=>{this._currentCancelInput=t=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e(t),!0),this._currentAcceptInput=n=>{0!==this._input.value.trim().length&&this._input.value!==t?(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e({newName:this._input.value,wantsPreview:o&&n})):this.cancelInput(!0)},r.onCancellationRequested((()=>this.cancelInput(!0))),s.add(this._editor.onDidBlurEditorWidget((()=>this.cancelInput(!1)))),this._show()})).finally((()=>{s.dispose(),this._hide()}))}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout((()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))}),100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};db=ab([lb(2,gr.IThemeService),lb(3,As.IKeybindingService),lb(4,Fo.IContextKeyService)],db);var hb=n(1314),ub=n(11484),pb=n(79558),gb=n(47509),mb=function(e,t){return function(n,i){t(n,i,e)}},fb=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class bb{constructor(e,t){this.model=e,this.position=t,this._providerRenameIdx=0,this._providers=Qr.RenameProviderRegistry.ordered(e)}hasProvider(){return this._providers.length>0}resolveRenameLocation(e){return fb(this,void 0,void 0,(function*(){const t=[];for(this._providerRenameIdx=0;this._providerRenameIdx<this._providers.length;this._providerRenameIdx++){const n=this._providers[this._providerRenameIdx];if(!n.resolveRenameLocation)break;let i=yield n.resolveRenameLocation(this.model,this.position,e);if(i){if(!i.rejectReason)return i;t.push(i.rejectReason)}}const n=this.model.getWordAtPosition(this.position);return n?{range:new cr.Range(this.position.lineNumber,n.startColumn,this.position.lineNumber,n.endColumn),text:n.word,rejectReason:t.length>0?t.join("\n"):void 0}:{range:cr.Range.fromPositions(this.position),text:"",rejectReason:t.length>0?t.join("\n"):void 0}}))}provideRenameEdits(e,t){return fb(this,void 0,void 0,(function*(){return this._provideRenameEdits(e,this._providerRenameIdx,[],t)}))}_provideRenameEdits(e,t,n,i){return fb(this,void 0,void 0,(function*(){const o=this._providers[t];if(!o)return{edits:[],rejectReason:n.join("\n")};const r=yield o.provideRenameEdits(this.model,this.position,e,i);return r?r.rejectReason?this._provideRenameEdits(e,t+1,n.concat(r.rejectReason),i):r:this._provideRenameEdits(e,t+1,n.concat(No.localize("vs/editor/contrib/rename/rename","no result","No result.")),i)}))}}function vb(e,t,n){return fb(this,void 0,void 0,(function*(){const i=new bb(e,t),o=yield i.resolveRenameLocation(Hr.CancellationToken.None);return(null==o?void 0:o.rejectReason)?{edits:[],rejectReason:o.rejectReason}:i.provideRenameEdits(n,Hr.CancellationToken.None)}))}let _b=class e{constructor(e,t,n,i,o,r,s){this.editor=e,this._instaService=t,this._notificationService=n,this._bulkEditService=i,this._progressService=o,this._logService=r,this._configService=s,this._dispoableStore=new ar.DisposableStore,this._cts=new Hr.CancellationTokenSource,this._renameInputField=this._dispoableStore.add(new sr.IdleValue((()=>this._dispoableStore.add(this._instaService.createInstance(db,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"])))))}static get(t){return t.getContribution(e.ID)}dispose(){this._dispoableStore.dispose(),this._cts.dispose(!0)}run(){return fb(this,void 0,void 0,(function*(){if(this._cts.dispose(!0),!this.editor.hasModel())return;const e=this.editor.getPosition(),t=new bb(this.editor.getModel(),e);if(!t.hasProvider())return;let n;this._cts=new Gr.EditorStateCancellationTokenSource(this.editor,5);try{const e=t.resolveRenameLocation(this._cts.token);this._progressService.showWhile(e,250),n=yield e}catch(t){return void ms.get(this.editor).showMessage(t||No.localize("vs/editor/contrib/rename/rename","resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),e)}if(!n)return;if(n.rejectReason)return void ms.get(this.editor).showMessage(n.rejectReason,e);if(this._cts.token.isCancellationRequested)return;this._cts.dispose(),this._cts=new Gr.EditorStateCancellationTokenSource(this.editor,5,n.range);let i=this.editor.getSelection(),o=0,r=n.text.length;cr.Range.isEmpty(i)||cr.Range.spansMultipleLines(i)||!cr.Range.containsRange(n.range,i)||(o=Math.max(0,i.startColumn-n.range.startColumn),r=Math.min(n.range.endColumn,i.endColumn)-n.range.startColumn);const s=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),a=yield this._renameInputField.value.getInput(n.range,n.text,o,r,s,this._cts.token);if("boolean"==typeof a)return void(a&&this.editor.focus());this.editor.focus();const l=(0,sr.raceCancellation)(t.provideRenameEdits(a.newName,this._cts.token),this._cts.token).then((e=>fb(this,void 0,void 0,(function*(){e&&this.editor.hasModel()&&(e.rejectReason?this._notificationService.info(e.rejectReason):this._bulkEditService.apply(Kr.ResourceEdit.convert(e),{editor:this.editor,showPreview:a.wantsPreview,label:No.localize("vs/editor/contrib/rename/rename","label","Renaming '{0}'",null==n?void 0:n.text),quotableLabel:No.localize("vs/editor/contrib/rename/rename","quotableLabel","Renaming {0}",null==n?void 0:n.text)}).then((e=>{e.ariaSummary&&(0,Yo.alert)(No.localize("vs/editor/contrib/rename/rename","aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",n.text,a.newName,e.ariaSummary))})).catch((e=>{this._notificationService.error(No.localize("vs/editor/contrib/rename/rename","rename.failedApply","Rename failed to apply edits")),this._logService.error(e)})))}))),(e=>{this._notificationService.error(No.localize("vs/editor/contrib/rename/rename","rename.failed","Rename failed to compute edits")),this._logService.error(e)}));return this._progressService.showWhile(l,250),l}))}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};_b.ID="editor.contrib.renameController",_b=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([mb(1,vs.IInstantiationService),mb(2,Fs.INotificationService),mb(3,Kr.IBulkEditService),mb(4,ts.IEditorProgressService),mb(5,hb.ILogService),mb(6,gb.ITextResourceConfigurationService)],_b);class wb extends Ro.EditorAction{constructor(){super({id:"editor.action.rename",label:No.localize("vs/editor/contrib/rename/rename","rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){const n=e.get(Ir.ICodeEditorService),[i,o]=Array.isArray(t)&&t||[void 0,void 0];return qr.URI.isUri(i)&&lr.Position.isIPosition(o)?n.openCodeEditor({resource:i},n.getActiveCodeEditor()).then((e=>{e&&(e.setPosition(o),e.invokeWithinContext((t=>(this.reportTelemetry(t,e),this.run(t,e)))))}),Wo.onUnexpectedError):super.runCommand(e,t)}run(e,t){const n=_b.get(t);return n?n.run():Promise.resolve()}}(0,Ro.registerEditorContribution)(_b.ID,_b),(0,Ro.registerEditorAction)(wb);const yb=Ro.EditorCommand.bindToContribution(_b.get);(0,Ro.registerEditorCommand)(new yb({id:"acceptRenameInput",precondition:cb,handler:e=>e.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:Mo.EditorContextKeys.focus,primary:3}})),(0,Ro.registerEditorCommand)(new yb({id:"acceptRenameInputWithPreview",precondition:Fo.ContextKeyExpr.and(cb,Fo.ContextKeyExpr.has("config.editor.rename.enablePreview")),handler:e=>e.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:Mo.EditorContextKeys.focus,primary:1027}})),(0,Ro.registerEditorCommand)(new yb({id:"cancelRenameInput",precondition:cb,handler:e=>e.cancelRenameInput(),kbOpts:{weight:199,kbExpr:Mo.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,Ro.registerModelAndPositionCommand)("_executeDocumentRenameProvider",(function(e,t,...n){const[i]=n;return(0,oa.assertType)("string"==typeof i),vb(e,t,i)})),ub.Registry.as(pb.Extensions.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:No.localize("vs/editor/contrib/rename/rename","enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}});class Ab{provideSelectionRanges(e,t){const n=[];for(const i of t){const t=[];n.push(t),this._addInWordRanges(t,e,i),this._addWordRanges(t,e,i),this._addWhitespaceLine(t,e,i),t.push({range:e.getFullModelRange()})}return n}_addInWordRanges(e,t,n){const i=t.getWordAtPosition(n);if(!i)return;let{word:o,startColumn:r}=i,s=n.column-r,a=s,l=s,c=0;for(;a>=0;a--){let e=o.charCodeAt(a);if(a!==s&&(95===e||45===e))break;if((0,jr.isLowerAsciiLetter)(e)&&(0,jr.isUpperAsciiLetter)(c))break;c=e}for(a+=1;l<o.length;l++){let e=o.charCodeAt(l);if((0,jr.isUpperAsciiLetter)(e)&&(0,jr.isLowerAsciiLetter)(c))break;if(95===e||45===e)break;c=e}a<l&&e.push({range:new cr.Range(n.lineNumber,r+a,n.lineNumber,r+l)})}_addWordRanges(e,t,n){const i=t.getWordAtPosition(n);i&&e.push({range:new cr.Range(n.lineNumber,i.startColumn,n.lineNumber,i.endColumn)})}_addWhitespaceLine(e,t,n){t.getLineLength(n.lineNumber)>0&&0===t.getLineFirstNonWhitespaceColumn(n.lineNumber)&&0===t.getLineLastNonWhitespaceColumn(n.lineNumber)&&e.push({range:new cr.Range(n.lineNumber,1,n.lineNumber,t.getLineMaxColumn(n.lineNumber))})}}class Cb{provideSelectionRanges(e,t){return n=this,i=void 0,r=function*(){const n=[];for(const i of t){const t=[];n.push(t);const o=new Map;yield new Promise((t=>Cb._bracketsRightYield(t,0,e,i,o))),yield new Promise((n=>Cb._bracketsLeftYield(n,0,e,i,o,t)))}return n},new((o=void 0)||(o=Promise))((function(e,t){function s(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(s,a)}l((r=r.apply(n,i||[])).next())}));var n,i,o,r}static _bracketsRightYield(e,t,n,i,o){const r=new Map,s=Date.now();for(;;){if(t>=Cb._maxRounds){e();break}if(!i){e();break}let a=n.findNextBracket(i);if(!a){e();break}if(Date.now()-s>Cb._maxDuration){setTimeout((()=>Cb._bracketsRightYield(e,t+1,n,i,o)));break}const l=a.close[0];if(a.isOpen){let e=r.has(l)?r.get(l):0;r.set(l,e+1)}else{let e=r.has(l)?r.get(l):0;if(e-=1,r.set(l,Math.max(0,e)),e<0){let e=o.get(l);e||(e=new pc.LinkedList,o.set(l,e)),e.push(a.range)}}i=a.range.getEndPosition()}}static _bracketsLeftYield(e,t,n,i,o,r){const s=new Map,a=Date.now();for(;;){if(t>=Cb._maxRounds&&0===o.size){e();break}if(!i){e();break}let l=n.findPrevBracket(i);if(!l){e();break}if(Date.now()-a>Cb._maxDuration){setTimeout((()=>Cb._bracketsLeftYield(e,t+1,n,i,o,r)));break}const c=l.close[0];if(l.isOpen){let e=s.has(c)?s.get(c):0;if(e-=1,s.set(c,Math.max(0,e)),e<0){let e=o.get(c);if(e){let t=e.shift();0===e.size&&o.delete(c);const i=cr.Range.fromPositions(l.range.getEndPosition(),t.getStartPosition()),s=cr.Range.fromPositions(l.range.getStartPosition(),t.getEndPosition());r.push({range:i}),r.push({range:s}),Cb._addBracketLeading(n,s,r)}}}else{let e=s.has(c)?s.get(c):0;s.set(c,e+1)}i=l.range.getStartPosition()}}static _addBracketLeading(e,t,n){if(t.startLineNumber===t.endLineNumber)return;const i=t.startLineNumber,o=e.getLineFirstNonWhitespaceColumn(i);0!==o&&o!==t.startColumn&&(n.push({range:cr.Range.fromPositions(new lr.Position(i,o),t.getEndPosition())}),n.push({range:cr.Range.fromPositions(new lr.Position(i,1),t.getEndPosition())}));const r=i-1;if(r>0){const i=e.getLineFirstNonWhitespaceColumn(r);i===t.startColumn&&i!==e.getLineLastNonWhitespaceColumn(r)&&(n.push({range:cr.Range.fromPositions(new lr.Position(r,i),t.getEndPosition())}),n.push({range:cr.Range.fromPositions(new lr.Position(r,1),t.getEndPosition())}))}}}Cb._maxDuration=30,Cb._maxRounds=2;var Sb=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class xb{constructor(e,t){this.index=e,this.ranges=t}mov(e){let t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;const n=new xb(t,this.ranges);return n.ranges[t].equalsRange(this.ranges[this.index])?n.mov(e):n}}class Eb{constructor(e){this._editor=e,this._ignoreSelection=!1}static get(e){return e.getContribution(Eb.ID)}dispose(){var e;null===(e=this._selectionListener)||void 0===e||e.dispose()}run(e){return Sb(this,void 0,void 0,(function*(){if(!this._editor.hasModel())return;const t=this._editor.getSelections(),n=this._editor.getModel();if(!Qr.SelectionRangeRegistry.has(n))return;if(this._state||(yield Tb(n,t.map((e=>e.getPosition())),this._editor.getOption(97),Hr.CancellationToken.None).then((e=>{var n;if(zo.isNonEmptyArray(e)&&e.length===t.length&&this._editor.hasModel()&&zo.equals(this._editor.getSelections(),t,((e,t)=>e.equalsSelection(t)))){for(let n=0;n<e.length;n++)e[n]=e[n].filter((e=>e.containsPosition(t[n].getStartPosition())&&e.containsPosition(t[n].getEndPosition()))),e[n].unshift(t[n]);this._state=e.map((e=>new xb(0,e))),null===(n=this._selectionListener)||void 0===n||n.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition((()=>{var e;this._ignoreSelection||(null===(e=this._selectionListener)||void 0===e||e.dispose(),this._state=void 0)}))}}))),!this._state)return;this._state=this._state.map((t=>t.mov(e)));const i=this._state.map((e=>Oo.Selection.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition())));this._ignoreSelection=!0;try{this._editor.setSelections(i)}finally{this._ignoreSelection=!1}}))}}Eb.ID="editor.contrib.smartSelectController";class kb extends Ro.EditorAction{constructor(e,t){super(t),this._forward=e}run(e,t){return Sb(this,void 0,void 0,(function*(){let e=Eb.get(t);e&&(yield e.run(this._forward))}))}}function Tb(e,t,n,i){return Sb(this,void 0,void 0,(function*(){const o=Qr.SelectionRangeRegistry.all(e);1===o.length&&o.unshift(new Cb);let r=[],s=[];for(const n of o)r.push(Promise.resolve(n.provideSelectionRanges(e,t,i)).then((e=>{if(zo.isNonEmptyArray(e)&&e.length===t.length)for(let n=0;n<t.length;n++){s[n]||(s[n]=[]);for(const i of e[n])cr.Range.isIRange(i.range)&&cr.Range.containsPosition(i.range,t[n])&&s[n].push(cr.Range.lift(i.range))}}),Wo.onUnexpectedExternalError));return yield Promise.all(r),s.map((t=>{if(0===t.length)return[];t.sort(((e,t)=>lr.Position.isBefore(e.getStartPosition(),t.getStartPosition())?1:lr.Position.isBefore(t.getStartPosition(),e.getStartPosition())||lr.Position.isBefore(e.getEndPosition(),t.getEndPosition())?-1:lr.Position.isBefore(t.getEndPosition(),e.getEndPosition())?1:0));let i,o=[];for(const e of t)(!i||cr.Range.containsRange(e,i)&&!cr.Range.equalsRange(e,i))&&(o.push(e),i=e);if(!n.selectLeadingAndTrailingWhitespace)return o;let r=[o[0]];for(let t=1;t<o.length;t++){const n=o[t-1],i=o[t];if(i.startLineNumber!==n.startLineNumber||i.endLineNumber!==n.endLineNumber){const t=new cr.Range(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineLastNonWhitespaceColumn(n.endLineNumber));t.containsRange(n)&&!t.equalsRange(n)&&i.containsRange(t)&&!i.equalsRange(t)&&r.push(t);const o=new cr.Range(n.startLineNumber,1,n.endLineNumber,e.getLineMaxColumn(n.endLineNumber));o.containsRange(n)&&!o.equalsRange(t)&&i.containsRange(o)&&!i.equalsRange(o)&&r.push(o)}r.push(i)}return r}))}))}ns.CommandsRegistry.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand"),(0,Ro.registerEditorContribution)(Eb.ID,Eb),(0,Ro.registerEditorAction)(class extends kb{constructor(){super(!0,{id:"editor.action.smartSelect.expand",label:No.localize("vs/editor/contrib/smartSelect/smartSelect","smartSelect.expand","Expand Selection"),alias:"Expand Selection",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1553,mac:{primary:3345,secondary:[1297]},weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"1_basic",title:No.localize("vs/editor/contrib/smartSelect/smartSelect",{key:"miSmartSelectGrow",comment:["&& denotes a mnemonic"]},"&&Expand Selection"),order:2}})}}),(0,Ro.registerEditorAction)(class extends kb{constructor(){super(!1,{id:"editor.action.smartSelect.shrink",label:No.localize("vs/editor/contrib/smartSelect/smartSelect","smartSelect.shrink","Shrink Selection"),alias:"Shrink Selection",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1551,mac:{primary:3343,secondary:[1295]},weight:100},menuOpts:{menuId:mr.MenuId.MenubarSelectionMenu,group:"1_basic",title:No.localize("vs/editor/contrib/smartSelect/smartSelect",{key:"miSmartSelectShrink",comment:["&& denotes a mnemonic"]},"&&Shrink Selection"),order:3}})}}),Qr.SelectionRangeRegistry.register("*",new Ab),(0,Ro.registerModelCommand)("_executeSelectionRangeProvider",(function(e,...t){const[n]=t;return Tb(e,n,{selectLeadingAndTrailingWhitespace:!0},Hr.CancellationToken.None)}));class Ib{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return e>=48&&e<=57}static isVariableCharacter(e){return 95===e||e>=97&&e<=122||e>=65&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};let e,t=this.pos,n=0,i=this.value.charCodeAt(t);if(e=Ib._table[i],"number"==typeof e)return this.pos+=1,{type:e,pos:t,len:1};if(Ib.isDigitCharacter(i)){e=8;do{n+=1,i=this.value.charCodeAt(t+n)}while(Ib.isDigitCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}if(Ib.isVariableCharacter(i)){e=9;do{i=this.value.charCodeAt(t+ ++n)}while(Ib.isVariableCharacter(i)||Ib.isDigitCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}e=10;do{n+=1,i=this.value.charCodeAt(t+n)}while(!isNaN(i)&&void 0===Ib._table[i]&&!Ib.isDigitCharacter(i)&&!Ib.isVariableCharacter(i));return this.pos+=n,{type:e,pos:t,len:n}}}Ib._table={36:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class Db{constructor(){this._children=[]}appendChild(e){return e instanceof Lb&&this._children[this._children.length-1]instanceof Lb?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this}replace(e,t){const{parent:n}=e,i=n.children.indexOf(e),o=n.children.slice(0);o.splice(i,1,...t),n._children=o,function e(t,n){for(const i of t)i.parent=n,e(i.children,i)}(t,n)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof Bb)return e;e=e.parent}}toString(){return this.children.reduce(((e,t)=>e+t.toString()),"")}len(){return 0}}class Lb extends Db{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new Lb(this.value)}}class Rb extends Db{}class Nb extends Rb{constructor(e){super(),this.index=e}static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof Mb?this._children[0]:void 0}clone(){let e=new Nb(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map((e=>e.clone())),e}}class Mb extends Db{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof Lb&&(e.parent=this,this.options.push(e)),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){let e=new Mb;return this.options.forEach(e.appendChild,e),e}}class Ob extends Db{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let n=!1,i=e.replace(this.regexp,(function(){return n=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))}));return!n&&this._children.some((e=>e instanceof Pb&&Boolean(e.elseValue)))&&(i=this._replace([])),i}_replace(e){let t="";for(const n of this._children)if(n instanceof Pb){let i=e[n.index]||"";i=n.resolve(i),t+=i}else t+=n.toString();return t}toString(){return""}clone(){let e=new Ob;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map((e=>e.clone())),e}}class Pb extends Db{constructor(e,t,n,i){super(),this.index=e,this.shorthandName=t,this.ifValue=n,this.elseValue=i}resolve(e){return"upcase"===this.shorthandName?e?e.toLocaleUpperCase():"":"downcase"===this.shorthandName?e?e.toLocaleLowerCase():"":"capitalize"===this.shorthandName?e?e[0].toLocaleUpperCase()+e.substr(1):"":"pascalcase"===this.shorthandName?e?this._toPascalCase(e):"":Boolean(e)&&"string"==typeof this.ifValue?this.ifValue:Boolean(e)||"string"!=typeof this.elseValue?e||"":this.elseValue}_toPascalCase(e){const t=e.match(/[a-z]+/gi);return t?t.map((function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})).join(""):e}clone(){return new Pb(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class Fb extends Rb{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),void 0!==t&&(this._children=[new Lb(t)],!0)}clone(){const e=new Fb(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map((e=>e.clone())),e}}function zb(e,t){const n=[...e];for(;n.length>0;){const e=n.shift();if(!t(e))break;n.unshift(...e.children)}}class Bb extends Db{get placeholderInfo(){if(!this._placeholders){let e,t=[];this.walk((function(n){return n instanceof Nb&&(t.push(n),e=!e||e.index<n.index?n:e),!0})),this._placeholders={all:t,last:e}}return this._placeholders}get placeholders(){const{all:e}=this.placeholderInfo;return e}offset(e){let t=0,n=!1;return this.walk((i=>i===e?(n=!0,!1):(t+=i.len(),!0))),n?t:-1}fullLen(e){let t=0;return zb([e],(e=>(t+=e.len(),!0))),t}enclosingPlaceholders(e){let t=[],{parent:n}=e;for(;n;)n instanceof Nb&&t.push(n),n=n.parent;return t}resolveVariables(e){return this.walk((t=>(t instanceof Fb&&t.resolve(e)&&(this._placeholders=void 0),!0))),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){let e=new Bb;return this._children=this.children.map((e=>e.clone())),e}walk(e){zb(this.children,e)}}class Wb{constructor(){this._scanner=new Ib,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,n){this._scanner.text(e),this._token=this._scanner.next();const i=new Bb;for(;this._parse(i););const o=new Map,r=[];let s=0;i.walk((e=>(e instanceof Nb&&(s+=1,e.isFinalTabstop?o.set(0,void 0):!o.has(e.index)&&e.children.length>0?o.set(e.index,e.children):r.push(e)),!0)));for(const e of r){const t=o.get(e.index);if(t){const n=new Nb(e.index);n.transform=e.transform;for(const e of t)n.appendChild(e.clone());i.replace(e,[n])}}return n||(n=s>0&&t),!o.has(0)&&n&&i.appendChild(new Nb(0)),i}_accept(e,t){if(void 0===e||this._token.type===e){let e=!t||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),e}return!1}_backTo(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1}_until(e){const t=this._token;for(;this._token.type!==e;){if(14===this._token.type)return!1;if(5===this._token.type){const e=this._scanner.next();if(0!==e.type&&4!==e.type&&5!==e.type)return!1}this._token=this._scanner.next()}const n=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),n}_parse(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)}_parseEscaped(e){let t;return!!(t=this._accept(5,!0))&&(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new Lb(t)),!0)}_parseTabstopOrVariableName(e){let t;const n=this._token;return this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0))?(e.appendChild(/^\d+$/.test(t)?new Nb(Number(t)):new Fb(t)),!0):this._backTo(n)}_parseComplexPlaceholder(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0))))return this._backTo(n);const i=new Nb(Number(t));if(this._accept(1))for(;;){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new Lb("${"+t+":")),i.children.forEach(e.appendChild,e),!0}else{if(!(i.index>0&&this._accept(7)))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);{const t=new Mb;for(;;){if(this._parseChoiceElement(t)){if(this._accept(2))continue;if(this._accept(7)&&(i.appendChild(t),this._accept(4)))return e.appendChild(i),!0}return this._backTo(n),!1}}}}_parseChoiceElement(e){const t=this._token,n=[];for(;2!==this._token.type&&7!==this._token.type;){let e;if(e=(e=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||e:this._accept(void 0,!0),!e)return this._backTo(t),!1;n.push(e)}return 0===n.length?(this._backTo(t),!1):(e.appendChild(new Lb(n.join(""))),!0)}_parseComplexVariable(e){let t;const n=this._token;if(!(this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0))))return this._backTo(n);const i=new Fb(t);if(!this._accept(1))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);for(;;){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new Lb("${"+t+":")),i.children.forEach(e.appendChild,e),!0}}_parseTransform(e){let t=new Ob,n="",i="";for(;!this._accept(6);){let e;if(e=this._accept(5,!0))e=this._accept(6,!0)||e,n+=e;else{if(14===this._token.type)return!1;n+=this._accept(void 0,!0)}}for(;!this._accept(6);){let e;if(e=this._accept(5,!0))e=this._accept(5,!0)||this._accept(6,!0)||e,t.appendChild(new Lb(e));else if(!this._parseFormatString(t)&&!this._parseAnything(t))return!1}for(;!this._accept(4);){if(14===this._token.type)return!1;i+=this._accept(void 0,!0)}try{t.regexp=new RegExp(n,i)}catch(e){return!1}return e.transform=t,!0}_parseFormatString(e){const t=this._token;if(!this._accept(0))return!1;let n=!1;this._accept(3)&&(n=!0);let i=this._accept(8,!0);if(!i)return this._backTo(t),!1;if(!n)return e.appendChild(new Pb(Number(i))),!0;if(this._accept(4))return e.appendChild(new Pb(Number(i))),!0;if(!this._accept(1))return this._backTo(t),!1;if(this._accept(6)){let n=this._accept(9,!0);return n&&this._accept(4)?(e.appendChild(new Pb(Number(i),n)),!0):(this._backTo(t),!1)}if(this._accept(11)){let t=this._until(4);if(t)return e.appendChild(new Pb(Number(i),void 0,t,void 0)),!0}else if(this._accept(12)){let t=this._until(4);if(t)return e.appendChild(new Pb(Number(i),void 0,void 0,t)),!0}else if(this._accept(13)){let t=this._until(1);if(t){let n=this._until(4);if(n)return e.appendChild(new Pb(Number(i),void 0,t,n)),!0}}else{let t=this._until(4);if(t)return e.appendChild(new Pb(Number(i),void 0,void 0,t)),!0}return this._backTo(t),!1}_parseAnything(e){return 14!==this._token.type&&(e.appendChild(new Lb(this._scanner.tokenText(this._token))),this._accept(void 0),!0)}}var Ub=n(702),Hb=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};const Vb={Visible:new Fo.RawContextKey("suggestWidgetVisible",!1),DetailsVisible:new Fo.RawContextKey("suggestWidgetDetailsVisible",!1),MultipleSuggestions:new Fo.RawContextKey("suggestWidgetMultipleSuggestions",!1),MakesTextEdit:new Fo.RawContextKey("suggestionMakesTextEdit",!0),AcceptSuggestionsOnEnter:new Fo.RawContextKey("acceptSuggestionOnEnter",!0),HasInsertAndReplaceRange:new Fo.RawContextKey("suggestionHasInsertAndReplaceRange",!1),InsertMode:new Fo.RawContextKey("suggestionInsertMode",void 0),CanResolve:new Fo.RawContextKey("suggestionCanResolve",!1)},jb=new mr.MenuId("suggestWidgetStatusBar");class Kb{constructor(e,t,n,i){this.position=e,this.completion=t,this.container=n,this.provider=i,this.isInvalid=!1,this.score=Cd.FuzzyScore.Default,this.distance=0,this.textLabel="string"==typeof t.label?t.label:t.label.name,this.labelLow=this.textLabel.toLowerCase(),this.isInvalid=!this.textLabel,this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),cr.Range.isIRange(t.range)?(this.editStart=new lr.Position(t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new lr.Position(t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new lr.Position(t.range.endLineNumber,t.range.endColumn),this.isInvalid=this.isInvalid||cr.Range.spansMultipleLines(t.range)||t.range.startLineNumber!==e.lineNumber):(this.editStart=new lr.Position(t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new lr.Position(t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new lr.Position(t.range.replace.endLineNumber,t.range.replace.endColumn),this.isInvalid=this.isInvalid||cr.Range.spansMultipleLines(t.range.insert)||cr.Range.spansMultipleLines(t.range.replace)||t.range.insert.startLineNumber!==e.lineNumber||t.range.replace.startLineNumber!==e.lineNumber||t.range.insert.startColumn!==t.range.replace.startColumn),"function"!=typeof i.resolveCompletionItem&&(this._resolveCache=Promise.resolve(),this._isResolved=!0)}get isResolved(){return!!this._isResolved}resolve(e){return Hb(this,void 0,void 0,(function*(){if(!this._resolveCache){const t=e.onCancellationRequested((()=>{this._resolveCache=void 0,this._isResolved=!1}));this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then((e=>{Object.assign(this.completion,e),this._isResolved=!0,t.dispose()}),(e=>{(0,Wo.isPromiseCanceledError)(e)&&(this._resolveCache=void 0,this._isResolved=!1)}))}return this._resolveCache}))}}class qb{constructor(e=2,t=new Set,n=new Set){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=n}}function Gb(){}qb.default=new qb;class Qb{constructor(e,t,n,i){this.items=e,this.needsClipboard=t,this.durations=n,this.disposable=i}}function Yb(e,t,n=qb.default,i={triggerKind:0},o=Hr.CancellationToken.None){return Hb(this,void 0,void 0,(function*(){const r=new Ub.StopWatch(!0);t=t.clone();const s=e.getWordAtPosition(t),a=s?new cr.Range(t.lineNumber,s.startColumn,t.lineNumber,s.endColumn):cr.Range.fromPositions(t),l={replace:a,insert:a.setEndPosition(t.lineNumber,t.column)},c=[],d=new ar.DisposableStore,h=[];let u=!1;const p=(e,i,o)=>{var r,s;if(i){for(let o of i.suggestions)n.kindFilter.has(o.kind)||(o.range||(o.range=l),o.sortText||(o.sortText="string"==typeof o.label?o.label:o.label.name),!u&&o.insertTextRules&&4&o.insertTextRules&&(u=Wb.guessNeedsClipboard(o.insertText)),c.push(new Kb(t,o,i,e)));(0,ar.isDisposable)(i)&&d.add(i),h.push({providerName:null!==(r=e._debugDisplayName)&&void 0!==r?r:"unkown_provider",elapsedProvider:null!==(s=i.duration)&&void 0!==s?s:-1,elapsedOverall:o.elapsed()})}},g=(()=>Hb(this,void 0,void 0,(function*(){})))();for(let r of Qr.CompletionProviderRegistry.orderedGroups(e)){let s=c.length;if(yield Promise.all(r.map((r=>Hb(this,void 0,void 0,(function*(){if(!(n.providerFilter.size>0)||n.providerFilter.has(r))try{const n=new Ub.StopWatch(!0),s=yield r.provideCompletionItems(e,t,i,o);p(r,s,n)}catch(e){(0,Wo.onUnexpectedExternalError)(e)}}))))),s!==c.length||o.isCancellationRequested)break}return yield g,o.isCancellationRequested?(d.dispose(),Promise.reject((0,Wo.canceled)())):new Qb(c.sort(Zb(n.snippetSortOrder)),u,{entries:h,elapsed:r.elapsed()},d)}))}function $b(e,t){if(e.sortTextLow&&t.sortTextLow){if(e.sortTextLow<t.sortTextLow)return-1;if(e.sortTextLow>t.sortTextLow)return 1}return e.completion.label<t.completion.label?-1:e.completion.label>t.completion.label?1:e.completion.kind-t.completion.kind}const Jb=new Map;function Zb(e){return Jb.get(e)}Jb.set(0,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return $b(e,t)})),Jb.set(2,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return $b(e,t)})),Jb.set(1,$b),ns.CommandsRegistry.registerCommand("_executeCompletionItemProvider",((e,...t)=>Hb(void 0,void 0,void 0,(function*(){const[n,i,o,r]=t;(0,oa.assertType)(qr.URI.isUri(n)),(0,oa.assertType)(lr.Position.isIPosition(i)),(0,oa.assertType)("string"==typeof o||!o),(0,oa.assertType)("number"==typeof r||!r);const s=yield e.get(pd.ITextModelService).createModelReference(n);try{const e={incomplete:!1,suggestions:[]},t=[],n=yield Yb(s.object.textEditorModel,lr.Position.lift(i),void 0,{triggerCharacter:o,triggerKind:o?1:0});for(const i of n.items)t.length<(null!=r?r:0)&&t.push(i.resolve(Hr.CancellationToken.None)),e.incomplete=e.incomplete||i.container.incomplete,e.suggestions.push(i.completion);try{return yield Promise.all(t),e}finally{setTimeout((()=>n.disposable.dispose()),100)}}finally{s.dispose()}}))));const Xb=new class{constructor(){this.onlyOnceSuggestions=[]}provideCompletionItems(){let e={suggestions:this.onlyOnceSuggestions.slice(0)};return this.onlyOnceSuggestions.length=0,e}};function ev(e,t){setTimeout((()=>{Xb.onlyOnceSuggestions.push(...t),e.getContribution("editor.contrib.suggestController").triggerSuggest((new Set).add(Xb))}),0)}Qr.CompletionProviderRegistry.register("*",Xb);var tv=n(11311),nv=(Do()(tv.Z,{insert:"head",singleton:!1}),tv.Z.locals,n(81522)),iv=n(23674);const ov="code-workspace";function rv(e){const t=e;return"string"==typeof(null==t?void 0:t.id)&&qr.URI.isUri(t.uri)}function sv(e){return e.configuration?{id:e.id,configPath:e.configuration}:1===e.folders.length?{id:e.id,uri:e.folders[0].uri}:void 0}const av=new Uint8Array(16),lv=[];for(let e=0;e<256;e++)lv.push(e.toString(16).padStart(2,"0"));function cv(){!function(e){for(let t=0;t<e.length;t++)e[t]=Math.floor(256*Math.random())}(av),av[6]=15&av[6]|64,av[8]=63&av[8]|128;let e=0,t="";return t+=lv[av[e++]],t+=lv[av[e++]],t+=lv[av[e++]],t+=lv[av[e++]],t+="-",t+=lv[av[e++]],t+=lv[av[e++]],t+="-",t+=lv[av[e++]],t+=lv[av[e++]],t+="-",t+=lv[av[e++]],t+=lv[av[e++]],t+="-",t+=lv[av[e++]],t+=lv[av[e++]],t+=lv[av[e++]],t+=lv[av[e++]],t+=lv[av[e++]],t+=lv[av[e++]],t}class dv{constructor(e){this._delegates=e}resolve(e){for(const t of this._delegates){let n=t.resolve(e);if(void 0!==n)return n}}}class hv{constructor(e,t,n,i){this._model=e,this._selection=t,this._selectionIdx=n,this._overtypingCapturer=i}resolve(e){const{name:t}=e;if("SELECTION"===t||"TM_SELECTED_TEXT"===t){let t=this._model.getValueInRange(this._selection)||void 0,n=this._selection.startLineNumber!==this._selection.endLineNumber;if(!t&&this._overtypingCapturer){const e=this._overtypingCapturer.getLastOvertypedInfo(this._selectionIdx);e&&(t=e.value,n=e.multiline)}if(t&&n&&e.snippet){const n=this._model.getLineContent(this._selection.startLineNumber),i=(0,jr.getLeadingWhitespace)(n,0,this._selection.startColumn-1);let o=i;e.snippet.walk((t=>t!==e&&(t instanceof Lb&&(o=(0,jr.getLeadingWhitespace)((0,jr.splitLines)(t.value).pop())),!0)));const r=(0,jr.commonPrefixLength)(o,i);t=t.replace(/(\r\n|\r|\n)(.*)/g,((e,t,n)=>`${t}${o.substr(r)}${n}`))}return t}if("TM_CURRENT_LINE"===t)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===t){const e=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return e&&e.word||void 0}return"TM_LINE_INDEX"===t?String(this._selection.positionLineNumber-1):"TM_LINE_NUMBER"===t?String(this._selection.positionLineNumber):void 0}}class uv{constructor(e,t){this._labelService=e,this._model=t}resolve(e){const{name:t}=e;if("TM_FILENAME"===t)return iv.basename(this._model.uri.fsPath);if("TM_FILENAME_BASE"===t){const e=iv.basename(this._model.uri.fsPath),t=e.lastIndexOf(".");return t<=0?e:e.slice(0,t)}return"TM_DIRECTORY"===t&&this._labelService?"."===iv.dirname(this._model.uri.fsPath)?"":this._labelService.getUriLabel((0,Bs.dirname)(this._model.uri)):"TM_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri):"RELATIVE_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0}):void 0}}class pv{constructor(e,t,n,i){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=n,this._spread=i}resolve(e){if("CLIPBOARD"!==e.name)return;const t=this._readClipboardText();if(t){if(this._spread){const e=t.split(/\r\n|\n|\r/).filter((e=>!(0,jr.isFalsyOrWhitespace)(e)));if(e.length===this._selectionCount)return e[this._selectionIdx]}return t}}}class gv{constructor(e,t){this._model=e,this._selection=t}resolve(e){const{name:t}=e,n=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn),i=Vh.LanguageConfigurationRegistry.getComments(n);if(i)return"LINE_COMMENT"===t?i.lineCommentToken||void 0:"BLOCK_COMMENT_START"===t?i.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===t&&i.blockCommentEndToken||void 0}}class mv{resolve(e){const{name:t}=e;return"CURRENT_YEAR"===t?String((new Date).getFullYear()):"CURRENT_YEAR_SHORT"===t?String((new Date).getFullYear()).slice(-2):"CURRENT_MONTH"===t?String((new Date).getMonth().valueOf()+1).padStart(2,"0"):"CURRENT_DATE"===t?String((new Date).getDate().valueOf()).padStart(2,"0"):"CURRENT_HOUR"===t?String((new Date).getHours().valueOf()).padStart(2,"0"):"CURRENT_MINUTE"===t?String((new Date).getMinutes().valueOf()).padStart(2,"0"):"CURRENT_SECOND"===t?String((new Date).getSeconds().valueOf()).padStart(2,"0"):"CURRENT_DAY_NAME"===t?mv.dayNames[(new Date).getDay()]:"CURRENT_DAY_NAME_SHORT"===t?mv.dayNamesShort[(new Date).getDay()]:"CURRENT_MONTH_NAME"===t?mv.monthNames[(new Date).getMonth()]:"CURRENT_MONTH_NAME_SHORT"===t?mv.monthNamesShort[(new Date).getMonth()]:"CURRENT_SECONDS_UNIX"===t?String(Math.floor(Date.now()/1e3)):void 0}}mv.dayNames=[No.localize("vs/editor/contrib/snippet/snippetVariables","Sunday","Sunday"),No.localize("vs/editor/contrib/snippet/snippetVariables","Monday","Monday"),No.localize("vs/editor/contrib/snippet/snippetVariables","Tuesday","Tuesday"),No.localize("vs/editor/contrib/snippet/snippetVariables","Wednesday","Wednesday"),No.localize("vs/editor/contrib/snippet/snippetVariables","Thursday","Thursday"),No.localize("vs/editor/contrib/snippet/snippetVariables","Friday","Friday"),No.localize("vs/editor/contrib/snippet/snippetVariables","Saturday","Saturday")],mv.dayNamesShort=[No.localize("vs/editor/contrib/snippet/snippetVariables","SundayShort","Sun"),No.localize("vs/editor/contrib/snippet/snippetVariables","MondayShort","Mon"),No.localize("vs/editor/contrib/snippet/snippetVariables","TuesdayShort","Tue"),No.localize("vs/editor/contrib/snippet/snippetVariables","WednesdayShort","Wed"),No.localize("vs/editor/contrib/snippet/snippetVariables","ThursdayShort","Thu"),No.localize("vs/editor/contrib/snippet/snippetVariables","FridayShort","Fri"),No.localize("vs/editor/contrib/snippet/snippetVariables","SaturdayShort","Sat")],mv.monthNames=[No.localize("vs/editor/contrib/snippet/snippetVariables","January","January"),No.localize("vs/editor/contrib/snippet/snippetVariables","February","February"),No.localize("vs/editor/contrib/snippet/snippetVariables","March","March"),No.localize("vs/editor/contrib/snippet/snippetVariables","April","April"),No.localize("vs/editor/contrib/snippet/snippetVariables","May","May"),No.localize("vs/editor/contrib/snippet/snippetVariables","June","June"),No.localize("vs/editor/contrib/snippet/snippetVariables","July","July"),No.localize("vs/editor/contrib/snippet/snippetVariables","August","August"),No.localize("vs/editor/contrib/snippet/snippetVariables","September","September"),No.localize("vs/editor/contrib/snippet/snippetVariables","October","October"),No.localize("vs/editor/contrib/snippet/snippetVariables","November","November"),No.localize("vs/editor/contrib/snippet/snippetVariables","December","December")],mv.monthNamesShort=[No.localize("vs/editor/contrib/snippet/snippetVariables","JanuaryShort","Jan"),No.localize("vs/editor/contrib/snippet/snippetVariables","FebruaryShort","Feb"),No.localize("vs/editor/contrib/snippet/snippetVariables","MarchShort","Mar"),No.localize("vs/editor/contrib/snippet/snippetVariables","AprilShort","Apr"),No.localize("vs/editor/contrib/snippet/snippetVariables","MayShort","May"),No.localize("vs/editor/contrib/snippet/snippetVariables","JuneShort","Jun"),No.localize("vs/editor/contrib/snippet/snippetVariables","JulyShort","Jul"),No.localize("vs/editor/contrib/snippet/snippetVariables","AugustShort","Aug"),No.localize("vs/editor/contrib/snippet/snippetVariables","SeptemberShort","Sep"),No.localize("vs/editor/contrib/snippet/snippetVariables","OctoberShort","Oct"),No.localize("vs/editor/contrib/snippet/snippetVariables","NovemberShort","Nov"),No.localize("vs/editor/contrib/snippet/snippetVariables","DecemberShort","Dec")];class fv{constructor(e){this._workspaceService=e}resolve(e){if(!this._workspaceService)return;const t=sv(this._workspaceService.getWorkspace());return t?"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0:void 0}_resolveWorkspaceName(e){if(rv(e))return iv.basename(e.uri.path);let t=iv.basename(e.configPath.path);return t.endsWith(ov)&&(t=t.substr(0,t.length-ov.length-1)),t}_resoveWorkspacePath(e){if(rv(e))return nl(e.uri.fsPath);let t=iv.basename(e.configPath.path),n=e.configPath.fsPath;return n.endsWith(t)&&(n=n.substr(0,n.length-t.length-1)),n?nl(n):"/"}}class bv{resolve(e){const{name:t}=e;return"RANDOM"===t?Math.random().toString().slice(-6):"RANDOM_HEX"===t?Math.random().toString(16).slice(-6):"UUID"===t?cv():void 0}}(0,gr.registerThemingParticipant)(((e,t)=>{function n(t){const n=e.getColor(t);return n?n.toString():"transparent"}t.addRule(`.monaco-editor .snippet-placeholder { background-color: ${n(pr.snippetTabstopHighlightBackground)}; outline-color: ${n(pr.snippetTabstopHighlightBorder)}; }`),t.addRule(`.monaco-editor .finish-snippet-placeholder { background-color: ${n(pr.snippetFinalTabstopHighlightBackground)}; outline-color: ${n(pr.snippetFinalTabstopHighlightBorder)}; }`)}));class vv{constructor(e,t,n,i){this._editor=e,this._snippet=t,this._offset=n,this._snippetLineLeadingWhitespace=i,this._nestingLevel=1,this._placeholderGroups=(0,zo.groupBy)(t.placeholders,Nb.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(this._placeholderDecorations)return;this._placeholderDecorations=new Map;const e=this._editor.getModel();this._editor.changeDecorations((t=>{for(const n of this._snippet.placeholders){const i=this._snippet.offset(n),o=this._snippet.fullLen(n),r=cr.Range.fromPositions(e.getPositionAt(this._offset+i),e.getPositionAt(this._offset+i+o)),s=n.isFinalTabstop?vv._decor.inactiveFinal:vv._decor.inactive,a=t.addDecoration(r,s);this._placeholderDecorations.set(n,a)}}))}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){let e=[];for(const t of this._placeholderGroups[this._placeholderGroupsIdx])if(t.transform){const n=this._placeholderDecorations.get(t),i=this._editor.getModel().getDecorationRange(n),o=this._editor.getModel().getValueInRange(i),r=t.transform.resolve(o).split(/\r\n|\r|\n/);for(let e=1;e<r.length;e++)r[e]=this._editor.getModel().normalizeIndentation(this._snippetLineLeadingWhitespace+r[e]);e.push(Hh.EditOperation.replace(i,r.join(this._editor.getModel().getEOL())))}e.length>0&&this._editor.executeEdits("snippet.placeholderTransform",e)}let t=!1;!0===e&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,t=!0):!1===e&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,t=!0);const n=this._editor.getModel().changeDecorations((e=>{const n=new Set,i=[];for(const o of this._placeholderGroups[this._placeholderGroupsIdx]){const r=this._placeholderDecorations.get(o),s=this._editor.getModel().getDecorationRange(r);i.push(new Oo.Selection(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn)),t=t&&this._hasPlaceholderBeenCollapsed(o),e.changeDecorationOptions(r,o.isFinalTabstop?vv._decor.activeFinal:vv._decor.active),n.add(o);for(const t of this._snippet.enclosingPlaceholders(o)){const i=this._placeholderDecorations.get(t);e.changeDecorationOptions(i,t.isFinalTabstop?vv._decor.activeFinal:vv._decor.active),n.add(t)}}for(const[t,i]of this._placeholderDecorations)n.has(t)||e.changeDecorationOptions(i,t.isFinalTabstop?vv._decor.inactiveFinal:vv._decor.inactive);return i}));return t?this.move(e):null!=n?n:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof Nb){const e=this._placeholderDecorations.get(t);if(this._editor.getModel().getDecorationRange(e).isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1}get isAtFirstPlaceholder(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length}get isAtLastPlaceholder(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1}get hasPlaceholder(){return this._snippet.placeholders.length>0}computePossibleSelections(){const e=new Map;for(const t of this._placeholderGroups){let n;for(const i of t){if(i.isFinalTabstop)break;n||(n=[],e.set(i.index,n));const t=this._placeholderDecorations.get(i),o=this._editor.getModel().getDecorationRange(t);if(!o){e.delete(i.index);break}n.push(o)}}return e}get choice(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice}merge(e){const t=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations((n=>{for(const i of this._placeholderGroups[this._placeholderGroupsIdx]){const o=e.shift();console.assert(!o._placeholderDecorations);const r=o._snippet.placeholderInfo.last.index;for(const e of o._snippet.placeholderInfo.all)e.isFinalTabstop?e.index=i.index+(r+1)/this._nestingLevel:e.index=i.index+e.index/this._nestingLevel;this._snippet.replace(i,o._snippet.children);const s=this._placeholderDecorations.get(i);n.removeDecoration(s),this._placeholderDecorations.delete(i);for(const e of o._snippet.placeholders){const i=o._snippet.offset(e),r=o._snippet.fullLen(e),s=cr.Range.fromPositions(t.getPositionAt(o._offset+i),t.getPositionAt(o._offset+i+r)),a=n.addDecoration(s,vv._decor.inactive);this._placeholderDecorations.set(e,a)}}this._placeholderGroups=(0,zo.groupBy)(this._snippet.placeholders,Nb.compareByIndex)}))}}vv._decor={active:hr.ModelDecorationOptions.register({stickiness:0,className:"snippet-placeholder"}),inactive:hr.ModelDecorationOptions.register({stickiness:1,className:"snippet-placeholder"}),activeFinal:hr.ModelDecorationOptions.register({stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:hr.ModelDecorationOptions.register({stickiness:1,className:"finish-snippet-placeholder"})};const _v={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class wv{constructor(e,t,n=_v){this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=n}static adjustWhitespace(e,t,n,i,o){const r=e.getLineContent(t.lineNumber),s=(0,jr.getLeadingWhitespace)(r,0,t.column-1);let a;return n.walk((t=>{if(!(t instanceof Lb)||t.parent instanceof Mb)return!0;const o=t.value.split(/\r\n|\r|\n/);if(i){const i=n.offset(t);if(0===i)o[0]=e.normalizeIndentation(o[0]);else{a=null!=a?a:n.toString();let t=a.charCodeAt(i-1);10!==t&&13!==t||(o[0]=e.normalizeIndentation(s+o[0]))}for(let t=1;t<o.length;t++)o[t]=e.normalizeIndentation(s+o[t])}const r=o.join(e.getEOL());return r!==t.value&&(t.parent.replace(t,[new Lb(r)]),a=void 0),!0})),s}static adjustSelection(e,t,n,i){if(0!==n||0!==i){const{positionLineNumber:o,positionColumn:r}=t,s=r-n,a=r+i,l=e.validateRange({startLineNumber:o,startColumn:s,endLineNumber:o,endColumn:a});t=Oo.Selection.createWithDirection(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn,t.getDirection())}return t}static createEditsAndSnippets(e,t,n,i,o,r,s,a){const l=[],c=[];if(!e.hasModel())return{edits:l,snippets:c};const d=e.getModel(),h=e.invokeWithinContext((e=>e.get(nv.IWorkspaceContextService,vs.optional))),u=e.invokeWithinContext((e=>new uv(e.get(nc.ILabelService,vs.optional),d))),p=()=>s;let g=0,m=d.getValueInRange(wv.adjustSelection(d,e.getSelection(),n,0)),f=d.getValueInRange(wv.adjustSelection(d,e.getSelection(),0,i)),b=d.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber);const v=e.getSelections().map(((e,t)=>({selection:e,idx:t}))).sort(((e,t)=>cr.Range.compareRangesUsingStarts(e.selection,t.selection)));for(const{selection:s,idx:_}of v){let w=wv.adjustSelection(d,s,n,0),y=wv.adjustSelection(d,s,0,i);m!==d.getValueInRange(w)&&(w=s),f!==d.getValueInRange(y)&&(y=s);const A=s.setStartPosition(w.startLineNumber,w.startColumn).setEndPosition(y.endLineNumber,y.endColumn),C=(new Wb).parse(t,!0,o),S=A.getStartPosition(),x=wv.adjustWhitespace(d,S,C,r||_>0&&b!==d.getLineFirstNonWhitespaceColumn(s.positionLineNumber),!0);C.resolveVariables(new dv([u,new pv(p,_,v.length,"spread"===e.getOption(65)),new hv(d,s,_,a),new gv(d,s),new mv,new fv(h),new bv]));const E=d.getOffsetAt(S)+g;g+=C.toString().length-d.getValueLengthInRange(A),l[_]=Hh.EditOperation.replace(A,C.toString()),l[_].identifier={major:_,minor:0},c[_]=new vv(e,C,E,x)}return{edits:l,snippets:c}}dispose(){(0,ar.dispose)(this._snippets)}_logInfo(){return`template="${this._template}", merged_templates="${this._templateMerges.join(" -> ")}"`}insert(){if(!this._editor.hasModel())return;const{edits:e,snippets:t}=wv.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer);this._snippets=t,this._editor.executeEdits("snippet",e,(e=>this._snippets[0].hasPlaceholder?this._move(!0):e.filter((e=>!!e.identifier)).map((e=>Oo.Selection.fromPositions(e.range.getEndPosition()))))),this._editor.revealRange(this._editor.getSelections()[0])}merge(e,t=_v){if(!this._editor.hasModel())return;this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);const{edits:n,snippets:i}=wv.createEditsAndSnippets(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer);this._editor.executeEdits("snippet",n,(e=>{for(const e of this._snippets)e.merge(i);return console.assert(0===i.length),this._snippets[0].hasPlaceholder?this._move(void 0):e.filter((e=>!!e.identifier)).map((e=>Oo.Selection.fromPositions(e.range.getEndPosition())))}))}next(){const e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){const e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){const t=[];for(const n of this._snippets){const i=n.move(e);t.push(...i)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;let t=new Map;for(const n of this._snippets){const i=n.computePossibleSelections();if(0===t.size)for(const[n,o]of i){o.sort(cr.Range.compareRangesUsingStarts);for(const i of e)if(o[0].containsRange(i)){t.set(n,[]);break}}if(0===t.size)return!1;t.forEach(((e,t)=>{e.push(...i.get(t))}))}e.sort(cr.Range.compareRangesUsingStarts);for(let[n,i]of t)if(i.length===e.length){i.sort(cr.Range.compareRangesUsingStarts);for(let o=0;o<i.length;o++)i[o].containsRange(e[o])||t.delete(n)}else t.delete(n);return t.size>0}}var yv=function(e,t){return function(n,i){t(n,i,e)}};const Av={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};let Cv=class e{constructor(t,n,i){this._editor=t,this._logService=n,this._snippetListener=new ar.DisposableStore,this._modelVersionId=-1,this._inSnippet=e.InSnippetMode.bindTo(i),this._hasNextTabstop=e.HasNextTabstop.bindTo(i),this._hasPrevTabstop=e.HasPrevTabstop.bindTo(i)}static get(t){return t.getContribution(e.ID)}dispose(){var e;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),null===(e=this._session)||void 0===e||e.dispose(),this._snippetListener.dispose()}insert(e,t){try{this._doInsert(e,void 0===t?Av:Object.assign(Object.assign({},Av),t))}catch(t){this.cancel(),this._logService.error(t),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"<no_session>")}}_doInsert(e,t){this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new wv(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent((e=>e.isFlush&&this.cancel()))),this._snippetListener.add(this._editor.onDidChangeModel((()=>this.cancel()))),this._snippetListener.add(this._editor.onDidChangeCursorSelection((()=>this._updateState()))))}_updateState(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}}_handleChoice(){if(!this._session||!this._editor.hasModel())return void(this._currentChoice=void 0);const{choice:e}=this._session;if(e){if(this._currentChoice!==e){this._currentChoice=e,this._editor.setSelections(this._editor.getSelections().map((e=>Oo.Selection.fromPositions(e.getStartPosition()))));const[t]=e.options;ev(this._editor,e.options.map(((e,n)=>({kind:13,label:e.value,insertText:e.value,sortText:"a".repeat(n+1),range:cr.Range.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,t.value.length))}))))}}else this._currentChoice=void 0}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){var t;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),null===(t=this._session)||void 0===t||t.dispose(),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};Cv.ID="snippetController2",Cv.InSnippetMode=new Fo.RawContextKey("inSnippetMode",!1),Cv.HasNextTabstop=new Fo.RawContextKey("hasNextTabstop",!1),Cv.HasPrevTabstop=new Fo.RawContextKey("hasPrevTabstop",!1),Cv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([yv(1,hb.ILogService),yv(2,Fo.IContextKeyService)],Cv),(0,Ro.registerEditorContribution)(Cv.ID,Cv);const Sv=Ro.EditorCommand.bindToContribution(Cv.get);(0,Ro.registerEditorCommand)(new Sv({id:"jumpToNextSnippetPlaceholder",precondition:Fo.ContextKeyExpr.and(Cv.InSnippetMode,Cv.HasNextTabstop),handler:e=>e.next(),kbOpts:{weight:130,kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:2}})),(0,Ro.registerEditorCommand)(new Sv({id:"jumpToPrevSnippetPlaceholder",precondition:Fo.ContextKeyExpr.and(Cv.InSnippetMode,Cv.HasPrevTabstop),handler:e=>e.prev(),kbOpts:{weight:130,kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1026}})),(0,Ro.registerEditorCommand)(new Sv({id:"leaveSnippet",precondition:Cv.InSnippetMode,handler:e=>e.cancel(!0),kbOpts:{weight:130,kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:9,secondary:[1033]}})),(0,Ro.registerEditorCommand)(new Sv({id:"acceptSnippet",precondition:Cv.InSnippetMode,handler:e=>e.finish()}));var xv=function(e,t){return function(n,i){t(n,i,e)}};class Ev{constructor(e){this.name=e}select(e,t,n){if(0===n.length)return 0;let i=n[0].score[0];for(let e=0;e<n.length;e++){const{score:t,completion:o}=n[e];if(t[0]!==i)break;if(o.preselect)return e}return 0}}class kv extends Ev{constructor(){super("first")}memorize(e,t,n){}toJSON(){}fromJSON(){}}class Tv extends Ev{constructor(){super("recentlyUsed"),this._cache=new ma.LRUCache(300,.66),this._seq=0}memorize(e,t,n){const i=`${e.getLanguageIdentifier().language}/${n.textLabel}`;this._cache.set(i,{touch:this._seq++,type:n.completion.kind,insertText:n.completion.insertText})}select(e,t,n){if(0===n.length)return 0;const i=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(i))return super.select(e,t,n);let o=n[0].score[0],r=-1,s=-1;for(let t=0;t<n.length&&n[t].score[0]===o;t++){const i=`${e.getLanguageIdentifier().language}/${n[t].textLabel}`,o=this._cache.peek(i);if(o&&o.touch>s&&o.type===n[t].completion.kind&&o.insertText===n[t].completion.insertText&&(s=o.touch,r=t),n[t].completion.preselect)return t}return-1!==r?r:0}toJSON(){return this._cache.toJSON()}fromJSON(e){this._cache.clear();for(const[t,n]of e)n.touch=0,n.type="number"==typeof n.type?n.type:(0,Qr.completionKindFromString)(n.type),this._cache.set(t,n);this._seq=this._cache.size}}class Iv extends Ev{constructor(){super("recentlyUsedByPrefix"),this._trie=ma.TernarySearchTree.forStrings(),this._seq=0}memorize(e,t,n){const{word:i}=e.getWordUntilPosition(t),o=`${e.getLanguageIdentifier().language}/${i}`;this._trie.set(o,{type:n.completion.kind,insertText:n.completion.insertText,touch:this._seq++})}select(e,t,n){let{word:i}=e.getWordUntilPosition(t);if(!i)return super.select(e,t,n);let o=`${e.getLanguageIdentifier().language}/${i}`,r=this._trie.get(o);if(r||(r=this._trie.findSubstr(o)),r)for(let e=0;e<n.length;e++){let{kind:t,insertText:i}=n[e].completion;if(t===r.type&&i===r.insertText)return e}return super.select(e,t,n)}toJSON(){let e=[];return this._trie.forEach(((t,n)=>e.push([n,t]))),e.sort(((e,t)=>-(e[1].touch-t[1].touch))).forEach(((e,t)=>e[1].touch=t)),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0){this._seq=e[0][1].touch+1;for(const[t,n]of e)n.type="number"==typeof n.type?n.type:(0,Qr.completionKindFromString)(n.type),this._trie.set(t,n)}}}let Dv=class e{constructor(e,t,n){this._storageService=e,this._modeService=t,this._configService=n,this._disposables=new ar.DisposableStore,this._persistSoon=new sr.RunOnceScheduler((()=>this._saveState()),500),this._disposables.add(e.onWillSaveState((e=>{e.reason===fa.WillSaveStateReason.SHUTDOWN&&this._saveState()})))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,n){this._withStrategy(e,t).memorize(e,t,n),this._persistSoon.schedule()}select(e,t,n){return this._withStrategy(e,t).select(e,t,n)}_withStrategy(t,n){var i,o;const r=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:null===(i=this._modeService.getLanguageIdentifier(t.getLanguageIdAtPosition(n.lineNumber,n.column)))||void 0===i?void 0:i.language,resource:t.uri});if((null===(o=this._strategy)||void 0===o?void 0:o.name)!==r){this._saveState();const t=e._strategyCtors.get(r)||kv;this._strategy=new t;try{const t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,n=this._storageService.get(`${e._storagePrefix}/${r}`,t);n&&this._strategy.fromJSON(JSON.parse(n))}catch(e){}}return this._strategy}_saveState(){if(this._strategy){const t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,n=JSON.stringify(this._strategy);this._storageService.store(`${e._storagePrefix}/${this._strategy.name}`,n,t,1)}}};Dv._strategyCtors=new Map([["recentlyUsedByPrefix",Iv],["recentlyUsed",Tv],["first",kv]]),Dv._storagePrefix="suggest/memories",Dv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([xv(0,fa.IStorageService),xv(1,Ra.IModeService),xv(2,Ia.IConfigurationService)],Dv);const Lv=(0,vs.createDecorator)("ISuggestMemories");(0,ga.registerSingleton)(Lv,Dv,!0);let Rv=class e{constructor(t,n){this._editor=t,this._index=0,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(n)}dispose(){this.reset()}reset(){var e;this._ckOtherSuggestions.reset(),null===(e=this._listener)||void 0===e||e.dispose(),this._model=void 0,this._acceptNext=void 0,this._ignore=!1}set({model:t,index:n},i){0!==t.items.length&&e._moveIndex(!0,t,n)!==n?(this._acceptNext=i,this._model=t,this._index=n,this._listener=this._editor.onDidChangeCursorPosition((()=>{this._ignore||this.reset()})),this._ckOtherSuggestions.set(!0)):this.reset()}static _moveIndex(e,t,n){let i=n;for(;i=(i+t.items.length+(e?1:-1))%t.items.length,i!==n&&t.items[i].completion.additionalTextEdits;);return i}next(){this._move(!0)}prev(){this._move(!1)}_move(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};Rv.OtherSuggestions=new Fo.RawContextKey("hasOtherSuggestions",!1),Rv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,Fo.IContextKeyService)],Rv);class Nv{constructor(e,t){this.leadingLineContent=e,this.characterCountDelta=t}}class Mv{constructor(e,t,n,i,o,r,s){this.clipboardText=s,this._snippetCompareFn=Mv._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=i,this._options=o,this._refilterKind=1,this._lineContext=n,"top"===r?this._snippetCompareFn=Mv._compareCompletionItemsSnippetsUp:"bottom"===r&&(this._snippetCompareFn=Mv._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)}get items(){return this._ensureCachedState(),this._filteredItems}get allProvider(){return this._ensureCachedState(),this._providerInfo.keys()}get incomplete(){this._ensureCachedState();const e=new Set;for(let[t,n]of this._providerInfo)n&&e.add(t);return e}adopt(e){let t=[];for(let n=0;n<this._items.length;)e.has(this._items[n].provider)?n++:(t.push(this._items[n]),this._items[n]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,t}get stats(){return this._ensureCachedState(),this._stats}_ensureCachedState(){0!==this._refilterKind&&this._createCachedState()}_createCachedState(){this._providerInfo=new Map;const e=[],{leadingLineContent:t,characterCountDelta:n}=this._lineContext;let i="",o="";const r=1===this._refilterKind?this._items:this._filteredItems,s=[],a=!this._options.filterGraceful||r.length>2e3?Cd.fuzzyScore:Cd.fuzzyScoreGracefulAggressive;for(let l=0;l<r.length;l++){const c=r[l];if(c.isInvalid)continue;this._providerInfo.set(c.provider,Boolean(c.container.incomplete));const d=c.position.column-c.editStart.column,h=d+n-(c.position.column-this._column);i.length!==h&&(i=0===h?"":t.slice(-h),o=i.toLowerCase());const u="string"==typeof c.completion.label?c.completion.label:c.completion.label.name;if(c.word=i,0===h)c.score=Cd.FuzzyScore.Default;else{let e=0;for(;e<d;){const t=i.charCodeAt(e);if(32!==t&&9!==t)break;e+=1}if(e>=h)c.score=Cd.FuzzyScore.Default;else if("string"==typeof c.completion.filterText){let t=a(i,o,e,c.completion.filterText,c.filterTextLow,0,!1);if(!t)continue;0===(0,jr.compareIgnoreCase)(c.completion.filterText,u)?c.score=t:(c.score=(0,Cd.anyScore)(i,o,e,u,c.labelLow,0),c.score[0]=t[0])}else{let t=a(i,o,e,u,c.labelLow,0,!1);if(!t)continue;c.score=t}}c.idx=l,c.distance=this._wordDistance.distance(c.position,c.completion),s.push(c),e.push(u.length)}this._filteredItems=s.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?(0,zo.quickSelect)(e.length-.85,e,((e,t)=>e-t)):0}}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]<t.score[0]?1:e.distance<t.distance?-1:e.distance>t.distance?1:e.idx<t.idx?-1:e.idx>t.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return Mv._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return Mv._compareCompletionItems(e,t)}}class Ov{static create(e,t){return n=this,i=void 0,r=function*(){if(!t.getOption(101).localityBonus)return Ov.None;if(!t.hasModel())return Ov.None;const n=t.getModel(),i=t.getPosition();if(!e.canComputeWordRanges(n.uri))return Ov.None;const[o]=yield(new Cb).provideSelectionRanges(n,[i]);if(0===o.length)return Ov.None;const r=yield e.computeWordRanges(n.uri,o[0].range);if(!r)return Ov.None;const s=n.getWordUntilPosition(i);return delete r[s.word],new class extends Ov{distance(e,n){if(!i.equals(t.getPosition()))return 0;if(17===n.kind)return 2<<20;let s="string"==typeof n.label?n.label:n.label.name,a=r[s];if((0,zo.isFalsyOrEmpty)(a))return 2<<20;let l=(0,zo.binarySearch)(a,cr.Range.fromPositions(e),cr.Range.compareRangesUsingStarts),c=l>=0?a[l]:a[Math.max(0,~l-1)],d=o.length;for(const e of o){if(!cr.Range.containsRange(e.range,c))break;d-=1}return d}}},new((o=void 0)||(o=Promise))((function(e,t){function s(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(s,a)}l((r=r.apply(n,i||[])).next())}));var n,i,o,r}}Ov.None=new class extends Ov{distance(){return 0}};var Pv=function(e,t){return function(n,i){t(n,i,e)}};class Fv{constructor(e,t,n,i){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=n,this.shy=i}static shouldAutoTrigger(e){if(!e.hasModel())return!1;const t=e.getModel(),n=e.getPosition();t.tokenizeIfCheap(n.lineNumber);const i=t.getWordAtPosition(n);return!!i&&i.endColumn===n.column&&!!isNaN(Number(i.word))}}let zv=class e{constructor(e,t,n,i,o){this._editor=e,this._editorWorkerService=t,this._clipboardService=n,this._telemetryService=i,this._logService=o,this._toDispose=new ar.DisposableStore,this._quickSuggestDelay=10,this._triggerCharacterListener=new ar.DisposableStore,this._triggerQuickSuggest=new sr.TimeoutTimer,this._state=0,this._completionDisposables=new ar.DisposableStore,this._onDidCancel=new Is.Emitter,this._onDidTrigger=new Is.Emitter,this._onDidSuggest=new Is.Emitter,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new Oo.Selection(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel((()=>{this._updateTriggerCharacters(),this.cancel()}))),this._toDispose.add(this._editor.onDidChangeModelLanguage((()=>{this._updateTriggerCharacters(),this.cancel()}))),this._toDispose.add(this._editor.onDidChangeConfiguration((()=>{this._updateTriggerCharacters(),this._updateQuickSuggest()}))),this._toDispose.add(Qr.CompletionProviderRegistry.onDidChange((()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()}))),this._toDispose.add(this._editor.onDidChangeCursorSelection((e=>{this._onCursorChange(e)})));let r=!1;this._toDispose.add(this._editor.onDidCompositionStart((()=>{r=!0}))),this._toDispose.add(this._editor.onDidCompositionEnd((()=>{r=!1,this._refilterCompletionItems()}))),this._toDispose.add(this._editor.onDidChangeModelContent((()=>{r||this._refilterCompletionItems()}))),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){(0,ar.dispose)(this._triggerCharacterListener),(0,ar.dispose)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(74),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),this._editor.getOption(75)||!this._editor.hasModel()||!this._editor.getOption(104))return;const e=new Map;for(const t of Qr.CompletionProviderRegistry.all(this._editor.getModel()))for(const n of t.triggerCharacters||[]){let i=e.get(n);i||(i=new Set,i.add(void 0),e.set(n,i)),i.add(t)}const t=t=>{if(!t){const e=this._editor.getPosition();t=this._editor.getModel().getLineContent(e.lineNumber).substr(0,e.column-1)}let n="";(0,jr.isLowSurrogate)(t.charCodeAt(t.length-1))?(0,jr.isHighSurrogate)(t.charCodeAt(t.length-2))&&(n=t.substr(t.length-2)):n=t.charAt(t.length-1);const i=e.get(n);if(i){const e=this._completionModel?{items:this._completionModel.adopt(i),clipboardText:this._completionModel.clipboardText}:void 0;this.trigger({auto:!0,shy:!1,triggerCharacter:n},Boolean(this._completionModel),i,e)}};this._triggerCharacterListener.add(this._editor.onDidType(t)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(t))}get state(){return this._state}cancel(e=!1){var t;0!==this._state&&(this._triggerQuickSuggest.cancel(),null===(t=this._requestToken)||void 0===t||t.cancel(),this._requestToken=void 0,this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){0!==this._state&&(this._editor.hasModel()&&Qr.CompletionProviderRegistry.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())}_onCursorChange(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),n=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason&&3!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source)this.cancel();else if(Qr.CompletionProviderRegistry.has(t))if(0===this._state&&0===e.reason){if(!1===this._editor.getOption(73))return;if(!n.containsRange(this._currentSelection)&&!n.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))return;if(this._editor.getOption(101).snippetsPreventQuickSuggestions&&Cv.get(this._editor).isInSnippet())return;this.cancel(),this._triggerQuickSuggest.cancelAndSet((()=>{if(0!==this._state)return;if(!Fv.shouldAutoTrigger(this._editor))return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=this._editor.getOption(73);if(!1!==n){if(!0===n);else{e.tokenizeIfCheap(t.lineNumber);const i=e.getLineTokens(t.lineNumber),o=i.getStandardTokenType(i.findTokenIndexAtOffset(Math.max(t.column-1-1,0)));if(!(n.other&&0===o||n.comments&&1===o||n.strings&&2===o))return}this.trigger({auto:!0,shy:!1})}}),this._quickSuggestDelay)}else 0!==this._state&&3===e.reason&&this._refilterCompletionItems()}_refilterCompletionItems(){Promise.resolve().then((()=>{if(0===this._state)return;if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getPosition(),n=new Fv(e,t,2===this._state,!1);this._onNewContext(n)}))}trigger(t,n=!1,i,o){var r;if(!this._editor.hasModel())return;const s=this._editor.getModel(),a=t.auto,l=new Fv(s,this._editor.getPosition(),a,t.shy);this.cancel(n),this._state=a?2:1,this._onDidTrigger.fire({auto:a,shy:t.shy,position:this._editor.getPosition()}),this._context=l;let c={triggerKind:null!==(r=t.triggerKind)&&void 0!==r?r:0};t.triggerCharacter&&(c={triggerKind:1,triggerCharacter:t.triggerCharacter}),this._requestToken=new Hr.CancellationTokenSource;const d=this._editor.getOption(96);let h=1;switch(d){case"top":h=0;break;case"bottom":h=2}const u=e._createItemKindFilter(this._editor),p=Ov.create(this._editorWorkerService,this._editor),g=Yb(s,this._editor.getPosition(),new qb(h,u,i),c,this._requestToken.token);Promise.all([g,p]).then((([e,n])=>{return i=this,r=void 0,l=function*(){var i;if(null===(i=this._requestToken)||void 0===i||i.dispose(),!this._editor.hasModel())return;let r=null==o?void 0:o.clipboardText;if(!r&&e.needsClipboard&&(r=yield this._clipboardService.readText()),0===this._state)return;const s=this._editor.getModel();let l=e.items;if(o){const e=Zb(h);l=l.concat(o.items).sort(e)}const c=new Fv(s,this._editor.getPosition(),a,t.shy);this._completionModel=new Mv(l,this._context.column,{leadingLineContent:c.leadingLineContent,characterCountDelta:c.column-this._context.column},n,this._editor.getOption(101),this._editor.getOption(96),r),this._completionDisposables.add(e.disposable),this._onNewContext(c),this._reportDurationsTelemetry(e.durations)},new((s=void 0)||(s=Promise))((function(e,t){function n(e){try{a(l.next(e))}catch(e){t(e)}}function o(e){try{a(l.throw(e))}catch(e){t(e)}}function a(t){var i;t.done?e(t.value):(i=t.value,i instanceof s?i:new s((function(e){e(i)}))).then(n,o)}a((l=l.apply(i,r||[])).next())}));var i,r,s,l})).catch(Wo.onUnexpectedError)}_reportDurationsTelemetry(e){this._telemetryGate++%230==0&&setTimeout((()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(e)}),this._logService.debug("suggest.durations.json",e)}))}static _createItemKindFilter(e){const t=new Set;"none"===e.getOption(96)&&t.add(27);const n=e.getOption(101);return n.showMethods||t.add(0),n.showFunctions||t.add(1),n.showConstructors||t.add(2),n.showFields||t.add(3),n.showVariables||t.add(4),n.showClasses||t.add(5),n.showStructs||t.add(6),n.showInterfaces||t.add(7),n.showModules||t.add(8),n.showProperties||t.add(9),n.showEvents||t.add(10),n.showOperators||t.add(11),n.showUnits||t.add(12),n.showValues||t.add(13),n.showConstants||t.add(14),n.showEnums||t.add(15),n.showEnumMembers||t.add(16),n.showKeywords||t.add(17),n.showWords||t.add(18),n.showColors||t.add(19),n.showFiles||t.add(20),n.showReferences||t.add(21),n.showColors||t.add(22),n.showFolders||t.add(23),n.showTypeParameters||t.add(24),n.showSnippets||t.add(27),n.showUsers||t.add(25),n.showIssues||t.add(26),t}_onNewContext(e){if(this._context)if(e.lineNumber===this._context.lineNumber)if((0,jr.getLeadingWhitespace)(e.leadingLineContent)===(0,jr.getLeadingWhitespace)(this._context.leadingLineContent)){if(e.column<this._context.column)e.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel();else if(this._completionModel)if(0!==e.leadingWord.word.length&&e.leadingWord.startColumn>this._context.leadingWord.startColumn){const e=new Set(Qr.CompletionProviderRegistry.all(this._editor.getModel()));for(let t of this._completionModel.allProvider)e.delete(t);const t=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1},!0,e,{items:t,clipboardText:this._completionModel.clipboardText})}else if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){const{incomplete:e}=this._completionModel,t=this._completionModel.adopt(e);this.trigger({auto:2===this._state,shy:!1,triggerKind:2},!0,e,{items:t,clipboardText:this._completionModel.clipboardText})}else{let t=this._completionModel.lineContext,n=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(Fv.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<e.leadingWord.startColumn)return void this.trigger({auto:this._context.auto,shy:!1},!0);if(this._context.auto)return void this.cancel();if(this._completionModel.lineContext=t,n=this._completionModel.items.length>0,n&&0===e.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:n})}}else this.cancel();else this.cancel()}};zv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Pv(1,Hg.IEditorWorkerService),Pv(2,Dr.IClipboardService),Pv(3,zs.ITelemetryService),Pv(4,hb.ILogService)],zv);var Bv=n(54205),Wv=(Do()(Bv.Z,{insert:"head",singleton:!1}),Bv.Z.locals,n(22694)),Uv=n(72406);class Hv{constructor(){let e;this._onDidWillResize=new Is.Emitter,this.onDidWillResize=this._onDidWillResize.event,this._onDidResize=new Is.Emitter,this.onDidResize=this._onDidResize.event,this._sashListener=new ar.DisposableStore,this._size=new _s.Dimension(0,0),this._minSize=new _s.Dimension(0,0),this._maxSize=new _s.Dimension(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER),this.domNode=document.createElement("div"),this._eastSash=new dl.Sash(this.domNode,{getVerticalSashLeft:()=>this._size.width},{orientation:0}),this._westSash=new dl.Sash(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new dl.Sash(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:dl.OrthogonalEdge.North}),this._southSash=new dl.Sash(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:dl.OrthogonalEdge.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let t=0,n=0;this._sashListener.add(Is.Event.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)((()=>{void 0===e&&(this._onDidWillResize.fire(),e=this._size,t=0,n=0)}))),this._sashListener.add(Is.Event.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)((()=>{void 0!==e&&(e=void 0,t=0,n=0,this._onDidResize.fire({dimension:this._size,done:!0}))}))),this._sashListener.add(this._eastSash.onDidChange((i=>{e&&(n=i.currentX-i.startX,this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))}))),this._sashListener.add(this._westSash.onDidChange((i=>{e&&(n=-(i.currentX-i.startX),this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))}))),this._sashListener.add(this._northSash.onDidChange((i=>{e&&(t=-(i.currentY-i.startY),this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))}))),this._sashListener.add(this._southSash.onDidChange((i=>{e&&(t=i.currentY-i.startY,this.layout(e.height+t,e.width+n),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))}))),this._sashListener.add(Is.Event.any(this._eastSash.onDidReset,this._westSash.onDidReset)((e=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))),this._sashListener.add(Is.Event.any(this._northSash.onDidReset,this._southSash.onDidReset)((e=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))})))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this.domNode.remove()}enableSashes(e,t,n,i){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=n?3:0,this._westSash.state=i?3:0}layout(e=this.size.height,t=this.size.width){const{height:n,width:i}=this._minSize,{height:o,width:r}=this._maxSize;e=Math.max(n,Math.min(o,e)),t=Math.max(i,Math.min(r,t));const s=new _s.Dimension(t,e);_s.Dimension.equals(s,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=s,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}function Vv(e){return!!e&&Boolean(e.completion.documentation||e.completion.detail&&e.completion.detail!==e.completion.label)}let jv=class{constructor(e,t){this._editor=e,this._onDidClose=new Is.Emitter,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new Is.Emitter,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new ar.DisposableStore,this._renderDisposeable=new ar.DisposableStore,this._borderWidth=1,this._size=new _s.Dimension(330,0),this.domNode=_s.$(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=t.createInstance(qc,{editor:e}),this._body=_s.$(".body"),this._scrollbar=new qa.DomScrollableElement(this._body,{}),_s.append(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=_s.append(this._body,_s.$(".header")),this._close=_s.append(this._header,_s.$("span"+Rs.Codicon.close.cssSelector)),this._close.title=No.localize("vs/editor/contrib/suggest/suggestWidgetDetails","details.close","Close"),this._type=_s.append(this._header,_s.$("p.type")),this._docs=_s.append(this._body,_s.$("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(38)&&this._configureFont()})))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const e=this._editor.getOptions(),t=e.get(38),n=t.fontFamily,i=e.get(102)||t.fontSize,o=e.get(103)||t.lineHeight,r=t.fontWeight,s=`${i}px`,a=`${o}px`;this.domNode.style.fontSize=s,this.domNode.style.lineHeight=a,this.domNode.style.fontWeight=r,this.domNode.style.fontFeatureSettings=t.fontFeatureSettings,this._type.style.fontFamily=n,this._close.style.height=a,this._close.style.width=a}getLayoutInfo(){const e=this._editor.getOption(103)||this._editor.getOption(38).lineHeight,t=this._borderWidth;return{lineHeight:e,borderWidth:t,borderHeight:2*t,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=No.localize("vs/editor/contrib/suggest/suggestWidgetDetails","loading","Loading..."),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,2*this.getLayoutInfo().lineHeight),this._onDidChangeContents.fire(this)}renderItem(e,t){this._renderDisposeable.clear();let{detail:n,documentation:i}=e.completion;if(t){let t="";t+=`score: ${e.score[0]}${e.word?`, compared '${e.completion.filterText&&(e.completion.filterText,1)||"string"==typeof e.completion.label?e.completion.label:e.completion.label.name}' with '${e.word}'`:" (no prefix)"}\n`,t+=`distance: ${e.distance}, see localityBonus-setting\n`,t+=`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"}\n`,t+=`commit characters: ${e.completion.commitCharacters}\n`,i=(new Uo).appendCodeblock("empty",t),n=`Provider: ${e.provider._debugDisplayName}`}if(t||Vv(e)){if(this.domNode.classList.remove("no-docs","no-type"),n){const e=n.length>1e5?`${n.substr(0,1e5)}…`:n;this._type.textContent=e,this._type.title=e,_s.show(this._type),this._type.classList.toggle("auto-wrap",!/\r?\n^\s+/gim.test(e))}else _s.clearNode(this._type),this._type.title="",_s.hide(this._type),this.domNode.classList.add("no-type");if(_s.clearNode(this._docs),"string"==typeof i)this._docs.classList.remove("markdown-docs"),this._docs.textContent=i;else if(i){this._docs.classList.add("markdown-docs"),_s.clearNode(this._docs);const e=this._markdownRenderer.render(i);this._docs.appendChild(e.element),this._renderDisposeable.add(e),this._renderDisposeable.add(this._markdownRenderer.onDidRenderAsync((()=>{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)})))}this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=e=>{e.preventDefault(),e.stopPropagation()},this._close.onclick=e=>{e.preventDefault(),e.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}else this.clearContents()}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(e,t){const n=new _s.Dimension(e,t);_s.Dimension.equals(n,this._size)||(this._size=n,_s.size(this.domNode,e,t)),this._scrollbar.scanDomNode()}scrollDown(e=8){this._body.scrollTop+=e}scrollUp(e=8){this._body.scrollTop-=e}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(e){this._borderWidth=e}get borderWidth(){return this._borderWidth}};jv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,vs.IInstantiationService)],jv);class Kv{constructor(e,t){let n,i;this.widget=e,this._editor=t,this._disposables=new ar.DisposableStore,this._added=!1,this._resizable=new Hv,this._resizable.domNode.classList.add("suggest-details-container"),this._resizable.domNode.appendChild(e.domNode),this._resizable.enableSashes(!1,!0,!0,!1);let o=0,r=0;this._disposables.add(this._resizable.onDidWillResize((()=>{n=this._topLeft,i=this._resizable.size}))),this._disposables.add(this._resizable.onDidResize((e=>{if(n&&i){this.widget.layout(e.dimension.width,e.dimension.height);let t=!1;e.west&&(r=i.width-e.dimension.width,t=!0),e.north&&(o=i.height-e.dimension.height,t=!0),t&&this._applyTopLeft({top:n.top+o,left:n.left+r})}e.done&&(n=void 0,i=void 0,o=0,r=0,this._userSize=e.dimension)}))),this._disposables.add(this.widget.onDidChangeContents((()=>{var e;this._anchorBox&&this._placeAtAnchor(this._anchorBox,null!==(e=this._userSize)&&void 0!==e?e:this.widget.size)})))}dispose(){this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(e=!1){this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),e&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(e){var t;const n=_s.getDomNodePagePosition(e);this._anchorBox=n,this._placeAtAnchor(this._anchorBox,null!==(t=this._userSize)&&void 0!==t?t:this.widget.size)}_placeAtAnchor(e,t){const n=_s.getClientArea(document.body),i=this.widget.getLayoutInfo();let o,r,s,a,l=new _s.Dimension(220,2*i.lineHeight),c=0,d=e.top,h=e.top+e.height-i.borderHeight,u=n.width-(e.left+e.width+i.borderWidth+i.horizontalPadding);c=-i.borderWidth+e.left+e.width,a=!0,o=new _s.Dimension(u,n.height-e.top-i.borderHeight-i.verticalPadding),r=o.with(void 0,e.top+e.height-i.borderHeight-i.verticalPadding),t.width>u&&(e.left>u&&(u=e.left-i.borderWidth-i.horizontalPadding,a=!1,c=Math.max(i.horizontalPadding,e.left-t.width-i.borderWidth),o=o.with(u),r=o.with(void 0,r.height)),e.width>1.3*u&&n.height-(e.top+e.height)>e.height&&(u=e.width,c=e.left,d=-i.borderWidth+e.top+e.height,o=new _s.Dimension(e.width-i.borderHeight,n.height-e.top-e.height-i.verticalPadding),r=o.with(void 0,e.top-i.verticalPadding),l=l.with(o.width)));let p,g=t.height,m=Math.max(o.height,r.height);g>m&&(g=m),g<=o.height?(s=!0,p=o):(s=!1,p=r),this._applyTopLeft({left:c,top:s?d:h-g}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!s,a,s,!a),this._resizable.minSize=l,this._resizable.maxSize=p,this._resizable.layout(g,Math.min(p.width,t.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(e){this._topLeft=e,this.getDomNode().style.left=`${this._topLeft.left}px`,this.getDomNode().style.top=`${this._topLeft.top}px`}}var qv=function(e,t){return function(n,i){t(n,i,e)}};class Gv extends Il{updateLabel(){const e=this._keybindingService.lookupKeybinding(this._action.id);if(!e)return super.updateLabel();this.label&&(this.label.textContent=(0,No.localize)("vs/editor/contrib/suggest/suggestWidgetStatus","ddd","{0} ({1})",this._action.label,Gv.symbolPrintEnter(e)))}static symbolPrintEnter(e){var t;return null===(t=e.getLabel())||void 0===t?void 0:t.replace(/\benter\b/gi,"⏎")}}let Qv=class{constructor(e,t,n,i){this._menuService=n,this._contextKeyService=i,this._menuDisposables=new ar.DisposableStore,this.element=_s.append(e,_s.$(".suggest-status-bar"));const o=e=>e instanceof mr.MenuItemAction?t.createInstance(Gv,e):void 0;this._leftActions=new ol.ActionBar(this.element,{actionViewItemProvider:o}),this._rightActions=new ol.ActionBar(this.element,{actionViewItemProvider:o}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){const e=this._menuService.createMenu(jb,this._contextKeyService),t=()=>{const t=[],n=[];for(let[i,o]of e.getActions())"left"===i?t.push(...o):n.push(...o);this._leftActions.clear(),this._leftActions.push(t),this._rightActions.clear(),this._rightActions.push(n)};this._menuDisposables.add(e.onDidChange((()=>t()))),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};Qv=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([qv(1,vs.IInstantiationService),qv(2,mr.IMenuService),qv(3,Fo.IContextKeyService)],Qv);var Yv,$v=n(52424);function Jv(e,t,n,i){const o=i===Yv.ROOT_FOLDER?["rootfolder-icon"]:i===Yv.FOLDER?["folder-icon"]:["file-icon"];if(n){let r;if(r=n.scheme===Xa.Schemas.data?Bs.DataUri.parseMetaData(n).get(Bs.DataUri.META_DATA_LABEL):Xv((0,Bs.basenameOrAuthority)(n).toLowerCase()),i===Yv.FOLDER)o.push(`${r}-name-folder-icon`);else{if(r){o.push(`${r}-name-file-icon`);const e=r.split(".");for(let t=1;t<e.length;t++)o.push(`${e.slice(t).join(".")}-ext-file-icon`);o.push("ext-file-icon")}const i=Zv(e,t,n);i&&o.push(`${Xv(i)}-lang-file-icon`)}}return o}function Zv(e,t,n){if(!n)return null;let i=null;if(n.scheme===Xa.Schemas.data){const e=Bs.DataUri.parseMetaData(n).get(Bs.DataUri.META_DATA_MIME);e&&(i=t.getModeId(e))}else{const t=e.getModel(n);t&&(i=t.getModeId())}return i&&i!==$v.PLAINTEXT_MODE_ID?i:t.getModeIdByFilepathOrFirstLine(n)}function Xv(e){return e.replace(/[\11\12\14\15\40]/g,"/")}!function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"}(Yv||(Yv={}));var e_,t_=function(e,t){return function(n,i){t(n,i,e)}};function n_(e){return`suggest-aria-id:${e}`}const i_=(0,wc.registerIcon)("suggest-more-info",Rs.Codicon.chevronRight,No.localize("vs/editor/contrib/suggest/suggestWidgetRenderer","suggestMoreInfoIcon","Icon for more information in the suggest widget.")),o_=new((e_=class e{extract(t,n){if(t.textLabel.match(e._regexStrict))return n[0]=t.textLabel,!0;if(t.completion.detail&&t.completion.detail.match(e._regexStrict))return n[0]=t.completion.detail,!0;if("string"==typeof t.completion.documentation){const i=e._regexRelaxed.exec(t.completion.documentation);if(i&&(0===i.index||i.index+i[0].length===t.completion.documentation.length))return n[0]=i[0],!0}return!1}})._regexRelaxed=/(#([\da-fA-F]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))/,e_._regexStrict=new RegExp(`^${e_._regexRelaxed.source}$`,"i"),e_);let r_=class{constructor(e,t,n,i){this._editor=e,this._modelService=t,this._modeService=n,this._themeService=i,this._onDidToggleDetails=new Is.Emitter,this.onDidToggleDetails=this._onDidToggleDetails.event,this.templateId="suggestion"}dispose(){this._onDidToggleDetails.dispose()}renderTemplate(e){const t=Object.create(null);t.disposables=new ar.DisposableStore,t.root=e,t.root.classList.add("show-file-icons"),t.icon=(0,_s.append)(e,(0,_s.$)(".icon")),t.colorspan=(0,_s.append)(t.icon,(0,_s.$)("span.colorspan"));const n=(0,_s.append)(e,(0,_s.$)(".contents")),i=(0,_s.append)(n,(0,_s.$)(".main"));t.iconContainer=(0,_s.append)(i,(0,_s.$)(".icon-label.codicon")),t.left=(0,_s.append)(i,(0,_s.$)("span.left")),t.right=(0,_s.append)(i,(0,_s.$)("span.right")),t.iconLabel=new wd.IconLabel(t.left,{supportHighlights:!0,supportIcons:!0}),t.disposables.add(t.iconLabel),t.parametersLabel=(0,_s.append)(t.left,(0,_s.$)("span.signature-label")),t.qualifierLabel=(0,_s.append)(t.left,(0,_s.$)("span.qualifier-label")),t.detailsLabel=(0,_s.append)(t.right,(0,_s.$)("span.details-label")),t.readMore=(0,_s.append)(t.right,(0,_s.$)("span.readMore"+gr.ThemeIcon.asCSSSelector(i_))),t.readMore.title=No.localize("vs/editor/contrib/suggest/suggestWidgetRenderer","readMore","Read More");const o=()=>{const e=this._editor.getOptions(),n=e.get(38),o=n.fontFamily,r=n.fontFeatureSettings,s=e.get(102)||n.fontSize,a=e.get(103)||n.lineHeight,l=n.fontWeight,c=`${s}px`,d=`${a}px`;t.root.style.fontSize=c,t.root.style.fontWeight=l,i.style.fontFamily=o,i.style.fontFeatureSettings=r,i.style.lineHeight=d,t.icon.style.height=d,t.icon.style.width=d,t.readMore.style.height=d,t.readMore.style.width=d};return o(),t.disposables.add(this._editor.onDidChangeConfiguration((e=>{(e.hasChanged(38)||e.hasChanged(102)||e.hasChanged(103))&&o()}))),t}renderElement(e,t,n){var i,o,r;const{completion:s}=e,a="string"==typeof s.label?s.label:s.label.name;n.root.id=n_(t),n.colorspan.style.backgroundColor="";const l={labelEscapeNewLines:!0,matches:(0,Cd.createMatches)(e.score)};let c=[];if(19===s.kind&&o_.extract(e,c))n.icon.className="icon customcolor",n.iconContainer.className="icon hide",n.colorspan.style.backgroundColor=c[0];else if(20===s.kind&&this._themeService.getFileIconTheme().hasFileIcons){n.icon.className="icon hide",n.iconContainer.className="icon hide";const e=Jv(this._modelService,this._modeService,qr.URI.from({scheme:"fake",path:a}),Yv.FILE),t=Jv(this._modelService,this._modeService,qr.URI.from({scheme:"fake",path:s.detail}),Yv.FILE);l.extraClasses=e.length>t.length?e:t}else 23===s.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(n.icon.className="icon hide",n.iconContainer.className="icon hide",l.extraClasses=(0,zo.flatten)([Jv(this._modelService,this._modeService,qr.URI.from({scheme:"fake",path:a}),Yv.FOLDER),Jv(this._modelService,this._modeService,qr.URI.from({scheme:"fake",path:s.detail}),Yv.FOLDER)])):(n.icon.className="icon hide",n.iconContainer.className="",n.iconContainer.classList.add("suggest-icon",...(0,Qr.completionKindToCssClass)(s.kind).split(" ")));s.tags&&s.tags.indexOf(1)>=0&&(l.extraClasses=(l.extraClasses||[]).concat(["deprecated"]),l.matches=[]),n.iconLabel.setLabel(a,void 0,l),"string"==typeof s.label?(n.parametersLabel.textContent="",n.qualifierLabel.textContent="",n.detailsLabel.textContent=(s.detail||"").replace(/\n.*$/m,""),n.root.classList.add("string-label"),n.root.title=""):(n.parametersLabel.textContent=(s.label.parameters||"").replace(/\n.*$/m,""),n.qualifierLabel.textContent=(s.label.qualifier||"").replace(/\n.*$/m,""),n.detailsLabel.textContent=(s.label.type||"").replace(/\n.*$/m,""),n.root.classList.remove("string-label"),n.root.title=`${a}${null!==(i=s.label.parameters)&&void 0!==i?i:""} ${null!==(o=s.label.qualifier)&&void 0!==o?o:""} ${null!==(r=s.label.type)&&void 0!==r?r:""}`),this._editor.getOption(101).showInlineDetails?(0,_s.show)(n.detailsLabel):(0,_s.hide)(n.detailsLabel),Vv(e)?(n.right.classList.add("can-expand-details"),(0,_s.show)(n.readMore),n.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},n.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._onDidToggleDetails.fire()}):(n.right.classList.remove("can-expand-details"),(0,_s.hide)(n.readMore),n.readMore.onmousedown=null,n.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};r_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([t_(1,Yr.IModelService),t_(2,Ra.IModeService),t_(3,gr.IThemeService)],r_);var s_=function(e,t){return function(n,i){t(n,i,e)}};const a_=(0,pr.registerColor)("editorSuggestWidget.background",{dark:pr.editorWidgetBackground,light:pr.editorWidgetBackground,hc:pr.editorWidgetBackground},No.localize("vs/editor/contrib/suggest/suggestWidget","editorSuggestWidgetBackground","Background color of the suggest widget.")),l_=(0,pr.registerColor)("editorSuggestWidget.border",{dark:pr.editorWidgetBorder,light:pr.editorWidgetBorder,hc:pr.editorWidgetBorder},No.localize("vs/editor/contrib/suggest/suggestWidget","editorSuggestWidgetBorder","Border color of the suggest widget.")),c_=(0,pr.registerColor)("editorSuggestWidget.foreground",{dark:pr.editorForeground,light:pr.editorForeground,hc:pr.editorForeground},No.localize("vs/editor/contrib/suggest/suggestWidget","editorSuggestWidgetForeground","Foreground color of the suggest widget.")),d_=(0,pr.registerColor)("editorSuggestWidget.selectedBackground",{dark:pr.listFocusBackground,light:pr.listFocusBackground,hc:pr.listFocusBackground},No.localize("vs/editor/contrib/suggest/suggestWidget","editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")),h_=(0,pr.registerColor)("editorSuggestWidget.highlightForeground",{dark:pr.listHighlightForeground,light:pr.listHighlightForeground,hc:pr.listHighlightForeground},No.localize("vs/editor/contrib/suggest/suggestWidget","editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget."));class u_{constructor(e,t){this._service=e,this._key=`suggestWidget.size/${t.getEditorType()}/${t instanceof ll}`}restore(){var e;const t=null!==(e=this._service.get(this._key,0))&&void 0!==e?e:"";try{const e=JSON.parse(t);if(_s.Dimension.is(e))return _s.Dimension.lift(e)}catch(e){}}store(e){this._service.store(this._key,JSON.stringify(e),0,1)}reset(){this._service.remove(this._key,0)}}let p_=class e{constructor(e,t,n,i,o){this.editor=e,this._storageService=t,this._state=0,this._isAuto=!1,this._ignoreFocusEvents=!1,this._explainMode=!1,this._showTimeout=new sr.TimeoutTimer,this._disposables=new ar.DisposableStore,this._onDidSelect=new Is.Emitter,this._onDidFocus=new Is.Emitter,this._onDidHide=new Is.Emitter,this._onDidShow=new Is.Emitter,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new Is.Emitter,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new Hv,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new g_(this,e),this._persistedSize=new u_(t,e);class r{constructor(e,t,n=!1,i=!1){this.persistedSize=e,this.currentSize=t,this.persistHeight=n,this.persistWidth=i}}let s;this._disposables.add(this.element.onDidWillResize((()=>{this._contentWidget.lockPreference(),s=new r(this._persistedSize.restore(),this.element.size)}))),this._disposables.add(this.element.onDidResize((e=>{var t,n,i,o;if(this._resize(e.dimension.width,e.dimension.height),s&&(s.persistHeight=s.persistHeight||!!e.north||!!e.south,s.persistWidth=s.persistWidth||!!e.east||!!e.west),e.done){if(s){const{itemHeight:e,defaultSize:r}=this.getLayoutInfo(),a=Math.round(e/2);let{width:l,height:c}=this.element.size;(!s.persistHeight||Math.abs(s.currentSize.height-c)<=a)&&(c=null!==(n=null===(t=s.persistedSize)||void 0===t?void 0:t.height)&&void 0!==n?n:r.height),(!s.persistWidth||Math.abs(s.currentSize.width-l)<=a)&&(l=null!==(o=null===(i=s.persistedSize)||void 0===i?void 0:i.width)&&void 0!==o?o:r.width),this._persistedSize.store(new _s.Dimension(l,c))}this._contentWidget.unlockPreference(),s=void 0}}))),this._messageElement=_s.append(this.element.domNode,_s.$(".message")),this._listElement=_s.append(this.element.domNode,_s.$(".tree"));const a=o.createInstance(jv,this.editor);a.onDidClose(this.toggleDetails,this,this._disposables),this._details=new Kv(a,this.editor);const l=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(101).showIcons);l();const c=o.createInstance(r_,this.editor);this._disposables.add(c),this._disposables.add(c.onDidToggleDetails((()=>this.toggleDetails()))),this._list=new Uv.List("SuggestWidget",this._listElement,{getHeight:e=>this.getLayoutInfo().itemHeight,getTemplateId:e=>"suggestion"},[c],{useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>"option",getAriaLabel:e=>{const t="string"==typeof e.completion.label?e.completion.label:e.completion.label.name;if(e.isResolved&&this._isDetailsVisible()){const{documentation:n,detail:i}=e.completion,o=jr.format("{0}{1}",i||"",n?"string"==typeof n?n:n.value:"");return No.localize("vs/editor/contrib/suggest/suggestWidget","ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",t,o)}return t},getWidgetAriaLabel:()=>No.localize("vs/editor/contrib/suggest/suggestWidget","suggest","Suggest"),getWidgetRole:()=>"listbox"}}),this._status=o.createInstance(Qv,this.element.domNode);const d=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(101).showStatusBar);d(),this._disposables.add((0,Ad.attachListStyler)(this._list,i,{listInactiveFocusBackground:d_,listInactiveFocusOutline:pr.activeContrastBorder})),this._disposables.add(i.onDidColorThemeChange((e=>this._onThemeChange(e)))),this._onThemeChange(i.getColorTheme()),this._disposables.add(this._list.onMouseDown((e=>this._onListMouseDownOrTap(e)))),this._disposables.add(this._list.onTap((e=>this._onListMouseDownOrTap(e)))),this._disposables.add(this._list.onDidChangeSelection((e=>this._onListSelection(e)))),this._disposables.add(this._list.onDidChangeFocus((e=>this._onListFocus(e)))),this._disposables.add(this.editor.onDidChangeCursorSelection((()=>this._onCursorSelectionChanged()))),this._disposables.add(this.editor.onDidChangeConfiguration((e=>{e.hasChanged(101)&&(d(),l())}))),this._ctxSuggestWidgetVisible=Vb.Visible.bindTo(n),this._ctxSuggestWidgetDetailsVisible=Vb.DetailsVisible.bindTo(n),this._ctxSuggestWidgetMultipleSuggestions=Vb.MultipleSuggestions.bindTo(n),this._disposables.add(_s.addStandardDisposableListener(this._details.widget.domNode,"keydown",(e=>{this._onDetailsKeydown.fire(e)}))),this._disposables.add(this.editor.onMouseDown((e=>this._onEditorMouseDown(e))))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){0!==this._state&&this._contentWidget.layout()}_onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index))}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){const n=this._completionModel;n&&(this._onDidSelect.fire({item:e,index:t,model:n}),this.editor.focus())}_onThemeChange(e){const t=e.getColor(a_);t&&(this.element.domNode.style.backgroundColor=t.toString(),this._messageElement.style.backgroundColor=t.toString(),this._details.widget.domNode.style.backgroundColor=t.toString());const n=e.getColor(l_);n&&(this.element.domNode.style.borderColor=n.toString(),this._messageElement.style.borderColor=n.toString(),this._status.element.style.borderTopColor=n.toString(),this._details.widget.domNode.style.borderColor=n.toString(),this._detailsBorderColor=n.toString());const i=e.getColor(pr.focusBorder);i&&(this._detailsFocusBorderColor=i.toString()),this._details.widget.borderWidth="hc"===e.type?2:1}_onListFocus(e){var t;if(this._ignoreFocusEvents)return;if(!e.elements.length)return this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),void this.editor.setAriaOptions({activeDescendant:void 0});if(!this._completionModel)return;const n=e.elements[0],i=e.indexes[0];n!==this._focusedItem&&(null===(t=this._currentSuggestionDetails)||void 0===t||t.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=n,this._list.reveal(i),this._currentSuggestionDetails=(0,sr.createCancelablePromise)((e=>{return t=this,i=void 0,r=function*(){const t=(0,sr.disposableTimeout)((()=>{this._isDetailsVisible()&&this.showDetails(!0)}),250);e.onCancellationRequested((()=>t.dispose()));const i=yield n.resolve(e);return t.dispose(),i},new((o=void 0)||(o=Promise))((function(e,n){function s(e){try{l(r.next(e))}catch(e){n(e)}}function a(e){try{l(r.throw(e))}catch(e){n(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(s,a)}l((r=r.apply(t,i||[])).next())}));var t,i,o,r})),this._currentSuggestionDetails.then((()=>{i>=this._list.length||n!==this._list.element(i)||(this._ignoreFocusEvents=!0,this._list.splice(i,1,[n]),this._list.setFocus([i]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:n_(i)}))})).catch(Wo.onUnexpectedError)),this._onDidFocus.fire({item:n,index:i,model:this._completionModel})}_setState(t){if(this._state!==t)switch(this._state=t,this.element.domNode.classList.toggle("frozen",4===t),this.element.domNode.classList.remove("message"),t){case 0:_s.hide(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.LOADING_MESSAGE,_s.hide(this._listElement,this._status.element),_s.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,_s.hide(this._listElement,this._status.element),_s.show(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 3:case 4:_s.hide(this._messageElement),_s.show(this._listElement,this._status.element),this._show();break;case 5:_s.hide(this._messageElement),_s.show(this._listElement,this._status.element),this._details.show(),this._show()}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet((()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)}),100)}showTriggered(e,t){0===this._state&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,this._isAuto||(this._loadingTimeout=(0,sr.disposableTimeout)((()=>this._setState(1)),t)))}showSuggestions(e,t,n,i){var o,r;if(this._contentWidget.setPosition(this.editor.getPosition()),null===(o=this._loadingTimeout)||void 0===o||o.dispose(),null===(r=this._currentSuggestionDetails)||void 0===r||r.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),n&&2!==this._state&&0!==this._state)return void this._setState(4);const s=this._completionModel.items.length,a=0===s;if(this._ctxSuggestWidgetMultipleSuggestions.set(s>1),a)return this._setState(i?0:2),void(this._completionModel=void 0);this._focusedItem=void 0,this._list.splice(0,this._list.length,this._completionModel.items),this._setState(n?4:3),this._list.reveal(t,0),this._list.setFocus([t]),this._layout(this.element.size),this._detailsBorderColor&&(this._details.widget.domNode.style.borderColor=this._detailsBorderColor)}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(0!==this._state&&2!==this._state&&1!==this._state&&this._completionModel)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){5===this._state?(this._setState(3),this._detailsBorderColor&&(this._details.widget.domNode.style.borderColor=this._detailsBorderColor)):3===this._state&&this._isDetailsVisible()&&(this._setState(5),this._detailsFocusBorderColor&&(this._details.widget.domNode.style.borderColor=this._detailsFocusBorderColor))}toggleDetails(){this._isDetailsVisible()?(this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):!Vv(this._list.getFocusedElements()[0])||3!==this._state&&5!==this._state&&4!==this._state||(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(e){this._details.show(),e?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._positionDetails(),this.editor.focus(),this.element.domNode.classList.add("shows-details")}toggleExplainMode(){this._list.getFocusedElements()[0]&&this._isDetailsVisible()&&(this._explainMode=!this._explainMode,this.showDetails(!1))}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var e;null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._setState(0),this._onDidHide.fire(this);const t=this._persistedSize.restore(),n=Math.ceil(4.3*this.getLayoutInfo().itemHeight);t&&t.height<n&&this._persistedSize.store(t.with(void 0,n))}isFrozen(){return 4===this._state}_afterRender(e){null!==e?2!==this._state&&1!==this._state&&(this._isDetailsVisible()&&this._details.show(),this._positionDetails()):this._isDetailsVisible()&&this._details.hide()}_layout(e){var t,n,i;if(!this.editor.hasModel())return;if(!this.editor.getDomNode())return;const o=_s.getClientArea(document.body),r=this.getLayoutInfo();e||(e=r.defaultSize);let s=e.height,a=e.width;if(this._status.element.style.lineHeight=`${r.itemHeight}px`,2===this._state||1===this._state)s=r.itemHeight+r.borderHeight,a=r.defaultSize.width/2,this.element.enableSashes(!1,!1,!1,!1),this.element.minSize=this.element.maxSize=new _s.Dimension(a,s),this._contentWidget.setPreference(2);else{const l=o.width-r.borderHeight-2*r.horizontalPadding;a>l&&(a=l);const c=this._completionModel?this._completionModel.stats.pLabelLen*r.typicalHalfwidthCharacterWidth:a,d=r.statusBarHeight+this._list.contentHeight+r.borderHeight,h=r.itemHeight+r.statusBarHeight,u=_s.getDomNodePagePosition(this.editor.getDomNode()),p=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),g=u.top+p.top+p.height,m=Math.min(o.height-g-r.verticalPadding,d),f=Math.min(u.top+p.top-r.verticalPadding,d);let b=Math.min(Math.max(f,m)+r.borderHeight,d);s===(null===(t=this._cappedHeight)||void 0===t?void 0:t.capped)&&(s=this._cappedHeight.wanted),s<h&&(s=h),s>b&&(s=b),s>m?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),b=f):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),b=m),this.element.preferredSize=new _s.Dimension(c,r.defaultSize.height),this.element.maxSize=new _s.Dimension(l,b),this.element.minSize=new _s.Dimension(220,h),this._cappedHeight=s===d?{wanted:null!==(i=null===(n=this._cappedHeight)||void 0===n?void 0:n.wanted)&&void 0!==i?i:e.height,capped:s}:void 0}this._resize(a,s)}_resize(e,t){const{width:n,height:i}=this.element.maxSize;e=Math.min(n,e),t=Math.min(i,t);const{statusBarHeight:o}=this.getLayoutInfo();this._list.layout(t-o,e),this._listElement.style.height=t-o+"px",this.element.layout(t,e),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode)}getLayoutInfo(){const e=this.editor.getOption(38),t=(0,zd.clamp)(this.editor.getOption(103)||e.lineHeight,8,1e3),n=this.editor.getOption(101).showStatusBar&&2!==this._state&&1!==this._state?t:0,i=this._details.widget.borderWidth,o=2*i;return{itemHeight:t,statusBarHeight:n,borderWidth:i,borderHeight:o,typicalHalfwidthCharacterWidth:e.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new _s.Dimension(430,n+12*t+o)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(e){this._storageService.store("expandSuggestionDocs",e,0,0)}};p_.LOADING_MESSAGE=No.localize("vs/editor/contrib/suggest/suggestWidget","suggestWidget.loading","Loading..."),p_.NO_SUGGESTIONS_MESSAGE=No.localize("vs/editor/contrib/suggest/suggestWidget","suggestWidget.noSuggestions","No suggestions."),p_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([s_(1,fa.IStorageService),s_(2,Fo.IContextKeyService),s_(3,gr.IThemeService),s_(4,vs.IInstantiationService)],p_);class g_{constructor(e,t){this._widget=e,this._editor=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,this._added||(this._added=!0,this._editor.addContentWidget(this))}hide(){this._hidden||(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return!this._hidden&&this._position&&this._preference?{position:this._position,preference:[this._preference]}:null}beforeRender(){const{height:e,width:t}=this._widget.element.size,{borderWidth:n,horizontalPadding:i}=this._widget.getLayoutInfo();return new _s.Dimension(t+2*n+i,e+2*n)}afterRender(e){this._widget._afterRender(e)}setPreference(e){this._preferenceLocked||(this._preference=e)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(e){this._position=e}}(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(h_);n&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: ${n}; }`);const i=e.getColor(c_);i&&t.addRule(`.monaco-editor .suggest-widget, .monaco-editor .suggest-details { color: ${i}; }`);const o=e.getColor(pr.textLinkForeground);o&&t.addRule(`.monaco-editor .suggest-details a { color: ${o}; }`);const r=e.getColor(pr.textCodeBlockBackground);r&&t.addRule(`.monaco-editor .suggest-details code { background-color: ${r}; }`)}));let m_=class e extends ar.Disposable{constructor(t,n){super(),this._editor=t,this._enabled=!1,this._ckAtEnd=e.AtEnd.bindTo(n),this._register(this._editor.onDidChangeConfiguration((e=>e.hasChanged(106)&&this._update()))),this._update()}dispose(){var e;super.dispose(),null===(e=this._selectionListener)||void 0===e||e.dispose(),this._ckAtEnd.reset()}_update(){const e="on"===this._editor.getOption(106);if(this._enabled!==e)if(this._enabled=e,this._enabled){const e=()=>{if(!this._editor.hasModel())return void this._ckAtEnd.set(!1);const e=this._editor.getModel(),t=this._editor.getSelection(),n=e.getWordAtPosition(t.getStartPosition());n?this._ckAtEnd.set(n.endColumn===t.getStartPosition().column):this._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(e),e()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)}};m_.AtEnd=new Fo.RawContextKey("atEndOfWord",!1),m_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,Fo.IContextKeyService)],m_);class f_{constructor(e,t,n){this._disposables=new ar.DisposableStore,this._disposables.add(t.onDidShow((()=>this._onItem(t.getFocusedItem())))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType((i=>{if(this._active&&!t.isFrozen()){const t=i.charCodeAt(i.length-1);this._active.acceptCharacters.has(t)&&e.getOption(0)&&n(this._active.item)}})))}_onItem(e){if(!e||!(0,zo.isNonEmptyArray)(e.item.completion.commitCharacters))return void this.reset();if(this._active&&this._active.item.item===e.item)return;const t=new Ug.CharacterSet;for(const n of e.item.completion.commitCharacters)n.length>0&&t.add(n.charCodeAt(0));this._active={acceptCharacters:t,item:e}}reset(){this._active=void 0}dispose(){this._disposables.dispose()}}class b_{constructor(e,t){this._disposables=new ar.DisposableStore,this._lastOvertyped=[],this._empty=!0,this._disposables.add(e.onWillType((()=>{if(!this._empty)return;if(!e.hasModel())return;const t=e.getSelections(),n=t.length;let i=!1;for(let e=0;e<n;e++)if(!t[e].isEmpty()){i=!0;break}if(!i)return;this._lastOvertyped=[];const o=e.getModel();for(let e=0;e<n;e++){const n=t[e];if(o.getValueLengthInRange(n)>b_._maxSelectionLength)return;this._lastOvertyped[e]={value:o.getValueInRange(n),multiline:n.startLineNumber!==n.endLineNumber}}this._empty=!1}))),this._disposables.add(t.onDidCancel((e=>{this._empty||e.retrigger||(this._empty=!0)})))}getLastOvertypedInfo(e){if(!this._empty&&e>=0&&e<this._lastOvertyped.length)return this._lastOvertyped[e]}dispose(){this._disposables.dispose()}}b_._maxSelectionLength=51200;var v_=function(e,t){return function(n,i){t(n,i,e)}};class __{constructor(e,t){if(this._model=e,this._position=t,e.getLineMaxColumn(t.lineNumber)!==t.column){const n=e.getOffsetAt(t),i=e.getPositionAt(n+1);this._marker=e.deltaDecorations([],[{range:cr.Range.fromPositions(t,i),options:{stickiness:1}}])}}dispose(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])}delta(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(this._marker){const t=this._model.getDecorationRange(this._marker[0]);return this._model.getOffsetAt(t.getStartPosition())-this._model.getOffsetAt(e)}return this._model.getLineMaxColumn(e.lineNumber)-e.column}}let w_=class e{constructor(e,t,n,i,o,r){this._memoryService=t,this._commandService=n,this._contextKeyService=i,this._instantiationService=o,this._logService=r,this._lineSuffix=new ar.MutableDisposable,this._toDispose=new ar.DisposableStore,this.editor=e,this.model=o.createInstance(zv,this.editor);const s=Vb.InsertMode.bindTo(i);s.set(e.getOption(101).insertMode),this.model.onDidTrigger((()=>s.set(e.getOption(101).insertMode))),this.widget=this._toDispose.add(new sr.IdleValue((()=>{const e=this._instantiationService.createInstance(p_,this.editor);this._toDispose.add(e),this._toDispose.add(e.onDidSelect((e=>this._insertSuggestion(e,0)),this));const t=new f_(this.editor,e,(e=>this._insertSuggestion(e,2)));this._toDispose.add(t),this._toDispose.add(this.model.onDidSuggest((e=>{0===e.completionModel.items.length&&t.reset()})));const n=Vb.MakesTextEdit.bindTo(this._contextKeyService),i=Vb.HasInsertAndReplaceRange.bindTo(this._contextKeyService),o=Vb.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add((0,ar.toDisposable)((()=>{n.reset(),i.reset(),o.reset()}))),this._toDispose.add(e.onDidFocus((({item:e})=>{const t=this.editor.getPosition(),r=e.editStart.column,s=t.column;let a=!0;"smart"!==this.editor.getOption(1)||2!==this.model.state||e.completion.command||e.completion.additionalTextEdits||4&e.completion.insertTextRules||s-r!==e.completion.insertText.length||(a=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:r,endLineNumber:t.lineNumber,endColumn:s})!==e.completion.insertText),n.set(a),i.set(!lr.Position.equals(e.editInsertEnd,e.editReplaceEnd)),o.set(Boolean(e.provider.resolveCompletionItem)||Boolean(e.completion.documentation)||e.completion.detail!==e.completion.label)}))),this._toDispose.add(e.onDetailsKeyDown((e=>{e.toKeybinding().equals(new Po.SimpleKeybinding(!0,!1,!1,!1,33))||kr.isMacintosh&&e.toKeybinding().equals(new Po.SimpleKeybinding(!1,!1,!1,!0,33))?e.stopPropagation():e.toKeybinding().isModifierKey()||this.editor.focus()}))),e}))),this._overtypingCapturer=this._toDispose.add(new sr.IdleValue((()=>this._toDispose.add(new b_(this.editor,this.model))))),this._alternatives=this._toDispose.add(new sr.IdleValue((()=>this._toDispose.add(new Rv(this.editor,this._contextKeyService))))),this._toDispose.add(o.createInstance(m_,e)),this._toDispose.add(this.model.onDidTrigger((e=>{this.widget.value.showTriggered(e.auto,e.shy?250:50),this._lineSuffix.value=new __(this.editor.getModel(),e.position)}))),this._toDispose.add(this.model.onDidSuggest((e=>{if(!e.shy){let t=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items);this.widget.value.showSuggestions(e.completionModel,t,e.isFrozen,e.auto)}}))),this._toDispose.add(this.model.onDidCancel((e=>{e.retrigger||this.widget.value.hideWidget()}))),this._toDispose.add(this.editor.onDidBlurEditorWidget((()=>{this.model.cancel(),this.model.clear()})));let a=Vb.AcceptSuggestionsOnEnter.bindTo(i),l=()=>{const e=this.editor.getOption(1);a.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration((()=>l()))),l()}static get(t){return t.getContribution(e.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(e,t){if(!e||!e.item)return this._alternatives.value.reset(),this.model.cancel(),void this.model.clear();if(!this.editor.hasModel())return;const n=this.editor.getModel(),i=n.getAlternativeVersionId(),{item:o}=e,r=[],s=new Hr.CancellationTokenSource;1&t||this.editor.pushUndoStop();const a=this.getOverwriteInfo(o,Boolean(8&t));if(this._memoryService.memorize(n,this.editor.getPosition(),o),Array.isArray(o.completion.additionalTextEdits)){const e=Gr.StableEditorScrollState.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",o.completion.additionalTextEdits.map((e=>Hh.EditOperation.replace(cr.Range.lift(e.range),e.text)))),e.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!o.isResolved){const e=new Ub.StopWatch(!0);let i;const a=n.onDidChangeContent((e=>{if(e.isFlush)return s.cancel(),void a.dispose();for(let t of e.changes){const e=cr.Range.getEndPosition(t.range);i&&!lr.Position.isBefore(e,i)||(i=e)}}));let l=t;t|=2;let c=!1,d=this.editor.onWillType((()=>{d.dispose(),c=!0,2&l||this.editor.pushUndoStop()}));r.push(o.resolve(s.token).then((()=>{if(!o.completion.additionalTextEdits||s.token.isCancellationRequested)return!1;if(i&&o.completion.additionalTextEdits.some((e=>lr.Position.isBefore(i,cr.Range.getStartPosition(e.range)))))return!1;c&&this.editor.pushUndoStop();const e=Gr.StableEditorScrollState.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",o.completion.additionalTextEdits.map((e=>Hh.EditOperation.replace(cr.Range.lift(e.range),e.text)))),e.restoreRelativeVerticalPositionOfCursor(this.editor),!c&&2&l||this.editor.pushUndoStop(),!0})).then((t=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",e.elapsed(),t),a.dispose(),d.dispose()})))}let{insertText:l}=o.completion;4&o.completion.insertTextRules||(l=Wb.escape(l)),Cv.get(this.editor).insert(l,{overwriteBefore:a.overwriteBefore,overwriteAfter:a.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&o.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),o.completion.command?o.completion.command.id===y_.id?this.model.trigger({auto:!0,shy:!1},!0):(r.push(this._commandService.executeCommand(o.completion.command.id,...o.completion.command.arguments?[...o.completion.command.arguments]:[]).catch(Wo.onUnexpectedError)),this.model.cancel()):this.model.cancel(),4&t&&this._alternatives.value.set(e,(e=>{for(s.cancel();n.canUndo();){i!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(e,3|(8&t?8:0));break}})),this._alertCompletionItem(o),Promise.all(r).finally((()=>{this.model.clear(),s.dispose()}))}getOverwriteInfo(e,t){(0,oa.assertType)(this.editor.hasModel());let n="replace"===this.editor.getOption(101).insertMode;t&&(n=!n);const i=e.position.column-e.editStart.column,o=(n?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column;return{overwriteBefore:i+(this.editor.getPosition().column-e.position.column),overwriteAfter:o+(this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0)}}_alertCompletionItem({completion:e}){const t="string"==typeof e.label?e.label:e.label.name;if((0,zo.isNonEmptyArray)(e.additionalTextEdits)){let n=No.localize("vs/editor/contrib/suggest/suggestController","aria.alert.snippet","Accepting '{0}' made {1} additional edits",t,e.additionalTextEdits.length);(0,Yo.alert)(n)}}triggerSuggest(e){this.editor.hasModel()&&(this.model.trigger({auto:!1,shy:!1},!1,e),this.editor.revealLine(this.editor.getPosition().lineNumber,0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(!this.editor.hasModel())return;const t=this.editor.getPosition(),n=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},i=e=>{if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;const t=this.editor.getPosition(),n=e.editStart.column,i=t.column;return i-n!==e.completion.insertText.length||this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:n,endLineNumber:t.lineNumber,endColumn:i})!==e.completion.insertText};Is.Event.once(this.model.onDidTrigger)((e=>{let t=[];Is.Event.any(this.model.onDidTrigger,this.model.onDidCancel)((()=>{(0,ar.dispose)(t),n()}),void 0,t),this.model.onDidSuggest((({completionModel:e})=>{if((0,ar.dispose)(t),0===e.items.length)return void n();const o=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.items),r=e.items[o];i(r)?(this.editor.pushUndoStop(),this._insertSuggestion({index:o,item:r,model:e},7)):n()}),void 0,t)})),this.model.trigger({auto:!1,shy:!0}),this.editor.revealLine(t.lineNumber,0),this.editor.focus()}acceptSelectedSuggestion(e,t){const n=this.widget.value.getFocusedItem();let i=0;e&&(i|=4),t&&(i|=8),this._insertSuggestion(n,i)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}};w_.ID="editor.contrib.suggestController",w_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([v_(1,Lv),v_(2,ns.ICommandService),v_(3,Fo.IContextKeyService),v_(4,vs.IInstantiationService),v_(5,hb.ILogService)],w_);class y_ extends Ro.EditorAction{constructor(){super({id:y_.id,label:No.localize("vs/editor/contrib/suggest/suggestController","suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.writable,Mo.EditorContextKeys.hasCompletionItemProvider),kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(e,t){const n=w_.get(t);n&&n.triggerSuggest()}}y_.id="editor.action.triggerSuggest",(0,Ro.registerEditorContribution)(w_.ID,w_),(0,Ro.registerEditorAction)(y_);const A_=190,C_=Ro.EditorCommand.bindToContribution(w_.get);(0,Ro.registerEditorCommand)(new C_({id:"acceptSelectedSuggestion",precondition:Vb.Visible,handler(e){e.acceptSelectedSuggestion(!0,!1)}})),eh.KeybindingsRegistry.registerKeybindingRule({id:"acceptSelectedSuggestion",when:Fo.ContextKeyExpr.and(Vb.Visible,Mo.EditorContextKeys.textInputFocus),primary:2,weight:A_}),eh.KeybindingsRegistry.registerKeybindingRule({id:"acceptSelectedSuggestion",when:Fo.ContextKeyExpr.and(Vb.Visible,Mo.EditorContextKeys.textInputFocus,Vb.AcceptSuggestionsOnEnter,Vb.MakesTextEdit),primary:3,weight:A_}),mr.MenuRegistry.appendMenuItem(jb,{command:{id:"acceptSelectedSuggestion",title:No.localize("vs/editor/contrib/suggest/suggestController","accept.insert","Insert")},group:"left",order:1,when:Vb.HasInsertAndReplaceRange.toNegated()}),mr.MenuRegistry.appendMenuItem(jb,{command:{id:"acceptSelectedSuggestion",title:No.localize("vs/editor/contrib/suggest/suggestController","accept.insert","Insert")},group:"left",order:1,when:Fo.ContextKeyExpr.and(Vb.HasInsertAndReplaceRange,Vb.InsertMode.isEqualTo("insert"))}),mr.MenuRegistry.appendMenuItem(jb,{command:{id:"acceptSelectedSuggestion",title:No.localize("vs/editor/contrib/suggest/suggestController","accept.replace","Replace")},group:"left",order:1,when:Fo.ContextKeyExpr.and(Vb.HasInsertAndReplaceRange,Vb.InsertMode.isEqualTo("replace"))}),(0,Ro.registerEditorCommand)(new C_({id:"acceptAlternativeSelectedSuggestion",precondition:Fo.ContextKeyExpr.and(Vb.Visible,Mo.EditorContextKeys.textInputFocus),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:1027,secondary:[1026]},handler(e){e.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:jb,group:"left",order:2,when:Fo.ContextKeyExpr.and(Vb.HasInsertAndReplaceRange,Vb.InsertMode.isEqualTo("insert")),title:No.localize("vs/editor/contrib/suggest/suggestController","accept.replace","Replace")},{menuId:jb,group:"left",order:2,when:Fo.ContextKeyExpr.and(Vb.HasInsertAndReplaceRange,Vb.InsertMode.isEqualTo("replace")),title:No.localize("vs/editor/contrib/suggest/suggestController","accept.insert","Insert")}]})),ns.CommandsRegistry.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),(0,Ro.registerEditorCommand)(new C_({id:"hideSuggestWidget",precondition:Vb.Visible,handler:e=>e.cancelSuggestWidget(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:9,secondary:[1033]}})),(0,Ro.registerEditorCommand)(new C_({id:"selectNextSuggestion",precondition:Fo.ContextKeyExpr.and(Vb.Visible,Vb.MultipleSuggestions),handler:e=>e.selectNextSuggestion(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),(0,Ro.registerEditorCommand)(new C_({id:"selectNextPageSuggestion",precondition:Fo.ContextKeyExpr.and(Vb.Visible,Vb.MultipleSuggestions),handler:e=>e.selectNextPageSuggestion(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:12,secondary:[2060]}})),(0,Ro.registerEditorCommand)(new C_({id:"selectLastSuggestion",precondition:Fo.ContextKeyExpr.and(Vb.Visible,Vb.MultipleSuggestions),handler:e=>e.selectLastSuggestion()})),(0,Ro.registerEditorCommand)(new C_({id:"selectPrevSuggestion",precondition:Fo.ContextKeyExpr.and(Vb.Visible,Vb.MultipleSuggestions),handler:e=>e.selectPrevSuggestion(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),(0,Ro.registerEditorCommand)(new C_({id:"selectPrevPageSuggestion",precondition:Fo.ContextKeyExpr.and(Vb.Visible,Vb.MultipleSuggestions),handler:e=>e.selectPrevPageSuggestion(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:11,secondary:[2059]}})),(0,Ro.registerEditorCommand)(new C_({id:"selectFirstSuggestion",precondition:Fo.ContextKeyExpr.and(Vb.Visible,Vb.MultipleSuggestions),handler:e=>e.selectFirstSuggestion()})),(0,Ro.registerEditorCommand)(new C_({id:"toggleSuggestionDetails",precondition:Vb.Visible,handler:e=>e.toggleSuggestionDetails(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2058,mac:{primary:266}},menuOpts:[{menuId:jb,group:"right",order:1,when:Fo.ContextKeyExpr.and(Vb.DetailsVisible,Vb.CanResolve),title:No.localize("vs/editor/contrib/suggest/suggestController","detail.more","show less")},{menuId:jb,group:"right",order:1,when:Fo.ContextKeyExpr.and(Vb.DetailsVisible.toNegated(),Vb.CanResolve),title:No.localize("vs/editor/contrib/suggest/suggestController","detail.less","show more")}]})),(0,Ro.registerEditorCommand)(new C_({id:"toggleExplainMode",precondition:Vb.Visible,handler:e=>e.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),(0,Ro.registerEditorCommand)(new C_({id:"toggleSuggestionFocus",precondition:Vb.Visible,handler:e=>e.toggleSuggestionFocus(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2570,mac:{primary:778}}})),(0,Ro.registerEditorCommand)(new C_({id:"insertBestCompletion",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.textInputFocus,Fo.ContextKeyExpr.equals("config.editor.tabCompletion","on"),m_.AtEnd,Vb.Visible.toNegated(),Rv.OtherSuggestions.toNegated(),Cv.InSnippetMode.toNegated()),handler:(e,t)=>{e.triggerSuggestAndAcceptBest((0,oa.isObject)(t)?Object.assign({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:A_,primary:2}})),(0,Ro.registerEditorCommand)(new C_({id:"insertNextSuggestion",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.textInputFocus,Fo.ContextKeyExpr.equals("config.editor.tabCompletion","on"),Rv.OtherSuggestions,Vb.Visible.toNegated(),Cv.InSnippetMode.toNegated()),handler:e=>e.acceptNextSuggestion(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2}})),(0,Ro.registerEditorCommand)(new C_({id:"insertPrevSuggestion",precondition:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.textInputFocus,Fo.ContextKeyExpr.equals("config.editor.tabCompletion","on"),Rv.OtherSuggestions,Vb.Visible.toNegated(),Cv.InSnippetMode.toNegated()),handler:e=>e.acceptPrevSuggestion(),kbOpts:{weight:A_,kbExpr:Mo.EditorContextKeys.textInputFocus,primary:1026}})),(0,Ro.registerEditorAction)(class extends Ro.EditorAction{constructor(){super({id:"editor.action.resetSuggestSize",label:No.localize("vs/editor/contrib/suggest/suggestController","suggest.reset.label","Reset Suggest Widget Size"),alias:"Reset Suggest Widget Size",precondition:void 0})}run(e,t){w_.get(t).resetWidgetSize()}});class S_ extends Ro.EditorAction{constructor(){super({id:"editor.action.forceRetokenize",label:No.localize("vs/editor/contrib/tokenization/tokenization","forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(e,t){if(!t.hasModel())return;const n=t.getModel();n.resetTokenization();const i=new Ub.StopWatch(!0);n.forceTokenization(n.getLineCount()),i.stop(),console.log(`tokenization took ${i.elapsed()}`)}}(0,Ro.registerEditorAction)(S_);var x_=n(4399);class E_ extends Ro.EditorAction{constructor(){super({id:E_.ID,label:No.localize("vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode",{key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(e,t){const n=!x_.TabFocus.getTabFocusMode();x_.TabFocus.setTabFocusMode(n),n?(0,Yo.alert)(No.localize("vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode","toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):(0,Yo.alert)(No.localize("vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode","toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}E_.ID="editor.action.toggleTabFocusMode",(0,Ro.registerEditorAction)(E_);var k_=n(65620),T_=function(e,t){return function(n,i){t(n,i,e)}};const I_="ignoreUnusualLineTerminators";let D_=class extends ar.Disposable{constructor(e,t,n){super(),this._editor=e,this._dialogService=t,this._codeEditorService=n,this._config=this._editor.getOption(108),this._register(this._editor.onDidChangeConfiguration((e=>{e.hasChanged(108)&&(this._config=this._editor.getOption(108),this._checkForUnusualLineTerminators())}))),this._register(this._editor.onDidChangeModel((()=>{this._checkForUnusualLineTerminators()}))),this._register(this._editor.onDidChangeModelContent((e=>{e.isUndoing||this._checkForUnusualLineTerminators()})))}_checkForUnusualLineTerminators(){return e=this,t=void 0,i=function*(){if("off"===this._config)return;if(!this._editor.hasModel())return;const e=this._editor.getModel();e.mightContainUnusualLineTerminators()&&!0!==function(e,t){return e.getModelProperty(t.uri,I_)}(this._codeEditorService,e)&&(this._editor.getOption(75)||("auto"!==this._config?(yield this._dialogService.confirm({title:No.localize("vs/editor/contrib/unusualLineTerminators/unusualLineTerminators","unusualLineTerminators.title","Unusual Line Terminators"),message:No.localize("vs/editor/contrib/unusualLineTerminators/unusualLineTerminators","unusualLineTerminators.message","Detected unusual line terminators"),detail:No.localize("vs/editor/contrib/unusualLineTerminators/unusualLineTerminators","unusualLineTerminators.detail","This file contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`."),primaryButton:No.localize("vs/editor/contrib/unusualLineTerminators/unusualLineTerminators","unusualLineTerminators.fix","Fix this file"),secondaryButton:No.localize("vs/editor/contrib/unusualLineTerminators/unusualLineTerminators","unusualLineTerminators.ignore","Ignore problem for this file")})).confirmed?e.removeUnusualLineTerminators(this._editor.getSelections()):function(e,t,n){e.setModelProperty(t.uri,I_,!0)}(this._codeEditorService,e):e.removeUnusualLineTerminators(this._editor.getSelections())))},new((n=void 0)||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}));var e,t,n,i}};D_.ID="editor.contrib.unusualLineTerminatorsDetector",D_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([T_(1,k_.IDialogService),T_(2,Ir.ICodeEditorService)],D_),(0,Ro.registerEditorContribution)(D_.ID,D_);var L_=n(48632),R_=n(95310),N_=n(82948),M_=function(e,t){return function(n,i){t(n,i,e)}};let O_=class extends ar.Disposable{constructor(e,t,n,i){super(),this._modelService=t,this._themeService=n,this._configurationService=i,this._editor=e,this._tokenizeViewport=new sr.RunOnceScheduler((()=>this._tokenizeViewportNow()),100),this._outstandingRequests=[],this._register(this._editor.onDidScrollChange((()=>{this._tokenizeViewport.schedule()}))),this._register(this._editor.onDidChangeModel((()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))),this._register(this._editor.onDidChangeModelContent((e=>{this._cancelAll(),this._tokenizeViewport.schedule()}))),this._register(Qr.DocumentRangeSemanticTokensProviderRegistry.onDidChange((()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))),this._register(this._configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration(R_.SEMANTIC_HIGHLIGHTING_SETTING_ID)&&(this._cancelAll(),this._tokenizeViewport.schedule())}))),this._register(this._themeService.onDidColorThemeChange((()=>{this._cancelAll(),this._tokenizeViewport.schedule()})))}_cancelAll(){for(const e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,n=this._outstandingRequests.length;t<n;t++)if(this._outstandingRequests[t]===e)return void this._outstandingRequests.splice(t,1)}_tokenizeViewportNow(){if(!this._editor.hasModel())return;const e=this._editor.getModel();if(e.hasCompleteSemanticTokens())return;if(!(0,R_.isSemanticColoringEnabled)(e,this._themeService,this._configurationService))return void(e.hasSomeSemanticTokens()&&e.setSemanticTokens(null,!1));const t=(0,N_.getDocumentRangeSemanticTokensProvider)(e);if(!t)return void(e.hasSomeSemanticTokens()&&e.setSemanticTokens(null,!1));const n=this._modelService.getSemanticTokensProviderStyling(t),i=this._editor.getVisibleRangesPlusViewportAboveBelow();this._outstandingRequests=this._outstandingRequests.concat(i.map((i=>this._requestRange(e,i,t,n))))}_requestRange(e,t,n,i){const o=e.getVersionId(),r=(0,sr.createCancelablePromise)((i=>Promise.resolve(n.provideDocumentRangeSemanticTokens(e,t,i))));return r.then((n=>{n&&!e.isDisposed()&&e.getVersionId()===o&&e.setPartialSemanticTokens(t,(0,L_.toMultilineTokens2)(n,i,e.getLanguageIdentifier()))})).then((()=>this._removeOutstandingRequest(r)),(()=>this._removeOutstandingRequest(r))),r}};O_.ID="editor.contrib.viewportSemanticTokens",O_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([M_(1,Yr.IModelService),M_(2,gr.IThemeService),M_(3,Ia.IConfigurationService)],O_),(0,Ro.registerEditorContribution)(O_.ID,O_);const P_=(0,pr.registerColor)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),F_=(0,pr.registerColor)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),z_=(0,pr.registerColor)("editor.wordHighlightBorder",{light:null,dark:null,hc:pr.activeContrastBorder},No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),B_=(0,pr.registerColor)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:pr.activeContrastBorder},No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),W_=(0,pr.registerColor)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),U_=(0,pr.registerColor)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),H_=new Fo.RawContextKey("hasWordHighlights",!1);function V_(e,t,n){const i=Qr.DocumentHighlightProviderRegistry.ordered(e);return(0,sr.first)(i.map((i=>()=>Promise.resolve(i.provideDocumentHighlights(e,t,n)).then(void 0,Wo.onUnexpectedExternalError))),zo.isNonEmptyArray)}class j_{constructor(e,t,n){this._wordRange=this._getCurrentWordRange(e,t),this.result=(0,sr.createCancelablePromise)((i=>this._compute(e,t,n,i)))}_getCurrentWordRange(e,t){const n=e.getWordAtPosition(t.getPosition());return n?new cr.Range(t.startLineNumber,n.startColumn,t.startLineNumber,n.endColumn):null}isValid(e,t,n){const i=t.startLineNumber,o=t.startColumn,r=t.endColumn,s=this._getCurrentWordRange(e,t);let a=Boolean(this._wordRange&&this._wordRange.equalsRange(s));for(let t=0,s=n.length;!a&&t<s;t++){let s=e.getDecorationRange(n[t]);s&&s.startLineNumber===i&&s.startColumn<=o&&s.endColumn>=r&&(a=!0)}return a}cancel(){this.result.cancel()}}class K_ extends j_{_compute(e,t,n,i){return V_(e,t.getPosition(),i).then((e=>e||[]))}}class q_ extends j_{constructor(e,t,n){super(e,t,n),this._selectionIsEmpty=t.isEmpty()}_compute(e,t,n,i){return(0,sr.timeout)(250,i).then((()=>{if(!t.isEmpty())return[];const i=e.getWordAtPosition(t.getPosition());return!i||i.word.length>1e3?[]:e.findMatches(i.word,!0,!1,!0,n,!1).map((e=>({range:e.range,kind:Qr.DocumentHighlightKind.Text})))}))}isValid(e,t,n){const i=t.isEmpty();return this._selectionIsEmpty===i&&super.isValid(e,t,n)}}(0,Ro.registerModelAndPositionCommand)("_executeDocumentHighlights",((e,t)=>V_(e,t,Hr.CancellationToken.None)));class G_{constructor(e,t){this.toUnhook=new ar.DisposableStore,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this._hasWordHighlights=H_.bindTo(t),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(66),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition((e=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(e)}))),this.toUnhook.add(e.onDidChangeModelContent((e=>{this._stopAll()}))),this.toUnhook.add(e.onDidChangeConfiguration((e=>{let t=this.editor.getOption(66);this.occurrencesHighlight!==t&&(this.occurrencesHighlight=t,this._stopAll())}))),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return this._decorationIds.length>0}restore(){this.occurrencesHighlight&&this._run()}_getSortedHighlights(){return zo.coalesce(this._decorationIds.map((e=>this.model.getDecorationRange(e))).sort(cr.Range.compareRangesUsingStarts))}moveNext(){let e=this._getSortedHighlights(),t=(e.findIndex((e=>e.containsPosition(this.editor.getPosition())))+1)%e.length,n=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);const i=this._getWord();if(i){const o=this.editor.getModel().getLineContent(n.startLineNumber);(0,Yo.alert)(`${o}, ${t+1} of ${e.length} for '${i.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights(),t=(e.findIndex((e=>e.containsPosition(this.editor.getPosition())))-1+e.length)%e.length,n=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(n.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(n);const i=this._getWord();if(i){const o=this.editor.getModel().getLineContent(n.startLineNumber);(0,Yo.alert)(`${o}, ${t+1} of ${e.length} for '${i.word}'`)}}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))}_stopAll(){this._removeDecorations(),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)}_onPositionChanged(e){this.occurrencesHighlight&&3===e.reason?this._run():this._stopAll()}_getWord(){let e=this.editor.getSelection(),t=e.startLineNumber,n=e.startColumn;return this.model.getWordAtPosition({lineNumber:t,column:n})}_run(){let e=this.editor.getSelection();if(e.startLineNumber!==e.endLineNumber)return void this._stopAll();let t=e.startColumn,n=e.endColumn;const i=this._getWord();if(!i||i.startColumn>t||i.endColumn<n)return void this._stopAll();const o=this.workerRequest&&this.workerRequest.isValid(this.model,e,this._decorationIds);if(this.lastCursorPositionChangeTime=(new Date).getTime(),o)this.workerRequestCompleted&&-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1,this._beginRenderDecorations());else{this._stopAll();let e=++this.workerRequestTokenId;this.workerRequestCompleted=!1,this.workerRequest=function(e,t,n){return Qr.DocumentHighlightProviderRegistry.has(e)?new K_(e,t,n):new q_(e,t,n)}(this.model,this.editor.getSelection(),this.editor.getOption(110)),this.workerRequest.result.then((t=>{e===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=t||[],this._beginRenderDecorations())}),Wo.onUnexpectedError)}}_beginRenderDecorations(){let e=(new Date).getTime(),t=this.lastCursorPositionChangeTime+250;e>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout((()=>{this.renderDecorations()}),t-e)}renderDecorations(){this.renderDecorationsTimer=-1;let e=[];for(const t of this.workerRequestValue)t.range&&e.push({range:t.range,options:G_._getDecorationOptions(t.kind)});this._decorationIds=this.editor.deltaDecorations(this._decorationIds,e),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(e){return e===Qr.DocumentHighlightKind.Write?this._WRITE_OPTIONS:e===Qr.DocumentHighlightKind.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}G_._WRITE_OPTIONS=hr.ModelDecorationOptions.register({stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:(0,gr.themeColorFromId)(U_),position:dr.OverviewRulerLane.Center}}),G_._TEXT_OPTIONS=hr.ModelDecorationOptions.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:(0,gr.themeColorFromId)(pr.overviewRulerSelectionHighlightForeground),position:dr.OverviewRulerLane.Center}}),G_._REGULAR_OPTIONS=hr.ModelDecorationOptions.register({stickiness:1,className:"wordHighlight",overviewRuler:{color:(0,gr.themeColorFromId)(W_),position:dr.OverviewRulerLane.Center}});let Q_=class e extends ar.Disposable{constructor(e,t){super(),this.wordHighlighter=null;const n=()=>{e.hasModel()&&(this.wordHighlighter=new G_(e,t))};this._register(e.onDidChangeModel((e=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),n()}))),n()}static get(t){return t.getContribution(e.ID)}saveViewState(){return!(!this.wordHighlighter||!this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(e){this.wordHighlighter&&e&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};Q_.ID="editor.contrib.wordHighlighter",Q_=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(1,Fo.IContextKeyService)],Q_);class Y_ extends Ro.EditorAction{constructor(e,t){super(t),this._isNext=e}run(e,t){const n=Q_.get(t);n&&(this._isNext?n.moveNext():n.moveBack())}}class $_ extends Ro.EditorAction{constructor(){super({id:"editor.action.wordHighlight.trigger",label:No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:H_.toNegated(),kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:0,weight:100}})}run(e,t,n){const i=Q_.get(t);i&&i.restoreViewState(!0)}}(0,Ro.registerEditorContribution)(Q_.ID,Q_),(0,Ro.registerEditorAction)(class extends Y_{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:H_,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:65,weight:100}})}}),(0,Ro.registerEditorAction)(class extends Y_{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:No.localize("vs/editor/contrib/wordHighlighter/wordHighlighter","wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:H_,kbOpts:{kbExpr:Mo.EditorContextKeys.editorTextFocus,primary:1089,weight:100}})}}),(0,Ro.registerEditorAction)($_),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.editorSelectionHighlight);n&&(t.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${n}; }`),t.addRule(`.monaco-editor .selectionHighlight { background-color: ${n.transparent(.5)}; }`));const i=e.getColor(P_);i&&t.addRule(`.monaco-editor .wordHighlight { background-color: ${i}; }`);const o=e.getColor(F_);o&&t.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${o}; }`);const r=e.getColor(pr.editorSelectionHighlightBorder);r&&t.addRule(`.monaco-editor .selectionHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${r}; box-sizing: border-box; }`);const s=e.getColor(z_);s&&t.addRule(`.monaco-editor .wordHighlight { border: 1px ${"hc"===e.type?"dashed":"solid"} ${s}; box-sizing: border-box; }`);const a=e.getColor(B_);a&&t.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${"hc"===e.type?"dashed":"solid"} ${a}; box-sizing: border-box; }`)}));var J_=n(7106),Z_=n(58485),X_=n(25097),ew=n(29950);class tw extends Ro.EditorCommand{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;const i=(0,X_.getMapForWordSeparators)(t.getOption(110)),o=t.getModel(),r=t.getSelections().map((e=>{const t=new lr.Position(e.positionLineNumber,e.positionColumn),n=this._move(i,o,t,this._wordNavigationType);return this._moveTo(e,n,this._inSelectionMode)}));if(o.pushStackElement(),t._getViewModel().setCursorStates("moveWordCommand",3,r.map((e=>J_.CursorState.fromModelSelection(e)))),1===r.length){const e=new lr.Position(r[0].positionLineNumber,r[0].positionColumn);t.revealPosition(e,0)}}_moveTo(e,t,n){return n?new Oo.Selection(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new Oo.Selection(t.lineNumber,t.column,t.lineNumber,t.column)}}class nw extends tw{_move(e,t,n,i){return Z_.WordOperations.moveWordLeft(e,t,n,i)}}class iw extends tw{_move(e,t,n,i){return Z_.WordOperations.moveWordRight(e,t,n,i)}}class ow extends nw{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}class rw extends nw{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}class sw extends nw{constructor(){super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2063,mac:{primary:527},weight:100}})}}class aw extends nw{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}class lw extends nw{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}class cw extends nw{constructor(){super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:3087,mac:{primary:1551},weight:100}})}}class dw extends nw{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0,kbOpts:{kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.textInputFocus,sl.CONTEXT_ACCESSIBILITY_MODE_ENABLED),win:{primary:2063},weight:101}})}_move(e,t,n,i){return super._move((0,X_.getMapForWordSeparators)(ew.EditorOptions.wordSeparators.defaultValue),t,n,i)}}class hw extends nw{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0,kbOpts:{kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.textInputFocus,sl.CONTEXT_ACCESSIBILITY_MODE_ENABLED),win:{primary:3087},weight:101}})}_move(e,t,n,i){return super._move((0,X_.getMapForWordSeparators)(ew.EditorOptions.wordSeparators.defaultValue),t,n,i)}}class uw extends iw{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}class pw extends iw{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2065,mac:{primary:529},weight:100}})}}class gw extends iw{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}class mw extends iw{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}class fw extends iw{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:3089,mac:{primary:1553},weight:100}})}}class bw extends iw{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}class vw extends iw{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0,kbOpts:{kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.textInputFocus,sl.CONTEXT_ACCESSIBILITY_MODE_ENABLED),win:{primary:2065},weight:101}})}_move(e,t,n,i){return super._move((0,X_.getMapForWordSeparators)(ew.EditorOptions.wordSeparators.defaultValue),t,n,i)}}class _w extends iw{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0,kbOpts:{kbExpr:Fo.ContextKeyExpr.and(Mo.EditorContextKeys.textInputFocus,sl.CONTEXT_ACCESSIBILITY_MODE_ENABLED),win:{primary:3089},weight:101}})}_move(e,t,n,i){return super._move((0,X_.getMapForWordSeparators)(ew.EditorOptions.wordSeparators.defaultValue),t,n,i)}}class ww extends Ro.EditorCommand{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,n){if(!t.hasModel())return;const i=(0,X_.getMapForWordSeparators)(t.getOption(110)),o=t.getModel(),r=t.getSelections(),s=t.getOption(5),a=t.getOption(7),l=Vh.LanguageConfigurationRegistry.getAutoClosingPairs(o.getLanguageIdentifier().id),c=r.map((e=>{const t=this._delete({wordSeparators:i,model:o,selection:e,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingBrackets:s,autoClosingQuotes:a,autoClosingPairs:l},this._wordNavigationType);return new Cr.ReplaceCommand(t,"")}));t.pushUndoStop(),t.executeCommands(this.id,c),t.pushUndoStop()}}class yw extends ww{_delete(e,t){return Z_.WordOperations.deleteWordLeft(e,t)||new cr.Range(1,1,1,1)}}class Aw extends ww{_delete(e,t){let n=Z_.WordOperations.deleteWordRight(e,t);if(n)return n;const i=e.model.getLineCount(),o=e.model.getLineMaxColumn(i);return new cr.Range(i,o,i,o)}}class Cw extends yw{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:Mo.EditorContextKeys.writable})}}class Sw extends yw{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:Mo.EditorContextKeys.writable})}}class xw extends yw{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}class Ew extends Aw{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:Mo.EditorContextKeys.writable})}}class kw extends Aw{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:Mo.EditorContextKeys.writable})}}class Tw extends Aw{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}class Iw extends Ro.EditorAction{constructor(){super({id:"deleteInsideWord",precondition:Mo.EditorContextKeys.writable,label:No.localize("vs/editor/contrib/wordOperations/wordOperations","deleteInsideWord","Delete Word"),alias:"Delete Word"})}run(e,t,n){if(!t.hasModel())return;const i=(0,X_.getMapForWordSeparators)(t.getOption(110)),o=t.getModel(),r=t.getSelections().map((e=>{const t=Z_.WordOperations.deleteInsideWord(i,o,e);return new Cr.ReplaceCommand(t,"")}));t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}(0,Ro.registerEditorCommand)(new ow),(0,Ro.registerEditorCommand)(new rw),(0,Ro.registerEditorCommand)(new sw),(0,Ro.registerEditorCommand)(new aw),(0,Ro.registerEditorCommand)(new lw),(0,Ro.registerEditorCommand)(new cw),(0,Ro.registerEditorCommand)(new uw),(0,Ro.registerEditorCommand)(new pw),(0,Ro.registerEditorCommand)(new gw),(0,Ro.registerEditorCommand)(new mw),(0,Ro.registerEditorCommand)(new fw),(0,Ro.registerEditorCommand)(new bw),(0,Ro.registerEditorCommand)(new dw),(0,Ro.registerEditorCommand)(new hw),(0,Ro.registerEditorCommand)(new vw),(0,Ro.registerEditorCommand)(new _w),(0,Ro.registerEditorCommand)(new Cw),(0,Ro.registerEditorCommand)(new Sw),(0,Ro.registerEditorCommand)(new xw),(0,Ro.registerEditorCommand)(new Ew),(0,Ro.registerEditorCommand)(new kw),(0,Ro.registerEditorCommand)(new Tw),(0,Ro.registerEditorAction)(Iw);class Dw extends ww{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:769},weight:100}})}_delete(e,t){return Z_.WordPartOperations.deleteWordPartLeft(e)||new cr.Range(1,1,1,1)}}class Lw extends ww{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:Mo.EditorContextKeys.writable,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:788},weight:100}})}_delete(e,t){let n=Z_.WordPartOperations.deleteWordPartRight(e);if(n)return n;const i=e.model.getLineCount(),o=e.model.getLineMaxColumn(i);return new cr.Range(i,o,i,o)}}class Rw extends tw{_move(e,t,n,i){return Z_.WordPartOperations.moveWordPartLeft(e,t,n)}}class Nw extends Rw{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:783},weight:100}})}}ns.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");class Mw extends Rw{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1807},weight:100}})}}ns.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");class Ow extends tw{_move(e,t,n,i){return Z_.WordPartOperations.moveWordPartRight(e,t,n)}}class Pw extends Ow{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:785},weight:100}})}}class Fw extends Ow{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1809},weight:100}})}}(0,Ro.registerEditorCommand)(new Dw),(0,Ro.registerEditorCommand)(new Lw),(0,Ro.registerEditorCommand)(new Nw),(0,Ro.registerEditorCommand)(new Mw),(0,Ro.registerEditorCommand)(new Pw),(0,Ro.registerEditorCommand)(new Fw);var zw=n(16147),Bw=n(21541),Ww=(Do()(Bw.Z,{insert:"head",singleton:!1}),Bw.Z.locals,n(85297)),Uw=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Hw=function(e,t){return function(n,i){t(n,i,e)}};const Vw=new Fo.RawContextKey("accessibilityHelpWidgetVisible",!1);let jw=class e extends ar.Disposable{constructor(e,t){super(),this._editor=e,this._widget=this._register(t.createInstance(Kw,this._editor))}static get(t){return t.getContribution(e.ID)}show(){this._widget.show()}hide(){this._widget.hide()}};jw.ID="editor.contrib.accessibilityHelpController",jw=Uw([Hw(1,vs.IInstantiationService)],jw);let Kw=class e extends Oa.Widget{constructor(e,t,n,i){super(),this._contextKeyService=t,this._keybindingService=n,this._openerService=i,this._editor=e,this._isVisibleKey=Vw.bindTo(this._contextKeyService),this._domNode=(0,Ww.createFastDomNode)(document.createElement("div")),this._domNode.setClassName("accessibilityHelpWidget"),this._domNode.setDisplay("none"),this._domNode.setAttribute("role","dialog"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode=(0,Ww.createFastDomNode)(document.createElement("div")),this._contentDomNode.setAttribute("role","document"),this._domNode.appendChild(this._contentDomNode),this._isVisible=!1,this._register(this._editor.onDidLayoutChange((()=>{this._isVisible&&this._layout()}))),this._register(_s.addStandardDisposableListener(this._contentDomNode.domNode,"keydown",(e=>{if(this._isVisible&&(e.equals(2083)&&((0,Yo.alert)(zw.AccessibilityHelpNLS.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),_s.clearNode(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){(0,Yo.alert)(zw.AccessibilityHelpNLS.openingDocs);let t=this._editor.getRawOptions().accessibilityHelpUrl;void 0===t&&(t="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(qr.URI.parse(t)),e.preventDefault(),e.stopPropagation()}}))),this.onblur(this._contentDomNode.domNode,(()=>{this.hide()})),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return e.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,n){let i=this._keybindingService.lookupKeybinding(e);return i?jr.format(t,i.getAriaLabel()):jr.format(n,e)}_buildContent(){const e=this._editor.getOptions(),t=this._editor.getSelections();let n=0;if(t){const e=this._editor.getModel();e&&t.forEach((t=>{n+=e.getValueLengthInRange(t)}))}let i=function(e,t){return e&&0!==e.length?1===e.length?t?jr.format(zw.AccessibilityHelpNLS.singleSelectionRange,e[0].positionLineNumber,e[0].positionColumn,t):jr.format(zw.AccessibilityHelpNLS.singleSelection,e[0].positionLineNumber,e[0].positionColumn):t?jr.format(zw.AccessibilityHelpNLS.multiSelectionRange,e.length,t):e.length>0?jr.format(zw.AccessibilityHelpNLS.multiSelection,e.length):"":zw.AccessibilityHelpNLS.noSelection}(t,n);e.get(49)?e.get(75)?i+=zw.AccessibilityHelpNLS.readonlyDiffEditor:i+=zw.AccessibilityHelpNLS.editableDiffEditor:e.get(75)?i+=zw.AccessibilityHelpNLS.readonlyEditor:i+=zw.AccessibilityHelpNLS.editableEditor;const o=kr.isMacintosh?zw.AccessibilityHelpNLS.changeConfigToOnMac:zw.AccessibilityHelpNLS.changeConfigToOnWinLinux;switch(e.get(2)){case 0:i+="\n\n - "+o;break;case 2:i+="\n\n - "+zw.AccessibilityHelpNLS.auto_on;break;case 1:i+="\n\n - "+zw.AccessibilityHelpNLS.auto_off,i+=" "+o}e.get(123)?i+="\n\n - "+this._descriptionForCommand(E_.ID,zw.AccessibilityHelpNLS.tabFocusModeOnMsg,zw.AccessibilityHelpNLS.tabFocusModeOnMsgNoKb):i+="\n\n - "+this._descriptionForCommand(E_.ID,zw.AccessibilityHelpNLS.tabFocusModeOffMsg,zw.AccessibilityHelpNLS.tabFocusModeOffMsgNoKb),i+="\n\n - "+(kr.isMacintosh?zw.AccessibilityHelpNLS.openDocMac:zw.AccessibilityHelpNLS.openDocWinLinux),i+="\n\n"+zw.AccessibilityHelpNLS.outroMsg,this._contentDomNode.domNode.appendChild((0,Mc.renderFormattedText)(i)),this._contentDomNode.domNode.setAttribute("aria-label",i)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,_s.clearNode(this._contentDomNode.domNode),this._editor.focus())}_layout(){let t=this._editor.getLayoutInfo(),n=Math.max(5,Math.min(e.WIDTH,t.width-40)),i=Math.max(5,Math.min(e.HEIGHT,t.height-40));this._domNode.setWidth(n),this._domNode.setHeight(i);let o=Math.round((t.height-i)/2);this._domNode.setTop(o);let r=Math.round((t.width-n)/2);this._domNode.setLeft(r)}};Kw.ID="editor.contrib.accessibilityHelpWidget",Kw.WIDTH=500,Kw.HEIGHT=300,Kw=Uw([Hw(1,Fo.IContextKeyService),Hw(2,As.IKeybindingService),Hw(3,Ja.IOpenerService)],Kw);class qw extends Ro.EditorAction{constructor(){super({id:"editor.action.showAccessibilityHelp",label:zw.AccessibilityHelpNLS.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(e,t){let n=jw.get(t);n&&n.show()}}(0,Ro.registerEditorContribution)(jw.ID,jw),(0,Ro.registerEditorAction)(qw);const Gw=Ro.EditorCommand.bindToContribution(jw.get);(0,Ro.registerEditorCommand)(new Gw({id:"closeAccessibilityHelp",precondition:Vw,handler:e=>e.hide(),kbOpts:{weight:200,kbExpr:Mo.EditorContextKeys.focus,primary:9,secondary:[1033]}})),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.editorWidgetBackground);n&&t.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${n}; }`);const i=e.getColor(pr.editorWidgetForeground);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${i}; }`);const o=e.getColor(pr.widgetShadow);o&&t.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${o}; }`);const r=e.getColor(pr.contrastBorder);r&&t.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${r}; }`)}));var Qw=n(45274);Do()(Qw.Z,{insert:"head",singleton:!1}),Qw.Z.locals;class Yw extends ar.Disposable{constructor(e){super(),this.editor=e,this.widget=null,Er.isIPad&&(this._register(e.onDidChangeConfiguration((()=>this.update()))),this.update())}update(){const e=!this.editor.getOption(75);!this.widget&&e?this.widget=new $w(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}Yw.ID="editor.contrib.iPadShowKeyboard";class $w extends ar.Disposable{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(_s.addDisposableListener(this._domNode,"touchstart",(e=>{this.editor.focus()}))),this._register(_s.addDisposableListener(this._domNode,"focus",(e=>{this.editor.focus()}))),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return $w.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}$w.ID="editor.contrib.ShowKeyboardWidget",(0,Ro.registerEditorContribution)(Yw.ID,Yw);var Jw=n(10223),Zw=(Do()(Jw.Z,{insert:"head",singleton:!1}),Jw.Z.locals,n(91520)),Xw=n(2817),ey=function(e,t){return function(n,i){t(n,i,e)}};let ty=class e extends ar.Disposable{constructor(e,t,n){super(),this._editor=e,this._modeService=n,this._widget=null,this._register(this._editor.onDidChangeModel((e=>this.stop()))),this._register(this._editor.onDidChangeModelLanguage((e=>this.stop()))),this._register(Qr.TokenizationRegistry.onDidChange((e=>this.stop()))),this._register(this._editor.onKeyUp((e=>9===e.keyCode&&this.stop())))}static get(t){return t.getContribution(e.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new iy(this._editor,this._modeService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};ty.ID="editor.contrib.inspectTokens",ty=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([ey(1,Xw.IStandaloneThemeService),ey(2,Ra.IModeService)],ty);class ny extends Ro.EditorAction{constructor(){super({id:"editor.action.inspectTokens",label:zw.InspectTokensNLS.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let n=ty.get(t);n&&n.launch()}}class iy extends ar.Disposable{constructor(e,t){var n;super(),this.allowEditorOverflow=!0,this._editor=e,this._modeService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=(n=this._model.getLanguageIdentifier(),Qr.TokenizationRegistry.get(n.language)||{getInitialState:()=>Zw.NULL_STATE,tokenize:(e,t,i,o)=>(0,Zw.nullTokenize)(n.language,e,i,o),tokenize2:(e,t,i,o)=>(0,Zw.nullTokenize2)(n.id,e,i,o)}),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition((e=>this._compute(this._editor.getPosition())))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return iy._ID}_compute(e){let t=this._getTokensAtLine(e.lineNumber),n=0;for(let i=t.tokens1.length-1;i>=0;i--){let o=t.tokens1[i];if(e.column-1>=o.offset){n=i;break}}let i=0;for(let n=t.tokens2.length>>>1;n>=0;n--)if(e.column-1>=t.tokens2[n<<1]){i=n;break}let o=this._model.getLineContent(e.lineNumber),r="";if(n<t.tokens1.length){let e=t.tokens1[n].offset,i=n+1<t.tokens1.length?t.tokens1[n+1].offset:o.length;r=o.substring(e,i)}(0,_s.reset)(this._domNode,(0,_s.$)("h2.tm-token",void 0,function(e){let t="";for(let n=0,i=e.length;n<i;n++){let i=e.charCodeAt(n);switch(i){case 9:t+="→";break;case 32:t+="·";break;default:t+=String.fromCharCode(i)}}return t}(r),(0,_s.$)("span.tm-token-length",void 0,`${r.length} ${1===r.length?"char":"chars"}`))),(0,_s.append)(this._domNode,(0,_s.$)("hr.tokens-inspect-separator",{style:"clear:both"}));const s=1+(i<<1)<t.tokens2.length?this._decodeMetadata(t.tokens2[1+(i<<1)]):null;(0,_s.append)(this._domNode,(0,_s.$)("table.tm-metadata-table",void 0,(0,_s.$)("tbody",void 0,(0,_s.$)("tr",void 0,(0,_s.$)("td.tm-metadata-key",void 0,"language"),(0,_s.$)("td.tm-metadata-value",void 0,`${s?s.languageIdentifier.language:"-?-"}`)),(0,_s.$)("tr",void 0,(0,_s.$)("td.tm-metadata-key",void 0,"token type"),(0,_s.$)("td.tm-metadata-value",void 0,`${s?this._tokenTypeToString(s.tokenType):"-?-"}`)),(0,_s.$)("tr",void 0,(0,_s.$)("td.tm-metadata-key",void 0,"font style"),(0,_s.$)("td.tm-metadata-value",void 0,`${s?this._fontStyleToString(s.fontStyle):"-?-"}`)),(0,_s.$)("tr",void 0,(0,_s.$)("td.tm-metadata-key",void 0,"foreground"),(0,_s.$)("td.tm-metadata-value",void 0,`${s?Ea.Color.Format.CSS.formatHex(s.foreground):"-?-"}`)),(0,_s.$)("tr",void 0,(0,_s.$)("td.tm-metadata-key",void 0,"background"),(0,_s.$)("td.tm-metadata-value",void 0,`${s?Ea.Color.Format.CSS.formatHex(s.background):"-?-"}`))))),(0,_s.append)(this._domNode,(0,_s.$)("hr.tokens-inspect-separator")),n<t.tokens1.length&&(0,_s.append)(this._domNode,(0,_s.$)("span.tm-token-type",void 0,t.tokens1[n].type)),this._editor.layoutContentWidget(this)}_decodeMetadata(e){let t=Qr.TokenizationRegistry.getColorMap(),n=Qr.TokenMetadata.getLanguageId(e),i=Qr.TokenMetadata.getTokenType(e),o=Qr.TokenMetadata.getFontStyle(e),r=Qr.TokenMetadata.getForeground(e),s=Qr.TokenMetadata.getBackground(e);return{languageIdentifier:this._modeService.getLanguageIdentifier(n),tokenType:i,fontStyle:o,foreground:t[r],background:t[s]}}_tokenTypeToString(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx";default:return"??"}}_fontStyleToString(e){let t="";return 1&e&&(t+="italic "),2&e&&(t+="bold "),4&e&&(t+="underline "),0===t.length&&(t="---"),t}_getTokensAtLine(e){let t=this._getStateBeforeLine(e),n=this._tokenizationSupport.tokenize(this._model.getLineContent(e),!0,t,0),i=this._tokenizationSupport.tokenize2(this._model.getLineContent(e),!0,t,0);return{startState:t,tokens1:n.tokens,tokens2:i.tokens,endState:n.endState}}_getStateBeforeLine(e){let t=this._tokenizationSupport.getInitialState();for(let n=1;n<e;n++)t=this._tokenizationSupport.tokenize(this._model.getLineContent(n),!0,t,0).endState;return t}getDomNode(){return this._domNode}getPosition(){return{position:this._editor.getPosition(),preference:[2,1]}}}iy._ID="editor.contrib.inspectTokensWidget",(0,Ro.registerEditorContribution)(ty.ID,ty),(0,Ro.registerEditorAction)(ny),(0,gr.registerThemingParticipant)(((e,t)=>{const n=e.getColor(pr.editorHoverBorder);if(n){let i=e.type===gs.ColorScheme.HIGH_CONTRAST?2:1;t.addRule(`.monaco-editor .tokens-inspect-widget { border: ${i}px solid ${n}; }`),t.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${n}; }`)}const i=e.getColor(pr.editorHoverBackground);i&&t.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${i}; }`);const o=e.getColor(pr.editorHoverForeground);o&&t.addRule(`.monaco-editor .tokens-inspect-widget { color: ${o}; }`)}));var oy=n(66824);let ry=class e{constructor(e){this.quickInputService=e,this.registry=ub.Registry.as(oy.Extensions.Quickaccess)}provide(t){const n=new ar.DisposableStore;n.add(t.onDidAccept((()=>{const[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})}))),n.add(t.onDidChangeValue((t=>{const n=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length));n&&n.prefix&&n.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(n.prefix,{preserveValue:!0})})));const{editorProviders:i,globalProviders:o}=this.getQuickAccessProviders();return t.items=0===i.length||0===o.length?[...0===i.length?o:i]:[{label:(0,No.localize)("vs/platform/quickinput/browser/helpQuickAccess","globalCommands","global commands"),type:"separator"},...o,{label:(0,No.localize)("vs/platform/quickinput/browser/helpQuickAccess","editorCommands","editor commands"),type:"separator"},...i],n}getQuickAccessProviders(){const t=[],n=[];for(const i of this.registry.getQuickAccessProviders().sort(((e,t)=>e.prefix.localeCompare(t.prefix))))if(i.prefix!==e.PREFIX)for(const e of i.helpEntries){const o=e.prefix||i.prefix,r=o||"…";(e.needsEditor?n:t).push({prefix:o,label:r,ariaLabel:(0,No.localize)("vs/platform/quickinput/browser/helpQuickAccess","helpPickAriaLabel","{0}, {1}",r,e.description),description:e.description})}return{editorProviders:n,globalProviders:t}}};ry.PREFIX="?",ry=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(0,Aa.IQuickInputService)],ry),ub.Registry.as(oy.Extensions.Quickaccess).registerQuickAccessProvider({ctor:ry,prefix:"",helpEntries:[{description:zw.QuickHelpNLS.helpQuickAccessActionLabel,needsEditor:!0}]});class sy{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var n;const i=new ar.DisposableStore;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const o=i.add(new ar.MutableDisposable);return o.value=this.doProvide(e,t),i.add(this.onDidActiveTextEditorControlChange((()=>{o.value=void 0,o.value=this.doProvide(e,t)}))),i}doProvide(e,t){const n=new ar.DisposableStore,i=this.activeTextEditorControl;if(i&&this.canProvideWithTextEditor(i)){const o={editor:i},r=(0,gd.getCodeEditor)(i);if(r){let e=(0,oa.withNullAsUndefined)(i.saveViewState());n.add(r.onDidChangeCursorPosition((()=>{e=(0,oa.withNullAsUndefined)(i.saveViewState())}))),o.restoreViewState=()=>{e&&i===this.activeTextEditorControl&&i.restoreViewState(e)},n.add((0,ba.once)(t.onCancellationRequested)((()=>{var e;return null===(e=o.restoreViewState)||void 0===e?void 0:e.call(o)})))}n.add((0,ar.toDisposable)((()=>this.clearDecorations(i)))),n.add(this.provideWithTextEditor(o,e,t))}else n.add(this.provideWithoutTextEditor(e,t));return n}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return(0,gd.isDiffEditor)(e)?null===(t=e.getModel())||void 0===t?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations((e=>{const n=[];this.rangeHighlightDecorationId&&(n.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),n.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);const i=[{range:t,options:{className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{overviewRuler:{color:(0,gr.themeColorFromId)(ur.overviewRulerRangeHighlight),position:dr.OverviewRulerLane.Full}}}],[o,r]=e.deltaDecorations(n,i);this.rangeHighlightDecorationId={rangeHighlightId:o,overviewRulerDecorationId:r}}))}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations((e=>{e.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])})),this.rangeHighlightDecorationId=void 0)}}class ay extends sy{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){const t=(0,No.localize)("vs/editor/contrib/quickAccess/gotoLineQuickAccess","cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,ar.Disposable.None}provideWithTextEditor(e,t,n){const i=e.editor,o=new ar.DisposableStore;o.add(t.onDidAccept((n=>{const[o]=t.selectedItems;if(o){if(!this.isValidLineNumber(i,o.lineNumber))return;this.gotoLocation(e,{range:this.toRange(o.lineNumber,o.column),keyMods:t.keyMods,preserveFocus:n.inBackground}),n.inBackground||t.hide()}})));const r=()=>{const e=this.parsePosition(i,t.value.trim().substr(ay.PREFIX.length)),n=this.getPickLabel(i,e.lineNumber,e.column);if(t.items=[{lineNumber:e.lineNumber,column:e.column,label:n}],t.ariaLabel=n,!this.isValidLineNumber(i,e.lineNumber))return void this.clearDecorations(i);const o=this.toRange(e.lineNumber,e.column);i.revealRangeInCenter(o,0),this.addDecorations(i,o)};r(),o.add(t.onDidChangeValue((()=>r())));const s=(0,gd.getCodeEditor)(i);return s&&2===s.getOptions().get(54).renderType&&(s.updateOptions({lineNumbers:"on"}),o.add((0,ar.toDisposable)((()=>s.updateOptions({lineNumbers:"relative"}))))),o}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){const n=t.split(/,|:|#/).map((e=>parseInt(e,10))).filter((e=>!isNaN(e))),i=this.lineCount(e)+1;return{lineNumber:n[0]>0?n[0]:i+n[0],column:n[1]}}getPickLabel(e,t,n){if(this.isValidLineNumber(e,t))return this.isValidColumn(e,t,n)?(0,No.localize)("vs/editor/contrib/quickAccess/gotoLineQuickAccess","gotoLineColumnLabel","Go to line {0} and column {1}.",t,n):(0,No.localize)("vs/editor/contrib/quickAccess/gotoLineQuickAccess","gotoLineLabel","Go to line {0}.",t);const i=e.getPosition()||{lineNumber:1,column:1},o=this.lineCount(e);return o>1?(0,No.localize)("vs/editor/contrib/quickAccess/gotoLineQuickAccess","gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",i.lineNumber,i.column,o):(0,No.localize)("vs/editor/contrib/quickAccess/gotoLineQuickAccess","gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",i.lineNumber,i.column)}isValidLineNumber(e,t){return!(!t||"number"!=typeof t)&&t>0&&t<=this.lineCount(e)}isValidColumn(e,t,n){if(!n||"number"!=typeof n)return!1;const i=this.getModel(e);if(!i)return!1;const o={lineNumber:t,column:n};return i.validatePosition(o).equals(o)}lineCount(e){var t,n;return null!==(n=null===(t=this.getModel(e))||void 0===t?void 0:t.getLineCount())&&void 0!==n?n:0}}ay.PREFIX=":";let ly=class extends ay{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=Is.Event.None}get activeTextEditorControl(){return(0,oa.withNullAsUndefined)(this.editorService.getFocusedCodeEditor())}};ly=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(0,Ir.ICodeEditorService)],ly),ub.Registry.as(oy.Extensions.Quickaccess).registerQuickAccessProvider({ctor:ly,prefix:ly.PREFIX,helpEntries:[{description:zw.GoToLineNLS.gotoLineActionLabel,needsEditor:!0}]});class cy extends Ro.EditorAction{constructor(){super({id:"editor.action.gotoLine",label:zw.GoToLineNLS.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:2085,mac:{primary:293},weight:100}})}run(e){e.get(Aa.IQuickInputService).quickAccess.show(ly.PREFIX)}}(0,Ro.registerEditorAction)(cy);const dy=[void 0,[]];function hy(e,t,n=0,i=0){const o=t;return o.values&&o.values.length>1?function(e,t,n,i){let o=0;const r=[];for(const s of t){const[t,a]=uy(e,s,n,i);if("number"!=typeof t)return dy;o+=t,r.push(...a)}return[o,py(r)]}(e,o.values,n,i):uy(e,t,n,i)}function uy(e,t,n,i){const o=(0,Cd.fuzzyScore)(t.original,t.originalLowercase,n,e,e.toLowerCase(),i,!0);return o?[o[0],(0,Cd.createMatches)(o)]:dy}function py(e){const t=e.sort(((e,t)=>e.start-t.start)),n=[];let i;for(const e of t)!i||(r=e,(o=i).end<r.start||r.end<o.start)?(i=e,n.push(e)):(i.start=Math.min(i.start,e.start),i.end=Math.max(i.end,e.end));var o,r;return n}function gy(e){"string"!=typeof e&&(e="");const t=e.toLowerCase(),{pathNormalized:n,normalized:i,normalizedLowercase:o}=my(e),r=n.indexOf(iv.sep)>=0;let s;const a=e.split(" ");if(a.length>1)for(const e of a){const{pathNormalized:t,normalized:n,normalizedLowercase:i}=my(e);n&&(s||(s=[]),s.push({original:e,originalLowercase:e.toLowerCase(),pathNormalized:t,normalized:n,normalizedLowercase:i}))}return{original:e,originalLowercase:t,pathNormalized:n,normalized:i,normalizedLowercase:o,values:s,containsPathSeparator:r}}function my(e){let t;t=kr.isWindows?e.replace(/\//g,iv.sep):e.replace(/\\/g,iv.sep);const n=(0,jr.stripWildcards)(t).replace(/\s/g,"");return{pathNormalized:t,normalized:n,normalizedLowercase:n.toLowerCase()}}function fy(e){return Array.isArray(e)?gy(e.map((e=>e.original)).join(" ")):gy(e.original)}var by=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};class vy extends sy{constructor(e=Object.create(null)){super(e),this.options=e,e.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),ar.Disposable.None}provideWithTextEditor(e,t,n){const i=e.editor,o=this.getModel(i);return o?Qr.DocumentSymbolProviderRegistry.has(o)?this.doProvideWithEditorSymbols(e,o,t,n):this.doProvideWithoutEditorSymbols(e,o,t,n):ar.Disposable.None}doProvideWithoutEditorSymbols(e,t,n,i){const o=new ar.DisposableStore;return this.provideLabelPick(n,(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),(()=>{by(this,void 0,void 0,(function*(){(yield this.waitForLanguageSymbolRegistry(t,o))&&!i.isCancellationRequested&&o.add(this.doProvideWithEditorSymbols(e,t,n,i))}))})(),o}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return by(this,void 0,void 0,(function*(){if(Qr.DocumentSymbolProviderRegistry.has(e))return!0;let n;const i=new Promise((e=>n=e)),o=t.add(Qr.DocumentSymbolProviderRegistry.onDidChange((()=>{Qr.DocumentSymbolProviderRegistry.has(e)&&(o.dispose(),n(!0))})));return t.add((0,ar.toDisposable)((()=>n(!1)))),i}))}doProvideWithEditorSymbols(e,t,n,i){const o=e.editor,r=new ar.DisposableStore;r.add(n.onDidAccept((t=>{const[i]=n.selectedItems;i&&i.range&&(this.gotoLocation(e,{range:i.range.selection,keyMods:n.keyMods,preserveFocus:t.inBackground}),t.inBackground||n.hide())}))),r.add(n.onDidTriggerItemButton((({item:t})=>{t&&t.range&&(this.gotoLocation(e,{range:t.range.selection,keyMods:n.keyMods,forceSideBySide:!0}),n.hide())})));const s=this.getDocumentSymbols(t,i);let a;const l=()=>by(this,void 0,void 0,(function*(){null==a||a.dispose(!0),n.busy=!1,a=new Hr.CancellationTokenSource(i),n.busy=!0;try{const e=gy(n.value.substr(vy.PREFIX.length).trim()),t=yield this.doGetSymbolPicks(s,e,void 0,a.token);if(i.isCancellationRequested)return;t.length>0?n.items=t:e.original.length>0?this.provideLabelPick(n,(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(n,(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","noSymbolResults","No editor symbols"))}finally{i.isCancellationRequested||(n.busy=!1)}}));r.add(n.onDidChangeValue((()=>l()))),l();let c=!0;return r.add(n.onDidChangeActive((()=>{const[e]=n.activeItems;if(e&&e.range){if(c)return void(c=!1);o.revealRangeInCenter(e.range.selection,0),this.addDecorations(o,e.range.decoration)}}))),r}doGetSymbolPicks(e,t,n,i){return by(this,void 0,void 0,(function*(){const o=yield e;if(i.isCancellationRequested)return[];const r=0===t.original.indexOf(vy.SCOPE_PREFIX),s=r?1:0;let a,l;t.values&&t.values.length>1?(a=fy(t.values[0]),l=fy(t.values.slice(1))):a=t;const c=[];for(let e=0;e<o.length;e++){const i=o[e],r=(0,jr.trim)(i.name),d=`$(symbol-${Qr.SymbolKinds.toString(i.kind)||"property"}) ${r}`,h=d.length-r.length;let u,p,g,m,f=i.containerName;if((null==n?void 0:n.extraContainerLabel)&&(f=f?`${n.extraContainerLabel} • ${f}`:n.extraContainerLabel),t.original.length>s){let e=!1;if(a!==t&&([u,p]=hy(d,Object.assign(Object.assign({},t),{values:void 0}),s,h),"number"==typeof u&&(e=!0)),"number"!=typeof u&&([u,p]=hy(d,a,s,h),"number"!=typeof u))continue;if(!e&&l){if(f&&l.original.length>0&&([g,m]=hy(f,l)),"number"!=typeof g)continue;"number"==typeof u&&(u+=g)}}const b=i.tags&&i.tags.indexOf(1)>=0;c.push({index:e,kind:i.kind,score:u,label:d,ariaLabel:r,description:f,highlights:b?void 0:{label:p,description:m},range:{selection:cr.Range.collapseToStart(i.selectionRange),decoration:i.range},strikethrough:b,buttons:(()=>{var e,t;const n=(null===(e=this.options)||void 0===e?void 0:e.openSideBySideDirection)?null===(t=this.options)||void 0===t?void 0:t.openSideBySideDirection():void 0;if(n)return[{iconClass:"right"===n?Rs.Codicon.splitHorizontal.classNames:Rs.Codicon.splitVertical.classNames,tooltip:"right"===n?(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","openToSide","Open to the Side"):(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","openToBottom","Open to the Bottom")}]})()})}const d=c.sort(((e,t)=>r?this.compareByKindAndScore(e,t):this.compareByScore(e,t)));let h=[];if(r){let e,t,n=0;function u(){t&&"number"==typeof e&&n>0&&(t.label=(0,jr.format)(wy[e]||_y,n))}for(const i of d)e!==i.kind?(u(),e=i.kind,n=1,t={type:"separator"},h.push(t)):n++,h.push(i);u()}else d.length>0&&(h=[{label:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","symbols","symbols ({0})",c.length),type:"separator"},...d]);return h}))}compareByScore(e,t){if("number"!=typeof e.score&&"number"==typeof t.score)return 1;if("number"==typeof e.score&&"number"!=typeof t.score)return-1;if("number"==typeof e.score&&"number"==typeof t.score){if(e.score>t.score)return-1;if(e.score<t.score)return 1}return e.index<t.index?-1:e.index>t.index?1:0}compareByKindAndScore(e,t){const n=wy[e.kind]||_y,i=wy[t.kind]||_y,o=n.localeCompare(i);return 0===o?this.compareByScore(e,t):o}getDocumentSymbols(e,t){return by(this,void 0,void 0,(function*(){const n=yield nm.create(e,t);return t.isCancellationRequested?[]:n.asListOfDocumentSymbols()}))}}vy.PREFIX="@",vy.SCOPE_PREFIX=":",vy.PREFIX_BY_CATEGORY=`${vy.PREFIX}${vy.SCOPE_PREFIX}`;const _y=(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","property","properties ({0})"),wy={5:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","method","methods ({0})"),11:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","function","functions ({0})"),8:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","_constructor","constructors ({0})"),12:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","variable","variables ({0})"),4:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","class","classes ({0})"),22:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","struct","structs ({0})"),23:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","event","events ({0})"),24:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","operator","operators ({0})"),10:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","interface","interfaces ({0})"),2:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","namespace","namespaces ({0})"),3:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","package","packages ({0})"),25:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","typeParameter","type parameters ({0})"),1:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","modules","modules ({0})"),6:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","property","properties ({0})"),9:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","enum","enumerations ({0})"),21:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","enumMember","enumeration members ({0})"),14:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","string","strings ({0})"),0:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","file","files ({0})"),17:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","array","arrays ({0})"),15:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","number","numbers ({0})"),16:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","boolean","booleans ({0})"),18:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","object","objects ({0})"),19:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","key","keys ({0})"),7:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","field","fields ({0})"),13:(0,No.localize)("vs/editor/contrib/quickAccess/gotoSymbolQuickAccess","constant","constants ({0})")};let yy=class extends vy{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=Is.Event.None}get activeTextEditorControl(){return(0,oa.withNullAsUndefined)(this.editorService.getFocusedCodeEditor())}};yy=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([function(e,t){return function(n,i){t(n,i,e)}}(0,Ir.ICodeEditorService)],yy),ub.Registry.as(oy.Extensions.Quickaccess).registerQuickAccessProvider({ctor:yy,prefix:vy.PREFIX,helpEntries:[{description:zw.QuickOutlineNLS.quickOutlineActionLabel,prefix:vy.PREFIX,needsEditor:!0},{description:zw.QuickOutlineNLS.quickOutlineByCategoryActionLabel,prefix:vy.PREFIX_BY_CATEGORY,needsEditor:!0}]});class Ay extends Ro.EditorAction{constructor(){super({id:"editor.action.quickOutline",label:zw.QuickOutlineNLS.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:Mo.EditorContextKeys.hasDocumentSymbolProvider,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(e){e.get(Aa.IQuickInputService).quickAccess.show(vy.PREFIX)}}(0,Ro.registerEditorAction)(Ay);var Cy,Sy=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};function xy(e){const t=e;return Array.isArray(t.items)}!function(e){e[e.NO_ACTION=0]="NO_ACTION",e[e.CLOSE_PICKER=1]="CLOSE_PICKER",e[e.REFRESH_PICKER=2]="REFRESH_PICKER",e[e.REMOVE_ITEM=3]="REMOVE_ITEM"}(Cy||(Cy={}));class Ey extends ar.Disposable{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var n;const i=new ar.DisposableStore;let o;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const r=i.add(new ar.MutableDisposable),s=()=>Sy(this,void 0,void 0,(function*(){const n=r.value=new ar.DisposableStore;null==o||o.dispose(!0),e.busy=!1,o=new Hr.CancellationTokenSource(t);const i=o.token,s=e.value.substr(this.prefix.length).trim(),a=this.getPicks(s,n,i),l=(t,n)=>{var i;let o,r;if(xy(t)?(o=t.items,r=t.active):o=t,0===o.length){if(n)return!1;s.length>0&&(null===(i=this.options)||void 0===i?void 0:i.noResultsPick)&&(o=[this.options.noResultsPick])}return e.items=o,r&&(e.activeItems=[r]),!0};if(null===a);else if(function(e){const t=e;return!!t.picks&&t.additionalPicks instanceof Promise}(a)){let t=!1,n=!1;yield Promise.all([(()=>Sy(this,void 0,void 0,(function*(){yield(0,sr.timeout)(Ey.FAST_PICKS_RACE_DELAY),i.isCancellationRequested||n||(t=l(a.picks,!0))})))(),(()=>Sy(this,void 0,void 0,(function*(){e.busy=!0;try{const o=yield a.additionalPicks;if(i.isCancellationRequested)return;let r,s,c,d;if(xy(a.picks)?(r=a.picks.items,s=a.picks.active):r=a.picks,xy(o)?(c=o.items,d=o.active):c=o,c.length>0||!t){let t;if(!s&&!d){const n=e.activeItems[0];n&&-1!==r.indexOf(n)&&(t=n)}l({items:[...r,...c],active:s||d||t})}}finally{i.isCancellationRequested||(e.busy=!1),n=!0}})))()])}else if(a instanceof Promise){e.busy=!0;try{const t=yield a;if(i.isCancellationRequested)return;l(t)}finally{i.isCancellationRequested||(e.busy=!1)}}else l(a)}));return i.add(e.onDidChangeValue((()=>s()))),s(),i.add(e.onDidAccept((t=>{const[n]=e.selectedItems;"function"==typeof(null==n?void 0:n.accept)&&(t.inBackground||e.hide(),n.accept(e.keyMods,t))}))),i.add(e.onDidTriggerItemButton((({button:n,item:i})=>Sy(this,void 0,void 0,(function*(){var o,r;if("function"==typeof i.trigger){const a=null!==(r=null===(o=i.buttons)||void 0===o?void 0:o.indexOf(n))&&void 0!==r?r:-1;if(a>=0){const n=i.trigger(a,e.keyMods),o="number"==typeof n?n:yield n;if(t.isCancellationRequested)return;switch(o){case Cy.NO_ACTION:break;case Cy.CLOSE_PICKER:e.hide();break;case Cy.REFRESH_PICKER:s();break;case Cy.REMOVE_ITEM:const t=e.items.indexOf(i);if(-1!==t){const n=e.items.slice();n.splice(t,1),e.items=n}}}}}))))),i}}function ky(e,t){return t&&(e.stack||e.stacktrace)?No.localize("vs/base/common/errorMessage","stackTrace.format","{0}: {1}",Iy(e),Ty(e.stack)||Ty(e.stacktrace)):Iy(e)}function Ty(e){return Array.isArray(e)?e.join("\n"):e}function Iy(e){return"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?No.localize("vs/base/common/errorMessage","nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||No.localize("vs/base/common/errorMessage","error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function Dy(e=null,t=!1){if(!e)return No.localize("vs/base/common/errorMessage","error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(e)){const n=zo.coalesce(e),i=Dy(n[0],t);return n.length>1?No.localize("vs/base/common/errorMessage","error.moreErrors","{0} ({1} errors in total)",i,n.length):i}if(oa.isString(e))return e;if(e.detail){const n=e.detail;if(n.error)return ky(n.error,t);if(n.exception)return ky(n.exception,t)}return e.stack?ky(e,t):e.message?e.message:No.localize("vs/base/common/errorMessage","error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}Ey.FAST_PICKS_RACE_DELAY=200;var Ly=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ry=function(e,t){return function(n,i){t(n,i,e)}},Ny=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))};let My=class e extends Ey{constructor(t,n,i,o,r,s){super(e.PREFIX,t),this.options=t,this.instantiationService=n,this.keybindingService=i,this.commandService=o,this.telemetryService=r,this.notificationService=s,this.commandsHistory=this._register(this.instantiationService.createInstance(Oy))}getPicks(t,n,i){return Ny(this,void 0,void 0,(function*(){const o=yield this.getCommandPicks(n,i);if(i.isCancellationRequested)return[];const r=[];for(const n of o){const i=(0,oa.withNullAsUndefined)(e.WORD_FILTER(t,n.label)),o=n.commandAlias?(0,oa.withNullAsUndefined)(e.WORD_FILTER(t,n.commandAlias)):void 0;i||o?(n.highlights={label:i,detail:this.options.showAlias?o:void 0},r.push(n)):t===n.commandId&&r.push(n)}const s=new Map;for(const e of r){const t=s.get(e.label);t?(e.description=e.commandId,t.description=t.commandId):s.set(e.label,e)}r.sort(((e,t)=>{const n=this.commandsHistory.peek(e.commandId),i=this.commandsHistory.peek(t.commandId);return n&&i?n>i?-1:1:n?-1:i?1:e.label.localeCompare(t.label)}));const a=[];let l=!1;for(let e=0;e<r.length;e++){const t=r[e],n=this.keybindingService.lookupKeybinding(t.commandId),i=n?(0,No.localize)("vs/platform/quickinput/browser/commandsQuickAccess","commandPickAriaLabelWithKeybinding","{0}, {1}",t.label,n.getAriaLabel()):t.label;0===e&&this.commandsHistory.peek(t.commandId)&&(a.push({type:"separator",label:(0,No.localize)("vs/platform/quickinput/browser/commandsQuickAccess","recentlyUsed","recently used")}),l=!0),0!==e&&l&&!this.commandsHistory.peek(t.commandId)&&(a.push({type:"separator",label:(0,No.localize)("vs/platform/quickinput/browser/commandsQuickAccess","morecCommands","other commands")}),l=!1),a.push(Object.assign(Object.assign({},t),{ariaLabel:i,detail:this.options.showAlias&&t.commandAlias!==t.label?t.commandAlias:void 0,keybinding:n,accept:()=>Ny(this,void 0,void 0,(function*(){this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){(0,Wo.isPromiseCanceledError)(e)||this.notificationService.error((0,No.localize)("vs/platform/quickinput/browser/commandsQuickAccess","canNotRun","Command '{0}' resulted in an error ({1})",t.label,Dy(e)))}}))}))}return a}))}};My.PREFIX=">",My.WORD_FILTER=(0,Cd.or)(Cd.matchesPrefix,Cd.matchesWords,Cd.matchesContiguousSubString),My=Ly([Ry(1,vs.IInstantiationService),Ry(2,As.IKeybindingService),Ry(3,ns.ICommandService),Ry(4,zs.ITelemetryService),Ry(5,Fs.INotificationService)],My);let Oy=class e extends ar.Disposable{constructor(e,t){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration((()=>this.updateConfiguration())))}updateConfiguration(){this.configuredCommandsHistoryLength=e.getConfiguredCommandHistoryLength(this.configurationService),e.cache&&e.cache.limit!==this.configuredCommandsHistoryLength&&(e.cache.limit=this.configuredCommandsHistoryLength,e.saveState(this.storageService))}load(){const t=this.storageService.get(e.PREF_KEY_CACHE,0);let n;if(t)try{n=JSON.parse(t)}catch(e){}const i=e.cache=new ma.LRUCache(this.configuredCommandsHistoryLength,1);if(n){let e;e=n.usesLRU?n.entries:n.entries.sort(((e,t)=>e.value-t.value)),e.forEach((e=>i.set(e.key,e.value)))}e.counter=this.storageService.getNumber(e.PREF_KEY_COUNTER,0,e.counter)}push(t){e.cache&&(e.cache.set(t,e.counter++),e.saveState(this.storageService))}peek(t){var n;return null===(n=e.cache)||void 0===n?void 0:n.peek(t)}static saveState(t){if(!e.cache)return;const n={usesLRU:!0,entries:[]};e.cache.forEach(((e,t)=>n.entries.push({key:t,value:e}))),t.store(e.PREF_KEY_CACHE,JSON.stringify(n),0,0),t.store(e.PREF_KEY_COUNTER,e.counter,0,0)}static getConfiguredCommandHistoryLength(t){var n,i;const o=null===(i=null===(n=t.getValue().workbench)||void 0===n?void 0:n.commandPalette)||void 0===i?void 0:i.history;return"number"==typeof o?o:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};Oy.DEFAULT_COMMANDS_HISTORY_LENGTH=50,Oy.PREF_KEY_CACHE="commandPalette.mru.cache",Oy.PREF_KEY_COUNTER="commandPalette.mru.counter",Oy.counter=1,Oy=Ly([Ry(0,fa.IStorageService),Ry(1,Ia.IConfigurationService)],Oy);class Py extends My{constructor(e,t,n,i,o,r){super(e,t,n,i,o,r)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const n of e.getSupportedActions())t.push({commandId:n.id,commandAlias:n.alias,label:(0,Bo.stripIcons)(n.label)||n.id});return t}}var Fy=function(e,t){return function(n,i){t(n,i,e)}};let zy=class extends Py{constructor(e,t,n,i,o,r){super({showAlias:!1},e,n,i,o,r),this.codeEditorService=t}get activeTextEditorControl(){return(0,oa.withNullAsUndefined)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return e=this,t=void 0,i=function*(){return this.getCodeEditorCommandPicks()},new((n=void 0)||(n=Promise))((function(o,r){function s(e){try{l(i.next(e))}catch(e){r(e)}}function a(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}));var e,t,n,i}};zy=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Fy(0,vs.IInstantiationService),Fy(1,Ir.ICodeEditorService),Fy(2,As.IKeybindingService),Fy(3,ns.ICommandService),Fy(4,zs.ITelemetryService),Fy(5,Fs.INotificationService)],zy),ub.Registry.as(oy.Extensions.Quickaccess).registerQuickAccessProvider({ctor:zy,prefix:zy.PREFIX,helpEntries:[{description:zw.QuickCommandNLS.quickCommandHelp,needsEditor:!0}]});class By extends Ro.EditorAction{constructor(){super({id:"editor.action.quickCommand",label:zw.QuickCommandNLS.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:Mo.EditorContextKeys.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(e){e.get(Aa.IQuickInputService).quickAccess.show(zy.PREFIX)}}(0,Ro.registerEditorAction)(By);var Wy=function(e,t){return function(n,i){t(n,i,e)}};let Uy=class extends oh{constructor(e,t,n,i,o,r,s){super(!0,e,t,n,i,o,r,s)}};Uy=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s}([Wy(1,Fo.IContextKeyService),Wy(2,Ir.ICodeEditorService),Wy(3,Fs.INotificationService),Wy(4,vs.IInstantiationService),Wy(5,fa.IStorageService),Wy(6,Ia.IConfigurationService)],Uy),(0,Ro.registerEditorContribution)(oh.ID,Uy);class Hy extends Ro.EditorAction{constructor(){super({id:"editor.action.toggleHighContrast",label:zw.ToggleHighContrastNLS.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const n=e.get(Xw.IStandaloneThemeService);this._originalThemeName?(n.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=n.getColorTheme().themeName,n.setTheme("hc-black"))}}(0,Ro.registerEditorAction)(Hy);var Vy=n(97365),jy=n(81294),Ky=n(64343),qy=n(42479),Gy=n(39395),Qy=n(36525),Yy=n(78444),$y=n(63584),Jy=n(12910),Zy=n(53691),Xy=n(94095),eA=n(7001),tA=n(25922),nA=n(71040),iA=n(73567),oA=n(62823),rA=n(35857),sA=n(55055),aA=n(12053),lA=n(62642),cA=n(16830),dA=n(16853),hA=n(22237),uA=n(19308),pA=n(45556),gA=n(39689),mA=n(65843),fA=n(29931),bA=n(34906),vA=n(508),_A=n(29266),wA=n(34245),yA=n(39889),AA=n(83015),CA=n(21599),SA=n(95104),xA=n(59184),EA=n(2e4),kA=n(86146),TA=n(83851),IA=n(81034),DA=n(44638),LA=n(18923),RA=n(78981),NA=n(36833),MA=n(27058),OA=n(72795),PA=n(77480),FA=n(59028),zA=n(79365),BA=n(46044),WA=n(41763),UA=n(72688),HA=n(92742),VA=n(4509),jA=n(28053),KA=n(5952),qA=n(92048),GA=n(38880),QA=n(49323),YA=n(2060),$A=n(92744),JA=n(12534),ZA=n(27061),XA=n(22633),eC=n(12140),tC=n(82048),nC=n(75975),iC=n(44619),oC=n(55541),rC=n(21797),sC=n(40122),aC=n(13077),lC=n(70359),cC=n(85600),dC=n(60559),hC=n(94772),uC=n(29442);const pC=(0,vs.createDecorator)("environmentService");var gC=n(58553),mC=n(51880),fC=n(82304),bC=n(79649),vC=n(54268),_C=n(96309),wC=n(84680),yC=n(6802),AC=n(92969),CC=n(22801),SC=n(46042),xC=n(30813),EC=n(96061),kC=n(2104),TC=n(92679),IC=n(77576),DC=n(20859),LC=n(59784),RC=n(27410),NC=n(19043),MC=n(44756),OC=n(71584),PC=n(98756),FC=n(7546),zC=n(92158),BC=n(38002),WC=n(41141),UC=n(36855),HC=n(48281),VC=n(43253),jC=n(160),KC=n(58067),qC=n(98476),GC=n(16080),QC=n(98049),YC=n(34956),$C=n(96304),JC=n(97463),ZC=n(86077),XC=n(87991),eS=n(32083),tS=n(67111),nS=n(43822),iS=n(51188),oS=n(83066),rS=n(10416),sS=n(41084),aS=n(47101),lS=n(1440),cS=n(61269),dS=n(24314),hS=n(2516),uS=n(98587),pS=n(38982),gS=n(23973),mS=n(18402),fS=n(12999),bS=n(51015),vS=n(57734),_S=n(5315),wS=n(40931),yS=n(35152),AS=n(89751),CS=n(35942),SS=n(51917),xS=n(60034),ES=n(69599),kS=n(31366),TS=n(25083),IS=n(87342),DS=n(67708),LS=n(10398),RS=n(50199),NS=n(99309),MS=n(58473),OS=n(36234),PS=n(53273),FS=n(24058),zS=n(16632),BS=n(57873),WS=n(10833),US=n(71755),HS=n(62163),VS=n(89968),jS=n(52704),KS=n(25431),qS=n(40759),GS=n(42888),QS=n(75467),YS=n(3765),$S=n(92838),JS=n(61705),ZS=n(29115),XS=n(83143),ex=n(49096),tx=n(9564),nx=n(8277),ix=n(38367),ox=n(82808),rx=n(28054),sx=n(46498),ax=n(52808),lx=n(29589),cx=n(95247),dx=n(86632),hx=n(52867),ux=n(45742),px=n(45851),gx=n(71784),mx=n(64133),fx=n(54546),bx=n(87677),vx=n(39356),_x=n(4781),wx=n(82746),yx=n(2199),Ax=n(34300),Cx=n(14834),Sx=n(18724),xx=n(49395),Ex=n(88066),kx=n(4631),Tx=n(70637),Ix=n(73571),Dx=n(63289),Lx=n(29070),Rx=n(11884),Nx=n(19533),Mx=n(15475),Ox=n(68786),Px=n(22883),Fx=n(57983),zx=n(91877),Bx=n(70642),Wx=n(60572),Ux=n(8662),Hx=n(30049),Vx=n(88490),jx=n(32738),Kx=n(81437),qx=n(20142),Gx=n(12666),Qx=n(27077),Yx=n(25404),$x=n(48385),Jx=n(27204),Zx=n(88275),Xx=n(86995),eE=n(44913),tE=n(64280),nE=n(99981),iE=n(63966),oE=n(30997),rE=n(68538),sE=n(20693),aE=n(5121),lE=n(27582),cE=n(63953),dE=n(83682),hE=n(90662),uE=n(11914),pE=n(97917),gE=n(50302),mE=n(69098),fE=n(65174),bE=n(28132),vE=n(54042),_E=n(96205),wE=n(91120),yE=n(40083),AE=n(17659),CE=n(75291),SE=n(37218),xE=n(1056),EE=n(25218),kE=n(96959),TE=n(16011),IE=n(81449),DE=n(92117),LE=n(48555),RE=n(24990),NE=n(76344),ME=n(23487),OE=n(22876),PE=n(72665),FE=n(74904),zE=n(41605),BE=n(35313),WE=n(49517),UE=n(22481),HE=n(63735),VE=n(23877),jE=n(98285),KE=n(11476),qE=n(72067),GE=n(19376),QE=n(59765),YE=n(2926),$E=n(57142),JE=n(1259),ZE=n(50258),XE=n(34346),ek=n(81959),tk=n(76111),nk=n(59027),ik=n(79565),ok=n(21876),rk=n(28040),sk=n(65327),ak=n(38214),lk=n(57886);const ck={vs:{Nls:No,basic_languages:{__contribution:r,Monaco_contribution:we,abap:{Abap_contribution:s,Abap:Vy},apex:{Apex_contribution:a,Apex:jy},azcli:{Azcli_contribution:l,Azcli:Ky},bat:{Bat_contribution:c,Bat:qy},cameligo:{Cameligo_contribution:d,Cameligo:Gy},clojure:{Clojure_contribution:h,Clojure:Qy},coffee:{Coffee_contribution:u,Coffee:Yy},cpp:{Cpp_contribution:p,Cpp:$y},csharp:{Csharp_contribution:g,Csharp:Jy},csp:{Csp_contribution:m,Csp:Zy},css:{Css_contribution:f,Css:Xy},dart:{Dart_contribution:b,Dart:eA},dockerfile:{Dockerfile_contribution:v,Dockerfile:tA},ecl:{Ecl_contribution:_,Ecl:nA},fillers:{Monaco_editor_core:_o},fsharp:{Fsharp_contribution:w,Fsharp:iA},go:{Go_contribution:y,Go:oA},graphql:{Graphql_contribution:A,Graphql:rA},handlebars:{Handlebars_contribution:C,Handlebars:sA},hcl:{Hcl_contribution:S,Hcl:aA},html:{Html_contribution:x,Html:lA},ini:{Ini_contribution:E,Ini:cA},java:{Java_contribution:k,Java:dA},javascript:{Javascript_contribution:T,Javascript:hA},julia:{Julia_contribution:I,Julia:uA},kotlin:{Kotlin_contribution:D,Kotlin:pA},less:{Less_contribution:L,Less:gA},lexon:{Lexon_contribution:R,Lexon:mA},lua:{Lua_contribution:N,Lua:fA},m3:{M3_contribution:M,M3:bA},markdown:{Markdown_contribution:O,Markdown:vA},mips:{Mips_contribution:P,Mips:_A},msdax:{Msdax_contribution:F,Msdax:wA},mysql:{Mysql_contribution:z,Mysql:yA},objective_c:{Objective_c_contribution:B,Objective_c:AA},pascal:{Pascal_contribution:W,Pascal:CA},pascaligo:{Pascaligo_contribution:U,Pascaligo:SA},perl:{Perl_contribution:H,Perl:xA},pgsql:{Pgsql_contribution:V,Pgsql:EA},php:{Php_contribution:j,Php:kA},postiats:{Postiats_contribution:K,Postiats:TA},powerquery:{Powerquery_contribution:q,Powerquery:IA},powershell:{Powershell_contribution:G,Powershell:DA},pug:{Pug_contribution:Q,Pug:LA},python:{Python_contribution:Y,Python:RA},r:{R_contribution:$,R:NA},razor:{Razor_contribution:J,Razor:MA},redis:{Redis_contribution:Z,Redis:OA},redshift:{Redshift_contribution:X,Redshift:PA},restructuredtext:{Restructuredtext_contribution:ee,Restructuredtext:FA},ruby:{Ruby_contribution:te,Ruby:zA},rust:{Rust_contribution:ne,Rust:BA},sb:{Sb_contribution:ie,Sb:WA},scala:{Scala_contribution:oe,Scala:UA},scheme:{Scheme_contribution:re,Scheme:HA},scss:{Scss_contribution:se,Scss:VA},shell:{Shell_contribution:ae,Shell:jA},solidity:{Solidity_contribution:le,Solidity:KA},sophia:{Sophia_contribution:ce,Sophia:qA},sql:{Sql_contribution:de,Sql:GA},st:{St_contribution:he,St:QA},swift:{Swift_contribution:ue,Swift:YA},systemverilog:{Systemverilog_contribution:pe,Systemverilog:$A},tcl:{Tcl_contribution:ge,Tcl:JA},twig:{Twig_contribution:me,Twig:ZA},typescript:{Typescript_contribution:fe,Typescript:XA},vb:{Vb_contribution:be,Vb:eC},xml:{Xml_contribution:ve,Xml:tC},yaml:{Yaml_contribution:_e,Yaml:nC}},platform:{browser:{ContextScopedHistoryWidget:jt},accessibility:{common:{Accessibility:sl,AccessibilityService:iC}},actions:{browser:{MenuEntryActionViewItem:Xe},common:{Actions:mr,MenuService:oC}},clipboard:{browser:{ClipboardService:rC},common:{ClipboardService:Dr}},commands:{common:{Commands:ns}},configuration:{common:{Configuration:Ia,ConfigurationModels:sC,ConfigurationRegistry:pb}},contextkey:{browser:{ContextKeyService:aC},common:{Contextkey:Fo,Contextkeys:lC}},contextview:{browser:{ContextMenuHandler:cC,ContextMenuService:dC,ContextView:ys,ContextViewService:hC}},dialogs:{common:{Dialogs:k_}},editor:{common:{Editor:uC}},environment:{common:{Environment:Ci}},extensions:{common:{Extensions:gC}},files:{common:{Files:jn}},instantiation:{common:{Descriptors:mC,Extensions:ga,Graph:fC,Instantiation:vs,InstantiationService:bC,ServiceCollection:vC}},jsonschemas:{common:{JsonContributionRegistry:_C}},keybinding:{common:{AbstractKeybindingService:wC,BaseResolvedKeybinding:yC,Keybinding:As,KeybindingResolver:AC,KeybindingsRegistry:eh,ResolvedKeybindingItem:CC,UsLayoutResolvedKeybinding:SC}},label:{common:{Label:nc}},layout:{browser:{LayoutService:xC}},log:{common:{Log:hb}},markers:{common:{MarkerService:EC,Markers:Ps}},notification:{common:{Notification:Fs}},opener:{common:{Opener:Ja}},progress:{common:{Progress:ts}},quickinput:{browser:{CommandsQuickAccess:vi,HelpQuickAccess:li,PickerQuickAccess:fi,QuickAccess:kC,QuickInput:TC},common:{QuickAccess:oy,QuickInput:Aa}},list:{browser:{ListService:Pd}},registry:{common:{Platform:ub}},severityIcon:{common:{SeverityIcon:tt}},storage:{common:{Storage:fa}},telemetry:{common:{GdprTypings:Si,Telemetry:zs}},theme:{common:{ColorRegistry:pr,IconRegistry:wc,Styler:Ad,Theme:gs,ThemeService:gr}},undoRedo:{common:{UndoRedo:Gd,UndoRedoService:IC}},workspace:{common:{Workspace:nv}},workspaces:{common:{Workspaces:Ln}}},editor:{browser:{EditorBrowser:gd,EditorDom:DC,EditorExtensions:Ro,config:{CharWidthReader:LC,Configuration:RC,ElementSizeObserver:NC},controller:{CoreCommands:xo,MouseHandler:MC,MouseTarget:OC,PointerHandler:PC,TextAreaHandler:FC,TextAreaInput:Tr,TextAreaState:zC},core:{EditorState:Gr,KeybindingCancellation:BC,MarkdownRenderer:lt},services:{AbstractCodeEditorService:WC,BulkEditService:Kr,CodeEditorService:Ir,CodeEditorServiceImpl:UC,OpenerService:HC},view:{DomLineBreaksComputer:VC,DynamicViewOverlay:jC,ViewController:KC,ViewImpl:qC,ViewLayer:GC,ViewOverlays:QC,ViewPart:YC,ViewUserInputEvents:$C},viewParts:{contentWidgets:{ContentWidgets:JC},currentLineHighlight:{CurrentLineHighlight:ZC},decorations:{Decorations:XC},editorScrollbar:{EditorScrollbar:eS},glyphMargin:{GlyphMargin:tS},indentGuides:{IndentGuides:nS},lineNumbers:{LineNumbers:iS},lines:{RangeUtil:oS,ViewLine:rS,ViewLines:sS},linesDecorations:{LinesDecorations:aS},margin:{Margin:lS},marginDecorations:{MarginDecorations:cS},minimap:{Minimap:dS,MinimapCharRenderer:hS,MinimapCharRendererFactory:uS,MinimapCharSheet:pS,MinimapPreBaked:gS},overlayWidgets:{OverlayWidgets:mS},overviewRuler:{DecorationsOverviewRuler:fS,OverviewRuler:bS},rulers:{Rulers:vS},scrollDecoration:{ScrollDecoration:_S},selections:{Selections:wS},viewCursors:{ViewCursor:yS,ViewCursors:AS},viewZones:{ViewZones:CS}},widget:{CodeEditorWidget:Eo,DiffEditorWidget:ko,DiffNavigator:To,DiffReview:SS,EmbeddedCodeEditorWidget:Ye,InlineDiffMargin:xS}},common:{EditorAction:ES,EditorCommon:kS,EditorContextKeys:Mo,Model:dr,Modes:Qr,StandaloneStrings:zw,commands:{ReplaceCommand:Cr,ShiftCommand:rm,SurroundSelectionCommand:TS,TrimTrailingWhitespaceCommand:hn},config:{CommonEditorConfig:x_,EditorOptions:ew,EditorZoom:Fg,FontInfo:IS},controller:{Cursor:DS,CursorAtomicMoveOperations:LS,CursorCollection:RS,CursorColumnSelection:NS,CursorCommon:J_,CursorDeleteOperations:MS,CursorEvents:xi,CursorMoveCommands:xf,CursorMoveOperations:Sr,CursorTypeOperations:Rm,CursorWordOperations:Z_,OneCursor:OS,WordCharacterClassifier:X_},core:{CharacterClassifier:Ug,EditOperation:Hh,LineTokens:PS,Position:lr,Range:cr,Rgba:FS,Selection:Oo,StringBuilder:zS,Token:BS},diff:{DiffComputer:WS},standalone:{StandaloneBase:US,StandaloneEnums:HS},services:{EditorSimpleWorker:VS,EditorWorkerService:Hg,EditorWorkerServiceImpl:jS,GetIconClasses:Kn,GetSemanticTokens:N_,LanguagesRegistry:KS,MarkerDecorationsServiceImpl:qS,MarkersDecorationService:$a,ModeService:Ra,ModeServiceImpl:GS,ModelService:Yr,ModelServiceImpl:R_,ResolverService:pd,SemanticTokensDto:QS,SemanticTokensProviderStyling:L_,TextResourceConfigurationService:gb,WebWorker:YS},view:{EditorColorRegistry:ur,OverviewZoneManager:$S,RenderingContext:JS,ViewContext:ZS,ViewEvents:XS},viewLayout:{LineDecorations:ex,LinesLayout:tx,ViewLayout:nx,ViewLineRenderer:ix,ViewLinesViewportData:ox},viewModel:{MinimapTokensColorTracker:rx,MonospaceLineBreaksComputer:sx,PrefixSumComputer:ax,SplitLinesCollection:lx,ViewEventHandler:cx,ViewModel:dx,ViewModelDecorations:hx,ViewModelEventDispatcher:ux,ViewModelImpl:px},model:{EditStack:gx,IndentationGuesser:mx,IntervalTree:fx,MirrorTextModel:bx,TextChange:vx,TextModel:hr,TextModelEvents:_x,TextModelSearch:su,TextModelTokens:wx,TokensStore:yx,WordHelper:Ax,pieceTreeTextBuffer:{PieceTreeBase:Cx,PieceTreeTextBuffer:Sx,PieceTreeTextBufferBuilder:xx,RbTreeBase:Ex}},modes:{AbstractMode:kx,LanguageConfiguration:Mm,LanguageConfigurationRegistry:Vh,LanguageFeatureRegistry:Ca,LanguageSelector:Tx,LinkComputer:Ix,ModesRegistry:$v,NullMode:Zw,Supports:Dx,TextToHtmlTokenizer:jc,TokenizationRegistry:Lx,supports:{CharacterPair:Rx,ElectricCharacter:Nx,IndentRules:Mx,InplaceReplaceSupport:Ox,OnEnter:Px,RichEditBrackets:Fx,Tokenization:zx}}},contrib:{anchorSelect:{AnchorSelect:Ae},bracketMatching:{BracketMatching:Ce},caretOperations:{CaretOperations:xe,MoveCaretCommand:Se,Transpose:Ee},clipboard:{Clipboard:ke},codeAction:{CodeAction:De,CodeActionCommands:Pe,CodeActionContributions:Fe,CodeActionMenu:Re,CodeActionModel:Oe,CodeActionUi:Me,LightBulbWidget:Ne,Types:Ie},codelens:{CodeLensCache:We,Codelens:ze,CodelensController:Ue,CodelensWidget:Be},colorPicker:{Color:He,ColorContributions:xt,ColorDetector:Ve,ColorPickerModel:je,ColorPickerWidget:Ke},contextmenu:{Contextmenu:It},cursorUndo:{CursorUndo:Dt},comment:{BlockCommentCommand:Et,Comment:Tt,LineCommentCommand:kt},dnd:{Dnd:Rt,DragAndDropCommand:Lt},find:{FindController:qt,FindDecorations:Nt,FindModel:Ft,FindOptionsWidget:Wt,FindState:Ut,FindWidget:Kt,ReplaceAllCommand:Mt,ReplacePattern:Pt},documentSymbols:{DocumentSymbols:rn,OutlineModel:on},folding:{Folding:en,FoldingDecorations:Yt,FoldingModel:Qt,FoldingRanges:Gt,HiddenRangeModel:$t,IndentRangeProvider:Jt,IntializingRangeProvider:Xt,SyntaxRangeProvider:Zt},format:{Format:Vg,FormatActions:nn,FormattingEdit:jg},fontZoom:{FontZoom:tn},hover:{GetHover:ct,Hover:St,HoverOperation:qe,HoverWidgets:ut,MarkdownHoverParticipant:dt,MarkerHoverParticipant:rt,ModesContentHover:ht,ModesGlyphHover:pt},inPlaceReplace:{InPlaceReplace:dn,InPlaceReplaceCommand:cn},indentation:{IndentUtils:sn,Indentation:an},inlineHints:{InlineHintsController:ln},linkedEditing:{LinkedEditing:fn},linesOperations:{CopyLinesCommand:un,LinesOperations:mn,MoveLinesCommand:pn,SortLinesCommand:gn},links:{GetLinks:bn,Links:vn},multicursor:{Multicursor:_n},message:{MessageController:Le},parameterHints:{ParameterHints:Cn,ParameterHintsModel:yn,ParameterHintsWidget:An,ProvideSignatureHelp:wn},quickAccess:{CommandsQuickAccess:_i,EditorNavigationQuickAccess:di,GotoLineQuickAccess:hi,GotoSymbolQuickAccess:gi},rename:{Rename:xn,RenameInputField:Sn},smartSelect:{BracketSelections:kn,SmartSelect:Tn,WordSelections:En},snippet:{SnippetController2:On,SnippetParser:In,SnippetSession:Mn,SnippetVariables:Nn},toggleTabFocusMode:{ToggleTabFocusMode:Xn},tokenization:{Tokenization:Zn},unusualLineTerminators:{UnusualLineTerminators:ei},viewportSemanticTokens:{ViewportSemanticTokens:ti},wordHighlighter:{WordHighlighter:ni},wordOperations:{WordOperations:ii},wordPartOperations:{WordPartOperations:oi},zoneWidget:{ZoneWidget:$e},gotoError:{GotoError:ot,GotoErrorWidget:nt,MarkerNavigationService:it},gotoSymbol:{GoToCommands:yt,GoToSymbol:gt,ReferencesModel:mt,SymbolNavigation:wt,link:{ClickLinkGesture:At,GoToDefinitionAtPosition:Ct},peek:{ReferencesController:_t,ReferencesTree:ft,ReferencesWidget:vt}},peekView:{PeekView:et},suggest:{CompletionModel:zn,Resizable:Un,Suggest:Dn,SuggestAlternatives:Fn,SuggestCommitCharacters:Yn,SuggestController:Jn,SuggestMemory:Pn,SuggestModel:Wn,SuggestOvertypingCapturer:$n,SuggestWidget:Gn,SuggestWidgetDetails:Hn,SuggestWidgetRenderer:qn,SuggestWidgetStatus:Vn,WordContextKey:Qn,WordDistance:Bn}},standalone:{browser:{Colorizer:Bx,SimpleServices:Wx,StandaloneCodeEditor:Ux,StandaloneCodeServiceImpl:Hx,StandaloneEditor:Vx,StandaloneLanguages:jx,StandaloneServices:Kx,StandaloneThemeServiceImpl:qx,accessibilityHelp:{AccessibilityHelp:ri},iPadShowKeyboard:{IPadShowKeyboard:si},inspectTokens:{InspectTokens:ai},quickAccess:{StandaloneCommandsQuickAccess:wi,StandaloneGotoLineQuickAccess:ui,StandaloneGotoSymbolQuickAccess:mi,StandaloneHelpQuickAccess:ci},quickInput:{StandaloneQuickInputServiceImpl:Gx},referenceSearch:{StandaloneReferenceSearch:yi},toggleHighContrast:{ToggleHighContrast:Ai}},common:{StandaloneThemeService:Xw,Themes:Qx,monarch:{MonarchCommon:Yx,MonarchCompile:$x,MonarchLexer:Jx,MonarchTypes:Ei}}}},base:{worker:{DefaultWorkerFactory:Zx},common:{Actions:ws,Arrays:zo,Assert:Xx,Async:sr,Buffer:eE,Cancellation:Hr,CharCode:ki,Codicons:Rs,Collections:tE,Color:Ea,Comparers:nE,Decorators:iE,ErrorMessage:bi,Errors:Wo,Event:Is,Extpath:el,Filters:Cd,Functional:ba,FuzzyScorer:pi,Glob:oE,Hash:ya,History:rE,HtmlContent:ye,IconLabels:Bo,IdGenerator:hl,Iterator:Zg,JsonSchema:Ti,KeyCodes:Po,KeybindingLabels:sE,Labels:Qe,Lazy:Te,Lifecycle:ar,LinkedList:pc,Map:ma,Marshalling:Bc,Mime:aE,Navigator:lE,Network:Xa,Numbers:zd,Objects:rl,Paging:Ii,Path:iv,Platform:kr,Process:cE,Range:dE,Resources:Bs,Scrollable:Bd,Search:Ot,Sequence:Di,Severity:tc,Stopwatch:Ub,Strings:jr,Styler:Li,Types:oa,Uint:hE,Uri:qr,Uuid:Rn,diff:{Diff:uE,DiffChange:pE},insane:{Insane:st},marked:{Marked:Oc},worker:{SimpleWorker:gE}},browser:{Browser:Er,CanIUse:mE,Contextmenu:Ri,Dnd:fE,Dom:_s,Event:_l,FastDomNode:Ww,FormattedTextRenderer:Mc,GlobalMouseMoveMonitor:Ts,History:Ni,Iframe:bE,KeyboardEvent:Al,MarkdownRenderer:at,MouseEvent:Wc,Touch:Ls,ui:{Widget:Oa,actionbar:{ActionViewItems:wl,Actionbar:ol},button:{Button:vE},checkbox:{Checkbox:zt},contextview:{Contextview:_E},countBadge:{CountBadge:yd},aria:{Aria:Yo},dropdown:{Dropdown:Je,DropdownActionViewItem:Ze},findinput:{FindInput:Ht,FindInputCheckboxes:Bt,ReplaceInput:Vt},highlightedlabel:{HighlightedLabel:Sd},iconLabel:{IconHoverDelegate:Mi,IconLabel:wd,IconLabels:ca},inputbox:{InputBox:Vu},keybindingLabel:{KeybindingLabel:wE},list:{List:yE,ListPaging:AE,ListView:CE,ListWidget:Uv,RangeMap:SE,RowCache:xE,Splice:EE},hover:{HoverWidget:Ge},menu:{Menu:kE},mouseCursor:{MouseCursor:TE},progressbar:{Progressbar:IE},sash:{Sash:dl},splitview:{Splitview:bt},codicons:{CodiconStyles:Wv},scrollbar:{AbstractScrollbar:DE,HorizontalScrollbar:LE,ScrollableElement:qa,ScrollableElementOptions:Oi,ScrollbarArrow:RE,ScrollbarState:NE,ScrollbarVisibilityController:ME,VerticalScrollbar:OE},tree:{AbstractTree:PE,AsyncDataTree:FE,CompressedObjectTreeModel:zE,DataTree:BE,IndexTreeModel:WE,ObjectTree:UE,ObjectTreeModel:HE,Tree:VE,TreeIcons:jE}}},parts:{quickinput:{common:{QuickInput:KE},browser:{QuickInput:qE,QuickInputBox:GE,QuickInputList:QE,QuickInputUtils:YE}}}},language:{typescript:{LanguageFeatures:$E,Monaco_contribution:e,TsMode:JE,WorkerManager:ZE,fillers:{Monaco_editor_core:Ui}},css:{CssMode:XE,LanguageFeatures:ek,Monaco_contribution:t,WorkerManager:tk,fillers:{Monaco_editor_core:Yi,Vscode_nls:No}},html:{HtmlMode:nk,LanguageFeatures:ik,Monaco_contribution:o,WorkerManager:ok,fillers:{Monaco_editor_core:ro,Vscode_nls:No}},json:{JsonMode:rk,LanguageFeatures:sk,Monaco_contribution:i,Tokenization:ak,WorkerManager:lk,fillers:{Monaco_editor_core:io,Vscode_nls:No}}}}};window.monacoExtras=ck}()}();</code></pre> <br/> <br/> <div class='clear'></div> </main> </div> <br/><br/> <div class="align-center">© 2015 - 2025 <a href="/legal-notice.php">Weber Informatics LLC</a> | <a href="/data-protection.php">Privacy Policy</a></div> <br/><br/><br/><br/><br/><br/> </body> </html>