public.assets.vs.editor.editor.main.js Maven / Gradle / Ivy
/*!-----------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.34.1(0316a754aa4c25208bef91937efbce2ab1e3ce37)
* Released under the MIT license
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
*-----------------------------------------------------------*/(function(){var re=["exports","require","vs/base/common/lifecycle","vs/editor/common/core/range","vs/nls","vs/nls!vs/editor/editor.main","vs/base/common/event","vs/base/browser/dom","vs/base/common/strings","vs/platform/instantiation/common/instantiation","vs/base/common/async","vs/editor/common/core/position","vs/editor/browser/editorExtensions","vs/css!vs/editor/editor.main","vs/base/common/errors","vs/platform/theme/common/themeService","vs/platform/contextkey/common/contextkey","vs/base/common/platform","vs/base/common/arrays","vs/base/common/types","vs/editor/common/services/languageFeatures","vs/base/common/cancellation","vs/base/common/uri","vs/editor/common/core/selection","vs/editor/common/editorContextKeys","vs/platform/theme/common/colorRegistry","vs/platform/commands/common/commands","vs/base/common/codicons","vs/editor/common/languages","vs/editor/browser/services/codeEditorService","vs/platform/configuration/common/configuration","vs/base/common/color","vs/editor/common/languages/languageConfigurationRegistry","vs/base/browser/fastDomNode","vs/platform/registry/common/platform","vs/editor/common/model/textModel","vs/editor/common/config/editorOptions","vs/editor/common/languages/language","vs/platform/actions/common/actions","vs/platform/notification/common/notification","vs/base/common/objects","vs/base/browser/browser","vs/platform/keybinding/common/keybinding","vs/base/common/actions","vs/base/common/resources","vs/platform/opener/common/opener","vs/editor/common/model","vs/editor/browser/view/viewPart","vs/base/browser/keyboardEvent","vs/base/browser/ui/aria/aria","vs/editor/common/services/model","vs/base/common/map","vs/base/common/network","vs/platform/instantiation/common/extensions","vs/editor/common/core/editorColorRegistry","vs/base/common/iterator","vs/platform/theme/common/theme","vs/base/common/stopwatch","vs/editor/common/services/resolverService","vs/base/common/keyCodes","vs/editor/common/core/editOperation","vs/editor/common/cursorCommon","vs/base/browser/touch","vs/base/common/filters","vs/base/common/htmlContent","vs/editor/browser/config/domFontInfo","vs/editor/common/core/cursorColumns","vs/base/browser/mouseEvent","vs/base/browser/ui/widget","vs/platform/log/common/log","vs/editor/common/services/languageFeatureDebounce","vs/platform/progress/common/progress","vs/editor/common/languages/modesRegistry","vs/base/common/linkedList","vs/editor/common/viewModel","vs/base/browser/ui/scrollbar/scrollableElement","vs/editor/common/standaloneStrings","vs/platform/accessibility/common/accessibility","vs/platform/contextview/browser/contextView","vs/platform/storage/common/storage","vs/platform/theme/common/iconRegistry","vs/base/common/severity","vs/editor/common/tokens/lineTokens","vs/base/browser/ui/actionbar/actionbar","vs/platform/markers/common/markers","vs/platform/quickinput/common/quickInput","vs/platform/telemetry/common/telemetry","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length","vs/editor/contrib/hover/browser/hoverTypes","vs/editor/contrib/snippet/browser/snippetParser","vs/base/common/path","vs/editor/common/core/stringBuilder","vs/editor/common/services/editorWorker","vs/platform/clipboard/common/clipboardService","vs/platform/configuration/common/configurationRegistry","vs/editor/contrib/editorState/browser/editorState","vs/base/common/functional","vs/base/common/mime","vs/editor/common/languages/languageConfiguration","vs/editor/common/textModelEvents","vs/base/browser/event","vs/platform/keybinding/common/keybindingsRegistry","vs/editor/contrib/suggest/browser/suggest","vs/base/common/decorators","vs/base/common/keybindings","vs/base/common/hash","vs/base/common/iconLabels","vs/editor/common/core/characterClassifier","vs/editor/common/commands/replaceCommand","vs/editor/common/encodedTokenAttributes","vs/editor/common/languages/supports","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet","vs/editor/browser/view/dynamicViewOverlay","vs/base/browser/ui/list/listWidget","vs/editor/common/viewLayout/viewLineRenderer","vs/editor/standalone/common/standaloneTheme","vs/platform/layout/browser/layoutService","vs/editor/contrib/markdownRenderer/browser/markdownRenderer","vs/platform/quickinput/common/quickAccess","vs/editor/contrib/peekView/browser/peekView","vs/editor/contrib/snippet/browser/snippetController2","vs/base/browser/ui/tree/tree","vs/base/common/buffer","vs/base/browser/dnd","vs/base/common/numbers","vs/editor/browser/view/renderingContext","vs/editor/common/core/eolCounter","vs/editor/common/core/wordCharacterClassifier","vs/editor/common/core/wordHelper","vs/editor/common/viewEventHandler","vs/editor/common/viewLayout/lineDecorations","vs/editor/contrib/codeAction/browser/types","vs/base/browser/globalPointerMoveMonitor","vs/base/browser/ui/actionbar/actionViewItems","vs/base/browser/ui/iconLabel/iconLabels","vs/base/browser/ui/sash/sash","vs/editor/common/languages/nullTokenize","vs/editor/contrib/gotoSymbol/browser/referencesModel","vs/editor/browser/services/bulkEditService","vs/platform/dialogs/common/dialogs","vs/platform/label/common/label","vs/editor/browser/editorDom","vs/platform/theme/common/styler","vs/editor/contrib/message/browser/messageController","vs/base/common/idGenerator","vs/base/common/lazy","vs/base/common/range","vs/base/common/diff/diff","vs/base/common/uint","vs/base/browser/ui/codicons/codiconStyles","vs/base/browser/ui/mouseCursor/mouseCursor","vs/css!vs/base/parts/quickinput/browser/media/quickInput","vs/editor/browser/stableEditorScroll","vs/editor/common/core/textModelDefaults","vs/editor/common/editorCommon","vs/editor/browser/editorBrowser","vs/editor/common/cursor/cursorWordOperations","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast","vs/editor/common/model/textModelSearch","vs/editor/common/standalone/standaloneEnums","vs/editor/contrib/folding/browser/foldingRanges","vs/base/common/scrollable","vs/base/browser/ui/toggle/toggle","vs/base/browser/ui/tree/abstractTree","vs/editor/common/config/editorZoom","vs/editor/contrib/inlineCompletions/browser/ghostText","vs/editor/common/services/textResourceConfiguration","vs/platform/instantiation/common/serviceCollection","vs/editor/contrib/documentSymbols/browser/outlineModel","vs/editor/browser/coreCommands","vs/editor/contrib/codeAction/browser/codeAction","vs/platform/list/browser/listService","vs/platform/undoRedo/common/undoRedo","vs/editor/browser/widget/codeEditorWidget","vs/editor/browser/widget/embeddedCodeEditorWidget","vs/editor/contrib/find/browser/findModel","vs/platform/workspace/common/workspace","vs/base/common/assert","vs/base/common/dataTransfer","vs/editor/common/core/indentation","vs/editor/common/cursor/cursorMoveOperations","vs/editor/common/cursor/cursorDeleteOperations","vs/editor/common/cursor/cursorMoveCommands","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer","vs/editor/common/model/utils","vs/editor/common/textModelGuides","vs/editor/browser/viewParts/glyphMargin/glyphMargin","vs/editor/common/viewEvents","vs/editor/contrib/inlineCompletions/browser/consts","vs/editor/contrib/inlineCompletions/browser/utils","vs/base/common/keybindingLabels","vs/base/common/extpath","vs/base/browser/canIUse","vs/base/browser/ui/tree/indexTreeModel","vs/base/browser/ui/tree/objectTreeModel","vs/base/common/marshalling","vs/base/browser/formattedTextRenderer","vs/base/browser/ui/iconLabel/iconLabel","vs/base/browser/ui/scrollbar/scrollbarArrow","vs/base/browser/ui/inputbox/inputBox","vs/base/browser/ui/list/listView","vs/editor/browser/controller/textAreaInput","vs/editor/browser/view/viewLayer","vs/editor/common/languages/supports/richEditBrackets","vs/editor/common/viewModelEventDispatcher","vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture","vs/editor/contrib/inlineCompletions/browser/inlineCompletionToGhostText","vs/editor/common/config/fontInfo","vs/platform/instantiation/common/descriptors","vs/editor/common/services/markerDecorations","vs/editor/contrib/parameterHints/browser/provideSignatureHelp","vs/platform/jsonschemas/common/jsonContributionRegistry","vs/editor/common/config/editorConfigurationSchema","vs/editor/common/languages/autoIndent","vs/editor/common/languages/enterAction","vs/editor/common/commands/shiftCommand","vs/editor/common/cursor/cursorTypeOperations","vs/editor/contrib/hover/browser/markdownHoverParticipant","vs/platform/actions/browser/menuEntryActionViewItem","vs/editor/contrib/gotoSymbol/browser/goToCommands","vs/editor/standalone/browser/standaloneServices","vs/base/browser/ui/scrollbar/scrollbarState","vs/base/common/cache","vs/base/common/uuid","vs/base/parts/quickinput/common/quickInput","vs/css!vs/base/browser/ui/actionbar/actionbar","vs/css!vs/base/browser/ui/dropdown/dropdown","vs/css!vs/base/browser/ui/findinput/findInput","vs/css!vs/base/browser/ui/list/list","vs/editor/browser/view/viewUserInputEvents","vs/editor/browser/viewParts/minimap/minimapCharSheet","vs/editor/browser/controller/textAreaState","vs/editor/common/core/rgba","vs/editor/common/cursor/cursorAtomicMoveOperations","vs/editor/common/editorAction","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets","vs/editor/common/model/prefixSumComputer","vs/editor/common/model/textModelPart","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase","vs/editor/common/modelLineProjectionData","vs/editor/common/services/unicodeTextModelHighlighter","vs/editor/common/model/guidesTextModelPart","vs/editor/browser/viewParts/margin/margin","vs/editor/common/viewModel/overviewZoneManager","vs/editor/contrib/comment/browser/blockCommentCommand","vs/editor/contrib/format/browser/formattingEdit","vs/editor/contrib/indentation/browser/indentUtils","vs/editor/contrib/smartSelect/browser/bracketSelections","vs/editor/contrib/suggest/browser/completionModel","vs/editor/contrib/suggest/browser/wordDistance","vs/editor/standalone/common/monarch/monarchCommon","vs/base/common/glob","vs/base/browser/ui/contextview/contextview","vs/base/browser/ui/countBadge/countBadge","vs/base/browser/ui/iconLabel/iconLabelHover","vs/base/browser/ui/highlightedlabel/highlightedLabel","vs/base/browser/ui/resizable/resizable","vs/base/browser/ui/scrollbar/abstractScrollbar","vs/base/browser/ui/hover/hoverWidget","vs/base/browser/ui/splitview/splitview","vs/base/browser/ui/findinput/findInputToggles","vs/base/browser/ui/findinput/findInput","vs/base/browser/ui/tree/objectTree","vs/base/common/worker/simpleWorker","vs/base/parts/quickinput/browser/quickInputUtils","vs/editor/browser/config/elementSizeObserver","vs/editor/browser/config/tabFocus","vs/editor/browser/widget/diffNavigator","vs/editor/common/core/textChange","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer","vs/editor/common/languages/textToHtmlTokenizer","vs/editor/common/services/editorBaseApi","vs/editor/common/viewModel/minimapTokensColorTracker","vs/editor/contrib/hover/browser/hoverOperation","vs/editor/contrib/inlayHints/browser/inlayHints","vs/editor/browser/config/fontMeasurements","vs/editor/common/viewModel/viewModelDecorations","vs/editor/common/model/editStack","vs/platform/files/common/files","vs/editor/common/services/getSemanticTokens","vs/editor/contrib/codelens/browser/codelens","vs/editor/contrib/colorPicker/browser/color","vs/editor/standalone/common/monarch/monarchLexer","vs/platform/configuration/common/configurationModels","vs/platform/contextkey/common/contextkeys","vs/platform/keybinding/common/resolvedKeybindingItem","vs/editor/standalone/browser/standaloneLayoutService","vs/editor/browser/dnd","vs/editor/browser/services/editorWorkerService","vs/editor/common/cursor/cursor","vs/editor/contrib/suggest/browser/suggestWidgetDetails","vs/platform/history/browser/contextScopedHistoryWidget","vs/editor/contrib/suggest/browser/suggestMemory","vs/editor/browser/viewParts/lines/viewLine","vs/editor/browser/controller/mouseTarget","vs/editor/browser/viewParts/lineNumbers/lineNumbers","vs/editor/common/services/semanticTokensProviderStyling","vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess","vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/editor/standalone/browser/standaloneCodeEditorService","vs/editor/contrib/codeAction/browser/codeActionMenu","vs/editor/contrib/format/browser/format","vs/editor/contrib/gotoSymbol/browser/goToSymbol","vs/editor/contrib/hover/browser/getHover","vs/editor/contrib/codeAction/browser/codeActionCommands","vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode","vs/editor/contrib/wordOperations/browser/wordOperations","vs/editor/standalone/browser/standaloneThemeService","vs/editor/common/services/modelService","vs/editor/browser/widget/diffEditorWidget","vs/editor/contrib/colorPicker/browser/colorDetector","vs/editor/contrib/find/browser/findController","vs/editor/contrib/gotoError/browser/gotoError","vs/editor/contrib/gotoSymbol/browser/peek/referencesController","vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition","vs/editor/contrib/hover/browser/hover","vs/editor/contrib/inlayHints/browser/inlayHintsController","vs/editor/contrib/snippet/browser/snippetSession","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel","vs/editor/contrib/suggest/browser/suggestController","vs/editor/contrib/inlineCompletions/browser/ghostTextController","vs/platform/workspace/common/workspaceTrust","vs/base/browser/iframe","vs/base/browser/ui/list/list","vs/base/browser/ui/list/splice","vs/base/common/collections","vs/base/common/diff/diffChange","vs/base/common/marked/marked","vs/base/common/navigator","vs/base/common/history","vs/base/browser/ui/list/rangeMap","vs/base/common/search","vs/css!vs/base/browser/ui/aria/aria","vs/css!vs/base/browser/ui/button/button","vs/css!vs/base/browser/ui/codicons/codicon/codicon","vs/css!vs/base/browser/ui/codicons/codicon/codicon-modifiers","vs/css!vs/base/browser/ui/contextview/contextview","vs/css!vs/base/browser/ui/countBadge/countBadge","vs/css!vs/base/browser/ui/hover/hover","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/mouseCursor/mouseCursor","vs/css!vs/base/browser/ui/progressbar/progressbar","vs/css!vs/base/browser/ui/sash/sash","vs/css!vs/base/browser/ui/scrollbar/media/scrollbars","vs/css!vs/base/browser/ui/splitview/splitview","vs/css!vs/base/browser/ui/table/table","vs/css!vs/base/browser/ui/toggle/toggle","vs/css!vs/base/browser/ui/tree/media/tree","vs/css!vs/editor/browser/controller/textAreaHandler","vs/css!vs/editor/browser/viewParts/blockDecorations/blockDecorations","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/anchorSelect/browser/anchorSelect","vs/css!vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/css!vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/css!vs/editor/contrib/codeAction/browser/media/action","vs/css!vs/editor/contrib/codelens/browser/codelensWidget","vs/css!vs/editor/contrib/colorPicker/browser/colorPicker","vs/css!vs/editor/contrib/dnd/browser/dnd","vs/css!vs/editor/contrib/find/browser/findWidget","vs/css!vs/editor/contrib/folding/browser/folding","vs/css!vs/editor/contrib/gotoError/browser/media/gotoErrorWidget","vs/css!vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition","vs/css!vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget","vs/css!vs/editor/contrib/inlineCompletions/browser/ghostText","vs/css!vs/editor/contrib/links/browser/links","vs/css!vs/editor/contrib/message/browser/messageController","vs/css!vs/editor/contrib/parameterHints/browser/parameterHints","vs/css!vs/editor/contrib/peekView/browser/media/peekViewWidget","vs/css!vs/editor/contrib/rename/browser/renameInputField","vs/css!vs/editor/contrib/snippet/browser/snippetSession","vs/css!vs/editor/contrib/suggest/browser/media/suggest","vs/css!vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/css!vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/css!vs/editor/contrib/zoneWidget/browser/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/quickInput/standaloneQuickInput","vs/css!vs/editor/standalone/browser/standalone-tokens","vs/css!vs/platform/actions/browser/menuEntryActionViewItem","vs/editor/browser/config/charWidthReader","vs/editor/browser/config/migrateOptions","vs/editor/browser/viewParts/lines/rangeUtil","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/commands/surroundSelectionCommand","vs/editor/common/cursor/cursorContext","vs/editor/common/diff/diffComputer","vs/editor/common/editorTheme","vs/editor/common/languages/linkComputer","vs/editor/common/cursor/cursorColumnSelection","vs/editor/common/cursor/oneCursor","vs/editor/common/cursor/cursorCollection","vs/editor/common/languages/supports/characterPair","vs/editor/common/languages/supports/indentRules","vs/editor/common/languages/supports/inplaceReplaceSupport","vs/editor/common/languages/supports/languageBracketsConfiguration","vs/editor/common/languages/supports/onEnter","vs/editor/common/languages/supports/tokenization","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees","vs/editor/common/model/bracketPairsTextModelPart/fixBrackets","vs/editor/common/model/indentationGuesser","vs/editor/common/model/intervalTree","vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase","vs/editor/common/model/mirrorTextModel","vs/editor/common/textModelBracketPairs","vs/editor/common/tokens/contiguousMultilineTokens","vs/editor/common/tokens/contiguousMultilineTokensBuilder","vs/editor/common/tokens/contiguousTokensEditing","vs/editor/common/tokens/contiguousTokensStore","vs/editor/common/tokens/sparseMultilineTokens","vs/editor/common/tokens/sparseTokensStore","vs/editor/browser/viewParts/blockDecorations/blockDecorations","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/viewZones/viewZones","vs/editor/common/viewLayout/linePart","vs/editor/common/viewLayout/linesLayout","vs/editor/common/viewLayout/viewLinesViewportData","vs/editor/common/viewModel/modelLineProjection","vs/editor/common/viewModel/monospaceLineBreaksComputer","vs/editor/browser/viewParts/overviewRuler/overviewRuler","vs/editor/common/viewModel/viewContext","vs/editor/contrib/caretOperations/browser/moveCaretCommand","vs/editor/contrib/comment/browser/lineCommentCommand","vs/editor/contrib/dnd/browser/dragAndDropCommand","vs/editor/contrib/find/browser/replaceAllCommand","vs/editor/contrib/find/browser/replacePattern","vs/editor/contrib/folding/browser/indentRangeProvider","vs/editor/contrib/folding/browser/syntaxRangeProvider","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand","vs/editor/contrib/linesOperations/browser/copyLinesCommand","vs/editor/contrib/linesOperations/browser/sortLinesCommand","vs/editor/contrib/smartSelect/browser/wordSelections","vs/editor/contrib/suggest/browser/suggestCommitCharacters","vs/editor/contrib/suggest/browser/suggestOvertypingCapturer","vs/editor/standalone/common/monarch/monarchCompile","vs/nls!vs/base/browser/ui/actionbar/actionViewItems","vs/nls!vs/base/browser/ui/findinput/findInput","vs/nls!vs/base/browser/ui/findinput/findInputToggles","vs/nls!vs/base/browser/ui/findinput/replaceInput","vs/nls!vs/base/browser/ui/iconLabel/iconLabelHover","vs/nls!vs/base/browser/ui/inputbox/inputBox","vs/nls!vs/base/browser/ui/keybindingLabel/keybindingLabel","vs/nls!vs/base/browser/ui/tree/abstractTree","vs/nls!vs/base/common/actions","vs/nls!vs/base/common/errorMessage","vs/base/common/errorMessage","vs/nls!vs/base/common/keybindingLabels","vs/nls!vs/base/common/platform","vs/base/common/process","vs/base/common/fuzzyScorer","vs/base/common/labels","vs/base/browser/ui/scrollbar/scrollbarVisibilityController","vs/base/browser/ui/tree/compressedObjectTreeModel","vs/base/common/comparers","vs/base/browser/dompurify/dompurify","vs/base/browser/ui/dropdown/dropdown","vs/base/browser/ui/dropdown/dropdownActionViewItem","vs/base/browser/ui/button/button","vs/base/browser/ui/keybindingLabel/keybindingLabel","vs/base/browser/ui/list/rowCache","vs/base/browser/ui/progressbar/progressbar","vs/base/browser/ui/scrollbar/horizontalScrollbar","vs/base/browser/ui/scrollbar/verticalScrollbar","vs/base/browser/ui/list/listPaging","vs/base/browser/ui/menu/menu","vs/base/browser/ui/table/tableWidget","vs/base/browser/ui/findinput/replaceInput","vs/base/browser/ui/tree/dataTree","vs/base/browser/ui/tree/asyncDataTree","vs/base/browser/markdownRenderer","vs/base/browser/defaultWorkerFactory","vs/base/parts/quickinput/browser/quickInputBox","vs/base/parts/storage/common/storage","vs/editor/browser/viewParts/contentWidgets/contentWidgets","vs/editor/browser/view/domLineBreaksComputer","vs/editor/browser/view/viewOverlays","vs/editor/common/languageSelector","vs/editor/common/languageFeatureRegistry","vs/editor/common/languages/supports/electricCharacter","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder","vs/editor/common/services/semanticTokensDto","vs/editor/common/tokenizationRegistry","vs/editor/common/model/textModelTokens","vs/editor/common/model/tokenizationTextModelPart","vs/editor/common/services/editorSimpleWorker","vs/editor/common/viewLayout/viewLayout","vs/editor/contrib/colorPicker/browser/colorPickerModel","vs/editor/contrib/folding/browser/foldingModel","vs/editor/contrib/folding/browser/hiddenRangeModel","vs/nls!vs/base/parts/quickinput/browser/quickInput","vs/nls!vs/base/parts/quickinput/browser/quickInputList","vs/base/parts/quickinput/browser/quickInputList","vs/base/parts/quickinput/browser/quickInput","vs/nls!vs/editor/browser/controller/textAreaHandler","vs/nls!vs/editor/browser/coreCommands","vs/nls!vs/editor/browser/editorExtensions","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/editorConfigurationSchema","vs/nls!vs/editor/common/config/editorOptions","vs/editor/browser/viewParts/viewCursors/viewCursor","vs/nls!vs/editor/common/core/editorColorRegistry","vs/nls!vs/editor/common/editorContextKeys","vs/nls!vs/editor/common/languages/modesRegistry","vs/nls!vs/editor/common/model/editStack","vs/nls!vs/editor/common/standaloneStrings","vs/nls!vs/editor/contrib/anchorSelect/browser/anchorSelect","vs/nls!vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/nls!vs/editor/contrib/caretOperations/browser/caretOperations","vs/nls!vs/editor/contrib/caretOperations/browser/transpose","vs/nls!vs/editor/contrib/clipboard/browser/clipboard","vs/nls!vs/editor/contrib/codeAction/browser/codeActionCommands","vs/nls!vs/editor/contrib/codeAction/browser/codeActionMenu","vs/nls!vs/editor/contrib/codeAction/browser/codeActionWidgetContribution","vs/nls!vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/nls!vs/editor/contrib/codelens/browser/codelensController","vs/nls!vs/editor/contrib/colorPicker/browser/colorPickerWidget","vs/nls!vs/editor/contrib/comment/browser/comment","vs/nls!vs/editor/contrib/contextmenu/browser/contextmenu","vs/nls!vs/editor/contrib/copyPaste/browser/copyPasteContribution","vs/nls!vs/editor/contrib/cursorUndo/browser/cursorUndo","vs/nls!vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution","vs/nls!vs/editor/contrib/editorState/browser/keybindingCancellation","vs/nls!vs/editor/contrib/find/browser/findController","vs/nls!vs/editor/contrib/find/browser/findWidget","vs/nls!vs/editor/contrib/folding/browser/folding","vs/nls!vs/editor/contrib/folding/browser/foldingDecorations","vs/nls!vs/editor/contrib/fontZoom/browser/fontZoom","vs/nls!vs/editor/contrib/format/browser/format","vs/nls!vs/editor/contrib/format/browser/formatActions","vs/nls!vs/editor/contrib/gotoError/browser/gotoError","vs/nls!vs/editor/contrib/gotoError/browser/gotoErrorWidget","vs/nls!vs/editor/contrib/gotoSymbol/browser/goToCommands","vs/nls!vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition","vs/nls!vs/editor/contrib/gotoSymbol/browser/peek/referencesController","vs/nls!vs/editor/contrib/gotoSymbol/browser/peek/referencesTree","vs/nls!vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget","vs/nls!vs/editor/contrib/gotoSymbol/browser/referencesModel","vs/nls!vs/editor/contrib/gotoSymbol/browser/symbolNavigation","vs/nls!vs/editor/contrib/hover/browser/hover","vs/nls!vs/editor/contrib/hover/browser/markdownHoverParticipant","vs/nls!vs/editor/contrib/hover/browser/markerHoverParticipant","vs/nls!vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/nls!vs/editor/contrib/indentation/browser/indentation","vs/nls!vs/editor/contrib/inlayHints/browser/inlayHintsHover","vs/nls!vs/editor/contrib/inlineCompletions/browser/ghostTextController","vs/nls!vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant","vs/nls!vs/editor/contrib/lineSelection/browser/lineSelection","vs/nls!vs/editor/contrib/linesOperations/browser/linesOperations","vs/nls!vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/nls!vs/editor/contrib/links/browser/links","vs/nls!vs/editor/contrib/message/browser/messageController","vs/nls!vs/editor/contrib/multicursor/browser/multicursor","vs/nls!vs/editor/contrib/parameterHints/browser/parameterHints","vs/nls!vs/editor/contrib/parameterHints/browser/parameterHintsWidget","vs/nls!vs/editor/contrib/peekView/browser/peekView","vs/nls!vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess","vs/nls!vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess","vs/nls!vs/editor/contrib/readOnlyMessage/browser/contribution","vs/nls!vs/editor/contrib/rename/browser/rename","vs/nls!vs/editor/contrib/rename/browser/renameInputField","vs/nls!vs/editor/contrib/smartSelect/browser/smartSelect","vs/nls!vs/editor/contrib/snippet/browser/snippetController2","vs/nls!vs/editor/contrib/snippet/browser/snippetVariables","vs/nls!vs/editor/contrib/suggest/browser/suggest","vs/nls!vs/editor/contrib/suggest/browser/suggestController","vs/nls!vs/editor/contrib/suggest/browser/suggestWidget","vs/nls!vs/editor/contrib/suggest/browser/suggestWidgetDetails","vs/nls!vs/editor/contrib/suggest/browser/suggestWidgetRenderer","vs/nls!vs/editor/contrib/suggest/browser/suggestWidgetStatus","vs/nls!vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/nls!vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode","vs/nls!vs/editor/contrib/tokenization/browser/tokenization","vs/nls!vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/nls!vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators","vs/nls!vs/editor/contrib/wordHighlighter/browser/wordHighlighter","vs/nls!vs/editor/contrib/wordOperations/browser/wordOperations","vs/nls!vs/platform/actions/browser/menuEntryActionViewItem","vs/nls!vs/platform/actions/common/menuService","vs/nls!vs/platform/configuration/common/configurationRegistry","vs/nls!vs/platform/contextkey/browser/contextKeyService","vs/nls!vs/platform/contextkey/common/contextkeys","vs/nls!vs/platform/history/browser/contextScopedHistoryWidget","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/quickinput/browser/commandsQuickAccess","vs/nls!vs/platform/quickinput/browser/helpQuickAccess","vs/nls!vs/platform/theme/common/colorRegistry","vs/nls!vs/platform/theme/common/iconRegistry","vs/nls!vs/platform/undoRedo/common/undoRedoService","vs/nls!vs/platform/workspace/common/workspace","vs/platform/editor/common/editor","vs/platform/extensions/common/extensions","vs/platform/history/browser/historyWidgetKeybindingHint","vs/platform/instantiation/common/graph","vs/editor/common/services/languageFeaturesService","vs/editor/contrib/links/browser/getLinks","vs/editor/standalone/browser/colorizer","vs/editor/contrib/parameterHints/browser/parameterHintsModel","vs/editor/contrib/suggest/browser/suggestAlternatives","vs/editor/contrib/suggest/browser/wordContextKey","vs/editor/browser/config/editorConfiguration","vs/platform/contextkey/browser/contextKeyService","vs/platform/instantiation/common/instantiationService","vs/platform/keybinding/common/abstractKeybindingService","vs/platform/keybinding/common/baseResolvedKeybinding","vs/platform/keybinding/common/keybindingResolver","vs/platform/keybinding/common/usLayoutResolvedKeybinding","vs/platform/accessibility/browser/accessibilityService","vs/platform/contextview/browser/contextViewService","vs/platform/clipboard/browser/clipboardService","vs/editor/contrib/gotoError/browser/markerNavigationService","vs/platform/markers/common/markerService","vs/editor/browser/services/openerService","vs/editor/contrib/documentSymbols/browser/documentSymbols","vs/platform/quickinput/browser/pickerQuickAccess","vs/platform/dnd/browser/dnd","vs/editor/browser/services/webWorker","vs/editor/common/services/getIconClasses","vs/editor/common/services/languagesAssociations","vs/editor/common/services/languagesRegistry","vs/editor/common/services/languageService","vs/editor/contrib/codeAction/browser/codeActionWidgetContribution","vs/editor/contrib/linesOperations/browser/moveLinesCommand","vs/editor/contrib/hover/browser/marginHover","vs/platform/configuration/common/configurations","vs/platform/quickinput/browser/helpQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneHelpQuickAccess","vs/platform/quickinput/browser/quickAccess","vs/editor/contrib/codelens/browser/codeLensCache","vs/platform/quickinput/browser/commandsQuickAccess","vs/editor/contrib/quickAccess/browser/commandsQuickAccess","vs/platform/contextview/browser/contextMenuHandler","vs/editor/browser/controller/mouseHandler","vs/editor/browser/controller/pointerHandler","vs/editor/browser/viewParts/lines/viewLines","vs/editor/browser/services/abstractCodeEditorService","vs/editor/browser/viewParts/editorScrollbar/editorScrollbar","vs/editor/browser/viewParts/minimap/minimap","vs/editor/browser/viewParts/scrollDecoration/scrollDecoration","vs/editor/browser/viewParts/selections/selections","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/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider","vs/editor/common/services/markerDecorationsService","vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/editor/contrib/colorPicker/browser/colorPickerWidget","vs/editor/contrib/gotoSymbol/browser/peek/referencesTree","vs/editor/contrib/inlineCompletions/browser/ghostTextWidget","vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess","vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess","vs/editor/contrib/rename/browser/renameInputField","vs/editor/standalone/common/themes","vs/editor/browser/services/markerDecorations","vs/editor/browser/view/viewController","vs/editor/browser/view","vs/editor/contrib/anchorSelect/browser/anchorSelect","vs/editor/contrib/caretOperations/browser/caretOperations","vs/editor/contrib/caretOperations/browser/transpose","vs/editor/contrib/clipboard/browser/clipboard","vs/editor/contrib/comment/browser/comment","vs/editor/contrib/contextmenu/browser/contextmenu","vs/editor/contrib/cursorUndo/browser/cursorUndo","vs/editor/contrib/editorState/browser/keybindingCancellation","vs/editor/contrib/codeAction/browser/codeActionModel","vs/editor/contrib/fontZoom/browser/fontZoom","vs/editor/contrib/format/browser/formatActions","vs/editor/contrib/gotoSymbol/browser/symbolNavigation","vs/editor/contrib/indentation/browser/indentation","vs/editor/contrib/lineSelection/browser/lineSelection","vs/editor/contrib/linesOperations/browser/linesOperations","vs/editor/contrib/codeAction/browser/codeActionUi","vs/editor/contrib/codeAction/browser/codeActionContributions","vs/editor/contrib/readOnlyMessage/browser/contribution","vs/editor/contrib/rename/browser/rename","vs/editor/contrib/smartSelect/browser/smartSelect","vs/editor/contrib/stickyScroll/browser/stickyScroll","vs/editor/contrib/suggest/browser/suggestInlineCompletions","vs/editor/contrib/tokenization/browser/tokenization","vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators","vs/editor/contrib/wordPartOperations/browser/wordPartOperations","vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp","vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard","vs/editor/standalone/browser/inspectTokens/inspectTokens","vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess","vs/editor/contrib/suggest/browser/suggestWidgetStatus","vs/platform/actions/common/menuService","vs/platform/contextview/browser/contextMenuService","vs/platform/opener/browser/link","vs/platform/quickinput/browser/quickInput","vs/editor/standalone/browser/quickInput/standaloneQuickInputService","vs/platform/severityIcon/common/severityIcon","vs/editor/browser/widget/diffReview","vs/editor/contrib/parameterHints/browser/parameterHintsWidget","vs/editor/contrib/parameterHints/browser/parameterHints","vs/editor/contrib/suggest/browser/suggestWidgetRenderer","vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/platform/theme/browser/iconsStyleSheet","vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast","vs/editor/common/viewModel/viewModelLines","vs/editor/common/viewModel/viewModelImpl","vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/editor/contrib/codelens/browser/codelensWidget","vs/editor/contrib/codelens/browser/codelensController","vs/editor/contrib/colorPicker/browser/colorHoverParticipant","vs/editor/contrib/dnd/browser/dnd","vs/editor/contrib/find/browser/findDecorations","vs/editor/contrib/find/browser/findOptionsWidget","vs/editor/contrib/find/browser/findState","vs/editor/contrib/find/browser/findWidget","vs/editor/contrib/folding/browser/foldingDecorations","vs/editor/contrib/folding/browser/folding","vs/editor/contrib/hover/browser/contentHover","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/editor/contrib/links/browser/links","vs/editor/contrib/multicursor/browser/multicursor","vs/editor/contrib/suggest/browser/suggestWidget","vs/editor/contrib/viewportSemanticTokens/browser/viewportSemanticTokens","vs/editor/contrib/wordHighlighter/browser/wordHighlighter","vs/editor/contrib/zoneWidget/browser/zoneWidget","vs/editor/contrib/gotoError/browser/gotoErrorWidget","vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget","vs/editor/contrib/hover/browser/markerHoverParticipant","vs/editor/contrib/colorPicker/browser/colorContributions","vs/editor/contrib/inlayHints/browser/inlayHintsLocations","vs/editor/contrib/inlayHints/browser/inlayHintsHover","vs/editor/contrib/inlayHints/browser/inlayHintsContribution","vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch","vs/platform/undoRedo/common/undoRedoService","vs/editor/contrib/snippet/browser/snippetVariables","vs/editor/contrib/copyPaste/browser/copyPasteController","vs/editor/contrib/copyPaste/browser/copyPasteContribution","vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution","vs/editor/contrib/suggest/browser/suggestModel","vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider","vs/editor/contrib/inlineCompletions/browser/suggestWidgetPreviewModel","vs/editor/contrib/inlineCompletions/browser/ghostTextModel","vs/editor/contrib/inlineCompletions/browser/ghostTextHoverParticipant","vs/editor/contrib/inlineCompletions/browser/ghostText.contribution","vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/editor/editor.all","vs/editor/standalone/browser/standaloneCodeEditor","vs/editor/standalone/browser/standaloneEditor","vs/editor/standalone/browser/standaloneLanguages","vs/editor/editor.api","vs/css","vs/editor/edcore.main"],ae=function($){for(var e=[],w=0,C=$.length;w{u({})},t=>{typeof u.error=="function"&&u.error("Could not find "+i+".")})}e.load=w;function C(b,v,u,g){if(k(b,v)){u();return}I(b,v,u,g)}function k(b,v){const u=document.getElementsByTagName("link");for(let g=0,n=u.length;g{v.removeEventListener("load",i),v.removeEventListener("error",t)},i=r=>{n(),u()},t=r=>{n(),g(r)};v.addEventListener("load",i),v.addEventListener("error",t)}});var Se=this&&this.__awaiter||function($,e,w,C){function k(I){return I instanceof w?I:new w(function(L){L(I)})}return new(w||(w=Promise))(function(I,L){function b(g){try{u(C.next(g))}catch(n){L(n)}}function v(g){try{u(C.throw(g))}catch(n){L(n)}}function u(g){g.done?I(g.value):k(g.value).then(b,v)}u((C=C.apply($,e||[])).next())})};define(re[4],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.load=e.create=e.setPseudoTranslation=e.getConfiguredDefaultLocale=e.localize=void 0;let w=typeof document!="undefined"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const C="i-default";function k(r,l){let d;return l.length===0?d=r:d=r.replace(/\{(\d+)\}/g,(a,s)=>{const o=s[0],c=l[o];let f=a;return typeof c=="string"?f=c:(typeof c=="number"||typeof c=="boolean"||c===void 0||c===null)&&(f=String(c)),f}),w&&(d="\uFF3B"+d.replace(/[aouei]/g,"$&$&")+"\uFF3D"),d}function I(r,l){let d=r[l];return d||(d=r["*"],d)?d:null}function L(r){return r.charAt(r.length-1)==="/"?r:r+"/"}function b(r,l,d){return Se(this,void 0,void 0,function*(){const a=L(r)+L(l)+"vscode/"+L(d),s=yield fetch(a);if(s.ok)return yield s.json();throw new Error(`${s.status} - ${s.statusText}`)})}function v(r){return function(l,d){const a=Array.prototype.slice.call(arguments,2);return k(r[l],a)}}function u(r,l,...d){return k(l,d)}e.localize=u;function g(r){}e.getConfiguredDefaultLocale=g;function n(r){w=r}e.setPseudoTranslation=n;function i(r,l){var d;return{localize:v(l[r]),getConfiguredDefaultLocale:(d=l.getConfiguredDefaultLocale)!==null&&d!==void 0?d:a=>{}}}e.create=i;function t(r,l,d,a){var s;const o=(s=a["vs/nls"])!==null&&s!==void 0?s:{};if(!r||r.length===0)return d({localize:u,getConfiguredDefaultLocale:()=>{var m;return(m=o.availableLanguages)===null||m===void 0?void 0:m["*"]}});const c=o.availableLanguages?I(o.availableLanguages,r):null,f=c===null||c===C;let p=".nls";f||(p=p+"."+c);const _=m=>{Array.isArray(m)?m.localize=v(m):m.localize=v(m[r]),m.getConfiguredDefaultLocale=()=>{var h;return(h=o.availableLanguages)===null||h===void 0?void 0:h["*"]},d(m)};typeof o.loadBundle=="function"?o.loadBundle(r,c,(m,h)=>{m?l([r+".nls"],_):_(h)}):o.translationServiceUrl&&!f?(()=>Se(this,void 0,void 0,function*(){var m;try{const h=yield b(o.translationServiceUrl,c,r);return _(h)}catch(h){if(!c.includes("-"))return console.error(h),l([r+".nls"],_);try{const S=c.split("-")[0],y=yield b(o.translationServiceUrl,S,r);return(m=o.availableLanguages)!==null&&m!==void 0||(o.availableLanguages={}),o.availableLanguages["*"]=S,_(y)}catch(S){return console.error(S),l([r+".nls"],_)}}}))():l([r+p],_,m=>{if(p===".nls"){console.error("Failed trying to load default language strings",m);return}console.error(`Failed to load message bundle for language ${c}. Falling back to the default language:`,m),l([r+".nls"],_)})}e.load=t});/*! @license DOMPurify 2.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.1/LICENSE */function sn($){if(Array.isArray($)){for(var e=0,w=Array($.length);e<$.length;e++)w[e]=$[e];return w}else return Array.from($)}var rn=Object.hasOwnProperty,Ci=Object.setPrototypeOf,an=Object.isFrozen,ln=Object.getPrototypeOf,dn=Object.getOwnPropertyDescriptor,ut=Object.freeze,vt=Object.seal,cn=Object.create,vi=typeof Reflect!="undefined"&&Reflect,Wt=vi.apply,Yt=vi.construct;Wt||(Wt=function(e,w,C){return e.apply(w,C)}),ut||(ut=function(e){return e}),vt||(vt=function(e){return e}),Yt||(Yt=function(e,w){return new(Function.prototype.bind.apply(e,[null].concat(sn(w))))});var un=mt(Array.prototype.forEach),bi=mt(Array.prototype.pop),Mt=mt(Array.prototype.push),yt=mt(String.prototype.toLowerCase),_i=mt(String.prototype.match),Lt=mt(String.prototype.replace),hn=mt(String.prototype.indexOf),gn=mt(String.prototype.trim),bt=mt(RegExp.prototype.test),Si=fn(TypeError);function mt($){return function(e){for(var w=arguments.length,C=Array(w>1?w-1:0),k=1;k/gm),bn=vt(/^data-[\-\w.\u00B7-\uFFFF]/),_n=vt(/^aria-[\-\w]+$/),Sn=vt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),wn=vt(/^(?:\w+script|data):/i),Ln=vt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function($){return typeof $}:function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $};function Ct($){if(Array.isArray($)){for(var e=0,w=Array($.length);e<$.length;e++)w[e]=$[e];return w}else return Array.from($)}var yn=function(){return typeof window=="undefined"?null:window},En=function(e,w){if((typeof e=="undefined"?"undefined":At(e))!=="object"||typeof e.createPolicy!="function")return null;var C=null,k="data-tt-policy-suffix";w.currentScript&&w.currentScript.hasAttribute(k)&&(C=w.currentScript.getAttribute(k));var I="dompurify"+(C?"#"+C:"");try{return e.createPolicy(I,{createHTML:function(b){return b}})}catch{return console.warn("TrustedTypes policy "+I+" could not be created."),null}};function Ii(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yn(),e=function(Ne){return Ii(Ne)};if(e.version="2.3.1",e.removed=[],!$||!$.document||$.document.nodeType!==9)return e.isSupported=!1,e;var w=$.document,C=$.document,k=$.DocumentFragment,I=$.HTMLTemplateElement,L=$.Node,b=$.Element,v=$.NodeFilter,u=$.NamedNodeMap,g=u===void 0?$.NamedNodeMap||$.MozNamedAttrMap:u,n=$.Text,i=$.Comment,t=$.DOMParser,r=$.trustedTypes,l=b.prototype,d=xt(l,"cloneNode"),a=xt(l,"nextSibling"),s=xt(l,"childNodes"),o=xt(l,"parentNode");if(typeof I=="function"){var c=C.createElement("template");c.content&&c.content.ownerDocument&&(C=c.content.ownerDocument)}var f=En(r,w),p=f&&se?f.createHTML(""):"",_=C,m=_.implementation,h=_.createNodeIterator,S=_.createDocumentFragment,y=_.getElementsByTagName,E=w.importNode,N={};try{N=Et(C).documentMode?C.documentMode:{}}catch{}var T={};e.isSupported=typeof o=="function"&&m&&typeof m.createHTMLDocument!="undefined"&&N!==9;var R=Cn,F=vn,O=bn,D=_n,M=wn,P=Ln,B=Sn,W=null,V=Xe({},[].concat(Ct(wi),Ct(Qt),Ct(Xt),Ct(Jt),Ct(Li))),A=null,Q=Xe({},[].concat(Ct(yi),Ct(ei),Ct(Ei),Ct(zt))),J=null,H=null,q=!0,Z=!0,ie=!1,Y=!1,te=!1,de=!1,x=!1,oe=!1,ne=!1,j=!0,se=!1,z=!0,X=!0,G=!1,U={},K=null,ce=Xe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ee=null,ue=Xe({},["audio","video","img","source","image","track"]),fe=null,Ce=Xe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),we="http://www.w3.org/1998/Math/MathML",ye="http://www.w3.org/2000/svg",De="http://www.w3.org/1999/xhtml",Me=De,pe=!1,he=null,le=C.createElement("form"),ge=function(Ne){he&&he===Ne||((!Ne||(typeof Ne=="undefined"?"undefined":At(Ne))!=="object")&&(Ne={}),Ne=Et(Ne),W="ALLOWED_TAGS"in Ne?Xe({},Ne.ALLOWED_TAGS):V,A="ALLOWED_ATTR"in Ne?Xe({},Ne.ALLOWED_ATTR):Q,fe="ADD_URI_SAFE_ATTR"in Ne?Xe(Et(Ce),Ne.ADD_URI_SAFE_ATTR):Ce,ee="ADD_DATA_URI_TAGS"in Ne?Xe(Et(ue),Ne.ADD_DATA_URI_TAGS):ue,K="FORBID_CONTENTS"in Ne?Xe({},Ne.FORBID_CONTENTS):ce,J="FORBID_TAGS"in Ne?Xe({},Ne.FORBID_TAGS):{},H="FORBID_ATTR"in Ne?Xe({},Ne.FORBID_ATTR):{},U="USE_PROFILES"in Ne?Ne.USE_PROFILES:!1,q=Ne.ALLOW_ARIA_ATTR!==!1,Z=Ne.ALLOW_DATA_ATTR!==!1,ie=Ne.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=Ne.SAFE_FOR_TEMPLATES||!1,te=Ne.WHOLE_DOCUMENT||!1,oe=Ne.RETURN_DOM||!1,ne=Ne.RETURN_DOM_FRAGMENT||!1,j=Ne.RETURN_DOM_IMPORT!==!1,se=Ne.RETURN_TRUSTED_TYPE||!1,x=Ne.FORCE_BODY||!1,z=Ne.SANITIZE_DOM!==!1,X=Ne.KEEP_CONTENT!==!1,G=Ne.IN_PLACE||!1,B=Ne.ALLOWED_URI_REGEXP||B,Me=Ne.NAMESPACE||De,Y&&(Z=!1),ne&&(oe=!0),U&&(W=Xe({},[].concat(Ct(Li))),A=[],U.html===!0&&(Xe(W,wi),Xe(A,yi)),U.svg===!0&&(Xe(W,Qt),Xe(A,ei),Xe(A,zt)),U.svgFilters===!0&&(Xe(W,Xt),Xe(A,ei),Xe(A,zt)),U.mathMl===!0&&(Xe(W,Jt),Xe(A,Ei),Xe(A,zt))),Ne.ADD_TAGS&&(W===V&&(W=Et(W)),Xe(W,Ne.ADD_TAGS)),Ne.ADD_ATTR&&(A===Q&&(A=Et(A)),Xe(A,Ne.ADD_ATTR)),Ne.ADD_URI_SAFE_ATTR&&Xe(fe,Ne.ADD_URI_SAFE_ATTR),Ne.FORBID_CONTENTS&&(K===ce&&(K=Et(K)),Xe(K,Ne.FORBID_CONTENTS)),X&&(W["#text"]=!0),te&&Xe(W,["html","head","body"]),W.table&&(Xe(W,["tbody"]),delete J.tbody),ut&&ut(Ne),he=Ne)},_e=Xe({},["mi","mo","mn","ms","mtext"]),Le=Xe({},["foreignobject","desc","title","annotation-xml"]),Ie=Xe({},Qt);Xe(Ie,Xt),Xe(Ie,mn);var Ae=Xe({},Jt);Xe(Ae,pn);var Oe=function(Ne){var Fe=o(Ne);(!Fe||!Fe.tagName)&&(Fe={namespaceURI:De,tagName:"template"});var He=yt(Ne.tagName),Ve=yt(Fe.tagName);if(Ne.namespaceURI===ye)return Fe.namespaceURI===De?He==="svg":Fe.namespaceURI===we?He==="svg"&&(Ve==="annotation-xml"||_e[Ve]):Boolean(Ie[He]);if(Ne.namespaceURI===we)return Fe.namespaceURI===De?He==="math":Fe.namespaceURI===ye?He==="math"&&Le[Ve]:Boolean(Ae[He]);if(Ne.namespaceURI===De){if(Fe.namespaceURI===ye&&!Le[Ve]||Fe.namespaceURI===we&&!_e[Ve])return!1;var Je=Xe({},["title","style","font","a","script"]);return!Ae[He]&&(Je[He]||!Ie[He])}return!1},be=function(Ne){Mt(e.removed,{element:Ne});try{Ne.parentNode.removeChild(Ne)}catch{try{Ne.outerHTML=p}catch{Ne.remove()}}},ve=function(Ne,Fe){try{Mt(e.removed,{attribute:Fe.getAttributeNode(Ne),from:Fe})}catch{Mt(e.removed,{attribute:null,from:Fe})}if(Fe.removeAttribute(Ne),Ne==="is"&&!A[Ne])if(oe||ne)try{be(Fe)}catch{}else try{Fe.setAttribute(Ne,"")}catch{}},Ee=function(Ne){var Fe=void 0,He=void 0;if(x)Ne=" "+Ne;else{var Ve=_i(Ne,/^[\r\n\t ]+/);He=Ve&&Ve[0]}var Je=f?f.createHTML(Ne):Ne;if(Me===De)try{Fe=new t().parseFromString(Je,"text/html")}catch{}if(!Fe||!Fe.documentElement){Fe=m.createDocument(Me,"template",null);try{Fe.documentElement.innerHTML=pe?"":Je}catch{}}var Qe=Fe.body||Fe.documentElement;return Ne&&He&&Qe.insertBefore(C.createTextNode(He),Qe.childNodes[0]||null),Me===De?y.call(Fe,te?"html":"body")[0]:te?Fe.documentElement:Qe},Re=function(Ne){return h.call(Ne.ownerDocument||Ne,Ne,v.SHOW_ELEMENT|v.SHOW_COMMENT|v.SHOW_TEXT,null,!1)},Te=function(Ne){return Ne instanceof n||Ne instanceof i?!1:typeof Ne.nodeName!="string"||typeof Ne.textContent!="string"||typeof Ne.removeChild!="function"||!(Ne.attributes instanceof g)||typeof Ne.removeAttribute!="function"||typeof Ne.setAttribute!="function"||typeof Ne.namespaceURI!="string"||typeof Ne.insertBefore!="function"},Be=function(Ne){return(typeof L=="undefined"?"undefined":At(L))==="object"?Ne instanceof L:Ne&&(typeof Ne=="undefined"?"undefined":At(Ne))==="object"&&typeof Ne.nodeType=="number"&&typeof Ne.nodeName=="string"},xe=function(Ne,Fe,He){!T[Ne]||un(T[Ne],function(Ve){Ve.call(e,Fe,He,he)})},qe=function(Ne){var Fe=void 0;if(xe("beforeSanitizeElements",Ne,null),Te(Ne)||_i(Ne.nodeName,/[\u0080-\uFFFF]/))return be(Ne),!0;var He=yt(Ne.nodeName);if(xe("uponSanitizeElement",Ne,{tagName:He,allowedTags:W}),!Be(Ne.firstElementChild)&&(!Be(Ne.content)||!Be(Ne.content.firstElementChild))&&bt(/<[/\w]/g,Ne.innerHTML)&&bt(/<[/\w]/g,Ne.textContent)||He==="select"&&bt(/=0;--Ye)Ve.insertBefore(d(Je[Ye],!0),a(Ne))}return be(Ne),!0}return Ne instanceof b&&!Oe(Ne)||(He==="noscript"||He==="noembed")&&bt(/<\/no(script|embed)/i,Ne.innerHTML)?(be(Ne),!0):(Y&&Ne.nodeType===3&&(Fe=Ne.textContent,Fe=Lt(Fe,R," "),Fe=Lt(Fe,F," "),Ne.textContent!==Fe&&(Mt(e.removed,{element:Ne.cloneNode()}),Ne.textContent=Fe)),xe("afterSanitizeElements",Ne,null),!1)},Ze=function(Ne,Fe,He){if(z&&(Fe==="id"||Fe==="name")&&(He in C||He in le))return!1;if(!(Z&&!H[Fe]&&bt(O,Fe))){if(!(q&&bt(D,Fe))){if(!A[Fe]||H[Fe])return!1;if(!fe[Fe]){if(!bt(B,Lt(He,P,""))){if(!((Fe==="src"||Fe==="xlink:href"||Fe==="href")&&Ne!=="script"&&hn(He,"data:")===0&&ee[Ne])){if(!(ie&&!bt(M,Lt(He,P,"")))){if(He)return!1}}}}}}return!0},nt=function(Ne){var Fe=void 0,He=void 0,Ve=void 0,Je=void 0;xe("beforeSanitizeAttributes",Ne,null);var Qe=Ne.attributes;if(!!Qe){var Ye={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A};for(Je=Qe.length;Je--;){Fe=Qe[Je];var tt=Fe,$e=tt.name,je=tt.namespaceURI;if(He=gn(Fe.value),Ve=yt($e),Ye.attrName=Ve,Ye.attrValue=He,Ye.keepAttr=!0,Ye.forceKeepAttr=void 0,xe("uponSanitizeAttribute",Ne,Ye),He=Ye.attrValue,!Ye.forceKeepAttr&&(ve($e,Ne),!!Ye.keepAttr)){if(bt(/\/>/i,He)){ve($e,Ne);continue}Y&&(He=Lt(He,R," "),He=Lt(He,F," "));var Pe=Ne.nodeName.toLowerCase();if(!!Ze(Pe,Ve,He))try{je?Ne.setAttributeNS(je,$e,He):Ne.setAttribute($e,He),bi(e.removed)}catch{}}}xe("afterSanitizeAttributes",Ne,null)}},ot=function ze(Ne){var Fe=void 0,He=Re(Ne);for(xe("beforeSanitizeShadowDOM",Ne,null);Fe=He.nextNode();)xe("uponSanitizeShadowNode",Fe,null),!qe(Fe)&&(Fe.content instanceof k&&ze(Fe.content),nt(Fe));xe("afterSanitizeShadowDOM",Ne,null)};return e.sanitize=function(ze,Ne){var Fe=void 0,He=void 0,Ve=void 0,Je=void 0,Qe=void 0;if(pe=!ze,pe&&(ze=""),typeof ze!="string"&&!Be(ze)){if(typeof ze.toString!="function")throw Si("toString is not a function");if(ze=ze.toString(),typeof ze!="string")throw Si("dirty is not a string, aborting")}if(!e.isSupported){if(At($.toStaticHTML)==="object"||typeof $.toStaticHTML=="function"){if(typeof ze=="string")return $.toStaticHTML(ze);if(Be(ze))return $.toStaticHTML(ze.outerHTML)}return ze}if(de||ge(Ne),e.removed=[],typeof ze=="string"&&(G=!1),!G)if(ze instanceof L)Fe=Ee(""),He=Fe.ownerDocument.importNode(ze,!0),He.nodeType===1&&He.nodeName==="BODY"||He.nodeName==="HTML"?Fe=He:Fe.appendChild(He);else{if(!oe&&!Y&&!te&&ze.indexOf("<")===-1)return f&&se?f.createHTML(ze):ze;if(Fe=Ee(ze),!Fe)return oe?null:p}Fe&&x&&be(Fe.firstChild);for(var Ye=Re(G?ze:Fe);Ve=Ye.nextNode();)Ve.nodeType===3&&Ve===Je||qe(Ve)||(Ve.content instanceof k&&ot(Ve.content),nt(Ve),Je=Ve);if(Je=null,G)return ze;if(oe){if(ne)for(Qe=S.call(Fe.ownerDocument);Fe.firstChild;)Qe.appendChild(Fe.firstChild);else Qe=Fe;return j&&(Qe=E.call(w,Qe,!0)),Qe}var tt=te?Fe.outerHTML:Fe.innerHTML;return Y&&(tt=Lt(tt,R," "),tt=Lt(tt,F," ")),f&&se?f.createHTML(tt):tt},e.setConfig=function(ze){ge(ze),de=!0},e.clearConfig=function(){he=null,de=!1},e.isValidAttribute=function(ze,Ne,Fe){he||ge({});var He=yt(ze),Ve=yt(Ne);return Ze(He,Ve,Fe)},e.addHook=function(ze,Ne){typeof Ne=="function"&&(T[ze]=T[ze]||[],Mt(T[ze],Ne))},e.removeHook=function(ze){T[ze]&&bi(T[ze])},e.removeHooks=function(ze){T[ze]&&(T[ze]=[])},e.removeAllHooks=function(){T={}},e}var In=Ii();define("vs/base/browser/dompurify/dompurify",function(){return In}),define(re[33],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFastDomNode=e.FastDomNode=void 0;class w{constructor(L){this.domNode=L,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(L){const b=C(L);this._maxWidth!==b&&(this._maxWidth=b,this.domNode.style.maxWidth=this._maxWidth)}setWidth(L){const b=C(L);this._width!==b&&(this._width=b,this.domNode.style.width=this._width)}setHeight(L){const b=C(L);this._height!==b&&(this._height=b,this.domNode.style.height=this._height)}setTop(L){const b=C(L);this._top!==b&&(this._top=b,this.domNode.style.top=this._top)}setLeft(L){const b=C(L);this._left!==b&&(this._left=b,this.domNode.style.left=this._left)}setBottom(L){const b=C(L);this._bottom!==b&&(this._bottom=b,this.domNode.style.bottom=this._bottom)}setRight(L){const b=C(L);this._right!==b&&(this._right=b,this.domNode.style.right=this._right)}setFontFamily(L){this._fontFamily!==L&&(this._fontFamily=L,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(L){this._fontWeight!==L&&(this._fontWeight=L,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(L){const b=C(L);this._fontSize!==b&&(this._fontSize=b,this.domNode.style.fontSize=this._fontSize)}setFontStyle(L){this._fontStyle!==L&&(this._fontStyle=L,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(L){this._fontFeatureSettings!==L&&(this._fontFeatureSettings=L,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setTextDecoration(L){this._textDecoration!==L&&(this._textDecoration=L,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(L){const b=C(L);this._lineHeight!==b&&(this._lineHeight=b,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(L){const b=C(L);this._letterSpacing!==b&&(this._letterSpacing=b,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(L){this._className!==L&&(this._className=L,this.domNode.className=this._className)}toggleClassName(L,b){this.domNode.classList.toggle(L,b),this._className=this.domNode.className}setDisplay(L){this._display!==L&&(this._display=L,this.domNode.style.display=this._display)}setPosition(L){this._position!==L&&(this._position=L,this.domNode.style.position=this._position)}setVisibility(L){this._visibility!==L&&(this._visibility=L,this.domNode.style.visibility=this._visibility)}setColor(L){this._color!==L&&(this._color=L,this.domNode.style.color=this._color)}setBackgroundColor(L){this._backgroundColor!==L&&(this._backgroundColor=L,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(L){this._layerHint!==L&&(this._layerHint=L,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(L){this._boxShadow!==L&&(this._boxShadow=L,this.domNode.style.boxShadow=L)}setContain(L){this._contain!==L&&(this._contain=L,this.domNode.style.contain=this._contain)}setAttribute(L,b){this.domNode.setAttribute(L,b)}removeAttribute(L){this.domNode.removeAttribute(L)}appendChild(L){this.domNode.appendChild(L.domNode)}removeChild(L){this.domNode.removeChild(L.domNode)}}e.FastDomNode=w;function C(I){return typeof I=="number"?`${I}px`:I}function k(I){return new w(I)}e.createFastDomNode=k}),define(re[324],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IframeUtils=void 0;let w=!1,C=null;function k(L){if(!L.parent||L.parent===L)return null;try{const b=L.location,v=L.parent.location;if(b.origin!=="null"&&v.origin!=="null"&&b.origin!==v.origin)return w=!0,null}catch{return w=!0,null}return L.parent}class I{static getSameOriginWindowChain(){if(!C){C=[];let b=window,v;do v=k(b),v?C.push({window:b,iframeElement:b.frameElement||null}):C.push({window:b,iframeElement:null}),b=v;while(b)}return C.slice(0)}static getPositionOfChildWindowRelativeToAncestorWindow(b,v){if(!v||b===v)return{top:0,left:0};let u=0,g=0;const n=this.getSameOriginWindowChain();for(const i of n){if(u+=i.window.scrollY,g+=i.window.scrollX,i.window===v||!i.iframeElement)break;const t=i.iframeElement.getBoundingClientRect();u+=t.top,g+=t.left}return{top:u,left:g}}}e.IframeUtils=I}),define(re[325],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListError=void 0;class w extends Error{constructor(k,I){super(`ListError [${k}] ${I}`)}}e.ListError=w}),define(re[326],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CombinedSpliceable=void 0;class w{constructor(k){this.spliceables=k}splice(k,I,L){this.spliceables.forEach(b=>b.splice(k,I,L))}}e.CombinedSpliceable=w}),define(re[221],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarState=void 0;const w=20;class C{constructor(I,L,b,v,u,g){this._scrollbarSize=Math.round(L),this._oppositeScrollbarSize=Math.round(b),this._arrowSize=Math.round(I),this._visibleSize=v,this._scrollSize=u,this._scrollPosition=g,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new C(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(I){const L=Math.round(I);return this._visibleSize!==L?(this._visibleSize=L,this._refreshComputedValues(),!0):!1}setScrollSize(I){const L=Math.round(I);return this._scrollSize!==L?(this._scrollSize=L,this._refreshComputedValues(),!0):!1}setScrollPosition(I){const L=Math.round(I);return this._scrollPosition!==L?(this._scrollPosition=L,this._refreshComputedValues(),!0):!1}setScrollbarSize(I){this._scrollbarSize=Math.round(I)}setOppositeScrollbarSize(I){this._oppositeScrollbarSize=Math.round(I)}static _computeValues(I,L,b,v,u){const g=Math.max(0,b-I),n=Math.max(0,g-2*L),i=v>0&&v>b;if(!i)return{computedAvailableSize:Math.round(g),computedIsNeeded:i,computedSliderSize:Math.round(n),computedSliderRatio:0,computedSliderPosition:0};const t=Math.round(Math.max(w,Math.floor(b*n/v))),r=(n-t)/(v-b),l=u*r;return{computedAvailableSize:Math.round(g),computedIsNeeded:i,computedSliderSize:Math.round(t),computedSliderRatio:r,computedSliderPosition:Math.round(l)}}_refreshComputedValues(){const I=C._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=I.computedAvailableSize,this._computedIsNeeded=I.computedIsNeeded,this._computedSliderSize=I.computedSliderSize,this._computedSliderRatio=I.computedSliderRatio,this._computedSliderPosition=I.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(I){if(!this._computedIsNeeded)return 0;const L=I-this._arrowSize-this._computedSliderSize/2;return Math.round(L/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(I){if(!this._computedIsNeeded)return 0;const L=I-this._arrowSize;let b=this._scrollPosition;return LB===W){if(D===M)return!0;if(!D||!M||D.length!==M.length)return!1;for(let B=0,W=D.length;BP(D[B],M))}e.binarySearch=L;function b(D,M){let P=0,B=D-1;for(;P<=B;){const W=(P+B)/2|0,V=M(W);if(V<0)P=W+1;else if(V>0)B=W-1;else return W}return-(P+1)}e.binarySearch2=b;function v(D,M){let P=0,B=D.length;if(B===0)return 0;for(;P=M.length)throw new TypeError("invalid index");const B=M[Math.floor(M.length*Math.random())],W=[],V=[],A=[];for(const Q of M){const J=P(Q,B);J<0?W.push(Q):J>0?V.push(Q):A.push(Q)}return D!!M)}e.coalesce=n;function i(D){return!Array.isArray(D)||D.length===0}e.isFalsyOrEmpty=i;function t(D){return Array.isArray(D)&&D.length>0}e.isNonEmptyArray=t;function r(D,M=P=>P){const P=new Set;return D.filter(B=>{const W=M(B);return P.has(W)?!1:(P.add(W),!0)})}e.distinct=r;function l(D,M){const P=d(D,M);if(P!==-1)return D[P]}e.findLast=l;function d(D,M){for(let P=D.length-1;P>=0;P--){const B=D[P];if(M(B))return P}return-1}e.lastIndex=d;function a(D,M){return D.length>0?D[0]:M}e.firstOrDefault=a;function s(D,M){let P=typeof M=="number"?D:0;typeof M=="number"?P=D:(P=0,M=D);const B=[];if(P<=M)for(let W=P;WM;W--)B.push(W);return B}e.range=s;function o(D,M,P){const B=D.slice(0,M),W=D.slice(M);return B.concat(P,W)}e.arrayInsert=o;function c(D,M){const P=D.indexOf(M);P>-1&&(D.splice(P,1),D.unshift(M))}e.pushToStart=c;function f(D,M){const P=D.indexOf(M);P>-1&&(D.splice(P,1),D.push(M))}e.pushToEnd=f;function p(D,M){for(const P of M)D.push(P)}e.pushMany=p;function _(D){return Array.isArray(D)?D:[D]}e.asArray=_;function m(D,M,P){const B=S(D,M),W=D.length,V=P.length;D.length=W+V;for(let A=W-1;A>=B;A--)D[A+V]=D[A];for(let A=0;A0}D.isGreaterThan=P;function B(W){return W===0}D.isNeitherLessOrGreaterThan=B,D.greaterThan=1,D.lessThan=-1,D.neitherLessOrGreaterThan=0})(y=e.CompareResult||(e.CompareResult={}));function E(D,M){return(P,B)=>M(D(P),D(B))}e.compareBy=E;const N=(D,M)=>D-M;e.numberComparator=N;function T(D,M){if(D.length===0)return;let P=D[0];for(let B=1;B0&&(P=W)}return P}e.findMaxBy=T;function R(D,M){if(D.length===0)return;let P=D[0];for(let B=1;B=0&&(P=W)}return P}e.findLastMaxBy=R;function F(D,M){return T(D,(P,B)=>-M(P,B))}e.findMinBy=F;class O{constructor(M){this.items=M,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(M){let P=this.firstIdx;for(;P=0&&M(this.items[P]);)P--;const B=P===this.lastIdx?null:this.items.slice(P+1,this.lastIdx+1);return this.lastIdx=P,B}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const M=this.items[this.firstIdx];return this.firstIdx++,M}takeCount(M){const P=this.items.slice(this.firstIdx,this.firstIdx+M);return this.firstIdx+=M,P}}e.ArrayQueue=O}),define(re[177],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ok=void 0;function w(C,k){if(!C)throw new Error(k?`Assertion failed (${k})`:"Assertion Failed")}e.ok=w}),define(re[122],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.writeUInt8=e.readUInt8=e.writeUInt32BE=e.readUInt32BE=e.writeUInt16LE=e.readUInt16LE=e.VSBuffer=void 0;const w=typeof Buffer!="undefined";let C;class k{constructor(i){this.buffer=i,this.byteLength=this.buffer.byteLength}static wrap(i){return w&&!Buffer.isBuffer(i)&&(i=Buffer.from(i.buffer,i.byteOffset,i.byteLength)),new k(i)}toString(){return w?this.buffer.toString():(C||(C=new TextDecoder),C.decode(this.buffer))}}e.VSBuffer=k;function I(n,i){return n[i+0]<<0>>>0|n[i+1]<<8>>>0}e.readUInt16LE=I;function L(n,i,t){n[t+0]=i&255,i=i>>>8,n[t+1]=i&255}e.writeUInt16LE=L;function b(n,i){return n[i]*Math.pow(2,24)+n[i+1]*Math.pow(2,16)+n[i+2]*Math.pow(2,8)+n[i+3]}e.readUInt32BE=b;function v(n,i,t){n[t+3]=i,i=i>>>8,n[t+2]=i,i=i>>>8,n[t+1]=i,i=i>>>8,n[t]=i}e.writeUInt32BE=v;function u(n,i){return n[i]}e.readUInt8=u;function g(n,i,t){n[t]=i}e.writeUInt8=g}),define(re[222],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CachedFunction=e.LRUCachedFunction=void 0;class w{constructor(I){this.fn=I,this.lastCache=void 0,this.lastArgKey=void 0}get(I){const L=JSON.stringify(I);return this.lastArgKey!==L&&(this.lastArgKey=L,this.lastCache=this.fn(I)),this.lastCache}}e.LRUCachedFunction=w;class C{constructor(I){this.fn=I,this._map=new Map}get cachedValues(){return this._map}get(I){if(this._map.has(I))return this._map.get(I);const L=this.fn(I);return this._map.set(I,L),L}}e.CachedFunction=C}),define(re[27],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CSSIcon=e.Codicon=e.getCodiconAriaLabel=void 0;function w(I){return I?I.replace(/\$\((.*?)\)/g,(L,b)=>` ${b} `).trim():""}e.getCodiconAriaLabel=w;class C{constructor(L,b,v){this.id=L,this.definition=b,this.description=v,C._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return C._allCodicons}}e.Codicon=C,C._allCodicons=[],C.add=new C("add",{fontCharacter:"\\ea60"}),C.plus=new C("plus",C.add.definition),C.gistNew=new C("gist-new",C.add.definition),C.repoCreate=new C("repo-create",C.add.definition),C.lightbulb=new C("lightbulb",{fontCharacter:"\\ea61"}),C.lightBulb=new C("light-bulb",{fontCharacter:"\\ea61"}),C.repo=new C("repo",{fontCharacter:"\\ea62"}),C.repoDelete=new C("repo-delete",{fontCharacter:"\\ea62"}),C.gistFork=new C("gist-fork",{fontCharacter:"\\ea63"}),C.repoForked=new C("repo-forked",{fontCharacter:"\\ea63"}),C.gitPullRequest=new C("git-pull-request",{fontCharacter:"\\ea64"}),C.gitPullRequestAbandoned=new C("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),C.recordKeys=new C("record-keys",{fontCharacter:"\\ea65"}),C.keyboard=new C("keyboard",{fontCharacter:"\\ea65"}),C.tag=new C("tag",{fontCharacter:"\\ea66"}),C.tagAdd=new C("tag-add",{fontCharacter:"\\ea66"}),C.tagRemove=new C("tag-remove",{fontCharacter:"\\ea66"}),C.person=new C("person",{fontCharacter:"\\ea67"}),C.personFollow=new C("person-follow",{fontCharacter:"\\ea67"}),C.personOutline=new C("person-outline",{fontCharacter:"\\ea67"}),C.personFilled=new C("person-filled",{fontCharacter:"\\ea67"}),C.gitBranch=new C("git-branch",{fontCharacter:"\\ea68"}),C.gitBranchCreate=new C("git-branch-create",{fontCharacter:"\\ea68"}),C.gitBranchDelete=new C("git-branch-delete",{fontCharacter:"\\ea68"}),C.sourceControl=new C("source-control",{fontCharacter:"\\ea68"}),C.mirror=new C("mirror",{fontCharacter:"\\ea69"}),C.mirrorPublic=new C("mirror-public",{fontCharacter:"\\ea69"}),C.star=new C("star",{fontCharacter:"\\ea6a"}),C.starAdd=new C("star-add",{fontCharacter:"\\ea6a"}),C.starDelete=new C("star-delete",{fontCharacter:"\\ea6a"}),C.starEmpty=new C("star-empty",{fontCharacter:"\\ea6a"}),C.comment=new C("comment",{fontCharacter:"\\ea6b"}),C.commentAdd=new C("comment-add",{fontCharacter:"\\ea6b"}),C.alert=new C("alert",{fontCharacter:"\\ea6c"}),C.warning=new C("warning",{fontCharacter:"\\ea6c"}),C.search=new C("search",{fontCharacter:"\\ea6d"}),C.searchSave=new C("search-save",{fontCharacter:"\\ea6d"}),C.logOut=new C("log-out",{fontCharacter:"\\ea6e"}),C.signOut=new C("sign-out",{fontCharacter:"\\ea6e"}),C.logIn=new C("log-in",{fontCharacter:"\\ea6f"}),C.signIn=new C("sign-in",{fontCharacter:"\\ea6f"}),C.eye=new C("eye",{fontCharacter:"\\ea70"}),C.eyeUnwatch=new C("eye-unwatch",{fontCharacter:"\\ea70"}),C.eyeWatch=new C("eye-watch",{fontCharacter:"\\ea70"}),C.circleFilled=new C("circle-filled",{fontCharacter:"\\ea71"}),C.primitiveDot=new C("primitive-dot",{fontCharacter:"\\ea71"}),C.closeDirty=new C("close-dirty",{fontCharacter:"\\ea71"}),C.debugBreakpoint=new C("debug-breakpoint",{fontCharacter:"\\ea71"}),C.debugBreakpointDisabled=new C("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),C.debugHint=new C("debug-hint",{fontCharacter:"\\ea71"}),C.primitiveSquare=new C("primitive-square",{fontCharacter:"\\ea72"}),C.edit=new C("edit",{fontCharacter:"\\ea73"}),C.pencil=new C("pencil",{fontCharacter:"\\ea73"}),C.info=new C("info",{fontCharacter:"\\ea74"}),C.issueOpened=new C("issue-opened",{fontCharacter:"\\ea74"}),C.gistPrivate=new C("gist-private",{fontCharacter:"\\ea75"}),C.gitForkPrivate=new C("git-fork-private",{fontCharacter:"\\ea75"}),C.lock=new C("lock",{fontCharacter:"\\ea75"}),C.mirrorPrivate=new C("mirror-private",{fontCharacter:"\\ea75"}),C.close=new C("close",{fontCharacter:"\\ea76"}),C.removeClose=new C("remove-close",{fontCharacter:"\\ea76"}),C.x=new C("x",{fontCharacter:"\\ea76"}),C.repoSync=new C("repo-sync",{fontCharacter:"\\ea77"}),C.sync=new C("sync",{fontCharacter:"\\ea77"}),C.clone=new C("clone",{fontCharacter:"\\ea78"}),C.desktopDownload=new C("desktop-download",{fontCharacter:"\\ea78"}),C.beaker=new C("beaker",{fontCharacter:"\\ea79"}),C.microscope=new C("microscope",{fontCharacter:"\\ea79"}),C.vm=new C("vm",{fontCharacter:"\\ea7a"}),C.deviceDesktop=new C("device-desktop",{fontCharacter:"\\ea7a"}),C.file=new C("file",{fontCharacter:"\\ea7b"}),C.fileText=new C("file-text",{fontCharacter:"\\ea7b"}),C.more=new C("more",{fontCharacter:"\\ea7c"}),C.ellipsis=new C("ellipsis",{fontCharacter:"\\ea7c"}),C.kebabHorizontal=new C("kebab-horizontal",{fontCharacter:"\\ea7c"}),C.mailReply=new C("mail-reply",{fontCharacter:"\\ea7d"}),C.reply=new C("reply",{fontCharacter:"\\ea7d"}),C.organization=new C("organization",{fontCharacter:"\\ea7e"}),C.organizationFilled=new C("organization-filled",{fontCharacter:"\\ea7e"}),C.organizationOutline=new C("organization-outline",{fontCharacter:"\\ea7e"}),C.newFile=new C("new-file",{fontCharacter:"\\ea7f"}),C.fileAdd=new C("file-add",{fontCharacter:"\\ea7f"}),C.newFolder=new C("new-folder",{fontCharacter:"\\ea80"}),C.fileDirectoryCreate=new C("file-directory-create",{fontCharacter:"\\ea80"}),C.trash=new C("trash",{fontCharacter:"\\ea81"}),C.trashcan=new C("trashcan",{fontCharacter:"\\ea81"}),C.history=new C("history",{fontCharacter:"\\ea82"}),C.clock=new C("clock",{fontCharacter:"\\ea82"}),C.folder=new C("folder",{fontCharacter:"\\ea83"}),C.fileDirectory=new C("file-directory",{fontCharacter:"\\ea83"}),C.symbolFolder=new C("symbol-folder",{fontCharacter:"\\ea83"}),C.logoGithub=new C("logo-github",{fontCharacter:"\\ea84"}),C.markGithub=new C("mark-github",{fontCharacter:"\\ea84"}),C.github=new C("github",{fontCharacter:"\\ea84"}),C.terminal=new C("terminal",{fontCharacter:"\\ea85"}),C.console=new C("console",{fontCharacter:"\\ea85"}),C.repl=new C("repl",{fontCharacter:"\\ea85"}),C.zap=new C("zap",{fontCharacter:"\\ea86"}),C.symbolEvent=new C("symbol-event",{fontCharacter:"\\ea86"}),C.error=new C("error",{fontCharacter:"\\ea87"}),C.stop=new C("stop",{fontCharacter:"\\ea87"}),C.variable=new C("variable",{fontCharacter:"\\ea88"}),C.symbolVariable=new C("symbol-variable",{fontCharacter:"\\ea88"}),C.array=new C("array",{fontCharacter:"\\ea8a"}),C.symbolArray=new C("symbol-array",{fontCharacter:"\\ea8a"}),C.symbolModule=new C("symbol-module",{fontCharacter:"\\ea8b"}),C.symbolPackage=new C("symbol-package",{fontCharacter:"\\ea8b"}),C.symbolNamespace=new C("symbol-namespace",{fontCharacter:"\\ea8b"}),C.symbolObject=new C("symbol-object",{fontCharacter:"\\ea8b"}),C.symbolMethod=new C("symbol-method",{fontCharacter:"\\ea8c"}),C.symbolFunction=new C("symbol-function",{fontCharacter:"\\ea8c"}),C.symbolConstructor=new C("symbol-constructor",{fontCharacter:"\\ea8c"}),C.symbolBoolean=new C("symbol-boolean",{fontCharacter:"\\ea8f"}),C.symbolNull=new C("symbol-null",{fontCharacter:"\\ea8f"}),C.symbolNumeric=new C("symbol-numeric",{fontCharacter:"\\ea90"}),C.symbolNumber=new C("symbol-number",{fontCharacter:"\\ea90"}),C.symbolStructure=new C("symbol-structure",{fontCharacter:"\\ea91"}),C.symbolStruct=new C("symbol-struct",{fontCharacter:"\\ea91"}),C.symbolParameter=new C("symbol-parameter",{fontCharacter:"\\ea92"}),C.symbolTypeParameter=new C("symbol-type-parameter",{fontCharacter:"\\ea92"}),C.symbolKey=new C("symbol-key",{fontCharacter:"\\ea93"}),C.symbolText=new C("symbol-text",{fontCharacter:"\\ea93"}),C.symbolReference=new C("symbol-reference",{fontCharacter:"\\ea94"}),C.goToFile=new C("go-to-file",{fontCharacter:"\\ea94"}),C.symbolEnum=new C("symbol-enum",{fontCharacter:"\\ea95"}),C.symbolValue=new C("symbol-value",{fontCharacter:"\\ea95"}),C.symbolRuler=new C("symbol-ruler",{fontCharacter:"\\ea96"}),C.symbolUnit=new C("symbol-unit",{fontCharacter:"\\ea96"}),C.activateBreakpoints=new C("activate-breakpoints",{fontCharacter:"\\ea97"}),C.archive=new C("archive",{fontCharacter:"\\ea98"}),C.arrowBoth=new C("arrow-both",{fontCharacter:"\\ea99"}),C.arrowDown=new C("arrow-down",{fontCharacter:"\\ea9a"}),C.arrowLeft=new C("arrow-left",{fontCharacter:"\\ea9b"}),C.arrowRight=new C("arrow-right",{fontCharacter:"\\ea9c"}),C.arrowSmallDown=new C("arrow-small-down",{fontCharacter:"\\ea9d"}),C.arrowSmallLeft=new C("arrow-small-left",{fontCharacter:"\\ea9e"}),C.arrowSmallRight=new C("arrow-small-right",{fontCharacter:"\\ea9f"}),C.arrowSmallUp=new C("arrow-small-up",{fontCharacter:"\\eaa0"}),C.arrowUp=new C("arrow-up",{fontCharacter:"\\eaa1"}),C.bell=new C("bell",{fontCharacter:"\\eaa2"}),C.bold=new C("bold",{fontCharacter:"\\eaa3"}),C.book=new C("book",{fontCharacter:"\\eaa4"}),C.bookmark=new C("bookmark",{fontCharacter:"\\eaa5"}),C.debugBreakpointConditionalUnverified=new C("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),C.debugBreakpointConditional=new C("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),C.debugBreakpointConditionalDisabled=new C("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),C.debugBreakpointDataUnverified=new C("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),C.debugBreakpointData=new C("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),C.debugBreakpointDataDisabled=new C("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),C.debugBreakpointLogUnverified=new C("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),C.debugBreakpointLog=new C("debug-breakpoint-log",{fontCharacter:"\\eaab"}),C.debugBreakpointLogDisabled=new C("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),C.briefcase=new C("briefcase",{fontCharacter:"\\eaac"}),C.broadcast=new C("broadcast",{fontCharacter:"\\eaad"}),C.browser=new C("browser",{fontCharacter:"\\eaae"}),C.bug=new C("bug",{fontCharacter:"\\eaaf"}),C.calendar=new C("calendar",{fontCharacter:"\\eab0"}),C.caseSensitive=new C("case-sensitive",{fontCharacter:"\\eab1"}),C.check=new C("check",{fontCharacter:"\\eab2"}),C.checklist=new C("checklist",{fontCharacter:"\\eab3"}),C.chevronDown=new C("chevron-down",{fontCharacter:"\\eab4"}),C.dropDownButton=new C("drop-down-button",C.chevronDown.definition),C.chevronLeft=new C("chevron-left",{fontCharacter:"\\eab5"}),C.chevronRight=new C("chevron-right",{fontCharacter:"\\eab6"}),C.chevronUp=new C("chevron-up",{fontCharacter:"\\eab7"}),C.chromeClose=new C("chrome-close",{fontCharacter:"\\eab8"}),C.chromeMaximize=new C("chrome-maximize",{fontCharacter:"\\eab9"}),C.chromeMinimize=new C("chrome-minimize",{fontCharacter:"\\eaba"}),C.chromeRestore=new C("chrome-restore",{fontCharacter:"\\eabb"}),C.circleOutline=new C("circle-outline",{fontCharacter:"\\eabc"}),C.debugBreakpointUnverified=new C("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),C.circleSlash=new C("circle-slash",{fontCharacter:"\\eabd"}),C.circuitBoard=new C("circuit-board",{fontCharacter:"\\eabe"}),C.clearAll=new C("clear-all",{fontCharacter:"\\eabf"}),C.clippy=new C("clippy",{fontCharacter:"\\eac0"}),C.closeAll=new C("close-all",{fontCharacter:"\\eac1"}),C.cloudDownload=new C("cloud-download",{fontCharacter:"\\eac2"}),C.cloudUpload=new C("cloud-upload",{fontCharacter:"\\eac3"}),C.code=new C("code",{fontCharacter:"\\eac4"}),C.collapseAll=new C("collapse-all",{fontCharacter:"\\eac5"}),C.colorMode=new C("color-mode",{fontCharacter:"\\eac6"}),C.commentDiscussion=new C("comment-discussion",{fontCharacter:"\\eac7"}),C.compareChanges=new C("compare-changes",{fontCharacter:"\\eafd"}),C.creditCard=new C("credit-card",{fontCharacter:"\\eac9"}),C.dash=new C("dash",{fontCharacter:"\\eacc"}),C.dashboard=new C("dashboard",{fontCharacter:"\\eacd"}),C.database=new C("database",{fontCharacter:"\\eace"}),C.debugContinue=new C("debug-continue",{fontCharacter:"\\eacf"}),C.debugDisconnect=new C("debug-disconnect",{fontCharacter:"\\ead0"}),C.debugPause=new C("debug-pause",{fontCharacter:"\\ead1"}),C.debugRestart=new C("debug-restart",{fontCharacter:"\\ead2"}),C.debugStart=new C("debug-start",{fontCharacter:"\\ead3"}),C.debugStepInto=new C("debug-step-into",{fontCharacter:"\\ead4"}),C.debugStepOut=new C("debug-step-out",{fontCharacter:"\\ead5"}),C.debugStepOver=new C("debug-step-over",{fontCharacter:"\\ead6"}),C.debugStop=new C("debug-stop",{fontCharacter:"\\ead7"}),C.debug=new C("debug",{fontCharacter:"\\ead8"}),C.deviceCameraVideo=new C("device-camera-video",{fontCharacter:"\\ead9"}),C.deviceCamera=new C("device-camera",{fontCharacter:"\\eada"}),C.deviceMobile=new C("device-mobile",{fontCharacter:"\\eadb"}),C.diffAdded=new C("diff-added",{fontCharacter:"\\eadc"}),C.diffIgnored=new C("diff-ignored",{fontCharacter:"\\eadd"}),C.diffModified=new C("diff-modified",{fontCharacter:"\\eade"}),C.diffRemoved=new C("diff-removed",{fontCharacter:"\\eadf"}),C.diffRenamed=new C("diff-renamed",{fontCharacter:"\\eae0"}),C.diff=new C("diff",{fontCharacter:"\\eae1"}),C.discard=new C("discard",{fontCharacter:"\\eae2"}),C.editorLayout=new C("editor-layout",{fontCharacter:"\\eae3"}),C.emptyWindow=new C("empty-window",{fontCharacter:"\\eae4"}),C.exclude=new C("exclude",{fontCharacter:"\\eae5"}),C.extensions=new C("extensions",{fontCharacter:"\\eae6"}),C.eyeClosed=new C("eye-closed",{fontCharacter:"\\eae7"}),C.fileBinary=new C("file-binary",{fontCharacter:"\\eae8"}),C.fileCode=new C("file-code",{fontCharacter:"\\eae9"}),C.fileMedia=new C("file-media",{fontCharacter:"\\eaea"}),C.filePdf=new C("file-pdf",{fontCharacter:"\\eaeb"}),C.fileSubmodule=new C("file-submodule",{fontCharacter:"\\eaec"}),C.fileSymlinkDirectory=new C("file-symlink-directory",{fontCharacter:"\\eaed"}),C.fileSymlinkFile=new C("file-symlink-file",{fontCharacter:"\\eaee"}),C.fileZip=new C("file-zip",{fontCharacter:"\\eaef"}),C.files=new C("files",{fontCharacter:"\\eaf0"}),C.filter=new C("filter",{fontCharacter:"\\eaf1"}),C.flame=new C("flame",{fontCharacter:"\\eaf2"}),C.foldDown=new C("fold-down",{fontCharacter:"\\eaf3"}),C.foldUp=new C("fold-up",{fontCharacter:"\\eaf4"}),C.fold=new C("fold",{fontCharacter:"\\eaf5"}),C.folderActive=new C("folder-active",{fontCharacter:"\\eaf6"}),C.folderOpened=new C("folder-opened",{fontCharacter:"\\eaf7"}),C.gear=new C("gear",{fontCharacter:"\\eaf8"}),C.gift=new C("gift",{fontCharacter:"\\eaf9"}),C.gistSecret=new C("gist-secret",{fontCharacter:"\\eafa"}),C.gist=new C("gist",{fontCharacter:"\\eafb"}),C.gitCommit=new C("git-commit",{fontCharacter:"\\eafc"}),C.gitCompare=new C("git-compare",{fontCharacter:"\\eafd"}),C.gitMerge=new C("git-merge",{fontCharacter:"\\eafe"}),C.githubAction=new C("github-action",{fontCharacter:"\\eaff"}),C.githubAlt=new C("github-alt",{fontCharacter:"\\eb00"}),C.globe=new C("globe",{fontCharacter:"\\eb01"}),C.grabber=new C("grabber",{fontCharacter:"\\eb02"}),C.graph=new C("graph",{fontCharacter:"\\eb03"}),C.gripper=new C("gripper",{fontCharacter:"\\eb04"}),C.heart=new C("heart",{fontCharacter:"\\eb05"}),C.home=new C("home",{fontCharacter:"\\eb06"}),C.horizontalRule=new C("horizontal-rule",{fontCharacter:"\\eb07"}),C.hubot=new C("hubot",{fontCharacter:"\\eb08"}),C.inbox=new C("inbox",{fontCharacter:"\\eb09"}),C.issueClosed=new C("issue-closed",{fontCharacter:"\\eba4"}),C.issueReopened=new C("issue-reopened",{fontCharacter:"\\eb0b"}),C.issues=new C("issues",{fontCharacter:"\\eb0c"}),C.italic=new C("italic",{fontCharacter:"\\eb0d"}),C.jersey=new C("jersey",{fontCharacter:"\\eb0e"}),C.json=new C("json",{fontCharacter:"\\eb0f"}),C.kebabVertical=new C("kebab-vertical",{fontCharacter:"\\eb10"}),C.key=new C("key",{fontCharacter:"\\eb11"}),C.law=new C("law",{fontCharacter:"\\eb12"}),C.lightbulbAutofix=new C("lightbulb-autofix",{fontCharacter:"\\eb13"}),C.linkExternal=new C("link-external",{fontCharacter:"\\eb14"}),C.link=new C("link",{fontCharacter:"\\eb15"}),C.listOrdered=new C("list-ordered",{fontCharacter:"\\eb16"}),C.listUnordered=new C("list-unordered",{fontCharacter:"\\eb17"}),C.liveShare=new C("live-share",{fontCharacter:"\\eb18"}),C.loading=new C("loading",{fontCharacter:"\\eb19"}),C.location=new C("location",{fontCharacter:"\\eb1a"}),C.mailRead=new C("mail-read",{fontCharacter:"\\eb1b"}),C.mail=new C("mail",{fontCharacter:"\\eb1c"}),C.markdown=new C("markdown",{fontCharacter:"\\eb1d"}),C.megaphone=new C("megaphone",{fontCharacter:"\\eb1e"}),C.mention=new C("mention",{fontCharacter:"\\eb1f"}),C.milestone=new C("milestone",{fontCharacter:"\\eb20"}),C.mortarBoard=new C("mortar-board",{fontCharacter:"\\eb21"}),C.move=new C("move",{fontCharacter:"\\eb22"}),C.multipleWindows=new C("multiple-windows",{fontCharacter:"\\eb23"}),C.mute=new C("mute",{fontCharacter:"\\eb24"}),C.noNewline=new C("no-newline",{fontCharacter:"\\eb25"}),C.note=new C("note",{fontCharacter:"\\eb26"}),C.octoface=new C("octoface",{fontCharacter:"\\eb27"}),C.openPreview=new C("open-preview",{fontCharacter:"\\eb28"}),C.package_=new C("package",{fontCharacter:"\\eb29"}),C.paintcan=new C("paintcan",{fontCharacter:"\\eb2a"}),C.pin=new C("pin",{fontCharacter:"\\eb2b"}),C.play=new C("play",{fontCharacter:"\\eb2c"}),C.run=new C("run",{fontCharacter:"\\eb2c"}),C.plug=new C("plug",{fontCharacter:"\\eb2d"}),C.preserveCase=new C("preserve-case",{fontCharacter:"\\eb2e"}),C.preview=new C("preview",{fontCharacter:"\\eb2f"}),C.project=new C("project",{fontCharacter:"\\eb30"}),C.pulse=new C("pulse",{fontCharacter:"\\eb31"}),C.question=new C("question",{fontCharacter:"\\eb32"}),C.quote=new C("quote",{fontCharacter:"\\eb33"}),C.radioTower=new C("radio-tower",{fontCharacter:"\\eb34"}),C.reactions=new C("reactions",{fontCharacter:"\\eb35"}),C.references=new C("references",{fontCharacter:"\\eb36"}),C.refresh=new C("refresh",{fontCharacter:"\\eb37"}),C.regex=new C("regex",{fontCharacter:"\\eb38"}),C.remoteExplorer=new C("remote-explorer",{fontCharacter:"\\eb39"}),C.remote=new C("remote",{fontCharacter:"\\eb3a"}),C.remove=new C("remove",{fontCharacter:"\\eb3b"}),C.replaceAll=new C("replace-all",{fontCharacter:"\\eb3c"}),C.replace=new C("replace",{fontCharacter:"\\eb3d"}),C.repoClone=new C("repo-clone",{fontCharacter:"\\eb3e"}),C.repoForcePush=new C("repo-force-push",{fontCharacter:"\\eb3f"}),C.repoPull=new C("repo-pull",{fontCharacter:"\\eb40"}),C.repoPush=new C("repo-push",{fontCharacter:"\\eb41"}),C.report=new C("report",{fontCharacter:"\\eb42"}),C.requestChanges=new C("request-changes",{fontCharacter:"\\eb43"}),C.rocket=new C("rocket",{fontCharacter:"\\eb44"}),C.rootFolderOpened=new C("root-folder-opened",{fontCharacter:"\\eb45"}),C.rootFolder=new C("root-folder",{fontCharacter:"\\eb46"}),C.rss=new C("rss",{fontCharacter:"\\eb47"}),C.ruby=new C("ruby",{fontCharacter:"\\eb48"}),C.saveAll=new C("save-all",{fontCharacter:"\\eb49"}),C.saveAs=new C("save-as",{fontCharacter:"\\eb4a"}),C.save=new C("save",{fontCharacter:"\\eb4b"}),C.screenFull=new C("screen-full",{fontCharacter:"\\eb4c"}),C.screenNormal=new C("screen-normal",{fontCharacter:"\\eb4d"}),C.searchStop=new C("search-stop",{fontCharacter:"\\eb4e"}),C.server=new C("server",{fontCharacter:"\\eb50"}),C.settingsGear=new C("settings-gear",{fontCharacter:"\\eb51"}),C.settings=new C("settings",{fontCharacter:"\\eb52"}),C.shield=new C("shield",{fontCharacter:"\\eb53"}),C.smiley=new C("smiley",{fontCharacter:"\\eb54"}),C.sortPrecedence=new C("sort-precedence",{fontCharacter:"\\eb55"}),C.splitHorizontal=new C("split-horizontal",{fontCharacter:"\\eb56"}),C.splitVertical=new C("split-vertical",{fontCharacter:"\\eb57"}),C.squirrel=new C("squirrel",{fontCharacter:"\\eb58"}),C.starFull=new C("star-full",{fontCharacter:"\\eb59"}),C.starHalf=new C("star-half",{fontCharacter:"\\eb5a"}),C.symbolClass=new C("symbol-class",{fontCharacter:"\\eb5b"}),C.symbolColor=new C("symbol-color",{fontCharacter:"\\eb5c"}),C.symbolCustomColor=new C("symbol-customcolor",{fontCharacter:"\\eb5c"}),C.symbolConstant=new C("symbol-constant",{fontCharacter:"\\eb5d"}),C.symbolEnumMember=new C("symbol-enum-member",{fontCharacter:"\\eb5e"}),C.symbolField=new C("symbol-field",{fontCharacter:"\\eb5f"}),C.symbolFile=new C("symbol-file",{fontCharacter:"\\eb60"}),C.symbolInterface=new C("symbol-interface",{fontCharacter:"\\eb61"}),C.symbolKeyword=new C("symbol-keyword",{fontCharacter:"\\eb62"}),C.symbolMisc=new C("symbol-misc",{fontCharacter:"\\eb63"}),C.symbolOperator=new C("symbol-operator",{fontCharacter:"\\eb64"}),C.symbolProperty=new C("symbol-property",{fontCharacter:"\\eb65"}),C.wrench=new C("wrench",{fontCharacter:"\\eb65"}),C.wrenchSubaction=new C("wrench-subaction",{fontCharacter:"\\eb65"}),C.symbolSnippet=new C("symbol-snippet",{fontCharacter:"\\eb66"}),C.tasklist=new C("tasklist",{fontCharacter:"\\eb67"}),C.telescope=new C("telescope",{fontCharacter:"\\eb68"}),C.textSize=new C("text-size",{fontCharacter:"\\eb69"}),C.threeBars=new C("three-bars",{fontCharacter:"\\eb6a"}),C.thumbsdown=new C("thumbsdown",{fontCharacter:"\\eb6b"}),C.thumbsup=new C("thumbsup",{fontCharacter:"\\eb6c"}),C.tools=new C("tools",{fontCharacter:"\\eb6d"}),C.triangleDown=new C("triangle-down",{fontCharacter:"\\eb6e"}),C.triangleLeft=new C("triangle-left",{fontCharacter:"\\eb6f"}),C.triangleRight=new C("triangle-right",{fontCharacter:"\\eb70"}),C.triangleUp=new C("triangle-up",{fontCharacter:"\\eb71"}),C.twitter=new C("twitter",{fontCharacter:"\\eb72"}),C.unfold=new C("unfold",{fontCharacter:"\\eb73"}),C.unlock=new C("unlock",{fontCharacter:"\\eb74"}),C.unmute=new C("unmute",{fontCharacter:"\\eb75"}),C.unverified=new C("unverified",{fontCharacter:"\\eb76"}),C.verified=new C("verified",{fontCharacter:"\\eb77"}),C.versions=new C("versions",{fontCharacter:"\\eb78"}),C.vmActive=new C("vm-active",{fontCharacter:"\\eb79"}),C.vmOutline=new C("vm-outline",{fontCharacter:"\\eb7a"}),C.vmRunning=new C("vm-running",{fontCharacter:"\\eb7b"}),C.watch=new C("watch",{fontCharacter:"\\eb7c"}),C.whitespace=new C("whitespace",{fontCharacter:"\\eb7d"}),C.wholeWord=new C("whole-word",{fontCharacter:"\\eb7e"}),C.window=new C("window",{fontCharacter:"\\eb7f"}),C.wordWrap=new C("word-wrap",{fontCharacter:"\\eb80"}),C.zoomIn=new C("zoom-in",{fontCharacter:"\\eb81"}),C.zoomOut=new C("zoom-out",{fontCharacter:"\\eb82"}),C.listFilter=new C("list-filter",{fontCharacter:"\\eb83"}),C.listFlat=new C("list-flat",{fontCharacter:"\\eb84"}),C.listSelection=new C("list-selection",{fontCharacter:"\\eb85"}),C.selection=new C("selection",{fontCharacter:"\\eb85"}),C.listTree=new C("list-tree",{fontCharacter:"\\eb86"}),C.debugBreakpointFunctionUnverified=new C("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),C.debugBreakpointFunction=new C("debug-breakpoint-function",{fontCharacter:"\\eb88"}),C.debugBreakpointFunctionDisabled=new C("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),C.debugStackframeActive=new C("debug-stackframe-active",{fontCharacter:"\\eb89"}),C.circleSmallFilled=new C("circle-small-filled",{fontCharacter:"\\eb8a"}),C.debugStackframeDot=new C("debug-stackframe-dot",C.circleSmallFilled.definition),C.debugStackframe=new C("debug-stackframe",{fontCharacter:"\\eb8b"}),C.debugStackframeFocused=new C("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),C.debugBreakpointUnsupported=new C("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),C.symbolString=new C("symbol-string",{fontCharacter:"\\eb8d"}),C.debugReverseContinue=new C("debug-reverse-continue",{fontCharacter:"\\eb8e"}),C.debugStepBack=new C("debug-step-back",{fontCharacter:"\\eb8f"}),C.debugRestartFrame=new C("debug-restart-frame",{fontCharacter:"\\eb90"}),C.callIncoming=new C("call-incoming",{fontCharacter:"\\eb92"}),C.callOutgoing=new C("call-outgoing",{fontCharacter:"\\eb93"}),C.menu=new C("menu",{fontCharacter:"\\eb94"}),C.expandAll=new C("expand-all",{fontCharacter:"\\eb95"}),C.feedback=new C("feedback",{fontCharacter:"\\eb96"}),C.groupByRefType=new C("group-by-ref-type",{fontCharacter:"\\eb97"}),C.ungroupByRefType=new C("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),C.account=new C("account",{fontCharacter:"\\eb99"}),C.bellDot=new C("bell-dot",{fontCharacter:"\\eb9a"}),C.debugConsole=new C("debug-console",{fontCharacter:"\\eb9b"}),C.library=new C("library",{fontCharacter:"\\eb9c"}),C.output=new C("output",{fontCharacter:"\\eb9d"}),C.runAll=new C("run-all",{fontCharacter:"\\eb9e"}),C.syncIgnored=new C("sync-ignored",{fontCharacter:"\\eb9f"}),C.pinned=new C("pinned",{fontCharacter:"\\eba0"}),C.githubInverted=new C("github-inverted",{fontCharacter:"\\eba1"}),C.debugAlt=new C("debug-alt",{fontCharacter:"\\eb91"}),C.serverProcess=new C("server-process",{fontCharacter:"\\eba2"}),C.serverEnvironment=new C("server-environment",{fontCharacter:"\\eba3"}),C.pass=new C("pass",{fontCharacter:"\\eba4"}),C.stopCircle=new C("stop-circle",{fontCharacter:"\\eba5"}),C.playCircle=new C("play-circle",{fontCharacter:"\\eba6"}),C.record=new C("record",{fontCharacter:"\\eba7"}),C.debugAltSmall=new C("debug-alt-small",{fontCharacter:"\\eba8"}),C.vmConnect=new C("vm-connect",{fontCharacter:"\\eba9"}),C.cloud=new C("cloud",{fontCharacter:"\\ebaa"}),C.merge=new C("merge",{fontCharacter:"\\ebab"}),C.exportIcon=new C("export",{fontCharacter:"\\ebac"}),C.graphLeft=new C("graph-left",{fontCharacter:"\\ebad"}),C.magnet=new C("magnet",{fontCharacter:"\\ebae"}),C.notebook=new C("notebook",{fontCharacter:"\\ebaf"}),C.redo=new C("redo",{fontCharacter:"\\ebb0"}),C.checkAll=new C("check-all",{fontCharacter:"\\ebb1"}),C.pinnedDirty=new C("pinned-dirty",{fontCharacter:"\\ebb2"}),C.passFilled=new C("pass-filled",{fontCharacter:"\\ebb3"}),C.circleLargeFilled=new C("circle-large-filled",{fontCharacter:"\\ebb4"}),C.circleLargeOutline=new C("circle-large-outline",{fontCharacter:"\\ebb5"}),C.combine=new C("combine",{fontCharacter:"\\ebb6"}),C.gather=new C("gather",{fontCharacter:"\\ebb6"}),C.table=new C("table",{fontCharacter:"\\ebb7"}),C.variableGroup=new C("variable-group",{fontCharacter:"\\ebb8"}),C.typeHierarchy=new C("type-hierarchy",{fontCharacter:"\\ebb9"}),C.typeHierarchySub=new C("type-hierarchy-sub",{fontCharacter:"\\ebba"}),C.typeHierarchySuper=new C("type-hierarchy-super",{fontCharacter:"\\ebbb"}),C.gitPullRequestCreate=new C("git-pull-request-create",{fontCharacter:"\\ebbc"}),C.runAbove=new C("run-above",{fontCharacter:"\\ebbd"}),C.runBelow=new C("run-below",{fontCharacter:"\\ebbe"}),C.notebookTemplate=new C("notebook-template",{fontCharacter:"\\ebbf"}),C.debugRerun=new C("debug-rerun",{fontCharacter:"\\ebc0"}),C.workspaceTrusted=new C("workspace-trusted",{fontCharacter:"\\ebc1"}),C.workspaceUntrusted=new C("workspace-untrusted",{fontCharacter:"\\ebc2"}),C.workspaceUnspecified=new C("workspace-unspecified",{fontCharacter:"\\ebc3"}),C.terminalCmd=new C("terminal-cmd",{fontCharacter:"\\ebc4"}),C.terminalDebian=new C("terminal-debian",{fontCharacter:"\\ebc5"}),C.terminalLinux=new C("terminal-linux",{fontCharacter:"\\ebc6"}),C.terminalPowershell=new C("terminal-powershell",{fontCharacter:"\\ebc7"}),C.terminalTmux=new C("terminal-tmux",{fontCharacter:"\\ebc8"}),C.terminalUbuntu=new C("terminal-ubuntu",{fontCharacter:"\\ebc9"}),C.terminalBash=new C("terminal-bash",{fontCharacter:"\\ebca"}),C.arrowSwap=new C("arrow-swap",{fontCharacter:"\\ebcb"}),C.copy=new C("copy",{fontCharacter:"\\ebcc"}),C.personAdd=new C("person-add",{fontCharacter:"\\ebcd"}),C.filterFilled=new C("filter-filled",{fontCharacter:"\\ebce"}),C.wand=new C("wand",{fontCharacter:"\\ebcf"}),C.debugLineByLine=new C("debug-line-by-line",{fontCharacter:"\\ebd0"}),C.inspect=new C("inspect",{fontCharacter:"\\ebd1"}),C.layers=new C("layers",{fontCharacter:"\\ebd2"}),C.layersDot=new C("layers-dot",{fontCharacter:"\\ebd3"}),C.layersActive=new C("layers-active",{fontCharacter:"\\ebd4"}),C.compass=new C("compass",{fontCharacter:"\\ebd5"}),C.compassDot=new C("compass-dot",{fontCharacter:"\\ebd6"}),C.compassActive=new C("compass-active",{fontCharacter:"\\ebd7"}),C.azure=new C("azure",{fontCharacter:"\\ebd8"}),C.issueDraft=new C("issue-draft",{fontCharacter:"\\ebd9"}),C.gitPullRequestClosed=new C("git-pull-request-closed",{fontCharacter:"\\ebda"}),C.gitPullRequestDraft=new C("git-pull-request-draft",{fontCharacter:"\\ebdb"}),C.debugAll=new C("debug-all",{fontCharacter:"\\ebdc"}),C.debugCoverage=new C("debug-coverage",{fontCharacter:"\\ebdd"}),C.runErrors=new C("run-errors",{fontCharacter:"\\ebde"}),C.folderLibrary=new C("folder-library",{fontCharacter:"\\ebdf"}),C.debugContinueSmall=new C("debug-continue-small",{fontCharacter:"\\ebe0"}),C.beakerStop=new C("beaker-stop",{fontCharacter:"\\ebe1"}),C.graphLine=new C("graph-line",{fontCharacter:"\\ebe2"}),C.graphScatter=new C("graph-scatter",{fontCharacter:"\\ebe3"}),C.pieChart=new C("pie-chart",{fontCharacter:"\\ebe4"}),C.bracket=new C("bracket",C.json.definition),C.bracketDot=new C("bracket-dot",{fontCharacter:"\\ebe5"}),C.bracketError=new C("bracket-error",{fontCharacter:"\\ebe6"}),C.lockSmall=new C("lock-small",{fontCharacter:"\\ebe7"}),C.azureDevops=new C("azure-devops",{fontCharacter:"\\ebe8"}),C.verifiedFilled=new C("verified-filled",{fontCharacter:"\\ebe9"}),C.newLine=new C("newline",{fontCharacter:"\\ebea"}),C.layout=new C("layout",{fontCharacter:"\\ebeb"}),C.layoutActivitybarLeft=new C("layout-activitybar-left",{fontCharacter:"\\ebec"}),C.layoutActivitybarRight=new C("layout-activitybar-right",{fontCharacter:"\\ebed"}),C.layoutPanelLeft=new C("layout-panel-left",{fontCharacter:"\\ebee"}),C.layoutPanelCenter=new C("layout-panel-center",{fontCharacter:"\\ebef"}),C.layoutPanelJustify=new C("layout-panel-justify",{fontCharacter:"\\ebf0"}),C.layoutPanelRight=new C("layout-panel-right",{fontCharacter:"\\ebf1"}),C.layoutPanel=new C("layout-panel",{fontCharacter:"\\ebf2"}),C.layoutSidebarLeft=new C("layout-sidebar-left",{fontCharacter:"\\ebf3"}),C.layoutSidebarRight=new C("layout-sidebar-right",{fontCharacter:"\\ebf4"}),C.layoutStatusbar=new C("layout-statusbar",{fontCharacter:"\\ebf5"}),C.layoutMenubar=new C("layout-menubar",{fontCharacter:"\\ebf6"}),C.layoutCentered=new C("layout-centered",{fontCharacter:"\\ebf7"}),C.layoutSidebarRightOff=new C("layout-sidebar-right-off",{fontCharacter:"\\ec00"}),C.layoutPanelOff=new C("layout-panel-off",{fontCharacter:"\\ec01"}),C.layoutSidebarLeftOff=new C("layout-sidebar-left-off",{fontCharacter:"\\ec02"}),C.target=new C("target",{fontCharacter:"\\ebf8"}),C.indent=new C("indent",{fontCharacter:"\\ebf9"}),C.recordSmall=new C("record-small",{fontCharacter:"\\ebfa"}),C.errorSmall=new C("error-small",{fontCharacter:"\\ebfb"}),C.arrowCircleDown=new C("arrow-circle-down",{fontCharacter:"\\ebfc"}),C.arrowCircleLeft=new C("arrow-circle-left",{fontCharacter:"\\ebfd"}),C.arrowCircleRight=new C("arrow-circle-right",{fontCharacter:"\\ebfe"}),C.arrowCircleUp=new C("arrow-circle-up",{fontCharacter:"\\ebff"}),C.heartFilled=new C("heart-filled",{fontCharacter:"\\ec04"}),C.map=new C("map",{fontCharacter:"\\ec05"}),C.mapFilled=new C("map-filled",{fontCharacter:"\\ec06"}),C.circleSmall=new C("circle-small",{fontCharacter:"\\ec07"}),C.bellSlash=new C("bell-slash",{fontCharacter:"\\ec08"}),C.bellSlashDot=new C("bell-slash-dot",{fontCharacter:"\\ec09"}),C.commentUnresolved=new C("comment-unresolved",{fontCharacter:"\\ec0a"}),C.gitPullRequestGoToChanges=new C("git-pull-request-go-to-changes",{fontCharacter:"\\ec0b"}),C.gitPullRequestNewChanges=new C("git-pull-request-new-changes",{fontCharacter:"\\ec0c"}),C.dialogError=new C("dialog-error",C.error.definition),C.dialogWarning=new C("dialog-warning",C.warning.definition),C.dialogInfo=new C("dialog-info",C.info.definition),C.dialogClose=new C("dialog-close",C.close.definition),C.treeItemExpanded=new C("tree-item-expanded",C.chevronDown.definition),C.treeFilterOnTypeOn=new C("tree-filter-on-type-on",C.listFilter.definition),C.treeFilterOnTypeOff=new C("tree-filter-on-type-off",C.listSelection.definition),C.treeFilterClear=new C("tree-filter-clear",C.close.definition),C.treeItemLoading=new C("tree-item-loading",C.loading.definition),C.menuSelection=new C("menu-selection",C.check.definition),C.menuSubmenu=new C("menu-submenu",C.chevronRight.definition),C.menuBarMore=new C("menubar-more",C.more.definition),C.scrollbarButtonLeft=new C("scrollbar-button-left",C.triangleLeft.definition),C.scrollbarButtonRight=new C("scrollbar-button-right",C.triangleRight.definition),C.scrollbarButtonUp=new C("scrollbar-button-up",C.triangleUp.definition),C.scrollbarButtonDown=new C("scrollbar-button-down",C.triangleDown.definition),C.toolBarMore=new C("toolbar-more",C.more.definition),C.quickInputBack=new C("quick-input-back",C.arrowLeft.definition);var k;(function(I){I.iconNameSegment="[A-Za-z0-9]+",I.iconNameExpression="[A-Za-z0-9-]+",I.iconModifierExpression="~[A-Za-z]+",I.iconNameCharacter="[A-Za-z0-9~-]";const L=new RegExp(`^(${I.iconNameExpression})(${I.iconModifierExpression})?$`);function b(g){if(g instanceof C)return["codicon","codicon-"+g.id];const n=L.exec(g.id);if(!n)return b(C.error);const[,i,t]=n,r=["codicon","codicon-"+i];return t&&r.push("codicon-modifier-"+t.substr(1)),r}I.asClassNameArray=b;function v(g){return b(g).join(" ")}I.asClassName=v;function u(g){return"."+b(g).join(".")}I.asCSSSelector=u})(k=e.CSSIcon||(e.CSSIcon={}))}),define(re[327],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SetMap=void 0;class w{constructor(){this.map=new Map}add(k,I){let L=this.map.get(k);L||(L=new Set,this.map.set(k,L)),L.add(I)}delete(k,I){const L=this.map.get(k);!L||(L.delete(I),L.size===0&&this.map.delete(k))}forEach(k,I){const L=this.map.get(k);!L||L.forEach(I)}}e.SetMap=w}),define(re[31],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Color=e.HSVA=e.HSLA=e.RGBA=void 0;function w(b,v){const u=Math.pow(10,v);return Math.round(b*u)/u}class C{constructor(v,u,g,n=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,v))|0,this.g=Math.min(255,Math.max(0,u))|0,this.b=Math.min(255,Math.max(0,g))|0,this.a=w(Math.max(Math.min(1,n),0),3)}static equals(v,u){return v.r===u.r&&v.g===u.g&&v.b===u.b&&v.a===u.a}}e.RGBA=C;class k{constructor(v,u,g,n){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,v),0)|0,this.s=w(Math.max(Math.min(1,u),0),3),this.l=w(Math.max(Math.min(1,g),0),3),this.a=w(Math.max(Math.min(1,n),0),3)}static equals(v,u){return v.h===u.h&&v.s===u.s&&v.l===u.l&&v.a===u.a}static fromRGBA(v){const u=v.r/255,g=v.g/255,n=v.b/255,i=v.a,t=Math.max(u,g,n),r=Math.min(u,g,n);let l=0,d=0;const a=(r+t)/2,s=t-r;if(s>0){switch(d=Math.min(a<=.5?s/(2*a):s/(2-2*a),1),t){case u:l=(g-n)/s+(g1&&(g-=1),g<1/6?v+(u-v)*6*g:g<1/2?u:g<2/3?v+(u-v)*(2/3-g)*6:v}static toRGBA(v){const u=v.h/360,{s:g,l:n,a:i}=v;let t,r,l;if(g===0)t=r=l=n;else{const d=n<.5?n*(1+g):n+g-n*g,a=2*n-d;t=k._hue2rgb(a,d,u+1/3),r=k._hue2rgb(a,d,u),l=k._hue2rgb(a,d,u-1/3)}return new C(Math.round(t*255),Math.round(r*255),Math.round(l*255),i)}}e.HSLA=k;class I{constructor(v,u,g,n){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,v),0)|0,this.s=w(Math.max(Math.min(1,u),0),3),this.v=w(Math.max(Math.min(1,g),0),3),this.a=w(Math.max(Math.min(1,n),0),3)}static equals(v,u){return v.h===u.h&&v.s===u.s&&v.v===u.v&&v.a===u.a}static fromRGBA(v){const u=v.r/255,g=v.g/255,n=v.b/255,i=Math.max(u,g,n),t=Math.min(u,g,n),r=i-t,l=i===0?0:r/i;let d;return r===0?d=0:i===u?d=((g-n)/r%6+6)%6:i===g?d=(n-u)/r+2:d=(u-g)/r+4,new I(Math.round(d*60),l,i,v.a)}static toRGBA(v){const{h:u,s:g,v:n,a:i}=v,t=n*g,r=t*(1-Math.abs(u/60%2-1)),l=n-t;let[d,a,s]=[0,0,0];return u<60?(d=t,a=r):u<120?(d=r,a=t):u<180?(a=t,s=r):u<240?(a=r,s=t):u<300?(d=r,s=t):u<=360&&(d=t,s=r),d=Math.round((d+l)*255),a=Math.round((a+l)*255),s=Math.round((s+l)*255),new C(d,a,s,i)}}e.HSVA=I;class L{constructor(v){if(v)if(v instanceof C)this.rgba=v;else if(v instanceof k)this._hsla=v,this.rgba=k.toRGBA(v);else if(v instanceof I)this._hsva=v,this.rgba=I.toRGBA(v);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}static fromHex(v){return L.Format.CSS.parseHex(v)||L.red}get hsla(){return this._hsla?this._hsla:k.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:I.fromRGBA(this.rgba)}equals(v){return!!v&&C.equals(this.rgba,v.rgba)&&k.equals(this.hsla,v.hsla)&&I.equals(this.hsva,v.hsva)}getRelativeLuminance(){const v=L._relativeLuminanceForComponent(this.rgba.r),u=L._relativeLuminanceForComponent(this.rgba.g),g=L._relativeLuminanceForComponent(this.rgba.b),n=.2126*v+.7152*u+.0722*g;return w(n,4)}static _relativeLuminanceForComponent(v){const u=v/255;return u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(v){const u=this.getRelativeLuminance(),g=v.getRelativeLuminance();return u>g}isDarkerThan(v){const u=this.getRelativeLuminance(),g=v.getRelativeLuminance();return uSe(this,void 0,void 0,function*(){return I}),asFile:()=>{},value:typeof I=="string"?I:void 0}}e.createStringDataTransferItem=w;function C(I,L,b){return{asString:()=>Se(this,void 0,void 0,function*(){return""}),asFile:()=>({name:I,uri:L,data:b}),value:void 0}}e.createFileDataTransferItem=C;class k{constructor(){this._entries=new Map}get size(){return this._entries.size}has(L){return this._entries.has(this.toKey(L))}get(L){var b;return(b=this._entries.get(this.toKey(L)))===null||b===void 0?void 0:b[0]}append(L,b){const v=this._entries.get(L);v?v.push(b):this._entries.set(this.toKey(L),[b])}replace(L,b){this._entries.set(this.toKey(L),[b])}delete(L){this._entries.delete(this.toKey(L))}*entries(){for(const[L,b]of this._entries.entries())for(const v of b)yield[L,v]}values(){return Array.from(this._entries.values()).flat()}forEach(L){for(const[b,v]of this.entries())L(v,b)}toKey(L){return L.toLowerCase()}}e.VSDataTransfer=k}),define(re[103],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.memoize=void 0;function w(C,k,I){let L=null,b=null;if(typeof I.value=="function"?(L="value",b=I.value,b.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof I.get=="function"&&(L="get",b=I.get),!b)throw new Error("not supported");const v=`$memoize$${k}`;I[L]=function(...u){return this.hasOwnProperty(v)||Object.defineProperty(this,v,{configurable:!1,enumerable:!1,writable:!1,value:b.apply(this,u)}),this[v]}}e.memoize=w}),define(re[328],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffChange=void 0;class w{constructor(k,I,L,b){this.originalStart=k,this.originalLength=I,this.modifiedStart=L,this.modifiedLength=b}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}e.DiffChange=w}),define(re[14],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BugIndicatingError=e.ErrorNoTelemetry=e.NotSupportedError=e.illegalState=e.illegalArgument=e.canceled=e.CancellationError=e.isCancellationError=e.transformErrorForSerialization=e.onUnexpectedExternalError=e.onUnexpectedError=e.errorHandler=e.ErrorHandler=void 0;class w{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(d){setTimeout(()=>{throw d.stack?t.isErrorNoTelemetry(d)?new t(d.message+`
`+d.stack):new Error(d.message+`
`+d.stack):d},0)}}emit(d){this.listeners.forEach(a=>{a(d)})}onUnexpectedError(d){this.unexpectedErrorHandler(d),this.emit(d)}onUnexpectedExternalError(d){this.unexpectedErrorHandler(d)}}e.ErrorHandler=w,e.errorHandler=new w;function C(l){b(l)||e.errorHandler.onUnexpectedError(l)}e.onUnexpectedError=C;function k(l){b(l)||e.errorHandler.onUnexpectedExternalError(l)}e.onUnexpectedExternalError=k;function I(l){if(l instanceof Error){const{name:d,message:a}=l,s=l.stacktrace||l.stack;return{$isError:!0,name:d,message:a,stack:s,noTelemetry:t.isErrorNoTelemetry(l)}}return l}e.transformErrorForSerialization=I;const L="Canceled";function b(l){return l instanceof v?!0:l instanceof Error&&l.name===L&&l.message===L}e.isCancellationError=b;class v extends Error{constructor(){super(L);this.name=this.message}}e.CancellationError=v;function u(){const l=new Error(L);return l.name=l.message,l}e.canceled=u;function g(l){return l?new Error(`Illegal argument: ${l}`):new Error("Illegal argument")}e.illegalArgument=g;function n(l){return l?new Error(`Illegal state: ${l}`):new Error("Illegal state")}e.illegalState=n;class i extends Error{constructor(d){super("NotSupported");d&&(this.message=d)}}e.NotSupportedError=i;class t extends Error{constructor(d){super(d);this.name="ErrorNoTelemetry"}static fromError(d){if(d instanceof t)return d;const a=new t;return a.message=d.message,a.stack=d.stack,a}static isErrorNoTelemetry(d){return d.name==="ErrorNoTelemetry"}}e.ErrorNoTelemetry=t;class r extends Error{constructor(d){super(d||"An unexpected bug occurred.");Object.setPrototypeOf(this,r.prototype);debugger}}e.BugIndicatingError=r}),define(re[96],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.once=void 0;function w(C){const k=this;let I=!1,L;return function(){return I||(I=!0,L=C.apply(k,arguments)),L}}e.once=w}),define(re[144],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultGenerator=e.IdGenerator=void 0;class w{constructor(k){this._prefix=k,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}e.IdGenerator=w,e.defaultGenerator=new w("id#")}),define(re[55],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Iterable=void 0;var w;(function(C){function k(_){return _&&typeof _=="object"&&typeof _[Symbol.iterator]=="function"}C.is=k;const I=Object.freeze([]);function L(){return I}C.empty=L;function*b(_){yield _}C.single=b;function v(_){return _||I}C.from=v;function u(_){return!_||_[Symbol.iterator]().next().done===!0}C.isEmpty=u;function g(_){return _[Symbol.iterator]().next().value}C.first=g;function n(_,m){for(const h of _)if(m(h))return!0;return!1}C.some=n;function i(_,m){for(const h of _)if(m(h))return h}C.find=i;function*t(_,m){for(const h of _)m(h)&&(yield h)}C.filter=t;function*r(_,m){let h=0;for(const S of _)yield m(S,h++)}C.map=r;function*l(..._){for(const m of _)for(const h of m)yield h}C.concat=l;function*d(_){for(const m of _)for(const h of m)yield h}C.concatNested=d;function a(_,m,h){let S=h;for(const y of _)S=m(S,y);return S}C.reduce=a;function s(_,m){let h=0;for(const S of _)m(S,h++)}C.forEach=s;function*o(_,m,h=_.length){for(m<0&&(m+=_.length),h<0?h+=_.length:h>_.length&&(h=_.length);mS===y){const S=_[Symbol.iterator](),y=m[Symbol.iterator]();for(;;){const E=S.next(),N=y.next();if(E.done!==N.done)return!1;if(E.done)return!0;if(!h(E.value,N.value))return!1}}C.equals=p})(w=e.Iterable||(e.Iterable={}))}),define(re[59],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeyChord=e.KeyCodeUtils=e.IMMUTABLE_KEY_CODE_TO_CODE=e.IMMUTABLE_CODE_TO_KEY_CODE=e.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE=e.EVENT_KEY_CODE_MAP=void 0;class w{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(i,t){this._keyCodeToStr[i]=t,this._strToKeyCode[t.toLowerCase()]=i}keyCodeToStr(i){return this._keyCodeToStr[i]}strToKeyCode(i){return this._strToKeyCode[i.toLowerCase()]||0}}const C=new w,k=new w,I=new w;e.EVENT_KEY_CODE_MAP=new Array(230),e.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE={};const L=[],b=Object.create(null),v=Object.create(null);e.IMMUTABLE_CODE_TO_KEY_CODE=[],e.IMMUTABLE_KEY_CODE_TO_CODE=[];for(let n=0;n<=193;n++)e.IMMUTABLE_CODE_TO_KEY_CODE[n]=-1;for(let n=0;n<=127;n++)e.IMMUTABLE_KEY_CODE_TO_CODE[n]=-1;(function(){const n="",i=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",n,n],[0,1,1,"Hyper",0,n,0,n,n,n],[0,1,2,"Super",0,n,0,n,n,n],[0,1,3,"Fn",0,n,0,n,n,n],[0,1,4,"FnLock",0,n,0,n,n,n],[0,1,5,"Suspend",0,n,0,n,n,n],[0,1,6,"Resume",0,n,0,n,n,n],[0,1,7,"Turbo",0,n,0,n,n,n],[0,1,8,"Sleep",0,n,0,"VK_SLEEP",n,n],[0,1,9,"WakeUp",0,n,0,n,n,n],[31,0,10,"KeyA",31,"A",65,"VK_A",n,n],[32,0,11,"KeyB",32,"B",66,"VK_B",n,n],[33,0,12,"KeyC",33,"C",67,"VK_C",n,n],[34,0,13,"KeyD",34,"D",68,"VK_D",n,n],[35,0,14,"KeyE",35,"E",69,"VK_E",n,n],[36,0,15,"KeyF",36,"F",70,"VK_F",n,n],[37,0,16,"KeyG",37,"G",71,"VK_G",n,n],[38,0,17,"KeyH",38,"H",72,"VK_H",n,n],[39,0,18,"KeyI",39,"I",73,"VK_I",n,n],[40,0,19,"KeyJ",40,"J",74,"VK_J",n,n],[41,0,20,"KeyK",41,"K",75,"VK_K",n,n],[42,0,21,"KeyL",42,"L",76,"VK_L",n,n],[43,0,22,"KeyM",43,"M",77,"VK_M",n,n],[44,0,23,"KeyN",44,"N",78,"VK_N",n,n],[45,0,24,"KeyO",45,"O",79,"VK_O",n,n],[46,0,25,"KeyP",46,"P",80,"VK_P",n,n],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",n,n],[48,0,27,"KeyR",48,"R",82,"VK_R",n,n],[49,0,28,"KeyS",49,"S",83,"VK_S",n,n],[50,0,29,"KeyT",50,"T",84,"VK_T",n,n],[51,0,30,"KeyU",51,"U",85,"VK_U",n,n],[52,0,31,"KeyV",52,"V",86,"VK_V",n,n],[53,0,32,"KeyW",53,"W",87,"VK_W",n,n],[54,0,33,"KeyX",54,"X",88,"VK_X",n,n],[55,0,34,"KeyY",55,"Y",89,"VK_Y",n,n],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",n,n],[22,0,36,"Digit1",22,"1",49,"VK_1",n,n],[23,0,37,"Digit2",23,"2",50,"VK_2",n,n],[24,0,38,"Digit3",24,"3",51,"VK_3",n,n],[25,0,39,"Digit4",25,"4",52,"VK_4",n,n],[26,0,40,"Digit5",26,"5",53,"VK_5",n,n],[27,0,41,"Digit6",27,"6",54,"VK_6",n,n],[28,0,42,"Digit7",28,"7",55,"VK_7",n,n],[29,0,43,"Digit8",29,"8",56,"VK_8",n,n],[30,0,44,"Digit9",30,"9",57,"VK_9",n,n],[21,0,45,"Digit0",21,"0",48,"VK_0",n,n],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",n,n],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",n,n],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",n,n],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",n,n],[10,1,50,"Space",10,"Space",32,"VK_SPACE",n,n],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,n,0,n,n,n],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",n,n],[59,1,64,"F1",59,"F1",112,"VK_F1",n,n],[60,1,65,"F2",60,"F2",113,"VK_F2",n,n],[61,1,66,"F3",61,"F3",114,"VK_F3",n,n],[62,1,67,"F4",62,"F4",115,"VK_F4",n,n],[63,1,68,"F5",63,"F5",116,"VK_F5",n,n],[64,1,69,"F6",64,"F6",117,"VK_F6",n,n],[65,1,70,"F7",65,"F7",118,"VK_F7",n,n],[66,1,71,"F8",66,"F8",119,"VK_F8",n,n],[67,1,72,"F9",67,"F9",120,"VK_F9",n,n],[68,1,73,"F10",68,"F10",121,"VK_F10",n,n],[69,1,74,"F11",69,"F11",122,"VK_F11",n,n],[70,1,75,"F12",70,"F12",123,"VK_F12",n,n],[0,1,76,"PrintScreen",0,n,0,n,n,n],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",n,n],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",n,n],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",n,n],[14,1,80,"Home",14,"Home",36,"VK_HOME",n,n],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",n,n],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",n,n],[13,1,83,"End",13,"End",35,"VK_END",n,n],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",n,n],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",n],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",n],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",n],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",n],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",n,n],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",n,n],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",n,n],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",n,n],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",n,n],[3,1,94,"NumpadEnter",3,n,0,n,n,n],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",n,n],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",n,n],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",n,n],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",n,n],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",n,n],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",n,n],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",n,n],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",n,n],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",n,n],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",n,n],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",n,n],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",n,n],[58,1,107,"ContextMenu",58,"ContextMenu",93,n,n,n],[0,1,108,"Power",0,n,0,n,n,n],[0,1,109,"NumpadEqual",0,n,0,n,n,n],[71,1,110,"F13",71,"F13",124,"VK_F13",n,n],[72,1,111,"F14",72,"F14",125,"VK_F14",n,n],[73,1,112,"F15",73,"F15",126,"VK_F15",n,n],[74,1,113,"F16",74,"F16",127,"VK_F16",n,n],[75,1,114,"F17",75,"F17",128,"VK_F17",n,n],[76,1,115,"F18",76,"F18",129,"VK_F18",n,n],[77,1,116,"F19",77,"F19",130,"VK_F19",n,n],[0,1,117,"F20",0,n,0,"VK_F20",n,n],[0,1,118,"F21",0,n,0,"VK_F21",n,n],[0,1,119,"F22",0,n,0,"VK_F22",n,n],[0,1,120,"F23",0,n,0,"VK_F23",n,n],[0,1,121,"F24",0,n,0,"VK_F24",n,n],[0,1,122,"Open",0,n,0,n,n,n],[0,1,123,"Help",0,n,0,n,n,n],[0,1,124,"Select",0,n,0,n,n,n],[0,1,125,"Again",0,n,0,n,n,n],[0,1,126,"Undo",0,n,0,n,n,n],[0,1,127,"Cut",0,n,0,n,n,n],[0,1,128,"Copy",0,n,0,n,n,n],[0,1,129,"Paste",0,n,0,n,n,n],[0,1,130,"Find",0,n,0,n,n,n],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",n,n],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",n,n],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",n,n],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",n,n],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",n,n],[0,1,136,"KanaMode",0,n,0,n,n,n],[0,0,137,"IntlYen",0,n,0,n,n,n],[0,1,138,"Convert",0,n,0,n,n,n],[0,1,139,"NonConvert",0,n,0,n,n,n],[0,1,140,"Lang1",0,n,0,n,n,n],[0,1,141,"Lang2",0,n,0,n,n,n],[0,1,142,"Lang3",0,n,0,n,n,n],[0,1,143,"Lang4",0,n,0,n,n,n],[0,1,144,"Lang5",0,n,0,n,n,n],[0,1,145,"Abort",0,n,0,n,n,n],[0,1,146,"Props",0,n,0,n,n,n],[0,1,147,"NumpadParenLeft",0,n,0,n,n,n],[0,1,148,"NumpadParenRight",0,n,0,n,n,n],[0,1,149,"NumpadBackspace",0,n,0,n,n,n],[0,1,150,"NumpadMemoryStore",0,n,0,n,n,n],[0,1,151,"NumpadMemoryRecall",0,n,0,n,n,n],[0,1,152,"NumpadMemoryClear",0,n,0,n,n,n],[0,1,153,"NumpadMemoryAdd",0,n,0,n,n,n],[0,1,154,"NumpadMemorySubtract",0,n,0,n,n,n],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",n,n],[0,1,156,"NumpadClearEntry",0,n,0,n,n,n],[5,1,0,n,5,"Ctrl",17,"VK_CONTROL",n,n],[4,1,0,n,4,"Shift",16,"VK_SHIFT",n,n],[6,1,0,n,6,"Alt",18,"VK_MENU",n,n],[57,1,0,n,57,"Meta",0,"VK_COMMAND",n,n],[5,1,157,"ControlLeft",5,n,0,"VK_LCONTROL",n,n],[4,1,158,"ShiftLeft",4,n,0,"VK_LSHIFT",n,n],[6,1,159,"AltLeft",6,n,0,"VK_LMENU",n,n],[57,1,160,"MetaLeft",57,n,0,"VK_LWIN",n,n],[5,1,161,"ControlRight",5,n,0,"VK_RCONTROL",n,n],[4,1,162,"ShiftRight",4,n,0,"VK_RSHIFT",n,n],[6,1,163,"AltRight",6,n,0,"VK_RMENU",n,n],[57,1,164,"MetaRight",57,n,0,"VK_RWIN",n,n],[0,1,165,"BrightnessUp",0,n,0,n,n,n],[0,1,166,"BrightnessDown",0,n,0,n,n,n],[0,1,167,"MediaPlay",0,n,0,n,n,n],[0,1,168,"MediaRecord",0,n,0,n,n,n],[0,1,169,"MediaFastForward",0,n,0,n,n,n],[0,1,170,"MediaRewind",0,n,0,n,n,n],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",n,n],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",n,n],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",n,n],[0,1,174,"Eject",0,n,0,n,n,n],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",n,n],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",n,n],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",n,n],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",n,n],[0,1,179,"LaunchApp1",0,n,0,"VK_MEDIA_LAUNCH_APP1",n,n],[0,1,180,"SelectTask",0,n,0,n,n,n],[0,1,181,"LaunchScreenSaver",0,n,0,n,n,n],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",n,n],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",n,n],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",n,n],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",n,n],[0,1,186,"BrowserStop",0,n,0,"VK_BROWSER_STOP",n,n],[0,1,187,"BrowserRefresh",0,n,0,"VK_BROWSER_REFRESH",n,n],[0,1,188,"BrowserFavorites",0,n,0,"VK_BROWSER_FAVORITES",n,n],[0,1,189,"ZoomToggle",0,n,0,n,n,n],[0,1,190,"MailReply",0,n,0,n,n,n],[0,1,191,"MailForward",0,n,0,n,n,n],[0,1,192,"MailSend",0,n,0,n,n,n],[109,1,0,n,109,"KeyInComposition",229,n,n,n],[111,1,0,n,111,"ABNT_C2",194,"VK_ABNT_C2",n,n],[91,1,0,n,91,"OEM_8",223,"VK_OEM_8",n,n],[0,1,0,n,0,n,0,"VK_KANA",n,n],[0,1,0,n,0,n,0,"VK_HANGUL",n,n],[0,1,0,n,0,n,0,"VK_JUNJA",n,n],[0,1,0,n,0,n,0,"VK_FINAL",n,n],[0,1,0,n,0,n,0,"VK_HANJA",n,n],[0,1,0,n,0,n,0,"VK_KANJI",n,n],[0,1,0,n,0,n,0,"VK_CONVERT",n,n],[0,1,0,n,0,n,0,"VK_NONCONVERT",n,n],[0,1,0,n,0,n,0,"VK_ACCEPT",n,n],[0,1,0,n,0,n,0,"VK_MODECHANGE",n,n],[0,1,0,n,0,n,0,"VK_SELECT",n,n],[0,1,0,n,0,n,0,"VK_PRINT",n,n],[0,1,0,n,0,n,0,"VK_EXECUTE",n,n],[0,1,0,n,0,n,0,"VK_SNAPSHOT",n,n],[0,1,0,n,0,n,0,"VK_HELP",n,n],[0,1,0,n,0,n,0,"VK_APPS",n,n],[0,1,0,n,0,n,0,"VK_PROCESSKEY",n,n],[0,1,0,n,0,n,0,"VK_PACKET",n,n],[0,1,0,n,0,n,0,"VK_DBE_SBCSCHAR",n,n],[0,1,0,n,0,n,0,"VK_DBE_DBCSCHAR",n,n],[0,1,0,n,0,n,0,"VK_ATTN",n,n],[0,1,0,n,0,n,0,"VK_CRSEL",n,n],[0,1,0,n,0,n,0,"VK_EXSEL",n,n],[0,1,0,n,0,n,0,"VK_EREOF",n,n],[0,1,0,n,0,n,0,"VK_PLAY",n,n],[0,1,0,n,0,n,0,"VK_ZOOM",n,n],[0,1,0,n,0,n,0,"VK_NONAME",n,n],[0,1,0,n,0,n,0,"VK_PA1",n,n],[0,1,0,n,0,n,0,"VK_OEM_CLEAR",n,n]],t=[],r=[];for(const l of i){const[d,a,s,o,c,f,p,_,m,h]=l;if(r[s]||(r[s]=!0,L[s]=o,b[o]=s,v[o.toLowerCase()]=s,a&&(e.IMMUTABLE_CODE_TO_KEY_CODE[s]=c,c!==0&&c!==3&&c!==5&&c!==4&&c!==6&&c!==57&&(e.IMMUTABLE_KEY_CODE_TO_CODE[c]=s))),!t[c]){if(t[c]=!0,!f)throw new Error(`String representation missing for key code ${c} around scan code ${o}`);C.define(c,f),k.define(c,m||f),I.define(c,h||m||f)}p&&(e.EVENT_KEY_CODE_MAP[p]=c),_&&(e.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[_]=c)}e.IMMUTABLE_KEY_CODE_TO_CODE[3]=46})();var u;(function(n){function i(s){return C.keyCodeToStr(s)}n.toString=i;function t(s){return C.strToKeyCode(s)}n.fromString=t;function r(s){return k.keyCodeToStr(s)}n.toUserSettingsUS=r;function l(s){return I.keyCodeToStr(s)}n.toUserSettingsGeneral=l;function d(s){return k.strToKeyCode(s)||I.strToKeyCode(s)}n.fromUserSettings=d;function a(s){if(s>=93&&s<=108)return null;switch(s){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return C.keyCodeToStr(s)}n.toElectronAccelerator=a})(u=e.KeyCodeUtils||(e.KeyCodeUtils={}));function g(n,i){const t=(i&65535)<<16>>>0;return(n|t)>>>0}e.KeyChord=g}),define(re[104],ae([1,0,14]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResolvedKeybinding=e.ResolvedKeybindingPart=e.ScanCodeBinding=e.ChordKeybinding=e.SimpleKeybinding=e.createSimpleKeybinding=e.createKeybinding=void 0;function C(g,n){if(g===0)return null;const i=(g&65535)>>>0,t=(g&4294901760)>>>16;return t!==0?new L([k(i,n),k(t,n)]):new L([k(i,n)])}e.createKeybinding=C;function k(g,n){const i=!!(g&2048),t=!!(g&256),r=n===2?t:i,l=!!(g&1024),d=!!(g&512),a=n===2?i:t,s=g&255;return new I(r,l,d,a,s)}e.createSimpleKeybinding=k;class I{constructor(n,i,t,r,l){this.ctrlKey=n,this.shiftKey=i,this.altKey=t,this.metaKey=r,this.keyCode=l}equals(n){return this.ctrlKey===n.ctrlKey&&this.shiftKey===n.shiftKey&&this.altKey===n.altKey&&this.metaKey===n.metaKey&&this.keyCode===n.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}toChord(){return new L([this])}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}e.SimpleKeybinding=I;class L{constructor(n){if(n.length===0)throw(0,w.illegalArgument)("parts");this.parts=n}}e.ChordKeybinding=L;class b{constructor(n,i,t,r,l){this.ctrlKey=n,this.shiftKey=i,this.altKey=t,this.metaKey=r,this.scanCode=l}isDuplicateModifierCase(){return this.ctrlKey&&(this.scanCode===157||this.scanCode===161)||this.shiftKey&&(this.scanCode===158||this.scanCode===162)||this.altKey&&(this.scanCode===159||this.scanCode===163)||this.metaKey&&(this.scanCode===160||this.scanCode===164)}}e.ScanCodeBinding=b;class v{constructor(n,i,t,r,l,d){this.ctrlKey=n,this.shiftKey=i,this.altKey=t,this.metaKey=r,this.keyLabel=l,this.keyAriaLabel=d}}e.ResolvedKeybindingPart=v;class u{}e.ResolvedKeybinding=u}),define(re[145],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lazy=void 0;class w{constructor(k){this.executor=k,this._didRun=!1}hasValue(){return this._didRun}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(k){this._error=k}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}e.Lazy=w}),define(re[2],ae([1,0,96,55]),function($,e,w,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ImmortalReference=e.SafeDisposable=e.RefCountedDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.dispose=e.isDisposable=e.MultiDisposeError=e.markAsSingleton=e.setDisposableTracker=void 0;const k=!1;let I=null;function L(_){I=_}if(e.setDisposableTracker=L,k){const _="__is_disposable_tracked__";L(new class{trackDisposable(m){const h=new Error("Potentially leaked disposable").stack;setTimeout(()=>{m[_]||console.log(h)},3e3)}setParent(m,h){if(m&&m!==s.None)try{m[_]=!0}catch{}}markAsDisposed(m){if(m&&m!==s.None)try{m[_]=!0}catch{}}markAsSingleton(m){}})}function b(_){return I==null||I.trackDisposable(_),_}function v(_){I==null||I.markAsDisposed(_)}function u(_,m){I==null||I.setParent(_,m)}function g(_,m){if(!!I)for(const h of _)I.setParent(h,m)}function n(_){return I==null||I.markAsSingleton(_),_}e.markAsSingleton=n;class i extends Error{constructor(m){super(`Encountered errors while disposing of store. Errors: [${m.join(", ")}]`);this.errors=m}}e.MultiDisposeError=i;function t(_){return typeof _.dispose=="function"&&_.dispose.length===0}e.isDisposable=t;function r(_){if(C.Iterable.is(_)){const m=[];for(const h of _)if(h)try{h.dispose()}catch(S){m.push(S)}if(m.length===1)throw m[0];if(m.length>1)throw new i(m);return Array.isArray(_)?[]:_}else if(_)return _.dispose(),_}e.dispose=r;function l(..._){const m=d(()=>r(_));return g(_,m),m}e.combinedDisposable=l;function d(_){const m=b({dispose:(0,w.once)(()=>{v(m),_()})});return m}e.toDisposable=d;class a{constructor(){this._toDispose=new Set,this._isDisposed=!1,b(this)}dispose(){this._isDisposed||(v(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(m){if(!m)return m;if(m===this)throw new Error("Cannot register a disposable on itself!");return u(m,this),this._isDisposed?a.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(m),m}}e.DisposableStore=a,a.DISABLE_DISPOSED_WARNING=!1;class s{constructor(){this._store=new a,b(this),u(this._store,this)}dispose(){v(this),this._store.dispose()}_register(m){if(m===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(m)}}e.Disposable=s,s.None=Object.freeze({dispose(){}});class o{constructor(){this._isDisposed=!1,b(this)}get value(){return this._isDisposed?void 0:this._value}set value(m){var h;this._isDisposed||m===this._value||((h=this._value)===null||h===void 0||h.dispose(),m&&u(m,this),this._value=m)}clear(){this.value=void 0}dispose(){var m;this._isDisposed=!0,v(this),(m=this._value)===null||m===void 0||m.dispose(),this._value=void 0}clearAndLeak(){const m=this._value;return this._value=void 0,m&&u(m,null),m}}e.MutableDisposable=o;class c{constructor(m){this._disposable=m,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter==0&&this._disposable.dispose(),this}}e.RefCountedDisposable=c;class f{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,b(this)}set(m){let h=m;return this.unset=()=>h=void 0,this.isset=()=>h!==void 0,this.dispose=()=>{h&&(h(),h=void 0,v(this))},this}}e.SafeDisposable=f;class p{constructor(m){this.object=m}dispose(){}}e.ImmortalReference=p}),define(re[73],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class w{constructor(I){this.element=I,this.next=w.Undefined,this.prev=w.Undefined}}w.Undefined=new w(void 0);class C{constructor(){this._first=w.Undefined,this._last=w.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===w.Undefined}clear(){let I=this._first;for(;I!==w.Undefined;){const L=I.next;I.prev=w.Undefined,I.next=w.Undefined,I=L}this._first=w.Undefined,this._last=w.Undefined,this._size=0}unshift(I){return this._insert(I,!1)}push(I){return this._insert(I,!0)}_insert(I,L){const b=new w(I);if(this._first===w.Undefined)this._first=b,this._last=b;else if(L){const u=this._last;this._last=b,b.prev=u,u.next=b}else{const u=this._first;this._first=b,b.next=u,u.prev=b}this._size+=1;let v=!1;return()=>{v||(v=!0,this._remove(b))}}shift(){if(this._first!==w.Undefined){const I=this._first.element;return this._remove(this._first),I}}pop(){if(this._last!==w.Undefined){const I=this._last.element;return this._remove(this._last),I}}_remove(I){if(I.prev!==w.Undefined&&I.next!==w.Undefined){const L=I.prev;L.next=I.next,I.next.prev=L}else I.prev===w.Undefined&&I.next===w.Undefined?(this._first=w.Undefined,this._last=w.Undefined):I.next===w.Undefined?(this._last=this._last.prev,this._last.next=w.Undefined):I.prev===w.Undefined&&(this._first=this._first.next,this._first.prev=w.Undefined);this._size-=1}*[Symbol.iterator](){let I=this._first;for(;I!==w.Undefined;)yield I.element,I=I.next}}e.LinkedList=C}),function($,e){typeof exports=="object"&&typeof module!="undefined"?e(exports):typeof define=="function"&&define.amd?define(re[329],ae([0]),e):($=typeof globalThis!="undefined"?globalThis:$||self,e($.marked={}))}(this,function($){"use strict";function e(z,X){for(var G=0;Gz.length)&&(X=z.length);for(var G=0,U=new Array(X);G=z.length?{done:!0}:{done:!1,value:z[U++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function L(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}$.defaults=L();function b(z){$.defaults=z}var v=/[&<>"']/,u=/[&<>"']/g,g=/[<>"']|&(?!#?\w+;)/,n=/[<>"']|&(?!#?\w+;)/g,i={"&":"&","<":"<",">":">",'"':""","'":"'"},t=function(X){return i[X]};function r(z,X){if(X){if(v.test(z))return z.replace(u,t)}else if(g.test(z))return z.replace(n,t);return z}var l=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function d(z){return z.replace(l,function(X,G){return G=G.toLowerCase(),G==="colon"?":":G.charAt(0)==="#"?G.charAt(1)==="x"?String.fromCharCode(parseInt(G.substring(2),16)):String.fromCharCode(+G.substring(1)):""})}var a=/(^|[^\[])\^/g;function s(z,X){z=typeof z=="string"?z:z.source,X=X||"";var G={replace:function(K,ce){return ce=ce.source||ce,ce=ce.replace(a,"$1"),z=z.replace(K,ce),G},getRegex:function(){return new RegExp(z,X)}};return G}var o=/[^\w:]/g,c=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function f(z,X,G){if(z){var U;try{U=decodeURIComponent(d(G)).replace(o,"").toLowerCase()}catch{return null}if(U.indexOf("javascript:")===0||U.indexOf("vbscript:")===0||U.indexOf("data:")===0)return null}X&&!c.test(G)&&(G=S(X,G));try{G=encodeURI(G).replace(/%25/g,"%")}catch{return null}return G}var p={},_=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,h=/^([^:]+:\/*[^/]*)[\s\S]*$/;function S(z,X){p[" "+z]||(_.test(z)?p[" "+z]=z+"/":p[" "+z]=T(z,"/",!0)),z=p[" "+z];var G=z.indexOf(":")===-1;return X.substring(0,2)==="//"?G?X:z.replace(m,"$1")+X:X.charAt(0)==="/"?G?X:z.replace(h,"$1")+X:z+X}var y={exec:function(){}};function E(z){for(var X=1,G,U;X=0&&ue[Ce]==="\\";)fe=!fe;return fe?"|":" |"}),U=G.split(/ \|/),K=0;if(U[0].trim()||U.shift(),U.length>0&&!U[U.length-1].trim()&&U.pop(),U.length>X)U.splice(X);else for(;U.length1;)X&1&&(G+=z),X>>=1,z+=z;return G+z}function D(z,X,G,U){var K=X.href,ce=X.title?r(X.title):null,ee=z[1].replace(/\\([\[\]])/g,"$1");if(z[0].charAt(0)!=="!"){U.state.inLink=!0;var ue={type:"link",raw:G,href:K,title:ce,text:ee,tokens:U.inlineTokens(ee,[])};return U.state.inLink=!1,ue}return{type:"image",raw:G,href:K,title:ce,text:r(ee)}}function M(z,X){var G=z.match(/^(\s+)(?:```)/);if(G===null)return X;var U=G[1];return X.split(`
`).map(function(K){var ce=K.match(/^\s+/);if(ce===null)return K;var ee=ce[0];return ee.length>=U.length?K.slice(U.length):K}).join(`
`)}var P=function(){function z(G){this.options=G||$.defaults}var X=z.prototype;return X.space=function(U){var K=this.rules.block.newline.exec(U);if(K&&K[0].length>0)return{type:"space",raw:K[0]}},X.code=function(U){var K=this.rules.block.code.exec(U);if(K){var ce=K[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:K[0],codeBlockStyle:"indented",text:this.options.pedantic?ce:T(ce,`
`)}}},X.fences=function(U){var K=this.rules.block.fences.exec(U);if(K){var ce=K[0],ee=M(ce,K[3]||"");return{type:"code",raw:ce,lang:K[2]?K[2].trim():K[2],text:ee}}},X.heading=function(U){var K=this.rules.block.heading.exec(U);if(K){var ce=K[2].trim();if(/#$/.test(ce)){var ee=T(ce,"#");(this.options.pedantic||!ee||/ $/.test(ee))&&(ce=ee.trim())}var ue={type:"heading",raw:K[0],depth:K[1].length,text:ce,tokens:[]};return this.lexer.inline(ue.text,ue.tokens),ue}},X.hr=function(U){var K=this.rules.block.hr.exec(U);if(K)return{type:"hr",raw:K[0]}},X.blockquote=function(U){var K=this.rules.block.blockquote.exec(U);if(K){var ce=K[0].replace(/^ *>[ \t]?/gm,"");return{type:"blockquote",raw:K[0],tokens:this.lexer.blockTokens(ce,[]),text:ce}}},X.list=function(U){var K=this.rules.block.list.exec(U);if(K){var ce,ee,ue,fe,Ce,we,ye,De,Me,pe,he,le,ge=K[1].trim(),_e=ge.length>1,Le={type:"list",raw:"",ordered:_e,start:_e?+ge.slice(0,-1):"",loose:!1,items:[]};ge=_e?"\\d{1,9}\\"+ge.slice(-1):"\\"+ge,this.options.pedantic&&(ge=_e?ge:"[*+-]");for(var Ie=new RegExp("^( {0,3}"+ge+")((?:[ ][^\\n]*)?(?:\\n|$))");U&&(le=!1,!(!(K=Ie.exec(U))||this.rules.block.hr.test(U)));){if(ce=K[0],U=U.substring(ce.length),De=K[2].split(`
`,1)[0],Me=U.split(`
`,1)[0],this.options.pedantic?(fe=2,he=De.trimLeft()):(fe=K[2].search(/[^ ]/),fe=fe>4?1:fe,he=De.slice(fe),fe+=K[1].length),we=!1,!De&&/^ *$/.test(Me)&&(ce+=Me+`
`,U=U.substring(Me.length+1),le=!0),!le)for(var Ae=new RegExp("^ {0,"+Math.min(3,fe-1)+"}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))"),Oe=new RegExp("^ {0,"+Math.min(3,fe-1)+"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)");U&&(pe=U.split(`
`,1)[0],De=pe,this.options.pedantic&&(De=De.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(Ae.test(De)||Oe.test(U)));){if(De.search(/[^ ]/)>=fe||!De.trim())he+=`
`+De.slice(fe);else if(!we)he+=`
`+De;else break;!we&&!De.trim()&&(we=!0),ce+=pe+`
`,U=U.substring(pe.length+1)}Le.loose||(ye?Le.loose=!0:/\n *\n *$/.test(ce)&&(ye=!0)),this.options.gfm&&(ee=/^\[[ xX]\] /.exec(he),ee&&(ue=ee[0]!=="[ ] ",he=he.replace(/^\[[ xX]\] +/,""))),Le.items.push({type:"list_item",raw:ce,task:!!ee,checked:ue,loose:!1,text:he}),Le.raw+=ce}Le.items[Le.items.length-1].raw=ce.trimRight(),Le.items[Le.items.length-1].text=he.trimRight(),Le.raw=Le.raw.trimRight();var be=Le.items.length;for(Ce=0;Ce1)return!0}return!1});!Le.loose&&ve.length&&Ee&&(Le.loose=!0,Le.items[Ce].loose=!0)}return Le}},X.html=function(U){var K=this.rules.block.html.exec(U);if(K){var ce={type:"html",raw:K[0],pre:!this.options.sanitizer&&(K[1]==="pre"||K[1]==="script"||K[1]==="style"),text:K[0]};return this.options.sanitize&&(ce.type="paragraph",ce.text=this.options.sanitizer?this.options.sanitizer(K[0]):r(K[0]),ce.tokens=[],this.lexer.inline(ce.text,ce.tokens)),ce}},X.def=function(U){var K=this.rules.block.def.exec(U);if(K){K[3]&&(K[3]=K[3].substring(1,K[3].length-1));var ce=K[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:ce,raw:K[0],href:K[2],title:K[3]}}},X.table=function(U){var K=this.rules.block.table.exec(U);if(K){var ce={type:"table",header:N(K[1]).map(function(ye){return{text:ye}}),align:K[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:K[3]&&K[3].trim()?K[3].replace(/\n[ \t]*$/,"").split(`
`):[]};if(ce.header.length===ce.align.length){ce.raw=K[0];var ee=ce.align.length,ue,fe,Ce,we;for(ue=0;ue/i.test(K[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(K[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(K[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:K[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(K[0]):r(K[0]):K[0]}},X.link=function(U){var K=this.rules.inline.link.exec(U);if(K){var ce=K[2].trim();if(!this.options.pedantic&&/^$/.test(ce))return;var ee=T(ce.slice(0,-1),"\\");if((ce.length-ee.length)%2==0)return}else{var ue=R(K[2],"()");if(ue>-1){var fe=K[0].indexOf("!")===0?5:4,Ce=fe+K[1].length+ue;K[2]=K[2].substring(0,ue),K[0]=K[0].substring(0,Ce).trim(),K[3]=""}}var we=K[2],ye="";if(this.options.pedantic){var De=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(we);De&&(we=De[1],ye=De[3])}else ye=K[3]?K[3].slice(1,-1):"";return we=we.trim(),/^$/.test(ce)?we=we.slice(1):we=we.slice(1,-1)),D(K,{href:we&&we.replace(this.rules.inline._escapes,"$1"),title:ye&&ye.replace(this.rules.inline._escapes,"$1")},K[0],this.lexer)}},X.reflink=function(U,K){var ce;if((ce=this.rules.inline.reflink.exec(U))||(ce=this.rules.inline.nolink.exec(U))){var ee=(ce[2]||ce[1]).replace(/\s+/g," ");if(ee=K[ee.toLowerCase()],!ee||!ee.href){var ue=ce[0].charAt(0);return{type:"text",raw:ue,text:ue}}return D(ce,ee,ce[0],this.lexer)}},X.emStrong=function(U,K,ce){ce===void 0&&(ce="");var ee=this.rules.inline.emStrong.lDelim.exec(U);if(!!ee&&!(ee[3]&&ce.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var ue=ee[1]||ee[2]||"";if(!ue||ue&&(ce===""||this.rules.inline.punctuation.exec(ce))){var fe=ee[0].length-1,Ce,we,ye=fe,De=0,Me=ee[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Me.lastIndex=0,K=K.slice(-1*U.length+fe);(ee=Me.exec(K))!=null;)if(Ce=ee[1]||ee[2]||ee[3]||ee[4]||ee[5]||ee[6],!!Ce){if(we=Ce.length,ee[3]||ee[4]){ye+=we;continue}else if((ee[5]||ee[6])&&fe%3&&!((fe+we)%3)){De+=we;continue}if(ye-=we,!(ye>0)){if(we=Math.min(we,we+ye+De),Math.min(fe,we)%2){var pe=U.slice(1,fe+ee.index+we);return{type:"em",raw:U.slice(0,fe+ee.index+we+1),text:pe,tokens:this.lexer.inlineTokens(pe,[])}}var he=U.slice(2,fe+ee.index+we-1);return{type:"strong",raw:U.slice(0,fe+ee.index+we+1),text:he,tokens:this.lexer.inlineTokens(he,[])}}}}}},X.codespan=function(U){var K=this.rules.inline.code.exec(U);if(K){var ce=K[2].replace(/\n/g," "),ee=/[^ ]/.test(ce),ue=/^ /.test(ce)&&/ $/.test(ce);return ee&&ue&&(ce=ce.substring(1,ce.length-1)),ce=r(ce,!0),{type:"codespan",raw:K[0],text:ce}}},X.br=function(U){var K=this.rules.inline.br.exec(U);if(K)return{type:"br",raw:K[0]}},X.del=function(U){var K=this.rules.inline.del.exec(U);if(K)return{type:"del",raw:K[0],text:K[2],tokens:this.lexer.inlineTokens(K[2],[])}},X.autolink=function(U,K){var ce=this.rules.inline.autolink.exec(U);if(ce){var ee,ue;return ce[2]==="@"?(ee=r(this.options.mangle?K(ce[1]):ce[1]),ue="mailto:"+ee):(ee=r(ce[1]),ue=ee),{type:"link",raw:ce[0],text:ee,href:ue,tokens:[{type:"text",raw:ee,text:ee}]}}},X.url=function(U,K){var ce;if(ce=this.rules.inline.url.exec(U)){var ee,ue;if(ce[2]==="@")ee=r(this.options.mangle?K(ce[0]):ce[0]),ue="mailto:"+ee;else{var fe;do fe=ce[0],ce[0]=this.rules.inline._backpedal.exec(ce[0])[0];while(fe!==ce[0]);ee=r(ce[0]),ce[1]==="www."?ue="http://"+ee:ue=ee}return{type:"link",raw:ce[0],text:ee,href:ue,tokens:[{type:"text",raw:ee,text:ee}]}}},X.inlineText=function(U,K){var ce=this.rules.inline.text.exec(U);if(ce){var ee;return this.lexer.state.inRawBlock?ee=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ce[0]):r(ce[0]):ce[0]:ee=r(this.options.smartypants?K(ce[0]):ce[0]),{type:"text",raw:ce[0],text:ee}}},z}(),B={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:y,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};B._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,B._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,B.def=s(B.def).replace("label",B._label).replace("title",B._title).getRegex(),B.bullet=/(?:[*+-]|\d{1,9}[.)])/,B.listItemStart=s(/^( *)(bull) */).replace("bull",B.bullet).getRegex(),B.list=s(B.list).replace(/bull/g,B.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+B.def.source+")").getRegex(),B._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",B._comment=/|$)/,B.html=s(B.html,"i").replace("comment",B._comment).replace("tag",B._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),B.paragraph=s(B._paragraph).replace("hr",B.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B._tag).getRegex(),B.blockquote=s(B.blockquote).replace("paragraph",B.paragraph).getRegex(),B.normal=E({},B),B.gfm=E({},B.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),B.gfm.table=s(B.gfm.table).replace("hr",B.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B._tag).getRegex(),B.gfm.paragraph=s(B._paragraph).replace("hr",B.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",B.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",B._tag).getRegex(),B.pedantic=E({},B.normal,{html:s(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)| \\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",B._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,paragraph:s(B.normal._paragraph).replace("hr",B.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",B.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:y,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:y,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",W.punctuation=s(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=s(B._comment).replace("(?:-->|$)","-->").getRegex(),W.emStrong.lDelim=s(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=s(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=s(W.emStrong.rDelimUnd,"g").replace(/punct/g,W._punctuation).getRegex(),W._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,W._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,W._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,W.autolink=s(W.autolink).replace("scheme",W._scheme).replace("email",W._email).getRegex(),W._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,W.tag=s(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=s(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=s(W.reflink).replace("label",W._label).replace("ref",B._label).getRegex(),W.nolink=s(W.nolink).replace("ref",B._label).getRegex(),W.reflinkSearch=s(W.reflinkSearch,"g").replace("reflink",W.reflink).replace("nolink",W.nolink).getRegex(),W.normal=E({},W),W.pedantic=E({},W.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:s(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:s(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=E({},W.normal,{escape:s(W.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(U="x"+U.toString(16)),X+=""+U+";";return X}var Q=function(){function z(G){this.tokens=[],this.tokens.links=Object.create(null),this.options=G||$.defaults,this.options.tokenizer=this.options.tokenizer||new P,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var U={block:B.normal,inline:W.normal};this.options.pedantic?(U.block=B.pedantic,U.inline=W.pedantic):this.options.gfm&&(U.block=B.gfm,this.options.breaks?U.inline=W.breaks:U.inline=W.gfm),this.tokenizer.rules=U}z.lex=function(U,K){var ce=new z(K);return ce.lex(U)},z.lexInline=function(U,K){var ce=new z(K);return ce.inlineTokens(U)};var X=z.prototype;return X.lex=function(U){U=U.replace(/\r\n|\r/g,`
`),this.blockTokens(U,this.tokens);for(var K;K=this.inlineQueue.shift();)this.inlineTokens(K.src,K.tokens);return this.tokens},X.blockTokens=function(U,K){var ce=this;K===void 0&&(K=[]),this.options.pedantic?U=U.replace(/\t/g," ").replace(/^ +$/gm,""):U=U.replace(/^( *)(\t+)/gm,function(ye,De,Me){return De+" ".repeat(Me.length)});for(var ee,ue,fe,Ce;U;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(ye){return(ee=ye.call({lexer:ce},U,K))?(U=U.substring(ee.raw.length),K.push(ee),!0):!1}))){if(ee=this.tokenizer.space(U)){U=U.substring(ee.raw.length),ee.raw.length===1&&K.length>0?K[K.length-1].raw+=`
`:K.push(ee);continue}if(ee=this.tokenizer.code(U)){U=U.substring(ee.raw.length),ue=K[K.length-1],ue&&(ue.type==="paragraph"||ue.type==="text")?(ue.raw+=`
`+ee.raw,ue.text+=`
`+ee.text,this.inlineQueue[this.inlineQueue.length-1].src=ue.text):K.push(ee);continue}if(ee=this.tokenizer.fences(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.heading(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.hr(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.blockquote(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.list(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.html(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.def(U)){U=U.substring(ee.raw.length),ue=K[K.length-1],ue&&(ue.type==="paragraph"||ue.type==="text")?(ue.raw+=`
`+ee.raw,ue.text+=`
`+ee.raw,this.inlineQueue[this.inlineQueue.length-1].src=ue.text):this.tokens.links[ee.tag]||(this.tokens.links[ee.tag]={href:ee.href,title:ee.title});continue}if(ee=this.tokenizer.table(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.lheading(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(fe=U,this.options.extensions&&this.options.extensions.startBlock&&function(){var ye=1/0,De=U.slice(1),Me=void 0;ce.options.extensions.startBlock.forEach(function(pe){Me=pe.call({lexer:this},De),typeof Me=="number"&&Me>=0&&(ye=Math.min(ye,Me))}),ye<1/0&&ye>=0&&(fe=U.substring(0,ye+1))}(),this.state.top&&(ee=this.tokenizer.paragraph(fe))){ue=K[K.length-1],Ce&&ue.type==="paragraph"?(ue.raw+=`
`+ee.raw,ue.text+=`
`+ee.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ue.text):K.push(ee),Ce=fe.length!==U.length,U=U.substring(ee.raw.length);continue}if(ee=this.tokenizer.text(U)){U=U.substring(ee.raw.length),ue=K[K.length-1],ue&&ue.type==="text"?(ue.raw+=`
`+ee.raw,ue.text+=`
`+ee.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ue.text):K.push(ee);continue}if(U){var we="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(we);break}else throw new Error(we)}}return this.state.top=!0,K},X.inline=function(U,K){this.inlineQueue.push({src:U,tokens:K})},X.inlineTokens=function(U,K){var ce=this;K===void 0&&(K=[]);var ee,ue,fe,Ce=U,we,ye,De;if(this.tokens.links){var Me=Object.keys(this.tokens.links);if(Me.length>0)for(;(we=this.tokenizer.rules.inline.reflinkSearch.exec(Ce))!=null;)Me.includes(we[0].slice(we[0].lastIndexOf("[")+1,-1))&&(Ce=Ce.slice(0,we.index)+"["+O("a",we[0].length-2)+"]"+Ce.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(we=this.tokenizer.rules.inline.blockSkip.exec(Ce))!=null;)Ce=Ce.slice(0,we.index)+"["+O("a",we[0].length-2)+"]"+Ce.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(we=this.tokenizer.rules.inline.escapedEmSt.exec(Ce))!=null;)Ce=Ce.slice(0,we.index)+"++"+Ce.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;U;)if(ye||(De=""),ye=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(he){return(ee=he.call({lexer:ce},U,K))?(U=U.substring(ee.raw.length),K.push(ee),!0):!1}))){if(ee=this.tokenizer.escape(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.tag(U)){U=U.substring(ee.raw.length),ue=K[K.length-1],ue&&ee.type==="text"&&ue.type==="text"?(ue.raw+=ee.raw,ue.text+=ee.text):K.push(ee);continue}if(ee=this.tokenizer.link(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.reflink(U,this.tokens.links)){U=U.substring(ee.raw.length),ue=K[K.length-1],ue&&ee.type==="text"&&ue.type==="text"?(ue.raw+=ee.raw,ue.text+=ee.text):K.push(ee);continue}if(ee=this.tokenizer.emStrong(U,Ce,De)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.codespan(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.br(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.del(U)){U=U.substring(ee.raw.length),K.push(ee);continue}if(ee=this.tokenizer.autolink(U,A)){U=U.substring(ee.raw.length),K.push(ee);continue}if(!this.state.inLink&&(ee=this.tokenizer.url(U,A))){U=U.substring(ee.raw.length),K.push(ee);continue}if(fe=U,this.options.extensions&&this.options.extensions.startInline&&function(){var he=1/0,le=U.slice(1),ge=void 0;ce.options.extensions.startInline.forEach(function(_e){ge=_e.call({lexer:this},le),typeof ge=="number"&&ge>=0&&(he=Math.min(he,ge))}),he<1/0&&he>=0&&(fe=U.substring(0,he+1))}(),ee=this.tokenizer.inlineText(fe,V)){U=U.substring(ee.raw.length),ee.raw.slice(-1)!=="_"&&(De=ee.raw.slice(-1)),ye=!0,ue=K[K.length-1],ue&&ue.type==="text"?(ue.raw+=ee.raw,ue.text+=ee.text):K.push(ee);continue}if(U){var pe="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(pe);break}else throw new Error(pe)}}return K},w(z,null,[{key:"rules",get:function(){return{block:B,inline:W}}}]),z}(),J=function(){function z(G){this.options=G||$.defaults}var X=z.prototype;return X.code=function(U,K,ce){var ee=(K||"").match(/\S*/)[0];if(this.options.highlight){var ue=this.options.highlight(U,ee);ue!=null&&ue!==U&&(ce=!0,U=ue)}return U=U.replace(/\n$/,"")+`
`,ee?''+(ce?U:r(U,!0))+`
`:""+(ce?U:r(U,!0))+`
`},X.blockquote=function(U){return`
`+U+`
`},X.html=function(U){return U},X.heading=function(U,K,ce,ee){if(this.options.headerIds){var ue=this.options.headerPrefix+ee.slug(ce);return"'+U+"
`}return""+U+"
`},X.hr=function(){return this.options.xhtml?`
`:`
`},X.list=function(U,K,ce){var ee=K?"ol":"ul",ue=K&&ce!==1?' start="'+ce+'"':"";return"<"+ee+ue+`>
`+U+""+ee+`>
`},X.listitem=function(U){return""+U+`
`},X.checkbox=function(U){return" "},X.paragraph=function(U){return""+U+`
`},X.table=function(U,K){return K&&(K=""+K+""),`
`+U+`
`+K+`
`},X.tablerow=function(U){return`
`+U+`
`},X.tablecell=function(U,K){var ce=K.header?"th":"td",ee=K.align?"<"+ce+' align="'+K.align+'">':"<"+ce+">";return ee+U+(""+ce+`>
`)},X.strong=function(U){return""+U+""},X.em=function(U){return""+U+""},X.codespan=function(U){return""+U+"
"},X.br=function(){return this.options.xhtml?"
":"
"},X.del=function(U){return""+U+""},X.link=function(U,K,ce){if(U=f(this.options.sanitize,this.options.baseUrl,U),U===null)return ce;var ee='"+ce+"",ee},X.image=function(U,K,ce){if(U=f(this.options.sanitize,this.options.baseUrl,U),U===null)return ce;var ee='":">",ee},X.text=function(U){return U},z}(),H=function(){function z(){}var X=z.prototype;return X.strong=function(U){return U},X.em=function(U){return U},X.codespan=function(U){return U},X.del=function(U){return U},X.html=function(U){return U},X.text=function(U){return U},X.link=function(U,K,ce){return""+ce},X.image=function(U,K,ce){return""+ce},X.br=function(){return""},z}(),q=function(){function z(){this.seen={}}var X=z.prototype;return X.serialize=function(U){return U.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},X.getNextSafeSlug=function(U,K){var ce=U,ee=0;if(this.seen.hasOwnProperty(ce)){ee=this.seen[U];do ee++,ce=U+"-"+ee;while(this.seen.hasOwnProperty(ce))}return K||(this.seen[U]=ee,this.seen[ce]=0),ce},X.slug=function(U,K){K===void 0&&(K={});var ce=this.serialize(U);return this.getNextSafeSlug(ce,K.dryrun)},z}(),Z=function(){function z(G){this.options=G||$.defaults,this.options.renderer=this.options.renderer||new J,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new H,this.slugger=new q}z.parse=function(U,K){var ce=new z(K);return ce.parse(U)},z.parseInline=function(U,K){var ce=new z(K);return ce.parseInline(U)};var X=z.prototype;return X.parse=function(U,K){K===void 0&&(K=!0);var ce="",ee,ue,fe,Ce,we,ye,De,Me,pe,he,le,ge,_e,Le,Ie,Ae,Oe,be,ve,Ee=U.length;for(ee=0;ee0&&Ie.tokens[0].type==="paragraph"?(Ie.tokens[0].text=be+" "+Ie.tokens[0].text,Ie.tokens[0].tokens&&Ie.tokens[0].tokens.length>0&&Ie.tokens[0].tokens[0].type==="text"&&(Ie.tokens[0].tokens[0].text=be+" "+Ie.tokens[0].tokens[0].text)):Ie.tokens.unshift({type:"text",text:be}):Le+=be),Le+=this.parse(Ie.tokens,_e),pe+=this.renderer.listitem(Le,Oe,Ae);ce+=this.renderer.list(pe,le,ge);continue}case"html":{ce+=this.renderer.html(he.text);continue}case"paragraph":{ce+=this.renderer.paragraph(this.parseInline(he.tokens));continue}case"text":{for(pe=he.tokens?this.parseInline(he.tokens):he.text;ee+1An error occurred:"+r(fe.message+"",!0)+"
";throw fe}}ie.options=ie.setOptions=function(z){return E(ie.defaults,z),b(ie.defaults),ie},ie.getDefaults=L,ie.defaults=$.defaults,ie.use=function(){for(var z=arguments.length,X=new Array(z),G=0;GAn error occurred:"+r(U.message+"",!0)+"
";throw U}},ie.Parser=Z,ie.parser=Z.parse,ie.Renderer=J,ie.TextRenderer=H,ie.Lexer=Q,ie.lexer=Q.lex,ie.Tokenizer=P,ie.Slugger=q,ie.parse=ie;var Y=ie.options,te=ie.setOptions,de=ie.use,x=ie.walkTokens,oe=ie.parseInline,ne=ie,j=Z.parse,se=Q.lex;$.Lexer=Q,$.Parser=Z,$.Renderer=J,$.Slugger=q,$.TextRenderer=H,$.Tokenizer=P,$.getDefaults=L,$.lexer=se,$.marked=ie,$.options=Y,$.parse=ne,$.parseInline=oe,$.parser=j,$.setOptions=te,$.use=de,$.walkTokens=x,Object.defineProperty($,"__esModule",{value:!0})}),define(re[97],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mimes=void 0,e.Mimes=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"})}),define(re[123],ae([1,0,97]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StaticDND=e.DataTransfers=void 0,e.DataTransfers={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:w.Mimes.text},e.StaticDND={CurrentDragAndDropData:void 0}}),define(re[330],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayNavigator=void 0;class w{constructor(k,I=0,L=k.length,b=I-1){this.items=k,this.start=I,this.end=L,this.index=b}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}e.ArrayNavigator=w}),define(re[331],ae([1,0,330]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryNavigator=void 0;class C{constructor(I=[],L=10){this._initialize(I),this._limit=L,this._onChange()}getHistory(){return this._elements}add(I){this._history.delete(I),this._history.add(I),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(I){return this._history.has(I)}_onChange(){this._reduceToLimit();const I=this._elements;this._navigator=new w.ArrayNavigator(I,0,I.length,I.length)}_reduceToLimit(){const I=this._elements;I.length>this._limit&&this._initialize(I.slice(I.length-this._limit))}_currentPosition(){const I=this._navigator.current();return I?this._elements.indexOf(I):-1}_initialize(I){this._history=new Set;for(const L of I)this._history.add(L)}get _elements(){const I=[];return this._history.forEach(L=>I.push(L)),I}}e.HistoryNavigator=C}),define(re[124],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SlidingWindowAverage=e.MovingAverage=e.clamp=void 0;function w(I,L,b){return Math.min(Math.max(I,L),b)}e.clamp=w;class C{constructor(){this._n=1,this._val=0}update(L){return this._val=this._val+(L-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}e.MovingAverage=C;class k{constructor(L){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(L),this._values.fill(0,0,L)}update(L){const b=this._values[this._index];return this._values[this._index]=L,this._index=(this._index+1)%this._values.length,this._sum-=b,this._sum+=L,this._n=u.end||u.start>=v.end)return{start:0,end:0};const g=Math.max(v.start,u.start),n=Math.min(v.end,u.end);return n-g<=0?{start:0,end:0}:{start:g,end:n}}C.intersect=k;function I(v){return v.end-v.start<=0}C.isEmpty=I;function L(v,u){return!I(k(v,u))}C.intersects=L;function b(v,u){const g=[],n={start:v.start,end:Math.min(u.start,v.end)},i={start:Math.max(u.end,v.start),end:v.end};return I(n)||g.push(n),I(i)||g.push(i),g}C.relativeComplement=b})(w=e.Range||(e.Range={}))}),define(re[332],ae([1,0,146]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RangeMap=e.consolidate=e.shift=e.groupIntersect=void 0;function C(v,u){const g=[];for(const n of u){if(v.start>=n.range.end)continue;if(v.endu.concat(g),[]))}class b{constructor(){this.groups=[],this._size=0}splice(u,g,n=[]){const i=n.length-g,t=C({start:0,end:u},this.groups),r=C({start:u+g,end:Number.POSITIVE_INFINITY},this.groups).map(d=>({range:k(d.range,i),size:d.size})),l=n.map((d,a)=>({range:{start:u+a,end:u+a+1},size:d.size}));this.groups=L(t,l,r),this._size=this.groups.reduce((d,a)=>d+a.size*(a.range.end-a.range.start),0)}get count(){const u=this.groups.length;return u?this.groups[u-1].range.end:0}get size(){return this._size}indexAt(u){if(u<0)return-1;let g=0,n=0;for(const i of this.groups){const t=i.range.end-i.range.start,r=n+t*i.size;if(u=ue.length?fe:ue[we]})}e.format=b;function v(ee){return ee.replace(/[<>&]/g,function(ue){switch(ue){case"<":return"<";case">":return">";case"&":return"&";default:return ue}})}e.escape=v;function u(ee){return ee.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=u;function g(ee,ue=" "){const fe=n(ee,ue);return i(fe,ue)}e.trim=g;function n(ee,ue){if(!ee||!ue)return ee;const fe=ue.length;if(fe===0||ee.length===0)return ee;let Ce=0;for(;ee.indexOf(ue,Ce)===Ce;)Ce=Ce+fe;return ee.substring(Ce)}e.ltrim=n;function i(ee,ue){if(!ee||!ue)return ee;const fe=ue.length,Ce=ee.length;if(fe===0||Ce===0)return ee;let we=Ce,ye=-1;for(;ye=ee.lastIndexOf(ue,we-1),!(ye===-1||ye+fe!==we);){if(ye===0)return"";we=ye}return ee.substring(0,we)}e.rtrim=i;function t(ee){return ee.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=t;function r(ee){return ee.replace(/\*/g,"")}e.stripWildcards=r;function l(ee,ue,fe={}){if(!ee)throw new Error("Cannot create regex from empty string");ue||(ee=u(ee)),fe.wholeWord&&(/\B/.test(ee.charAt(0))||(ee="\\b"+ee),/\B/.test(ee.charAt(ee.length-1))||(ee=ee+"\\b"));let Ce="";return fe.global&&(Ce+="g"),fe.matchCase||(Ce+="i"),fe.multiline&&(Ce+="m"),fe.unicode&&(Ce+="u"),new RegExp(ee,Ce)}e.createRegExp=l;function d(ee){return ee.source==="^"||ee.source==="^$"||ee.source==="$"||ee.source==="^\\s*$"?!1:!!(ee.exec("")&&ee.lastIndex===0)}e.regExpLeadsToEndlessLoop=d;function a(ee){return(ee.global?"g":"")+(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")}e.regExpFlags=a;function s(ee){return ee.split(/\r\n|\r|\n/)}e.splitLines=s;function o(ee){for(let ue=0,fe=ee.length;ue=0;fe--){const Ce=ee.charCodeAt(fe);if(Ce!==32&&Ce!==9)return fe}return-1}e.lastNonWhitespaceIndex=f;function p(ee,ue){return eeue?1:0}e.compare=p;function _(ee,ue,fe=0,Ce=ee.length,we=0,ye=ue.length){for(;fehe)return 1}const De=Ce-fe,Me=ye-we;return DeMe?1:0}e.compareSubstring=_;function m(ee,ue){return h(ee,ue,0,ee.length,0,ue.length)}e.compareIgnoreCase=m;function h(ee,ue,fe=0,Ce=ee.length,we=0,ye=ue.length){for(;fe=128||he>=128)return _(ee.toLowerCase(),ue.toLowerCase(),fe,Ce,we,ye);y(pe)&&(pe-=32),y(he)&&(he-=32);const le=pe-he;if(le!==0)return le}const De=Ce-fe,Me=ye-we;return DeMe?1:0}e.compareSubstringIgnoreCase=h;function S(ee){return ee>=48&&ee<=57}e.isAsciiDigit=S;function y(ee){return ee>=97&&ee<=122}e.isLowerAsciiLetter=y;function E(ee){return ee>=65&&ee<=90}e.isUpperAsciiLetter=E;function N(ee,ue){return ee.length===ue.length&&h(ee,ue)===0}e.equalsIgnoreCase=N;function T(ee,ue){const fe=ue.length;return ue.length>ee.length?!1:h(ee,ue,0,fe)===0}e.startsWithIgnoreCase=T;function R(ee,ue){const fe=Math.min(ee.length,ue.length);let Ce;for(Ce=0;Ce1){const Ce=ee.charCodeAt(ue-2);if(O(Ce))return M(Ce,fe)}return fe}class W{constructor(ue,fe=0){this._str=ue,this._len=ue.length,this._offset=fe}get offset(){return this._offset}setOffset(ue){this._offset=ue}prevCodePoint(){const ue=B(this._str,this._offset);return this._offset-=ue>=65536?2:1,ue}nextCodePoint(){const ue=P(this._str,this._len,this._offset);return this._offset+=ue>=65536?2:1,ue}eol(){return this._offset>=this._len}}e.CodePointIterator=W;class V{constructor(ue,fe=0){this._iterator=new W(ue,fe)}get offset(){return this._iterator.offset}nextGraphemeLength(){const ue=se.getInstance(),fe=this._iterator,Ce=fe.offset;let we=ue.getGraphemeBreakType(fe.nextCodePoint());for(;!fe.eol();){const ye=fe.offset,De=ue.getGraphemeBreakType(fe.nextCodePoint());if(j(we,De)){fe.setOffset(ye);break}we=De}return fe.offset-Ce}prevGraphemeLength(){const ue=se.getInstance(),fe=this._iterator,Ce=fe.offset;let we=ue.getGraphemeBreakType(fe.prevCodePoint());for(;fe.offset>0;){const ye=fe.offset,De=ue.getGraphemeBreakType(fe.prevCodePoint());if(j(De,we)){fe.setOffset(ye);break}we=De}return Ce-fe.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=V;function A(ee,ue){return new V(ee,ue).nextGraphemeLength()}e.nextCharLength=A;function Q(ee,ue){return new V(ee,ue).prevGraphemeLength()}e.prevCharLength=Q;function J(ee,ue){ue>0&&D(ee.charCodeAt(ue))&&ue--;const fe=ue+A(ee,ue);return[fe-Q(ee,fe),fe]}e.getCharContainingOffset=J;const H=/(?:[\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\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function q(ee){return H.test(ee)}e.containsRTL=q;const Z=/^[\t\n\r\x20-\x7E]*$/;function ie(ee){return Z.test(ee)}e.isBasicASCII=ie,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function Y(ee){return e.UNUSUAL_LINE_TERMINATORS.test(ee)}e.containsUnusualLineTerminators=Y;function te(ee){return ee>=11904&&ee<=55215||ee>=63744&&ee<=64255||ee>=65281&&ee<=65374}e.isFullWidthCharacter=te;function de(ee){return ee>=127462&&ee<=127487||ee===8986||ee===8987||ee===9200||ee===9203||ee>=9728&&ee<=10175||ee===11088||ee===11093||ee>=127744&&ee<=128591||ee>=128640&&ee<=128764||ee>=128992&&ee<=129008||ee>=129280&&ee<=129535||ee>=129648&&ee<=129782}e.isEmojiImprecise=de,e.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function x(ee){return!!(ee&&ee.length>0&&ee.charCodeAt(0)===65279)}e.startsWithUTF8BOM=x;function oe(ee,ue=!1){return ee?(ue&&(ee=ee.replace(/\\./g,"")),ee.toLowerCase()!==ee):!1}e.containsUppercaseCharacter=oe;function ne(ee){const ue=90-65+1;return ee=ee%(2*ue),eefe[3*we+1])we=2*we+1;else return fe[3*we+2];return 0}}se._INSTANCE=null;function z(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,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,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,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,129008,129008,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,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,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,2192,2193,1,2250,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,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,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,6862,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,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,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,9775,9775,14,9784,9785,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,9874,14,9876,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,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,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,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,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,118528,118573,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,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function X(ee,ue){if(ee===0)return 0;const fe=G(ee,ue);if(fe!==void 0)return fe;const Ce=new W(ue,ee);return Ce.prevCodePoint(),Ce.offset}e.getLeftDeleteOffset=X;function G(ee,ue){const fe=new W(ue,ee);let Ce=fe.prevCodePoint();for(;U(Ce)||Ce===65039||Ce===8419;){if(fe.offset===0)return;Ce=fe.prevCodePoint()}if(!de(Ce))return;let we=fe.offset;return we>0&&fe.prevCodePoint()===8205&&(we=fe.offset),we}function U(ee){return 127995<=ee&&ee<=127999}e.noBreakWhitespace="\xA0";class K{constructor(ue){this.confusableDictionary=ue}static getInstance(ue){return K.cache.get(Array.from(ue))}static getLocales(){return K._locales.getValue()}isAmbiguous(ue){return this.confusableDictionary.has(ue)}getPrimaryConfusable(ue){return this.confusableDictionary.get(ue)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=K,k=K,K.ambiguousCharacterData=new C.Lazy(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),K.cache=new w.LRUCachedFunction(ee=>{function ue(he){const le=new Map;for(let ge=0;ge!he.startsWith("_")&&he in we);ye.length===0&&(ye=["_default"]);let De;for(const he of ye){const le=ue(we[he]);De=Ce(De,le)}const Me=ue(we._common),pe=fe(Me,De);return new K(pe)}),K._locales=new C.Lazy(()=>Object.keys(K.ambiguousCharacterData.getValue()).filter(ee=>!ee.startsWith("_")));class ce{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(ce.getRawData())),this._data}static isInvisibleCharacter(ue){return ce.getData().has(ue)}static get codePoints(){return ce.getData()}}e.InvisibleCharacters=ce,ce._data=void 0}),define(re[105],ae([1,0,8]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringSHA1=e.toHexString=e.stringHash=e.numberHash=e.doHash=e.hash=void 0;function C(l){return k(l,0)}e.hash=C;function k(l,d){switch(typeof l){case"object":return l===null?I(349,d):Array.isArray(l)?v(l,d):u(l,d);case"string":return b(l,d);case"boolean":return L(l,d);case"number":return I(l,d);case"undefined":return I(937,d);default:return I(617,d)}}e.doHash=k;function I(l,d){return(d<<5)-d+l|0}e.numberHash=I;function L(l,d){return I(l?433:863,d)}function b(l,d){d=I(149417,d);for(let a=0,s=l.length;ak(s,a),d)}function u(l,d){return d=I(181387,d),Object.keys(l).sort().reduce((a,s)=>(a=b(s,a),k(l[s],a)),d)}function g(l,d,a=32){const s=a-d,o=~((1<>>s)>>>0}function n(l,d=0,a=l.byteLength,s=0){for(let o=0;oa.toString(16).padStart(2,"0")).join(""):i((l>>>0).toString(16),d/4)}e.toHexString=t;class r{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(d){const a=d.length;if(a===0)return;const s=this._buff;let o=this._buffLen,c=this._leftoverHighSurrogate,f,p;for(c!==0?(f=c,p=-1,c=0):(f=d.charCodeAt(0),p=0);;){let _=f;if(w.isHighSurrogate(f))if(p+1>>6,d[a++]=128|(s&63)>>>0):s<65536?(d[a++]=224|(s&61440)>>>12,d[a++]=128|(s&4032)>>>6,d[a++]=128|(s&63)>>>0):(d[a++]=240|(s&1835008)>>>18,d[a++]=128|(s&258048)>>>12,d[a++]=128|(s&4032)>>>6,d[a++]=128|(s&63)>>>0),a>=64&&(this._step(),a-=64,this._totalLen+=64,d[0]=d[64+0],d[1]=d[64+1],d[2]=d[64+2]),a}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),t(this._h0)+t(this._h1)+t(this._h2)+t(this._h3)+t(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,n(this._buff,this._buffLen),this._buffLen>56&&(this._step(),n(this._buff));const d=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(d/4294967296),!1),this._buffDV.setUint32(60,d%4294967296,!1),this._step()}_step(){const d=r._bigBlock32,a=this._buffDV;for(let S=0;S<64;S+=4)d.setUint32(S,a.getUint32(S,!1),!1);for(let S=64;S<320;S+=4)d.setUint32(S,g(d.getUint32(S-12,!1)^d.getUint32(S-32,!1)^d.getUint32(S-56,!1)^d.getUint32(S-64,!1),1),!1);let s=this._h0,o=this._h1,c=this._h2,f=this._h3,p=this._h4,_,m,h;for(let S=0;S<80;S++)S<20?(_=o&c|~o&f,m=1518500249):S<40?(_=o^c^f,m=1859775393):S<60?(_=o&c|o&f|c&f,m=2400959708):(_=o^c^f,m=3395469782),h=g(s,5)+_+p+m+d.getUint32(S*4,!1)&4294967295,p=f,f=c,c=g(o,30),o=s,s=h;this._h0=this._h0+s&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+c&4294967295,this._h3=this._h3+f&4294967295,this._h4=this._h4+p&4294967295}}e.StringSHA1=r,r._bigBlock32=new DataView(new ArrayBuffer(320))}),define(re[147],ae([1,0,328,105]),function($,e,w,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LcsDiff=e.MyArray=e.Debug=e.stringDiff=e.StringDiffSequence=void 0;class k{constructor(n){this.source=n}getElements(){const n=this.source,i=new Int32Array(n.length);for(let t=0,r=n.length;t0||this.m_modifiedCount>0)&&this.m_changes.push(new w.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(n,i){this.m_originalStart=Math.min(this.m_originalStart,n),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),this.m_originalCount++}AddModifiedElement(n,i){this.m_originalStart=Math.min(this.m_originalStart,n),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class u{constructor(n,i,t=null){this.ContinueProcessingPredicate=t,this._originalSequence=n,this._modifiedSequence=i;const[r,l,d]=u._getElements(n),[a,s,o]=u._getElements(i);this._hasStrings=d&&o,this._originalStringElements=r,this._originalElementsOrHash=l,this._modifiedStringElements=a,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(n){return n.length>0&&typeof n[0]=="string"}static _getElements(n){const i=n.getElements();if(u._isStringArray(i)){const t=new Int32Array(i.length);for(let r=0,l=i.length;r=n&&r>=t&&this.ElementsAreEqual(i,r);)i--,r--;if(n>i||t>r){let f;return t<=r?(L.Assert(n===i+1,"originalStart should only be one more than originalEnd"),f=[new w.DiffChange(n,0,t,r-t+1)]):n<=i?(L.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),f=[new w.DiffChange(n,i-n+1,t,0)]):(L.Assert(n===i+1,"originalStart should only be one more than originalEnd"),L.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),f=[]),f}const d=[0],a=[0],s=this.ComputeRecursionPoint(n,i,t,r,d,a,l),o=d[0],c=a[0];if(s!==null)return s;if(!l[0]){const f=this.ComputeDiffRecursive(n,o,t,c,l);let p=[];return l[0]?p=[new w.DiffChange(o+1,i-(o+1)+1,c+1,r-(c+1)+1)]:p=this.ComputeDiffRecursive(o+1,i,c+1,r,l),this.ConcatenateChanges(f,p)}return[new w.DiffChange(n,i-n+1,t,r-t+1)]}WALKTRACE(n,i,t,r,l,d,a,s,o,c,f,p,_,m,h,S,y,E){let N=null,T=null,R=new v,F=i,O=t,D=_[0]-S[0]-r,M=-1073741824,P=this.m_forwardHistory.length-1;do{const B=D+n;B===F||B=0&&(o=this.m_forwardHistory[P],n=o[0],F=1,O=o.length-1)}while(--P>=-1);if(N=R.getReverseChanges(),E[0]){let B=_[0]+1,W=S[0]+1;if(N!==null&&N.length>0){const V=N[N.length-1];B=Math.max(B,V.getOriginalEnd()),W=Math.max(W,V.getModifiedEnd())}T=[new w.DiffChange(B,p-B+1,W,h-W+1)]}else{R=new v,F=d,O=a,D=_[0]-S[0]-s,M=1073741824,P=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const B=D+l;B===F||B=c[B+1]?(f=c[B+1]-1,m=f-D-s,f>M&&R.MarkNextChange(),M=f+1,R.AddOriginalElement(f+1,m+1),D=B+1-l):(f=c[B-1],m=f-D-s,f>M&&R.MarkNextChange(),M=f,R.AddModifiedElement(f+1,m+1),D=B-1-l),P>=0&&(c=this.m_reverseHistory[P],l=c[0],F=1,O=c.length-1)}while(--P>=-1);T=R.getChanges()}return this.ConcatenateChanges(N,T)}ComputeRecursionPoint(n,i,t,r,l,d,a){let s=0,o=0,c=0,f=0,p=0,_=0;n--,t--,l[0]=0,d[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const m=i-n+(r-t),h=m+1,S=new Int32Array(h),y=new Int32Array(h),E=r-t,N=i-n,T=n-t,R=i-r,O=(N-E)%2==0;S[E]=n,y[N]=i,a[0]=!1;for(let D=1;D<=m/2+1;D++){let M=0,P=0;c=this.ClipDiagonalBound(E-D,D,E,h),f=this.ClipDiagonalBound(E+D,D,E,h);for(let W=c;W<=f;W+=2){W===c||WM+P&&(M=s,P=o),!O&&Math.abs(W-N)<=D-1&&s>=y[W])return l[0]=s,d[0]=o,V<=y[W]&&1447>0&&D<=1447+1?this.WALKTRACE(E,c,f,T,N,p,_,R,S,y,s,i,l,o,r,d,O,a):null}const B=(M-n+(P-t)-D)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(M,B))return a[0]=!0,l[0]=M,d[0]=P,B>0&&1447>0&&D<=1447+1?this.WALKTRACE(E,c,f,T,N,p,_,R,S,y,s,i,l,o,r,d,O,a):(n++,t++,[new w.DiffChange(n,i-n+1,t,r-t+1)]);p=this.ClipDiagonalBound(N-D,D,N,h),_=this.ClipDiagonalBound(N+D,D,N,h);for(let W=p;W<=_;W+=2){W===p||W<_&&y[W-1]>=y[W+1]?s=y[W+1]-1:s=y[W-1],o=s-(W-N)-R;const V=s;for(;s>n&&o>t&&this.ElementsAreEqual(s,o);)s--,o--;if(y[W]=s,O&&Math.abs(W-E)<=D&&s<=S[W])return l[0]=s,d[0]=o,V>=S[W]&&1447>0&&D<=1447+1?this.WALKTRACE(E,c,f,T,N,p,_,R,S,y,s,i,l,o,r,d,O,a):null}if(D<=1447){let W=new Int32Array(f-c+2);W[0]=E-c+1,b.Copy2(S,c,W,1,f-c+1),this.m_forwardHistory.push(W),W=new Int32Array(_-p+2),W[0]=N-p+1,b.Copy2(y,p,W,1,_-p+1),this.m_reverseHistory.push(W)}}return this.WALKTRACE(E,c,f,T,N,p,_,R,S,y,s,i,l,o,r,d,O,a)}PrettifyChanges(n){for(let i=0;i0,a=t.modifiedLength>0;for(;t.originalStart+t.originalLength=0;i--){const t=n[i];let r=0,l=0;if(i>0){const f=n[i-1];r=f.originalStart+f.originalLength,l=f.modifiedStart+f.modifiedLength}const d=t.originalLength>0,a=t.modifiedLength>0;let s=0,o=this._boundaryScore(t.originalStart,t.originalLength,t.modifiedStart,t.modifiedLength);for(let f=1;;f++){const p=t.originalStart-f,_=t.modifiedStart-f;if(po&&(o=h,s=f)}t.originalStart-=s,t.modifiedStart-=s;const c=[null];if(i>0&&this.ChangesOverlap(n[i-1],n[i],c)){n[i-1]=c[0],n.splice(i,1),i++;continue}}if(this._hasStrings)for(let i=1,t=n.length;i0&&_>s&&(s=_,o=f,c=p)}return s>0?[o,c]:null}_contiguousSequenceScore(n,i,t){let r=0;for(let l=0;l=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[n])}_OriginalRegionIsBoundary(n,i){if(this._OriginalIsBoundary(n)||this._OriginalIsBoundary(n-1))return!0;if(i>0){const t=n+i;if(this._OriginalIsBoundary(t-1)||this._OriginalIsBoundary(t))return!0}return!1}_ModifiedIsBoundary(n){return n<=0||n>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[n])}_ModifiedRegionIsBoundary(n,i){if(this._ModifiedIsBoundary(n)||this._ModifiedIsBoundary(n-1))return!0;if(i>0){const t=n+i;if(this._ModifiedIsBoundary(t-1)||this._ModifiedIsBoundary(t))return!0}return!1}_boundaryScore(n,i,t,r){const l=this._OriginalRegionIsBoundary(n,i)?1:0,d=this._ModifiedRegionIsBoundary(t,r)?1:0;return l+d}ConcatenateChanges(n,i){const t=[];if(n.length===0||i.length===0)return i.length>0?i:n;if(this.ChangesOverlap(n[n.length-1],i[0],t)){const r=new Array(n.length+i.length-1);return b.Copy(n,0,r,0,n.length-1),r[n.length-1]=t[0],b.Copy(i,1,r,n.length,i.length-1),r}else{const r=new Array(n.length+i.length);return b.Copy(n,0,r,0,n.length),b.Copy(i,0,r,n.length,i.length),r}}ChangesOverlap(n,i,t){if(L.Assert(n.originalStart<=i.originalStart,"Left change is not less than or equal to right change"),L.Assert(n.modifiedStart<=i.modifiedStart,"Left change is not less than or equal to right change"),n.originalStart+n.originalLength>=i.originalStart||n.modifiedStart+n.modifiedLength>=i.modifiedStart){const r=n.originalStart;let l=n.originalLength;const d=n.modifiedStart;let a=n.modifiedLength;return n.originalStart+n.originalLength>=i.originalStart&&(l=i.originalStart+i.originalLength-n.originalStart),n.modifiedStart+n.modifiedLength>=i.modifiedStart&&(a=i.modifiedStart+i.modifiedLength-n.modifiedStart),t[0]=new w.DiffChange(r,l,d,a),!0}else return t[0]=null,!1}ClipDiagonalBound(n,i,t,r){if(n>=0&&n=0;a--,this._valueLen--){const s=this._value.charCodeAt(a);if(!(s===47||this._splitOnBackslash&&s===92))break}return this.next()}hasNext(){return this._to!1,a=()=>!1){return new g(new v(d,a))}static forStrings(){return new g(new I)}static forConfigKeys(){return new g(new L)}clear(){this._root=void 0}set(d,a){const s=this._iter.reset(d);let o;this._root||(this._root=new u,this._root.segment=s.value());const c=[];for(o=this._root;;){const p=s.cmp(o.segment);if(p>0)o.left||(o.left=new u,o.left.segment=s.value()),c.push([-1,o]),o=o.left;else if(p<0)o.right||(o.right=new u,o.right.segment=s.value()),c.push([1,o]),o=o.right;else if(s.hasNext())s.next(),o.mid||(o.mid=new u,o.mid.segment=s.value()),c.push([0,o]),o=o.mid;else break}const f=o.value;o.value=a,o.key=d;for(let p=c.length-1;p>=0;p--){const _=c[p][1];_.updateHeight();const m=_.balanceFactor();if(m<-1||m>1){const h=c[p][0],S=c[p+1][0];if(h===1&&S===1)c[p][1]=_.rotateLeft();else if(h===-1&&S===-1)c[p][1]=_.rotateRight();else if(h===1&&S===-1)_.right=c[p+1][1]=c[p+1][1].rotateRight(),c[p][1]=_.rotateLeft();else if(h===-1&&S===1)_.left=c[p+1][1]=c[p+1][1].rotateLeft(),c[p][1]=_.rotateRight();else throw new Error;if(p>0)switch(c[p-1][0]){case-1:c[p-1][1].left=c[p][1];break;case 1:c[p-1][1].right=c[p][1];break;case 0:c[p-1][1].mid=c[p][1];break}else this._root=c[0][1]}}return f}get(d){var a;return(a=this._getNode(d))===null||a===void 0?void 0:a.value}_getNode(d){const a=this._iter.reset(d);let s=this._root;for(;s;){const o=a.cmp(s.segment);if(o>0)s=s.left;else if(o<0)s=s.right;else if(a.hasNext())a.next(),s=s.mid;else break}return s}has(d){const a=this._getNode(d);return!((a==null?void 0:a.value)===void 0&&(a==null?void 0:a.mid)===void 0)}delete(d){return this._delete(d,!1)}deleteSuperstr(d){return this._delete(d,!0)}_delete(d,a){var s;const o=this._iter.reset(d),c=[];let f=this._root;for(;f;){const p=o.cmp(f.segment);if(p>0)c.push([-1,f]),f=f.left;else if(p<0)c.push([1,f]),f=f.right;else if(o.hasNext())o.next(),c.push([0,f]),f=f.mid;else break}if(!!f){if(a?(f.left=void 0,f.mid=void 0,f.right=void 0,f.height=1):(f.key=void 0,f.value=void 0),!f.mid&&!f.value)if(f.left&&f.right){const p=this._min(f.right),{key:_,value:m,segment:h}=p;this._delete(p.key,!1),f.key=_,f.value=m,f.segment=h}else{const p=(s=f.left)!==null&&s!==void 0?s:f.right;if(c.length>0){const[_,m]=c[c.length-1];switch(_){case-1:m.left=p;break;case 0:m.mid=p;break;case 1:m.right=p;break}}else this._root=p}for(let p=c.length-1;p>=0;p--){const _=c[p][1];_.updateHeight();const m=_.balanceFactor();if(m>1?(_.right.balanceFactor()>=0||(_.right=_.right.rotateRight()),c[p][1]=_.rotateLeft()):m<-1&&(_.left.balanceFactor()<=0||(_.left=_.left.rotateLeft()),c[p][1]=_.rotateRight()),p>0)switch(c[p-1][0]){case-1:c[p-1][1].left=c[p][1];break;case 1:c[p-1][1].right=c[p][1];break;case 0:c[p-1][1].mid=c[p][1];break}else this._root=c[0][1]}}}_min(d){for(;d.left;)d=d.left;return d}findSubstr(d){const a=this._iter.reset(d);let s=this._root,o;for(;s;){const c=a.cmp(s.segment);if(c>0)s=s.left;else if(c<0)s=s.right;else if(a.hasNext())a.next(),o=s.value||o,s=s.mid;else break}return s&&s.value||o}findSuperstr(d){const a=this._iter.reset(d);let s=this._root;for(;s;){const o=a.cmp(s.segment);if(o>0)s=s.left;else if(o<0)s=s.right;else if(a.hasNext())a.next(),s=s.mid;else return s.mid?this._entries(s.mid):void 0}}forEach(d){for(const[a,s]of this)d(s,a)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(d){const a=[];return this._dfsEntries(d,a),a[Symbol.iterator]()}_dfsEntries(d,a){!d||(d.left&&this._dfsEntries(d.left,a),d.value&&a.push([d.key,d.value]),d.mid&&this._dfsEntries(d.mid,a),d.right&&this._dfsEntries(d.right,a))}}e.TernarySearchTree=g;class n{constructor(d,a){this.uri=d,this.value=a}}class i{constructor(d,a){this[C]="ResourceMap",d instanceof i?(this.map=new Map(d.map),this.toKey=a??i.defaultToKey):(this.map=new Map,this.toKey=d??i.defaultToKey)}set(d,a){return this.map.set(this.toKey(d),new n(d,a)),this}get(d){var a;return(a=this.map.get(this.toKey(d)))===null||a===void 0?void 0:a.value}has(d){return this.map.has(this.toKey(d))}get size(){return this.map.size}clear(){this.map.clear()}delete(d){return this.map.delete(this.toKey(d))}forEach(d,a){typeof a!="undefined"&&(d=d.bind(a));for(const[s,o]of this.map)d(o.value,o.uri,this)}*values(){for(const d of this.map.values())yield d.value}*keys(){for(const d of this.map.values())yield d.uri}*entries(){for(const d of this.map.values())yield[d.uri,d.value]}*[(C=Symbol.toStringTag,Symbol.iterator)](){for(const[,d]of this.map)yield[d.uri,d.value]}}e.ResourceMap=i,i.defaultToKey=l=>l.toString();class t{constructor(){this[k]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var d;return(d=this._head)===null||d===void 0?void 0:d.value}get last(){var d;return(d=this._tail)===null||d===void 0?void 0:d.value}has(d){return this._map.has(d)}get(d,a=0){const s=this._map.get(d);if(!!s)return a!==0&&this.touch(s,a),s.value}set(d,a,s=0){let o=this._map.get(d);if(o)o.value=a,s!==0&&this.touch(o,s);else{switch(o={key:d,value:a,next:void 0,previous:void 0},s){case 0:this.addItemLast(o);break;case 1:this.addItemFirst(o);break;case 2:this.addItemLast(o);break;default:this.addItemLast(o);break}this._map.set(d,o),this._size++}return this}delete(d){return!!this.remove(d)}remove(d){const a=this._map.get(d);if(!!a)return this._map.delete(d),this.removeItem(a),this._size--,a.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const d=this._head;return this._map.delete(d.key),this.removeItem(d),this._size--,d.value}forEach(d,a){const s=this._state;let o=this._head;for(;o;){if(a?d.bind(a)(o.value,o.key,this):d(o.value,o.key,this),this._state!==s)throw new Error("LinkedMap got modified during iteration.");o=o.next}}keys(){const d=this,a=this._state;let s=this._head;const o={[Symbol.iterator](){return o},next(){if(d._state!==a)throw new Error("LinkedMap got modified during iteration.");if(s){const c={value:s.key,done:!1};return s=s.next,c}else return{value:void 0,done:!0}}};return o}values(){const d=this,a=this._state;let s=this._head;const o={[Symbol.iterator](){return o},next(){if(d._state!==a)throw new Error("LinkedMap got modified during iteration.");if(s){const c={value:s.value,done:!1};return s=s.next,c}else return{value:void 0,done:!0}}};return o}entries(){const d=this,a=this._state;let s=this._head;const o={[Symbol.iterator](){return o},next(){if(d._state!==a)throw new Error("LinkedMap got modified during iteration.");if(s){const c={value:[s.key,s.value],done:!1};return s=s.next,c}else return{value:void 0,done:!0}}};return o}[(k=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(d){if(d>=this.size)return;if(d===0){this.clear();return}let a=this._head,s=this.size;for(;a&&s>d;)this._map.delete(a.key),a=a.next,s--;this._head=a,this._size=s,a&&(a.previous=void 0),this._state++}addItemFirst(d){if(!this._head&&!this._tail)this._tail=d;else if(this._head)d.next=this._head,this._head.previous=d;else throw new Error("Invalid list");this._head=d,this._state++}addItemLast(d){if(!this._head&&!this._tail)this._head=d;else if(this._tail)d.previous=this._tail,this._tail.next=d;else throw new Error("Invalid list");this._tail=d,this._state++}removeItem(d){if(d===this._head&&d===this._tail)this._head=void 0,this._tail=void 0;else if(d===this._head){if(!d.next)throw new Error("Invalid list");d.next.previous=void 0,this._head=d.next}else if(d===this._tail){if(!d.previous)throw new Error("Invalid list");d.previous.next=void 0,this._tail=d.previous}else{const a=d.next,s=d.previous;if(!a||!s)throw new Error("Invalid list");a.previous=s,s.next=a}d.next=void 0,d.previous=void 0,this._state++}touch(d,a){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(a!==1&&a!==2)){if(a===1){if(d===this._head)return;const s=d.next,o=d.previous;d===this._tail?(o.next=void 0,this._tail=o):(s.previous=o,o.next=s),d.previous=void 0,d.next=this._head,this._head.previous=d,this._head=d,this._state++}else if(a===2){if(d===this._tail)return;const s=d.next,o=d.previous;d===this._head?(s.previous=void 0,this._head=s):(s.previous=o,o.next=s),d.next=void 0,d.previous=this._tail,this._tail.next=d,this._tail=d,this._state++}}}toJSON(){const d=[];return this.forEach((a,s)=>{d.push([s,a])}),d}fromJSON(d){this.clear();for(const[a,s]of d)this.set(a,s)}}e.LinkedMap=t;class r extends t{constructor(d,a=1){super();this._limit=d,this._ratio=Math.min(Math.max(0,a),1)}get limit(){return this._limit}set limit(d){this._limit=d,this.checkTrim()}get(d,a=2){return super.get(d,a)}peek(d){return super.get(d,0)}set(d,a){return super.set(d,a,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}e.LRUCache=r}),define(re[63],ae([1,0,51,8]),function($,e,w,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fuzzyScoreGracefulAggressive=e.fuzzyScore=e.FuzzyScoreOptions=e.FuzzyScore=e.isPatternInWord=e.createMatches=e.anyScore=e.matchesFuzzy=e.matchesWords=e.matchesCamelCase=e.isUpper=e.matchesSubString=e.matchesContiguousSubString=e.matchesPrefix=e.matchesStrictPrefix=e.or=void 0;function k(...G){return function(U,K){for(let ce=0,ee=G.length;ce0?[{start:0,end:U.length}]:[]:null}function L(G,U){const K=U.toLowerCase().indexOf(G.toLowerCase());return K===-1?null:[{start:K,end:K+G.length}]}e.matchesContiguousSubString=L;function b(G,U){return v(G.toLowerCase(),U.toLowerCase(),0,0)}e.matchesSubString=b;function v(G,U,K,ce){if(K===G.length)return[];if(ce===U.length)return null;if(G[K]===U[ce]){let ee=null;return(ee=v(G,U,K+1,ce+1))?a({start:ce,end:ce+1},ee):null}return v(G,U,K,ce+1)}function u(G){return 97<=G&&G<=122}function g(G){return 65<=G&&G<=90}e.isUpper=g;function n(G){return 48<=G&&G<=57}function i(G){return G===32||G===9||G===10||G===13}const t=new Set;"()[]{}<>`'\"-/;:,.?!".split("").forEach(G=>t.add(G.charCodeAt(0)));function r(G){return i(G)||t.has(G)}function l(G,U){return G===U||r(G)&&r(U)}function d(G){return u(G)||g(G)||n(G)}function a(G,U){return U.length===0?U=[G]:G.end===U[0].start?U[0].start=G.start:U.unshift(G),U}function s(G,U){for(let K=U;K0&&!d(G.charCodeAt(K-1)))return K}return G.length}function o(G,U,K,ce){if(K===G.length)return[];if(ce===U.length)return null;if(G[K]!==U[ce].toLowerCase())return null;{let ee=null,ue=ce+1;for(ee=o(G,U,K+1,ce+1);!ee&&(ue=s(U,ue)).6}function p(G){const{upperPercent:U,lowerPercent:K,alphaPercent:ce,numericPercent:ee}=G;return K>.2&&U<.8&&ce>.6&&ee<.2}function _(G){let U=0,K=0,ce=0,ee=0;for(let ue=0;ue60)return null;const K=c(U);if(!p(K)){if(!f(K))return null;U=U.toLowerCase()}let ce=null,ee=0;for(G=G.toLowerCase();ee0&&r(G.charCodeAt(K-1)))return K;return G.length}const E=k(e.matchesPrefix,m,L),N=k(e.matchesPrefix,m,b),T=new w.LRUCache(1e4);function R(G,U,K=!1){if(typeof G!="string"||typeof U!="string")return null;let ce=T.get(G);ce||(ce=new RegExp(C.convertSimple2RegExpPattern(G),"i"),T.set(G,ce));const ee=ce.exec(U);return ee?[{start:ee.index,end:ee.index+ee[0].length}]:K?N(G,U):E(G,U)}e.matchesFuzzy=R;function F(G,U,K,ce,ee,ue){const fe=Math.min(13,G.length);for(;K1;ce--){const ee=G[ce]+K,ue=U[U.length-1];ue&&ue.end===ee?ue.end=ee+1:U.push({start:ee,end:ee+1})}return U}e.createMatches=O;const D=128;function M(){const G=[],U=[];for(let K=0;K<=D;K++)U[K]=0;for(let K=0;K<=D;K++)G.push(U.slice(0));return G}function P(G){const U=[];for(let K=0;K<=G;K++)U[K]=0;return U}const B=P(2*D),W=P(2*D),V=M(),A=M(),Q=M(),J=!1;function H(G,U,K,ce,ee){function ue(Ce,we,ye=" "){for(;Ce.lengthue(Ce,3)).join("|")}
`;for(let Ce=0;Ce<=K;Ce++)Ce===0?fe+=" |":fe+=`${U[Ce-1]}|`,fe+=G[Ce].slice(0,ee+1).map(we=>ue(we.toString(),3)).join("|")+`
`;return fe}function q(G,U,K,ce){G=G.substr(U),K=K.substr(ce),console.log(H(A,G,G.length,K,K.length)),console.log(H(Q,G,G.length,K,K.length)),console.log(H(V,G,G.length,K,K.length))}function Z(G,U){if(U<0||U>=G.length)return!1;const K=G.codePointAt(U);switch(K){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 62:case 40:case 41:case 91:case 93:case 123:case 125:return!0;case void 0:return!1;default:return!!C.isEmojiImprecise(K)}}function ie(G,U){if(U<0||U>=G.length)return!1;switch(G.charCodeAt(U)){case 32:case 9:return!0;default:return!1}}function Y(G,U,K){return U[G]!==K[G]}function te(G,U,K,ce,ee,ue,fe=!1){for(;UD?D:G.length,we=ce.length>D?D:ce.length;if(K>=Ce||ue>=we||Ce-K>we-ue||!te(U,K,Ce,ee,ue,we,!0))return;ne(Ce,we,K,ue,U,ee);let ye=1,De=1,Me=K,pe=ue;const he=[!1];for(ye=1,Me=K;MeIe,Te=Re?A[ye][De-1]+(V[ye][De-1]>0?-5:0):0,Be=pe>Ie+1&&V[ye][De-1]>0,xe=Be?A[ye][De-2]+(V[ye][De-2]>0?-5:0):0;if(Be&&(!Re||xe>=Te)&&(!ve||xe>=Ee))A[ye][De]=xe,Q[ye][De]=3,V[ye][De]=0;else if(Re&&(!ve||Te>=Ee))A[ye][De]=Te,Q[ye][De]=2,V[ye][De]=0;else if(ve)A[ye][De]=Ee,Q[ye][De]=1,V[ye][De]=V[ye-1][De-1]+1;else throw new Error("not possible")}}if(J&&q(G,K,ce,ue),!he[0]&&!fe.firstMatchCanBeWeak)return;ye--,De--;const le=[A[ye][De],ue];let ge=0,_e=0;for(;ye>=1;){let Ie=De;do{const Ae=Q[ye][Ie];if(Ae===3)Ie=Ie-2;else if(Ae===2)Ie=Ie-1;else break}while(Ie>=1);ge>1&&U[K+ye-1]===ee[ue+De-1]&&!Y(Ie+ue-1,ce,ee)&&ge+1>V[ye][Ie]&&(Ie=De),Ie===De?ge++:ge=1,_e||(_e=Ie),ye--,De=Ie-1,le.push(De)}we===Ce&&fe.boostFullMatch&&(le[0]+=2);const Le=_e-Ce;return le[0]-=Le,le}e.fuzzyScore=oe;function ne(G,U,K,ce,ee,ue){let fe=G-1,Ce=U-1;for(;fe>=K&&Ce>=ce;)ee[fe]===ue[Ce]&&(W[fe]=Ce,fe--),Ce--}function j(G,U,K,ce,ee,ue,fe,Ce,we,ye,De){if(U[K]!==ue[fe])return Number.MIN_SAFE_INTEGER;let Me=1,pe=!1;return fe===K-ce?Me=G[K]===ee[fe]?7:5:Y(fe,ee,ue)&&(fe===0||!Y(fe-1,ee,ue))?(Me=G[K]===ee[fe]?7:5,pe=!0):Z(ue,fe)&&(fe===0||!Z(ue,fe-1))?Me=5:(Z(ue,fe-1)||ie(ue,fe-1))&&(Me=5,pe=!0),Me>1&&K===ce&&(De[0]=!0),pe||(pe=Y(fe,ee,ue)||Z(ue,fe-1)||ie(ue,fe-1)),K===ce?fe>we&&(Me-=pe?3:5):ye?Me+=pe?2:0:Me+=pe?0:1,fe+1===Ce&&(Me-=pe?3:5),Me}function se(G,U,K,ce,ee,ue,fe){return z(G,U,K,ce,ee,ue,!0,fe)}e.fuzzyScoreGracefulAggressive=se;function z(G,U,K,ce,ee,ue,fe,Ce){let we=oe(G,U,K,ce,ee,ue,Ce);if(we&&!fe)return we;if(G.length>=3){const ye=Math.min(7,G.length-1);for(let De=K+1;Dewe[0])&&(we=pe))}}}return we}function X(G,U){if(U+1>=G.length)return;const K=G[U],ce=G[U+1];if(K!==ce)return G.slice(0,U)+ce+K+G.slice(U+2)}}),define(re[106],ae([1,0,27,63,8]),function($,e,w,C,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchesFuzzyIconAware=e.parseLabelWithIcons=e.stripIcons=e.markdownEscapeEscapedIcons=e.escapeIcons=e.iconStartMarker=void 0,e.iconStartMarker="$(";const I=new RegExp(`\\$\\(${w.CSSIcon.iconNameExpression}(?:${w.CSSIcon.iconModifierExpression})?\\)`,"g"),L=new RegExp(w.CSSIcon.iconNameCharacter),b=new RegExp(`(\\\\)?${I.source}`,"g");function v(d){return d.replace(b,(a,s)=>s?a:`\\${a}`)}e.escapeIcons=v;const u=new RegExp(`\\\\${I.source}`,"g");function g(d){return d.replace(u,a=>`\\${a}`)}e.markdownEscapeEscapedIcons=g;const n=new RegExp(`(\\s)?(\\\\)?${I.source}(\\s)?`,"g");function i(d){return d.indexOf(e.iconStartMarker)===-1?d:d.replace(n,(a,s,o,c)=>o?a:s||c||"")}e.stripIcons=i;function t(d){const a=d.indexOf(e.iconStartMarker);return a===-1?{text:d}:r(d,a)}e.parseLabelWithIcons=t;function r(d,a){const s=[];let o="";function c(E){if(E){o+=E;for(const N of E)s.push(_)}}let f=-1,p="",_=0,m,h,S=a;const y=d.length;for(c(d.substr(0,a));S" ".repeat(d.length)).replace(/\>/gm,"\\>").replace(/\n/g,r===1?`\\
`:`
`),this}appendMarkdown(t){return this.value+=t,this}appendCodeblock(t,r){return this.value+="\n```",this.value+=t,this.value+=`
`,this.value+=r,this.value+="\n```\n",this}appendLink(t,r,l){return this.value+="[",this.value+=this._escape(r,"]"),this.value+="](",this.value+=this._escape(String(t),")"),l&&(this.value+=` "${this._escape(this._escape(l,'"'),")")}"`),this.value+=")",this}_escape(t,r){const l=new RegExp((0,k.escapeRegExpCharacters)(r),"g");return t.replace(l,(d,a)=>t.charAt(a-1)!=="\\"?`\\${d}`:d)}}e.MarkdownString=I;function L(i){return b(i)?!i.value:Array.isArray(i)?i.every(L):!0}e.isEmptyMarkdownString=L;function b(i){return i instanceof I?!0:i&&typeof i=="object"?typeof i.value=="string"&&(typeof i.isTrusted=="boolean"||i.isTrusted===void 0)&&(typeof i.supportThemeIcons=="boolean"||i.supportThemeIcons===void 0):!1}e.isMarkdownString=b;function v(i){return i.replace(/[\\`*_{}[\]()#+\-!]/g,"\\$&")}e.escapeMarkdownSyntaxTokens=v;function u(i){return i.replace(/"/g,""")}e.escapeDoubleQuotes=u;function g(i){return i&&i.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1")}e.removeMarkdownEscapes=g;function n(i){const t=[],r=i.split("|").map(d=>d.trim());i=r[0];const l=r[1];if(l){const d=/height=(\d+)/.exec(l),a=/width=(\d+)/.exec(l),s=d?d[1]:"",o=a?a[1]:"",c=isFinite(parseInt(o)),f=isFinite(parseInt(s));c&&t.push(`width="${o}"`),f&&t.push(`height="${s}"`)}return{href:i,dimensions:t}}e.parseHrefAndDimensions=n}),define(re[333],ae([1,0,8]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildReplaceStringWithCasePreserved=void 0;function C(L,b){if(L&&L[0]!==""){const v=k(L,b,"-"),u=k(L,b,"_");return v&&!u?I(L,b,"-"):!v&&u?I(L,b,"_"):L[0].toUpperCase()===L[0]?b.toUpperCase():L[0].toLowerCase()===L[0]?b.toLowerCase():w.containsUppercaseCharacter(L[0][0])&&b.length>0?b[0].toUpperCase()+b.substr(1):L[0][0].toUpperCase()!==L[0][0]&&b.length>0?b[0].toLowerCase()+b.substr(1):b}else return b}e.buildReplaceStringWithCasePreserved=C;function k(L,b,v){return L[0].indexOf(v)!==-1&&b.indexOf(v)!==-1&&L[0].split(v).length===b.split(v).length}function I(L,b,v){const u=b.split(v),g=L[0].split(v);let n="";return u.forEach((i,t)=>{n+=C([g[t]],i)+v}),n.slice(0,-1)}}),define(re[81],ae([1,0,8]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var C;(function(k){k[k.Ignore=0]="Ignore",k[k.Info=1]="Info",k[k.Warning=2]="Warning",k[k.Error=3]="Error"})(C||(C={})),function(k){const I="error",L="warning",b="warn",v="info",u="ignore";function g(i){return i?w.equalsIgnoreCase(I,i)?k.Error:w.equalsIgnoreCase(L,i)||w.equalsIgnoreCase(b,i)?k.Warning:w.equalsIgnoreCase(v,i)?k.Info:k.Ignore:k.Ignore}k.fromValue=g;function n(i){switch(i){case k.Error:return I;case k.Warning:return L;case k.Info:return v;default:return u}}k.toString=n}(C||(C={})),e.default=C}),define(re[19],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertNever=e.withNullAsUndefined=e.createProxyObject=e.getAllMethodNames=e.getAllPropertyNames=e.validateConstraint=e.validateConstraints=e.isFunction=e.assertIsDefined=e.assertType=e.isUndefinedOrNull=e.isDefined=e.isUndefined=e.isBoolean=e.isIterable=e.isNumber=e.isTypedArray=e.isObject=e.isString=e.isArray=void 0;function w(p){return Array.isArray(p)}e.isArray=w;function C(p){return typeof p=="string"}e.isString=C;function k(p){return typeof p=="object"&&p!==null&&!Array.isArray(p)&&!(p instanceof RegExp)&&!(p instanceof Date)}e.isObject=k;function I(p){const _=Object.getPrototypeOf(Uint8Array);return typeof p=="object"&&p instanceof _}e.isTypedArray=I;function L(p){return typeof p=="number"&&!isNaN(p)}e.isNumber=L;function b(p){return!!p&&typeof p[Symbol.iterator]=="function"}e.isIterable=b;function v(p){return p===!0||p===!1}e.isBoolean=v;function u(p){return typeof p=="undefined"}e.isUndefined=u;function g(p){return!n(p)}e.isDefined=g;function n(p){return u(p)||p===null}e.isUndefinedOrNull=n;function i(p,_){if(!p)throw new Error(_?`Unexpected type, expected '${_}'`:"Unexpected type")}e.assertType=i;function t(p){if(n(p))throw new Error("Assertion Failed: argument is undefined or null");return p}e.assertIsDefined=t;function r(p){return typeof p=="function"}e.isFunction=r;function l(p,_){const m=Math.min(p.length,_.length);for(let h=0;hfunction(){const y=Array.prototype.slice.call(arguments,0);return _(S,y)},h={};for(const S of p)h[S]=m(S);return h}e.createProxyObject=o;function c(p){return p===null?void 0:p}e.withNullAsUndefined=c;function f(p,_="Unreachable"){throw new Error(_)}e.assertNever=f}),define(re[40],ae([1,0,19]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.equals=e.mixin=e.cloneAndChange=e.deepFreeze=e.deepClone=void 0;function C(g){if(!g||typeof g!="object"||g instanceof RegExp)return g;const n=Array.isArray(g)?[]:{};return Object.keys(g).forEach(i=>{g[i]&&typeof g[i]=="object"?n[i]=C(g[i]):n[i]=g[i]}),n}e.deepClone=C;function k(g){if(!g||typeof g!="object")return g;const n=[g];for(;n.length>0;){const i=n.shift();Object.freeze(i);for(const t in i)if(I.call(i,t)){const r=i[t];typeof r=="object"&&!Object.isFrozen(r)&&!(0,w.isTypedArray)(r)&&n.push(r)}}return g}e.deepFreeze=k;const I=Object.prototype.hasOwnProperty;function L(g,n){return b(g,n,new Set)}e.cloneAndChange=L;function b(g,n,i){if((0,w.isUndefinedOrNull)(g))return g;const t=n(g);if(typeof t!="undefined")return t;if((0,w.isArray)(g)){const r=[];for(const l of g)r.push(b(l,n,i));return r}if((0,w.isObject)(g)){if(i.has(g))throw new Error("Cannot clone recursive data-structure");i.add(g);const r={};for(const l in g)I.call(g,l)&&(r[l]=b(g[l],n,i));return i.delete(g),r}return g}function v(g,n,i=!0){return(0,w.isObject)(g)?((0,w.isObject)(n)&&Object.keys(n).forEach(t=>{t in g?i&&((0,w.isObject)(g[t])&&(0,w.isObject)(n[t])?v(g[t],n[t],i):g[t]=n[t]):g[t]=n[t]}),g):n}e.mixin=v;function u(g,n){if(g===n)return!0;if(g==null||n===null||n===void 0||typeof g!=typeof n||typeof g!="object"||Array.isArray(g)!==Array.isArray(n))return!1;let i,t;if(Array.isArray(g)){if(g.length!==n.length)return!1;for(i=0;i255?255:k|0}e.toUint8=w;function C(k){return k<0?0:k>4294967295?4294967295:k|0}e.toUint32=C}),define(re[223],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateUuid=void 0,e.generateUuid=function(){if(typeof crypto=="object"&&typeof crypto.randomUUID=="function")return crypto.randomUUID.bind(crypto);let w;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?w=crypto.getRandomValues.bind(crypto):w=function(I){for(let L=0;Lw._read(v,i),n=(i,t)=>w._write(v,i,t);this.migrate(u,g,n)}static _read(v,u){if(typeof v=="undefined")return;const g=u.indexOf(".");if(g>=0){const n=u.substring(0,g);return this._read(v[n],u.substring(g+1))}return v[u]}static _write(v,u,g){const n=u.indexOf(".");if(n>=0){const i=u.substring(0,n);v[i]=v[i]||{},this._write(v[i],u.substring(n+1),g);return}v[u]=g}}e.EditorSettingMigration=w,w.items=[];function C(b,v){w.items.push(new w(b,v))}function k(b,v){C(b,(u,g,n)=>{if(typeof u!="undefined"){for(const[i,t]of v)if(u===i){n(b,t);return}}})}function I(b){w.items.forEach(v=>v.apply(b))}e.migrateOptions=I,k("wordWrap",[[!0,"on"],[!1,"off"]]),k("lineNumbers",[[!0,"on"],[!1,"off"]]),k("cursorBlinking",[["visible","solid"]]),k("renderWhitespace",[[!0,"boundary"],[!1,"none"]]),k("renderLineHighlight",[[!0,"line"],[!1,"none"]]),k("acceptSuggestionOnEnter",[[!0,"on"],[!1,"off"]]),k("tabCompletion",[[!1,"off"],[!0,"onlySnippets"]]),k("hover",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),k("parameterHints",[[!0,{enabled:!0}],[!1,{enabled:!1}]]),k("autoIndent",[[!1,"advanced"],[!0,"full"]]),k("matchBrackets",[[!0,"always"],[!1,"never"]]),C("autoClosingBrackets",(b,v,u)=>{b===!1&&(u("autoClosingBrackets","never"),typeof v("autoClosingQuotes")=="undefined"&&u("autoClosingQuotes","never"),typeof v("autoSurround")=="undefined"&&u("autoSurround","never"))}),C("renderIndentGuides",(b,v,u)=>{typeof b!="undefined"&&(u("renderIndentGuides",void 0),typeof v("guides.indentation")=="undefined"&&u("guides.indentation",!!b))}),C("highlightActiveIndentGuide",(b,v,u)=>{typeof b!="undefined"&&(u("highlightActiveIndentGuide",void 0),typeof v("guides.highlightActiveIndentation")=="undefined"&&u("guides.highlightActiveIndentation",!!b))});const L={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};C("suggest.filteredTypes",(b,v,u)=>{if(b&&typeof b=="object"){for(const g of Object.entries(L))b[g[0]]===!1&&typeof v(`suggest.${g[1]}`)=="undefined"&&u(`suggest.${g[1]}`,!1);u("suggest.filteredTypes",void 0)}}),C("quickSuggestions",(b,v,u)=>{if(typeof b=="boolean"){const g=b?"on":"off";u("quickSuggestions",{comments:g,strings:g,other:g})}})}),define(re[152],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StableEditorScrollState=void 0;class w{constructor(k,I,L){this._visiblePosition=k,this._visiblePositionScrollDelta=I,this._cursorPosition=L}static capture(k){let I=null,L=0;if(k.getScrollTop()!==0){const b=k.getVisibleRanges();if(b.length>0){I=b[0].getStartPosition();const v=k.getTopForPosition(I.lineNumber,I.column);L=k.getScrollTop()-v}}return new w(I,L,k.getPosition())}restore(k){if(this._visiblePosition){const I=k.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);k.setScrollTop(I+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(k){const I=k.getPosition();if(!this._cursorPosition||!I)return;const L=k.getTopForLineNumber(I.lineNumber)-k.getTopForLineNumber(this._cursorPosition.lineNumber);k.setScrollTop(k.getScrollTop()+L)}}e.StableEditorScrollState=w}),define(re[125],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VisibleRanges=e.HorizontalPosition=e.FloatHorizontalRange=e.HorizontalRange=e.LineVisibleRanges=e.RenderingContext=e.RestrictedRenderingContext=void 0;class w{constructor(g,n){this._restrictedRenderingContextBrand=void 0,this._viewLayout=g,this.viewportData=n,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}getScrolledTopFromAbsoluteTop(g){return g-this.scrollTop}getVerticalOffsetForLineNumber(g){return this._viewLayout.getVerticalOffsetForLineNumber(g)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}e.RestrictedRenderingContext=w;class C extends w{constructor(g,n,i){super(g,n);this._renderingContextBrand=void 0,this._viewLines=i}linesVisibleRangesForRange(g,n){return this._viewLines.linesVisibleRangesForRange(g,n)}visibleRangeForPosition(g){return this._viewLines.visibleRangeForPosition(g)}}e.RenderingContext=C;class k{constructor(g,n,i){this.outsideRenderedLine=g,this.lineNumber=n,this.ranges=i}}e.LineVisibleRanges=k;class I{constructor(g,n){this._horizontalRangeBrand=void 0,this.left=Math.round(g),this.width=Math.round(n)}static from(g){const n=new Array(g.length);for(let i=0,t=g.length;i=n.left?v.width=Math.max(v.width,n.left+n.width-v.left):(L[b++]=v,v=n)}return L[b++]=v,L}static _createHorizontalRangesFromClientRects(I,L,b){if(!I||I.length===0)return null;const v=[];for(let u=0,g=I.length;ur)return null;if(L=Math.min(r,Math.max(t,L)),v=Math.min(r,Math.max(t,v)),L===v&&b===u&&b===0&&!I.children[L].firstChild){const s=I.children[L].getClientRects();return this._createHorizontalRangesFromClientRects(s,g,n)}L!==v&&v>0&&u===0&&(v--,u=1073741824);let l=I.children[L].firstChild,d=I.children[v].firstChild;if((!l||!d)&&(!l&&b===0&&L>0&&(l=I.children[L-1].firstChild,b=1073741824),!d&&u===0&&v>0&&(d=I.children[v-1].firstChild,u=1073741824)),!l||!d)return null;b=Math.min(l.textContent.length,Math.max(0,b)),u=Math.min(d.textContent.length,Math.max(0,u));const a=this._readClientRects(l,b,d,u,i);return this._createHorizontalRangesFromClientRects(a,g,n)}}e.RangeUtil=C}),define(re[230],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCharIndex=e.allCharCodes=void 0,e.allCharCodes=(()=>{const C=[];for(let k=32;k<=126;k++)C.push(k);return C.push(65533),C})();const w=(C,k)=>(C-=32,C<0||C>96?k<=2?(C+96)%96:96-1:C);e.getCharIndex=w}),define(re[403],ae([1,0,230,148]),function($,e,w,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRenderer=void 0;class k{constructor(L,b){this.scale=b,this._minimapCharRendererBrand=void 0,this.charDataNormal=k.soften(L,12/15),this.charDataLight=k.soften(L,50/60)}static soften(L,b){const v=new Uint8ClampedArray(L.length);for(let u=0,g=L.length;uL.width||v+o>L.height){console.warn("bad render request outside image data");return}const c=l?this.charDataLight:this.charDataNormal,f=(0,w.getCharIndex)(u,r),p=L.width*4,_=i.r,m=i.g,h=i.b,S=g.r-_,y=g.g-m,E=g.b-h,N=Math.max(n,t),T=L.data;let R=f*a*s,F=v*p+b*4;for(let O=0;OL.width||v+d>L.height){console.warn("bad render request outside image data");return}const a=L.width*4,s=.5*(g/255),o=n.r,c=n.g,f=n.b,p=u.r-o,_=u.g-c,m=u.b-f,h=o+p*s,S=c+_*s,y=f+m*s,E=Math.max(g,i),N=L.data;let T=v*a+b*4;for(let R=0;R{const L=new Uint8ClampedArray(I.length/2);for(let b=0;b>1]=C[I[b]]<<4|C[I[b+1]]&15;return L};e.prebakedMiniMaps={1:(0,w.once)(()=>k("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,w.once)(()=>k("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))}}),define(re[405],ae([1,0,403,230,404,148]),function($,e,w,C,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRendererFactory=void 0;class L{static create(v,u){if(this.lastCreated&&v===this.lastCreated.scale&&u===this.lastFontFamily)return this.lastCreated;let g;return k.prebakedMiniMaps[v]?g=new w.MinimapCharRenderer(k.prebakedMiniMaps[v](),v):g=L.createFromSampleData(L.createSampleData(u).data,v),this.lastFontFamily=u,this.lastCreated=g,g}static createSampleData(v){const u=document.createElement("canvas"),g=u.getContext("2d");u.style.height=`${16}px`,u.height=16,u.width=96*10,u.style.width=96*10+"px",g.fillStyle="#ffffff",g.font=`bold ${16}px ${v}`,g.textBaseline="middle";let n=0;for(const i of C.allCharCodes)g.fillText(String.fromCharCode(i),n,16/2),n+=10;return g.getImageData(0,0,96*10,16)}static createFromSampleData(v,u){const g=16*10*4*96;if(v.length!==g)throw new Error("Unexpected source in MinimapCharRenderer");const n=L._downsample(v,u);return new w.MinimapCharRenderer(n,u)}static _downsampleChar(v,u,g,n,i){const t=1*i,r=2*i;let l=n,d=0;for(let a=0;a0){const d=255/l;for(let a=0;a=0&&L<256?this._asciiMap[L]=v:this._map.set(L,v)}get(L){return L>=0&&L<256?this._asciiMap[L]:this._map.get(L)||this._defaultValue}}e.CharacterClassifier=C;class k{constructor(){this._actual=new C(0)}add(L){this._actual.set(L,1)}has(L){return this._actual.get(L)===1}}e.CharacterSet=k}),define(re[66],ae([1,0,8]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorColumns=void 0;class C{static _nextVisibleColumn(I,L,b){return I===9?C.nextRenderTabStop(L,b):w.isFullWidthCharacter(I)||w.isEmojiImprecise(I)?L+2:L+1}static visibleColumnFromColumn(I,L,b){const v=Math.min(L-1,I.length),u=I.substring(0,v),g=new w.GraphemeIterator(u);let n=0;for(;!g.eol();){const i=w.getNextCodePoint(u,v,g.offset);g.nextGraphemeLength(),n=this._nextVisibleColumn(i,n,b)}return n}static columnFromVisibleColumn(I,L,b){if(L<=0)return 1;const v=I.length,u=new w.GraphemeIterator(I);let g=0,n=1;for(;!u.eol();){const i=w.getNextCodePoint(I,v,u.offset);u.nextGraphemeLength();const t=this._nextVisibleColumn(i,g,b),r=u.offset+1;if(t>=L){const l=L-g;return t-Lb||I===b&&L>v?(this.startLineNumber=b,this.startColumn=v,this.endLineNumber=I,this.endColumn=L):(this.startLineNumber=I,this.startColumn=L,this.endLineNumber=b,this.endColumn=v)}isEmpty(){return C.isEmpty(this)}static isEmpty(I){return I.startLineNumber===I.endLineNumber&&I.startColumn===I.endColumn}containsPosition(I){return C.containsPosition(this,I)}static containsPosition(I,L){return!(L.lineNumberI.endLineNumber||L.lineNumber===I.startLineNumber&&L.columnI.endColumn)}static strictContainsPosition(I,L){return!(L.lineNumberI.endLineNumber||L.lineNumber===I.startLineNumber&&L.column<=I.startColumn||L.lineNumber===I.endLineNumber&&L.column>=I.endColumn)}containsRange(I){return C.containsRange(this,I)}static containsRange(I,L){return!(L.startLineNumberI.endLineNumber||L.endLineNumber>I.endLineNumber||L.startLineNumber===I.startLineNumber&&L.startColumnI.endColumn)}strictContainsRange(I){return C.strictContainsRange(this,I)}static strictContainsRange(I,L){return!(L.startLineNumberI.endLineNumber||L.endLineNumber>I.endLineNumber||L.startLineNumber===I.startLineNumber&&L.startColumn<=I.startColumn||L.endLineNumber===I.endLineNumber&&L.endColumn>=I.endColumn)}plusRange(I){return C.plusRange(this,I)}static plusRange(I,L){let b,v,u,g;return L.startLineNumberI.endLineNumber?(u=L.endLineNumber,g=L.endColumn):L.endLineNumber===I.endLineNumber?(u=L.endLineNumber,g=Math.max(L.endColumn,I.endColumn)):(u=I.endLineNumber,g=I.endColumn),new C(b,v,u,g)}intersectRanges(I){return C.intersectRanges(this,I)}static intersectRanges(I,L){let b=I.startLineNumber,v=I.startColumn,u=I.endLineNumber,g=I.endColumn;const n=L.startLineNumber,i=L.startColumn,t=L.endLineNumber,r=L.endColumn;return bt?(u=t,g=r):u===t&&(g=Math.min(g,r)),b>u||b===u&&v>g?null:new C(b,v,u,g)}equalsRange(I){return C.equalsRange(this,I)}static equalsRange(I,L){return!!I&&!!L&&I.startLineNumber===L.startLineNumber&&I.startColumn===L.startColumn&&I.endLineNumber===L.endLineNumber&&I.endColumn===L.endColumn}getEndPosition(){return C.getEndPosition(this)}static getEndPosition(I){return new w.Position(I.endLineNumber,I.endColumn)}getStartPosition(){return C.getStartPosition(this)}static getStartPosition(I){return new w.Position(I.startLineNumber,I.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(I,L){return new C(this.startLineNumber,this.startColumn,I,L)}setStartPosition(I,L){return new C(I,L,this.endLineNumber,this.endColumn)}collapseToStart(){return C.collapseToStart(this)}static collapseToStart(I){return new C(I.startLineNumber,I.startColumn,I.startLineNumber,I.startColumn)}static fromPositions(I,L=I){return new C(I.lineNumber,I.column,L.lineNumber,L.column)}static lift(I){return I?new C(I.startLineNumber,I.startColumn,I.endLineNumber,I.endColumn):null}static isIRange(I){return I&&typeof I.startLineNumber=="number"&&typeof I.startColumn=="number"&&typeof I.endLineNumber=="number"&&typeof I.endColumn=="number"}static areIntersectingOrTouching(I,L){return!(I.endLineNumberI.startLineNumber}toJSON(){return this}}e.Range=C}),define(re[231],ae([1,0,8,11,3]),function($,e,w,C,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedScreenReaderStrategy=e.TextAreaState=e._debugComposition=void 0,e._debugComposition=!1;class I{constructor(v,u,g,n,i){this.value=v,this.selectionStart=u,this.selectionEnd=g,this.selectionStartPosition=n,this.selectionEndPosition=i}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(v){return new I(v.getValue(),v.getSelectionStart(),v.getSelectionEnd(),null,null)}collapseSelection(){return new I(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(v,u,g){e._debugComposition&&console.log(`writeToTextArea ${v}: ${this.toString()}`),u.setValue(v,this.value),g&&u.setSelectionRange(v,this.selectionStart,this.selectionEnd)}deduceEditorPosition(v){if(v<=this.selectionStart){const n=this.value.substring(v,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,n,-1)}if(v>=this.selectionEnd){const n=this.value.substring(this.selectionEnd,v);return this._finishDeduceEditorPosition(this.selectionEndPosition,n,1)}const u=this.value.substring(this.selectionStart,v);if(u.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition(this.selectionStartPosition,u,1);const g=this.value.substring(v,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,g,-1)}_finishDeduceEditorPosition(v,u,g){let n=0,i=-1;for(;(i=u.indexOf(`
`,i+1))!==-1;)n++;return[v,g*u.length,n]}static deduceInput(v,u,g){if(!v)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};e._debugComposition&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${v.toString()}`),console.log(`CURRENT STATE: ${u.toString()}`));const n=Math.min(w.commonPrefixLength(v.value,u.value),v.selectionStart,u.selectionStart),i=Math.min(w.commonSuffixLength(v.value,u.value),v.value.length-v.selectionEnd,u.value.length-u.selectionEnd),t=v.value.substring(n,v.value.length-i),r=u.value.substring(n,u.value.length-i),l=v.selectionStart-n,d=v.selectionEnd-n,a=u.selectionStart-n,s=u.selectionEnd-n;if(e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${t}>, selectionStart: ${l}, selectionEnd: ${d}`),console.log(`AFTER DIFFING CURRENT STATE: <${r}>, selectionStart: ${a}, selectionEnd: ${s}`)),a===s){const c=v.selectionStart-n;return e._debugComposition&&console.log(`REMOVE PREVIOUS: ${c} chars`),{text:r,replacePrevCharCnt:c,replaceNextCharCnt:0,positionDelta:0}}const o=d-l;return{text:r,replacePrevCharCnt:o,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(v,u){if(!v)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(e._debugComposition&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${v.toString()}`),console.log(`CURRENT STATE: ${u.toString()}`)),v.value===u.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:u.selectionEnd-v.selectionEnd};const g=Math.min(w.commonPrefixLength(v.value,u.value),v.selectionEnd),n=Math.min(w.commonSuffixLength(v.value,u.value),v.value.length-v.selectionEnd),i=v.value.substring(g,v.value.length-n),t=u.value.substring(g,u.value.length-n),r=v.selectionStart-g,l=v.selectionEnd-g,d=u.selectionStart-g,a=u.selectionEnd-g;return e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${i}>, selectionStart: ${r}, selectionEnd: ${l}`),console.log(`AFTER DIFFING CURRENT STATE: <${t}>, selectionStart: ${d}, selectionEnd: ${a}`)),{text:t,replacePrevCharCnt:l,replaceNextCharCnt:i.length-l,positionDelta:a-t.length}}}e.TextAreaState=I,I.EMPTY=new I("",0,0,null,null);class L{static _getPageOfLine(v,u){return Math.floor((v-1)/u)}static _getRangeForPage(v,u){const g=v*u,n=g+1,i=g+u;return new k.Range(n,1,i+1,1)}static fromEditorSelection(v,u,g,n,i){const t=L._getPageOfLine(g.startLineNumber,n),r=L._getRangeForPage(t,n),l=L._getPageOfLine(g.endLineNumber,n),d=L._getRangeForPage(l,n),a=r.intersectRanges(new k.Range(1,1,g.startLineNumber,g.startColumn));let s=u.getValueInRange(a,1);const o=u.getLineCount(),c=u.getLineMaxColumn(o),f=d.intersectRanges(new k.Range(g.endLineNumber,g.endColumn,o,c));let p=u.getValueInRange(f,1),_;if(t===l||t+1===l)_=u.getValueInRange(g,1);else{const m=r.intersectRanges(g),h=d.intersectRanges(g);_=u.getValueInRange(m,1)+String.fromCharCode(8230)+u.getValueInRange(h,1)}if(i){const m=500;s.length>m&&(s=s.substring(s.length-m,s.length)),p.length>m&&(p=p.substring(0,m)),_.length>2*m&&(_=_.substring(0,m)+String.fromCharCode(8230)+_.substring(_.length-m,_.length))}return new I(s+_+p,s.length,s.length+_.length,new C.Position(g.startLineNumber,g.startColumn),new C.Position(g.endLineNumber,g.endColumn))}}e.PagedScreenReaderStrategy=L}),define(re[60],ae([1,0,3]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditOperation=void 0;class C{static insert(I,L){return{range:new w.Range(I.lineNumber,I.column,I.lineNumber,I.column),text:L,forceMoveMarkers:!0}}static delete(I){return{range:I,text:null}}static replace(I,L){return{range:I,text:L}}static replaceMove(I,L){return{range:I,text:L,forceMoveMarkers:!0}}}e.EditOperation=C}),define(re[406],ae([1,0,8,60,3]),function($,e,w,C,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTrailingWhitespace=e.TrimTrailingWhitespaceCommand=void 0;class I{constructor(v,u){this._selection=v,this._cursors=u,this._selectionId=null}getEditOperations(v,u){const g=L(v,this._cursors);for(let n=0,i=g.length;nt.lineNumber===r.lineNumber?t.column-r.column:t.lineNumber-r.lineNumber);for(let t=v.length-2;t>=0;t--)v[t].lineNumber===v[t+1].lineNumber&&v.splice(t,1);const u=[];let g=0,n=0;const i=v.length;for(let t=1,r=b.getLineCount();t<=r;t++){const l=b.getLineContent(t),d=l.length+1;let a=0;if(n255?255:k|0}}e.RGBA8=w,w.Empty=new w(0,0,0,0)}),define(re[23],ae([1,0,11,3]),function($,e,w,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Selection=void 0;class k extends C.Range{constructor(L,b,v,u){super(L,b,v,u);this.selectionStartLineNumber=L,this.selectionStartColumn=b,this.positionLineNumber=v,this.positionColumn=u}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(L){return k.selectionsEqual(this,L)}static selectionsEqual(L,b){return L.selectionStartLineNumber===b.selectionStartLineNumber&&L.selectionStartColumn===b.selectionStartColumn&&L.positionLineNumber===b.positionLineNumber&&L.positionColumn===b.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(L,b){return this.getDirection()===0?new k(this.startLineNumber,this.startColumn,L,b):new k(L,b,this.startLineNumber,this.startColumn)}getPosition(){return new w.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new w.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(L,b){return this.getDirection()===0?new k(L,b,this.endLineNumber,this.endColumn):new k(this.endLineNumber,this.endColumn,L,b)}static fromPositions(L,b=L){return new k(L.lineNumber,L.column,b.lineNumber,b.column)}static fromRange(L,b){return b===0?new k(L.startLineNumber,L.startColumn,L.endLineNumber,L.endColumn):new k(L.endLineNumber,L.endColumn,L.startLineNumber,L.startColumn)}static liftSelection(L){return new k(L.selectionStartLineNumber,L.selectionStartColumn,L.positionLineNumber,L.positionColumn)}static selectionsArrEqual(L,b){if(L&&!b||!L&&b)return!1;if(!L&&!b)return!0;if(L.length!==b.length)return!1;for(let v=0,u=L.length;v(L.hasOwnProperty(b)||(L[b]=I(b)),L[b])}e.getMapForWordSeparators=k(I=>new C(I))}),define(re[128],ae([1,0,55,73]),function($,e,w,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getWordAtText=e.ensureValidWordDefinition=e.DEFAULT_WORD_REGEXP=e.USUAL_WORD_SEPARATORS=void 0,e.USUAL_WORD_SEPARATORS="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function k(u=""){let g="(-?\\d*\\.\\d\\w*)|([^";for(const n of e.USUAL_WORD_SEPARATORS)u.indexOf(n)>=0||(g+="\\"+n);return g+="\\s]+)",new RegExp(g,"g")}e.DEFAULT_WORD_REGEXP=k();function I(u){let g=e.DEFAULT_WORD_REGEXP;if(u&&u instanceof RegExp)if(u.global)g=u;else{let n="g";u.ignoreCase&&(n+="i"),u.multiline&&(n+="m"),u.unicode&&(n+="u"),g=new RegExp(u.source,n)}return g.lastIndex=0,g}e.ensureValidWordDefinition=I;const L=new C.LinkedList;L.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function b(u,g,n,i,t){if(t||(t=w.Iterable.first(L)),n.length>t.maxLen){let s=u-t.maxLen/2;return s<0?s=0:i+=s,n=n.substring(s,u+t.maxLen/2),b(u,g,n,i,t)}const r=Date.now(),l=u-1-i;let d=-1,a=null;for(let s=1;!(Date.now()-r>=t.timeBudget);s++){const o=l-t.windowSize*s;g.lastIndex=Math.max(0,o);const c=v(g,n,l,d);if(!c&&a||(a=c,o<=0))break;d=o}if(a){const s={word:a[0],startColumn:i+1+a.index,endColumn:i+1+a.index+a[0].length};return g.lastIndex=0,s}return null}e.getWordAtText=b;function v(u,g,n,i){let t;for(;t=u.exec(g);){const r=t.index||0;if(r<=n&&u.lastIndex>=n)return t;if(i>0&&r>i)return null}return null}}),define(re[233],ae([1,0,66]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AtomicTabMoveOperations=void 0;class C{static whitespaceVisibleColumn(I,L,b){const v=I.length;let u=0,g=-1,n=-1;for(let i=0;i(d===10?"\\n":String.fromCharCode(d))+`-(${this._lineNumbers[a]},${this._columns[a]})`).join(", ")+"]"}_assertIndex(d,a){if(d<0||d>=a.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(d){return d>0&&d===this._lineNumbers.length?this.getEndLineNumber(d-1):(this._assertIndex(d,this._lineNumbers),this._lineNumbers[d])}getEndLineNumber(d){return d===-1?this.getStartLineNumber(d+1):(this._assertIndex(d,this._lineNumbers),this._charCodes[d]===10?this._lineNumbers[d]+1:this._lineNumbers[d])}getStartColumn(d){return d>0&&d===this._columns.length?this.getEndColumn(d-1):(this._assertIndex(d,this._columns),this._columns[d])}getEndColumn(d){return d===-1?this.getStartColumn(d+1):(this._assertIndex(d,this._columns),this._charCodes[d]===10?1:this._columns[d]+1)}}class v{constructor(d,a,s,o,c,f,p,_){this.originalStartLineNumber=d,this.originalStartColumn=a,this.originalEndLineNumber=s,this.originalEndColumn=o,this.modifiedStartLineNumber=c,this.modifiedStartColumn=f,this.modifiedEndLineNumber=p,this.modifiedEndColumn=_}static createFromDiffChange(d,a,s){const o=a.getStartLineNumber(d.originalStart),c=a.getStartColumn(d.originalStart),f=a.getEndLineNumber(d.originalStart+d.originalLength-1),p=a.getEndColumn(d.originalStart+d.originalLength-1),_=s.getStartLineNumber(d.modifiedStart),m=s.getStartColumn(d.modifiedStart),h=s.getEndLineNumber(d.modifiedStart+d.modifiedLength-1),S=s.getEndColumn(d.modifiedStart+d.modifiedLength-1);return new v(o,c,f,p,_,m,h,S)}}function u(l){if(l.length<=1)return l;const d=[l[0]];let a=d[0];for(let s=1,o=l.length;s0&&a.originalLength<20&&a.modifiedLength>0&&a.modifiedLength<20&&c()){const E=s.createCharSequence(d,a.originalStart,a.originalStart+a.originalLength-1),N=o.createCharSequence(d,a.modifiedStart,a.modifiedStart+a.modifiedLength-1);if(E.getElements().length>0&&N.getElements().length>0){let T=I(E,N,c,!0).changes;p&&(T=u(T)),y=[];for(let R=0,F=T.length;R1&&T>1;){const R=y.charCodeAt(N-2),F=E.charCodeAt(T-2);if(R!==F)break;N--,T--}(N>1||T>1)&&this._pushTrimWhitespaceCharChange(o,c+1,1,N,f+1,1,T)}{let N=t(y,1),T=t(E,1);const R=y.length+1,F=E.length+1;for(;N!0;const d=Date.now();return()=>Date.now()-d>>0}static getTokenType(k){return(k&768)>>>8}static containsBalancedBrackets(k){return(k&1024)!=0}static getFontStyle(k){return(k&30720)>>>11}static getForeground(k){return(k&16744448)>>>15}static getBackground(k){return(k&4278190080)>>>24}static getClassNameFromMetadata(k){const I=this.getForeground(k);let L="mtk"+I;const b=this.getFontStyle(k);return b&1&&(L+=" mtki"),b&2&&(L+=" mtkb"),b&4&&(L+=" mtku"),b&8&&(L+=" mtks"),L}static getInlineStyleFromMetadata(k,I){const L=this.getForeground(k),b=this.getFontStyle(k);let v=`color: ${I[L]};`;b&1&&(v+="font-style: italic;"),b&2&&(v+="font-weight: bold;");let u="";return b&4&&(u+=" underline"),b&8&&(u+=" line-through"),u&&(v+=`text-decoration:${u};`),v}static getPresentationFromMetadata(k){const I=this.getForeground(k),L=this.getFontStyle(k);return{foreground:I,italic:Boolean(L&1),bold:Boolean(L&2),underline:Boolean(L&4),strikethrough:Boolean(L&8)}}}e.TokenMetadata=w}),define(re[98],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoClosingPairs=e.StandardAutoClosingPairConditional=e.IndentAction=void 0;var w;(function(L){L[L.None=0]="None",L[L.Indent=1]="Indent",L[L.IndentOutdent=2]="IndentOutdent",L[L.Outdent=3]="Outdent"})(w=e.IndentAction||(e.IndentAction={}));class C{constructor(b){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=b.open,this.close=b.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(b.notIn))for(let v=0,u=b.notIn.length;vt&&(t=o),s>r&&(r=s),c>r&&(r=c)}t++,r++;const l=new C(r,t,0);for(let d=0,a=i.length;d=this._maxCharCode?0:this._states.get(i,t)}}e.StateMachine=k;let I=null;function L(){return I===null&&(I=new k([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),I}let b=null;function v(){if(b===null){b=new w.CharacterClassifier(0);const n=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let t=0;tl);if(l>0){const s=t.charCodeAt(l-1),o=t.charCodeAt(a);(s===40&&o===41||s===91&&o===93||s===123&&o===125)&&a--}return{range:{startLineNumber:r,startColumn:l+1,endLineNumber:r,endColumn:a+2},url:t.substring(l,a+1)}}static computeLinks(i,t=L()){const r=v(),l=[];for(let d=1,a=i.getLineCount();d<=a;d++){const s=i.getLineContent(d),o=s.length;let c=0,f=0,p=0,_=1,m=!1,h=!1,S=!1,y=!1;for(;c0&&I.getLanguageId(n-1)===u;)n--;return new C(I,u,n,g+1,I.getStartOffset(n),I.getEndOffset(g))}e.createScopedLineTokens=w;class C{constructor(L,b,v,u,g,n){this._scopedLineTokensBrand=void 0,this._actual=L,this.languageId=b,this._firstTokenIndex=v,this._lastTokenIndex=u,this.firstCharOffset=g,this._lastCharOffset=n}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(L){return this._actual.getLineContent().substring(0,this.firstCharOffset+L)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(L){return this._actual.findTokenIndexAtOffset(L+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(L){return this._actual.getStandardTokenType(L+this._firstTokenIndex)}}e.ScopedLineTokens=C;function k(I){return(I&3)!=0}e.ignoreBracketsInToken=k}),define(re[61],ae([1,0,11,3,23,110,66,179]),function($,e,w,C,k,I,L,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isQuote=e.EditOperationResult=e.SingleCursorState=e.PartialViewCursorState=e.PartialModelCursorState=e.CursorState=e.CursorConfiguration=void 0;const v=()=>!0,u=()=>!1,g=s=>s===" "||s===" ";class n{constructor(o,c,f,p){this.languageConfigurationService=p,this._cursorMoveConfigurationBrand=void 0,this._languageId=o;const _=f.options,m=_.get(133);this.readOnly=_.get(83),this.tabSize=c.tabSize,this.indentSize=c.indentSize,this.insertSpaces=c.insertSpaces,this.stickyTabStops=_.get(106),this.lineHeight=_.get(61),this.pageSize=Math.max(1,Math.floor(m.height/this.lineHeight)-2),this.useTabStops=_.get(118),this.wordSeparators=_.get(119),this.emptySelectionClipboard=_.get(33),this.copyWithSyntaxHighlighting=_.get(21),this.multiCursorMergeOverlapping=_.get(71),this.multiCursorPaste=_.get(73),this.autoClosingBrackets=_.get(5),this.autoClosingQuotes=_.get(8),this.autoClosingDelete=_.get(6),this.autoClosingOvertype=_.get(7),this.autoSurround=_.get(11),this.autoIndent=_.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(o,this.autoClosingQuotes),bracket:this._getShouldAutoClose(o,this.autoClosingBrackets)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(o).getAutoClosingPairs();const h=this.languageConfigurationService.getLanguageConfiguration(o).getSurroundingPairs();if(h)for(const S of h)this.surroundingPairs[S.open]=S.close}static shouldRecreate(o){return o.hasChanged(133)||o.hasChanged(119)||o.hasChanged(33)||o.hasChanged(71)||o.hasChanged(73)||o.hasChanged(5)||o.hasChanged(8)||o.hasChanged(6)||o.hasChanged(7)||o.hasChanged(11)||o.hasChanged(118)||o.hasChanged(61)||o.hasChanged(83)}get electricChars(){var o;if(!this._electricChars){this._electricChars={};const c=(o=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)===null||o===void 0?void 0:o.getElectricCharacters();if(c)for(const f of c)this._electricChars[f]=!0}return this._electricChars}onElectricCharacter(o,c,f){const p=(0,I.createScopedLineTokens)(c,f-1),_=this.languageConfigurationService.getLanguageConfiguration(p.languageId).electricCharacter;return _?_.onElectricCharacter(o,p,f-p.firstCharOffset):null}normalizeIndentation(o){return(0,b.normalizeIndentation)(o,this.indentSize,this.insertSpaces)}_getShouldAutoClose(o,c){switch(c){case"beforeWhitespace":return g;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(o);case"always":return v;case"never":return u}}_getLanguageDefinedShouldAutoClose(o){const c=this.languageConfigurationService.getLanguageConfiguration(o).getAutoCloseBeforeSet();return f=>c.indexOf(f)!==-1}visibleColumnFromColumn(o,c){return L.CursorColumns.visibleColumnFromColumn(o.getLineContent(c.lineNumber),c.column,this.tabSize)}columnFromVisibleColumn(o,c,f){const p=L.CursorColumns.columnFromVisibleColumn(o.getLineContent(c),f,this.tabSize),_=o.getLineMinColumn(c);if(p<_)return _;const m=o.getLineMaxColumn(c);return p>m?m:p}}e.CursorConfiguration=n;class i{constructor(o,c){this._cursorStateBrand=void 0,this.modelState=o,this.viewState=c}static fromModelState(o){return new t(o)}static fromViewState(o){return new r(o)}static fromModelSelection(o){const c=k.Selection.liftSelection(o),f=new l(C.Range.fromPositions(c.getSelectionStart()),0,c.getPosition(),0);return i.fromModelState(f)}static fromModelSelections(o){const c=[];for(let f=0,p=o.length;fn,l=g>i,d=gi||_g||p0&&g--,I.columnSelect(b,v,u.fromViewLineNumber,u.fromViewVisualColumn,u.toViewLineNumber,g)}static columnSelectRight(b,v,u){let g=0;const n=Math.min(u.fromViewLineNumber,u.toViewLineNumber),i=Math.max(u.fromViewLineNumber,u.toViewLineNumber);for(let r=n;r<=i;r++){const l=v.getLineMaxColumn(r),d=b.visibleColumnFromColumn(v,new C.Position(r,l));g=Math.max(g,d)}let t=u.toViewVisualColumn;return tn.getLineMinColumn(i.lineNumber))return i.delta(void 0,-L.prevCharLength(n.getLineContent(i.lineNumber),i.column-1));if(i.lineNumber>1){const t=i.lineNumber-1;return new k.Position(t,n.getLineMaxColumn(t))}else return i}static leftPositionAtomicSoftTabs(n,i,t){if(i.column<=n.getLineIndentColumn(i.lineNumber)){const r=n.getLineMinColumn(i.lineNumber),l=n.getLineContent(i.lineNumber),d=b.AtomicTabMoveOperations.atomicPosition(l,i.column-1,t,0);if(d!==-1&&d+1>=r)return new k.Position(i.lineNumber,d+1)}return this.leftPosition(n,i)}static left(n,i,t){const r=n.stickyTabStops?u.leftPositionAtomicSoftTabs(i,t,n.tabSize):u.leftPosition(i,t);return new v(r.lineNumber,r.column,0)}static moveLeft(n,i,t,r,l){let d,a;if(t.hasSelection()&&!r)d=t.selection.startLineNumber,a=t.selection.startColumn;else{const s=t.position.delta(void 0,-(l-1)),o=i.normalizePosition(u.clipPositionColumn(s,i),0),c=u.left(n,i,o);d=c.lineNumber,a=c.column}return t.move(r,d,a,0)}static clipPositionColumn(n,i){return new k.Position(n.lineNumber,u.clipRange(n.column,i.getLineMinColumn(n.lineNumber),i.getLineMaxColumn(n.lineNumber)))}static clipRange(n,i,t){return nt?t:n}static rightPosition(n,i,t){return tc?(t=c,a?r=i.getLineMaxColumn(t):r=Math.min(i.getLineMaxColumn(t),r)):r=n.columnFromVisibleColumn(i,t,o),_?l=0:l=o-C.CursorColumns.visibleColumnFromColumn(i.getLineContent(t),r,n.tabSize),s!==void 0){const m=new k.Position(t,r),h=i.normalizePosition(m,s);l=l+(r-h.column),t=h.lineNumber,r=h.column}return new v(t,r,l)}static down(n,i,t,r,l,d,a){return this.vertical(n,i,t,r,l,t+d,a,4)}static moveDown(n,i,t,r,l){let d,a;t.hasSelection()&&!r?(d=t.selection.endLineNumber,a=t.selection.endColumn):(d=t.position.lineNumber,a=t.position.column);const s=u.down(n,i,d,a,t.leftoverVisibleColumns,l,!0);return t.move(r,s.lineNumber,s.column,s.leftoverVisibleColumns)}static translateDown(n,i,t){const r=t.selection,l=u.down(n,i,r.selectionStartLineNumber,r.selectionStartColumn,t.selectionStartLeftoverVisibleColumns,1,!1),d=u.down(n,i,r.positionLineNumber,r.positionColumn,t.leftoverVisibleColumns,1,!1);return new w.SingleCursorState(new I.Range(l.lineNumber,l.column,l.lineNumber,l.column),l.leftoverVisibleColumns,new k.Position(d.lineNumber,d.column),d.leftoverVisibleColumns)}static up(n,i,t,r,l,d,a){return this.vertical(n,i,t,r,l,t-d,a,3)}static moveUp(n,i,t,r,l){let d,a;t.hasSelection()&&!r?(d=t.selection.startLineNumber,a=t.selection.startColumn):(d=t.position.lineNumber,a=t.position.column);const s=u.up(n,i,d,a,t.leftoverVisibleColumns,l,!0);return t.move(r,s.lineNumber,s.column,s.leftoverVisibleColumns)}static translateUp(n,i,t){const r=t.selection,l=u.up(n,i,r.selectionStartLineNumber,r.selectionStartColumn,t.selectionStartLeftoverVisibleColumns,1,!1),d=u.up(n,i,r.positionLineNumber,r.positionColumn,t.leftoverVisibleColumns,1,!1);return new w.SingleCursorState(new I.Range(l.lineNumber,l.column,l.lineNumber,l.column),l.leftoverVisibleColumns,new k.Position(d.lineNumber,d.column),d.leftoverVisibleColumns)}static _isBlankLine(n,i){return n.getLineFirstNonWhitespaceColumn(i)===0}static moveToPrevBlankLine(n,i,t,r){let l=t.position.lineNumber;for(;l>1&&this._isBlankLine(i,l);)l--;for(;l>1&&!this._isBlankLine(i,l);)l--;return t.move(r,l,i.getLineMinColumn(l),0)}static moveToNextBlankLine(n,i,t,r){const l=i.getLineCount();let d=t.position.lineNumber;for(;d=p.length+1)return!1;const _=p.charAt(f.column-2),m=r.get(_);if(!m)return!1;if((0,k.isQuote)(_)){if(t==="never")return!1}else if(i==="never")return!1;const h=p.charAt(f.column-1);let S=!1;for(const y of m)y.open===_&&y.close===h&&(S=!0);if(!S)return!1;if(n==="auto"){let y=!1;for(let E=0,N=a.length;E1){const l=i.getLineContent(r.lineNumber),d=w.firstNonWhitespaceIndex(l),a=d===-1?l.length+1:d+1;if(r.column<=a){const s=t.visibleColumnFromColumn(i,r),o=I.CursorColumns.prevIndentTabStop(s,t.indentSize),c=t.columnFromVisibleColumn(i,r.lineNumber,o);return new b.Range(r.lineNumber,c,r.lineNumber,r.column)}}return b.Range.fromPositions(u.getPositionAfterDeleteLeft(r,i),r)}static getPositionAfterDeleteLeft(n,i){if(n.column>1){const t=w.getLeftDeleteOffset(n.column-1,i.getLineContent(n.lineNumber));return n.with(void 0,t+1)}else if(n.lineNumber>1){const t=n.lineNumber-1;return new v.Position(t,i.getLineMaxColumn(t))}else return n}static cut(n,i,t){const r=[];let l=null;t.sort((d,a)=>v.Position.compare(d.getStartPosition(),a.getEndPosition()));for(let d=0,a=t.length;d1&&(l==null?void 0:l.endLineNumber)!==o.lineNumber?(c=o.lineNumber-1,f=i.getLineMaxColumn(o.lineNumber-1),p=o.lineNumber,_=i.getLineMaxColumn(o.lineNumber)):(c=o.lineNumber,f=1,p=o.lineNumber,_=i.getLineMaxColumn(o.lineNumber));const m=new b.Range(c,f,p,_);l=m,m.isEmpty()?r[d]=null:r[d]=new C.ReplaceCommand(m,"")}else r[d]=null;else r[d]=new C.ReplaceCommand(s,"")}return new k.EditOperationResult(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}e.DeleteOperations=u}),define(re[156],ae([1,0,8,61,181,127,11,3]),function($,e,w,C,k,I,L,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordPartOperations=e.WordOperations=void 0;class v{static _createWord(i,t,r,l,d){return{start:l,end:d,wordType:t,nextCharClass:r}}static _findPreviousWordOnLine(i,t,r){const l=t.getLineContent(r.lineNumber);return this._doFindPreviousWordOnLine(l,i,r)}static _doFindPreviousWordOnLine(i,t,r){let l=0;for(let d=r.column-2;d>=0;d--){const a=i.charCodeAt(d),s=t.get(a);if(s===0){if(l===2)return this._createWord(i,l,s,d+1,this._findEndOfWord(i,t,l,d+1));l=1}else if(s===2){if(l===1)return this._createWord(i,l,s,d+1,this._findEndOfWord(i,t,l,d+1));l=2}else if(s===1&&l!==0)return this._createWord(i,l,s,d+1,this._findEndOfWord(i,t,l,d+1))}return l!==0?this._createWord(i,l,1,0,this._findEndOfWord(i,t,l,0)):null}static _findEndOfWord(i,t,r,l){const d=i.length;for(let a=l;a=0;d--){const a=i.charCodeAt(d),s=t.get(a);if(s===1||r===1&&s===2||r===2&&s===0)return d+1}return 0}static moveWordLeft(i,t,r,l){let d=r.lineNumber,a=r.column;a===1&&d>1&&(d=d-1,a=t.getLineMaxColumn(d));let s=v._findPreviousWordOnLine(i,t,new L.Position(d,a));if(l===0)return new L.Position(d,s?s.start+1:1);if(l===1)return s&&s.wordType===2&&s.end-s.start==1&&s.nextCharClass===0&&(s=v._findPreviousWordOnLine(i,t,new L.Position(d,s.start+1))),new L.Position(d,s?s.start+1:1);if(l===3){for(;s&&s.wordType===2;)s=v._findPreviousWordOnLine(i,t,new L.Position(d,s.start+1));return new L.Position(d,s?s.start+1:1)}return s&&a<=s.end+1&&(s=v._findPreviousWordOnLine(i,t,new L.Position(d,s.start+1))),new L.Position(d,s?s.end+1:1)}static _moveWordPartLeft(i,t){const r=t.lineNumber,l=i.getLineMaxColumn(r);if(t.column===1)return r>1?new L.Position(r-1,i.getLineMaxColumn(r-1)):t;const d=i.getLineContent(r);for(let a=t.column-1;a>1;a--){const s=d.charCodeAt(a-2),o=d.charCodeAt(a-1);if(s===95&&o!==95)return new L.Position(r,a);if((w.isLowerAsciiLetter(s)||w.isAsciiDigit(s))&&w.isUpperAsciiLetter(o))return new L.Position(r,a);if(w.isUpperAsciiLetter(s)&&w.isUpperAsciiLetter(o)&&a+1=o.start+1&&(o=v._findNextWordOnLine(i,t,new L.Position(d,o.end+1))),o?a=o.start+1:a=t.getLineMaxColumn(d);return new L.Position(d,a)}static _moveWordPartRight(i,t){const r=t.lineNumber,l=i.getLineMaxColumn(r);if(t.column===l)return r1?c=1:(o--,c=l.getLineMaxColumn(o)):(f&&c<=f.end+1&&(f=v._findPreviousWordOnLine(r,l,new L.Position(o,f.start+1))),f?c=f.end+1:c>1?c=1:(o--,c=l.getLineMaxColumn(o))),new b.Range(o,c,s.lineNumber,s.column)}static deleteInsideWord(i,t,r){if(!r.isEmpty())return r;const l=new L.Position(r.positionLineNumber,r.positionColumn),d=this._deleteInsideWordWhitespace(t,l);return d||this._deleteInsideWordDetermineDeleteRange(i,t,l)}static _charAtIsWhitespace(i,t){const r=i.charCodeAt(t);return r===32||r===9}static _deleteInsideWordWhitespace(i,t){const r=i.getLineContent(t.lineNumber),l=r.length;if(l===0)return null;let d=Math.max(t.column-2,0);if(!this._charAtIsWhitespace(r,d))return null;let a=Math.min(t.column-1,l-1);if(!this._charAtIsWhitespace(r,a))return null;for(;d>0&&this._charAtIsWhitespace(r,d-1);)d--;for(;a+11?new b.Range(r.lineNumber-1,t.getLineMaxColumn(r.lineNumber-1),r.lineNumber,1):r.lineNumberp.start+1<=r.column&&r.column<=p.end+1,s=(p,_)=>(p=Math.min(p,r.column),_=Math.max(_,r.column),new b.Range(r.lineNumber,p,r.lineNumber,_)),o=p=>{let _=p.start+1,m=p.end+1,h=!1;for(;m-11&&this._charAtIsWhitespace(l,_-2);)_--;return s(_,m)},c=v._findPreviousWordOnLine(i,t,r);if(c&&a(c))return o(c);const f=v._findNextWordOnLine(i,t,r);return f&&a(f)?o(f):c&&f?s(c.end+1,f.start+1):c?s(c.start+1,c.end+1):f?s(f.start+1,f.end+1):s(1,d+1)}static _deleteWordPartLeft(i,t){if(!t.isEmpty())return t;const r=t.getPosition(),l=v._moveWordPartLeft(i,r);return new b.Range(r.lineNumber,r.column,l.lineNumber,l.column)}static _findFirstNonWhitespaceChar(i,t){const r=i.length;for(let l=t;l=_.start+1&&(_=v._findNextWordOnLine(r,l,new L.Position(o,_.end+1))),_?c=_.start+1:cBoolean(i))}}),define(re[182],ae([1,0,19,61,180,156,11,3]),function($,e,w,C,k,I,L,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorMove=e.CursorMoveCommands=void 0;class v{static addCursorDown(n,i,t){const r=[];let l=0;for(let d=0,a=i.length;do&&(c=o,f=n.model.getLineMaxColumn(c)),C.CursorState.fromModelState(new C.SingleCursorState(new b.Range(d.lineNumber,1,c,f),0,new L.Position(c,f),0))}const s=i.modelState.selectionStart.getStartPosition().lineNumber;if(d.lineNumbers){const o=n.getLineCount();let c=a.lineNumber+1,f=1;return c>o&&(c=o,f=n.getLineMaxColumn(c)),C.CursorState.fromViewState(i.viewState.move(i.modelState.hasSelection(),c,f,0))}else{const o=i.modelState.selectionStart.getEndPosition();return C.CursorState.fromModelState(i.modelState.move(i.modelState.hasSelection(),o.lineNumber,o.column,0))}}static word(n,i,t,r){const l=n.model.validatePosition(r);return C.CursorState.fromModelState(I.WordOperations.word(n.cursorConfig,n.model,i.modelState,t,l))}static cancelSelection(n,i){if(!i.modelState.hasSelection())return new C.CursorState(i.modelState,i.viewState);const t=i.viewState.position.lineNumber,r=i.viewState.position.column;return C.CursorState.fromViewState(new C.SingleCursorState(new b.Range(t,r,t,r),0,new L.Position(t,r),0))}static moveTo(n,i,t,r,l){const d=n.model.validatePosition(r),a=l?n.coordinatesConverter.validateViewPosition(new L.Position(l.lineNumber,l.column),d):n.coordinatesConverter.convertModelPositionToViewPosition(d);return C.CursorState.fromViewState(i.viewState.move(t,a.lineNumber,a.column,0))}static simpleMove(n,i,t,r,l,d){switch(t){case 0:return d===4?this._moveHalfLineLeft(n,i,r):this._moveLeft(n,i,r,l);case 1:return d===4?this._moveHalfLineRight(n,i,r):this._moveRight(n,i,r,l);case 2:return d===2?this._moveUpByViewLines(n,i,r,l):this._moveUpByModelLines(n,i,r,l);case 3:return d===2?this._moveDownByViewLines(n,i,r,l):this._moveDownByModelLines(n,i,r,l);case 4:return d===2?i.map(a=>C.CursorState.fromViewState(k.MoveOperations.moveToPrevBlankLine(n.cursorConfig,n,a.viewState,r))):i.map(a=>C.CursorState.fromModelState(k.MoveOperations.moveToPrevBlankLine(n.cursorConfig,n.model,a.modelState,r)));case 5:return d===2?i.map(a=>C.CursorState.fromViewState(k.MoveOperations.moveToNextBlankLine(n.cursorConfig,n,a.viewState,r))):i.map(a=>C.CursorState.fromModelState(k.MoveOperations.moveToNextBlankLine(n.cursorConfig,n.model,a.modelState,r)));case 6:return this._moveToViewMinColumn(n,i,r);case 7:return this._moveToViewFirstNonWhitespaceColumn(n,i,r);case 8:return this._moveToViewCenterColumn(n,i,r);case 9:return this._moveToViewMaxColumn(n,i,r);case 10:return this._moveToViewLastNonWhitespaceColumn(n,i,r);default:return null}}static viewportMove(n,i,t,r,l){const d=n.getCompletelyVisibleViewRange(),a=n.coordinatesConverter.convertViewRangeToModelRange(d);switch(t){case 11:{const s=this._firstLineNumberInRange(n.model,a,l),o=n.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(n,i[0],r,s,o)]}case 13:{const s=this._lastLineNumberInRange(n.model,a,l),o=n.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(n,i[0],r,s,o)]}case 12:{const s=Math.round((a.startLineNumber+a.endLineNumber)/2),o=n.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(n,i[0],r,s,o)]}case 14:{const s=[];for(let o=0,c=i.length;ot.endLineNumber-1?d=t.endLineNumber-1:lC.CursorState.fromViewState(k.MoveOperations.moveLeft(n.cursorConfig,n,l.viewState,t,r)))}static _moveHalfLineLeft(n,i,t){const r=[];for(let l=0,d=i.length;lC.CursorState.fromViewState(k.MoveOperations.moveRight(n.cursorConfig,n,l.viewState,t,r)))}static _moveHalfLineRight(n,i,t){const r=[];for(let l=0,d=i.length;lg.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(g=>g.asCursorState())}getViewPositions(){return this.cursors.map(g=>g.viewState.position)}getTopMostViewPosition(){return(0,w.findMinBy)(this.cursors,(0,w.compareBy)(g=>g.viewState.position,I.Position.compare)).viewState.position}getBottomMostViewPosition(){return(0,w.findLastMaxBy)(this.cursors,(0,w.compareBy)(g=>g.viewState.position,I.Position.compare)).viewState.position}getSelections(){return this.cursors.map(g=>g.modelState.selection)}getViewSelections(){return this.cursors.map(g=>g.viewState.selection)}setSelections(g){this.setStates(C.CursorState.fromModelSelections(g))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(g){g!==null&&(this.cursors[0].setState(this.context,g[0].modelState,g[0].viewState),this._setSecondaryStates(g.slice(1)))}_setSecondaryStates(g){const n=this.cursors.length-1,i=g.length;if(ni){const t=n-i;for(let r=0;r=g+1&&this.lastAddedCursorIndex--,this.cursors[g+1].dispose(this.context),this.cursors.splice(g+1,1)}normalize(){if(this.cursors.length===1)return;const g=this.cursors.slice(0),n=[];for(let i=0,t=g.length;ii.selection,L.Range.compareRangesUsingStarts));for(let i=0;ic&&m.index--;g.splice(c,1),n.splice(o,1),this._removeSecondaryCursor(c-1),i--}}}}e.CursorCollection=v}),define(re[415],ae([1,0,98]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterPairSupport=void 0;class C{constructor(I){if(I.autoClosingPairs?this._autoClosingPairs=I.autoClosingPairs.map(L=>new w.StandardAutoClosingPairConditional(L)):I.brackets?this._autoClosingPairs=I.brackets.map(L=>new w.StandardAutoClosingPairConditional({open:L[0],close:L[1]})):this._autoClosingPairs=[],I.__electricCharacterSupport&&I.__electricCharacterSupport.docComment){const L=I.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new w.StandardAutoClosingPairConditional({open:L.open,close:L.close||""}))}this._autoCloseBefore=typeof I.autoCloseBefore=="string"?I.autoCloseBefore:C.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=I.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}getSurroundingPairs(){return this._surroundingPairs}}e.CharacterPairSupport=C,C.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])>
`}),define(re[416],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentRulesSupport=void 0;function w(k){return k.global&&(k.lastIndex=0),!0}class C{constructor(I){this._indentationRules=I}shouldIncrease(I){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&w(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(I))}shouldDecrease(I){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&w(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(I))}shouldIndentNextLine(I){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&w(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(I))}shouldIgnore(I){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&w(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(I))}getIndentMetadata(I){let L=0;return this.shouldIncrease(I)&&(L+=1),this.shouldDecrease(I)&&(L+=2),this.shouldIndentNextLine(I)&&(L+=4),this.shouldIgnore(I)&&(L+=8),L}}e.IndentRulesSupport=C}),define(re[417],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BasicInplaceReplace=void 0;class w{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(k,I,L,b,v){if(k&&I){const u=this.doNavigateValueSet(I,v);if(u)return{range:k,value:u}}if(L&&b){const u=this.doNavigateValueSet(b,v);if(u)return{range:L,value:u}}return null}doNavigateValueSet(k,I){const L=this.numberReplace(k,I);return L!==null?L:this.textReplace(k,I)}numberReplace(k,I){const L=Math.pow(10,k.length-(k.lastIndexOf(".")+1));let b=Number(k);const v=parseFloat(k);return!isNaN(b)&&!isNaN(v)&&b===v?b===0&&!I?null:(b=Math.floor(b*L),b+=I?L:-L,String(b/L)):null}textReplace(k,I){return this.valueSetsReplace(this._defaultValueSet,k,I)}valueSetsReplace(k,I,L){let b=null;for(let v=0,u=k.length;b===null&&v=0?(b+=L?1:-1,b<0?b=k.length-1:b%=k.length,k[b]):null}}e.BasicInplaceReplace=w,w.INSTANCE=new w}),define(re[418],ae([1,0,222,14]),function($,e,w,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClosingBracketKind=e.OpeningBracketKind=e.BracketKindBase=e.LanguageBracketsConfiguration=void 0;class k{constructor(g,n){this.languageId=g;let i;n.colorizedBracketPairs?i=I(n.colorizedBracketPairs.map(l=>[l[0],l[1]])):n.brackets?i=I(n.brackets.map(l=>[l[0],l[1]]).filter(l=>!(l[0]==="<"&&l[1]===">"))):i=[];const t=new w.CachedFunction(l=>{const d=new Set;return{info:new b(this,l,d),closing:d}}),r=new w.CachedFunction(l=>{const d=new Set;return{info:new v(this,l,d),opening:d}});for(const[l,d]of i){const a=t.get(l),s=r.get(d);a.closing.add(s.info),s.opening.add(a.info)}this._openingBrackets=new Map([...t.cachedValues].map(([l,d])=>[l,d.info])),this._closingBrackets=new Map([...r.cachedValues].map(([l,d])=>[l,d.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(g){return this._openingBrackets.get(g)}getClosingBracketInfo(g){return this._closingBrackets.get(g)}getBracketInfo(g){return this.getOpeningBracketInfo(g)||this.getClosingBracketInfo(g)}}e.LanguageBracketsConfiguration=k;function I(u){return u.filter(([g,n])=>g!==""&&n!=="")}class L{constructor(g,n){this.config=g,this.bracketText=n}get languageId(){return this.config.languageId}}e.BracketKindBase=L;class b extends L{constructor(g,n,i){super(g,n);this.openedBrackets=i,this.isOpeningBracket=!0}}e.OpeningBracketKind=b;class v extends L{constructor(g,n,i){super(g,n);this.closedBrackets=i,this.isOpeningBracket=!1}closes(g){if(g.languageId===this.languageId&&g.config!==this.config)throw new C.BugIndicatingError("Brackets from different language configuration cannot be used.");return this.closedBrackets.has(g)}getClosedBrackets(){return[...this.closedBrackets]}}e.ClosingBracketKind=v}),define(re[419],ae([1,0,14,8,98]),function($,e,w,C,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OnEnterSupport=void 0;class I{constructor(b){b=b||{},b.brackets=b.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],b.brackets.forEach(v=>{const u=I._createOpenBracketRegExp(v[0]),g=I._createCloseBracketRegExp(v[1]);u&&g&&this._brackets.push({open:v[0],openRegExp:u,close:v[1],closeRegExp:g})}),this._regExpRules=b.onEnterRules||[]}onEnter(b,v,u,g){if(b>=3)for(let n=0,i=this._regExpRules.length;nl.reg?(l.reg.lastIndex=0,l.reg.test(l.text)):!0))return t.action}if(b>=2&&u.length>0&&g.length>0)for(let n=0,i=this._brackets.length;n=2&&u.length>0){for(let n=0,i=this._brackets.length;n{const y=n(h.token,S.token);return y!==0?y:h.index-S.index});let a=0,s="000000",o="ffffff";for(;l.length>=1&&l[0].token==="";){const h=l.shift();h.fontStyle!==-1&&(a=h.fontStyle),h.foreground!==null&&(s=h.foreground),h.background!==null&&(o=h.background)}const c=new b;for(const h of d)c.getId(h);const f=c.getId(s),p=c.getId(o),_=new i(a,f,p),m=new t(_);for(let h=0,S=l.length;h>>0,this._cache.set(a,s)}return(s|d<<0)>>>0}}e.TokenTheme=v;const u=/\b(comment|string|regex|regexp)\b/;function g(l){const d=l.match(u);if(!d)return 0;switch(d[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"regexp":return 3}throw new Error("Unexpected match for standard token type!")}e.toStandardTokenType=g;function n(l,d){return ld?1:0}e.strcmp=n;class i{constructor(d,a,s){this._themeTrieElementRuleBrand=void 0,this._fontStyle=d,this._foreground=a,this._background=s,this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}clone(){return new i(this._fontStyle,this._foreground,this._background)}acceptOverwrite(d,a,s){d!==-1&&(this._fontStyle=d),a!==0&&(this._foreground=a),s!==0&&(this._background=s),this.metadata=(this._fontStyle<<11|this._foreground<<15|this._background<<24)>>>0}}e.ThemeTrieElementRule=i;class t{constructor(d){this._themeTrieElementBrand=void 0,this._mainRule=d,this._children=new Map}match(d){if(d==="")return this._mainRule;const a=d.indexOf(".");let s,o;a===-1?(s=d,o=""):(s=d.substring(0,a),o=d.substring(a+1));const c=this._children.get(s);return typeof c!="undefined"?c.match(o):this._mainRule}insert(d,a,s,o){if(d===""){this._mainRule.acceptOverwrite(a,s,o);return}const c=d.indexOf(".");let f,p;c===-1?(f=d,p=""):(f=d.substring(0,c),p=d.substring(c+1));let _=this._children.get(f);typeof _=="undefined"&&(_=new t(this._mainRule.clone()),this._children.set(f,_)),_.insert(p,a,s,o)}}e.ThemeTrieElement=t;function r(l){const d=[];for(let a=1,s=l.length;a=f}e.lengthGreaterThanEqual=d;function a(c){return v(c.lineNumber-1,c.column-1)}e.positionToLength=a;function s(c,f){const p=c,_=Math.floor(p/b),m=p-_*b,h=f,S=Math.floor(h/b),y=h-S*b;return new C.Range(_+1,m+1,S+1,y+1)}e.lengthsToRange=s;function o(c){const f=(0,w.splitLines)(c);return v(f.length-1,f[f.length-1].length)}e.lengthOfString=o}),define(re[235],ae([1,0,87]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BeforeEditPositionMapper=e.TextEditInfo=void 0;class C{constructor(b,v,u){this.startOffset=b,this.endOffset=v,this.newLength=u}}e.TextEditInfo=C;class k{constructor(b,v){this.documentLength=v,this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=b.map(u=>I.from(u))}getOffsetBeforeChange(b){return this.adjustNextEdit(b),this.translateCurToOld(b)}getDistanceToNextChange(b){this.adjustNextEdit(b);const v=this.edits[this.nextEditIdx],u=v?this.translateOldToCur(v.offsetObj):this.documentLength;return(0,w.lengthDiffNonNegative)(b,u)}translateOldToCur(b){return b.lineCount===this.deltaLineIdxInOld?(0,w.toLength)(b.lineCount+this.deltaOldToNewLineCount,b.columnCount+this.deltaOldToNewColumnCount):(0,w.toLength)(b.lineCount+this.deltaOldToNewLineCount,b.columnCount)}translateCurToOld(b){const v=(0,w.lengthToObj)(b);return v.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,w.toLength)(v.lineCount-this.deltaOldToNewLineCount,v.columnCount-this.deltaOldToNewColumnCount):(0,w.toLength)(v.lineCount-this.deltaOldToNewLineCount,v.columnCount)}adjustNextEdit(b){for(;this.nextEditIdx=L.childrenLength)return-1;if(L.getChild(b))return b}}function I(L){return L.length>0?L[L.length-1]:void 0}}),define(re[111],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DenseKeyProvider=e.identityKeyProvider=e.SmallImmutableSet=void 0;const w=new Array;class C{constructor(L,b){this.items=L,this.additionalItems=b}static create(L,b){if(L<=128&&b.length===0){let v=C.cache[L];return v||(v=new C(L,b),C.cache[L]=v),v}return new C(L,b)}static getEmpty(){return this.empty}add(L,b){const v=b.getKey(L);let u=v>>5;if(u===0){const n=1<0;)o=o.getChild(c-1);return o.canBeReused(s)}handleChildrenChanged(){this.throwIfImmutable();const s=this.childrenLength;let o=this.getChild(0).length,c=this.getChild(0).missingOpeningBracketIds;for(let f=1;f=u.length)return null;const l=g,d=u[l].listHeight;for(g++;g=2?k(l===0&&g===u.length?u:u.slice(l,g),!1):u[l]}let i=n(),t=n();if(!t)return i;for(let l=n();l;l=n())I(i,t)<=I(t,l)?(i=L(i,t),t=l):t=L(t,l);return L(i,t)}e.concat23Trees=C;function k(u,g=!1){if(u.length===0)return null;if(u.length===1)return u[0];let n=u.length;for(;n>3;){const i=n>>1;for(let t=0;t=3?u[2]:null,g)}e.concat23TreesOfSameHeight=k;function I(u,g){return Math.abs(u.listHeight-g.listHeight)}function L(u,g){return u.listHeight===g.listHeight?w.ListAstNode.create23(u,g,null,!1):u.listHeight>g.listHeight?b(u,g):v(g,u)}function b(u,g){u=u.toMutable();let n=u;const i=new Array;let t;for(;;){if(g.listHeight===n.listHeight){t=g;break}if(n.kind!==4)throw new Error("unexpected");i.push(n),n=n.makeLastElementMutable()}for(let r=i.length-1;r>=0;r--){const l=i[r];t?l.childrenLength>=3?t=w.ListAstNode.create23(l.unappendChild(),t,null,!1):(l.appendChildOfSameHeight(t),t=void 0):l.handleChildrenChanged()}return t?w.ListAstNode.create23(u,t,null,!1):u}function v(u,g){u=u.toMutable();let n=u;const i=new Array;for(;g.listHeight!==n.listHeight;){if(n.kind!==4)throw new Error("unexpected");i.push(n),n=n.makeFirstElementMutable()}let t=g;for(let r=i.length-1;r>=0;r--){const l=i[r];t?l.childrenLength>=3?t=w.ListAstNode.create23(t,l.unprependChild(),null,!1):(l.prependChildOfSameHeight(t),t=void 0):l.handleChildrenChanged()}return t?w.ListAstNode.create23(t,u,null,!1):u}}),define(re[236],ae([1,0,157,235,111,87,422,421]),function($,e,w,C,k,I,L,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseDocument=void 0;function v(g,n,i,t){return new u(g,n,i,t).parseDocument()}e.parseDocument=v;class u{constructor(n,i,t,r){if(this.tokenizer=n,this.createImmutableLists=r,this._itemsConstructed=0,this._itemsFromCache=0,t&&r)throw new Error("Not supported");this.oldNodeReader=t?new b.NodeReader(t):void 0,this.positionMapper=new C.BeforeEditPositionMapper(i,n.length)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let n=this.parseList(k.SmallImmutableSet.getEmpty());return n||(n=w.ListAstNode.getEmpty()),n}parseList(n){const i=new Array;for(;;){const r=this.tokenizer.peek();if(!r||r.kind===2&&r.bracketIds.intersects(n))break;const l=this.parseChild(n);l.kind===4&&l.childrenLength===0||i.push(l)}return this.oldNodeReader?(0,L.concat23Trees)(i):(0,L.concat23TreesOfSameHeight)(i,this.createImmutableLists)}parseChild(n){if(this.oldNodeReader){const t=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(!(0,I.lengthIsZero)(t)){const r=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),l=>(0,I.lengthLessThan)(l.length,t)?l.canBeReused(n):!1);if(r)return this._itemsFromCache++,this.tokenizer.skip(r.length),r}}this._itemsConstructed++;const i=this.tokenizer.read();switch(i.kind){case 2:return new w.InvalidBracketAstNode(i.bracketIds,i.length);case 0:return i.astNode;case 1:{const t=n.merge(i.bracketIds),r=this.parseList(t),l=this.tokenizer.peek();return l&&l.kind===2&&(l.bracketId===i.bracketId||l.bracketIds.intersects(i.bracketIds))?(this.tokenizer.read(),w.PairAstNode.create(i.astNode,r,l.astNode)):w.PairAstNode.create(i.astNode,r,null)}default:throw new Error("unexpected")}}}}),define(re[183],ae([1,0,14,109,157,87,111]),function($,e,w,C,k,I,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FastTokenizer=e.TextBufferTokenizer=e.Token=void 0;class b{constructor(i,t,r,l,d){this.length=i,this.kind=t,this.bracketId=r,this.bracketIds=l,this.astNode=d}}e.Token=b;class v{constructor(i,t){this.textModel=i,this.bracketTokens=t,this.reader=new u(this.textModel,this.bracketTokens),this._offset=I.lengthZero,this.didPeek=!1,this.peeked=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}get offset(){return this._offset}get length(){return(0,I.toLength)(this.textBufferLineCount,this.textBufferLastLineLength)}skip(i){this.didPeek=!1,this._offset=(0,I.lengthAdd)(this._offset,i);const t=(0,I.lengthToObj)(this._offset);this.reader.setPosition(t.lineCount,t.columnCount)}read(){let i;return this.peeked?(this.didPeek=!1,i=this.peeked):i=this.reader.read(),i&&(this._offset=(0,I.lengthAdd)(this._offset,i.length)),i}peek(){return this.didPeek||(this.peeked=this.reader.read(),this.didPeek=!0),this.peeked}}e.TextBufferTokenizer=v;class u{constructor(i,t){this.textModel=i,this.bracketTokens=t,this.lineIdx=0,this.line=null,this.lineCharOffset=0,this.lineTokens=null,this.lineTokenOffset=0,this.peekedToken=null,this.textBufferLineCount=i.getLineCount(),this.textBufferLastLineLength=i.getLineLength(this.textBufferLineCount)}setPosition(i,t){i===this.lineIdx?(this.lineCharOffset=t,this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset)):(this.lineIdx=i,this.lineCharOffset=t,this.line=null),this.peekedToken=null}read(){if(this.peekedToken){const d=this.peekedToken;return this.peekedToken=null,this.lineCharOffset+=(0,I.lengthGetColumnCountIfZeroLineCount)(d.length),d}if(this.lineIdx>this.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;this.line===null&&(this.lineTokens=this.textModel.tokenization.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=this.lineCharOffset===0?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));const i=this.lineIdx,t=this.lineCharOffset;let r=0;for(;;){const d=this.lineTokens,a=d.getCount();let s=null;if(this.lineTokenOffset1e3))break;if(r>1500)break}const l=(0,I.lengthDiff)(i,t,this.lineIdx,this.lineCharOffset);return new b(l,0,-1,L.SmallImmutableSet.getEmpty(),new k.TextAstNode(l))}}class g{constructor(i,t){this.text=i,this._offset=I.lengthZero,this.idx=0;const r=t.getRegExpStr(),l=r?new RegExp(r+`|
`,"gi"):null,d=[];let a,s=0,o=0,c=0,f=0;const p=new Array;for(let h=0;h<60;h++)p.push(new b((0,I.toLength)(0,h),0,-1,L.SmallImmutableSet.getEmpty(),new k.TextAstNode((0,I.toLength)(0,h))));const _=new Array;for(let h=0;h<60;h++)_.push(new b((0,I.toLength)(1,h),0,-1,L.SmallImmutableSet.getEmpty(),new k.TextAstNode((0,I.toLength)(1,h))));if(l)for(l.lastIndex=0;(a=l.exec(i))!==null;){const h=a.index,S=a[0];if(S===`
`)s++,o=h+1;else{if(c!==h){let y;if(f===s){const E=h-c;if(Ev(i)).join("|")}}get regExpGlobal(){if(!this.hasRegExp){const n=this.getRegExpStr();this._regExpGlobal=n?new RegExp(n,"gi"):null,this.hasRegExp=!0}return this._regExpGlobal}getToken(n){return this.map.get(n.toLowerCase())}findClosingTokenText(n){for(const[i,t]of this.map)if(t.kind===2&&t.bracketIds.intersects(n))return i}get isEmpty(){return this.map.size===0}}e.BracketTokens=b;function v(g){let n=(0,w.escapeRegExpCharacters)(g);return/^[\w ]+/.test(g)&&(n=`\\b${n}`),/[\w ]+$/.test(g)&&(n=`${n}\\b`),n}class u{constructor(n,i){this.denseKeyProvider=n,this.getLanguageConfiguration=i,this.languageIdToBracketTokens=new Map}didLanguageChange(n){return this.languageIdToBracketTokens.has(n)}getSingleLanguageBracketTokens(n){let i=this.languageIdToBracketTokens.get(n);return i||(i=b.createFromLanguage(this.getLanguageConfiguration(n),this.denseKeyProvider),this.languageIdToBracketTokens.set(n,i)),i}}e.LanguageAgnosticBracketTokens=u}),define(re[423],ae([1,0,237,87,236,111,183]),function($,e,w,C,k,I,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fixBracketsInLine=void 0;function b(u,g){const n=new I.DenseKeyProvider,i=new w.LanguageAgnosticBracketTokens(n,s=>g.getLanguageConfiguration(s)),t=new L.TextBufferTokenizer(new v([u]),i),r=(0,k.parseDocument)(t,[],void 0,!0);let l="";const d=u.getLineContent();function a(s,o){if(s.kind===2)a(s.openingBracket,o),o=(0,C.lengthAdd)(o,s.openingBracket.length),s.child&&(a(s.child,o),o=(0,C.lengthAdd)(o,s.child.length)),s.closingBracket?(a(s.closingBracket,o),o=(0,C.lengthAdd)(o,s.closingBracket.length)):l+=i.getSingleLanguageBracketTokens(s.openingBracket.languageId).findClosingTokenText(s.openingBracket.bracketIds);else if(s.kind!==3){if(s.kind===0||s.kind===1)l+=d.substring((0,C.lengthGetColumnCountIfZeroLineCount)(o),(0,C.lengthGetColumnCountIfZeroLineCount)((0,C.lengthAdd)(o,s.length)));else if(s.kind===4)for(const c of s.children)a(c,o),o=(0,C.lengthAdd)(o,c.length)}}return a(r,C.lengthZero),l}e.fixBracketsInLine=b;class v{constructor(g){this.lines=g,this.tokenization={getLineTokens:n=>this.lines[n-1]}}getLineCount(){return this.lines.length}getLineLength(g){return this.lines[g-1].getLineContent().length}}}),define(re[424],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.guessIndentation=void 0;class w{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function C(I,L,b,v,u){u.spacesDiff=0,u.looksLikeAlignment=!1;let g;for(g=0;g0&&i>0||t>0&&r>0)return;const l=Math.abs(i-r),d=Math.abs(n-t);if(l===0){u.spacesDiff=d,d>0&&0<=t-1&&t-10?u++:h>1&&g++,C(n,i,f,m,d),d.looksLikeAlignment&&!(b&&L===d.spacesDiff)))continue;const y=d.spacesDiff;y<=r&&l[y]++,n=f,i=m}let a=b;u!==g&&(a=u{const f=l[c];f>o&&(o=f,s=c)}),s===4&&l[4]>0&&l[2]>0&&l[2]>=l[4]/2&&(s=2)}return{insertSpaces:a,tabSize:s}}e.guessIndentation=k}),define(re[425],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intervalCompare=e.recomputeMaxEnd=e.nodeAcceptEdit=e.IntervalTree=e.SENTINEL=e.IntervalNode=e.getNodeColor=void 0;function w(D){return(D.metadata&1)>>>0}e.getNodeColor=w;function C(D,M){D.metadata=D.metadata&254|M<<0}function k(D){return(D.metadata&2)>>>1==1}function I(D,M){D.metadata=D.metadata&253|(M?1:0)<<1}function L(D){return(D.metadata&4)>>>2==1}function b(D,M){D.metadata=D.metadata&251|(M?1:0)<<2}function v(D){return(D.metadata&24)>>>3}function u(D,M){D.metadata=D.metadata&231|M<<3}function g(D){return(D.metadata&32)>>>5==1}function n(D,M){D.metadata=D.metadata&223|(M?1:0)<<5}class i{constructor(M,P,B){this.metadata=0,this.parent=this,this.left=this,this.right=this,C(this,1),this.start=P,this.end=B,this.delta=0,this.maxEnd=B,this.id=M,this.ownerId=0,this.options=null,b(this,!1),u(this,1),n(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=P,this.cachedAbsoluteEnd=B,this.range=null,I(this,!1)}reset(M,P,B,W){this.start=P,this.end=B,this.maxEnd=B,this.cachedVersionId=M,this.cachedAbsoluteStart=P,this.cachedAbsoluteEnd=B,this.range=W}setOptions(M){this.options=M;const P=this.options.className;b(this,P==="squiggly-error"||P==="squiggly-warning"||P==="squiggly-info"),u(this,this.options.stickiness),n(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(M,P,B){this.cachedVersionId!==B&&(this.range=null),this.cachedVersionId=B,this.cachedAbsoluteStart=M,this.cachedAbsoluteEnd=P}detach(){this.parent=null,this.left=null,this.right=null}}e.IntervalNode=i,e.SENTINEL=new i(null,0,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,C(e.SENTINEL,0);class t{constructor(){this.root=e.SENTINEL,this.requestNormalizeDelta=!1}intervalSearch(M,P,B,W,V){return this.root===e.SENTINEL?[]:p(this,M,P,B,W,V)}search(M,P,B){return this.root===e.SENTINEL?[]:f(this,M,P,B)}collectNodesFromOwner(M){return o(this,M)}collectNodesPostOrder(){return c(this)}insert(M){_(this,M),this._normalizeDeltaIfNecessary()}delete(M){h(this,M),this._normalizeDeltaIfNecessary()}resolveNode(M,P){const B=M;let W=0;for(;M!==this.root;)M===M.parent.right&&(W+=M.parent.delta),M=M.parent;const V=B.start+W,A=B.end+W;B.setCachedOffsets(V,A,P)}acceptReplace(M,P,B,W){const V=a(this,M,M+P);for(let A=0,Q=V.length;AP||B===1?!1:B===2?!0:M}function d(D,M,P,B,W){const V=v(D),A=V===0||V===2,Q=V===1||V===2,J=P-M,H=B,q=Math.min(J,H),Z=D.start;let ie=!1;const Y=D.end;let te=!1;M<=Z&&Y<=P&&g(D)&&(D.start=M,ie=!0,D.end=M,te=!0);{const x=W?1:J>0?2:0;!ie&&l(Z,A,M,x)&&(ie=!0),!te&&l(Y,Q,M,x)&&(te=!0)}if(q>0&&!W){const x=J>H?2:0;!ie&&l(Z,A,M+q,x)&&(ie=!0),!te&&l(Y,Q,M+q,x)&&(te=!0)}{const x=W?1:0;!ie&&l(Z,A,P,x)&&(D.start=M+H,ie=!0),!te&&l(Y,Q,P,x)&&(D.end=M+H,te=!0)}const de=H-J;ie||(D.start=Math.max(0,Z+de)),te||(D.end=Math.max(0,Y+de)),D.start>D.end&&(D.end=D.start)}e.nodeAcceptEdit=d;function a(D,M,P){let B=D.root,W=0,V=0,A=0,Q=0;const J=[];let H=0;for(;B!==e.SENTINEL;){if(k(B)){I(B.left,!1),I(B.right,!1),B===B.parent.right&&(W-=B.parent.delta),B=B.parent;continue}if(!k(B.left)){if(V=W+B.maxEnd,VP){I(B,!0);continue}if(Q=W+B.end,Q>=M&&(B.setCachedOffsets(A,Q,0),J[H++]=B),I(B,!0),B.right!==e.SENTINEL&&!k(B.right)){W+=B.delta,B=B.right;continue}}return I(D.root,!1),J}function s(D,M,P,B){let W=D.root,V=0,A=0,Q=0;const J=B-(P-M);for(;W!==e.SENTINEL;){if(k(W)){I(W.left,!1),I(W.right,!1),W===W.parent.right&&(V-=W.parent.delta),R(W),W=W.parent;continue}if(!k(W.left)){if(A=V+W.maxEnd,AP){W.start+=J,W.end+=J,W.delta+=J,(W.delta<-1073741824||W.delta>1073741824)&&(D.requestNormalizeDelta=!0),I(W,!0);continue}if(I(W,!0),W.right!==e.SENTINEL&&!k(W.right)){V+=W.delta,W=W.right;continue}}I(D.root,!1)}function o(D,M){let P=D.root;const B=[];let W=0;for(;P!==e.SENTINEL;){if(k(P)){I(P.left,!1),I(P.right,!1),P=P.parent;continue}if(P.left!==e.SENTINEL&&!k(P.left)){P=P.left;continue}if(P.ownerId===M&&(B[W++]=P),I(P,!0),P.right!==e.SENTINEL&&!k(P.right)){P=P.right;continue}}return I(D.root,!1),B}function c(D){let M=D.root;const P=[];let B=0;for(;M!==e.SENTINEL;){if(k(M)){I(M.left,!1),I(M.right,!1),M=M.parent;continue}if(M.left!==e.SENTINEL&&!k(M.left)){M=M.left;continue}if(M.right!==e.SENTINEL&&!k(M.right)){M=M.right;continue}P[B++]=M,I(M,!0)}return I(D.root,!1),P}function f(D,M,P,B){let W=D.root,V=0,A=0,Q=0;const J=[];let H=0;for(;W!==e.SENTINEL;){if(k(W)){I(W.left,!1),I(W.right,!1),W===W.parent.right&&(V-=W.parent.delta),W=W.parent;continue}if(W.left!==e.SENTINEL&&!k(W.left)){W=W.left;continue}A=V+W.start,Q=V+W.end,W.setCachedOffsets(A,Q,B);let q=!0;if(M&&W.ownerId&&W.ownerId!==M&&(q=!1),P&&L(W)&&(q=!1),q&&(J[H++]=W),I(W,!0),W.right!==e.SENTINEL&&!k(W.right)){V+=W.delta,W=W.right;continue}}return I(D.root,!1),J}function p(D,M,P,B,W,V){let A=D.root,Q=0,J=0,H=0,q=0;const Z=[];let ie=0;for(;A!==e.SENTINEL;){if(k(A)){I(A.left,!1),I(A.right,!1),A===A.parent.right&&(Q-=A.parent.delta),A=A.parent;continue}if(!k(A.left)){if(J=Q+A.maxEnd,JP){I(A,!0);continue}if(q=Q+A.end,q>=M){A.setCachedOffsets(H,q,V);let Y=!0;B&&A.ownerId&&A.ownerId!==B&&(Y=!1),W&&L(A)&&(Y=!1),Y&&(Z[ie++]=A)}if(I(A,!0),A.right!==e.SENTINEL&&!k(A.right)){Q+=A.delta,A=A.right;continue}}return I(D.root,!1),Z}function _(D,M){if(D.root===e.SENTINEL)return M.parent=e.SENTINEL,M.left=e.SENTINEL,M.right=e.SENTINEL,C(M,0),D.root=M,D.root;m(D,M),F(M.parent);let P=M;for(;P!==D.root&&w(P.parent)===1;)if(P.parent===P.parent.parent.left){const B=P.parent.parent.right;w(B)===1?(C(P.parent,0),C(B,0),C(P.parent.parent,1),P=P.parent.parent):(P===P.parent.right&&(P=P.parent,E(D,P)),C(P.parent,0),C(P.parent.parent,1),N(D,P.parent.parent))}else{const B=P.parent.parent.left;w(B)===1?(C(P.parent,0),C(B,0),C(P.parent.parent,1),P=P.parent.parent):(P===P.parent.left&&(P=P.parent,N(D,P)),C(P.parent,0),C(P.parent.parent,1),E(D,P.parent.parent))}return C(D.root,0),M}function m(D,M){let P=0,B=D.root;const W=M.start,V=M.end;for(;;)if(O(W,V,B.start+P,B.end+P)<0)if(B.left===e.SENTINEL){M.start-=P,M.end-=P,M.maxEnd-=P,B.left=M;break}else B=B.left;else if(B.right===e.SENTINEL){M.start-=P+B.delta,M.end-=P+B.delta,M.maxEnd-=P+B.delta,B.right=M;break}else P+=B.delta,B=B.right;M.parent=B,M.left=e.SENTINEL,M.right=e.SENTINEL,C(M,1)}function h(D,M){let P,B;if(M.left===e.SENTINEL?(P=M.right,B=M,P.delta+=M.delta,(P.delta<-1073741824||P.delta>1073741824)&&(D.requestNormalizeDelta=!0),P.start+=M.delta,P.end+=M.delta):M.right===e.SENTINEL?(P=M.left,B=M):(B=S(M.right),P=B.right,P.start+=B.delta,P.end+=B.delta,P.delta+=B.delta,(P.delta<-1073741824||P.delta>1073741824)&&(D.requestNormalizeDelta=!0),B.start+=M.delta,B.end+=M.delta,B.delta=M.delta,(B.delta<-1073741824||B.delta>1073741824)&&(D.requestNormalizeDelta=!0)),B===D.root){D.root=P,C(P,0),M.detach(),y(),R(P),D.root.parent=e.SENTINEL;return}const W=w(B)===1;if(B===B.parent.left?B.parent.left=P:B.parent.right=P,B===M?P.parent=B.parent:(B.parent===M?P.parent=B:P.parent=B.parent,B.left=M.left,B.right=M.right,B.parent=M.parent,C(B,w(M)),M===D.root?D.root=B:M===M.parent.left?M.parent.left=B:M.parent.right=B,B.left!==e.SENTINEL&&(B.left.parent=B),B.right!==e.SENTINEL&&(B.right.parent=B)),M.detach(),W){F(P.parent),B!==M&&(F(B),F(B.parent)),y();return}F(P),F(P.parent),B!==M&&(F(B),F(B.parent));let V;for(;P!==D.root&&w(P)===0;)P===P.parent.left?(V=P.parent.right,w(V)===1&&(C(V,0),C(P.parent,1),E(D,P.parent),V=P.parent.right),w(V.left)===0&&w(V.right)===0?(C(V,1),P=P.parent):(w(V.right)===0&&(C(V.left,0),C(V,1),N(D,V),V=P.parent.right),C(V,w(P.parent)),C(P.parent,0),C(V.right,0),E(D,P.parent),P=D.root)):(V=P.parent.left,w(V)===1&&(C(V,0),C(P.parent,1),N(D,P.parent),V=P.parent.left),w(V.left)===0&&w(V.right)===0?(C(V,1),P=P.parent):(w(V.left)===0&&(C(V.right,0),C(V,1),E(D,V),V=P.parent.left),C(V,w(P.parent)),C(P.parent,0),C(V.left,0),N(D,P.parent),P=D.root));C(P,0),y()}function S(D){for(;D.left!==e.SENTINEL;)D=D.left;return D}function y(){e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.delta=0,e.SENTINEL.start=0,e.SENTINEL.end=0}function E(D,M){const P=M.right;P.delta+=M.delta,(P.delta<-1073741824||P.delta>1073741824)&&(D.requestNormalizeDelta=!0),P.start+=M.delta,P.end+=M.delta,M.right=P.left,P.left!==e.SENTINEL&&(P.left.parent=M),P.parent=M.parent,M.parent===e.SENTINEL?D.root=P:M===M.parent.left?M.parent.left=P:M.parent.right=P,P.left=M,M.parent=P,R(M),R(P)}function N(D,M){const P=M.left;M.delta-=P.delta,(M.delta<-1073741824||M.delta>1073741824)&&(D.requestNormalizeDelta=!0),M.start-=P.delta,M.end-=P.delta,M.left=P.right,P.right!==e.SENTINEL&&(P.right.parent=M),P.parent=M.parent,M.parent===e.SENTINEL?D.root=P:M===M.parent.right?M.parent.right=P:M.parent.left=P,P.right=M,M.parent=P,R(M),R(P)}function T(D){let M=D.end;if(D.left!==e.SENTINEL){const P=D.left.maxEnd;P>M&&(M=P)}if(D.right!==e.SENTINEL){const P=D.right.maxEnd+D.delta;P>M&&(M=P)}return M}function R(D){D.maxEnd=T(D)}e.recomputeMaxEnd=R;function F(D){for(;D!==e.SENTINEL;){const M=T(D);if(D.maxEnd===M)return;D.maxEnd=M,D=D.parent}}function O(D,M,P,B){return D===P?M-B:D-P}e.intervalCompare=O}),define(re[426],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.recomputeTreeMetadata=e.updateTreeMetadata=e.fixInsert=e.rbDelete=e.rightRotate=e.leftRotate=e.resetSentinel=e.calculateLF=e.calculateSize=e.righttest=e.leftest=e.SENTINEL=e.TreeNode=void 0;class w{constructor(l,d){this.piece=l,this.color=d,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==e.SENTINEL)return C(this.right);let l=this;for(;l.parent!==e.SENTINEL&&l.parent.left!==l;)l=l.parent;return l.parent===e.SENTINEL?e.SENTINEL:l.parent}prev(){if(this.left!==e.SENTINEL)return k(this.left);let l=this;for(;l.parent!==e.SENTINEL&&l.parent.right!==l;)l=l.parent;return l.parent===e.SENTINEL?e.SENTINEL:l.parent}detach(){this.parent=null,this.left=null,this.right=null}}e.TreeNode=w,e.SENTINEL=new w(null,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,e.SENTINEL.color=0;function C(r){for(;r.left!==e.SENTINEL;)r=r.left;return r}e.leftest=C;function k(r){for(;r.right!==e.SENTINEL;)r=r.right;return r}e.righttest=k;function I(r){return r===e.SENTINEL?0:r.size_left+r.piece.length+I(r.right)}e.calculateSize=I;function L(r){return r===e.SENTINEL?0:r.lf_left+r.piece.lineFeedCnt+L(r.right)}e.calculateLF=L;function b(){e.SENTINEL.parent=e.SENTINEL}e.resetSentinel=b;function v(r,l){const d=l.right;d.size_left+=l.size_left+(l.piece?l.piece.length:0),d.lf_left+=l.lf_left+(l.piece?l.piece.lineFeedCnt:0),l.right=d.left,d.left!==e.SENTINEL&&(d.left.parent=l),d.parent=l.parent,l.parent===e.SENTINEL?r.root=d:l.parent.left===l?l.parent.left=d:l.parent.right=d,d.left=l,l.parent=d}e.leftRotate=v;function u(r,l){const d=l.left;l.left=d.right,d.right!==e.SENTINEL&&(d.right.parent=l),d.parent=l.parent,l.size_left-=d.size_left+(d.piece?d.piece.length:0),l.lf_left-=d.lf_left+(d.piece?d.piece.lineFeedCnt:0),l.parent===e.SENTINEL?r.root=d:l===l.parent.right?l.parent.right=d:l.parent.left=d,d.right=l,l.parent=d}e.rightRotate=u;function g(r,l){let d,a;if(l.left===e.SENTINEL?(a=l,d=a.right):l.right===e.SENTINEL?(a=l,d=a.left):(a=C(l.right),d=a.right),a===r.root){r.root=d,d.color=0,l.detach(),b(),r.root.parent=e.SENTINEL;return}const s=a.color===1;if(a===a.parent.left?a.parent.left=d:a.parent.right=d,a===l?(d.parent=a.parent,t(r,d)):(a.parent===l?d.parent=a:d.parent=a.parent,t(r,d),a.left=l.left,a.right=l.right,a.parent=l.parent,a.color=l.color,l===r.root?r.root=a:l===l.parent.left?l.parent.left=a:l.parent.right=a,a.left!==e.SENTINEL&&(a.left.parent=a),a.right!==e.SENTINEL&&(a.right.parent=a),a.size_left=l.size_left,a.lf_left=l.lf_left,t(r,a)),l.detach(),d.parent.left===d){const c=I(d),f=L(d);if(c!==d.parent.size_left||f!==d.parent.lf_left){const p=c-d.parent.size_left,_=f-d.parent.lf_left;d.parent.size_left=c,d.parent.lf_left=f,i(r,d.parent,p,_)}}if(t(r,d.parent),s){b();return}let o;for(;d!==r.root&&d.color===0;)d===d.parent.left?(o=d.parent.right,o.color===1&&(o.color=0,d.parent.color=1,v(r,d.parent),o=d.parent.right),o.left.color===0&&o.right.color===0?(o.color=1,d=d.parent):(o.right.color===0&&(o.left.color=0,o.color=1,u(r,o),o=d.parent.right),o.color=d.parent.color,d.parent.color=0,o.right.color=0,v(r,d.parent),d=r.root)):(o=d.parent.left,o.color===1&&(o.color=0,d.parent.color=1,u(r,d.parent),o=d.parent.left),o.left.color===0&&o.right.color===0?(o.color=1,d=d.parent):(o.left.color===0&&(o.right.color=0,o.color=1,v(r,o),o=d.parent.left),o.color=d.parent.color,d.parent.color=0,o.left.color=0,u(r,d.parent),d=r.root));d.color=0,b()}e.rbDelete=g;function n(r,l){for(t(r,l);l!==r.root&&l.parent.color===1;)if(l.parent===l.parent.parent.left){const d=l.parent.parent.right;d.color===1?(l.parent.color=0,d.color=0,l.parent.parent.color=1,l=l.parent.parent):(l===l.parent.right&&(l=l.parent,v(r,l)),l.parent.color=0,l.parent.parent.color=1,u(r,l.parent.parent))}else{const d=l.parent.parent.left;d.color===1?(l.parent.color=0,d.color=0,l.parent.parent.color=1,l=l.parent.parent):(l===l.parent.left&&(l=l.parent,u(r,l)),l.parent.color=0,l.parent.parent.color=1,v(r,l.parent.parent))}r.root.color=0}e.fixInsert=n;function i(r,l,d,a){for(;l!==r.root&&l!==e.SENTINEL;)l.parent.left===l&&(l.parent.size_left+=d,l.parent.lf_left+=a),l=l.parent}e.updateTreeMetadata=i;function t(r,l){let d=0,a=0;if(l!==r.root){for(;l!==r.root&&l===l.parent.right;)l=l.parent;if(l!==r.root)for(l=l.parent,d=I(l.left)-l.size_left,a=L(l.left)-l.lf_left,l.size_left+=d,l.lf_left+=a;l!==r.root&&(d!==0||a!==0);)l.parent.left===l&&(l.parent.size_left+=d,l.parent.lf_left+=a),l=l.parent}}e.recomputeTreeMetadata=t}),define(re[238],ae([1,0,18,148]),function($,e,w,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PrefixSumIndexOfResult=e.ConstantTimePrefixSumComputer=e.PrefixSumComputer=void 0;class k{constructor(v){this.values=v,this.prefixSum=new Uint32Array(v.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(v,u){v=(0,C.toUint32)(v);const g=this.values,n=this.prefixSum,i=u.length;return i===0?!1:(this.values=new Uint32Array(g.length+i),this.values.set(g.subarray(0,v),0),this.values.set(g.subarray(v),v+i),this.values.set(u,v),v-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(v,u){return v=(0,C.toUint32)(v),u=(0,C.toUint32)(u),this.values[v]===u?!1:(this.values[v]=u,v-1=g.length)return!1;const i=g.length-v;return u>=i&&(u=i),u===0?!1:(this.values=new Uint32Array(g.length-u),this.values.set(g.subarray(0,v),0),this.values.set(g.subarray(v+u),v),this.prefixSum=new Uint32Array(this.values.length),v-1=0&&this.prefixSum.set(n.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(v){return v<0?0:(v=(0,C.toUint32)(v),this._getPrefixSum(v))}_getPrefixSum(v){if(v<=this.prefixSumValidIndex[0])return this.prefixSum[v];let u=this.prefixSumValidIndex[0]+1;u===0&&(this.prefixSum[0]=this.values[0],u++),v>=this.values.length&&(v=this.values.length-1);for(let g=u;g<=v;g++)this.prefixSum[g]=this.prefixSum[g-1]+this.values[g];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],v),this.prefixSum[v]}getIndexOf(v){v=Math.floor(v),this.getTotalSum();let u=0,g=this.values.length-1,n=0,i=0,t=0;for(;u<=g;)if(n=u+(g-u)/2|0,i=this.prefixSum[n],t=i-this.values[n],v=i)u=n+1;else break;return new L(n,v-t)}}e.PrefixSumComputer=k;class I{constructor(v){this._values=v,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(v){return this._ensureValid(),v===0?0:this._prefixSum[v-1]}getIndexOf(v){this._ensureValid();const u=this._indexBySum[v],g=u>0?this._prefixSum[u-1]:0;return new L(u,v-g)}removeValues(v,u){this._values.splice(v,u),this._invalidate(v)}insertValues(v,u){this._values=(0,w.arrayInsert)(this._values,v,u),this._invalidate(v)}_invalidate(v){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,v-1)}_ensureValid(){if(!this._isValid){for(let v=this._validEndIndex+1,u=this._values.length;v0?this._prefixSum[v-1]:0;this._prefixSum[v]=n+g;for(let i=0;i=0;let o=null;try{o=w.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:s,global:!0,unicode:!0})}catch{return null}if(!o)return null;let c=!this.isRegex&&!s;return c&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(c=this.matchCase),new L.SearchData(o,this.wordSeparators?(0,C.getMapForWordSeparators)(this.wordSeparators):null,c?this.searchString:null)}}e.SearchParams=v;function u(a){if(!a||a.length===0)return!1;for(let s=0,o=a.length;s=o)break;const f=a.charCodeAt(s);if(f===110||f===114||f===87)return!0}}return!1}e.isMultilineRegexSource=u;function g(a,s,o){if(!o)return new L.FindMatch(a,null);const c=[];for(let f=0,p=s.length;f>0);o[p]>=s?f=p-1:o[p+1]>=s?(c=p,f=p):c=p+1}return c+1}}class i{static findMatches(s,o,c,f,p){const _=o.parseSearchRequest();return _?_.regex.multiline?this._doFindMatchesMultiline(s,c,new d(_.wordSeparators,_.regex),f,p):this._doFindMatchesLineByLine(s,c,_,f,p):[]}static _getMultilineMatchRange(s,o,c,f,p,_){let m,h=0;f?(h=f.findLineFeedCountBeforeOffset(p),m=o+p+h):m=o+p;let S;if(f){const T=f.findLineFeedCountBeforeOffset(p+_.length)-h;S=m+_.length+T}else S=m+_.length;const y=s.getPositionAt(m),E=s.getPositionAt(S);return new I.Range(y.lineNumber,y.column,E.lineNumber,E.column)}static _doFindMatchesMultiline(s,o,c,f,p){const _=s.getOffsetAt(o.getStartPosition()),m=s.getValueInRange(o,1),h=s.getEOL()===`\r
`?new n(m):null,S=[];let y=0,E;for(c.reset(0);E=c.next(m);)if(S[y++]=g(this._getMultilineMatchRange(s,_,m,h,E.index,E[0]),E,f),y>=p)return S;return S}static _doFindMatchesLineByLine(s,o,c,f,p){const _=[];let m=0;if(o.startLineNumber===o.endLineNumber){const S=s.getLineContent(o.startLineNumber).substring(o.startColumn-1,o.endColumn-1);return m=this._findMatchesInLine(c,S,o.startLineNumber,o.startColumn-1,m,_,f,p),_}const h=s.getLineContent(o.startLineNumber).substring(o.startColumn-1);m=this._findMatchesInLine(c,h,o.startLineNumber,o.startColumn-1,m,_,f,p);for(let S=o.startLineNumber+1;S=h))return p;return p}const y=new d(s.wordSeparators,s.regex);let E;y.reset(0);do if(E=y.next(o),E&&(_[p++]=g(new I.Range(c,E.index+1+f,c,E.index+1+E[0].length+f),E,m),p>=h))return p;while(E);return p}static findNextMatch(s,o,c,f){const p=o.parseSearchRequest();if(!p)return null;const _=new d(p.wordSeparators,p.regex);return p.regex.multiline?this._doFindNextMatchMultiline(s,c,_,f):this._doFindNextMatchLineByLine(s,c,_,f)}static _doFindNextMatchMultiline(s,o,c,f){const p=new k.Position(o.lineNumber,1),_=s.getOffsetAt(p),m=s.getLineCount(),h=s.getValueInRange(new I.Range(p.lineNumber,p.column,m,s.getLineMaxColumn(m)),1),S=s.getEOL()===`\r
`?new n(h):null;c.reset(o.column-1);const y=c.next(h);return y?g(this._getMultilineMatchRange(s,_,h,S,y.index,y[0]),y,f):o.lineNumber!==1||o.column!==1?this._doFindNextMatchMultiline(s,new k.Position(1,1),c,f):null}static _doFindNextMatchLineByLine(s,o,c,f){const p=s.getLineCount(),_=o.lineNumber,m=s.getLineContent(_),h=this._findFirstMatchInLine(c,m,_,o.column,f);if(h)return h;for(let S=1;S<=p;S++){const y=(_+S-1)%p,E=s.getLineContent(y+1),N=this._findFirstMatchInLine(c,E,y+1,1,f);if(N)return N}return null}static _findFirstMatchInLine(s,o,c,f,p){s.reset(f-1);const _=s.next(o);return _?g(new I.Range(c,_.index+1,c,_.index+1+_[0].length),_,p):null}static findPreviousMatch(s,o,c,f){const p=o.parseSearchRequest();if(!p)return null;const _=new d(p.wordSeparators,p.regex);return p.regex.multiline?this._doFindPreviousMatchMultiline(s,c,_,f):this._doFindPreviousMatchLineByLine(s,c,_,f)}static _doFindPreviousMatchMultiline(s,o,c,f){const p=this._doFindMatchesMultiline(s,new I.Range(1,1,o.lineNumber,o.column),c,f,10*b);if(p.length>0)return p[p.length-1];const _=s.getLineCount();return o.lineNumber!==_||o.column!==s.getLineMaxColumn(_)?this._doFindPreviousMatchMultiline(s,new k.Position(_,s.getLineMaxColumn(_)),c,f):null}static _doFindPreviousMatchLineByLine(s,o,c,f){const p=s.getLineCount(),_=o.lineNumber,m=s.getLineContent(_).substring(0,o.column-1),h=this._findLastMatchInLine(c,m,_,f);if(h)return h;for(let S=1;S<=p;S++){const y=(p+_-S-1)%p,E=s.getLineContent(y+1),N=this._findLastMatchInLine(c,E,y+1,f);if(N)return N}return null}static _findLastMatchInLine(s,o,c,f){let p=null,_;for(s.reset(0);_=s.next(o);)p=g(new I.Range(c,_.index+1,c,_.index+1+_[0].length),_,f);return p}}e.TextModelSearch=i;function t(a,s,o,c,f){if(c===0)return!0;const p=s.charCodeAt(c-1);if(a.get(p)!==0||p===13||p===10)return!0;if(f>0){const _=s.charCodeAt(c);if(a.get(_)!==0)return!0}return!1}function r(a,s,o,c,f){if(c+f===o)return!0;const p=s.charCodeAt(c+f);if(a.get(p)!==0||p===13||p===10)return!0;if(f>0){const _=s.charCodeAt(c+f-1);if(a.get(_)!==0)return!0}return!1}function l(a,s,o,c,f){return t(a,s,o,c,f)&&r(a,s,o,c,f)}e.isValidMatch=l;class d{constructor(s,o){this._wordSeparators=s,this._searchRegex=o,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(s){this._searchRegex.lastIndex=s,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(s){const o=s.length;let c;do{if(this._prevMatchStartIndex+this._prevMatchLength===o||(c=this._searchRegex.exec(s),!c))return null;const f=c.index,p=c[0].length;if(f===this._prevMatchStartIndex&&p===this._prevMatchLength){if(p===0){w.getNextCodePoint(s,o,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=f,this._prevMatchLength=p,!this._wordSeparators||l(this._wordSeparators,s,o,f,p))return c}while(c);return null}}e.Searcher=d}),define(re[240],ae([1,0,11,3,46,426,158]),function($,e,w,C,k,I,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieceTreeBase=e.StringBuffer=e.Piece=e.createLineStarts=e.createLineStartsFast=e.LineStarts=e.createUintArray=e.AverageBufferSize=void 0,e.AverageBufferSize=65535;function b(d){let a;return d[d.length-1]<65536?a=new Uint16Array(d.length):a=new Uint32Array(d.length),a.set(d,0),a}e.createUintArray=b;class v{constructor(a,s,o,c,f){this.lineStarts=a,this.cr=s,this.lf=o,this.crlf=c,this.isBasicASCII=f}}e.LineStarts=v;function u(d,a=!0){const s=[0];let o=1;for(let c=0,f=d.length;c126)&&(p=!1)}const _=new v(b(d),o,c,f,p);return d.length=0,_}e.createLineStarts=g;class n{constructor(a,s,o,c,f){this.bufferIndex=a,this.start=s,this.end=o,this.lineFeedCnt=c,this.length=f}}e.Piece=n;class i{constructor(a,s){this.buffer=a,this.lineStarts=s}}e.StringBuffer=i;class t{constructor(a,s){this._pieces=[],this._tree=a,this._BOM=s,this._index=0,a.root!==I.SENTINEL&&a.iterate(a.root,o=>(o!==I.SENTINEL&&this._pieces.push(o.piece),!0))}read(){return this._pieces.length===0?this._index===0?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:this._index===0?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class r{constructor(a){this._limit=a,this._cache=[]}get(a){for(let s=this._cache.length-1;s>=0;s--){const o=this._cache[s];if(o.nodeStartOffset<=a&&o.nodeStartOffset+o.node.piece.length>=a)return o}return null}get2(a){for(let s=this._cache.length-1;s>=0;s--){const o=this._cache[s];if(o.nodeStartLineNumber&&o.nodeStartLineNumber=a)return o}return null}set(a){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(a)}validate(a){let s=!1;const o=this._cache;for(let c=0;c=a){o[c]=null,s=!0;continue}}if(s){const c=[];for(const f of o)f!==null&&c.push(f);this._cache=c}}}class l{constructor(a,s,o){this.create(a,s,o)}create(a,s,o){this._buffers=[new i("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=I.SENTINEL,this._lineCnt=1,this._length=0,this._EOL=s,this._EOLLength=s.length,this._EOLNormalized=o;let c=null;for(let f=0,p=a.length;f0){a[f].lineStarts||(a[f].lineStarts=u(a[f].buffer));const _=new n(f+1,{line:0,column:0},{line:a[f].lineStarts.length-1,column:a[f].buffer.length-a[f].lineStarts[a[f].lineStarts.length-1]},a[f].lineStarts.length-1,a[f].buffer.length);this._buffers.push(a[f]),c=this.rbInsertRight(c,_)}this._searchCache=new r(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()}normalizeEOL(a){const s=e.AverageBufferSize,o=s-Math.floor(s/3),c=o*2;let f="",p=0;const _=[];if(this.iterate(this.root,m=>{const h=this.getNodeContent(m),S=h.length;if(p<=o||p+S0){const m=f.replace(/\r\n|\r|\n/g,a);_.push(new i(m,u(m)))}this.create(_,a,!0)}getEOL(){return this._EOL}setEOL(a){this._EOL=a,this._EOLLength=this._EOL.length,this.normalizeEOL(a)}createSnapshot(a){return new t(this,a)}getOffsetAt(a,s){let o=0,c=this.root;for(;c!==I.SENTINEL;)if(c.left!==I.SENTINEL&&c.lf_left+1>=a)c=c.left;else{if(c.lf_left+c.piece.lineFeedCnt+1>=a)return o+=c.size_left,o+=this.getAccumulatedValue(c,a-c.lf_left-2)+s-1;a-=c.lf_left+c.piece.lineFeedCnt,o+=c.size_left+c.piece.length,c=c.right}return o}getPositionAt(a){a=Math.floor(a),a=Math.max(0,a);let s=this.root,o=0;const c=a;for(;s!==I.SENTINEL;)if(s.size_left!==0&&s.size_left>=a)s=s.left;else if(s.size_left+s.piece.length>=a){const f=this.getIndexOf(s,a-s.size_left);if(o+=s.lf_left+f.index,f.index===0){const p=this.getOffsetAt(o+1,1),_=c-p;return new w.Position(o+1,_+1)}return new w.Position(o+1,f.remainder+1)}else if(a-=s.size_left+s.piece.length,o+=s.lf_left+s.piece.lineFeedCnt,s.right===I.SENTINEL){const f=this.getOffsetAt(o+1,1),p=c-a-f;return new w.Position(o+1,p+1)}else s=s.right;return new w.Position(1,1)}getValueInRange(a,s){if(a.startLineNumber===a.endLineNumber&&a.startColumn===a.endColumn)return"";const o=this.nodeAt2(a.startLineNumber,a.startColumn),c=this.nodeAt2(a.endLineNumber,a.endColumn),f=this.getValueInRange2(o,c);return s?s!==this._EOL||!this._EOLNormalized?f.replace(/\r\n|\r|\n/g,s):s===this.getEOL()&&this._EOLNormalized?f:f.replace(/\r\n|\r|\n/g,s):f}getValueInRange2(a,s){if(a.node===s.node){const _=a.node,m=this._buffers[_.piece.bufferIndex].buffer,h=this.offsetInBuffer(_.piece.bufferIndex,_.piece.start);return m.substring(h+a.remainder,h+s.remainder)}let o=a.node;const c=this._buffers[o.piece.bufferIndex].buffer,f=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);let p=c.substring(f+a.remainder,f+o.piece.length);for(o=o.next();o!==I.SENTINEL;){const _=this._buffers[o.piece.bufferIndex].buffer,m=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);if(o===s.node){p+=_.substring(m,m+s.remainder);break}else p+=_.substr(m,o.piece.length);o=o.next()}return p}getLinesContent(){const a=[];let s=0,o="",c=!1;return this.iterate(this.root,f=>{if(f===I.SENTINEL)return!0;const p=f.piece;let _=p.length;if(_===0)return!0;const m=this._buffers[p.bufferIndex].buffer,h=this._buffers[p.bufferIndex].lineStarts,S=p.start.line,y=p.end.line;let E=h[S]+p.start.column;if(c&&(m.charCodeAt(E)===10&&(E++,_--),a[s++]=o,o="",c=!1,_===0))return!0;if(S===y)return!this._EOLNormalized&&m.charCodeAt(E+_-1)===13?(c=!0,o+=m.substr(E,_-1)):o+=m.substr(E,_),!0;o+=this._EOLNormalized?m.substring(E,Math.max(E,h[S+1]-this._EOLLength)):m.substring(E,h[S+1]).replace(/(\r\n|\r|\n)$/,""),a[s++]=o;for(let N=S+1;NP+T,s.reset(0)):(D=E.buffer,M=P=>P,s.reset(T));do if(F=s.next(D),F){if(M(F.index)>=R)return S;this.positionInBuffer(a,M(F.index)-N,O);const P=this.getLineFeedCnt(a.piece.bufferIndex,f,O),B=O.line===f.line?O.column-f.column+c:O.column+1,W=B+F[0].length;if(y[S++]=(0,L.createFindMatch)(new C.Range(o+P,B,o+P,W),F,m),M(F.index)+F[0].length>=R||S>=h)return S}while(F);return S}findMatchesLineByLine(a,s,o,c){const f=[];let p=0;const _=new L.Searcher(s.wordSeparators,s.regex);let m=this.nodeAt2(a.startLineNumber,a.startColumn);if(m===null)return[];const h=this.nodeAt2(a.endLineNumber,a.endColumn);if(h===null)return[];let S=this.positionInBuffer(m.node,m.remainder);const y=this.positionInBuffer(h.node,h.remainder);if(m.node===h.node)return this.findMatchesInNode(m.node,_,a.startLineNumber,a.startColumn,S,y,s,o,c,p,f),f;let E=a.startLineNumber,N=m.node;for(;N!==h.node;){const R=this.getLineFeedCnt(N.piece.bufferIndex,S,N.piece.end);if(R>=1){const O=this._buffers[N.piece.bufferIndex].lineStarts,D=this.offsetInBuffer(N.piece.bufferIndex,N.piece.start),M=O[S.line+R],P=E===a.startLineNumber?a.startColumn:1;if(p=this.findMatchesInNode(N,_,E,P,S,this.positionInBuffer(N,M-D),s,o,c,p,f),p>=c)return f;E+=R}const F=E===a.startLineNumber?a.startColumn-1:0;if(E===a.endLineNumber){const O=this.getLineContent(E).substring(F,a.endColumn-1);return p=this._findMatchesInLine(s,_,O,a.endLineNumber,F,p,f,o,c),f}if(p=this._findMatchesInLine(s,_,this.getLineContent(E).substr(F),E,F,p,f,o,c),p>=c)return f;E++,m=this.nodeAt2(E,1),N=m.node,S=this.positionInBuffer(m.node,m.remainder)}if(E===a.endLineNumber){const R=E===a.startLineNumber?a.startColumn-1:0,F=this.getLineContent(E).substring(R,a.endColumn-1);return p=this._findMatchesInLine(s,_,F,a.endLineNumber,R,p,f,o,c),f}const T=E===a.startLineNumber?a.startColumn:1;return p=this.findMatchesInNode(h.node,_,E,T,S,y,s,o,c,p,f),f}_findMatchesInLine(a,s,o,c,f,p,_,m,h){const S=a.wordSeparators;if(!m&&a.simpleSearch){const E=a.simpleSearch,N=E.length,T=o.length;let R=-N;for(;(R=o.indexOf(E,R+N))!==-1;)if((!S||(0,L.isValidMatch)(S,o,T,R,N))&&(_[p++]=new k.FindMatch(new C.Range(c,R+1+f,c,R+1+N+f),null),p>=h))return p;return p}let y;s.reset(0);do if(y=s.next(o),y&&(_[p++]=(0,L.createFindMatch)(new C.Range(c,y.index+1+f,c,y.index+1+y[0].length+f),y,m),p>=h))return p;while(y);return p}insert(a,s,o=!1){if(this._EOLNormalized=this._EOLNormalized&&o,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==I.SENTINEL){const{node:c,remainder:f,nodeStartOffset:p}=this.nodeAt(a),_=c.piece,m=_.bufferIndex,h=this.positionInBuffer(c,f);if(c.piece.bufferIndex===0&&_.end.line===this._lastChangeBufferPos.line&&_.end.column===this._lastChangeBufferPos.column&&p+_.length===a&&s.lengtha){const S=[];let y=new n(_.bufferIndex,h,_.end,this.getLineFeedCnt(_.bufferIndex,h,_.end),this.offsetInBuffer(m,_.end)-this.offsetInBuffer(m,h));if(this.shouldCheckCRLF()&&this.endWithCR(s)&&this.nodeCharCodeAt(c,f)===10){const R={line:y.start.line+1,column:0};y=new n(y.bufferIndex,R,y.end,this.getLineFeedCnt(y.bufferIndex,R,y.end),y.length-1),s+=`
`}if(this.shouldCheckCRLF()&&this.startWithLF(s))if(this.nodeCharCodeAt(c,f-1)===13){const R=this.positionInBuffer(c,f-1);this.deleteNodeTail(c,R),s="\r"+s,c.piece.length===0&&S.push(c)}else this.deleteNodeTail(c,h);else this.deleteNodeTail(c,h);const E=this.createNewPieces(s);y.length>0&&this.rbInsertRight(c,y);let N=c;for(let T=0;T=0;p--)f=this.rbInsertLeft(f,c[p]);this.validateCRLFWithPrevNode(f),this.deleteNodes(o)}insertContentToNodeRight(a,s){this.adjustCarriageReturnFromNext(a,s)&&(a+=`
`);const o=this.createNewPieces(a),c=this.rbInsertRight(s,o[0]);let f=c;for(let p=1;p=E)h=y+1;else break;return o?(o.line=y,o.column=m-N,null):{line:y,column:m-N}}getLineFeedCnt(a,s,o){if(o.column===0)return o.line-s.line;const c=this._buffers[a].lineStarts;if(o.line===c.length-1)return o.line-s.line;const f=c[o.line+1],p=c[o.line]+o.column;if(f>p+1)return o.line-s.line;const _=p-1;return this._buffers[a].buffer.charCodeAt(_)===13?o.line-s.line+1:o.line-s.line}offsetInBuffer(a,s){return this._buffers[a].lineStarts[s.line]+s.column}deleteNodes(a){for(let s=0;se.AverageBufferSize){const S=[];for(;a.length>e.AverageBufferSize;){const E=a.charCodeAt(e.AverageBufferSize-1);let N;E===13||E>=55296&&E<=56319?(N=a.substring(0,e.AverageBufferSize-1),a=a.substring(e.AverageBufferSize-1)):(N=a.substring(0,e.AverageBufferSize),a=a.substring(e.AverageBufferSize));const T=u(N);S.push(new n(this._buffers.length,{line:0,column:0},{line:T.length-1,column:N.length-T[T.length-1]},T.length-1,N.length)),this._buffers.push(new i(N,T))}const y=u(a);return S.push(new n(this._buffers.length,{line:0,column:0},{line:y.length-1,column:a.length-y[y.length-1]},y.length-1,a.length)),this._buffers.push(new i(a,y)),S}let s=this._buffers[0].buffer.length;const o=u(a,!1);let c=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===s&&s!==0&&this.startWithLF(a)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},c=this._lastChangeBufferPos;for(let S=0;S=a-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>a-1){const m=this.getAccumulatedValue(o,a-o.lf_left-2),h=this.getAccumulatedValue(o,a-o.lf_left-1),S=this._buffers[o.piece.bufferIndex].buffer,y=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return p+=o.size_left,this._searchCache.set({node:o,nodeStartOffset:p,nodeStartLineNumber:_-(a-1-o.lf_left)}),S.substring(y+m,y+h-s)}else if(o.lf_left+o.piece.lineFeedCnt===a-1){const m=this.getAccumulatedValue(o,a-o.lf_left-2),h=this._buffers[o.piece.bufferIndex].buffer,S=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);c=h.substring(S+m,S+o.piece.length);break}else a-=o.lf_left+o.piece.lineFeedCnt,p+=o.size_left+o.piece.length,o=o.right}for(o=o.next();o!==I.SENTINEL;){const p=this._buffers[o.piece.bufferIndex].buffer;if(o.piece.lineFeedCnt>0){const _=this.getAccumulatedValue(o,0),m=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return c+=p.substring(m,m+_-s),c}else{const _=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);c+=p.substr(_,o.piece.length)}o=o.next()}return c}computeBufferMetadata(){let a=this.root,s=1,o=0;for(;a!==I.SENTINEL;)s+=a.lf_left+a.piece.lineFeedCnt,o+=a.size_left+a.piece.length,a=a.right;this._lineCnt=s,this._length=o,this._searchCache.validate(this._length)}getIndexOf(a,s){const o=a.piece,c=this.positionInBuffer(a,s),f=c.line-o.start.line;if(this.offsetInBuffer(o.bufferIndex,o.end)-this.offsetInBuffer(o.bufferIndex,o.start)===s){const p=this.getLineFeedCnt(a.piece.bufferIndex,o.start,c);if(p!==f)return{index:p,remainder:0}}return{index:f,remainder:c.column}}getAccumulatedValue(a,s){if(s<0)return 0;const o=a.piece,c=this._buffers[o.bufferIndex].lineStarts,f=o.start.line+s+1;return f>o.end.line?c[o.end.line]+o.end.column-c[o.start.line]-o.start.column:c[f]-c[o.start.line]-o.start.column}deleteNodeTail(a,s){const o=a.piece,c=o.lineFeedCnt,f=this.offsetInBuffer(o.bufferIndex,o.end),p=s,_=this.offsetInBuffer(o.bufferIndex,p),m=this.getLineFeedCnt(o.bufferIndex,o.start,p),h=m-c,S=_-f,y=o.length+S;a.piece=new n(o.bufferIndex,o.start,p,m,y),(0,I.updateTreeMetadata)(this,a,S,h)}deleteNodeHead(a,s){const o=a.piece,c=o.lineFeedCnt,f=this.offsetInBuffer(o.bufferIndex,o.start),p=s,_=this.getLineFeedCnt(o.bufferIndex,p,o.end),m=this.offsetInBuffer(o.bufferIndex,p),h=_-c,S=f-m,y=o.length+S;a.piece=new n(o.bufferIndex,p,o.end,_,y),(0,I.updateTreeMetadata)(this,a,S,h)}shrinkNode(a,s,o){const c=a.piece,f=c.start,p=c.end,_=c.length,m=c.lineFeedCnt,h=s,S=this.getLineFeedCnt(c.bufferIndex,c.start,h),y=this.offsetInBuffer(c.bufferIndex,s)-this.offsetInBuffer(c.bufferIndex,f);a.piece=new n(c.bufferIndex,c.start,h,S,y),(0,I.updateTreeMetadata)(this,a,y-_,S-m);const E=new n(c.bufferIndex,o,p,this.getLineFeedCnt(c.bufferIndex,o,p),this.offsetInBuffer(c.bufferIndex,p)-this.offsetInBuffer(c.bufferIndex,o)),N=this.rbInsertRight(a,E);this.validateCRLFWithPrevNode(N)}appendToNode(a,s){this.adjustCarriageReturnFromNext(s,a)&&(s+=`
`);const o=this.shouldCheckCRLF()&&this.startWithLF(s)&&this.endWithCR(a),c=this._buffers[0].buffer.length;this._buffers[0].buffer+=s;const f=u(s,!1);for(let N=0;Na)s=s.left;else if(s.size_left+s.piece.length>=a){c+=s.size_left;const f={node:s,remainder:a-s.size_left,nodeStartOffset:c};return this._searchCache.set(f),f}else a-=s.size_left+s.piece.length,c+=s.size_left+s.piece.length,s=s.right;return null}nodeAt2(a,s){let o=this.root,c=0;for(;o!==I.SENTINEL;)if(o.left!==I.SENTINEL&&o.lf_left>=a-1)o=o.left;else if(o.lf_left+o.piece.lineFeedCnt>a-1){const f=this.getAccumulatedValue(o,a-o.lf_left-2),p=this.getAccumulatedValue(o,a-o.lf_left-1);return c+=o.size_left,{node:o,remainder:Math.min(f+s-1,p),nodeStartOffset:c}}else if(o.lf_left+o.piece.lineFeedCnt===a-1){const f=this.getAccumulatedValue(o,a-o.lf_left-2);if(f+s-1<=o.piece.length)return{node:o,remainder:f+s-1,nodeStartOffset:c};s-=o.piece.length-f;break}else a-=o.lf_left+o.piece.lineFeedCnt,c+=o.size_left+o.piece.length,o=o.right;for(o=o.next();o!==I.SENTINEL;){if(o.piece.lineFeedCnt>0){const f=this.getAccumulatedValue(o,0),p=this.offsetOfNode(o);return{node:o,remainder:Math.min(s-1,f),nodeStartOffset:p}}else if(o.piece.length>=s-1){const f=this.offsetOfNode(o);return{node:o,remainder:s-1,nodeStartOffset:f}}else s-=o.piece.length;o=o.next()}return null}nodeCharCodeAt(a,s){if(a.piece.lineFeedCnt<1)return-1;const o=this._buffers[a.piece.bufferIndex],c=this.offsetInBuffer(a.piece.bufferIndex,a.piece.start)+s;return o.buffer.charCodeAt(c)}offsetOfNode(a){if(!a)return 0;let s=a.size_left;for(;a!==this.root;)a.parent.right===a&&(s+=a.parent.size_left+a.parent.piece.length),a=a.parent;return s}shouldCheckCRLF(){return!(this._EOLNormalized&&this._EOL===`
`)}startWithLF(a){if(typeof a=="string")return a.charCodeAt(0)===10;if(a===I.SENTINEL||a.piece.lineFeedCnt===0)return!1;const s=a.piece,o=this._buffers[s.bufferIndex].lineStarts,c=s.start.line,f=o[c]+s.start.column;return c===o.length-1||o[c+1]>f+1?!1:this._buffers[s.bufferIndex].buffer.charCodeAt(f)===10}endWithCR(a){return typeof a=="string"?a.charCodeAt(a.length-1)===13:a===I.SENTINEL||a.piece.lineFeedCnt===0?!1:this.nodeCharCodeAt(a,a.piece.length-1)===13}validateCRLFWithPrevNode(a){if(this.shouldCheckCRLF()&&this.startWithLF(a)){const s=a.prev();this.endWithCR(s)&&this.fixCRLF(s,a)}}validateCRLFWithNextNode(a){if(this.shouldCheckCRLF()&&this.endWithCR(a)){const s=a.next();this.startWithLF(s)&&this.fixCRLF(a,s)}}fixCRLF(a,s){const o=[],c=this._buffers[a.piece.bufferIndex].lineStarts;let f;a.piece.end.column===0?f={line:a.piece.end.line-1,column:c[a.piece.end.line]-c[a.piece.end.line-1]-1}:f={line:a.piece.end.line,column:a.piece.end.column-1};const p=a.piece.length-1,_=a.piece.lineFeedCnt-1;a.piece=new n(a.piece.bufferIndex,a.piece.start,f,_,p),(0,I.updateTreeMetadata)(this,a,-1,-1),a.piece.length===0&&o.push(a);const m={line:s.piece.start.line+1,column:0},h=s.piece.length-1,S=this.getLineFeedCnt(s.piece.bufferIndex,m,s.piece.end);s.piece=new n(s.piece.bufferIndex,m,s.piece.end,S,h),(0,I.updateTreeMetadata)(this,s,-1,-1),s.piece.length===0&&o.push(s);const y=this.createNewPieces(`\r
`);this.rbInsertRight(a,y[0]);for(let E=0;E0?this.wrappedTextIndentLength:0}getLineLength(n){const i=n>0?this.breakOffsets[n-1]:0;let r=this.breakOffsets[n]-i;return n>0&&(r+=this.wrappedTextIndentLength),r}getMaxOutputOffset(n){return this.getLineLength(n)}translateToInputOffset(n,i){n>0&&(i=Math.max(0,i-this.wrappedTextIndentLength));let r=n===0?i:this.breakOffsets[n-1]+i;if(this.injectionOffsets!==null)for(let l=0;lthis.injectionOffsets[l];l++)r0?this.breakOffsets[l-1]:0,i===0)if(n<=d)r=l-1;else if(n>s)t=l+1;else break;else if(n=s)t=l+1;else break}let a=n-d;return l>0&&(a+=this.wrappedTextIndentLength),new u(l,a)}normalizeOutputPosition(n,i,t){if(this.injectionOffsets!==null){const r=this.outputPositionToOffsetInInputWithInjections(n,i),l=this.normalizeOffsetInInputWithInjectionsAroundInjections(r,t);if(l!==r)return this.offsetInInputWithInjectionsToOutputPosition(l,t)}if(t===0){if(n>0&&i===this.getMinOutputOffset(n))return new u(n-1,this.getMaxOutputOffset(n-1))}else if(t===1){const r=this.getOutputLineCount()-1;if(n0&&(i=Math.max(0,i-this.wrappedTextIndentLength)),(n>0?this.breakOffsets[n-1]:0)+i}normalizeOffsetInInputWithInjectionsAroundInjections(n,i){const t=this.getInjectedTextAtOffset(n);if(!t)return n;if(i===2){if(n===t.offsetInInputWithInjections+t.length&&L(this.injectionOptions[t.injectedTextIndex].cursorStops))return t.offsetInInputWithInjections+t.length;{let r=t.offsetInInputWithInjections;if(b(this.injectionOptions[t.injectedTextIndex].cursorStops))return r;let l=t.injectedTextIndex-1;for(;l>=0&&this.injectionOffsets[l]===this.injectionOffsets[t.injectedTextIndex]&&!(L(this.injectionOptions[l].cursorStops)||(r-=this.injectionOptions[l].content.length,b(this.injectionOptions[l].cursorStops)));)l--;return r}}else if(i===1||i===4){let r=t.offsetInInputWithInjections+t.length,l=t.injectedTextIndex;for(;l+1=0&&this.injectionOffsets[l-1]===this.injectionOffsets[l];)r-=this.injectionOptions[l-1].content.length,l--;return r}(0,w.assertNever)(i)}getInjectedText(n,i){const t=this.outputPositionToOffsetInInputWithInjections(n,i),r=this.getInjectedTextAtOffset(t);return r?{options:this.injectionOptions[r.injectedTextIndex]}:null}getInjectedTextAtOffset(n){const i=this.injectionOffsets,t=this.injectionOptions;if(i!==null){let r=0;for(let l=0;ln)break;if(n<=s)return{injectedTextIndex:l,offsetInInputWithInjections:a,length:d};r+=d}}}}e.ModelLineProjectionData=I;function L(g){return g==null?!0:g===k.InjectedTextCursorStops.Right||g===k.InjectedTextCursorStops.Both}function b(g){return g==null?!0:g===k.InjectedTextCursorStops.Left||g===k.InjectedTextCursorStops.Both}class v{constructor(n){this.options=n}}e.InjectedText=v;class u{constructor(n,i){this.outputLineIndex=n,this.outputOffset=i}toString(){return`${this.outputLineIndex}:${this.outputOffset}`}toPosition(n){return new C.Position(n+this.outputLineIndex,this.outputOffset+1)}}e.OutputPosition=u}),define(re[242],ae([1,0,3,158,8,19,128]),function($,e,w,C,k,I,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UnicodeTextModelHighlighter=void 0;class b{static computeUnicodeHighlights(i,t,r){const l=r?r.startLineNumber:1,d=r?r.endLineNumber:i.getLineCount(),a=new u(t),s=a.getCandidateCodePoints();let o;s==="allNonBasicAscii"?o=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):o=new RegExp(`${v(Array.from(s))}`,"g");const c=new C.Searcher(null,o),f=[];let p=!1,_,m=0,h=0,S=0;e:for(let y=l,E=d;y<=E;y++){const N=i.getLineContent(y),T=N.length;c.reset(0);do if(_=c.next(N),_){let R=_.index,F=_.index+_[0].length;if(R>0){const P=N.charCodeAt(R-1);k.isHighSurrogate(P)&&R--}if(F+1=P){p=!0;break e}f.push(new w.Range(y,R+1,y,F+1))}}while(_)}return{ranges:f,hasMore:p,ambiguousCharacterCount:m,invisibleCharacterCount:h,nonBasicAsciiCharacterCount:S}}static computeUnicodeHighlightReason(i,t){const r=new u(t);switch(r.shouldHighlightNonBasicASCII(i,null)){case 0:return null;case 2:return{kind:1};case 3:{const d=i.codePointAt(0),a=r.ambiguousCharacters.getPrimaryConfusable(d),s=k.AmbiguousCharacters.getLocales().filter(o=>!k.AmbiguousCharacters.getInstance(new Set([...t.allowedLocales,o])).isAmbiguous(d));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}e.UnicodeTextModelHighlighter=b;function v(n,i){return`[${k.escapeRegExpCharacters(n.map(r=>String.fromCodePoint(r)).join(""))}]`}class u{constructor(i){this.options=i,this.allowedCodePoints=new Set(i.allowedCodePoints),this.ambiguousCharacters=k.AmbiguousCharacters.getInstance(new Set(i.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const i=new Set;if(this.options.invisibleCharacters)for(const t of k.InvisibleCharacters.codePoints)g(String.fromCodePoint(t))||i.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())i.add(t);for(const t of this.allowedCodePoints)i.delete(t);return i}shouldHighlightNonBasicASCII(i,t){const r=i.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let l=!1,d=!1;if(t)for(const a of t){const s=a.codePointAt(0),o=k.isBasicASCII(a);l=l||o,!o&&!this.ambiguousCharacters.isAmbiguous(s)&&!k.InvisibleCharacters.isInvisibleCharacter(s)&&(d=!0)}return!l&&d?0:this.options.invisibleCharacters&&!g(i)&&k.InvisibleCharacters.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function g(n){return n===" "||n===`
`||n===" "}}),define(re[159],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WrappingIndent=e.TrackedRangeStickiness=e.TextEditorCursorStyle=e.TextEditorCursorBlinkingStyle=e.SymbolTag=e.SymbolKind=e.SignatureHelpTriggerKind=e.SelectionDirection=e.ScrollbarVisibility=e.ScrollType=e.RenderMinimap=e.RenderLineNumbersType=e.PositionAffinity=e.OverviewRulerLane=e.OverlayWidgetPositionPreference=e.MouseTargetType=e.MinimapPosition=e.MarkerTag=e.MarkerSeverity=e.KeyCode=e.InlineCompletionTriggerKind=e.InlayHintKind=e.InjectedTextCursorStops=e.IndentAction=e.EndOfLineSequence=e.EndOfLinePreference=e.EditorOption=e.EditorAutoIndentStrategy=e.DocumentHighlightKind=e.DefaultEndOfLine=e.CursorChangeReason=e.ContentWidgetPositionPreference=e.CompletionTriggerKind=e.CompletionItemTag=e.CompletionItemKind=e.CompletionItemInsertTextRule=e.CodeActionTriggerType=e.AccessibilitySupport=void 0;var w;(function(A){A[A.Unknown=0]="Unknown",A[A.Disabled=1]="Disabled",A[A.Enabled=2]="Enabled"})(w=e.AccessibilitySupport||(e.AccessibilitySupport={}));var C;(function(A){A[A.Invoke=1]="Invoke",A[A.Auto=2]="Auto"})(C=e.CodeActionTriggerType||(e.CodeActionTriggerType={}));var k;(function(A){A[A.KeepWhitespace=1]="KeepWhitespace",A[A.InsertAsSnippet=4]="InsertAsSnippet"})(k=e.CompletionItemInsertTextRule||(e.CompletionItemInsertTextRule={}));var I;(function(A){A[A.Method=0]="Method",A[A.Function=1]="Function",A[A.Constructor=2]="Constructor",A[A.Field=3]="Field",A[A.Variable=4]="Variable",A[A.Class=5]="Class",A[A.Struct=6]="Struct",A[A.Interface=7]="Interface",A[A.Module=8]="Module",A[A.Property=9]="Property",A[A.Event=10]="Event",A[A.Operator=11]="Operator",A[A.Unit=12]="Unit",A[A.Value=13]="Value",A[A.Constant=14]="Constant",A[A.Enum=15]="Enum",A[A.EnumMember=16]="EnumMember",A[A.Keyword=17]="Keyword",A[A.Text=18]="Text",A[A.Color=19]="Color",A[A.File=20]="File",A[A.Reference=21]="Reference",A[A.Customcolor=22]="Customcolor",A[A.Folder=23]="Folder",A[A.TypeParameter=24]="TypeParameter",A[A.User=25]="User",A[A.Issue=26]="Issue",A[A.Snippet=27]="Snippet"})(I=e.CompletionItemKind||(e.CompletionItemKind={}));var L;(function(A){A[A.Deprecated=1]="Deprecated"})(L=e.CompletionItemTag||(e.CompletionItemTag={}));var b;(function(A){A[A.Invoke=0]="Invoke",A[A.TriggerCharacter=1]="TriggerCharacter",A[A.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(b=e.CompletionTriggerKind||(e.CompletionTriggerKind={}));var v;(function(A){A[A.EXACT=0]="EXACT",A[A.ABOVE=1]="ABOVE",A[A.BELOW=2]="BELOW"})(v=e.ContentWidgetPositionPreference||(e.ContentWidgetPositionPreference={}));var u;(function(A){A[A.NotSet=0]="NotSet",A[A.ContentFlush=1]="ContentFlush",A[A.RecoverFromMarkers=2]="RecoverFromMarkers",A[A.Explicit=3]="Explicit",A[A.Paste=4]="Paste",A[A.Undo=5]="Undo",A[A.Redo=6]="Redo"})(u=e.CursorChangeReason||(e.CursorChangeReason={}));var g;(function(A){A[A.LF=1]="LF",A[A.CRLF=2]="CRLF"})(g=e.DefaultEndOfLine||(e.DefaultEndOfLine={}));var n;(function(A){A[A.Text=0]="Text",A[A.Read=1]="Read",A[A.Write=2]="Write"})(n=e.DocumentHighlightKind||(e.DocumentHighlightKind={}));var i;(function(A){A[A.None=0]="None",A[A.Keep=1]="Keep",A[A.Brackets=2]="Brackets",A[A.Advanced=3]="Advanced",A[A.Full=4]="Full"})(i=e.EditorAutoIndentStrategy||(e.EditorAutoIndentStrategy={}));var t;(function(A){A[A.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",A[A.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",A[A.accessibilitySupport=2]="accessibilitySupport",A[A.accessibilityPageSize=3]="accessibilityPageSize",A[A.ariaLabel=4]="ariaLabel",A[A.autoClosingBrackets=5]="autoClosingBrackets",A[A.autoClosingDelete=6]="autoClosingDelete",A[A.autoClosingOvertype=7]="autoClosingOvertype",A[A.autoClosingQuotes=8]="autoClosingQuotes",A[A.autoIndent=9]="autoIndent",A[A.automaticLayout=10]="automaticLayout",A[A.autoSurround=11]="autoSurround",A[A.bracketPairColorization=12]="bracketPairColorization",A[A.guides=13]="guides",A[A.codeLens=14]="codeLens",A[A.codeLensFontFamily=15]="codeLensFontFamily",A[A.codeLensFontSize=16]="codeLensFontSize",A[A.colorDecorators=17]="colorDecorators",A[A.columnSelection=18]="columnSelection",A[A.comments=19]="comments",A[A.contextmenu=20]="contextmenu",A[A.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",A[A.cursorBlinking=22]="cursorBlinking",A[A.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",A[A.cursorStyle=24]="cursorStyle",A[A.cursorSurroundingLines=25]="cursorSurroundingLines",A[A.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",A[A.cursorWidth=27]="cursorWidth",A[A.disableLayerHinting=28]="disableLayerHinting",A[A.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",A[A.domReadOnly=30]="domReadOnly",A[A.dragAndDrop=31]="dragAndDrop",A[A.dropIntoEditor=32]="dropIntoEditor",A[A.emptySelectionClipboard=33]="emptySelectionClipboard",A[A.experimental=34]="experimental",A[A.extraEditorClassName=35]="extraEditorClassName",A[A.fastScrollSensitivity=36]="fastScrollSensitivity",A[A.find=37]="find",A[A.fixedOverflowWidgets=38]="fixedOverflowWidgets",A[A.folding=39]="folding",A[A.foldingStrategy=40]="foldingStrategy",A[A.foldingHighlight=41]="foldingHighlight",A[A.foldingImportsByDefault=42]="foldingImportsByDefault",A[A.foldingMaximumRegions=43]="foldingMaximumRegions",A[A.unfoldOnClickAfterEndOfLine=44]="unfoldOnClickAfterEndOfLine",A[A.fontFamily=45]="fontFamily",A[A.fontInfo=46]="fontInfo",A[A.fontLigatures=47]="fontLigatures",A[A.fontSize=48]="fontSize",A[A.fontWeight=49]="fontWeight",A[A.formatOnPaste=50]="formatOnPaste",A[A.formatOnType=51]="formatOnType",A[A.glyphMargin=52]="glyphMargin",A[A.gotoLocation=53]="gotoLocation",A[A.hideCursorInOverviewRuler=54]="hideCursorInOverviewRuler",A[A.hover=55]="hover",A[A.inDiffEditor=56]="inDiffEditor",A[A.inlineSuggest=57]="inlineSuggest",A[A.letterSpacing=58]="letterSpacing",A[A.lightbulb=59]="lightbulb",A[A.lineDecorationsWidth=60]="lineDecorationsWidth",A[A.lineHeight=61]="lineHeight",A[A.lineNumbers=62]="lineNumbers",A[A.lineNumbersMinChars=63]="lineNumbersMinChars",A[A.linkedEditing=64]="linkedEditing",A[A.links=65]="links",A[A.matchBrackets=66]="matchBrackets",A[A.minimap=67]="minimap",A[A.mouseStyle=68]="mouseStyle",A[A.mouseWheelScrollSensitivity=69]="mouseWheelScrollSensitivity",A[A.mouseWheelZoom=70]="mouseWheelZoom",A[A.multiCursorMergeOverlapping=71]="multiCursorMergeOverlapping",A[A.multiCursorModifier=72]="multiCursorModifier",A[A.multiCursorPaste=73]="multiCursorPaste",A[A.occurrencesHighlight=74]="occurrencesHighlight",A[A.overviewRulerBorder=75]="overviewRulerBorder",A[A.overviewRulerLanes=76]="overviewRulerLanes",A[A.padding=77]="padding",A[A.parameterHints=78]="parameterHints",A[A.peekWidgetDefaultFocus=79]="peekWidgetDefaultFocus",A[A.definitionLinkOpensInPeek=80]="definitionLinkOpensInPeek",A[A.quickSuggestions=81]="quickSuggestions",A[A.quickSuggestionsDelay=82]="quickSuggestionsDelay",A[A.readOnly=83]="readOnly",A[A.renameOnType=84]="renameOnType",A[A.renderControlCharacters=85]="renderControlCharacters",A[A.renderFinalNewline=86]="renderFinalNewline",A[A.renderLineHighlight=87]="renderLineHighlight",A[A.renderLineHighlightOnlyWhenFocus=88]="renderLineHighlightOnlyWhenFocus",A[A.renderValidationDecorations=89]="renderValidationDecorations",A[A.renderWhitespace=90]="renderWhitespace",A[A.revealHorizontalRightPadding=91]="revealHorizontalRightPadding",A[A.roundedSelection=92]="roundedSelection",A[A.rulers=93]="rulers",A[A.scrollbar=94]="scrollbar",A[A.scrollBeyondLastColumn=95]="scrollBeyondLastColumn",A[A.scrollBeyondLastLine=96]="scrollBeyondLastLine",A[A.scrollPredominantAxis=97]="scrollPredominantAxis",A[A.selectionClipboard=98]="selectionClipboard",A[A.selectionHighlight=99]="selectionHighlight",A[A.selectOnLineNumbers=100]="selectOnLineNumbers",A[A.showFoldingControls=101]="showFoldingControls",A[A.showUnused=102]="showUnused",A[A.snippetSuggestions=103]="snippetSuggestions",A[A.smartSelect=104]="smartSelect",A[A.smoothScrolling=105]="smoothScrolling",A[A.stickyTabStops=106]="stickyTabStops",A[A.stopRenderingLineAfter=107]="stopRenderingLineAfter",A[A.suggest=108]="suggest",A[A.suggestFontSize=109]="suggestFontSize",A[A.suggestLineHeight=110]="suggestLineHeight",A[A.suggestOnTriggerCharacters=111]="suggestOnTriggerCharacters",A[A.suggestSelection=112]="suggestSelection",A[A.tabCompletion=113]="tabCompletion",A[A.tabIndex=114]="tabIndex",A[A.unicodeHighlighting=115]="unicodeHighlighting",A[A.unusualLineTerminators=116]="unusualLineTerminators",A[A.useShadowDOM=117]="useShadowDOM",A[A.useTabStops=118]="useTabStops",A[A.wordSeparators=119]="wordSeparators",A[A.wordWrap=120]="wordWrap",A[A.wordWrapBreakAfterCharacters=121]="wordWrapBreakAfterCharacters",A[A.wordWrapBreakBeforeCharacters=122]="wordWrapBreakBeforeCharacters",A[A.wordWrapColumn=123]="wordWrapColumn",A[A.wordWrapOverride1=124]="wordWrapOverride1",A[A.wordWrapOverride2=125]="wordWrapOverride2",A[A.wrappingIndent=126]="wrappingIndent",A[A.wrappingStrategy=127]="wrappingStrategy",A[A.showDeprecated=128]="showDeprecated",A[A.inlayHints=129]="inlayHints",A[A.editorClassName=130]="editorClassName",A[A.pixelRatio=131]="pixelRatio",A[A.tabFocusMode=132]="tabFocusMode",A[A.layoutInfo=133]="layoutInfo",A[A.wrappingInfo=134]="wrappingInfo"})(t=e.EditorOption||(e.EditorOption={}));var r;(function(A){A[A.TextDefined=0]="TextDefined",A[A.LF=1]="LF",A[A.CRLF=2]="CRLF"})(r=e.EndOfLinePreference||(e.EndOfLinePreference={}));var l;(function(A){A[A.LF=0]="LF",A[A.CRLF=1]="CRLF"})(l=e.EndOfLineSequence||(e.EndOfLineSequence={}));var d;(function(A){A[A.None=0]="None",A[A.Indent=1]="Indent",A[A.IndentOutdent=2]="IndentOutdent",A[A.Outdent=3]="Outdent"})(d=e.IndentAction||(e.IndentAction={}));var a;(function(A){A[A.Both=0]="Both",A[A.Right=1]="Right",A[A.Left=2]="Left",A[A.None=3]="None"})(a=e.InjectedTextCursorStops||(e.InjectedTextCursorStops={}));var s;(function(A){A[A.Type=1]="Type",A[A.Parameter=2]="Parameter"})(s=e.InlayHintKind||(e.InlayHintKind={}));var o;(function(A){A[A.Automatic=0]="Automatic",A[A.Explicit=1]="Explicit"})(o=e.InlineCompletionTriggerKind||(e.InlineCompletionTriggerKind={}));var c;(function(A){A[A.DependsOnKbLayout=-1]="DependsOnKbLayout",A[A.Unknown=0]="Unknown",A[A.Backspace=1]="Backspace",A[A.Tab=2]="Tab",A[A.Enter=3]="Enter",A[A.Shift=4]="Shift",A[A.Ctrl=5]="Ctrl",A[A.Alt=6]="Alt",A[A.PauseBreak=7]="PauseBreak",A[A.CapsLock=8]="CapsLock",A[A.Escape=9]="Escape",A[A.Space=10]="Space",A[A.PageUp=11]="PageUp",A[A.PageDown=12]="PageDown",A[A.End=13]="End",A[A.Home=14]="Home",A[A.LeftArrow=15]="LeftArrow",A[A.UpArrow=16]="UpArrow",A[A.RightArrow=17]="RightArrow",A[A.DownArrow=18]="DownArrow",A[A.Insert=19]="Insert",A[A.Delete=20]="Delete",A[A.Digit0=21]="Digit0",A[A.Digit1=22]="Digit1",A[A.Digit2=23]="Digit2",A[A.Digit3=24]="Digit3",A[A.Digit4=25]="Digit4",A[A.Digit5=26]="Digit5",A[A.Digit6=27]="Digit6",A[A.Digit7=28]="Digit7",A[A.Digit8=29]="Digit8",A[A.Digit9=30]="Digit9",A[A.KeyA=31]="KeyA",A[A.KeyB=32]="KeyB",A[A.KeyC=33]="KeyC",A[A.KeyD=34]="KeyD",A[A.KeyE=35]="KeyE",A[A.KeyF=36]="KeyF",A[A.KeyG=37]="KeyG",A[A.KeyH=38]="KeyH",A[A.KeyI=39]="KeyI",A[A.KeyJ=40]="KeyJ",A[A.KeyK=41]="KeyK",A[A.KeyL=42]="KeyL",A[A.KeyM=43]="KeyM",A[A.KeyN=44]="KeyN",A[A.KeyO=45]="KeyO",A[A.KeyP=46]="KeyP",A[A.KeyQ=47]="KeyQ",A[A.KeyR=48]="KeyR",A[A.KeyS=49]="KeyS",A[A.KeyT=50]="KeyT",A[A.KeyU=51]="KeyU",A[A.KeyV=52]="KeyV",A[A.KeyW=53]="KeyW",A[A.KeyX=54]="KeyX",A[A.KeyY=55]="KeyY",A[A.KeyZ=56]="KeyZ",A[A.Meta=57]="Meta",A[A.ContextMenu=58]="ContextMenu",A[A.F1=59]="F1",A[A.F2=60]="F2",A[A.F3=61]="F3",A[A.F4=62]="F4",A[A.F5=63]="F5",A[A.F6=64]="F6",A[A.F7=65]="F7",A[A.F8=66]="F8",A[A.F9=67]="F9",A[A.F10=68]="F10",A[A.F11=69]="F11",A[A.F12=70]="F12",A[A.F13=71]="F13",A[A.F14=72]="F14",A[A.F15=73]="F15",A[A.F16=74]="F16",A[A.F17=75]="F17",A[A.F18=76]="F18",A[A.F19=77]="F19",A[A.NumLock=78]="NumLock",A[A.ScrollLock=79]="ScrollLock",A[A.Semicolon=80]="Semicolon",A[A.Equal=81]="Equal",A[A.Comma=82]="Comma",A[A.Minus=83]="Minus",A[A.Period=84]="Period",A[A.Slash=85]="Slash",A[A.Backquote=86]="Backquote",A[A.BracketLeft=87]="BracketLeft",A[A.Backslash=88]="Backslash",A[A.BracketRight=89]="BracketRight",A[A.Quote=90]="Quote",A[A.OEM_8=91]="OEM_8",A[A.IntlBackslash=92]="IntlBackslash",A[A.Numpad0=93]="Numpad0",A[A.Numpad1=94]="Numpad1",A[A.Numpad2=95]="Numpad2",A[A.Numpad3=96]="Numpad3",A[A.Numpad4=97]="Numpad4",A[A.Numpad5=98]="Numpad5",A[A.Numpad6=99]="Numpad6",A[A.Numpad7=100]="Numpad7",A[A.Numpad8=101]="Numpad8",A[A.Numpad9=102]="Numpad9",A[A.NumpadMultiply=103]="NumpadMultiply",A[A.NumpadAdd=104]="NumpadAdd",A[A.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",A[A.NumpadSubtract=106]="NumpadSubtract",A[A.NumpadDecimal=107]="NumpadDecimal",A[A.NumpadDivide=108]="NumpadDivide",A[A.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",A[A.ABNT_C1=110]="ABNT_C1",A[A.ABNT_C2=111]="ABNT_C2",A[A.AudioVolumeMute=112]="AudioVolumeMute",A[A.AudioVolumeUp=113]="AudioVolumeUp",A[A.AudioVolumeDown=114]="AudioVolumeDown",A[A.BrowserSearch=115]="BrowserSearch",A[A.BrowserHome=116]="BrowserHome",A[A.BrowserBack=117]="BrowserBack",A[A.BrowserForward=118]="BrowserForward",A[A.MediaTrackNext=119]="MediaTrackNext",A[A.MediaTrackPrevious=120]="MediaTrackPrevious",A[A.MediaStop=121]="MediaStop",A[A.MediaPlayPause=122]="MediaPlayPause",A[A.LaunchMediaPlayer=123]="LaunchMediaPlayer",A[A.LaunchMail=124]="LaunchMail",A[A.LaunchApp2=125]="LaunchApp2",A[A.Clear=126]="Clear",A[A.MAX_VALUE=127]="MAX_VALUE"})(c=e.KeyCode||(e.KeyCode={}));var f;(function(A){A[A.Hint=1]="Hint",A[A.Info=2]="Info",A[A.Warning=4]="Warning",A[A.Error=8]="Error"})(f=e.MarkerSeverity||(e.MarkerSeverity={}));var p;(function(A){A[A.Unnecessary=1]="Unnecessary",A[A.Deprecated=2]="Deprecated"})(p=e.MarkerTag||(e.MarkerTag={}));var _;(function(A){A[A.Inline=1]="Inline",A[A.Gutter=2]="Gutter"})(_=e.MinimapPosition||(e.MinimapPosition={}));var m;(function(A){A[A.UNKNOWN=0]="UNKNOWN",A[A.TEXTAREA=1]="TEXTAREA",A[A.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",A[A.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",A[A.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",A[A.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",A[A.CONTENT_TEXT=6]="CONTENT_TEXT",A[A.CONTENT_EMPTY=7]="CONTENT_EMPTY",A[A.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",A[A.CONTENT_WIDGET=9]="CONTENT_WIDGET",A[A.OVERVIEW_RULER=10]="OVERVIEW_RULER",A[A.SCROLLBAR=11]="SCROLLBAR",A[A.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",A[A.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(m=e.MouseTargetType||(e.MouseTargetType={}));var h;(function(A){A[A.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",A[A.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",A[A.TOP_CENTER=2]="TOP_CENTER"})(h=e.OverlayWidgetPositionPreference||(e.OverlayWidgetPositionPreference={}));var S;(function(A){A[A.Left=1]="Left",A[A.Center=2]="Center",A[A.Right=4]="Right",A[A.Full=7]="Full"})(S=e.OverviewRulerLane||(e.OverviewRulerLane={}));var y;(function(A){A[A.Left=0]="Left",A[A.Right=1]="Right",A[A.None=2]="None",A[A.LeftOfInjectedText=3]="LeftOfInjectedText",A[A.RightOfInjectedText=4]="RightOfInjectedText"})(y=e.PositionAffinity||(e.PositionAffinity={}));var E;(function(A){A[A.Off=0]="Off",A[A.On=1]="On",A[A.Relative=2]="Relative",A[A.Interval=3]="Interval",A[A.Custom=4]="Custom"})(E=e.RenderLineNumbersType||(e.RenderLineNumbersType={}));var N;(function(A){A[A.None=0]="None",A[A.Text=1]="Text",A[A.Blocks=2]="Blocks"})(N=e.RenderMinimap||(e.RenderMinimap={}));var T;(function(A){A[A.Smooth=0]="Smooth",A[A.Immediate=1]="Immediate"})(T=e.ScrollType||(e.ScrollType={}));var R;(function(A){A[A.Auto=1]="Auto",A[A.Hidden=2]="Hidden",A[A.Visible=3]="Visible"})(R=e.ScrollbarVisibility||(e.ScrollbarVisibility={}));var F;(function(A){A[A.LTR=0]="LTR",A[A.RTL=1]="RTL"})(F=e.SelectionDirection||(e.SelectionDirection={}));var O;(function(A){A[A.Invoke=1]="Invoke",A[A.TriggerCharacter=2]="TriggerCharacter",A[A.ContentChange=3]="ContentChange"})(O=e.SignatureHelpTriggerKind||(e.SignatureHelpTriggerKind={}));var D;(function(A){A[A.File=0]="File",A[A.Module=1]="Module",A[A.Namespace=2]="Namespace",A[A.Package=3]="Package",A[A.Class=4]="Class",A[A.Method=5]="Method",A[A.Property=6]="Property",A[A.Field=7]="Field",A[A.Constructor=8]="Constructor",A[A.Enum=9]="Enum",A[A.Interface=10]="Interface",A[A.Function=11]="Function",A[A.Variable=12]="Variable",A[A.Constant=13]="Constant",A[A.String=14]="String",A[A.Number=15]="Number",A[A.Boolean=16]="Boolean",A[A.Array=17]="Array",A[A.Object=18]="Object",A[A.Key=19]="Key",A[A.Null=20]="Null",A[A.EnumMember=21]="EnumMember",A[A.Struct=22]="Struct",A[A.Event=23]="Event",A[A.Operator=24]="Operator",A[A.TypeParameter=25]="TypeParameter"})(D=e.SymbolKind||(e.SymbolKind={}));var M;(function(A){A[A.Deprecated=1]="Deprecated"})(M=e.SymbolTag||(e.SymbolTag={}));var P;(function(A){A[A.Hidden=0]="Hidden",A[A.Blink=1]="Blink",A[A.Smooth=2]="Smooth",A[A.Phase=3]="Phase",A[A.Expand=4]="Expand",A[A.Solid=5]="Solid"})(P=e.TextEditorCursorBlinkingStyle||(e.TextEditorCursorBlinkingStyle={}));var B;(function(A){A[A.Line=1]="Line",A[A.Block=2]="Block",A[A.Underline=3]="Underline",A[A.LineThin=4]="LineThin",A[A.BlockOutline=5]="BlockOutline",A[A.UnderlineThin=6]="UnderlineThin"})(B=e.TextEditorCursorStyle||(e.TextEditorCursorStyle={}));var W;(function(A){A[A.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",A[A.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",A[A.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",A[A.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(W=e.TrackedRangeStickiness||(e.TrackedRangeStickiness={}));var V;(function(A){A[A.None=0]="None",A[A.Same=1]="Same",A[A.Indent=2]="Indent",A[A.DeepIndent=3]="DeepIndent"})(V=e.WrappingIndent||(e.WrappingIndent={}))}),define(re[428],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketPairWithMinIndentationInfo=e.BracketPairInfo=e.BracketInfo=void 0;class w{constructor(L,b,v,u){this.range=L,this.nestingLevel=b,this.nestingLevelOfEqualBracketType=v,this.isInvalid=u}}e.BracketInfo=w;class C{constructor(L,b,v,u,g,n){this.range=L,this.openingBracketRange=b,this.closingBracketRange=v,this.nestingLevel=u,this.nestingLevelOfEqualBracketType=g,this.bracketPairNode=n}get openingBracketInfo(){return this.bracketPairNode.openingBracket.bracketInfo}}e.BracketPairInfo=C;class k extends C{constructor(L,b,v,u,g,n,i){super(L,b,v,u,g,n);this.minVisibleColumnIndentation=i}}e.BracketPairWithMinIndentationInfo=k}),define(re[99],ae([1,0]),function($,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InternalModelContentChangeEvent=e.ModelInjectedTextChangedEvent=e.ModelRawContentChangedEvent=e.ModelRawEOLChanged=e.ModelRawLinesInserted=e.ModelRawLinesDeleted=e.ModelRawLineChanged=e.LineInjectedText=e.ModelRawFlush=void 0;class w{constructor(){this.changeType=1}}e.ModelRawFlush=w;class C{constructor(i,t,r,l,d){this.ownerId=i,this.lineNumber=t,this.column=r,this.options=l,this.order=d}static applyInjectedText(i,t){if(!t||t.length===0)return i;let r="",l=0;for(const d of t)r+=i.substring(l,d.column-1),l=d.column-1,r+=d.options.content;return r+=i.substring(l),r}static fromDecorations(i){const t=[];for(const r of i)r.options.before&&r.options.before.content.length>0&&t.push(new C(r.ownerId,r.range.startLineNumber,r.range.startColumn,r.options.before,0)),r.options.after&&r.options.after.content.length>0&&t.push(new C(r.ownerId,r.range.endLineNumber,r.range.endColumn,r.options.after,1));return t.sort((r,l)=>r.lineNumber===l.lineNumber?r.column===l.column?r.order-l.order:r.column-l.column:r.lineNumber-l.lineNumber),t}}e.LineInjectedText=C;class k{constructor(i,t,r){this.changeType=2,this.lineNumber=i,this.detail=t,this.injectedText=r}}e.ModelRawLineChanged=k;class I{constructor(i,t){this.changeType=3,this.fromLineNumber=i,this.toLineNumber=t}}e.ModelRawLinesDeleted=I;class L{constructor(i,t,r,l){this.changeType=4,this.injectedTexts=l,this.fromLineNumber=i,this.toLineNumber=t,this.detail=r}}e.ModelRawLinesInserted=L;class b{constructor(){this.changeType=5}}e.ModelRawEOLChanged=b;class v{constructor(i,t,r,l){this.changes=i,this.versionId=t,this.isUndoing=r,this.isRedoing=l,this.resultingSelection=null}containsEvent(i){for(let t=0,r=this.changes.length;tl)throw new Error("Illegal value for lineNumber");const d=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,a=Boolean(d&&d.offSide);let s=-2,o=-1,c=-2,f=-1;const p=D=>{if(s!==-1&&(s===-2||s>D-1)){s=-1,o=-1;for(let M=D-2;M>=0;M--){const P=this._computeIndentLevel(M);if(P>=0){s=M,o=P;break}}}if(c===-2){c=-1,f=-1;for(let M=D;M=0){c=M,f=P;break}}}};let _=-2,m=-1,h=-2,S=-1;const y=D=>{if(_===-2){_=-1,m=-1;for(let M=D-2;M>=0;M--){const P=this._computeIndentLevel(M);if(P>=0){_=M,m=P;break}}}if(h!==-1&&(h===-2||h=0){h=M,S=P;break}}}};let E=0,N=!0,T=0,R=!0,F=0,O=0;for(let D=0;N||R;D++){const M=i-D,P=i+D;D>1&&(M<1||M1&&(P>l||P>r)&&(R=!1),D>5e4&&(N=!1,R=!1);let B=-1;if(N&&M>=1){const V=this._computeIndentLevel(M-1);V>=0?(c=M-1,f=V,B=Math.ceil(V/this.textModel.getOptions().indentSize)):(p(M),B=this._getIndentLevelForWhitespaceLine(a,o,f))}let W=-1;if(R&&P<=l){const V=this._computeIndentLevel(P-1);V>=0?(_=P-1,m=V,W=Math.ceil(V/this.textModel.getOptions().indentSize)):(y(P),W=this._getIndentLevelForWhitespaceLine(a,m,S))}if(D===0){O=B;continue}if(D===1){if(P<=l&&W>=0&&O+1===W){N=!1,E=P,T=P,F=W;continue}if(M>=1&&B>=0&&B-1===O){R=!1,E=M,T=M,F=B;continue}if(E=i,T=i,F=O,F===0)return{startLineNumber:E,endLineNumber:T,indent:F}}N&&(B>=F?E=M:N=!1),R&&(W>=F?T=P:R=!1)}return{startLineNumber:E,endLineNumber:T,indent:F}}getLinesBracketGuides(i,t,r,l){var d;const a=[];for(let _=i;_<=t;_++)a.push([]);const s=!0,o=this.textModel.bracketPairs.getBracketPairsInRangeWithMinIndentation(new I.Range(i,1,t,this.textModel.getLineMaxColumn(t)));let c;if(r&&o.length>0){const _=(i<=r.lineNumber&&r.lineNumber<=t?o:this.textModel.bracketPairs.getBracketPairsInRange(I.Range.fromPositions(r))).filter(m=>I.Range.strictContainsPosition(m.range,r));c=(d=(0,w.findLast)(_,m=>s||m.range.startLineNumber!==m.range.endLineNumber))===null||d===void 0?void 0:d.range}const f=this.textModel.getOptions().bracketPairColorizationOptions.independentColorPoolPerBracketType,p=new g;for(const _ of o){if(!_.closingBracketRange)continue;const m=c&&_.range.equalsRange(c);if(!m&&!l.includeInactive)continue;const h=p.getInlineClassName(_.nestingLevel,_.nestingLevelOfEqualBracketType,f)+(l.highlightActive&&m?" "+p.activeClassName:""),S=_.openingBracketRange.getStartPosition(),y=_.closingBracketRange.getStartPosition(),E=l.horizontalGuides===v.HorizontalGuidesState.Enabled||l.horizontalGuides===v.HorizontalGuidesState.EnabledForActive&&m;if(_.range.startLineNumber===_.range.endLineNumber){s&&E&&a[_.range.startLineNumber-i].push(new v.IndentGuide(-1,_.openingBracketRange.getEndPosition().column,h,new v.IndentGuideHorizontalLine(!1,y.column),-1,-1));continue}const N=this.getVisibleColumnFromPosition(y),T=this.getVisibleColumnFromPosition(_.openingBracketRange.getStartPosition()),R=Math.min(T,N,_.minVisibleColumnIndentation+1);let F=!1;C.firstNonWhitespaceIndex(this.textModel.getLineContent(_.closingBracketRange.startLineNumber))<_.closingBracketRange.startColumn-1&&(F=!0);const M=Math.max(S.lineNumber,i),P=Math.min(y.lineNumber,t),B=F?1:0;for(let W=M;W=i&&T>R&&a[S.lineNumber-i].push(new v.IndentGuide(R,-1,h,new v.IndentGuideHorizontalLine(!1,S.column),-1,-1)),y.lineNumber<=t&&N>R&&a[y.lineNumber-i].push(new v.IndentGuide(R,-1,h,new v.IndentGuideHorizontalLine(!F,y.column),-1,-1)))}for(const _ of a)_.sort((m,h)=>m.visibleColumn-h.visibleColumn);return a}getVisibleColumnFromPosition(i){return k.CursorColumns.visibleColumnFromColumn(this.textModel.getLineContent(i.lineNumber),i.column,this.textModel.getOptions().tabSize)+1}getLinesIndentGuides(i,t){this.assertNotDisposed();const r=this.textModel.getLineCount();if(i<1||i>r)throw new Error("Illegal value for startLineNumber");if(t<1||t>r)throw new Error("Illegal value for endLineNumber");const l=this.textModel.getOptions(),d=this.getLanguageConfiguration(this.textModel.getLanguageId()).foldingRules,a=Boolean(d&&d.offSide),s=new Array(t-i+1);let o=-2,c=-1,f=-2,p=-1;for(let _=i;_<=t;_++){const m=_-i,h=this._computeIndentLevel(_-1);if(h>=0){o=_-1,c=h,s[m]=Math.ceil(h/l.indentSize);continue}if(o===-2){o=-1,c=-1;for(let S=_-2;S>=0;S--){const y=this._computeIndentLevel(S);if(y>=0){o=S,c=y;break}}}if(f!==-1&&(f===-2||f<_-1)){f=-1,p=-1;for(let S=_;S=0){f=S,p=y;break}}}s[m]=this._getIndentLevelForWhitespaceLine(a,c,p)}return s}_getIndentLevelForWhitespaceLine(i,t,r){const l=this.textModel.getOptions();return t===-1||r===-1?0:t0){const b=this._tokens[this._tokens.length-1];if(b.endLineNumber+1===I){b.appendLineTokens(L);return}}this._tokens.push(new w.ContiguousMultilineTokens(I,[L]))}finalize(){return this._tokens}}e.ContiguousMultilineTokensBuilder=C}),define(re[82],ae([1,0,109]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LineTokens=void 0;class C{constructor(L,b,v){this._lineTokensBrand=void 0,this._tokens=L,this._tokensCount=this._tokens.length>>>1,this._text=b,this._languageIdCodec=v}static createEmpty(L,b){const v=C.defaultTokenMetadata,u=new Uint32Array(2);return u[0]=L.length,u[1]=v,new C(u,L,b)}equals(L){return L instanceof C?this.slicedEquals(L,0,this._tokensCount):!1}slicedEquals(L,b,v){if(this._text!==L._text||this._tokensCount!==L._tokensCount)return!1;const u=b<<1,g=u+(v<<1);for(let n=u;n0?this._tokens[L-1<<1]:0}getMetadata(L){return this._tokens[(L<<1)+1]}getLanguageId(L){const b=this._tokens[(L<<1)+1],v=w.TokenMetadata.getLanguageId(b);return this._languageIdCodec.decodeLanguageId(v)}getStandardTokenType(L){const b=this._tokens[(L<<1)+1];return w.TokenMetadata.getTokenType(b)}getForeground(L){const b=this._tokens[(L<<1)+1];return w.TokenMetadata.getForeground(b)}getClassName(L){const b=this._tokens[(L<<1)+1];return w.TokenMetadata.getClassNameFromMetadata(b)}getInlineStyle(L,b){const v=this._tokens[(L<<1)+1];return w.TokenMetadata.getInlineStyleFromMetadata(v,b)}getPresentation(L){const b=this._tokens[(L<<1)+1];return w.TokenMetadata.getPresentationFromMetadata(b)}getEndOffset(L){return this._tokens[L<<1]}findTokenIndexAtOffset(L){return C.findIndexInTokensArray(this._tokens,L)}inflate(){return this}sliceAndInflate(L,b,v){return new k(this,L,b,v)}static convertToEndOffset(L,b){const u=(L.length>>>1)-1;for(let g=0;g>>1)-1;for(;vb&&(u=g)}return v}withInserted(L){if(L.length===0)return this;let b=0,v=0,u="";const g=new Array;let n=0;for(;;){const i=bn){u+=this._text.substring(n,t.offset);const r=this._tokens[(b<<1)+1];g.push(u.length,r),n=t.offset}u+=t.text,g.push(u.length,t.tokenMetadata),v++}else break}return new C(new Uint32Array(g),u,this._languageIdCodec)}}e.LineTokens=C,C.defaultTokenMetadata=(0<<11|1<<15|2<<24)>>>0;class k{constructor(L,b,v,u){this._source=L,this._startOffset=b,this._endOffset=v,this._deltaOffset=u,this._firstTokenIndex=L.findTokenIndexAtOffset(b),this._tokensCount=0;for(let g=this._firstTokenIndex,n=L.getCount();g=v);g++)this._tokensCount++}getMetadata(L){return this._source.getMetadata(this._firstTokenIndex+L)}getLanguageId(L){return this._source.getLanguageId(this._firstTokenIndex+L)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(L){return L instanceof k?this._startOffset===L._startOffset&&this._endOffset===L._endOffset&&this._deltaOffset===L._deltaOffset&&this._source.slicedEquals(L._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(L){return this._source.getForeground(this._firstTokenIndex+L)}getEndOffset(L){const b=this._source.getEndOffset(this._firstTokenIndex+L);return Math.min(this._endOffset,b)-this._startOffset+this._deltaOffset}getClassName(L){return this._source.getClassName(this._firstTokenIndex+L)}getInlineStyle(L,b){return this._source.getInlineStyle(this._firstTokenIndex+L,b)}getPresentation(L){return this._source.getPresentation(this._firstTokenIndex+L)}findTokenIndexAtOffset(L){return this._source.findTokenIndexAtOffset(L+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}}),define(re[431],ae([1,0,82]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toUint32Array=e.ContiguousTokensEditing=e.EMPTY_LINE_TOKENS=void 0,e.EMPTY_LINE_TOKENS=new Uint32Array(0).buffer;class C{static deleteBeginning(L,b){return L===null||L===e.EMPTY_LINE_TOKENS?L:C.delete(L,0,b)}static deleteEnding(L,b){if(L===null||L===e.EMPTY_LINE_TOKENS)return L;const v=k(L),u=v[v.length-2];return C.delete(L,b,u)}static delete(L,b,v){if(L===null||L===e.EMPTY_LINE_TOKENS||b===v)return L;const u=k(L),g=u.length>>>1;if(b===0&&u[u.length-2]===v)return e.EMPTY_LINE_TOKENS;const n=w.LineTokens.findIndexInTokensArray(u,b),i=n>0?u[n-1<<1]:0,t=u[n<<1];if(vl&&(u[r++]=o,u[r++]=u[(s<<1)+1],l=o)}if(r===u.length)return L;const a=new Uint32Array(r);return a.set(u.subarray(0,r),0),a.buffer}static append(L,b){if(b===e.EMPTY_LINE_TOKENS)return L;if(L===e.EMPTY_LINE_TOKENS)return b;if(L===null)return L;if(b===null)return null;const v=k(L),u=k(b),g=u.length>>>1,n=new Uint32Array(v.length+u.length);n.set(v,0);let i=v.length;const t=v[v.length-2];for(let r=0;r>>1;let n=w.LineTokens.findIndexInTokensArray(u,b);n>0&&u[n-1<<1]===b&&n--;for(let i=n;i1&&(r=L.TokenMetadata.getLanguageId(t[1])!==g),!r)return k.EMPTY_LINE_TOKENS}if(!t||t.length===0){const r=new Uint32Array(2);return r[0]=n,r[1]=v(g),r.buffer}return t[t.length-2]=n,t.byteOffset===0&&t.byteLength===t.buffer.byteLength?t.buffer:t}_ensureLine(g){for(;g>=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(g,n){n!==0&&(g+n>this._len&&(n=this._len-g),this._lineTokens.splice(g,n),this._len-=n)}_insertLines(g,n){if(n===0)return;const i=[];for(let t=0;t=this._len)return;if(g.startLineNumber===g.endLineNumber){if(g.startColumn===g.endColumn)return;this._lineTokens[n]=k.ContiguousTokensEditing.delete(this._lineTokens[n],g.startColumn-1,g.endColumn-1);return}this._lineTokens[n]=k.ContiguousTokensEditing.deleteEnding(this._lineTokens[n],g.startColumn-1);const i=g.endLineNumber-1;let t=null;i=this._len)){if(n===0){this._lineTokens[t]=k.ContiguousTokensEditing.insert(this._lineTokens[t],g.column-1,i);return}this._lineTokens[t]=k.ContiguousTokensEditing.deleteEnding(this._lineTokens[t],g.column-1),this._lineTokens[t]=k.ContiguousTokensEditing.insert(this._lineTokens[t],g.column-1,i),this._insertLines(g.lineNumber,n)}}}e.ContiguousTokensStore=b;function v(u){return(u<<0|0<<8|0<<11|1<<15|2<<24|1024)>>>0}}),define(re[433],ae([1,0,11,3,126]),function($,e,w,C,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SparseLineTokens=e.SparseMultilineTokens=void 0;class I{constructor(u,g){this._startLineNumber=u,this._tokens=g,this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}static create(u,g){return new I(u,new L(g))}get startLineNumber(){return this._startLineNumber}get endLineNumber(){return this._endLineNumber}toString(){return this._tokens.toString(this._startLineNumber)}_updateEndLineNumber(){this._endLineNumber=this._startLineNumber+this._tokens.getMaxDeltaLine()}isEmpty(){return this._tokens.isEmpty()}getLineTokens(u){return this._startLineNumber<=u&&u<=this._endLineNumber?this._tokens.getLineTokens(u-this._startLineNumber):null}getRange(){const u=this._tokens.getRange();return u&&new C.Range(this._startLineNumber+u.startLineNumber,u.startColumn,this._startLineNumber+u.endLineNumber,u.endColumn)}removeTokens(u){const g=u.startLineNumber-this._startLineNumber,n=u.endLineNumber-this._startLineNumber;this._startLineNumber+=this._tokens.removeTokens(g,u.startColumn-1,n,u.endColumn-1),this._updateEndLineNumber()}split(u){const g=u.startLineNumber-this._startLineNumber,n=u.endLineNumber-this._startLineNumber,[i,t,r]=this._tokens.split(g,u.startColumn-1,n,u.endColumn-1);return[new I(this._startLineNumber,i),new I(this._startLineNumber+r,t)]}applyEdit(u,g){const[n,i,t]=(0,k.countEOL)(g);this.acceptEdit(u,n,i,t,g.length>0?g.charCodeAt(0):0)}acceptEdit(u,g,n,i,t){this._acceptDeleteRange(u),this._acceptInsertText(new w.Position(u.startLineNumber,u.startColumn),g,n,i,t),this._updateEndLineNumber()}_acceptDeleteRange(u){if(u.startLineNumber===u.endLineNumber&&u.startColumn===u.endColumn)return;const g=u.startLineNumber-this._startLineNumber,n=u.endLineNumber-this._startLineNumber;if(n<0){const t=n-g;this._startLineNumber-=t;return}const i=this._tokens.getMaxDeltaLine();if(!(g>=i+1)){if(g<0&&n>=i+1){this._startLineNumber=0,this._tokens.clear();return}if(g<0){const t=-g;this._startLineNumber-=t,this._tokens.acceptDeleteRange(u.startColumn-1,0,0,n,u.endColumn-1)}else this._tokens.acceptDeleteRange(0,g,u.startColumn-1,n,u.endColumn-1)}}_acceptInsertText(u,g,n,i,t){if(g===0&&n===0)return;const r=u.lineNumber-this._startLineNumber;if(r<0){this._startLineNumber+=g;return}const l=this._tokens.getMaxDeltaLine();r>=l+1||this._tokens.acceptInsertText(r,u.column-1,g,n,i,t)}}e.SparseMultilineTokens=I;class L{constructor(u){this._tokens=u,this._tokenCount=u.length/4}toString(u){const g=[];for(let n=0;nu)n=i-1;else{let r=i;for(;r>g&&this._getDeltaLine(r-1)===u;)r--;let l=i;for(;lu||c===u&&p>=g)&&(cu||p===u&&m>=g){if(pt?_-=t-n:_=n;else if(f===g&&p===n)if(f===i&&_>t)_-=t-n;else{s=!0;continue}else if(ft)f===g?(p=n,_=p+(_-t)):(p=0,_=p+(_-t));else{s=!0;continue}else if(f>i){if(d===0&&!s){a=l;break}f-=d}else if(f===i&&p>=t)u&&f===0&&(p+=u,_+=u),f-=d,p-=t-n,_-=t-n;else throw new Error("Not possible!");const h=4*a;r[h]=f,r[h+1]=p,r[h+2]=_,r[h+3]=m,a++}this._tokenCount=a}acceptInsertText(u,g,n,i,t,r){const l=n===0&&i===1&&(r>=48&&r<=57||r>=65&&r<=90||r>=97&&r<=122),d=this._tokens,a=this._tokenCount;for(let s=0;s0){const g=b[0].getRange(),n=b[b.length-1].getRange();if(!g||!n)return L;v=L.plusRange(g).plusRange(n)}let u=null;for(let g=0,n=this._pieces.length;gv.endLineNumber){u=u||{index:g};break}if(i.removeTokens(v),i.isEmpty()){this._pieces.splice(g,1),g--,n--;continue}if(i.endLineNumberv.endLineNumber){u=u||{index:g};continue}const[t,r]=i.split(v);if(t.isEmpty()){u=u||{index:g};continue}r.isEmpty()||(this._pieces.splice(g,1,t,r),g++,n++,u=u||{index:g})}return u=u||{index:this._pieces.length},b.length>0&&(this._pieces=w.arrayInsert(this._pieces,u.index,b)),v}isComplete(){return this._isComplete}addSparseTokens(L,b){if(b.getLineContent().length===0)return b;const v=this._pieces;if(v.length===0)return b;const u=k._findFirstPieceWithLine(v,L),g=v[u].getLineTokens(L);if(!g)return b;const n=b.getCount(),i=g.getCount();let t=0;const r=[];let l=0,d=0;const a=(s,o)=>{s!==d&&(d=s,r[l++]=s,r[l++]=o)};for(let s=0;s>>0,_=~p>>>0;for(;tb)u=g-1;else{for(;g>v&&L[g-1].startLineNumber<=b&&b<=L[g-1].endLineNumber;)g--;return g}}return v}acceptEdit(L,b,v,u,g){for(const n of this._pieces)n.acceptEdit(L,b,v,u,g)}}e.SparseTokensStore=k}),define(re[129],ae([1,0,2]),function($,e,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ViewEventHandler=void 0;class C extends w.Disposable{constructor(){super();this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(I){return!1}onCompositionEnd(I){return!1}onConfigurationChanged(I){return!1}onCursorStateChanged(I){return!1}onDecorationsChanged(I){return!1}onFlushed(I){return!1}onFocusChanged(I){return!1}onLanguageConfigurationChanged(I){return!1}onLineMappingChanged(I){return!1}onLinesChanged(I){return!1}onLinesDeleted(I){return!1}onLinesInserted(I){return!1}onRevealRangeRequest(I){return!1}onScrollChanged(I){return!1}onThemeChanged(I){return!1}onTokensChanged(I){return!1}onTokensColorsChanged(I){return!1}onZonesChanged(I){return!1}handleEvents(I){let L=!1;for(let b=0,v=I.length;b{if(r.options.zIndexl.options.zIndex)return 1;const d=r.options.className,a=l.options.className;return da?1:C.Range.compareRangesUsingStarts(r.range,l.range)});const n=b.visibleRange.startLineNumber,i=b.visibleRange.endLineNumber,t=[];for(let r=n;r<=i;r++){const l=r-n;t[l]=""}this._renderWholeLineDecorations(b,u,t),this._renderNormalDecorations(b,u,t),this._renderResult=t}_renderWholeLineDecorations(b,v,u){const g=String(this._lineHeight),n=b.visibleRange.startLineNumber,i=b.visibleRange.endLineNumber;for(let t=0,r=v.length;t