/*!-----------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.20.0(6363745c0a33c27b149b89342a7b96d354fb554c)
* Released under the MIT license
* https://github.com/Microsoft/vscode/blob/master/LICENSE.txt
*-----------------------------------------------------------*/
(function () {
var e, t,
n = ["require", "exports", "vs/base/common/lifecycle", "vs/editor/common/core/range", "vs/base/common/event", "vs/base/common/strings", "vs/base/browser/dom", "vs/nls", "vs/nls!vs/editor/editor.main", "vs/css!vs/editor/editor.main", "vs/base/common/errors", "vs/platform/instantiation/common/instantiation", "vs/editor/browser/editorExtensions", "vs/editor/common/core/position", "vs/platform/theme/common/themeService", "vs/base/common/async", "vs/base/common/platform", "vs/editor/common/modes", "vs/platform/contextkey/common/contextkey", "vs/base/common/arrays", "vs/platform/theme/common/colorRegistry", "vs/base/common/types", "vs/editor/common/core/selection", "vs/editor/common/editorContextKeys", "vs/base/browser/browser", "vs/base/common/uri", "vs/base/common/cancellation", "vs/base/common/color", "vs/base/browser/fastDomNode", "vs/platform/commands/common/commands", "vs/editor/common/model/textModel", "vs/base/common/objects", "vs/editor/browser/services/codeEditorService", "vs/editor/common/config/editorOptions", "vs/platform/keybinding/common/keybinding", "vs/platform/notification/common/notification", "vs/base/common/keyCodes", "vs/editor/browser/view/viewPart", "vs/base/common/map", "vs/base/common/resources", "vs/editor/common/controller/cursorCommon", "vs/editor/common/modes/languageConfigurationRegistry", "vs/platform/registry/common/platform", "vs/platform/configuration/common/configuration", "vs/editor/common/view/editorColorRegistry", "vs/base/browser/mouseEvent", "vs/base/common/network", "vs/base/browser/ui/widget", "vs/editor/common/model", "vs/editor/common/services/modelService", "vs/base/browser/ui/aria/aria", "vs/platform/opener/common/opener", "vs/base/browser/event", "vs/base/browser/ui/scrollbar/scrollableElement", "vs/base/common/iterator", "vs/base/common/actions", "vs/base/browser/keyboardEvent", "vs/base/browser/touch", "vs/editor/common/core/editOperation", "vs/editor/common/standaloneStrings", "vs/editor/browser/config/configuration", "vs/base/common/filters", "vs/editor/common/services/editorWorkerService", "vs/editor/common/modes/nullMode", "vs/platform/accessibility/common/accessibility", "vs/platform/actions/common/actions", "vs/platform/contextview/browser/contextView", "vs/editor/browser/core/editorState", "vs/editor/common/editorCommon", "vs/editor/common/viewModel/viewModel", "vs/base/browser/ui/actionbar/actionbar", "vs/editor/common/services/modeService", "vs/platform/markers/common/markers", "vs/platform/progress/common/progress", "vs/platform/storage/common/storage", "vs/base/common/htmlContent", "vs/base/common/linkedList", "vs/base/common/path", "vs/base/browser/globalMouseMoveMonitor", "vs/editor/common/core/characterClassifier", "vs/editor/common/commands/replaceCommand", "vs/editor/common/view/viewEvents", "vs/editor/browser/view/dynamicViewOverlay", "vs/platform/instantiation/common/extensions", "vs/editor/common/services/resolverService", "vs/platform/configuration/common/configurationRegistry", "vs/platform/keybinding/common/keybindingsRegistry", "vs/base/common/collections", "vs/base/browser/canIUse", "vs/editor/common/controller/wordCharacterClassifier", "vs/editor/common/modes/languageConfiguration", "vs/editor/common/view/renderingContext", "vs/editor/common/viewModel/viewEventHandler", "vs/editor/common/core/lineTokens", "vs/editor/standalone/common/standaloneThemeService", "vs/platform/log/common/log", "vs/platform/telemetry/common/telemetry", "vs/platform/theme/common/styler", "vs/base/browser/dnd", "vs/base/browser/ui/tree/tree", "vs/base/common/codicons", "vs/base/common/decorators", "vs/base/common/functional", "vs/base/common/range", "vs/base/browser/ui/sash/sash", "vs/editor/common/config/editorZoom", "vs/editor/common/core/stringBuilder", "vs/editor/common/core/token", "vs/editor/browser/editorBrowser", "vs/editor/common/model/wordHelper", "vs/editor/common/viewLayout/viewLineRenderer", "vs/editor/contrib/codeAction/types", "vs/base/common/severity", "vs/editor/contrib/gotoSymbol/referencesModel", "vs/editor/common/services/textResourceConfigurationService", "vs/platform/instantiation/common/serviceCollection", "vs/platform/label/common/label", "vs/editor/contrib/markdown/markdownRenderer", "vs/editor/common/modes/modesRegistry", "vs/editor/contrib/codeAction/codeAction", "vs/editor/contrib/suggest/suggest", "vs/editor/browser/widget/codeEditorWidget", "vs/editor/contrib/message/messageController", "vs/editor/contrib/peekView/peekView", "vs/base/common/assert", "vs/base/common/hash", "vs/base/common/diff/diff", "vs/base/common/idGenerator", "vs/base/common/lazy", "vs/base/browser/ui/tree/indexTreeModel", "vs/base/browser/ui/tree/objectTreeModel", "vs/base/common/numbers", "vs/base/common/stopwatch", "vs/base/browser/ui/highlightedlabel/highlightedLabel", "vs/base/browser/formattedTextRenderer", "vs/base/browser/ui/scrollbar/scrollbarArrow", "vs/base/common/labels", "vs/base/parts/tree/browser/treeDefaults", "vs/base/browser/ui/checkbox/checkbox", "vs/base/browser/ui/iconLabel/iconLabel", "vs/base/browser/ui/list/listView", "vs/editor/browser/editorDom", "vs/editor/common/config/fontInfo", "vs/editor/browser/view/viewLayer", "vs/editor/common/model/textModelSearch", "vs/editor/common/modes/supports", "vs/editor/common/modes/supports/richEditBrackets", "vs/editor/common/standalone/standaloneEnums", "vs/editor/common/viewLayout/lineDecorations", "vs/editor/browser/viewParts/glyphMargin/glyphMargin", "vs/editor/contrib/folding/foldingRanges", "vs/editor/contrib/snippet/snippetParser", "vs/base/browser/ui/inputbox/inputBox", "vs/base/browser/ui/list/listWidget", "vs/base/browser/ui/tree/abstractTree", "vs/base/parts/quickopen/browser/quickOpenModel", "vs/editor/browser/services/bulkEditService", "vs/editor/common/model/tokensStore", "vs/editor/common/controller/cursorMoveOperations", "vs/editor/common/controller/cursorTypeOperations", "vs/editor/common/controller/cursorWordOperations", "vs/editor/common/viewModel/splitLinesCollection", "vs/platform/clipboard/common/clipboardService", "vs/editor/common/config/commonEditorConfig", "vs/editor/browser/controller/coreCommands", "vs/editor/contrib/parameterHints/provideSignatureHelp", "vs/editor/browser/controller/mouseTarget", "vs/editor/browser/widget/embeddedCodeEditorWidget", "vs/editor/contrib/find/findModel", "vs/editor/standalone/browser/quickOpen/editorQuickOpen", "vs/platform/list/browser/listService", "vs/platform/workspace/common/workspace", "vs/editor/standalone/browser/simpleServices", "vs/editor/contrib/snippet/snippetController2", "vs/base/browser/iframe", "vs/base/browser/ui/scrollbar/scrollbarState", "vs/base/common/scrollable", "vs/base/common/extpath", "vs/base/common/glob", "vs/base/common/uint", "vs/base/common/marshalling", "vs/base/browser/ui/scrollbar/abstractScrollbar", "vs/base/common/worker/simpleWorker", "vs/base/browser/ui/codiconLabel/codiconLabel", "vs/css!vs/base/browser/ui/findinput/findInput", "vs/editor/browser/config/elementSizeObserver", "vs/editor/browser/viewParts/minimap/minimapCharSheet", "vs/editor/browser/controller/textAreaState", "vs/editor/browser/widget/diffNavigator", "vs/editor/browser/controller/textAreaInput", "vs/editor/common/editorAction", "vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase", "vs/editor/common/standalone/standaloneBase", "vs/editor/common/view/overviewZoneManager", "vs/editor/common/viewModel/prefixSumComputer", "vs/editor/browser/viewParts/margin/margin", "vs/editor/contrib/comment/blockCommentCommand", "vs/editor/contrib/folding/syntaxRangeProvider", "vs/editor/contrib/format/formattingEdit", "vs/editor/contrib/gotoSymbol/link/clickLinkGesture", "vs/editor/contrib/hover/hoverOperation", "vs/editor/contrib/hover/hoverWidgets", "vs/editor/contrib/smartSelect/bracketSelections", "vs/editor/standalone/common/monarch/monarchCommon", "vs/base/browser/ui/findinput/findInputCheckboxes", "vs/base/browser/ui/menu/menu", "vs/base/browser/ui/tree/objectTree", "vs/base/common/keybindingLabels", "vs/platform/files/common/files", "vs/platform/instantiation/common/descriptors", "vs/editor/common/services/markersDecorationService", "vs/editor/common/commands/shiftCommand", "vs/editor/common/controller/cursorDeleteOperations", "vs/editor/common/controller/cursorMoveCommands", "vs/editor/common/modes/textToHtmlTokenizer", "vs/editor/common/viewModel/minimapTokensColorTracker", "vs/editor/standalone/common/monarch/monarchLexer", "vs/platform/keybinding/common/keybindingResolver", "vs/platform/layout/browser/layoutService", "vs/editor/common/services/editorWorkerServiceImpl", "vs/platform/jsonschemas/common/jsonContributionRegistry", "vs/editor/contrib/codelens/codelens", "vs/editor/contrib/colorPicker/color", "vs/editor/contrib/colorPicker/colorDetector", "vs/editor/contrib/gotoSymbol/goToSymbol", "vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode", "vs/editor/contrib/wordOperations/wordOperations", "vs/editor/browser/viewParts/lines/viewLine", "vs/editor/browser/view/viewOutgoingEvents", "vs/editor/browser/viewParts/lineNumbers/lineNumbers", "vs/editor/browser/widget/diffEditorWidget", "vs/editor/contrib/documentSymbols/outlineTree", "vs/editor/contrib/find/findController", "vs/editor/contrib/codeAction/codeActionCommands", "vs/editor/contrib/gotoSymbol/peek/referencesController", "vs/editor/contrib/gotoSymbol/goToCommands", "vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition", "vs/editor/contrib/gotoError/gotoError", "vs/editor/standalone/browser/standaloneServices", "vs/base/browser/ui/list/list", "vs/base/browser/ui/list/splice", "vs/base/common/diff/diffChange", "vs/base/common/history", "vs/base/browser/ui/tree/compressedObjectTreeModel", "vs/base/browser/ui/scrollbar/scrollbarVisibilityController", "vs/base/common/process", "vs/base/browser/ui/list/rangeMap", "vs/base/common/search", "vs/base/browser/markdownRenderer", "vs/base/browser/ui/list/rowCache", "vs/base/browser/ui/scrollbar/horizontalScrollbar", "vs/base/browser/ui/scrollbar/verticalScrollbar", "vs/base/common/mime", "vs/base/parts/quickopen/browser/quickOpenViewer", "vs/base/parts/tree/browser/tree", "vs/base/parts/tree/browser/treeDnd", "vs/base/parts/tree/browser/treeModel", "vs/base/parts/tree/browser/treeViewModel", "vs/base/worker/defaultWorkerFactory", "vs/css!vs/base/browser/ui/actionbar/actionbar", "vs/css!vs/base/browser/ui/aria/aria", "vs/css!vs/base/browser/ui/checkbox/checkbox", "vs/css!vs/base/browser/ui/codiconLabel/codicon/codicon", "vs/css!vs/base/browser/ui/codiconLabel/codicon/codicon-animations", "vs/css!vs/base/browser/ui/contextview/contextview", "vs/base/browser/ui/contextview/contextview", "vs/css!vs/base/browser/ui/countBadge/countBadge", "vs/base/browser/ui/countBadge/countBadge", "vs/css!vs/base/browser/ui/iconLabel/iconlabel", "vs/css!vs/base/browser/ui/inputbox/inputBox", "vs/css!vs/base/browser/ui/keybindingLabel/keybindingLabel", "vs/css!vs/base/browser/ui/list/list", "vs/css!vs/base/browser/ui/menu/menu", "vs/css!vs/base/browser/ui/progressbar/progressbar", "vs/base/browser/ui/progressbar/progressbar", "vs/css!vs/base/browser/ui/sash/sash", "vs/css!vs/base/browser/ui/scrollbar/media/scrollbars", "vs/base/parts/tree/browser/treeView", "vs/css!vs/base/browser/ui/splitview/splitview", "vs/base/browser/ui/splitview/splitview", "vs/css!vs/base/browser/ui/tree/media/tree", "vs/css!vs/base/parts/quickopen/browser/quickopen", "vs/css!vs/base/parts/tree/browser/tree", "vs/base/parts/tree/browser/treeImpl", "vs/css!vs/editor/browser/controller/textAreaHandler", "vs/css!vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight", "vs/css!vs/editor/browser/viewParts/decorations/decorations", "vs/css!vs/editor/browser/viewParts/glyphMargin/glyphMargin", "vs/css!vs/editor/browser/viewParts/indentGuides/indentGuides", "vs/css!vs/editor/browser/viewParts/lineNumbers/lineNumbers", "vs/css!vs/editor/browser/viewParts/lines/viewLines", "vs/css!vs/editor/browser/viewParts/linesDecorations/linesDecorations", "vs/css!vs/editor/browser/viewParts/marginDecorations/marginDecorations", "vs/css!vs/editor/browser/viewParts/minimap/minimap", "vs/css!vs/editor/browser/viewParts/overlayWidgets/overlayWidgets", "vs/css!vs/editor/browser/viewParts/rulers/rulers", "vs/css!vs/editor/browser/viewParts/scrollDecoration/scrollDecoration", "vs/css!vs/editor/browser/viewParts/selections/selections", "vs/css!vs/editor/browser/viewParts/viewCursors/viewCursors", "vs/css!vs/editor/browser/widget/media/diffEditor", "vs/css!vs/editor/browser/widget/media/diffReview", "vs/css!vs/editor/browser/widget/media/editor", "vs/css!vs/editor/contrib/bracketMatching/bracketMatching", "vs/css!vs/editor/contrib/clipboard/clipboard", "vs/css!vs/editor/contrib/codeAction/lightBulbWidget", "vs/css!vs/editor/contrib/codelens/codelensWidget", "vs/css!vs/editor/contrib/colorPicker/colorPicker", "vs/css!vs/editor/contrib/dnd/dnd", "vs/css!vs/editor/contrib/documentSymbols/media/outlineTree", "vs/css!vs/editor/contrib/documentSymbols/media/symbol-icons", "vs/css!vs/editor/contrib/find/findWidget", "vs/css!vs/editor/contrib/folding/folding", "vs/css!vs/editor/contrib/gotoError/media/gotoErrorWidget", "vs/css!vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition", "vs/css!vs/editor/contrib/gotoSymbol/peek/referencesWidget", "vs/css!vs/editor/contrib/hover/hover", "vs/css!vs/editor/contrib/links/links", "vs/css!vs/editor/contrib/message/messageController", "vs/css!vs/editor/contrib/parameterHints/parameterHints", "vs/css!vs/editor/contrib/peekView/media/peekViewWidget", "vs/css!vs/editor/contrib/rename/renameInputField", "vs/css!vs/editor/contrib/snippet/snippetSession", "vs/css!vs/editor/contrib/suggest/media/suggest", "vs/css!vs/editor/contrib/suggest/media/suggestStatusBar", "vs/css!vs/editor/contrib/zoneWidget/zoneWidget", "vs/css!vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp", "vs/css!vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard", "vs/css!vs/editor/standalone/browser/inspectTokens/inspectTokens", "vs/css!vs/editor/standalone/browser/quickOpen/editorQuickOpen", "vs/css!vs/editor/standalone/browser/quickOpen/gotoLine", "vs/css!vs/editor/standalone/browser/quickOpen/quickOutline", "vs/css!vs/editor/standalone/browser/standalone-tokens", "vs/css!vs/platform/contextview/browser/contextMenuHandler", "vs/editor/browser/config/charWidthReader", "vs/editor/browser/services/abstractCodeEditorService", "vs/editor/browser/viewParts/minimap/minimapCharRenderer", "vs/editor/browser/viewParts/minimap/minimapPreBaked", "vs/editor/browser/viewParts/minimap/minimapCharRendererFactory", "vs/editor/common/commands/trimTrailingWhitespaceCommand", "vs/editor/common/core/rgba", "vs/editor/common/commands/surroundSelectionCommand", "vs/editor/common/diff/diffComputer", "vs/editor/common/model/editStack", "vs/editor/common/model/indentationGuesser", "vs/editor/common/model/intervalTree", "vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase", "vs/editor/common/model/textModelEvents", "vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer", "vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder", "vs/editor/common/modes/abstractMode", "vs/editor/common/modes/languageSelector", "vs/editor/common/modes/linkComputer", "vs/editor/common/modes/supports/characterPair", "vs/editor/common/modes/supports/indentRules", "vs/editor/common/modes/supports/inplaceReplaceSupport", "vs/editor/common/modes/supports/onEnter", "vs/editor/common/modes/supports/electricCharacter", "vs/editor/common/modes/supports/tokenization", "vs/editor/common/modes/tokenizationRegistry", "vs/editor/browser/viewParts/lines/rangeUtil", "vs/editor/common/view/viewContext", "vs/editor/common/view/viewEventDispatcher", "vs/editor/common/viewLayout/linesLayout", "vs/editor/common/viewLayout/viewLinesViewportData", "vs/editor/common/model/mirrorTextModel", "vs/editor/common/services/editorSimpleWorker", "vs/editor/browser/viewParts/contentWidgets/contentWidgets", "vs/editor/browser/viewParts/decorations/decorations", "vs/editor/browser/viewParts/linesDecorations/linesDecorations", "vs/editor/browser/viewParts/marginDecorations/marginDecorations", "vs/editor/browser/viewParts/overlayWidgets/overlayWidgets", "vs/editor/browser/viewParts/overviewRuler/overviewRuler", "vs/editor/browser/viewParts/viewZones/viewZones", "vs/editor/common/viewLayout/viewLayout", "vs/editor/contrib/caretOperations/moveCaretCommand", "vs/editor/contrib/colorPicker/colorPickerModel", "vs/editor/contrib/comment/lineCommentCommand", "vs/editor/contrib/dnd/dragAndDropCommand", "vs/editor/contrib/find/findState", "vs/editor/contrib/find/replaceAllCommand", "vs/editor/contrib/find/replacePattern", "vs/editor/contrib/folding/foldingModel", "vs/editor/contrib/folding/hiddenRangeModel", "vs/editor/contrib/folding/intializingRangeProvider", "vs/editor/contrib/inPlaceReplace/inPlaceReplaceCommand", "vs/editor/contrib/indentation/indentUtils", "vs/editor/contrib/linesOperations/copyLinesCommand", "vs/editor/contrib/linesOperations/sortLinesCommand", "vs/editor/contrib/smartSelect/wordSelections", "vs/editor/contrib/suggest/completionModel", "vs/editor/contrib/suggest/suggestCommitCharacters", "vs/editor/contrib/suggest/suggestRangeHighlighter", "vs/editor/contrib/suggest/wordDistance", "vs/editor/standalone/common/monarch/monarchCompile", "vs/nls!vs/base/browser/ui/actionbar/actionbar", "vs/nls!vs/base/browser/ui/aria/aria", "vs/nls!vs/base/browser/ui/findinput/findInput", "vs/nls!vs/base/browser/ui/findinput/findInputCheckboxes", "vs/nls!vs/base/browser/ui/findinput/replaceInput", "vs/nls!vs/base/browser/ui/inputbox/inputBox", "vs/base/browser/ui/findinput/findInput", "vs/base/browser/ui/findinput/replaceInput", "vs/nls!vs/base/browser/ui/keybindingLabel/keybindingLabel", "vs/nls!vs/base/browser/ui/list/listWidget", "vs/nls!vs/base/browser/ui/menu/menu", "vs/base/browser/contextmenu", "vs/nls!vs/base/browser/ui/tree/abstractTree", "vs/base/browser/ui/tree/dataTree", "vs/base/browser/ui/tree/asyncDataTree", "vs/nls!vs/base/common/keybindingLabels", "vs/base/browser/ui/keybindingLabel/keybindingLabel", "vs/nls!vs/base/common/severity", "vs/nls!vs/base/parts/quickopen/browser/quickOpenModel", "vs/nls!vs/base/parts/quickopen/browser/quickOpenWidget", "vs/base/parts/quickopen/browser/quickOpenWidget", "vs/nls!vs/editor/browser/controller/coreCommands", "vs/nls!vs/editor/browser/controller/textAreaHandler", "vs/nls!vs/editor/browser/widget/codeEditorWidget", "vs/nls!vs/editor/browser/widget/diffEditorWidget", "vs/nls!vs/editor/browser/widget/diffReview", "vs/nls!vs/editor/browser/widget/inlineDiffMargin", "vs/editor/browser/widget/inlineDiffMargin", "vs/nls!vs/editor/common/config/commonEditorConfig", "vs/nls!vs/editor/common/config/editorOptions", "vs/editor/common/viewModel/viewModelDecorations", "vs/nls!vs/editor/common/modes/modesRegistry", "vs/nls!vs/editor/common/standaloneStrings", "vs/nls!vs/editor/common/view/editorColorRegistry", "vs/nls!vs/editor/contrib/bracketMatching/bracketMatching", "vs/nls!vs/editor/contrib/caretOperations/caretOperations", "vs/nls!vs/editor/contrib/caretOperations/transpose", "vs/nls!vs/editor/contrib/clipboard/clipboard", "vs/nls!vs/editor/contrib/codeAction/codeActionCommands", "vs/nls!vs/editor/contrib/codeAction/lightBulbWidget", "vs/nls!vs/editor/contrib/comment/comment", "vs/nls!vs/editor/contrib/contextmenu/contextmenu", "vs/nls!vs/editor/contrib/cursorUndo/cursorUndo", "vs/nls!vs/editor/contrib/documentSymbols/outlineTree", "vs/nls!vs/editor/contrib/find/findController", "vs/nls!vs/editor/contrib/find/findWidget", "vs/nls!vs/editor/contrib/folding/folding", "vs/nls!vs/editor/contrib/fontZoom/fontZoom", "vs/nls!vs/editor/contrib/format/format", "vs/nls!vs/editor/contrib/format/formatActions", "vs/nls!vs/editor/contrib/gotoError/gotoError", "vs/nls!vs/editor/contrib/gotoError/gotoErrorWidget", "vs/nls!vs/editor/contrib/gotoSymbol/goToCommands", "vs/nls!vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition", "vs/nls!vs/editor/contrib/gotoSymbol/peek/referencesController", "vs/nls!vs/editor/contrib/gotoSymbol/peek/referencesTree", "vs/nls!vs/editor/contrib/gotoSymbol/peek/referencesWidget", "vs/nls!vs/editor/contrib/gotoSymbol/referencesModel", "vs/nls!vs/editor/contrib/gotoSymbol/symbolNavigation", "vs/nls!vs/editor/contrib/hover/hover", "vs/nls!vs/editor/contrib/hover/modesContentHover", "vs/nls!vs/editor/contrib/inPlaceReplace/inPlaceReplace", "vs/nls!vs/editor/contrib/linesOperations/linesOperations", "vs/nls!vs/editor/contrib/links/links", "vs/nls!vs/editor/contrib/message/messageController", "vs/nls!vs/editor/contrib/multicursor/multicursor", "vs/nls!vs/editor/contrib/parameterHints/parameterHints", "vs/nls!vs/editor/contrib/parameterHints/parameterHintsWidget", "vs/nls!vs/editor/contrib/peekView/peekView", "vs/nls!vs/editor/contrib/rename/rename", "vs/nls!vs/editor/contrib/rename/renameInputField", "vs/nls!vs/editor/contrib/smartSelect/smartSelect", "vs/nls!vs/editor/contrib/snippet/snippetVariables", "vs/nls!vs/editor/contrib/suggest/suggestController", "vs/nls!vs/editor/contrib/suggest/suggestWidget", "vs/nls!vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode", "vs/nls!vs/editor/contrib/tokenization/tokenization", "vs/nls!vs/editor/contrib/wordHighlighter/wordHighlighter", "vs/nls!vs/platform/configuration/common/configurationRegistry", "vs/nls!vs/platform/keybinding/common/abstractKeybindingService", "vs/nls!vs/platform/list/browser/listService", "vs/nls!vs/platform/markers/common/markers", "vs/nls!vs/platform/theme/common/colorRegistry", "vs/platform/contextkey/common/contextkeys", "vs/platform/editor/common/editor", "vs/platform/extensions/common/extensions", "vs/platform/instantiation/common/graph", "vs/editor/common/modes/languageFeatureRegistry", "vs/editor/common/model/textModelTokens", "vs/editor/common/controller/cursorColumnSelection", "vs/editor/common/controller/oneCursor", "vs/editor/common/controller/cursorCollection", "vs/editor/common/controller/cursor", "vs/editor/common/viewModel/monospaceLineBreaksComputer", "vs/editor/common/viewModel/viewModelImpl", "vs/editor/contrib/documentSymbols/outlineModel", "vs/editor/contrib/folding/foldingDecorations", "vs/editor/contrib/folding/indentRangeProvider", "vs/editor/contrib/linesOperations/moveLinesCommand", "vs/editor/contrib/zoneWidget/zoneWidget", "vs/editor/standalone/browser/colorizer", "vs/editor/contrib/links/getLinks", "vs/editor/contrib/quickOpen/quickOpen", "vs/editor/contrib/suggest/suggestAlternatives", "vs/editor/contrib/suggest/wordContextKey", "vs/platform/actions/common/menuService", "vs/platform/dialogs/common/dialogs", "vs/platform/instantiation/common/instantiationService", "vs/platform/keybinding/common/abstractKeybindingService", "vs/platform/keybinding/common/baseResolvedKeybinding", "vs/platform/keybinding/common/resolvedKeybindingItem", "vs/platform/keybinding/common/usLayoutResolvedKeybinding", "vs/platform/contextview/browser/contextViewService", "vs/editor/common/services/webWorker", "vs/platform/markers/common/markerService", "vs/editor/browser/services/openerService", "vs/editor/contrib/hover/modesGlyphHover", "vs/editor/common/services/getIconClasses", "vs/editor/browser/view/domLineBreaksComputer", "vs/editor/browser/view/viewOverlays", "vs/editor/browser/viewParts/viewCursors/viewCursor", "vs/editor/common/services/languagesRegistry", "vs/editor/common/services/modeServiceImpl", "vs/platform/accessibility/common/accessibilityService", "vs/platform/configuration/common/configurationModels", "vs/platform/contextkey/browser/contextKeyService", "vs/platform/browser/contextScopedHistoryWidget", "vs/editor/contrib/suggest/suggestMemory", "vs/editor/browser/core/keybindingCancellation", "vs/editor/browser/view/viewController", "vs/editor/contrib/caretOperations/caretOperations", "vs/editor/contrib/caretOperations/transpose", "vs/editor/contrib/clipboard/clipboard", "vs/editor/contrib/codeAction/codeActionMenu", "vs/editor/contrib/codeAction/codeActionModel", "vs/editor/contrib/codelens/codeLensCache", "vs/editor/contrib/comment/comment", "vs/editor/contrib/contextmenu/contextmenu", "vs/editor/contrib/cursorUndo/cursorUndo", "vs/editor/contrib/dnd/dnd", "vs/editor/contrib/fontZoom/fontZoom", "vs/editor/contrib/format/format", "vs/editor/contrib/format/formatActions", "vs/editor/contrib/gotoSymbol/symbolNavigation", "vs/editor/contrib/hover/getHover", "vs/editor/contrib/linesOperations/linesOperations", "vs/editor/contrib/parameterHints/parameterHintsModel", "vs/editor/contrib/smartSelect/smartSelect", "vs/editor/contrib/tokenization/tokenization", "vs/editor/contrib/wordPartOperations/wordPartOperations", "vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard", "vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast", "vs/editor/standalone/browser/quickOpen/quickOpenEditorWidget", "vs/platform/contextview/browser/contextMenuHandler", "vs/editor/browser/services/codeEditorServiceImpl", "vs/editor/browser/viewParts/editorScrollbar/editorScrollbar", "vs/editor/browser/controller/mouseHandler", "vs/editor/browser/controller/pointerHandler", "vs/editor/browser/viewParts/lines/viewLines", "vs/editor/browser/viewParts/minimap/minimap", "vs/editor/browser/viewParts/scrollDecoration/scrollDecoration", "vs/editor/browser/viewParts/selections/selections", "vs/editor/common/services/modelServiceImpl", "vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight", "vs/editor/browser/viewParts/indentGuides/indentGuides", "vs/editor/browser/controller/textAreaHandler", "vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler", "vs/editor/browser/viewParts/rulers/rulers", "vs/editor/browser/viewParts/viewCursors/viewCursors", "vs/editor/browser/view/viewImpl", "vs/editor/browser/widget/diffReview", "vs/editor/common/services/markerDecorationsServiceImpl", "vs/editor/contrib/bracketMatching/bracketMatching", "vs/editor/contrib/codeAction/lightBulbWidget", "vs/editor/contrib/codelens/codelensWidget", "vs/editor/contrib/codelens/codelensController", "vs/editor/contrib/colorPicker/colorPickerWidget", "vs/editor/contrib/find/findDecorations", "vs/editor/contrib/find/findOptionsWidget", "vs/editor/contrib/find/findWidget", "vs/editor/contrib/folding/folding", "vs/editor/contrib/gotoSymbol/peek/referencesTree", "vs/editor/contrib/inPlaceReplace/inPlaceReplace", "vs/editor/contrib/links/links", "vs/editor/contrib/codeAction/codeActionUi", "vs/editor/contrib/codeAction/codeActionContributions", "vs/editor/contrib/multicursor/multicursor", "vs/editor/contrib/parameterHints/parameterHintsWidget", "vs/editor/contrib/parameterHints/parameterHints", "vs/editor/contrib/rename/renameInputField", "vs/editor/contrib/rename/rename", "vs/editor/contrib/suggest/suggestWidget", "vs/editor/contrib/wordHighlighter/wordHighlighter", "vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp", "vs/editor/standalone/browser/inspectTokens/inspectTokens", "vs/editor/standalone/browser/quickOpen/gotoLine", "vs/editor/standalone/browser/quickOpen/quickCommand", "vs/editor/standalone/browser/quickOpen/quickOutline", "vs/editor/standalone/browser/standaloneCodeServiceImpl", "vs/editor/standalone/common/themes", "vs/editor/standalone/browser/standaloneThemeServiceImpl", "vs/platform/contextview/browser/contextMenuService", "vs/editor/contrib/gotoSymbol/peek/referencesWidget", "vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch", "vs/platform/severityIcon/common/severityIcon", "vs/editor/contrib/gotoError/gotoErrorWidget", "vs/editor/contrib/hover/modesContentHover", "vs/editor/contrib/hover/hover", "vs/editor/standalone/browser/standaloneCodeEditor", "vs/editor/standalone/browser/standaloneEditor", "vs/editor/standalone/browser/standaloneLanguages", "vs/editor/editor.api", "vs/platform/workspaces/common/workspaces", "vs/editor/contrib/snippet/snippetVariables", "vs/editor/contrib/snippet/snippetSession", "vs/editor/contrib/suggest/suggestModel", "vs/editor/contrib/suggest/suggestController", "vs/editor/editor.all", "vs/base/common/marked/marked", "vs/base/common/insane/insane", "vs/editor/common/standalone/promise-polyfill/polyfill", "vs/editor/edcore.main"],
i = function (e) {
for (var t = [], i = 0, o = e.length; i < o; i++) t[i] = n[e[i]];
return t
};
!function (e) {
var t = function () {
function e() {
this._pendingLoads = 0
}
return e.prototype.attachListeners = function (e, t, n, i) {
var o = function () {
t.removeEventListener("load", r), t.removeEventListener("error", s)
}, r = function (e) {
o(), n()
}, s = function (e) {
o(), i(e)
};
t.addEventListener("load", r), t.addEventListener("error", s)
}, e.prototype._onLoad = function (e, t) {
this._pendingLoads--, t()
}, e.prototype._onLoadError = function (e, t, n) {
this._pendingLoads--, t(n)
}, e.prototype._insertLinkNode = function (e) {
this._pendingLoads++;
var t = document.head || document.getElementsByTagName("head")[0],
n = t.getElementsByTagName("link") || document.head.getElementsByTagName("script");
n.length > 0 ? t.insertBefore(e, n[n.length - 1]) : t.appendChild(e)
}, e.prototype.createLinkTag = function (e, t, n, i) {
var o = this, r = document.createElement("link");
r.setAttribute("rel", "stylesheet"), r.setAttribute("type", "text/css"), r.setAttribute("data-name", e);
return this.attachListeners(e, r, (function () {
return o._onLoad(e, n)
}), (function (t) {
return o._onLoadError(e, i, t)
})), r.setAttribute("href", t), r
}, e.prototype._linkTagExists = function (e, t) {
var n, i, o, r, s = document.getElementsByTagName("link");
for (n = 0, i = s.length; n < i; n++) if (o = s[n].getAttribute("data-name"), r = s[n].getAttribute("href"), o === e || r === t) return !0;
return !1
}, e.prototype.load = function (e, t, n, i) {
if (this._linkTagExists(e, t)) n(); else {
var o = this.createLinkTag(e, t, n, i);
this._insertLinkNode(o)
}
}, e
}(), n = function () {
function e() {
this._cssLoader = new t
}
return e.prototype.load = function (e, t, n) {
var i = t.toUrl(e + ".css");
this._cssLoader.load(e, i, (function (e) {
n({})
}), (function (e) {
"function" == typeof n.error && n.error("Could not find " + i + " or it was empty")
}))
}, e
}();
e.CSSPlugin = n, define("vs/css", new n)
}(e || (e = {})), function (e) {
var t = function () {
function e() {
this._detected = !1, this._isPseudo = !1
}
return Object.defineProperty(e.prototype, "isPseudo", {
get: function () {
return this._detect(), this._isPseudo
}, enumerable: !0, configurable: !0
}), e.prototype._detect = function () {
this._detected || (this._detected = !0,
this._isPseudo = "undefined" != typeof document && document.location && document.location.hash.indexOf("pseudo=true") >= 0)
}, e
}();
function n(e, t, n) {
var i;
return i = 0 === t.length ? e : e.replace(/\{(\d+)\}/g, (function (e, n) {
var i = n[0], o = t[i], r = e;
return "string" == typeof o ? r = o : "number" != typeof o && "boolean" != typeof o && null != o || (r = String(o)), r
})), n.isPseudo && (i = "[" + i.replace(/[aouei]/g, "$&$&") + "]"), i
}
function i(e, t, i) {
for (var o = [], r = 3; r < arguments.length; r++) o[r - 3] = arguments[r];
return n(i, o, e)
}
function o(e, t) {
return function (i, o) {
var r = Array.prototype.slice.call(arguments, 2);
return n(e[i], r, t)
}
}
var r = function () {
function e(e) {
var t = this;
this._env = e, this.localize = function (e, n) {
for (var o = [], r = 2; r < arguments.length; r++) o[r - 2] = arguments[r];
return i.apply(void 0, [t._env, e, n].concat(o))
}
}
return e.prototype.setPseudoTranslation = function (e) {
this._env._isPseudo = e
}, e.prototype.create = function (e, t) {
return {localize: o(t[e], this._env)}
}, e.prototype.load = function (t, n, i, r) {
var s = this;
if (r = r || {}, t && 0 !== t.length) {
var a = r["vs/nls"] || {}, l = a.availableLanguages ? function (e, t) {
var n = e[t];
return n || ((n = e["*"]) || null)
}(a.availableLanguages, t) : null, u = ".nls";
null !== l && l !== e.DEFAULT_TAG && (u = u + "." + l);
var d = function (e) {
Array.isArray(e) ? e.localize = o(e, s._env) : e.localize = o(e[t], s._env), i(e)
};
"function" == typeof a.loadBundle ? a.loadBundle(t, l, (function (e, i) {
e ? n([t + ".nls"], d) : d(i)
})) : n([t + u], d)
} else i({localize: this.localize})
}, e.DEFAULT_TAG = "i-default", e
}();
e.NLSPlugin = r, define("vs/nls", new r(new t))
}(t || (t = {})), define(n[98], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0}), t.DataTransfers = {
RESOURCES: "ResourceURLs",
DOWNLOAD_URL: "DownloadURL",
FILES: "Files",
TEXT: "text/plain"
};
var n = function () {
function e(e) {
this.data = e
}
return e.prototype.update = function () {
}, e.prototype.getData = function () {
return this.data
}, e
}();
t.DragAndDropData = n, t.StaticDND = {CurrentDragAndDropData: void 0}
})), define(n[174], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = !1, i = null
;
function o(e) {
if (!e.parent || e.parent === e) return null;
try {
var t = e.location, i = e.parent.location;
if (t.protocol !== i.protocol || t.hostname !== i.hostname || t.port !== i.port) return n = !0, null
} catch (e) {
return n = !0, null
}
return e.parent
}
function r(e, t) {
for (var n, i = e.document.getElementsByTagName("iframe"), o = 0, r = i.length; o < r; o++) if ((n = i[o]).contentWindow === t) return n;
return null
}
var s = function () {
function e() {
}
return e.getSameOriginWindowChain = function () {
if (!i) {
i = [];
var e, t = window;
do {
(e = o(t)) ? i.push({window: t, iframeElement: r(e, t)}) : i.push({
window: t,
iframeElement: null
}), t = e
} while (t)
}
return i.slice(0)
}, e.hasDifferentOriginAncestor = function () {
return i || this.getSameOriginWindowChain(), n
}, e.getPositionOfChildWindowRelativeToAncestorWindow = function (e, t) {
if (!t || e === t) return {top: 0, left: 0};
for (var n = 0, i = 0, o = 0, r = this.getSameOriginWindowChain(); o < r.length; o++) {
var s = r[o];
if (s.window === t) break;
if (!s.iframeElement) break;
var a = s.iframeElement.getBoundingClientRect();
n += a.top, i += a.left
}
return {top: n, left: i}
}, e
}();
t.IframeUtils = s
}))
;var o, r = this && this.__extends || (o = function (e, t) {
return (o = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (e, t) {
e.__proto__ = t
} || function (e, t) {
for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
})(e, t)
}, function (e, t) {
function n() {
this.constructor = e
}
o(e, t), e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n)
});
/*
The MIT License (MIT)
Copyright © 2015 Nicolas Bevacqua
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
let s;
define(n[239], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0}), function (e) {
e.TREE = "tree", e.FORM = "form"
}(t.ListAriaRootRole || (t.ListAriaRootRole = {}));
var n = function (e) {
function t(t, n) {
return e.call(this, "ListError [" + t + "] " + n) || this
}
return r(t, e), t
}(Error);
t.ListError = n
})), define(n[240], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = function () {
function e(e) {
this.spliceables = e
}
return e.prototype.splice = function (e, t, n) {
this.spliceables.forEach((function (i) {
return i.splice(e, t, n)
}))
}, e
}();
t.CombinedSpliceable = n
})), define(n[175], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = function () {
function e(e, t, n, i, o, r) {
this._scrollbarSize = Math.round(t), this._oppositeScrollbarSize = Math.round(n), this._arrowSize = Math.round(e), this._visibleSize = i, this._scrollSize = o, this._scrollPosition = r, this._computedAvailableSize = 0, this._computedIsNeeded = !1, this._computedSliderSize = 0, this._computedSliderRatio = 0,
this._computedSliderPosition = 0, this._refreshComputedValues()
}
return e.prototype.clone = function () {
return new e(this._arrowSize, this._scrollbarSize, this._oppositeScrollbarSize, this._visibleSize, this._scrollSize, this._scrollPosition)
}, e.prototype.setVisibleSize = function (e) {
var t = Math.round(e);
return this._visibleSize !== t && (this._visibleSize = t, this._refreshComputedValues(), !0)
}, e.prototype.setScrollSize = function (e) {
var t = Math.round(e);
return this._scrollSize !== t && (this._scrollSize = t, this._refreshComputedValues(), !0)
}, e.prototype.setScrollPosition = function (e) {
var t = Math.round(e);
return this._scrollPosition !== t && (this._scrollPosition = t, this._refreshComputedValues(), !0)
}, e._computeValues = function (e, t, n, i, o) {
var r = Math.max(0, n - e), s = Math.max(0, r - 2 * t), a = i > 0 && i > n;
if (!a) return {
computedAvailableSize: Math.round(r),
computedIsNeeded: a,
computedSliderSize: Math.round(s),
computedSliderRatio: 0,
computedSliderPosition: 0
};
var l = Math.round(Math.max(20, Math.floor(n * s / i))), u = (s - l) / (i - n), d = o * u;
return {
computedAvailableSize: Math.round(r),
computedIsNeeded: a,
computedSliderSize: Math.round(l),
computedSliderRatio: u,
computedSliderPosition: Math.round(d)
}
}, e.prototype._refreshComputedValues = function () {
var t = e._computeValues(this._oppositeScrollbarSize, this._arrowSize, this._visibleSize, this._scrollSize, this._scrollPosition);
this._computedAvailableSize = t.computedAvailableSize, this._computedIsNeeded = t.computedIsNeeded, this._computedSliderSize = t.computedSliderSize, this._computedSliderRatio = t.computedSliderRatio, this._computedSliderPosition = t.computedSliderPosition
}, e.prototype.getArrowSize = function () {
return this._arrowSize
}, e.prototype.getScrollPosition = function () {
return this._scrollPosition
}, e.prototype.getRectangleLargeSize = function () {
return this._computedAvailableSize
}, e.prototype.getRectangleSmallSize = function () {
return this._scrollbarSize
}, e.prototype.isNeeded = function () {
return this._computedIsNeeded
}, e.prototype.getSliderSize = function () {
return this._computedSliderSize
}, e.prototype.getSliderPosition = function () {
return this._computedSliderPosition
},
e.prototype.getDesiredScrollPositionFromOffset = function (e) {
if (!this._computedIsNeeded) return 0;
var t = e - this._arrowSize - this._computedSliderSize / 2;
return Math.round(t / this._computedSliderRatio)
}, e.prototype.getDesiredScrollPositionFromDelta = function (e) {
if (!this._computedIsNeeded) return 0;
var t = this._computedSliderPosition + e;
return Math.round(t / this._computedSliderRatio)
}, e
}();
t.ScrollbarState = n
})), define(n[99], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = function (e) {
function t(t, n) {
return e.call(this, "TreeError [" + t + "] " + n) || this
}
return r(t, e), t
}(Error);
t.TreeError = n;
var i = function () {
function e(e) {
this.fn = e, this._map = new WeakMap
}
return e.prototype.map = function (e) {
var t = this._map.get(e);
return t || (t = this.fn(e), this._map.set(e, t)), t
}, e
}();
t.WeakMapper = i
})), define(n[19], i([0, 1]), (function (e, t) {
"use strict";
function n(e, t) {
return function e(t, n, i, o, r) {
if (o <= i) return;
var s = i + (o - i) / 2 | 0;
e(t, n, i, s, r);
e(t, n, s + 1, o, r);
if (n(t[s], t[s + 1]) <= 0) return;
!function (e, t, n, i, o, r) {
for (var s = n, a = i + 1, l = n; l <= o; l++) r[l] = e[l];
for (l = n; l <= o; l++) s > i ? e[l] = r[a++] : a > o ? e[l] = r[s++] : t(r[a], r[s]) < 0 ? e[l] = r[a++] : e[l] = r[s++]
}(t, n, i, s, o, r)
}(e, t, 0, e.length - 1, []), e
}
function i(e, t) {
for (var n = 0; n < e.length; n++) {
if (t(e[n])) return n
}
return -1
}
Object.defineProperty(t, "__esModule", {value: !0}), t.tail = function (e, t) {
return void 0 === t && (t = 0), e[e.length - (1 + t)]
}, t.tail2 = function (e) {
if (0 === e.length) throw new Error("Invalid tail call");
return [e.slice(0, e.length - 1), e[e.length - 1]]
}, t.equals = function (e, t, n) {
if (void 0 === n && (n = function (e, t) {
return e === t
}), e === t) return !0;
if (!e || !t) return !1;
if (e.length !== t.length) return !1;
for (var i = 0, o = e.length; i < o; i++) if (!n(e[i], t[i])) return !1;
return !0
}, t.binarySearch = function (e, t, n) {
for (var i = 0, o = e.length - 1; i <= o;) {
var r = (i + o) / 2 | 0, s = n(e[r], t);
if (s < 0) i = r + 1; else {
if (!(s > 0)) return r;
o = r - 1
}
}
return -(i + 1)
}, t.findFirstInSorted = function (e, t) {
var n = 0, i = e.length;
if (0 === i) return 0;
for (; n < i;) {
var o = Math.floor((n + i) / 2);
t(e[o]) ? i = o : n = o + 1
}
return n
}, t.mergeSort = n, t.groupBy = function (e, t) {
for (var i = [], o = void 0, r = 0, s = n(e.slice(0), t); r < s.length; r++) {
var a = s[r];
o && 0 === t(o[0], a) ? o.push(a) : (o = [a], i.push(o))
}
return i
}, t.coalesce = function (e) {
return e.filter((function (e) {
return !!e
}))
}, t.isFalsyOrEmpty = function (e) {
return !Array.isArray(e) || 0 === e.length
}, t.isNonEmptyArray = function (e) {
return Array.isArray(e) && e.length > 0
}, t.distinct = function (e, t) {
if (!t) return e.filter((function (t, n) {
return e.indexOf(t) === n
}));
var n = Object.create(null);
return e.filter((function (e) {
var i = t(e);
return !n[i] && (n[i] = !0, !0)
}))
}, t.distinctES6 = function (e) {
var t = new Set;
return e.filter((function (e) {
return !t.has(e) && (t.add(e), !0)
}))
}, t.fromSet = function (e) {
var t = [];
return e.forEach((function (e) {
return t.push(e)
})), t
}, t.firstIndex = i, t.first = function (e, t, n) {
void 0 === n && (n = void 0);
var o = i(e, t);
return o < 0 ? n : e[o]
}, t.firstOrDefault = function (e, t) {
return e.length > 0 ? e[0] : t
}, t.flatten = function (e) {
var t;
return (t = []).concat.apply(t, e)
}, t.range = function (e, t) {
var n = "number" == typeof t ? e : 0;
"number" == typeof t ? n = e : (n = 0, t = e);
var i = []
;
if (n <= t) for (var o = n; o < t; o++) i.push(o); else for (o = n; o > t; o--) i.push(o);
return i
}, t.arrayInsert = function (e, t, n) {
var i = e.slice(0, t), o = e.slice(t);
return i.concat(n, o)
}, t.pushToStart = function (e, t) {
var n = e.indexOf(t);
n > -1 && (e.splice(n, 1), e.unshift(t))
}, t.pushToEnd = function (e, t) {
var n = e.indexOf(t);
n > -1 && (e.splice(n, 1), e.push(t))
}, t.find = function (e, t) {
for (var n = 0; n < e.length; n++) {
var i = e[n];
if (t(i, n, e)) return i
}
}, t.asArray = function (e) {
return Array.isArray(e) ? e : [e]
}
})), define(n[124], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0}), t.ok = function (e, t) {
if (!e) throw new Error(t ? "Assertion failed (" + t + ")" : "Assertion Failed")
}
})), define(n[100], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = /(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;
t.escapeCodicons = function (e) {
return e.replace(n, (function (e, t) {
return t ? e : "\\" + e
}))
};
var i = /\\\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;
t.markdownEscapeEscapedCodicons = function (e) {
return e.replace(i, (function (e) {
return "\\" + e
}))
};
var o = /(\\)?\$\((([a-z0-9\-]+?)(?:~([a-z0-9\-]*?))?)\)/gi;
t.renderCodicons = function (e) {
return e.replace(o, (function (e, t, n, i, o) {
return t ? "$(" + n + ")" : ''
}))
}
})), define(n[87], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = Object.prototype.hasOwnProperty;
t.values = function (e) {
var t = [];
for (var i in e) n.call(e, i) && t.push(e[i]);
return t
}, t.first = function (e) {
for (var t in e) if (n.call(e, t)) return e[t]
}, t.forEach = function (e, t) {
var i = function (i) {
if (n.call(e, i) && !1 === t({key: i, value: e[i]}, (function () {
delete e[i]
}))) return {value: void 0}
};
for (var o in e) {
var r = i(o);
if ("object" == typeof r) return r.value
}
};
var i = function () {
function e() {
this.map = new Map
}
return e.prototype.add = function (e, t) {
var n = this.map.get(e);
n || (n = new Set, this.map.set(e, n)), n.add(t)
}, e.prototype.delete = function (e, t) {
var n = this.map.get(e);
n && (n.delete(t), 0 === n.size && this.map.delete(e))
}, e.prototype.forEach = function (e, t) {
var n = this.map.get(e);
n && n.forEach(t)
}, e
}();
t.SetMap = i
})), define(n[27], i([0, 1]), (function (e, t) {
"use strict";
function n(e, t) {
var n = Math.pow(10, t);
return Math.round(e * n) / n
}
Object.defineProperty(t, "__esModule", {value: !0});
var i = function () {
function e(e, t, i, o) {
void 0 === o && (o = 1), this.r = 0 | Math.min(255, Math.max(0, e)), this.g = 0 | Math.min(255, Math.max(0, t)), this.b = 0 | Math.min(255, Math.max(0, i)), this.a = n(Math.max(Math.min(1, o), 0), 3)
}
return e.equals = function (e, t) {
return e.r === t.r && e.g === t.g && e.b === t.b && e.a === t.a
}, e
}();
t.RGBA = i;
var o = function () {
function e(e, t, i, o) {
this.h = 0 | Math.max(Math.min(360, e), 0), this.s = n(Math.max(Math.min(1, t), 0), 3), this.l = n(Math.max(Math.min(1, i), 0), 3), this.a = n(Math.max(Math.min(1, o), 0), 3)
}
return e.equals = function (e, t) {
return e.h === t.h && e.s === t.s && e.l === t.l && e.a === t.a
}, e.fromRGBA = function (t) {
var n = t.r / 255, i = t.g / 255, o = t.b / 255, r = t.a, s = Math.max(n, i, o), a = Math.min(n, i, o),
l = 0, u = 0, d = (a + s) / 2, c = s - a;
if (c > 0) {
switch (u = Math.min(d <= .5 ? c / (2 * d) : c / (2 - 2 * d), 1), s) {
case n:
l = (i - o) / c + (i < o ? 6 : 0);
break;
case i:
l = (o - n) / c + 2;
break
;
case o:
l = (n - i) / c + 4
}
l *= 60, l = Math.round(l)
}
return new e(l, u, d, r)
}, e._hue2rgb = function (e, t, n) {
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + 6 * (t - e) * n : n < .5 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e
}, e.toRGBA = function (t) {
var n, o, r, s = t.h / 360, a = t.s, l = t.l, u = t.a;
if (0 === a) n = o = r = l; else {
var d = l < .5 ? l * (1 + a) : l + a - l * a, c = 2 * l - d;
n = e._hue2rgb(c, d, s + 1 / 3), o = e._hue2rgb(c, d, s), r = e._hue2rgb(c, d, s - 1 / 3)
}
return new i(Math.round(255 * n), Math.round(255 * o), Math.round(255 * r), u)
}, e
}();
t.HSLA = o;
var r = function () {
function e(e, t, i, o) {
this.h = 0 | Math.max(Math.min(360, e), 0), this.s = n(Math.max(Math.min(1, t), 0), 3), this.v = n(Math.max(Math.min(1, i), 0), 3), this.a = n(Math.max(Math.min(1, o), 0), 3)
}
return e.equals = function (e, t) {
return e.h === t.h && e.s === t.s && e.v === t.v && e.a === t.a
}, e.fromRGBA = function (t) {
var n, i = t.r / 255, o = t.g / 255, r = t.b / 255, s = Math.max(i, o, r), a = s - Math.min(i, o, r),
l = 0 === s ? 0 : a / s;
return n = 0 === a ? 0 : s === i ? ((o - r) / a % 6 + 6) % 6 : s === o ? (r - i) / a + 2 : (i - o) / a + 4, new e(Math.round(60 * n), l, s, t.a)
}, e.toRGBA = function (e) {
var t = e.h, n = e.s, o = e.v, r = e.a, s = o * n, a = s * (1 - Math.abs(t / 60 % 2 - 1)), l = o - s,
u = [0, 0, 0], d = u[0], c = u[1], h = u[2];
return t < 60 ? (d = s, c = a) : t < 120 ? (d = a, c = s) : t < 180 ? (c = s, h = a) : t < 240 ? (c = a, h = s) : t < 300 ? (d = a, h = s) : t < 360 && (d = s, h = a), d = Math.round(255 * (d + l)), c = Math.round(255 * (c + l)), h = Math.round(255 * (h + l)), new i(d, c, h, r)
}, e
}();
t.HSVA = r;
var s = function () {
function e(e) {
if (!e) throw new Error("Color needs a value");
if (e instanceof i) this.rgba = e; else if (e instanceof o) this._hsla = e, this.rgba = o.toRGBA(e); else {
if (!(e instanceof r)) throw new Error("Invalid color ctor argument");
this._hsva = e, this.rgba = r.toRGBA(e)
}
}
return e.fromHex = function (t) {
return e.Format.CSS.parseHex(t) || e.red
}, Object.defineProperty(e.prototype, "hsla", {
get: function () {
return this._hsla ? this._hsla : o.fromRGBA(this.rgba)
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "hsva", {
get: function () {
return this._hsva ? this._hsva : r.fromRGBA(this.rgba)
}, enumerable: !0, configurable: !0
}), e.prototype.equals = function (e) {
return !!e && i.equals(this.rgba, e.rgba) && o.equals(this.hsla, e.hsla) && r.equals(this.hsva, e.hsva)
}, e.prototype.getRelativeLuminance = function () {
return n(.2126 * e._relativeLuminanceForComponent(this.rgba.r) + .7152 * e._relativeLuminanceForComponent(this.rgba.g) + .0722 * e._relativeLuminanceForComponent(this.rgba.b), 4)
}, e._relativeLuminanceForComponent = function (e) {
var t = e / 255;
return t <= .03928 ? t / 12.92 : Math.pow((t + .055) / 1.055, 2.4)
}, e.prototype.isLighter = function () {
return (299 * this.rgba.r + 587 * this.rgba.g + 114 * this.rgba.b) / 1e3 >= 128
}, e.prototype.isLighterThan = function (e) {
return this.getRelativeLuminance() > e.getRelativeLuminance()
}, e.prototype.isDarkerThan = function (e) {
return this.getRelativeLuminance() < e.getRelativeLuminance()
}, e.prototype.lighten = function (t) {
return new e(new o(this.hsla.h, this.hsla.s, this.hsla.l + this.hsla.l * t, this.hsla.a))
}, e.prototype.darken = function (t) {
return new e(new o(this.hsla.h, this.hsla.s, this.hsla.l - this.hsla.l * t, this.hsla.a))
}, e.prototype.transparent = function (t) {
var n = this.rgba, o = n.r, r = n.g, s = n.b, a = n.a
;
return new e(new i(o, r, s, a * t))
}, e.prototype.isTransparent = function () {
return 0 === this.rgba.a
}, e.prototype.isOpaque = function () {
return 1 === this.rgba.a
}, e.prototype.opposite = function () {
return new e(new i(255 - this.rgba.r, 255 - this.rgba.g, 255 - this.rgba.b, this.rgba.a))
}, e.prototype.toString = function () {
return "" + e.Format.CSS.format(this)
}, e.getLighterColor = function (e, t, n) {
if (e.isLighterThan(t)) return e;
n = n || .5;
var i = e.getRelativeLuminance(), o = t.getRelativeLuminance();
return n = n * (o - i) / o, e.lighten(n)
}, e.getDarkerColor = function (e, t, n) {
if (e.isDarkerThan(t)) return e;
n = n || .5;
var i = e.getRelativeLuminance();
return n = n * (i - t.getRelativeLuminance()) / i, e.darken(n)
}, e.white = new e(new i(255, 255, 255, 1)), e.black = new e(new i(0, 0, 0, 1)), e.red = new e(new i(255, 0, 0, 1)), e.blue = new e(new i(0, 0, 255, 1)), e.cyan = new e(new i(0, 255, 255, 1)), e.lightgrey = new e(new i(211, 211, 211, 1)), e.transparent = new e(new i(0, 0, 0, 0)), e
}();
t.Color = s, function (e) {
!function (t) {
!function (t) {
function n(e) {
var t = e.toString(16);
return 2 !== t.length ? "0" + t : t
}
function o(e) {
switch (e) {
case 48:
return 0;
case 49:
return 1;
case 50:
return 2;
case 51:
return 3;
case 52:
return 4;
case 53:
return 5;
case 54:
return 6;
case 55:
return 7;
case 56:
return 8;
case 57:
return 9;
case 97:
case 65:
return 10;
case 98:
case 66:
return 11;
case 99:
case 67:
return 12;
case 100:
case 68:
return 13;
case 101:
case 69:
return 14;
case 102:
case 70:
return 15
}
return 0
}
t.formatRGB = function (t) {
return 1 === t.rgba.a ? "rgb(" + t.rgba.r + ", " + t.rgba.g + ", " + t.rgba.b + ")" : e.Format.CSS.formatRGBA(t)
}, t.formatRGBA = function (e) {
return "rgba(" + e.rgba.r + ", " + e.rgba.g + ", " + e.rgba.b + ", " + +e.rgba.a.toFixed(2) + ")"
}, t.formatHSL = function (t) {
return 1 === t.hsla.a ? "hsl(" + t.hsla.h + ", " + (100 * t.hsla.s).toFixed(2) + "%, " + (100 * t.hsla.l).toFixed(2) + "%)" : e.Format.CSS.formatHSLA(t)
}, t.formatHSLA = function (e) {
return "hsla(" + e.hsla.h + ", " + (100 * e.hsla.s).toFixed(2) + "%, " + (100 * e.hsla.l).toFixed(2) + "%, " + e.hsla.a.toFixed(2) + ")"
}, t.formatHex = function (e) {
return "#" + n(e.rgba.r) + n(e.rgba.g) + n(e.rgba.b)
}, t.formatHexA = function (t, i) {
return void 0 === i && (i = !1),
i && 1 === t.rgba.a ? e.Format.CSS.formatHex(t) : "#" + n(t.rgba.r) + n(t.rgba.g) + n(t.rgba.b) + n(Math.round(255 * t.rgba.a))
}, t.format = function (t) {
return t.isOpaque() ? e.Format.CSS.formatHex(t) : e.Format.CSS.formatRGBA(t)
}, t.parseHex = function (t) {
var n = t.length;
if (0 === n) return null;
if (35 !== t.charCodeAt(0)) return null;
if (7 === n) {
var r = 16 * o(t.charCodeAt(1)) + o(t.charCodeAt(2)),
s = 16 * o(t.charCodeAt(3)) + o(t.charCodeAt(4)),
a = 16 * o(t.charCodeAt(5)) + o(t.charCodeAt(6));
return new e(new i(r, s, a, 1))
}
if (9 === n) {
r = 16 * o(t.charCodeAt(1)) + o(t.charCodeAt(2)), s = 16 * o(t.charCodeAt(3)) + o(t.charCodeAt(4)), a = 16 * o(t.charCodeAt(5)) + o(t.charCodeAt(6));
var l = 16 * o(t.charCodeAt(7)) + o(t.charCodeAt(8));
return new e(new i(r, s, a, l / 255))
}
if (4 === n) {
r = o(t.charCodeAt(1)), s = o(t.charCodeAt(2)), a = o(t.charCodeAt(3));
return new e(new i(16 * r + r, 16 * s + s, 16 * a + a))
}
if (5 === n) {
r = o(t.charCodeAt(1)), s = o(t.charCodeAt(2)), a = o(t.charCodeAt(3)), l = o(t.charCodeAt(4));
return new e(new i(16 * r + r, 16 * s + s, 16 * a + a, (16 * l + l) / 255))
}
return null
}
}(t.CSS || (t.CSS = {}))
}(e.Format || (e.Format = {}))
}(s = t.Color || (t.Color = {})), t.Color = s
})), define(n[101], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = 0;
function i() {
var e = "$memoize" + n++, t = void 0, i = function (n, i, o) {
var r = null, s = null;
if ("function" == typeof o.value ? (r = "value", 0 !== (s = o.value).length && console.warn("Memoize should only be used in functions with zero parameters")) : "function" == typeof o.get && (r = "get", s = o.get), !s) throw new Error("not supported");
var a = e + ":" + i;
o[r] = function () {
for (var e = [], n = 0; n < arguments.length; n++) e[n] = arguments[n];
return t = this, this.hasOwnProperty(a) || Object.defineProperty(this, a, {
configurable: !0,
enumerable: !1,
writable: !0,
value: s.apply(this, e)
}), this[a]
}
};
return i.clear = function () {
void 0 !== t && Object.getOwnPropertyNames(t).forEach((function (n) {
0 === n.indexOf(e) && delete t[n]
}))
}, i
}
t.createMemoizer = i, t.memoize = function (e, t, n) {
return i()(e, t, n)
}
})), define(n[241], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = function () {
function e(e, t, n, i) {
this.originalStart = e, this.originalLength = t, this.modifiedStart = n, this.modifiedLength = i
}
return e.prototype.getOriginalEnd = function () {
return this.originalStart + this.originalLength
}, e.prototype.getModifiedEnd = function () {
return this.modifiedStart + this.modifiedLength
}, e
}();
t.DiffChange = n
})), define(n[10], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = function () {
function e() {
this.listeners = [], this.unexpectedErrorHandler = function (e) {
setTimeout((function () {
if (e.stack) throw new Error(e.message + "\n\n" + e.stack);
throw e
}), 0)
}
}
return e.prototype.emit = function (e) {
this.listeners.forEach((function (t) {
t(e)
}))
}, e.prototype.onUnexpectedError = function (e) {
this.unexpectedErrorHandler(e), this.emit(e)
}, e.prototype.onUnexpectedExternalError = function (e) {
this.unexpectedErrorHandler(e)
}, e
}();
t.ErrorHandler = n, t.errorHandler = new n, t.onUnexpectedError = function (e) {
o(e) || t.errorHandler.onUnexpectedError(e)
}, t.onUnexpectedExternalError = function (e) {
o(e) || t.errorHandler.onUnexpectedExternalError(e)
},
t.transformErrorForSerialization = function (e) {
return e instanceof Error ? {
$isError: !0,
name: e.name,
message: e.message,
stack: e.stacktrace || e.stack
} : e
};
var i = "Canceled";
function o(e) {
return e instanceof Error && e.name === i && e.message === i
}
t.isPromiseCanceledError = o, t.canceled = function () {
var e = new Error(i);
return e.name = e.message, e
}, t.illegalArgument = function (e) {
return e ? new Error("Illegal argument: " + e) : new Error("Illegal argument")
}, t.illegalState = function (e) {
return e ? new Error("Illegal state: " + e) : new Error("Illegal state")
}
})), define(n[102], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0}), t.once = function (e) {
var t, n = this, i = !1;
return function () {
return i ? t : (i = !0, t = e.apply(n, arguments))
}
}
})), define(n[125], i([0, 1]), (function (e, t) {
"use strict";
function n(e, t) {
switch (void 0 === t && (t = 0), typeof e) {
case"object":
return null === e ? i(349, t) : Array.isArray(e) ? (r = e, s = i(104579, s = t), r.reduce((function (e, t) {
return n(t, e)
}), s)) : function (e, t) {
return t = i(181387, t),
Object.keys(e).sort().reduce((function (t, i) {
return t = o(i, t), n(e[i], t)
}), t)
}(e, t);
case"string":
return o(e, t);
case"boolean":
return function (e, t) {
return i(e ? 433 : 863, t)
}(e, t);
case"number":
return i(e, t);
case"undefined":
return i(0, 937);
default:
return i(0, 617)
}
var r, s
}
function i(e, t) {
return (t << 5) - t + e | 0
}
function o(e, t) {
t = i(149417, t);
for (var n = 0, o = e.length; n < o; n++) t = i(e.charCodeAt(n), t);
return t
}
Object.defineProperty(t, "__esModule", {value: !0}), t.hash = n, t.stringHash = o
})), define(n[126], i([0, 1, 241, 125]), (function (e, t, n, i) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var o = function () {
function e(e) {
this.source = e
}
return e.prototype.getElements = function () {
for (var e = this.source, t = new Int32Array(e.length), n = 0, i = e.length; n < i; n++) t[n] = e.charCodeAt(n);
return t
}, e
}();
t.StringDiffSequence = o, t.stringDiff = function (e, t, n) {
return new l(new o(e), new o(t)).ComputeDiff(n).changes
};
var r = function () {
function e() {
}
return e.Assert = function (e, t) {
if (!e) throw new Error(t)
}, e
}();
t.Debug = r;
var s = function () {
function e() {
}
return e.Copy = function (e, t, n, i, o) {
for (var r = 0; r < o; r++) n[i + r] = e[t + r]
}, e.Copy2 = function (e, t, n, i, o) {
for (var r = 0; r < o; r++) n[i + r] = e[t + r]
}, e
}();
t.MyArray = s;
var a = function () {
function e() {
this.m_changes = [], this.m_originalStart = 1073741824, this.m_modifiedStart = 1073741824, this.m_originalCount = 0, this.m_modifiedCount = 0
}
return e.prototype.MarkNextChange = function () {
(this.m_originalCount > 0 || this.m_modifiedCount > 0) && this.m_changes.push(new n.DiffChange(this.m_originalStart, this.m_originalCount, this.m_modifiedStart, this.m_modifiedCount)), this.m_originalCount = 0, this.m_modifiedCount = 0, this.m_originalStart = 1073741824, this.m_modifiedStart = 1073741824
}, e.prototype.AddOriginalElement = function (e, t) {
this.m_originalStart = Math.min(this.m_originalStart, e), this.m_modifiedStart = Math.min(this.m_modifiedStart, t), this.m_originalCount++
}, e.prototype.AddModifiedElement = function (e, t) {
this.m_originalStart = Math.min(this.m_originalStart, e), this.m_modifiedStart = Math.min(this.m_modifiedStart, t), this.m_modifiedCount++
}, e.prototype.getChanges = function () {
return (this.m_originalCount > 0 || this.m_modifiedCount > 0) && this.MarkNextChange(), this.m_changes
}, e.prototype.getReverseChanges = function () {
return (this.m_originalCount > 0 || this.m_modifiedCount > 0) && this.MarkNextChange(), this.m_changes.reverse(), this.m_changes
}, e
}(), l = function () {
function e(t, n, i) {
void 0 === i && (i = null), this.ContinueProcessingPredicate = i;
var o = e._getElements(t), r = o[0], s = o[1], a = o[2], l = e._getElements(n), u = l[0], d = l[1],
c = l[2];
this._hasStrings = a && c, this._originalStringElements = r, this._originalElementsOrHash = s, this._modifiedStringElements = u, this._modifiedElementsOrHash = d, this.m_forwardHistory = [], this.m_reverseHistory = []
}
return e._isStringArray = function (e) {
return e.length > 0 && "string" == typeof e[0]
}, e._getElements = function (t) {
var n = t.getElements();
if (e._isStringArray(n)) {
for (var o = new Int32Array(n.length), r = 0, s = n.length; r < s; r++) o[r] = i.stringHash(n[r], 0);
return [n, o, !0]
}
return n instanceof Int32Array ? [[], n, !1] : [[], new Int32Array(n), !1]
}, e.prototype.ElementsAreEqual = function (e, t) {
return this._originalElementsOrHash[e] === this._modifiedElementsOrHash[t] && (!this._hasStrings || this._originalStringElements[e] === this._modifiedStringElements[t])
}, e.prototype.OriginalElementsAreEqual = function (e, t) {
return this._originalElementsOrHash[e] === this._originalElementsOrHash[t] && (!this._hasStrings || this._originalStringElements[e] === this._originalStringElements[t])
}, e.prototype.ModifiedElementsAreEqual = function (e, t) {
return this._modifiedElementsOrHash[e] === this._modifiedElementsOrHash[t] && (!this._hasStrings || this._modifiedStringElements[e] === this._modifiedStringElements[t])
}, e.prototype.ComputeDiff = function (e) {
return this._ComputeDiff(0, this._originalElementsOrHash.length - 1, 0, this._modifiedElementsOrHash.length - 1, e)
}, e.prototype._ComputeDiff = function (e, t, n, i, o) {
var r = [!1], s = this.ComputeDiffRecursive(e, t, n, i, r);
return o && (s = this.PrettifyChanges(s)), {quitEarly: r[0], changes: s}
}, e.prototype.ComputeDiffRecursive = function (e, t, i, o, s) {
for (s[0] = !1; e <= t && i <= o && this.ElementsAreEqual(e, i);) e++, i++
;
for (; t >= e && o >= i && this.ElementsAreEqual(t, o);) t--, o--;
if (e > t || i > o) {
var a = void 0;
return i <= o ? (r.Assert(e === t + 1, "originalStart should only be one more than originalEnd"), a = [new n.DiffChange(e, 0, i, o - i + 1)]) : e <= t ? (r.Assert(i === o + 1, "modifiedStart should only be one more than modifiedEnd"), a = [new n.DiffChange(e, t - e + 1, i, 0)]) : (r.Assert(e === t + 1, "originalStart should only be one more than originalEnd"), r.Assert(i === o + 1, "modifiedStart should only be one more than modifiedEnd"), a = []), a
}
var l = [0], u = [0], d = this.ComputeRecursionPoint(e, t, i, o, l, u, s), c = l[0], h = u[0];
if (null !== d) return d;
if (!s[0]) {
var p = this.ComputeDiffRecursive(e, c, i, h, s), g = [];
return g = s[0] ? [new n.DiffChange(c + 1, t - (c + 1) + 1, h + 1, o - (h + 1) + 1)] : this.ComputeDiffRecursive(c + 1, t, h + 1, o, s), this.ConcatenateChanges(p, g)
}
return [new n.DiffChange(e, t - e + 1, i, o - i + 1)]
}, e.prototype.WALKTRACE = function (e, t, i, o, r, s, l, u, d, c, h, p, g, f, m, v, _, y) {
var C, b = null, S = new a, w = t, E = i, L = g[0] - v[0] - o, D = -1073741824,
N = this.m_forwardHistory.length - 1;
do {
(k = L + e) === w || k < E && d[k - 1] < d[k + 1] ? (f = (h = d[k + 1]) - L - o,
h < D && S.MarkNextChange(), D = h, S.AddModifiedElement(h + 1, f), L = k + 1 - e) : (f = (h = d[k - 1] + 1) - L - o, h < D && S.MarkNextChange(), D = h - 1, S.AddOriginalElement(h, f + 1), L = k - 1 - e), N >= 0 && (e = (d = this.m_forwardHistory[N])[0], w = 1, E = d.length - 1)
} while (--N >= -1);
if (C = S.getReverseChanges(), y[0]) {
var x = g[0] + 1, I = v[0] + 1;
if (null !== C && C.length > 0) {
var M = C[C.length - 1];
x = Math.max(x, M.getOriginalEnd()), I = Math.max(I, M.getModifiedEnd())
}
b = [new n.DiffChange(x, p - x + 1, I, m - I + 1)]
} else {
S = new a, w = s, E = l, L = g[0] - v[0] - u, D = 1073741824, N = _ ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;
do {
var k;
(k = L + r) === w || k < E && c[k - 1] >= c[k + 1] ? (f = (h = c[k + 1] - 1) - L - u, h > D && S.MarkNextChange(), D = h + 1, S.AddOriginalElement(h + 1, f + 1), L = k + 1 - r) : (f = (h = c[k - 1]) - L - u, h > D && S.MarkNextChange(), D = h, S.AddModifiedElement(h + 1, f + 1), L = k - 1 - r), N >= 0 && (r = (c = this.m_reverseHistory[N])[0], w = 1, E = c.length - 1)
} while (--N >= -1);
b = S.getChanges()
}
return this.ConcatenateChanges(C, b)
}, e.prototype.ComputeRecursionPoint = function (e, t, i, o, r, a, l) {
var u = 0, d = 0, c = 0, h = 0, p = 0, g = 0;
e--, i--, r[0] = 0, a[0] = 0, this.m_forwardHistory = [],
this.m_reverseHistory = [];
var f = t - e + (o - i), m = f + 1, v = new Int32Array(m), _ = new Int32Array(m), y = o - i, C = t - e,
b = e - i, S = t - o, w = (C - y) % 2 == 0;
v[y] = e, _[C] = t, l[0] = !1;
for (var E = 1; E <= f / 2 + 1; E++) {
var L = 0, D = 0;
c = this.ClipDiagonalBound(y - E, E, y, m), h = this.ClipDiagonalBound(y + E, E, y, m);
for (var N = c; N <= h; N += 2) {
d = (u = N === c || N < h && v[N - 1] < v[N + 1] ? v[N + 1] : v[N - 1] + 1) - (N - y) - b;
for (var x = u; u < t && d < o && this.ElementsAreEqual(u + 1, d + 1);) u++, d++;
if (v[N] = u, u + d > L + D && (L = u, D = d), !w && Math.abs(N - C) <= E - 1 && u >= _[N]) return r[0] = u, a[0] = d, x <= _[N] && E <= 1448 ? this.WALKTRACE(y, c, h, b, C, p, g, S, v, _, u, t, r, d, o, a, w, l) : null
}
var I = (L - e + (D - i) - E) / 2;
if (null !== this.ContinueProcessingPredicate && !this.ContinueProcessingPredicate(L, I)) return l[0] = !0, r[0] = L, a[0] = D, I > 0 && E <= 1448 ? this.WALKTRACE(y, c, h, b, C, p, g, S, v, _, u, t, r, d, o, a, w, l) : (e++, i++, [new n.DiffChange(e, t - e + 1, i, o - i + 1)]);
p = this.ClipDiagonalBound(C - E, E, C, m), g = this.ClipDiagonalBound(C + E, E, C, m);
for (N = p; N <= g; N += 2) {
d = (u = N === p || N < g && _[N - 1] >= _[N + 1] ? _[N + 1] - 1 : _[N - 1]) - (N - C) - S;
for (x = u; u > e && d > i && this.ElementsAreEqual(u, d);) u--, d--;
if (_[N] = u,
w && Math.abs(N - y) <= E && u <= v[N]) return r[0] = u, a[0] = d, x >= v[N] && E <= 1448 ? this.WALKTRACE(y, c, h, b, C, p, g, S, v, _, u, t, r, d, o, a, w, l) : null
}
if (E <= 1447) {
var M = new Int32Array(h - c + 2);
M[0] = y - c + 1, s.Copy2(v, c, M, 1, h - c + 1), this.m_forwardHistory.push(M), (M = new Int32Array(g - p + 2))[0] = C - p + 1, s.Copy2(_, p, M, 1, g - p + 1), this.m_reverseHistory.push(M)
}
}
return this.WALKTRACE(y, c, h, b, C, p, g, S, v, _, u, t, r, d, o, a, w, l)
}, e.prototype.PrettifyChanges = function (e) {
for (var t = 0; t < e.length; t++) {
for (var n = e[t], i = t < e.length - 1 ? e[t + 1].originalStart : this._originalElementsOrHash.length, o = t < e.length - 1 ? e[t + 1].modifiedStart : this._modifiedElementsOrHash.length, r = n.originalLength > 0, s = n.modifiedLength > 0; n.originalStart + n.originalLength < i && n.modifiedStart + n.modifiedLength < o && (!r || this.OriginalElementsAreEqual(n.originalStart, n.originalStart + n.originalLength)) && (!s || this.ModifiedElementsAreEqual(n.modifiedStart, n.modifiedStart + n.modifiedLength));) n.originalStart++, n.modifiedStart++;
var a = [null];
t < e.length - 1 && this.ChangesOverlap(e[t], e[t + 1], a) && (e[t] = a[0], e.splice(t + 1, 1), t--)
}
for (t = e.length - 1; t >= 0; t--) {
n = e[t], i = 0, o = 0;
if (t > 0) {
var l = e[t - 1];
l.originalLength > 0 && (i = l.originalStart + l.originalLength), l.modifiedLength > 0 && (o = l.modifiedStart + l.modifiedLength)
}
r = n.originalLength > 0, s = n.modifiedLength > 0;
for (var u = 0, d = this._boundaryScore(n.originalStart, n.originalLength, n.modifiedStart, n.modifiedLength), c = 1; ; c++) {
var h = n.originalStart - c, p = n.modifiedStart - c;
if (h < i || p < o) break;
if (r && !this.OriginalElementsAreEqual(h, h + n.originalLength)) break;
if (s && !this.ModifiedElementsAreEqual(p, p + n.modifiedLength)) break;
var g = this._boundaryScore(h, n.originalLength, p, n.modifiedLength);
g > d && (d = g, u = c)
}
n.originalStart -= u, n.modifiedStart -= u
}
return e
}, e.prototype._OriginalIsBoundary = function (e) {
return e <= 0 || e >= this._originalElementsOrHash.length - 1 || this._hasStrings && /^\s*$/.test(this._originalStringElements[e])
}, e.prototype._OriginalRegionIsBoundary = function (e, t) {
if (this._OriginalIsBoundary(e) || this._OriginalIsBoundary(e - 1)) return !0;
if (t > 0) {
var n = e + t
;
if (this._OriginalIsBoundary(n - 1) || this._OriginalIsBoundary(n)) return !0
}
return !1
}, e.prototype._ModifiedIsBoundary = function (e) {
return e <= 0 || e >= this._modifiedElementsOrHash.length - 1 || this._hasStrings && /^\s*$/.test(this._modifiedStringElements[e])
}, e.prototype._ModifiedRegionIsBoundary = function (e, t) {
if (this._ModifiedIsBoundary(e) || this._ModifiedIsBoundary(e - 1)) return !0;
if (t > 0) {
var n = e + t;
if (this._ModifiedIsBoundary(n - 1) || this._ModifiedIsBoundary(n)) return !0
}
return !1
}, e.prototype._boundaryScore = function (e, t, n, i) {
return (this._OriginalRegionIsBoundary(e, t) ? 1 : 0) + (this._ModifiedRegionIsBoundary(n, i) ? 1 : 0)
}, e.prototype.ConcatenateChanges = function (e, t) {
var n = [];
if (0 === e.length || 0 === t.length) return t.length > 0 ? t : e;
if (this.ChangesOverlap(e[e.length - 1], t[0], n)) {
var i = new Array(e.length + t.length - 1);
return s.Copy(e, 0, i, 0, e.length - 1), i[e.length - 1] = n[0], s.Copy(t, 1, i, e.length, t.length - 1), i
}
i = new Array(e.length + t.length);
return s.Copy(e, 0, i, 0, e.length), s.Copy(t, 0, i, e.length, t.length), i
}, e.prototype.ChangesOverlap = function (e, t, i) {
if (r.Assert(e.originalStart <= t.originalStart, "Left change is not less than or equal to right change"), r.Assert(e.modifiedStart <= t.modifiedStart, "Left change is not less than or equal to right change"), e.originalStart + e.originalLength >= t.originalStart || e.modifiedStart + e.modifiedLength >= t.modifiedStart) {
var o = e.originalStart, s = e.originalLength, a = e.modifiedStart, l = e.modifiedLength;
return e.originalStart + e.originalLength >= t.originalStart && (s = t.originalStart + t.originalLength - e.originalStart), e.modifiedStart + e.modifiedLength >= t.modifiedStart && (l = t.modifiedStart + t.modifiedLength - e.modifiedStart), i[0] = new n.DiffChange(o, s, a, l), !0
}
return i[0] = null, !1
}, e.prototype.ClipDiagonalBound = function (e, t, n, i) {
if (e >= 0 && e < i) return e;
var o = t % 2 == 0;
return e < 0 ? o === (n % 2 == 0) ? 0 : 1 : o === ((i - n - 1) % 2 == 0) ? i - 1 : i - 2
}, e
}();
t.LcsDiff = l
})), define(n[75], i([0, 1, 19, 100]), (function (e, t, n, i) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var o = function () {
function e(e, t) {
var n, i;
void 0 === e && (e = ""), void 0 === t && (t = !1), this._value = e,
"boolean" == typeof t ? (this._isTrusted = t, this._supportThemeIcons = !1) : (this._isTrusted = null !== (n = t.isTrusted) && void 0 !== n && n, this._supportThemeIcons = null !== (i = t.supportThemeIcons) && void 0 !== i && i)
}
return Object.defineProperty(e.prototype, "value", {
get: function () {
return this._value
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "isTrusted", {
get: function () {
return this._isTrusted
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "supportThemeIcons", {
get: function () {
return this._supportThemeIcons
}, enumerable: !0, configurable: !0
}), e.prototype.appendText = function (e) {
return this._value += (this._supportThemeIcons ? i.escapeCodicons(e) : e).replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&").replace("\n", "\n\n"), this
}, e.prototype.appendMarkdown = function (e) {
return this._value += e, this
}, e.prototype.appendCodeblock = function (e, t) {
return this._value += "\n```", this._value += e, this._value += "\n", this._value += t, this._value += "\n```\n", this
}, e
}();
function r(e) {
return e instanceof o || !(!e || "object" != typeof e) && !("string" != typeof e.value || "boolean" != typeof e.isTrusted && void 0 !== e.isTrusted || "boolean" != typeof e.supportThemeIcons && void 0 !== e.supportThemeIcons)
}
function s(e, t) {
return e === t || !(!e || !t) && (e.value === t.value && e.isTrusted === t.isTrusted && e.supportThemeIcons === t.supportThemeIcons)
}
t.MarkdownString = o, t.isEmptyMarkdownString = function e(t) {
return r(t) ? !t.value : !Array.isArray(t) || t.every(e)
}, t.isMarkdownString = r, t.markedStringsEquals = function (e, t) {
return !e && !t || !(!e || !t) && (Array.isArray(e) && Array.isArray(t) ? n.equals(e, t, s) : !(!r(e) || !r(t)) && s(e, t))
}, t.removeMarkdownEscapes = function (e) {
return e ? e.replace(/\\([\\`*_{}[\]()#+\-.!])/g, "$1") : e
}, t.parseHrefAndDimensions = function (e) {
var t = [], n = e.split("|").map((function (e) {
return e.trim()
}));
e = n[0];
var i = n[1];
if (i) {
var o = /height=(\d+)/.exec(i), r = /width=(\d+)/.exec(i), s = o ? o[1] : "", a = r ? r[1] : "",
l = isFinite(parseInt(a)), u = isFinite(parseInt(s));
l && t.push('width="' + a + '"'), u && t.push('height="' + s + '"')
}
return {href: e, dimensions: t}
}
})), define(n[127], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = function () {
function e(e) {
this._prefix = e, this._lastId = 0
}
return e.prototype.nextId = function () {
return this._prefix + ++this._lastId
}, e
}();
t.IdGenerator = n, t.defaultGenerator = new n("id#")
})), function e(t, n, i) {
function o(s, a) {
if (!n[s]) {
if (!t[s]) {
var l = "function" == typeof require && require;
if (!a && l) return l(s, !0);
if (r) return r(s, !0);
var u = new Error("Cannot find module '" + s + "'");
throw u.code = "MODULE_NOT_FOUND", u
}
var d = n[s] = {exports: {}};
t[s][0].call(d.exports, (function (e) {
return o(t[s][1][e] || e)
}), d, d.exports, e, t, n, i)
}
return n[s].exports
}
for (var r = "function" == typeof require && require, s = 0; s < i.length; s++) o(i[s]);
return o
}({
1: [function (e, t, n) {
"use strict";
var i = e("./toMap");
t.exports = {uris: i(["background", "base", "cite", "href", "longdesc", "src", "usemap"])}
}, {"./toMap": 10}], 2: [function (e, t, n) {
"use strict";
t.exports = {
allowedAttributes: {
"*": ["title", "accesskey"], a: ["href", "name", "target", "aria-label"],
iframe: ["allowfullscreen", "frameborder", "src"], img: ["src", "alt", "title", "aria-label"]
},
allowedClasses: {},
allowedSchemes: ["http", "https", "mailto"],
allowedTags: ["a", "abbr", "article", "b", "blockquote", "br", "caption", "code", "del", "details", "div", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "img", "ins", "kbd", "li", "main", "mark", "ol", "p", "pre", "section", "span", "strike", "strong", "sub", "summary", "sup", "table", "tbody", "td", "th", "thead", "tr", "u", "ul"],
filter: null
}
}, {}], 3: [function (e, t, n) {
"use strict";
var i = e("./toMap");
t.exports = {voids: i(["area", "br", "col", "hr", "img", "wbr", "input", "base", "basefont", "link", "meta"])}
}, {"./toMap": 10}], 4: [function (e, t, n) {
"use strict";
e("he");
var i = e("assignment"), o = e("./parser"), r = e("./sanitizer"), a = e("./defaults");
function l(e, t, n) {
var s = [], l = !0 === n ? t : i({}, a, t), u = r(s, l);
return o(e, u), s.join("")
}
l.defaults = a, t.exports = l, s = l
}, {"./defaults": 2, "./parser": 7, "./sanitizer": 8, assignment: 6, he: 9}], 5: [function (e, t, n) {
"use strict";
t.exports = function (e) {
return "string" == typeof e ? e.toLowerCase() : e
}
}, {}],
6: [function (e, t, n) {
"use strict";
t.exports = function e(t) {
for (var n, i, o = Array.prototype.slice.call(arguments, 1); o.length;) for (i in n = o.shift()) n.hasOwnProperty(i) && ("[object Object]" === Object.prototype.toString.call(t[i]) ? t[i] = e(t[i], n[i]) : t[i] = n[i]);
return t
}
}, {}], 7: [function (e, t, n) {
"use strict";
var i = e("he"), o = e("./lowercase"), r = (e("./attributes"), e("./elements")),
s = /^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,
a = /^<\s*\/\s*([\w:-]+)[^>]*>/,
l = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g, u = /^, d = /^<\s*\//;
t.exports = function (e, t) {
for (var n, c = function () {
var e = [];
return e.lastItem = function () {
return e[e.length - 1]
}, e
}(), h = e; e;) p();
function p() {
n = !0, function () {
"\x3c!--" === e.substr(0, 4) ? (i = e.indexOf("--\x3e")) >= 0 && (t.comment && t.comment(e.substring(4, i)), e = e.substring(i + 3), n = !1) : d.test(e) ? g(a, m) : u.test(e) && g(s, f);
var i;
!function () {
if (!n) return;
var i, o = e.indexOf("<");
o >= 0 ? (i = e.substring(0, o), e = e.substring(o)) : (i = e, e = "");
t.chars && t.chars(i)
}()
}();
var i = e === h;
h = e, i && (e = "")
}
function g(t, i) {
var o = e.match(t);
o && (e = e.substring(o[0].length), o[0].replace(t, i), n = !1)
}
function f(e, n, s, a) {
var u = {}, d = o(n), h = r.voids[d] || !!a;
s.replace(l, (function (e, t, n, o, r) {
u[t] = void 0 === n && void 0 === o && void 0 === r ? void 0 : i.decode(n || o || r || "")
})), h || c.push(d), t.start && t.start(d, u, h)
}
function m(e, n) {
var i, r = 0, s = o(n);
if (s) for (r = c.length - 1; r >= 0 && c[r] !== s; r--) ;
if (r >= 0) {
for (i = c.length - 1; i >= r; i--) t.end && t.end(c[i]);
c.length = r
}
}
m()
}
}, {"./attributes": 1, "./elements": 3, "./lowercase": 5, he: 9}], 8: [function (e, t, n) {
"use strict";
var i = e("he"), o = e("./lowercase"), r = e("./attributes"), s = e("./elements");
t.exports = function (e, t) {
var n, a = t || {};
return c(), {
start: function (e, t, s) {
var d = o(e);
if (n.ignoring) return void u(d);
if (-1 === (a.allowedTags || []).indexOf(d)) return void u(d);
if (a.filter && !a.filter({tag: d, attrs: t})) return void u(d);
l("<"), l(d), Object.keys(t).forEach((function (e) {
var n = t[e], s = (a.allowedClasses || {})[d] || [],
u = (a.allowedAttributes || {})[d] || [];
u = u.concat((a.allowedAttributes || {})["*"] || [])
;var c = o(e);
("class" === c && -1 === u.indexOf(c) ? (n = n.split(" ").filter((function (e) {
return s && -1 !== s.indexOf(e)
})).join(" ").trim()).length : -1 !== u.indexOf(c) && (!0 !== r.uris[c] || function (e) {
var t = e[0];
if ("#" === t || "/" === t) return !0;
var n = e.indexOf(":");
if (-1 === n) return !0;
var i = e.indexOf("?");
if (-1 !== i && n > i) return !0;
var o = e.indexOf("#");
if (-1 !== o && n > o) return !0;
return a.allowedSchemes.some((function (t) {
return 0 === e.indexOf(t + ":")
}))
}(n))) && (l(" "), l(e), "string" == typeof n && (l('="'), l(i.encode(n)), l('"')))
})), l(s ? "/>" : ">")
}, end: function (e) {
var t = o(e);
-1 !== (a.allowedTags || []).indexOf(t) && !1 === n.ignoring ? (l(""), l(t), l(">")) : d(t)
}, chars: function (e) {
!1 === n.ignoring && l(a.transformText ? a.transformText(e) : e)
}
};
function l(t) {
e.push(t)
}
function u(e) {
s.voids[e] || (!1 === n.ignoring ? n = {ignoring: e, depth: 1} : n.ignoring === e && n.depth++)
}
function d(e) {
n.ignoring === e && --n.depth <= 0 && c()
}
function c() {
n = {ignoring: !1, depth: 0}
}
}
}, {"./attributes": 1, "./elements": 3, "./lowercase": 5, he: 9}], 9: [function (e, t, n) {
"use strict";
var i = {
"&": "&",
"<": "<", ">": ">", '"': """, "'": "'"
}, o = {"&": "&", "<": "<", ">": ">", """: '"', "'": "'"},
r = /(&|<|>|"|')/g, s = /[&<>"']/g;
function a(e) {
return i[e]
}
function l(e) {
return o[e]
}
function u(e) {
return null == e ? "" : String(e).replace(s, a)
}
function d(e) {
return null == e ? "" : String(e).replace(r, l)
}
u.options = d.options = {}, t.exports = {
encode: u,
escape: u,
decode: d,
unescape: d,
version: "1.0.0-browser"
}
}, {}], 10: [function (e, t, n) {
"use strict";
function i(e, t) {
return e[t] = !0, e
}
t.exports = function (e) {
return e.reduce(i, {})
}
}, {}]
}, {}, [4]), define("vs/base/common/insane/insane", (function () {
return {insane: s}
})), define(n[54], i([0, 1]), (function (e, t) {
"use strict";
var n;
Object.defineProperty(t, "__esModule", {value: !0}), t.FIN = {done: !0, value: void 0}, function (e) {
var n = {
next: function () {
return t.FIN
}
};
e.empty = function () {
return n
}, e.single = function (e) {
var n = !1;
return {
next: function () {
return n ? t.FIN : (n = !0, {done: !1, value: e})
}
}
}, e.fromArray = function (e, n, i) {
return void 0 === n && (n = 0), void 0 === i && (i = e.length), {
next: function () {
return n >= i ? t.FIN : {done: !1, value: e[n++]}
}
}
}, e.fromNativeIterator = function (e) {
return {
next: function () {
var n = e.next();
return n.done ? t.FIN : {done: !1, value: n.value}
}
}
}, e.from = function (t) {
return t ? Array.isArray(t) ? e.fromArray(t) : t : e.empty()
}, e.map = function (e, n) {
return {
next: function () {
var i = e.next();
return i.done ? t.FIN : {done: !1, value: n(i.value)}
}
}
}, e.filter = function (e, n) {
return {
next: function () {
for (; ;) {
var i = e.next();
if (i.done) return t.FIN;
if (n(i.value)) return {done: !1, value: i.value}
}
}
}
}, e.forEach = function (e, t) {
for (var n = e.next(); !n.done; n = e.next()) t(n.value)
}, e.collect = function (e, t) {
void 0 === t && (t = Number.POSITIVE_INFINITY);
var n = [];
if (0 === t) return n;
for (var i = 0, o = e.next(); !o.done && (n.push(o.value), !(++i >= t)); o = e.next()) ;
return n
}, e.concat = function () {
for (var e = [], n = 0; n < arguments.length; n++) e[n] = arguments[n];
var i = 0;
return {
next: function () {
if (i >= e.length) return t.FIN;
var n = e[i].next();
return n.done ? (i++, this.next()) : n
}
}
}, e.chain = function (e) {
return new i(e)
}
}(n = t.Iterator || (t.Iterator = {}));
var i = function () {
function e(e) {
this.it = e
}
return e.prototype.next = function () {
return this.it.next()
}, e
}();
t.ChainableIterator = i, t.getSequenceIterator = function (e) {
return Array.isArray(e) ? n.fromArray(e) : e || n.empty()
};
var o = function () {
function e(e, t, n, i) {
void 0 === t && (t = 0), void 0 === n && (n = e.length), void 0 === i && (i = t - 1), this.items = e, this.start = t, this.end = n, this.index = i
}
return e.prototype.first = function () {
return this.index = this.start, this.current()
}, e.prototype.next = function () {
return this.index = Math.min(this.index + 1, this.end), this.current()
}, e.prototype.current = function () {
return this.index === this.start - 1 || this.index === this.end ? null : this.items[this.index]
}, e
}();
t.ArrayIterator = o;
var s = function (e) {
function t(t, n, i, o) {
return void 0 === n && (n = 0), void 0 === i && (i = t.length), void 0 === o && (o = n - 1), e.call(this, t, n, i, o) || this
}
return r(t, e), t.prototype.current = function () {
return e.prototype.current.call(this)
}, t.prototype.previous = function () {
return this.index = Math.max(this.index - 1, this.start - 1), this.current()
}, t.prototype.first = function () {
return this.index = this.start, this.current()
}, t.prototype.last = function () {
return this.index = this.end - 1, this.current()
}, t.prototype.parent = function () {
return null
}, t
}(o);
t.ArrayNavigator = s;
var a = function () {
function e(e, t) {
this.iterator = e, this.fn = t
}
return e.prototype.next = function () {
return this.fn(this.iterator.next())
}, e
}();
t.MappedIterator = a
})), define(n[242], i([0, 1, 54]), (function (e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var i = function () {
function e(e, t) {
void 0 === e && (e = []), void 0 === t && (t = 10), this._initialize(e), this._limit = t, this._onChange()
}
return e.prototype.add = function (e) {
this._history.delete(e), this._history.add(e), this._onChange()
}, e.prototype.next = function () {
return this._navigator.next()
}, e.prototype.previous = function () {
return this._navigator.previous()
}, e.prototype.current = function () {
return this._navigator.current()
}, e.prototype.parent = function () {
return null
}, e.prototype.first = function () {
return this._navigator.first()
}, e.prototype.last = function () {
return this._navigator.last()
},
e.prototype.has = function (e) {
return this._history.has(e)
}, e.prototype._onChange = function () {
this._reduceToLimit();
var e = this._elements;
this._navigator = new n.ArrayNavigator(e, 0, e.length, e.length)
}, e.prototype._reduceToLimit = function () {
var e = this._elements;
e.length > this._limit && this._initialize(e.slice(e.length - this._limit))
}, e.prototype._initialize = function (e) {
this._history = new Set;
for (var t = 0, n = e; t < n.length; t++) {
var i = n[t];
this._history.add(i)
}
}, Object.defineProperty(e.prototype, "_elements", {
get: function () {
var e = [];
return this._history.forEach((function (t) {
return e.push(t)
})), e
}, enumerable: !0, configurable: !0
}), e
}();
t.HistoryNavigator = i
})), define(n[36], i([0, 1, 10]), (function (e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var i = function () {
function e() {
this._keyCodeToStr = [], this._strToKeyCode = Object.create(null)
}
return e.prototype.define = function (e, t) {
this._keyCodeToStr[e] = t, this._strToKeyCode[t.toLowerCase()] = e
}, e.prototype.keyCodeToStr = function (e) {
return this._keyCodeToStr[e]
},
e.prototype.strToKeyCode = function (e) {
return this._strToKeyCode[e.toLowerCase()] || 0
}, e
}(), o = new i, r = new i, s = new i;
function a(e, t) {
var n = !!(2048 & e), i = !!(256 & e);
return new l(2 === t ? i : n, !!(1024 & e), !!(512 & e), 2 === t ? n : i, 255 & e)
}
!function () {
function e(e, t, n, i) {
void 0 === n && (n = t), void 0 === i && (i = n), o.define(e, t), r.define(e, n), s.define(e, i)
}
e(0, "unknown"), e(1, "Backspace"), e(2, "Tab"), e(3, "Enter"), e(4, "Shift"), e(5, "Ctrl"), e(6, "Alt"), e(7, "PauseBreak"), e(8, "CapsLock"), e(9, "Escape"), e(10, "Space"), e(11, "PageUp"), e(12, "PageDown"), e(13, "End"), e(14, "Home"), e(15, "LeftArrow", "Left"), e(16, "UpArrow", "Up"), e(17, "RightArrow", "Right"), e(18, "DownArrow", "Down"), e(19, "Insert"), e(20, "Delete"), e(21, "0"), e(22, "1"), e(23, "2"), e(24, "3"), e(25, "4"), e(26, "5"), e(27, "6"), e(28, "7"), e(29, "8"), e(30, "9"), e(31, "A"), e(32, "B"), e(33, "C"), e(34, "D"), e(35, "E"), e(36, "F"), e(37, "G"), e(38, "H"), e(39, "I"), e(40, "J"), e(41, "K"), e(42, "L"), e(43, "M"), e(44, "N"), e(45, "O"), e(46, "P"), e(47, "Q"), e(48, "R"), e(49, "S"), e(50, "T"), e(51, "U"), e(52, "V"), e(53, "W"), e(54, "X"), e(55, "Y"),
e(56, "Z"), e(57, "Meta"), e(58, "ContextMenu"), e(59, "F1"), e(60, "F2"), e(61, "F3"), e(62, "F4"), e(63, "F5"), e(64, "F6"), e(65, "F7"), e(66, "F8"), e(67, "F9"), e(68, "F10"), e(69, "F11"), e(70, "F12"), e(71, "F13"), e(72, "F14"), e(73, "F15"), e(74, "F16"), e(75, "F17"), e(76, "F18"), e(77, "F19"), e(78, "NumLock"), e(79, "ScrollLock"), e(80, ";", ";", "OEM_1"), e(81, "=", "=", "OEM_PLUS"), e(82, ",", ",", "OEM_COMMA"), e(83, "-", "-", "OEM_MINUS"), e(84, ".", ".", "OEM_PERIOD"), e(85, "/", "/", "OEM_2"), e(86, "`", "`", "OEM_3"), e(110, "ABNT_C1"), e(111, "ABNT_C2"), e(87, "[", "[", "OEM_4"), e(88, "\\", "\\", "OEM_5"), e(89, "]", "]", "OEM_6"), e(90, "'", "'", "OEM_7"), e(91, "OEM_8"), e(92, "OEM_102"), e(93, "NumPad0"), e(94, "NumPad1"), e(95, "NumPad2"), e(96, "NumPad3"), e(97, "NumPad4"), e(98, "NumPad5"),e(99, "NumPad6"),e(100, "NumPad7"),e(101, "NumPad8"),e(102, "NumPad9"),e(103, "NumPad_Multiply"),e(104, "NumPad_Add"),e(105, "NumPad_Separator"),e(106, "NumPad_Subtract"),e(107, "NumPad_Decimal"),e(108, "NumPad_Divide")
}(), function (e) {
e.toString = function (e) {
return o.keyCodeToStr(e)
}, e.fromString = function (e) {
return o.strToKeyCode(e)
}, e.toUserSettingsUS = function (e) {
return r.keyCodeToStr(e)
}, e.toUserSettingsGeneral = function (e) {
return s.keyCodeToStr(e)
}, e.fromUserSettings = function (e) {
return r.strToKeyCode(e) || s.strToKeyCode(e)
}
}(t.KeyCodeUtils || (t.KeyCodeUtils = {})), t.KeyChord = function (e, t) {
return (e | (65535 & t) << 16 >>> 0) >>> 0
}, t.createKeybinding = function (e, t) {
if (0 === e) return null;
var n = (65535 & e) >>> 0, i = (4294901760 & e) >>> 16;
return new u(0 !== i ? [a(n, t), a(i, t)] : [a(n, t)])
}, t.createSimpleKeybinding = a;
var l = function () {
function e(e, t, n, i, o) {
this.ctrlKey = e, this.shiftKey = t, this.altKey = n, this.metaKey = i, this.keyCode = o
}
return e.prototype.equals = function (e) {
return this.ctrlKey === e.ctrlKey && this.shiftKey === e.shiftKey && this.altKey === e.altKey && this.metaKey === e.metaKey && this.keyCode === e.keyCode
}, e.prototype.isModifierKey = function () {
return 0 === this.keyCode || 5 === this.keyCode || 57 === this.keyCode || 6 === this.keyCode || 4 === this.keyCode
}, e.prototype.toChord = function () {
return new u([this])
}, e.prototype.isDuplicateModifierCase = function () {
return this.ctrlKey && 5 === this.keyCode || this.shiftKey && 4 === this.keyCode || this.altKey && 6 === this.keyCode || this.metaKey && 57 === this.keyCode
}, e
}();
t.SimpleKeybinding = l;
var u = function () {
function e(e) {
if (0 === e.length) throw n.illegalArgument("parts");
this.parts = e
}
return e.prototype.equals = function (e) {
if (null === e) return !1;
if (this.parts.length !== e.parts.length) return !1;
for (var t = 0; t < this.parts.length; t++) if (!this.parts[t].equals(e.parts[t])) return !1;
return !0
}, e
}();
t.ChordKeybinding = u;
var d = function (e, t, n, i, o, r) {
this.ctrlKey = e, this.shiftKey = t, this.altKey = n, this.metaKey = i, this.keyLabel = o, this.keyAriaLabel = r
};
t.ResolvedKeybindingPart = d;
var c = function () {
};
t.ResolvedKeybinding = c
})), define(n[128], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = function () {
function e(e) {
this.executor = e, this._didRun = !1
}
return e.prototype.getValue = function () {
if (!this._didRun) try {
this._value = this.executor()
} catch (e) {
this._error = e
} finally {
this._didRun = !0
}
if (this._error) throw this._error;
return this._value
}, Object.defineProperty(e.prototype, "rawValue", {
get: function () {
return this._value
}, enumerable: !0, configurable: !0
}), e
}();
t.Lazy = n
})), define(n[2], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var n = !1, i = "__is_disposable_tracked__";
function o(e) {
if (n && e && e !== l.None) try {
e[i] = !0
} catch (e) {
}
}
function r(e) {
if (!n) return e;
var t = new Error("Potentially leaked disposable").stack;
return setTimeout((function () {
e[i] || console.log(t)
}), 3e3), e
}
function s(e) {
return Array.isArray(e) ? (e.forEach((function (e) {
e && (o(e), e.dispose())
})), []) : e ? (o(e), e.dispose(), e) : void 0
}
t.isDisposable = function (e) {
return "function" == typeof e.dispose && 0 === e.dispose.length
}, t.dispose = s, t.combinedDisposable = function () {
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
return e.forEach(o), r({
dispose: function () {
return s(e)
}
})
}, t.toDisposable = function (e) {
var t = r({
dispose: function () {
o(t), e()
}
});
return t
};
var a = function () {
function e() {
this._toDispose = new Set, this._isDisposed = !1
}
return e.prototype.dispose = function () {
this._isDisposed || (o(this), this._isDisposed = !0, this.clear())
}, e.prototype.clear = function () {
this._toDispose.forEach((function (e) {
return e.dispose()
})), this._toDispose.clear()
}, e.prototype.add = function (e) {
if (!e) return e;
if (e === this) throw new Error("Cannot register a disposable on itself!");
return o(e), this._isDisposed ? console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack) : this._toDispose.add(e), e
}, e
}();
t.DisposableStore = a;
var l = function () {
function e() {
this._store = new a, r(this)
}
return e.prototype.dispose = function () {
o(this), this._store.dispose()
}, e.prototype._register = function (e) {
if (e === this) throw new Error("Cannot register a disposable on itself!");
return this._store.add(e)
}, e.None = Object.freeze({
dispose: function () {
}
}), e
}();
t.Disposable = l;
var u = function () {
function e() {
this._isDisposed = !1, r(this)
}
return Object.defineProperty(e.prototype, "value", {
get: function () {
return this._isDisposed ? void 0 : this._value
}, set: function (e) {
this._isDisposed || e === this._value || (this._value && this._value.dispose(), e && o(e), this._value = e)
}, enumerable: !0, configurable: !0
}), e.prototype.clear = function () {
this.value = void 0
}, e.prototype.dispose = function () {
this._isDisposed = !0, o(this), this._value && this._value.dispose(), this._value = void 0
}, e
}();
t.MutableDisposable = u;
var d = function () {
function e(e) {
this.object = e
}
return e.prototype.dispose = function () {
}, e
}();
t.ImmortalReference = d
})), define(n[76], i([0, 1, 54]), (function (e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var i = function () {
function e(t) {
this.element = t, this.next = e.Undefined, this.prev = e.Undefined
}
return e.Undefined = new e(void 0), e
}(), o = function () {
function e() {
this._first = i.Undefined, this._last = i.Undefined, this._size = 0
}
return Object.defineProperty(e.prototype, "size", {
get: function () {
return this._size
}, enumerable: !0, configurable: !0
}), e.prototype.isEmpty = function () {
return this._first === i.Undefined
}, e.prototype.clear = function () {
this._first = i.Undefined, this._last = i.Undefined, this._size = 0
}, e.prototype.unshift = function (e) {
return this._insert(e, !1)
}, e.prototype.push = function (e) {
return this._insert(e, !0)
}, e.prototype._insert = function (e, t) {
var n = this, o = new i(e);
if (this._first === i.Undefined) this._first = o, this._last = o; else if (t) {
var r = this._last;
this._last = o, o.prev = r, r.next = o
} else {
var s = this._first;
this._first = o, o.next = s, s.prev = o
}
this._size += 1;
var a = !1;
return function () {
a || (a = !0, n._remove(o))
}
}, e.prototype.shift = function () {
if (this._first !== i.Undefined) {
var e = this._first.element;
return this._remove(this._first), e
}
}, e.prototype.pop = function () {
if (this._last !== i.Undefined) {
var e = this._last.element;
return this._remove(this._last), e
}
}, e.prototype._remove = function (e) {
if (e.prev !== i.Undefined && e.next !== i.Undefined) {
var t = e.prev;
t.next = e.next, e.next.prev = t
} else e.prev === i.Undefined && e.next === i.Undefined ? (this._first = i.Undefined, this._last = i.Undefined) : e.next === i.Undefined ? (this._last = this._last.prev,
this._last.next = i.Undefined) : e.prev === i.Undefined && (this._first = this._first.next, this._first.prev = i.Undefined);
this._size -= 1
}, e.prototype.iterator = function () {
var e, t = this._first;
return {
next: function () {
return t === i.Undefined ? n.FIN : (e ? e.value = t.element : e = {
done: !1,
value: t.element
}, t = t.next, e)
}
}
}, e.prototype.toArray = function () {
for (var e = [], t = this._first; t !== i.Undefined; t = t.next) e.push(t.element);
return e
}, e
}();
t.LinkedList = o
})), define(n[4], i([0, 1, 10, 102, 2, 76]), (function (e, t, n, i, o, s) {
"use strict";
var a;
Object.defineProperty(t, "__esModule", {value: !0}), function (e) {
function t(e) {
return function (t, n, i) {
void 0 === n && (n = null);
var o, r = !1;
return o = e((function (e) {
if (!r) return o ? o.dispose() : r = !0, t.call(n, e)
}), null, i), r && o.dispose(), o
}
}
function n(e, t) {
return a((function (n, i, o) {
return void 0 === i && (i = null), e((function (e) {
return n.call(i, t(e))
}), null, o)
}))
}
function i(e, t) {
return a((function (n, i, o) {
return void 0 === i && (i = null), e((function (e) {
t(e), n.call(i, e)
}), null, o)
}))
}
function r(e, t) {
return a((function (n, i, o) {
return void 0 === i && (i = null), e((function (e) {
return t(e) && n.call(i, e)
}), null, o)
}))
}
function s(e, t, i) {
var o = i;
return n(e, (function (e) {
return o = t(o, e)
}))
}
function a(e) {
var t, n = new d({
onFirstListenerAdd: function () {
t = e(n.fire, n)
}, onLastListenerRemove: function () {
t.dispose()
}
});
return n.event
}
function l(e, t, n, i, o) {
var r;
void 0 === n && (n = 100), void 0 === i && (i = !1);
var s = void 0, a = void 0, l = 0, u = new d({
leakWarningThreshold: o, onFirstListenerAdd: function () {
r = e((function (e) {
l++, s = t(s, e), i && !a && (u.fire(s), s = void 0), clearTimeout(a), a = setTimeout((function () {
var e = s;
s = void 0, a = void 0, (!i || l > 1) && u.fire(e), l = 0
}), n)
}))
}, onLastListenerRemove: function () {
r.dispose()
}
});
return u.event
}
function u(e) {
var t, n = !0;
return r(e, (function (e) {
var i = n || e !== t;
return n = !1, t = e, i
}))
}
e.None = function () {
return o.Disposable.None
}, e.once = t, e.map = n, e.forEach = i, e.filter = r, e.signal = function (e) {
return e
}, e.any = function () {
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
return function (t, n, i) {
return void 0 === n && (n = null),
o.combinedDisposable.apply(void 0, e.map((function (e) {
return e((function (e) {
return t.call(n, e)
}), null, i)
})))
}
}, e.reduce = s, e.snapshot = a, e.debounce = l, e.stopwatch = function (e) {
var i = (new Date).getTime();
return n(t(e), (function (e) {
return (new Date).getTime() - i
}))
}, e.latch = u, e.buffer = function (e, t, n) {
void 0 === t && (t = !1), void 0 === n && (n = []);
var i = n.slice(), o = e((function (e) {
i ? i.push(e) : s.fire(e)
})), r = function () {
i && i.forEach((function (e) {
return s.fire(e)
})), i = null
}, s = new d({
onFirstListenerAdd: function () {
o || (o = e((function (e) {
return s.fire(e)
})))
}, onFirstListenerDidAdd: function () {
i && (t ? setTimeout(r) : r())
}, onLastListenerRemove: function () {
o && o.dispose(), o = null
}
});
return s.event
};
var c = function () {
function e(e) {
this.event = e
}
return e.prototype.map = function (t) {
return new e(n(this.event, t))
}, e.prototype.forEach = function (t) {
return new e(i(this.event, t))
}, e.prototype.filter = function (t) {
return new e(r(this.event, t))
}, e.prototype.reduce = function (t, n) {
return new e(s(this.event, t, n))
}, e.prototype.latch = function () {
return new e(u(this.event))
}, e.prototype.debounce = function (t, n, i, o) {
return void 0 === n && (n = 100), void 0 === i && (i = !1), new e(l(this.event, t, n, i, o))
}, e.prototype.on = function (e, t, n) {
return this.event(e, t, n)
}, e.prototype.once = function (e, n, i) {
return t(this.event)(e, n, i)
}, e
}();
e.chain = function (e) {
return new c(e)
}, e.fromNodeEventEmitter = function (e, t, n) {
void 0 === n && (n = function (e) {
return e
});
var i = function () {
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
return o.fire(n.apply(void 0, e))
}, o = new d({
onFirstListenerAdd: function () {
return e.on(t, i)
}, onLastListenerRemove: function () {
return e.removeListener(t, i)
}
});
return o.event
}, e.fromDOMEventEmitter = function (e, t, n) {
void 0 === n && (n = function (e) {
return e
});
var i = function () {
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
return o.fire(n.apply(void 0, e))
}, o = new d({
onFirstListenerAdd: function () {
return e.addEventListener(t, i)
}, onLastListenerRemove: function () {
return e.removeEventListener(t, i)
}
});
return o.event
}, e.fromPromise = function (e) {
var t = new d, n = !1
;
return e.then(void 0, (function () {
return null
})).then((function () {
n ? t.fire(void 0) : setTimeout((function () {
return t.fire(void 0)
}), 0)
})), n = !0, t.event
}, e.toPromise = function (e) {
return new Promise((function (n) {
return t(e)(n)
}))
}
}(a = t.Event || (t.Event = {}));
var l = -1, u = function () {
function e(e, t) {
void 0 === t && (t = Math.random().toString(18).slice(2, 5)), this.customThreshold = e, this.name = t, this._warnCountdown = 0
}
return e.prototype.dispose = function () {
this._stacks && this._stacks.clear()
}, e.prototype.check = function (e) {
var t = this, n = l;
if ("number" == typeof this.customThreshold && (n = this.customThreshold), !(n <= 0 || e < n)) {
this._stacks || (this._stacks = new Map);
var i = (new Error).stack.split("\n").slice(3).join("\n"), o = this._stacks.get(i) || 0;
if (this._stacks.set(i, o + 1), this._warnCountdown -= 1, this._warnCountdown <= 0) {
var r;
this._warnCountdown = .5 * n;
var s = 0;
this._stacks.forEach((function (e, t) {
(!r || s < e) && (r = t, s = e)
})), console.warn("[" + this.name + "] potential listener LEAK detected, having " + e + " listeners already. MOST frequent listener (" + s + "):"),
console.warn(r)
}
return function () {
var e = t._stacks.get(i) || 0;
t._stacks.set(i, e - 1)
}
}
}, e
}(), d = function () {
function e(e) {
this._disposed = !1, this._options = e, this._leakageMon = l > 0 ? new u(this._options && this._options.leakWarningThreshold) : void 0
}
return Object.defineProperty(e.prototype, "event", {
get: function () {
var t = this;
return this._event || (this._event = function (n, i, r) {
t._listeners || (t._listeners = new s.LinkedList);
var a = t._listeners.isEmpty();
a && t._options && t._options.onFirstListenerAdd && t._options.onFirstListenerAdd(t);
var l, u, d = t._listeners.push(i ? [n, i] : n);
return a && t._options && t._options.onFirstListenerDidAdd && t._options.onFirstListenerDidAdd(t), t._options && t._options.onListenerDidAdd && t._options.onListenerDidAdd(t, n, i), t._leakageMon && (l = t._leakageMon.check(t._listeners.size)), u = {
dispose: function () {
(l && l(), u.dispose = e._noop, t._disposed) || (d(), t._options && t._options.onLastListenerRemove && (t._listeners && !t._listeners.isEmpty() || t._options.onLastListenerRemove(t)))
}
},
r instanceof o.DisposableStore ? r.add(u) : Array.isArray(r) && r.push(u), u
}), this._event
}, enumerable: !0, configurable: !0
}), e.prototype.fire = function (e) {
if (this._listeners) {
this._deliveryQueue || (this._deliveryQueue = new s.LinkedList);
for (var t = this._listeners.iterator(), i = t.next(); !i.done; i = t.next()) this._deliveryQueue.push([i.value, e]);
for (; this._deliveryQueue.size > 0;) {
var o = this._deliveryQueue.shift(), r = o[0], a = o[1];
try {
"function" == typeof r ? r.call(void 0, a) : r[0].call(r[1], a)
} catch (i) {
n.onUnexpectedError(i)
}
}
}
}, e.prototype.dispose = function () {
this._listeners && this._listeners.clear(), this._deliveryQueue && this._deliveryQueue.clear(), this._leakageMon && this._leakageMon.dispose(), this._disposed = !0
}, e._noop = function () {
}, e
}();
t.Emitter = d;
var c = function (e) {
function t(t) {
var n = e.call(this, t) || this;
return n._isPaused = 0, n._eventQueue = new s.LinkedList, n._mergeFn = t && t.merge, n
}
return r(t, e), t.prototype.pause = function () {
this._isPaused++
}, t.prototype.resume = function () {
if (0 !== this._isPaused && 0 == --this._isPaused) if (this._mergeFn) {
var t = this._eventQueue.toArray();
this._eventQueue.clear(), e.prototype.fire.call(this, this._mergeFn(t))
} else for (; !this._isPaused && 0 !== this._eventQueue.size;) e.prototype.fire.call(this, this._eventQueue.shift())
}, t.prototype.fire = function (t) {
this._listeners && (0 !== this._isPaused ? this._eventQueue.push(t) : e.prototype.fire.call(this, t))
}, t
}(d);
t.PauseableEmitter = c;
var h = function () {
function e() {
var e = this;
this.hasListeners = !1, this.events = [], this.emitter = new d({
onFirstListenerAdd: function () {
return e.onFirstListenerAdd()
}, onLastListenerRemove: function () {
return e.onLastListenerRemove()
}
})
}
return Object.defineProperty(e.prototype, "event", {
get: function () {
return this.emitter.event
}, enumerable: !0, configurable: !0
}), e.prototype.add = function (e) {
var t = this, n = {event: e, listener: null};
this.events.push(n), this.hasListeners && this.hook(n);
return o.toDisposable(i.once((function () {
t.hasListeners && t.unhook(n);
var e = t.events.indexOf(n);
t.events.splice(e, 1)
})))
}, e.prototype.onFirstListenerAdd = function () {
var e = this;
this.hasListeners = !0,
this.events.forEach((function (t) {
return e.hook(t)
}))
}, e.prototype.onLastListenerRemove = function () {
var e = this;
this.hasListeners = !1, this.events.forEach((function (t) {
return e.unhook(t)
}))
}, e.prototype.hook = function (e) {
var t = this;
e.listener = e.event((function (e) {
return t.emitter.fire(e)
}))
}, e.prototype.unhook = function (e) {
e.listener && e.listener.dispose(), e.listener = null
}, e.prototype.dispose = function () {
this.emitter.dispose()
}, e
}();
t.EventMultiplexer = h;
var p = function () {
function e() {
this.buffers = []
}
return e.prototype.wrapEvent = function (e) {
var t = this;
return function (n, i, o) {
return e((function (e) {
var o = t.buffers[t.buffers.length - 1];
o ? o.push((function () {
return n.call(i, e)
})) : n.call(i, e)
}), void 0, o)
}
}, e.prototype.bufferEvents = function (e) {
var t = [];
this.buffers.push(t);
var n = e();
return this.buffers.pop(), t.forEach((function (e) {
return e()
})), n
}, e
}();
t.EventBufferer = p;
var g = function () {
function e() {
var e = this;
this.listening = !1, this.inputEvent = a.None, this.inputEventListener = o.Disposable.None, this.emitter = new d({
onFirstListenerDidAdd: function () {
e.listening = !0, e.inputEventListener = e.inputEvent(e.emitter.fire, e.emitter)
}, onLastListenerRemove: function () {
e.listening = !1, e.inputEventListener.dispose()
}
}), this.event = this.emitter.event
}
return Object.defineProperty(e.prototype, "input", {
set: function (e) {
this.inputEvent = e, this.listening && (this.inputEventListener.dispose(), this.inputEventListener = e(this.emitter.fire, this.emitter))
}, enumerable: !0, configurable: !0
}), e.prototype.dispose = function () {
this.inputEventListener.dispose(), this.emitter.dispose()
}, e
}();
t.Relay = g
})), define(n[24], i([0, 1, 4]), (function (e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var i = function () {
function e() {
this._zoomLevel = 0, this._lastZoomLevelChangeTime = 0, this._onDidChangeZoomLevel = new n.Emitter, this.onDidChangeZoomLevel = this._onDidChangeZoomLevel.event
}
return e.prototype.getZoomLevel = function () {
return this._zoomLevel
}, e.prototype.getTimeSinceLastZoomLevelChanged = function () {
return Date.now() - this._lastZoomLevelChangeTime
},
e.prototype.getPixelRatio = function () {
var e = document.createElement("canvas").getContext("2d");
return (window.devicePixelRatio || 1) / (e.webkitBackingStorePixelRatio || e.mozBackingStorePixelRatio || e.msBackingStorePixelRatio || e.oBackingStorePixelRatio || e.backingStorePixelRatio || 1)
}, e.INSTANCE = new e, e
}();
t.getZoomLevel = function () {
return i.INSTANCE.getZoomLevel()
}, t.getTimeSinceLastZoomLevelChanged = function () {
return i.INSTANCE.getTimeSinceLastZoomLevelChanged()
}, t.onDidChangeZoomLevel = function (e) {
return i.INSTANCE.onDidChangeZoomLevel(e)
}, t.getPixelRatio = function () {
return i.INSTANCE.getPixelRatio()
};
var o = navigator.userAgent;
t.isIE = o.indexOf("Trident") >= 0, t.isEdge = o.indexOf("Edge/") >= 0, t.isEdgeOrIE = t.isIE || t.isEdge, t.isFirefox = o.indexOf("Firefox") >= 0, t.isWebKit = o.indexOf("AppleWebKit") >= 0, t.isChrome = o.indexOf("Chrome") >= 0, t.isSafari = !t.isChrome && o.indexOf("Safari") >= 0, t.isWebkitWebView = !t.isChrome && !t.isSafari && t.isWebKit, t.isIPad = o.indexOf("iPad") >= 0 || t.isSafari && navigator.maxTouchPoints > 0,
t.isEdgeWebView = t.isEdge && o.indexOf("WebView/") >= 0, t.isStandalone = window.matchMedia && window.matchMedia("(display-mode: standalone)").matches
})), define(n[52], i([0, 1, 4]), (function (e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0}), t.domEvent = function (e, t, i) {
var o = function (e) {
return r.fire(e)
}, r = new n.Emitter({
onFirstListenerAdd: function () {
e.addEventListener(t, o, i)
}, onLastListenerRemove: function () {
e.removeEventListener(t, o, i)
}
});
return r.event
}, t.stop = function (e) {
return n.Event.map(e, (function (e) {
return e.preventDefault(), e.stopPropagation(), e
}))
}
}));
var a = this && this.__spreadArrays || function () {
for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
var i = Array(e), o = 0;
for (t = 0; t < n; t++) for (var r = arguments[t], s = 0, a = r.length; s < a; s++, o++) i[o] = r[s];
return i
};
define(n[129], i([0, 1, 99, 19, 4, 54]), (function (e, t, n, i, o, r) {
"use strict";
function s(e) {
return "object" == typeof e && "visibility" in e && "data" in e
}
function l(e) {
switch (e) {
case!0:
return 1;
case!1:
return 0;
default:
return e
}
}
function u(e) {
return "boolean" == typeof e.collapsible
}
Object.defineProperty(t, "__esModule", {value: !0}), t.isFilterResult = s, t.getVisibleState = l;
var d = function () {
function e(e, t, n, i) {
void 0 === i && (i = {}), this.user = e, this.list = t, this.rootRef = [], this.eventBufferer = new o.EventBufferer, this._onDidChangeCollapseState = new o.Emitter, this.onDidChangeCollapseState = this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event), this._onDidChangeRenderNodeCount = new o.Emitter, this.onDidChangeRenderNodeCount = this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event), this._onDidSplice = new o.Emitter, this.onDidSplice = this._onDidSplice.event, this.collapseByDefault = void 0 !== i.collapseByDefault && i.collapseByDefault, this.filter = i.filter, this.autoExpandSingleChildren = void 0 !== i.autoExpandSingleChildren && i.autoExpandSingleChildren, this.root = {
parent: void 0,
element: n,
children: [],
depth: 0,
visibleChildrenCount: 0,
visibleChildIndex: -1,
collapsible: !1,
collapsed: !1,
renderNodeCount: 0,
visible: !0,
filterData: void 0
}
}
return e.prototype.splice = function (e, t, i, o, s) {
var l, u = this;
if (0 === e.length) throw new n.TreeError(this.user, "Invalid tree location");
for (var d = this.getParentNodeWithListIndex(e), c = d.parentNode, h = d.listIndex, p = d.revealed, g = d.visible, f = [], m = r.Iterator.map(r.Iterator.from(i), (function (e) {
return u.createTreeNode(e, c, c.visible ? 1 : 0, p, f, o)
})), v = e[e.length - 1], _ = 0, y = v; y >= 0 && y < c.children.length; y--) {
if ((N = c.children[y]).visible) {
_ = N.visibleChildIndex;
break
}
}
var C = [], b = 0, S = 0;
r.Iterator.forEach(m, (function (e) {
C.push(e), S += e.renderNodeCount, e.visible && (e.visibleChildIndex = _ + b++)
}));
for (var w = (l = c.children).splice.apply(l, a([v, t], C)), E = 0, L = 0, D = w; L < D.length; L++) {
(N = D[L]).visible && E++
}
if (0 !== E) for (y = v + C.length; y < c.children.length; y++) {
var N;
(N = c.children[y]).visible && (N.visibleChildIndex -= E)
}
if (c.visibleChildrenCount += b - E, p && g) {
var x = w.reduce((function (e, t) {
return e + (t.visible ? t.renderNodeCount : 0)
}), 0);
this._updateAncestorsRenderNodeCount(c, S - x), this.list.splice(h, x, f)
}
if (w.length > 0 && s) {
var I = function (e) {
s(e),
e.children.forEach(I)
};
w.forEach(I)
}
this._onDidSplice.fire({insertedNodes: C, deletedNodes: w})
}, e.prototype.rerender = function (e) {
if (0 === e.length) throw new n.TreeError(this.user, "Invalid tree location");
var t = this.getTreeNodeWithListIndex(e), i = t.node, o = t.listIndex;
t.revealed && this.list.splice(o, 1, [i])
}, e.prototype.has = function (e) {
return this.hasTreeNode(e)
}, e.prototype.getListIndex = function (e) {
var t = this.getTreeNodeWithListIndex(e), n = t.listIndex, i = t.visible, o = t.revealed;
return i && o ? n : -1
}, e.prototype.getListRenderCount = function (e) {
return this.getTreeNode(e).renderNodeCount
}, e.prototype.isCollapsible = function (e) {
return this.getTreeNode(e).collapsible
}, e.prototype.setCollapsible = function (e, t) {
var n = this, i = this.getTreeNode(e);
void 0 === t && (t = !i.collapsible);
var o = {collapsible: t};
return this.eventBufferer.bufferEvents((function () {
return n._setCollapseState(e, o)
}))
}, e.prototype.isCollapsed = function (e) {
return this.getTreeNode(e).collapsed
}, e.prototype.setCollapsed = function (e, t, n) {
var i = this, o = this.getTreeNode(e)
;void 0 === t && (t = !o.collapsed);
var r = {collapsed: t, recursive: n || !1};
return this.eventBufferer.bufferEvents((function () {
return i._setCollapseState(e, r)
}))
}, e.prototype._setCollapseState = function (e, t) {
var n = this.getTreeNodeWithListIndex(e), i = n.node, o = n.listIndex, r = n.revealed,
s = this._setListNodeCollapseState(i, o, r, t);
if (i !== this.root && this.autoExpandSingleChildren && s && !u(t) && i.collapsible && !i.collapsed && !t.recursive) {
for (var l = -1, d = 0; d < i.children.length; d++) {
if (i.children[d].visible) {
if (l > -1) {
l = -1;
break
}
l = d
}
}
l > -1 && this._setCollapseState(a(e, [l]), t)
}
return s
}, e.prototype._setListNodeCollapseState = function (e, t, n, i) {
var o = this._setNodeCollapseState(e, i, !1);
if (!n || !e.visible || !o) return o;
var r = e.renderNodeCount, s = this.updateNodeAfterCollapseChange(e), a = r - (-1 === t ? 0 : 1);
return this.list.splice(t + 1, a, s.slice(1)), o
}, e.prototype._setNodeCollapseState = function (e, t, n) {
var i;
if (e === this.root ? i = !1 : (u(t) ? (i = e.collapsible !== t.collapsible, e.collapsible = t.collapsible) : e.collapsible ? (i = e.collapsed !== t.collapsed,
e.collapsed = t.collapsed) : i = !1, i && this._onDidChangeCollapseState.fire({
node: e,
deep: n
})), !u(t) && t.recursive) for (var o = 0, r = e.children; o < r.length; o++) {
var s = r[o];
i = this._setNodeCollapseState(s, t, !0) || i
}
return i
}, e.prototype.expandTo = function (e) {
var t = this;
this.eventBufferer.bufferEvents((function () {
for (var n = t.getTreeNode(e); n.parent;) n = n.parent, e = e.slice(0, e.length - 1), n.collapsed && t._setCollapseState(e, {
collapsed: !1,
recursive: !1
})
}))
}, e.prototype.refilter = function () {
var e = this.root.renderNodeCount, t = this.updateNodeAfterFilterChange(this.root);
this.list.splice(0, e, t)
}, e.prototype.createTreeNode = function (e, t, n, i, o, s) {
var a = this, l = {
parent: t,
element: e.element,
children: [],
depth: t.depth + 1,
visibleChildrenCount: 0,
visibleChildIndex: -1,
collapsible: "boolean" == typeof e.collapsible ? e.collapsible : void 0 !== e.collapsed,
collapsed: void 0 === e.collapsed ? this.collapseByDefault : e.collapsed,
renderNodeCount: 1,
visible: !0,
filterData: void 0
}, u = this._filterNode(l, n);
i && o.push(l)
;var d = r.Iterator.from(e.children), c = i && 0 !== u && !l.collapsed,
h = r.Iterator.map(d, (function (e) {
return a.createTreeNode(e, l, u, c, o, s)
})), p = 0, g = 1;
return r.Iterator.forEach(h, (function (e) {
l.children.push(e), g += e.renderNodeCount, e.visible && (e.visibleChildIndex = p++)
})), l.collapsible = l.collapsible || l.children.length > 0, l.visibleChildrenCount = p, l.visible = 2 === u ? p > 0 : 1 === u, l.visible ? l.collapsed || (l.renderNodeCount = g) : (l.renderNodeCount = 0, i && o.pop()), s && s(l), l
}, e.prototype.updateNodeAfterCollapseChange = function (e) {
var t = e.renderNodeCount, n = [];
return this._updateNodeAfterCollapseChange(e, n), this._updateAncestorsRenderNodeCount(e.parent, n.length - t), n
}, e.prototype._updateNodeAfterCollapseChange = function (e, t) {
if (!1 === e.visible) return 0;
if (t.push(e), e.renderNodeCount = 1, !e.collapsed) for (var n = 0, i = e.children; n < i.length; n++) {
var o = i[n];
e.renderNodeCount += this._updateNodeAfterCollapseChange(o, t)
}
return this._onDidChangeRenderNodeCount.fire(e), e.renderNodeCount
}, e.prototype.updateNodeAfterFilterChange = function (e) {
var t = e.renderNodeCount, n = [];
return this._updateNodeAfterFilterChange(e, e.visible ? 1 : 0, n), this._updateAncestorsRenderNodeCount(e.parent, n.length - t), n
}, e.prototype._updateNodeAfterFilterChange = function (e, t, n, i) {
var o;
if (void 0 === i && (i = !0), e !== this.root) {
if (0 === (o = this._filterNode(e, t))) return e.visible = !1, e.renderNodeCount = 0, !1;
i && n.push(e)
}
var r = n.length;
e.renderNodeCount = e === this.root ? 0 : 1;
var s = !1;
if (e.collapsed && 0 === o) e.visibleChildrenCount = 0; else {
for (var a = 0, l = 0, u = e.children; l < u.length; l++) {
var d = u[l];
s = this._updateNodeAfterFilterChange(d, o, n, i && !e.collapsed) || s, d.visible && (d.visibleChildIndex = a++)
}
e.visibleChildrenCount = a
}
return e !== this.root && (e.visible = 2 === o ? s : 1 === o), e.visible ? e.collapsed || (e.renderNodeCount += n.length - r) : (e.renderNodeCount = 0, i && n.pop()), this._onDidChangeRenderNodeCount.fire(e), e.visible
}, e.prototype._updateAncestorsRenderNodeCount = function (e, t) {
if (0 !== t) for (; e;) e.renderNodeCount += t, this._onDidChangeRenderNodeCount.fire(e), e = e.parent
}, e.prototype._filterNode = function (e, t) {
var n = this.filter ? this.filter.filter(e.element, t) : 1;
return "boolean" == typeof n ? (e.filterData = void 0, n ? 1 : 0) : s(n) ? (e.filterData = n.data, l(n.visibility)) : (e.filterData = void 0, l(n))
}, e.prototype.hasTreeNode = function (e, t) {
if (void 0 === t && (t = this.root), !e || 0 === e.length) return !0;
var n = e[0], i = e.slice(1);
return !(n < 0 || n > t.children.length) && this.hasTreeNode(i, t.children[n])
}, e.prototype.getTreeNode = function (e, t) {
if (void 0 === t && (t = this.root), !e || 0 === e.length) return t;
var i = e[0], o = e.slice(1);
if (i < 0 || i > t.children.length) throw new n.TreeError(this.user, "Invalid tree location");
return this.getTreeNode(o, t.children[i])
}, e.prototype.getTreeNodeWithListIndex = function (e) {
if (0 === e.length) return {node: this.root, listIndex: -1, revealed: !0, visible: !1};
var t = this.getParentNodeWithListIndex(e), i = t.parentNode, o = t.listIndex, r = t.revealed,
s = t.visible, a = e[e.length - 1];
if (a < 0 || a > i.children.length) throw new n.TreeError(this.user, "Invalid tree location");
var l = i.children[a];
return {node: l, listIndex: o, revealed: r, visible: s && l.visible}
},
e.prototype.getParentNodeWithListIndex = function (e, t, i, o, r) {
void 0 === t && (t = this.root), void 0 === i && (i = 0), void 0 === o && (o = !0), void 0 === r && (r = !0);
var s = e[0], a = e.slice(1);
if (s < 0 || s > t.children.length) throw new n.TreeError(this.user, "Invalid tree location");
for (var l = 0; l < s; l++) i += t.children[l].renderNodeCount;
return o = o && !t.collapsed, r = r && t.visible, 0 === a.length ? {
parentNode: t,
listIndex: i,
revealed: o,
visible: r
} : this.getParentNodeWithListIndex(a, t.children[s], i + 1, o, r)
}, e.prototype.getNode = function (e) {
return void 0 === e && (e = []), this.getTreeNode(e)
}, e.prototype.getNodeLocation = function (e) {
for (var t = [], n = e; n.parent;) t.push(n.parent.children.indexOf(n)), n = n.parent;
return t.reverse()
}, e.prototype.getParentNodeLocation = function (e) {
return 0 === e.length ? void 0 : 1 === e.length ? [] : i.tail2(e)[0]
}, e
}();
t.IndexTreeModel = d
}));
var l = this && this.__assign || function () {
return (l = Object.assign || function (e) {
for (var t, n = 1, i = arguments.length; n < i; n++) for (var o in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
return e
}).apply(this, arguments)
};
a = this && this.__spreadArrays || function () {
for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
var i = Array(e), o = 0;
for (t = 0; t < n; t++) for (var r = arguments[t], s = 0, a = r.length; s < a; s++, o++) i[o] = r[s];
return i
};
define(n[130], i([0, 1, 54, 129, 99, 19]), (function (e, t, n, i, o, r) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var s = function () {
function e(e, t, n) {
void 0 === n && (n = {}), this.user = e, this.nodes = new Map, this.nodesByIdentity = new Map, this.model = new i.IndexTreeModel(e, t, null, n), this.onDidSplice = this.model.onDidSplice, this.onDidChangeCollapseState = this.model.onDidChangeCollapseState, this.onDidChangeRenderNodeCount = this.model.onDidChangeRenderNodeCount, n.sorter && (this.sorter = {
compare: function (e, t) {
return n.sorter.compare(e.element, t.element)
}
}), this.identityProvider = n.identityProvider
}
return e.prototype.setChildren = function (e, t, n, i) {
var o = this.getElementLocation(e);
this._setChildren(o, this.preserveCollapseState(t), n, i)
}, e.prototype._setChildren = function (e, t, n, i) {
var o = this, r = new Set, s = new Set;
this.model.splice(a(e, [0]), Number.MAX_VALUE, t, (function (e) {
if (r.add(e.element), o.nodes.set(e.element, e), o.identityProvider) {
var t = o.identityProvider.getId(e.element).toString();
s.add(t), o.nodesByIdentity.set(t, e)
}
n && n(e)
}), (function (e) {
if (r.has(e.element) || o.nodes.delete(e.element), o.identityProvider) {
var t = o.identityProvider.getId(e.element).toString();
s.has(t) || o.nodesByIdentity.delete(t)
}
i && i(e)
}))
}, e.prototype.preserveCollapseState = function (e) {
var t = this, i = e ? n.getSequenceIterator(e) : n.Iterator.empty();
return this.sorter && (i = n.Iterator.fromArray(r.mergeSort(n.Iterator.collect(i), this.sorter.compare.bind(this.sorter)))), n.Iterator.map(i, (function (e) {
var n = t.nodes.get(e.element);
if (!n && t.identityProvider) {
var i = t.identityProvider.getId(e.element).toString();
n = t.nodesByIdentity.get(i)
}
if (!n) return l(l({}, e), {children: t.preserveCollapseState(e.children)});
var o = "boolean" == typeof e.collapsible ? e.collapsible : n.collapsible,
r = void 0 !== e.collapsed ? e.collapsed : n.collapsed
;
return l(l({}, e), {collapsible: o, collapsed: r, children: t.preserveCollapseState(e.children)})
}))
}, e.prototype.rerender = function (e) {
var t = this.getElementLocation(e);
this.model.rerender(t)
}, e.prototype.has = function (e) {
return this.nodes.has(e)
}, e.prototype.getListIndex = function (e) {
var t = this.getElementLocation(e);
return this.model.getListIndex(t)
}, e.prototype.getListRenderCount = function (e) {
var t = this.getElementLocation(e);
return this.model.getListRenderCount(t)
}, e.prototype.isCollapsible = function (e) {
var t = this.getElementLocation(e);
return this.model.isCollapsible(t)
}, e.prototype.setCollapsible = function (e, t) {
var n = this.getElementLocation(e);
return this.model.setCollapsible(n, t)
}, e.prototype.isCollapsed = function (e) {
var t = this.getElementLocation(e);
return this.model.isCollapsed(t)
}, e.prototype.setCollapsed = function (e, t, n) {
var i = this.getElementLocation(e);
return this.model.setCollapsed(i, t, n)
}, e.prototype.expandTo = function (e) {
var t = this.getElementLocation(e);
this.model.expandTo(t)
}, e.prototype.refilter = function () {
this.model.refilter()
}, e.prototype.getNode = function (e) {
if (void 0 === e && (e = null), null === e) return this.model.getNode(this.model.rootRef);
var t = this.nodes.get(e);
if (!t) throw new o.TreeError(this.user, "Tree element not found: " + e);
return t
}, e.prototype.getNodeLocation = function (e) {
return e.element
}, e.prototype.getParentNodeLocation = function (e) {
if (null === e) throw new o.TreeError(this.user, "Invalid getParentNodeLocation call");
var t = this.nodes.get(e);
if (!t) throw new o.TreeError(this.user, "Tree element not found: " + e);
var n = this.model.getNodeLocation(t), i = this.model.getParentNodeLocation(n);
return this.model.getNode(i).element
}, e.prototype.getElementLocation = function (e) {
if (null === e) return [];
var t = this.nodes.get(e);
if (!t) throw new o.TreeError(this.user, "Tree element not found: " + e);
return this.model.getNodeLocation(t)
}, e
}();
t.ObjectTreeModel = s
})), define(n[243], i([0, 1, 54, 4, 99, 130]), (function (e, t, n, i, o, r) {
"use strict";
function s(e) {
return {
element: {elements: [e.element], incompressible: e.incompressible || !1},
children: n.Iterator.map(n.Iterator.from(e.children), s),
collapsible: e.collapsible,
collapsed: e.collapsed
}
}
function a(e) {
for (var t, i, o = [e.element], r = e.incompressible || !1; t = n.Iterator.from(e.children), 1 === (i = n.Iterator.collect(t, 2)).length && !(e = i[0]).incompressible;) o.push(e.element);
return {
element: {elements: o, incompressible: r},
children: n.Iterator.map(n.Iterator.concat(n.Iterator.fromArray(i), t), a),
collapsible: e.collapsible,
collapsed: e.collapsed
}
}
function u(e) {
return function e(t, i) {
var o;
return void 0 === i && (i = 0), o = i < t.element.elements.length - 1 ? n.Iterator.single(e(t, i + 1)) : n.Iterator.map(n.Iterator.from(t.children), (function (t) {
return e(t, 0)
})), 0 === i && t.element.incompressible ? {
element: t.element.elements[i],
children: o,
incompressible: !0,
collapsible: t.collapsible,
collapsed: t.collapsed
} : {element: t.element.elements[i], children: o, collapsible: t.collapsible, collapsed: t.collapsed}
}(e, 0)
}
Object.defineProperty(t, "__esModule", {value: !0}), t.compress = a, t.decompress = u;
var d = function () {
function e(e, t, n) {
void 0 === n && (n = {}),
this.user = e, this.nodes = new Map, this.model = new r.ObjectTreeModel(e, t, n), this.enabled = void 0 === n.compressionEnabled || n.compressionEnabled
}
return Object.defineProperty(e.prototype, "onDidSplice", {
get: function () {
return this.model.onDidSplice
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "onDidChangeCollapseState", {
get: function () {
return this.model.onDidChangeCollapseState
}, enumerable: !0, configurable: !0
}), e.prototype.setChildren = function (e, t) {
if (null !== e) {
var i = this.nodes.get(e);
if (!i) throw new Error("Unknown compressed tree node");
var o = this.model.getNode(i), r = this.model.getParentNodeLocation(i), d = this.model.getNode(r),
c = function e(t, i, o) {
return t.element === i ? l(l({}, t), {children: o}) : l(l({}, t), {
children: n.Iterator.map(n.Iterator.from(t.children), (function (t) {
return e(t, i, o)
}))
})
}(u(o), e, n.Iterator.from(t)), h = (this.enabled ? a : s)(c),
p = d.children.map((function (e) {
return e === o ? h : e
}));
this._setChildren(d.element, p)
} else {
var g = n.Iterator.map(n.Iterator.from(t), this.enabled ? a : s)
;this._setChildren(null, g)
}
}, e.prototype.setCompressionEnabled = function (e) {
if (e !== this.enabled) {
this.enabled = e;
var t = this.model.getNode(), i = n.Iterator.from(t.children), o = n.Iterator.map(i, u),
r = n.Iterator.map(o, e ? a : s);
this._setChildren(null, r)
}
}, e.prototype._setChildren = function (e, t) {
var n = this, i = new Set;
this.model.setChildren(e, t, (function (e) {
for (var t = 0, o = e.element.elements; t < o.length; t++) {
var r = o[t];
i.add(r), n.nodes.set(r, e.element)
}
}), (function (e) {
for (var t = 0, o = e.element.elements; t < o.length; t++) {
var r = o[t];
i.has(r) || n.nodes.delete(r)
}
}))
}, e.prototype.has = function (e) {
return this.nodes.has(e)
}, e.prototype.getListIndex = function (e) {
var t = this.getCompressedNode(e);
return this.model.getListIndex(t)
}, e.prototype.getListRenderCount = function (e) {
var t = this.getCompressedNode(e);
return this.model.getListRenderCount(t)
}, e.prototype.getNode = function (e) {
if (void 0 === e) return this.model.getNode();
var t = this.getCompressedNode(e);
return this.model.getNode(t)
}, e.prototype.getNodeLocation = function (e) {
var t = this.model.getNodeLocation(e);
return null === t ? null : t.elements[t.elements.length - 1]
}, e.prototype.getParentNodeLocation = function (e) {
var t = this.getCompressedNode(e), n = this.model.getParentNodeLocation(t);
return null === n ? null : n.elements[n.elements.length - 1]
}, e.prototype.isCollapsible = function (e) {
var t = this.getCompressedNode(e);
return this.model.isCollapsible(t)
}, e.prototype.setCollapsible = function (e, t) {
var n = this.getCompressedNode(e);
return this.model.setCollapsible(n, t)
}, e.prototype.isCollapsed = function (e) {
var t = this.getCompressedNode(e);
return this.model.isCollapsed(t)
}, e.prototype.setCollapsed = function (e, t, n) {
var i = this.getCompressedNode(e);
return this.model.setCollapsed(i, t, n)
}, e.prototype.expandTo = function (e) {
var t = this.getCompressedNode(e);
this.model.expandTo(t)
}, e.prototype.rerender = function (e) {
var t = this.getCompressedNode(e);
this.model.rerender(t)
}, e.prototype.refilter = function () {
this.model.refilter()
}, e.prototype.getCompressedNode = function (e) {
if (null === e) return null;
var t = this.nodes.get(e)
;
if (!t) throw new o.TreeError(this.user, "Tree element not found: " + e);
return t
}, e
}();
t.CompressedObjectTreeModel = d, t.DefaultElementMapper = function (e) {
return e[e.length - 1]
};
var c = function () {
function e(e, t) {
this.unwrapper = e, this.node = t
}
return Object.defineProperty(e.prototype, "element", {
get: function () {
return null === this.node.element ? null : this.unwrapper(this.node.element)
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "children", {
get: function () {
var t = this;
return this.node.children.map((function (n) {
return new e(t.unwrapper, n)
}))
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "depth", {
get: function () {
return this.node.depth
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "visibleChildrenCount", {
get: function () {
return this.node.visibleChildrenCount
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "visibleChildIndex", {
get: function () {
return this.node.visibleChildIndex
}, enumerable: !0, configurable: !0
}),
Object.defineProperty(e.prototype, "collapsible", {
get: function () {
return this.node.collapsible
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "collapsed", {
get: function () {
return this.node.collapsed
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "visible", {
get: function () {
return this.node.visible
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "filterData", {
get: function () {
return this.node.filterData
}, enumerable: !0, configurable: !0
}), e
}();
var h = function () {
function e(e, n, i) {
var r = this;
void 0 === i && (i = {}), this.elementMapper = i.elementMapper || t.DefaultElementMapper;
var s = function (e) {
return r.elementMapper(e.elements)
};
this.nodeMapper = new o.WeakMapper((function (e) {
return new c(s, e)
})), this.model = new d(e, function (e, t) {
return {
splice: function (n, i, o) {
t.splice(n, i, o.map((function (t) {
return e.map(t)
})))
}
}
}(this.nodeMapper, n), function (e, t) {
return l(l({}, t), {
sorter: t.sorter && {
compare: function (e, n) {
return t.sorter.compare(e.elements[0], n.elements[0])
}
},
identityProvider: t.identityProvider && {
getId: function (n) {
return t.identityProvider.getId(e(n))
}
}, filter: t.filter && {
filter: function (n, i) {
return t.filter.filter(e(n), i)
}
}
})
}(s, i))
}
return Object.defineProperty(e.prototype, "onDidSplice", {
get: function () {
var e = this;
return i.Event.map(this.model.onDidSplice, (function (t) {
var n = t.insertedNodes, i = t.deletedNodes;
return {
insertedNodes: n.map((function (t) {
return e.nodeMapper.map(t)
})), deletedNodes: i.map((function (t) {
return e.nodeMapper.map(t)
}))
}
}))
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "onDidChangeCollapseState", {
get: function () {
var e = this;
return i.Event.map(this.model.onDidChangeCollapseState, (function (t) {
var n = t.node, i = t.deep;
return {node: e.nodeMapper.map(n), deep: i}
}))
}, enumerable: !0, configurable: !0
}), e.prototype.setChildren = function (e, t) {
this.model.setChildren(e, t)
}, e.prototype.setCompressionEnabled = function (e) {
this.model.setCompressionEnabled(e)
}, e.prototype.has = function (e) {
return this.model.has(e)
}, e.prototype.getListIndex = function (e) {
return this.model.getListIndex(e)
}, e.prototype.getListRenderCount = function (e) {
return this.model.getListRenderCount(e)
}, e.prototype.getNode = function (e) {
return this.nodeMapper.map(this.model.getNode(e))
}, e.prototype.getNodeLocation = function (e) {
return e.element
}, e.prototype.getParentNodeLocation = function (e) {
return this.model.getParentNodeLocation(e)
}, e.prototype.isCollapsible = function (e) {
return this.model.isCollapsible(e)
}, e.prototype.setCollapsible = function (e, t) {
return this.model.setCollapsible(e, t)
}, e.prototype.isCollapsed = function (e) {
return this.model.isCollapsed(e)
}, e.prototype.setCollapsed = function (e, t, n) {
return this.model.setCollapsed(e, t, n)
}, e.prototype.expandTo = function (e) {
return this.model.expandTo(e)
}, e.prototype.rerender = function (e) {
return this.model.rerender(e)
}, e.prototype.refilter = function () {
return this.model.refilter()
}, e.prototype.getCompressedTreeNode = function (e) {
return void 0 === e && (e = null), this.model.getNode(e)
}, e
}();
t.CompressibleObjectTreeModel = h
}))
;var u, d = this && this.__awaiter || function (e, t, n, i) {
return new (n || (n = Promise))((function (o, r) {
function s(e) {
try {
l(i.next(e))
} catch (e) {
r(e)
}
}
function a(e) {
try {
l(i.throw(e))
} catch (e) {
r(e)
}
}
function l(e) {
var t;
e.done ? o(e.value) : (t = e.value, t instanceof n ? t : new n((function (e) {
e(t)
}))).then(s, a)
}
l((i = i.apply(e, t || [])).next())
}))
}, c = this && this.__generator || function (e, t) {
var n, i, o, r, s = {
label: 0, sent: function () {
if (1 & o[0]) throw o[1];
return o[1]
}, trys: [], ops: []
};
return r = {
next: a(0),
throw: a(1),
return: a(2)
}, "function" == typeof Symbol && (r[Symbol.iterator] = function () {
return this
}), r;
function a(r) {
return function (a) {
return function (r) {
if (n) throw new TypeError("Generator is already executing.");
for (; s;) try {
if (n = 1, i && (o = 2 & r[0] ? i.return : r[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, r[1])).done) return o;
switch (i = 0, o && (r = [2 & r[0], o.value]), r[0]) {
case 0:
case 1:
o = r;
break;
case 4:
return s.label++, {value: r[1], done: !1};
case 5:
s.label++, i = r[1], r = [0];
continue;
case 7:
r = s.ops.pop(), s.trys.pop();
continue;
default:
if (!(o = (o = s.trys).length > 0 && o[o.length - 1]) && (6 === r[0] || 2 === r[0])) {
s = 0;
continue
}
if (3 === r[0] && (!o || r[1] > o[0] && r[1] < o[3])) {
s.label = r[1];
break
}
if (6 === r[0] && s.label < o[1]) {
s.label = o[1], o = r;
break
}
if (o && s.label < o[2]) {
s.label = o[2], s.ops.push(r);
break
}
o[2] && s.ops.pop(), s.trys.pop();
continue
}
r = t.call(e, s)
} catch (e) {
r = [6, e], i = 0
} finally {
n = o = 0
}
if (5 & r[0]) throw r[1];
return {value: r[0] ? r[1] : void 0, done: !0}
}([r, a])
}
}
};
define(n[55], i([0, 1, 2, 4]), (function (e, t, n, i) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var o = function (e) {
function t(t, n, o, r, s) {
void 0 === n && (n = ""), void 0 === o && (o = ""), void 0 === r && (r = !0);
var a = e.call(this) || this;
return a._onDidChange = a._register(new i.Emitter), a.onDidChange = a._onDidChange.event, a._enabled = !0, a._checked = !1, a._id = t, a._label = n, a._cssClass = o, a._enabled = r, a._actionCallback = s, a
}
return r(t, e), Object.defineProperty(t.prototype, "id", {
get: function () {
return this._id
}, enumerable: !0, configurable: !0
}), Object.defineProperty(t.prototype, "label", {
get: function () {
return this._label
}, set: function (e) {
this._setLabel(e)
}, enumerable: !0, configurable: !0
}), t.prototype._setLabel = function (e) {
this._label !== e && (this._label = e, this._onDidChange.fire({label: e}))
}, Object.defineProperty(t.prototype, "tooltip", {
get: function () {
return this._tooltip || ""
}, set: function (e) {
this._setTooltip(e)
}, enumerable: !0, configurable: !0
}), t.prototype._setTooltip = function (e) {
this._tooltip !== e && (this._tooltip = e, this._onDidChange.fire({tooltip: e}))
}, Object.defineProperty(t.prototype, "class", {
get: function () {
return this._cssClass
}, set: function (e) {
this._setClass(e)
}, enumerable: !0, configurable: !0
}), t.prototype._setClass = function (e) {
this._cssClass !== e && (this._cssClass = e, this._onDidChange.fire({class: e}))
}, Object.defineProperty(t.prototype, "enabled", {
get: function () {
return this._enabled
}, set: function (e) {
this._setEnabled(e)
}, enumerable: !0, configurable: !0
}), t.prototype._setEnabled = function (e) {
this._enabled !== e && (this._enabled = e, this._onDidChange.fire({enabled: e}))
}, Object.defineProperty(t.prototype, "checked", {
get: function () {
return this._checked
},
set: function (e) {
this._setChecked(e)
}, enumerable: !0, configurable: !0
}), t.prototype._setChecked = function (e) {
this._checked !== e && (this._checked = e, this._onDidChange.fire({checked: e}))
}, t.prototype.run = function (e, t) {
return this._actionCallback ? this._actionCallback(e) : Promise.resolve(!0)
}, t
}(n.Disposable);
t.Action = o;
var s = function (e) {
function t() {
var t = null !== e && e.apply(this, arguments) || this;
return t._onDidBeforeRun = t._register(new i.Emitter), t.onDidBeforeRun = t._onDidBeforeRun.event, t._onDidRun = t._register(new i.Emitter), t.onDidRun = t._onDidRun.event, t
}
return r(t, e), t.prototype.run = function (e, t) {
return d(this, void 0, void 0, (function () {
var n, i;
return c(this, (function (o) {
switch (o.label) {
case 0:
if (!e.enabled) return [2, Promise.resolve(null)];
this._onDidBeforeRun.fire({action: e}), o.label = 1;
case 1:
return o.trys.push([1, 3, , 4]), [4, this.runAction(e, t)];
case 2:
return n = o.sent(), this._onDidRun.fire({action: e, result: n}), [3, 4];
case 3:
return i = o.sent(), this._onDidRun.fire({action: e, error: i}), [3, 4];
case 4:
return [2]
}
}))
}))
},
t.prototype.runAction = function (e, t) {
var n = t ? e.run(t) : e.run();
return Promise.resolve(n)
}, t
}(n.Disposable);
t.ActionRunner = s
})), define(n[26], i([0, 1, 4]), (function (e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var i, o = Object.freeze((function (e, t) {
var n = setTimeout(e.bind(t), 0);
return {
dispose: function () {
clearTimeout(n)
}
}
}));
!function (e) {
e.isCancellationToken = function (t) {
return t === e.None || t === e.Cancelled || (t instanceof r || !(!t || "object" != typeof t) && ("boolean" == typeof t.isCancellationRequested && "function" == typeof t.onCancellationRequested))
}, e.None = Object.freeze({
isCancellationRequested: !1,
onCancellationRequested: n.Event.None
}), e.Cancelled = Object.freeze({isCancellationRequested: !0, onCancellationRequested: o})
}(i = t.CancellationToken || (t.CancellationToken = {}));
var r = function () {
function e() {
this._isCancelled = !1, this._emitter = null
}
return e.prototype.cancel = function () {
this._isCancelled || (this._isCancelled = !0, this._emitter && (this._emitter.fire(void 0), this.dispose()))
},
Object.defineProperty(e.prototype, "isCancellationRequested", {
get: function () {
return this._isCancelled
}, enumerable: !0, configurable: !0
}), Object.defineProperty(e.prototype, "onCancellationRequested", {
get: function () {
return this._isCancelled ? o : (this._emitter || (this._emitter = new n.Emitter), this._emitter.event)
}, enumerable: !0, configurable: !0
}), e.prototype.dispose = function () {
this._emitter && (this._emitter.dispose(), this._emitter = null)
}, e
}(), s = function () {
function e(e) {
this._token = void 0, this._parentListener = void 0, this._parentListener = e && e.onCancellationRequested(this.cancel, this)
}
return Object.defineProperty(e.prototype, "token", {
get: function () {
return this._token || (this._token = new r), this._token
}, enumerable: !0, configurable: !0
}), e.prototype.cancel = function () {
this._token ? this._token instanceof r && this._token.cancel() : this._token = i.Cancelled
}, e.prototype.dispose = function (e) {
void 0 === e && (e = !1), e && this.cancel(), this._parentListener && this._parentListener.dispose(),
this._token ? this._token instanceof r && this._token.dispose() : this._token = i.None
}, e
}();
t.CancellationTokenSource = s
})), define(n[15], i([0, 1, 26, 10, 2]), (function (e, t, n, i, o) {
"use strict";
function r(e) {
var t = new n.CancellationTokenSource, o = e(t.token), r = new Promise((function (e, n) {
t.token.onCancellationRequested((function () {
n(i.canceled())
})), Promise.resolve(o).then((function (n) {
t.dispose(), e(n)
}), (function (e) {
t.dispose(), n(e)
}))
}));
return new (function () {
function e() {
}
return e.prototype.cancel = function () {
t.cancel()
}, e.prototype.then = function (e, t) {
return r.then(e, t)
}, e.prototype.catch = function (e) {
return this.then(void 0, e)
}, e.prototype.finally = function (e) {
return r.finally(e)
}, e
}())
}
Object.defineProperty(t, "__esModule", {value: !0}), t.isThenable = function (e) {
return e && "function" == typeof e.then
}, t.createCancelablePromise = r, t.raceCancellation = function (e, t, n) {
return Promise.race([e, new Promise((function (e) {
return t.onCancellationRequested((function () {
return e(n)
}))
}))])
};
var s = function () {
function e(e) {
this.defaultDelay = e,
this.timeout = null, this.completionPromise = null, this.doResolve = null, this.doReject = null, this.task = null
}
return e.prototype.trigger = function (e, t) {
var n = this;
return void 0 === t && (t = this.defaultDelay), this.task = e, this.cancelTimeout(), this.completionPromise || (this.completionPromise = new Promise((function (e, t) {
n.doResolve = e, n.doReject = t
})).then((function () {
if (n.completionPromise = null, n.doResolve = null, n.task) {
var e = n.task;
return n.task = null, e()
}
}))), this.timeout = setTimeout((function () {
n.timeout = null, n.doResolve && n.doResolve(null)
}), t), this.completionPromise
}, e.prototype.isTriggered = function () {
return null !== this.timeout
}, e.prototype.cancel = function () {
this.cancelTimeout(), this.completionPromise && (this.doReject && this.doReject(i.canceled()), this.completionPromise = null)
}, e.prototype.cancelTimeout = function () {
null !== this.timeout && (clearTimeout(this.timeout), this.timeout = null)
}, e.prototype.dispose = function () {
this.cancelTimeout()
}, e
}();
t.Delayer = s, t.timeout = function e(t, n) {
return n ? new Promise((function (e, o) {
var r = setTimeout(e, t)
;n.onCancellationRequested((function () {
clearTimeout(r), o(i.canceled())
}))
})) : r((function (n) {
return e(t, n)
}))
}, t.disposableTimeout = function (e, t) {
void 0 === t && (t = 0);
var n = setTimeout(e, t);
return o.toDisposable((function () {
return clearTimeout(n)
}))
}, t.first = function (e, t, n) {
void 0 === t && (t = function (e) {
return !!e
}), void 0 === n && (n = null);
var i = 0, o = e.length, r = function () {
if (i >= o) return Promise.resolve(n);
var s = e[i++];
return Promise.resolve(s()).then((function (e) {
return t(e) ? Promise.resolve(e) : r()
}))
};
return r()
};
var a = function () {
function e(e, t) {
this._token = -1, "function" == typeof e && "number" == typeof t && this.setIfNotSet(e, t)
}
return e.prototype.dispose = function () {
this.cancel()
}, e.prototype.cancel = function () {
-1 !== this._token && (clearTimeout(this._token), this._token = -1)
}, e.prototype.cancelAndSet = function (e, t) {
var n = this;
this.cancel(), this._token = setTimeout((function () {
n._token = -1, e()
}), t)
}, e.prototype.setIfNotSet = function (e, t) {
var n = this;
-1 === this._token && (this._token = setTimeout((function () {
n._token = -1, e()
}), t))
}, e
}()
;t.TimeoutTimer = a;
var l = function () {
function e() {
this._token = -1
}
return e.prototype.dispose = function () {
this.cancel()
}, e.prototype.cancel = function () {
-1 !== this._token && (clearInterval(this._token), this._token = -1)
}, e.prototype.cancelAndSet = function (e, t) {
this.cancel(), this._token = setInterval((function () {
e()
}), t)
}, e
}();
t.IntervalTimer = l;
var u = function () {
function e(e, t) {
this.timeoutToken = -1, this.runner = e, this.timeout = t, this.timeoutHandler = this.onTimeout.bind(this)
}
return e.prototype.dispose = function () {
this.cancel(), this.runner = null
}, e.prototype.cancel = function () {
this.isScheduled() && (clearTimeout(this.timeoutToken), this.timeoutToken = -1)
}, e.prototype.schedule = function (e) {
void 0 === e && (e = this.timeout), this.cancel(), this.timeoutToken = setTimeout(this.timeoutHandler, e)
}, e.prototype.isScheduled = function () {
return -1 !== this.timeoutToken
}, e.prototype.onTimeout = function () {
this.timeoutToken = -1, this.runner && this.doRun()
}, e.prototype.doRun = function () {
this.runner && this.runner()
}, e
}();
t.RunOnceScheduler = u, function () {
if ("function" != typeof requestIdleCallback || "function" != typeof cancelIdleCallback) {
var e = Object.freeze({
didTimeout: !0, timeRemaining: function () {
return 15
}
});
t.runWhenIdle = function (t) {
var n = setTimeout((function () {
return t(e)
})), i = !1;
return {
dispose: function () {
i || (i = !0, clearTimeout(n))
}
}
}
} else t.runWhenIdle = function (e, t) {
var n = requestIdleCallback(e, "number" == typeof t ? {timeout: t} : void 0), i = !1;
return {
dispose: function () {
i || (i = !0, cancelIdleCallback(n))
}
}
}
}();
var d = function () {
function e(e) {
var n = this;
this._didRun = !1, this._executor = function () {
try {
n._value = e()
} catch (e) {
n._error = e
} finally {
n._didRun = !0
}
}, this._handle = t.runWhenIdle((function () {
return n._executor()
}))
}
return e.prototype.dispose = function () {
this._handle.dispose()
}, e.prototype.getValue = function () {
if (this._didRun || (this._handle.dispose(), this._executor()), this._error) throw this._error;
return this._value
}, e
}();
t.IdleValue = d
})), define(n[244], i([0, 1, 15, 2]), (function (e, t, n, i) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0});
var o = function (e) {
function t(t, i, o) {
var r = e.call(this) || this;
return r._visibility = t, r._visibleClassName = i, r._invisibleClassName = o, r._domNode = null, r._isVisible = !1, r._isNeeded = !1, r._shouldBeVisible = !1, r._revealTimer = r._register(new n.TimeoutTimer), r
}
return r(t, e), t.prototype.applyVisibilitySetting = function (e) {
return 2 !== this._visibility && (3 === this._visibility || e)
}, t.prototype.setShouldBeVisible = function (e) {
var t = this.applyVisibilitySetting(e);
this._shouldBeVisible !== t && (this._shouldBeVisible = t, this.ensureVisibility())
}, t.prototype.setIsNeeded = function (e) {
this._isNeeded !== e && (this._isNeeded = e, this.ensureVisibility())
}, t.prototype.setDomNode = function (e) {
this._domNode = e, this._domNode.setClassName(this._invisibleClassName), this.setShouldBeVisible(!1)
}, t.prototype.ensureVisibility = function () {
this._isNeeded ? this._shouldBeVisible ? this._reveal() : this._hide(!0) : this._hide(!1)
}, t.prototype._reveal = function () {
var e = this;
this._isVisible || (this._isVisible = !0, this._revealTimer.setIfNotSet((function () {
e._domNode && e._domNode.setClassName(e._visibleClassName)
}), 0))
}, t.prototype._hide = function (e) {
this._revealTimer.cancel(), this._isVisible && (this._isVisible = !1, this._domNode && this._domNode.setClassName(this._invisibleClassName + (e ? " fade" : "")))
}, t
}(i.Disposable);
t.ScrollbarVisibilityController = o
})), define(n[38], i([0, 1]), (function (e, t) {
"use strict";
Object.defineProperty(t, "__esModule", {value: !0}), t.values = function (e) {
var t = [];
return e.forEach((function (e) {
return t.push(e)
})), t
}, t.keys = function (e) {
var t = [];
return e.forEach((function (e, n) {
return t.push(n)
})), t
};
var n = function () {
function e() {
this._value = "", this._pos = 0
}
return e.prototype.reset = function (e) {
return this._value = e, this._pos = 0, this
}, e.prototype.next = function () {
return this._pos += 1, this
}, e.prototype.hasNext = function () {
return this._pos < this._value.length - 1
}, e.prototype.cmp = function (e) {
return e.charCodeAt(0) - this._value.charCodeAt(this._pos)
}, e.prototype.value = function () {
return this._value[this._pos]
}, e
}();
t.StringIterator = n;
var i = function () {
function e(e) {
void 0 === e && (e = !0), this._splitOnBackslash = e
}
return e.prototype.reset = function (e) {
return this._value = e.replace(/\\$|\/$/, ""), this._from = 0, this._to = 0, this.next()
}, e.prototype.hasNext = function () {
return this._to < this._value.length
}, e.prototype.next = function () {
this._from = this._to;
for (var e = !0; this._to < this._value.length; this._to++) {
var t = this._value.charCodeAt(this._to);
if (47 === t || this._splitOnBackslash && 92 === t) {
if (!e) break;
this._from++
} else e = !1
}
return this
}, e.prototype.cmp = function (e) {
for (var t = 0, n = e.length, i = this._from; t < n && i < this._to;) {
var o = e.charCodeAt(t) - this._value.charCodeAt(i);
if (0 !== o) return o;
t += 1, i += 1
}
return n === this._to - this._from ? 0 : t < n ? -1 : 1
}, e.prototype.value = function () {
return this._value.substring(this._from, this._to)
}, e
}();
t.PathIterator = i;
var o = function () {
}, s = function () {
function e(e) {
this._iter = e
}
return e.forPaths = function () {
return new e(new i)
}, e.forStrings = function () {
return new e(new n)
}, e.prototype.clear = function () {
this._root = void 0
}, e.prototype.set = function (e, t) {
var n, i = this._iter.reset(e)
;
for (this._root || (this._root = new o, this._root.segment = i.value()), n = this._root; ;) {
var r = i.cmp(n.segment);
if (r > 0) n.left || (n.left = new o, n.left.segment = i.value()), n = n.left; else if (r < 0) n.right || (n.right = new o, n.right.segment = i.value()), n = n.right; else {
if (!i.hasNext()) break;
i.next(), n.mid || (n.mid = new o, n.mid.segment = i.value()), n = n.mid
}
}
var s = n.value;
return n.value = t, n.key = e, s
}, e.prototype.get = function (e) {
for (var t = this._iter.reset(e), n = this._root; n;) {
var i = t.cmp(n.segment);
if (i > 0) n = n.left; else if (i < 0) n = n.right; else {
if (!t.hasNext()) break;
t.next(), n = n.mid
}
}
return n ? n.value : void 0
}, e.prototype.findSubstr = function (e) {
for (var t = this._iter.reset(e), n = this._root, i = void 0; n;) {
var o = t.cmp(n.segment);
if (o > 0) n = n.left; else if (o < 0) n = n.right; else {
if (!t.hasNext()) break;
t.next(), i = n.value || i, n = n.mid
}
}
return n && n.value || i
}, e.prototype.forEach = function (e) {
this._forEach(this._root, e)
}, e.prototype._forEach = function (e, t) {
e && (this._forEach(e.left, t), e.value && t(e.value, e.key), this._forEach(e.mid, t), this._forEach(e.right, t))
}, e
}()
;t.TernarySearchTree = s;
var a = function () {
function e() {
this.map = new Map, this.ignoreCase = !1
}
return e.prototype.set = function (e, t) {
this.map.set(this.toKey(e), t)
}, e.prototype.get = function (e) {
return this.map.get(this.toKey(e))
}, e.prototype.toKey = function (e) {
var t = e.toString();
return this.ignoreCase && (t = t.toLowerCase()), t
}, e
}();
t.ResourceMap = a;
var l = function () {
function e() {
this._map = new Map, this._head = void 0, this._tail = void 0, this._size = 0
}
return e.prototype.clear = function () {
this._map.clear(), this._head = void 0, this._tail = void 0, this._size = 0
}, Object.defineProperty(e.prototype, "size", {
get: function () {
return this._size
}, enumerable: !0, configurable: !0
}), e.prototype.get = function (e, t) {
void 0 === t && (t = 0);
var n = this._map.get(e);
if (n) return 0 !== t && this.touch(n, t), n.value
}, e.prototype.set = function (e, t, n) {
void 0 === n && (n = 0);
var i = this._map.get(e);
if (i) i.value = t, 0 !== n && this.touch(i, n); else {
switch (i = {key: e, value: t, next: void 0, previous: void 0}, n) {
case 0:
this.addItemLast(i);
break;
case 1:
this.addItemFirst(i);
break;
case 2:
default:
this.addItemLast(i)
}
this._map.set(e, i), this._size++
}
}, e.prototype.delete = function (e) {
return !!this.remove(e)
}, e.prototype.remove = function (e) {
var t = this._map.get(e);
if (t) return this._map.delete(e), this.removeItem(t), this._size--, t.value
}, e.prototype.forEach = function (e, t) {
for (var n = this._head; n;) t ? e.bind(t)(n.value, n.key, this) : e(n.value, n.key, this), n = n.next
}, e.prototype.trimOld = function (e) {
if (!(e >= this.size)) if (0 !== e) {
for (var t = this._head, n = this.size; t && n > e;) this._map.delete(t.key), t = t.next, n--;
this._head = t, this._size = n, t && (t.previous = void 0)
} else this.clear()
}, e.prototype.addItemFirst = function (e) {
if (this._head || this._tail) {
if (!this._head) throw new Error("Invalid list");
e.next = this._head, this._head.previous = e
} else this._tail = e;
this._head = e
}, e.prototype.addItemLast = function (e) {
if (this._head || this._tail) {
if (!this._tail) throw new Error("Invalid list");
e.previous = this._tail, this._tail.next = e
} else this._head = e;
this._tail = e
}, e.prototype.removeItem = function (e) {
if (e === this._head && e === this._tail) this._head = void 0,
this._tail = void 0; else if (e === this._head) {
if (!e.next) throw new Error("Invalid list");
e.next.previous = void 0, this._head = e.next
} else if (e === this._tail) {
if (!e.previous) throw new Error("Invalid list");
e.previous.next = void 0, this._tail = e.previous
} else {
var t = e.next, n = e.previous;
if (!t || !n) throw new Error("Invalid list");
t.previous = n, n.next = t
}
e.next = void 0, e.previous = void 0
}, e.prototype.touch = function (e, t) {
if (!this._head || !this._tail) throw new Error("Invalid list");
if (1 === t || 2 === t) if (1 === t) {
if (e === this._head) return;
var n = e.next, i = e.previous;
e === this._tail ? (i.next = void 0, this._tail = i) : (n.previous = i, i.next = n), e.previous = void 0, e.next = this._head, this._head.previous = e, this._head = e
} else if (2 === t) {
if (e === this._tail) return;
n = e.next, i = e.previous;
e === this._head ? (n.previous = void 0, this._head = n) : (n.previous = i, i.next = n), e.next = void 0, e.previous = this._tail, this._tail.next = e, this._tail = e
}
}, e.prototype.toJSON = function () {
var e = [];
return this.forEach((function (t, n) {
e.push([n, t])
})), e
}, e
}();
t.LinkedMap = l;
var u = function (e) {
function t(t, n) {
void 0 === n && (n = 1);
var i = e.call(this) || this;
return i._limit = t, i._ratio = Math.min(Math.max(0, n), 1), i
}
return r(t, e), t.prototype.get = function (t) {
return e.prototype.get.call(this, t, 2)
}, t.prototype.peek = function (t) {
return e.prototype.get.call(this, t, 0)
}, t.prototype.set = function (t, n) {
e.prototype.set.call(this, t, n, 2), this.checkTrim()
}, t.prototype.checkTrim = function () {
this.size > this._limit && this.trimOld(Math.round(this._limit * this._ratio))
}, t
}(l);
t.LRUCache = u
})), function (e) {
"use strict";
var t = {
newline: /^\n+/,
code: /^( {4}[^\n]+\n*)+/,
fences: m,
hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,
heading: /^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,
nptable: m,
blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
list: /^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
html: "^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",
def: /^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,
table: m,
lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,
paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,
text: /^[^\n]+/
};
function n(e) {
this.tokens = [], this.tokens.links = Object.create(null), this.options = e || b.defaults, this.rules = t.normal, this.options.pedantic ? this.rules = t.pedantic : this.options.gfm && (this.options.tables ? this.rules = t.tables : this.rules = t.gfm)
}
t._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,
t._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/, t.def = h(t.def).replace("label", t._label).replace("title", t._title).getRegex(), t.bullet = /(?:[*+-]|\d{1,9}\.)/, t.item = /^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/, t.item = h(t.item, "gm").replace(/bull/g, t.bullet).getRegex(), t.list = h(t.list).replace(/bull/g, t.bullet).replace("hr", "\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def", "\\n+(?=" + t.def.source + ")").getRegex(), t._tag = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", t._comment = //,
t.html = h(t.html, "i").replace("comment", t._comment).replace("tag", t._tag).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), t.paragraph = h(t.paragraph).replace("hr", t.hr).replace("heading", t.heading).replace("lheading", t.lheading).replace("tag", t._tag).getRegex(), t.blockquote = h(t.blockquote).replace("paragraph", t.paragraph).getRegex(), t.normal = v({}, t), t.gfm = v({}, t.normal, {
fences: /^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,
paragraph: /^/,
heading: /^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/
}), t.gfm.paragraph = h(t.paragraph).replace("(?!", "(?!" + t.gfm.fences.source.replace("\\1", "\\2") + "|" + t.list.source.replace("\\1", "\\3") + "|").getRegex(), t.tables = v({}, t.gfm, {
nptable: /^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,
table: /^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/
}), t.pedantic = v({}, t.normal, {
html: h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|
' + (n ? e : d(e, !0)) + "\n" : "" + (n ? e : d(e, !0)) + ""
}, r.prototype.blockquote = function (e) {
return "\n" + e + "\n" }, r.prototype.html = function (e) { return e }, r.prototype.heading = function (e, t, n, i) { return this.options.headerIds ? "
" + e + "
\n" }, r.prototype.table = function (e, t) { return t && (t = "" + t + ""), "" + e + ""
}, r.prototype.br = function () {
return this.options.xhtml ? "An error occurred:
" + d(e.message + "", !0) + ""; throw e } } m.exec = m, b.options = b.setOptions = function (e) { return v(b.defaults, e), b }, b.getDefaults = function () { return { baseUrl: null, breaks: !1, gfm: !0, headerIds: !0, headerPrefix: "", highlight: null, langPrefix: "language-", mangle: !0, pedantic: !1, renderer: new r, sanitize: !1, sanitizer: null, silent: !1, smartLists: !1, smartypants: !1, tables: !0, xhtml: !1 } }, b.defaults = b.getDefaults(), b.Parser = a, b.parser = a.parse, b.Renderer = r, b.TextRenderer = s, b.Lexer = n, b.lexer = n.lex, b.InlineLexer = o, b.inlineLexer = o.output, b.Slugger = l, b.parse = b, u = b }.call(this), define("vs/base/common/marked/marked", (function () { return u })), define(n[131], i([0, 1]), (function (e, t) { "use strict" ;Object.defineProperty(t, "__esModule", {value: !0}), t.clamp = function (e, t, n) { return Math.min(Math.max(e, t), n) } })), define(n[16], i([0, 1]), (function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var n = !1, i = !1, o = !1, r = !1, s = !1, a = !1, l = void 0, u = "undefined" != typeof process && void 0 !== process.versions && void 0 !== process.versions.electron && "renderer" === process.type; if ("object" != typeof navigator || u) { if ("object" == typeof process) { n = "win32" === process.platform, i = "darwin" === process.platform, o = "linux" === process.platform, "en", "en"; var d = process.env.VSCODE_NLS_CONFIG; if (d) try { var c = JSON.parse(d), h = c.availableLanguages["*"]; c.locale, h || "en", c._translationsConfigFile } catch (e) { } r = !0 } } else n = (l = navigator.userAgent).indexOf("Windows") >= 0, i = l.indexOf("Macintosh") >= 0, a = l.indexOf("Macintosh") >= 0 && !!navigator.maxTouchPoints && navigator.maxTouchPoints > 0, o = l.indexOf("Linux") >= 0, s = !0, navigator.language; t.isWindows = n, t.isMacintosh = i, t.isLinux = o, t.isNative = r, t.isWeb = s, t.isIOS = a ;var p = "object" == typeof self ? self : "object" == typeof global ? global : {}; t.globals = p, t.setImmediate = function () { if (t.globals.setImmediate) return t.globals.setImmediate.bind(t.globals); if ("function" == typeof t.globals.postMessage && !t.globals.importScripts) { var e = []; t.globals.addEventListener("message", (function (t) { if (t.data && t.data.vscodeSetImmediateId) for (var n = 0, i = e.length; n < i; n++) { var o = e[n]; if (o.id === t.data.vscodeSetImmediateId) return e.splice(n, 1), void o.callback() } })); var n = 0; return function (i) { var o = ++n; e.push({id: o, callback: i}), t.globals.postMessage({vscodeSetImmediateId: o}, "*") } } if ("undefined" != typeof process && "function" == typeof process.nextTick) return process.nextTick.bind(process); var i = Promise.resolve(); return function (e) { return i.then(e) } }(), t.OS = i ? 2 : n ? 1 : 3 })), define(n[88], i([0, 1, 24, 16]), (function (e, t, n, i) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), t.BrowserFeatures = { clipboard: { writeText: i.isNative || document.queryCommandSupported && document.queryCommandSupported("copy") || !!(navigator && navigator.clipboard && navigator.clipboard.writeText), readText: i.isNative || !!(navigator && navigator.clipboard && navigator.clipboard.readText), richText: function () { if (n.isIE) return !1; if (n.isEdge) { var e = navigator.userAgent.indexOf("Edge/"), t = parseInt(navigator.userAgent.substring(e + 5, navigator.userAgent.indexOf(".", e)), 10); if (!t || t >= 12 && t <= 16) return !1 } return !0 }() }, keyboard: i.isNative || n.isStandalone ? 0 : navigator.keyboard || n.isSafari ? 1 : 2, touch: "ontouchstart" in window || navigator.maxTouchPoints > 0 || window.navigator.msMaxTouchPoints > 0, pointerEvents: window.PointerEvent && ("ontouchstart" in window || window.navigator.maxTouchPoints > 0 || navigator.maxTouchPoints > 0 || window.navigator.msMaxTouchPoints > 0) } })), define(n[56], i([0, 1, 24, 36, 16]), (function (e, t, n, i, o) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var r = new Array(230), s = new Array(112); !function () { for (var e = 0; e < s.length; e++) s[e] = -1; function t(e, t) { r[e] = t, s[t] = e } t(3, 7), t(8, 1), t(9, 2), t(13, 3), t(16, 4), t(17, 5), t(18, 6), t(19, 7), t(20, 8), t(27, 9), t(32, 10), t(33, 11), t(34, 12), t(35, 13), t(36, 14), t(37, 15), t(38, 16), t(39, 17), t(40, 18), t(45, 19), t(46, 20), t(48, 21), t(49, 22), t(50, 23), t(51, 24), t(52, 25), t(53, 26), t(54, 27), t(55, 28), t(56, 29), t(57, 30), t(65, 31), t(66, 32), t(67, 33), t(68, 34), t(69, 35), t(70, 36), t(71, 37), t(72, 38), t(73, 39), t(74, 40), t(75, 41), t(76, 42), t(77, 43), t(78, 44), t(79, 45), t(80, 46), t(81, 47), t(82, 48), t(83, 49), t(84, 50), t(85, 51), t(86, 52), t(87, 53), t(88, 54), t(89, 55), t(90, 56), t(93, 58), t(96, 93), t(97, 94), t(98, 95), t(99, 96), t(100, 97), t(101, 98), t(102, 99), t(103, 100), t(104, 101), t(105, 102), t(106, 103), t(107, 104), t(108, 105), t(109, 106), t(110, 107), t(111, 108), t(112, 59), t(113, 60), t(114, 61), t(115, 62), t(116, 63), t(117, 64), t(118, 65), t(119, 66), t(120, 67), t(121, 68), t(122, 69), t(123, 70), t(124, 71), t(125, 72), t(126, 73), t(127, 74), t(128, 75), t(129, 76), t(130, 77), t(144, 78), t(145, 79), t(186, 80), t(187, 81), t(188, 82), t(189, 83), t(190, 84), t(191, 85),t(192, 86),t(193, 110),t(194, 111),t(219, 87),t(220, 88),t(221, 89),t(222, 90), t(223, 91),t(226, 92),t(229, 109),n.isIE ? t(91, 57) : n.isFirefox ? (t(59, 80), t(107, 81), t(109, 83), o.isMacintosh && t(224, 57)) : n.isWebKit && (t(91, 57), o.isMacintosh ? t(93, 57) : t(92, 57)) }(); var a = o.isMacintosh ? 256 : 2048, l = o.isMacintosh ? 2048 : 256, u = function () { function e(e) { this._standardKeyboardEventBrand = !0; var t = e; this.browserEvent = t, this.target = t.target, this.ctrlKey = t.ctrlKey, this.shiftKey = t.shiftKey, this.altKey = t.altKey, this.metaKey = t.metaKey, this.keyCode = function (e) { if (e.charCode) { var t = String.fromCharCode(e.charCode).toUpperCase(); return i.KeyCodeUtils.fromString(t) } return r[e.keyCode] || 0 }(t), this.code = t.code, this.ctrlKey = this.ctrlKey || 5 === this.keyCode, this.altKey = this.altKey || 6 === this.keyCode, this.shiftKey = this.shiftKey || 4 === this.keyCode, this.metaKey = this.metaKey || 57 === this.keyCode, this._asKeybinding = this._computeKeybinding(), this._asRuntimeKeybinding = this._computeRuntimeKeybinding() } return e.prototype.preventDefault = function () { this.browserEvent && this.browserEvent.preventDefault && this.browserEvent.preventDefault() }, e.prototype.stopPropagation = function () { this.browserEvent && this.browserEvent.stopPropagation && this.browserEvent.stopPropagation() }, e.prototype.toKeybinding = function () { return this._asRuntimeKeybinding }, e.prototype.equals = function (e) { return this._asKeybinding === e }, e.prototype._computeKeybinding = function () { var e = 0; 5 !== this.keyCode && 4 !== this.keyCode && 6 !== this.keyCode && 57 !== this.keyCode && (e = this.keyCode); var t = 0; return this.ctrlKey && (t |= a), this.altKey && (t |= 512), this.shiftKey && (t |= 1024), this.metaKey && (t |= l), t |= e }, e.prototype._computeRuntimeKeybinding = function () { var e = 0; return 5 !== this.keyCode && 4 !== this.keyCode && 6 !== this.keyCode && 57 !== this.keyCode && (e = this.keyCode), new i.SimpleKeybinding(this.ctrlKey, this.shiftKey, this.altKey, this.metaKey, e) }, e }(); t.StandardKeyboardEvent = u })), define(n[45], i([0, 1, 24, 174, 16]), (function (e, t, n, i, o) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var s = function () { function e(e) { this.timestamp = Date.now(), this.browserEvent = e, this.leftButton = 0 === e.button, this.middleButton = 1 === e.button, this.rightButton = 2 === e.button, this.buttons = e.buttons, this.target = e.target, this.detail = e.detail || 1, "dblclick" === e.type && (this.detail = 2), this.ctrlKey = e.ctrlKey, this.shiftKey = e.shiftKey, this.altKey = e.altKey, this.metaKey = e.metaKey, "number" == typeof e.pageX ? (this.posx = e.pageX, this.posy = e.pageY) : (this.posx = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft, this.posy = e.clientY + document.body.scrollTop + document.documentElement.scrollTop); var t = i.IframeUtils.getPositionOfChildWindowRelativeToAncestorWindow(self, e.view); this.posx -= t.left, this.posy -= t.top } return e.prototype.preventDefault = function () { this.browserEvent.preventDefault && this.browserEvent.preventDefault() }, e.prototype.stopPropagation = function () { this.browserEvent.stopPropagation && this.browserEvent.stopPropagation() }, e }(); t.StandardMouseEvent = s; var a = function (e) { function t(t) { var n = e.call(this, t) || this; return n.dataTransfer = t.dataTransfer, n } return r(t, e), t }(s); t.DragMouseEvent = a; var l = function () { function e(e, t, i) { if (void 0 === t && (t = 0), void 0 === i && (i = 0), this.browserEvent = e || null, this.target = e ? e.target || e.targetNode || e.srcElement : null, this.deltaY = i, this.deltaX = t, e) { var r = e, s = e; if (void 0 !== r.wheelDeltaY) this.deltaY = r.wheelDeltaY / 120; else if (void 0 !== s.VERTICAL_AXIS && s.axis === s.VERTICAL_AXIS) this.deltaY = -s.detail / 3; else if ("wheel" === e.type) { (a = e).deltaMode === a.DOM_DELTA_LINE ? this.deltaY = -e.deltaY : this.deltaY = -e.deltaY / 40 } if (void 0 !== r.wheelDeltaX) n.isSafari && o.isWindows ? this.deltaX = -r.wheelDeltaX / 120 : this.deltaX = r.wheelDeltaX / 120; else if (void 0 !== s.HORIZONTAL_AXIS && s.axis === s.HORIZONTAL_AXIS) this.deltaX = -e.detail / 3; else if ("wheel" === e.type) { var a; (a = e).deltaMode === a.DOM_DELTA_LINE ? this.deltaX = -e.deltaX : this.deltaX = -e.deltaX / 40 } 0 === this.deltaY && 0 === this.deltaX && e.wheelDelta && (this.deltaY = e.wheelDelta / 120) } } return e.prototype.preventDefault = function () { this.browserEvent && this.browserEvent.preventDefault && this.browserEvent.preventDefault() }, e.prototype.stopPropagation = function () { this.browserEvent && this.browserEvent.stopPropagation && this.browserEvent.stopPropagation() }, e }(); t.StandardWheelEvent = l })), define(n[245], i([0, 1, 16]), (function (e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var i = "undefined" == typeof process ? { cwd: function () { return "/" }, env: Object.create(null), get platform() { return n.isWindows ? "win32" : n.isMacintosh ? "darwin" : "linux" }, nextTick: function (e) { return n.setImmediate(e) } } : process; t.cwd = i.cwd, t.env = i.env, t.platform = i.platform })), define(n[77], i([0, 1, 245]), (function (e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var i = 65, o = 97, s = 90, a = 122, l = 46, u = 47, d = 92, c = function (e) { function t(t, n, i) { var o, r = this; "string" == typeof n && 0 === n.indexOf("not ") ? (o = "must not be", n = n.replace(/^not /, "")) : o = "must be"; var s = -1 !== t.indexOf(".") ? "property" : "argument", a = 'The "' + t + '" ' + s + " " + o + " of type " + n; return a += ". Received type " + typeof i, (r = e.call(this, a) || this).code = "ERR_INVALID_ARG_TYPE", r } return r(t, e), t }(Error); function h(e, t) { if ("string" != typeof e) throw new c(t, "string", e) } function p(e) { return e === u || e === d } function g(e) { return e === u } function f(e) { return e >= i && e <= s || e >= o && e <= a } function m(e, t, n, i) { for (var o, r = "", s = 0, a = -1, d = 0, c = 0; c <= e.length; ++c) { if (c < e.length) o = e.charCodeAt(c); else { if (i(o)) break; o = u } if (i(o)) { if (a === c - 1 || 1 === d) ; else if (a !== c - 1 && 2 === d) { if (r.length < 2 || 2 !== s || r.charCodeAt(r.length - 1) !== l || r.charCodeAt(r.length - 2) !== l) { if (r.length > 2) { var h = r.lastIndexOf(n); -1 === h ? (r = "", s = 0) : s = (r = r.slice(0, h)).length - 1 - r.lastIndexOf(n), a = c, d = 0; continue } if (2 === r.length || 1 === r.length) { r = "", s = 0, a = c, d = 0; continue } } t && (r.length > 0 ? r += n + ".." : r = "..", s = 2) } else r.length > 0 ? r += n + e.slice(a + 1, c) : r = e.slice(a + 1, c), s = c - a - 1; a = c, d = 0 } else o === l && -1 !== d ? ++d : d = -1 } return r } function v(e, t) { var n = t.dir || t.root, i = t.base || (t.name || "") + (t.ext || ""); return n ? n === t.root ? n + i : n + e + i : i } t.win32 = { resolve: function () { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; for (var i = "", o = "", r = !1, s = e.length - 1; s >= -1; s--) { var a = void 0 ; if (s >= 0 ? a = e[s] : i ? void 0 !== (a = n.env["=" + i] || n.cwd()) && a.slice(0, 3).toLowerCase() === i.toLowerCase() + "\\" || (a = i + "\\") : a = n.cwd(), h(a, "path"), 0 !== a.length) { var l = a.length, u = 0, d = "", c = !1, g = a.charCodeAt(0); if (l > 1) if (p(g)) if (c = !0, p(a.charCodeAt(1))) { for (var v = 2, _ = v; v < l && !p(a.charCodeAt(v)); ++v) ; if (v < l && v !== _) { var y = a.slice(_, v); for (_ = v; v < l && p(a.charCodeAt(v)); ++v) ; if (v < l && v !== _) { for (_ = v; v < l && !p(a.charCodeAt(v)); ++v) ; v === l ? (d = "\\\\" + y + "\\" + a.slice(_), u = v) : v !== _ && (d = "\\\\" + y + "\\" + a.slice(_, v), u = v) } } } else u = 1; else f(g) && 58 === a.charCodeAt(1) && (d = a.slice(0, 2), u = 2, l > 2 && p(a.charCodeAt(2)) && (c = !0, u = 3)); else p(g) && (u = 1, c = !0); if (!(d.length > 0 && i.length > 0 && d.toLowerCase() !== i.toLowerCase()) && (0 === i.length && d.length > 0 && (i = d), r || (o = a.slice(u) + "\\" + o, r = c), i.length > 0 && r)) break } } return i + (r ? "\\" : "") + (o = m(o, !r, "\\", p)) || "." }, normalize: function (e) { h(e, "path"); var t = e.length; if (0 === t) return "."; var n, i, o = 0, r = !1, s = e.charCodeAt(0); if (t > 1) if (p(s)) if (r = !0, p(e.charCodeAt(1))) { for (var a = 2, l = a; a < t && !p(e.charCodeAt(a)); ++a) ; if (a < t && a !== l) { var u = e.slice(l, a); for (l = a; a < t && p(e.charCodeAt(a)); ++a) ; if (a < t && a !== l) { for (l = a; a < t && !p(e.charCodeAt(a)); ++a) ; if (a === t) return "\\\\" + u + "\\" + e.slice(l) + "\\"; a !== l && (n = "\\\\" + u + "\\" + e.slice(l, a), o = a) } } } else o = 1; else f(s) && 58 === e.charCodeAt(1) && (n = e.slice(0, 2), o = 2, t > 2 && p(e.charCodeAt(2)) && (r = !0, o = 3)); else if (p(s)) return "\\"; return 0 !== (i = o < t ? m(e.slice(o), !r, "\\", p) : "").length || r || (i = "."), i.length > 0 && p(e.charCodeAt(t - 1)) && (i += "\\"), void 0 === n ? r ? i.length > 0 ? "\\" + i : "\\" : i.length > 0 ? i : "" : r ? i.length > 0 ? n + "\\" + i : n + "\\" : i.length > 0 ? n + i : n }, isAbsolute: function (e) { h(e, "path"); var t = e.length; if (0 === t) return !1; var n = e.charCodeAt(0); return !!p(n) || !!(f(n) && t > 2 && 58 === e.charCodeAt(1) && p(e.charCodeAt(2))) }, join: function () { for (var e, n, i = [], o = 0; o < arguments.length; o++) i[o] = arguments[o]; if (0 === i.length) return "."; for (var r = 0; r < i.length; ++r) { var s = i[r]; h(s, "path"), s.length > 0 && (void 0 === e ? e = n = s : e += "\\" + s) } if (void 0 === e) return "."; var a = !0, l = 0; if ("string" == typeof n && p(n.charCodeAt(0))) { ++l; var u = n.length; u > 1 && p(n.charCodeAt(1)) && (++l, u > 2 && (p(n.charCodeAt(2)) ? ++l : a = !1)) } if (a) { for (; l < e.length && p(e.charCodeAt(l)); ++l) ; l >= 2 && (e = "\\" + e.slice(l)) } return t.win32.normalize(e) }, relative: function (e, n) { if (h(e, "from"), h(n, "to"), e === n) return ""; var i = t.win32.resolve(e), o = t.win32.resolve(n); if (i === o) return ""; if ((e = i.toLowerCase()) === (n = o.toLowerCase())) return ""; for (var r = 0; r < e.length && e.charCodeAt(r) === d; ++r) ; for (var s = e.length; s - 1 > r && e.charCodeAt(s - 1) === d; --s) ; for (var a = s - r, l = 0; l < n.length && n.charCodeAt(l) === d; ++l) ; for (var u = n.length; u - 1 > l && n.charCodeAt(u - 1) === d; --u) ; for (var c = u - l, p = a < c ? a : c, g = -1, f = 0; f <= p; ++f) { if (f === p) { if (c > p) { if (n.charCodeAt(l + f) === d) return o.slice(l + f + 1); if (2 === f) return o.slice(l + f) } a > p && (e.charCodeAt(r + f) === d ? g = f : 2 === f && (g = 3)); break } var m = e.charCodeAt(r + f); if (m !== n.charCodeAt(l + f)) break; m === d && (g = f) } if (f !== p && -1 === g) return o; var v = ""; for (-1 === g && (g = 0), f = r + g + 1; f <= s; ++f) f !== s && e.charCodeAt(f) !== d || (0 === v.length ? v += ".." : v += "\\.."); return v.length > 0 ? v + o.slice(l + g, u) : (l += g, o.charCodeAt(l) === d && ++l, o.slice(l, u)) }, toNamespacedPath: function (e) { if ("string" != typeof e) return e; if (0 === e.length) return ""; var n = t.win32.resolve(e); if (n.length >= 3) if (n.charCodeAt(0) === d) { if (n.charCodeAt(1) === d) { var i = n.charCodeAt(2); if (63 !== i && i !== l) return "\\\\?\\UNC\\" + n.slice(2) } } else if (f(n.charCodeAt(0)) && 58 === n.charCodeAt(1) && n.charCodeAt(2) === d) return "\\\\?\\" + n; return e }, dirname: function (e) { h(e, "path"); var t = e.length; if (0 === t) return "."; var n = -1, i = -1, o = !0, r = 0, s = e.charCodeAt(0); if (t > 1) if (p(s)) { if (n = r = 1, p(e.charCodeAt(1))) { for (var a = 2, l = a; a < t && !p(e.charCodeAt(a)); ++a) ; if (a < t && a !== l) { for (l = a; a < t && p(e.charCodeAt(a)); ++a) ; if (a < t && a !== l) { for (l = a; a < t && !p(e.charCodeAt(a)); ++a) ; if (a === t) return e; a !== l && (n = r = a + 1) } } } } else f(s) && 58 === e.charCodeAt(1) && (n = r = 2, t > 2 && p(e.charCodeAt(2)) && (n = r = 3)); else if (p(s)) return e; for (var u = t - 1; u >= r; --u) if (p(e.charCodeAt(u))) { if (!o) { i = u; break } } else o = !1; if (-1 === i) { if (-1 === n) return "."; i = n } return e.slice(0, i) }, basename: function (e, t) { void 0 !== t && h(t, "ext"), h(e, "path"); var n, i = 0, o = -1, r = !0 ;e.length >= 2 && (f(e.charCodeAt(0)) && 58 === e.charCodeAt(1) && (i = 2)); if (void 0 !== t && t.length > 0 && t.length <= e.length) { if (t.length === e.length && t === e) return ""; var s = t.length - 1, a = -1; for (n = e.length - 1; n >= i; --n) { var l = e.charCodeAt(n); if (p(l)) { if (!r) { i = n + 1; break } } else -1 === a && (r = !1, a = n + 1), s >= 0 && (l === t.charCodeAt(s) ? -1 == --s && (o = n) : (s = -1, o = a)) } return i === o ? o = a : -1 === o && (o = e.length), e.slice(i, o) } for (n = e.length - 1; n >= i; --n) if (p(e.charCodeAt(n))) { if (!r) { i = n + 1; break } } else -1 === o && (r = !1, o = n + 1); return -1 === o ? "" : e.slice(i, o) }, extname: function (e) { h(e, "path"); var t = 0, n = -1, i = 0, o = -1, r = !0, s = 0; e.length >= 2 && 58 === e.charCodeAt(1) && f(e.charCodeAt(0)) && (t = i = 2); for (var a = e.length - 1; a >= t; --a) { var u = e.charCodeAt(a); if (p(u)) { if (!r) { i = a + 1; break } } else -1 === o && (r = !1, o = a + 1), u === l ? -1 === n ? n = a : 1 !== s && (s = 1) : -1 !== n && (s = -1) } return -1 === n || -1 === o || 0 === s || 1 === s && n === o - 1 && n === i + 1 ? "" : e.slice(n, o) }, format: function (e) { if (null === e || "object" != typeof e) throw new c("pathObject", "Object", e); return v("\\", e) }, parse: function (e) { h(e, "path"); var t = { root: "", dir: "", base: "", ext: "", name: "" }; if (0 === e.length) return t; var n = e.length, i = 0, o = e.charCodeAt(0); if (n > 1) { if (p(o)) { if (i = 1, p(e.charCodeAt(1))) { for (var r = 2, s = r; r < n && !p(e.charCodeAt(r)); ++r) ; if (r < n && r !== s) { for (s = r; r < n && p(e.charCodeAt(r)); ++r) ; if (r < n && r !== s) { for (s = r; r < n && !p(e.charCodeAt(r)); ++r) ; r === n ? i = r : r !== s && (i = r + 1) } } } } else if (f(o) && 58 === e.charCodeAt(1)) { if (i = 2, !(n > 2)) return t.root = t.dir = e, t; if (p(e.charCodeAt(2))) { if (3 === n) return t.root = t.dir = e, t; i = 3 } } } else if (p(o)) return t.root = t.dir = e, t; i > 0 && (t.root = e.slice(0, i)); for (var a = -1, u = i, d = -1, c = !0, g = e.length - 1, m = 0; g >= i; --g) if (p(o = e.charCodeAt(g))) { if (!c) { u = g + 1; break } } else -1 === d && (c = !1, d = g + 1), o === l ? -1 === a ? a = g : 1 !== m && (m = 1) : -1 !== a && (m = -1); return -1 === a || -1 === d || 0 === m || 1 === m && a === d - 1 && a === u + 1 ? -1 !== d && (t.base = t.name = e.slice(u, d)) : (t.name = e.slice(u, a), t.base = e.slice(u, d), t.ext = e.slice(a, d)), t.dir = u > 0 && u !== i ? e.slice(0, u - 1) : t.root, t }, sep: "\\", delimiter: ";", win32: null, posix: null }, t.posix = { resolve: function () { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t] ; for (var i = "", o = !1, r = e.length - 1; r >= -1 && !o; r--) { var s = void 0; h(s = r >= 0 ? e[r] : n.cwd(), "path"), 0 !== s.length && (i = s + "/" + i, o = s.charCodeAt(0) === u) } return i = m(i, !o, "/", g), o ? i.length > 0 ? "/" + i : "/" : i.length > 0 ? i : "." }, normalize: function (e) { if (h(e, "path"), 0 === e.length) return "."; var t = e.charCodeAt(0) === u, n = e.charCodeAt(e.length - 1) === u; return 0 !== (e = m(e, !t, "/", g)).length || t || (e = "."), e.length > 0 && n && (e += "/"), t ? "/" + e : e }, isAbsolute: function (e) { return h(e, "path"), e.length > 0 && e.charCodeAt(0) === u }, join: function () { for (var e, n = [], i = 0; i < arguments.length; i++) n[i] = arguments[i]; if (0 === n.length) return "."; for (var o = 0; o < n.length; ++o) { var r = arguments[o]; h(r, "path"), r.length > 0 && (void 0 === e ? e = r : e += "/" + r) } return void 0 === e ? "." : t.posix.normalize(e) }, relative: function (e, n) { if (h(e, "from"), h(n, "to"), e === n) return ""; if ((e = t.posix.resolve(e)) === (n = t.posix.resolve(n))) return ""; for (var i = 1; i < e.length && e.charCodeAt(i) === u; ++i) ; for (var o = e.length, r = o - i, s = 1; s < n.length && n.charCodeAt(s) === u; ++s) ; for (var a = n.length - s, l = r < a ? r : a, d = -1, c = 0; c <= l; ++c) { if (c === l) { if (a > l) { if (n.charCodeAt(s + c) === u) return n.slice(s + c + 1); if (0 === c) return n.slice(s + c) } else r > l && (e.charCodeAt(i + c) === u ? d = c : 0 === c && (d = 0)); break } var p = e.charCodeAt(i + c); if (p !== n.charCodeAt(s + c)) break; p === u && (d = c) } var g = ""; for (c = i + d + 1; c <= o; ++c) c !== o && e.charCodeAt(c) !== u || (0 === g.length ? g += ".." : g += "/.."); return g.length > 0 ? g + n.slice(s + d) : (s += d, n.charCodeAt(s) === u && ++s, n.slice(s)) }, toNamespacedPath: function (e) { return e }, dirname: function (e) { if (h(e, "path"), 0 === e.length) return "."; for (var t = e.charCodeAt(0) === u, n = -1, i = !0, o = e.length - 1; o >= 1; --o) if (e.charCodeAt(o) === u) { if (!i) { n = o; break } } else i = !1; return -1 === n ? t ? "/" : "." : t && 1 === n ? "//" : e.slice(0, n) }, basename: function (e, t) { void 0 !== t && h(t, "ext"), h(e, "path"); var n, i = 0, o = -1, r = !0; if (void 0 !== t && t.length > 0 && t.length <= e.length) { if (t.length === e.length && t === e) return ""; var s = t.length - 1, a = -1; for (n = e.length - 1; n >= 0; --n) { var l = e.charCodeAt(n); if (l === u) { if (!r) { i = n + 1; break } } else -1 === a && (r = !1, a = n + 1), s >= 0 && (l === t.charCodeAt(s) ? -1 == --s && (o = n) : (s = -1, o = a)) } return i === o ? o = a : -1 === o && (o = e.length), e.slice(i, o) } for (n = e.length - 1; n >= 0; --n) if (e.charCodeAt(n) === u) { if (!r) { i = n + 1; break } } else -1 === o && (r = !1, o = n + 1); return -1 === o ? "" : e.slice(i, o) }, extname: function (e) { h(e, "path"); for (var t = -1, n = 0, i = -1, o = !0, r = 0, s = e.length - 1; s >= 0; --s) { var a = e.charCodeAt(s); if (a !== u) -1 === i && (o = !1, i = s + 1), a === l ? -1 === t ? t = s : 1 !== r && (r = 1) : -1 !== t && (r = -1); else if (!o) { n = s + 1; break } } return -1 === t || -1 === i || 0 === r || 1 === r && t === i - 1 && t === n + 1 ? "" : e.slice(t, i) }, format: function (e) { if (null === e || "object" != typeof e) throw new c("pathObject", "Object", e); return v("/", e) }, parse: function (e) { h(e, "path"); var t = {root: "", dir: "", base: "", ext: "", name: ""}; if (0 === e.length) return t; var n, i = e.charCodeAt(0) === u; i ? (t.root = "/", n = 1) : n = 0; for (var o = -1, r = 0, s = -1, a = !0, d = e.length - 1, c = 0; d >= n; --d) { var p = e.charCodeAt(d); if (p !== u) -1 === s && (a = !1, s = d + 1), p === l ? -1 === o ? o = d : 1 !== c && (c = 1) : -1 !== o && (c = -1); else if (!a) { r = d + 1; break } } return -1 === o || -1 === s || 0 === c || 1 === c && o === s - 1 && o === r + 1 ? -1 !== s && (t.base = t.name = 0 === r && i ? e.slice(1, s) : e.slice(r, s)) : (0 === r && i ? (t.name = e.slice(1, o), t.base = e.slice(1, s)) : (t.name = e.slice(r, o), t.base = e.slice(r, s)), t.ext = e.slice(o, s)), r > 0 ? t.dir = e.slice(0, r - 1) : i && (t.dir = "/"), t }, sep: "/", delimiter: ":", win32: null, posix: null }, t.posix.win32 = t.win32.win32 = t.win32, t.posix.posix = t.win32.posix = t.posix, t.normalize = "win32" === n.platform ? t.win32.normalize : t.posix.normalize, t.join = "win32" === n.platform ? t.win32.join : t.posix.join, t.relative = "win32" === n.platform ? t.win32.relative : t.posix.relative, t.dirname = "win32" === n.platform ? t.win32.dirname : t.posix.dirname, t.basename = "win32" === n.platform ? t.win32.basename : t.posix.basename, t.extname = "win32" === n.platform ? t.win32.extname : t.posix.extname, t.sep = "win32" === n.platform ? t.win32.sep : t.posix.sep })), define(n[103], i([0, 1]), (function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), function (e) { function t(e, t) { if (e.start >= t.end || t.start >= e.end) return {start: 0, end: 0}; var n = Math.max(e.start, t.start), i = Math.min(e.end, t.end); return i - n <= 0 ? {start: 0, end: 0} : {start: n, end: i} } function n(e) { return e.end - e.start <= 0 } e.intersect = t, e.isEmpty = n, e.intersects = function (e, i) { return !n(t(e, i)) }, e.relativeComplement = function (e, t) { var i = [], o = {start: e.start, end: Math.min(t.start, e.end)}, r = {start: Math.max(t.end, e.start), end: e.end}; return n(o) || i.push(o), n(r) || i.push(r), i } }(t.Range || (t.Range = {})) })), define(n[246], i([0, 1, 103]), (function (e, t, n) { "use strict"; function i(e, t) { for (var i = [], o = 0, r = t; o < r.length; o++) { var s = r[o]; if (!(e.start >= s.range.end)) { if (e.end < s.range.start) break; var a = n.Range.intersect(e, s.range); n.Range.isEmpty(a) || i.push({range: a, size: s.size}) } } return i } function o(e, t) { return {start: e.start + t, end: e.end + t} } function r(e) { for (var t = [], n = null, i = 0, o = e; i < o.length; i++) { var r = o[i], s = r.range.start, a = r.range.end, l = r.size; n && l === n.size ? n.range.end = a : (n = {range: {start: s, end: a}, size: l}, t.push(n)) } return t } Object.defineProperty(t, "__esModule", {value: !0}), t.groupIntersect = i, t.shift = o, t.consolidate = r; var s = function () { function e() { this.groups = [], this._size = 0 } return e.prototype.splice = function (e, t, n) { void 0 === n && (n = []); var s = n.length - t, a = i({ start: 0, end: e }, this.groups), l = i({start: e + t, end: Number.POSITIVE_INFINITY}, this.groups).map((function (e) { return {range: o(e.range, s), size: e.size} })), u = n.map((function (t, n) { return {range: {start: e + n, end: e + n + 1}, size: t.size} })); this.groups = function () { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; return r(e.reduce((function (e, t) { return e.concat(t) }), [])) }(a, u, l), this._size = this.groups.reduce((function (e, t) { return e + t.size * (t.range.end - t.range.start) }), 0) }, Object.defineProperty(e.prototype, "count", { get: function () { var e = this.groups.length; return e ? this.groups[e - 1].range.end : 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "size", { get: function () { return this._size }, enumerable: !0, configurable: !0 }), e.prototype.indexAt = function (e) { if (e < 0) return -1; for (var t = 0, n = 0, i = 0, o = this.groups; i < o.length; i++) { var r = o[i], s = r.range.end - r.range.start, a = n + s * r.size; if (e < a) return t + Math.floor((e - n) / r.size); t += s, n = a } return t }, e.prototype.indexAfter = function (e) { return Math.min(this.indexAt(e) + 1, this.count) }, e.prototype.positionAt = function (e) { if (e < 0) return -1; for (var t = 0, n = 0, i = 0, o = this.groups; i < o.length; i++) { var r = o[i], s = r.range.end - r.range.start, a = n + s; if (e < a) return t + (e - n) * r.size; t += s * r.size, n = a } return -1 }, e }(); t.RangeMap = s })), define(n[176], i([0, 1, 4, 2]), (function (e, t, n, i) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var o = function () { function e(e, t, n, i, o, r) { (e |= 0) < 0 && (e = 0), (n |= 0) + e > (t |= 0) && (n = t - e), n < 0 && (n = 0), (i |= 0) < 0 && (i = 0), (r |= 0) + i > (o |= 0) && (r = o - i), r < 0 && (r = 0), this.width = e, this.scrollWidth = t, this.scrollLeft = n, this.height = i, this.scrollHeight = o, this.scrollTop = r } return e.prototype.equals = function (e) { return this.width === e.width && this.scrollWidth === e.scrollWidth && this.scrollLeft === e.scrollLeft && this.height === e.height && this.scrollHeight === e.scrollHeight && this.scrollTop === e.scrollTop }, e.prototype.withScrollDimensions = function (t) { return new e(void 0 !== t.width ? t.width : this.width, void 0 !== t.scrollWidth ? t.scrollWidth : this.scrollWidth, this.scrollLeft, void 0 !== t.height ? t.height : this.height, void 0 !== t.scrollHeight ? t.scrollHeight : this.scrollHeight, this.scrollTop) }, e.prototype.withScrollPosition = function (t) { return new e(this.width, this.scrollWidth, void 0 !== t.scrollLeft ? t.scrollLeft : this.scrollLeft, this.height, this.scrollHeight, void 0 !== t.scrollTop ? t.scrollTop : this.scrollTop) }, e.prototype.createScrollEvent = function (e) { var t = this.width !== e.width, n = this.scrollWidth !== e.scrollWidth, i = this.scrollLeft !== e.scrollLeft, o = this.height !== e.height, r = this.scrollHeight !== e.scrollHeight, s = this.scrollTop !== e.scrollTop; return { width: this.width, scrollWidth: this.scrollWidth, scrollLeft: this.scrollLeft, height: this.height, scrollHeight: this.scrollHeight, scrollTop: this.scrollTop, widthChanged: t, scrollWidthChanged: n, scrollLeftChanged: i, heightChanged: o, scrollHeightChanged: r, scrollTopChanged: s } }, e }(); t.ScrollState = o; var s = function (e) { function t(t, i) { var r = e.call(this) || this; return r._onScroll = r._register(new n.Emitter), r.onScroll = r._onScroll.event, r._smoothScrollDuration = t, r._scheduleAtNextAnimationFrame = i, r._state = new o(0, 0, 0, 0, 0, 0), r._smoothScrolling = null, r } return r(t, e), t.prototype.dispose = function () { this._smoothScrolling && (this._smoothScrolling.dispose(), this._smoothScrolling = null), e.prototype.dispose.call(this) }, t.prototype.setSmoothScrollDuration = function (e) { this._smoothScrollDuration = e }, t.prototype.validateScrollPosition = function (e) { return this._state.withScrollPosition(e) }, t.prototype.getScrollDimensions = function () { return this._state }, t.prototype.setScrollDimensions = function (e) { var t = this._state.withScrollDimensions(e); this._setState(t), this._smoothScrolling && this._smoothScrolling.acceptScrollDimensions(this._state) }, t.prototype.getFutureScrollPosition = function () { return this._smoothScrolling ? this._smoothScrolling.to : this._state }, t.prototype.getCurrentScrollPosition = function () { return this._state }, t.prototype.setScrollPositionNow = function (e) { var t = this._state.withScrollPosition(e); this._smoothScrolling && (this._smoothScrolling.dispose(), this._smoothScrolling = null), this._setState(t) }, t.prototype.setScrollPositionSmooth = function (e) { var t = this; if (0 === this._smoothScrollDuration) return this.setScrollPositionNow(e); if (this._smoothScrolling) { e = { scrollLeft: void 0 === e.scrollLeft ? this._smoothScrolling.to.scrollLeft : e.scrollLeft, scrollTop: void 0 === e.scrollTop ? this._smoothScrolling.to.scrollTop : e.scrollTop }; var n = this._state.withScrollPosition(e); if (this._smoothScrolling.to.scrollLeft === n.scrollLeft && this._smoothScrolling.to.scrollTop === n.scrollTop) return; var i = this._smoothScrolling.combine(this._state, n, this._smoothScrollDuration); this._smoothScrolling.dispose(), this._smoothScrolling = i } else { n = this._state.withScrollPosition(e); this._smoothScrolling = u.start(this._state, n, this._smoothScrollDuration) } this._smoothScrolling.animationFrameDisposable = this._scheduleAtNextAnimationFrame((function () { t._smoothScrolling && (t._smoothScrolling.animationFrameDisposable = null, t._performSmoothScrolling()) })) }, t.prototype._performSmoothScrolling = function () { var e = this; if (this._smoothScrolling) { var t = this._smoothScrolling.tick(), n = this._state.withScrollPosition(t); if (this._setState(n), t.isDone) return this._smoothScrolling.dispose(), void (this._smoothScrolling = null); this._smoothScrolling.animationFrameDisposable = this._scheduleAtNextAnimationFrame((function () { e._smoothScrolling && (e._smoothScrolling.animationFrameDisposable = null, e._performSmoothScrolling()) })) } }, t.prototype._setState = function (e) { var t = this._state; t.equals(e) || (this._state = e, this._onScroll.fire(this._state.createScrollEvent(t))) }, t }(i.Disposable); t.Scrollable = s; var a = function (e, t, n) { this.scrollLeft = e, this.scrollTop = t, this.isDone = n }; function l(e, t) { var n = t - e; return function (t) { return e + n * (1 - function (e) { return Math.pow(e, 3) }(1 - t)) } } t.SmoothScrollingUpdate = a; var u = function () { function e(e, t, n, i) { this.from = e, this.to = t, this.duration = i, this._startTime = n, this.animationFrameDisposable = null, this._initAnimations() } return e.prototype._initAnimations = function () { this.scrollLeft = this._initAnimation(this.from.scrollLeft, this.to.scrollLeft, this.to.width), this.scrollTop = this._initAnimation(this.from.scrollTop, this.to.scrollTop, this.to.height) }, e.prototype._initAnimation = function (e, t, n) { var i, o, r; if (Math.abs(e - t) > 2.5 * n) { var s = void 0, a = void 0; return e < t ? (s = e + .75 * n, a = t - .75 * n) : (s = e - .75 * n, a = t + .75 * n), i = l(e, s), o = l(a, t), r = .33, function (e) { return e < r ? i(e / r) : o((e - r) / (1 - r)) } } return l(e, t) }, e.prototype.dispose = function () { null !== this.animationFrameDisposable && (this.animationFrameDisposable.dispose(), this.animationFrameDisposable = null) }, e.prototype.acceptScrollDimensions = function (e) { this.to = e.withScrollPosition(this.to), this._initAnimations() }, e.prototype.tick = function () { return this._tick(Date.now()) }, e.prototype._tick = function (e) { var t = (e - this._startTime) / this.duration; if (t < 1) { var n = this.scrollLeft(t), i = this.scrollTop(t); return new a(n, i, !1) } return new a(this.to.scrollLeft, this.to.scrollTop, !0) }, e.prototype.combine = function (t, n, i) { return e.start(t, n, i) }, e.start = function (t, n, i) { return i += 10, new e(t, n, Date.now() - 10, i) }, e }(); t.SmoothScrollingOperation = u })), define(n[132], i([0, 1, 16]), (function (e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var i = n.globals.performance && "function" == typeof n.globals.performance.now, o = function () { function e(e) { this._highResolution = i && e, this._startTime = this._now(), this._stopTime = -1 } return e.create = function (t) { return void 0 === t && (t = !0), new e(t) }, e.prototype.stop = function () { this._stopTime = this._now() }, e.prototype.elapsed = function () { return -1 !== this._stopTime ? this._stopTime - this._startTime : this._now() - this._startTime }, e.prototype._now = function () { return this._highResolution ? n.globals.performance.now() : (new Date).getTime() }, e }(); t.StopWatch = o })), define(n[5], i([0, 1]), (function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), t.isFalsyOrWhitespace = function (e) { return !e || "string" != typeof e || 0 === e.trim().length }, t.pad = function (e, t, n) { void 0 === n && (n = "0") ; for (var i = "" + e, o = [i], r = i.length; r < t; r++) o.push(n); return o.reverse().join("") }; var n = /{(\d+)}/g; function i(e) { return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g, "\\$&") } function o(e, t) { if (!e || !t) return e; var n = t.length; if (0 === n || 0 === e.length) return e; for (var i = 0; e.indexOf(t, i) === i;) i += n; return e.substring(i) } function r(e, t) { if (!e || !t) return e; var n = t.length, i = e.length; if (0 === n || 0 === i) return e; for (var o = i, r = -1; -1 !== (r = e.lastIndexOf(t, o - 1)) && r + n === o;) { if (0 === r) return ""; o = r } return e.substring(0, o) } function s(e, t) { return e < t ? -1 : e > t ? 1 : 0 } function a(e) { return e >= 97 && e <= 122 } function l(e) { return e >= 65 && e <= 90 } function u(e) { return a(e) || l(e) } function d(e, t, n) { void 0 === n && (n = e.length); for (var i = 0; i < n; i++) { var o = e.charCodeAt(i), r = t.charCodeAt(i); if (o !== r) if (u(o) && u(r)) { var s = Math.abs(o - r); if (0 !== s && 32 !== s) return !1 } else if (String.fromCharCode(o).toLowerCase() !== String.fromCharCode(r).toLowerCase()) return !1 } return !0 } function c(e) { return 55296 <= e && e <= 56319 } function h(e) { return 56320 <= e && e <= 57343 } function p(e, t, n) { var i = e.charCodeAt(n); if (c(i) && n + 1 < t) { var o = e.charCodeAt(n + 1); if (h(o)) return o - 56320 + (i - 55296 << 10) + 65536 } return i } function g(e, t) { var n = e.charCodeAt(t - 1); if (h(n) && t > 1) { var i = e.charCodeAt(t - 2); if (c(i)) return n - 56320 + (i - 55296 << 10) + 65536 } return n } t.format = function (e) { for (var t = [], i = 1; i < arguments.length; i++) t[i - 1] = arguments[i]; return 0 === t.length ? e : e.replace(n, (function (e, n) { var i = parseInt(n, 10); return isNaN(i) || i < 0 || i >= t.length ? e : t[i] })) }, t.escape = function (e) { return e.replace(/[<>&]/g, (function (e) { switch (e) { case"<": return "<"; case">": return ">"; case"&": return "&"; default: return e } })) }, t.escapeRegExpCharacters = i, t.trim = function (e, t) { return void 0 === t && (t = " "), r(o(e, t), t) }, t.ltrim = o, t.rtrim = r, t.convertSimple2RegExpPattern = function (e) { return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g, "\\$&").replace(/[\*]/g, ".*") }, t.startsWith = function (e, t) { if (e.length < t.length) return !1; if (e === t) return !0; for (var n = 0; n < t.length; n++) if (e[n] !== t[n]) return !1; return !0 }, t.endsWith = function (e, t) { var n = e.length - t.length ; return n > 0 ? e.indexOf(t, n) === n : 0 === n && e === t }, t.createRegExp = function (e, t, n) { if (void 0 === n && (n = {}), !e) throw new Error("Cannot create regex from empty string"); t || (e = i(e)), n.wholeWord && (/\B/.test(e.charAt(0)) || (e = "\\b" + e), /\B/.test(e.charAt(e.length - 1)) || (e += "\\b")); var o = ""; return n.global && (o += "g"), n.matchCase || (o += "i"), n.multiline && (o += "m"), n.unicode && (o += "u"), new RegExp(e, o) }, t.regExpLeadsToEndlessLoop = function (e) { return "^" !== e.source && "^$" !== e.source && "$" !== e.source && "^\\s*$" !== e.source && !(!e.exec("") || 0 !== e.lastIndex) }, t.regExpFlags = function (e) { return (e.global ? "g" : "") + (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.unicode ? "u" : "") }, t.firstNonWhitespaceIndex = function (e) { for (var t = 0, n = e.length; t < n; t++) { var i = e.charCodeAt(t); if (32 !== i && 9 !== i) return t } return -1 }, t.getLeadingWhitespace = function (e, t, n) { void 0 === t && (t = 0), void 0 === n && (n = e.length); for (var i = t; i < n; i++) { var o = e.charCodeAt(i); if (32 !== o && 9 !== o) return e.substring(t, i) } return e.substring(t, n) }, t.lastNonWhitespaceIndex = function (e, t) { void 0 === t && (t = e.length - 1); for (var n = t; n >= 0; n--) { var i = e.charCodeAt(n); if (32 !== i && 9 !== i) return n } return -1 }, t.compare = s, t.compareIgnoreCase = function (e, t) { for (var n = Math.min(e.length, t.length), i = 0; i < n; i++) { var o = e.charCodeAt(i), r = t.charCodeAt(i); if (o !== r) { l(o) && (o += 32), l(r) && (r += 32); var u = o - r; if (0 !== u) return a(o) && a(r) ? u : s(e.toLowerCase(), t.toLowerCase()) } } return e.length < t.length ? -1 : e.length > t.length ? 1 : 0 }, t.isLowerAsciiLetter = a, t.isUpperAsciiLetter = l, t.equalsIgnoreCase = function (e, t) { return e.length === t.length && d(e, t) }, t.startsWithIgnoreCase = function (e, t) { var n = t.length; return !(t.length > e.length) && d(e, t, n) }, t.commonPrefixLength = function (e, t) { var n, i = Math.min(e.length, t.length); for (n = 0; n < i; n++) if (e.charCodeAt(n) !== t.charCodeAt(n)) return n; return i }, t.commonSuffixLength = function (e, t) { var n, i = Math.min(e.length, t.length), o = e.length - 1, r = t.length - 1; for (n = 0; n < i; n++) if (e.charCodeAt(o - n) !== t.charCodeAt(r - n)) return n; return i }, t.isHighSurrogate = c, t.isLowSurrogate = h, t.getNextCodePoint = p, t.nextCharLength = function (e, t) { var n = C.getInstance(), i = t, o = e.length, r = p(e, o, t); t += r >= 65536 ? 2 : 1; for (var s = n.getGraphemeBreakType(r); t < o;) { var a = p(e, o, t), l = n.getGraphemeBreakType(a); if (y(s, l)) break; t += a >= 65536 ? 2 : 1, s = l } return t - i }, t.prevCharLength = function (e, t) { var n = C.getInstance(), i = t, o = g(e, t); t -= o >= 65536 ? 2 : 1; for (var r = n.getGraphemeBreakType(o); t > 0;) { var s = g(e, t), a = n.getGraphemeBreakType(s); if (y(a, r)) break; t -= s >= 65536 ? 2 : 1, r = a } return i - t }; var f = /(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/; t.containsRTL = function (e) { return f.test(e) } ;var m = /(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/; t.containsEmoji = function (e) { return m.test(e) }; var v = /^[\t\n\r\x20-\x7E]*$/; function _(e) { return (e = +e) >= 11904 && e <= 55215 || e >= 63744 && e <= 64255 || e >= 65281 && e <= 65374 } function y(e, t) { return 0 === e ? 5 !== t && 7 !== t : (2 !== e || 3 !== t) && (4 === e || 2 === e || 3 === e || (4 === t || 2 === t || 3 === t || (8 !== e || 8 !== t && 9 !== t && 11 !== t && 12 !== t) && ((11 !== e && 9 !== e || 9 !== t && 10 !== t) && ((12 !== e && 10 !== e || 10 !== t) && (5 !== t && 13 !== t && (7 !== t && (1 !== e && ((13 !== e || 14 !== t) && (6 !== e || 6 !== t))))))))) } t.isBasicASCII = function (e) { return v.test(e) }, t.containsFullWidthCharacter = function (e) { for (var t = 0, n = e.length; t < n; t++) if (_(e.charCodeAt(t))) return !0; return !1 }, t.isFullWidthCharacter = _, t.isEmojiImprecise = function (e) { return e >= 127462 && e <= 127487 || e >= 9728 && e <= 10175 || e >= 127744 && e <= 128591 || e >= 128640 && e <= 128764 || e >= 128992 && e <= 129003 || e >= 129280 && e <= 129535 || e >= 129648 && e <= 129651 || e >= 129656 && e <= 129666 || e >= 129680 && e <= 129685 }, t.UTF8_BOM_CHARACTER = String.fromCharCode(65279), t.startsWithUTF8BOM = function (e) { return !!(e && e.length > 0 && 65279 === e.charCodeAt(0)) }, t.safeBtoa = function (e) { return btoa(encodeURIComponent(e)) }, t.repeat = function (e, t) { for (var n = "", i = 0; i < t; i++) n += e; return n }, t.containsUppercaseCharacter = function (e, t) { return void 0 === t && (t = !1), !!e && (t && (e = e.replace(/\\./g, "")), e.toLowerCase() !== e) }, t.singleLetterHash = function (e) { return (e %= 52) < 26 ? String.fromCharCode(97 + e) : String.fromCharCode(65 + e - 26) }, t.getGraphemeBreakType = function (e) { return C.getInstance().getGraphemeBreakType(e) }, t.breakBetweenGraphemeBreakType = y; var C = function () { function e() { this._data = JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]") } return e.getInstance = function () { return e._INSTANCE || (e._INSTANCE = new e), e._INSTANCE }, e.prototype.getGraphemeBreakType = function (e) { if (e < 32) return 10 === e ? 3 : 13 === e ? 2 : 4; if (e < 127) return 0; for (var t = this._data, n = t.length / 3, i = 1; i <= n;) if (e < t[3 * i]) i *= 2; else { if (!(e > t[3 * i + 1])) return t[3 * i + 2]; i = 2 * i + 1 } return 0 }, e._INSTANCE = null, e }() })), define(n[177], i([0, 1, 5, 77]), (function (e, t, n, i) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), t.toSlashes = function (e) { return e.replace(/[\\/]/g, i.posix.sep) }, t.isEqualOrParent = function (e, t, o, r) { if (void 0 === r && (r = i.sep), e === t) return !0; if (!e || !t) return !1; if (t.length > e.length) return !1; if (o) { if (!n.startsWithIgnoreCase(e, t)) return !1; if (t.length === e.length) return !0; var s = t.length; return t.charAt(t.length - 1) === r && s--, e.charAt(s) === r } return t.charAt(t.length - 1) !== r && (t += r), 0 === e.indexOf(t) }, t.isWindowsDriveLetter = function (e) { return e >= 65 && e <= 90 || e >= 97 && e <= 122 } })), define(n[61], i([0, 1, 38, 5]), (function (e, t, n, i) { "use strict"; function o() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; return function (t, n) { for (var i = 0, o = e.length; i < o; i++) { var r = e[i](t, n); if (r) return r } return null } } function r(e, t) { var n = t.toLowerCase().indexOf(e.toLowerCase()); return -1 === n ? null : [{start: n, end: n + e.length}] } function s(e, t) { return function e(t, n, i, o) { if (i === t.length) return []; if (o === n.length) return null; if (t[i] === n[o]) { var r; return (r = e(t, n, i + 1, o + 1)) ? p({start: o, end: o + 1}, r) : null } return e(t, n, i, o + 1) }(e.toLowerCase(), t.toLowerCase(), 0, 0) } function a(e) { return 97 <= e && e <= 122 } function l(e) { return 65 <= e && e <= 90 } function u(e) { return 48 <= e && e <= 57 } function d(e) { return 32 === e || 9 === e || 10 === e || 13 === e } Object.defineProperty(t, "__esModule", {value: !0}), t.or = o, t.matchesPrefix = function (e, t, n) { if (!n || n.length < t.length) return null; var o; o = e ? i.startsWithIgnoreCase(n, t) : 0 === n.indexOf(t); if (!o) return null; return t.length > 0 ? [{start: 0, end: t.length}] : [] }.bind(void 0, !0), t.matchesContiguousSubString = r, t.matchesSubString = s, t.isUpper = l; var c = new Set; function h(e) { return a(e) || l(e) || u(e) } function p(e, t) { return 0 === t.length ? t = [e] : e.end === t[0].start ? t[0].start = e.start : t.unshift(e), t } function g(e, t) { for (var n = t; n < e.length; n++) { var i = e.charCodeAt(n); if (l(i) || u(i) || n > 0 && !h(e.charCodeAt(n - 1))) return n } return e.length } function f(e, t, n, i) { if (n === e.length) return []; if (i === t.length) return null; if (e[n] !== t[i].toLowerCase()) return null; var o = null, r = i + 1; for (o = f(e, t, n + 1, i + 1); !o && (r = g(t, r)) < t.length;) o = f(e, t, n + 1, r), r++; return null === o ? null : p({start: i, end: i + 1}, o) } function m(e, t) { if (!t) return null; if (0 === (t = t.trim()).length) return null; if (!function (e) { for (var t = 0, n = 0, i = 0, o = 0, r = 0; r < e.length; r++) l(i = e.charCodeAt(r)) && t++, a(i) && n++, d(i) && o++; return 0 !== t && 0 !== n || 0 !== o ? t <= 5 : e.length <= 30 }(e)) return null; if (t.length > 60) return null; var n = function (e) { for (var t = 0, n = 0, i = 0, o = 0, r = 0, s = 0; s < e.length; s++) l(r = e.charCodeAt(s)) && t++, a(r) && n++, h(r) && i++, u(r) && o++; return { upperPercent: t / e.length, lowerPercent: n / e.length, alphaPercent: i / e.length, numericPercent: o / e.length } }(t); if (!function (e) { var t = e.upperPercent, n = e.lowerPercent, i = e.alphaPercent, o = e.numericPercent; return n > .2 && t < .8 && i > .6 && o < .2 }(n)) { if (!function (e) { var t = e.upperPercent; return 0 === e.lowerPercent && t > .6 }(n)) return null; t = t.toLowerCase() } var i = null, o = 0; for (e = e.toLowerCase(); o < t.length && null === (i = f(e, t, 0, o));) o = g(t, o + 1); return i } "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach((function (e) { return c.add(e.charCodeAt(0)) })), t.matchesCamelCase = m; var v = o(t.matchesPrefix, m, r), _ = o(t.matchesPrefix, m, s), y = new n.LRUCache(1e4); t.matchesFuzzy = function (e, t, n) { if (void 0 === n && (n = !1), "string" != typeof e || "string" != typeof t) return null; var o = y.get(e); o || (o = new RegExp(i.convertSimple2RegExpPattern(e), "i"), y.set(e, o)); var r = o.exec(t); return r ? [{start: r.index, end: r.index + r[0].length}] : n ? _(e, t) : v(e, t) }, t.anyScore = function (e, t, n, i, o, r) { var s = M(e, t, 0, i, o, 0, !0); if (s) return s; for (var a = 0, l = 0, u = r, d = 0; d < t.length && d < C; ++d) { var c = o.indexOf(t.charAt(d), u); if (c >= 0) l += 1, a += Math.pow(2, c), u = c + 1; else if (0 !== a) break } return [l, a, r] }, t.createMatches = function (e) { if (void 0 === e) return []; for (var t = e[1].toString(2), n = [], i = e[2]; i < C; i++) if ("1" === t[t.length - (i + 1)]) { var o = n[n.length - 1]; o && o.end === i ? o.end = i + 1 : n.push({start: i, end: i + 1}) } return n }; var C = 128; function b() { for (var e = [], t = [0], n = 1; n <= C; n++) t.push(-n); for (n = 0; n <= C; n++) { var i = t.slice(0); i[0] = -n, e.push(i) } return e } var S = b(), w = b(), E = b(), L = !1; function D(e, t, n, i, o) { function r(e, t, n) { for (void 0 === n && (n = " "); e.length < t;) e = n + e; return e } for (var s = " | |" + i.split("").map((function (e) { return r(e, 3) })).join("|") + "\n", a = 0; a <= n; a++) s += 0 === a ? " |" : t[a - 1] + "|", s += e[a].slice(0, o + 1).map((function (e) { return r(e.toString(), 3) })).join("|") + "\n"; return s } function N(e, t) { if (t < 0 || t >= e.length) return !1; switch (e.charCodeAt(t)) { case 95: case 45: case 46: case 32: case 47: case 92: case 39: case 34: case 58: case 36: return !0; default: return !1 } } function x(e, t, n) { return t[e] !== n[e] } function I(e, t, n, i, o, r) { for (; t < n && o < r;) e[t] === i[o] && (t += 1), o += 1; return t === n } function M(e, t, n, i, o, r, s) { var a = e.length > C ? C : e.length, l = i.length > C ? C : i.length ; if (!(n >= a || r >= l || a - n > l - r) && I(t, n, a, o, r, l)) { var u = 1, d = 1, c = n, h = r; for (u = 1, c = n; c < a; u++, c++) for (d = 1, h = r; h < l; d++, h++) { var p = k(e, t, c, n, i, o, h); w[u][d] = p; var g = S[u - 1][d - 1] + (p > 1 ? 1 : p), f = S[u - 1][d] + -1, m = S[u][d - 1] + -1; m >= f ? m > g ? (S[u][d] = m, E[u][d] = 4) : m === g ? (S[u][d] = m, E[u][d] = 6) : (S[u][d] = g, E[u][d] = 2) : f > g ? (S[u][d] = f, E[u][d] = 1) : f === g ? (S[u][d] = f, E[u][d] = 3) : (S[u][d] = g, E[u][d] = 2) } if (L && function (e, t, n, i) { e = e.substr(t), n = n.substr(i), console.log(D(S, e, e.length, n, n.length)), console.log(D(E, e, e.length, n, n.length)), console.log(D(w, e, e.length, n, n.length)) }(e, n, i, r), T = 0, O = -100, P = r, A = s, function e(t, n, i, o, r) { if (T >= 10 || i < -25) return; var s = 0; for (; t > 0 && n > 0;) { var a = w[t][n], l = E[t][n]; if (4 === l) n -= 1, r ? i -= 5 : 0 !== o && (i -= 1), r = !1, s = 0; else { if (!(2 & l)) return; if (4 & l && e(t, n - 1, 0 !== o ? i - 1 : i, o, r), i += a, t -= 1, n -= 1, r = !0, o += Math.pow(2, n + P), 1 === a) { if (s += 1, 0 === t && !A) return } else i += 1 + s * (a - 1), s = 0 } } i -= n >= 3 ? 9 : 3 * n; T += 1; i > O && (O = i, R = o) }(u - 1, d - 1, a === l ? 1 : 0, 0, !1), 0 !== T) return [O, R, r] } } function k(e, t, n, i, o, r, s) { return t[n] !== r[s] ? -1 : s === n - i ? e[n] === o[s] ? 7 : 5 : !x(s, o, r) || 0 !== s && x(s - 1, o, r) ? !N(r, s) || 0 !== s && N(r, s - 1) ? N(r, s - 1) || function (e, t) { if (t < 0 || t >= e.length) return !1; switch (e.charCodeAt(t)) { case 32: case 9: return !0; default: return !1 } }(r, s - 1) ? 5 : 1 : 5 : e[n] === o[s] ? 7 : 5 } t.isPatternInWord = I, function (e) { e.Default = Object.freeze([-100, 0, 0]), e.isDefault = function (e) { return !e || -100 === e[0] && 0 === e[1] && 0 === e[2] } }(t.FuzzyScore || (t.FuzzyScore = {})), t.fuzzyScore = M; var T = 0, R = 0, O = 0, P = 0, A = !1; function F(e, t) { if (!(t + 1 >= e.length)) { var n = e[t], i = e[t + 1]; if (n !== i) return e.slice(0, t) + i + n + e.slice(t + 2) } } t.fuzzyScoreGracefulAggressive = function (e, t, n, i, o, r, s) { return function (e, t, n, i, o, r, s, a) { var l = M(e, t, n, i, o, r, a); if (l && !s) return l; if (e.length >= 3) for (var u = Math.min(7, e.length - 1), d = n + 1; d < u; d++) { var c = F(e, d); if (c) { var h = M(c, c.toLowerCase(), n, i, o, r, a); h && (h[0] -= 3, (!l || h[0] > l[0]) && (l = h)) } } return l }(e, t, n, i, o, r, !0, s) } })), define(n[178], i([0, 1, 19, 5, 177, 77, 38, 15]), (function (e, t, n, i, o, r, s, a) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}) ;var l = "**", u = "/", d = "[/\\\\]", c = "[^/\\\\]", h = /\//g; function p(e) { switch (e) { case 0: return ""; case 1: return c + "*?"; default: return "(?:" + d + "|" + c + "+" + d + "|" + d + c + "+)*?" } } function g(e, t) { if (!e) return []; for (var n = [], i = !1, o = !1, r = "", s = 0, a = e; s < a.length; s++) { var l = a[s]; switch (l) { case t: if (!i && !o) { n.push(r), r = ""; continue } break; case"{": i = !0; break; case"}": i = !1; break; case"[": o = !0; break; case"]": o = !1 } r += l } return r && n.push(r), n } t.splitGlobAware = g; var f = /^\*\*\/\*\.[\w\.-]+$/, m = /^\*\*\/([\w\.-]+)\/?$/, v = /^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/, _ = /^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/, y = /^\*\*((\/[\w\.-]+)+)\/?$/, C = /^([\w\.-]+(\/[\w\.-]+)*)\/?$/, b = new s.LRUCache(1e4), S = function () { return !1 }, w = function () { return null }; function E(e, t) { if (!e) return w; var o, r, s = (o = (o = "string" != typeof e ? e.pattern : e).trim()) + "_" + !!t.trimForExclusions, a = b.get(s); if (a) return L(a, e); if (f.test(o)) { var h = o.substr(4); a = function (e, t) { return "string" == typeof e && i.endsWith(e, h) ? o : null } } else a = (r = m.exec(D(o, t))) ? function (e, t) { var n = "/" + e, o = "\\" + e, r = function (r, s) { return "string" != typeof r ? null : s ? s === e ? t : null : r === e || i.endsWith(r, n) || i.endsWith(r, o) ? t : null }, s = [e]; return r.basenames = s, r.patterns = [t], r.allBasenames = s, r }(r[1], o) : (t.trimForExclusions ? _ : v).test(o) ? function (e, t) { var i = M(e.slice(1, -1).split(",").map((function (e) { return E(e, t) })).filter((function (e) { return e !== w })), e), o = i.length; if (!o) return w; if (1 === o) return i[0]; var r = function (t, n) { for (var o = 0, r = i.length; o < r; o++) if (i[o](t, n)) return e; return null }, s = n.first(i, (function (e) { return !!e.allBasenames })); s && (r.allBasenames = s.allBasenames); var a = i.reduce((function (e, t) { return t.allPaths ? e.concat(t.allPaths) : e }), []); a.length && (r.allPaths = a); return r }(o, t) : (r = y.exec(D(o, t))) ? N(r[1].substr(1), o, !0) : (r = C.exec(D(o, t))) ? N(r[1], o, !1) : function (e) { try { var t = new RegExp("^" + function e(t) { if (!t) return ""; var n = "", o = g(t, u); if (o.every((function (e) { return e === l }))) n = ".*"; else { var r = !1; o.forEach((function (t, s) { if (t !== l) { for (var a = !1, h = "", f = !1, m = "", v = 0, _ = t; v < _.length; v++) { var y = _[v]; if ("}" !== y && a) h += y; else if (!f || "]" === y && m) switch (y) { case"{": a = !0; continue; case"[": f = !0; continue; case"}": var C = "(?:" + g(h, ",").map((function (t) { return e(t) })).join("|") + ")"; n += C, a = !1, h = ""; break; case"]": n += "[" + m + "]", f = !1, m = ""; break; case"?": n += c; continue; case"*": n += p(1); continue; default: n += i.escapeRegExpCharacters(y) } else { m += "-" === y ? y : "^" !== y && "!" !== y || m ? y === u ? "" : i.escapeRegExpCharacters(y) : "^" } } s < o.length - 1 && (o[s + 1] !== l || s + 2 < o.length) && (n += d), r = !1 } else r || (n += p(2), r = !0) })) } return n }(e) + "$"); return function (n, i) { return t.lastIndex = 0, "string" == typeof n && t.test(n) ? e : null } } catch (e) { return w } }(o); return b.set(s, a), L(a, e) } function L(e, t) { return "string" == typeof t ? e : function (n, i) { return o.isEqualOrParent(n, t.base) ? e(r.relative(t.base, n), i) : null } } function D(e, t) { return t.trimForExclusions && i.endsWith(e, "/**") ? e.substr(0, e.length - 2) : e } function N(e, t, n) { var o = r.sep !== r.posix.sep ? e.replace(h, r.sep) : e, s = r.sep + o, a = n ? function (e, n) { return "string" != typeof e || e !== o && !i.endsWith(e, s) ? null : t } : function (e, n) { return "string" == typeof e && e === o ? t : null }; return a.allPaths = [(n ? "*/" : "./") + e], a } function x(e, t) { if (void 0 === t && (t = {}), !e) return S; if ("string" == typeof e || I(e)) { var i = E(e, t); if (i === w) return S; var o = function (e, t) { return !!i(e, t) }; return i.allBasenames && (o.allBasenames = i.allBasenames), i.allPaths && (o.allPaths = i.allPaths), o } return function (e, t) { var i = M(Object.getOwnPropertyNames(e).map((function (n) { return function (e, t, n) { if (!1 === t) return w; var i = E(e, n); if (i === w) return w; if ("boolean" == typeof t) return i; if (t) { var o = t.when; if ("string" == typeof o) { var r = function (t, n, r, s) { if (!s || !i(t, n)) return null; var l = s(o.replace("$(basename)", r)); return a.isThenable(l) ? l.then((function (t) { return t ? e : null })) : l ? e : null }; return r.requiresSiblings = !0, r } } return i }(n, e[n], t) })).filter((function (e) { return e !== w }))), o = i.length; if (!o) return w; if (!i.some((function (e) { return !!e.requiresSiblings }))) { if (1 === o) return i[0]; var s = function (e, t) { for (var n = 0, o = i.length; n < o; n++) { var r = i[n](e, t); if (r) return r } return null }, l = n.first(i, (function (e) { return !!e.allBasenames })); l && (s.allBasenames = l.allBasenames); var u = i.reduce((function (e, t) { return t.allPaths ? e.concat(t.allPaths) : e }), []); return u.length && (s.allPaths = u), s } var d = function (e, t, n) { for (var o = void 0, s = 0, a = i.length; s < a; s++) { var l = i[s]; l.requiresSiblings && n && (t || (t = r.basename(e)), o || (o = t.substr(0, t.length - r.extname(e).length))); var u = l(e, t, o, n); if (u) return u } return null }, c = n.first(i, (function (e) { return !!e.allBasenames })); c && (d.allBasenames = c.allBasenames); var h = i.reduce((function (e, t) { return t.allPaths ? e.concat(t.allPaths) : e }), []); h.length && (d.allPaths = h); return d }(e, t) } function I(e) { var t = e; return t && "string" == typeof t.base && "string" == typeof t.pattern } function M(e, t) { var n = e.filter((function (e) { return !!e.basenames })); if (n.length < 2) return e; var i, o = n.reduce((function (e, t) { var n = t.basenames; return n ? e.concat(n) : e }), []); if (t) { i = []; for (var r = 0, s = o.length; r < s; r++) i.push(t) } else i = n.reduce((function (e, t) { var n = t.patterns ; return n ? e.concat(n) : e }), []); var a = function (e, t) { if ("string" != typeof e) return null; if (!t) { var n = void 0; for (n = e.length; n > 0; n--) { var r = e.charCodeAt(n - 1); if (47 === r || 92 === r) break } t = e.substr(n) } var s = o.indexOf(t); return -1 !== s ? i[s] : null }; a.basenames = o, a.patterns = i, a.allBasenames = o; var l = e.filter((function (e) { return !e.basenames })); return l.push(a), l } t.match = function (e, t, n) { return !(!e || "string" != typeof t) && x(e)(t, void 0, n) }, t.parse = x, t.isRelativePattern = I })), define(n[247], i([0, 1, 5]), (function (e, t, n) { "use strict"; function i(e, t) { if (e && "" !== e[0]) { var i = o(e, t, "-"), s = o(e, t, "_"); return i && !s ? r(e, t, "-") : !i && s ? r(e, t, "_") : e[0].toUpperCase() === e[0] ? t.toUpperCase() : e[0].toLowerCase() === e[0] ? t.toLowerCase() : n.containsUppercaseCharacter(e[0][0]) ? t[0].toUpperCase() + t.substr(1) : t } return t } function o(e, t, n) { return -1 !== e[0].indexOf(n) && -1 !== t.indexOf(n) && e[0].split(n).length === t.split(n).length } function r(e, t, n) { var o = t.split(n), r = e[0].split(n), s = ""; return o.forEach((function (e, t) { s += i([r[t]], e) + n })), s.slice(0, -1) } Object.defineProperty(t, "__esModule", {value: !0}), t.buildReplaceStringWithCasePreserved = i })), define(n[21], i([0, 1]), (function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var n = {number: "number", string: "string", undefined: "undefined", object: "object", function: "function"}; function i(e) { return typeof e === n.string || e instanceof String } function o(e) { return !(typeof e !== n.object || null === e || Array.isArray(e) || e instanceof RegExp || e instanceof Date) } function r(e) { return typeof e === n.undefined } function s(e) { return r(e) || null === e } t.isArray = function (e) { return Array.isArray ? Array.isArray(e) : !(!e || typeof e.length !== n.number || e.constructor !== Array) }, t.isString = i, t.isObject = o, t.isNumber = function (e) { return (typeof e === n.number || e instanceof Number) && !isNaN(e) }, t.isBoolean = function (e) { return !0 === e || !1 === e }, t.isUndefined = r, t.isUndefinedOrNull = s, t.assertType = function (e, t) { if (!e) throw new Error(t ? "Unexpected type, expected '" + t + "'" : "Unexpected type") }; var a = Object.prototype.hasOwnProperty; function l(e) { return typeof e === n.function } function u(e, t) { if (i(t)) { if (typeof e !== t) throw new Error("argument does not match constraint: typeof " + t) } else if (l(t)) { try { if (e instanceof t) return } catch (e) { } if (!s(e) && e.constructor === t) return; if (1 === t.length && !0 === t.call(void 0, e)) return; throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true") } } function d(e) { for (var t = [], n = Object.getPrototypeOf(e); Object.prototype !== n;) t = t.concat(Object.getOwnPropertyNames(n)), n = Object.getPrototypeOf(n); return t } t.isEmptyObject = function (e) { if (!o(e)) return !1; for (var t in e) if (a.call(e, t)) return !1; return !0 }, t.isFunction = l, t.validateConstraints = function (e, t) { for (var n = Math.min(e.length, t.length), i = 0; i < n; i++) u(e[i], t[i]) }, t.validateConstraint = u, t.getAllPropertyNames = d, t.getAllMethodNames = function (e) { for (var t = [], n = 0, i = d(e); n < i.length; n++) { var o = i[n]; "function" == typeof e[o] && t.push(o) } return t }, t.createProxyObject = function (e, t) { for (var n = function (e) { return function () { var n = Array.prototype.slice.call(arguments, 0); return t(e, n) } }, i = {}, o = 0, r = e; o < r.length; o++) { var s = r[o]; i[s] = n(s) } return i }, t.withNullAsUndefined = function (e) { return null === e ? void 0 : e }, t.withUndefinedAsNull = function (e) { return void 0 === e ? null : e } })), define(n[31], i([0, 1, 21]), (function (e, t, n) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), t.deepClone = function e(t) { if (!t || "object" != typeof t) return t; if (t instanceof RegExp) return t; var n = Array.isArray(t) ? [] : {}; return Object.keys(t).forEach((function (i) { t[i] && "object" == typeof t[i] ? n[i] = e(t[i]) : n[i] = t[i] })), n }, t.deepFreeze = function (e) { if (!e || "object" != typeof e) return e; for (var t = [e]; t.length > 0;) { var n = t.shift(); for (var o in Object.freeze(n), n) if (i.call(n, o)) { var r = n[o]; "object" != typeof r || Object.isFrozen(r) || t.push(r) } } return e }; var i = Object.prototype.hasOwnProperty; t.cloneAndChange = function (e, t) { return function e(t, o, r) { if (n.isUndefinedOrNull(t)) return t; var s = o(t); if (void 0 !== s) return s; if (n.isArray(t)) { for (var a = [], l = 0, u = t; l < u.length; l++) { var d = u[l]; a.push(e(d, o, r)) } return a } if (n.isObject(t)) { if (r.has(t)) throw new Error("Cannot clone recursive data-structure"); r.add(t); var c = {}; for (var h in t) i.call(t, h) && (c[h] = e(t[h], o, r)); return r.delete(t), c } return t }(e, t, new Set) }, t.mixin = function e(t, i, o) { return void 0 === o && (o = !0), n.isObject(t) ? (n.isObject(i) && Object.keys(i).forEach((function (r) { r in t ? o && (n.isObject(t[r]) && n.isObject(i[r]) ? e(t[r], i[r], o) : t[r] = i[r]) : t[r] = i[r] })), t) : i }, t.assign = function (e) { for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; return t.forEach((function (t) { return Object.keys(t).forEach((function (n) { return e[n] = t[n] })) })), e }, t.equals = function e(t, n) { if (t === n) return !0; if (null == t || null == n) return !1; if (typeof t != typeof n) return !1; if ("object" != typeof t) return !1; if (Array.isArray(t) !== Array.isArray(n)) return !1; var i, o; if (Array.isArray(t)) { if (t.length !== n.length) return !1; for (i = 0; i < t.length; i++) if (!e(t[i], n[i])) return !1 } else { var r = []; for (o in t) r.push(o); r.sort(); var s = [] ; for (o in n) s.push(o); if (s.sort(), !e(r, s)) return !1; for (i = 0; i < r.length; i++) if (!e(t[r[i]], n[r[i]])) return !1 } return !0 }, t.getOrDefault = function (e, t, n) { var i = t(e); return void 0 === i ? n : i } })), define(n[133], i([0, 1, 31, 100, 5]), (function (e, t, n, i, o) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}); var r = function () { function e(e, t) { this.supportCodicons = t, this.text = "", this.title = "", this.highlights = [], this.didEverRender = !1, this.domNode = document.createElement("span"), this.domNode.className = "monaco-highlighted-label", e.appendChild(this.domNode) } return Object.defineProperty(e.prototype, "element", { get: function () { return this.domNode }, enumerable: !0, configurable: !0 }), e.prototype.set = function (t, i, o, r) { void 0 === i && (i = []), void 0 === o && (o = ""), t || (t = ""), r && (t = e.escapeNewLines(t, i)), this.didEverRender && this.text === t && this.title === o && n.equals(this.highlights, i) || (Array.isArray(i) || (i = []), this.text = t, this.title = o, this.highlights = i, this.render()) }, e.prototype.render = function () { for (var e = "", t = 0, n = 0, r = this.highlights; n < r.length; n++) { var s = r[n]; if (s.end !== s.start) { if (t < s.start) { e += ""; var a = this.text.substring(t, s.start); e += this.supportCodicons ? i.renderCodicons(o.escape(a)) : o.escape(a), e += "", t = s.end } s.extraClasses ? e += '' : e += ''; var l = this.text.substring(s.start, s.end); e += this.supportCodicons ? i.renderCodicons(o.escape(l)) : o.escape(l), e += "", t = s.end } } if (t < this.text.length) { e += ""; l = this.text.substring(t); e += this.supportCodicons ? i.renderCodicons(o.escape(l)) : o.escape(l), e += "" } this.domNode.innerHTML = e, this.title ? this.domNode.title = this.title : this.domNode.removeAttribute("title"), this.didEverRender = !0 }, e.escapeNewLines = function (e, t) { var n = 0, i = 0; return e.replace(/\r\n|\r|\n/g, (function (e, o) { i = "\r\n" === e ? -1 : 0, o += n; for (var r = 0, s = t; r < s.length; r++) { var a = s[r]; a.end <= o || (a.start >= o && (a.start += i), a.end >= o && (a.end += i)) } return n += i, "⏎" })) }, e }(); t.HighlightedLabel = r })), define(n[179], i([0, 1]), (function (e, t) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), t.toUint8 = function (e) { return e < 0 ? 0 : e > 255 ? 255 : 0 | e }, t.toUint32 = function (e) { return e < 0 ? 0 : e > 4294967295 ? 4294967295 : 0 | e } })), define(n[25], i([0, 1, 16]), (function (e, t, n) { "use strict"; var i; Object.defineProperty(t, "__esModule", {value: !0}); var o = /^\w[\w\d+.-]*$/, s = /^\//, a = /^\/\//; var l = "", u = "/", d = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/, c = function () { function e(e, t, n, i, r, d) { void 0 === d && (d = !1), "object" == typeof e ? (this.scheme = e.scheme || l, this.authority = e.authority || l, this.path = e.path || l, this.query = e.query || l, this.fragment = e.fragment || l) : (this.scheme = function (e, t) { return e || t ? e : "file" }(e, d), this.authority = t || l, this.path = function (e, t) { switch (e) { case"https": case"http": case"file": t ? t[0] !== u && (t = u + t) : t = u } return t }(this.scheme, n || l), this.query = i || l, this.fragment = r || l, function (e, t) { if (!e.scheme && t) throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "' + e.authority + '", path: "' + e.path + '", query: "' + e.query + '", fragment: "' + e.fragment + '"}'); if (e.scheme && !o.test(e.scheme)) throw new Error("[UriError]: Scheme contains illegal characters."); if (e.path) if (e.authority) { if (!s.test(e.path)) throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character') } else if (a.test(e.path)) throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")') }(this, d)) } return e.isUri = function (t) { return t instanceof e || !!t && ("string" == typeof t.authority && "string" == typeof t.fragment && "string" == typeof t.path && "string" == typeof t.query && "string" == typeof t.scheme && "function" == typeof t.fsPath && "function" == typeof t.with && "function" == typeof t.toString) }, Object.defineProperty(e.prototype, "fsPath", { get: function () { return v(this) }, enumerable: !0, configurable: !0 }), e.prototype.with = function (e) { if (!e) return this; var t = e.scheme, n = e.authority, i = e.path, o = e.query, r = e.fragment; return void 0 === t ? t = this.scheme : null === t && (t = l), void 0 === n ? n = this.authority : null === n && (n = l), void 0 === i ? i = this.path : null === i && (i = l), void 0 === o ? o = this.query : null === o && (o = l), void 0 === r ? r = this.fragment : null === r && (r = l), t === this.scheme && n === this.authority && i === this.path && o === this.query && r === this.fragment ? this : new p(t, n, i, o, r) }, e.parse = function (e, t) { void 0 === t && (t = !1); var n = d.exec(e); return n ? new p(n[2] || l, C(n[4] || l), C(n[5] || l), C(n[7] || l), C(n[9] || l), t) : new p(l, l, l, l, l) }, e.file = function (e) { var t = l; if (n.isWindows && (e = e.replace(/\\/g, u)), e[0] === u && e[1] === u) { var i = e.indexOf(u, 2); -1 === i ? (t = e.substring(2), e = u) : (t = e.substring(2, i), e = e.substring(i) || u) } return new p("file", t, e, l, l) }, e.from = function (e) { return new p(e.scheme, e.authority, e.path, e.query, e.fragment) }, e.prototype.toString = function (e) { return void 0 === e && (e = !1), _(this, e) }, e.prototype.toJSON = function () { return this }, e.revive = function (t) { if (t) { if (t instanceof e) return t; var n = new p(t); return n._formatted = t.external, n._fsPath = t._sep === h ? t.fsPath : null, n } return t }, e }(); t.URI = c; var h = n.isWindows ? 1 : void 0, p = function (e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._formatted = null, t._fsPath = null, t } return r(t, e), Object.defineProperty(t.prototype, "fsPath", { get: function () { return this._fsPath || (this._fsPath = v(this)), this._fsPath }, enumerable: !0, configurable: !0 }), t.prototype.toString = function (e) { return void 0 === e && (e = !1), e ? _(this, !0) : (this._formatted || (this._formatted = _(this, !1)), this._formatted) }, t.prototype.toJSON = function () { var e = {$mid: 1}; return this._fsPath && (e.fsPath = this._fsPath, e._sep = h), this._formatted && (e.external = this._formatted), this.path && (e.path = this.path), this.scheme && (e.scheme = this.scheme), this.authority && (e.authority = this.authority), this.query && (e.query = this.query), this.fragment && (e.fragment = this.fragment), e }, t }(c), g = ((i = {})[58] = "%3A", i[47] = "%2F", i[63] = "%3F", i[35] = "%23", i[91] = "%5B", i[93] = "%5D", i[64] = "%40", i[33] = "%21", i[36] = "%24", i[38] = "%26", i[39] = "%27", i[40] = "%28", i[41] = "%29", i[42] = "%2A", i[43] = "%2B", i[44] = "%2C", i[59] = "%3B", i[61] = "%3D", i[32] = "%20", i); function f(e, t) { for (var n = void 0, i = -1, o = 0; o < e.length; o++) { var r = e.charCodeAt(o); if (r >= 97 && r <= 122 || r >= 65 && r <= 90 || r >= 48 && r <= 57 || 45 === r || 46 === r || 95 === r || 126 === r || t && 47 === r) -1 !== i && (n += encodeURIComponent(e.substring(i, o)), i = -1), void 0 !== n && (n += e.charAt(o)); else { void 0 === n && (n = e.substr(0, o)); var s = g[r]; void 0 !== s ? (-1 !== i && (n += encodeURIComponent(e.substring(i, o)), i = -1), n += s) : -1 === i && (i = o) } } return -1 !== i && (n += encodeURIComponent(e.substring(i))), void 0 !== n ? n : e } function m(e) { for (var t = void 0, n = 0; n < e.length; n++) { var i = e.charCodeAt(n); 35 === i || 63 === i ? (void 0 === t && (t = e.substr(0, n)), t += g[i]) : void 0 !== t && (t += e[n]) } return void 0 !== t ? t : e } function v(e) { var t ; return t = e.authority && e.path.length > 1 && "file" === e.scheme ? "//" + e.authority + e.path : 47 === e.path.charCodeAt(0) && (e.path.charCodeAt(1) >= 65 && e.path.charCodeAt(1) <= 90 || e.path.charCodeAt(1) >= 97 && e.path.charCodeAt(1) <= 122) && 58 === e.path.charCodeAt(2) ? e.path[1].toLowerCase() + e.path.substr(2) : e.path, n.isWindows && (t = t.replace(/\//g, "\\")), t } function _(e, t) { var n = t ? m : f, i = "", o = e.scheme, r = e.authority, s = e.path, a = e.query, l = e.fragment; if (o && (i += o, i += ":"), (r || "file" === o) && (i += u, i += u), r) { var d = r.indexOf("@"); if (-1 !== d) { var c = r.substr(0, d); r = r.substr(d + 1), -1 === (d = c.indexOf(":")) ? i += n(c, !1) : (i += n(c.substr(0, d), !1), i += ":", i += n(c.substr(d + 1), !1)), i += "@" } -1 === (d = (r = r.toLowerCase()).indexOf(":")) ? i += n(r, !1) : (i += n(r.substr(0, d), !1), i += r.substr(d)) } if (s) { if (s.length >= 3 && 47 === s.charCodeAt(0) && 58 === s.charCodeAt(2)) (h = s.charCodeAt(1)) >= 65 && h <= 90 && (s = "/" + String.fromCharCode(h + 32) + ":" + s.substr(3)); else if (s.length >= 2 && 58 === s.charCodeAt(1)) { var h; (h = s.charCodeAt(0)) >= 65 && h <= 90 && (s = String.fromCharCode(h + 32) + ":" + s.substr(2)) } i += n(s, !0) } return a && (i += "?", i += n(a, !1)), l && (i += "#", i += t ? l : f(l, !1)), i } var y = /(%[0-9A-Za-z][0-9A-Za-z])+/g; function C(e) { return e.match(y) ? e.replace(y, (function (e) { return function e(t) { try { return decodeURIComponent(t) } catch (n) { return t.length > 3 ? t.substr(0, 3) + e(t.substr(3)) : t } }(e) })) : e } })), define(n[180], i([0, 1, 25]), (function (e, t, n) { "use strict"; function i(e, t) { if (void 0 === t && (t = 0), !e || t > 200) return e; if ("object" == typeof e) { switch (e.$mid) { case 1: return n.URI.revive(e); case 2: return new RegExp(e.source, e.flags) } for (var o in e) Object.hasOwnProperty.call(e, o) && (e[o] = i(e[o], t + 1)) } return e } Object.defineProperty(t, "__esModule", {value: !0}), t.parse = function (e) { var t = JSON.parse(e); return t = i(t) }, t.revive = i })), define(n[46], i([0, 1, 25, 16]), (function (e, t, n, i) { "use strict"; var o; Object.defineProperty(t, "__esModule", {value: !0}), function (e) { e.inMemory = "inmemory", e.vscode = "vscode", e.internal = "private", e.walkThrough = "walkThrough", e.walkThroughSnippet = "walkThroughSnippet", e.http = "http", e.https = "https", e.file = "file", e.mailto = "mailto", e.untitled = "untitled", e.data = "data", e.command = "command", e.vscodeRemote = "vscode-remote", e.vscodeRemoteResource = "vscode-remote-resource", e.userData = "vscode-userdata" }(o = t.Schemas || (t.Schemas = {})); var r = function () { function e() { this._hosts = Object.create(null), this._ports = Object.create(null), this._connectionTokens = Object.create(null), this._preferredWebSchema = "http", this._delegate = null } return e.prototype.setPreferredWebSchema = function (e) { this._preferredWebSchema = e }, e.prototype.rewrite = function (e) { if (this._delegate) return this._delegate(e); var t = e.authority, r = this._hosts[t]; r && -1 !== r.indexOf(":") && (r = "[" + r + "]"); var s = this._ports[t], a = this._connectionTokens[t], l = "path=" + encodeURIComponent(e.path); return "string" == typeof a && (l += "&tkn=" + encodeURIComponent(a)), n.URI.from({ scheme: i.isWeb ? this._preferredWebSchema : o.vscodeRemoteResource, authority: r + ":" + s, path: "/vscode-remote-resource", query: l }) }, e }(); t.RemoteAuthorities = new r })); a = this && this.__spreadArrays || function () { for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length; var i = Array(e), o = 0; for (t = 0; t < n; t++) for (var r = arguments[t], s = 0, a = r.length; s < a; s++, o++) i[o] = r[s]; return i }; define(n[6], i([0, 1, 24, 52, 56, 45, 15, 10, 4, 2, 16, 19, 46, 88]), (function (e, t, n, i, o, s, u, d, c, h, p, g, f, m) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), t.clearNode = function (e) { for (; e.firstChild;) e.removeChild(e.firstChild) }, t.removeNode = function (e) { e.parentNode && e.parentNode.removeChild(e) }, t.isInDOM = function (e) { for (; e;) { if (e === document.body) return !0; e = e.parentNode || e.host } return !1 }; var v = new (function () { function e() { this._lastStart = -1, this._lastEnd = -1 } return e.prototype._findClassName = function (e, t) { var n = e.className; if (n) { t = t.trim(); var i = n.length, o = t.length; if (0 !== o) if (i < o) this._lastStart = -1; else { if (n === t) return this._lastStart = 0, void (this._lastEnd = i); for (var r, s = -1; (s = n.indexOf(t, s + 1)) >= 0;) { if (r = s + o, (0 === s || 32 === n.charCodeAt(s - 1)) && 32 === n.charCodeAt(r)) return this._lastStart = s, void (this._lastEnd = r + 1) ; if (s > 0 && 32 === n.charCodeAt(s - 1) && r === i) return this._lastStart = s - 1, void (this._lastEnd = r); if (0 === s && r === i) return this._lastStart = 0, void (this._lastEnd = r) } this._lastStart = -1 } else this._lastStart = -1 } else this._lastStart = -1 }, e.prototype.hasClass = function (e, t) { return this._findClassName(e, t), -1 !== this._lastStart }, e.prototype.addClasses = function (e) { for (var t = this, n = [], i = 1; i < arguments.length; i++) n[i - 1] = arguments[i]; n.forEach((function (n) { return n.split(" ").forEach((function (n) { return t.addClass(e, n) })) })) }, e.prototype.addClass = function (e, t) { e.className ? (this._findClassName(e, t), -1 === this._lastStart && (e.className = e.className + " " + t)) : e.className = t }, e.prototype.removeClass = function (e, t) { this._findClassName(e, t), -1 !== this._lastStart && (e.className = e.className.substring(0, this._lastStart) + e.className.substring(this._lastEnd)) }, e.prototype.removeClasses = function (e) { for (var t = this, n = [], i = 1; i < arguments.length; i++) n[i - 1] = arguments[i]; n.forEach((function (n) { return n.split(" ").forEach((function (n) { return t.removeClass(e, n) })) })) }, e.prototype.toggleClass = function (e, t, n) { this._findClassName(e, t), -1 === this._lastStart || void 0 !== n && n || this.removeClass(e, t), -1 !== this._lastStart || void 0 !== n && !n || this.addClass(e, t) }, e }()), _ = new (function () { function e() { } return e.prototype.hasClass = function (e, t) { return Boolean(t) && e.classList && e.classList.contains(t) }, e.prototype.addClasses = function (e) { for (var t = this, n = [], i = 1; i < arguments.length; i++) n[i - 1] = arguments[i]; n.forEach((function (n) { return n.split(" ").forEach((function (n) { return t.addClass(e, n) })) })) }, e.prototype.addClass = function (e, t) { t && e.classList && e.classList.add(t) }, e.prototype.removeClass = function (e, t) { t && e.classList && e.classList.remove(t) }, e.prototype.removeClasses = function (e) { for (var t = this, n = [], i = 1; i < arguments.length; i++) n[i - 1] = arguments[i]; n.forEach((function (n) { return n.split(" ").forEach((function (n) { return t.removeClass(e, n) })) })) }, e.prototype.toggleClass = function (e, t, n) { e.classList && e.classList.toggle(t, n) }, e }()), y = n.isIE ? v : _; t.hasClass = y.hasClass.bind(y), t.addClass = y.addClass.bind(y), t.addClasses = y.addClasses.bind(y), t.removeClass = y.removeClass.bind(y), t.removeClasses = y.removeClasses.bind(y), t.toggleClass = y.toggleClass.bind(y); var C = function () { function e(e, t, n, i) { this._node = e, this._type = t, this._handler = n, this._options = i || !1, this._node.addEventListener(this._type, this._handler, this._options) } return e.prototype.dispose = function () { this._handler && (this._node.removeEventListener(this._type, this._handler, this._options), this._node = null, this._handler = null) }, e }(); function b(e, t, n, i) { return new C(e, t, n, i) } function S(e) { return function (t) { return e(new s.StandardMouseEvent(t)) } } function w(e, n, i) { return b(e, p.isIOS && m.BrowserFeatures.pointerEvents ? t.EventType.POINTER_DOWN : t.EventType.MOUSE_DOWN, n, i) } t.addDisposableListener = b, t.addStandardDisposableListener = function (e, t, n, i) { var r = n; return "click" === t || "mousedown" === t ? r = S(n) : "keydown" !== t && "keypress" !== t && "keyup" !== t || (r = function (e) { return function (t) { return e(new o.StandardKeyboardEvent(t)) } }(n)), b(e, t, r, i) }, t.addStandardDisposableGenericMouseDownListner = function (e, t, n) { return w(e, S(t), n) }, t.addDisposableGenericMouseDownListner = w, t.addDisposableGenericMouseUpListner = function (e, n, i) { return b(e, p.isIOS && m.BrowserFeatures.pointerEvents ? t.EventType.POINTER_UP : t.EventType.MOUSE_UP, n, i) }, t.addDisposableNonBubblingMouseOutListener = function (e, t) { return b(e, "mouseout", (function (n) { for (var i = n.relatedTarget; i && i !== e;) i = i.parentNode; i !== e && t(n) })) }, t.addDisposableNonBubblingPointerOutListener = function (e, t) { return b(e, "pointerout", (function (n) { for (var i = n.relatedTarget; i && i !== e;) i = i.parentNode; i !== e && t(n) })) }; var E = null; var L, D, N, x, I, M = function () { function e(e, t) { void 0 === t && (t = 0), this._runner = e, this.priority = t, this._canceled = !1 } return e.prototype.dispose = function () { this._canceled = !0 }, e.prototype.execute = function () { if (!this._canceled) // try { this._runner() // } catch (e) { // d.onUnexpectedError(e) // } }, e.sort = function (e, t) { return t.priority - e.priority }, e }(); L = [], D = null, N = !1, x = !1, I = function () { for (N = !1, D = L, L = [], x = !0; D.length > 0;) D.sort(M.sort), D.shift().execute(); x = !1 }, t.scheduleAtNextAnimationFrame = function (e, t) { void 0 === t && (t = 0); var n, i = new M(e, t); return L.push(i), N || (N = !0, n = I, E || (E = self.requestAnimationFrame || self.msRequestAnimationFrame || self.webkitRequestAnimationFrame || self.mozRequestAnimationFrame || self.oRequestAnimationFrame || function (e) { return setTimeout((function () { return e((new Date).getTime()) }), 0) }), E.call(self, n)), i }, t.runAtThisOrScheduleAtNextAnimationFrame = function (e, n) { if (x) { var i = new M(e, n); return D.push(i), i } return t.scheduleAtNextAnimationFrame(e, n) }; var k = 16, T = function (e, t) { return t }, R = function (e) { function t(t, n, i, o, r) { void 0 === o && (o = T), void 0 === r && (r = k); var s = e.call(this) || this, a = null, l = 0, d = s._register(new u.TimeoutTimer), c = function () { l = (new Date).getTime(), i(a), a = null }; return s._register(b(t, n, (function (e) { a = o(a, e); var t = (new Date).getTime() - l; t >= r ? (d.cancel(), c()) : d.setIfNotSet(c, r - t) }))), s } return r(t, e), t }(h.Disposable); function O(e) { return document.defaultView.getComputedStyle(e, null) } t.addDisposableThrottledListener = function (e, t, n, i, o) { return new R(e, t, n, i, o) }, t.getComputedStyle = O, t.getClientArea = function (e) { if (e !== document.body) return new A(e.clientWidth, e.clientHeight); if (p.isIOS && window.visualViewport) { var t = window.visualViewport.width, i = window.visualViewport.height - (n.isStandalone ? 24 : 0); return new A(t, i) } if (window.innerWidth && window.innerHeight) return new A(window.innerWidth, window.innerHeight); if (document.body && document.body.clientWidth && document.body.clientHeight) return new A(document.body.clientWidth, document.body.clientHeight); if (document.documentElement && document.documentElement.clientWidth && document.documentElement.clientHeight) return new A(document.documentElement.clientWidth, document.documentElement.clientHeight); throw new Error("Unable to figure out browser width and height") }; var P = function () { function e() { } return e.convertToPixels = function (e, t) { return parseFloat(t) || 0 }, e.getDimension = function (t, n, i) { var o = O(t), r = "0" ; return o && (r = o.getPropertyValue ? o.getPropertyValue(n) : o.getAttribute(i)), e.convertToPixels(t, r) }, e.getBorderLeftWidth = function (t) { return e.getDimension(t, "border-left-width", "borderLeftWidth") }, e.getBorderRightWidth = function (t) { return e.getDimension(t, "border-right-width", "borderRightWidth") }, e.getBorderTopWidth = function (t) { return e.getDimension(t, "border-top-width", "borderTopWidth") }, e.getBorderBottomWidth = function (t) { return e.getDimension(t, "border-bottom-width", "borderBottomWidth") }, e.getPaddingLeft = function (t) { return e.getDimension(t, "padding-left", "paddingLeft") }, e.getPaddingRight = function (t) { return e.getDimension(t, "padding-right", "paddingRight") }, e.getPaddingTop = function (t) { return e.getDimension(t, "padding-top", "paddingTop") }, e.getPaddingBottom = function (t) { return e.getDimension(t, "padding-bottom", "paddingBottom") }, e.getMarginLeft = function (t) { return e.getDimension(t, "margin-left", "marginLeft") }, e.getMarginTop = function (t) { return e.getDimension(t, "margin-top", "marginTop") }, e.getMarginRight = function (t) { return e.getDimension(t, "margin-right", "marginRight") }, e.getMarginBottom = function (t) { return e.getDimension(t, "margin-bottom", "marginBottom") }, e }(), A = function (e, t) { this.width = e, this.height = t }; function F(e, t) { for (; e;) { if (e === t) return !0; e = e.parentNode } return !1 } function W(e) { return e && !!e.host && !!e.mode } function B(e) { for (; e.parentNode;) { if (e === document.body) return null; e = e.parentNode } return W(e) ? e : null } function V(e) { void 0 === e && (e = document.getElementsByTagName("head")[0]); var t = document.createElement("style"); return t.type = "text/css", t.media = "screen", e.appendChild(t), t } t.Dimension = A, t.getTopLeftOffset = function (e) { for (var t = e.offsetParent, n = e.offsetTop, i = e.offsetLeft; null !== (e = e.parentNode) && e !== document.body && e !== document.documentElement;) { n -= e.scrollTop; var o = W(e) ? null : O(e); o && (i -= "rtl" !== o.direction ? e.scrollLeft : -e.scrollLeft), e === t && (i += P.getBorderLeftWidth(e), n += P.getBorderTopWidth(e), n += e.offsetTop, i += e.offsetLeft, t = e.offsetParent) } return {left: i, top: n} }, t.getDomNodePagePosition = function (e) { var n = e.getBoundingClientRect(); return { left: n.left + t.StandardWindow.scrollX, top: n.top + t.StandardWindow.scrollY, width: n.width, height: n.height } }, t.StandardWindow = new (function () { function e() { } return Object.defineProperty(e.prototype, "scrollX", { get: function () { return "number" == typeof window.scrollX ? window.scrollX : document.body.scrollLeft + document.documentElement.scrollLeft }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "scrollY", { get: function () { return "number" == typeof window.scrollY ? window.scrollY : document.body.scrollTop + document.documentElement.scrollTop }, enumerable: !0, configurable: !0 }), e }()), t.getTotalWidth = function (e) { var t = P.getMarginLeft(e) + P.getMarginRight(e); return e.offsetWidth + t }, t.getContentWidth = function (e) { var t = P.getBorderLeftWidth(e) + P.getBorderRightWidth(e), n = P.getPaddingLeft(e) + P.getPaddingRight(e); return e.offsetWidth - t - n }, t.getContentHeight = function (e) { var t = P.getBorderTopWidth(e) + P.getBorderBottomWidth(e), n = P.getPaddingTop(e) + P.getPaddingBottom(e); return e.offsetHeight - t - n }, t.getTotalHeight = function (e) { var t = P.getMarginTop(e) + P.getMarginBottom(e); return e.offsetHeight + t }, t.isAncestor = F, t.findParentWithClass = function (e, n, i) { for (; e && e.nodeType === e.ELEMENT_NODE;) { if (t.hasClass(e, n)) return e; if (i) if ("string" == typeof i) { if (t.hasClass(e, i)) return null } else if (e === i) return null; e = e.parentNode } return null }, t.isShadowRoot = W, t.isInShadowDOM = function (e) { return !!B(e) }, t.getShadowRoot = B, t.createStyleSheet = V; var z = null; function H() { return z || (z = V()), z } t.createCSSRule = function (e, t, n) { void 0 === n && (n = H()), n && t && n.sheet.insertRule(e + "{" + t + "}", 0) }, t.removeCSSRulesContainingSelector = function (e, t) { if (void 0 === t && (t = H()), t) { for (var n = function (e) { return e && e.sheet && e.sheet.rules ? e.sheet.rules : e && e.sheet && e.sheet.cssRules ? e.sheet.cssRules : [] }(t), i = [], o = 0; o < n.length; o++) { -1 !== n[o].selectorText.indexOf(e) && i.push(o) } for (o = i.length - 1; o >= 0; o--) t.sheet.deleteRule(i[o]) } }, t.isHTMLElement = function (e) { return "object" == typeof HTMLElement ? e instanceof HTMLElement : e && "object" == typeof e && 1 === e.nodeType && "string" == typeof e.nodeName }, t.EventType = { CLICK: "click", DBLCLICK: "dblclick", MOUSE_UP: "mouseup", MOUSE_DOWN: "mousedown", MOUSE_OVER: "mouseover", MOUSE_MOVE: "mousemove", MOUSE_OUT: "mouseout", MOUSE_ENTER: "mouseenter", MOUSE_LEAVE: "mouseleave", POINTER_UP: "pointerup", POINTER_DOWN: "pointerdown", POINTER_MOVE: "pointermove", CONTEXT_MENU: "contextmenu", WHEEL: "wheel", KEY_DOWN: "keydown", KEY_PRESS: "keypress", KEY_UP: "keyup", LOAD: "load", BEFORE_UNLOAD: "beforeunload", UNLOAD: "unload", ABORT: "abort", ERROR: "error", RESIZE: "resize", SCROLL: "scroll", FULLSCREEN_CHANGE: "fullscreenchange", WK_FULLSCREEN_CHANGE: "webkitfullscreenchange", SELECT: "select", CHANGE: "change", SUBMIT: "submit", RESET: "reset", FOCUS: "focus", FOCUS_IN: "focusin", FOCUS_OUT: "focusout", BLUR: "blur", INPUT: "input", STORAGE: "storage", DRAG_START: "dragstart", DRAG: "drag", DRAG_ENTER: "dragenter", DRAG_LEAVE: "dragleave", DRAG_OVER: "dragover", DROP: "drop", DRAG_END: "dragend", ANIMATION_START: n.isWebKit ? "webkitAnimationStart" : "animationstart", ANIMATION_END: n.isWebKit ? "webkitAnimationEnd" : "animationend", ANIMATION_ITERATION: n.isWebKit ? "webkitAnimationIteration" : "animationiteration" }, t.EventHelper = { stop: function (e, t) { e.preventDefault ? e.preventDefault() : e.returnValue = !1, t && (e.stopPropagation ? e.stopPropagation() : e.cancelBubble = !0) } }, t.saveParentsScrollTop = function (e) { for (var t = [], n = 0; e && e.nodeType === e.ELEMENT_NODE; n++) t[n] = e.scrollTop, e = e.parentNode; return t }, t.restoreParentsScrollTop = function (e, t) { for (var n = 0; e && e.nodeType === e.ELEMENT_NODE; n++) e.scrollTop !== t[n] && (e.scrollTop = t[n]), e = e.parentNode }; var K = function (e) { function n(n) { var o = e.call(this) || this; o._onDidFocus = o._register(new c.Emitter), o.onDidFocus = o._onDidFocus.event, o._onDidBlur = o._register(new c.Emitter), o.onDidBlur = o._onDidBlur.event; var r = F(document.activeElement, n), s = !1, a = function () { s = !1, r || (r = !0, o._onDidFocus.fire()) }, l = function () { r && (s = !0, window.setTimeout((function () { s && (s = !1, r = !1, o._onDidBlur.fire()) }), 0)) } ; return o._refreshStateHandler = function () { F(document.activeElement, n) !== r && (r ? l() : a()) }, o._register(i.domEvent(n, t.EventType.FOCUS, !0)(a)), o._register(i.domEvent(n, t.EventType.BLUR, !0)(l)), o } return r(n, e), n }(h.Disposable); t.trackFocus = function (e) { return new K(e) }, t.append = function (e) { for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; return t.forEach((function (t) { return e.appendChild(t) })), t[t.length - 1] }; var U, j = /([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/; function q(e, t, n) { for (var i = [], o = 3; o < arguments.length; o++) i[o - 3] = arguments[o]; var r = j.exec(t); if (!r) throw new Error("Bad use of emmet"); n = l({}, n || {}); var s, a = r[1] || "div"; return s = e !== U.HTML ? document.createElementNS(e, a) : document.createElement(a), r[3] && (s.id = r[3]), r[4] && (s.className = r[4].replace(/\./g, " ").trim()), Object.keys(n).forEach((function (e) { var t = n[e]; void 0 !== t && (/^on\w+$/.test(e) ? s[e] = t : "selected" === e ? t && s.setAttribute(e, "true") : s.setAttribute(e, t)) })), g.coalesce(i).forEach((function (e) { e instanceof Node ? s.appendChild(e) : s.appendChild(document.createTextNode(e)) })), s } function G(e, t) { for (var n = [], i = 2; i < arguments.length; i++) n[i - 2] = arguments[i]; return q.apply(void 0, a([U.HTML, e, t], n)) } function Y(e) { return e && f.Schemas.vscodeRemote === e.scheme ? f.RemoteAuthorities.rewrite(e) : e } !function (e) { e.HTML = "http://www.w3.org/1999/xhtml", e.SVG = "http://www.w3.org/2000/svg" }(U = t.Namespace || (t.Namespace = {})), t.$ = G, G.SVG = function (e, t) { for (var n = [], i = 2; i < arguments.length; i++) n[i - 2] = arguments[i]; return q.apply(void 0, a([U.SVG, e, t], n)) }, t.show = function () { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; for (var n = 0, i = e; n < i.length; n++) { var o = i[n]; o.style.display = "", o.removeAttribute("aria-hidden") } }, t.hide = function () { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; for (var n = 0, i = e; n < i.length; n++) { var o = i[n]; o.style.display = "none", o.setAttribute("aria-hidden", "true") } }, t.removeTabIndexAndUpdateFocus = function (e) { if (e && e.hasAttribute("tabIndex")) { if (document.activeElement === e) { var t = function (e, t) { for (; e && e.nodeType === e.ELEMENT_NODE;) { if (e instanceof HTMLElement && e.hasAttribute(t)) return e; e = e.parentNode } return null }(e.parentElement, "tabIndex"); t && t.focus() } e.removeAttribute("tabindex") } }, t.getElementsByTagName = function (e) { return Array.prototype.slice.call(document.getElementsByTagName(e), 0) }, t.computeScreenAwareSize = function (e) { var t = window.devicePixelRatio * e; return Math.max(1, Math.floor(t)) / window.devicePixelRatio }, t.windowOpenNoOpener = function (e) { if (p.isNative || n.isEdgeWebView) window.open(e); else { var t = window.open(); t && (t.opener = null, t.location.href = e) } }, t.animate = function (e) { var n = function () { e(), i = t.scheduleAtNextAnimationFrame(n) }, i = t.scheduleAtNextAnimationFrame(n); return h.toDisposable((function () { return i.dispose() })) }, f.RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href) ? "https" : "http"), t.asDomUri = Y, t.asCSSUrl = function (e) { return e ? "url('" + Y(e).toString(!0).replace(/'/g, "%27") + "')" : "url('')" } })), define(n[28], i([0, 1, 6]), (function (e, t, n) { "use strict" ;Object.defineProperty(t, "__esModule", {value: !0}); var i = function () { function e(e) { this.domNode = e, this._maxWidth = -1, this._width = -1, this._height = -1, this._top = -1, this._left = -1, this._bottom = -1, this._right = -1, this._fontFamily = "", this._fontWeight = "", this._fontSize = -1, this._fontFeatureSettings = "", this._lineHeight = -1, this._letterSpacing = -100, this._className = "", this._display = "", this._position = "", this._visibility = "", this._backgroundColor = "", this._layerHint = !1, this._contain = "none" } return e.prototype.setMaxWidth = function (e) { this._maxWidth !== e && (this._maxWidth = e, this.domNode.style.maxWidth = this._maxWidth + "px") }, e.prototype.setWidth = function (e) { this._width !== e && (this._width = e, this.domNode.style.width = this._width + "px") }, e.prototype.setHeight = function (e) { this._height !== e && (this._height = e, this.domNode.style.height = this._height + "px") }, e.prototype.setTop = function (e) { this._top !== e && (this._top = e, this.domNode.style.top = this._top + "px") }, e.prototype.unsetTop = function () { -1 !== this._top && (this._top = -1, this.domNode.style.top = "") }, e.prototype.setLeft = function (e) { this._left !== e && (this._left = e, this.domNode.style.left = this._left + "px") }, e.prototype.setBottom = function (e) { this._bottom !== e && (this._bottom = e, this.domNode.style.bottom = this._bottom + "px") }, e.prototype.setRight = function (e) { this._right !== e && (this._right = e, this.domNode.style.right = this._right + "px") }, e.prototype.setFontFamily = function (e) { this._fontFamily !== e && (this._fontFamily = e, this.domNode.style.fontFamily = this._fontFamily) }, e.prototype.setFontWeight = function (e) { this._fontWeight !== e && (this._fontWeight = e, this.domNode.style.fontWeight = this._fontWeight) }, e.prototype.setFontSize = function (e) { this._fontSize !== e && (this._fontSize = e, this.domNode.style.fontSize = this._fontSize + "px") }, e.prototype.setFontFeatureSettings = function (e) { this._fontFeatureSettings !== e && (this._fontFeatureSettings = e, this.domNode.style.fontFeatureSettings = this._fontFeatureSettings) }, e.prototype.setLineHeight = function (e) { this._lineHeight !== e && (this._lineHeight = e, this.domNode.style.lineHeight = this._lineHeight + "px") }, e.prototype.setLetterSpacing = function (e) { this._letterSpacing !== e && (this._letterSpacing = e, this.domNode.style.letterSpacing = this._letterSpacing + "px") }, e.prototype.setClassName = function (e) { this._className !== e && (this._className = e, this.domNode.className = this._className) }, e.prototype.toggleClassName = function (e, t) { n.toggleClass(this.domNode, e, t), this._className = this.domNode.className }, e.prototype.setDisplay = function (e) { this._display !== e && (this._display = e, this.domNode.style.display = this._display) }, e.prototype.setPosition = function (e) { this._position !== e && (this._position = e, this.domNode.style.position = this._position) }, e.prototype.setVisibility = function (e) { this._visibility !== e && (this._visibility = e, this.domNode.style.visibility = this._visibility) }, e.prototype.setBackgroundColor = function (e) { this._backgroundColor !== e && (this._backgroundColor = e, this.domNode.style.backgroundColor = this._backgroundColor) }, e.prototype.setLayerHinting = function (e) { this._layerHint !== e && (this._layerHint = e, this.domNode.style.transform = this._layerHint ? "translate3d(0px, 0px, 0px)" : "") }, e.prototype.setContain = function (e) { this._contain !== e && (this._contain = e, this.domNode.style.contain = this._contain) }, e.prototype.setAttribute = function (e, t) { this.domNode.setAttribute(e, t) }, e.prototype.removeAttribute = function (e) { this.domNode.removeAttribute(e) }, e.prototype.appendChild = function (e) { this.domNode.appendChild(e.domNode) }, e.prototype.removeChild = function (e) { this.domNode.removeChild(e.domNode) }, e }(); t.FastDomNode = i, t.createFastDomNode = function (e) { return new i(e) } })), define(n[134], i([0, 1, 6]), (function (e, t, n) { "use strict"; function i(e) { var t = e.inline ? "span" : "div", n = document.createElement(t); return e.className && (n.className = e.className), n } Object.defineProperty(t, "__esModule", {value: !0}), t.renderText = function (e, t) { void 0 === t && (t = {}); var n = i(t); return n.textContent = e, n }, t.renderFormattedText = function (e, t) { void 0 === t && (t = {}); var s = i(t); return function e(t, i, o) { var r ; if (2 === i.type) r = document.createTextNode(i.content || ""); else if (3 === i.type) r = document.createElement("b"); else if (4 === i.type) r = document.createElement("i"); else if (5 === i.type && o) { var s = document.createElement("a"); s.href = "#", o.disposeables.add(n.addStandardDisposableListener(s, "click", (function (e) { o.callback(String(i.index), e) }))), r = s } else 7 === i.type ? r = document.createElement("br") : 1 === i.type && (r = t); r && t !== r && t.appendChild(r); r && Array.isArray(i.children) && i.children.forEach((function (t) { e(r, t, o) })) }(s, function (e) { var t = {type: 1, children: []}, n = 0, i = t, s = [], a = new o(e); for (; !a.eos();) { var l = a.next(), u = "\\" === l && 0 !== r(a.peek()); if (u && (l = a.next()), u || 0 === r(l) || l !== a.peek()) if ("\n" === l) 2 === i.type && (i = s.pop()), i.children.push({type: 7}); else if (2 !== i.type) { var d = {type: 2, content: l}; i.children.push(d), s.push(i), i = d } else i.content += l; else { a.advance(), 2 === i.type && (i = s.pop()); var c = r(l); if (i.type === c || 5 === i.type && 6 === c) i = s.pop(); else { var h = {type: c, children: []}; 5 === c && (h.index = n, n++), i.children.push(h), s.push(i), i = h } } } 2 === i.type && (i = s.pop()); s.length; return t }(e), t.actionHandler), s }, t.createElement = i; var o = function () { function e(e) { this.source = e, this.index = 0 } return e.prototype.eos = function () { return this.index >= this.source.length }, e.prototype.next = function () { var e = this.peek(); return this.advance(), e }, e.prototype.peek = function () { return this.source[this.index] }, e.prototype.advance = function () { this.index++ }, e }(); function r(e) { switch (e) { case"*": return 3; case"_": return 4; case"[": return 5; case"]": return 6; default: return 0 } } })), define(n[78], i([0, 1, 6, 16, 24, 174, 45, 2, 88]), (function (e, t, n, i, o, r, s, a, l) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), t.standardMouseMoveMerger = function (e, t) { var n = new s.StandardMouseEvent(t); return n.preventDefault(), {leftButton: n.leftButton, buttons: n.buttons, posx: n.posx, posy: n.posy} }; var u = function () { function e() { this._hooks = new a.DisposableStore, this._mouseMoveEventMerger = null, this._mouseMoveCallback = null, this._onStopCallback = null } return e.prototype.dispose = function () { this.stopMonitoring(!1), this._hooks.dispose() }, e.prototype.stopMonitoring = function (e) { if (this.isMonitoring()) { this._hooks.clear(), this._mouseMoveEventMerger = null, this._mouseMoveCallback = null; var t = this._onStopCallback; this._onStopCallback = null, e && t && t() } }, e.prototype.isMonitoring = function () { return !!this._mouseMoveEventMerger }, e.prototype.startMonitoring = function (e, t, a, u, d) { var c = this; if (!this.isMonitoring()) { this._mouseMoveEventMerger = a, this._mouseMoveCallback = u, this._onStopCallback = d; var h = r.IframeUtils.getSameOriginWindowChain(), p = i.isIOS && l.BrowserFeatures.pointerEvents ? "pointermove" : "mousemove", g = i.isIOS && l.BrowserFeatures.pointerEvents ? "pointerup" : "mouseup", f = h.map((function (e) { return e.window.document })), m = n.getShadowRoot(e); m && f.unshift(m); for (var v = 0, _ = f; v < _.length; v++) { var y = _[v]; this._hooks.add(n.addDisposableThrottledListener(y, p, (function (e) { o.isIE || e.buttons === t ? c._mouseMoveCallback(e) : c.stopMonitoring(!0) }), (function (e, t) { return c._mouseMoveEventMerger(e, t) }))), this._hooks.add(n.addDisposableListener(y, g, (function (e) { return c.stopMonitoring(!0) }))) } if (r.IframeUtils.hasDifferentOriginAncestor()) { var C = h[h.length - 1]; this._hooks.add(n.addDisposableListener(C.window.document, "mouseout", (function (e) { "html" === new s.StandardMouseEvent(e).target.tagName.toLowerCase() && c.stopMonitoring(!0) }))), this._hooks.add(n.addDisposableListener(C.window.document, "mouseover", (function (e) { "html" === new s.StandardMouseEvent(e).target.tagName.toLowerCase() && c.stopMonitoring(!0) }))), this._hooks.add(n.addDisposableListener(C.window.document.body, "mouseleave", (function (e) { c.stopMonitoring(!0) }))) } } }, e }(); t.GlobalMouseMoveMonitor = u })), define(n[248], i([0, 1, 6, 134, 10, 75, 127, 612, 613, 180, 31, 5, 25, 46, 100]), (function (e, t, n, i, o, r, s, a, l, u, d, c, h, p, g) { "use strict"; Object.defineProperty(t, "__esModule", {value: !0}), t.renderMarkdown = function (e, t) { void 0 === t && (t = {}); var f, m = i.createElement(t), v = function (t) { var n; try { n = u.parse(decodeURIComponent(t)) } catch (e) { } return n ? (n = d.cloneAndChange(n, (function (t) { return e.uris && e.uris[t] ? h.URI.revive(e.uris[t]) : void 0 })), encodeURIComponent(JSON.stringify(n))) : t }, _ = function (t, i) { var o = e.uris && e.uris[t]; if (!o) return t; var r = h.URI.revive(o); return h.URI.parse(t).toString() === r.toString() ? t : (i && (r = n.asDomUri(r)), r.query && (r = r.with({query: v(r.query)})), r.toString(!0)) }, y = new Promise((function (e) { return f = e })), C = new a.Renderer; C.image = function (e, t, n) { var i, o = [], s = []; return e && (e = (i = r.parseHrefAndDimensions(e)).href, o = i.dimensions, e = _(e, !0), s.push('src="' + e + '"')), n && s.push('alt="' + n + '"'), t && s.push('title="' + t + '"'), o.length && (s = s.concat(o)), "
" + (e.supportThemeIcons ? g.renderCodicons(t) : t) + "
" }, t.codeBlockRenderer && (C.code = function (e, n) { var i = t.codeBlockRenderer(n, e), o = s.defaultGenerator.nextId(), r = Promise.all([i, y]).then((function (e) { var t = e[0], n = m.querySelector('div[data-code="' + o + '"]'); n && (n.innerHTML = t) })).catch((function (e) { })); return t.codeBlockRenderCallback && r.then(t.codeBlockRenderCallback), '| language | ' + o.escape(p.languageIdentifier.language) + " | ", l += '
| token type | ' + this._tokenTypeToString(p.tokenType) + " | ", l += '
| font style | ' + this._fontStyleToString(p.fontStyle) + " | ", l += '
| foreground | ' + n.Color.Format.CSS.formatHex(p.foreground) + " | ", l += '
| background | ' + n.Color.Format.CSS.formatHex(p.background) + " | ", l += "