"use strict";(self.webpackChunkscriptcat=self.webpackChunkscriptcat||[]).push([[458],{90711:(e,t,i)=>{i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(23645),s=i.n(r)()(n());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.action-widget {\n\tfont-size: 13px;\n\tborder-radius: 0;\n\tmin-width: 160px;\n\tmax-width: 500px;\n\tz-index: 40;\n\tdisplay: block;\n\twidth: 100%;\n\tborder: 1px solid var(--vscode-editorWidget-border) !important;\n\tbackground-color: var(--vscode-editorWidget-background);\n\tcolor: var(--vscode-editorWidget-foreground);\n}\n\n.context-view-block {\n\tposition: fixed;\n\tcursor: initial;\n\tleft: 0;\n\ttop: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: -1;\n}\n\n.context-view-pointerBlock {\n\tposition: fixed;\n\tcursor: initial;\n\tleft: 0;\n\ttop: 0;\n\twidth: 100%;\n\theight: 100%;\n\tz-index: 2;\n}\n\n.action-widget .monaco-list {\n\tuser-select: none;\n\t-webkit-user-select: none;\n\tborder: none !important;\n\tborder-width: 0 !important;\n}\n\n.action-widget .monaco-list:focus:before {\n\toutline: 0 !important;\n}\n\n.action-widget .monaco-list .monaco-scrollable-element {\n\toverflow: visible;\n}\n\n/** Styles for each row in the list element **/\n.action-widget .monaco-list .monaco-list-row {\n\tpadding: 0 10px;\n\twhite-space: nowrap;\n\tcursor: pointer;\n\ttouch-action: none;\n\twidth: 100%;\n}\n\n.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled) {\n\tbackground-color: var(--vscode-quickInputList-focusBackground) !important;\n\tcolor: var(--vscode-quickInputList-focusForeground);\n\toutline: 1px solid var(--vscode-menu-selectionBorder, transparent);\n\toutline-offset: -1px;\n}\n\n.action-widget .monaco-list-row.group-header {\n\tcolor: var(--vscode-pickerGroup-foreground) !important;\n\tfont-weight: 600;\n}\n\n.action-widget .monaco-list .group-header,\n.action-widget .monaco-list .option-disabled,\n.action-widget .monaco-list .option-disabled:before,\n.action-widget .monaco-list .option-disabled .focused,\n.action-widget .monaco-list .option-disabled .focused:before {\n\tcursor: default !important;\n\t-webkit-touch-callout: none;\n\t-webkit-user-select: none;\n\tuser-select: none;\n\tbackground-color: transparent !important;\n\toutline: 0 solid !important;\n}\n\n.action-widget .monaco-list-row.action {\n\tdisplay: flex;\n\tgap: 6px;\n\talign-items: center;\n}\n\n.action-widget .monaco-list-row.action.option-disabled {\n\tcolor: var(--vscode-disabledForeground);\n}\n\n.action-widget .monaco-list-row.action.option-disabled .codicon {\n\topacity: 0.4;\n}\n\n.action-widget .monaco-list-row.action:not(.option-disabled) .codicon {\n\tcolor: inherit;\n}\n\n.action-widget .monaco-list-row.action .title {\n\tflex: 1;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n/* Action bar */\n\n.action-widget .action-widget-action-bar {\n\tbackground-color: var(--vscode-editorHoverWidget-statusBarBackground);\n\tborder-top: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.action-widget .action-widget-action-bar::before {\n\tdisplay: block;\n\tcontent: "";\n\twidth: 100%;\n}\n\n.action-widget .action-widget-action-bar .actions-container {\n\tpadding: 0 8px;\n}\n\n.action-widget-action-bar .action-label {\n\tcolor: var(--vscode-textLink-activeForeground);\n\tfont-size: 12px;\n\tline-height: 22px;\n\tpadding: 0;\n\tpointer-events: all;\n}\n\n.action-widget-action-bar .action-item {\n\tmargin-right: 16px;\n\tpointer-events: none;\n}\n\n.action-widget-action-bar .action-label:hover {\n\tbackground-color: transparent !important;\n}\n',""]);const a=s},51854:(e,t,i)=>{i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(23645),s=i.n(r)()(n());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar .action-item.menu-entry .action-label.icon {\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-position: 50%;\n\tbackground-size: 16px;\n}\n\n.monaco-dropdown-with-default {\n\tdisplay: flex !important;\n\tflex-direction: row;\n\tborder-radius: 5px;\n}\n\n.monaco-dropdown-with-default > .action-container > .action-label {\n\tmargin-right: 0;\n}\n\n.monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon {\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-position: 50%;\n\tbackground-size: 16px;\n}\n\n.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {\n\tfont-size: 12px;\n\tpadding-left: 0px;\n\tpadding-right: 0px;\n\tline-height: 16px;\n\tmargin-left: -3px;\n}\n\n.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {\n\tdisplay: block;\n\tbackground-size: 16px;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n}\n",""]);const a=s},57150:(e,t,i)=>{i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(23645),s=i.n(r)()(n());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-link {\n\tcolor: var(--vscode-textLink-foreground);\n}\n\n.monaco-link:hover {\n\tcolor: var(--vscode-textLink-activeForeground);\n}\n\n",""]);const a=s},51961:(e,t,i)=>{i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(23645),s=i.n(r)()(n());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n\tposition: absolute;\n\twidth: 600px;\n\tz-index: 2550;\n\tleft: 50%;\n\tmargin-left: -300px;\n\t-webkit-app-region: no-drag;\n\tborder-radius: 6px;\n}\n\n.quick-input-titlebar {\n\tdisplay: flex;\n\talign-items: center;\n\tborder-top-left-radius: 5px; /* match border radius of quick input widget */\n\tborder-top-right-radius: 5px;\n}\n\n.quick-input-left-action-bar {\n\tdisplay: flex;\n\tmargin-left: 4px;\n\tflex: 1;\n}\n\n.quick-input-title {\n\tpadding: 3px 0px;\n\ttext-align: center;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.quick-input-right-action-bar {\n\tdisplay: flex;\n\tmargin-right: 4px;\n\tflex: 1;\n}\n\n.quick-input-right-action-bar > .actions-container {\n\tjustify-content: flex-end;\n}\n\n.quick-input-titlebar .monaco-action-bar .action-label.codicon {\n\tbackground-position: center;\n\tbackground-repeat: no-repeat;\n\tpadding: 2px;\n}\n\n.quick-input-description {\n\tmargin: 6px;\n}\n\n.quick-input-header .quick-input-description {\n\tmargin: 4px 2px;\n}\n\n.quick-input-header {\n\tdisplay: flex;\n\tpadding: 8px 6px 6px 6px;\n}\n\n.quick-input-widget.hidden-input .quick-input-header {\n\t/* reduce margins and paddings when input box hidden */\n\tpadding: 0;\n\tmargin-bottom: 0;\n}\n\n.quick-input-and-message {\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tmin-width: 0;\n\tposition: relative;\n}\n\n.quick-input-check-all {\n\talign-self: center;\n\tmargin: 0;\n}\n\n.quick-input-filter {\n\tflex-grow: 1;\n\tdisplay: flex;\n\tposition: relative;\n}\n\n.quick-input-box {\n\tflex-grow: 1;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-box,\n.quick-input-widget.show-checkboxes .quick-input-message {\n\tmargin-left: 5px;\n}\n\n.quick-input-visible-count {\n\tposition: absolute;\n\tleft: -10000px;\n}\n\n.quick-input-count {\n\talign-self: center;\n\tposition: absolute;\n\tright: 4px;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.quick-input-count .monaco-count-badge {\n\tvertical-align: middle;\n\tpadding: 2px 4px;\n\tborder-radius: 2px;\n\tmin-height: auto;\n\tline-height: normal;\n}\n\n.quick-input-action {\n\tmargin-left: 6px;\n}\n\n.quick-input-action .monaco-text-button {\n\tfont-size: 11px;\n\tpadding: 0 6px;\n\tdisplay: flex;\n\theight: 25px;\n\talign-items: center;\n}\n\n.quick-input-message {\n\tmargin-top: -1px;\n\tpadding: 5px;\n\toverflow-wrap: break-word;\n}\n\n.quick-input-message > .codicon {\n\tmargin: 0 0.2em;\n\tvertical-align: text-bottom;\n}\n\n/* Links in descriptions & validations */\n.quick-input-message a {\n\tcolor: inherit;\n}\n\n.quick-input-progress.monaco-progress-container {\n\tposition: relative;\n}\n\n.quick-input-progress.monaco-progress-container,\n.quick-input-progress.monaco-progress-container .progress-bit {\n\theight: 2px;\n}\n\n.quick-input-list {\n\tline-height: 22px;\n}\n\n.quick-input-widget.hidden-input .quick-input-list {\n\tmargin-top: 4px; /* reduce margins when input box hidden */\n\tpadding-bottom: 4px;\n}\n\n.quick-input-list .monaco-list {\n\toverflow: hidden;\n\tmax-height: calc(20 * 22px);\n\tpadding-bottom: 5px;\n}\n\n.quick-input-list .monaco-scrollable-element {\n\tpadding: 0px 5px;\n}\n\n.quick-input-list .quick-input-list-entry {\n\tbox-sizing: border-box;\n\toverflow: hidden;\n\tdisplay: flex;\n\theight: 100%;\n\tpadding: 0 6px;\n}\n\n.quick-input-list .quick-input-list-entry.quick-input-list-separator-border {\n\tborder-top-width: 1px;\n\tborder-top-style: solid;\n}\n\n.quick-input-list .monaco-list-row {\n\tborder-radius: 3px;\n}\n\n.quick-input-list .monaco-list-row[data-index=\"0\"] .quick-input-list-entry.quick-input-list-separator-border {\n\tborder-top-style: none;\n}\n\n.quick-input-list .quick-input-list-label {\n\toverflow: hidden;\n\tdisplay: flex;\n\theight: 100%;\n\tflex: 1;\n}\n\n.quick-input-list .quick-input-list-checkbox {\n\talign-self: center;\n\tmargin: 0;\n}\n\n.quick-input-list .quick-input-list-rows {\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tdisplay: flex;\n\tflex-direction: column;\n\theight: 100%;\n\tflex: 1;\n\tmargin-left: 5px;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {\n\tmargin-left: 10px;\n}\n\n.quick-input-widget .quick-input-list .quick-input-list-checkbox {\n\tdisplay: none;\n}\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {\n\tdisplay: inline;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {\n\tflex: 1; /* make sure the icon label grows within the row */\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {\n\tvertical-align: text-bottom;\n}\n\n.quick-input-list .quick-input-list-rows .monaco-highlighted-label > span {\n\topacity: 1;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {\n\tmargin-right: 8px; /* separate from the separator label or scrollbar if any */\n}\n\n.quick-input-list .quick-input-list-label-meta {\n\topacity: 0.7;\n\tline-height: normal;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n}\n\n.quick-input-list .monaco-highlighted-label .highlight {\n\tfont-weight: bold;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-separator {\n\tmargin-right: 4px; /* separate from keybindings or actions */\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tdisplay: flex;\n\tflex: 0;\n\toverflow: visible;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label {\n\t/*\n\t * By default, actions in the quick input action bar are hidden\n\t * until hovered over them or selected.\n\t */\n\tdisplay: none;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\n\tmargin-right: 4px;\n\tpadding: 0px 2px 2px 2px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tmargin-top: 1px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n\tmargin-right: 4px; /* separate from scrollbar */\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,\n.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {\n\tdisplay: flex;\n}\n\n/* focused items in quick pick */\n.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator {\n\tcolor: inherit\n}\n.quick-input-list .monaco-list-row.focused .monaco-keybinding-key {\n\tbackground: none;\n}\n",""]);const a=s},81050:(e,t,i)=>{i.d(t,{Z:()=>a});var o=i(8081),n=i.n(o),r=i(23645),s=i.n(r)()(n());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .zone-widget .codicon.codicon-error,\n.markers-panel .marker-icon.error, .markers-panel .marker-icon .codicon.codicon-error,\n.text-search-provider-messages .providerMessage .codicon.codicon-error,\n.extensions-viewlet > .extensions .codicon.codicon-error,\n.extension-editor .codicon.codicon-error,\n.preferences-editor .codicon.codicon-error {\n\tcolor: var(--vscode-problemsErrorIcon-foreground);\n}\n\n.monaco-editor .zone-widget .codicon.codicon-warning,\n.markers-panel .marker-icon.warning, .markers-panel .marker-icon .codicon.codicon-warning,\n.text-search-provider-messages .providerMessage .codicon.codicon-warning,\n.extensions-viewlet > .extensions .codicon.codicon-warning,\n.extension-editor .codicon.codicon-warning,\n.preferences-editor .codicon.codicon-warning {\n\tcolor: var(--vscode-problemsWarningIcon-foreground);\n}\n\n.monaco-editor .zone-widget .codicon.codicon-info,\n.markers-panel .marker-icon.info, .markers-panel .marker-icon .codicon.codicon-info,\n.text-search-provider-messages .providerMessage .codicon.codicon-info,\n.extensions-viewlet > .extensions .codicon.codicon-info,\n.extension-editor .codicon.codicon-info,\n.preferences-editor .codicon.codicon-info {\n\tcolor: var(--vscode-problemsInfoIcon-foreground);\n}\n",""]);const a=s},63580:(e,t,i)=>{i.d(t,{NC:()=>a,aj:()=>s});let o="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function n(e,t){let i;return i=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,i)=>{const o=i[0],n=t[o];let r=e;return"string"==typeof n?r=n:"number"!=typeof n&&"boolean"!=typeof n&&null!=n||(r=String(n)),r})),o&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function r(e,t,...i){return n(t,i)}function s(e){}function a(e,t){if("string"==typeof t){var i=a.mapLangIdx[t]||-1,o=a.mapNlsLang[a.selectLang]||{};i in o&&(t=o[i])}for(var n=[],s=0;s console.log` because `log` has been completed recently.":122,"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.":123,"Controls how suggestions are pre-selected when showing the suggest list.":124,"Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.":125,"Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.":126,"Tab complete will insert the best matching suggestion when pressing tab.":127,"Disable tab completions.":128,"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.":129,"Enables tab completions.":130,"Controls whether filtering and sorting suggestions accounts for small typos.":131,"Controls whether sorting favours words that appear close to the cursor.":132,"Control whether an active snippet prevents quick suggestions.":133,"Controls whether the editor should highlight matches similar to the selection":134,"Controls whether the editor should highlight semantic symbol occurrences.":135,"Controls the number of decorations that can show up at the same position in the overview ruler.":136,"Controls whether a border should be drawn around the overview ruler.":137,"Control the cursor animation style.":138,"Zoom the font of the editor when using mouse wheel and holding `Ctrl`.":139,"Controls the cursor style.":140,"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.":141,"Enables/Disables font ligatures.":142,"Controls whether the cursor should be hidden in the overview ruler.":143,"Render whitespace characters except for single spaces between words.":144,"Controls how the editor should render whitespace characters.":145,"Controls whether the editor should render control characters.":146,"Controls whether the editor should render indent guides.":147,"Controls whether the editor should highlight the active indent guide.":148,"Highlights both the gutter and the current line.":149,"Controls how the editor should render the current line highlight.":150,"Controls whether the editor shows CodeLens":151,"Controls whether the editor has code folding enabled":152,"Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.":153,"Controls whether the fold controls on the gutter are automatically hidden.":154,"Highlight matching brackets when one of them is selected.":155,"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.":156,"Inserting and deleting whitespace follows tab stops.":157,"Remove trailing auto inserted whitespace.":158,"Keep peek editors open even when double clicking their content or when hitting `Escape`.":159,"Controls whether the editor should allow moving selections via drag and drop.":160,"The editor will use platform APIs to detect when a Screen Reader is attached.":161,"The editor will be permanently optimized for usage with a Screen Reader.":162,"The editor is not accessible at this time. Press Alt+F1 for options.":163,"Editor content":164,"Unexpected exception while executing command.":165,"Plain Text":166,"[{0}]\n{1} [{2}]":167,"[{0}]\n{1}":168,"Background color for the highlight of line at the cursor position.":169,"Background color for the border around the line at the cursor position.":170,"Background color of highlighted ranges, like by quick open and find features. The color must not be opaque to not hide underlying decorations.":171,"Background color of the border around highlighted ranges.":172,"Color of the editor cursor.":173,"The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.":174,"Color of whitespace characters in the editor.":175,"Color of the editor indentation guides.":176,"Color of the active editor indentation guides.":177,"Color of editor line numbers.":178,"Color of editor active line number":179,"Id is deprecated. Use 'editorLineNumber.activeForeground' instead.":180,"Color of the editor rulers.":181,"Foreground color of editor code lenses":182,"Background color behind matching brackets":183,"Color for matching brackets boxes":184,"Color of the overview ruler border.":185,"Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.":186,"Foreground color of error squigglies in the editor.":187,"Border color of error squigglies in the editor.":188,"Foreground color of warning squigglies in the editor.":189,"Border color of warning squigglies in the editor.":190,"Foreground color of info squigglies in the editor.":191,"Border color of info squigglies in the editor.":192,"Foreground color of hint squigglies in the editor.":193,"Border color of hint squigglies in the editor.":194,"Border of unnecessary code in the editor.":195,"Opacity of unnecessary code in the editor.":196,"Overview ruler marker color for errors.":197,"Overview ruler marker color for warnings.":198,"Overview ruler marker color for infos.":199,"Overview ruler marker color for matching brackets.":200,"Go to Bracket":201,"Select to Bracket":202,"Move Caret Left":203,"Move Caret Right":204,"Transpose Letters":205,Cut:206,"Cu&&t":207,Copy:208,"&&Copy":209,Paste:210,"&&Paste":211,"Copy With Syntax Highlighting":212,"Show Fixes ({0})":213,"Show Fixes":214,"Quick Fix...":215,"No code actions available":216,"Refactor...":217,"No refactorings available":218,"Source Action...":219,"No source actions available":220,"Organize Imports":221,"No organize imports action available":222,"Toggle Line Comment":223,"&&Toggle Line Comment":224,"Add Line Comment":225,"Remove Line Comment":226,"Toggle Block Comment":227,"Toggle &&Block Comment":228,"Show Editor Context Menu":229,"Soft Undo":230,Find:231,"&&Find":232,"Find With Selection":233,"Find Next":234,"Find Previous":235,"Find Next Selection":236,"Find Previous Selection":237,Replace:238,"&&Replace":239,"Previous match":240,"Next match":241,"Find in selection":242,"Replace All":243,"Toggle Replace mode":244,"Only the first {0} results are highlighted, but all find operations work on the entire text.":245,"{0} of {1}":246,"No Results":247,Unfold:248,"Unfold Recursively":249,Fold:250,"Fold Recursively":251,"Fold All Block Comments":252,"Fold All Regions":253,"Unfold All Regions":254,"Fold All":255,"Unfold All":256,"Fold Level {0}":257,"Editor Font Zoom In":258,"Editor Font Zoom Out":259,"Editor Font Zoom Reset":260,"Made 1 formatting edit on line {0}":261,"Made {0} formatting edits on line {1}":262,"Made 1 formatting edit between lines {0} and {1}":263,"Made {0} formatting edits between lines {1} and {2}":264,"There is no formatter for '{0}'-files installed.":265,"Format Document":266,"There is no document formatter for '{0}'-files installed.":267,"Format Selection":268,"There is no selection formatter for '{0}'-files installed.":269,"No definition found for '{0}'":270,"No definition found":271," – {0} definitions":272,"Go to Definition":273,"Open Definition to the Side":274,"Peek Definition":275,"No implementation found for '{0}'":276,"No implementation found":277," – {0} implementations":278,"Go to Implementation":279,"Peek Implementation":280,"No type definition found for '{0}'":281,"No type definition found":282," – {0} type definitions":283,"Go to Type Definition":284,"Peek Type Definition":285,"Click to show {0} definitions.":286,"Go to Next Problem (Error, Warning, Info)":287,"Go to Previous Problem (Error, Warning, Info)":288,"Go to Next Problem in Files (Error, Warning, Info)":289,"Go to Previous Problem in Files (Error, Warning, Info)":290,"({0}/{1})":291,"Editor marker navigation widget error color.":292,"Editor marker navigation widget warning color.":293,"Editor marker navigation widget info color.":294,"Editor marker navigation widget background.":295,"Show Hover":296,"Loading...":297,"Replace with Previous Value":298,"Replace with Next Value":299,"Copy Line Up":300,"&&Copy Line Up":301,"Copy Line Down":302,"Co&&py Line Down":303,"Move Line Up":304,"Mo&&ve Line Up":305,"Move Line Down":306,"Move &&Line Down":307,"Sort Lines Ascending":308,"Sort Lines Descending":309,"Trim Trailing Whitespace":310,"Delete Line":311,"Indent Line":312,"Outdent Line":313,"Insert Line Above":314,"Insert Line Below":315,"Delete All Left":316,"Delete All Right":317,"Join Lines":318,"Transpose characters around the cursor":319,"Transform to Uppercase":320,"Transform to Lowercase":321,"Cmd + click to follow link":322,"Ctrl + click to follow link":323,"Cmd + click to execute command":324,"Ctrl + click to execute command":325,"Option + click to follow link":326,"Alt + click to follow link":327,"Option + click to execute command":328,"Alt + click to execute command":329,"Failed to open this link because it is not well-formed: {0}":330,"Failed to open this link because its target is missing.":331,"Open Link":332,"Cannot edit in read-only editor":333,"Add Cursor Above":334,"&&Add Cursor Above":335,"Add Cursor Below":336,"A&&dd Cursor Below":337,"Add Cursors to Line Ends":338,"Add C&&ursors to Line Ends":339,"Add Selection To Next Find Match":340,"Add &&Next Occurrence":341,"Add Selection To Previous Find Match":342,"Add P&&revious Occurrence":343,"Move Last Selection To Next Find Match":344,"Move Last Selection To Previous Find Match":345,"Select All Occurrences of Find Match":346,"Select All &&Occurrences":347,"Change All Occurrences":348,"Trigger Parameter Hints":349,"{0}, hint":350," – {0} references":351,"Find All References":352,"symbol in {0} on line {1} at column {2}":353,"1 symbol in {0}, full path {1}":354,"{0} symbols in {1}, full path {2}":355,"No results found":356,"Found 1 symbol in {0}":357,"Found {0} symbols in {1}":358,"Found {0} symbols in {1} files":359,"Failed to resolve file.":360,"{0} references":361,"{0} reference":362,"no preview available":363,References:364,"No results":365,"Background color of the peek view title area.":366,"Color of the peek view title.":367,"Color of the peek view title info.":368,"Color of the peek view borders and arrow.":369,"Background color of the peek view result list.":370,"Foreground color for line nodes in the peek view result list.":371,"Foreground color for file nodes in the peek view result list.":372,"Background color of the selected entry in the peek view result list.":373,"Foreground color of the selected entry in the peek view result list.":374,"Background color of the peek view editor.":375,"Background color of the gutter in the peek view editor.":376,"Match highlight color in the peek view result list.":377,"Match highlight color in the peek view editor.":378,"Match highlight border in the peek view editor.":379,"No result.":380,"An unknown error occurred while resolving rename location":381,"Successfully renamed '{0}' to '{1}'. Summary: {2}":382,"Rename failed to execute.":383,"Rename input. Type new name and press Enter to commit.":384,"Expand Select":385,"&&Expand Selection":386,"Shrink Select":387,"&&Shrink Selection":388,Sunday:389,Monday:390,Tuesday:391,Wednesday:392,Thursday:393,Friday:394,Saturday:395,Sun:396,Mon:397,Tue:398,Wed:399,Thu:400,Fri:401,Sat:402,January:403,February:404,March:405,April:406,May:407,June:408,July:409,August:410,September:411,October:412,November:413,December:414,Jan:415,Feb:416,Mar:417,Apr:418,Jun:419,Jul:420,Aug:421,Sep:422,Oct:423,Nov:424,Dec:425,"Accepting '{0}' did insert the following text: {1}":426,"Trigger Suggest":427,"Background color of the suggest widget.":428,"Border color of the suggest widget.":429,"Foreground color of the suggest widget.":430,"Background color of the selected entry in the suggest widget.":431,"Color of the match highlights in the suggest widget.":432,"Read More...{0}":433,"Read less...{0}":434,"No suggestions.":435,"{0}, accepted":436,"{0}, snippet suggestion":437,"{0}, suggestion":438,"{0}, snippet suggestion. Reading details. {1}":439,"{0}, suggestion. Reading details. {1}":440,"Toggle Tab Key Moves Focus":441,"Background color of a symbol during read-access, like reading a variable. The color must not be opaque to not hide underlying decorations.":442,"Background color of a symbol during write-access, like writing to a variable. The color must not be opaque to not hide underlying decorations.":443,"Border color of a symbol during read-access, like reading a variable.":444,"Border color of a symbol during write-access, like writing to a variable.":445,"Overview ruler marker color for symbol highlights. The color must not be opaque to not hide underlying decorations.":446,"Overview ruler marker color for write-access symbol highlights. The color must not be opaque to not hide underlying decorations.":447,"Go to Next Symbol Highlight":448,"Go to Previous Symbol Highlight":449,"No selection":450,"Line {0}, Column {1} ({2} selected)":451,"Line {0}, Column {1}":452,"{0} selections ({1} characters selected)":453,"{0} selections":454,"Now changing the setting `accessibilitySupport` to 'on'.":455,"Now opening the Editor Accessibility documentation page.":456," in a read-only pane of a diff editor.":457," in a pane of a diff editor.":458," in a read-only code editor":459," in a code editor":460,"To configure the editor to be optimized for usage with a Screen Reader press Command+E now.":461,"To configure the editor to be optimized for usage with a Screen Reader press Control+E now.":462,"The editor is configured to be optimized for usage with a Screen Reader.":463,"The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time.":464,"Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}.":465,"Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding.":466,"Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}.":467,"Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding.":468,"Press Command+H now to open a browser window with more information related to editor accessibility.":469,"Press Control+H now to open a browser window with more information related to editor accessibility.":470,"You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape.":471,"Show Accessibility Help":472,"Developer: Inspect Tokens":473,"Go to line {0} and character {1}":474,"Go to line {0}":475,"Type a line number between 1 and {0} to navigate to":476,"Type a character between 1 and {0} to navigate to":477,"Type a line number, followed by an optional colon and a character number to navigate to":478,"Go to Line...":479,"{0}, commands":480,"Type the name of an action you want to execute":481,"Command Palette":482,"{0}, symbols":483,"Type the name of an identifier you wish to navigate to":484,"Go to Symbol...":485,"symbols ({0})":486,"modules ({0})":487,"classes ({0})":488,"interfaces ({0})":489,"methods ({0})":490,"functions ({0})":491,"properties ({0})":492,"variables ({0})":493,"constructors ({0})":494,"calls ({0})":495,"Made {0} edits in {1} files":496,"Press Ctrl+F1 for Accessibility Options.":497,"Press Alt+F1 for Accessibility Options.":498,"Toggle High Contrast Theme":499,"Default Configuration Overrides":500,"Configure editor settings to be overridden for {0} language.":501,"Configure editor settings to be overridden for a language.":502,"Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.":503,"Cannot register '{0}'. This property is already registered.":504,"({0}) was pressed. Waiting for second key of chord...":505,"The key combination ({0}, {1}) is not a command.":506,Workbench:507,"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.":508,"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. ":509,"Controls whether trees support horizontal scrolling in the workbench.":510,"Colors used in the workbench.":511,"Overall foreground color. This color is only used if not overridden by a component.":512,"Overall foreground color for error messages. This color is only used if not overridden by a component.":513,"Overall border color for focused elements. This color is only used if not overridden by a component.":514,"An extra border around elements to separate them from others for greater contrast.":515,"An extra border around active elements to separate them from others for greater contrast.":516,"Foreground color for links in text.":517,"Background color for code blocks in text.":518,"Shadow color of widgets such as find/replace inside the editor.":519,"Input box background.":520,"Input box foreground.":521,"Input box border.":522,"Border color of activated options in input fields.":523,"Input validation background color for information severity.":524,"Input validation foreground color for information severity.":525,"Input validation border color for information severity.":526,"Input validation background color for warning severity.":527,"Input validation foreground color for warning severity.":528,"Input validation border color for warning severity.":529,"Input validation background color for error severity.":530,"Input validation foreground color for error severity.":531,"Input validation border color for error severity.":532,"Dropdown background.":533,"Dropdown foreground.":534,"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.":535,"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.":536,"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.":537,"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.":538,"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.":539,"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.":540,"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.":541,"List/Tree background when hovering over items using the mouse.":542,"List/Tree foreground when hovering over items using the mouse.":543,"List/Tree drag and drop background when moving items around using the mouse.":544,"List/Tree foreground color of the match highlights when searching inside the list/tree.":545,"Quick picker color for grouping labels.":546,"Quick picker color for grouping borders.":547,"Badge background color. Badges are small information labels, e.g. for search results count.":548,"Badge foreground color. Badges are small information labels, e.g. for search results count.":549,"Scrollbar shadow to indicate that the view is scrolled.":550,"Scrollbar slider background color.":551,"Scrollbar slider background color when hovering.":552,"Scrollbar slider background color when clicked on.":553,"Background color of the progress bar that can show for long running operations.":554,"Border color of menus.":555,"Foreground color of menu items.":556,"Background color of menu items.":557,"Foreground color of the selected menu item in menus.":558,"Background color of the selected menu item in menus.":559,"Border color of the selected menu item in menus.":560,"Color of a separator menu item in menus.":561,"Editor background color.":562,"Editor default foreground color.":563,"Background color of editor widgets, such as find/replace.":564,"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.":565,"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.":566,"Color of the editor selection.":567,"Color of the selected text for high contrast.":568,"Color of the selection in an inactive editor. The color must not be opaque to not hide underlying decorations.":569,"Color for regions with the same content as the selection. The color must not be opaque to not hide underlying decorations.":570,"Border color for regions with the same content as the selection.":571,"Color of the current search match.":572,"Color of the other search matches. The color must not be opaque to not hide underlying decorations.":573,"Color of the range limiting the search. The color must not be opaque to not hide underlying decorations.":574,"Border color of the current search match.":575,"Border color of the other search matches.":576,"The editor will never be optimized for usage with a Screen Reader.":577,"Controls whether the editor should run in a mode where it is optimized for screen readers.":578,"Controls fading out of unused code.":579,"Controls whether the editor should detect links and make them clickable.":580,"Controls whether the editor should render the inline color decorators and color picker.":581,"Enables the code action lightbulb in the editor.":582,"Controls whether organize imports action should be run on file save.":583,"Code action kinds to be run on save.":584,"Timeout in milliseconds after which the code actions that are run on save are cancelled.":585,"Controls whether the Linux primary clipboard should be supported.":586,"Controls whether the diff editor shows the diff side by side or inline.":587,"Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.":588,"Special handling for large files to disable certain memory intensive features.":589,"Controls whether the diff editor shows +/- indicators for added/removed changes.":590,"[{0}] {1} [{2}]":591,"[{0}] {1}":592,"Go to &&Definition":593,"Go to &&Type Definition":594,"Go to &&Implementation":595,"Rename Symbol":596,"{0}, snippet suggestion, has details":597,"{0}, suggestion, has details":598,"Pressing Tab will now move focus to the next focusable element":599,"Pressing Tab will now insert the tab character":600,"Trigger Symbol Highlight":601,"Border color of the range limiting the search. The color must not be opaque to not hide underlying decorations.":602,"Highlight below the word for which a hover is shown. The color must not be opaque to not hide underlying decorations.":603,"Background color of the editor hover.":604,"Border color of the editor hover.":605,"Color of active links.":606,"Background color for text that got inserted. The color must not be opaque to not hide underlying decorations.":607,"Background color for text that got removed. The color must not be opaque to not hide underlying decorations.":608,"Outline color for the text that got inserted.":609,"Outline color for text that got removed.":610,"Border color between the two text editors.":611,"Highlight background color of a snippet tabstop.":612,"Highlight border color of a snippet tabstop.":613,"Highlight background color of the final tabstop of a snippet.":614,"Highlight border color of the final stabstop of a snippet.":615,"Overview ruler marker color for find matches. The color must not be opaque to not hide underlying decorations.":616,"Overview ruler marker color for selection highlights. The color must not be opaque to not hide underlying decorations.":617},a.mapNlsLang={es:{0:"{0} ({1})",1:"{0} (ocurrió de nuevo)",2:"{0} (occurred {1} times)",3:"entrada",4:"Coincidir mayúsculas y minúsculas",5:"Solo palabras completas",6:"Usar expresión regular",7:"Error: {0}",8:"Advertencia: {0}",9:"Información: {0}",10:"{0}. Use the navigation keys to navigate.",11:"Ctrl",12:"Mayús",13:"Alt",14:"Windows",15:"Super",16:"Control",17:"Comando",18:"Error",19:"Advertencia",20:"Información",21:"{0}, selector",22:"selector",23:"Selector rápido. Escriba para restringir los resultados.",24:"Selector rápido",25:"{0} Results",26:"&&Select All",27:"&&Undo",28:"&&Redo",29:"El número de cursores se ha limitado a {0}.",30:"Los archivos no se pueden comparar porque uno de ellos es demasiado grande.",31:"Cerrar",32:"sin líneas",33:"1 línea",34:"{0} líneas",35:"Diferencia {0} de {1}: original {2}, {3}, modificado {4}, {5}",36:"vacío",37:"original {0}, modificado {1}: {2}",38:"+ modificado {0}: {1}",39:"- original {0}: {1}",40:"Ir a la siguiente diferencia",41:"Ir a la diferencia anterior",42:"Editor",43:"Controla la familia de fuentes.",44:"Controla el grosor de la fuente.",45:"Controla el tamaño de fuente en píxeles.",46:"Controla la altura de línea. Utilice 0 para calcular el valor de lineHeight a partir de fontSize.",47:"Controla el espacio entre letras en pixels.",48:"Los números de línea no se muestran.",49:"Los números de línea se muestran como un número absoluto.",50:"Los números de línea se muestran como distancia en líneas a la posición del cursor.",51:"Los números de línea se muestran cada 10 líneas.",52:"Controla la visualización de los números de línea.",53:"Representar reglas verticales después de un cierto número de caracteres monoespacio. Usar multiples valores para multiples reglas. No se dibuja ninguna regla si la matriz esta vacía.",54:"Caracteres que se usarán como separadores de palabras al realizar operaciones o navegaciones relacionadas con palabras.",55:"El número de espacios a los que equivale una tabulación. Este valor se invalida según el contenido del archivo cuando `editor.detectIndentation` está activado.",56:'Se esperaba "number". Tenga en cuenta que el ajuste "editor.detectIndentation" ha reemplazado al valor "auto".',57:'Insertar espacios al presionar TAB. Este valor se invalida en función del contenido del archivo cuando "editor.detectIndentation" está activado.',58:'Se esperaba "boolean". Tenga en cuenta que el ajuste "editor.detectIndentation" ha reemplazado al valor "auto".',59:"Al abrir un archivo, se detectarán `editor.tabSize` y `editor.insertSpaces` en función del contenido del archivo.",60:"Controla si las selecciones tienen esquinas redondeadas",61:"Controla si el editor se seguirá desplazando después de la última línea",62:"Controla el número de caracteres adicionales a partir del cual el editor se desplazará horizontalmente",63:"Controla si el editor se desplaza con una animación",64:"Controla si se muestra el minimapa",65:"Controla en qué lado se muestra el minimapa.",66:"Controla si el control deslizante del minimapa es ocultado automáticamente.",67:"Presentar los caracteres reales en una línea (por oposición a bloques de color)",68:"Limitar el ancho del minimapa para presentar como mucho un número de columnas determinado",69:"Controls whether the hover is shown.",70:"Time delay in milliseconds after which to the hover is shown.",71:"Controls whether the hover should remain visible when mouse is moved over it.",72:"Controla si se inicializa la cadena de búsqueda en Buscar widget en la selección del editor",73:"Controla si el indicador Buscar en selección se activa cuando se seleccionan varios caracteres o líneas de texto en el editor",74:"Controla si el widget de búsqueda debería leer o modificar el portapapeles de busqueda compartido en macOS",75:"Las líneas no se ajustarán nunca.",76:"Las líneas se ajustarán en el ancho de la ventanilla.",77:'Las líneas se ajustarán en "editor.wordWrapColumn".',78:'Las líneas se ajustarán al valor que sea inferior: el tamaño de la ventanilla o el valor de "editor.wordWrapColumn".',79:'Controla cómo se deben ajustar las líneas. Pueden ser:\n - "off" (deshabilitar ajuste),\n - "on" (ajuste de ventanilla),\n - "wordWrapColumn" (ajustar en "editor.wordWrapColumn") o\n - "bounded" (ajustar en la parte mínima de la ventanilla y "editor.wordWrapColumn").',80:"Controls the wrapping column of the editor when `editor.wordWrap` is 'wordWrapColumn' or 'bounded'.",81:"No indentation. Wrapped lines begin at column 1.",82:"Wrapped lines get the same indentation as the parent.",83:"Wrapped lines get +1 indentation toward the parent.",84:"Wrapped lines get +2 indentation toward the parent.",85:'Se asigna a "Control" en Windows y Linux y a "Comando" en macOS.',86:'Se asigna a "Alt" en Windows y Linux y a "Opción" en macOS.',87:'Se asigna a "Control" en Windows y Linux y a "Comando" en macOS.',88:'Se asigna a "Alt" en Windows y Linux y a "Opción" en macOS.',89:'El modificador que se usará para agregar varios cursores con el mouse. "ctrlCmd" se asigna a "Control" en Windows y Linux y a "Comando" en macOS. Los gestos del mouse "Ir a la definición" y "Abrir vínculo" se adaptarán de modo que no entren en conflicto con el modificador multicurso',90:"Combinar varios cursores cuando se solapan.",91:"Habilita sugerencias rápidas en las cadenas.",92:"Habilita sugerencias rápidas en los comentarios.",93:"Habilita sugerencias rápidas fuera de las cadenas y los comentarios.",94:"Controla si las sugerencias deben mostrarse automáticamente mientras se escribe",95:"Controla el retardo en ms tras el cual aparecerán sugerencias rápidas",96:"Habilita el desplegable que muestra documentación de los parámetros e información de los tipos mientras escribe",97:"Controla si el editor debe cerrar automáticamente los corchetes después de abrirlos",98:"Controla si el editor debe dar formato automáticamente a la línea después de escribirla",99:"Controla si el editor debe formatear automáticamente el contenido pegado. Debe haber disponible un formateador capaz de aplicar formato a un intervalo dentro de un documento.",100:"Controla si el editor debería ajustar automáticamente la sangría cuando los usuarios escriben, pegan o mueven líneas. Las reglas de sangría del idioma deben estar disponibles",101:"Controla si las sugerencias deben aparecer de forma automática al escribir caracteres desencadenadores",102:"Only accept a suggestion with `Enter` when it makes a textual change.",103:'Controla si las sugerencias deben aceptarse en "Entrar" (además de "TAB"). Ayuda a evitar la ambigüedad entre insertar nuevas líneas o aceptar sugerencias. El valor "smart" significa que solo se acepta una sugerencia con Entrar cuando se realiza un cambio textual.',104:'Controla si se deben aceptar sugerencias en los caracteres de confirmación. Por ejemplo, en Javascript, el punto y coma (";") puede ser un carácter de confirmación que acepta una sugerencia y escribe ese carácter.',105:"Mostrar sugerencias de fragmentos de código por encima de otras sugerencias.",106:"Mostrar sugerencias de fragmentos de código por debajo de otras sugerencias.",107:"Mostrar sugerencias de fragmentos de código con otras sugerencias.",108:"No mostrar sugerencias de fragmentos de código.",109:"Controla si se muestran los fragmentos de código con otras sugerencias y cómo se ordenan.",110:"Controla si al copiar sin selección se copia la línea actual.",111:"Habilita sugerencias basadas en palabras.",112:"Siempre seleccione la primera sugerencia.",113:"Seleccione sugerencias recientes a menos que escriba una nueva opción, por ejemplo ' Console. | -> Console. log ' porque ' log ' se ha completado recientemente.",114:"Seleccione sugerencias basadas en prefijos anteriores que han completado esas sugerencias, por ejemplo, ' Co-> Console ' y ' con-> const '.",115:"Controla cómo se preseleccionan las sugerencias cuando se muestra la lista,",116:"Tamaño de fuente para el widget de sugerencias",117:"Alto de línea para el widget de sugerencias",118:"Controls whether filtering and sorting suggestions accounts for small typos.",119:"Control whether an active snippet prevents quick suggestions.",120:"Controla si el editor debería destacar coincidencias similares a la selección",121:"Controla si el editor debe resaltar los símbolos semánticos.",122:"Controla el número de decoraciones que pueden aparecer en la misma posición en la regla de visión general",123:"Controla si debe dibujarse un borde alrededor de la regla de información general.",124:"Controla el estilo de animación del cursor.",125:"Ampliar la fuente del editor cuando se use la rueda del mouse mientras se presiona Ctrl",126:'Controla el estilo del cursor. Los valores aceptados son "block", "block-outline", "line", "line-thin", "underline" y "underline-thin"',127:"Controla el ancho del cursor cuando editor.cursorStyle se establece a 'line'",128:"Habilita las ligaduras tipográficas.",129:"Controla si el cursor debe ocultarse en la regla de visión general.",130:"Render whitespace characters except for single spaces between words.",131:'Controla cómo debe representar el editor los espacios en blanco. Las posibilidades son "none", "boundary" y "all". La opción "boundary" no representa los espacios individuales entre palabras.',132:"Controla si el editor debe representar caracteres de control",133:"Controla si el editor debe representar guías de sangría.",134:"Controls whether the editor should highlight the active indent guide.",135:"Highlights both the gutter and the current line.",136:'Controla cómo el editor debe presentar el resaltado de línea. Las posibilidades son "ninguno", "margen", "línea" y "todo".',137:"Controla si el editor muestra CodeLens",138:"Controla si el editor tiene habilitado el plegado de código.",139:"Controla la forma en que se calculan las gamas plegables. Las selecciones ' auto' utilizan una estrategia de plegado específica del idioma, si está disponible. 'Sangría' obliga a utilizar la estrategia de plegado con sangría.",140:"Controla cuándo los controles de plegado del margen son ocultados automáticamente.",141:"Resaltar corchetes coincidentes cuando se seleccione uno de ellos.",142:"Controla si el editor debe representar el margen de glifo vertical. El margen de glifo se usa, principalmente, para depuración.",143:"La inserción y eliminación del espacio en blanco sigue a las tabulaciones.",144:"Quitar espacio en blanco final autoinsertado",145:"Mantiene abierto el editor interactivo incluso al hacer doble clic en su contenido o presionar Escape.",146:"Controla si el editor debe permitir mover selecciones mediante arrastrar y colocar.",147:"El editor usará API de plataforma para detectar cuándo está conectado un lector de pantalla.",148:"El editor se optimizará de forma permanente para su uso con un editor de pantalla.",149:"El editor nunca se optimizará para su uso con un lector de pantalla.",150:"Controla si el editor se debe ejecutar en un modo optimizado para lectores de pantalla.",151:"Controls fading out of unused code.",152:"Controla si el editor debe detectar enlaces y hacerlos cliqueables",153:"Controla si el editor debe representar el Selector de colores y los elementos Decorator de color en línea.",154:"Permite que el foco de acción del código",155:"¿organizar importaciones en guardar?",156:"Tipos de acción de código que se ejecutarán en guardar.",157:"Tiempo de espera para ejecutar acciones de código en guardar.",158:"Controla si el portapapeles principal de Linux debe admitirse.",159:"Controla si el editor de diferencias muestra las diferencias en paralelo o alineadas.",160:"Controla si el editor de diferencias muestra los cambios de espacio inicial o espacio final como diferencias.",161:"Manejo especial para archivos grandes para desactivar ciertas funciones de memoria intensiva.",162:"Controla si el editor de diff muestra indicadores +/- para cambios agregados/quitados",163:"No se puede acceder al editor en este momento. Presione Alt+F1 para ver opciones.",164:"Editor content",165:"Excepción inesperada al ejecutar el comando.",166:"Texto sin formato",167:"[{0}]\n{1}",168:"[{0}] {1}",169:"Color de fondo para la línea resaltada en la posición del cursor.",170:"Color de fondo del borde alrededor de la línea en la posición del cursor.",171:"Color de fondo de los rangos resaltados, como por ejemplo las características de abrir rápidamente y encontrar. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",172:"Color de fondo del borde alrededor de los intervalos resaltados.",173:"Color del cursor del editor.",174:"Color de fondo del cursor de edición. Permite personalizar el color del caracter solapado por el bloque del cursor.",175:"Color de los caracteres de espacio en blanco del editor.",176:"Color de las guías de sangría del editor.",177:"Color de las guías de sangría activas del editor.",178:"Color de números de línea del editor.",179:"Color del número de línea activa en el editor",180:"ID es obsoleto. Usar en lugar 'editorLineNumber.activeForeground'. ",181:"Color de las reglas del editor",182:"Color principal de lentes de código en el editor",183:"Color de fondo tras corchetes coincidentes",184:"Color de bloques con corchetes coincidentes",185:"Color del borde de la regla de visión general.",186:"Color de fondo del margen del editor. Este espacio contiene los márgenes de glifos y los números de línea.",187:"Color de primer plano de squigglies de error en el editor.",188:"Color de borde de squigglies de error en el editor.",189:"Color de primer plano de squigglies de advertencia en el editor.",190:"Color de borde de squigglies de advertencia en el editor.",191:"Color de primer plano de los subrayados ondulados informativos en el editor.",192:"Color del borde de los subrayados ondulados informativos en el editor.",193:"Color de primer plano de pista squigglies en el editor.",194:"Color de borde de pista squigglies en el editor.",195:"Border of unnecessary code in the editor.",196:"Opacity of unnecessary code in the editor.",197:"Color de marcador de regla de información general para errores. ",198:"Color de marcador de regla de información general para advertencias.",199:"Color de marcador de regla de información general para mensajes informativos. ",200:"Resumen color de marcador de regla para corchetes.",201:"Ir al corchete",202:"Seleccione esta opción para soporte",203:"Mover símbolo de inserción a la izquierda",204:"Mover símbolo de inserción a la derecha",205:"Transponer letras",206:"Cortar",207:"Cu&&t",208:"Copiar",209:"&&Copy",210:"Pegar",211:"&&Paste",212:"Copiar con resaltado de sintaxis",213:"Mostrar correcciones ({0})",214:"Mostrar correcciones",215:"Corrección Rápida",216:"No hay acciones de código disponibles",217:"Refactorizar...",218:"No hay refactorizaciones disponibles",219:"Acción de Origen...",220:"No hay acciones de origen disponibles",221:"Organizar Importaciones",222:"No hay acciones de importación disponibles",223:"Alternar comentario de línea",224:"&&Toggle Line Comment",225:"Agregar comentario de línea",226:"Quitar comentario de línea",227:"Alternar comentario de bloque",228:"Toggle &&Block Comment",229:"Mostrar menú contextual del editor",230:"Soft Undo",231:"Buscar",232:"&&Find",233:"Buscar con selección",234:"Buscar siguiente",235:"Buscar anterior",236:"Buscar selección siguiente",237:"Buscar selección anterior",238:"Reemplazar",239:"&&Replace",240:"Coincidencia anterior",241:"Coincidencia siguiente",242:"Buscar en selección",243:"Reemplazar todo",244:"Alternar modo de reemplazar",245:"Sólo los primeros {0} resultados son resaltados, pero todas las operaciones de búsqueda trabajan en todo el texto.",246:"{0} de {1}",247:"Sin resultados",248:"Desplegar",249:"Desplegar de forma recursiva",250:"Plegar",251:"Plegar de forma recursiva",252:"Cerrar todos los comentarios de bloqueo",253:"Plegar todas las regiones",254:"Desplegar Todas las Regiones",255:"Plegar todo",256:"Desplegar todo",257:"Nivel de plegamiento {0}",258:"Acercarse a la tipografía del editor",259:"Alejarse de la tipografía del editor",260:"Restablecer alejamiento de la tipografía del editor",261:"1 edición de formato en la línea {0}",262:"{0} ediciones de formato en la línea {1}",263:"1 edición de formato entre las líneas {0} y {1}",264:"{0} ediciones de formato entre las líneas {1} y {2}",265:"No hay formateador para los archivos ' {0} ' instalados.",266:"Dar formato al documento",267:"No hay formateador de documentos para los archivos ' {0} ' instalados.",268:"Dar formato a la selección",269:"No hay formateador de selección para los archivos ' {0} ' instalados.",270:'No se encontró ninguna definición para "{0}"',271:"No se encontró ninguna definición",272:" – {0} definiciones",273:"Ir a definición",274:"Abrir definición en el lateral",275:"Ver la definición",276:'No se encontró ninguna implementación para "{0}"',277:"No se encontró ninguna implementación",278:"{0} implementaciones",279:"Ir a implementación",280:"Inspeccionar implementación",281:'No se encontró ninguna definición de tipo para "{0}"',282:"No se encontró ninguna definición de tipo",283:" – {0} definiciones de tipo",284:"Ir a la definición de tipo",285:"Inspeccionar definición de tipo",286:"Haga clic para mostrar {0} definiciones.",287:"Ir al siguiente problema (Error, Advertencia, Información)",288:"Ir al problema anterior (Error, Advertencia, Información)",289:"Ir al siguiente problema en Archivos (Error, Advertencia, Información)",290:"Ir al problema anterior en Archivos (Error, Advertencia, Información)",291:"({0}/{1})",292:"Color de los errores del widget de navegación de marcadores del editor.",293:"Color de las advertencias del widget de navegación de marcadores del editor.",294:"Color del widget informativo marcador de navegación en el editor.",295:"Fondo del widget de navegación de marcadores del editor.",296:"Mostrar al mantener el puntero",297:"{0}, sugerencia",298:"Reemplazar con el valor anterior",299:"Reemplazar con el valor siguiente",300:"Copiar línea arriba",301:"&&Copy Line Up",302:"Copiar línea abajo",303:"Co&&py Line Down",304:"Mover línea hacia arriba",305:"Mo&&ve Line Up",306:"Mover línea hacia abajo",307:"Move &&Line Down",308:"Ordenar líneas en orden ascendente",309:"Ordenar líneas en orden descendente",310:"Recortar espacio final",311:"Eliminar línea",312:"Sangría de línea",313:"Anular sangría de línea",314:"Insertar línea arriba",315:"Insertar línea debajo",316:"Eliminar todo a la izquierda",317:"Eliminar todo lo que está a la derecha",318:"Unir líneas",319:"Transponer caracteres alrededor del cursor",320:"Transformar a mayúsculas",321:"Transformar a minúsculas",322:"Cmd + clic para abrir el vínculo",323:"Ctrl + clic para abrir el vínculo",324:"Cmd + click para ejecutar el comando",325:"Ctrl + click para ejecutar el comando",326:"Opción + clic para seguir el enlace",327:"Alt + clic para seguir el vínculo",328:"Opción + click para ejecutar el comando",329:"Alt + clic para ejecutar el comando",330:"No se pudo abrir este vínculo porque no tiene un formato correcto: {0}",331:"No se pudo abrir este vínculo porque falta el destino.",332:"Abrir vínculo",333:"No se puede editar en un editor de sólo lectura",334:"Agregar cursor arriba",335:"&&Add Cursor Above",336:"Agregar cursor debajo",337:"A&&dd Cursor Below",338:"Añadir cursores a finales de línea",339:"Add C&&ursors to Line Ends",340:"Agregar selección hasta la siguiente coincidencia de búsqueda",341:"Add &&Next Occurrence",342:"Agregar selección hasta la anterior coincidencia de búsqueda",343:"Add P&&revious Occurrence",344:"Mover última selección hasta la siguiente coincidencia de búsqueda",345:"Mover última selección hasta la anterior coincidencia de búsqueda",346:"Seleccionar todas las repeticiones de coincidencia de búsqueda",347:"Select All &&Occurrences",348:"Cambiar todas las ocurrencias",349:"Sugerencias para parámetros Trigger",350:"{0}, sugerencia",351:" – {0} referencias",352:"Buscar todas las referencias",353:"símbolo en {0} linea {1} en la columna {2}",354:"1 símbolo en {0}, ruta de acceso completa {1}",355:"{0} símbolos en {1}, ruta de acceso completa {2}",356:"No se encontraron resultados",357:"Encontró 1 símbolo en {0}",358:"Encontró {0} símbolos en {1}",359:"Encontró {0} símbolos en {1} archivos",360:"Error al resolver el archivo.",361:"{0} referencias",362:"{0} referencia",363:"vista previa no disponible",364:"Referencias",365:"No hay resultados.",366:"Color de fondo del área de título de la vista de inspección.",367:"Color del título de la vista de inpección.",368:"Color de la información del título de la vista de inspección.",369:"Color de los bordes y la flecha de la vista de inspección.",370:"Color de fondo de la lista de resultados de vista de inspección.",371:"Color de primer plano de los nodos de inspección en la lista de resultados.",372:"Color de primer plano de los archivos de inspección en la lista de resultados.",373:"Color de fondo de la entrada seleccionada en la lista de resultados de vista de inspección.",374:"Color de primer plano de la entrada seleccionada en la lista de resultados de vista de inspección.",375:"Color de fondo del editor de vista de inspección.",376:"Color de fondo del margen en el editor de vista de inspección.",377:"Buscar coincidencia con el color de resaltado de la lista de resultados de vista de inspección.",378:"Buscar coincidencia del color de resultado del editor de vista de inspección.",379:"Hacer coincidir el borde resaltado en el editor de vista previa.",380:"No hay ningún resultado.",381:"Nombre cambiado correctamente de '{0}' a '{1}'. Resumen: {2}",382:"No se pudo cambiar el nombre.",383:"Cambiar el nombre del símbolo",384:"Cambie el nombre de la entrada. Escriba el nuevo nombre y presione Entrar para confirmar.",385:"Expandir selección",386:"&&Expand Selection",387:"Reducir selección",388:"&&Shrink Selection",389:"Domingo",390:"Lunes",391:"Martes",392:"Miércoles",393:"Jueves",394:"Viernes",395:"Sábado",396:"Dom",397:"Lun",398:"Mar",399:"Mié",400:"Jue",401:"Vie",402:"Sáb",403:"Enero",404:"Febrero",405:"Marzo",406:"Abril",407:"May",408:"Junio",409:"Julio",410:"Agosto",411:"Septiembre",412:"Octubre",413:"Noviembre",414:"Diciembre",415:"Ene",416:"Feb",417:"Mar",418:"Abr",419:"Jun",420:"Jul",421:"Ago",422:"Sep",423:"Oct",424:"Noviembre",425:"Dic",426:"Aceptando '{0}' Insertó el siguente texto : {1}",427:"Sugerencias para Trigger",428:"Color de fondo del widget sugerido.",429:"Color de borde del widget sugerido.",430:"Color de primer plano del widget sugerido.",431:"Color de fondo de la entrada seleccionada del widget sugerido.",432:"Color del resaltado coincidido en el widget sugerido.",433:"Leer más...{0}",434:"{0}, sugerencia, con detalles",435:"Leer menos...{0}",436:"Cargando...",437:"No hay sugerencias.",438:"{0}, aceptada",439:"{0}, sugerencia, con detalles",440:"{0}, sugerencia",441:"Alternar tecla de tabulación para mover el punto de atención",442:"Color de fondo de un símbolo durante el acceso de lectura, como leer una variable. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",443:"Color de fondo de un símbolo durante el acceso de escritura, como escribir en una variable. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",444:"Color de fondo de un símbolo durante el acceso de lectura; por ejemplo, cuando se lee una variable.",445:"Color de fondo de un símbolo durante el acceso de escritura; por ejemplo, cuando se escribe una variable.",446:"Destaca el color del marcador para los puntos del símbolo. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",447:"Destaca el color del marcador de acceso de escritura. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",448:"Ir al siguiente símbolo destacado",449:"Ir al símbolo destacado anterior",450:"No selection",451:"Line {0}, Column {1} ({2} selected)",452:"Line {0}, Column {1}",453:"{0} selections ({1} characters selected)",454:"{0} selections",455:"Now changing the setting `accessibilitySupport` to 'on'.",456:"Now opening the Editor Accessibility documentation page.",457:" in a read-only pane of a diff editor.",458:" in a pane of a diff editor.",459:" in a read-only code editor",460:" in a code editor",461:"To configure the editor to be optimized for usage with a Screen Reader press Command+E now.",462:"To configure the editor to be optimized for usage with a Screen Reader press Control+E now.",463:"The editor is configured to be optimized for usage with a Screen Reader.",464:"The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time.",465:"Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}.",466:"Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding.",467:"Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}.",468:"Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding.",469:"Press Command+H now to open a browser window with more information related to editor accessibility.",470:"Press Control+H now to open a browser window with more information related to editor accessibility.",471:"You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape.",472:"Show Accessibility Help",473:"Developer: Inspect Tokens",474:"Go to line {0} and character {1}",475:"Go to line {0}",476:"Type a line number between 1 and {0} to navigate to",477:"Type a character between 1 and {0} to navigate to",478:"Type a line number, followed by an optional colon and a character number to navigate to",479:"Go to Line...",480:"{0}, commands",481:"Type the name of an action you want to execute",482:"Command Palette",483:"{0}, symbols",484:"Type the name of an identifier you wish to navigate to",485:"Go to Symbol...",486:"symbols ({0})",487:"modules ({0})",488:"classes ({0})",489:"interfaces ({0})",490:"methods ({0})",491:"functions ({0})",492:"properties ({0})",493:"variables ({0})",494:"constructors ({0})",495:"calls ({0})",496:"Made {0} edits in {1} files",497:"Press Ctrl+F1 for Accessibility Options.",498:"Press Alt+F1 for Accessibility Options.",499:"Toggle High Contrast Theme",500:"La configuración predeterminada se reemplaza",501:"Establecer los valores de configuración que se reemplazarán para el lenguaje {0}.",502:"Establecer los valores de configuración que se reemplazarán para un lenguaje.",503:'No se puede registrar "{0}". Coincide con el patrón de propiedad \'\\\\[.*\\\\]$\' para describir la configuración del editor específica del lenguaje. Utilice la contribución "configurationDefaults".',504:'No se puede registrar "{0}". Esta propiedad ya está registrada.',505:"Se presionó ({0}). Esperando la siguiente tecla...",506:"La combinación de teclas ({0}, {1}) no es ningún comando.",507:"Área de trabajo",508:"El modificador que se usará para agregar un elemento en árboles y listas a una selección múltiple con el mouse (por ejemplo en el explorador, los editores abiertos y la vista SCM). ' ctrlCmd ' se asigna a ' control ' en Windows y Linux y a ' Command ' en macOS. Los gestos de ratón \"abrir a lado\", si se admiten, se adaptarán de tal manera que no estén en conflicto con el modificador multiselección.",509:"Controla cómo abrir elementos en árboles y listas con el ratón (si está soportado). Establecer en ' singleClick ' para abrir elementos con un solo clic del ratón y ' DoubleClick ' para abrir sólo a través del doble clic del ratón. Para los elementos padres con hijos en los árboles, este ajuste controlará si un solo clic expande el padre o un doble clic. Tenga en cuenta que algunos árboles y listas pueden optar por ignorar esta configuración si no es aplicable",510:"Controla el esplazamiento horizontal de los árboles en la mesa de trabajo.",511:"Colores usados en el área de trabajo.",512:"Color de primer plano general. Este color solo se usa si un componente no lo invalida.",513:"Color de primer plano general para los mensajes de erroe. Este color solo se usa si un componente no lo invalida.",514:"Color de borde de los elementos con foco. Este color solo se usa si un componente no lo invalida.",515:"Un borde adicional alrededor de los elementos para separarlos unos de otros y así mejorar el contraste.",516:"Un borde adicional alrededor de los elementos activos para separarlos unos de otros y así mejorar el contraste.",517:"Color de primer plano para los vínculos en el texto.",518:"Color de fondo para los bloques de código en el texto.",519:"Color de sombra de los widgets dentro del editor, como buscar/reemplazar",520:"Fondo de cuadro de entrada.",521:"Primer plano de cuadro de entrada.",522:"Borde de cuadro de entrada.",523:"Color de borde de opciones activadas en campos de entrada.",524:"Color de fondo de validación de entrada para gravedad de información.",525:"Color de borde de validación de entrada para gravedad de información.",526:"Color de fondo de validación de entrada para gravedad de advertencia.",527:"Color de borde de validación de entrada para gravedad de advertencia.",528:"Color de fondo de validación de entrada para gravedad de error.",529:"Color de borde de valdación de entrada para gravedad de error.",530:"Color de fondo de la lista o el árbol del elemento con el foco cuando la lista o el árbol están activos. Una lista o un árbol tienen el foco del teclado cuando están activos, cuando están inactivos no.",531:"Color de fondo de la lista o el árbol del elemento con el foco cuando la lista o el árbol están activos. Una lista o un árbol tienen el foco del teclado cuando están activos, cuando están inactivos no.",532:"Color de fondo de la lista o el árbol del elemento seleccionado cuando la lista o el árbol están activos. Una lista o un árbol tienen el foco del teclado cuando están activos, cuando están inactivos no.",533:"Color de primer plano de la lista o el árbol del elemento con el foco cuando la lista o el árbol están activos. Una lista o un árbol tienen el foco del teclado cuando están activos, cuando están inactivos no.",534:"Color de fondo de la lista o el árbol del elemento seleccionado cuando la lista o el árbol están inactivos. Una lista o un árbol tienen el foco del teclado cuando están activos, cuando están inactivos no.",535:"Color de primer plano de la lista o el árbol del elemento con el foco cuando la lista o el árbol esta inactiva. Una lista o un árbol tiene el foco del teclado cuando está activo, cuando esta inactiva no.",536:"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.",537:"Fondo de la lista o el árbol al mantener el mouse sobre los elementos.",538:"Color de primer plano de la lista o el árbol al pasar por encima de los elementos con el ratón.",539:"Fondo de arrastrar y colocar la lista o el árbol al mover los elementos con el mouse.",540:"Color de primer plano de la lista o el árbol de las coincidencias resaltadas al buscar dentro de la lista o el ábol.",541:"Selector de color rápido para la agrupación de etiquetas.",542:"Selector de color rápido para la agrupación de bordes.",543:"Color de fondo de la insignia. Las insignias son pequeñas etiquetas de información, por ejemplo los resultados de un número de resultados.",544:"Color de fondo de la insignia. Las insignias son pequeñas etiquetas de información, por ejemplo los resultados de un número de resultados.",545:"Sombra de la barra de desplazamiento indica que la vista se ha despazado.",546:"Color de fondo de control deslizante de barra de desplazamiento.",547:"Color de fondo de barra de desplazamiento cursor cuando se pasar sobre el control.",548:"Color de fondo de la barra de desplazamiento al hacer clic.",549:"Color de fondo para la barra de progreso que se puede mostrar para las operaciones de larga duración.",550:"Color de fondo del editor.",551:"Color de primer plano predeterminado del editor.",552:"Color de fondo del editor de widgets como buscar/reemplazar",553:"Color de borde de los widgets del editor. El color solo se usa si el widget elige tener un borde y no invalida el color.",554:"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.",555:"Color de la selección del editor.",556:"Color del texto seleccionado para alto contraste.",557:"Color de la selección en un editor inactivo. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",558:"Color para regiones con el mismo contenido que la selección. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",559:"Color de borde de las regiones con el mismo contenido que la selección.",560:"Color de la coincidencia de búsqueda actual.",561:"Color de las otras coincidencias de búsqueda. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",562:"Color de la gama que limita la búsqueda. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",563:"Color de borde de la coincidencia de búsqueda actual.",564:"Color de borde de otra búsqueda que coincide.",565:"Color de borde de la gama que limita la búsqueda. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",566:"Resalte debajo de la palabra para la cual se muestra un Hover. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",567:"Color de fondo al mantener el puntero en el editor.",568:"Color del borde al mantener el puntero en el editor.",569:"Color de los vínculos activos.",570:"Color de fondo del texto que se insertó. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",571:"Color de fondo del texto que se eliminó. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",572:"Color de contorno para el texto insertado.",573:"Color de contorno para el texto quitado.",574:"Border color between the two text editors.",575:"Destaca el color del marcador de regla para las coincidencias de búsqueda. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",576:"Destaca el color del marcador de regla para los puntos de selección . El color no debe ser opaco para no ocultar las decoraciones subyacentes."},"zh-cn":{0:"{0} ({1})",1:"{0} (再次发生)",2:"{0} (发生了 {1} 次)",3:"输入",4:"区分大小写",5:"全字匹配",6:"使用正则表达式",7:"错误: {0}",8:"警告: {0}",9:"信息: {0}",10:"{0}. 使用导航键进行导航。",11:"Ctrl",12:"Shift",13:"Alt",14:"Windows",15:"Super",16:"Control",17:"Command",18:"错误",19:"警告",20:"信息",21:"{0}, 选取器",22:"选取器",23:"快速选取器。键入以缩小结果范围。",24:"快速选取器",25:"{0} 个结果",26:"全选(&&S)",27:"撤消(&&U)",28:"恢复(&&R)",29:"光标数量被限制为 {0}.",30:"文件过大,无法比较。",31:"关闭",32:"无内容",33:"1 行",34:"{0} 行",35:"差异 {0},总共 {1}: 原始,{2},{3};改后,{4},{5}",36:"空白",37:"未修改 {0},已修改 {1}: {2}",38:"+ 已修改 {0}: {1}",39:"- 未修改 {0}: {1}",40:"转至下一个差异",41:"转至上一个差异",42:"编辑器",43:"控制字体系列。",44:"控制字体粗细。",45:"以像素为单位控制字体大小。",46:"控制行高。为 0 时则通过字体大小自动计算。",47:"控制以像素为单位的字母间距。",48:"不显示行号。",49:"将行号显示为绝对行数。",50:"将行号显示为与光标相隔的行数。",51:"每 10 行显示一次行号。",52:"控制行号的显示。",53:"在一定数量的等宽字符后显示垂直标尺。输入多个值,显示多个标尺。若数组为空,则不绘制标尺。",54:"执行单词相关的导航或操作时作为单词分隔符的字符。",55:"一个制表符等于的空格数。在 `#editor.detectIndentation#` 启用时,根据文件内容,该设置可能会被覆盖。",56:"按 `Tab` 键时插入空格。该设置在 `#editor.detectIndentation#` 启用时根据文件内容可能会被覆盖。",57:"控制是否在打开文件时,基于文件内容自动检测 `#editor.tabSize#` 和 `#editor.insertSpaces#`。",58:"控制选区是否有圆角。",59:"控制编辑器是否可以滚动到最后一行之后。",60:"控制编辑器水平滚动时可以超过范围的字符数。",61:"控制编辑器是否在滚动时使用动画。",62:"控制是否显示缩略图。",63:"控制在哪一侧显示缩略图。",64:"控制是否自动隐藏缩略图滑块。",65:"渲染每行的实际字符,而不是色块。",66:"限制缩略图的宽度,控制其最多显示的列数。",67:"控制是否显示悬停提示。",68:"控制显示悬停提示前的等待时间 (毫秒)。",69:"控制当鼠标移动到悬停提示上时,其是否保持可见。",70:"控制是否将编辑器选中内容作为搜索词填入到查找小组件中。",71:"在执行查找操作时,在编辑器中的选中文本中还是整个文件中进行查找。",72:"控制“查找”小组件是否读取或修改 macOS 的共享查找剪贴板。",73:"永不换行。",74:"将在视区宽度处换行。",75:"在 `#editor.wordWrapColumn#` 处折行。",76:"在视区宽度和 `#editor.wordWrapColumn#` 中的较小值处折行。",77:"控制折行的方式。",78:"在 `#editor.wordWrap#` 为 `wordWrapColumn` 或 `bounded` 时,控制编辑器的折行列。",79:"没有缩进。折行从第 1 列开始。",80:"折行的缩进量与其父级相同。",81:"折行的缩进量比其父级多 1。",82:"折行的缩进量比其父级多 2。",83:"控制折行的缩进。",84:"对鼠标滚轮滚动事件的 `deltaX` 和 `deltaY` 乘上的系数。",85:"映射为 `Ctrl` (Windows 和 Linux) 或 `Command` (macOS)。",86:"映射为 `Alt` (Windows 和 Linux) 或 `Option` (macOS)。",87:"在通过鼠标添加多个光标时使用的修改键。“转到定义”和“打开链接”功能所需的鼠标动作将会相应调整,不与多光标修改键冲突。[阅读详细信息](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier)。",88:"当多个光标重叠时进行合并。",89:"在字符串内启用快速建议。",90:"在注释内启用快速建议。",91:"在字符串和注释外启用快速建议。",92:"控制是否在键入时自动显示建议。",93:"控制显示快速建议前的等待时间 (毫秒)。",94:"在输入时显示含有参数文档和类型信息的小面板。",95:"控制参数提示菜单在到达列表末尾时进行循环还是关闭。",96:"使用语言配置确定何时自动闭合括号。",97:"仅当光标位于空白字符左侧时,才自动闭合括号。",98:"控制编辑器是否在左括号后自动插入右括号。",99:"使用语言配置确定何时自动闭合引号。",100:"仅当光标位于空白字符左侧时,才自动闭合引号。",101:"控制编辑器是否在左引号后自动插入右引号。",102:"使用语言配置确定何时自动包住所选内容。",103:"使用括号而非引号来包住所选内容。",104:"使用引号而非括号来包住所选内容。",105:"控制编辑器是否应自动包住所选内容。",106:"控制编辑器在键入一行后是否自动格式化该行。",107:"控制编辑器是否自动格式化粘贴的内容。格式化程序必须可用,并且能针对文档中的某一范围进行格式化。",108:"控制编辑器是否在用户键入、粘贴或移动行时自动调整缩进。必须安装包含此语言缩进规则的扩展。",109:"控制在键入触发字符后是否自动显示建议。",110:"仅当建议包含文本改动时才可使用 `Enter` 键进行接受。",111:"控制除了 `Tab` 键以外, `Enter` 键是否同样可以接受建议。这能减少“插入新行”和“接受建议”命令之间的歧义。",112:"控制是否应在遇到提交字符时接受建议。例如,在 JavaScript 中,半角分号 (`;`) 可以为提交字符,能够在接受建议的同时键入该字符。",113:"在其他建议上方显示代码片段建议。",114:"在其他建议下方显示代码片段建议。",115:"在其他建议中穿插显示代码片段建议。",116:"不显示代码片段建议。",117:"控制代码片段是否与其他建议一起显示及其排列的位置。",118:"控制在没有选择内容时进行复制是否复制当前行。",119:"控制在复制时是否同时复制语法高亮。",120:"控制是否根据文档中的文字计算自动完成列表。",121:"始终选择第一个建议。",122:"选择最近的建议,除非进一步键入选择其他项。例如 `console. -> console.log`,因为最近补全过 `log`。",123:"根据之前补全过的建议的前缀来进行选择。例如,`co -> console`、`con -> const`。",124:"控制在建议列表中如何预先选择建议。",125:"建议小部件的字号。如果设置为 `0`,则使用 `#editor.fontSize#` 的值。",126:"建议小部件的行高。如果设置为 `0`,则使用 `#editor.lineHeight#` 的值。",127:"在按下 Tab 键时进行 Tab 补全,将插入最佳匹配建议。",128:"禁用 Tab 补全。",129:'在前缀匹配时进行 Tab 补全。在 "quickSuggestions" 未启用时体验最好。',130:"启用 Tab 补全。",131:"控制对建议的筛选和排序是否考虑小的拼写错误。",132:"控制排序时是否提高靠近光标的词语的优先级。",133:"控制在活动代码片段内是否禁用快速建议。",134:"控制编辑器是否应突出显示与所选内容类似的匹配项。",135:"控制编辑器是否突出显示语义符号的匹配项。",136:"控制概览标尺中同一位置可显示的提示数量。",137:"控制是否在概览标尺周围绘制边框。",138:"控制光标的动画样式。",139:"按住 `Ctrl` 键并滚动鼠标滚轮时对编辑器字体大小进行缩放。",140:"控制光标样式。",141:"当 `#editor.cursorStyle#` 设置为 `line` 时,控制光标的宽度。",142:"启用或禁用字体连字。",143:"控制是否在概览标尺中隐藏光标。",144:"仅在选定文本上呈现空白字符。",145:"控制编辑器在空白字符上显示符号的方式。",146:"控制编辑器是否显示控制字符。",147:"控制编辑器是否显示缩进参考线。",148:"控制是否突出显示编辑器中活动的缩进参考线。",149:"同时突出显示导航线和当前行。",150:"控制编辑器的当前行进行高亮显示的方式。",151:"控制是否在编辑器中显示 CodeLens。",152:"控制编辑器是否启用了代码折叠。",153:"控制计算折叠范围的策略。`auto` 将使用语言特定的折叠策略 (若可用)。`indentation` 将使用基于缩进的折叠策略。",154:"控制是否自动隐藏导航线上的折叠控件。",155:"当选择其中一项时,将突出显示匹配的括号。",156:"控制编辑器是否应呈现垂直字形边距。字形边距最常用于调试。",157:"根据制表位插入和删除空格。",158:"删除自动插入的尾随空白符号。",159:"在速览编辑器中,即使双击其中的内容或者按 `Esc` 键,也保持其打开状态。",160:"控制在编辑器中是否允许通过拖放来移动选中内容。",161:"编辑器将使用平台 API 以检测是否附加了屏幕阅读器。",162:"编辑器将对屏幕阅读器的使用进行永久优化。",163:"现在无法访问编辑器。按 Alt+F1 显示选项。",164:"编辑器内容",165:"Unexpected exception while executing command.",166:"纯文本",167:"[{0}]\n{1} [{2}]",168:"[{0}]\n{1}",169:"光标所在行高亮内容的背景颜色。",170:"光标所在行四周边框的背景颜色。",171:"背景颜色的高亮范围,喜欢通过快速打开和查找功能。颜色不能不透明,以免隐藏底层装饰。",172:"高亮区域边框的背景颜色。",173:"编辑器光标颜色。",174:"编辑器光标的背景色。可以自定义块型光标覆盖字符的颜色。",175:"编辑器中空白字符的颜色。",176:"编辑器缩进参考线的颜色。",177:"编辑器活动缩进参考线的颜色。",178:"编辑器行号的颜色。",179:"编辑器活动行号的颜色",180:'"Id" 已被弃用,请改用 "editorLineNumber.activeForeground"。',181:"编辑器标尺的颜色。",182:"编辑器 CodeLens 的前景色",183:"匹配括号的背景色",184:"匹配括号外框的颜色",185:"概览标尺边框的颜色。",186:"编辑器导航线的背景色。导航线包括边缘符号和行号。",187:"Foreground color of error squigglies in the editor.",188:"Border color of error squigglies in the editor.",189:"Foreground color of warning squigglies in the editor.",190:"Border color of warning squigglies in the editor.",191:"Foreground color of info squigglies in the editor.",192:"Border color of info squigglies in the editor.",193:"Foreground color of hint squigglies in the editor.",194:"Border color of hint squigglies in the editor.",195:"编辑器中不必要(未使用)的源代码的边框颜色。",196:'非必须(未使用)代码的在编辑器中显示的不透明度。例如,"#000000c0" 将以 75% 的不透明度显示代码。对于高对比度主题,请使用 ”editorUnnecessaryCode.border“ 主题来为非必须代码添加下划线,以避免颜色淡化。',197:"概览标尺中错误标记的颜色。",198:"概览标尺中警告标记的颜色。",199:"概览标尺中信息标记的颜色。",200:"概览标尺上表示匹配括号的标记颜色。",201:"转到括号",202:"选择括号所有内容",203:"将插入点左移",204:"将插入点右移",205:"转置字母",206:"剪切",207:"剪切(&&T)",208:"复制",209:"复制(&&C)",210:"粘贴",211:"粘贴(&&P)",212:"复制并突出显示语法",213:"显示修复 ({0})",214:"显示修复",215:"快速修复...",216:"没有可用的代码操作",217:"重构...",218:"没有可用的重构操作",219:"源代码操作...",220:"没有可用的源代码操作",221:"整理 import 语句",222:"没有可用的整理 import 语句操作",223:"切换行注释",224:"切换行注释(&&T)",225:"添加行注释",226:"删除行注释",227:"切换块注释",228:"切换块注释(&&B)",229:"显示编辑器上下文菜单",230:"软撤消",231:"查找",232:"查找(&&F)",233:"查找选定内容",234:"查找下一个",235:"查找上一个",236:"查找下一个选择",237:"查找上一个选择",238:"替换",239:"替换(&&R)",240:"上一个匹配项",241:"下一个匹配项",242:"在选定内容中查找",243:"全部替换",244:"切换替换模式",245:"仅高亮了前 {0} 个结果,但所有查找操作均针对全文。",246:"{1} 中的 {0}",247:"无结果",248:"展开",249:"以递归方式展开",250:"折叠",251:"以递归方式折叠",252:"折叠所有块注释",253:"折叠所有区域",254:"展开所有区域",255:"全部折叠",256:"全部展开",257:"折叠级别 {0}",258:"放大编辑器字体",259:"缩小编辑器字体",260:"重置编辑器字体大小",261:"在第 {0} 行进行了 1 次格式编辑",262:"在第 {1} 行进行了 {0} 次格式编辑",263:"第 {0} 行到第 {1} 行间进行了 1 次格式编辑",264:"第 {1} 行到第 {2} 行间进行了 {0} 次格式编辑",265:"当前没有安装“{0}”文件的格式化程序。",266:"格式化文档",267:"当前没有安装“{0}”文件的文档格式化程序。",268:"格式化选定内容",269:"当前没有安装“{0}”文件的选择格式化程序。",270:"未找到“{0}”的任何定义",271:"找不到定义",272:" – {0} 定义",273:"转到定义",274:"打开侧边的定义",275:"查看定义",276:"未找到“{0}”的实现",277:"未找到实现",278:"– {0} 个实现",279:"转到实现",280:"速览实现",281:"未找到“{0}”的类型定义",282:"未找到类型定义",283:" – {0} 个类型定义",284:"转到类型定义",285:"快速查看类型定义",286:"单击显示 {0} 个定义。",287:"转到下一个问题 (错误、警告、信息)",288:"转到上一个问题 (错误、警告、信息)",289:"转到文件中的下一个问题 (错误、警告、信息)",290:"转到文件中的上一个问题 (错误、警告、信息)",291:"({0}/{1})",292:"编辑器标记导航小组件错误颜色。",293:"编辑器标记导航小组件警告颜色。",294:"编辑器标记导航小组件信息颜色。",295:"编辑器标记导航小组件背景色。",296:"显示悬停",297:"正在加载...",298:"替换为上一个值",299:"替换为下一个值",300:"向上复制行",301:"向上复制行(&&C)",302:"向下复制行",303:"向下复制一行(&&P)",304:"向上移动行",305:"向上移动一行(&&V)",306:"向下移动行",307:"向下移动一行(&&L)",308:"按升序排列行",309:"按降序排列行",310:"裁剪尾随空格",311:"删除行",312:"行缩进",313:"行减少缩进",314:"在上面插入行",315:"在下面插入行",316:"删除左侧所有内容",317:"删除右侧所有内容",318:"合并行",319:"转置光标处的字符",320:"转换为大写",321:"转换为小写",322:"按住 Cmd 并单击可访问链接",323:"按住 Ctrl 并单击可访问链接",324:"Cmd + 单击",325:"Ctrl + 单击",326:"按住 Option 并单击可访问链接",327:"按住 Alt 并单击可访问链接",328:"option + 单击",329:"alt + 单击",330:"此链接格式不正确,无法打开: {0}",331:"此链接目标已丢失,无法打开。",332:"打开链接",333:"无法在只读编辑器中编辑",334:"在上面添加光标",335:"在上面添加光标(&&A)",336:"在下面添加光标",337:"在下面添加光标(&&D)",338:"在行尾添加光标",339:"在行尾添加光标(&&U)",340:"将下一个查找匹配项添加到选择",341:"添加下一个匹配项(&&N)",342:"将选择内容添加到上一查找匹配项",343:"添加上一个匹配项(&&R)",344:"将上次选择移动到下一个查找匹配项",345:"将上个选择内容移动到上一查找匹配项",346:"选择所有找到的查找匹配项",347:"选择所有匹配项(&&O)",348:"更改所有匹配项",349:"触发参数提示",350:"{0},提示",351:" – {0} 个引用",352:"查看引用",353:"在文件 {0} 的 {1} 行 {2} 列的符号",354:"{0} 中有 1 个符号,完整路径: {1}",355:"{1} 中有 {0} 个符号,完整路径: {2}",356:"未找到结果",357:"在 {0} 中找到 1 个符号",358:"在 {1} 中找到 {0} 个符号",359:"在 {1} 个文件中找到 {0} 个符号",360:"解析文件失败。",361:"{0} 个引用",362:"{0} 个引用",363:"无可用预览",364:"引用",365:"无结果",366:"速览视图标题区域背景颜色。",367:"速览视图标题颜色。",368:"速览视图标题信息颜色。",369:"速览视图边框和箭头颜色。",370:"速览视图结果列表背景色。",371:"速览视图结果列表中行节点的前景色。",372:"速览视图结果列表中文件节点的前景色。",373:"速览视图结果列表中所选条目的背景色。",374:"速览视图结果列表中所选条目的前景色。",375:"速览视图编辑器背景色。",376:"速览视图编辑器中装订线的背景色。",377:"在速览视图结果列表中匹配突出显示颜色。",378:"在速览视图编辑器中匹配突出显示颜色。",379:"在速览视图编辑器中匹配项的突出显示边框。",380:"无结果。",381:"解析重命名位置时发生未知错误",382:"成功将“{0}”重命名为“{1}”。摘要: {2}",383:"无法进行重命名。",384:'重命名输入。键入新名称并按 "Enter" 提交。',385:"展开选择",386:"展开选定内容(&&E)",387:"收起选择",388:"缩小选定范围(&&S)",389:"星期天",390:"星期一",391:"星期二",392:"星期三",393:"星期四",394:"星期五",395:"星期六",396:"周日",397:"周一",398:"周二",399:"周三",400:"周四",401:"周五",402:"周六",403:"一月",404:"二月",405:"三月",406:"四月",407:"5月",408:"六月",409:"七月",410:"八月",411:"九月",412:"十月",413:"十一月",414:"十二月",415:"1月",416:"2月",417:"三月",418:"4月",419:"6月",420:"七月",421:"八月",422:"九月",423:"10月",424:"11 月",425:"12月",426:"选择“{0}”后进行了其他 {1} 次编辑",427:"触发建议",428:"建议小组件的背景色。",429:"建议小组件的边框颜色。",430:"建议小组件的前景色。",431:"建议小组件中所选条目的背景色。",432:"建议小组件中匹配内容的高亮颜色。",433:"阅读更多...{0}",434:"阅读简略信息...{0}",435:"无建议。",436:"{0}, accepted",437:"{0}, snippet suggestion",438:"{0}, suggestion",439:"{0}, snippet suggestion. Reading details. {1}",440:"{0}, suggestion. Reading details. {1}",441:"切换 Tab 键移动焦点",442:"读取访问期间符号的背景色,例如读取变量时。颜色必须透明,以免隐藏下面的修饰效果。",443:"写入访问过程中符号的背景色,例如写入变量时。颜色必须透明,以免隐藏下面的修饰效果。",444:"符号在进行读取访问操作时的边框颜色,例如读取变量。",445:"符号在进行写入访问操作时的边框颜色,例如写入变量。",446:"用于突出显示符号的概述标尺标记颜色。颜色必须透明,以免隐藏下面的修饰效果。",447:"用于突出显示写权限符号的概述标尺标记颜色。颜色必须透明,以免隐藏下面的修饰效果。",448:"转到下一个突出显示的符号",449:"转到上一个突出显示的符号",450:"无选择",451:"行 {0}, 列 {1} (选中 {2})",452:"行 {0}, 列 {1}",453:"{0} 选择(已选择 {1} 个字符)",454:"{0} 选择",455:'现在将 "辅助功能支持" 设置更改为 "打开"。',456:"现在正在打开“编辑器辅助功能”文档页。",457:"在差异编辑器的只读窗格中。",458:"在一个差异编辑器的窗格中。",459:"在只读代码编辑器中",460:"在代码编辑器中",461:"若要配置编辑器,将其进行优化以最好地配合屏幕阅读器的使用,请立即按 Command+E。",462:"若要配置编辑器,将其进行优化以最高效地配合屏幕阅读器的使用,按下 Control+E。",463:"配置编辑器,将其进行优化以最好地配合屏幕读取器的使用。",464:"编辑器被配置为永远不进行优化以配合屏幕读取器的使用, 而当前不是这种情况。",465:"在当前编辑器中按 Tab 会将焦点移动到下一个可聚焦的元素。通过按 {0} 切换此行为。",466:"在当前编辑器中按 Tab 会将焦点移动到下一个可聚焦的元素。当前无法通过按键绑定触发命令 {0}。",467:"在当前编辑器中按 Tab 将插入制表符。通过按 {0} 切换此行为。",468:"在当前编辑器中按 Tab 会插入制表符。当前无法通过键绑定触发命令 {0}。",469:"现在按 Command+H 打开一个浏览器窗口, 其中包含有关编辑器辅助功能的详细信息。",470:'现在按 "控制" + H 打开一个浏览器窗口, 其中包含有关编辑器辅助功能的更多信息。',471:"你可以按 Esc 或 Shift+Esc 消除此工具提示并返回到编辑器。",472:"显示辅助功能帮助",473:"开发人员: 检查令牌",474:"转到第 {0} 行,第 {1} 列",475:"转至行 {0}",476:"键入要导航到的介于 1 和 {0} 之间的行号",477:"键入 1 和 {0} 之间的字符以导航到",478:"键入行号, 后跟可选冒号和要导航到的字符数",479:"转到行...",480:"{0},命令",481:"键入要执行的操作的名称",482:"命令面板",483:"{0}, 符号",484:"键入要导航到的标识符的名称",485:"转到符号...",486:"符号({0})",487:"模块({0})",488:"类({0})",489:"接口({0})",490:"方法({0})",491:"函数({0})",492:"属性 ({0})",493:"变量({0})",494:"构造函数 ({0})",495:"调用 ({0})",496:"在 {1} 个文件中进行了 {0} 次编辑",497:"按 Ctrl+F1 可打开辅助功能选项。",498:"按 Alt+F1 可打开辅助功能选项。",499:"切换高对比度主题",500:"默认配置替代",501:"针对 {0} 语言,配置替代编辑器设置。",502:"针对某种语言,配置替代编辑器设置。",503:'无法注册“{0}”。其符合描述特定语言编辑器设置的表达式 "\\[.*\\]$"。请使用 "configurationDefaults"。',504:"无法注册“{0}”。此属性已注册。",505:"已按下({0})。正在等待同时按下第二个键...",506:"组合键({0}, {1})不是命令。",507:"工作台",508:"在通过鼠标多选树和列表条目时使用的修改键 (例如“资源管理器”、“打开的编辑器”和“源代码管理”视图)。“在侧边打开”功能所需的鼠标动作 (若可用) 将会相应调整,不与多选修改键冲突。",509:"控制在树和列表中怎样使用鼠标来展开子项(若支持)。对于树中的父节点,此设置将控制是使用单击还是双击来展开。注意,某些不适用于此设置的树或列表可能会忽略此项。",510:"控制工作台中的树控件是否支持水平滚动。",511:"工作台的颜色。",512:"整体前景色。此颜色仅在不被组件覆盖时适用。",513:"错误信息的整体前景色。此颜色仅在不被组件覆盖时适用。",514:"焦点元素的整体边框颜色。此颜色仅在不被其他组件覆盖时适用。",515:"在元素周围额外的一层边框,用来提高对比度从而区别其他元素。",516:"在活动元素周围额外的一层边框,用来提高对比度从而区别其他元素。",517:"文本中链接的前景色。",518:"文本中代码块的背景颜色。",519:"编辑器内小组件(如查找/替换)的阴影颜色。",520:"输入框背景色。",521:"输入框前景色。",522:"输入框边框。",523:"输入字段中已激活选项的边框颜色。",524:"输入验证结果为信息级别时的背景色。",525:"输入验证结果为信息级别时的前景色。",526:"严重性为信息时输入验证的边框颜色。",527:"严重性为警告时输入验证的背景色。",528:"输入验证结果为警告级别时的前景色。",529:"严重性为警告时输入验证的边框颜色。",530:"输入验证结果为错误级别时的背景色。",531:"输入验证结果为错误级别时的前景色。",532:"严重性为错误时输入验证的边框颜色。",533:"下拉列表背景色。",534:"下拉列表前景色。",535:"焦点项在列表或树活动时的背景颜色。活动的列表或树具有键盘焦点,非活动的没有。",536:"焦点项在列表或树活动时的前景颜色。活动的列表或树具有键盘焦点,非活动的没有。",537:"已选项在列表或树活动时的背景颜色。活动的列表或树具有键盘焦点,非活动的没有。",538:"已选项在列表或树活动时的前景颜色。活动的列表或树具有键盘焦点,非活动的没有。",539:"已选项在列表或树非活动时的背景颜色。活动的列表或树具有键盘焦点,非活动的没有。",540:"已选项在列表或树非活动时的前景颜色。活动的列表或树具有键盘焦点,非活动的没有。",541:"非活动的列表或树控件中焦点项的背景颜色。活动的列表或树具有键盘焦点,非活动的没有。",542:"使用鼠标移动项目时,列表或树的背景颜色。",543:"鼠标在项目上悬停时,列表或树的前景颜色。",544:"使用鼠标移动项目时,列表或树进行拖放的背景颜色。",545:"在列表或树中搜索时,其中匹配内容的高亮颜色。",546:"快速选取器分组标签的颜色。",547:"快速选取器分组边框的颜色。",548:"Badge 背景色。Badge 是小型的信息标签,如表示搜索结果数量的标签。",549:"Badge 前景色。Badge 是小型的信息标签,如表示搜索结果数量的标签。",550:"表示视图被滚动的滚动条阴影。",551:"滚动条滑块背景色",552:"滚动条滑块在悬停时的背景色",553:"滚动条滑块在被点击时的背景色。",554:"表示长时间操作的进度条的背景色。",555:"菜单的边框颜色。",556:"菜单项的前景颜色。",557:"菜单项的背景颜色。",558:"菜单中选定菜单项的前景色。",559:"菜单中所选菜单项的背景色。",560:"菜单中所选菜单项的边框颜色。",561:"菜单中分隔线的颜色。",562:"编辑器背景色。",563:"编辑器默认前景色。",564:"编辑器组件(如查找/替换)背景颜色。",565:"编辑器小部件的边框颜色。此颜色仅在小部件有边框且不被小部件重写时适用。",566:"编辑器小部件大小调整条的边框颜色。此颜色仅在小部件有调整边框且不被小部件颜色覆盖时使用。",567:"编辑器所选内容的颜色。",568:"用以彰显高对比度的所选文本的颜色。",569:"非活动编辑器中所选内容的颜色,颜色必须透明,以免隐藏下面的装饰效果。",570:"具有与所选项相关内容的区域的颜色。颜色必须透明,以免隐藏下面的修饰效果。",571:"与所选项内容相同的区域的边框颜色。",572:"当前搜索匹配项的颜色。",573:"其他搜索匹配项的颜色。颜色必须透明,以免隐藏下面的修饰效果。",574:"限制搜索范围的颜色。颜色不能不透明,以免隐藏底层装饰。",575:"当前搜索匹配项的边框颜色。",576:"其他搜索匹配项的边框颜色。",577:"编辑器将不再对屏幕阅读器的使用进行优化。",578:"控制编辑器是否应运行在对屏幕阅读器进行优化的模式。",579:"控制是否淡化未使用的代码。",580:"控制是否在编辑器中检测链接并使其可被点击。",581:"控制编辑器是否显示内联颜色修饰器和颜色选取器。",582:"在编辑器中启用代码操作小灯泡提示。",583:"控制是否在文件保存时整理 import 语句。",584:"在保存时运行的代码操作类型。",585:"控制在保存文件时进行的代码操作的超时时间 (毫秒)。",586:"控制是否支持 Linux 主剪贴板。",587:"控制差异编辑器的显示方式是并排还是内联。",588:"控制在差异编辑器中是否把前导空格或尾随空格的改动显示为差异。",589:"对大型文件进行特殊处理,禁用某些内存密集型功能。",590:"控制差异编辑器是否为添加/删除的更改显示 +/- 指示符号。",591:"[{0}] {1} [{2}]",592:"[{0}] {1}",593:"转到定义(&&D)...",594:"转到类型定义(&&T)",595:"转到实现(&&I)",596:"重命名符号",597:"{0}, snippet suggestion, has details",598:"{0}, suggestion, has details",599:"Tab 键将移动到下一可聚焦的元素",600:"Tab 键将插入制表符",601:"触发符号高亮",602:"限制搜索的范围的边框颜色。颜色必须透明,以免隐藏下面的修饰效果。",603:"在下面突出显示悬停的字词。颜色必须透明,以免隐藏下面的修饰效果。",604:"编辑器悬停提示的背景颜色。",605:"光标悬停时编辑器的边框颜色。",606:"活动链接颜色。",607:"已插入的文本的背景色。颜色必须透明,以免隐藏下面的修饰效果。",608:"已删除的文本的背景色。颜色必须透明,以免隐藏下面的修饰效果。",609:"插入的文本的轮廓颜色。",610:"被删除文本的轮廓颜色。",611:"两个文本编辑器之间的边框颜色。",612:"代码片段 Tab 位的高亮背景色。",613:"代码片段 Tab 位的高亮边框颜色。",614:"代码片段中最后的 Tab 位的高亮背景色。",615:"代码片段中最后的 Tab 位的高亮边框颜色。",616:"用于查找匹配项的概述标尺标记颜色。颜色必须透明,以免隐藏下面的修饰效果。",617:"用于突出显示所选内容的概述标尺标记颜色。颜色必须透明,以免隐藏下面的修饰效果。"}}},58542:(e,t,i)=>{i.d(t,{A:()=>h});var o=i(65321),n=i(4669),r=i(5976),s=i(31106),a=i(33108),l=i(93983),c=i(34277),d=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},u=function(e,t){return function(i,o){t(i,o,e)}};let h=class extends r.JT{constructor(e,t,i){super(),this._contextKeyService=e,this._layoutService=t,this._configurationService=i,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new n.Q5,this._onDidChangeReducedMotion=new n.Q5,this._accessibilityModeEnabledContext=s.U.bindTo(this._contextKeyService);const o=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(o(),this._onDidChangeScreenReaderOptimized.fire()),e.affectsConfiguration("workbench.reduceMotion")&&(this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this._onDidChangeReducedMotion.fire())}))),o(),this._register(this.onDidChangeScreenReaderOptimized((()=>o())));const r=window.matchMedia("(prefers-reduced-motion: reduce)");this._systemMotionReduced=r.matches,this._configMotionReduced=this._configurationService.getValue("workbench.reduceMotion"),this.initReducedMotionListeners(r)}initReducedMotionListeners(e){if(!this._layoutService.hasContainer)return;this._register((0,o.nm)(e,"change",(()=>{this._systemMotionReduced=e.matches,"auto"===this._configMotionReduced&&this._onDidChangeReducedMotion.fire()})));const t=()=>{const e=this.isMotionReduced();this._layoutService.container.classList.toggle("reduce-motion",e),this._layoutService.container.classList.toggle("enable-motion",!e)};t(),this._register(this.onDidChangeReducedMotion((()=>t())))}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}get onDidChangeReducedMotion(){return this._onDidChangeReducedMotion.event}isMotionReduced(){const e=this._configMotionReduced;return"on"===e||"auto"===e&&this._systemMotionReduced}getAccessibilitySupport(){return this._accessibilitySupport}};h=d([u(0,l.i6),u(1,c.F),u(2,a.Ui)],h)},31106:(e,t,i)=>{i.d(t,{F:()=>n,U:()=>r});var o=i(93983);const n=(0,i(72065).yh)("accessibilityService"),r=new o.uy("accessibilityModeEnabled",!1)},8269:(e,t,i)=>{i.d(t,{R:()=>n});var o=i(63580);const n=Object.freeze({View:{value:(0,o.NC)("view","View"),original:"View"},Help:{value:(0,o.NC)("help","Help"),original:"Help"},Test:{value:(0,o.NC)("test","Test"),original:"Test"},File:{value:(0,o.NC)("file","File"),original:"File"},Preferences:{value:(0,o.NC)("preferences","Preferences"),original:"Preferences"},Developer:{value:(0,o.NC)({key:"developer",comment:["A developer on Code itself or someone diagnosing issues in Code"]},"Developer"),original:"Developer"}})},3904:(e,t,i)=>{i.d(t,{v:()=>z});var o=i(65321),n=i(90317),r=i(5976),s=i(93379),a=i.n(s),l=i(7795),c=i.n(l),d=i(90569),u=i.n(d),h=i(3565),g=i.n(h),p=i(19216),f=i.n(p),m=i(44589),b=i.n(m),v=i(90711),y={};y.styleTagTransform=b(),y.setAttributes=g(),y.insert=u().bind(null,"head"),y.domAPI=c(),y.insertStyleElement=f();a()(v.Z,y);v.Z&&v.Z.locals&&v.Z.locals;var k=i(63580),C=i(12983),w=i(43799),_=i(73046),S=i(1432),x=i(25670),I=i(5606),D=i(91847),T=i(86253),E=i(73910),L=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},A=function(e,t){return function(i,o){t(i,o,e)}};const B="acceptSelectedCodeAction",N="previewSelectedCodeAction";class O{get templateId(){return"header"}renderTemplate(e){e.classList.add("group-header");const t=document.createElement("span");return e.append(t),{container:e,text:t}}renderElement(e,t,i){var o,n;i.text.textContent=null!==(n=null===(o=e.group)||void 0===o?void 0:o.title)&&void 0!==n?n:""}disposeTemplate(e){}}let F=class{get templateId(){return"action"}constructor(e,t){this._supportsPreview=e,this._keybindingService=t}renderTemplate(e){e.classList.add(this.templateId);const t=document.createElement("div");t.className="icon",e.append(t);const i=document.createElement("span");i.className="title",e.append(i);return{container:e,icon:t,text:i,keybinding:new C.e(e,S.OS)}}renderElement(e,t,i){var n,r,s;if((null===(n=e.group)||void 0===n?void 0:n.icon)?(i.icon.className=x.k.asClassName(e.group.icon),e.group.icon.color&&(i.icon.style.color=(0,E.n_1)(e.group.icon.color.id))):(i.icon.className=x.k.asClassName(_.l.lightBulb),i.icon.style.color="var(--vscode-editorLightBulb-foreground)"),!e.item||!e.label)return;i.text.textContent=P(e.label),i.keybinding.set(e.keybinding),o.iJ(!!e.keybinding,i.keybinding.element);const a=null===(r=this._keybindingService.lookupKeybinding(B))||void 0===r?void 0:r.getLabel(),l=null===(s=this._keybindingService.lookupKeybinding(N))||void 0===s?void 0:s.getLabel();i.container.classList.toggle("option-disabled",e.disabled),e.disabled?i.container.title=e.label:a&&l?this._supportsPreview?i.container.title=(0,k.NC)({key:"label-preview",comment:['placeholders are keybindings, e.g "F2 to apply, Shift+F2 to preview"']},"{0} to apply, {1} to preview",a,l):i.container.title=(0,k.NC)({key:"label",comment:['placeholder is a keybinding, e.g "F2 to apply"']},"{0} to apply",a):i.container.title=""}disposeTemplate(e){}};F=L([A(1,D.d)],F);class M extends UIEvent{constructor(){super("acceptSelectedAction")}}class R extends UIEvent{constructor(){super("previewSelectedAction")}}let K=class extends r.JT{constructor(e,t,i,o,n,r){super(),this._delegate=o,this._contextViewService=n,this._keybindingService=r,this._actionLineHeight=24,this._headerLineHeight=26,this.domNode=document.createElement("div"),this.domNode.classList.add("actionList");const s={getHeight:e=>"header"===e.kind?this._headerLineHeight:this._actionLineHeight,getTemplateId:e=>e.kind};this._list=this._register(new w.aV(e,this.domNode,s,[new F(t,this._keybindingService),new O],{keyboardSupport:!1,accessibilityProvider:{getAriaLabel:e=>{if("action"===e.kind){let t=e.label?P(null==e?void 0:e.label):"";return e.disabled&&(t=(0,k.NC)({key:"customQuickFixWidget.labels",comment:["Action widget labels for accessibility."]},"{0}, Disabled Reason: {1}",t,e.disabled)),t}return null},getWidgetAriaLabel:()=>(0,k.NC)({key:"customQuickFixWidget",comment:["An action widget option"]},"Action Widget"),getRole:e=>"action"===e.kind?"option":"separator",getWidgetRole:()=>"listbox"}})),this._list.style(T.O2),this._register(this._list.onMouseClick((e=>this.onListClick(e)))),this._register(this._list.onMouseOver((e=>this.onListHover(e)))),this._register(this._list.onDidChangeFocus((()=>this._list.domFocus()))),this._register(this._list.onDidChangeSelection((e=>this.onListSelection(e)))),this._allMenuItems=i,this._list.splice(0,this._list.length,this._allMenuItems),this._list.length&&this.focusNext()}focusCondition(e){return!e.disabled&&"action"===e.kind}hide(e){this._delegate.onHide(e),this._contextViewService.hideContextView()}layout(e){const t=this._allMenuItems.filter((e=>"header"===e.kind)).length,i=this._allMenuItems.length*this._actionLineHeight+t*this._headerLineHeight-t*this._actionLineHeight;this._list.layout(i);const o=this._allMenuItems.map(((e,t)=>{const i=document.getElementById(this._list.getElementID(t));if(i){i.style.width="auto";const e=i.getBoundingClientRect().width;return i.style.width="",e}return 0})),n=Math.max(...o,e),r=Math.min(i,.7*document.body.clientHeight);return this._list.layout(r,n),this.domNode.style.height=`${r}px`,this._list.domFocus(),n}focusPrevious(){this._list.focusPrevious(1,!0,void 0,this.focusCondition)}focusNext(){this._list.focusNext(1,!0,void 0,this.focusCondition)}acceptSelected(e){const t=this._list.getFocus();if(0===t.length)return;const i=t[0],o=this._list.element(i);if(!this.focusCondition(o))return;const n=e?new R:new M;this._list.setSelection([i],n)}onListSelection(e){if(!e.elements.length)return;const t=e.elements[0];t.item&&this.focusCondition(t)?this._delegate.onSelect(t.item,e.browserEvent instanceof R):this._list.setSelection([])}onListHover(e){this._list.setFocus("number"==typeof e.index?[e.index]:[])}onListClick(e){e.element&&this.focusCondition(e.element)&&this._list.setFocus([])}};function P(e){return e.replace(/\r\n|\r|\n/g," ")}K=L([A(4,I.u),A(5,D.d)],K);var q=i(84144),V=i(93983),H=i(65026),j=i(72065),W=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},U=function(e,t){return function(i,o){t(i,o,e)}};const $={Visible:new V.uy("codeActionMenuVisible",!1,(0,k.NC)("codeActionMenuVisible","Whether the action widget list is visible"))},z=(0,j.yh)("actionWidgetService");let G=class extends r.JT{get isVisible(){return $.Visible.getValue(this._contextKeyService)||!1}constructor(e,t,i){super(),this._contextViewService=e,this._contextKeyService=t,this._instantiationService=i,this._list=this._register(new r.XK)}show(e,t,i,o,n,r,s){const a=$.Visible.bindTo(this._contextKeyService),l=this._instantiationService.createInstance(K,e,t,i,o);this._contextViewService.showContextView({getAnchor:()=>n,render:e=>(a.set(!0),this._renderWidget(e,l,null!=s?s:[])),onHide:e=>{a.reset(),this._onWidgetClosed(e)}},r,!1)}acceptSelected(e){var t;null===(t=this._list.value)||void 0===t||t.acceptSelected(e)}focusPrevious(){var e,t;null===(t=null===(e=this._list)||void 0===e?void 0:e.value)||void 0===t||t.focusPrevious()}focusNext(){var e,t;null===(t=null===(e=this._list)||void 0===e?void 0:e.value)||void 0===t||t.focusNext()}hide(){var e;null===(e=this._list.value)||void 0===e||e.hide(),this._list.clear()}_renderWidget(e,t,i){var n;const s=document.createElement("div");if(s.classList.add("action-widget"),e.appendChild(s),this._list.value=t,!this._list.value)throw new Error("List has no value");s.appendChild(this._list.value.domNode);const a=new r.SL,l=document.createElement("div"),c=e.appendChild(l);c.classList.add("context-view-block"),a.add(o.nm(c,o.tw.MOUSE_DOWN,(e=>e.stopPropagation())));const d=document.createElement("div"),u=e.appendChild(d);u.classList.add("context-view-pointerBlock"),a.add(o.nm(u,o.tw.POINTER_MOVE,(()=>u.remove()))),a.add(o.nm(u,o.tw.MOUSE_DOWN,(()=>u.remove())));let h=0;if(i.length){const e=this._createActionBar(".action-widget-action-bar",i);e&&(s.appendChild(e.getContainer().parentElement),a.add(e),h=e.getContainer().offsetWidth)}const g=null===(n=this._list.value)||void 0===n?void 0:n.layout(h);s.style.width=`${g}px`;const p=a.add(o.go(e));return a.add(p.onDidBlur((()=>this.hide()))),a}_createActionBar(e,t){if(!t.length)return;const i=o.$(e),r=new n.o(i);return r.push(t,{icon:!1,label:!0}),r}_onWidgetClosed(e){var t;null===(t=this._list.value)||void 0===t||t.hide(e)}};G=W([U(0,I.u),U(1,V.i6),U(2,j.TG)],G),(0,H.z)(z,G,1);const Q=1100;(0,q.r1)(class extends q.Ke{constructor(){super({id:"hideCodeActionWidget",title:{value:(0,k.NC)("hideCodeActionWidget.title","Hide action widget"),original:"Hide action widget"},precondition:$.Visible,keybinding:{weight:Q,primary:9,secondary:[1033]}})}run(e){e.get(z).hide()}}),(0,q.r1)(class extends q.Ke{constructor(){super({id:"selectPrevCodeAction",title:{value:(0,k.NC)("selectPrevCodeAction.title","Select previous action"),original:"Select previous action"},precondition:$.Visible,keybinding:{weight:Q,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})}run(e){const t=e.get(z);t instanceof G&&t.focusPrevious()}}),(0,q.r1)(class extends q.Ke{constructor(){super({id:"selectNextCodeAction",title:{value:(0,k.NC)("selectNextCodeAction.title","Select next action"),original:"Select next action"},precondition:$.Visible,keybinding:{weight:Q,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})}run(e){const t=e.get(z);t instanceof G&&t.focusNext()}}),(0,q.r1)(class extends q.Ke{constructor(){super({id:B,title:{value:(0,k.NC)("acceptSelected.title","Accept selected action"),original:"Accept selected action"},precondition:$.Visible,keybinding:{weight:Q,primary:3,secondary:[2132]}})}run(e){const t=e.get(z);t instanceof G&&t.acceptSelected()}}),(0,q.r1)(class extends q.Ke{constructor(){super({id:N,title:{value:(0,k.NC)("previewSelected.title","Preview selected action"),original:"Preview selected action"},precondition:$.Visible,keybinding:{weight:Q,primary:2051}})}run(e){const t=e.get(z);t instanceof G&&t.acceptSelected(!0)}})},44691:(e,t,i)=>{i.d(t,{Mm:()=>U,Id:()=>Q,vr:()=>j,LJ:()=>H});var o=i(65321),n=i(59069),r=i(10244),s=i(98324),a=i(74741),l=i(8030),c=i(5976),d=i(1432),u=i(93379),h=i.n(u),g=i(7795),p=i.n(g),f=i(90569),m=i.n(f),b=i(3565),v=i.n(b),y=i(19216),k=i.n(y),C=i(44589),w=i.n(C),_=i(51854),S={};S.styleTagTransform=w(),S.setAttributes=v(),S.insert=m().bind(null,"head"),S.domAPI=p(),S.insertStyleElement=k();h()(_.Z,S);_.Z&&_.Z.locals&&_.Z.locals;var x=i(63580),I=i(84144);var D=i(93983),T=i(5606),E=i(72065),L=i(91847),A=i(59422),B=i(52365),N=i(97781),O=i(25670),F=i(92321),M=i(98401),R=i(73910),K=i(86253),P=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},q=function(e,t){return function(i,o){t(i,o,e)}},V=function(e,t,i,o){return new(i||(i=Promise))((function(n,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(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))};function H(e,t,i,n){const r=e.getActions(t),s=o._q.getInstance();W(r,i,s.keyStatus.altKey||(d.ED||d.IJ)&&s.keyStatus.shiftKey,n?e=>e===n:e=>"navigation"===e)}function j(e,t,i,o,n,r){W(e.getActions(t),i,!1,"string"==typeof o?e=>e===o:o,n,r)}function W(e,t,i,o=(e=>"navigation"===e),n=(()=>!1),r=!1){let s,l;Array.isArray(t)?(s=t,l=t):(s=t.primary,l=t.secondary);const c=new Set;for(const[t,n]of e){let e;o(t)?(e=s,e.length>0&&r&&e.push(new a.Z0)):(e=l,e.length>0&&e.push(new a.Z0));for(let o of n){i&&(o=o instanceof I.U8&&o.alt?o.alt:o);const n=e.push(o);o instanceof a.wY&&c.add({group:t,action:o,index:n-1})}}for(const{group:e,action:t,index:i}of c){const r=o(e)?s:l,a=t.actions;a.length<=1&&n(t,e,r.length)&&r.splice(i,1,...a)}}let U=class extends r.gU{constructor(e,t,i,n,r,s,a){super(void 0,e,{icon:!(!e.class&&!e.item.icon),label:!e.class&&!e.item.icon,draggable:null==t?void 0:t.draggable,keybinding:null==t?void 0:t.keybinding,hoverDelegate:null==t?void 0:t.hoverDelegate}),this._keybindingService=i,this._notificationService=n,this._contextKeyService=r,this._themeService=s,this._contextMenuService=a,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new c.XK),this._altKey=o._q.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(e){return V(this,void 0,void 0,(function*(){e.preventDefault(),e.stopPropagation();try{yield 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._menuItemAction.item);let t=!1,i=this._altKey.keyStatus.altKey||(d.ED||d.IJ)&&this._altKey.keyStatus.shiftKey;const n=()=>{var e;const o=t&&i&&!!(null===(e=this._commandAction.alt)||void 0===e?void 0:e.enabled);o!==this._wantsAltCommand&&(this._wantsAltCommand=o,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._menuItemAction.alt&&this._register(this._altKey.event((e=>{i=e.altKey||(d.ED||d.IJ)&&e.shiftKey,n()}))),this._register((0,o.nm)(e,"mouseleave",(e=>{t=!1,n()}))),this._register((0,o.nm)(e,"mouseenter",(e=>{t=!0,n()})))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}getTooltip(){var e;const t=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),i=t&&t.getLabel(),o=this._commandAction.tooltip||this._commandAction.label;let n=i?(0,x.NC)("titleAndKb","{0} ({1})",o,i):o;if(!this._wantsAltCommand&&(null===(e=this._menuItemAction.alt)||void 0===e?void 0:e.enabled)){const e=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,t=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),i=t&&t.getLabel(),o=i?(0,x.NC)("titleAndKb","{0} ({1})",e,i):e;n=(0,x.NC)("titleAndKbAndAlt","{0}\n[{1}] {2}",n,l.xo.modifierLabels[d.OS].altKey,o)}return n}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){this._itemClassDispose.value=void 0;const{element:t,label:i}=this;if(!t||!i)return;const n=this._commandAction.checked&&((r=e.toggled)&&void 0!==r.condition)&&e.toggled.icon?e.toggled.icon:e.icon;var r;if(n)if(O.k.isThemeIcon(n)){const e=O.k.asClassNameArray(n);i.classList.add(...e),this._itemClassDispose.value=(0,c.OF)((()=>{i.classList.remove(...e)}))}else i.style.backgroundImage=(0,F._T)(this._themeService.getColorTheme().type)?(0,o.wY)(n.dark):(0,o.wY)(n.light),i.classList.add("icon"),this._itemClassDispose.value=(0,c.F8)((0,c.OF)((()=>{i.style.backgroundImage="",i.classList.remove("icon")})),this._themeService.onDidColorThemeChange((()=>{this.updateClass()})))}};U=P([q(2,L.d),q(3,A.lT),q(4,D.i6),q(5,N.XE),q(6,T.i)],U);let $=class extends s.C{constructor(e,t,i,o,n){var r,s,a;const l=Object.assign(Object.assign({},t),{menuAsChild:null!==(r=null==t?void 0:t.menuAsChild)&&void 0!==r&&r,classNames:null!==(s=null==t?void 0:t.classNames)&&void 0!==s?s:O.k.isThemeIcon(e.item.icon)?O.k.asClassName(e.item.icon):void 0,keybindingProvider:null!==(a=null==t?void 0:t.keybindingProvider)&&void 0!==a?a:e=>i.lookupKeybinding(e.id)});super(e,{getActions:()=>e.actions},o,l),this._keybindingService=i,this._contextMenuService=o,this._themeService=n}render(e){super.render(e),(0,M.p_)(this.element),e.classList.add("menu-entry");const t=this._action,{icon:i}=t.item;if(i&&!O.k.isThemeIcon(i)){this.element.classList.add("icon");const e=()=>{this.element&&(this.element.style.backgroundImage=(0,F._T)(this._themeService.getColorTheme().type)?(0,o.wY)(i.dark):(0,o.wY)(i.light))};e(),this._register(this._themeService.onDidColorThemeChange((()=>{e()})))}}};$=P([q(2,L.d),q(3,T.i),q(4,N.XE)],$);let z=class extends r.YH{constructor(e,t,i,o,n,r,l,c){var d,u,h;let g;super(null,e),this._keybindingService=i,this._notificationService=o,this._contextMenuService=n,this._menuService=r,this._instaService=l,this._storageService=c,this._container=null,this._options=t,this._storageKey=`${e.item.submenu.id}_lastActionId`;const p=c.get(this._storageKey,1);p&&(g=e.actions.find((e=>p===e.id))),g||(g=e.actions[0]),this._defaultAction=this._instaService.createInstance(U,g,{keybinding:this._getDefaultActionKeybindingLabel(g)});const f=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null===(d=null==t?void 0:t.menuAsChild)||void 0===d||d,classNames:null!==(u=null==t?void 0:t.classNames)&&void 0!==u?u:["codicon","codicon-chevron-down"],actionRunner:null!==(h=null==t?void 0:t.actionRunner)&&void 0!==h?h:new a.Wi});this._dropdown=new s.C(e,e.actions,this._contextMenuService,f),this._dropdown.actionRunner.onDidRun((e=>{e.action instanceof I.U8&&this.update(e.action)}))}update(e){this._storageService.store(this._storageKey,e.id,1,0),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(U,e,{keybinding:this._getDefaultActionKeybindingLabel(e)}),this._defaultAction.actionRunner=new class extends a.Wi{runAction(e,t){return V(this,void 0,void 0,(function*(){yield e.run(void 0)}))}},this._container&&this._defaultAction.render((0,o.Ce)(this._container,(0,o.$)(".action-container")))}_getDefaultActionKeybindingLabel(e){var t;let i;if(null===(t=this._options)||void 0===t?void 0:t.renderKeybindingWithDefaultActionLabel){const t=this._keybindingService.lookupKeybinding(e.id);t&&(i=`(${t.getLabel()})`)}return i}setActionContext(e){super.setActionContext(e),this._defaultAction.setActionContext(e),this._dropdown.setActionContext(e)}render(e){this._container=e,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");const t=(0,o.$)(".action-container");this._defaultAction.render((0,o.R3)(this._container,t)),this._register((0,o.nm)(t,o.tw.KEY_DOWN,(e=>{const t=new n.y(e);t.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),t.stopPropagation())})));const i=(0,o.$)(".dropdown-action-container");this._dropdown.render((0,o.R3)(this._container,i)),this._register((0,o.nm)(i,o.tw.KEY_DOWN,(e=>{var t;const i=new n.y(e);i.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),null===(t=this._defaultAction.element)||void 0===t||t.focus(),i.stopPropagation())})))}focus(e){e?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(e){e?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};z=P([q(2,L.d),q(3,A.lT),q(4,T.i),q(5,I.co),q(6,E.TG),q(7,B.Uy)],z);let G=class extends r.Lc{constructor(e,t){super(null,e,e.actions.map((e=>({text:e.id===a.Z0.ID?"─────────":e.label,isDisabled:!e.enabled}))),0,t,K.BM,{ariaLabel:e.tooltip,optionsAsChildren:!0}),this.select(Math.max(0,e.actions.findIndex((e=>e.checked))))}render(e){super.render(e),e.style.borderColor=(0,R.n_1)(R.a9O)}runAction(e,t){const i=this.action.actions[t];i&&this.actionRunner.run(i)}};function Q(e,t,i){return t instanceof I.U8?e.createInstance(U,t,i):t instanceof I.NZ?t.item.isSelection?e.createInstance(G,t):t.item.rememberDefaultAction?e.createInstance(z,t,i):e.createInstance($,t,i):void 0}G=P([q(1,T.u)],G)},59856:(e,t,i)=>{i.d(t,{T:()=>m});var o=i(65321),n=i(5629),r=i(74741),s=i(9488),a=i(5976),l=i(63580),c=i(84144),d=i(93983),u=i(5606),h=i(91847),g=i(10829),p=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},f=function(e,t){return function(i,o){t(i,o,e)}};let m=class extends n.u{constructor(e,t,i,o,n,r,s){super(e,n,Object.assign(Object.assign({getKeyBinding:e=>{var t;return null!==(t=r.lookupKeybinding(e.id))&&void 0!==t?t:void 0}},t),{allowContextMenu:!0})),this._options=t,this._menuService=i,this._contextKeyService=o,this._contextMenuService=n,this._sessionDisposables=this._store.add(new a.SL),(null==t?void 0:t.telemetrySource)&&this._store.add(this.actionBar.onDidRun((e=>s.publicLog2("workbenchActionExecuted",{id:e.action.id,from:t.telemetrySource}))))}setActions(e,t=[],i){var n,a,d;this._sessionDisposables.clear();const u=e.slice(),h=t.slice(),g=[];let p=0;const f=[];let m=!1;if(-1!==(null===(n=this._options)||void 0===n?void 0:n.hiddenItemStrategy))for(let e=0;e=this._options.maxNumberOfItems&&(u[t]=void 0,f[t]=i))}}(0,s.Rs)(u),(0,s.Rs)(f),super.setActions(u,r.Z0.join(f,h)),g.length>0&&this._sessionDisposables.add((0,o.nm)(this.getElement(),"contextmenu",(e=>{var t,o,n,s;const a=this.getItemAction(e.target);if(!a)return;e.preventDefault(),e.stopPropagation();let d,u=!1;if(1===p&&0===(null===(t=this._options)||void 0===t?void 0:t.hiddenItemStrategy)){u=!0;for(let e=0;ethis._menuService.resetHiddenStates(i)}))),this._contextMenuService.showContextMenu({getAnchor:()=>e,getActions:()=>h,menuId:null===(n=this._options)||void 0===n?void 0:n.contextMenu,menuActionOptions:Object.assign({renderShortTitle:!0},null===(s=this._options)||void 0===s?void 0:s.menuOptions),contextKeyService:this._contextKeyService})})))}};m=p([f(2,c.co),f(3,d.i6),f(4,u.i),f(5,h.d),f(6,g.b)],m)},84144:(e,t,i)=>{i.d(t,{BH:()=>k,Ke:()=>_,NZ:()=>C,U8:()=>w,co:()=>v,eH:()=>b,f6:()=>m,r1:()=>S,vr:()=>f});var o=i(74741),n=i(25670),r=i(4669),s=i(5976),a=i(91741),l=i(94565),c=i(93983),d=i(72065),u=i(49989),h=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},g=function(e,t){return function(i,o){t(i,o,e)}},p=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);nt===e}}y._all=new Map;const k=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new r.SZ({merge:y.merge}),this.onDidChangeMenu=this._onDidChangeMenu.event}addCommand(e){return this._commands.set(e.id,e),this._onDidChangeMenu.fire(y.for(b.CommandPalette)),(0,s.OF)((()=>{this._commands.delete(e.id)&&this._onDidChangeMenu.fire(y.for(b.CommandPalette))}))}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach(((t,i)=>e.set(i,t))),e}appendMenuItem(e,t){let i=this._menuItems.get(e);i||(i=new a.S,this._menuItems.set(e,i));const o=i.push(t);return this._onDidChangeMenu.fire(y.for(e)),(0,s.OF)(o)}appendMenuItems(e){const t=new s.SL;for(const{id:i,item:o}of e)t.add(this.appendMenuItem(i,o));return t}getMenuItems(e){let t;return t=this._menuItems.has(e)?[...this._menuItems.get(e)]:[],e===b.CommandPalette&&this._appendImplicitItems(t),t}_appendImplicitItems(e){const t=new Set;for(const i of e)f(i)&&(t.add(i.command.id),i.alt&&t.add(i.alt.id));this._commands.forEach(((i,o)=>{t.has(o)||e.push({command:i})}))}};class C extends o.wY{constructor(e,t,i){super(`submenuitem.${e.submenu.id}`,"string"==typeof e.title?e.title:e.title.value,i,"submenu"),this.item=e,this.hideActions=t}}let w=class e{static label(e,t){return(null==t?void 0:t.renderShortTitle)&&e.shortTitle?"string"==typeof e.shortTitle?e.shortTitle:e.shortTitle.value:"string"==typeof e.title?e.title:e.title.value}constructor(t,i,o,r,s,a){var l,c;let d;if(this.hideActions=r,this._commandService=a,this.id=t.id,this.label=e.label(t,o),this.tooltip=null!==(c="string"==typeof t.tooltip?t.tooltip:null===(l=t.tooltip)||void 0===l?void 0:l.value)&&void 0!==c?c:"",this.enabled=!t.precondition||s.contextMatchesRules(t.precondition),this.checked=void 0,t.toggled){const e=t.toggled.condition?t.toggled:{condition:t.toggled};this.checked=s.contextMatchesRules(e.condition),this.checked&&e.tooltip&&(this.tooltip="string"==typeof e.tooltip?e.tooltip:e.tooltip.value),this.checked&&n.k.isThemeIcon(e.icon)&&(d=e.icon),e.title&&(this.label="string"==typeof e.title?e.title:e.title.value)}d||(d=n.k.isThemeIcon(t.icon)?t.icon:void 0),this.item=t,this.alt=i?new e(i,void 0,o,r,s,a):void 0,this._options=o,this.class=d&&n.k.asClassName(d)}run(...e){var t,i;let o=[];return(null===(t=this._options)||void 0===t?void 0:t.arg)&&(o=[...o,this._options.arg]),(null===(i=this._options)||void 0===i?void 0:i.shouldForwardArgs)&&(o=[...o,...e]),this._commandService.executeCommand(this.id,...o)}};w=h([g(4,c.i6),g(5,l.H)],w);class _{constructor(e){this.desc=e}}function S(e){const t=new s.SL,i=new e,o=i.desc,{f1:n,menu:r,keybinding:a,description:d}=o,h=p(o,["f1","menu","keybinding","description"]);if(t.add(l.P.registerCommand({id:h.id,handler:(e,...t)=>i.run(e,...t),description:d})),Array.isArray(r))for(const e of r)t.add(k.appendMenuItem(e.id,Object.assign({command:Object.assign(Object.assign({},h),{precondition:null===e.precondition?void 0:h.precondition})},e)));else r&&t.add(k.appendMenuItem(r.id,Object.assign({command:Object.assign(Object.assign({},h),{precondition:null===r.precondition?void 0:h.precondition})},r)));if(n&&(t.add(k.appendMenuItem(b.CommandPalette,{command:h,when:h.precondition})),t.add(k.addCommand(h))),Array.isArray(a))for(const e of a)t.add(u.W.registerKeybindingRule(Object.assign(Object.assign({},e),{id:h.id,when:h.precondition?c.Ao.and(h.precondition,e.when):e.when})));else a&&t.add(u.W.registerKeybindingRule(Object.assign(Object.assign({},a),{id:h.id,when:h.precondition?c.Ao.and(h.precondition,a.when):a.when})));return t}},84363:(e,t,i)=>{i.d(t,{h:()=>f});var o=i(15393),n=i(4669),r=i(5976),s=i(84144),a=i(94565),l=i(93983),c=i(74741),d=i(52365),u=i(9488),h=i(63580),g=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},p=function(e,t){return function(i,o){t(i,o,e)}};let f=class{constructor(e,t){this._commandService=e,this._hiddenStates=new m(t)}createMenu(e,t,i){return new v(e,this._hiddenStates,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},i),this._commandService,t)}resetHiddenStates(e){this._hiddenStates.reset(e)}};f=g([p(0,a.H),p(1,d.Uy)],f);let m=class e{constructor(t){this._storageService=t,this._disposables=new r.SL,this._onDidChange=new n.Q5,this.onDidChange=this._onDidChange.event,this._ignoreChangeEvent=!1,this._hiddenByDefaultCache=new Map;try{const i=t.get(e._key,0,"{}");this._data=JSON.parse(i)}catch(e){this._data=Object.create(null)}this._disposables.add(t.onDidChangeValue((i=>{if(i.key===e._key){if(!this._ignoreChangeEvent)try{const i=t.get(e._key,0,"{}");this._data=JSON.parse(i)}catch(e){console.log("FAILED to read storage after UPDATE",e)}this._onDidChange.fire()}})))}dispose(){this._onDidChange.dispose(),this._disposables.dispose()}_isHiddenByDefault(e,t){var i;return null!==(i=this._hiddenByDefaultCache.get(`${e.id}/${t}`))&&void 0!==i&&i}setDefaultState(e,t,i){this._hiddenByDefaultCache.set(`${e.id}/${t}`,i)}isHidden(e,t){var i,o;const n=this._isHiddenByDefault(e,t),r=null!==(o=null===(i=this._data[e.id])||void 0===i?void 0:i.includes(t))&&void 0!==o&&o;return n?!r:r}updateHidden(e,t,i){this._isHiddenByDefault(e,t)&&(i=!i);const o=this._data[e.id];if(i)if(o){o.indexOf(t)<0&&o.push(t)}else this._data[e.id]=[t];else if(o){const i=o.indexOf(t);i>=0&&(0,u.LS)(o,i),0===o.length&&delete this._data[e.id]}this._persist()}reset(e){if(void 0===e)this._data=Object.create(null),this._persist();else{for(const{id:t}of e)this._data[t]&&delete this._data[t];this._persist()}}_persist(){try{this._ignoreChangeEvent=!0;const t=JSON.stringify(this._data);this._storageService.store(e._key,t,0,0)}finally{this._ignoreChangeEvent=!1}}};m._key="menu.hiddenCommands",m=g([p(0,d.Uy)],m);let b=class e{constructor(e,t,i,o,n){this._id=e,this._hiddenStates=t,this._collectContextKeysForSubmenus=i,this._commandService=o,this._contextKeyService=n,this._menuGroups=[],this._structureContextKeys=new Set,this._preconditionContextKeys=new Set,this._toggledContextKeys=new Set,this.refresh()}get structureContextKeys(){return this._structureContextKeys}get preconditionContextKeys(){return this._preconditionContextKeys}get toggledContextKeys(){return this._toggledContextKeys}refresh(){this._menuGroups.length=0,this._structureContextKeys.clear(),this._preconditionContextKeys.clear(),this._toggledContextKeys.clear();const t=s.BH.getMenuItems(this._id);let i;t.sort(e._compareMenuItems);for(const e of t){const t=e.group||"";i&&i[0]===t||(i=[t,[]],this._menuGroups.push(i)),i[1].push(e),this._collectContextKeys(e)}}_collectContextKeys(t){if(e._fillInKbExprKeys(t.when,this._structureContextKeys),(0,s.vr)(t)){if(t.command.precondition&&e._fillInKbExprKeys(t.command.precondition,this._preconditionContextKeys),t.command.toggled){const i=t.command.toggled.condition||t.command.toggled;e._fillInKbExprKeys(i,this._toggledContextKeys)}}else this._collectContextKeysForSubmenus&&s.BH.getMenuItems(t.submenu).forEach(this._collectContextKeys,this)}createActionGroups(t){const i=[];for(const o of this._menuGroups){const[n,r]=o,a=[];for(const i of r)if(this._contextKeyService.contextMatchesRules(i.when)){const o=(0,s.vr)(i);o&&this._hiddenStates.setDefaultState(this._id,i.command.id,!!i.isHiddenByDefault);const n=y(this._id,o?i.command:i,this._hiddenStates);if(o)a.push(new s.U8(i.command,i.alt,t,n,this._contextKeyService,this._commandService));else{const o=new e(i.submenu,this._hiddenStates,this._collectContextKeysForSubmenus,this._commandService,this._contextKeyService).createActionGroups(t),r=c.Z0.join(...o.map((e=>e[1])));r.length>0&&a.push(new s.NZ(i,n,r))}}a.length>0&&i.push([n,a])}return i}static _fillInKbExprKeys(e,t){if(e)for(const i of e.keys())t.add(i)}static _compareMenuItems(t,i){const o=t.group,n=i.group;if(o!==n){if(!o)return 1;if(!n)return-1;if("navigation"===o)return-1;if("navigation"===n)return 1;const e=o.localeCompare(n);if(0!==e)return e}const r=t.order||0,a=i.order||0;return ra?1:e._compareTitles((0,s.vr)(t)?t.command.title:t.title,(0,s.vr)(i)?i.command.title:i.title)}static _compareTitles(e,t){const i="string"==typeof e?e:e.original,o="string"==typeof t?t:t.original;return i.localeCompare(o)}};b=g([p(3,a.H),p(4,l.i6)],b);let v=class{constructor(e,t,i,a,l){this._disposables=new r.SL,this._menuInfo=new b(e,t,i.emitEventsForSubmenuChanges,a,l);const c=new o.pY((()=>{this._menuInfo.refresh(),this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!0,isToggleChange:!0})}),i.eventDebounceDelay);this._disposables.add(c),this._disposables.add(s.BH.onDidChangeMenu((t=>{t.has(e)&&c.schedule()})));const d=this._disposables.add(new r.SL);this._onDidChange=new n.D0({onWillAddFirstListener:()=>{d.add(l.onDidChangeContext((e=>{const t=e.affectsSome(this._menuInfo.structureContextKeys),i=e.affectsSome(this._menuInfo.preconditionContextKeys),o=e.affectsSome(this._menuInfo.toggledContextKeys);(t||i||o)&&this._onDidChange.fire({menu:this,isStructuralChange:t,isEnablementChange:i,isToggleChange:o})}))),d.add(t.onDidChange((e=>{this._onDidChange.fire({menu:this,isStructuralChange:!0,isEnablementChange:!1,isToggleChange:!1})})))},onDidRemoveLastListener:d.clear.bind(d),delay:i.eventDebounceDelay,merge:e=>{let t=!1,i=!1,o=!1;for(const n of e)if(t=t||n.isStructuralChange,i=i||n.isEnablementChange,o=o||n.isToggleChange,t&&i&&o)break;return{menu:this,isStructuralChange:t,isEnablementChange:i,isToggleChange:o}}}),this.onDidChange=this._onDidChange.event}getActions(e){return this._menuInfo.createActionGroups(e)}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}};function y(e,t,i){const o=(0,s.f6)(t)?t.submenu.id:t.id,n="string"==typeof t.title?t.title:t.title.value,r=(0,c.xw)({id:`hide/${e.id}/${o}`,label:(0,h.NC)("hide.label","Hide '{0}'",n),run(){i.updateHidden(e,o,!0)}}),a=(0,c.xw)({id:`toggle/${e.id}/${o}`,label:n,get checked(){return!i.isHidden(e,o)},run(){i.updateHidden(e,o,!!this.checked)}});return{hide:r,toggle:a,get isHidden(){return!a.checked}}}v=g([p(3,a.H),p(4,l.i6)],v)},69149:(e,t,i)=>{i.d(t,{e7:()=>r,y$:()=>a});var o=i(72065),n=i(63580);const r=(0,o.yh)("audioCue");class s{static register(e){return new s(e.fileName)}constructor(e){this.fileName=e}}s.error=s.register({fileName:"error.mp3"}),s.warning=s.register({fileName:"warning.mp3"}),s.foldedArea=s.register({fileName:"foldedAreas.mp3"}),s.break=s.register({fileName:"break.mp3"}),s.quickFixes=s.register({fileName:"quickFixes.mp3"}),s.taskCompleted=s.register({fileName:"taskCompleted.mp3"}),s.taskFailed=s.register({fileName:"taskFailed.mp3"}),s.terminalBell=s.register({fileName:"terminalBell.mp3"}),s.diffLineInserted=s.register({fileName:"diffLineInserted.mp3"}),s.diffLineDeleted=s.register({fileName:"diffLineDeleted.mp3"}),s.diffLineModified=s.register({fileName:"diffLineModified.mp3"});class a{static register(e){const t=new a(e.sound,e.name,e.settingsKey);return a._audioCues.add(t),t}constructor(e,t,i){this.sound=e,this.name=t,this.settingsKey=i}}a._audioCues=new Set,a.error=a.register({name:(0,n.NC)("audioCues.lineHasError.name","Error on Line"),sound:s.error,settingsKey:"audioCues.lineHasError"}),a.warning=a.register({name:(0,n.NC)("audioCues.lineHasWarning.name","Warning on Line"),sound:s.warning,settingsKey:"audioCues.lineHasWarning"}),a.foldedArea=a.register({name:(0,n.NC)("audioCues.lineHasFoldedArea.name","Folded Area on Line"),sound:s.foldedArea,settingsKey:"audioCues.lineHasFoldedArea"}),a.break=a.register({name:(0,n.NC)("audioCues.lineHasBreakpoint.name","Breakpoint on Line"),sound:s.break,settingsKey:"audioCues.lineHasBreakpoint"}),a.inlineSuggestion=a.register({name:(0,n.NC)("audioCues.lineHasInlineSuggestion.name","Inline Suggestion on Line"),sound:s.quickFixes,settingsKey:"audioCues.lineHasInlineSuggestion"}),a.terminalQuickFix=a.register({name:(0,n.NC)("audioCues.terminalQuickFix.name","Terminal Quick Fix"),sound:s.quickFixes,settingsKey:"audioCues.terminalQuickFix"}),a.onDebugBreak=a.register({name:(0,n.NC)("audioCues.onDebugBreak.name","Debugger Stopped on Breakpoint"),sound:s.break,settingsKey:"audioCues.onDebugBreak"}),a.noInlayHints=a.register({name:(0,n.NC)("audioCues.noInlayHints","No Inlay Hints on Line"),sound:s.error,settingsKey:"audioCues.noInlayHints"}),a.taskCompleted=a.register({name:(0,n.NC)("audioCues.taskCompleted","Task Completed"),sound:s.taskCompleted,settingsKey:"audioCues.taskCompleted"}),a.taskFailed=a.register({name:(0,n.NC)("audioCues.taskFailed","Task Failed"),sound:s.taskFailed,settingsKey:"audioCues.taskFailed"}),a.terminalCommandFailed=a.register({name:(0,n.NC)("audioCues.terminalCommandFailed","Terminal Command Failed"),sound:s.error,settingsKey:"audioCues.terminalCommandFailed"}),a.terminalBell=a.register({name:(0,n.NC)("audioCues.terminalBell","Terminal Bell"),sound:s.terminalBell,settingsKey:"audioCues.terminalBell"}),a.notebookCellCompleted=a.register({name:(0,n.NC)("audioCues.notebookCellCompleted","Notebook Cell Completed"),sound:s.taskCompleted,settingsKey:"audioCues.notebookCellCompleted"}),a.notebookCellFailed=a.register({name:(0,n.NC)("audioCues.notebookCellFailed","Notebook Cell Failed"),sound:s.taskFailed,settingsKey:"audioCues.notebookCellFailed"}),a.diffLineInserted=a.register({name:(0,n.NC)("audioCues.diffLineInserted","Diff Line Inserted"),sound:s.diffLineInserted,settingsKey:"audioCues.diffLineInserted"}),a.diffLineDeleted=a.register({name:(0,n.NC)("audioCues.diffLineDeleted","Diff Line Deleted"),sound:s.diffLineDeleted,settingsKey:"audioCues.diffLineDeleted"}),a.diffLineModified=a.register({name:(0,n.NC)("audioCues.diffLineModified","Diff Line Modified"),sound:s.diffLineModified,settingsKey:"audioCues.diffLineModified"})},1122:(e,t,i)=>{i.d(t,{r:()=>h});var o=i(16268),n=i(65321),r=i(15393),s=i(5976),a=i(34277),l=i(43557),c=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},d=function(e,t){return function(i,o){t(i,o,e)}},u=function(e,t,i,o){return new(i||(i=Promise))((function(n,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(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))};let h=class extends s.JT{constructor(e,t){super(),this.layoutService=e,this.logService=t,this.mapTextToType=new Map,this.findText="",this.resources=[],(o.isSafari||o.isWebkitWebView)&&this.installWebKitWriteTextWorkaround()}installWebKitWriteTextWorkaround(){const e=()=>{const e=new r.CR;this.webKitPendingClipboardWritePromise&&!this.webKitPendingClipboardWritePromise.isSettled&&this.webKitPendingClipboardWritePromise.cancel(),this.webKitPendingClipboardWritePromise=e,navigator.clipboard.write([new ClipboardItem({"text/plain":e.p})]).catch((t=>u(this,void 0,void 0,(function*(){t instanceof Error&&"NotAllowedError"===t.name&&e.isRejected||this.logService.error(t)}))))};this.layoutService.hasContainer&&(this._register((0,n.nm)(this.layoutService.container,"click",e)),this._register((0,n.nm)(this.layoutService.container,"keydown",e)))}writeText(e,t){return u(this,void 0,void 0,(function*(){if(t)return void this.mapTextToType.set(t,e);if(this.webKitPendingClipboardWritePromise)return this.webKitPendingClipboardWritePromise.complete(e);try{return yield navigator.clipboard.writeText(e)}catch(e){console.error(e)}const i=document.activeElement,o=document.body.appendChild((0,n.$)("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"),i instanceof HTMLElement&&i.focus(),document.body.removeChild(o)}))}readText(e){return u(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 u(this,void 0,void 0,(function*(){return this.findText}))}writeFindText(e){return u(this,void 0,void 0,(function*(){this.findText=e}))}readResources(){return u(this,void 0,void 0,(function*(){return this.resources}))}};h=c([d(0,a.F),d(1,l.VZ)],h)},84972:(e,t,i)=>{i.d(t,{p:()=>o});const o=(0,i(72065).yh)("clipboardService")},94565:(e,t,i)=>{i.d(t,{H:()=>l,P:()=>c});var o=i(4669),n=i(53725),r=i(5976),s=i(91741),a=i(98401);const l=(0,i(72065).yh)("commandService"),c=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new o.Q5,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(const i of e.description.args)t.push(i.constraint);const i=e.handler;e.handler=function(e,...o){return(0,a.D8)(o,t),i(e,...o)}}const{id:i}=e;let o=this._commands.get(i);o||(o=new s.S,this._commands.set(i,o));const n=o.unshift(e),l=(0,r.OF)((()=>{n();const e=this._commands.get(i);(null==e?void 0:e.isEmpty())&&this._commands.delete(i)}));return this._onDidRegisterCommand.fire(i),l}registerCommandAlias(e,t){return c.registerCommand(e,((e,...i)=>e.get(l).executeCommand(t,...i)))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return n.$.first(t)}getCommands(){const e=new Map;for(const t of this._commands.keys()){const i=this.getCommand(t);i&&e.set(t,i)}return e}};c.registerCommand("noop",(()=>{}))},33108:(e,t,i)=>{i.d(t,{KV:()=>r,Mt:()=>l,Od:()=>n,UI:()=>c,Ui:()=>o,xL:()=>s});const o=(0,i(72065).yh)("configurationService");function n(e,t){const i=Object.create(null);for(const o in e)r(i,o,e[o],t);return i}function r(e,t,i,o){const n=t.split("."),r=n.pop();let s=e;for(let e=0;e{i.d(t,{VK:()=>f,VV:()=>h,YX:()=>m});var o=i(9488),n=i(43702),r=i(36248),s=i(98401),a=i(70666),l=i(33108),c=i(23193),d=i(89872);function u(e){return Object.isFrozen(e)?e:r._A(e)}class h{constructor(e={},t=[],i=[],o){this._contents=e,this._keys=t,this._overrides=i,this.raw=o,this.overrideConfigurations=new Map}get rawConfiguration(){var e;if(!this._rawConfiguration)if(null===(e=this.raw)||void 0===e?void 0:e.length){const e=this.raw.map((e=>{if(e instanceof h)return e;const t=new g("");return t.parseRaw(e),t.configurationModel}));this._rawConfiguration=e.reduce(((e,t)=>t===e?t:e.merge(t)),e[0])}else this._rawConfiguration=this;return this._rawConfiguration}get contents(){return this._contents}get overrides(){return this._overrides}get keys(){return this._keys}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?(0,l.Mt)(this.contents,e):this.contents}inspect(e,t){const i=this.rawConfiguration.getValue(e);return{value:i,override:t?this.rawConfiguration.getOverrideValue(e,t):void 0,merged:t?this.rawConfiguration.override(t).getValue(e):i}}getOverrideValue(e,t){const i=this.getContentsForOverrideIdentifer(t);return i?e?(0,l.Mt)(i,e):i:void 0}override(e){let t=this.overrideConfigurations.get(e);return t||(t=this.createOverrideConfigurationModel(e),this.overrideConfigurations.set(e,t)),t}merge(...e){var t,i;const n=r.I8(this.contents),s=r.I8(this.overrides),a=[...this.keys],l=(null===(t=this.raw)||void 0===t?void 0:t.length)?[...this.raw]:[this];for(const t of e)if(l.push(...(null===(i=t.raw)||void 0===i?void 0:i.length)?t.raw:[t]),!t.isEmpty()){this.mergeContents(n,t.contents);for(const e of t.overrides){const[t]=s.filter((t=>o.fS(t.identifiers,e.identifiers)));t?(this.mergeContents(t.contents,e.contents),t.keys.push(...e.keys),t.keys=o.EB(t.keys)):s.push(r.I8(e))}for(const e of t.keys)-1===a.indexOf(e)&&a.push(e)}return new h(n,a,s,l.every((e=>e instanceof h))?void 0:l)}createOverrideConfigurationModel(e){const t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;const i={};for(const e of o.EB([...Object.keys(this.contents),...Object.keys(t)])){let o=this.contents[e];const n=t[e];n&&("object"==typeof o&&"object"==typeof n?(o=r.I8(o),this.mergeContents(o,n)):o=n),i[e]=o}return new h(i,this.keys,this.overrides)}mergeContents(e,t){for(const i of Object.keys(t))i in e&&s.Kn(e[i])&&s.Kn(t[i])?this.mergeContents(e[i],t[i]):e[i]=r.I8(t[i])}getContentsForOverrideIdentifer(e){let t=null,i=null;const n=e=>{e&&(i?this.mergeContents(i,e):i=r.I8(e))};for(const i of this.overrides)o.fS(i.identifiers,[e])?t=i.contents:i.identifiers.includes(e)&&n(i.contents);return n(t),i}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}addValue(e,t){this.updateValue(e,t,!0)}setValue(e,t){this.updateValue(e,t,!1)}removeValue(e){const t=this.keys.indexOf(e);-1!==t&&(this.keys.splice(t,1),(0,l.xL)(this.contents,e),c.eU.test(e)&&this.overrides.splice(this.overrides.findIndex((t=>o.fS(t.identifiers,(0,c.ny)(e)))),1))}updateValue(e,t,i){(0,l.KV)(this.contents,e,t,(e=>console.error(e))),(i=i||-1===this.keys.indexOf(e))&&this.keys.push(e),c.eU.test(e)&&this.overrides.push({identifiers:(0,c.ny)(e),keys:Object.keys(this.contents[e]),contents:(0,l.Od)(this.contents[e],(e=>console.error(e)))})}}class g{constructor(e){this._name=e,this._raw=null,this._configurationModel=null,this._restrictedConfigurations=[]}get configurationModel(){return this._configurationModel||new h}parseRaw(e,t){this._raw=e;const{contents:i,keys:o,overrides:n,restricted:r,hasExcludedProperties:s}=this.doParseRaw(e,t);this._configurationModel=new h(i,o,n,s?[e]:void 0),this._restrictedConfigurations=r||[]}doParseRaw(e,t){const i=d.B.as(c.IP.Configuration).getConfigurationProperties(),o=this.filter(e,i,!0,t);e=o.raw;return{contents:(0,l.Od)(e,(e=>console.error(`Conflict in settings file ${this._name}: ${e}`))),keys:Object.keys(e),overrides:this.toOverrides(e,(e=>console.error(`Conflict in settings file ${this._name}: ${e}`))),restricted:o.restricted,hasExcludedProperties:o.hasExcludedProperties}}filter(e,t,i,o){let n=!1;if(!(null==o?void 0:o.scopes)&&!(null==o?void 0:o.skipRestricted))return{raw:e,restricted:[],hasExcludedProperties:n};const r={},s=[];for(const a in e)if(c.eU.test(a)&&i){const i=this.filter(e[a],t,!1,o);r[a]=i.raw,n=n||i.hasExcludedProperties,s.push(...i.restricted)}else{const i=t[a],l=i?void 0!==i.scope?i.scope:3:void 0;(null==i?void 0:i.restricted)&&s.push(a),void 0!==l&&void 0!==o.scopes&&!o.scopes.includes(l)||o.skipRestricted&&(null==i?void 0:i.restricted)?n=!0:r[a]=e[a]}return{raw:r,restricted:s,hasExcludedProperties:n}}toOverrides(e,t){const i=[];for(const o of Object.keys(e))if(c.eU.test(o)){const n={};for(const t in e[o])n[t]=e[o][t];i.push({identifiers:(0,c.ny)(o),keys:Object.keys(n),contents:(0,l.Od)(n,t)})}return i}}class p{constructor(e,t,i,o,n,r,s,a,l,c,d,u,h){this.key=e,this.overrides=t,this._value=i,this.overrideIdentifiers=o,this.defaultConfiguration=n,this.policyConfiguration=r,this.applicationConfiguration=s,this.userConfiguration=a,this.localUserConfiguration=l,this.remoteUserConfiguration=c,this.workspaceConfiguration=d,this.folderConfigurationModel=u,this.memoryConfigurationModel=h}inspect(e,t,i){const o=e.inspect(t,i);return{get value(){return u(o.value)},get override(){return u(o.override)},get merged(){return u(o.merged)}}}get userInspectValue(){return this._userInspectValue||(this._userInspectValue=this.inspect(this.userConfiguration,this.key,this.overrides.overrideIdentifier)),this._userInspectValue}get user(){return void 0!==this.userInspectValue.value||void 0!==this.userInspectValue.override?{value:this.userInspectValue.value,override:this.userInspectValue.override}:void 0}}class f{constructor(e,t,i,o,r=new h,s=new h,a=new n.Y9,l=new h,c=new n.Y9){this._defaultConfiguration=e,this._policyConfiguration=t,this._applicationConfiguration=i,this._localUserConfiguration=o,this._remoteUserConfiguration=r,this._workspaceConfiguration=s,this._folderConfigurations=a,this._memoryConfiguration=l,this._memoryConfigurationByResource=c,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new n.Y9,this._userConfiguration=null}getValue(e,t,i){return this.getConsolidatedConfigurationModel(e,t,i).getValue(e)}updateValue(e,t,i={}){let o;i.resource?(o=this._memoryConfigurationByResource.get(i.resource),o||(o=new h,this._memoryConfigurationByResource.set(i.resource,o))):o=this._memoryConfiguration,void 0===t?o.removeValue(e):o.setValue(e,t),i.resource||(this._workspaceConsolidatedConfiguration=null)}inspect(e,t,i){const o=this.getConsolidatedConfigurationModel(e,t,i),n=this.getFolderConfigurationModelForResource(t.resource,i),r=t.resource&&this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration,s=new Set;for(const t of o.overrides)for(const i of t.identifiers)void 0!==o.getOverrideValue(e,i)&&s.add(i);return new p(e,t,o.getValue(e),s.size?[...s]:void 0,this._defaultConfiguration,this._policyConfiguration.isEmpty()?void 0:this._policyConfiguration,this.applicationConfiguration.isEmpty()?void 0:this.applicationConfiguration,this.userConfiguration,this.localUserConfiguration,this.remoteUserConfiguration,i?this._workspaceConfiguration:void 0,n||void 0,r)}get applicationConfiguration(){return this._applicationConfiguration}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration)),this._userConfiguration}get localUserConfiguration(){return this._localUserConfiguration}get remoteUserConfiguration(){return this._remoteUserConfiguration}getConsolidatedConfigurationModel(e,t,i){let o=this.getConsolidatedConfigurationModelForResource(t,i);return t.overrideIdentifier&&(o=o.override(t.overrideIdentifier)),this._policyConfiguration.isEmpty()||void 0===this._policyConfiguration.getValue(e)||(o=o.merge(this._policyConfiguration)),o}getConsolidatedConfigurationModelForResource({resource:e},t){let i=this.getWorkspaceConsolidatedConfiguration();if(t&&e){const o=t.getFolder(e);o&&(i=this.getFolderConsolidatedConfiguration(o.uri)||i);const n=this._memoryConfigurationByResource.get(e);n&&(i=i.merge(n))}return i}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.applicationConfiguration,this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration)),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const i=this.getWorkspaceConsolidatedConfiguration(),o=this._folderConfigurations.get(e);o?(t=i.merge(o),this._foldersConsolidatedConfigurations.set(e,t)):t=i}return t}getFolderConfigurationModelForResource(e,t){if(t&&e){const i=t.getFolder(e);if(i)return this._folderConfigurations.get(i.uri)}}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},policy:{contents:this._policyConfiguration.contents,overrides:this._policyConfiguration.overrides,keys:this._policyConfiguration.keys},application:{contents:this.applicationConfiguration.contents,overrides:this.applicationConfiguration.overrides,keys:this.applicationConfiguration.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:i,overrides:o,keys:n}=this._folderConfigurations.get(t);return e.push([t,{contents:i,overrides:o,keys:n}]),e}),[])}}static parse(e){const t=this.parseConfigurationModel(e.defaults),i=this.parseConfigurationModel(e.policy),o=this.parseConfigurationModel(e.application),r=this.parseConfigurationModel(e.user),s=this.parseConfigurationModel(e.workspace),l=e.folders.reduce(((e,t)=>(e.set(a.o.revive(t[0]),this.parseConfigurationModel(t[1])),e)),new n.Y9);return new f(t,i,o,r,new h,s,l,new h,new n.Y9)}static parseConfigurationModel(e){return new h(e.contents,e.keys,e.overrides)}}class m{constructor(e,t,i,o){this.change=e,this.previous=t,this.currentConfiguraiton=i,this.currentWorkspace=o,this._marker="\n",this._markerCode1=this._marker.charCodeAt(0),this._markerCode2=".".charCodeAt(0),this.affectedKeys=new Set,this._previousConfiguration=void 0;for(const t of e.keys)this.affectedKeys.add(t);for(const[,t]of e.overrides)for(const e of t)this.affectedKeys.add(e);this._affectsConfigStr=this._marker;for(const e of this.affectedKeys)this._affectsConfigStr+=e+this._marker}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=f.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var i;const o=this._marker+e,n=this._affectsConfigStr.indexOf(o);if(n<0)return!1;const s=n+o.length;if(s>=this._affectsConfigStr.length)return!1;const a=this._affectsConfigStr.charCodeAt(s);if(a!==this._markerCode1&&a!==this._markerCode2)return!1;if(t){const o=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null===(i=this.previous)||void 0===i?void 0:i.workspace):void 0,n=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace);return!r.fS(o,n)}return!0}}},23193:(e,t,i)=>{i.d(t,{IP:()=>d,eU:()=>w,ny:()=>_});var o=i(9488),n=i(4669),r=i(98401),s=i(63580),a=i(33108),l=i(81294),c=i(89872);const d={Configuration:"base.contributions.configuration"},u={properties:{},patternProperties:{}},h={properties:{},patternProperties:{}},g={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},f={properties:{},patternProperties:{}},m={properties:{},patternProperties:{}},b="vscode://schemas/settings/resourceLanguage",v=c.B.as(l.I.JSONContribution);const y="\\[([^\\]]+)\\]",k=new RegExp(y,"g"),C=`^(${y})+$`,w=new RegExp(C);function _(e){const t=[];if(w.test(e)){let i=k.exec(e);for(;null==i?void 0:i.length;){const o=i[1].trim();o&&t.push(o),i=k.exec(e)}}return(0,o.EB)(t)}const S=new class{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new n.Q5,this._onDidUpdateConfiguration=new n.Q5,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:s.NC("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},v.registerSchema(b,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(e,t=!0){this.registerConfigurations([e],t)}registerConfigurations(e,t=!0){const i=new Set;this.doRegisterConfigurations(e,t,i),v.registerSchema(b,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:i})}registerDefaultConfigurations(e){const t=new Set;this.doRegisterDefaultConfigurations(e,t),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:t,defaultsOverrides:!0})}doRegisterDefaultConfigurations(e,t){var i;const o=[];for(const{overrides:n,source:l}of e)for(const e in n)if(t.add(e),w.test(e)){const t=this.configurationDefaultsOverrides.get(e),c=null!==(i=null==t?void 0:t.valuesSources)&&void 0!==i?i:new Map;if(l)for(const t of Object.keys(n[e]))c.set(t,l);const d=Object.assign(Object.assign({},(null==t?void 0:t.value)||{}),n[e]);this.configurationDefaultsOverrides.set(e,{source:l,value:d,valuesSources:c});const u=(0,a.UI)(e),h={type:"object",default:d,description:s.NC("defaultLanguageConfiguration.description","Configure settings to be overridden for the {0} language.",u),$ref:b,defaultDefaultValue:d,source:r.HD(l)?void 0:l,defaultValueSource:l};o.push(..._(e)),this.configurationProperties[e]=h,this.defaultLanguageConfigurationOverridesNode.properties[e]=h}else{this.configurationDefaultsOverrides.set(e,{value:n[e],source:l});const t=this.configurationProperties[e];t&&(this.updatePropertyDefaultValue(e,t),this.updateSchema(e,t))}this.doRegisterOverrideIdentifiers(o)}registerOverrideIdentifiers(e){this.doRegisterOverrideIdentifiers(e),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(e,t,i){e.forEach((e=>{this.validateAndRegisterProperties(e,t,e.extensionInfo,e.restrictedProperties,void 0,i),this.configurationContributors.push(e),this.registerJSONConfiguration(e)}))}validateAndRegisterProperties(e,t=!0,i,o,n=3,s){var a;n=r.Jp(e.scope)?n:e.scope;const l=e.properties;if(l)for(const e in l){const c=l[e];t&&x(e,c)?delete l[e]:(c.source=i,c.defaultDefaultValue=l[e].default,this.updatePropertyDefaultValue(e,c),w.test(e)?c.scope=void 0:(c.scope=r.Jp(c.scope)?n:c.scope,c.restricted=r.Jp(c.restricted)?!!(null==o?void 0:o.includes(e)):c.restricted),!l[e].hasOwnProperty("included")||l[e].included?(this.configurationProperties[e]=l[e],(null===(a=l[e].policy)||void 0===a?void 0:a.name)&&this.policyConfigurations.set(l[e].policy.name,e),!l[e].deprecationMessage&&l[e].markdownDeprecationMessage&&(l[e].deprecationMessage=l[e].markdownDeprecationMessage),s.add(e)):(this.excludedConfigurationProperties[e]=l[e],delete l[e]))}const c=e.allOf;if(c)for(const e of c)this.validateAndRegisterProperties(e,t,i,o,n,s)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(e){const t=e=>{const i=e.properties;if(i)for(const e in i)this.updateSchema(e,i[e]);const o=e.allOf;null==o||o.forEach(t)};t(e)}updateSchema(e,t){switch(u.properties[e]=t,t.scope){case 1:h.properties[e]=t;break;case 2:g.properties[e]=t;break;case 6:p.properties[e]=t;break;case 3:f.properties[e]=t;break;case 4:m.properties[e]=t;break;case 5:m.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(const e of this.overrideIdentifiers.values()){const t=`[${e}]`,i={type:"object",description:s.NC("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:s.NC("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:b};this.updatePropertyDefaultValue(t,i),u.properties[t]=i,h.properties[t]=i,g.properties[t]=i,p.properties[t]=i,f.properties[t]=i,m.properties[t]=i}}registerOverridePropertyPatternKey(){const e={type:"object",description:s.NC("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:s.NC("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:b};u.patternProperties[C]=e,h.patternProperties[C]=e,g.patternProperties[C]=e,p.patternProperties[C]=e,f.patternProperties[C]=e,m.patternProperties[C]=e,this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){const i=this.configurationDefaultsOverrides.get(e);let o=null==i?void 0:i.value,n=null==i?void 0:i.source;r.o8(o)&&(o=t.defaultDefaultValue,n=void 0),r.o8(o)&&(o=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}}(t.type)),t.default=o,t.defaultValueSource=n}};function x(e,t){var i,o,n,r;return e.trim()?w.test(e)?s.NC("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==S.getConfigurationProperties()[e]?s.NC("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):(null===(i=t.policy)||void 0===i?void 0:i.name)&&void 0!==S.getPolicyConfigurations().get(null===(o=t.policy)||void 0===o?void 0:o.name)?s.NC("config.policy.duplicate","Cannot register '{0}'. The associated policy {1} is already registered with {2}.",e,null===(n=t.policy)||void 0===n?void 0:n.name,S.getPolicyConfigurations().get(null===(r=t.policy)||void 0===r?void 0:r.name)):null:s.NC("config.property.empty","Cannot register an empty property")}c.B.add(d.Configuration,S)},23191:(e,t,i)=>{i.d(t,{l:()=>a});var o=i(5976),n=i(19461),r=i(23193),s=i(89872);class a extends o.JT{constructor(){super(...arguments),this._configurationModel=new n.VV}get configurationModel(){return this._configurationModel}reload(){return this.resetConfigurationModel(),this.configurationModel}getConfigurationDefaultOverrides(){return{}}resetConfigurationModel(){this._configurationModel=new n.VV;const e=s.B.as(r.IP.Configuration).getConfigurationProperties();this.updateConfigurationModel(Object.keys(e),e)}updateConfigurationModel(e,t){const i=this.getConfigurationDefaultOverrides();for(const o of e){const e=i[o],n=t[o];void 0!==e?this._configurationModel.addValue(o,e):n?this._configurationModel.addValue(o,n.default):this._configurationModel.removeValue(o)}}}},49536:(e,t,i)=>{i.d(t,{aY:()=>S});var o=i(4669),n=i(53725),r=i(5976),s=i(36248),a=i(4767),l=i(70666),c=i(63580),d=i(94565),u=i(33108),h=i(93983),g=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},p=function(e,t){return function(i,o){t(i,o,e)}};const f="data-keybinding-context";class m{constructor(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}get value(){return Object.assign({},this._value)}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 b extends m{constructor(){super(-1,null)}setValue(e,t){return!1}removeValue(e){return!1}getValue(e){}}b.INSTANCE=new b;class v extends m{constructor(e,t,i){super(e,null),this._configurationService=t,this._values=a.Id.forConfigKeys(),this._listener=this._configurationService.onDidChangeConfiguration((e=>{if(7===e.source){const e=Array.from(this._values,(([e])=>e));this._values.clear(),i.fire(new C(e))}else{const t=[];for(const i of e.affectedKeys){const e=`config.${i}`,o=this._values.findSuperstr(e);void 0!==o&&(t.push(...n.$.map(o,(([e])=>e))),this._values.deleteSuperstr(e)),this._values.has(e)&&(t.push(e),this._values.delete(e))}i.fire(new C(t))}}))}dispose(){this._listener.dispose()}getValue(e){if(0!==e.indexOf(v._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);const t=e.substr(v._keyPrefix.length),i=this._configurationService.getValue(t);let o;switch(typeof i){case"number":case"boolean":case"string":o=i;break;default:o=Array.isArray(i)?JSON.stringify(i):i}return this._values.set(e,o),o}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}v._keyPrefix="config.";class y{constructor(e,t,i){this._service=e,this._key=t,this._defaultValue=i,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 k{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}allKeysContainedIn(e){return this.affectsSome(e)}}class C{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}allKeysContainedIn(e){return this.keys.every((t=>e.has(t)))}}class w{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}allKeysContainedIn(e){return this.events.every((t=>t.allKeysContainedIn(e)))}}class _{constructor(e){this._onDidChangeContext=new o.K3({merge:e=>new w(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 y(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 x(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");const t=this.getContextValuesContainer(this._myContextId);return!e||e.evaluate(t)}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(this._isDisposed)return;const i=this.getContextValuesContainer(this._myContextId);i&&i.setValue(e,t)&&this._onDidChangeContext.fire(new k(e))}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new k(e))}getContext(e){return this._isDisposed?b.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute(f)){const t=e.getAttribute(f);return t?parseInt(t,10):NaN}e=e.parentElement}return 0}(e))}}let S=class extends _{constructor(e){super(0),this._contexts=new Map,this._toDispose=new r.SL,this._lastContextId=0;const t=new v(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?b.INSTANCE:this._contexts.get(e)||b.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");const t=++this._lastContextId;return this._contexts.set(t,new m(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};S=g([p(0,u.Ui)],S);class x extends _{constructor(e,t){if(super(e.createChildContext()),this._parentChangeListener=new r.XK,this._parent=e,this._updateParentChangeListener(),this._domNode=t,this._domNode.hasAttribute(f)){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(f,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext((e=>{const t=this._parent.getContextValuesContainer(this._myContextId).value;var i;i=t,e.allKeysContainedIn(new Set(Object.keys(i)))||this._onDidChangeContext.fire(e)}))}dispose(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(f),this._isDisposed=!0)}getContextValuesContainer(e){return this._isDisposed?b.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)}}d.P.registerCommand("_setContext",(function(e,t,i){e.get(h.i6).createKey(String(t),function(e){return(0,s.rs)(e,(e=>"object"==typeof e&&1===e.$mid?l.o.revive(e).toString():e instanceof l.o?e.toString():void 0))}(i))})),d.P.registerCommand({id:"getContextKeyInfo",handler:()=>[...h.uy.all()].sort(((e,t)=>e.key.localeCompare(t.key))),description:{description:(0,c.NC)("getContextKeyInfo","A command that returns information about context keys"),args:[]}}),d.P.registerCommand("_generateContextKeyInfo",(function(){const e=[],t=new Set;for(const i of h.uy.all())t.has(i.key)||(t.add(i.key),e.push(i));e.sort(((e,t)=>e.key.localeCompare(t.key))),console.log(JSON.stringify(e,void 0,2))}))},93983:(e,t,i)=>{i.d(t,{Ao:()=>S,i6:()=>$,uy:()=>U,Fb:()=>x,K8:()=>Q});var o=i(1432),n=i(97295),r=i(17301),s=i(63580);function a(...e){switch(e.length){case 1:return(0,s.NC)("contextkey.scanner.hint.didYouMean1","Did you mean {0}?",e[0]);case 2:return(0,s.NC)("contextkey.scanner.hint.didYouMean2","Did you mean {0} or {1}?",e[0],e[1]);case 3:return(0,s.NC)("contextkey.scanner.hint.didYouMean3","Did you mean {0}, {1} or {2}?",e[0],e[1],e[2]);default:return}}const l=(0,s.NC)("contextkey.scanner.hint.didYouForgetToOpenOrCloseQuote","Did you forget to open or close the quote?"),c=(0,s.NC)("contextkey.scanner.hint.didYouForgetToEscapeSlash","Did you forget to escape the '/' (slash) character? Put two backslashes before it to escape, e.g., '\\\\/'.");class d{constructor(){this._input="",this._start=0,this._current=0,this._tokens=[],this._errors=[],this.stringRe=/[a-zA-Z0-9_<>\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(e){switch(e.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return e.isTripleEq?"===":"==";case 4:return e.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:case 8:return">=";case 9:return"=~";case 10:case 17:case 18:case 19:return e.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 20:return"EOF";default:throw(0,r.L6)(`unhandled token type: ${JSON.stringify(e)}; have you forgotten to add a case?`)}}reset(e){return this._input=e,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();){this._start=this._current;switch(this._advance()){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){const e=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:e})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){const e=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:e})}else this._match(126)?this._addToken(9):this._error(a("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(a("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(a("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(e){return!this._isAtEnd()&&(this._input.charCodeAt(this._current)===e&&(this._current++,!0))}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(e){this._tokens.push({type:e,offset:this._start})}_error(e){const t=this._start,i=this._input.substring(this._start,this._current),o={type:19,offset:this._start,lexeme:i};this._errors.push({offset:t,lexeme:i,additionalInfo:e}),this._tokens.push(o)}_string(){this.stringRe.lastIndex=this._start;const e=this.stringRe.exec(this._input);if(e){this._current=this._start+e[0].length;const t=this._input.substring(this._start,this._current),i=d._keywords.get(t);i?this._addToken(i):this._tokens.push({type:17,lexeme:t,offset:this._start})}}_quotedString(){for(;39!==this._peek()&&!this._isAtEnd();)this._advance();this._isAtEnd()?this._error(l):(this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1}))}_regex(){let e=this._current,t=!1,i=!1;for(;;){if(e>=this._input.length)return this._current=e,void this._error(c);const o=this._input.charCodeAt(e);if(t)t=!1;else{if(47===o&&!i){e++;break}91===o?i=!0:92===o?t=!0:93===o&&(i=!1)}e++}for(;e=this._input.length}}d._regexFlags=new Set(["i","g","s","m","y","u"].map((e=>e.charCodeAt(0)))),d._keywords=new Map([["not",14],["in",13],["false",12],["true",11]]);var u=i(72065);const h=new Map;h.set("false",!1),h.set("true",!0),h.set("isMac",o.dz),h.set("isLinux",o.IJ),h.set("isWindows",o.ED),h.set("isWeb",o.$L),h.set("isMacNative",o.dz&&!o.$L),h.set("isEdge",o.un),h.set("isFirefox",o.vU),h.set("isChrome",o.i7),h.set("isSafari",o.G6);const g=Object.prototype.hasOwnProperty,p={regexParsingWithErrorRecovery:!0},f=(0,s.NC)("contextkey.parser.error.emptyString","Empty context key expression"),m=(0,s.NC)("contextkey.parser.error.emptyString.hint","Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."),b=(0,s.NC)("contextkey.parser.error.noInAfterNot","'in' after 'not'."),v=(0,s.NC)("contextkey.parser.error.closingParenthesis","closing parenthesis ')'"),y=(0,s.NC)("contextkey.parser.error.unexpectedToken","Unexpected token"),k=(0,s.NC)("contextkey.parser.error.unexpectedToken.hint","Did you forget to put && or || before the token?"),C=(0,s.NC)("contextkey.parser.error.unexpectedEOF","Unexpected end of expression"),w=(0,s.NC)("contextkey.parser.error.unexpectedEOF.hint","Did you forget to put a context key?");class _{constructor(e=p){this._config=e,this._scanner=new d,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(e){if(""!==e){this._tokens=this._scanner.reset(e).scan(),this._current=0,this._parsingErrors=[];try{const e=this._expr();if(!this._isAtEnd()){const e=this._peek(),t=17===e.type?k:void 0;throw this._parsingErrors.push({message:y,offset:e.offset,lexeme:d.getLexeme(e),additionalInfo:t}),_._parseError}return e}catch(e){if(e!==_._parseError)throw e;return}}else this._parsingErrors.push({message:f,offset:0,lexeme:"",additionalInfo:m})}_expr(){return this._or()}_or(){const e=[this._and()];for(;this._matchOne(16);){const t=this._and();e.push(t)}return 1===e.length?e[0]:S.or(...e)}_and(){const e=[this._term()];for(;this._matchOne(15);){const t=this._term();e.push(t)}return 1===e.length?e[0]:S.and(...e)}_term(){if(this._matchOne(2)){const e=this._peek();switch(e.type){case 11:return this._advance(),D.INSTANCE;case 12:return this._advance(),T.INSTANCE;case 0:{this._advance();const e=this._expr();return this._consume(1,v),null==e?void 0:e.negate()}case 17:return this._advance(),O.create(e.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",e)}}return this._primary()}_primary(){const e=this._peek();switch(e.type){case 11:return this._advance(),S.true();case 12:return this._advance(),S.false();case 0:{this._advance();const e=this._expr();return this._consume(1,v),e}case 17:{const t=e.lexeme;if(this._advance(),this._matchOne(9)){const e=this._peek();if(!this._config.regexParsingWithErrorRecovery){if(this._advance(),10!==e.type)throw this._errExpectedButGot("REGEX",e);const i=e.lexeme,o=i.lastIndexOf("/"),n=o===i.length-1?void 0:this._removeFlagsGY(i.substring(o+1));let r;try{r=new RegExp(i.substring(1,o),n)}catch(t){throw this._errExpectedButGot("REGEX",e)}return q.create(t,r)}switch(e.type){case 10:case 19:{const i=[e.lexeme];this._advance();let o=this._peek(),n=0;for(let t=0;t=0){const r=i.slice(t+1,n),s="i"===i[n+1]?"i":"";try{o=new RegExp(r,s)}catch(t){throw this._errExpectedButGot("REGEX",e)}}}if(null===o)throw this._errExpectedButGot("REGEX",e);return q.create(t,o)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,b);const e=this._value();return S.notIn(t,e)}switch(this._peek().type){case 3:{this._advance();const e=this._value();if(18===this._previous().type)return S.equals(t,e);switch(e){case"true":return S.has(t);case"false":return S.not(t);default:return S.equals(t,e)}}case 4:{this._advance();const e=this._value();if(18===this._previous().type)return S.notEquals(t,e);switch(e){case"true":return S.not(t);case"false":return S.has(t);default:return S.notEquals(t,e)}}case 5:return this._advance(),K.create(t,this._value());case 6:return this._advance(),P.create(t,this._value());case 7:return this._advance(),M.create(t,this._value());case 8:return this._advance(),R.create(t,this._value());case 13:return this._advance(),S.in(t,this._value());default:return S.has(t)}}case 20:throw this._parsingErrors.push({message:C,offset:e.offset,lexeme:"",additionalInfo:w}),_._parseError;default:throw this._errExpectedButGot("true | false | KEY \n\t| KEY '=~' REGEX \n\t| KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value",this._peek())}}_value(){const e=this._peek();switch(e.type){case 17:case 18:return this._advance(),e.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(e){return e.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(e){return!!this._check(e)&&(this._advance(),!0)}_advance(){return this._isAtEnd()||this._current++,this._previous()}_consume(e,t){if(this._check(e))return this._advance();throw this._errExpectedButGot(t,this._peek())}_errExpectedButGot(e,t,i){const o=(0,s.NC)("contextkey.parser.error.expectedButGot","Expected: {0}\nReceived: '{1}'.",e,d.getLexeme(t)),n=t.offset,r=d.getLexeme(t);return this._parsingErrors.push({message:o,offset:n,lexeme:r,additionalInfo:i}),_._parseError}_check(e){return this._peek().type===e}_peek(){return this._tokens[this._current]}_isAtEnd(){return 20===this._peek().type}}_._parseError=new Error;class S{static false(){return D.INSTANCE}static true(){return T.INSTANCE}static has(e){return E.create(e)}static equals(e,t){return L.create(e,t)}static notEquals(e,t){return N.create(e,t)}static regex(e,t){return q.create(e,t)}static in(e,t){return A.create(e,t)}static notIn(e,t){return B.create(e,t)}static not(e){return O.create(e)}static and(...e){return j.create(e,null,!0)}static or(...e){return W.create(e,null,!0)}static deserialize(e){if(null==e)return;return this._parser.parse(e)}}function x(e,t){const i=e?e.substituteConstants():void 0,o=t?t.substituteConstants():void 0;return!i&&!o||!(!i||!o)&&i.equals(o)}function I(e,t){return e.cmp(t)}S._parser=new _({regexParsingWithErrorRecovery:!1});class D{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return T.INSTANCE}}D.INSTANCE=new D;class T{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return D.INSTANCE}}T.INSTANCE=new T;class E{static create(e,t=null){const i=h.get(e);return"boolean"==typeof i?i?T.INSTANCE:D.INSTANCE:new E(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=2}cmp(e){return e.type!==this.type?this.type-e.type:z(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){const e=h.get(this.key);return"boolean"==typeof e?e?T.INSTANCE:D.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=O.create(this.key,this)),this.negated}}class L{static create(e,t,i=null){if("boolean"==typeof t)return t?E.create(e,i):O.create(e,i);const o=h.get(e);if("boolean"==typeof o){return t===(o?"true":"false")?T.INSTANCE:D.INSTANCE}return new L(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}cmp(e){return e.type!==this.type?this.type-e.type:G(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){const e=h.get(this.key);if("boolean"==typeof e){const t=e?"true":"false";return this.value===t?T.INSTANCE:D.INSTANCE}return this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class A{static create(e,t){return new A(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}cmp(e){return e.type!==this.type?this.type-e.type:G(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&(this.key===e.key&&this.valueKey===e.valueKey)}substituteConstants(){return this}evaluate(e){const t=e.getValue(this.valueKey),i=e.getValue(this.key);return Array.isArray(t)?t.includes(i):"string"==typeof i&&"object"==typeof t&&null!==t&&g.call(t,i)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=B.create(this.key,this.valueKey)),this.negated}}class B{static create(e,t){return new B(e,t)}constructor(e,t){this.key=e,this.valueKey=t,this.type=11,this._negated=A.create(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:this._negated.cmp(e._negated)}equals(e){return e.type===this.type&&this._negated.equals(e._negated)}substituteConstants(){return this}evaluate(e){return!this._negated.evaluate(e)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}class N{static create(e,t,i=null){if("boolean"==typeof t)return t?O.create(e,i):E.create(e,i);const o=h.get(e);if("boolean"==typeof o){return t===(o?"true":"false")?D.INSTANCE:T.INSTANCE}return new N(e,t,i)}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}cmp(e){return e.type!==this.type?this.type-e.type:G(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){const e=h.get(this.key);if("boolean"==typeof e){const t=e?"true":"false";return this.value===t?D.INSTANCE:T.INSTANCE}return this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=L.create(this.key,this.value,this)),this.negated}}class O{static create(e,t=null){const i=h.get(e);return"boolean"==typeof i?i?D.INSTANCE:T.INSTANCE:new O(e,t)}constructor(e,t){this.key=e,this.negated=t,this.type=3}cmp(e){return e.type!==this.type?this.type-e.type:z(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}substituteConstants(){const e=h.get(this.key);return"boolean"==typeof e?e?D.INSTANCE:T.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=E.create(this.key,this)),this.negated}}function F(e,t){if("string"==typeof e){const t=parseFloat(e);isNaN(t)||(e=t)}return"string"==typeof e||"number"==typeof e?t(e):D.INSTANCE}class M{static create(e,t,i=null){return F(t,(t=>new M(e,t,i)))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}cmp(e){return e.type!==this.type?this.type-e.type:G(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}class R{static create(e,t,i=null){return F(t,(t=>new R(e,t,i)))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}cmp(e){return e.type!==this.type?this.type-e.type:G(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=K.create(this.key,this.value,this)),this.negated}}class K{static create(e,t,i=null){return F(t,(t=>new K(e,t,i)))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}cmp(e){return e.type!==this.type?this.type-e.type:G(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))new P(e,t,i)))}constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=15}cmp(e){return e.type!==this.type?this.type-e.type:G(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&(this.key===e.key&&this.value===e.value)}substituteConstants(){return this}evaluate(e){return"string"!=typeof this.value&&parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class q{static create(e,t){return new q(e,t)}constructor(e,t){this.key=e,this.regexp=t,this.type=7,this.negated=null}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.keye.key)return 1;const t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return ti?1:0}equals(e){if(e.type===this.type){const t=this.regexp?this.regexp.source:"",i=e.regexp?e.regexp.source:"";return this.key===e.key&&t===i}return!1}substituteConstants(){return this}evaluate(e){const t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=V.create(this)),this.negated}}class V{static create(e){return new V(e)}constructor(e){this._actual=e,this.type=8}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)}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function H(e){let t=null;for(let i=0,o=e.length;ie.expr.length)return 1;for(let t=0,i=this.expr.length;t1;){const e=o[o.length-1];if(9!==e.type)break;o.pop();const t=o.pop(),n=0===o.length,r=W.create(e.expr.map((e=>j.create([e,t],null,i))),null,n);r&&(o.push(r),o.sort(I))}if(1===o.length)return o[0];if(i){for(let e=0;ee.serialize())).join(" && ")}keys(){const e=[];for(const t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const e=[];for(const t of this.expr)e.push(t.negate());this.negated=W.create(e,this,!0)}return this.negated}}class W{static create(e,t,i){return W._normalizeArr(e,t,i)}constructor(e,t){this.expr=e,this.negated=t,this.type=9}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let t=0,i=this.expr.length;te.serialize())).join(" || ")}keys(){const e=[];for(const t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const e=[];for(const t of this.expr)e.push(t.negate());for(;e.length>1;){const t=e.shift(),i=e.shift(),o=[];for(const e of Z(t))for(const t of Z(i))o.push(j.create([e,t],null,!1));e.unshift(W.create(o,null,!1))}this.negated=W.create(e,this,!0)}return this.negated}}class U extends E{static all(){return U._info.values()}constructor(e,t,i){super(e,null),this._defaultValue=t,"object"==typeof i?U._info.push(Object.assign(Object.assign({},i),{key:e})):!0!==i&&U._info.push({key:e,description:i,type:null!=t?typeof t:void 0})}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return L.create(this.key,e)}}U._info=[];const $=(0,u.yh)("contextKeyService");function z(e,t){return et?1:0}function G(e,t,i,o){return ei?1:to?1:0}function Q(e,t){if(0===e.type||1===t.type)return!0;if(9===e.type)return 9===t.type&&J(e.expr,t.expr);if(9===t.type){for(const i of t.expr)if(Q(e,i))return!0;return!1}if(6===e.type){if(6===t.type)return J(t.expr,e.expr);for(const i of e.expr)if(Q(i,t))return!0;return!1}return e.equals(t)}function J(e,t){let i=0,o=0;for(;i{i.d(t,{cv:()=>s,d0:()=>a});var o=i(1432),n=i(63580),r=i(93983);new r.uy("isMac",o.dz,(0,n.NC)("isMac","Whether the operating system is macOS")),new r.uy("isLinux",o.IJ,(0,n.NC)("isLinux","Whether the operating system is Linux"));const s=new r.uy("isWindows",o.ED,(0,n.NC)("isWindows","Whether the operating system is Windows")),a=(new r.uy("isWeb",o.$L,(0,n.NC)("isWeb","Whether the platform is a web browser")),new r.uy("isMacNative",o.dz&&!o.$L,(0,n.NC)("isMacNative","Whether the operating system is macOS on a non-browser platform")),new r.uy("isIOS",o.gn,(0,n.NC)("isIOS","Whether the operating system is iOS")),new r.uy("isMobile",o.tq,(0,n.NC)("isMobile","Whether the platform is a mobile web browser")),new r.uy("isDevelopment",!1,!0),new r.uy("productQualityType","",(0,n.NC)("productQualityType","Quality type of VS Code")),"inputFocus");new r.uy(a,!1,(0,n.NC)("inputFocus","Whether keyboard focus is inside an input box"))},36744:(e,t,i)=>{i.d(t,{L:()=>C});var o=i(65321),n=i(74741),r=i(4669),s=i(5976),a=i(44691),l=i(84144),c=i(93983),d=i(91847),u=i(59422),h=i(10829),g=i(7448),p=i(68272),f=i(17301),m=i(86253);class b{constructor(e,t,i,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=i,this.keybindingService=o,this.focusToReturn=null,this.lastContainer=null,this.block=null,this.blockDisposable=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(!t.length)return;let i;this.focusToReturn=document.activeElement;const r=(0,o.Re)(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,anchorAxisAlignment:e.anchorAxisAlignment,render:r=>{var a;this.lastContainer=r;const l=e.getMenuClassName?e.getMenuClassName():"";l&&(r.className+=" "+l),this.options.blockMouse&&(this.block=r.appendChild((0,o.$)(".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",null===(a=this.blockDisposable)||void 0===a||a.dispose(),this.blockDisposable=(0,o.nm)(this.block,o.tw.MOUSE_DOWN,(e=>e.stopPropagation())));const c=new s.SL,d=e.actionRunner||new n.Wi;return d.onWillRun((t=>this.onActionRun(t,!e.skipTelemetry)),this,c),d.onDidRun(this.onDidActionRun,this,c),i=new p.v2(r,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:d,getKeyBinding:e.getKeyBinding?e.getKeyBinding:e=>this.keybindingService.lookupKeybinding(e.id)},m.ZR),i.onDidCancel((()=>this.contextViewService.hideContextView(!0)),null,c),i.onDidBlur((()=>this.contextViewService.hideContextView(!0)),null,c),c.add((0,o.nm)(window,o.tw.BLUR,(()=>this.contextViewService.hideContextView(!0)))),c.add((0,o.nm)(window,o.tw.MOUSE_DOWN,(e=>{if(e.defaultPrevented)return;const t=new g.n(e);let i=t.target;if(!t.rightButton){for(;i;){if(i===r)return;i=i.parentElement}this.contextViewService.hideContextView(!0)}}))),(0,s.F8)(c,i)},focus:()=>{null==i||i.focus(!!e.autoSelectFirstItem)},onHide:t=>{var i,n,r;null===(i=e.onHide)||void 0===i||i.call(e,!!t),this.block&&(this.block.remove(),this.block=null),null===(n=this.blockDisposable)||void 0===n||n.dispose(),this.blockDisposable=null,this.lastContainer&&((0,o.vY)()===this.lastContainer||(0,o.jg)((0,o.vY)(),this.lastContainer))&&(null===(r=this.focusToReturn)||void 0===r||r.focus()),this.lastContainer=null}},r,!!r)}onActionRun(e,t){t&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1)}onDidActionRun(e){e.error&&!(0,f.n2)(e.error)&&this.notificationService.error(e.error)}}var v=i(5606),y=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},k=function(e,t){return function(i,o){t(i,o,e)}};let C=class extends s.JT{get contextMenuHandler(){return this._contextMenuHandler||(this._contextMenuHandler=new b(this.contextViewService,this.telemetryService,this.notificationService,this.keybindingService)),this._contextMenuHandler}constructor(e,t,i,o,n,s){super(),this.telemetryService=e,this.notificationService=t,this.contextViewService=i,this.keybindingService=o,this.menuService=n,this.contextKeyService=s,this._contextMenuHandler=void 0,this._onDidShowContextMenu=this._store.add(new r.Q5),this._onDidHideContextMenu=this._store.add(new r.Q5)}configure(e){this.contextMenuHandler.configure(e)}showContextMenu(e){e=w.transform(e,this.menuService,this.contextKeyService),this.contextMenuHandler.showContextMenu(Object.assign(Object.assign({},e),{onHide:t=>{var i;null===(i=e.onHide)||void 0===i||i.call(e,t),this._onDidHideContextMenu.fire()}})),o._q.getInstance().resetKeyStatus(),this._onDidShowContextMenu.fire()}};var w;C=y([k(0,h.b),k(1,u.lT),k(2,v.u),k(3,d.d),k(4,l.co),k(5,c.i6)],C),function(e){e.transform=function(e,t,i){if(!((o=e)&&o.menuId instanceof l.eH))return e;var o;const{menuId:r,menuActionOptions:s,contextKeyService:c}=e;return Object.assign(Object.assign({},e),{getActions:()=>{const o=[];if(r){const e=t.createMenu(r,null!=c?c:i);(0,a.LJ)(e,s,o),e.dispose()}return e.getActions?n.Z0.join(e.getActions(),o):o}})}}(w||(w={}))},5606:(e,t,i)=>{i.d(t,{i:()=>r,u:()=>n});var o=i(72065);const n=(0,o.yh)("contextViewService"),r=(0,o.yh)("contextMenuService")},44995:(e,t,i)=>{i.d(t,{g:()=>l});var o=i(3578),n=i(5976),r=i(34277),s=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},a=function(e,t){return function(i,o){t(i,o,e)}};let l=class extends n.JT{constructor(e){super(),this.layoutService=e,this.currentViewDisposable=n.JT.None,this.container=e.hasContainer?e.container:null,this.contextView=this._register(new o.Ry(this.container,1)),this.layout(),this._register(e.onDidLayout((()=>this.layout())))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,i){t?t===this.container&&this.shadowRoot===i||(this.container=t,this.setContainer(t,i?3:2)):this.layoutService.hasContainer&&this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.shadowRoot=i,this.contextView.show(e);const o=(0,n.OF)((()=>{this.currentViewDisposable===o&&this.hideContextView()}));return this.currentViewDisposable=o,o}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};l=s([a(0,r.F)],l)},28820:(e,t,i)=>{i.d(t,{S:()=>o});const o=(0,i(72065).yh)("dialogService")},16021:(e,t,i)=>{i.d(t,{GR:()=>d,Km:()=>c});var o=i(23547),n=i(43702),r=i(23897),s=i(70666),a=i(50988),l=i(89872);const c={EDITORS:"CodeEditors",FILES:"CodeFiles"};function d(e){var t;const i=[];if(e.dataTransfer&&e.dataTransfer.types.length>0){const n=e.dataTransfer.getData(c.EDITORS);if(n)try{i.push(...(0,r.Q)(n))}catch(e){}else try{const t=e.dataTransfer.getData(o.g.RESOURCES);i.push(...function(e){const t=[];if(e){const i=JSON.parse(e);for(const e of i)if(e.indexOf(":")>0){const{selection:i,uri:o}=(0,a.xI)(s.o.parse(e));t.push({resource:o,options:{selection:i}})}}return t}(t))}catch(e){}if(null===(t=e.dataTransfer)||void 0===t?void 0:t.files)for(let t=0;t{var o;i.d(t,{v:()=>o}),function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(o||(o={}))},90553:(e,t,i)=>{i.d(t,{o:()=>n});class o{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"==typeof e?e.toLowerCase():e._lower}}class n{constructor(e){if(this._set=new Set,e)for(const t of e)this.add(t)}add(e){this._set.add(o.toKey(e))}has(e){return this._set.has(o.toKey(e))}}},75761:(e,t,i)=>{var o;i.d(t,{R:()=>o}),function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"}(o||(o={}))},80143:(e,t,i)=>{i.d(t,{Nq:()=>y,Yb:()=>v,iX:()=>u});var o=i(3070),n=i(43811),r=i(93983),s=i(49989),a=i(63580),l=i(5976),c=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},d=function(e,t){return function(i,o){t(i,o,e)}};const u=new r.uy("suggestWidgetVisible",!1,(0,a.NC)("suggestWidgetVisible","Whether suggestion are visible")),h="historyNavigationWidgetFocus",g="historyNavigationForwardsEnabled",p="historyNavigationBackwardsEnabled";let f;const m=[];function b(e,t){if(m.includes(t))throw new Error("Cannot register the same widget multiple times");m.push(t);const i=new l.SL,o=new r.uy(h,!1).bindTo(e),n=new r.uy(g,!0).bindTo(e),s=new r.uy(p,!0).bindTo(e),a=()=>{o.set(!0),f=t},c=()=>{o.set(!1),f===t&&(f=void 0)};return t.element===document.activeElement&&a(),i.add(t.onDidFocus((()=>a()))),i.add(t.onDidBlur((()=>c()))),i.add((0,l.OF)((()=>{m.splice(m.indexOf(t),1),c()}))),{historyNavigationForwardsEnablement:n,historyNavigationBackwardsEnablement:s,dispose(){i.dispose()}}}let v=class extends o.V{constructor(e,t,i,o){super(e,t,i);const n=this._register(o.createScoped(this.inputBox.element));this._register(b(n,this.inputBox))}};v=c([d(3,r.i6)],v);let y=class extends n.R{constructor(e,t,i,o,n=!1){super(e,t,n,i);const r=this._register(o.createScoped(this.inputBox.element));this._register(b(r,this.inputBox))}};y=c([d(3,r.i6)],y),s.W.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:r.Ao.and(r.Ao.has(h),r.Ao.equals(p,!0),u.isEqualTo(!1)),primary:16,secondary:[528],handler:e=>{null==f||f.showPreviousValue()}}),s.W.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:r.Ao.and(r.Ao.has(h),r.Ao.equals(g,!0),u.isEqualTo(!1)),primary:18,secondary:[530],handler:e=>{null==f||f.showNextValue()}})},97532:(e,t,i)=>{function o(e){var t,i;return"Up"===(null===(t=e.lookupKeybinding("history.showPrevious"))||void 0===t?void 0:t.getElectronAccelerator())&&"Down"===(null===(i=e.lookupKeybinding("history.showNext"))||void 0===i?void 0:i.getElectronAccelerator())}i.d(t,{u:()=>o})},97108:(e,t,i)=>{i.d(t,{M:()=>o});class o{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},65026:(e,t,i)=>{i.d(t,{d:()=>s,z:()=>r});var o=i(97108);const n=[];function r(e,t,i){t instanceof o.M||(t=new o.M(t,[],Boolean(i))),n.push([e,t])}function s(){return n}},72065:(e,t,i)=>{var o;i.d(t,{I8:()=>o,TG:()=>n,yh:()=>r}),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]||[]}}(o||(o={}));const n=r("instantiationService");function r(e){if(o.serviceIds.has(e))return o.serviceIds.get(e);const t=function(e,i,n){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,i){t[o.DI_TARGET]===t?t[o.DI_DEPENDENCIES].push({id:e,index:i}):(t[o.DI_DEPENDENCIES]=[{id:e,index:i}],t[o.DI_TARGET]=t)}(t,e,n)};return t.toString=()=>e,o.serviceIds.set(e,t),t}},22058:(e,t,i)=>{i.d(t,{F:()=>g});var o=i(15393),n=i(17301),r=i(5976),s=i(97108);class a{constructor(e,t){this.key=e,this.data=t,this.incoming=new Map,this.outgoing=new Map}}class l{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(const t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const i=this.lookupOrInsertNode(e),o=this.lookupOrInsertNode(t);i.outgoing.set(o.key,o),o.incoming.set(i.key,i)}removeNode(e){const t=this._hashFn(e);this._nodes.delete(t);for(const e of this._nodes.values())e.outgoing.delete(t),e.incoming.delete(t)}lookupOrInsertNode(e){const t=this._hashFn(e);let i=this._nodes.get(t);return i||(i=new a(t,e),this._nodes.set(t,i)),i}isEmpty(){return 0===this._nodes.size}toString(){const e=[];for(const[t,i]of this._nodes)e.push(`${t}\n\t(-> incoming)[${[...i.incoming.keys()].join(", ")}]\n\t(outgoing ->)[${[...i.outgoing.keys()].join(",")}]\n`);return e.join("\n")}findCycleSlow(){for(const[e,t]of this._nodes){const i=new Set([e]),o=this._findCycle(t,i);if(o)return o}}_findCycle(e,t){for(const[i,o]of e.outgoing){if(t.has(i))return[...t,i].join(" -> ");t.add(i);const e=this._findCycle(o,t);if(e)return e;t.delete(i)}}}var c=i(72065),d=i(60972),u=i(91741);class h extends Error{constructor(e){var t;super("cyclic dependency between services"),this.message=null!==(t=e.findCycleSlow())&&void 0!==t?t:`UNABLE to detect cycle, dumping graph: \n${e.toString()}`}}class g{constructor(e=new d.y,t=!1,i,o=false){var n;this._services=e,this._strict=t,this._parent=i,this._enableTracing=o,this._activeInstantiations=new Set,this._services.set(c.TG,this),this._globalGraph=o?null!==(n=null==i?void 0:i._globalGraph)&&void 0!==n?n:new l((e=>e)):void 0}createChild(e){return new g(e,this._strict,this,this._enableTracing)}invokeFunction(e,...t){const i=p.traceInvocation(this._enableTracing,e);let o=!1;try{return e({get:e=>{if(o)throw(0,n.L6)("service accessor is only valid during the invocation of its target method");const t=this._getOrCreateServiceInstance(e,i);if(!t)throw new Error(`[invokeFunction] unknown service '${e}'`);return t}},...t)}finally{o=!0,i.stop()}}createInstance(e,...t){let i,o;return e instanceof s.M?(i=p.traceCreation(this._enableTracing,e.ctor),o=this._createInstance(e.ctor,e.staticArguments.concat(t),i)):(i=p.traceCreation(this._enableTracing,e),o=this._createInstance(e,t,i)),i.stop(),o}_createInstance(e,t=[],i){const o=c.I8.getServiceDependencies(e).sort(((e,t)=>e.index-t.index)),n=[];for(const t of o){const o=this._getOrCreateServiceInstance(t.id,i);o||this._throwIfStrict(`[createInstance] ${e.name} depends on UNKNOWN service ${t.id}.`,!1),n.push(o)}const r=o.length>0?o[0].index:t.length;if(t.length!==r){console.trace(`[createInstance] First service dependency of ${e.name} at position ${r+1} conflicts with ${t.length} static arguments`);const i=r-t.length;t=i>0?t.concat(new Array(i)):t.slice(0,r)}return Reflect.construct(e,t.concat(n))}_setServiceInstance(e,t){if(this._services.get(e)instanceof s.M)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}}_getServiceInstanceOrDescriptor(e){const t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t}_getOrCreateServiceInstance(e,t){this._globalGraph&&this._globalGraphImplicitDependency&&this._globalGraph.insertEdge(this._globalGraphImplicitDependency,String(e));const i=this._getServiceInstanceOrDescriptor(e);return i instanceof s.M?this._safeCreateAndCacheServiceInstance(e,i,t.branch(e,!0)):(t.branch(e,!1),i)}_safeCreateAndCacheServiceInstance(e,t,i){if(this._activeInstantiations.has(e))throw new Error(`illegal state - RECURSIVELY instantiating service '${e}'`);this._activeInstantiations.add(e);try{return this._createAndCacheServiceInstance(e,t,i)}finally{this._activeInstantiations.delete(e)}}_createAndCacheServiceInstance(e,t,i){var o;const n=new l((e=>e.id.toString()));let r=0;const a=[{id:e,desc:t,_trace:i}];for(;a.length;){const t=a.pop();if(n.lookupOrInsertNode(t),r++>1e3)throw new h(n);for(const i of c.I8.getServiceDependencies(t.desc.ctor)){const r=this._getServiceInstanceOrDescriptor(i.id);if(r||this._throwIfStrict(`[createInstance] ${e} depends on ${i.id} which is NOT registered.`,!0),null===(o=this._globalGraph)||void 0===o||o.insertEdge(String(t.id),String(i.id)),r instanceof s.M){const e={id:i.id,desc:r,_trace:t._trace.branch(i.id,!0)};n.insertEdge(t,e),a.push(e)}}}for(;;){const e=n.roots();if(0===e.length){if(!n.isEmpty())throw new h(n);break}for(const{data:t}of e){if(this._getServiceInstanceOrDescriptor(t.id)instanceof s.M){const e=this._createServiceInstanceWithOwner(t.id,t.desc.ctor,t.desc.staticArguments,t.desc.supportsDelayedInstantiation,t._trace);this._setServiceInstance(t.id,e)}n.removeNode(t)}}return this._getServiceInstanceOrDescriptor(e)}_createServiceInstanceWithOwner(e,t,i=[],o,n){if(this._services.get(e)instanceof s.M)return this._createServiceInstance(e,t,i,o,n);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,i,o,n);throw new Error(`illegalState - creating UNKNOWN service instance ${t.name}`)}_createServiceInstance(e,t,i=[],n,s){if(n){const n=new g(void 0,this._strict,this,this._enableTracing);n._globalGraphImplicitDependency=String(e);const a=new Map,l=new o.Ue((()=>{const e=n._createInstance(t,i,s);for(const[t,i]of a){const o=e[t];if("function"==typeof o)for(const t of i)o.apply(e,t)}return a.clear(),e}));return new Proxy(Object.create(null),{get(e,t){if(!l.isInitialized&&"string"==typeof t&&(t.startsWith("onDid")||t.startsWith("onWill"))){let e=a.get(t);e||(e=new u.S,a.set(t,e));return(t,i,o)=>{const n=e.push([t,i,o]);return(0,r.OF)(n)}}if(t in e)return e[t];const i=l.value;let o=i[t];return"function"!=typeof o||(o=o.bind(i),e[t]=o),o},set:(e,t,i)=>(l.value[t]=i,!0),getPrototypeOf:e=>t.prototype})}return this._createInstance(t,i,s)}_throwIfStrict(e,t){if(t&&console.warn(e),this._strict)throw new Error(e)}}class p{static traceInvocation(e,t){return e?new p(2,t.name||(new Error).stack.split("\n").slice(3,4).join("\n")):p._None}static traceCreation(e,t){return e?new p(1,t.name):p._None}constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}branch(e,t){const i=new p(3,e.toString());return this._dep.push([e,t,i]),i}stop(){const e=Date.now()-this._start;p._totals+=e;let t=!1;const i=[`${1===this.type?"CREATE":"CALL"} ${this.name}`,`${function e(i,o){const n=[],r=new Array(i+1).join("\t");for(const[s,a,l]of o._dep)if(a&&l){t=!0,n.push(`${r}CREATES -> ${s}`);const o=e(i+1,l);o&&n.push(o)}else n.push(`${r}uses -> ${s}`);return n.join("\n")}(1,this)}`,`DONE, took ${e.toFixed(2)}ms (grand total ${p._totals.toFixed(2)}ms)`];(e>2||t)&&p.all.add(i.join("\n"))}}p.all=new Set,p._None=new class extends p{constructor(){super(0,null)}stop(){}branch(){return this}},p._totals=0},60972:(e,t,i)=>{i.d(t,{y:()=>o});class o{constructor(...e){this._entries=new Map;for(const[t,i]of e)this.set(t,i)}set(e,t){const i=this._entries.get(e);return this._entries.set(e,t),i}get(e){return this._entries.get(e)}}},81294:(e,t,i)=>{i.d(t,{I:()=>r});var o=i(4669),n=i(89872);const r={JSONContribution:"base.contributions.json"};const s=new class{constructor(){this._onDidChangeSchema=new o.Q5,this.schemasById={}}registerSchema(e,t){var i;this.schemasById[(i=e,i.length>0&&"#"===i.charAt(i.length-1)?i.substring(0,i.length-1):i)]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}};n.B.add(r.JSONContribution,s)},25244:(e,t,i)=>{i.d(t,{F:()=>d});var o=i(15393),n=i(17301),r=i(4669),s=i(77173),a=i(5976),l=i(63580);const c=/^(cursor|delete|undo|redo|tab|editor\.action\.clipboard)/;class d extends a.JT{get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:r.ju.None}get inChordMode(){return this._currentChords.length>0}constructor(e,t,i,n,s){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=i,this._notificationService=n,this._logService=s,this._onDidUpdateKeybindings=this._register(new r.Q5),this._currentChords=[],this._currentChordChecker=new o.zh,this._currentChordStatusMessage=null,this._ignoreSingleModifiers=u.EMPTY,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new o._F,this._logging=!1}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info(`[KeybindingService]: ${e}`)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e,t){const i=this._getResolver().lookupPrimaryKeybinding(e,t||this._contextKeyService);if(i)return i.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){this._log("/ Soft dispatching keyboard event");const i=this.resolveKeyboardEvent(e);if(i.hasMultipleChords())return console.warn("Unexpected keyboard event mapped to multiple chords"),null;const[o]=i.getDispatchChords();if(null===o)return this._log("\\ Keyboard event cannot be dispatched"),null;const n=this._contextKeyService.getContext(t),r=this._currentChords.map((({keypress:e})=>e));return this._getResolver().resolve(n,r,o)}_scheduleLeaveChordMode(){const e=Date.now();this._currentChordChecker.cancelAndSet((()=>{this._documentHasFocus()?Date.now()-e>5e3&&this._leaveChordMode():this._leaveChordMode()}),500)}_expectAnotherChord(e,t){switch(this._currentChords.push({keypress:e,label:t}),this._currentChords.length){case 0:throw(0,n.L6)("impossible");case 1:this._currentChordStatusMessage=this._notificationService.status(l.NC("first.chord","({0}) was pressed. Waiting for second key of chord...",t));break;default:{const e=this._currentChords.map((({label:e})=>e)).join(", ");this._currentChordStatusMessage=this._notificationService.status(l.NC("next.chord","({0}) was pressed. Waiting for next key of chord...",e))}}this._scheduleLeaveChordMode(),s.F.enabled&&s.F.disable()}_leaveChordMode(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChords=[],s.F.enable()}_dispatch(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t,!1)}_singleModifierDispatch(e,t){const i=this.resolveKeyboardEvent(e),[o]=i.getSingleModifierDispatchChords();if(o)return this._ignoreSingleModifiers.has(o)?(this._log(`+ Ignoring single modifier ${o} due to it being pressed together with other keys.`),this._ignoreSingleModifiers=u.EMPTY,this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1):(this._ignoreSingleModifiers=u.EMPTY,null===this._currentSingleModifier?(this._log(`+ Storing single modifier for possible chord ${o}.`),this._currentSingleModifier=o,this._currentSingleModifierClearTimeout.cancelAndSet((()=>{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null}),300),!1):o===this._currentSingleModifier?(this._log(`/ Dispatching single modifier chord ${o} ${o}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(i,t,!0)):(this._log(`+ Clearing single modifier due to modifier mismatch: ${this._currentSingleModifier} ${o}`),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1));const[n]=i.getChords();return this._ignoreSingleModifiers=new u(n),null!==this._currentSingleModifier&&this._log("+ Clearing single modifier due to other key up."),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,!1}_doDispatch(e,t,i=!1){var o;let n=!1;if(e.hasMultipleChords())return console.warn("Unexpected keyboard event mapped to multiple chords"),!1;let r=null,s=null;if(i){const[t]=e.getSingleModifierDispatchChords();r=t,s=t?[t]:[]}else[r]=e.getDispatchChords(),s=this._currentChords.map((({keypress:e})=>e));if(null===r)return this._log("\\ Keyboard event cannot be dispatched in keydown phase."),n;const a=this._contextKeyService.getContext(t),d=e.getLabel(),u=this._getResolver().resolve(a,s,r);switch(u.kind){case 0:if(this._logService.trace("KeybindingService#dispatch",d,"[ No matching keybinding ]"),this.inChordMode){const e=this._currentChords.map((({label:e})=>e)).join(", ");this._log(`+ Leaving multi-chord mode: Nothing bound to "${e}, ${d}".`),this._notificationService.status(l.NC("missing.chord","The key combination ({0}, {1}) is not a command.",e,d),{hideAfter:1e4}),this._leaveChordMode(),n=!0}return n;case 1:return this._logService.trace("KeybindingService#dispatch",d,"[ Several keybindings match - more chords needed ]"),n=!0,this._expectAnotherChord(r,d),this._log(1===this._currentChords.length?"+ Entering multi-chord mode...":"+ Continuing multi-chord mode..."),n;case 2:if(this._logService.trace("KeybindingService#dispatch",d,`[ Will dispatch command ${u.commandId} ]`),null===u.commandId){if(this.inChordMode){const e=this._currentChords.map((({label:e})=>e)).join(", ");this._log(`+ Leaving chord mode: Nothing bound to "${e}, ${d}".`),this._notificationService.status(l.NC("missing.chord","The key combination ({0}, {1}) is not a command.",e,d),{hideAfter:1e4}),this._leaveChordMode()}n=!0}else this.inChordMode&&this._leaveChordMode(),u.isBubble||(n=!0),this._log(`+ Invoking command ${u.commandId}.`),void 0===u.commandArgs?this._commandService.executeCommand(u.commandId).then(void 0,(e=>this._notificationService.warn(e))):this._commandService.executeCommand(u.commandId,u.commandArgs).then(void 0,(e=>this._notificationService.warn(e))),c.test(u.commandId)||this._telemetryService.publicLog2("workbenchActionExecuted",{id:u.commandId,from:"keybinding",detail:null!==(o=e.getUserSettingsLabel())&&void 0!==o?o:void 0});return n}}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)}}class u{constructor(e){this._ctrlKey=!!e&&e.ctrlKey,this._shiftKey=!!e&&e.shiftKey,this._altKey=!!e&&e.altKey,this._metaKey=!!e&&e.metaKey}has(e){switch(e){case"ctrl":return this._ctrlKey;case"shift":return this._shiftKey;case"alt":return this._altKey;case"meta":return this._metaKey}}}u.EMPTY=new u(null)},91847:(e,t,i)=>{i.d(t,{d:()=>o});const o=(0,i(72065).yh)("keybindingService")},38439:(e,t,i)=>{i.d(t,{s:()=>s});var o=i(93983);const n={kind:0},r={kind:1};class s{constructor(e,t,i){var o;this._log=i,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(const t of e){const e=t.command;e&&"-"!==e.charAt(0)&&this._defaultBoundCommands.set(e,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=s.handleRemovals([].concat(e).concat(t));for(let e=0,t=this._keybindings.length;e=0;e--){const o=i[e];if(o.command===t.command)continue;let n=!0;for(let e=1;e=0;e--){const o=i[e];if(t.contextMatchesRules(o.when))return o}return i[i.length-1]}resolve(e,t,i){const o=[...t,i];this._log(`| Resolving ${o}`);const s=this._map.get(o[0]);if(void 0===s)return this._log("\\ No keybinding entries."),n;let c=null;if(o.length<2)c=s;else{c=[];for(let e=0,t=s.length;et.chords.length)continue;let i=!0;for(let e=1;e=0;i--){const o=t[i];if(s._contextMatchesRules(e,o.when))return o}return null}static _contextMatchesRules(e,t){return!t||t.evaluate(e)}}function a(e){return e?`${e.serialize()}`:"no when condition"}function l(e){return e.extensionId?e.isBuiltinExtension?`built-in extension ${e.extensionId}`:`user extension ${e.extensionId}`:e.isDefault?"built-in":"user"}},49989:(e,t,i)=>{i.d(t,{W:()=>d});var o=i(8313),n=i(1432),r=i(94565),s=i(89872),a=i(5976),l=i(91741);class c{constructor(){this._coreKeybindings=new l.S,this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===n.OS){if(e&&e.win)return e.win}else if(2===n.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){const t=c.bindToCurrentPlatform(e),i=new a.SL;if(t&&t.primary){const r=(0,o.Z9)(t.primary,n.OS);r&&i.add(this._registerDefaultKeybinding(r,e.id,e.args,e.weight,0,e.when))}if(t&&Array.isArray(t.secondary))for(let r=0,s=t.secondary.length;r{s(),this._cachedMergedKeybindings=null}))}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=Array.from(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(u)),this._cachedMergedKeybindings.slice(0)}}const d=new c;function u(e,t){if(e.weight1!==t.weight1)return e.weight1-t.weight1;if(e.command&&t.command){if(e.commandt.command)return 1}return e.weight2-t.weight2}s.B.add("platform.keybindingsRegistry",d)},14923:(e,t,i)=>{i.d(t,{M:()=>o,a:()=>n});class o{constructor(e,t,i,o,r,s,a){this._resolvedKeybindingItemBrand=void 0,this.resolvedKeybinding=e,this.chords=e?n(e.getDispatchChords()):[],e&&0===this.chords.length&&(this.chords=n(e.getSingleModifierDispatchChords())),this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=i,this.when=o,this.isDefault=r,this.extensionId=s,this.isBuiltinExtension=a}}function n(e){const t=[];for(let i=0,o=e.length;i{i.d(t,{j:()=>c});var o=i(22258),n=i(8313),r=i(17301),s=i(8030);class a extends n.f1{constructor(e,t){if(super(),0===t.length)throw(0,r.b1)("chords");this._os=e,this._chords=t}getLabel(){return s.xo.toLabel(this._os,this._chords,(e=>this._getLabel(e)))}getAriaLabel(){return s.X4.toLabel(this._os,this._chords,(e=>this._getAriaLabel(e)))}getElectronAccelerator(){return this._chords.length>1||this._chords[0].isDuplicateModifierCase()?null:s.jC.toLabel(this._os,this._chords,(e=>this._getElectronAccelerator(e)))}getUserSettingsLabel(){return s.r6.toLabel(this._os,this._chords,(e=>this._getUserSettingsLabel(e)))}hasMultipleChords(){return this._chords.length>1}getChords(){return this._chords.map((e=>this._getChord(e)))}_getChord(e){return new n.aZ(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchChords(){return this._chords.map((e=>this._getChordDispatch(e)))}getSingleModifierDispatchChords(){return this._chords.map((e=>this._getSingleModifierChordDispatch(e)))}}var l=i(14923);class c extends a{constructor(e,t){super(t,e)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return o.kL.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":o.kL.toString(e.keyCode)}_getElectronAccelerator(e){return o.kL.toElectronAccelerator(e.keyCode)}_getUserSettingsLabel(e){if(e.isDuplicateModifierCase())return"";const t=o.kL.toUserSettingsUS(e.keyCode);return t?t.toLowerCase():t}_getChordDispatch(e){return c.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+=o.kL.toString(e.keyCode),t}_getSingleModifierChordDispatch(e){return 5!==e.keyCode||e.shiftKey||e.altKey||e.metaKey?4!==e.keyCode||e.ctrlKey||e.altKey||e.metaKey?6!==e.keyCode||e.ctrlKey||e.shiftKey||e.metaKey?57!==e.keyCode||e.ctrlKey||e.shiftKey||e.altKey?null:"meta":"alt":"shift":"ctrl"}static _scanCodeToKeyCode(e){const t=o.Vd[e];if(-1!==t)return t;switch(e){case 10:return 31;case 11:return 32;case 12:return 33;case 13:return 34;case 14:return 35;case 15:return 36;case 16:return 37;case 17:return 38;case 18:return 39;case 19:return 40;case 20:return 41;case 21:return 42;case 22:return 43;case 23:return 44;case 24:return 45;case 25:return 46;case 26:return 47;case 27:return 48;case 28:return 49;case 29:return 50;case 30:return 51;case 31:return 52;case 32:return 53;case 33:return 54;case 34:return 55;case 35:return 56;case 36:return 22;case 37:return 23;case 38:return 24;case 39:return 25;case 40:return 26;case 41:return 27;case 42:return 28;case 43:return 29;case 44:return 30;case 45:return 21;case 51:return 83;case 52:return 81;case 53:return 87;case 54:return 89;case 55:return 88;case 56:return 0;case 57:return 80;case 58:return 90;case 59:return 86;case 60:return 82;case 61:return 84;case 62:return 85;case 106:return 92}return 0}static _toKeyCodeChord(e){if(!e)return null;if(e instanceof n.$M)return e;const t=this._scanCodeToKeyCode(e.scanCode);return 0===t?null:new n.$M(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,t)}static resolveKeybinding(e,t){const i=(0,l.a)(e.chords.map((e=>this._toKeyCodeChord(e))));return i.length>0?[new c(i,t)]:[]}}},44349:(e,t,i)=>{i.d(t,{e:()=>o});const o=(0,i(72065).yh)("labelService")},34277:(e,t,i)=>{i.d(t,{F:()=>o});const o=(0,i(72065).yh)("layoutService")},32414:(e,t,i)=>{i.d(t,{CQ:()=>E,Lw:()=>x,PS:()=>F,XN:()=>I,ev:()=>se,ls:()=>be,uJ:()=>R});var o=i(65321),n=i(95210),r=i(43799),s=i(1995),a=i(83431),l=i(6126),c=i(32481),d=i(4903),u=i(4669),h=i(5976),g=i(63580),p=i(33108),f=i(23193),m=i(93983),b=i(39282),v=i(5606),y=i(72065),k=i(91847),C=i(89872),w=i(86253),_=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},S=function(e,t){return function(i,o){t(i,o,e)}};const x=(0,y.yh)("listService");class I{get lastFocusedList(){return this._lastFocusedWidget}constructor(){this.disposables=new h.SL,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}setLastFocusedList(e){var t,i;e!==this._lastFocusedWidget&&(null===(t=this._lastFocusedWidget)||void 0===t||t.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=e,null===(i=this._lastFocusedWidget)||void 0===i||i.getHTMLElement().classList.add("last-focused"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;new r.wD((0,o.dS)(),"").style(w.O2)}if(this.lists.some((t=>t.widget===e)))throw new Error("Cannot register the same widget multiple times");const i={widget:e,extraContextKeys:t};return this.lists.push(i),e.getHTMLElement()===document.activeElement&&this.setLastFocusedList(e),(0,h.F8)(e.onDidFocus((()=>this.setLastFocusedList(e))),(0,h.OF)((()=>this.lists.splice(this.lists.indexOf(i),1))),e.onDidDispose((()=>{this.lists=this.lists.filter((e=>e!==i)),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)})))}dispose(){this.disposables.dispose()}}const D=new m.uy("listFocus",!0),T=new m.uy("listSupportsMultiselect",!0),E=m.Ao.and(D,m.Ao.not(b.d0)),L=new m.uy("listHasSelectionOrFocus",!1),A=new m.uy("listDoubleSelection",!1),B=new m.uy("listMultiSelection",!1),N=new m.uy("listSelectionNavigation",!1),O=new m.uy("listSupportsFind",!0),F=new m.uy("treeElementCanCollapse",!1),M=new m.uy("treeElementHasParent",!1),R=new m.uy("treeElementCanExpand",!1),K=new m.uy("treeElementHasChild",!1),P=new m.uy("treeFindOpen",!1),q="listTypeNavigationMode",V="listAutomaticKeyboardNavigation";function H(e,t){const i=e.createScoped(t.getHTMLElement());return D.bindTo(i),i}const j="workbench.list.multiSelectModifier",W="workbench.list.openMode",U="workbench.list.horizontalScrolling",$="workbench.list.defaultFindMode",z="workbench.list.typeNavigationMode",G="workbench.list.keyboardNavigation",Q="workbench.list.scrollByPage",J="workbench.list.defaultFindMatchType",Z="workbench.tree.indent",Y="workbench.tree.renderIndentGuides",X="workbench.list.smoothScrolling",ee="workbench.list.mouseWheelScrollSensitivity",te="workbench.list.fastScrollSensitivity",ie="workbench.tree.expandMode";function oe(e){return"alt"===e.getValue(j)}class ne extends h.JT{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=oe(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration(j)&&(this.useAltAsMultipleSelectionModifier=oe(this.configurationService))})))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:(0,r.Zo)(e)}isSelectionRangeChangeEvent(e){return(0,r.wn)(e)}}function re(e,t){var i;const o=e.get(p.Ui),n=e.get(k.d),r=new h.SL;return[Object.assign(Object.assign({},t),{keyboardNavigationDelegate:{mightProducePrintableCharacter:e=>n.mightProducePrintableCharacter(e)},smoothScrolling:Boolean(o.getValue(X)),mouseWheelScrollSensitivity:o.getValue(ee),fastScrollSensitivity:o.getValue(te),multipleSelectionController:null!==(i=t.multipleSelectionController)&&void 0!==i?i:r.add(new ne(o)),keyboardNavigationEventFilter:ge(n),scrollByPage:Boolean(o.getValue(Q))}),r]}let se=class extends r.aV{constructor(e,t,i,o,n,r,s,a,l){const c=void 0!==n.horizontalScrolling?n.horizontalScrolling:Boolean(a.getValue(U)),[d,u]=l.invokeFunction(re,n);super(e,t,i,o,Object.assign(Object.assign({keyboardSupport:!1},d),{horizontalScrolling:c})),this.disposables.add(u),this.contextKeyService=H(r,this),this.listSupportsMultiSelect=T.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==n.multipleSelectionSupport);N.bindTo(this.contextKeyService).set(Boolean(n.selectionNavigation)),this.listHasSelectionOrFocus=L.bindTo(this.contextKeyService),this.listDoubleSelection=A.bindTo(this.contextKeyService),this.listMultiSelection=B.bindTo(this.contextKeyService),this.horizontalScrolling=n.horizontalScrolling,this._useAltAsMultipleSelectionModifier=oe(a),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),this.updateStyles(n.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(a.onDidChangeConfiguration((e=>{e.affectsConfiguration(j)&&(this._useAltAsMultipleSelectionModifier=oe(a));let t={};if(e.affectsConfiguration(U)&&void 0===this.horizontalScrolling){const e=Boolean(a.getValue(U));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Q)){const e=Boolean(a.getValue(Q));t=Object.assign(Object.assign({},t),{scrollByPage:e})}if(e.affectsConfiguration(X)){const e=Boolean(a.getValue(X));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(ee)){const e=a.getValue(ee);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(te)){const e=a.getValue(te);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new de(this,Object.assign({configurationService:a},n)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,w.TU)(e):w.O2)}};se=_([S(5,m.i6),S(6,x),S(7,p.Ui),S(8,y.TG)],se);let ae=class extends n.j{constructor(e,t,i,o,n,r,s,a,l){const c=void 0!==n.horizontalScrolling?n.horizontalScrolling:Boolean(a.getValue(U)),[d,u]=l.invokeFunction(re,n);super(e,t,i,o,Object.assign(Object.assign({keyboardSupport:!1},d),{horizontalScrolling:c})),this.disposables=new h.SL,this.disposables.add(u),this.contextKeyService=H(r,this),this.horizontalScrolling=n.horizontalScrolling,this.listSupportsMultiSelect=T.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==n.multipleSelectionSupport);N.bindTo(this.contextKeyService).set(Boolean(n.selectionNavigation)),this._useAltAsMultipleSelectionModifier=oe(a),this.disposables.add(this.contextKeyService),this.disposables.add(s.register(this)),this.updateStyles(n.overrideStyles),this.disposables.add(a.onDidChangeConfiguration((e=>{e.affectsConfiguration(j)&&(this._useAltAsMultipleSelectionModifier=oe(a));let t={};if(e.affectsConfiguration(U)&&void 0===this.horizontalScrolling){const e=Boolean(a.getValue(U));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Q)){const e=Boolean(a.getValue(Q));t=Object.assign(Object.assign({},t),{scrollByPage:e})}if(e.affectsConfiguration(X)){const e=Boolean(a.getValue(X));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(ee)){const e=a.getValue(ee);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(te)){const e=a.getValue(te);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new de(this,Object.assign({configurationService:a},n)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,w.TU)(e):w.O2)}dispose(){this.disposables.dispose(),super.dispose()}};ae=_([S(5,m.i6),S(6,x),S(7,p.Ui),S(8,y.TG)],ae);let le=class extends s.i{constructor(e,t,i,o,n,r,s,a,l,c){const d=void 0!==r.horizontalScrolling?r.horizontalScrolling:Boolean(l.getValue(U)),[u,h]=c.invokeFunction(re,r);super(e,t,i,o,n,Object.assign(Object.assign({keyboardSupport:!1},u),{horizontalScrolling:d})),this.disposables.add(h),this.contextKeyService=H(s,this),this.listSupportsMultiSelect=T.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==r.multipleSelectionSupport);N.bindTo(this.contextKeyService).set(Boolean(r.selectionNavigation)),this.listHasSelectionOrFocus=L.bindTo(this.contextKeyService),this.listDoubleSelection=A.bindTo(this.contextKeyService),this.listMultiSelection=B.bindTo(this.contextKeyService),this.horizontalScrolling=r.horizontalScrolling,this._useAltAsMultipleSelectionModifier=oe(l),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),this.updateStyles(r.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(j)&&(this._useAltAsMultipleSelectionModifier=oe(l));let t={};if(e.affectsConfiguration(U)&&void 0===this.horizontalScrolling){const e=Boolean(l.getValue(U));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Q)){const e=Boolean(l.getValue(Q));t=Object.assign(Object.assign({},t),{scrollByPage:e})}if(e.affectsConfiguration(X)){const e=Boolean(l.getValue(X));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(ee)){const e=l.getValue(ee);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(te)){const e=l.getValue(te);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)}))),this.navigator=new ue(this,Object.assign({configurationService:l},r)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),void 0!==e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){this.style(e?(0,w.TU)(e):w.O2)}dispose(){this.disposables.dispose(),super.dispose()}};le=_([S(6,m.i6),S(7,x),S(8,p.Ui),S(9,y.TG)],le);class ce extends h.JT{constructor(e,t){var i;super(),this.widget=e,this._onDidOpen=this._register(new u.Q5),this.onDidOpen=this._onDidOpen.event,this._register(u.ju.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)))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&(null==t?void 0:t.configurationService)?(this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(W)),this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration((e=>{e.affectsConfiguration(W)&&(this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(W)))})))):this.openOnSingleClick=null===(i=null==t?void 0:t.openOnSingleClick)||void 0===i||i}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;const t=e.browserEvent,i="boolean"!=typeof t.preserveFocus||t.preserveFocus,o="boolean"==typeof t.pinned?t.pinned:!i;this._open(this.getSelectedElement(),i,o,!1,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;if(2===t.detail)return;const i=1===t.button,o=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!0,i,o,t)}onMouseDblClick(e,t){if(!t)return;const i=t.target;if(i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&t.offsetX<16)return;const o=t.ctrlKey||t.metaKey||t.altKey;this._open(e,!1,!0,o,t)}_open(e,t,i,o,n){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:o,element:e,browserEvent:n})}}class de extends ce{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class ue extends ce{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class he extends ce{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}function ge(e){let t=!1;return i=>{if(i.toKeyCodeChord().isModifierKey())return!1;if(t)return t=!1,!1;const o=e.softDispatch(i,i.target);return 1===(null==o?void 0:o.kind)?(t=!0,!1):(t=!1,!o)}}let pe=class extends d.H{constructor(e,t,i,o,n,r,s,a,l){const{options:c,getTypeNavigationMode:d,disposable:u}=r.invokeFunction(Ce,n);super(e,t,i,o,c),this.disposables.add(u),this.internals=new we(this,n,d,n.overrideStyles,s,a,l),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};pe=_([S(5,y.TG),S(6,m.i6),S(7,x),S(8,p.Ui)],pe);let fe=class extends d.h{constructor(e,t,i,o,n,r,s,a,l){const{options:c,getTypeNavigationMode:d,disposable:u}=r.invokeFunction(Ce,n);super(e,t,i,o,c),this.disposables.add(u),this.internals=new we(this,n,d,n.overrideStyles,s,a,l),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};fe=_([S(5,y.TG),S(6,m.i6),S(7,x),S(8,p.Ui)],fe);let me=class extends c.u{constructor(e,t,i,o,n,r,s,a,l,c){const{options:d,getTypeNavigationMode:u,disposable:h}=s.invokeFunction(Ce,r);super(e,t,i,o,n,d),this.disposables.add(h),this.internals=new we(this,r,u,r.overrideStyles,a,l,c),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),void 0!==e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};me=_([S(6,y.TG),S(7,m.i6),S(8,x),S(9,p.Ui)],me);let be=class extends l.c{get onDidOpen(){return this.internals.onDidOpen}constructor(e,t,i,o,n,r,s,a,l,c){const{options:d,getTypeNavigationMode:u,disposable:h}=s.invokeFunction(Ce,r);super(e,t,i,o,n,d),this.disposables.add(h),this.internals=new we(this,r,u,r.overrideStyles,a,l,c),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};be=_([S(6,y.TG),S(7,m.i6),S(8,x),S(9,p.Ui)],be);let ve=class extends l.h{constructor(e,t,i,o,n,r,s,a,l,c,d){const{options:u,getTypeNavigationMode:h,disposable:g}=a.invokeFunction(Ce,s);super(e,t,i,o,n,r,u),this.disposables.add(g),this.internals=new we(this,s,h,s.overrideStyles,l,c,d),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};function ye(e){const t=e.getValue($);if("highlight"===t)return a.sZ.Highlight;if("filter"===t)return a.sZ.Filter;const i=e.getValue(G);return"simple"===i||"highlight"===i?a.sZ.Highlight:"filter"===i?a.sZ.Filter:void 0}function ke(e){const t=e.getValue(J);return"fuzzy"===t?a.Zd.Fuzzy:"contiguous"===t?a.Zd.Contiguous:void 0}function Ce(e,t){var i;const o=e.get(p.Ui),n=e.get(v.u),s=e.get(m.i6),a=e.get(y.TG),l=void 0!==t.horizontalScrolling?t.horizontalScrolling:Boolean(o.getValue(U)),[c,d]=a.invokeFunction(re,t),u=t.additionalScrollHeight,h=void 0!==t.renderIndentGuides?t.renderIndentGuides:o.getValue(Y);return{getTypeNavigationMode:()=>{const e=s.getContextKeyValue(q);if("automatic"===e)return r.AA.Automatic;if("trigger"===e)return r.AA.Trigger;if(!1===s.getContextKeyValue(V))return r.AA.Trigger;const t=o.getValue(z);return"automatic"===t?r.AA.Automatic:"trigger"===t?r.AA.Trigger:void 0},disposable:d,options:Object.assign(Object.assign({keyboardSupport:!1},c),{indent:"number"==typeof o.getValue(Z)?o.getValue(Z):void 0,renderIndentGuides:h,smoothScrolling:Boolean(o.getValue(X)),defaultFindMode:ye(o),defaultFindMatchType:ke(o),horizontalScrolling:l,scrollByPage:Boolean(o.getValue(Q)),additionalScrollHeight:u,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!==(i=t.expandOnlyOnTwistieClick)&&void 0!==i?i:"doubleClick"===o.getValue(ie),contextViewProvider:n,findWidgetStyles:w.uX})}}ve=_([S(7,y.TG),S(8,m.i6),S(9,x),S(10,p.Ui)],ve);let we=class{get onDidOpen(){return this.navigator.onDidOpen}constructor(e,t,i,o,n,r,s){var a;this.tree=e,this.disposables=[],this.contextKeyService=H(n,e),this.listSupportsMultiSelect=T.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);N.bindTo(this.contextKeyService).set(Boolean(t.selectionNavigation)),this.listSupportFindWidget=O.bindTo(this.contextKeyService),this.listSupportFindWidget.set(null===(a=t.findWidgetEnabled)||void 0===a||a),this.hasSelectionOrFocus=L.bindTo(this.contextKeyService),this.hasDoubleSelection=A.bindTo(this.contextKeyService),this.hasMultiSelection=B.bindTo(this.contextKeyService),this.treeElementCanCollapse=F.bindTo(this.contextKeyService),this.treeElementHasParent=M.bindTo(this.contextKeyService),this.treeElementCanExpand=R.bindTo(this.contextKeyService),this.treeElementHasChild=K.bindTo(this.contextKeyService),this.treeFindOpen=P.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=oe(s),this.updateStyleOverrides(o);const l=()=>{const t=e.getFocus()[0];if(!t)return;const i=e.getNode(t);this.treeElementCanCollapse.set(i.collapsible&&!i.collapsed),this.treeElementHasParent.set(!!e.getParentElement(t)),this.treeElementCanExpand.set(i.collapsible&&i.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(t))},c=new Set;c.add(q),c.add(V),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection((()=>{const t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents((()=>{this.hasSelectionOrFocus.set(t.length>0||i.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)}))})),e.onDidChangeFocus((()=>{const t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||i.length>0),l()})),e.onDidChangeCollapseState(l),e.onDidChangeModel(l),e.onDidChangeFindOpenState((e=>this.treeFindOpen.set(e))),s.onDidChangeConfiguration((o=>{let n={};if(o.affectsConfiguration(j)&&(this._useAltAsMultipleSelectionModifier=oe(s)),o.affectsConfiguration(Z)){const e=s.getValue(Z);n=Object.assign(Object.assign({},n),{indent:e})}if(o.affectsConfiguration(Y)&&void 0===t.renderIndentGuides){const e=s.getValue(Y);n=Object.assign(Object.assign({},n),{renderIndentGuides:e})}if(o.affectsConfiguration(X)){const e=Boolean(s.getValue(X));n=Object.assign(Object.assign({},n),{smoothScrolling:e})}if(o.affectsConfiguration($)||o.affectsConfiguration(G)){const e=ye(s);n=Object.assign(Object.assign({},n),{defaultFindMode:e})}if(o.affectsConfiguration(z)||o.affectsConfiguration(G)){const e=i();n=Object.assign(Object.assign({},n),{typeNavigationMode:e})}if(o.affectsConfiguration(J)){const e=ke(s);n=Object.assign(Object.assign({},n),{defaultFindMatchType:e})}if(o.affectsConfiguration(U)&&void 0===t.horizontalScrolling){const e=Boolean(s.getValue(U));n=Object.assign(Object.assign({},n),{horizontalScrolling:e})}if(o.affectsConfiguration(Q)){const e=Boolean(s.getValue(Q));n=Object.assign(Object.assign({},n),{scrollByPage:e})}if(o.affectsConfiguration(ie)&&void 0===t.expandOnlyOnTwistieClick&&(n=Object.assign(Object.assign({},n),{expandOnlyOnTwistieClick:"doubleClick"===s.getValue(ie)})),o.affectsConfiguration(ee)){const e=s.getValue(ee);n=Object.assign(Object.assign({},n),{mouseWheelScrollSensitivity:e})}if(o.affectsConfiguration(te)){const e=s.getValue(te);n=Object.assign(Object.assign({},n),{fastScrollSensitivity:e})}Object.keys(n).length>0&&e.updateOptions(n)})),this.contextKeyService.onDidChangeContext((t=>{t.affectsSome(c)&&e.updateOptions({typeNavigationMode:i()})}))),this.navigator=new he(e,Object.assign({configurationService:s},t)),this.disposables.push(this.navigator)}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){this.tree.style(e?(0,w.TU)(e):w.O2)}dispose(){this.disposables=(0,h.B9)(this.disposables)}};we=_([S(4,m.i6),S(5,x),S(6,p.Ui)],we);C.B.as(f.IP.Configuration).registerConfiguration({id:"workbench",order:7,title:(0,g.NC)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[j]:{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[(0,g.NC)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),(0,g.NC)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:(0,g.NC)({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.")},[W]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,g.NC)({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). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[U]:{type:"boolean",default:!1,description:(0,g.NC)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[Q]:{type:"boolean",default:!1,description:(0,g.NC)("list.scrollByPage","Controls whether clicks in the scrollbar scroll page by page.")},[Z]:{type:"number",default:8,minimum:4,maximum:40,description:(0,g.NC)("tree indent setting","Controls tree indentation in pixels.")},[Y]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:(0,g.NC)("render tree indent guides","Controls whether the tree should render indent guides.")},[X]:{type:"boolean",default:!1,description:(0,g.NC)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[ee]:{type:"number",default:1,markdownDescription:(0,g.NC)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},[te]:{type:"number",default:5,markdownDescription:(0,g.NC)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing `Alt`.")},[$]:{type:"string",enum:["highlight","filter"],enumDescriptions:[(0,g.NC)("defaultFindModeSettingKey.highlight","Highlight elements when searching. Further up and down navigation will traverse only the highlighted elements."),(0,g.NC)("defaultFindModeSettingKey.filter","Filter elements when searching.")],default:"highlight",description:(0,g.NC)("defaultFindModeSettingKey","Controls the default find mode for lists and trees in the workbench.")},[G]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[(0,g.NC)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),(0,g.NC)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),(0,g.NC)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:(0,g.NC)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter."),deprecated:!0,deprecationMessage:(0,g.NC)("keyboardNavigationSettingKeyDeprecated","Please use 'workbench.list.defaultFindMode' and\t'workbench.list.typeNavigationMode' instead.")},[J]:{type:"string",enum:["fuzzy","contiguous"],enumDescriptions:[(0,g.NC)("defaultFindMatchTypeSettingKey.fuzzy","Use fuzzy matching when searching."),(0,g.NC)("defaultFindMatchTypeSettingKey.contiguous","Use contiguous matching when searching.")],default:"fuzzy",description:(0,g.NC)("defaultFindMatchTypeSettingKey","Controls the type of matching used when searching lists and trees in the workbench.")},[ie]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:(0,g.NC)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[z]:{type:"string",enum:["automatic","trigger"],default:"automatic",description:(0,g.NC)("typeNavigationMode","Controls the how type navigation works in lists and trees in the workbench. When set to 'trigger', type navigation begins once the 'list.triggerTypeNavigation' command is run.")}}})},43557:(e,t,i)=>{i.d(t,{VZ:()=>s,in:()=>a,kw:()=>d,qA:()=>u});var o=i(4669),n=i(5976),r=i(93983);const s=(0,i(72065).yh)("logService");var a;!function(e){e[e.Off=0]="Off",e[e.Trace=1]="Trace",e[e.Debug=2]="Debug",e[e.Info=3]="Info",e[e.Warning=4]="Warning",e[e.Error=5]="Error"}(a||(a={}));const l=a.Info;class c extends n.JT{constructor(){super(...arguments),this.level=l,this._onDidChangeLogLevel=this._register(new o.Q5),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==a.Off&&this.level<=e}}class d extends c{constructor(e=l,t=!0){super(),this.useColors=t,this.setLevel(e)}trace(e,...t){this.checkLogLevel(a.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...t):console.log(e,...t))}debug(e,...t){this.checkLogLevel(a.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...t):console.log(e,...t))}info(e,...t){this.checkLogLevel(a.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...t):console.log(e,...t))}error(e,...t){this.checkLogLevel(a.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...t):console.error(e,...t))}dispose(){}}class u extends c{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(const t of this.loggers)t.setLevel(e);super.setLevel(e)}trace(e,...t){for(const i of this.loggers)i.trace(e,...t)}debug(e,...t){for(const i of this.loggers)i.debug(e,...t)}info(e,...t){for(const i of this.loggers)i.info(e,...t)}error(e,...t){for(const i of this.loggers)i.error(e,...t)}dispose(){for(const e of this.loggers)e.dispose()}}new r.uy("logLevel",function(e){switch(e){case a.Trace:return"trace";case a.Debug:return"debug";case a.Info:return"info";case a.Warning:return"warn";case a.Error:return"error";case a.Off:return"off"}}(a.Info))},15840:(e,t,i)=>{i.d(t,{$:()=>r});var o=i(5976),n=i(43557);class r extends o.JT{constructor(e,t=[]){super(),this.logger=new n.qA([e,...t]),this._register(e.onDidChangeLogLevel((e=>this.setLevel(e))))}get onDidChangeLogLevel(){return this.logger.onDidChangeLogLevel}setLevel(e){this.logger.setLevel(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}error(e,...t){this.logger.error(e,...t)}}},24254:(e,t,i)=>{i.d(t,{u:()=>g});var o=i(9488),n=i(4669),r=i(53725),s=i(43702),a=i(66663),l=i(70666),c=i(98674);const d=new Set([a.lg.inMemory,a.lg.vscodeSourceControl,a.lg.walkThrough,a.lg.walkThroughSnippet]);class u{constructor(){this._byResource=new s.Y9,this._byOwner=new Map}set(e,t,i){let o=this._byResource.get(e);o||(o=new Map,this._byResource.set(e,o)),o.set(t,i);let n=this._byOwner.get(t);n||(n=new s.Y9,this._byOwner.set(t,n)),n.set(e,i)}get(e,t){const i=this._byResource.get(e);return null==i?void 0:i.get(t)}delete(e,t){let i=!1,o=!1;const n=this._byResource.get(e);n&&(i=n.delete(t));const r=this._byOwner.get(t);if(r&&(o=r.delete(e)),i!==o)throw new Error("illegal state");return i&&o}values(e){var t,i,o,n;return"string"==typeof e?null!==(i=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==i?i:r.$.empty():l.o.isUri(e)?null!==(n=null===(o=this._byResource.get(e))||void 0===o?void 0:o.values())&&void 0!==n?n:r.$.empty():r.$.map(r.$.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 s.Y9,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 i=this._resourceStats(t);this._add(i),this._data.set(t,i)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(d.has(e.scheme))return t;for(const{severity:i}of this._service.read({resource:e}))i===c.ZL.Error?t.errors+=1:i===c.ZL.Warning?t.warnings+=1:i===c.ZL.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 g{constructor(){this._onMarkerChanged=new n.D0({delay:0,merge:g._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new u,this._stats=new h(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const i of t||[])this.changeOne(e,i,[])}changeOne(e,t,i){if((0,o.XY)(i)){this._data.delete(t,e)&&this._onMarkerChanged.fire([t])}else{const o=[];for(const n of i){const i=g._toMarker(e,t,n);i&&o.push(i)}this._data.set(t,e,o),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,i){let{code:o,severity:n,message:r,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:u,tags:h}=i;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:o,severity:n,message:r,source:s,startLineNumber:a,startColumn:l,endLineNumber:c,endColumn:d,relatedInformation:u,tags:h}}changeAll(e,t){const i=[],n=this._data.values(e);if(n)for(const t of n){const o=r.$.first(t);o&&(i.push(o.resource),this._data.delete(o.resource,e))}if((0,o.Of)(t)){const o=new s.Y9;for(const{resource:n,marker:r}of t){const t=g._toMarker(e,n,r);if(!t)continue;const s=o.get(n);s?s.push(t):(o.set(n,[t]),i.push(n))}for(const[t,i]of o)this._data.set(t,e,i)}i.length>0&&this._onMarkerChanged.fire(i)}read(e=Object.create(null)){let{owner:t,resource:i,severities:o,take:n}=e;if((!n||n<0)&&(n=-1),t&&i){const e=this._data.get(i,t);if(e){const t=[];for(const i of e)if(g._accept(i,o)){const e=t.push(i);if(n>0&&e===n)break}return t}return[]}if(t||i){const e=this._data.values(null!=i?i:t),r=[];for(const t of e)for(const e of t)if(g._accept(e,o)){const t=r.push(e);if(n>0&&t===n)return r}return r}{const e=[];for(const t of this._data.values())for(const i of t)if(g._accept(i,o)){const t=e.push(i);if(n>0&&t===n)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _merge(e){const t=new s.Y9;for(const i of e)for(const e of i)t.set(e,!0);return Array.from(t.keys())}}},98674:(e,t,i)=>{i.d(t,{H0:()=>n,ZL:()=>o,lT:()=>l});var o,n,r=i(14603),s=i(63580),a=i(72065);!function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(o||(o={})),function(e){e.compare=function(e,t){return t-e};const t=Object.create(null);t[e.Error]=(0,s.NC)("sev.error","Error"),t[e.Warning]=(0,s.NC)("sev.warning","Warning"),t[e.Info]=(0,s.NC)("sev.info","Info"),e.toString=function(e){return t[e]||""},e.fromSeverity=function(t){switch(t){case r.Z.Error:return e.Error;case r.Z.Warning:return e.Warning;case r.Z.Info:return e.Info;case r.Z.Ignore:return e.Hint}},e.toSeverity=function(t){switch(t){case e.Error:return r.Z.Error;case e.Warning:return r.Z.Warning;case e.Info:return r.Z.Info;case e.Hint:return r.Z.Ignore}}}(o||(o={})),function(e){const t="";function i(e,i){const n=[t];return e.source?n.push(e.source.replace("¦","\\¦")):n.push(t),e.code?"string"==typeof e.code?n.push(e.code.replace("¦","\\¦")):n.push(e.code.value.replace("¦","\\¦")):n.push(t),void 0!==e.severity&&null!==e.severity?n.push(o.toString(e.severity)):n.push(t),e.message&&i?n.push(e.message.replace("¦","\\¦")):n.push(t),void 0!==e.startLineNumber&&null!==e.startLineNumber?n.push(e.startLineNumber.toString()):n.push(t),void 0!==e.startColumn&&null!==e.startColumn?n.push(e.startColumn.toString()):n.push(t),void 0!==e.endLineNumber&&null!==e.endLineNumber?n.push(e.endLineNumber.toString()):n.push(t),void 0!==e.endColumn&&null!==e.endColumn?n.push(e.endColumn.toString()):n.push(t),n.push(t),n.join("¦")}e.makeKey=function(e){return i(e,!0)},e.makeKeyOptionalMessage=i}(n||(n={}));const l=(0,a.yh)("markerService")},59422:(e,t,i)=>{i.d(t,{EO:()=>a,lT:()=>s,zb:()=>r});var o=i(14603),n=i(72065),r=o.Z;const s=(0,n.yh)("notificationService");class a{}},99106:(e,t,i)=>{i.d(t,{r:()=>I});var o=i(65321),n=i(4850),r=i(59069),s=i(10553),a=i(4669),l=i(5976),c=i(50988),d=i(93379),u=i.n(d),h=i(7795),g=i.n(h),p=i(90569),f=i.n(p),m=i(3565),b=i.n(m),v=i(19216),y=i.n(v),k=i(44589),C=i.n(k),w=i(57150),_={};_.styleTagTransform=C(),_.setAttributes=b(),_.insert=f().bind(null,"head"),_.domAPI=g(),_.insertStyleElement=y();u()(w.Z,_);w.Z&&w.Z.locals&&w.Z.locals;var S=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},x=function(e,t){return function(i,o){t(i,o,e)}};let I=class extends l.JT{get enabled(){return this._enabled}set enabled(e){e?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=e}constructor(e,t,i={},l){var c;super(),this._link=t,this._enabled=!0,this.el=(0,o.R3)(e,(0,o.$)("a.monaco-link",{tabIndex:null!==(c=t.tabIndex)&&void 0!==c?c:0,href:t.href,title:t.title},t.label)),this.el.setAttribute("role","button");const d=this._register(new n.Y(this.el,"click")),u=this._register(new n.Y(this.el,"keypress")),h=a.ju.chain(u.event).map((e=>new r.y(e))).filter((e=>3===e.keyCode)).event,g=this._register(new n.Y(this.el,s.t.Tap)).event;this._register(s.o.addTarget(this.el));const p=a.ju.any(d.event,h,g);this._register(p((e=>{this.enabled&&(o.zB.stop(e,!0),(null==i?void 0:i.opener)?i.opener(this._link.href):l.open(this._link.href,{allowCommands:!0}))}))),this.enabled=!0}};I=S([x(3,c.v4)],I)},50988:(e,t,i)=>{i.d(t,{Gs:()=>a,v4:()=>r,xI:()=>l,xn:()=>s});var o=i(97295),n=i(70666);const r=(0,i(72065).yh)("openerService");function s(e,t){return n.o.isUri(e)?(0,o.qq)(e.scheme,t):(0,o.ok)(e,t+":")}function a(e,...t){return t.some((t=>s(e,t)))}function l(e){let t;const i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},90535:(e,t,i)=>{i.d(t,{Ex:()=>r,R9:()=>n,ek:()=>s});var o=i(72065);const n=(0,o.yh)("progressService");Object.freeze({total(){},worked(){},done(){}});class r{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}r.None=Object.freeze({report(){}});const s=(0,o.yh)("editorProgressService")},43779:(e,t,i)=>{i.d(t,{Z:()=>I});var o,n=i(59523),r=i(17301),s=i(75392),a=i(5976),l=i(43702),c=i(98401),d=i(63580),u=i(94565),h=i(33108),g=i(28820),p=i(72065),f=i(91847),m=i(15393),b=i(71050),v=function(e,t,i,o){return new(i||(i=Promise))((function(n,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(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))};function y(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"}(o||(o={}));class k extends a.JT{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t,i){var n;const r=new a.SL;let s;e.canAcceptInBackground=!!(null===(n=this.options)||void 0===n?void 0:n.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;const l=r.add(new a.XK),c=()=>v(this,void 0,void 0,(function*(){const o=l.value=new a.SL;null==s||s.dispose(!0),e.busy=!1,s=new b.A(t);const n=s.token,r=e.value.substr(this.prefix.length).trim(),c=this._getPicks(r,o,n,i),d=(t,i)=>{var o;let n,s;if(y(t)?(n=t.items,s=t.active):n=t,0===n.length){if(i)return!1;(r.length>0||e.hideInput)&&(null===(o=this.options)||void 0===o?void 0:o.noResultsPick)&&(n=[this.options.noResultsPick])}return e.items=n,s&&(e.activeItems=[s]),!0};if(null===c);else if(function(e){const t=e;return!!t.picks&&t.additionalPicks instanceof Promise}(c)){let t=!1,i=!1;yield Promise.all([(()=>v(this,void 0,void 0,(function*(){yield(0,m.Vs)(k.FAST_PICKS_RACE_DELAY),n.isCancellationRequested||i||(t=d(c.picks,!0))})))(),(()=>v(this,void 0,void 0,(function*(){e.busy=!0;try{const i=yield c.additionalPicks;if(n.isCancellationRequested)return;let o,r,s,a;if(y(c.picks)?(o=c.picks.items,r=c.picks.active):o=c.picks,y(i)?(s=i.items,a=i.active):s=i,s.length>0||!t){let t;if(!r&&!a){const i=e.activeItems[0];i&&-1!==o.indexOf(i)&&(t=i)}d({items:[...o,...s],active:r||a||t})}}finally{n.isCancellationRequested||(e.busy=!1),i=!0}})))()])}else if(c instanceof Promise){e.busy=!0;try{const e=yield c;if(n.isCancellationRequested)return;d(e)}finally{n.isCancellationRequested||(e.busy=!1)}}else d(c)}));return r.add(e.onDidChangeValue((()=>c()))),c(),r.add(e.onDidAccept((t=>{const[i]=e.selectedItems;"function"==typeof(null==i?void 0:i.accept)&&(t.inBackground||e.hide(),i.accept(e.keyMods,t))}))),r.add(e.onDidTriggerItemButton((({button:i,item:n})=>v(this,void 0,void 0,(function*(){var r,s;if("function"==typeof n.trigger){const a=null!==(s=null===(r=n.buttons)||void 0===r?void 0:r.indexOf(i))&&void 0!==s?s:-1;if(a>=0){const i=n.trigger(a,e.keyMods),r="number"==typeof i?i:yield i;if(t.isCancellationRequested)return;switch(r){case o.NO_ACTION:break;case o.CLOSE_PICKER:e.hide();break;case o.REFRESH_PICKER:c();break;case o.REMOVE_ITEM:{const t=e.items.indexOf(n);if(-1!==t){const i=e.items.slice(),o=i.splice(t,1),n=e.activeItems.filter((e=>e!==o[0])),r=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=i,n&&(e.activeItems=n),e.keepScrollPosition=r}break}}}}}))))),r}}k.FAST_PICKS_RACE_DELAY=200;var C=i(52365),w=i(10829),_=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},S=function(e,t){return function(i,o){t(i,o,e)}},x=function(e,t,i,o){return new(i||(i=Promise))((function(n,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(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))};let I=class e extends k{constructor(t,i,o,n,r,s){super(e.PREFIX,t),this.instantiationService=i,this.keybindingService=o,this.commandService=n,this.telemetryService=r,this.dialogService=s,this.commandsHistory=this._register(this.instantiationService.createInstance(D)),this.options=t}_getPicks(t,i,o,s){var a,l;return x(this,void 0,void 0,(function*(){const i=yield this.getCommandPicks(o);if(o.isCancellationRequested)return[];const u=[];for(const o of i){const i=(0,c.f6)(e.WORD_FILTER(t,o.label)),n=o.commandAlias?(0,c.f6)(e.WORD_FILTER(t,o.commandAlias)):void 0;i||n?(o.highlights={label:i,detail:this.options.showAlias?n:void 0},u.push(o)):t===o.commandId&&u.push(o)}const h=new Map;for(const e of u){const t=h.get(e.label);t?(e.description=e.commandId,t.description=t.commandId):h.set(e.label,e)}u.sort(((e,t)=>{const i=this.commandsHistory.peek(e.commandId),o=this.commandsHistory.peek(t.commandId);if(i&&o)return i>o?-1:1;if(i)return-1;if(o)return 1;if(this.options.suggestedCommandIds){const i=this.options.suggestedCommandIds.has(e.commandId),o=this.options.suggestedCommandIds.has(t.commandId);if(i&&o)return 0;if(i)return-1;if(o)return 1}return e.label.localeCompare(t.label)}));const g=[];let p=!1,f=!!this.options.suggestedCommandIds;for(let e=0;ex(this,void 0,void 0,(function*(){var e;this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:null!==(e=null==s?void 0:s.from)&&void 0!==e?e:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){(0,r.n2)(e)||this.dialogService.error((0,d.NC)("canNotRun","Command '{0}' resulted in an error",t.label),(0,n.y)(e))}}))}))}return g}))}};I.PREFIX=">",I.WORD_FILTER=(0,s.or)(s.Ji,s.KZ,s.ir),I=_([S(1,p.TG),S(2,f.d),S(3,u.H),S(4,w.b),S(5,g.S)],I);let D=class e extends a.JT{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((e=>this.updateConfiguration(e))))}updateConfiguration(t){t&&!t.affectsConfiguration("workbench.commandPalette.history")||(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 i;if(t)try{i=JSON.parse(t)}catch(e){}const o=e.cache=new l.z6(this.configuredCommandsHistoryLength,1);if(i){let e;e=i.usesLRU?i.entries:i.entries.sort(((e,t)=>e.value-t.value)),e.forEach((e=>o.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 i;return null===(i=e.cache)||void 0===i?void 0:i.peek(t)}static saveState(t){if(!e.cache)return;const i={usesLRU:!0,entries:[]};e.cache.forEach(((e,t)=>i.entries.push({key:t,value:e}))),t.store(e.PREF_KEY_CACHE,JSON.stringify(i),0,0),t.store(e.PREF_KEY_COUNTER,e.counter,0,0)}static getConfiguredCommandHistoryLength(t){var i,o;const n=null===(o=null===(i=t.getValue().workbench)||void 0===i?void 0:i.commandPalette)||void 0===o?void 0:o.history;return"number"==typeof n?n:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};D.DEFAULT_COMMANDS_HISTORY_LENGTH=50,D.PREF_KEY_CACHE="commandPalette.mru.cache",D.PREF_KEY_COUNTER="commandPalette.mru.counter",D.counter=1,D=_([S(0,C.Uy),S(1,h.Ui)],D)},54090:(e,t,i)=>{i.d(t,{p:()=>u});var o=i(63580),n=i(89872),r=i(5976),s=i(91847),a=i(90725),l=i(41157),c=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},d=function(e,t){return function(i,o){t(i,o,e)}};let u=class e{constructor(e,t){this.quickInputService=e,this.keybindingService=t,this.registry=n.B.as(a.IP.Quickaccess)}provide(t){const i=new r.SL;return i.add(t.onDidAccept((()=>{const[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})}))),i.add(t.onDidChangeValue((t=>{const i=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length));i&&i.prefix&&i.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(i.prefix,{preserveValue:!0})}))),t.items=this.getQuickAccessProviders().filter((t=>t.prefix!==e.PREFIX)),i}getQuickAccessProviders(){return this.registry.getQuickAccessProviders().sort(((e,t)=>e.prefix.localeCompare(t.prefix))).flatMap((e=>this.createPicks(e)))}createPicks(e){return e.helpEntries.map((t=>{const i=t.prefix||e.prefix,n=i||"…";return{prefix:i,label:n,keybinding:t.commandId?this.keybindingService.lookupKeybinding(t.commandId):void 0,ariaLabel:(0,o.NC)("helpPickAriaLabel","{0}, {1}",n,t.description),description:t.description}}))}};u.PREFIX="?",u=c([d(0,l.eJ),d(1,s.d)],u)},91714:(e,t,i)=>{i.d(t,{y:()=>Fe});var o=i(71050),n=i(4669),r=i(93983),s=i(72065),a=i(34277),l=i(32414),c=i(50988),d=i(15393),u=i(88289),h=i(5976),g=i(90725),p=i(41157),f=i(89872),m=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},b=function(e,t){return function(i,o){t(i,o,e)}};let v=class extends h.JT{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=f.B.as(g.IP.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){this.doShowOrPick(e,!1,t)}doShowOrPick(e,t,i){var n;const[r,s]=this.getOrInstantiateProvider(e),a=this.visibleQuickAccess,l=null==a?void 0:a.descriptor;if(a&&s&&l===s)return e===s.prefix||(null==i?void 0:i.preserveValue)||(a.picker.value=e),void this.adjustValueSelection(a.picker,s,i);if(s&&!(null==i?void 0:i.preserveValue)){let t;if(a&&l&&l!==s){const e=a.value.substr(l.prefix.length);e&&(t=`${s.prefix}${e}`)}if(!t){const e=null==r?void 0:r.defaultFilterValue;e===g.Ry.LAST?t=this.lastAcceptedPickerValues.get(s):"string"==typeof e&&(t=`${s.prefix}${e}`)}"string"==typeof t&&(e=t)}const c=new h.SL,f=c.add(this.quickInputService.createQuickPick());let m;f.value=e,this.adjustValueSelection(f,s,i),f.placeholder=null==s?void 0:s.placeholder,f.quickNavigate=null==i?void 0:i.quickNavigateConfiguration,f.hideInput=!!f.quickNavigate&&!a,("number"==typeof(null==i?void 0:i.itemActivation)||(null==i?void 0:i.quickNavigateConfiguration))&&(f.itemActivation=null!==(n=null==i?void 0:i.itemActivation)&&void 0!==n?n:p.jG.SECOND),f.contextKey=null==s?void 0:s.contextKey,f.filterValue=e=>e.substring(s?s.prefix.length:0),(null==s?void 0:s.placeholder)&&(f.ariaLabel=null==s?void 0:s.placeholder),t&&(m=new d.CR,c.add((0,u.I)(f.onWillAccept)((e=>{e.veto(),f.hide()})))),c.add(this.registerPickerListeners(f,r,s,e,null==i?void 0:i.providerOptions));const b=c.add(new o.A);return r&&c.add(r.provide(f,b.token,null==i?void 0:i.providerOptions)),(0,u.I)(f.onDidHide)((()=>{0===f.selectedItems.length&&b.cancel(),c.dispose(),null==m||m.complete(f.selectedItems.slice(0))})),f.show(),t?null==m?void 0:m.p:void 0}adjustValueSelection(e,t,i){var o;let n;n=(null==i?void 0:i.preserveValue)?[e.value.length,e.value.length]:[null!==(o=null==t?void 0:t.prefix.length)&&void 0!==o?o:0,e.value.length],e.valueSelection=n}registerPickerListeners(e,t,i,o,n){const r=new h.SL,s=this.visibleQuickAccess={picker:e,descriptor:i,value:o};return r.add((0,h.OF)((()=>{s===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)}))),r.add(e.onDidChangeValue((e=>{const[i]=this.getOrInstantiateProvider(e);i!==t?this.show(e,{preserveValue:!0,providerOptions:n}):s.value=e}))),i&&r.add(e.onDidAccept((()=>{this.lastAcceptedPickerValues.set(i,e.value)}))),r}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let i=this.mapProviderToDescriptor.get(t);return i||(i=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,i)),[i,t]}};v=m([b(0,p.eJ),b(1,s.TG)],v);var y=i(86253),k=i(73910),C=i(97781),w=i(65321),_=i(59069),S=i(90317),x=i(32052),I=i(89162),D=i(11218),T=i(98892),E=i(74741),L=i(9488),A=i(73046),B=i(1432),N=i(14603),O=i(25670),F=i(98401),M=i(93379),R=i.n(M),K=i(7795),P=i.n(K),q=i(90569),V=i.n(q),H=i(3565),j=i.n(H),W=i(19216),U=i.n(W),$=i(44589),z=i.n($),G=i(51961),Q={};Q.styleTagTransform=z(),Q.setAttributes=j(),Q.insert=V().bind(null,"head"),Q.domAPI=P(),Q.insertStyleElement=U();R()(G.Z,Q);G.Z&&G.Z.locals&&G.Z.locals;var J=i(63580),Z=i(7448),Y=i(3070);const X=w.$;class ee extends h.JT{constructor(e,t,i){super(),this.parent=e,this.onKeyDown=e=>w.nm(this.findInput.inputBox.inputElement,w.tw.KEY_DOWN,(t=>{e(new _.y(t))})),this.onMouseDown=e=>w.nm(this.findInput.inputBox.inputElement,w.tw.MOUSE_DOWN,(t=>{e(new Z.n(t))})),this.onDidChange=e=>this.findInput.onDidChange(e),this.container=w.R3(this.parent,X(".quick-input-box")),this.findInput=this._register(new Y.V(this.container,void 0,{label:"",inputBoxStyles:t,toggleStyles:i}));const o=this.findInput.inputBox.inputElement;o.role="combobox",o.ariaHasPopup="menu",o.ariaAutoComplete="list",o.ariaExpanded="true"}get value(){return this.findInput.getValue()}set value(e){this.findInput.setValue(e)}select(e=null){this.findInput.inputBox.select(e)}isSelectionAtEnd(){return this.findInput.inputBox.isSelectionAtEnd()}get placeholder(){return this.findInput.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.findInput.inputBox.setPlaceHolder(e)}get password(){return"password"===this.findInput.inputBox.inputElement.type}set password(e){this.findInput.inputBox.inputElement.type=e?"password":"text"}set enabled(e){this.findInput.inputBox.inputElement.toggleAttribute("readonly",!e)}set toggles(e){this.findInput.setAdditionalToggles(e)}setAttribute(e,t){this.findInput.inputBox.inputElement.setAttribute(e,t)}showDecoration(e){e===N.Z.Ignore?this.findInput.clearMessage():this.findInput.showMessage({type:e===N.Z.Info?1:e===N.Z.Warning?2:3,content:""})}stylesForType(e){return this.findInput.inputBox.stylesForType(e===N.Z.Info?1:e===N.Z.Warning?2:3)}setFocus(){this.findInput.focus()}layout(){this.findInput.inputBox.layout()}}var te=i(32107),ie=i(12983),oe=i(82696),ne=i(49898),re=i(17301),se=i(21212),ae=i(97295),le=i(4850),ce=i(10553),de=i(56811),ue=i(44742),he=i(17676);const ge={},pe=new ue.R("quick-input-button-icon-");function fe(e){if(!e)return;let t;const i=e.dark.toString();return ge[i]?t=ge[i]:(t=pe.nextId(),w.fk(`.${t}, .hc-light .${t}`,`background-image: ${w.wY(e.light||e.dark)}`),w.fk(`.vs-dark .${t}, .hc-black .${t}`,`background-image: ${w.wY(e.dark)}`),ge[i]=t),t}var me=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},be=function(e,t,i,o){return new(i||(i=Promise))((function(n,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(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))};const ve=w.$;class ye{get checked(){return!!this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire(e))}constructor(e){this.hidden=!1,this._onChecked=new n.Q5,this.onChecked=this._onChecked.event,Object.assign(this,e)}dispose(){this._onChecked.dispose()}}class ke{get templateId(){return ke.ID}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=[],t.toDisposeTemplate=[],t.entry=w.R3(e,ve(".quick-input-list-entry"));const i=w.R3(t.entry,ve("label.quick-input-list-label"));t.toDisposeTemplate.push(w.mu(i,w.tw.CLICK,(e=>{t.checkbox.offsetParent||e.preventDefault()}))),t.checkbox=w.R3(i,ve("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(w.mu(t.checkbox,w.tw.CHANGE,(e=>{t.element.checked=t.checkbox.checked})));const o=w.R3(i,ve(".quick-input-list-rows")),n=w.R3(o,ve(".quick-input-list-row")),r=w.R3(o,ve(".quick-input-list-row"));t.label=new te.g(n,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0});const s=w.R3(n,ve(".quick-input-list-entry-keybinding"));t.keybinding=new ie.e(s,B.OS);const a=w.R3(r,ve(".quick-input-list-label-meta"));return t.detail=new te.g(a,{supportHighlights:!0,supportIcons:!0}),t.separator=w.R3(t.entry,ve(".quick-input-list-separator")),t.actionBar=new S.o(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,i){i.element=e,e.element=(0,F.f6)(i.entry);const o=e.item?e.item:e.separator;i.checkbox.checked=e.checked,i.toDisposeElement.push(e.onChecked((e=>i.checkbox.checked=e)));const{labelHighlights:n,descriptionHighlights:r,detailHighlights:s}=e,a=Object.create(null);a.matches=n||[],a.descriptionTitle=e.saneDescription,a.descriptionMatches=r||[],"separator"!==o.type?(a.extraClasses=o.iconClasses,a.italic=o.italic,a.strikethrough=o.strikethrough,i.entry.classList.remove("quick-input-list-separator-as-item")):i.entry.classList.add("quick-input-list-separator-as-item"),i.label.setLabel(e.saneLabel,e.saneDescription,a),i.keybinding.set("separator"===o.type?void 0:o.keybinding),e.saneDetail&&i.detail.setLabel(e.saneDetail,void 0,{matches:s,title:e.saneDetail}),e.item&&e.separator&&e.separator.label?(i.separator.textContent=e.separator.label,i.separator.style.display=""):i.separator.style.display="none",i.entry.classList.toggle("quick-input-list-separator-border",!!e.separator);const l=o.buttons;l&&l.length?(i.actionBar.push(l.map(((t,i)=>{let n=t.iconClass||(t.iconPath?fe(t.iconPath):void 0);return t.alwaysVisible&&(n=n?`${n} always-visible`:"always-visible"),{id:`id-${i}`,class:n,enabled:!0,label:"",tooltip:t.tooltip||"",run:()=>{"separator"!==o.type?e.fireButtonTriggered({button:t,item:o}):e.fireSeparatorButtonTriggered({button:t,separator:o})}}})),{icon:!0,label:!1}),i.entry.classList.add("has-actions")):i.entry.classList.remove("has-actions")}disposeElement(e,t,i){i.toDisposeElement=(0,h.B9)(i.toDisposeElement),i.actionBar.clear()}disposeTemplate(e){e.toDisposeElement=(0,h.B9)(e.toDisposeElement),e.toDisposeTemplate=(0,h.B9)(e.toDisposeTemplate)}}ke.ID="listelement";class Ce{getHeight(e){return e.item?e.saneDetail?44:22:24}getTemplateId(e){return ke.ID}}var we;!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"}(we||(we={}));class _e{constructor(e,t,i){this.parent=e,this.options=i,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnLabelMode="fuzzy",this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new n.Q5,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new n.Q5,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new n.Q5,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new n.Q5,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new n.Q5,this.onButtonTriggered=this._onButtonTriggered.event,this._onSeparatorButtonTriggered=new n.Q5,this.onSeparatorButtonTriggered=this._onSeparatorButtonTriggered.event,this._onKeyDown=new n.Q5,this.onKeyDown=this._onKeyDown.event,this._onLeave=new n.Q5,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=w.R3(this.parent,ve(".quick-input-list"));const o=new Ce,r=new xe;this.list=i.createList("QuickInput",this.container,o,[new ke],{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 _.y(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(B.dz?e.metaKey:e.ctrlKey)&&this.list.setFocus((0,L.w6)(this.list.length));break;case 16:{const e=this.list.getFocus();1===e.length&&0===e[0]&&this._onLeave.fire();break}case 18:{const e=this.list.getFocus();1===e.length&&e[0]===this.list.length-1&&this._onLeave.fire();break}}this._onKeyDown.fire(t)}))),this.disposables.push(this.list.onMouseDown((e=>{2!==e.browserEvent.button&&e.browserEvent.preventDefault()}))),this.disposables.push(w.nm(this.container,w.tw.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]))})));const s=new d.rH(i.hoverDelegate.delay);this.disposables.push(this.list.onMouseOver((e=>be(this,void 0,void 0,(function*(){var t;if(e.browserEvent.target instanceof HTMLAnchorElement)s.cancel();else if(e.browserEvent.relatedTarget instanceof HTMLAnchorElement||!w.jg(e.browserEvent.relatedTarget,null===(t=e.element)||void 0===t?void 0:t.element))try{yield s.trigger((()=>be(this,void 0,void 0,(function*(){e.element&&this.showHover(e.element)}))))}catch(e){if(!(0,re.n2)(e))throw e}}))))),this.disposables.push(this.list.onMouseOut((e=>{var t;w.jg(e.browserEvent.relatedTarget,null===(t=e.element)||void 0===t?void 0:t.element)||s.cancel()}))),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onSeparatorButtonTriggered,this._onLeave,this._onKeyDown,s)}get onDidChangeFocus(){return n.ju.map(this.list.onDidChangeFocus,(e=>e.elements.map((e=>e.item))))}get onDidChangeSelection(){return n.ju.map(this.list.onDidChangeSelection,(e=>({items:e.elements.map((e=>e.item)),event:e.browserEvent})))}get scrollTop(){return this.list.scrollTop}set scrollTop(e){this.list.scrollTop=e}get ariaLabel(){return this.list.getHTMLElement().ariaLabel}set ariaLabel(e){this.list.getHTMLElement().ariaLabel=e}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let i=0,o=e.length;i{t.hidden||(t.checked=e)}))}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=(0,h.B9)(this.elementDisposables);const t=e=>this.fireButtonTriggered(e),i=e=>this.fireSeparatorButtonTriggered(e);this.inputElements=e,this.elements=e.reduce(((o,n,r)=>{var s,a,l;const c=r&&e[r-1],d=n.label?n.label.replace(/\r?\n/g," "):"",u=(0,se.Ho)(d).text.trim();let h,g,p,f,m,b,v;"separator"!==n.type&&(h=n.meta&&n.meta.replace(/\r?\n/g," "),g=n.description&&n.description.replace(/\r?\n/g," "),p=n.detail&&n.detail.replace(/\r?\n/g," "),f=null===(s=n.highlights)||void 0===s?void 0:s.label,m=null===(a=n.highlights)||void 0===a?void 0:a.description,b=null===(l=n.highlights)||void 0===l?void 0:l.detail,v=n.tooltip);const y=n.ariaLabel||[d,g,p].map((e=>(0,se.JL)(e))).filter((e=>!!e)).join(", "),k=this.parent.classList.contains("show-checkboxes");let C;if("separator"===n.type){if(!n.buttons)return o;C=n}else c&&"separator"===c.type&&!c.buttons&&(C=c);const w=new ye({hasCheckbox:k,index:r,item:"separator"!==n.type?n:void 0,saneLabel:d,saneSortLabel:u,saneMeta:h,saneAriaLabel:y,saneDescription:g,saneDetail:p,saneTooltip:v,labelHighlights:f,descriptionHighlights:m,detailHighlights:b,checked:!1,separator:C,fireButtonTriggered:t,fireSeparatorButtonTriggered:i});return this.elementDisposables.push(w),this.elementDisposables.push(w.onChecked((()=>this.fireCheckedEvents()))),o.push(w),o}),[]),this.elementsToIndexes=this.elements.reduce(((e,t,i)=>{var o;return e.set(null!==(o=t.item)&&void 0!==o?o:t.separator,i),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)).filter((e=>!!e))}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const i of e)t.add(i);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===we.Second&&this.list.length<2&&(e=we.First),e){case we.First:this.list.scrollTop=0,this.list.focusFirst(void 0,(e=>!!e.item));break;case we.Second:this.list.scrollTop=0,this.list.focusNth(1,void 0,(e=>!!e.item));break;case we.Last:this.list.scrollTop=this.list.scrollHeight,this.list.focusLast(void 0,(e=>!!e.item));break;case we.Next:{this.list.focusNext(void 0,!0,void 0,(e=>!!e.item));const e=this.list.getFocus()[0];0!==e&&!this.elements[e-1].item&&this.list.firstVisibleIndex>e-1&&this.list.reveal(e-1);break}case we.Previous:{this.list.focusPrevious(void 0,!0,void 0,(e=>!!e.item));const e=this.list.getFocus()[0];0!==e&&!this.elements[e-1].item&&this.list.firstVisibleIndex>e-1&&this.list.reveal(e-1);break}case we.NextPage:this.list.focusNextPage(void 0,(e=>!!e.item));break;case we.PreviousPage:this.list.focusPreviousPage(void 0,(e=>!!e.item))}const t=this.list.getFocus()[0];"number"==typeof t&&this.list.reveal(t)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}showHover(e){var t,i,o;this._lastHover&&!this._lastHover.isDisposed&&(null===(i=(t=this.options.hoverDelegate).onDidHideHover)||void 0===i||i.call(t),null===(o=this._lastHover)||void 0===o||o.dispose()),e.element&&e.saneTooltip&&(this._lastHover=this.options.hoverDelegate.showHover({content:e.saneTooltip,target:e.element,linkHandler:e=>{this.options.linkOpenerDelegate(e)},showPointer:!0,container:this.container,hoverPosition:1},!1))}layout(e){this.list.getHTMLElement().style.maxHeight=e?44*Math.floor(e/44)+6+"px":"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;const t=e;if((e=e.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)){let i;this.elements.forEach((o=>{let n;n="fuzzy"===this.matchOnLabelMode?this.matchOnLabel?(0,F.f6)((0,se.Gt)(e,(0,se.Ho)(o.saneLabel))):void 0:this.matchOnLabel?(0,F.f6)(function(e,t){const{text:i,iconOffsets:o}=t;if(!o||0===o.length)return Se(e,i);const n=(0,ae.j3)(i," "),r=i.length-n.length,s=Se(e,n);if(s)for(const e of s){const t=o[e.start+r]+r;e.start+=t,e.end+=t}return s}(t,(0,se.Ho)(o.saneLabel))):void 0;const r=this.matchOnDescription?(0,F.f6)((0,se.Gt)(e,(0,se.Ho)(o.saneDescription||""))):void 0,s=this.matchOnDetail?(0,F.f6)((0,se.Gt)(e,(0,se.Ho)(o.saneDetail||""))):void 0,a=this.matchOnMeta?(0,F.f6)((0,se.Gt)(e,(0,se.Ho)(o.saneMeta||""))):void 0;if(n||r||s||a?(o.labelHighlights=n,o.descriptionHighlights=r,o.detailHighlights=s,o.hidden=!1):(o.labelHighlights=void 0,o.descriptionHighlights=void 0,o.detailHighlights=void 0,o.hidden=!o.item||!o.item.alwaysShow),!this.sortByLabel){const e=o.index&&this.inputElements[o.index-1];i=e&&"separator"===e.type?e:i,i&&!o.hidden&&(o.separator=i,i=void 0)}}))}else 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.item&&(e.separator=t&&"separator"===t.type&&!t.buttons?t:void 0)}));const i=this.elements.filter((e=>!e.hidden));if(this.sortByLabel&&e){const t=e.toLowerCase();i.sort(((e,i)=>function(e,t,i){const o=e.labelHighlights||[],n=t.labelHighlights||[];if(o.length&&!n.length)return-1;if(!o.length&&n.length)return 1;if(0===o.length&&0===n.length)return 0;return(0,oe.LE)(e.saneSortLabel,t.saneSortLabel,i)}(e,i,t)))}return this.elementsToIndexes=i.reduce(((e,t,i)=>{var o;return e.set(null!==(o=t.item)&&void 0!==o?o:t.separator,i),e}),new Map),this.list.splice(0,this.list.length,i),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(i.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const i of e)i.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,h.B9)(this.elementDisposables),this.disposables=(0,h.B9)(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)}fireSeparatorButtonTriggered(e){this._onSeparatorButtonTriggered.fire(e)}style(e){this.list.style(e)}toggleHover(){if(!this.list.getFocusedElements()[0].saneTooltip)return;if(this._lastHover&&!this._lastHover.isDisposed)return void this._lastHover.dispose();const e=this.list.getFocusedElements()[0];if(!e)return;this.showHover(e);const t=new h.SL;t.add(this.list.onDidChangeFocus((e=>{e.indexes.length&&this.showHover(e.elements[0])}))),this._lastHover&&t.add(this._lastHover),this._toggleHover=t,this.elementDisposables.push(this._toggleHover)}}function Se(e,t){const i=t.toLowerCase().indexOf(e.toLowerCase());return-1!==i?[{start:i,end:i+e.length}]:null}me([ne.H],_e.prototype,"onDidChangeFocus",null),me([ne.H],_e.prototype,"onDidChangeSelection",null);class xe{getWidgetAriaLabel(){return(0,J.NC)("quickInput","Quick Input")}getAriaLabel(e){var t;return(null===(t=e.separator)||void 0===t?void 0:t.label)?`${e.saneAriaLabel}, ${e.separator.label}`:e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(e){return e.hasCheckbox?"checkbox":"option"}isChecked(e){if(e.hasCheckbox)return{value:e.checked,onDidChange:e.onChecked}}}var Ie=function(e,t,i,o){return new(i||(i=Promise))((function(n,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(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))};const De=w.$,Te={iconClass:O.k.asClassName(A.l.quickInputBack),tooltip:(0,J.NC)("quickInput.back","Back"),handle:-1};class Ee extends h.JT{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.buttonsUpdated=!1,this._toggles=[],this.togglesUpdated=!1,this.noValidationMessage=Ee.noPromptMessage,this._severity=N.Z.Ignore,this.onDidTriggerButtonEmitter=this._register(new n.Q5),this.onDidHideEmitter=this._register(new n.Q5),this.onDisposeEmitter=this._register(new n.Q5),this.visibleDisposables=this._register(new h.SL),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){const t=this._ignoreFocusOut!==e&&!B.gn;this._ignoreFocusOut=e&&!B.gn,t&&this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}get toggles(){return this._toggles}set toggles(e){this._toggles=null!=e?e:[],this.togglesUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get severity(){return this._severity}set severity(e){this._severity=e,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._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.toggles.length&&(this.togglesUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(e=p.Jq.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:e})}update(){var e,t;if(!this.visible)return;const i=this.getTitle();i&&this.ui.title.textContent!==i?this.ui.title.textContent=i:i||" "===this.ui.title.innerHTML||(this.ui.title.innerText=" ");const o=this.getDescription();if(this.ui.description1.textContent!==o&&(this.ui.description1.textContent=o),this.ui.description2.textContent!==o&&(this.ui.description2.textContent=o),this.busy&&!this.busyDelay&&(this.busyDelay=new d._F,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===Te));this.ui.leftActionBar.push(e.map(((e,t)=>{const i=new E.aU(`id-${t}`,"",e.iconClass||fe(e.iconPath),!0,(()=>Ie(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)}))));return i.tooltip=e.tooltip||"",i})),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const t=this.buttons.filter((e=>e!==Te));this.ui.rightActionBar.push(t.map(((e,t)=>{const i=new E.aU(`id-${t}`,"",e.iconClass||fe(e.iconPath),!0,(()=>Ie(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)}))));return i.tooltip=e.tooltip||"",i})),{icon:!0,label:!1})}if(this.togglesUpdated){this.togglesUpdated=!1;const i=null!==(t=null===(e=this.toggles)||void 0===e?void 0:e.filter((e=>e instanceof T.Z)))&&void 0!==t?t:[];this.ui.inputBox.toggles=i}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const r=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==r&&(this._lastValidationMessage=r,w.mc(this.ui.message),function(e,t,i){w.mc(t);const o=(0,he.J)(e);let r=0;for(const e of o.nodes)if("string"==typeof e)t.append(...(0,de.T)(e));else{let o=e.title;!o&&e.href.startsWith("command:")?o=(0,J.NC)("executeCommand","Click to execute command '{0}'",e.href.substring(8)):o||(o=e.href);const s=w.$("a",{href:e.href,title:o,tabIndex:r++},e.label);s.style.textDecoration="underline";const a=t=>{w.cl(t)&&w.zB.stop(t,!0),i.callback(e.href)},l=i.disposables.add(new le.Y(s,w.tw.CLICK)).event,c=i.disposables.add(new le.Y(s,w.tw.KEY_DOWN)).event,d=i.disposables.add(n.ju.chain(c)).filter((e=>{const t=new _.y(e);return t.equals(10)||t.equals(3)})).event;i.disposables.add(ce.o.addTarget(s));const u=i.disposables.add(new le.Y(s,ce.t.Tap)).event;n.ju.any(l,u,d)(a,null,i.disposables),t.appendChild(s)}}(r,this.ui.message,{callback:e=>{this.ui.linkOpenerDelegate(e)},disposables:this.visibleDisposables})),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}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,J.NC)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e!==N.Z.Ignore){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.marginBottom="-2px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.marginBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}Ee.noPromptMessage=(0,J.NC)("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");class Le extends Ee{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new n.Q5),this.onWillAcceptEmitter=this._register(new n.Q5),this.onDidAcceptEmitter=this._register(new n.Q5),this.onDidCustomEmitter=this._register(new n.Q5),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._matchOnLabelMode="fuzzy",this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=p.jG.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new n.Q5),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new n.Q5),this.onDidTriggerItemButtonEmitter=this._register(new n.Q5),this.onDidTriggerSeparatorButtonEmitter=this._register(new n.Q5),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event,this.onDidTriggerSeparatorButton=this.onDidTriggerSeparatorButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this.doSetValue(e)}doSetValue(e,t){if(this._value!==e){if(this._value=e,t||this.update(),this.visible){this.ui.list.filter(this.filterValue(this._value))&&this.trySelectFirst()}this.onDidChangeValueEmitter.fire(this._value)}}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}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(e){this.ui.list.scrollTop=e}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 matchOnLabelMode(){return this._matchOnLabelMode}set matchOnLabelMode(e){this._matchOnLabelMode=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 keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(e){this._keepScrollPosition=e}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?p.X5:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,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(we.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange((e=>{this.doSetValue(e,!0)}))),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(we.Next),this.canSelectMany&&this.ui.list.domFocus(),w.zB.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(we.Previous):this.ui.list.focus(we.Last),this.canSelectMany&&this.ui.list.domFocus(),w.zB.stop(e,!0);break;case 12:this.ui.list.focus(we.NextPage),this.canSelectMany&&this.ui.list.domFocus(),w.zB.stop(e,!0);break;case 11:this.ui.list.focus(we.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),w.zB.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.handleAccept(!0));break;case 14:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(we.First),w.zB.stop(e,!0));break;case 13:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(we.Last),w.zB.stop(e,!0))}}))),this.visibleDisposables.add(this.ui.onDidAccept((()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!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,L.fS)(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,L.fS)(e,this._selectedItems,((e,t)=>e===t))||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.handleAccept(t instanceof MouseEvent&&1===t.button))}))),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements((e=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,L.fS)(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.ui.list.onSeparatorButtonTriggered((e=>this.onDidTriggerSeparatorButtonEmitter.fire(e)))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(e){let t=!1;this.onWillAcceptEmitter.fire({veto:()=>t=!0}),t||this.onDidAcceptEmitter.fire({inBackground:e})}registerQuickNavigation(){return w.nm(this.ui.container,w.tw.KEY_UP,(e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new _.y(e),i=t.keyCode;this._quickNavigate.keybindings.some((e=>{const o=e.getChords();return!(o.length>1)&&(o[0].shiftKey&&4===i?!(t.ctrlKey||t.altKey||t.metaKey):!(!o[0].altKey||6!==i)||(!(!o[0].ctrlKey||5!==i)||!(!o[0].metaKey||57!==i)))}))&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)}))}update(){if(!this.visible)return;const e=this.keepScrollPosition?this.scrollTop:0,t=!!this.description,i={title:!!this.title||!!this.step||!!this.buttons.length,description:t,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!this._hideInput,progressBar:!this._hideInput||t,visibleCount:!0,count:this.canSelectMany,ok:"default"===this.ok?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(i),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||"");let o=this.ariaLabel;if(o||(o=this.placeholder||Le.DEFAULT_ARIA_LABEL,this.title&&(o+=` - ${this.title}`)),this.ui.list.ariaLabel!==o&&(this.ui.list.ariaLabel=o),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.matchOnLabelMode=this.matchOnLabelMode,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 p.jG.NONE:this._itemActivation=p.jG.FIRST;break;case p.jG.SECOND:this.ui.list.focus(we.Second),this._itemActivation=p.jG.FIRST;break;case p.jG.LAST:this.ui.list.focus(we.Last),this._itemActivation=p.jG.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)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",i.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(we.First)),this.keepScrollPosition&&(this.scrollTop=e)}}Le.DEFAULT_ARIA_LABEL=(0,J.NC)("quickInputBox.ariaLabel","Type to narrow down results.");class Ae extends Ee{constructor(){super(...arguments),this._value="",this.valueSelectionUpdated=!0,this._password=!1,this.onDidValueChangeEmitter=this._register(new n.Q5),this.onDidAcceptEmitter=this._register(new n.Q5),this.onDidChangeValue=this.onDidValueChangeEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event}get value(){return this._value}set value(e){this._value=e||"",this.update()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get password(){return this._password}set password(e){this._password=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange((e=>{e!==this.value&&(this._value=e,this.onDidValueChangeEmitter.fire(e))}))),this.visibleDisposables.add(this.ui.onDidAccept((()=>this.onDidAcceptEmitter.fire()))),this.valueSelectionUpdated=!0),super.show()}update(){if(!this.visible)return;this.ui.container.classList.remove("hidden-input");const e={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description||!!this.step,inputBox:!0,message:!0};this.ui.setVisibilities(e),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||""),this.ui.inputBox.password!==this.password&&(this.ui.inputBox.password=this.password)}}class Be extends h.JT{constructor(e){super(),this.options=e,this.enabled=!0,this.onDidAcceptEmitter=this._register(new n.Q5),this.onDidCustomEmitter=this._register(new n.Q5),this.onDidTriggerButtonEmitter=this._register(new n.Q5),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new n.Q5),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new n.Q5),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(w.nm(window,w.tw.KEY_DOWN,e,!0)),this._register(w.nm(window,w.tw.KEY_UP,e,!0)),this._register(w.nm(window,w.tw.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=w.R3(this.parentElement,De(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";const t=w.dS(e),i=w.R3(e,De(".quick-input-titlebar")),o=this._register(new S.o(i));o.domNode.classList.add("quick-input-left-action-bar");const n=w.R3(i,De(".quick-input-title")),r=this._register(new S.o(i));r.domNode.classList.add("quick-input-right-action-bar");const s=w.R3(e,De(".quick-input-description")),a=w.R3(e,De(".quick-input-header")),l=w.R3(a,De("input.quick-input-check-all"));l.type="checkbox",l.setAttribute("aria-label",(0,J.NC)("quickInput.checkAll","Toggle all checkboxes")),this._register(w.mu(l,w.tw.CHANGE,(e=>{const t=l.checked;A.setAllVisibleChecked(t)}))),this._register(w.nm(l,w.tw.CLICK,(e=>{(e.x||e.y)&&h.setFocus()})));const c=w.R3(a,De(".quick-input-description")),d=w.R3(a,De(".quick-input-and-message")),u=w.R3(d,De(".quick-input-filter")),h=this._register(new ee(u,this.styles.inputBox,this.styles.toggle));h.setAttribute("aria-describedby",`${this.idPrefix}message`);const g=w.R3(u,De(".quick-input-visible-count"));g.setAttribute("aria-live","polite"),g.setAttribute("aria-atomic","true");const f=new I.Z(g,{countFormat:(0,J.NC)({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")},this.styles.countBadge),m=w.R3(u,De(".quick-input-count"));m.setAttribute("aria-live","polite");const b=new I.Z(m,{countFormat:(0,J.NC)({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")},this.styles.countBadge),v=w.R3(a,De(".quick-input-action")),y=new x.z(v,this.styles.button);y.label=(0,J.NC)("ok","OK"),this._register(y.onDidClick((e=>{this.onDidAcceptEmitter.fire()})));const k=w.R3(a,De(".quick-input-action")),C=new x.z(k,this.styles.button);C.label=(0,J.NC)("custom","Custom"),this._register(C.onDidClick((e=>{this.onDidCustomEmitter.fire()})));const T=w.R3(d,De(`#${this.idPrefix}message.quick-input-message`)),E=new D.k(e,this.styles.progressBar);E.getContainer().classList.add("quick-input-progress");const L=this.idPrefix+"list",A=this._register(new _e(e,L,this.options));h.setAttribute("aria-controls",L),this._register(A.onDidChangeFocus((()=>{var e;h.setAttribute("aria-activedescendant",null!==(e=A.getActiveDescendant())&&void 0!==e?e:"")}))),this._register(A.onChangedAllVisibleChecked((e=>{l.checked=e}))),this._register(A.onChangedVisibleCount((e=>{f.setCount(e)}))),this._register(A.onChangedCheckedCount((e=>{b.setCount(e)}))),this._register(A.onLeave((()=>{setTimeout((()=>{h.setFocus(),this.controller instanceof Le&&this.controller.canSelectMany&&A.clearFocus()}),0)})));const B=w.go(e);return this._register(B),this._register(w.nm(e,w.tw.FOCUS,(e=>{this.previousFocusElement=e.relatedTarget instanceof HTMLElement?e.relatedTarget:void 0}),!0)),this._register(B.onDidBlur((()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(p.Jq.Blur),this.previousFocusElement=void 0}))),this._register(w.nm(e,w.tw.FOCUS,(e=>{h.setFocus()}))),this._register(w.nm(e,w.tw.KEY_DOWN,(t=>{const i=new _.y(t);switch(i.keyCode){case 3:w.zB.stop(t,!0),this.enabled&&this.onDidAcceptEmitter.fire();break;case 9:w.zB.stop(t,!0),this.hide(p.Jq.Gesture);break;case 2:if(!i.altKey&&!i.ctrlKey&&!i.metaKey){const o=[".action-label.codicon"];e.classList.contains("show-checkboxes")?o.push("input"):o.push("input[type=text]"),this.getUI().list.isDisplayed()&&o.push(".monaco-list"),this.getUI().message&&o.push(".quick-input-message a");const n=e.querySelectorAll(o.join(", "));i.shiftKey&&i.target===n[0]?(w.zB.stop(t,!0),A.clearFocus()):i.shiftKey||i.target!==n[n.length-1]||(w.zB.stop(t,!0),n[0].focus())}break;case 10:i.ctrlKey&&(w.zB.stop(t,!0),this.getUI().list.toggleHover())}}))),this.ui={container:e,styleSheet:t,leftActionBar:o,titleBar:i,title:n,description1:s,description2:c,rightActionBar:r,checkAll:l,filterContainer:u,inputBox:h,visibleCountContainer:g,visibleCount:f,countContainer:m,count:b,okContainer:v,ok:y,message:T,customButtonContainer:k,customButton:C,list:A,progressBar:E,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e),linkOpenerDelegate:e=>this.options.linkOpenerDelegate(e)},this.updateStyles(),this.ui}pick(e,t={},i=o.T.None){return new Promise(((o,n)=>{let r=e=>{var i;r=o,null===(i=t.onKeyMods)||void 0===i||i.call(t,s.keyMods),o(e)};if(i.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 i=e[0];i&&t.onDidFocus&&t.onDidFocus(i)})),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(),i=e.splice(t,1),o=s.activeItems.filter((e=>e!==i[0])),n=s.keepScrollPosition;s.keepScrollPosition=!0,s.items=e,o&&(s.activeItems=o),s.keepScrollPosition=n}}})))),s.onDidTriggerSeparatorButton((e=>{var i;return null===(i=t.onDidTriggerSeparatorButton)||void 0===i?void 0:i.call(t,e)})),s.onDidChangeValue((e=>{!a||e||1===s.activeItems.length&&s.activeItems[0]===a||(s.activeItems=[a])})),i.onCancellationRequested((()=>{s.hide()})),s.onDidHide((()=>{(0,h.B9)(l),r(void 0)}))];s.title=t.title,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.hideInput=!!t.hideInput,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=>{n(e),s.hide()}))}))}createQuickPick(){const e=this.getUI();return new Le(e)}createInputBox(){const e=this.getUI();return new Ae(e)}show(e){const t=this.getUI();this.onShowEmitter.fire();const i=this.controller;this.controller=e,null==i||i.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(N.Z.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),w.mc(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,t.inputBox.toggles=void 0;const o=this.options.backKeybindingLabel();Te.tooltip=o?(0,J.NC)("quickInput.backWithKeybinding","Back ({0})",o):(0,J.NC)("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.toggle("show-checkboxes",!!e.checkBox),t.container.classList.toggle("hidden-input",!e.inputBox&&!e.description),this.updateLayout()}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.action.enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.action.enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().inputBox.enabled=e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(e){var t;const i=this.controller;if(i){const o=!(null===(t=this.ui)||void 0===t?void 0:t.container.contains(document.activeElement));if(this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",!o){let e=this.previousFocusElement;for(;e&&!e.offsetParent;)e=(0,F.f6)(e.parentElement);(null==e?void 0:e.offsetParent)?(e.focus(),this.previousFocusElement=void 0):this.options.returnFocus()}i.didHide(e)}}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui&&this.isDisplayed()){this.ui.container.style.top=`${this.titleBarOffset}px`;const e=this.ui.container.style,t=Math.min(.62*this.dimension.width,Be.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:i,widgetBorder:o,widgetShadow:n}=this.styles.widget;this.ui.titleBar.style.backgroundColor=null!=e?e:"",this.ui.container.style.backgroundColor=null!=t?t:"",this.ui.container.style.color=null!=i?i:"",this.ui.container.style.border=o?`1px solid ${o}`:"",this.ui.container.style.boxShadow=n?`0 0 8px 2px ${n}`:"",this.ui.list.style(this.styles.list);const r=[];this.styles.pickerGroup.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.pickerGroup.pickerGroupBorder}; }`),this.styles.pickerGroup.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.pickerGroup.pickerGroupForeground}; }`),this.styles.pickerGroup.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator-as-item { color: ${this.styles.pickerGroup.pickerGroupForeground}; }`),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(r.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&r.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&r.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&r.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&r.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&r.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),r.push("}"));const s=r.join("\n");s!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=s)}}isDisplayed(){return this.ui&&"none"!==this.ui.container.style.display}}Be.MAX_WIDTH=600;var Ne=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},Oe=function(e,t){return function(i,o){t(i,o,e)}};let Fe=class extends C.bB{get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get hasController(){return!!this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(v))),this._quickAccess}constructor(e,t,i,o){super(i),this.instantiationService=e,this.contextKeyService=t,this.layoutService=o,this._onShow=this._register(new n.Q5),this._onHide=this._register(new n.Q5),this.contexts=new Map}createController(e=this.layoutService,t){const i={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),linkOpenerDelegate:e=>{this.instantiationService.invokeFunction((t=>{t.get(c.v4).open(e,{allowCommands:!0,fromUserGesture:!0})}))},returnFocus:()=>e.focus(),createList:(e,t,i,o,n)=>this.instantiationService.createInstance(l.ev,e,t,i,o,n),hoverDelegate:{showHover(e,t){},delay:200},styles:this.computeStyles()},o=this._register(new Be(Object.assign(Object.assign({},i),t)));return o.layout(e.dimension,e.offset.quickPickTop),this._register(e.onDidLayout((t=>o.layout(t,e.offset.quickPickTop)))),this._register(o.onShow((()=>{this.resetContextKeys(),this._onShow.fire()}))),this._register(o.onHide((()=>{this.resetContextKeys(),this._onHide.fire()}))),o}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new r.uy(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),t&&t.get()||(this.resetContextKeys(),null==t||t.set(!0))}resetContextKeys(){this.contexts.forEach((e=>{e.get()&&e.reset()}))}pick(e,t={},i=o.T.None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}createInputBox(){return this.controller.createInputBox()}updateStyles(){this.hasController&&this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:{quickInputBackground:(0,k.n_1)(k.zKr),quickInputForeground:(0,k.n_1)(k.tZ6),quickInputTitleBackground:(0,k.n_1)(k.loF),widgetBorder:(0,k.n_1)(k.A42),widgetShadow:(0,k.n_1)(k.rh)},inputBox:y.Hc,toggle:y.pl,countBadge:y.ku,button:y.wG,progressBar:y.b5,keybindingLabel:y.eO,list:(0,y.TU)({listBackground:k.zKr,listFocusBackground:k.Vqd,listFocusForeground:k.NPS,listInactiveFocusForeground:k.NPS,listInactiveSelectionIconForeground:k.cbQ,listInactiveFocusBackground:k.Vqd,listFocusOutline:k.xL1,listInactiveFocusOutline:k.xL1}),pickerGroup:{pickerGroupBorder:(0,k.n_1)(k.opG),pickerGroupForeground:(0,k.n_1)(k.kJk)}}}};Fe=Ne([Oe(0,s.TG),Oe(1,r.i6),Oe(2,C.XE),Oe(3,a.F)],Fe)},90725:(e,t,i)=>{i.d(t,{IP:()=>a,Ry:()=>o});var o,n=i(9488),r=i(5976),s=i(89872);!function(e){e[e.PRESERVE=0]="PRESERVE",e[e.LAST=1]="LAST"}(o||(o={}));const a={Quickaccess:"workbench.contributions.quickaccess"};s.B.add(a.Quickaccess,new class{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,r.OF)((()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)}))}getQuickAccessProviders(){return(0,n.kX)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find((t=>e.startsWith(t.prefix)))||void 0||this.defaultProvider}})},41157:(e,t,i)=>{i.d(t,{Jq:()=>r,X5:()=>n,eJ:()=>a,jG:()=>s});var o=i(72065);const n={ctrlCmd:!1,alt:!1};var r,s;!function(e){e[e.Blur=1]="Blur",e[e.Gesture=2]="Gesture",e[e.Other=3]="Other"}(r||(r={})),function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(s||(s={}));new class{constructor(e){this.options=e}};const a=(0,o.yh)("quickInputService")},89872:(e,t,i)=>{i.d(t,{B:()=>r});var o=i(35146),n=i(98401);const r=new class{constructor(){this.data=new Map}add(e,t){o.ok(n.HD(e)),o.ok(n.Kn(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}}},75742:(e,t,i)=>{i.d(t,{j:()=>b});var o=i(93379),n=i.n(o),r=i(7795),s=i.n(r),a=i(90569),l=i.n(a),c=i(3565),d=i.n(c),u=i(19216),h=i.n(u),g=i(44589),p=i.n(g),f=i(81050),m={};m.styleTagTransform=p(),m.setAttributes=d(),m.insert=l().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=h();n()(f.Z,m);f.Z&&f.Z.locals&&f.Z.locals;var b,v=i(73046),y=i(25670),k=i(14603);!function(e){e.className=function(e){switch(e){case k.Z.Ignore:return"severity-ignore "+y.k.asClassName(v.l.info);case k.Z.Info:return y.k.asClassName(v.l.info);case k.Z.Warning:return y.k.asClassName(v.l.warning);case k.Z.Error:return y.k.asClassName(v.l.error);default:return""}}}(b||(b={}))},52365:(e,t,i)=>{i.d(t,{Uy:()=>c,fk:()=>d,vm:()=>h});var o=i(4669),n=i(5976),r=i(98401),s=i(10748),a=i(72065);const l="__$__targetStorageMarker",c=(0,a.yh)("storageService");var d;!function(e){e[e.NONE=0]="NONE",e[e.SHUTDOWN=1]="SHUTDOWN"}(d||(d={}));class u extends n.JT{constructor(e={flushInterval:u.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new o.K3),this.onDidChangeValue=this._onDidChangeValue.event,this._onDidChangeTarget=this._register(new o.K3),this._onWillSaveState=this._register(new o.Q5),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._profileKeyTargets=void 0,this._applicationKeyTargets=void 0}emitDidChangeValue(e,t){if(t===l){switch(e){case-1:this._applicationKeyTargets=void 0;break;case 0:this._profileKeyTargets=void 0;break;case 1:this._workspaceKeyTargets=void 0}this._onDidChangeTarget.fire({scope:e})}else this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}get(e,t,i){var o;return null===(o=this.getStorage(t))||void 0===o?void 0:o.get(e,i)}getBoolean(e,t,i){var o;return null===(o=this.getStorage(t))||void 0===o?void 0:o.getBoolean(e,i)}getNumber(e,t,i){var o;return null===(o=this.getStorage(t))||void 0===o?void 0:o.getNumber(e,i)}store(e,t,i,o){(0,r.Jp)(t)?this.remove(e,i):this.withPausedEmitters((()=>{var n;this.updateKeyTarget(e,i,o),null===(n=this.getStorage(i))||void 0===n||n.set(e,t)}))}remove(e,t){this.withPausedEmitters((()=>{var i;this.updateKeyTarget(e,t,void 0),null===(i=this.getStorage(t))||void 0===i||i.delete(e)}))}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i){var o,n;const r=this.getKeyTargets(t);"number"==typeof i?r[e]!==i&&(r[e]=i,null===(o=this.getStorage(t))||void 0===o||o.set(l,JSON.stringify(r))):"number"==typeof r[e]&&(delete r[e],null===(n=this.getStorage(t))||void 0===n||n.set(l,JSON.stringify(r)))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get profileKeyTargets(){return this._profileKeyTargets||(this._profileKeyTargets=this.loadKeyTargets(0)),this._profileKeyTargets}get applicationKeyTargets(){return this._applicationKeyTargets||(this._applicationKeyTargets=this.loadKeyTargets(-1)),this._applicationKeyTargets}getKeyTargets(e){switch(e){case-1:return this.applicationKeyTargets;case 0:return this.profileKeyTargets;default:return this.workspaceKeyTargets}}loadKeyTargets(e){const t=this.getStorage(e);return t?function(e){const t=e.get(l);if(t)try{return JSON.parse(t)}catch(e){}return Object.create(null)}(t):Object.create(null)}}u.DEFAULT_FLUSH_INTERVAL=6e4;class h extends u{constructor(){super(),this.applicationStorage=this._register(new s.Ke(new s.Wm,{hint:s.KV.STORAGE_IN_MEMORY})),this.profileStorage=this._register(new s.Ke(new s.Wm,{hint:s.KV.STORAGE_IN_MEMORY})),this.workspaceStorage=this._register(new s.Ke(new s.Wm,{hint:s.KV.STORAGE_IN_MEMORY})),this._register(this.workspaceStorage.onDidChangeStorage((e=>this.emitDidChangeValue(1,e)))),this._register(this.profileStorage.onDidChangeStorage((e=>this.emitDidChangeValue(0,e)))),this._register(this.applicationStorage.onDidChangeStorage((e=>this.emitDidChangeValue(-1,e))))}getStorage(e){switch(e){case-1:return this.applicationStorage;case 0:return this.profileStorage;default:return this.workspaceStorage}}}},10829:(e,t,i)=>{i.d(t,{b:()=>o});const o=(0,i(72065).yh)("telemetryService")},86253:(e,t,i)=>{i.d(t,{BM:()=>p,Hc:()=>c,O2:()=>h,TU:()=>g,ZR:()=>f,b5:()=>a,eO:()=>r,ku:()=>u,pl:()=>l,uX:()=>d,wG:()=>s});var o=i(73910),n=i(41264);const r={keybindingLabelBackground:(0,o.n_1)(o.oQ$),keybindingLabelForeground:(0,o.n_1)(o.lWp),keybindingLabelBorder:(0,o.n_1)(o.AWI),keybindingLabelBottomBorder:(0,o.n_1)(o.K19),keybindingLabelShadow:(0,o.n_1)(o.rh)},s={buttonForeground:(0,o.n_1)(o.j5u),buttonSeparator:(0,o.n_1)(o.iFQ),buttonBackground:(0,o.n_1)(o.b7$),buttonHoverBackground:(0,o.n_1)(o.GO4),buttonSecondaryForeground:(0,o.n_1)(o.qBU),buttonSecondaryBackground:(0,o.n_1)(o.ESD),buttonSecondaryHoverBackground:(0,o.n_1)(o.xEn),buttonBorder:(0,o.n_1)(o.GYc)},a={progressBarBackground:(0,o.n_1)(o.zRJ)},l={inputActiveOptionBorder:(0,o.n_1)(o.PRb),inputActiveOptionForeground:(0,o.n_1)(o.Pvw),inputActiveOptionBackground:(0,o.n_1)(o.XEs)},c=((0,o.n_1)(o.SUp),(0,o.n_1)(o.nd),(0,o.n_1)(o.BQ0),(0,o.n_1)(o.D0T),(0,o.n_1)(o.Hfx),(0,o.n_1)(o.rh),(0,o.n_1)(o.lRK),(0,o.n_1)(o.JpG),(0,o.n_1)(o.BOY),(0,o.n_1)(o.OLZ),(0,o.n_1)(o.url),{inputBackground:(0,o.n_1)(o.sEe),inputForeground:(0,o.n_1)(o.zJb),inputBorder:(0,o.n_1)(o.dt_),inputValidationInfoBorder:(0,o.n_1)(o.EPQ),inputValidationInfoBackground:(0,o.n_1)(o._lC),inputValidationInfoForeground:(0,o.n_1)(o.YI3),inputValidationWarningBorder:(0,o.n_1)(o.C3g),inputValidationWarningBackground:(0,o.n_1)(o.RV_),inputValidationWarningForeground:(0,o.n_1)(o.SUG),inputValidationErrorBorder:(0,o.n_1)(o.OZR),inputValidationErrorBackground:(0,o.n_1)(o.paE),inputValidationErrorForeground:(0,o.n_1)(o._t9)}),d={listFilterWidgetBackground:(0,o.n_1)(o.vGG),listFilterWidgetOutline:(0,o.n_1)(o.oSI),listFilterWidgetNoMatchesOutline:(0,o.n_1)(o.Saq),listFilterWidgetShadow:(0,o.n_1)(o.y65),inputBoxStyles:c,toggleStyles:l},u={badgeBackground:(0,o.n_1)(o.g8u),badgeForeground:(0,o.n_1)(o.qeD),badgeBorder:(0,o.n_1)(o.lRK)},h=((0,o.n_1)(o.ixd),(0,o.n_1)(o.l80),(0,o.n_1)(o.H6q),(0,o.n_1)(o.H6q),(0,o.n_1)(o.fSI),{listBackground:void 0,listInactiveFocusForeground:void 0,listFocusBackground:(0,o.n_1)(o._bK),listFocusForeground:(0,o.n_1)(o._2n),listFocusOutline:(0,o.n_1)(o.Oop),listActiveSelectionBackground:(0,o.n_1)(o.dCr),listActiveSelectionForeground:(0,o.n_1)(o.M6C),listActiveSelectionIconForeground:(0,o.n_1)(o.Tnx),listFocusAndSelectionOutline:(0,o.n_1)(o.Bqu),listFocusAndSelectionBackground:(0,o.n_1)(o.dCr),listFocusAndSelectionForeground:(0,o.n_1)(o.M6C),listInactiveSelectionBackground:(0,o.n_1)(o.rg2),listInactiveSelectionIconForeground:(0,o.n_1)(o.kvU),listInactiveSelectionForeground:(0,o.n_1)(o.ytC),listInactiveFocusBackground:(0,o.n_1)(o.s$),listInactiveFocusOutline:(0,o.n_1)(o.F3d),listHoverBackground:(0,o.n_1)(o.mV1),listHoverForeground:(0,o.n_1)(o.$d5),listDropBackground:(0,o.n_1)(o.AS1),listSelectionOutline:(0,o.n_1)(o.xL1),listHoverOutline:(0,o.n_1)(o.xL1),treeIndentGuidesStroke:(0,o.n_1)(o.UnT),treeInactiveIndentGuidesStroke:(0,o.n_1)(o.KjV),tableColumnsBorder:(0,o.n_1)(o.uxu),tableOddRowsBackgroundColor:(0,o.n_1)(o.EQn)});function g(e){return function(e,t){const i=Object.assign({},t);for(const t in e){const n=e[t];i[t]=void 0!==n?(0,o.n_1)(n):void 0}return i}(e,h)}const p={selectBackground:(0,o.n_1)(o.XV0),selectListBackground:(0,o.n_1)(o.Fgs),selectForeground:(0,o.n_1)(o._g0),decoratorRightForeground:(0,o.n_1)(o.kJk),selectBorder:(0,o.n_1)(o.a9O),focusBorder:(0,o.n_1)(o.R80),listFocusBackground:(0,o.n_1)(o.Vqd),listInactiveSelectionIconForeground:(0,o.n_1)(o.cbQ),listFocusForeground:(0,o.n_1)(o.NPS),listFocusOutline:(0,o.BtC)(o.xL1,n.Il.transparent.toString()),listHoverBackground:(0,o.n_1)(o.mV1),listHoverForeground:(0,o.n_1)(o.$d5),listHoverOutline:(0,o.n_1)(o.xL1),selectListBorder:(0,o.n_1)(o.D1_),listBackground:void 0,listActiveSelectionBackground:void 0,listActiveSelectionForeground:void 0,listActiveSelectionIconForeground:void 0,listFocusAndSelectionBackground:void 0,listDropBackground:void 0,listInactiveSelectionBackground:void 0,listInactiveSelectionForeground:void 0,listInactiveFocusBackground:void 0,listInactiveFocusOutline:void 0,listSelectionOutline:void 0,listFocusAndSelectionForeground:void 0,listFocusAndSelectionOutline:void 0,listInactiveFocusForeground:void 0,tableColumnsBorder:void 0,tableOddRowsBackgroundColor:void 0,treeIndentGuidesStroke:void 0,treeInactiveIndentGuidesStroke:void 0},f={shadowColor:(0,o.n_1)(o.rh),borderColor:(0,o.n_1)(o.Cdg),foregroundColor:(0,o.n_1)(o.DEr),backgroundColor:(0,o.n_1)(o.Hz8),selectionForegroundColor:(0,o.n_1)(o.jbW),selectionBackgroundColor:(0,o.n_1)(o.$DX),selectionBorderColor:(0,o.n_1)(o.E3h),separatorColor:(0,o.n_1)(o.ZGJ),scrollbarShadow:(0,o.n_1)(o._wn),scrollbarSliderBackground:(0,o.n_1)(o.etL),scrollbarSliderHoverBackground:(0,o.n_1)(o.ABB),scrollbarSliderActiveBackground:(0,o.n_1)(o.ynu)}},30929:(e,t,i)=>{i.d(t,{J:()=>a,p:()=>l});var o=i(65321),n=i(4669),r=i(25670),s=i(59554);function a(e){const t=new n.Q5,i=(0,s.Ks)();return i.onDidChange((()=>t.fire())),null==e||e.onDidProductIconThemeChange((()=>t.fire())),{onDidChange:t.event,getCSS(){const t=e?e.getProductIconTheme():new l,n={},r=e=>{const i=t.getIcon(e);if(!i)return;const r=i.font;return r?(n[r.id]=r.definition,`.codicon-${e.id}:before { content: '${i.fontCharacter}'; font-family: ${(0,o._h)(r.id)}; }`):`.codicon-${e.id}:before { content: '${i.fontCharacter}'; }`},s=[];for(const e of i.getIcons()){const t=r(e);t&&s.push(t)}for(const e in n){const t=n[e],i=t.weight?`font-weight: ${t.weight};`:"",r=t.style?`font-style: ${t.style};`:"",a=t.src.map((e=>`${(0,o.wY)(e.location)} format('${e.format}')`)).join(", ");s.push(`@font-face { src: ${a}; font-family: ${(0,o._h)(e)};${i}${r} font-display: block; }`)}return s.join("\n")}}}class l{getIcon(e){const t=(0,s.Ks)();let i=e.defaults;for(;r.k.isThemeIcon(i);){const e=t.getIcon(i.id);if(!e)return;i=e.defaults}return i}}},73910:(e,t,i)=>{i.d(t,{$DX:()=>Kt,$d5:()=>ht,A42:()=>S,ABB:()=>ie,AS1:()=>gt,AWI:()=>xe,BOY:()=>di,BQ0:()=>Tt,Bqu:()=>it,BtC:()=>h,C3g:()=>M,CNo:()=>Ke,Cdg:()=>Ot,CzK:()=>$e,D0T:()=>pe,D1_:()=>me,DEr:()=>Ft,Dut:()=>ue,E3h:()=>Pt,EPQ:()=>N,EQn:()=>It,ES4:()=>Ee,ESD:()=>J,EiJ:()=>Fe,F3d:()=>dt,F9q:()=>Ze,Fgs:()=>V,Fm_:()=>ei,GO4:()=>z,GYc:()=>G,Gj_:()=>ri,Gwp:()=>pt,H6q:()=>Wt,HCL:()=>We,Hfx:()=>fe,Hz8:()=>Mt,IPX:()=>g,IYc:()=>oi,Ido:()=>b,Itd:()=>li,Ivo:()=>si,JpG:()=>ci,K19:()=>Ie,KjV:()=>St,L_t:()=>Ye,M6C:()=>nt,MUv:()=>Be,NOs:()=>ge,NPS:()=>At,Ng6:()=>be,OLZ:()=>ui,OZR:()=>P,Oop:()=>tt,P4M:()=>Qe,P6G:()=>f,P6Y:()=>Je,PRb:()=>T,PX0:()=>ft,PpC:()=>Ve,Pvw:()=>L,QO2:()=>d,R80:()=>y,RV_:()=>O,Rzx:()=>Le,SPM:()=>ti,SUG:()=>F,SUY:()=>ii,SUp:()=>Dt,Saq:()=>Ct,T83:()=>de,Tnx:()=>rt,UnT:()=>_t,VVv:()=>qe,Vqd:()=>Nt,XEs:()=>E,XV0:()=>q,XZx:()=>v,YI3:()=>B,ZGJ:()=>qt,ZnX:()=>pi,_2n:()=>et,_Yy:()=>Pe,_bK:()=>Xe,_g0:()=>H,_lC:()=>A,_t9:()=>K,_wn:()=>ee,a9O:()=>j,b6y:()=>se,b7$:()=>$,bKB:()=>je,c63:()=>ce,cbQ:()=>Bt,cvW:()=>he,dCr:()=>ot,dRz:()=>m,dt_:()=>D,etL:()=>te,fSI:()=>Ut,g8u:()=>Y,gkn:()=>Me,hEj:()=>De,hX8:()=>He,iFQ:()=>U,ixd:()=>jt,j5u:()=>W,jUe:()=>Ne,jbW:()=>Rt,kJk:()=>Ce,kVY:()=>ai,keg:()=>ze,kvU:()=>lt,kwl:()=>fi,l80:()=>Ht,lRK:()=>k,lUq:()=>Vt,lWp:()=>Se,lXJ:()=>re,loF:()=>ke,mV1:()=>ut,n_1:()=>u,nd:()=>Et,nyM:()=>Ae,oQ$:()=>_e,oSI:()=>kt,opG:()=>we,ov3:()=>ni,pW3:()=>le,paE:()=>R,phM:()=>Ue,pnM:()=>Oe,qBU:()=>Q,qeD:()=>X,rg2:()=>st,rh:()=>_,s$:()=>ct,sEe:()=>x,tZ6:()=>ye,uoC:()=>ae,url:()=>w,uxu:()=>xt,vGG:()=>yt,xEn:()=>Z,xL1:()=>C,y65:()=>wt,yJx:()=>Re,yb5:()=>Te,ynu:()=>oe,ypS:()=>Ge,ytC:()=>at,zJb:()=>I,zKr:()=>ve,zRJ:()=>ne});var o=i(15393),n=i(41264),r=i(4669),s=i(35146),a=i(63580),l=i(81294),c=i(89872);function d(e){return`--vscode-${e.replace(/\./g,"-")}`}function u(e){return`var(${d(e)})`}function h(e,t){return`var(${d(e)}, ${t})`}const g={ColorContribution:"base.contributions.colors"};const p=new class{constructor(){this._onDidChangeSchema=new r.Q5,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,o=!1,n){const r={id:e,description:i,defaults:t,needsTransparency:o,deprecationMessage:n};this.colorsById[e]=r;const s={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return n&&(s.deprecationMessage=n),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}getColors(){return Object.keys(this.colorsById).map((e=>this.colorsById[e]))}resolveDefaultColor(e,t){const i=this.colorsById[e];if(i&&i.defaults){return bi(i.defaults[t.type],t)}}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort(((e,t)=>{const i=-1===e.indexOf(".")?0:1,o=-1===t.indexOf(".")?0:1;return i!==o?i-o:e.localeCompare(t)})).map((e=>`- \`${e}\`: ${this.colorsById[e].description}`)).join("\n")}};function f(e,t,i,o,n){return p.registerColor(e,t,i,o,n)}c.B.add(g.ColorContribution,p);const m=f("foreground",{dark:"#CCCCCC",light:"#616161",hcDark:"#FFFFFF",hcLight:"#292929"},a.NC("foreground","Overall foreground color. This color is only used if not overridden by a component.")),b=(f("disabledForeground",{dark:"#CCCCCC80",light:"#61616180",hcDark:"#A5A5A5",hcLight:"#7F7F7F"},a.NC("disabledForeground","Overall foreground for disabled elements. This color is only used if not overridden by a component.")),f("errorForeground",{dark:"#F48771",light:"#A1260D",hcDark:"#F48771",hcLight:"#B5200D"},a.NC("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component."))),v=(f("descriptionForeground",{light:"#717171",dark:pi(m,.7),hcDark:pi(m,.7),hcLight:pi(m,.7)},a.NC("descriptionForeground","Foreground color for description text providing additional information, for example for a label.")),f("icon.foreground",{dark:"#C5C5C5",light:"#424242",hcDark:"#FFFFFF",hcLight:"#292929"},a.NC("iconForeground","The default color for icons in the workbench."))),y=f("focusBorder",{dark:"#007FD4",light:"#0090F1",hcDark:"#F38518",hcLight:"#006BBD"},a.NC("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),k=f("contrastBorder",{light:null,dark:null,hcDark:"#6FC3DF",hcLight:"#0F4A85"},a.NC("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),C=f("contrastActiveBorder",{light:null,dark:null,hcDark:y,hcLight:y},a.NC("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),w=(f("selection.background",{light:null,dark:null,hcDark:null,hcLight:null},a.NC("selectionBackground","The background color of text selections in the workbench (e.g. for input fields or text areas). Note that this does not apply to selections within the editor.")),f("textSeparator.foreground",{light:"#0000002e",dark:"#ffffff2e",hcDark:n.Il.black,hcLight:"#292929"},a.NC("textSeparatorForeground","Color for text separators.")),f("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},a.NC("textLinkForeground","Foreground color for links in text."))),_=(f("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hcDark:"#3794FF",hcLight:"#0F4A85"},a.NC("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),f("textPreformat.foreground",{light:"#A31515",dark:"#D7BA7D",hcDark:"#D7BA7D",hcLight:"#292929"},a.NC("textPreformatForeground","Foreground color for preformatted text segments.")),f("textBlockQuote.background",{light:"#7f7f7f1a",dark:"#7f7f7f1a",hcDark:null,hcLight:"#F2F2F2"},a.NC("textBlockQuoteBackground","Background color for block quotes in text.")),f("textBlockQuote.border",{light:"#007acc80",dark:"#007acc80",hcDark:n.Il.white,hcLight:"#292929"},a.NC("textBlockQuoteBorder","Border color for block quotes in text.")),f("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hcDark:n.Il.black,hcLight:"#F2F2F2"},a.NC("textCodeBlockBackground","Background color for code blocks in text.")),f("widget.shadow",{dark:pi(n.Il.black,.36),light:pi(n.Il.black,.16),hcDark:null,hcLight:null},a.NC("widgetShadow","Shadow color of widgets such as find/replace inside the editor."))),S=f("widget.border",{dark:null,light:null,hcDark:k,hcLight:k},a.NC("widgetBorder","Border color of widgets such as find/replace inside the editor.")),x=f("input.background",{dark:"#3C3C3C",light:n.Il.white,hcDark:n.Il.black,hcLight:n.Il.white},a.NC("inputBoxBackground","Input box background.")),I=f("input.foreground",{dark:m,light:m,hcDark:m,hcLight:m},a.NC("inputBoxForeground","Input box foreground.")),D=f("input.border",{dark:null,light:null,hcDark:k,hcLight:k},a.NC("inputBoxBorder","Input box border.")),T=f("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:k,hcLight:k},a.NC("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),E=(f("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},a.NC("inputOption.hoverBackground","Background color of activated options in input fields.")),f("inputOption.activeBackground",{dark:pi(y,.4),light:pi(y,.2),hcDark:n.Il.transparent,hcLight:n.Il.transparent},a.NC("inputOption.activeBackground","Background hover color of options in input fields."))),L=f("inputOption.activeForeground",{dark:n.Il.white,light:n.Il.black,hcDark:m,hcLight:m},a.NC("inputOption.activeForeground","Foreground color of activated options in input fields.")),A=(f("input.placeholderForeground",{light:pi(m,.5),dark:pi(m,.5),hcDark:pi(m,.7),hcLight:pi(m,.7)},a.NC("inputPlaceholderForeground","Input box foreground color for placeholder text.")),f("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:n.Il.black,hcLight:n.Il.white},a.NC("inputValidationInfoBackground","Input validation background color for information severity."))),B=f("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:m},a.NC("inputValidationInfoForeground","Input validation foreground color for information severity.")),N=f("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:k,hcLight:k},a.NC("inputValidationInfoBorder","Input validation border color for information severity.")),O=f("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:n.Il.black,hcLight:n.Il.white},a.NC("inputValidationWarningBackground","Input validation background color for warning severity.")),F=f("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:m},a.NC("inputValidationWarningForeground","Input validation foreground color for warning severity.")),M=f("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:k,hcLight:k},a.NC("inputValidationWarningBorder","Input validation border color for warning severity.")),R=f("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:n.Il.black,hcLight:n.Il.white},a.NC("inputValidationErrorBackground","Input validation background color for error severity.")),K=f("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:m},a.NC("inputValidationErrorForeground","Input validation foreground color for error severity.")),P=f("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:k,hcLight:k},a.NC("inputValidationErrorBorder","Input validation border color for error severity.")),q=f("dropdown.background",{dark:"#3C3C3C",light:n.Il.white,hcDark:n.Il.black,hcLight:n.Il.white},a.NC("dropdownBackground","Dropdown background.")),V=f("dropdown.listBackground",{dark:null,light:null,hcDark:n.Il.black,hcLight:n.Il.white},a.NC("dropdownListBackground","Dropdown list background.")),H=f("dropdown.foreground",{dark:"#F0F0F0",light:m,hcDark:n.Il.white,hcLight:m},a.NC("dropdownForeground","Dropdown foreground.")),j=f("dropdown.border",{dark:q,light:"#CECECE",hcDark:k,hcLight:k},a.NC("dropdownBorder","Dropdown border.")),W=f("button.foreground",{dark:n.Il.white,light:n.Il.white,hcDark:n.Il.white,hcLight:n.Il.white},a.NC("buttonForeground","Button foreground color.")),U=f("button.separator",{dark:pi(W,.4),light:pi(W,.4),hcDark:pi(W,.4),hcLight:pi(W,.4)},a.NC("buttonSeparator","Button separator color.")),$=f("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},a.NC("buttonBackground","Button background color.")),z=f("button.hoverBackground",{dark:gi($,.2),light:hi($,.2),hcDark:$,hcLight:$},a.NC("buttonHoverBackground","Button background color when hovering.")),G=f("button.border",{dark:k,light:k,hcDark:k,hcLight:k},a.NC("buttonBorder","Button border color.")),Q=f("button.secondaryForeground",{dark:n.Il.white,light:n.Il.white,hcDark:n.Il.white,hcLight:m},a.NC("buttonSecondaryForeground","Secondary button foreground color.")),J=f("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:n.Il.white},a.NC("buttonSecondaryBackground","Secondary button background color.")),Z=f("button.secondaryHoverBackground",{dark:gi(J,.2),light:hi(J,.2),hcDark:null,hcLight:null},a.NC("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),Y=f("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hcDark:n.Il.black,hcLight:"#0F4A85"},a.NC("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),X=f("badge.foreground",{dark:n.Il.white,light:"#333",hcDark:n.Il.white,hcLight:n.Il.white},a.NC("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),ee=f("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hcDark:null,hcLight:null},a.NC("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),te=f("scrollbarSlider.background",{dark:n.Il.fromHex("#797979").transparent(.4),light:n.Il.fromHex("#646464").transparent(.4),hcDark:pi(k,.6),hcLight:pi(k,.4)},a.NC("scrollbarSliderBackground","Scrollbar slider background color.")),ie=f("scrollbarSlider.hoverBackground",{dark:n.Il.fromHex("#646464").transparent(.7),light:n.Il.fromHex("#646464").transparent(.7),hcDark:pi(k,.8),hcLight:pi(k,.8)},a.NC("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),oe=f("scrollbarSlider.activeBackground",{dark:n.Il.fromHex("#BFBFBF").transparent(.4),light:n.Il.fromHex("#000000").transparent(.6),hcDark:k,hcLight:k},a.NC("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),ne=f("progressBar.background",{dark:n.Il.fromHex("#0E70C0"),light:n.Il.fromHex("#0E70C0"),hcDark:k,hcLight:k},a.NC("progressBarBackground","Background color of the progress bar that can show for long running operations.")),re=(f("editorError.background",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),f("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hcDark:"#F48771",hcLight:"#B5200D"},a.NC("editorError.foreground","Foreground color of error squigglies in the editor."))),se=f("editorError.border",{dark:null,light:null,hcDark:n.Il.fromHex("#E47777").transparent(.8),hcLight:"#B5200D"},a.NC("errorBorder","Border color of error boxes in the editor.")),ae=(f("editorWarning.background",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),f("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hcDark:"#FFD370",hcLight:"#895503"},a.NC("editorWarning.foreground","Foreground color of warning squigglies in the editor."))),le=f("editorWarning.border",{dark:null,light:null,hcDark:n.Il.fromHex("#FFCC00").transparent(.8),hcLight:n.Il.fromHex("#FFCC00").transparent(.8)},a.NC("warningBorder","Border color of warning boxes in the editor.")),ce=(f("editorInfo.background",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),f("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hcDark:"#3794FF",hcLight:"#1a85ff"},a.NC("editorInfo.foreground","Foreground color of info squigglies in the editor."))),de=f("editorInfo.border",{dark:null,light:null,hcDark:n.Il.fromHex("#3794FF").transparent(.8),hcLight:"#292929"},a.NC("infoBorder","Border color of info boxes in the editor.")),ue=f("editorHint.foreground",{dark:n.Il.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hcDark:null,hcLight:null},a.NC("editorHint.foreground","Foreground color of hint squigglies in the editor.")),he=(f("editorHint.border",{dark:null,light:null,hcDark:n.Il.fromHex("#eeeeee").transparent(.8),hcLight:"#292929"},a.NC("hintBorder","Border color of hint boxes in the editor.")),f("sash.hoverBorder",{dark:y,light:y,hcDark:y,hcLight:y},a.NC("sashActiveBorder","Border color of active sashes.")),f("editor.background",{light:"#ffffff",dark:"#1E1E1E",hcDark:n.Il.black,hcLight:n.Il.white},a.NC("editorBackground","Editor background color."))),ge=f("editor.foreground",{light:"#333333",dark:"#BBBBBB",hcDark:n.Il.white,hcLight:m},a.NC("editorForeground","Editor default foreground color.")),pe=(f("editorStickyScroll.background",{light:he,dark:he,hcDark:he,hcLight:he},a.NC("editorStickyScrollBackground","Sticky scroll background color for the editor")),f("editorStickyScrollHover.background",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:null,hcLight:n.Il.fromHex("#0F4A85").transparent(.1)},a.NC("editorStickyScrollHoverBackground","Sticky scroll on hover background color for the editor")),f("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hcDark:"#0C141F",hcLight:n.Il.white},a.NC("editorWidgetBackground","Background color of editor widgets, such as find/replace."))),fe=f("editorWidget.foreground",{dark:m,light:m,hcDark:m,hcLight:m},a.NC("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),me=f("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hcDark:k,hcLight:k},a.NC("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.")),be=f("editorWidget.resizeBorder",{light:null,dark:null,hcDark:null,hcLight:null},a.NC("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.")),ve=f("quickInput.background",{dark:pe,light:pe,hcDark:pe,hcLight:pe},a.NC("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),ye=f("quickInput.foreground",{dark:fe,light:fe,hcDark:fe,hcLight:fe},a.NC("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),ke=f("quickInputTitle.background",{dark:new n.Il(new n.VS(255,255,255,.105)),light:new n.Il(new n.VS(0,0,0,.06)),hcDark:"#000000",hcLight:n.Il.white},a.NC("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),Ce=f("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hcDark:n.Il.white,hcLight:"#0F4A85"},a.NC("pickerGroupForeground","Quick picker color for grouping labels.")),we=f("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hcDark:n.Il.white,hcLight:"#0F4A85"},a.NC("pickerGroupBorder","Quick picker color for grouping borders.")),_e=f("keybindingLabel.background",{dark:new n.Il(new n.VS(128,128,128,.17)),light:new n.Il(new n.VS(221,221,221,.4)),hcDark:n.Il.transparent,hcLight:n.Il.transparent},a.NC("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),Se=f("keybindingLabel.foreground",{dark:n.Il.fromHex("#CCCCCC"),light:n.Il.fromHex("#555555"),hcDark:n.Il.white,hcLight:m},a.NC("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),xe=f("keybindingLabel.border",{dark:new n.Il(new n.VS(51,51,51,.6)),light:new n.Il(new n.VS(204,204,204,.4)),hcDark:new n.Il(new n.VS(111,195,223)),hcLight:k},a.NC("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),Ie=f("keybindingLabel.bottomBorder",{dark:new n.Il(new n.VS(68,68,68,.6)),light:new n.Il(new n.VS(187,187,187,.4)),hcDark:new n.Il(new n.VS(111,195,223)),hcLight:m},a.NC("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),De=f("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hcDark:"#f3f518",hcLight:"#0F4A85"},a.NC("editorSelectionBackground","Color of the editor selection.")),Te=f("editor.selectionForeground",{light:null,dark:null,hcDark:"#000000",hcLight:n.Il.white},a.NC("editorSelectionForeground","Color of the selected text for high contrast.")),Ee=f("editor.inactiveSelectionBackground",{light:pi(De,.5),dark:pi(De,.5),hcDark:pi(De,.7),hcLight:pi(De,.5)},a.NC("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),Le=f("editor.selectionHighlightBackground",{light:mi(De,he,.3,.6),dark:mi(De,he,.3,.6),hcDark:null,hcLight:null},a.NC("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),Ae=(f("editor.selectionHighlightBorder",{light:null,dark:null,hcDark:C,hcLight:C},a.NC("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),f("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hcDark:null,hcLight:null},a.NC("editorFindMatch","Color of the current search match."))),Be=f("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hcDark:null,hcLight:null},a.NC("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),Ne=f("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hcDark:null,hcLight:null},a.NC("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Oe=f("editor.findMatchBorder",{light:null,dark:null,hcDark:C,hcLight:C},a.NC("editorFindMatchBorder","Border color of the current search match.")),Fe=f("editor.findMatchHighlightBorder",{light:null,dark:null,hcDark:C,hcLight:C},a.NC("findMatchHighlightBorder","Border color of the other search matches.")),Me=f("editor.findRangeHighlightBorder",{dark:null,light:null,hcDark:pi(C,.4),hcLight:pi(C,.4)},a.NC("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Re=(f("searchEditor.findMatchBackground",{light:pi(Be,.66),dark:pi(Be,.66),hcDark:Be,hcLight:Be},a.NC("searchEditor.queryMatch","Color of the Search Editor query matches.")),f("searchEditor.findMatchBorder",{light:pi(Fe,.66),dark:pi(Fe,.66),hcDark:Fe,hcLight:Fe},a.NC("searchEditor.editorFindMatchBorder","Border color of the Search Editor query matches.")),f("search.resultsInfoForeground",{light:m,dark:pi(m,.65),hcDark:m,hcLight:m},a.NC("search.resultsInfoForeground","Color of the text in the search viewlet's completion message.")),f("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hcDark:"#ADD6FF26",hcLight:null},a.NC("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),f("editorHoverWidget.background",{light:pe,dark:pe,hcDark:pe,hcLight:pe},a.NC("hoverBackground","Background color of the editor hover."))),Ke=(f("editorHoverWidget.foreground",{light:fe,dark:fe,hcDark:fe,hcLight:fe},a.NC("hoverForeground","Foreground color of the editor hover.")),f("editorHoverWidget.border",{light:me,dark:me,hcDark:me,hcLight:me},a.NC("hoverBorder","Border color of the editor hover."))),Pe=(f("editorHoverWidget.statusBarBackground",{dark:gi(Re,.2),light:hi(Re,.05),hcDark:pe,hcLight:pe},a.NC("statusBarBackground","Background color of the editor hover status bar.")),f("editorLink.activeForeground",{dark:"#4E94CE",light:n.Il.blue,hcDark:n.Il.cyan,hcLight:"#292929"},a.NC("activeLinkForeground","Color of active links."))),qe=f("editorInlayHint.foreground",{dark:X,light:X,hcDark:n.Il.black,hcLight:X},a.NC("editorInlayHintForeground","Foreground color of inline hints")),Ve=f("editorInlayHint.background",{dark:pi(Y,.8),light:pi(Y,.6),hcDark:"#f38518",hcLight:Y},a.NC("editorInlayHintBackground","Background color of inline hints")),He=f("editorInlayHint.typeForeground",{dark:qe,light:qe,hcDark:qe,hcLight:qe},a.NC("editorInlayHintForegroundTypes","Foreground color of inline hints for types")),je=f("editorInlayHint.typeBackground",{dark:Ve,light:Ve,hcDark:Ve,hcLight:Ve},a.NC("editorInlayHintBackgroundTypes","Background color of inline hints for types")),We=f("editorInlayHint.parameterForeground",{dark:qe,light:qe,hcDark:qe,hcLight:qe},a.NC("editorInlayHintForegroundParameter","Foreground color of inline hints for parameters")),Ue=f("editorInlayHint.parameterBackground",{dark:Ve,light:Ve,hcDark:Ve,hcLight:Ve},a.NC("editorInlayHintBackgroundParameter","Background color of inline hints for parameters")),$e=(f("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hcDark:"#FFCC00",hcLight:"#007ACC"},a.NC("editorLightBulbForeground","The color used for the lightbulb actions icon.")),f("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hcDark:"#75BEFF",hcLight:"#007ACC"},a.NC("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),new n.Il(new n.VS(155,185,85,.2))),ze=new n.Il(new n.VS(255,0,0,.2)),Ge=f("diffEditor.insertedTextBackground",{dark:"#9ccc2c33",light:"#9ccc2c40",hcDark:null,hcLight:null},a.NC("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Qe=f("diffEditor.removedTextBackground",{dark:"#ff000033",light:"#ff000033",hcDark:null,hcLight:null},a.NC("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Je=(f("diffEditor.insertedLineBackground",{dark:$e,light:$e,hcDark:null,hcLight:null},a.NC("diffEditorInsertedLines","Background color for lines that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),f("diffEditor.removedLineBackground",{dark:ze,light:ze,hcDark:null,hcLight:null},a.NC("diffEditorRemovedLines","Background color for lines that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),f("diffEditorGutter.insertedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("diffEditorInsertedLineGutter","Background color for the margin where lines got inserted.")),f("diffEditorGutter.removedLineBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("diffEditorRemovedLineGutter","Background color for the margin where lines got removed.")),f("diffEditorOverview.insertedForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("diffEditorOverviewInserted","Diff overview ruler foreground for inserted content."))),Ze=f("diffEditorOverview.removedForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("diffEditorOverviewRemoved","Diff overview ruler foreground for removed content.")),Ye=(f("diffEditor.insertedTextBorder",{dark:null,light:null,hcDark:"#33ff2eff",hcLight:"#374E06"},a.NC("diffEditorInsertedOutline","Outline color for the text that got inserted.")),f("diffEditor.removedTextBorder",{dark:null,light:null,hcDark:"#FF008F",hcLight:"#AD0707"},a.NC("diffEditorRemovedOutline","Outline color for text that got removed.")),f("diffEditor.border",{dark:null,light:null,hcDark:k,hcLight:k},a.NC("diffEditorBorder","Border color between the two text editors.")),f("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hcDark:null,hcLight:null},a.NC("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views."))),Xe=f("list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("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.")),et=f("list.focusForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("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.")),tt=f("list.focusOutline",{dark:y,light:y,hcDark:C,hcLight:C},a.NC("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),it=f("list.focusAndSelectionOutline",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listFocusAndSelectionOutline","List/Tree outline color for the focused item when the list/tree is active and selected. An active list/tree has keyboard focus, an inactive does not.")),ot=f("list.activeSelectionBackground",{dark:"#04395E",light:"#0060C0",hcDark:null,hcLight:n.Il.fromHex("#0F4A85").transparent(.1)},a.NC("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.")),nt=f("list.activeSelectionForeground",{dark:n.Il.white,light:n.Il.white,hcDark:null,hcLight:null},a.NC("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.")),rt=f("list.activeSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),st=f("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hcDark:null,hcLight:n.Il.fromHex("#0F4A85").transparent(.1)},a.NC("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.")),at=f("list.inactiveSelectionForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("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.")),lt=f("list.inactiveSelectionIconForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),ct=f("list.inactiveFocusBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("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.")),dt=f("list.inactiveFocusOutline",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),ut=f("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hcDark:n.Il.white.transparent(.1),hcLight:n.Il.fromHex("#0F4A85").transparent(.1)},a.NC("listHoverBackground","List/Tree background when hovering over items using the mouse.")),ht=f("list.hoverForeground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),gt=f("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hcDark:null,hcLight:null},a.NC("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),pt=f("list.highlightForeground",{dark:"#2AAAFF",light:"#0066BF",hcDark:y,hcLight:y},a.NC("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),ft=f("list.focusHighlightForeground",{dark:pt,light:(mt=ot,bt=pt,vt="#BBE7FF",{op:6,if:mt,then:bt,else:vt}),hcDark:pt,hcLight:pt},a.NC("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree."));var mt,bt,vt;f("list.invalidItemForeground",{dark:"#B89500",light:"#B89500",hcDark:"#B89500",hcLight:"#B5200D"},a.NC("invalidItemForeground","List/Tree foreground color for invalid items, for example an unresolved root in explorer.")),f("list.errorForeground",{dark:"#F88070",light:"#B01011",hcDark:null,hcLight:null},a.NC("listErrorForeground","Foreground color of list items containing errors.")),f("list.warningForeground",{dark:"#CCA700",light:"#855F00",hcDark:null,hcLight:null},a.NC("listWarningForeground","Foreground color of list items containing warnings."));const yt=f("listFilterWidget.background",{light:hi(pe,0),dark:gi(pe,0),hcDark:pe,hcLight:pe},a.NC("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),kt=f("listFilterWidget.outline",{dark:n.Il.transparent,light:n.Il.transparent,hcDark:"#f38518",hcLight:"#007ACC"},a.NC("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),Ct=f("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hcDark:k,hcLight:k},a.NC("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),wt=f("listFilterWidget.shadow",{dark:_,light:_,hcDark:_,hcLight:_},a.NC("listFilterWidgetShadow","Shadown color of the type filter widget in lists and trees.")),_t=(f("list.filterMatchBackground",{dark:Be,light:Be,hcDark:null,hcLight:null},a.NC("listFilterMatchHighlight","Background color of the filtered match.")),f("list.filterMatchBorder",{dark:Fe,light:Fe,hcDark:k,hcLight:C},a.NC("listFilterMatchHighlightBorder","Border color of the filtered match.")),f("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hcDark:"#a9a9a9",hcLight:"#a5a5a5"},a.NC("treeIndentGuidesStroke","Tree stroke color for the indentation guides."))),St=f("tree.inactiveIndentGuidesStroke",{dark:pi(_t,.4),light:pi(_t,.4),hcDark:pi(_t,.4),hcLight:pi(_t,.4)},a.NC("treeInactiveIndentGuidesStroke","Tree stroke color for the indentation guides that are not active.")),xt=f("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hcDark:null,hcLight:null},a.NC("tableColumnsBorder","Table border color between columns.")),It=f("tree.tableOddRowsBackground",{dark:pi(m,.04),light:pi(m,.04),hcDark:null,hcLight:null},a.NC("tableOddRowsBackgroundColor","Background color for odd table rows.")),Dt=(f("list.deemphasizedForeground",{dark:"#8C8C8C",light:"#8E8E90",hcDark:"#A7A8A9",hcLight:"#666666"},a.NC("listDeemphasizedForeground","List/Tree foreground color for items that are deemphasized. ")),f("checkbox.background",{dark:q,light:q,hcDark:q,hcLight:q},a.NC("checkbox.background","Background color of checkbox widget."))),Tt=(f("checkbox.selectBackground",{dark:pe,light:pe,hcDark:pe,hcLight:pe},a.NC("checkbox.select.background","Background color of checkbox widget when the element it's in is selected.")),f("checkbox.foreground",{dark:H,light:H,hcDark:H,hcLight:H},a.NC("checkbox.foreground","Foreground color of checkbox widget."))),Et=f("checkbox.border",{dark:j,light:j,hcDark:j,hcLight:j},a.NC("checkbox.border","Border color of checkbox widget.")),Lt=(f("checkbox.selectBorder",{dark:pe,light:pe,hcDark:pe,hcLight:pe},a.NC("checkbox.select.border","Border color of checkbox widget when the element it's in is selected.")),f("quickInput.list.focusBackground",{dark:null,light:null,hcDark:null,hcLight:null},"",void 0,a.NC("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead"))),At=f("quickInputList.focusForeground",{dark:nt,light:nt,hcDark:nt,hcLight:nt},a.NC("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),Bt=f("quickInputList.focusIconForeground",{dark:rt,light:rt,hcDark:rt,hcLight:rt},a.NC("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),Nt=f("quickInputList.focusBackground",{dark:fi(Lt,ot),light:fi(Lt,ot),hcDark:null,hcLight:null},a.NC("quickInput.listFocusBackground","Quick picker background color for the focused item.")),Ot=f("menu.border",{dark:null,light:null,hcDark:k,hcLight:k},a.NC("menuBorder","Border color of menus.")),Ft=f("menu.foreground",{dark:H,light:H,hcDark:H,hcLight:H},a.NC("menuForeground","Foreground color of menu items.")),Mt=f("menu.background",{dark:q,light:q,hcDark:q,hcLight:q},a.NC("menuBackground","Background color of menu items.")),Rt=f("menu.selectionForeground",{dark:nt,light:nt,hcDark:nt,hcLight:nt},a.NC("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Kt=f("menu.selectionBackground",{dark:ot,light:ot,hcDark:ot,hcLight:ot},a.NC("menuSelectionBackground","Background color of the selected menu item in menus.")),Pt=f("menu.selectionBorder",{dark:null,light:null,hcDark:C,hcLight:C},a.NC("menuSelectionBorder","Border color of the selected menu item in menus.")),qt=f("menu.separatorBackground",{dark:"#606060",light:"#D4D4D4",hcDark:k,hcLight:k},a.NC("menuSeparatorBackground","Color of a separator menu item in menus.")),Vt=f("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hcDark:null,hcLight:null},a.NC("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse")),Ht=(f("toolbar.hoverOutline",{dark:null,light:null,hcDark:C,hcLight:C},a.NC("toolbarHoverOutline","Toolbar outline when hovering over actions using the mouse")),f("toolbar.activeBackground",{dark:gi(Vt,.1),light:hi(Vt,.1),hcDark:null,hcLight:null},a.NC("toolbarActiveBackground","Toolbar background when holding the mouse over actions")),f("editor.snippetTabstopHighlightBackground",{dark:new n.Il(new n.VS(124,124,124,.3)),light:new n.Il(new n.VS(10,50,100,.2)),hcDark:new n.Il(new n.VS(124,124,124,.3)),hcLight:new n.Il(new n.VS(10,50,100,.2))},a.NC("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),f("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),f("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),f("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new n.Il(new n.VS(10,50,100,.5)),hcDark:"#525252",hcLight:"#292929"},a.NC("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),f("breadcrumb.foreground",{light:pi(m,.8),dark:pi(m,.8),hcDark:pi(m,.8),hcLight:pi(m,.8)},a.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items."))),jt=f("breadcrumb.background",{light:he,dark:he,hcDark:he,hcLight:he},a.NC("breadcrumbsBackground","Background color of breadcrumb items.")),Wt=f("breadcrumb.focusForeground",{light:hi(m,.2),dark:gi(m,.1),hcDark:gi(m,.1),hcLight:gi(m,.1)},a.NC("breadcrumbsFocusForeground","Color of focused breadcrumb items.")),Ut=f("breadcrumb.activeSelectionForeground",{light:hi(m,.2),dark:gi(m,.1),hcDark:gi(m,.1),hcLight:gi(m,.1)},a.NC("breadcrumbsSelectedForeground","Color of selected breadcrumb items.")),$t=(f("breadcrumbPicker.background",{light:pe,dark:pe,hcDark:pe,hcLight:pe},a.NC("breadcrumbsSelectedBackground","Background color of breadcrumb item picker.")),n.Il.fromHex("#40C8AE").transparent(.5)),zt=n.Il.fromHex("#40A6FF").transparent(.5),Gt=n.Il.fromHex("#606060").transparent(.4),Qt=.4,Jt=f("merge.currentHeaderBackground",{dark:$t,light:$t,hcDark:null,hcLight:null},a.NC("mergeCurrentHeaderBackground","Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),Zt=(f("merge.currentContentBackground",{dark:pi(Jt,Qt),light:pi(Jt,Qt),hcDark:pi(Jt,Qt),hcLight:pi(Jt,Qt)},a.NC("mergeCurrentContentBackground","Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),f("merge.incomingHeaderBackground",{dark:zt,light:zt,hcDark:null,hcLight:null},a.NC("mergeIncomingHeaderBackground","Incoming header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0)),Yt=(f("merge.incomingContentBackground",{dark:pi(Zt,Qt),light:pi(Zt,Qt),hcDark:pi(Zt,Qt),hcLight:pi(Zt,Qt)},a.NC("mergeIncomingContentBackground","Incoming content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),f("merge.commonHeaderBackground",{dark:Gt,light:Gt,hcDark:null,hcLight:null},a.NC("mergeCommonHeaderBackground","Common ancestor header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0)),Xt=(f("merge.commonContentBackground",{dark:pi(Yt,Qt),light:pi(Yt,Qt),hcDark:pi(Yt,Qt),hcLight:pi(Yt,Qt)},a.NC("mergeCommonContentBackground","Common ancestor content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."),!0),f("merge.border",{dark:null,light:null,hcDark:"#C3DF6F",hcLight:"#007ACC"},a.NC("mergeBorder","Border color on headers and the splitter in inline merge-conflicts."))),ei=(f("editorOverviewRuler.currentContentForeground",{dark:pi(Jt,1),light:pi(Jt,1),hcDark:Xt,hcLight:Xt},a.NC("overviewRulerCurrentContentForeground","Current overview ruler foreground for inline merge-conflicts.")),f("editorOverviewRuler.incomingContentForeground",{dark:pi(Zt,1),light:pi(Zt,1),hcDark:Xt,hcLight:Xt},a.NC("overviewRulerIncomingContentForeground","Incoming overview ruler foreground for inline merge-conflicts.")),f("editorOverviewRuler.commonContentForeground",{dark:pi(Yt,1),light:pi(Yt,1),hcDark:Xt,hcLight:Xt},a.NC("overviewRulerCommonContentForeground","Common ancestor overview ruler foreground for inline merge-conflicts.")),f("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hcDark:"#AB5A00",hcLight:""},a.NC("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0)),ti=f("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hcDark:"#A0A0A0CC",hcLight:"#A0A0A0CC"},a.NC("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),ii=f("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hcDark:"#AB5A00",hcLight:"#0F4A85"},a.NC("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),oi=f("minimap.selectionOccurrenceHighlight",{light:"#c9c9c9",dark:"#676767",hcDark:"#ffffff",hcLight:"#0F4A85"},a.NC("minimapSelectionOccurrenceHighlight","Minimap marker color for repeating editor selections."),!0),ni=f("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hcDark:"#ffffff",hcLight:"#0F4A85"},a.NC("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),ri=f("minimap.errorHighlight",{dark:new n.Il(new n.VS(255,18,18,.7)),light:new n.Il(new n.VS(255,18,18,.7)),hcDark:new n.Il(new n.VS(255,50,50,1)),hcLight:"#B5200D"},a.NC("minimapError","Minimap marker color for errors.")),si=f("minimap.warningHighlight",{dark:ae,light:ae,hcDark:le,hcLight:le},a.NC("overviewRuleWarning","Minimap marker color for warnings.")),ai=f("minimap.background",{dark:null,light:null,hcDark:null,hcLight:null},a.NC("minimapBackground","Minimap background color.")),li=f("minimap.foregroundOpacity",{dark:n.Il.fromHex("#000f"),light:n.Il.fromHex("#000f"),hcDark:n.Il.fromHex("#000f"),hcLight:n.Il.fromHex("#000f")},a.NC("minimapForegroundOpacity",'Opacity of foreground elements rendered in the minimap. For example, "#000000c0" will render the elements with 75% opacity.')),ci=(f("minimapSlider.background",{light:pi(te,.5),dark:pi(te,.5),hcDark:pi(te,.5),hcLight:pi(te,.5)},a.NC("minimapSliderBackground","Minimap slider background color.")),f("minimapSlider.hoverBackground",{light:pi(ie,.5),dark:pi(ie,.5),hcDark:pi(ie,.5),hcLight:pi(ie,.5)},a.NC("minimapSliderHoverBackground","Minimap slider background color when hovering.")),f("minimapSlider.activeBackground",{light:pi(oe,.5),dark:pi(oe,.5),hcDark:pi(oe,.5),hcLight:pi(oe,.5)},a.NC("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),f("problemsErrorIcon.foreground",{dark:re,light:re,hcDark:re,hcLight:re},a.NC("problemsErrorIconForeground","The color used for the problems error icon."))),di=f("problemsWarningIcon.foreground",{dark:ae,light:ae,hcDark:ae,hcLight:ae},a.NC("problemsWarningIconForeground","The color used for the problems warning icon.")),ui=f("problemsInfoIcon.foreground",{dark:ce,light:ce,hcDark:ce,hcLight:ce},a.NC("problemsInfoIconForeground","The color used for the problems info icon."));f("charts.foreground",{dark:m,light:m,hcDark:m,hcLight:m},a.NC("chartsForeground","The foreground color used in charts.")),f("charts.lines",{dark:pi(m,.5),light:pi(m,.5),hcDark:pi(m,.5),hcLight:pi(m,.5)},a.NC("chartsLines","The color used for horizontal lines in charts.")),f("charts.red",{dark:re,light:re,hcDark:re,hcLight:re},a.NC("chartsRed","The red color used in chart visualizations.")),f("charts.blue",{dark:ce,light:ce,hcDark:ce,hcLight:ce},a.NC("chartsBlue","The blue color used in chart visualizations.")),f("charts.yellow",{dark:ae,light:ae,hcDark:ae,hcLight:ae},a.NC("chartsYellow","The yellow color used in chart visualizations.")),f("charts.orange",{dark:ii,light:ii,hcDark:ii,hcLight:ii},a.NC("chartsOrange","The orange color used in chart visualizations.")),f("charts.green",{dark:"#89D185",light:"#388A34",hcDark:"#89D185",hcLight:"#374e06"},a.NC("chartsGreen","The green color used in chart visualizations.")),f("charts.purple",{dark:"#B180D7",light:"#652D90",hcDark:"#B180D7",hcLight:"#652D90"},a.NC("chartsPurple","The purple color used in chart visualizations."));function hi(e,t){return{op:0,value:e,factor:t}}function gi(e,t){return{op:1,value:e,factor:t}}function pi(e,t){return{op:2,value:e,factor:t}}function fi(...e){return{op:4,values:e}}function mi(e,t,i,o){return{op:5,value:e,background:t,factor:i,transparency:o}}function bi(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?n.Il.fromHex(e):t.getColor(e):e instanceof n.Il?e:"object"==typeof e?function(e,t){var i,o,r,a;switch(e.op){case 0:return null===(i=bi(e.value,t))||void 0===i?void 0:i.darken(e.factor);case 1:return null===(o=bi(e.value,t))||void 0===o?void 0:o.lighten(e.factor);case 2:return null===(r=bi(e.value,t))||void 0===r?void 0:r.transparent(e.factor);case 3:{const i=bi(e.background,t);return i?null===(a=bi(e.value,t))||void 0===a?void 0:a.makeOpaque(i):bi(e.value,t)}case 4:for(const i of e.values){const e=bi(i,t);if(e)return e}return;case 6:return bi(t.defines(e.if)?e.then:e.else,t);case 5:{const i=bi(e.value,t);if(!i)return;const o=bi(e.background,t);return o?i.isDarkerThan(o)?n.Il.getLighterColor(i,o,e.factor).transparent(e.transparency):n.Il.getDarkerColor(i,o,e.factor).transparent(e.transparency):i.transparent(e.factor*e.transparency)}default:throw(0,s.vE)(e)}}(e,t):void 0}const vi="vscode://schemas/workbench-colors",yi=c.B.as(l.I.JSONContribution);yi.registerSchema(vi,p.getColorSchema());const ki=new o.pY((()=>yi.notifySchemaChanged(vi)),200);p.onDidChangeSchema((()=>{ki.isScheduled()||ki.schedule()}))},59554:(e,t,i)=>{i.d(t,{Ks:()=>m,q5:()=>f,s_:()=>k});var o=i(15393),n=i(73046),r=i(25670),s=i(4669),a=i(98401),l=i(70666),c=i(63580),d=i(81294),u=i(89872);var h,g;!function(e){e.getDefinition=function(e,t){let i=e.defaults;for(;r.k.isThemeIcon(i);){const e=p.getIcon(i.id);if(!e)return;i=e.defaults}return i}}(h||(h={})),function(e){e.toJSONObject=function(e){return{weight:e.weight,style:e.style,src:e.src.map((e=>({format:e.format,location:e.location.toString()})))}},e.fromJSONObject=function(e){const t=e=>(0,a.HD)(e)?e:void 0;if(e&&Array.isArray(e.src)&&e.src.every((e=>(0,a.HD)(e.format)&&(0,a.HD)(e.location))))return{weight:t(e.weight),style:t(e.style),src:e.src.map((e=>({format:e.format,location:l.o.parse(e.location)})))}}}(g||(g={}));const p=new class{constructor(){this._onDidChange=new s.Q5,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:(0,c.NC)("iconDefinition.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:(0,c.NC)("iconDefinition.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${r.k.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,o){const n=this.iconsById[e];if(n){if(i&&!n.description){n.description=i,this.iconSchema.properties[e].markdownDescription=`${i} $(${e})`;const t=this.iconReferenceSchema.enum.indexOf(e);-1!==t&&(this.iconReferenceSchema.enumDescriptions[t]=i),this._onDidChange.fire()}return n}const r={id:e,description:i,defaults:t,deprecationMessage:o};this.iconsById[e]=r;const s={$ref:"#/definitions/icons"};return o&&(s.deprecationMessage=o),i&&(s.markdownDescription=`${i}: $(${e})`),this.iconSchema.properties[e]=s,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map((e=>this.iconsById[e]))}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}toString(){const e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;r.k.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return`codicon codicon-${e?e.id:""}`},i=[];i.push("| preview | identifier | default codicon ID | description"),i.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const o=Object.keys(this.iconsById).map((e=>this.iconsById[e]));for(const n of o.filter((e=>!!e.description)).sort(e))i.push(`||${n.id}|${r.k.isThemeIcon(n.defaults)?n.defaults.id:n.id}|${n.description||""}|`);i.push("| preview | identifier "),i.push("| ----------- | --------------------------------- |");for(const n of o.filter((e=>!r.k.isThemeIcon(e.defaults))).sort(e))i.push(`||${n.id}|`);return i.join("\n")}};function f(e,t,i,o){return p.registerIcon(e,t,i,o)}function m(){return p}u.B.add("base.contributions.icons",p),function(){const e=(0,n.u)();for(const t in e){const i="\\"+e[t].toString(16);p.registerIcon(t,{fontCharacter:i})}}();const b="vscode://schemas/icons",v=u.B.as(d.I.JSONContribution);v.registerSchema(b,p.getIconSchema());const y=new o.pY((()=>v.notifySchemaChanged(b)),200);p.onDidChange((()=>{y.isScheduled()||y.schedule()}));const k=f("widget-close",n.l.close,(0,c.NC)("widgetClose","Icon for the close action in widgets."));f("goto-previous-location",n.l.arrowUp,(0,c.NC)("previousChangeIcon","Icon for goto previous editor location.")),f("goto-next-location",n.l.arrowDown,(0,c.NC)("nextChangeIcon","Icon for goto next editor location.")),r.k.modify(n.l.sync,"spin"),r.k.modify(n.l.loading,"spin")},92321:(e,t,i)=>{var o;function n(e){return e===o.HIGH_CONTRAST_DARK||e===o.HIGH_CONTRAST_LIGHT}function r(e){return e===o.DARK||e===o.HIGH_CONTRAST_DARK}i.d(t,{_T:()=>r,c3:()=>n,eL:()=>o}),function(e){e.DARK="dark",e.LIGHT="light",e.HIGH_CONTRAST_DARK="hcDark",e.HIGH_CONTRAST_LIGHT="hcLight"}(o||(o={}))},97781:(e,t,i)=>{i.d(t,{EN:()=>c,IP:()=>u,Ic:()=>g,XE:()=>l,bB:()=>p,m6:()=>d});var o=i(4669),n=i(5976),r=i(72065),s=i(89872),a=i(92321);const l=(0,r.yh)("themeService");function c(e){return{id:e}}function d(e){switch(e){case a.eL.DARK:return"vs-dark";case a.eL.HIGH_CONTRAST_DARK:return"hc-black";case a.eL.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}const u={ThemingContribution:"base.contributions.theming"};const h=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new o.Q5}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,n.OF)((()=>{const t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)}))}getThemingParticipants(){return this.themingParticipants}};function g(e){return h.onColorThemeChange(e)}s.B.add(u.ThemingContribution,h);class p extends n.JT{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(){}}},64862:(e,t,i)=>{i.d(t,{Xt:()=>r,YO:()=>n,gJ:()=>s,tJ:()=>o});const o=(0,i(72065).yh)("undoRedoService");class n{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},14585:(e,t,i)=>{var o=i(17301),n=i(5976),r=i(66663),s=i(14603),a=i(63580),l=i(28820),c=i(65026),d=i(59422),u=i(64862),h=function(e,t,i,o){var n,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},g=function(e,t){return function(i,o){t(i,o,e)}},p=function(e,t,i,o){return new(i||(i=Promise))((function(n,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(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(s,a)}l((o=o.apply(e,t||[])).next())}))};const f=!1;function m(e){return e.scheme===r.lg.file?e.fsPath:e.path}let b=0;class v{constructor(e,t,i,o,n,r,s){this.id=++b,this.type=0,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabel=t,this.strResource=i,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=o,this.groupOrder=n,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 y{constructor(e,t){this.resourceLabel=e,this.reason=t}}class k{constructor(){this.elements=new Map}createMessage(){const e=[],t=[];for(const[,i]of this.elements){(0===i.reason?e:t).push(i.resourceLabel)}const i=[];return e.length>0&&i.push(a.NC({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&&i.push(a.NC({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",t.join(", "))),i.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 C{constructor(e,t,i,o,n,r,s){this.id=++b,this.type=1,this.actual=e,this.label=e.label,this.confirmBeforeUndo=e.confirmBeforeUndo||!1,this.resourceLabels=t,this.strResources=i,this.groupId=o,this.groupOrder=n,this.sourceId=r,this.sourceOrder=s,this.removedResources=null,this.invalidatedResources=null}canSplit(){return"function"==typeof this.actual.split}removeResource(e,t,i){this.removedResources||(this.removedResources=new k),this.removedResources.has(t)||this.removedResources.set(t,new y(e,i))}setValid(e,t,i){i?this.invalidatedResources&&(this.invalidatedResources.delete(t),0===this.invalidatedResources.size&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new k),this.invalidatedResources.has(t)||this.invalidatedResources.set(t,new y(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(){const e=[];e.push(`* ${this.strResource}:`);for(let t=0;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 i of this._past)t(i.actual)&&this._setElementValidFlag(i,e);for(const i of this._future)t(i.actual)&&this._setElementValidFlag(i,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,i=this._past.length;e=0;e--)t.push(this._future[e].id);return new u.YO(e,t)}restoreSnapshot(e){const t=e.elements.length;let i=!0,o=0,n=-1;for(let r=0,s=this._past.length;r=t||s.id!==e.elements[o])&&(i=!1,n=0),i||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}let r=-1;for(let n=this._future.length-1;n>=0;n--,o++){const s=this._future[n];i&&(o>=t||s.id!==e.elements[o])&&(i=!1,r=n),i||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}-1!==n&&(this._past=this._past.slice(0,n)),-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 i=this._past.length-1;i>=0;i--)if(this._past[i]===e){t.has(this.strResource)?this._past[i]=t.get(this.strResource):this._past.splice(i,1);break}this.versionId++}splitFutureWorkspaceElement(e,t){for(let i=this._future.length-1;i>=0;i--)if(this._future[i]===e){t.has(this.strResource)?this._future[i]=t.get(this.strResource):this._future.splice(i,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 _{constructor(e){this.editStacks=e,this._versionIds=[];for(let e=0,t=this.editStacks.length;et.sourceOrder)&&(t=r,i=o))}return[t,i]}canUndo(e){if(e instanceof u.gJ){const[,t]=this._findClosestUndoElementWithSource(e.id);return!!t}const t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){return this._editStacks.get(t).hasPastElements()}return!1}_onError(e,t){(0,o.dL)(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,i,o,n){const r=this._acquireLocks(i);let s;try{s=t()}catch(t){return r(),o.dispose(),this._onError(t,e)}return s?s.then((()=>(r(),o.dispose(),n())),(t=>(r(),o.dispose(),this._onError(t,e)))):(r(),o.dispose(),n())}_invokeWorkspacePrepare(e){return p(this,void 0,void 0,(function*(){if(void 0===e.actual.prepareUndoRedo)return n.JT.None;const t=e.actual.prepareUndoRedo();return void 0===t?n.JT.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return t(n.JT.None);const i=e.actual.prepareUndoRedo();return i?(0,n.Wf)(i)?t(i):i.then((e=>t(e))):t(n.JT.None)}_getAffectedEditStacks(e){const t=[];for(const i of e.strResources)t.push(this._editStacks.get(i)||S);return new _(t)}_tryToSplitAndUndo(e,t,i,o){if(t.canSplit())return this._splitPastWorkspaceElement(t,i),this._notificationService.warn(o),new I(this._undo(e,0,!0));for(const e of t.strResources)this.removeElements(e);return this._notificationService.warn(o),new I}_checkWorkspaceUndo(e,t,i,o){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,a.NC({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,a.NC({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 n=[];for(const e of i.editStacks)e.getClosestPastElement()!==t&&n.push(e.resourceLabel);if(n.length>0)return this._tryToSplitAndUndo(e,t,null,a.NC({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,n.join(", ")));const r=[];for(const e of i.editStacks)e.locked&&r.push(e.resourceLabel);return r.length>0?this._tryToSplitAndUndo(e,t,null,a.NC({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,r.join(", "))):i.isValid()?null:this._tryToSplitAndUndo(e,t,null,a.NC({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,i){const o=this._getAffectedEditStacks(t),n=this._checkWorkspaceUndo(e,t,o,!1);return n?n.returnValue:this._confirmAndExecuteWorkspaceUndo(e,t,o,i)}_isPartOfUndoGroup(e){if(!e.groupId)return!1;for(const[,t]of this._editStacks){const i=t.getClosestPastElement();if(i){if(i===e){const i=t.getSecondClosestPastElement();if(i&&i.groupId===e.groupId)return!0}if(i.groupId===e.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(e,t,i,o){return p(this,void 0,void 0,(function*(){if(t.canSplit()&&!this._isPartOfUndoGroup(t)){let n;!function(e){e[e.All=0]="All",e[e.This=1]="This",e[e.Cancel=2]="Cancel"}(n||(n={}));const{result:r}=yield this._dialogService.prompt({type:s.Z.Info,message:a.NC("confirmWorkspace","Would you like to undo '{0}' across all files?",t.label),buttons:[{label:a.NC({key:"ok",comment:["{0} denotes a number that is > 1, && denotes a mnemonic"]},"&&Undo in {0} Files",i.editStacks.length),run:()=>n.All},{label:a.NC({key:"nok",comment:["&& denotes a mnemonic"]},"Undo this &&File"),run:()=>n.This}],cancelButton:{run:()=>n.Cancel}});if(r===n.Cancel)return;if(r===n.This)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);const l=this._checkWorkspaceUndo(e,t,i,!1);if(l)return l.returnValue;o=!0}let n;try{n=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const r=this._checkWorkspaceUndo(e,t,i,!0);if(r)return n.dispose(),r.returnValue;for(const e of i.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,(()=>t.actual.undo()),i,n,(()=>this._continueUndoInGroup(t.groupId,o)))}))}_resourceUndo(e,t,i){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,(o=>(e.moveBackward(t),this._safeInvokeWithLocks(t,(()=>t.actual.undo()),new _([e]),o,(()=>this._continueUndoInGroup(t.groupId,i))))));{const e=a.NC({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.warn(e)}}else e.flushAllElements()}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(const[o,n]of this._editStacks){const r=n.getClosestPastElement();r&&(r.groupId===e&&(!t||r.groupOrder>t.groupOrder)&&(t=r,i=o))}return[t,i]}_continueUndoInGroup(e,t){if(!e)return;const[,i]=this._findClosestUndoElementInGroup(e);return i?this._undo(i,0,t):void 0}undo(e){if(e instanceof u.gJ){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,i){if(!this._editStacks.has(e))return;const o=this._editStacks.get(e),n=o.getClosestPastElement();if(!n)return;if(n.groupId){const[e,o]=this._findClosestUndoElementInGroup(n.groupId);if(n!==e&&o)return this._undo(o,t,i)}if((n.sourceId!==t||n.confirmBeforeUndo)&&!i)return this._confirmAndContinueUndo(e,t,n);try{return 1===n.type?this._workspaceUndo(e,n,i):this._resourceUndo(o,n,i)}finally{f}}_confirmAndContinueUndo(e,t,i){return p(this,void 0,void 0,(function*(){if((yield this._dialogService.confirm({message:a.NC("confirmDifferentSource","Would you like to undo '{0}'?",i.label),primaryButton:a.NC({key:"confirmDifferentSource.yes",comment:["&& denotes a mnemonic"]},"&&Yes"),cancelButton:a.NC("confirmDifferentSource.no","No")})).confirmed)return this._undo(e,t,!0)}))}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(const[o,n]of this._editStacks){const r=n.getClosestFutureElement();r&&(r.sourceId===e&&(!t||r.sourceOrder0)return this._tryToSplitAndRedo(e,t,null,a.NC({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,n.join(", ")));const r=[];for(const e of i.editStacks)e.locked&&r.push(e.resourceLabel);return r.length>0?this._tryToSplitAndRedo(e,t,null,a.NC({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,r.join(", "))):i.isValid()?null:this._tryToSplitAndRedo(e,t,null,a.NC({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 i=this._getAffectedEditStacks(t),o=this._checkWorkspaceRedo(e,t,i,!1);return o?o.returnValue:this._executeWorkspaceRedo(e,t,i)}_executeWorkspaceRedo(e,t,i){return p(this,void 0,void 0,(function*(){let o;try{o=yield this._invokeWorkspacePrepare(t)}catch(e){return this._onError(e,t)}const n=this._checkWorkspaceRedo(e,t,i,!0);if(n)return o.dispose(),n.returnValue;for(const e of i.editStacks)e.moveForward(t);return this._safeInvokeWithLocks(t,(()=>t.actual.redo()),i,o,(()=>this._continueRedoInGroup(t.groupId)))}))}_resourceRedo(e,t){if(t.isValid){if(!e.locked)return this._invokeResourcePrepare(t,(i=>(e.moveForward(t),this._safeInvokeWithLocks(t,(()=>t.actual.redo()),new _([e]),i,(()=>this._continueRedoInGroup(t.groupId))))));{const e=a.NC({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.warn(e)}}else e.flushAllElements()}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(const[o,n]of this._editStacks){const r=n.getClosestFutureElement();r&&(r.groupId===e&&(!t||r.groupOrder{i.d(t,{A6:()=>g,c$:()=>l,eb:()=>a,ec:()=>s,md:()=>h,p$:()=>p,uT:()=>u,x:()=>f});var o=i(63580),n=i(88721),r=(i(4767),i(70666));const s=(0,i(72065).yh)("contextService");function a(e){const t=e;return"string"==typeof(null==t?void 0:t.id)&&r.o.isUri(t.uri)}function l(e){const t=e;return"string"==typeof(null==t?void 0:t.id)&&!a(e)&&!function(e){const t=e;return"string"==typeof(null==t?void 0:t.id)&&r.o.isUri(t.configPath)}(e)}const c={id:"ext-dev"},d={id:"empty-window"};function u(e,t){if("string"==typeof e||void 0===e)return"string"==typeof e?{id:(0,n.EZ)(e)}:t?c:d;const i=e;return i.configuration?{id:i.id,configPath:i.configuration}:1===i.folders.length?{id:i.id,uri:i.folders[0].uri}:{id:i.id}}class h{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}}}const g="code-workspace",p=((0,o.NC)("codeWorkspace","Code Workspace"),"4064f6ec-cb38-4ad0-af64-ee6467e63c82");function f(e){return e.id===p}},33425:(e,t,i)=>{i.d(t,{Y:()=>o});const o=(0,i(72065).yh)("workspaceTrustManagementService")}}]);