From 485a68e54e8935f738075c2e3ed616da83b58501 Mon Sep 17 00:00:00 2001
From: zs_97
Date: Thu, 30 Mar 2023 18:02:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BE=E6=A0=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
color.less | 42 +-
index.html | 2 +-
monaco-editor.0aa64468.async.js | 172 +-
...odeReview__Detail__index.2aa0a13d.async.js | 6 +-
...ics__StudentVideo__index.77c363ce.async.js | 2 +-
...es__Lists__Member__index.436a6aa3.async.js | 4 +-
static/iconfont.2568d8e2.woff | Bin 0 -> 195944 bytes
...ont.672b2bb3.svg => iconfont.27876f96.svg} | 2304 ++++----
static/iconfont.3097f954.eot | Bin 232880 -> 0 bytes
static/iconfont.40ffe6bc.ttf | Bin 312224 -> 0 bytes
static/iconfont.60265214.eot | Bin 0 -> 320208 bytes
static/iconfont.67c18512.ttf | Bin 0 -> 320040 bytes
static/iconfont.d9adc5a4.woff | Bin 188636 -> 0 bytes
umi.a54ddebe.css => umi.4c55c925.css | 4682 +++++++++--------
14 files changed, 3709 insertions(+), 3505 deletions(-)
create mode 100644 static/iconfont.2568d8e2.woff
rename static/{iconfont.672b2bb3.svg => iconfont.27876f96.svg} (93%)
delete mode 100644 static/iconfont.3097f954.eot
delete mode 100644 static/iconfont.40ffe6bc.ttf
create mode 100644 static/iconfont.60265214.eot
create mode 100644 static/iconfont.67c18512.ttf
delete mode 100644 static/iconfont.d9adc5a4.woff
rename umi.a54ddebe.css => umi.4c55c925.css (98%)
diff --git a/color.less b/color.less
index 82c6047ff2..ea8617542a 100644
--- a/color.less
+++ b/color.less
@@ -30,7 +30,7 @@ abbr[title],
abbr[data-original-title] {border-bottom: 0;}
a {color: @link-color;background-color: transparent;}
a:hover {color: color(~`colorPalette("@{link-color}", 5)`);}
-a:active {color: color(~`colorPalette("@{link-color}", 7)`);}
+a:active {color: color(~`colorPalette("@{disabled-color}", 9)`);}
a[disabled] {color: @disabled-color;}
img {border-style: none;}
table {border-collapse: collapse;}
@@ -84,11 +84,11 @@ html {--antd-wave-shadow-color: @primary-color;}
.zoom-right-enter, .zoom-right-appear {animation-fill-mode: both;}
.zoom-right-leave {animation-fill-mode: both;}
.ant-alert {color: @text-color;border-radius: 2px;}
-.ant-alert-success {background-color: color(~`colorPalette("@{modal-heading-color}", 1)`);border: 1px solid color(~`colorPalette("@{success-color}", 4)`);}
+.ant-alert-success {background-color: color(~`colorPalette("@{success-color}", 1)`);border: 1px solid color(~`colorPalette("@{success-color}", 3)`);}
.ant-alert-success .ant-alert-icon {color: @success-color;}
.ant-alert-info {background-color: color(~`colorPalette("@{primary-color}", 1)`);border: 1px solid color(~`colorPalette("@{primary-color}", 3)`);}
.ant-alert-info .ant-alert-icon {color: @primary-color;}
-.ant-alert-warning {background-color: color(~`colorPalette("@{warning-color}", 1)`);border: 1px solid color(~`colorPalette("@{warning-color}", 3)`);}
+.ant-alert-warning {background-color: color(~`colorPalette("@{warning-color}", 1)`);border: 1px solid color(~`colorPalette("@{warning-color}", 4)`);}
.ant-alert-warning .ant-alert-icon {color: @warning-color;}
.ant-alert-error {background-color: color(~`colorPalette("@{error-color}", 1)`);border: 1px solid color(~`colorPalette("@{error-color}", 3)`);}
.ant-alert-error .ant-alert-icon {color: @error-color;}
@@ -588,7 +588,7 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-picker-footer-extra:not(:last-child) {border-bottom: 1px solid #f0f0f0;}
.ant-picker-today-btn {color: @link-color;}
.ant-picker-today-btn:hover {color: color(~`colorPalette("@{link-color}", 5)`);}
-.ant-picker-today-btn:active {color: color(~`colorPalette("@{link-color}", 7)`);}
+.ant-picker-today-btn:active {color: color(~`colorPalette("@{disabled-color}", 9)`);}
.ant-picker-today-btn.ant-picker-today-btn-disabled {color: @disabled-color;}
.ant-picker-year-panel .ant-picker-cell-range-hover-start::after, .ant-picker-quarter-panel .ant-picker-cell-range-hover-start::after, .ant-picker-month-panel .ant-picker-cell-range-hover-start::after {border-left: 1px dashed lighten(@primary-color, 20%);border-radius: 2px 0 0 2px;}
.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-start::after, .ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-start::after, .ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-start::after {border-right: 1px dashed lighten(@primary-color, 20%);border-radius: 0 2px 2px 0;}
@@ -727,42 +727,42 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-form-item-has-success.ant-form-item-has-feedback .ant-form-item-children-icon {color: @success-color;}
.ant-form-item-has-warning .ant-form-item-explain, .ant-form-item-has-warning .ant-form-item-split {color: @warning-color;}
.ant-form-item-has-warning .ant-input, .ant-form-item-has-warning .ant-input-affix-wrapper, .ant-form-item-has-warning .ant-input:hover, .ant-form-item-has-warning .ant-input-affix-wrapper:hover {border-color: @warning-color;}
-.ant-form-item-has-warning .ant-input:focus, .ant-form-item-has-warning .ant-input-affix-wrapper:focus, .ant-form-item-has-warning .ant-input-focused, .ant-form-item-has-warning .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 1, 115, 0.2);}
+.ant-form-item-has-warning .ant-input:focus, .ant-form-item-has-warning .ant-input-affix-wrapper:focus, .ant-form-item-has-warning .ant-input-focused, .ant-form-item-has-warning .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(247, 236, 214, 0.2);}
.ant-form-item-has-warning .ant-input:not(.ant-form-item-has-warning .ant-input-disabled) {background-color: #fff;}
.ant-form-item-has-warning .ant-input-affix-wrapper:not(.ant-form-item-has-warning .ant-input-affix-wrapper-disabled) {background-color: #fff;}
.ant-form-item-has-warning .ant-input-affix-wrapper input:focus {box-shadow: none !important;}
-.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 1, 115, 0.2);}
+.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(247, 236, 214, 0.2);}
.ant-form-item-has-warning .ant-input-prefix {color: @warning-color;}
.ant-form-item-has-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;}
.ant-form-item-has-warning .has-feedback {color: @warning-color;}
.ant-form-item-has-warning.ant-form-item-has-feedback .ant-form-item-children-icon {color: @warning-color;}
.ant-form-item-has-warning .ant-select:not(.ant-select-borderless) .ant-select-selector {border-color: @warning-color !important;}
-.ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 1, 115, 0.2);}
+.ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(247, 236, 214, 0.2);}
.ant-form-item-has-warning .ant-input-number, .ant-form-item-has-warning .ant-picker {border-color: @warning-color;}
-.ant-form-item-has-warning .ant-input-number-focused, .ant-form-item-has-warning .ant-picker-focused, .ant-form-item-has-warning .ant-input-number:focus, .ant-form-item-has-warning .ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 1, 115, 0.2);}
+.ant-form-item-has-warning .ant-input-number-focused, .ant-form-item-has-warning .ant-picker-focused, .ant-form-item-has-warning .ant-input-number:focus, .ant-form-item-has-warning .ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(247, 236, 214, 0.2);}
.ant-form-item-has-warning .ant-input-number:not([disabled]):hover, .ant-form-item-has-warning .ant-picker:not([disabled]):hover {border-color: @warning-color;}
-.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 1, 115, 0.2);}
+.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(247, 236, 214, 0.2);}
.ant-form-item-has-error .ant-form-item-explain, .ant-form-item-has-error .ant-form-item-split {color: @error-color;}
.ant-form-item-has-error .ant-input, .ant-form-item-has-error .ant-input-affix-wrapper, .ant-form-item-has-error .ant-input:hover, .ant-form-item-has-error .ant-input-affix-wrapper:hover {border-color: @error-color;}
-.ant-form-item-has-error .ant-input:focus, .ant-form-item-has-error .ant-input-affix-wrapper:focus, .ant-form-item-has-error .ant-input-focused, .ant-form-item-has-error .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(138, 220, 101, 0.2);}
+.ant-form-item-has-error .ant-input:focus, .ant-form-item-has-error .ant-input-affix-wrapper:focus, .ant-form-item-has-error .ant-input-focused, .ant-form-item-has-error .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(134, 167, 116, 0.2);}
.ant-form-item-has-error .ant-input:not(.ant-form-item-has-error .ant-input-disabled) {background-color: #fff;}
.ant-form-item-has-error .ant-input-affix-wrapper:not(.ant-form-item-has-error .ant-input-affix-wrapper-disabled) {background-color: #fff;}
.ant-form-item-has-error .ant-input-affix-wrapper input:focus {box-shadow: none !important;}
-.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(138, 220, 101, 0.2);}
+.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(134, 167, 116, 0.2);}
.ant-form-item-has-error .ant-input-prefix {color: @error-color;}
.ant-form-item-has-error .ant-input-group-addon {color: @error-color;border-color: @error-color;}
.ant-form-item-has-error .has-feedback {color: @error-color;}
.ant-form-item-has-error.ant-form-item-has-feedback .ant-form-item-children-icon {color: @error-color;}
.ant-form-item-has-error .ant-select:not(.ant-select-borderless) .ant-select-selector {border-color: @error-color !important;}
-.ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(138, 220, 101, 0.2);}
+.ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(134, 167, 116, 0.2);}
.ant-form-item-has-error .ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {border: 0;}
.ant-form-item-has-error .ant-select.ant-select-auto-complete .ant-input:focus {border-color: @error-color;}
.ant-form-item-has-error .ant-input-number, .ant-form-item-has-error .ant-picker {border-color: @error-color;}
-.ant-form-item-has-error .ant-input-number-focused, .ant-form-item-has-error .ant-picker-focused, .ant-form-item-has-error .ant-input-number:focus, .ant-form-item-has-error .ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(138, 220, 101, 0.2);}
+.ant-form-item-has-error .ant-input-number-focused, .ant-form-item-has-error .ant-picker-focused, .ant-form-item-has-error .ant-input-number:focus, .ant-form-item-has-error .ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(134, 167, 116, 0.2);}
.ant-form-item-has-error .ant-input-number:not([disabled]):hover, .ant-form-item-has-error .ant-picker:not([disabled]):hover {border-color: @error-color;}
.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover {border-color: @error-color;}
-.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(138, 220, 101, 0.2);}
-.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(138, 220, 101, 0.2);}
+.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(134, 167, 116, 0.2);}
+.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(134, 167, 116, 0.2);}
.ant-form-item-has-error .ant-transfer-list {border-color: @error-color;}
.ant-form-item-has-error .ant-transfer-list-search:not([disabled]) {border-color: @border-color-base;}
.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px !important;}
@@ -1068,7 +1068,7 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-page-header-ghost {background-color: inherit;}
.ant-page-header-back-button {color: @link-color;color: #000;}
.ant-page-header-back-button:focus, .ant-page-header-back-button:hover {color: color(~`colorPalette("@{link-color}", 5)`);}
-.ant-page-header-back-button:active {color: color(~`colorPalette("@{link-color}", 7)`);}
+.ant-page-header-back-button:active {color: color(~`colorPalette("@{disabled-color}", 9)`);}
.ant-page-header-heading-title {color: @heading-color;}
.ant-page-header-heading-sub-title {color: @text-color-secondary;}
.ant-page-header-footer .ant-tabs > .ant-tabs-nav::before {border: none;}
@@ -1385,7 +1385,7 @@ td.ant-table-column-sort {background: #fafafa;}
.ant-table-selection-extra .anticon:hover {color: #a6a6a6;}
.ant-table-row-expand-icon {color: @link-color;color: inherit;background: #fff;border: 1px solid #f0f0f0;border-radius: 2px;}
.ant-table-row-expand-icon:focus, .ant-table-row-expand-icon:hover {color: color(~`colorPalette("@{link-color}", 5)`);}
-.ant-table-row-expand-icon:active {color: color(~`colorPalette("@{link-color}", 7)`);}
+.ant-table-row-expand-icon:active {color: color(~`colorPalette("@{disabled-color}", 9)`);}
.ant-table-row-expand-icon:focus, .ant-table-row-expand-icon:hover, .ant-table-row-expand-icon:active {border-color: currentColor;}
.ant-table-row-expand-icon::before, .ant-table-row-expand-icon::after {background: currentColor;}
.ant-table-row-expand-icon-spaced {background: transparent;border: 0;}
@@ -1479,7 +1479,7 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;}
.ant-tag-green-inverse {color: #fff;background: #52c41a;border-color: #52c41a;}
.ant-tag-blue {color: #1890ff;background: #e6f7ff;border-color: #91d5ff;}
.ant-tag-blue-inverse {color: #fff;background: #1890ff;border-color: #1890ff;}
-.ant-tag-geekblue {color: #2f54eb;background: color(~`colorPalette("@{modal-mask-bg}", 3)`);border-color: #adc6ff;}
+.ant-tag-geekblue {color: #2f54eb;background: color(~`colorPalette("@{modal-mask-bg}", 4)`);border-color: #adc6ff;}
.ant-tag-geekblue-inverse {color: #fff;background: #2f54eb;border-color: #2f54eb;}
.ant-tag-purple {color: #722ed1;background: #f9f0ff;border-color: #d3adf7;}
.ant-tag-purple-inverse {color: #fff;background: #722ed1;border-color: #722ed1;}
@@ -1548,7 +1548,7 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;}
.ant-transfer-list-header {color: @text-color;background: #fff;border-bottom: 1px solid #f0f0f0;border-radius: 2px 2px 0 0;}
.ant-transfer-list-content-item-remove {color: @link-color;color: @border-color-base;}
.ant-transfer-list-content-item-remove:focus, .ant-transfer-list-content-item-remove:hover {color: color(~`colorPalette("@{link-color}", 5)`);}
-.ant-transfer-list-content-item-remove:active {color: color(~`colorPalette("@{link-color}", 7)`);}
+.ant-transfer-list-content-item-remove:active {color: color(~`colorPalette("@{disabled-color}", 9)`);}
.ant-transfer-list-content-item-remove:hover {color: color(~`colorPalette("@{link-color}", 5)`);}
.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {background-color: #f5f5f5;}
.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover {background-color: darken(@item-active-bg, 2%);}
@@ -1649,14 +1649,14 @@ h5.ant-typography, .ant-typography h5 {color: @heading-color;}
a.ant-typography, .ant-typography a {color: @link-color;}
a.ant-typography:focus, .ant-typography a:focus,
a.ant-typography:hover, .ant-typography a:hover {color: color(~`colorPalette("@{link-color}", 5)`);}
-a.ant-typography:active, .ant-typography a:active {color: color(~`colorPalette("@{link-color}", 7)`);}
+a.ant-typography:active, .ant-typography a:active {color: color(~`colorPalette("@{disabled-color}", 9)`);}
a.ant-typography[disabled], .ant-typography a[disabled] {color: @disabled-color;}
.ant-typography code {background: rgba(150, 150, 150, 0.1);border: 1px solid rgba(100, 100, 100, 0.2);border-radius: 3px;}
.ant-typography kbd {background: rgba(150, 150, 150, 0.06);border: 1px solid rgba(100, 100, 100, 0.2);border-bottom-width: 2px;border-radius: 3px;}
.ant-typography mark {background-color: #ffe58f;}
.ant-typography-expand, .ant-typography-edit, .ant-typography-copy {color: @link-color;}
.ant-typography-expand:focus, .ant-typography-edit:focus, .ant-typography-copy:focus, .ant-typography-expand:hover, .ant-typography-edit:hover, .ant-typography-copy:hover {color: color(~`colorPalette("@{link-color}", 5)`);}
-.ant-typography-expand:active, .ant-typography-edit:active, .ant-typography-copy:active {color: color(~`colorPalette("@{link-color}", 7)`);}
+.ant-typography-expand:active, .ant-typography-edit:active, .ant-typography-copy:active {color: color(~`colorPalette("@{disabled-color}", 9)`);}
.ant-typography-copy-success, .ant-typography-copy-success:hover, .ant-typography-copy-success:focus {color: @success-color;}
.ant-typography-edit-content-confirm {color: @text-color-secondary;}
.ant-upload {color: @text-color;}
diff --git a/index.html b/index.html
index bcb16307a8..3af5c20cc1 100644
--- a/index.html
+++ b/index.html
@@ -78,7 +78,7 @@
}
-
+
diff --git a/monaco-editor.0aa64468.async.js b/monaco-editor.0aa64468.async.js
index 864b86b512..193e5b0c94 100644
--- a/monaco-editor.0aa64468.async.js
+++ b/monaco-editor.0aa64468.async.js
@@ -1,57 +1,57 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{"+3Gp":function(Lt,N,e){"use strict";e.d(N,"a",function(){return z}),e.d(N,"b",function(){return D});var T=e("MNsG"),le=e("Yr1X"),$=function(){var W=function(x,h){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,w){y.__proto__=w}||function(y,w){for(var f in w)w.hasOwnProperty(f)&&(y[f]=w[f])},W(x,h)};return function(x,h){W(x,h);function y(){this.constructor=x}x.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}(),R=T.e?1.5:1.35,B=8,z=function(){function W(x){this.zoomLevel=x.zoomLevel,this.fontFamily=String(x.fontFamily),this.fontWeight=String(x.fontWeight),this.fontSize=x.fontSize,this.fontFeatureSettings=x.fontFeatureSettings,this.lineHeight=x.lineHeight|0,this.letterSpacing=x.letterSpacing}return W.createFromValidatedSettings=function(x,h,y){var w=x.get(33),f=x.get(37),v=x.get(36),C=x.get(35),g=x.get(49),u=x.get(46);return W._create(w,f,v,C,g,u,h,y)},W._create=function(x,h,y,w,f,v,C,g){f===0?f=Math.round(R*y):fW.getLineMinColumn(x)?h=h-R.G(W.getLineContent(x),h-1):x>1&&(x=x-1,h=W.getLineMaxColumn(x)),new le.a(x,h)},D.left=function(W,x,h,y){var w=D.leftPosition(x,h,y);return new B(w.lineNumber,w.column,0)},D.moveLeft=function(W,x,h,y,w){var f,v;if(h.hasSelection()&&!y)f=h.selection.startLineNumber,v=h.selection.startColumn;else{var C=D.left(W,x,h.position.lineNumber,h.position.column-(w-1));f=C.lineNumber,v=C.column}return h.move(y,f,v,0)},D.rightPosition=function(W,x,h){return hg?(h=g,v?y=x.getLineMaxColumn(h):y=Math.min(x.getLineMaxColumn(h),y)):y=T.a.columnFromVisibleColumn2(W,x,h,C),w=C-T.a.visibleColumnFromColumn(x.getLineContent(h),y,W.tabSize),new B(h,y,w)},D.moveDown=function(W,x,h,y,w){var f,v;h.hasSelection()&&!y?(f=h.selection.endLineNumber,v=h.selection.endColumn):(f=h.position.lineNumber,v=h.position.column);var C=D.down(W,x,f,v,h.leftoverVisibleColumns,w,!0);return h.move(y,C.lineNumber,C.column,C.leftoverVisibleColumns)},D.translateDown=function(W,x,h){var y=h.selection,w=D.down(W,x,y.selectionStartLineNumber,y.selectionStartColumn,h.selectionStartLeftoverVisibleColumns,1,!1),f=D.down(W,x,y.positionLineNumber,y.positionColumn,h.leftoverVisibleColumns,1,!1);return new T.f(new $.a(w.lineNumber,w.column,w.lineNumber,w.column),w.leftoverVisibleColumns,new le.a(f.lineNumber,f.column),f.leftoverVisibleColumns)},D.up=function(W,x,h,y,w,f,v){var C=T.a.visibleColumnFromColumn(x.getLineContent(h),y,W.tabSize)+w;return h=h-f,h<1?(h=1,v?y=x.getLineMinColumn(h):y=Math.min(x.getLineMaxColumn(h),y)):y=T.a.columnFromVisibleColumn2(W,x,h,C),w=C-T.a.visibleColumnFromColumn(x.getLineContent(h),y,W.tabSize),new B(h,y,w)},D.moveUp=function(W,x,h,y,w){var f,v;h.hasSelection()&&!y?(f=h.selection.startLineNumber,v=h.selection.startColumn):(f=h.position.lineNumber,v=h.position.column);var C=D.up(W,x,f,v,h.leftoverVisibleColumns,w,!0);return h.move(y,C.lineNumber,C.column,C.leftoverVisibleColumns)},D.translateUp=function(W,x,h){var y=h.selection,w=D.up(W,x,y.selectionStartLineNumber,y.selectionStartColumn,h.selectionStartLeftoverVisibleColumns,1,!1),f=D.up(W,x,y.positionLineNumber,y.positionColumn,h.leftoverVisibleColumns,1,!1);return new T.f(new $.a(w.lineNumber,w.column,w.lineNumber,w.column),w.leftoverVisibleColumns,new le.a(f.lineNumber,f.column),f.leftoverVisibleColumns)},D.moveToBeginningOfLine=function(W,x,h,y){var w=h.position.lineNumber,f=x.getLineMinColumn(w),v=x.getLineFirstNonWhitespaceColumn(w)||f,C,g=h.position.column;return g===v?C=f:C=v,h.move(y,w,C,0)},D.moveToEndOfLine=function(W,x,h,y){var w=h.position.lineNumber,f=x.getLineMaxColumn(w);return h.move(y,w,f,0)},D.moveToBeginningOfBuffer=function(W,x,h,y){return h.move(y,1,1,0)},D.moveToEndOfBuffer=function(W,x,h,y){var w=x.getLineCount(),f=x.getLineMaxColumn(w);return h.move(y,w,f,0)},D}()},"+a1H":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return e.e(305).then(e.bind(null,"O3xE"))}})},"+hIS":function(Lt,N,e){"use strict";e.d(N,"a",function(){return z});var T=typeof monaco=="undefined"?self.monaco:monaco,le={},$={},R=function(){function D(W){var x=this;this._languageId=W,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(function(h,y){x._lazyLoadPromiseResolve=h,x._lazyLoadPromiseReject=y})}return D.getOrCreate=function(W){return $[W]||($[W]=new D(W)),$[W]},D.prototype.whenLoaded=function(){return this._lazyLoadPromise},D.prototype.load=function(){var W=this;return this._loadingTriggered||(this._loadingTriggered=!0,le[this._languageId].loader().then(function(x){return W._lazyLoadPromiseResolve(x)},function(x){return W._lazyLoadPromiseReject(x)})),this._lazyLoadPromise},D}();function B(D){return R.getOrCreate(D).load()}function z(D){var W=D.id;le[W]=D,T.languages.register(D);var x=R.getOrCreate(W);T.languages.setMonarchTokensProvider(W,x.whenLoaded().then(function(h){return h.language})),T.languages.onLanguage(W,function(){x.load().then(function(h){T.languages.setLanguageConfiguration(W,h.conf)})})}},"/RFl":function(Lt,N,e){"use strict";e.r(N),e.d(N,"DragAndDropController",function(){return w});var T=e("OhnE"),le=e("pmY6"),$=e("MNsG"),R=e("sswD"),B=e("cGHE"),z=e("aokT"),D=e("gCVg"),W=function(){function f(v,C,g){this.selection=v,this.targetPosition=C,this.copy=g,this.targetSelection=null}return f.prototype.getEditOperations=function(v,C){var g=v.getValueInRange(this.selection);if(this.copy||C.addEditOperation(this.selection,null),C.addEditOperation(new z.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),g),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new D.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new D.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberHe?He:Oe},fe.float=function(Oe,Me){if(typeof Oe=="number")return Oe;if(typeof Oe=="undefined")return Me;var He=parseFloat(Oe);return isNaN(He)?Me:He},fe.prototype.validate=function(Oe){return this.validationFn(fe.float(Oe,this.defaultValue))},fe}(y),C=function(ne){R(fe,ne);function fe(Oe,Me,He,Je){Je===void 0&&(Je=void 0);var nt=this;return typeof Je!="undefined"&&(Je.type="string",Je.default=He),nt=ne.call(this,Oe,Me,He,Je)||this,nt}return fe.string=function(Oe,Me){return typeof Oe!="string"?Me:Oe},fe.prototype.validate=function(Oe){return fe.string(Oe,this.defaultValue)},fe}(y),g=function(ne){R(fe,ne);function fe(Oe,Me,He,Je,nt){nt===void 0&&(nt=void 0);var vt=this;return typeof nt!="undefined"&&(nt.type="string",nt.enum=Je,nt.default=He),vt=ne.call(this,Oe,Me,He,nt)||this,vt._allowedValues=Je,vt}return fe.stringSet=function(Oe,Me,He){return typeof Oe!="string"||He.indexOf(Oe)===-1?Me:Oe},fe.prototype.validate=function(Oe){return fe.stringSet(Oe,this.defaultValue,this._allowedValues)},fe}(y),u=function(ne){R(fe,ne);function fe(Oe,Me,He,Je,nt,vt,Rt){Rt===void 0&&(Rt=void 0);var Dt=this;return typeof Rt!="undefined"&&(Rt.type="string",Rt.enum=nt,Rt.default=Je),Dt=ne.call(this,Oe,Me,He,Rt)||this,Dt._allowedValues=nt,Dt._convert=vt,Dt}return fe.prototype.validate=function(Oe){return typeof Oe!="string"?this.defaultValue:this._allowedValues.indexOf(Oe)===-1?this.defaultValue:this._convert(Oe)},fe}(x);function s(ne){switch(ne){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}var l=function(ne){R(fe,ne);function fe(){return ne.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[T.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),T.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),T.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:T.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return fe.prototype.validate=function(Oe){switch(Oe){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},fe.prototype.compute=function(Oe,Me,He){return He===0?Oe.accessibilitySupport:He},fe}(x),c=function(ne){R(fe,ne);function fe(){var Oe=this,Me={insertSpace:!0};return Oe=ne.call(this,13,"comments",Me,{"editor.comments.insertSpace":{type:"boolean",default:Me.insertSpace,description:T.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{insertSpace:w.boolean(Me.insertSpace,this.defaultValue.insertSpace)}},fe}(x);function p(ne){switch(ne){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var _;(function(ne){ne[ne.Line=1]="Line",ne[ne.Block=2]="Block",ne[ne.Underline=3]="Underline",ne[ne.LineThin=4]="LineThin",ne[ne.BlockOutline=5]="BlockOutline",ne[ne.UnderlineThin=6]="UnderlineThin"})(_||(_={}));function L(ne){switch(ne){case"line":return _.Line;case"block":return _.Block;case"underline":return _.Underline;case"line-thin":return _.LineThin;case"block-outline":return _.BlockOutline;case"underline-thin":return _.UnderlineThin}}var I=function(ne){R(fe,ne);function fe(){return ne.call(this,104,[55,26])||this}return fe.prototype.compute=function(Oe,Me,He){var Je="monaco-editor";return Me.get(26)&&(Je+=" "+Me.get(26)),Oe.extraEditorClassName&&(Je+=" "+Oe.extraEditorClassName),Me.get(55)==="default"?Je+=" mouse-default":Me.get(55)==="copy"&&(Je+=" mouse-copy"),Me.get(85)&&(Je+=" showUnused"),Je},fe}(h),P=function(ne){R(fe,ne);function fe(){return ne.call(this,25,"emptySelectionClipboard",!0,{description:T.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return fe.prototype.compute=function(Oe,Me,He){return He&&Oe.emptySelectionClipboard},fe}(w),A=function(ne){R(fe,ne);function fe(){var Oe=this,Me={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return Oe=ne.call(this,28,"find",Me,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:Me.seedSearchStringFromSelection,description:T.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:Me.autoFindInSelection,enumDescriptions:[T.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),T.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),T.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:T.a("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:Me.globalFindClipboard,description:T.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:le.e},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:Me.addExtraSpaceOnTop,description:T.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{seedSearchStringFromSelection:w.boolean(Me.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:typeof Oe.autoFindInSelection=="boolean"?Oe.autoFindInSelection?"always":"never":g.stringSet(Me.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:w.boolean(Me.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:w.boolean(Me.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},fe}(x),Q=function(ne){R(fe,ne);function fe(){return ne.call(this,35,"fontLigatures",fe.OFF,{anyOf:[{type:"boolean",description:T.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:T.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:T.a("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return fe.prototype.validate=function(Oe){return typeof Oe=="undefined"?this.defaultValue:typeof Oe=="string"?Oe==="false"?fe.OFF:Oe==="true"?fe.ON:Oe:Boolean(Oe)?fe.ON:fe.OFF},fe.OFF='"liga" off, "calt" off',fe.ON='"liga" on, "calt" on',fe}(x),K=function(ne){R(fe,ne);function fe(){return ne.call(this,34)||this}return fe.prototype.compute=function(Oe,Me,He){return Oe.fontInfo},fe}(h),U=function(ne){R(fe,ne);function fe(){return ne.call(this,36,"fontSize",he.fontSize,{type:"number",minimum:6,maximum:100,default:he.fontSize,description:T.a("fontSize","Controls the font size in pixels.")})||this}return fe.prototype.validate=function(Oe){var Me=v.float(Oe,this.defaultValue);return Me===0?he.fontSize:v.clamp(Me,6,100)},fe.prototype.compute=function(Oe,Me,He){return Oe.fontInfo.fontSize},fe}(y),V=function(ne){R(fe,ne);function fe(){var Oe=this,Me={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},He={type:"string",enum:["peek","gotoAndPeek","goto"],default:Me.multiple,enumDescriptions:[T.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),T.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),T.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return Oe=ne.call(this,41,"gotoLocation",Me,{"editor.gotoLocation.multiple":{deprecationMessage:T.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":B({description:T.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},He),"editor.gotoLocation.multipleTypeDefinitions":B({description:T.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},He),"editor.gotoLocation.multipleDeclarations":B({description:T.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},He),"editor.gotoLocation.multipleImplementations":B({description:T.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},He),"editor.gotoLocation.multipleReferences":B({description:T.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},He),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:Me.alternativeDefinitionCommand,description:T.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:Me.alternativeTypeDefinitionCommand,description:T.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:Me.alternativeDeclarationCommand,description:T.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:Me.alternativeImplementationCommand,description:T.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:Me.alternativeReferenceCommand,description:T.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this,Oe}return fe.prototype.validate=function(Oe){var Me,He,Je,nt,vt;if(typeof Oe!="object")return this.defaultValue;var Rt=Oe;return{multiple:g.stringSet(Rt.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(Me=Rt.multipleDefinitions)!==null&&Me!==void 0?Me:g.stringSet(Rt.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(He=Rt.multipleTypeDefinitions)!==null&&He!==void 0?He:g.stringSet(Rt.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(Je=Rt.multipleDeclarations)!==null&&Je!==void 0?Je:g.stringSet(Rt.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(nt=Rt.multipleImplementations)!==null&&nt!==void 0?nt:g.stringSet(Rt.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(vt=Rt.multipleReferences)!==null&&vt!==void 0?vt:g.stringSet(Rt.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:C.string(Rt.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:C.string(Rt.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:C.string(Rt.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:C.string(Rt.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:C.string(Rt.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},fe}(x),de=function(ne){R(fe,ne);function fe(){var Oe=this,Me={enabled:!0,delay:300,sticky:!0};return Oe=ne.call(this,44,"hover",Me,{"editor.hover.enabled":{type:"boolean",default:Me.enabled,description:T.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:Me.delay,description:T.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:Me.sticky,description:T.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{enabled:w.boolean(Me.enabled,this.defaultValue.enabled),delay:f.clampedInt(Me.delay,this.defaultValue.delay,0,1e4),sticky:w.boolean(Me.sticky,this.defaultValue.sticky)}},fe}(x),_e=function(ne){R(fe,ne);function fe(){return ne.call(this,107,[40,48,30,54,78,50])||this}return fe.prototype.compute=function(Oe,Me,He){return fe.computeLayout(Me,{outerWidth:Oe.outerWidth,outerHeight:Oe.outerHeight,lineHeight:Oe.fontInfo.lineHeight,lineNumbersDigitCount:Oe.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:Oe.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:Oe.fontInfo.maxDigitWidth,pixelRatio:Oe.pixelRatio})},fe.computeLayout=function(Oe,Me){var He=Me.outerWidth|0,Je=Me.outerHeight|0,nt=Me.lineHeight|0,vt=Me.lineNumbersDigitCount|0,Rt=Me.typicalHalfwidthCharacterWidth,Dt=Me.maxDigitWidth,Kt=Me.pixelRatio,ao=Oe.get(40),lo=Oe.get(50).renderType!==0,so=Oe.get(51)|0,jt=Oe.get(54),pt=jt.enabled,gt=jt.side,Tt=jt.renderCharacters,it=Kt>=2?Math.round(jt.scale*2):jt.scale,et=jt.maxColumn|0,ut=Oe.get(78),Ct=ut.verticalScrollbarSize|0,ht=ut.verticalHasArrows,Et=ut.arrowSize|0,Yt=ut.horizontalScrollbarSize|0,Nt=Oe.get(48),bt=Oe.get(30),$e;if(typeof Nt=="string"&&/^\d+(\.\d+)?ch$/.test(Nt)){var Ye=parseFloat(Nt.substr(0,Nt.length-2));$e=f.clampedInt(Ye*Rt,0,0,1e3)}else $e=f.clampedInt(Nt,0,0,1e3);bt&&($e+=16);var ze=0;if(lo){var Ke=Math.max(vt,so);ze=Math.round(Ke*Dt)}var ge=0;ao&&(ge=nt);var G=0,oe=G+ge,Y=oe+ze,ae=Y+$e,Fe=He-ge-ze-$e,dt,Ot,Qt,to;if(!pt)Ot=0,Qt=0,dt=0,to=Fe;else{var fo=it/Kt;dt=Tt?1:2,Qt=Math.max(0,Math.floor((Fe-Ct-2)*fo/(Rt+fo)))+z;var ho=Qt/fo;ho>et&&(Qt=Math.floor(et*fo)),to=Fe-Qt,gt==="left"?(Ot=0,G+=Qt,oe+=Qt,Y+=Qt,ae+=Qt):Ot=He-Qt-Ct}var _o=Math.max(1,Math.floor((to-Ct-2)/Rt)),Do=ht?Et:0;return{width:He,height:Je,glyphMarginLeft:G,glyphMarginWidth:ge,lineNumbersLeft:oe,lineNumbersWidth:ze,decorationsLeft:Y,decorationsWidth:$e,contentLeft:ae,contentWidth:to,renderMinimap:dt,minimapLeft:Ot,minimapWidth:Qt,viewportColumn:_o,verticalScrollbarWidth:Ct,horizontalScrollbarHeight:Yt,overviewRuler:{top:Do,width:Ct,height:Je-2*Do,right:0}}},fe}(h),Se=function(ne){R(fe,ne);function fe(){var Oe=this,Me={enabled:!0};return Oe=ne.call(this,47,"lightbulb",Me,{"editor.lightbulb.enabled":{type:"boolean",default:Me.enabled,description:T.a("codeActions","Enables the code action lightbulb in the editor.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{enabled:w.boolean(Me.enabled,this.defaultValue.enabled)}},fe}(x),Ie=function(ne){R(fe,ne);function fe(){return ne.call(this,49,"lineHeight",he.lineHeight,0,150,{description:T.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return fe.prototype.compute=function(Oe,Me,He){return Oe.fontInfo.lineHeight},fe}(f),Pe=function(ne){R(fe,ne);function fe(){var Oe=this,Me={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return Oe=ne.call(this,54,"minimap",Me,{"editor.minimap.enabled":{type:"boolean",default:Me.enabled,description:T.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:Me.side,description:T.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:Me.showSlider,description:T.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:Me.scale,minimum:1,maximum:3,description:T.a("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:Me.renderCharacters,description:T.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:Me.maxColumn,description:T.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{enabled:w.boolean(Me.enabled,this.defaultValue.enabled),side:g.stringSet(Me.side,this.defaultValue.side,["right","left"]),showSlider:g.stringSet(Me.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:w.boolean(Me.renderCharacters,this.defaultValue.renderCharacters),scale:f.clampedInt(Me.scale,1,1,3),maxColumn:f.clampedInt(Me.maxColumn,this.defaultValue.maxColumn,1,1e4)}},fe}(x);function Ve(ne){return ne==="ctrlCmd"?le.e?"metaKey":"ctrlKey":"altKey"}var ke=function(ne){R(fe,ne);function fe(){var Oe=this,Me={enabled:!0,cycle:!1};return Oe=ne.call(this,64,"parameterHints",Me,{"editor.parameterHints.enabled":{type:"boolean",default:Me.enabled,description:T.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:Me.cycle,description:T.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{enabled:w.boolean(Me.enabled,this.defaultValue.enabled),cycle:w.boolean(Me.cycle,this.defaultValue.cycle)}},fe}(x),se=function(ne){R(fe,ne);function fe(){return ne.call(this,105)||this}return fe.prototype.compute=function(Oe,Me,He){return Oe.pixelRatio},fe}(h),ee=function(ne){R(fe,ne);function fe(){var Oe=this,Me={other:!0,comments:!1,strings:!1};return Oe=ne.call(this,66,"quickSuggestions",Me,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:Me.strings,description:T.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:Me.comments,description:T.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:Me.other,description:T.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:Me,description:T.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this,Oe.defaultValue=Me,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe=="boolean")return Oe;if(typeof Oe=="object"){var Me=Oe,He={other:w.boolean(Me.other,this.defaultValue.other),comments:w.boolean(Me.comments,this.defaultValue.comments),strings:w.boolean(Me.strings,this.defaultValue.strings)};return He.other&&He.comments&&He.strings?!0:!He.other&&!He.comments&&!He.strings?!1:He}return this.defaultValue},fe}(x),ie=function(ne){R(fe,ne);function fe(){return ne.call(this,50,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[T.a("lineNumbers.off","Line numbers are not rendered."),T.a("lineNumbers.on","Line numbers are rendered as absolute number."),T.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),T.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:T.a("lineNumbers","Controls the display of line numbers.")})||this}return fe.prototype.validate=function(Oe){var Me=this.defaultValue.renderType,He=this.defaultValue.renderFn;return typeof Oe!="undefined"&&(typeof Oe=="function"?(Me=4,He=Oe):Oe==="interval"?Me=3:Oe==="relative"?Me=2:Oe==="on"?Me=1:Me=0),{renderType:Me,renderFn:He}},fe}(x);function q(ne){var fe=ne.get(73);return fe==="editable"?ne.get(68):!(fe==="on")}var ce=function(ne){R(fe,ne);function fe(){var Oe=this,Me=[];return Oe=ne.call(this,77,"rulers",Me,{type:"array",items:{type:"number"},default:Me,description:T.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this,Oe}return fe.prototype.validate=function(Oe){if(Array.isArray(Oe)){for(var Me=[],He=0,Je=Oe;He console.log` because `log` has been completed recently."),T.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:T.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:F(new g(94,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[T.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),T.a("tabCompletion.off","Disable tab completions."),T.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:T.a("tabCompletion","Enables tab completions.")})),useTabStops:F(new w(95,"useTabStops",!0,{description:T.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:F(new C(96,"wordSeparators",$.b,{description:T.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:F(new g(97,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[T.a("wordWrap.off","Lines will never wrap."),T.a("wordWrap.on","Lines will wrap at the viewport width."),T.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),T.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:T.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:F(new C(98,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:F(new C(99,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:F(new f(100,"wordWrapColumn",80,1,1073741824,{markdownDescription:T.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:F(new w(101,"wordWrapMinified",!0)),wrappingIndent:F(new u(102,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],ue,{enumDescriptions:[T.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),T.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),T.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),T.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:T.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:F(new g(103,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[T.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),T.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:T.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:F(new I),pixelRatio:F(new se),tabFocusMode:F(new Ge),layoutInfo:F(new _e),wrappingInfo:F(new ve)}},"/cAr":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return e.e(314).then(e.bind(null,"8m5U"))}})},"/cxE":function(Lt,N,e){"use strict";e.d(N,"e",function(){return $}),e.d(N,"f",function(){return R}),e.d(N,"g",function(){return B}),e.d(N,"d",function(){return D}),e.d(N,"a",function(){return W}),e.d(N,"b",function(){return x}),e.d(N,"c",function(){return h});var T=function(){function y(){this.listeners=[],this.unexpectedErrorHandler=function(w){setTimeout(function(){throw w.stack?new Error(w.message+`
+(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{"+3Gp":function(Lt,N,e){"use strict";e.d(N,"a",function(){return z}),e.d(N,"b",function(){return D});var T=e("MNsG"),le=e("Yr1X"),$=function(){var W=function(x,h){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,w){y.__proto__=w}||function(y,w){for(var f in w)w.hasOwnProperty(f)&&(y[f]=w[f])},W(x,h)};return function(x,h){W(x,h);function y(){this.constructor=x}x.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}(),R=T.e?1.5:1.35,B=8,z=function(){function W(x){this.zoomLevel=x.zoomLevel,this.fontFamily=String(x.fontFamily),this.fontWeight=String(x.fontWeight),this.fontSize=x.fontSize,this.fontFeatureSettings=x.fontFeatureSettings,this.lineHeight=x.lineHeight|0,this.letterSpacing=x.letterSpacing}return W.createFromValidatedSettings=function(x,h,y){var w=x.get(33),f=x.get(37),v=x.get(36),C=x.get(35),g=x.get(49),u=x.get(46);return W._create(w,f,v,C,g,u,h,y)},W._create=function(x,h,y,w,f,v,C,g){f===0?f=Math.round(R*y):fW.getLineMinColumn(x)?h=h-R.G(W.getLineContent(x),h-1):x>1&&(x=x-1,h=W.getLineMaxColumn(x)),new le.a(x,h)},D.left=function(W,x,h,y){var w=D.leftPosition(x,h,y);return new B(w.lineNumber,w.column,0)},D.moveLeft=function(W,x,h,y,w){var f,v;if(h.hasSelection()&&!y)f=h.selection.startLineNumber,v=h.selection.startColumn;else{var C=D.left(W,x,h.position.lineNumber,h.position.column-(w-1));f=C.lineNumber,v=C.column}return h.move(y,f,v,0)},D.rightPosition=function(W,x,h){return hg?(h=g,v?y=x.getLineMaxColumn(h):y=Math.min(x.getLineMaxColumn(h),y)):y=T.a.columnFromVisibleColumn2(W,x,h,C),w=C-T.a.visibleColumnFromColumn(x.getLineContent(h),y,W.tabSize),new B(h,y,w)},D.moveDown=function(W,x,h,y,w){var f,v;h.hasSelection()&&!y?(f=h.selection.endLineNumber,v=h.selection.endColumn):(f=h.position.lineNumber,v=h.position.column);var C=D.down(W,x,f,v,h.leftoverVisibleColumns,w,!0);return h.move(y,C.lineNumber,C.column,C.leftoverVisibleColumns)},D.translateDown=function(W,x,h){var y=h.selection,w=D.down(W,x,y.selectionStartLineNumber,y.selectionStartColumn,h.selectionStartLeftoverVisibleColumns,1,!1),f=D.down(W,x,y.positionLineNumber,y.positionColumn,h.leftoverVisibleColumns,1,!1);return new T.f(new $.a(w.lineNumber,w.column,w.lineNumber,w.column),w.leftoverVisibleColumns,new le.a(f.lineNumber,f.column),f.leftoverVisibleColumns)},D.up=function(W,x,h,y,w,f,v){var C=T.a.visibleColumnFromColumn(x.getLineContent(h),y,W.tabSize)+w;return h=h-f,h<1?(h=1,v?y=x.getLineMinColumn(h):y=Math.min(x.getLineMaxColumn(h),y)):y=T.a.columnFromVisibleColumn2(W,x,h,C),w=C-T.a.visibleColumnFromColumn(x.getLineContent(h),y,W.tabSize),new B(h,y,w)},D.moveUp=function(W,x,h,y,w){var f,v;h.hasSelection()&&!y?(f=h.selection.startLineNumber,v=h.selection.startColumn):(f=h.position.lineNumber,v=h.position.column);var C=D.up(W,x,f,v,h.leftoverVisibleColumns,w,!0);return h.move(y,C.lineNumber,C.column,C.leftoverVisibleColumns)},D.translateUp=function(W,x,h){var y=h.selection,w=D.up(W,x,y.selectionStartLineNumber,y.selectionStartColumn,h.selectionStartLeftoverVisibleColumns,1,!1),f=D.up(W,x,y.positionLineNumber,y.positionColumn,h.leftoverVisibleColumns,1,!1);return new T.f(new $.a(w.lineNumber,w.column,w.lineNumber,w.column),w.leftoverVisibleColumns,new le.a(f.lineNumber,f.column),f.leftoverVisibleColumns)},D.moveToBeginningOfLine=function(W,x,h,y){var w=h.position.lineNumber,f=x.getLineMinColumn(w),v=x.getLineFirstNonWhitespaceColumn(w)||f,C,g=h.position.column;return g===v?C=f:C=v,h.move(y,w,C,0)},D.moveToEndOfLine=function(W,x,h,y){var w=h.position.lineNumber,f=x.getLineMaxColumn(w);return h.move(y,w,f,0)},D.moveToBeginningOfBuffer=function(W,x,h,y){return h.move(y,1,1,0)},D.moveToEndOfBuffer=function(W,x,h,y){var w=x.getLineCount(),f=x.getLineMaxColumn(w);return h.move(y,w,f,0)},D}()},"+a1H":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return e.e(305).then(e.bind(null,"O3xE"))}})},"+hIS":function(Lt,N,e){"use strict";e.d(N,"a",function(){return z});var T=typeof monaco=="undefined"?self.monaco:monaco,le={},$={},R=function(){function D(W){var x=this;this._languageId=W,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(function(h,y){x._lazyLoadPromiseResolve=h,x._lazyLoadPromiseReject=y})}return D.getOrCreate=function(W){return $[W]||($[W]=new D(W)),$[W]},D.prototype.whenLoaded=function(){return this._lazyLoadPromise},D.prototype.load=function(){var W=this;return this._loadingTriggered||(this._loadingTriggered=!0,le[this._languageId].loader().then(function(x){return W._lazyLoadPromiseResolve(x)},function(x){return W._lazyLoadPromiseReject(x)})),this._lazyLoadPromise},D}();function B(D){return R.getOrCreate(D).load()}function z(D){var W=D.id;le[W]=D,T.languages.register(D);var x=R.getOrCreate(W);T.languages.setMonarchTokensProvider(W,x.whenLoaded().then(function(h){return h.language})),T.languages.onLanguage(W,function(){x.load().then(function(h){T.languages.setLanguageConfiguration(W,h.conf)})})}},"/RFl":function(Lt,N,e){"use strict";e.r(N),e.d(N,"DragAndDropController",function(){return w});var T=e("OhnE"),le=e("pmY6"),$=e("MNsG"),R=e("sswD"),B=e("cGHE"),z=e("aokT"),D=e("gCVg"),W=function(){function f(v,C,g){this.selection=v,this.targetPosition=C,this.copy=g,this.targetSelection=null}return f.prototype.getEditOperations=function(v,C){var g=v.getValueInRange(this.selection);if(this.copy||C.addEditOperation(this.selection,null),C.addEditOperation(new z.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),g),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new D.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new D.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberUe?Ue:Oe},fe.float=function(Oe,Me){if(typeof Oe=="number")return Oe;if(typeof Oe=="undefined")return Me;var Ue=parseFloat(Oe);return isNaN(Ue)?Me:Ue},fe.prototype.validate=function(Oe){return this.validationFn(fe.float(Oe,this.defaultValue))},fe}(y),C=function(ne){R(fe,ne);function fe(Oe,Me,Ue,Je){Je===void 0&&(Je=void 0);var nt=this;return typeof Je!="undefined"&&(Je.type="string",Je.default=Ue),nt=ne.call(this,Oe,Me,Ue,Je)||this,nt}return fe.string=function(Oe,Me){return typeof Oe!="string"?Me:Oe},fe.prototype.validate=function(Oe){return fe.string(Oe,this.defaultValue)},fe}(y),g=function(ne){R(fe,ne);function fe(Oe,Me,Ue,Je,nt){nt===void 0&&(nt=void 0);var vt=this;return typeof nt!="undefined"&&(nt.type="string",nt.enum=Je,nt.default=Ue),vt=ne.call(this,Oe,Me,Ue,nt)||this,vt._allowedValues=Je,vt}return fe.stringSet=function(Oe,Me,Ue){return typeof Oe!="string"||Ue.indexOf(Oe)===-1?Me:Oe},fe.prototype.validate=function(Oe){return fe.stringSet(Oe,this.defaultValue,this._allowedValues)},fe}(y),u=function(ne){R(fe,ne);function fe(Oe,Me,Ue,Je,nt,vt,Rt){Rt===void 0&&(Rt=void 0);var Dt=this;return typeof Rt!="undefined"&&(Rt.type="string",Rt.enum=nt,Rt.default=Je),Dt=ne.call(this,Oe,Me,Ue,Rt)||this,Dt._allowedValues=nt,Dt._convert=vt,Dt}return fe.prototype.validate=function(Oe){return typeof Oe!="string"?this.defaultValue:this._allowedValues.indexOf(Oe)===-1?this.defaultValue:this._convert(Oe)},fe}(x);function s(ne){switch(ne){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}var l=function(ne){R(fe,ne);function fe(){return ne.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[T.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),T.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),T.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:T.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return fe.prototype.validate=function(Oe){switch(Oe){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},fe.prototype.compute=function(Oe,Me,Ue){return Ue===0?Oe.accessibilitySupport:Ue},fe}(x),c=function(ne){R(fe,ne);function fe(){var Oe=this,Me={insertSpace:!0};return Oe=ne.call(this,13,"comments",Me,{"editor.comments.insertSpace":{type:"boolean",default:Me.insertSpace,description:T.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{insertSpace:w.boolean(Me.insertSpace,this.defaultValue.insertSpace)}},fe}(x);function p(ne){switch(ne){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var _;(function(ne){ne[ne.Line=1]="Line",ne[ne.Block=2]="Block",ne[ne.Underline=3]="Underline",ne[ne.LineThin=4]="LineThin",ne[ne.BlockOutline=5]="BlockOutline",ne[ne.UnderlineThin=6]="UnderlineThin"})(_||(_={}));function L(ne){switch(ne){case"line":return _.Line;case"block":return _.Block;case"underline":return _.Underline;case"line-thin":return _.LineThin;case"block-outline":return _.BlockOutline;case"underline-thin":return _.UnderlineThin}}var I=function(ne){R(fe,ne);function fe(){return ne.call(this,104,[55,26])||this}return fe.prototype.compute=function(Oe,Me,Ue){var Je="monaco-editor";return Me.get(26)&&(Je+=" "+Me.get(26)),Oe.extraEditorClassName&&(Je+=" "+Oe.extraEditorClassName),Me.get(55)==="default"?Je+=" mouse-default":Me.get(55)==="copy"&&(Je+=" mouse-copy"),Me.get(85)&&(Je+=" showUnused"),Je},fe}(h),P=function(ne){R(fe,ne);function fe(){return ne.call(this,25,"emptySelectionClipboard",!0,{description:T.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return fe.prototype.compute=function(Oe,Me,Ue){return Ue&&Oe.emptySelectionClipboard},fe}(w),A=function(ne){R(fe,ne);function fe(){var Oe=this,Me={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return Oe=ne.call(this,28,"find",Me,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:Me.seedSearchStringFromSelection,description:T.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:Me.autoFindInSelection,enumDescriptions:[T.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),T.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),T.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:T.a("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:Me.globalFindClipboard,description:T.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:le.e},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:Me.addExtraSpaceOnTop,description:T.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{seedSearchStringFromSelection:w.boolean(Me.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:typeof Oe.autoFindInSelection=="boolean"?Oe.autoFindInSelection?"always":"never":g.stringSet(Me.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:w.boolean(Me.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:w.boolean(Me.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},fe}(x),Q=function(ne){R(fe,ne);function fe(){return ne.call(this,35,"fontLigatures",fe.OFF,{anyOf:[{type:"boolean",description:T.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:T.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:T.a("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return fe.prototype.validate=function(Oe){return typeof Oe=="undefined"?this.defaultValue:typeof Oe=="string"?Oe==="false"?fe.OFF:Oe==="true"?fe.ON:Oe:Boolean(Oe)?fe.ON:fe.OFF},fe.OFF='"liga" off, "calt" off',fe.ON='"liga" on, "calt" on',fe}(x),K=function(ne){R(fe,ne);function fe(){return ne.call(this,34)||this}return fe.prototype.compute=function(Oe,Me,Ue){return Oe.fontInfo},fe}(h),H=function(ne){R(fe,ne);function fe(){return ne.call(this,36,"fontSize",he.fontSize,{type:"number",minimum:6,maximum:100,default:he.fontSize,description:T.a("fontSize","Controls the font size in pixels.")})||this}return fe.prototype.validate=function(Oe){var Me=v.float(Oe,this.defaultValue);return Me===0?he.fontSize:v.clamp(Me,6,100)},fe.prototype.compute=function(Oe,Me,Ue){return Oe.fontInfo.fontSize},fe}(y),V=function(ne){R(fe,ne);function fe(){var Oe=this,Me={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},Ue={type:"string",enum:["peek","gotoAndPeek","goto"],default:Me.multiple,enumDescriptions:[T.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),T.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),T.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return Oe=ne.call(this,41,"gotoLocation",Me,{"editor.gotoLocation.multiple":{deprecationMessage:T.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":B({description:T.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},Ue),"editor.gotoLocation.multipleTypeDefinitions":B({description:T.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},Ue),"editor.gotoLocation.multipleDeclarations":B({description:T.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},Ue),"editor.gotoLocation.multipleImplementations":B({description:T.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},Ue),"editor.gotoLocation.multipleReferences":B({description:T.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},Ue),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:Me.alternativeDefinitionCommand,description:T.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:Me.alternativeTypeDefinitionCommand,description:T.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:Me.alternativeDeclarationCommand,description:T.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:Me.alternativeImplementationCommand,description:T.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:Me.alternativeReferenceCommand,description:T.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this,Oe}return fe.prototype.validate=function(Oe){var Me,Ue,Je,nt,vt;if(typeof Oe!="object")return this.defaultValue;var Rt=Oe;return{multiple:g.stringSet(Rt.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(Me=Rt.multipleDefinitions)!==null&&Me!==void 0?Me:g.stringSet(Rt.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(Ue=Rt.multipleTypeDefinitions)!==null&&Ue!==void 0?Ue:g.stringSet(Rt.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(Je=Rt.multipleDeclarations)!==null&&Je!==void 0?Je:g.stringSet(Rt.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(nt=Rt.multipleImplementations)!==null&&nt!==void 0?nt:g.stringSet(Rt.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(vt=Rt.multipleReferences)!==null&&vt!==void 0?vt:g.stringSet(Rt.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:C.string(Rt.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:C.string(Rt.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:C.string(Rt.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:C.string(Rt.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:C.string(Rt.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},fe}(x),de=function(ne){R(fe,ne);function fe(){var Oe=this,Me={enabled:!0,delay:300,sticky:!0};return Oe=ne.call(this,44,"hover",Me,{"editor.hover.enabled":{type:"boolean",default:Me.enabled,description:T.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:Me.delay,description:T.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:Me.sticky,description:T.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{enabled:w.boolean(Me.enabled,this.defaultValue.enabled),delay:f.clampedInt(Me.delay,this.defaultValue.delay,0,1e4),sticky:w.boolean(Me.sticky,this.defaultValue.sticky)}},fe}(x),_e=function(ne){R(fe,ne);function fe(){return ne.call(this,107,[40,48,30,54,78,50])||this}return fe.prototype.compute=function(Oe,Me,Ue){return fe.computeLayout(Me,{outerWidth:Oe.outerWidth,outerHeight:Oe.outerHeight,lineHeight:Oe.fontInfo.lineHeight,lineNumbersDigitCount:Oe.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:Oe.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:Oe.fontInfo.maxDigitWidth,pixelRatio:Oe.pixelRatio})},fe.computeLayout=function(Oe,Me){var Ue=Me.outerWidth|0,Je=Me.outerHeight|0,nt=Me.lineHeight|0,vt=Me.lineNumbersDigitCount|0,Rt=Me.typicalHalfwidthCharacterWidth,Dt=Me.maxDigitWidth,Kt=Me.pixelRatio,ao=Oe.get(40),lo=Oe.get(50).renderType!==0,so=Oe.get(51)|0,jt=Oe.get(54),pt=jt.enabled,gt=jt.side,Tt=jt.renderCharacters,it=Kt>=2?Math.round(jt.scale*2):jt.scale,et=jt.maxColumn|0,ut=Oe.get(78),Ct=ut.verticalScrollbarSize|0,ht=ut.verticalHasArrows,Et=ut.arrowSize|0,Yt=ut.horizontalScrollbarSize|0,Nt=Oe.get(48),bt=Oe.get(30),$e;if(typeof Nt=="string"&&/^\d+(\.\d+)?ch$/.test(Nt)){var Ye=parseFloat(Nt.substr(0,Nt.length-2));$e=f.clampedInt(Ye*Rt,0,0,1e3)}else $e=f.clampedInt(Nt,0,0,1e3);bt&&($e+=16);var ze=0;if(lo){var Ke=Math.max(vt,so);ze=Math.round(Ke*Dt)}var ge=0;ao&&(ge=nt);var G=0,oe=G+ge,Y=oe+ze,ae=Y+$e,Fe=Ue-ge-ze-$e,dt,Ot,Qt,to;if(!pt)Ot=0,Qt=0,dt=0,to=Fe;else{var fo=it/Kt;dt=Tt?1:2,Qt=Math.max(0,Math.floor((Fe-Ct-2)*fo/(Rt+fo)))+z;var ho=Qt/fo;ho>et&&(Qt=Math.floor(et*fo)),to=Fe-Qt,gt==="left"?(Ot=0,G+=Qt,oe+=Qt,Y+=Qt,ae+=Qt):Ot=Ue-Qt-Ct}var _o=Math.max(1,Math.floor((to-Ct-2)/Rt)),Do=ht?Et:0;return{width:Ue,height:Je,glyphMarginLeft:G,glyphMarginWidth:ge,lineNumbersLeft:oe,lineNumbersWidth:ze,decorationsLeft:Y,decorationsWidth:$e,contentLeft:ae,contentWidth:to,renderMinimap:dt,minimapLeft:Ot,minimapWidth:Qt,viewportColumn:_o,verticalScrollbarWidth:Ct,horizontalScrollbarHeight:Yt,overviewRuler:{top:Do,width:Ct,height:Je-2*Do,right:0}}},fe}(h),Se=function(ne){R(fe,ne);function fe(){var Oe=this,Me={enabled:!0};return Oe=ne.call(this,47,"lightbulb",Me,{"editor.lightbulb.enabled":{type:"boolean",default:Me.enabled,description:T.a("codeActions","Enables the code action lightbulb in the editor.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{enabled:w.boolean(Me.enabled,this.defaultValue.enabled)}},fe}(x),Ie=function(ne){R(fe,ne);function fe(){return ne.call(this,49,"lineHeight",he.lineHeight,0,150,{description:T.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return fe.prototype.compute=function(Oe,Me,Ue){return Oe.fontInfo.lineHeight},fe}(f),Pe=function(ne){R(fe,ne);function fe(){var Oe=this,Me={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return Oe=ne.call(this,54,"minimap",Me,{"editor.minimap.enabled":{type:"boolean",default:Me.enabled,description:T.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:Me.side,description:T.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:Me.showSlider,description:T.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:Me.scale,minimum:1,maximum:3,description:T.a("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:Me.renderCharacters,description:T.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:Me.maxColumn,description:T.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{enabled:w.boolean(Me.enabled,this.defaultValue.enabled),side:g.stringSet(Me.side,this.defaultValue.side,["right","left"]),showSlider:g.stringSet(Me.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:w.boolean(Me.renderCharacters,this.defaultValue.renderCharacters),scale:f.clampedInt(Me.scale,1,1,3),maxColumn:f.clampedInt(Me.maxColumn,this.defaultValue.maxColumn,1,1e4)}},fe}(x);function Ve(ne){return ne==="ctrlCmd"?le.e?"metaKey":"ctrlKey":"altKey"}var ke=function(ne){R(fe,ne);function fe(){var Oe=this,Me={enabled:!0,cycle:!1};return Oe=ne.call(this,64,"parameterHints",Me,{"editor.parameterHints.enabled":{type:"boolean",default:Me.enabled,description:T.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:Me.cycle,description:T.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe!="object")return this.defaultValue;var Me=Oe;return{enabled:w.boolean(Me.enabled,this.defaultValue.enabled),cycle:w.boolean(Me.cycle,this.defaultValue.cycle)}},fe}(x),se=function(ne){R(fe,ne);function fe(){return ne.call(this,105)||this}return fe.prototype.compute=function(Oe,Me,Ue){return Oe.pixelRatio},fe}(h),ee=function(ne){R(fe,ne);function fe(){var Oe=this,Me={other:!0,comments:!1,strings:!1};return Oe=ne.call(this,66,"quickSuggestions",Me,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:Me.strings,description:T.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:Me.comments,description:T.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:Me.other,description:T.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:Me,description:T.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this,Oe.defaultValue=Me,Oe}return fe.prototype.validate=function(Oe){if(typeof Oe=="boolean")return Oe;if(typeof Oe=="object"){var Me=Oe,Ue={other:w.boolean(Me.other,this.defaultValue.other),comments:w.boolean(Me.comments,this.defaultValue.comments),strings:w.boolean(Me.strings,this.defaultValue.strings)};return Ue.other&&Ue.comments&&Ue.strings?!0:!Ue.other&&!Ue.comments&&!Ue.strings?!1:Ue}return this.defaultValue},fe}(x),ie=function(ne){R(fe,ne);function fe(){return ne.call(this,50,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[T.a("lineNumbers.off","Line numbers are not rendered."),T.a("lineNumbers.on","Line numbers are rendered as absolute number."),T.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),T.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:T.a("lineNumbers","Controls the display of line numbers.")})||this}return fe.prototype.validate=function(Oe){var Me=this.defaultValue.renderType,Ue=this.defaultValue.renderFn;return typeof Oe!="undefined"&&(typeof Oe=="function"?(Me=4,Ue=Oe):Oe==="interval"?Me=3:Oe==="relative"?Me=2:Oe==="on"?Me=1:Me=0),{renderType:Me,renderFn:Ue}},fe}(x);function q(ne){var fe=ne.get(73);return fe==="editable"?ne.get(68):!(fe==="on")}var ce=function(ne){R(fe,ne);function fe(){var Oe=this,Me=[];return Oe=ne.call(this,77,"rulers",Me,{type:"array",items:{type:"number"},default:Me,description:T.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this,Oe}return fe.prototype.validate=function(Oe){if(Array.isArray(Oe)){for(var Me=[],Ue=0,Je=Oe;Ue console.log` because `log` has been completed recently."),T.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:T.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:F(new g(94,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[T.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),T.a("tabCompletion.off","Disable tab completions."),T.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:T.a("tabCompletion","Enables tab completions.")})),useTabStops:F(new w(95,"useTabStops",!0,{description:T.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:F(new C(96,"wordSeparators",$.b,{description:T.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:F(new g(97,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[T.a("wordWrap.off","Lines will never wrap."),T.a("wordWrap.on","Lines will wrap at the viewport width."),T.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),T.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:T.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:F(new C(98,"wordWrapBreakAfterCharacters"," })]?|/&.,;\xA2\xB0\u2032\u2033\u2030\u2103\u3001\u3002\uFF61\uFF64\uFFE0\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF05\u30FB\uFF65\u309D\u309E\u30FD\u30FE\u30FC\u30A1\u30A3\u30A5\u30A7\u30A9\u30C3\u30E3\u30E5\u30E7\u30EE\u30F5\u30F6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308E\u3095\u3096\u31F0\u31F1\u31F2\u31F3\u31F4\u31F5\u31F6\u31F7\u31F8\u31F9\u31FA\u31FB\u31FC\u31FD\u31FE\u31FF\u3005\u303B\uFF67\uFF68\uFF69\uFF6A\uFF6B\uFF6C\uFF6D\uFF6E\uFF6F\uFF70\u201D\u3009\u300B\u300D\u300F\u3011\u3015\uFF09\uFF3D\uFF5D\uFF63")),wordWrapBreakBeforeCharacters:F(new C(99,"wordWrapBreakBeforeCharacters","([{\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\xA3\xA5\uFF04\uFFE1\uFFE5+\uFF0B")),wordWrapColumn:F(new f(100,"wordWrapColumn",80,1,1073741824,{markdownDescription:T.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:F(new w(101,"wordWrapMinified",!0)),wrappingIndent:F(new u(102,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],ue,{enumDescriptions:[T.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),T.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),T.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),T.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:T.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:F(new g(103,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[T.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),T.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:T.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:F(new I),pixelRatio:F(new se),tabFocusMode:F(new Ge),layoutInfo:F(new _e),wrappingInfo:F(new ve)}},"/cAr":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return e.e(314).then(e.bind(null,"8m5U"))}})},"/cxE":function(Lt,N,e){"use strict";e.d(N,"e",function(){return $}),e.d(N,"f",function(){return R}),e.d(N,"g",function(){return B}),e.d(N,"d",function(){return D}),e.d(N,"a",function(){return W}),e.d(N,"b",function(){return x}),e.d(N,"c",function(){return h});var T=function(){function y(){this.listeners=[],this.unexpectedErrorHandler=function(w){setTimeout(function(){throw w.stack?new Error(w.message+`
-`+w.stack):w},0)}}return y.prototype.emit=function(w){this.listeners.forEach(function(f){f(w)})},y.prototype.onUnexpectedError=function(w){this.unexpectedErrorHandler(w),this.emit(w)},y.prototype.onUnexpectedExternalError=function(w){this.unexpectedErrorHandler(w)},y}(),le=new T;function $(y){D(y)||le.onUnexpectedError(y);return}function R(y){D(y)||le.onUnexpectedExternalError(y);return}function B(y){if(y instanceof Error){var w=y.name,f=y.message,v=y.stacktrace||y.stack;return{$isError:!0,name:w,message:f,stack:v}}return y}var z="Canceled";function D(y){return y instanceof Error&&y.name===z&&y.message===z}function W(){var y=new Error(z);return y.name=y.message,y}function x(y){return y?new Error("Illegal argument: "+y):new Error("Illegal argument")}function h(y){return y?new Error("Illegal state: "+y):new Error("Illegal state")}},"/kV6":function(Lt,N,e){"use strict";e.d(N,"b",function(){return z}),e.d(N,"a",function(){return D}),e.d(N,"f",function(){return W}),e.d(N,"e",function(){return h}),e.d(N,"d",function(){return w}),e.d(N,"c",function(){return f});var T=e("/cxE"),le=function(){function v(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return v.prototype.define=function(C,g){this._keyCodeToStr[C]=g,this._strToKeyCode[g.toLowerCase()]=C},v.prototype.keyCodeToStr=function(C){return this._keyCodeToStr[C]},v.prototype.strToKeyCode=function(C){return this._strToKeyCode[C.toLowerCase()]||0},v}(),$=new le,R=new le,B=new le;(function(){function v(C,g,u,s){u===void 0&&(u=g),s===void 0&&(s=u),$.define(C,g),R.define(C,u),B.define(C,s)}v(0,"unknown"),v(1,"Backspace"),v(2,"Tab"),v(3,"Enter"),v(4,"Shift"),v(5,"Ctrl"),v(6,"Alt"),v(7,"PauseBreak"),v(8,"CapsLock"),v(9,"Escape"),v(10,"Space"),v(11,"PageUp"),v(12,"PageDown"),v(13,"End"),v(14,"Home"),v(15,"LeftArrow","Left"),v(16,"UpArrow","Up"),v(17,"RightArrow","Right"),v(18,"DownArrow","Down"),v(19,"Insert"),v(20,"Delete"),v(21,"0"),v(22,"1"),v(23,"2"),v(24,"3"),v(25,"4"),v(26,"5"),v(27,"6"),v(28,"7"),v(29,"8"),v(30,"9"),v(31,"A"),v(32,"B"),v(33,"C"),v(34,"D"),v(35,"E"),v(36,"F"),v(37,"G"),v(38,"H"),v(39,"I"),v(40,"J"),v(41,"K"),v(42,"L"),v(43,"M"),v(44,"N"),v(45,"O"),v(46,"P"),v(47,"Q"),v(48,"R"),v(49,"S"),v(50,"T"),v(51,"U"),v(52,"V"),v(53,"W"),v(54,"X"),v(55,"Y"),v(56,"Z"),v(57,"Meta"),v(58,"ContextMenu"),v(59,"F1"),v(60,"F2"),v(61,"F3"),v(62,"F4"),v(63,"F5"),v(64,"F6"),v(65,"F7"),v(66,"F8"),v(67,"F9"),v(68,"F10"),v(69,"F11"),v(70,"F12"),v(71,"F13"),v(72,"F14"),v(73,"F15"),v(74,"F16"),v(75,"F17"),v(76,"F18"),v(77,"F19"),v(78,"NumLock"),v(79,"ScrollLock"),v(80,";",";","OEM_1"),v(81,"=","=","OEM_PLUS"),v(82,",",",","OEM_COMMA"),v(83,"-","-","OEM_MINUS"),v(84,".",".","OEM_PERIOD"),v(85,"/","/","OEM_2"),v(86,"`","`","OEM_3"),v(110,"ABNT_C1"),v(111,"ABNT_C2"),v(87,"[","[","OEM_4"),v(88,"\\","\\","OEM_5"),v(89,"]","]","OEM_6"),v(90,"'","'","OEM_7"),v(91,"OEM_8"),v(92,"OEM_102"),v(93,"NumPad0"),v(94,"NumPad1"),v(95,"NumPad2"),v(96,"NumPad3"),v(97,"NumPad4"),v(98,"NumPad5"),v(99,"NumPad6"),v(100,"NumPad7"),v(101,"NumPad8"),v(102,"NumPad9"),v(103,"NumPad_Multiply"),v(104,"NumPad_Add"),v(105,"NumPad_Separator"),v(106,"NumPad_Subtract"),v(107,"NumPad_Decimal"),v(108,"NumPad_Divide")})();var z;(function(v){function C(c){return $.keyCodeToStr(c)}v.toString=C;function g(c){return $.strToKeyCode(c)}v.fromString=g;function u(c){return R.keyCodeToStr(c)}v.toUserSettingsUS=u;function s(c){return B.keyCodeToStr(c)}v.toUserSettingsGeneral=s;function l(c){return R.strToKeyCode(c)||B.strToKeyCode(c)}v.fromUserSettings=l})(z||(z={}));function D(v,C){var g=(C&65535)<<16>>>0;return(v|g)>>>0}function W(v,C){if(v===0)return null;var g=(v&65535)>>>0,u=(v&4294901760)>>>16;return u!==0?new y([x(g,C),x(u,C)]):new y([x(g,C)])}function x(v,C){var g=!!(v&2048),u=!!(v&256),s=C===2?u:g,l=!!(v&1024),c=!!(v&512),p=C===2?g:u,_=v&255;return new h(s,l,c,p,_)}var h=function(){function v(C,g,u,s,l){this.ctrlKey=C,this.shiftKey=g,this.altKey=u,this.metaKey=s,this.keyCode=l}return v.prototype.equals=function(C){return this.ctrlKey===C.ctrlKey&&this.shiftKey===C.shiftKey&&this.altKey===C.altKey&&this.metaKey===C.metaKey&&this.keyCode===C.keyCode},v.prototype.isModifierKey=function(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4},v.prototype.toChord=function(){return new y([this])},v.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57},v}(),y=function(){function v(C){if(C.length===0)throw Object(T.b)("parts");this.parts=C}return v.prototype.equals=function(C){if(C===null)return!1;if(this.parts.length!==C.parts.length)return!1;for(var g=0;gthis._limit&&this._initialize(_.slice(_.length-this._limit))},p.prototype._initialize=function(_){this._history=new Set;for(var L=0,I=_;L=0;p--)(c=v[p])&&(l=(s<3?c(l):s>3?c(C,g,l):c(C,g))||l);return s>3&&l&&Object.defineProperty(C,g,l),l},w=function(v,C){return function(g,u){C(g,u,v)}},f=function(v){h(C,v);function C(g,u,s,l,c,p,_,L,I,P){var A=v.call(this,g,s.getRawOptions(),{},l,c,p,_,L,I,P)||this;return A._parentEditor=s,A._overwriteOptions=u,v.prototype.updateOptions.call(A,A._overwriteOptions),A._register(s.onDidChangeConfiguration(function(Q){return A._onParentConfigurationChanged(Q)})),A}return C.prototype.getParentEditor=function(){return this._parentEditor},C.prototype._onParentConfigurationChanged=function(g){v.prototype.updateOptions.call(this,this._parentEditor.getRawOptions()),v.prototype.updateOptions.call(this,this._overwriteOptions)},C.prototype.updateOptions=function(g){T.g(this._overwriteOptions,g,!0),v.prototype.updateOptions.call(this,this._overwriteOptions)},C=y([w(3,z.a),w(4,le.a),w(5,R.b),w(6,B.c),w(7,W.c),w(8,D.a),w(9,x.b)],C),C}($.a)},"09fa":function(Lt,N,e){"use strict";e.d(N,"a",function(){return le}),e.d(N,"b",function(){return $}),e.d(N,"c",function(){return R});var T=e("Cg/j"),le=Object(T.c)("logService"),$;(function(B){B[B.Trace=0]="Trace",B[B.Debug=1]="Debug",B[B.Info=2]="Info",B[B.Warning=3]="Warning",B[B.Error=4]="Error",B[B.Critical=5]="Critical",B[B.Off=6]="Off"})($||($={}));var R=function(){function B(){}return B.prototype.getLevel=function(){return $.Info},B.prototype.trace=function(z){for(var D=[],W=1;W/?";function le(W){W===void 0&&(W="");for(var x="(-?\\d*\\.\\d\\w*)|([^",h=0,y=T;h=0)continue;x+="\\"+w}return x+="\\s]+)",new RegExp(x,"g")}var $=le();function R(W){var x=$;if(W&&W instanceof RegExp)if(W.global)x=W;else{var h="g";W.ignoreCase&&(h+="i"),W.multiline&&(h+="m"),W.unicode&&(h+="u"),x=new RegExp(W.source,h)}return x.lastIndex=0,x}function B(W,x,h,y){var w=W-1-y,f=h.lastIndexOf(" ",w-1)+1;x.lastIndex=f;for(var v;v=x.exec(h);){var C=v.index||0;if(C<=w&&x.lastIndex>=w)return{word:v[0],startColumn:y+1+C,endColumn:y+1+x.lastIndex}}return null}function z(W,x,h,y){var w=W-1-y;x.lastIndex=0;for(var f;f=x.exec(h);){var v=f.index||0;if(v>w)return null;if(x.lastIndex>=w)return{word:f[0],startColumn:y+1+v,endColumn:y+1+x.lastIndex}}return null}function D(W,x,h,y){x.lastIndex=0;var w=x.exec(h);if(!w)return null;var f=w[0].indexOf(" ")>=0?z(W,x,h,y):B(W,x,h,y);return x.lastIndex=0,f}},"0oIH":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return e.e(304).then(e.bind(null,"Eg73"))}})},"10Fh":function(Lt,N,e){"use strict";e.r(N),e.d(N,"provideSelectionRanges",function(){return I});var T=e("6OMU"),le=e("JQT/"),$=e("sswD"),R=e("cGHE"),B=e("aokT"),z=e("gCVg"),D=e("wQH0"),W=e("twdY"),x=e("3/fG"),h=e("pmY6"),y=e("N0LK"),w=function(){function P(){}return P.prototype.provideSelectionRanges=function(A,Q){for(var K=[],U=0,V=Q;U=0;Se--){var Ve=V.charCodeAt(Se);if(Ve===95||Ve===45)break;if(Object(y.B)(Ve)&&Object(y.C)(Pe))break;Pe=Ve}for(Se+=1;Ie0&&Q.getLineFirstNonWhitespaceColumn(K.lineNumber)===0&&Q.getLineLastNonWhitespaceColumn(K.lineNumber)===0&&A.push({range:new B.a(K.lineNumber,1,K.lineNumber,Q.getLineMaxColumn(K.lineNumber))})},P}(),f=e("Z7SF"),v=e("nnTU"),C=e("/cxE"),g=function(){var P=function(A,Q){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,U){K.__proto__=U}||function(K,U){for(var V in U)U.hasOwnProperty(V)&&(K[V]=U[V])},P(A,Q)};return function(A,Q){P(A,Q);function K(){this.constructor=A}A.prototype=Q===null?Object.create(Q):(K.prototype=Q.prototype,new K)}}(),u=function(P,A,Q,K){function U(V){return V instanceof Q?V:new Q(function(de){de(V)})}return new(Q||(Q=Promise))(function(V,de){function _e(Pe){try{Ie(K.next(Pe))}catch(Ve){de(Ve)}}function Se(Pe){try{Ie(K.throw(Pe))}catch(Ve){de(Ve)}}function Ie(Pe){Pe.done?V(Pe.value):U(Pe.value).then(_e,Se)}Ie((K=K.apply(P,A||[])).next())})},s=function(P,A){var Q={label:0,sent:function(){if(V[0]&1)throw V[1];return V[1]},trys:[],ops:[]},K,U,V,de;return de={next:_e(0),throw:_e(1),return:_e(2)},typeof Symbol=="function"&&(de[Symbol.iterator]=function(){return this}),de;function _e(Ie){return function(Pe){return Se([Ie,Pe])}}function Se(Ie){if(K)throw new TypeError("Generator is already executing.");for(;Q;)try{if(K=1,U&&(V=Ie[0]&2?U.return:Ie[0]?U.throw||((V=U.return)&&V.call(U),0):U.next)&&!(V=V.call(U,Ie[1])).done)return V;(U=0,V)&&(Ie=[Ie[0]&2,V.value]);switch(Ie[0]){case 0:case 1:V=Ie;break;case 4:return Q.label++,{value:Ie[1],done:!1};case 5:Q.label++,U=Ie[1],Ie=[0];continue;case 7:Ie=Q.ops.pop(),Q.trys.pop();continue;default:if(!(V=Q.trys,V=V.length>0&&V[V.length-1])&&(Ie[0]===6||Ie[0]===2)){Q=0;continue}if(Ie[0]===3&&(!V||Ie[1]>V[0]&&Ie[1]=this.ranges.length)return this;var K=new P(Q,this.ranges);return K.ranges[Q].equalsRange(this.ranges[this.index])?K.mov(A):K},P}(),c=function(){function P(A){this._ignoreSelection=!1,this._editor=A}return P.get=function(A){return A.getContribution(P.ID)},P.prototype.dispose=function(){Object(h.f)(this._selectionListener)},P.prototype.run=function(A){var Q=this;if(!this._editor.hasModel())return;var K=this._editor.getSelections(),U=this._editor.getModel();if(!W.w.has(U))return;var V=Promise.resolve(void 0);return this._state||(V=I(U,K.map(function(de){return de.getPosition()}),le.a.None).then(function(de){if(!T.q(de)||de.length!==K.length)return;if(!Q._editor.hasModel()||!T.g(Q._editor.getSelections(),K,function(Ie,Pe){return Ie.equalsSelection(Pe)}))return;for(var _e=function(Ie){de[Ie]=de[Ie].filter(function(Pe){return Pe.containsPosition(K[Ie].getStartPosition())&&Pe.containsPosition(K[Ie].getEndPosition())}),de[Ie].unshift(K[Ie])},Se=0;Se=0;C--){var g=y.charCodeAt(C),u=w.get(g);if(u===0){if(v===2)return this._createWord(y,v,u,C+1,this._findEndOfWord(y,w,v,C+1));v=1}else if(u===2){if(v===1)return this._createWord(y,v,u,C+1,this._findEndOfWord(y,w,v,C+1));v=2}else if(u===1&&v!==0)return this._createWord(y,v,u,C+1,this._findEndOfWord(y,w,v,C+1))}return v!==0?this._createWord(y,v,1,0,this._findEndOfWord(y,w,v,0)):null},h._findEndOfWord=function(y,w,f,v){for(var C=y.length,g=v;g=0;C--){var g=y.charCodeAt(C),u=w.get(g);if(u===1)return C+1;if(f===1&&u===2)return C+1;if(f===2&&u===0)return C+1}return 0},h.moveWordLeft=function(y,w,f,v){var C=f.lineNumber,g=f.column,u=!1;g===1&&(C>1&&(u=!0,C=C-1,g=w.getLineMaxColumn(C)));var s=h._findPreviousWordOnLine(y,w,new R.a(C,g));if(v===0){if(s&&!u){var l=w.getLineLastNonWhitespaceColumn(C);if(l1?new R.a(f-1,y.getLineMaxColumn(f-1)):w;for(var C=y.getLineContent(f),g=w.column-1;g>1;g--){var u=C.charCodeAt(g-2),s=C.charCodeAt(g-1);if(u!==95&&s===95)return new R.a(f,g);if(T.B(u)&&T.C(s))return new R.a(f,g);if(T.C(u)&&T.C(s)&&g+1=s.start+1&&(s=h._findNextWordOnLine(y,w,new R.a(C,s.end+1))),s?g=s.start+1:g=w.getLineMaxColumn(C);return new R.a(C,g)},h._moveWordPartRight=function(y,w){var f=w.lineNumber,v=y.getLineMaxColumn(f);if(w.column===v)return f1?s=1:(u--,s=w.getLineMaxColumn(u)):(c&&s<=c.end+1&&(c=h._findPreviousWordOnLine(y,w,new R.a(u,c.start+1))),c?s=c.end+1:s>1?s=1:(u--,s=w.getLineMaxColumn(u))),new B.a(u,s,g.lineNumber,g.column)},h._deleteWordPartLeft=function(y,w){if(!w.isEmpty())return w;var f=w.getPosition(),v=h._moveWordPartLeft(y,f);return new B.a(f.lineNumber,f.column,v.lineNumber,v.column)},h._findFirstNonWhitespaceChar=function(y,w){for(var f=y.length,v=w;v=_.start+1&&(_=h._findNextWordOnLine(y,w,new R.a(u,_.end+1))),_?s=_.start+1:sde,Pe=V>_e,Ve=V<_e,ke=[],se=0;se_e)continue;if(ZV)continue;if(ce<_e)continue}ke.push(new B.f(new D.a(ee,ie,ee,ie),0,new z.a(ee,q),0))}if(ke.length===0)for(var se=0;se1&&V--,A.columnSelect(Q,K,U.fromViewLineNumber,U.fromViewVisualColumn,U.toViewLineNumber,V)},A.columnSelectRight=function(Q,K,U){for(var V=0,de=Math.min(U.fromViewLineNumber,U.toViewLineNumber),_e=Math.max(U.fromViewLineNumber,U.toViewLineNumber),Se=de;Se<=_e;Se++){var Ie=K.getLineMaxColumn(Se),Pe=B.a.visibleColumnFromColumn2(Q,K,new z.a(Se,Ie));V=Math.max(V,Pe)}var Ve=U.toViewVisualColumn;return Ve1)for(var ve=Ge.modelState?Ge.modelState.position:null,Ee=Ge.viewState?Ge.viewState.position:null,xe=0,Ce=ue.length;xeue&&(Ge=ue);var ve=new D.a(Ge,1,Ge,Z.context.model.getLineMaxColumn(Ge)),Ee=0;if(je.at)switch(je.at){case l.RawAtArgument.Top:Ee=3;break;case l.RawAtArgument.Center:Ee=1;break;case l.RawAtArgument.Bottom:Ee=4;break;default:break}var xe=Z.context.convertModelRangeToViewRange(ve);Z.revealRange(ye.source,!1,xe,Ee,0)},ce}(u))),A.SelectAll=Object($.g)(new(function(q){C(ce,q);function ce(){return q.call(this,{id:"selectAll",precondition:void 0})||this}return ce.prototype.runCoreEditorCommand=function(Z,ye){Z.context.model.pushStackElement(),Z.setStates(ye.source,3,[h.b.selectAll(Z.context,Z.getPrimaryCursor())])},ce}(u))),A.SetSelection=Object($.g)(new(function(q){C(ce,q);function ce(){return q.call(this,{id:"setSelection",precondition:void 0})||this}return ce.prototype.runCoreEditorCommand=function(Z,ye){Z.context.model.pushStackElement(),Z.setStates(ye.source,3,[B.d.fromModelSelection(ye.selection)])},ce}(u)))})(c||(c={}));var p;(function(A){var Q=function(K){C(U,K);function U(){return K!==null&&K.apply(this,arguments)||this}return U.prototype.runEditorCommand=function(V,de,_e){var Se=de._getCursors();if(!Se)return;this.runCoreEditingCommand(de,Se,_e||{})},U}($.c);A.CoreEditingCommand=Q,A.LineBreakInsert=Object($.g)(new(function(K){C(U,K);function U(){return K.call(this,{id:"lineBreakInsert",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:0,mac:{primary:256|45}}})||this}return U.prototype.runCoreEditingCommand=function(V,de,_e){V.pushUndoStop(),V.executeCommands(this.id,y.a.lineBreakInsert(de.context.config,de.context.model,de.getAll().map(function(Se){return Se.modelState.selection})))},U}(Q))),A.Outdent=Object($.g)(new(function(K){C(U,K);function U(){return K.call(this,{id:"outdent",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:v.a.and(f.a.editorTextFocus,f.a.tabDoesNotMoveFocus),primary:1024|2}})||this}return U.prototype.runCoreEditingCommand=function(V,de,_e){V.pushUndoStop(),V.executeCommands(this.id,y.a.outdent(de.context.config,de.context.model,de.getAll().map(function(Se){return Se.modelState.selection}))),V.pushUndoStop()},U}(Q))),A.Tab=Object($.g)(new(function(K){C(U,K);function U(){return K.call(this,{id:"tab",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:v.a.and(f.a.editorTextFocus,f.a.tabDoesNotMoveFocus),primary:2}})||this}return U.prototype.runCoreEditingCommand=function(V,de,_e){V.pushUndoStop(),V.executeCommands(this.id,y.a.tab(de.context.config,de.context.model,de.getAll().map(function(Se){return Se.modelState.selection}))),V.pushUndoStop()},U}(Q))),A.DeleteLeft=Object($.g)(new(function(K){C(U,K);function U(){return K.call(this,{id:"deleteLeft",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:1,secondary:[1024|1],mac:{primary:1,secondary:[1024|1,256|38,256|1]}}})||this}return U.prototype.runCoreEditingCommand=function(V,de,_e){var Se=x.a.deleteLeft(de.getPrevEditOperationType(),de.context.config,de.context.model,de.getAll().map(function(Ve){return Ve.modelState.selection})),Ie=Se[0],Pe=Se[1];Ie&&V.pushUndoStop(),V.executeCommands(this.id,Pe),de.setPrevEditOperationType(2)},U}(Q))),A.DeleteRight=Object($.g)(new(function(K){C(U,K);function U(){return K.call(this,{id:"deleteRight",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:20,mac:{primary:20,secondary:[256|34,256|20]}}})||this}return U.prototype.runCoreEditingCommand=function(V,de,_e){var Se=x.a.deleteRight(de.getPrevEditOperationType(),de.context.config,de.context.model,de.getAll().map(function(Ve){return Ve.modelState.selection})),Ie=Se[0],Pe=Se[1];Ie&&V.pushUndoStop(),V.executeCommands(this.id,Pe),de.setPrevEditOperationType(3)},U}(Q)))})(p||(p={}));function _(A){A.register()}var L=function(A){C(Q,A);function Q(K){var U=A.call(this,K)||this;return U._editorHandler=K.editorHandler,U._inputHandler=K.inputHandler,U}return Q.prototype.runCommand=function(K,U){var V=K.get(R.a).getFocusedCodeEditor();if(V&&V.hasTextFocus())return this._runEditorHandler(K,V,U);var de=document.activeElement;if(de&&["input","textarea"].indexOf(de.tagName.toLowerCase())>=0){document.execCommand(this._inputHandler);return}var _e=K.get(R.a).getActiveCodeEditor();if(_e)return _e.focus(),this._runEditorHandler(K,_e,U)},Q.prototype._runEditorHandler=function(K,U,V){var de=this._editorHandler;typeof de=="string"?U.trigger("keyboard",de,V):(V=V||{},V.source="keyboard",de.runEditorCommand(K,U,V))},Q}($.a),I=function(A){C(Q,A);function Q(K,U,V){var de=A.call(this,{id:K,precondition:void 0,description:V})||this;return de._handlerId=U,de}return Q.prototype.runCommand=function(K,U){var V=K.get(R.a).getFocusedCodeEditor();if(!V)return;V.trigger("keyboard",this._handlerId,U)},Q}($.a);_(new L({editorHandler:c.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:f.a.textInputFocus,kbOpts:{weight:g,kbExpr:null,primary:2048|31},menuOpts:{menuId:25,group:"1_basic",title:T.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),_(new L({editorHandler:w.b.Undo,inputHandler:"undo",id:w.b.Undo,precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:2048|56},menuOpts:{menuId:17,group:"1_do",title:T.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),_(new I("default:"+w.b.Undo,w.b.Undo)),_(new L({editorHandler:w.b.Redo,inputHandler:"redo",id:w.b.Redo,precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:2048|55,secondary:[2048|1024|56],mac:{primary:2048|1024|56}},menuOpts:{menuId:17,group:"1_do",title:T.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),_(new I("default:"+w.b.Redo,w.b.Redo));function P(A,Q){_(new I("default:"+A,A)),_(new I(A,A,Q))}P(w.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),P(w.b.ReplacePreviousChar),P(w.b.CompositionStart),P(w.b.CompositionEnd),P(w.b.Paste),P(w.b.Cut)},"1lwE":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return e.e(339).then(e.bind(null,"cOMg"))}})},"23p7":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return e.e(292).then(e.bind(null,"aA7r"))}})},"24hK":function(Lt,N,e){"use strict";e.d(N,"a",function(){return $});var T=e("JYp7"),le=function(){function R(B){this.element=B,this.next=R.Undefined,this.prev=R.Undefined}return R.Undefined=new R(void 0),R}(),$=function(){function R(){this._first=le.Undefined,this._last=le.Undefined,this._size=0}return Object.defineProperty(R.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),R.prototype.isEmpty=function(){return this._first===le.Undefined},R.prototype.clear=function(){this._first=le.Undefined,this._last=le.Undefined,this._size=0},R.prototype.unshift=function(B){return this._insert(B,!1)},R.prototype.push=function(B){return this._insert(B,!0)},R.prototype._insert=function(B,z){var D=this,W=new le(B);if(this._first===le.Undefined)this._first=W,this._last=W;else if(z){var x=this._last;this._last=W,W.prev=x,x.next=W}else{var h=this._first;this._first=W,W.next=h,h.prev=W}this._size+=1;var y=!1;return function(){y||(y=!0,D._remove(W))}},R.prototype.shift=function(){if(this._first===le.Undefined)return;var B=this._first.element;return this._remove(this._first),B},R.prototype.pop=function(){if(this._last===le.Undefined)return;var B=this._last.element;return this._remove(this._last),B},R.prototype._remove=function(B){if(B.prev!==le.Undefined&&B.next!==le.Undefined){var z=B.prev;z.next=B.next,B.next.prev=z}else B.prev===le.Undefined&&B.next===le.Undefined?(this._first=le.Undefined,this._last=le.Undefined):B.next===le.Undefined?(this._last=this._last.prev,this._last.next=le.Undefined):B.prev===le.Undefined&&(this._first=this._first.next,this._first.prev=le.Undefined);this._size-=1},R.prototype.iterator=function(){var B,z=this._first;return{next:function(){return z===le.Undefined?T.c:(B?B.value=z.element:B={done:!1,value:z.element},z=z.next,B)}}},R.prototype.toArray=function(){for(var B=[],z=this._first;z!==le.Undefined;z=z.next)B.push(z.element);return B},R}()},"2ESN":function(Lt,N,e){"use strict";e.r(N);var T=e("YHy6"),le=e("3/fG"),$=e("X+cX"),R=e("JQT/"),B=e("/cxE"),z=e("eLzo"),D=e("pmY6"),W=e("MNsG"),x=e("sswD"),h=e("tX9W"),y=e("twdY"),w=e("aBYw"),f=e("bY76"),v=e("aokT"),C=e("G2kB"),g=e("nnTU"),u=e("6OMU"),s=function(){var ee=function(ie,q){return ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,Z){ce.__proto__=Z}||function(ce,Z){for(var ye in Z)Z.hasOwnProperty(ye)&&(ce[ye]=Z[ye])},ee(ie,q)};return function(ie,q){ee(ie,q);function ce(){this.constructor=ie}ie.prototype=q===null?Object.create(q):(ce.prototype=q.prototype,new ce)}}(),l=function(ee,ie,q,ce){function Z(ye){return ye instanceof q?ye:new q(function(je){je(ye)})}return new(q||(q=Promise))(function(ye,je){function Ge(Ee){try{ve(ce.next(Ee))}catch(xe){je(xe)}}function ue(Ee){try{ve(ce.throw(Ee))}catch(xe){je(xe)}}function ve(Ee){Ee.done?ye(Ee.value):Z(Ee.value).then(Ge,ue)}ve((ce=ce.apply(ee,ie||[])).next())})},c=function(ee,ie){var q={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},ce,Z,ye,je;return je={next:Ge(0),throw:Ge(1),return:Ge(2)},typeof Symbol=="function"&&(je[Symbol.iterator]=function(){return this}),je;function Ge(ve){return function(Ee){return ue([ve,Ee])}}function ue(ve){if(ce)throw new TypeError("Generator is already executing.");for(;q;)try{if(ce=1,Z&&(ye=ve[0]&2?Z.return:ve[0]?Z.throw||((ye=Z.return)&&ye.call(Z),0):Z.next)&&!(ye=ye.call(Z,ve[1])).done)return ye;(Z=0,ye)&&(ve=[ve[0]&2,ye.value]);switch(ve[0]){case 0:case 1:ye=ve;break;case 4:return q.label++,{value:ve[1],done:!1};case 5:q.label++,Z=ve[1],ve=[0];continue;case 7:ve=q.ops.pop(),q.trys.pop();continue;default:if(!(ye=q.trys,ye=ye.length>0&&ye[ye.length-1])&&(ve[0]===6||ve[0]===2)){q=0;continue}if(ve[0]===3&&(!ye||ve[1]>ye[0]&&ve[1]=0;Ge--)(je=ee[Ge])&&(ye=(Z<3?je(ye):Z>3?je(ie,q,ye):je(ie,q))||ye);return Z>3&&ye&&Object.defineProperty(ie,q,ye),ye},de=function(ee,ie){return function(q,ce){ie(q,ce,ee)}},_e=function(ee,ie,q,ce){function Z(ye){return ye instanceof q?ye:new q(function(je){je(ye)})}return new(q||(q=Promise))(function(ye,je){function Ge(Ee){try{ve(ce.next(Ee))}catch(xe){je(xe)}}function ue(Ee){try{ve(ce.throw(Ee))}catch(xe){je(xe)}}function ve(Ee){Ee.done?ye(Ee.value):Z(Ee.value).then(Ge,ue)}ve((ce=ce.apply(ee,ie||[])).next())})},Se=function(ee,ie){var q={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},ce,Z,ye,je;return je={next:Ge(0),throw:Ge(1),return:Ge(2)},typeof Symbol=="function"&&(je[Symbol.iterator]=function(){return this}),je;function Ge(ve){return function(Ee){return ue([ve,Ee])}}function ue(ve){if(ce)throw new TypeError("Generator is already executing.");for(;q;)try{if(ce=1,Z&&(ye=ve[0]&2?Z.return:ve[0]?Z.throw||((ye=Z.return)&&ye.call(Z),0):Z.next)&&!(ye=ye.call(Z,ve[1])).done)return ye;(Z=0,ye)&&(ve=[ve[0]&2,ye.value]);switch(ve[0]){case 0:case 1:ye=ve;break;case 4:return q.label++,{value:ve[1],done:!1};case 5:q.label++,Z=ve[1],ve=[0];continue;case 7:ve=q.ops.pop(),q.trys.pop();continue;default:if(!(ye=q.trys,ye=ye.length>0&&ye[ye.length-1])&&(ve[0]===6||ve[0]===2)){q=0;continue}if(ve[0]===3&&(!ye||ve[1]>ye[0]&&ve[1]1){var Ve=Pe.shift();Ve&&Ve.container&&(U.focusItemByElement(Ve.container),Pe.push(Ve)),U.mnemonics.set(Ie,Pe)}}})),w.d&&U._register(Object(D.j)(V,D.d.KEY_DOWN,function(Se){var Ie=new W.a(Se);Ie.equals(14)||Ie.equals(11)?(U.focusedItem=U.viewItems.length-1,U.focusNext(),D.c.stop(Se,!0)):(Ie.equals(13)||Ie.equals(12))&&(U.focusedItem=0,U.focusPrevious(),D.c.stop(Se,!0))})),U._register(Object(D.j)(U.domNode,D.d.MOUSE_OUT,function(Se){var Ie=Se.relatedTarget;Object(D.K)(Ie,U.domNode)||(U.focusedItem=void 0,U.updateFocus(),Se.stopPropagation())})),U._register(Object(D.j)(U.actionsList,D.d.MOUSE_OVER,function(Se){var Ie=Se.target;if(!Ie||!Object(D.K)(Ie,U.actionsList)||Ie===U.actionsList)return;for(;Ie.parentElement!==U.actionsList&&Ie.parentElement!==null;)Ie=Ie.parentElement;if(Object(D.I)(Ie,"action-item")){var Pe=U.focusedItem;U.setFocusedItem(Ie),Pe!==U.focusedItem&&U.updateFocus()}}));var de={parent:U};U.mnemonics=new Map,U.scrollableElement=U._register(new y.a(V,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));var _e=U.scrollableElement.getDomNode();return _e.style.position="",U._register(Object(D.j)(_e,D.d.MOUSE_UP,function(Se){Se.preventDefault()})),V.style.maxHeight=Math.max(10,window.innerHeight-A.getBoundingClientRect().top-30)+"px",U.push(Q,{icon:!0,label:!0,isMenu:!0}),A.appendChild(U.scrollableElement.getDomNode()),U.scrollableElement.scanDomNode(),U.viewItems.filter(function(Se){return!(Se instanceof _)}).forEach(function(Se,Ie,Pe){Se.updatePositionInSet(Ie+1,Pe.length)}),U}return P.prototype.style=function(A){var Q=this.getContainer(),K=A.foregroundColor?""+A.foregroundColor:"",U=A.backgroundColor?""+A.backgroundColor:"",V=A.borderColor?"1px solid "+A.borderColor:"",de=A.shadowColor?"0 2px 4px "+A.shadowColor:"";Q.style.border=V,this.domNode.style.color=K,this.domNode.style.backgroundColor=U,Q.style.boxShadow=de,this.viewItems&&this.viewItems.forEach(function(_e){(_e instanceof c||_e instanceof _)&&_e.style(A)})},P.prototype.getContainer=function(){return this.scrollableElement.getDomNode()},Object.defineProperty(P.prototype,"onScroll",{get:function(){return this.scrollableElement.onScroll},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"scrollOffset",{get:function(){return this.menuElement.scrollTop},enumerable:!0,configurable:!0}),P.prototype.focusItemByElement=function(A){var Q=this.focusedItem;this.setFocusedItem(A),Q!==this.focusedItem&&this.updateFocus()},P.prototype.setFocusedItem=function(A){for(var Q=0;Q'+U[3]+""+A.substr(U.index+U[0].length)),A=A.replace(/&&/g,"&"),this.item&&this.item.setAttribute("aria-keyshortcuts",(K[1]?K[1]:K[3]).toLocaleLowerCase())}else A=A.replace(/&&/g,"&")}this.label&&(this.label.innerHTML=A.trim())}},P.prototype.updateTooltip=function(){var A=null;this.getAction().tooltip?A=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(A=this.getAction().label,this.options.keybinding&&(A=$.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",A,this.options.keybinding))),A&&this.item&&(this.item.title=A)},P.prototype.updateClass=function(){this.cssClass&&this.item&&Object(D.Q)(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(D.f)(this.label,"icon"),this.cssClass&&Object(D.g)(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(D.P)(this.label,"icon")},P.prototype.updateEnabled=function(){this.getAction().enabled?(this.element&&Object(D.P)(this.element,"disabled"),this.item&&(Object(D.P)(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(D.f)(this.element,"disabled"),this.item&&(Object(D.f)(this.item,"disabled"),Object(D.S)(this.item)))},P.prototype.updateChecked=function(){if(!this.item)return;this.getAction().checked?(Object(D.f)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(D.P)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false"))},P.prototype.getMnemonic=function(){return this.mnemonic},P.prototype.applyStyle=function(){if(!this.menuStyle)return;var A=this.element&&Object(D.I)(this.element,"focused"),Q=A&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,K=A&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,U=A&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=Q?Q.toString():"",this.item.style.backgroundColor=K?K.toString():""),this.check&&(this.check.style.color=Q?Q.toString():""),this.container&&(this.container.style.border=U)},P.prototype.style=function(A){this.menuStyle=A,this.applyStyle()},P}(z.c),p=function(I){f(P,I);function P(A,Q,K,U){var V=I.call(this,A,A,U)||this;return V.submenuActions=Q,V.parentData=K,V.submenuOptions=U,V.mysubmenu=null,V.submenuDisposables=V._register(new h.b),V.mouseOver=!1,V.expandDirection=U&&U.expandDirection!==void 0?U.expandDirection:u.Right,V.showScheduler=new x.d(function(){V.mouseOver&&(V.cleanupExistingSubmenu(!1),V.createSubmenu(!1))},250),V.hideScheduler=new x.d(function(){V.element&&!Object(D.K)(document.activeElement,V.element)&&V.parentData.submenu===V.mysubmenu&&(V.parentData.parent.focus(!1),V.cleanupExistingSubmenu(!0))},750),V}return P.prototype.render=function(A){var Q=this;if(I.prototype.render.call(this,A),!this.element)return;this.item&&(Object(D.f)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(D.q)(this.item,Object(D.a)("span.submenu-indicator.codicon.codicon-chevron-right")),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(D.j)(this.element,D.d.KEY_UP,function(K){var U=new W.a(K);(U.equals(17)||U.equals(3))&&(D.c.stop(K,!0),Q.createSubmenu(!0))})),this._register(Object(D.j)(this.element,D.d.KEY_DOWN,function(K){var U=new W.a(K);document.activeElement===Q.item&&((U.equals(17)||U.equals(3))&&D.c.stop(K,!0))})),this._register(Object(D.j)(this.element,D.d.MOUSE_OVER,function(K){Q.mouseOver||(Q.mouseOver=!0,Q.showScheduler.schedule())})),this._register(Object(D.j)(this.element,D.d.MOUSE_LEAVE,function(K){Q.mouseOver=!1})),this._register(Object(D.j)(this.element,D.d.FOCUS_OUT,function(K){Q.element&&!Object(D.K)(document.activeElement,Q.element)&&Q.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(function(){Q.parentData.parent.focus(!1),Q.cleanupExistingSubmenu(!1)}))},P.prototype.onClick=function(A){D.c.stop(A,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)},P.prototype.cleanupExistingSubmenu=function(A){this.parentData.submenu&&(A||this.parentData.submenu!==this.mysubmenu)&&(this.parentData.submenu.dispose(),this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0))},P.prototype.createSubmenu=function(A){var Q=this;if(A===void 0&&(A=!0),!this.element)return;if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(D.q)(this.element,Object(D.a)("div.monaco-submenu")),Object(D.g)(this.submenuContainer,"menubar-menu-items-holder","context-view");var K=getComputedStyle(this.parentData.parent.domNode),U=parseFloat(K.paddingTop||"0")||0;this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-U+"px",this.parentData.submenu=new l(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);var V=this.element.getBoundingClientRect(),de=this.submenuContainer.getBoundingClientRect();this.expandDirection===u.Right?window.innerWidth<=V.right+de.width?(this.submenuContainer.style.left="10px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset+V.height+"px"):(this.submenuContainer.style.left=this.element.offsetWidth+"px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-U+"px"):this.expandDirection===u.Left&&(this.submenuContainer.style.right=this.element.offsetWidth+"px",this.submenuContainer.style.left="auto",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-U+"px"),this.submenuDisposables.add(Object(D.j)(this.submenuContainer,D.d.KEY_UP,function(_e){var Se=new W.a(_e);Se.equals(15)&&(D.c.stop(_e,!0),Q.parentData.parent.focus(),Q.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(D.j)(this.submenuContainer,D.d.KEY_DOWN,function(_e){var Se=new W.a(_e);Se.equals(15)&&D.c.stop(_e,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(function(){Q.parentData.parent.focus(),Q.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(A),this.mysubmenu=this.parentData.submenu}},P.prototype.updateAriaExpanded=function(A){var Q;this.item&&((Q=this.item)===null||Q===void 0||Q.setAttribute("aria-expanded",A))},P.prototype.applyStyle=function(){if(I.prototype.applyStyle.call(this),!this.menuStyle)return;var A=this.element&&Object(D.I)(this.element,"focused"),Q=A&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=Q?""+Q:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)},P.prototype.dispose=function(){I.prototype.dispose.call(this),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)},P}(c),_=function(I){f(P,I);function P(){return I!==null&&I.apply(this,arguments)||this}return P.prototype.style=function(A){this.label&&(this.label.style.borderBottomColor=A.separatorColor?""+A.separatorColor:"")},P}(z.b);function L(I){var P=C,A=P.exec(I);if(!A)return I;var Q=!A[1];return I.replace(P,Q?"$2$3":"").trim()}},"3/fG":function(Lt,N,e){"use strict";e.d(N,"a",function(){return le});function T($,R){var B;return R.length===0?B=$:B=$.replace(/\{(\d+)\}/g,function(z,D){var W=D[0];return typeof R[W]!="undefined"?R[W]:z}),B}function le($,R){for(var B=[],z=2;z0&&D.charAt(D.length-1)==="#"?D.substring(0,D.length-1):D}var B=function(){function D(){this._onDidChangeSchema=new le.a,this.schemasById={}}return D.prototype.registerSchema=function(W,x){this.schemasById[R(W)]=x,this._onDidChangeSchema.fire(W)},D.prototype.notifySchemaChanged=function(W){this._onDidChangeSchema.fire(W)},D}(),z=new B;T.a.add($.JSONContribution,z)},"3qCu":function(Lt,N,e){"use strict";e.d(N,"a",function(){return ke});var T=e("EffR"),le=e("Md8J"),$=e("/cxE"),R=e("eLzo"),B=e("nD70"),z;(function(se){"use strict";var ee={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:b,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:b,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:b,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};ee._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ee._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ee.def=Ee(ee.def).replace("label",ee._label).replace("title",ee._title).getRegex(),ee.bullet=/(?:[*+-]|\d{1,9}\.)/,ee.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,ee.item=Ee(ee.item,"gm").replace(/bull/g,ee.bullet).getRegex(),ee.list=Ee(ee.list).replace(/bull/g,ee.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ee.def.source+")").getRegex(),ee._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",ee._comment=//,ee.html=Ee(ee.html,"i").replace("comment",ee._comment).replace("tag",ee._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ee.paragraph=Ee(ee.paragraph).replace("hr",ee.hr).replace("heading",ee.heading).replace("lheading",ee.lheading).replace("tag",ee._tag).getRegex(),ee.blockquote=Ee(ee.blockquote).replace("paragraph",ee.paragraph).getRegex(),ee.normal=F({},ee),ee.gfm=F({},ee.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),ee.gfm.paragraph=Ee(ee.paragraph).replace("(?!","(?!"+ee.gfm.fences.source.replace("\\1","\\2")+"|"+ee.list.source.replace("\\1","\\3")+"|").getRegex(),ee.tables=F({},ee.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),ee.pedantic=F({},ee.normal,{html:Ee(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ee._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+|$)/});function ie(Me){this.tokens=[],this.tokens.links=Object.create(null),this.options=Me||Oe.defaults,this.rules=ee.normal,this.options.pedantic?this.rules=ee.pedantic:this.options.gfm&&(this.options.tables?this.rules=ee.tables:this.rules=ee.gfm)}ie.rules=ee,ie.lex=function(Me,He){var Je=new ie(He);return Je.lex(Me)},ie.prototype.lex=function(Me){return Me=Me.replace(/\r\n|\r/g,`
+`+w.stack):w},0)}}return y.prototype.emit=function(w){this.listeners.forEach(function(f){f(w)})},y.prototype.onUnexpectedError=function(w){this.unexpectedErrorHandler(w),this.emit(w)},y.prototype.onUnexpectedExternalError=function(w){this.unexpectedErrorHandler(w)},y}(),le=new T;function $(y){D(y)||le.onUnexpectedError(y);return}function R(y){D(y)||le.onUnexpectedExternalError(y);return}function B(y){if(y instanceof Error){var w=y.name,f=y.message,v=y.stacktrace||y.stack;return{$isError:!0,name:w,message:f,stack:v}}return y}var z="Canceled";function D(y){return y instanceof Error&&y.name===z&&y.message===z}function W(){var y=new Error(z);return y.name=y.message,y}function x(y){return y?new Error("Illegal argument: "+y):new Error("Illegal argument")}function h(y){return y?new Error("Illegal state: "+y):new Error("Illegal state")}},"/kV6":function(Lt,N,e){"use strict";e.d(N,"b",function(){return z}),e.d(N,"a",function(){return D}),e.d(N,"f",function(){return W}),e.d(N,"e",function(){return h}),e.d(N,"d",function(){return w}),e.d(N,"c",function(){return f});var T=e("/cxE"),le=function(){function v(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return v.prototype.define=function(C,g){this._keyCodeToStr[C]=g,this._strToKeyCode[g.toLowerCase()]=C},v.prototype.keyCodeToStr=function(C){return this._keyCodeToStr[C]},v.prototype.strToKeyCode=function(C){return this._strToKeyCode[C.toLowerCase()]||0},v}(),$=new le,R=new le,B=new le;(function(){function v(C,g,u,s){u===void 0&&(u=g),s===void 0&&(s=u),$.define(C,g),R.define(C,u),B.define(C,s)}v(0,"unknown"),v(1,"Backspace"),v(2,"Tab"),v(3,"Enter"),v(4,"Shift"),v(5,"Ctrl"),v(6,"Alt"),v(7,"PauseBreak"),v(8,"CapsLock"),v(9,"Escape"),v(10,"Space"),v(11,"PageUp"),v(12,"PageDown"),v(13,"End"),v(14,"Home"),v(15,"LeftArrow","Left"),v(16,"UpArrow","Up"),v(17,"RightArrow","Right"),v(18,"DownArrow","Down"),v(19,"Insert"),v(20,"Delete"),v(21,"0"),v(22,"1"),v(23,"2"),v(24,"3"),v(25,"4"),v(26,"5"),v(27,"6"),v(28,"7"),v(29,"8"),v(30,"9"),v(31,"A"),v(32,"B"),v(33,"C"),v(34,"D"),v(35,"E"),v(36,"F"),v(37,"G"),v(38,"H"),v(39,"I"),v(40,"J"),v(41,"K"),v(42,"L"),v(43,"M"),v(44,"N"),v(45,"O"),v(46,"P"),v(47,"Q"),v(48,"R"),v(49,"S"),v(50,"T"),v(51,"U"),v(52,"V"),v(53,"W"),v(54,"X"),v(55,"Y"),v(56,"Z"),v(57,"Meta"),v(58,"ContextMenu"),v(59,"F1"),v(60,"F2"),v(61,"F3"),v(62,"F4"),v(63,"F5"),v(64,"F6"),v(65,"F7"),v(66,"F8"),v(67,"F9"),v(68,"F10"),v(69,"F11"),v(70,"F12"),v(71,"F13"),v(72,"F14"),v(73,"F15"),v(74,"F16"),v(75,"F17"),v(76,"F18"),v(77,"F19"),v(78,"NumLock"),v(79,"ScrollLock"),v(80,";",";","OEM_1"),v(81,"=","=","OEM_PLUS"),v(82,",",",","OEM_COMMA"),v(83,"-","-","OEM_MINUS"),v(84,".",".","OEM_PERIOD"),v(85,"/","/","OEM_2"),v(86,"`","`","OEM_3"),v(110,"ABNT_C1"),v(111,"ABNT_C2"),v(87,"[","[","OEM_4"),v(88,"\\","\\","OEM_5"),v(89,"]","]","OEM_6"),v(90,"'","'","OEM_7"),v(91,"OEM_8"),v(92,"OEM_102"),v(93,"NumPad0"),v(94,"NumPad1"),v(95,"NumPad2"),v(96,"NumPad3"),v(97,"NumPad4"),v(98,"NumPad5"),v(99,"NumPad6"),v(100,"NumPad7"),v(101,"NumPad8"),v(102,"NumPad9"),v(103,"NumPad_Multiply"),v(104,"NumPad_Add"),v(105,"NumPad_Separator"),v(106,"NumPad_Subtract"),v(107,"NumPad_Decimal"),v(108,"NumPad_Divide")})();var z;(function(v){function C(c){return $.keyCodeToStr(c)}v.toString=C;function g(c){return $.strToKeyCode(c)}v.fromString=g;function u(c){return R.keyCodeToStr(c)}v.toUserSettingsUS=u;function s(c){return B.keyCodeToStr(c)}v.toUserSettingsGeneral=s;function l(c){return R.strToKeyCode(c)||B.strToKeyCode(c)}v.fromUserSettings=l})(z||(z={}));function D(v,C){var g=(C&65535)<<16>>>0;return(v|g)>>>0}function W(v,C){if(v===0)return null;var g=(v&65535)>>>0,u=(v&4294901760)>>>16;return u!==0?new y([x(g,C),x(u,C)]):new y([x(g,C)])}function x(v,C){var g=!!(v&2048),u=!!(v&256),s=C===2?u:g,l=!!(v&1024),c=!!(v&512),p=C===2?g:u,_=v&255;return new h(s,l,c,p,_)}var h=function(){function v(C,g,u,s,l){this.ctrlKey=C,this.shiftKey=g,this.altKey=u,this.metaKey=s,this.keyCode=l}return v.prototype.equals=function(C){return this.ctrlKey===C.ctrlKey&&this.shiftKey===C.shiftKey&&this.altKey===C.altKey&&this.metaKey===C.metaKey&&this.keyCode===C.keyCode},v.prototype.isModifierKey=function(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4},v.prototype.toChord=function(){return new y([this])},v.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57},v}(),y=function(){function v(C){if(C.length===0)throw Object(T.b)("parts");this.parts=C}return v.prototype.equals=function(C){if(C===null)return!1;if(this.parts.length!==C.parts.length)return!1;for(var g=0;gthis._limit&&this._initialize(_.slice(_.length-this._limit))},p.prototype._initialize=function(_){this._history=new Set;for(var L=0,I=_;L=0;p--)(c=v[p])&&(l=(s<3?c(l):s>3?c(C,g,l):c(C,g))||l);return s>3&&l&&Object.defineProperty(C,g,l),l},w=function(v,C){return function(g,u){C(g,u,v)}},f=function(v){h(C,v);function C(g,u,s,l,c,p,_,L,I,P){var A=v.call(this,g,s.getRawOptions(),{},l,c,p,_,L,I,P)||this;return A._parentEditor=s,A._overwriteOptions=u,v.prototype.updateOptions.call(A,A._overwriteOptions),A._register(s.onDidChangeConfiguration(function(Q){return A._onParentConfigurationChanged(Q)})),A}return C.prototype.getParentEditor=function(){return this._parentEditor},C.prototype._onParentConfigurationChanged=function(g){v.prototype.updateOptions.call(this,this._parentEditor.getRawOptions()),v.prototype.updateOptions.call(this,this._overwriteOptions)},C.prototype.updateOptions=function(g){T.g(this._overwriteOptions,g,!0),v.prototype.updateOptions.call(this,this._overwriteOptions)},C=y([w(3,z.a),w(4,le.a),w(5,R.b),w(6,B.c),w(7,W.c),w(8,D.a),w(9,x.b)],C),C}($.a)},"09fa":function(Lt,N,e){"use strict";e.d(N,"a",function(){return le}),e.d(N,"b",function(){return $}),e.d(N,"c",function(){return R});var T=e("Cg/j"),le=Object(T.c)("logService"),$;(function(B){B[B.Trace=0]="Trace",B[B.Debug=1]="Debug",B[B.Info=2]="Info",B[B.Warning=3]="Warning",B[B.Error=4]="Error",B[B.Critical=5]="Critical",B[B.Off=6]="Off"})($||($={}));var R=function(){function B(){}return B.prototype.getLevel=function(){return $.Info},B.prototype.trace=function(z){for(var D=[],W=1;W/?";function le(W){W===void 0&&(W="");for(var x="(-?\\d*\\.\\d\\w*)|([^",h=0,y=T;h=0)continue;x+="\\"+w}return x+="\\s]+)",new RegExp(x,"g")}var $=le();function R(W){var x=$;if(W&&W instanceof RegExp)if(W.global)x=W;else{var h="g";W.ignoreCase&&(h+="i"),W.multiline&&(h+="m"),W.unicode&&(h+="u"),x=new RegExp(W.source,h)}return x.lastIndex=0,x}function B(W,x,h,y){var w=W-1-y,f=h.lastIndexOf(" ",w-1)+1;x.lastIndex=f;for(var v;v=x.exec(h);){var C=v.index||0;if(C<=w&&x.lastIndex>=w)return{word:v[0],startColumn:y+1+C,endColumn:y+1+x.lastIndex}}return null}function z(W,x,h,y){var w=W-1-y;x.lastIndex=0;for(var f;f=x.exec(h);){var v=f.index||0;if(v>w)return null;if(x.lastIndex>=w)return{word:f[0],startColumn:y+1+v,endColumn:y+1+x.lastIndex}}return null}function D(W,x,h,y){x.lastIndex=0;var w=x.exec(h);if(!w)return null;var f=w[0].indexOf(" ")>=0?z(W,x,h,y):B(W,x,h,y);return x.lastIndex=0,f}},"0oIH":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return e.e(304).then(e.bind(null,"Eg73"))}})},"10Fh":function(Lt,N,e){"use strict";e.r(N),e.d(N,"provideSelectionRanges",function(){return I});var T=e("6OMU"),le=e("JQT/"),$=e("sswD"),R=e("cGHE"),B=e("aokT"),z=e("gCVg"),D=e("wQH0"),W=e("twdY"),x=e("3/fG"),h=e("pmY6"),y=e("N0LK"),w=function(){function P(){}return P.prototype.provideSelectionRanges=function(A,Q){for(var K=[],H=0,V=Q;H=0;Se--){var Ve=V.charCodeAt(Se);if(Ve===95||Ve===45)break;if(Object(y.B)(Ve)&&Object(y.C)(Pe))break;Pe=Ve}for(Se+=1;Ie0&&Q.getLineFirstNonWhitespaceColumn(K.lineNumber)===0&&Q.getLineLastNonWhitespaceColumn(K.lineNumber)===0&&A.push({range:new B.a(K.lineNumber,1,K.lineNumber,Q.getLineMaxColumn(K.lineNumber))})},P}(),f=e("Z7SF"),v=e("nnTU"),C=e("/cxE"),g=function(){var P=function(A,Q){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,H){K.__proto__=H}||function(K,H){for(var V in H)H.hasOwnProperty(V)&&(K[V]=H[V])},P(A,Q)};return function(A,Q){P(A,Q);function K(){this.constructor=A}A.prototype=Q===null?Object.create(Q):(K.prototype=Q.prototype,new K)}}(),u=function(P,A,Q,K){function H(V){return V instanceof Q?V:new Q(function(de){de(V)})}return new(Q||(Q=Promise))(function(V,de){function _e(Pe){try{Ie(K.next(Pe))}catch(Ve){de(Ve)}}function Se(Pe){try{Ie(K.throw(Pe))}catch(Ve){de(Ve)}}function Ie(Pe){Pe.done?V(Pe.value):H(Pe.value).then(_e,Se)}Ie((K=K.apply(P,A||[])).next())})},s=function(P,A){var Q={label:0,sent:function(){if(V[0]&1)throw V[1];return V[1]},trys:[],ops:[]},K,H,V,de;return de={next:_e(0),throw:_e(1),return:_e(2)},typeof Symbol=="function"&&(de[Symbol.iterator]=function(){return this}),de;function _e(Ie){return function(Pe){return Se([Ie,Pe])}}function Se(Ie){if(K)throw new TypeError("Generator is already executing.");for(;Q;)try{if(K=1,H&&(V=Ie[0]&2?H.return:Ie[0]?H.throw||((V=H.return)&&V.call(H),0):H.next)&&!(V=V.call(H,Ie[1])).done)return V;(H=0,V)&&(Ie=[Ie[0]&2,V.value]);switch(Ie[0]){case 0:case 1:V=Ie;break;case 4:return Q.label++,{value:Ie[1],done:!1};case 5:Q.label++,H=Ie[1],Ie=[0];continue;case 7:Ie=Q.ops.pop(),Q.trys.pop();continue;default:if(!(V=Q.trys,V=V.length>0&&V[V.length-1])&&(Ie[0]===6||Ie[0]===2)){Q=0;continue}if(Ie[0]===3&&(!V||Ie[1]>V[0]&&Ie[1]=this.ranges.length)return this;var K=new P(Q,this.ranges);return K.ranges[Q].equalsRange(this.ranges[this.index])?K.mov(A):K},P}(),c=function(){function P(A){this._ignoreSelection=!1,this._editor=A}return P.get=function(A){return A.getContribution(P.ID)},P.prototype.dispose=function(){Object(h.f)(this._selectionListener)},P.prototype.run=function(A){var Q=this;if(!this._editor.hasModel())return;var K=this._editor.getSelections(),H=this._editor.getModel();if(!W.w.has(H))return;var V=Promise.resolve(void 0);return this._state||(V=I(H,K.map(function(de){return de.getPosition()}),le.a.None).then(function(de){if(!T.q(de)||de.length!==K.length)return;if(!Q._editor.hasModel()||!T.g(Q._editor.getSelections(),K,function(Ie,Pe){return Ie.equalsSelection(Pe)}))return;for(var _e=function(Ie){de[Ie]=de[Ie].filter(function(Pe){return Pe.containsPosition(K[Ie].getStartPosition())&&Pe.containsPosition(K[Ie].getEndPosition())}),de[Ie].unshift(K[Ie])},Se=0;Se=0;C--){var g=y.charCodeAt(C),u=w.get(g);if(u===0){if(v===2)return this._createWord(y,v,u,C+1,this._findEndOfWord(y,w,v,C+1));v=1}else if(u===2){if(v===1)return this._createWord(y,v,u,C+1,this._findEndOfWord(y,w,v,C+1));v=2}else if(u===1&&v!==0)return this._createWord(y,v,u,C+1,this._findEndOfWord(y,w,v,C+1))}return v!==0?this._createWord(y,v,1,0,this._findEndOfWord(y,w,v,0)):null},h._findEndOfWord=function(y,w,f,v){for(var C=y.length,g=v;g=0;C--){var g=y.charCodeAt(C),u=w.get(g);if(u===1)return C+1;if(f===1&&u===2)return C+1;if(f===2&&u===0)return C+1}return 0},h.moveWordLeft=function(y,w,f,v){var C=f.lineNumber,g=f.column,u=!1;g===1&&(C>1&&(u=!0,C=C-1,g=w.getLineMaxColumn(C)));var s=h._findPreviousWordOnLine(y,w,new R.a(C,g));if(v===0){if(s&&!u){var l=w.getLineLastNonWhitespaceColumn(C);if(l1?new R.a(f-1,y.getLineMaxColumn(f-1)):w;for(var C=y.getLineContent(f),g=w.column-1;g>1;g--){var u=C.charCodeAt(g-2),s=C.charCodeAt(g-1);if(u!==95&&s===95)return new R.a(f,g);if(T.B(u)&&T.C(s))return new R.a(f,g);if(T.C(u)&&T.C(s)&&g+1=s.start+1&&(s=h._findNextWordOnLine(y,w,new R.a(C,s.end+1))),s?g=s.start+1:g=w.getLineMaxColumn(C);return new R.a(C,g)},h._moveWordPartRight=function(y,w){var f=w.lineNumber,v=y.getLineMaxColumn(f);if(w.column===v)return f1?s=1:(u--,s=w.getLineMaxColumn(u)):(c&&s<=c.end+1&&(c=h._findPreviousWordOnLine(y,w,new R.a(u,c.start+1))),c?s=c.end+1:s>1?s=1:(u--,s=w.getLineMaxColumn(u))),new B.a(u,s,g.lineNumber,g.column)},h._deleteWordPartLeft=function(y,w){if(!w.isEmpty())return w;var f=w.getPosition(),v=h._moveWordPartLeft(y,f);return new B.a(f.lineNumber,f.column,v.lineNumber,v.column)},h._findFirstNonWhitespaceChar=function(y,w){for(var f=y.length,v=w;v=_.start+1&&(_=h._findNextWordOnLine(y,w,new R.a(u,_.end+1))),_?s=_.start+1:sde,Pe=V>_e,Ve=V<_e,ke=[],se=0;se_e)continue;if(ZV)continue;if(ce<_e)continue}ke.push(new B.f(new D.a(ee,ie,ee,ie),0,new z.a(ee,q),0))}if(ke.length===0)for(var se=0;se1&&V--,A.columnSelect(Q,K,H.fromViewLineNumber,H.fromViewVisualColumn,H.toViewLineNumber,V)},A.columnSelectRight=function(Q,K,H){for(var V=0,de=Math.min(H.fromViewLineNumber,H.toViewLineNumber),_e=Math.max(H.fromViewLineNumber,H.toViewLineNumber),Se=de;Se<=_e;Se++){var Ie=K.getLineMaxColumn(Se),Pe=B.a.visibleColumnFromColumn2(Q,K,new z.a(Se,Ie));V=Math.max(V,Pe)}var Ve=H.toViewVisualColumn;return Ve1)for(var ve=Ge.modelState?Ge.modelState.position:null,Ee=Ge.viewState?Ge.viewState.position:null,xe=0,Ce=ue.length;xeue&&(Ge=ue);var ve=new D.a(Ge,1,Ge,Z.context.model.getLineMaxColumn(Ge)),Ee=0;if(je.at)switch(je.at){case l.RawAtArgument.Top:Ee=3;break;case l.RawAtArgument.Center:Ee=1;break;case l.RawAtArgument.Bottom:Ee=4;break;default:break}var xe=Z.context.convertModelRangeToViewRange(ve);Z.revealRange(ye.source,!1,xe,Ee,0)},ce}(u))),A.SelectAll=Object($.g)(new(function(q){C(ce,q);function ce(){return q.call(this,{id:"selectAll",precondition:void 0})||this}return ce.prototype.runCoreEditorCommand=function(Z,ye){Z.context.model.pushStackElement(),Z.setStates(ye.source,3,[h.b.selectAll(Z.context,Z.getPrimaryCursor())])},ce}(u))),A.SetSelection=Object($.g)(new(function(q){C(ce,q);function ce(){return q.call(this,{id:"setSelection",precondition:void 0})||this}return ce.prototype.runCoreEditorCommand=function(Z,ye){Z.context.model.pushStackElement(),Z.setStates(ye.source,3,[B.d.fromModelSelection(ye.selection)])},ce}(u)))})(c||(c={}));var p;(function(A){var Q=function(K){C(H,K);function H(){return K!==null&&K.apply(this,arguments)||this}return H.prototype.runEditorCommand=function(V,de,_e){var Se=de._getCursors();if(!Se)return;this.runCoreEditingCommand(de,Se,_e||{})},H}($.c);A.CoreEditingCommand=Q,A.LineBreakInsert=Object($.g)(new(function(K){C(H,K);function H(){return K.call(this,{id:"lineBreakInsert",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:0,mac:{primary:256|45}}})||this}return H.prototype.runCoreEditingCommand=function(V,de,_e){V.pushUndoStop(),V.executeCommands(this.id,y.a.lineBreakInsert(de.context.config,de.context.model,de.getAll().map(function(Se){return Se.modelState.selection})))},H}(Q))),A.Outdent=Object($.g)(new(function(K){C(H,K);function H(){return K.call(this,{id:"outdent",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:v.a.and(f.a.editorTextFocus,f.a.tabDoesNotMoveFocus),primary:1024|2}})||this}return H.prototype.runCoreEditingCommand=function(V,de,_e){V.pushUndoStop(),V.executeCommands(this.id,y.a.outdent(de.context.config,de.context.model,de.getAll().map(function(Se){return Se.modelState.selection}))),V.pushUndoStop()},H}(Q))),A.Tab=Object($.g)(new(function(K){C(H,K);function H(){return K.call(this,{id:"tab",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:v.a.and(f.a.editorTextFocus,f.a.tabDoesNotMoveFocus),primary:2}})||this}return H.prototype.runCoreEditingCommand=function(V,de,_e){V.pushUndoStop(),V.executeCommands(this.id,y.a.tab(de.context.config,de.context.model,de.getAll().map(function(Se){return Se.modelState.selection}))),V.pushUndoStop()},H}(Q))),A.DeleteLeft=Object($.g)(new(function(K){C(H,K);function H(){return K.call(this,{id:"deleteLeft",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:1,secondary:[1024|1],mac:{primary:1,secondary:[1024|1,256|38,256|1]}}})||this}return H.prototype.runCoreEditingCommand=function(V,de,_e){var Se=x.a.deleteLeft(de.getPrevEditOperationType(),de.context.config,de.context.model,de.getAll().map(function(Ve){return Ve.modelState.selection})),Ie=Se[0],Pe=Se[1];Ie&&V.pushUndoStop(),V.executeCommands(this.id,Pe),de.setPrevEditOperationType(2)},H}(Q))),A.DeleteRight=Object($.g)(new(function(K){C(H,K);function H(){return K.call(this,{id:"deleteRight",precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:20,mac:{primary:20,secondary:[256|34,256|20]}}})||this}return H.prototype.runCoreEditingCommand=function(V,de,_e){var Se=x.a.deleteRight(de.getPrevEditOperationType(),de.context.config,de.context.model,de.getAll().map(function(Ve){return Ve.modelState.selection})),Ie=Se[0],Pe=Se[1];Ie&&V.pushUndoStop(),V.executeCommands(this.id,Pe),de.setPrevEditOperationType(3)},H}(Q)))})(p||(p={}));function _(A){A.register()}var L=function(A){C(Q,A);function Q(K){var H=A.call(this,K)||this;return H._editorHandler=K.editorHandler,H._inputHandler=K.inputHandler,H}return Q.prototype.runCommand=function(K,H){var V=K.get(R.a).getFocusedCodeEditor();if(V&&V.hasTextFocus())return this._runEditorHandler(K,V,H);var de=document.activeElement;if(de&&["input","textarea"].indexOf(de.tagName.toLowerCase())>=0){document.execCommand(this._inputHandler);return}var _e=K.get(R.a).getActiveCodeEditor();if(_e)return _e.focus(),this._runEditorHandler(K,_e,H)},Q.prototype._runEditorHandler=function(K,H,V){var de=this._editorHandler;typeof de=="string"?H.trigger("keyboard",de,V):(V=V||{},V.source="keyboard",de.runEditorCommand(K,H,V))},Q}($.a),I=function(A){C(Q,A);function Q(K,H,V){var de=A.call(this,{id:K,precondition:void 0,description:V})||this;return de._handlerId=H,de}return Q.prototype.runCommand=function(K,H){var V=K.get(R.a).getFocusedCodeEditor();if(!V)return;V.trigger("keyboard",this._handlerId,H)},Q}($.a);_(new L({editorHandler:c.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:f.a.textInputFocus,kbOpts:{weight:g,kbExpr:null,primary:2048|31},menuOpts:{menuId:25,group:"1_basic",title:T.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),_(new L({editorHandler:w.b.Undo,inputHandler:"undo",id:w.b.Undo,precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:2048|56},menuOpts:{menuId:17,group:"1_do",title:T.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),_(new I("default:"+w.b.Undo,w.b.Undo)),_(new L({editorHandler:w.b.Redo,inputHandler:"redo",id:w.b.Redo,precondition:f.a.writable,kbOpts:{weight:g,kbExpr:f.a.textInputFocus,primary:2048|55,secondary:[2048|1024|56],mac:{primary:2048|1024|56}},menuOpts:{menuId:17,group:"1_do",title:T.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),_(new I("default:"+w.b.Redo,w.b.Redo));function P(A,Q){_(new I("default:"+A,A)),_(new I(A,A,Q))}P(w.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),P(w.b.ReplacePreviousChar),P(w.b.CompositionStart),P(w.b.CompositionEnd),P(w.b.Paste),P(w.b.Cut)},"1lwE":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return e.e(339).then(e.bind(null,"cOMg"))}})},"23p7":function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return e.e(292).then(e.bind(null,"aA7r"))}})},"24hK":function(Lt,N,e){"use strict";e.d(N,"a",function(){return $});var T=e("JYp7"),le=function(){function R(B){this.element=B,this.next=R.Undefined,this.prev=R.Undefined}return R.Undefined=new R(void 0),R}(),$=function(){function R(){this._first=le.Undefined,this._last=le.Undefined,this._size=0}return Object.defineProperty(R.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),R.prototype.isEmpty=function(){return this._first===le.Undefined},R.prototype.clear=function(){this._first=le.Undefined,this._last=le.Undefined,this._size=0},R.prototype.unshift=function(B){return this._insert(B,!1)},R.prototype.push=function(B){return this._insert(B,!0)},R.prototype._insert=function(B,z){var D=this,W=new le(B);if(this._first===le.Undefined)this._first=W,this._last=W;else if(z){var x=this._last;this._last=W,W.prev=x,x.next=W}else{var h=this._first;this._first=W,W.next=h,h.prev=W}this._size+=1;var y=!1;return function(){y||(y=!0,D._remove(W))}},R.prototype.shift=function(){if(this._first===le.Undefined)return;var B=this._first.element;return this._remove(this._first),B},R.prototype.pop=function(){if(this._last===le.Undefined)return;var B=this._last.element;return this._remove(this._last),B},R.prototype._remove=function(B){if(B.prev!==le.Undefined&&B.next!==le.Undefined){var z=B.prev;z.next=B.next,B.next.prev=z}else B.prev===le.Undefined&&B.next===le.Undefined?(this._first=le.Undefined,this._last=le.Undefined):B.next===le.Undefined?(this._last=this._last.prev,this._last.next=le.Undefined):B.prev===le.Undefined&&(this._first=this._first.next,this._first.prev=le.Undefined);this._size-=1},R.prototype.iterator=function(){var B,z=this._first;return{next:function(){return z===le.Undefined?T.c:(B?B.value=z.element:B={done:!1,value:z.element},z=z.next,B)}}},R.prototype.toArray=function(){for(var B=[],z=this._first;z!==le.Undefined;z=z.next)B.push(z.element);return B},R}()},"2ESN":function(Lt,N,e){"use strict";e.r(N);var T=e("YHy6"),le=e("3/fG"),$=e("X+cX"),R=e("JQT/"),B=e("/cxE"),z=e("eLzo"),D=e("pmY6"),W=e("MNsG"),x=e("sswD"),h=e("tX9W"),y=e("twdY"),w=e("aBYw"),f=e("bY76"),v=e("aokT"),C=e("G2kB"),g=e("nnTU"),u=e("6OMU"),s=function(){var ee=function(ie,q){return ee=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,Z){ce.__proto__=Z}||function(ce,Z){for(var ye in Z)Z.hasOwnProperty(ye)&&(ce[ye]=Z[ye])},ee(ie,q)};return function(ie,q){ee(ie,q);function ce(){this.constructor=ie}ie.prototype=q===null?Object.create(q):(ce.prototype=q.prototype,new ce)}}(),l=function(ee,ie,q,ce){function Z(ye){return ye instanceof q?ye:new q(function(je){je(ye)})}return new(q||(q=Promise))(function(ye,je){function Ge(Ee){try{ve(ce.next(Ee))}catch(xe){je(xe)}}function ue(Ee){try{ve(ce.throw(Ee))}catch(xe){je(xe)}}function ve(Ee){Ee.done?ye(Ee.value):Z(Ee.value).then(Ge,ue)}ve((ce=ce.apply(ee,ie||[])).next())})},c=function(ee,ie){var q={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},ce,Z,ye,je;return je={next:Ge(0),throw:Ge(1),return:Ge(2)},typeof Symbol=="function"&&(je[Symbol.iterator]=function(){return this}),je;function Ge(ve){return function(Ee){return ue([ve,Ee])}}function ue(ve){if(ce)throw new TypeError("Generator is already executing.");for(;q;)try{if(ce=1,Z&&(ye=ve[0]&2?Z.return:ve[0]?Z.throw||((ye=Z.return)&&ye.call(Z),0):Z.next)&&!(ye=ye.call(Z,ve[1])).done)return ye;(Z=0,ye)&&(ve=[ve[0]&2,ye.value]);switch(ve[0]){case 0:case 1:ye=ve;break;case 4:return q.label++,{value:ve[1],done:!1};case 5:q.label++,Z=ve[1],ve=[0];continue;case 7:ve=q.ops.pop(),q.trys.pop();continue;default:if(!(ye=q.trys,ye=ye.length>0&&ye[ye.length-1])&&(ve[0]===6||ve[0]===2)){q=0;continue}if(ve[0]===3&&(!ye||ve[1]>ye[0]&&ve[1]=0;Ge--)(je=ee[Ge])&&(ye=(Z<3?je(ye):Z>3?je(ie,q,ye):je(ie,q))||ye);return Z>3&&ye&&Object.defineProperty(ie,q,ye),ye},de=function(ee,ie){return function(q,ce){ie(q,ce,ee)}},_e=function(ee,ie,q,ce){function Z(ye){return ye instanceof q?ye:new q(function(je){je(ye)})}return new(q||(q=Promise))(function(ye,je){function Ge(Ee){try{ve(ce.next(Ee))}catch(xe){je(xe)}}function ue(Ee){try{ve(ce.throw(Ee))}catch(xe){je(xe)}}function ve(Ee){Ee.done?ye(Ee.value):Z(Ee.value).then(Ge,ue)}ve((ce=ce.apply(ee,ie||[])).next())})},Se=function(ee,ie){var q={label:0,sent:function(){if(ye[0]&1)throw ye[1];return ye[1]},trys:[],ops:[]},ce,Z,ye,je;return je={next:Ge(0),throw:Ge(1),return:Ge(2)},typeof Symbol=="function"&&(je[Symbol.iterator]=function(){return this}),je;function Ge(ve){return function(Ee){return ue([ve,Ee])}}function ue(ve){if(ce)throw new TypeError("Generator is already executing.");for(;q;)try{if(ce=1,Z&&(ye=ve[0]&2?Z.return:ve[0]?Z.throw||((ye=Z.return)&&ye.call(Z),0):Z.next)&&!(ye=ye.call(Z,ve[1])).done)return ye;(Z=0,ye)&&(ve=[ve[0]&2,ye.value]);switch(ve[0]){case 0:case 1:ye=ve;break;case 4:return q.label++,{value:ve[1],done:!1};case 5:q.label++,Z=ve[1],ve=[0];continue;case 7:ve=q.ops.pop(),q.trys.pop();continue;default:if(!(ye=q.trys,ye=ye.length>0&&ye[ye.length-1])&&(ve[0]===6||ve[0]===2)){q=0;continue}if(ve[0]===3&&(!ye||ve[1]>ye[0]&&ve[1]1){var Ve=Pe.shift();Ve&&Ve.container&&(H.focusItemByElement(Ve.container),Pe.push(Ve)),H.mnemonics.set(Ie,Pe)}}})),w.d&&H._register(Object(D.j)(V,D.d.KEY_DOWN,function(Se){var Ie=new W.a(Se);Ie.equals(14)||Ie.equals(11)?(H.focusedItem=H.viewItems.length-1,H.focusNext(),D.c.stop(Se,!0)):(Ie.equals(13)||Ie.equals(12))&&(H.focusedItem=0,H.focusPrevious(),D.c.stop(Se,!0))})),H._register(Object(D.j)(H.domNode,D.d.MOUSE_OUT,function(Se){var Ie=Se.relatedTarget;Object(D.K)(Ie,H.domNode)||(H.focusedItem=void 0,H.updateFocus(),Se.stopPropagation())})),H._register(Object(D.j)(H.actionsList,D.d.MOUSE_OVER,function(Se){var Ie=Se.target;if(!Ie||!Object(D.K)(Ie,H.actionsList)||Ie===H.actionsList)return;for(;Ie.parentElement!==H.actionsList&&Ie.parentElement!==null;)Ie=Ie.parentElement;if(Object(D.I)(Ie,"action-item")){var Pe=H.focusedItem;H.setFocusedItem(Ie),Pe!==H.focusedItem&&H.updateFocus()}}));var de={parent:H};H.mnemonics=new Map,H.scrollableElement=H._register(new y.a(V,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));var _e=H.scrollableElement.getDomNode();return _e.style.position="",H._register(Object(D.j)(_e,D.d.MOUSE_UP,function(Se){Se.preventDefault()})),V.style.maxHeight=Math.max(10,window.innerHeight-A.getBoundingClientRect().top-30)+"px",H.push(Q,{icon:!0,label:!0,isMenu:!0}),A.appendChild(H.scrollableElement.getDomNode()),H.scrollableElement.scanDomNode(),H.viewItems.filter(function(Se){return!(Se instanceof _)}).forEach(function(Se,Ie,Pe){Se.updatePositionInSet(Ie+1,Pe.length)}),H}return P.prototype.style=function(A){var Q=this.getContainer(),K=A.foregroundColor?""+A.foregroundColor:"",H=A.backgroundColor?""+A.backgroundColor:"",V=A.borderColor?"1px solid "+A.borderColor:"",de=A.shadowColor?"0 2px 4px "+A.shadowColor:"";Q.style.border=V,this.domNode.style.color=K,this.domNode.style.backgroundColor=H,Q.style.boxShadow=de,this.viewItems&&this.viewItems.forEach(function(_e){(_e instanceof c||_e instanceof _)&&_e.style(A)})},P.prototype.getContainer=function(){return this.scrollableElement.getDomNode()},Object.defineProperty(P.prototype,"onScroll",{get:function(){return this.scrollableElement.onScroll},enumerable:!0,configurable:!0}),Object.defineProperty(P.prototype,"scrollOffset",{get:function(){return this.menuElement.scrollTop},enumerable:!0,configurable:!0}),P.prototype.focusItemByElement=function(A){var Q=this.focusedItem;this.setFocusedItem(A),Q!==this.focusedItem&&this.updateFocus()},P.prototype.setFocusedItem=function(A){for(var Q=0;Q'+H[3]+""+A.substr(H.index+H[0].length)),A=A.replace(/&&/g,"&"),this.item&&this.item.setAttribute("aria-keyshortcuts",(K[1]?K[1]:K[3]).toLocaleLowerCase())}else A=A.replace(/&&/g,"&")}this.label&&(this.label.innerHTML=A.trim())}},P.prototype.updateTooltip=function(){var A=null;this.getAction().tooltip?A=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(A=this.getAction().label,this.options.keybinding&&(A=$.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",A,this.options.keybinding))),A&&this.item&&(this.item.title=A)},P.prototype.updateClass=function(){this.cssClass&&this.item&&Object(D.Q)(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(D.f)(this.label,"icon"),this.cssClass&&Object(D.g)(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(D.P)(this.label,"icon")},P.prototype.updateEnabled=function(){this.getAction().enabled?(this.element&&Object(D.P)(this.element,"disabled"),this.item&&(Object(D.P)(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(D.f)(this.element,"disabled"),this.item&&(Object(D.f)(this.item,"disabled"),Object(D.S)(this.item)))},P.prototype.updateChecked=function(){if(!this.item)return;this.getAction().checked?(Object(D.f)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(D.P)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false"))},P.prototype.getMnemonic=function(){return this.mnemonic},P.prototype.applyStyle=function(){if(!this.menuStyle)return;var A=this.element&&Object(D.I)(this.element,"focused"),Q=A&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,K=A&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,H=A&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=Q?Q.toString():"",this.item.style.backgroundColor=K?K.toString():""),this.check&&(this.check.style.color=Q?Q.toString():""),this.container&&(this.container.style.border=H)},P.prototype.style=function(A){this.menuStyle=A,this.applyStyle()},P}(z.c),p=function(I){f(P,I);function P(A,Q,K,H){var V=I.call(this,A,A,H)||this;return V.submenuActions=Q,V.parentData=K,V.submenuOptions=H,V.mysubmenu=null,V.submenuDisposables=V._register(new h.b),V.mouseOver=!1,V.expandDirection=H&&H.expandDirection!==void 0?H.expandDirection:u.Right,V.showScheduler=new x.d(function(){V.mouseOver&&(V.cleanupExistingSubmenu(!1),V.createSubmenu(!1))},250),V.hideScheduler=new x.d(function(){V.element&&!Object(D.K)(document.activeElement,V.element)&&V.parentData.submenu===V.mysubmenu&&(V.parentData.parent.focus(!1),V.cleanupExistingSubmenu(!0))},750),V}return P.prototype.render=function(A){var Q=this;if(I.prototype.render.call(this,A),!this.element)return;this.item&&(Object(D.f)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(D.q)(this.item,Object(D.a)("span.submenu-indicator.codicon.codicon-chevron-right")),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(D.j)(this.element,D.d.KEY_UP,function(K){var H=new W.a(K);(H.equals(17)||H.equals(3))&&(D.c.stop(K,!0),Q.createSubmenu(!0))})),this._register(Object(D.j)(this.element,D.d.KEY_DOWN,function(K){var H=new W.a(K);document.activeElement===Q.item&&((H.equals(17)||H.equals(3))&&D.c.stop(K,!0))})),this._register(Object(D.j)(this.element,D.d.MOUSE_OVER,function(K){Q.mouseOver||(Q.mouseOver=!0,Q.showScheduler.schedule())})),this._register(Object(D.j)(this.element,D.d.MOUSE_LEAVE,function(K){Q.mouseOver=!1})),this._register(Object(D.j)(this.element,D.d.FOCUS_OUT,function(K){Q.element&&!Object(D.K)(document.activeElement,Q.element)&&Q.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(function(){Q.parentData.parent.focus(!1),Q.cleanupExistingSubmenu(!1)}))},P.prototype.onClick=function(A){D.c.stop(A,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)},P.prototype.cleanupExistingSubmenu=function(A){this.parentData.submenu&&(A||this.parentData.submenu!==this.mysubmenu)&&(this.parentData.submenu.dispose(),this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0))},P.prototype.createSubmenu=function(A){var Q=this;if(A===void 0&&(A=!0),!this.element)return;if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(D.q)(this.element,Object(D.a)("div.monaco-submenu")),Object(D.g)(this.submenuContainer,"menubar-menu-items-holder","context-view");var K=getComputedStyle(this.parentData.parent.domNode),H=parseFloat(K.paddingTop||"0")||0;this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-H+"px",this.parentData.submenu=new l(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);var V=this.element.getBoundingClientRect(),de=this.submenuContainer.getBoundingClientRect();this.expandDirection===u.Right?window.innerWidth<=V.right+de.width?(this.submenuContainer.style.left="10px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset+V.height+"px"):(this.submenuContainer.style.left=this.element.offsetWidth+"px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-H+"px"):this.expandDirection===u.Left&&(this.submenuContainer.style.right=this.element.offsetWidth+"px",this.submenuContainer.style.left="auto",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-H+"px"),this.submenuDisposables.add(Object(D.j)(this.submenuContainer,D.d.KEY_UP,function(_e){var Se=new W.a(_e);Se.equals(15)&&(D.c.stop(_e,!0),Q.parentData.parent.focus(),Q.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(D.j)(this.submenuContainer,D.d.KEY_DOWN,function(_e){var Se=new W.a(_e);Se.equals(15)&&D.c.stop(_e,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(function(){Q.parentData.parent.focus(),Q.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(A),this.mysubmenu=this.parentData.submenu}},P.prototype.updateAriaExpanded=function(A){var Q;this.item&&((Q=this.item)===null||Q===void 0||Q.setAttribute("aria-expanded",A))},P.prototype.applyStyle=function(){if(I.prototype.applyStyle.call(this),!this.menuStyle)return;var A=this.element&&Object(D.I)(this.element,"focused"),Q=A&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=Q?""+Q:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)},P.prototype.dispose=function(){I.prototype.dispose.call(this),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)},P}(c),_=function(I){f(P,I);function P(){return I!==null&&I.apply(this,arguments)||this}return P.prototype.style=function(A){this.label&&(this.label.style.borderBottomColor=A.separatorColor?""+A.separatorColor:"")},P}(z.b);function L(I){var P=C,A=P.exec(I);if(!A)return I;var Q=!A[1];return I.replace(P,Q?"$2$3":"").trim()}},"3/fG":function(Lt,N,e){"use strict";e.d(N,"a",function(){return le});function T($,R){var B;return R.length===0?B=$:B=$.replace(/\{(\d+)\}/g,function(z,D){var W=D[0];return typeof R[W]!="undefined"?R[W]:z}),B}function le($,R){for(var B=[],z=2;z0&&D.charAt(D.length-1)==="#"?D.substring(0,D.length-1):D}var B=function(){function D(){this._onDidChangeSchema=new le.a,this.schemasById={}}return D.prototype.registerSchema=function(W,x){this.schemasById[R(W)]=x,this._onDidChangeSchema.fire(W)},D.prototype.notifySchemaChanged=function(W){this._onDidChangeSchema.fire(W)},D}(),z=new B;T.a.add($.JSONContribution,z)},"3qCu":function(Lt,N,e){"use strict";e.d(N,"a",function(){return ke});var T=e("EffR"),le=e("Md8J"),$=e("/cxE"),R=e("eLzo"),B=e("nD70"),z;(function(se){"use strict";var ee={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:b,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:b,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:b,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};ee._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ee._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ee.def=Ee(ee.def).replace("label",ee._label).replace("title",ee._title).getRegex(),ee.bullet=/(?:[*+-]|\d{1,9}\.)/,ee.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,ee.item=Ee(ee.item,"gm").replace(/bull/g,ee.bullet).getRegex(),ee.list=Ee(ee.list).replace(/bull/g,ee.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ee.def.source+")").getRegex(),ee._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",ee._comment=//,ee.html=Ee(ee.html,"i").replace("comment",ee._comment).replace("tag",ee._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ee.paragraph=Ee(ee.paragraph).replace("hr",ee.hr).replace("heading",ee.heading).replace("lheading",ee.lheading).replace("tag",ee._tag).getRegex(),ee.blockquote=Ee(ee.blockquote).replace("paragraph",ee.paragraph).getRegex(),ee.normal=F({},ee),ee.gfm=F({},ee.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),ee.gfm.paragraph=Ee(ee.paragraph).replace("(?!","(?!"+ee.gfm.fences.source.replace("\\1","\\2")+"|"+ee.list.source.replace("\\1","\\3")+"|").getRegex(),ee.tables=F({},ee.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),ee.pedantic=F({},ee.normal,{html:Ee(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ee._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+|$)/});function ie(Me){this.tokens=[],this.tokens.links=Object.create(null),this.options=Me||Oe.defaults,this.rules=ee.normal,this.options.pedantic?this.rules=ee.pedantic:this.options.gfm&&(this.options.tables?this.rules=ee.tables:this.rules=ee.gfm)}ie.rules=ee,ie.lex=function(Me,Ue){var Je=new ie(Ue);return Je.lex(Me)},ie.prototype.lex=function(Me){return Me=Me.replace(/\r\n|\r/g,`
`).replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,`
-`),this.token(Me,!0)},ie.prototype.token=function(Me,He){Me=Me.replace(/^ +$/gm,"");for(var Je,nt,vt,Rt,Dt,Kt,ao,lo,so,jt,pt,gt,Tt,it,et,ut;Me;){if((vt=this.rules.newline.exec(Me))&&(Me=Me.substring(vt[0].length),vt[0].length>1&&this.tokens.push({type:"space"})),vt=this.rules.code.exec(Me)){Me=Me.substring(vt[0].length),vt=vt[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?vt:ne(vt,`
+`),this.token(Me,!0)},ie.prototype.token=function(Me,Ue){Me=Me.replace(/^ +$/gm,"");for(var Je,nt,vt,Rt,Dt,Kt,ao,lo,so,jt,pt,gt,Tt,it,et,ut;Me;){if((vt=this.rules.newline.exec(Me))&&(Me=Me.substring(vt[0].length),vt[0].length>1&&this.tokens.push({type:"space"})),vt=this.rules.code.exec(Me)){Me=Me.substring(vt[0].length),vt=vt[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?vt:ne(vt,`
`)});continue}if(vt=this.rules.fences.exec(Me)){Me=Me.substring(vt[0].length),this.tokens.push({type:"code",lang:vt[2]?vt[2].trim():vt[2],text:vt[3]||""});continue}if(vt=this.rules.heading.exec(Me)){Me=Me.substring(vt[0].length),this.tokens.push({type:"heading",depth:vt[1].length,text:vt[2]});continue}if((vt=this.rules.nptable.exec(Me))&&(Kt={type:"table",header:re(vt[1].replace(/^ *| *\| *$/g,"")),align:vt[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:vt[3]?vt[3].replace(/\n$/,"").split(`
-`):[]},Kt.header.length===Kt.align.length)){for(Me=Me.substring(vt[0].length),pt=0;pt ?/gm,""),this.token(vt,He),this.tokens.push({type:"blockquote_end"});continue}if(vt=this.rules.list.exec(Me)){for(Me=Me.substring(vt[0].length),Rt=vt[2],it=Rt.length>1,ao={type:"list_start",ordered:it,start:it?+Rt:"",loose:!1},this.tokens.push(ao),vt=vt[0].match(this.rules.item),lo=[],Je=!1,Tt=vt.length,pt=0;pt ?/gm,""),this.token(vt,Ue),this.tokens.push({type:"blockquote_end"});continue}if(vt=this.rules.list.exec(Me)){for(Me=Me.substring(vt[0].length),Rt=vt[2],it=Rt.length>1,ao={type:"list_start",ordered:it,start:it?+Rt:"",loose:!1},this.tokens.push(ao),vt=vt[0].match(this.rules.item),lo=[],Je=!1,Tt=vt.length,pt=0;pt1?Dt.length===1:Dt.length>1||this.options.smartLists&&Dt!==Rt)&&(Me=vt.slice(pt+1).join(`
`)+Me,pt=Tt-1)),nt=Je||/\n\n(?!\s*$)/.test(Kt),pt!==Tt-1&&(Je=Kt.charAt(Kt.length-1)===`
-`,nt||(nt=Je)),nt&&(ao.loose=!0),et=/^\[[ xX]\] /.test(Kt),ut=void 0,et&&(ut=Kt[1]!==" ",Kt=Kt.replace(/^\[[ xX]\] +/,"")),so={type:"list_item_start",task:et,checked:ut,loose:nt},lo.push(so),this.tokens.push(so),this.token(Kt,!1),this.tokens.push({type:"list_item_end"});if(ao.loose)for(Tt=lo.length,pt=0;pt?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:b,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:b,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~`,q.em=Ee(q.em).replace(/punctuation/g,q._punctuation).getRegex(),q._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,q._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,q._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])?)+(?![-_])/,q.autolink=Ee(q.autolink).replace("scheme",q._scheme).replace("email",q._email).getRegex(),q._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,q.tag=Ee(q.tag).replace("comment",ee._comment).replace("attribute",q._attribute).getRegex(),q._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,q._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,q._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,q.link=Ee(q.link).replace("label",q._label).replace("href",q._href).replace("title",q._title).getRegex(),q.reflink=Ee(q.reflink).replace("label",q._label).getRegex(),q.normal=F({},q),q.pedantic=F({},q.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:Ee(/^!?\[(label)\]\((.*?)\)/).replace("label",q._label).getRegex(),reflink:Ee(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",q._label).getRegex()}),q.gfm=F({},q.normal,{escape:Ee(q.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(Dt[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(Dt[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Dt[0])&&(this.inRawBlock=!1),Me=Me.substring(Dt[0].length),He+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Dt[0]):ue(Dt[0]):Dt[0];continue}if(Dt=this.rules.link.exec(Me)){var ao=fe(Dt[2],"()");if(ao>-1){var lo=Dt[0].length-(Dt[2].length-ao)-(Dt[3]||"").length;Dt[2]=Dt[2].substring(0,ao),Dt[0]=Dt[0].substring(0,lo).trim(),Dt[3]=""}Me=Me.substring(Dt[0].length),this.inLink=!0,vt=Dt[2],this.options.pedantic?(Je=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(vt),Je?(vt=Je[1],Rt=Je[3]):Rt=""):Rt=Dt[3]?Dt[3].slice(1,-1):"",vt=vt.trim().replace(/^<([\s\S]*)>$/,"$1"),He+=this.outputLink(Dt,{href:ce.escapes(vt),title:ce.escapes(Rt)}),this.inLink=!1;continue}if((Dt=this.rules.reflink.exec(Me))||(Dt=this.rules.nolink.exec(Me))){if(Me=Me.substring(Dt[0].length),Je=(Dt[2]||Dt[1]).replace(/\s+/g," "),Je=this.links[Je.toLowerCase()],!Je||!Je.href){He+=Dt[0].charAt(0),Me=Dt[0].substring(1)+Me;continue}this.inLink=!0,He+=this.outputLink(Dt,Je),this.inLink=!1;continue}if(Dt=this.rules.strong.exec(Me)){Me=Me.substring(Dt[0].length),He+=this.renderer.strong(this.output(Dt[4]||Dt[3]||Dt[2]||Dt[1]));continue}if(Dt=this.rules.em.exec(Me)){Me=Me.substring(Dt[0].length),He+=this.renderer.em(this.output(Dt[6]||Dt[5]||Dt[4]||Dt[3]||Dt[2]||Dt[1]));continue}if(Dt=this.rules.code.exec(Me)){Me=Me.substring(Dt[0].length),He+=this.renderer.codespan(ue(Dt[2].trim(),!0));continue}if(Dt=this.rules.br.exec(Me)){Me=Me.substring(Dt[0].length),He+=this.renderer.br();continue}if(Dt=this.rules.del.exec(Me)){Me=Me.substring(Dt[0].length),He+=this.renderer.del(this.output(Dt[1]));continue}if(Dt=this.rules.autolink.exec(Me)){Me=Me.substring(Dt[0].length),Dt[2]==="@"?(nt=ue(this.mangle(Dt[1])),vt="mailto:"+nt):(nt=ue(Dt[1]),vt=nt),He+=this.renderer.link(vt,null,nt);continue}if(!this.inLink&&(Dt=this.rules.url.exec(Me))){if(Dt[2]==="@")nt=ue(Dt[0]),vt="mailto:"+nt;else{do Kt=Dt[0],Dt[0]=this.rules._backpedal.exec(Dt[0])[0];while(Kt!==Dt[0]);nt=ue(Dt[0]),Dt[1]==="www."?vt="http://"+nt:vt=nt}Me=Me.substring(Dt[0].length),He+=this.renderer.link(vt,null,nt);continue}if(Dt=this.rules.text.exec(Me)){Me=Me.substring(Dt[0].length),this.inRawBlock?He+=this.renderer.text(Dt[0]):He+=this.renderer.text(ue(this.smartypants(Dt[0])));continue}if(Me)throw new Error("Infinite loop on byte: "+Me.charCodeAt(0))}return He},ce.escapes=function(Me){return Me&&Me.replace(ce.rules._escapes,"$1")},ce.prototype.outputLink=function(Me,He){var Je=He.href,nt=He.title?ue(He.title):null;return Me[0].charAt(0)!=="!"?this.renderer.link(Je,nt,this.output(Me[1])):this.renderer.image(Je,nt,ue(Me[1]))},ce.prototype.smartypants=function(Me){return this.options.smartypants?Me.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026"):Me},ce.prototype.mangle=function(Me){if(!this.options.mangle)return Me;for(var He="",Je=Me.length,nt=0,vt;nt.5&&(vt="x"+vt.toString(16)),He+=""+vt+";";return He};function Z(Me){this.options=Me||Oe.defaults}Z.prototype.code=function(Me,He,Je){var nt=(He||"").match(/\S*/)[0];if(this.options.highlight){var vt=this.options.highlight(Me,nt);vt!=null&&vt!==Me&&(Je=!0,Me=vt)}return nt?''+(Je?Me:ue(Me,!0))+`
+`,nt||(nt=Je)),nt&&(ao.loose=!0),et=/^\[[ xX]\] /.test(Kt),ut=void 0,et&&(ut=Kt[1]!==" ",Kt=Kt.replace(/^\[[ xX]\] +/,"")),so={type:"list_item_start",task:et,checked:ut,loose:nt},lo.push(so),this.tokens.push(so),this.token(Kt,!1),this.tokens.push({type:"list_item_end"});if(ao.loose)for(Tt=lo.length,pt=0;pt?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:b,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:b,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~`,q.em=Ee(q.em).replace(/punctuation/g,q._punctuation).getRegex(),q._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,q._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,q._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])?)+(?![-_])/,q.autolink=Ee(q.autolink).replace("scheme",q._scheme).replace("email",q._email).getRegex(),q._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,q.tag=Ee(q.tag).replace("comment",ee._comment).replace("attribute",q._attribute).getRegex(),q._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,q._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,q._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,q.link=Ee(q.link).replace("label",q._label).replace("href",q._href).replace("title",q._title).getRegex(),q.reflink=Ee(q.reflink).replace("label",q._label).getRegex(),q.normal=F({},q),q.pedantic=F({},q.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:Ee(/^!?\[(label)\]\((.*?)\)/).replace("label",q._label).getRegex(),reflink:Ee(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",q._label).getRegex()}),q.gfm=F({},q.normal,{escape:Ee(q.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(Dt[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(Dt[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Dt[0])&&(this.inRawBlock=!1),Me=Me.substring(Dt[0].length),Ue+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Dt[0]):ue(Dt[0]):Dt[0];continue}if(Dt=this.rules.link.exec(Me)){var ao=fe(Dt[2],"()");if(ao>-1){var lo=Dt[0].length-(Dt[2].length-ao)-(Dt[3]||"").length;Dt[2]=Dt[2].substring(0,ao),Dt[0]=Dt[0].substring(0,lo).trim(),Dt[3]=""}Me=Me.substring(Dt[0].length),this.inLink=!0,vt=Dt[2],this.options.pedantic?(Je=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(vt),Je?(vt=Je[1],Rt=Je[3]):Rt=""):Rt=Dt[3]?Dt[3].slice(1,-1):"",vt=vt.trim().replace(/^<([\s\S]*)>$/,"$1"),Ue+=this.outputLink(Dt,{href:ce.escapes(vt),title:ce.escapes(Rt)}),this.inLink=!1;continue}if((Dt=this.rules.reflink.exec(Me))||(Dt=this.rules.nolink.exec(Me))){if(Me=Me.substring(Dt[0].length),Je=(Dt[2]||Dt[1]).replace(/\s+/g," "),Je=this.links[Je.toLowerCase()],!Je||!Je.href){Ue+=Dt[0].charAt(0),Me=Dt[0].substring(1)+Me;continue}this.inLink=!0,Ue+=this.outputLink(Dt,Je),this.inLink=!1;continue}if(Dt=this.rules.strong.exec(Me)){Me=Me.substring(Dt[0].length),Ue+=this.renderer.strong(this.output(Dt[4]||Dt[3]||Dt[2]||Dt[1]));continue}if(Dt=this.rules.em.exec(Me)){Me=Me.substring(Dt[0].length),Ue+=this.renderer.em(this.output(Dt[6]||Dt[5]||Dt[4]||Dt[3]||Dt[2]||Dt[1]));continue}if(Dt=this.rules.code.exec(Me)){Me=Me.substring(Dt[0].length),Ue+=this.renderer.codespan(ue(Dt[2].trim(),!0));continue}if(Dt=this.rules.br.exec(Me)){Me=Me.substring(Dt[0].length),Ue+=this.renderer.br();continue}if(Dt=this.rules.del.exec(Me)){Me=Me.substring(Dt[0].length),Ue+=this.renderer.del(this.output(Dt[1]));continue}if(Dt=this.rules.autolink.exec(Me)){Me=Me.substring(Dt[0].length),Dt[2]==="@"?(nt=ue(this.mangle(Dt[1])),vt="mailto:"+nt):(nt=ue(Dt[1]),vt=nt),Ue+=this.renderer.link(vt,null,nt);continue}if(!this.inLink&&(Dt=this.rules.url.exec(Me))){if(Dt[2]==="@")nt=ue(Dt[0]),vt="mailto:"+nt;else{do Kt=Dt[0],Dt[0]=this.rules._backpedal.exec(Dt[0])[0];while(Kt!==Dt[0]);nt=ue(Dt[0]),Dt[1]==="www."?vt="http://"+nt:vt=nt}Me=Me.substring(Dt[0].length),Ue+=this.renderer.link(vt,null,nt);continue}if(Dt=this.rules.text.exec(Me)){Me=Me.substring(Dt[0].length),this.inRawBlock?Ue+=this.renderer.text(Dt[0]):Ue+=this.renderer.text(ue(this.smartypants(Dt[0])));continue}if(Me)throw new Error("Infinite loop on byte: "+Me.charCodeAt(0))}return Ue},ce.escapes=function(Me){return Me&&Me.replace(ce.rules._escapes,"$1")},ce.prototype.outputLink=function(Me,Ue){var Je=Ue.href,nt=Ue.title?ue(Ue.title):null;return Me[0].charAt(0)!=="!"?this.renderer.link(Je,nt,this.output(Me[1])):this.renderer.image(Je,nt,ue(Me[1]))},ce.prototype.smartypants=function(Me){return this.options.smartypants?Me.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026"):Me},ce.prototype.mangle=function(Me){if(!this.options.mangle)return Me;for(var Ue="",Je=Me.length,nt=0,vt;nt.5&&(vt="x"+vt.toString(16)),Ue+=""+vt+";";return Ue};function Z(Me){this.options=Me||Oe.defaults}Z.prototype.code=function(Me,Ue,Je){var nt=(Ue||"").match(/\S*/)[0];if(this.options.highlight){var vt=this.options.highlight(Me,nt);vt!=null&&vt!==Me&&(Je=!0,Me=vt)}return nt?''+(Je?Me:ue(Me,!0))+`
`:""+(Je?Me:ue(Me,!0))+"
"},Z.prototype.blockquote=function(Me){return`
`+Me+`
-`},Z.prototype.html=function(Me){return Me},Z.prototype.heading=function(Me,He,Je,nt){return this.options.headerIds?"
-`:""+Me+"
+`},Z.prototype.html=function(Me){return Me},Z.prototype.heading=function(Me,Ue,Je,nt){return this.options.headerIds?"
+`:""+Me+"
`},Z.prototype.hr=function(){return this.options.xhtml?`
`:`
-`},Z.prototype.list=function(Me,He,Je){var nt=He?"ol":"ul",vt=He&&Je!==1?' start="'+Je+'"':"";return"<"+nt+vt+`>
+`},Z.prototype.list=function(Me,Ue,Je){var nt=Ue?"ol":"ul",vt=Ue&&Je!==1?' start="'+Je+'"':"";return"<"+nt+vt+`>
`+Me+""+nt+`>
`},Z.prototype.listitem=function(Me){return""+Me+`
`},Z.prototype.checkbox=function(Me){return" "},Z.prototype.paragraph=function(Me){return""+Me+`
-`},Z.prototype.table=function(Me,He){return He&&(He=""+He+""),`
+`},Z.prototype.table=function(Me,Ue){return Ue&&(Ue=""+Ue+""),`
+`+Ue+`
`},Z.prototype.tablerow=function(Me){return`
`+Me+`
-`},Z.prototype.tablecell=function(Me,He){var Je=He.header?"th":"td",nt=He.align?"<"+Je+' align="'+He.align+'">':"<"+Je+">";return nt+Me+""+Je+`>
-`},Z.prototype.strong=function(Me){return""+Me+""},Z.prototype.em=function(Me){return""+Me+""},Z.prototype.codespan=function(Me){return""+Me+""},Z.prototype.br=function(){return this.options.xhtml?"
":"
"},Z.prototype.del=function(Me){return""+Me+""},Z.prototype.link=function(Me,He,Je){if(Me=xe(this.options.sanitize,this.options.baseUrl,Me),Me===null)return Je;var nt='"+Je+"",nt},Z.prototype.image=function(Me,He,Je){if(Me=xe(this.options.sanitize,this.options.baseUrl,Me),Me===null)return Je;var nt='
":">",nt},Z.prototype.text=function(Me){return Me};function ye(){}ye.prototype.strong=ye.prototype.em=ye.prototype.codespan=ye.prototype.del=ye.prototype.text=function(Me){return Me},ye.prototype.link=ye.prototype.image=function(Me,He,Je){return""+Je},ye.prototype.br=function(){return""};function je(Me){this.tokens=[],this.token=null,this.options=Me||Oe.defaults,this.options.renderer=this.options.renderer||new Z,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new Ge}je.parse=function(Me,He){var Je=new je(He);return Je.parse(Me)},je.prototype.parse=function(Me){this.inline=new ce(Me.links,this.options),this.inlineText=new ce(Me.links,F({},this.options,{renderer:new ye})),this.tokens=Me.reverse();for(var He="";this.next();)He+=this.tok();return He},je.prototype.next=function(){return this.token=this.tokens.pop()},je.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},je.prototype.parseText=function(){for(var Me=this.token.text;this.peek().type==="text";)Me+=`
-`+this.next().text;return this.inline.output(Me)},je.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,ve(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":{var Me="",He="",Je,nt,vt,Rt;for(vt="",Je=0;Je?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(He)){var Je=He;do this.seen[Je]++,He=Je+"-"+this.seen[Je];while(this.seen.hasOwnProperty(He))}return this.seen[He]=0,He};function ue(Me,He){if(He){if(ue.escapeTest.test(Me))return Me.replace(ue.escapeReplace,function(Je){return ue.replacements[Je]})}else if(ue.escapeTestNoEncode.test(Me))return Me.replace(ue.escapeReplaceNoEncode,function(Je){return ue.replacements[Je]});return Me}ue.escapeTest=/[&<>"']/,ue.escapeReplace=/[&<>"']/g,ue.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},ue.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,ue.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;function ve(Me){return Me.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,function(He,Je){return Je=Je.toLowerCase(),Je==="colon"?":":Je.charAt(0)==="#"?Je.charAt(1)==="x"?String.fromCharCode(parseInt(Je.substring(2),16)):String.fromCharCode(+Je.substring(1)):""})}function Ee(Me,He){return Me=Me.source||Me,He=He||"",{replace:function(Je,nt){return nt=nt.source||nt,nt=nt.replace(/(^|[^\[])\^/g,"$1"),Me=Me.replace(Je,nt),this},getRegex:function(){return new RegExp(Me,He)}}}function xe(Me,He,Je){if(Me){try{var nt=decodeURIComponent(ve(Je)).replace(/[^\w:]/g,"").toLowerCase()}catch(vt){return null}if(nt.indexOf("javascript:")===0||nt.indexOf("vbscript:")===0||nt.indexOf("data:")===0)return null}He&&!J.test(Je)&&(Je=Ce(He,Je));try{Je=encodeURI(Je).replace(/%25/g,"%")}catch(vt){return null}return Je}function Ce(Me,He){return he[" "+Me]||(/^[^:]+:\/*[^/]*$/.test(Me)?he[" "+Me]=Me+"/":he[" "+Me]=ne(Me,"/",!0)),Me=he[" "+Me],He.slice(0,2)==="//"?Me.replace(/:[\s\S]*/,":")+He:He.charAt(0)==="/"?Me.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+He:Me+He}var he={},J=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(){}b.exec=b;function F(Me){for(var He=1,Je,nt;He=0&&Kt[lo]==="\\";)ao=!ao;return ao?"|":" |"}),nt=Je.split(/ \|/),vt=0;if(nt.length>He)nt.splice(He);else for(;nt.lengthAn error occurred:
"+ue(ao.message+"",!0)+"
";throw ao}}Oe.options=Oe.setOptions=function(Me){return F(Oe.defaults,Me),Oe},Oe.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new Z,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},Oe.defaults=Oe.getDefaults(),Oe.Parser=je,Oe.parser=je.parse,Oe.Renderer=Z,Oe.TextRenderer=ye,Oe.Lexer=ie,Oe.lexer=ie.lex,Oe.InlineLexer=ce,Oe.inlineLexer=ce.output,Oe.Slugger=Ge,Oe.parse=Oe,z=Oe}).call(void 0);var D=z,W=z.Parser,x=z.parser,h=z.Renderer,y=z.TextRenderer,w=z.Lexer,f=z.lexer,v=z.InlineLexer,C=z.inlineLexer,g=z.parse,u,u;let s;(function(){function se(ee,ie,q){function ce(je,Ge){if(!ie[je]){if(!ee[je]){var ue=typeof u=="function"&&u;if(!Ge&&ue)return u(je,!0);if(Z)return Z(je,!0);var ve=new Error("Cannot find module '"+je+"'");throw ve.code="MODULE_NOT_FOUND",ve}var Ee=ie[je]={exports:{}};ee[je][0].call(Ee.exports,function(xe){var Ce=ee[je][1][xe];return ce(Ce||xe)},Ee,Ee.exports,se,ee,ie,q)}return ie[je].exports}for(var Z=typeof u=="function"&&u,ye=0;ye\s]+))?)*)\s*(\/?)\s*>/,Ge=/^<\s*\/\s*([\w:-]+)[^>]*>/,ue=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,ve=/^,Ee=/^<\s*\//;function xe(){var he=[];return he.lastItem=function(){return he[he.length-1]},he}function Ce(he,J){for(var b=xe(),F=he,re;he;)ne();nt();function ne(){re=!0,fe();var vt=he===F;F=he,vt&&(he="")}function fe(){he.substr(0,4)==="");vt>=0&&(J.comment&&J.comment(he.substring(4,vt)),he=he.substring(vt+3),re=!1)}function He(){if(!re)return;var vt,Rt=he.indexOf("<");Rt>=0?(vt=he.substring(0,Rt),he=he.substring(Rt)):(vt=he,he=""),J.chars&&J.chars(vt)}function Je(vt,Rt,Dt,Kt){var ao={},lo=ce(Rt),so=ye.voids[lo]||!!Kt;Dt.replace(ue,jt),so||b.push(lo),J.start&&J.start(lo,ao,so);function jt(pt,gt,Tt,it,et){Tt===void 0&&it===void 0&&et===void 0?ao[gt]=void 0:ao[gt]=q.decode(Tt||it||et||"")}}function nt(vt,Rt){var Dt,Kt=0,ao=ce(Rt);if(ao)for(Kt=b.length-1;Kt>=0&&!(b[Kt]===ao);Kt--);if(Kt>=0){for(Dt=b.length-1;Dt>=Kt;Dt--)J.end&&J.end(b[Dt]);b.length=Kt}}}ee.exports=Ce},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(se,ee,ie){"use strict";var q=se("he"),ce=se("./lowercase"),Z=se("./attributes"),ye=se("./elements");function je(Ge,ue){var ve,Ee,xe=ue||{};return fe(),{start:he,end:J,chars:F};function Ce(Oe){Ge.push(Oe)}function he(Oe,Me,He){var Je=ce(Oe);if(Ee.ignoring){re(Je);return}if((xe.allowedTags||[]).indexOf(Je)===-1){re(Je);return}if(xe.filter&&!xe.filter({tag:Je,attrs:Me})){re(Je);return}Ce("<"),Ce(Je),Object.keys(Me).forEach(nt),Ce(He?"/>":">");function nt(vt){var Rt=Me[vt],Dt=(xe.allowedClasses||{})[Je]||[],Kt=(xe.allowedAttributes||{})[Je]||[];Kt=Kt.concat((xe.allowedAttributes||{})["*"]||[]);var ao,lo=ce(vt);lo==="class"&&Kt.indexOf(lo)===-1?(Rt=Rt.split(" ").filter(so).join(" ").trim(),ao=Rt.length):ao=Kt.indexOf(lo)!==-1&&(Z.uris[lo]!==!0||b(Rt)),ao&&(Ce(" "),Ce(vt),typeof Rt=="string"&&(Ce('="'),Ce(q.encode(Rt)),Ce('"')));function so(jt){return Dt&&Dt.indexOf(jt)!==-1}}}function J(Oe){var Me=ce(Oe),He=(xe.allowedTags||[]).indexOf(Me)!==-1;He&&Ee.ignoring===!1?(Ce(""),Ce(Me),Ce(">")):ne(Me)}function b(Oe){var Me=Oe[0];if(Me==="#"||Me==="/")return!0;var He=Oe.indexOf(":");if(He===-1)return!0;var Je=Oe.indexOf("?");if(Je!==-1&&He>Je)return!0;var nt=Oe.indexOf("#");if(nt!==-1&&He>nt)return!0;return xe.allowedSchemes.some(vt);function vt(Rt){return Oe.indexOf(Rt+":")===0}}function F(Oe){Ee.ignoring===!1&&Ce(xe.transformText?xe.transformText(Oe):Oe)}function re(Oe){if(ye.voids[Oe])return;Ee.ignoring===!1?Ee={ignoring:Oe,depth:1}:Ee.ignoring===Oe&&Ee.depth++}function ne(Oe){Ee.ignoring===Oe&&(--Ee.depth<=0&&fe())}function fe(){Ee={ignoring:!1,depth:0}}}ee.exports=je},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(se,ee,ie){"use strict";var q={"&":"&","<":"<",">":">",'"':""","'":"'"},ce={"&":"&","<":"<",">":">",""":'"',"'":"'"},Z=/(&|<|>|"|')/g,ye=/[&<>"']/g;function je(Ee){return q[Ee]}function Ge(Ee){return ce[Ee]}function ue(Ee){return Ee==null?"":String(Ee).replace(ye,je)}function ve(Ee){return Ee==null?"":String(Ee).replace(Z,Ge)}ue.options=ve.options={},ee.exports={encode:ue,escape:ue,decode:ve,unescape:ve,version:"1.0.0-browser"}},{}],10:[function(se,ee,ie){"use strict";function q(Z){return Z.reduce(ce,{})}function ce(Z,ye){return Z[ye]=!0,Z}ee.exports=q},{}]},{},[4]);var l=s,c=e("Q4rV"),p=e("qj0h"),_=e("N0LK"),L=e("bY76"),I=e("tYmi"),P=e("Vhoy");function A(se,ee){ee===void 0&&(ee={});var ie=Object(le.a)(ee),q=function(xe){var Ce;try{Ce=Object(c.a)(decodeURIComponent(xe))}catch(he){}return Ce?(Ce=Object(p.b)(Ce,function(he){return se.uris&&se.uris[he]?L.a.revive(se.uris[he]):void 0}),encodeURIComponent(JSON.stringify(Ce))):xe},ce=function(xe,Ce){var he=se.uris&&se.uris[xe];if(!he)return xe;var J=L.a.revive(he);return L.a.parse(xe).toString()===J.toString()?xe:(Ce&&(J=T.s(J)),J.query&&(J=J.with({query:q(J.query)})),J.toString(!0))},Z,ye=new Promise(function(xe){return Z=xe}),je=new h;je.image=function(xe,Ce,he){var J,b=[],F=[];return xe&&(J=Object(R.d)(xe),xe=J.href,b=J.dimensions,xe=ce(xe,!0),F.push('src="'+xe+'"')),he&&F.push('alt="'+he+'"'),Ce&&F.push('title="'+Ce+'"'),b.length&&(F=F.concat(b)),"
"},je.link=function(xe,Ce,he){return xe===he&&(he=Object(R.e)(he)),xe=ce(xe,!1),Ce=Object(R.e)(Ce),xe=Object(R.e)(xe),!xe||xe.match(/^data:|javascript:/i)||xe.match(/^command:/i)&&!se.isTrusted||xe.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?he:(xe=xe.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),''+he+"")},je.paragraph=function(xe){return""+(se.supportThemeIcons?Object(P.c)(xe):xe)+"
"},ee.codeBlockRenderer&&(je.code=function(xe,Ce){var he=ee.codeBlockRenderer(Ce,xe),J=B.b.nextId(),b=Promise.all([he,ye]).then(function(F){var re=F[0],ne=ie.querySelector('div[data-code="'+J+'"]');ne&&(ne.innerHTML=re)}).catch(function(F){});return ee.codeBlockRenderCallback&&b.then(ee.codeBlockRenderCallback),''+Object(_.o)(xe)+"
"});var Ge=ee.actionHandler;Ge&&Ge.disposeables.add(T.o(ie,"click",function(xe){var Ce=xe.target;if(Ce.tagName!=="A"&&(Ce=Ce.parentElement,!Ce||Ce.tagName!=="A"))return;try{var he=Ce.dataset.href;he&&Ge.callback(he,xe)}catch(J){Object($.e)(J)}finally{xe.preventDefault()}}));var ue={sanitize:!0,renderer:je},ve=[I.b.http,I.b.https,I.b.mailto,I.b.data,I.b.file,I.b.vscodeRemote,I.b.vscodeRemoteResource];se.isTrusted&&ve.push(I.b.command);var Ee=g(se.supportThemeIcons?Object(P.b)(se.value):se.value,ue);return ie.innerHTML=l(Ee,{allowedSchemes:ve,allowedAttributes:{a:["href","name","target","data-href"],iframe:["allowfullscreen","frameborder","src"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class"]}}),Z(),ie}var Q=e("W9cx"),K=e("WBhO"),U=e("TQUy"),V=e("Cg/j"),de=e("MI8n"),_e=e("pmY6"),Se=e("twdY"),Ie=function(){var se=function(ee,ie){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,ce){q.__proto__=ce}||function(q,ce){for(var Z in ce)ce.hasOwnProperty(Z)&&(q[Z]=ce[Z])},se(ee,ie)};return function(ee,ie){se(ee,ie);function q(){this.constructor=ee}ee.prototype=ie===null?Object.create(ie):(q.prototype=ie.prototype,new q)}}(),Pe=function(se,ee,ie,q){var ce=arguments.length,Z=ce<3?ee:q===null?q=Object.getOwnPropertyDescriptor(ee,ie):q,ye;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Z=Reflect.decorate(se,ee,ie,q);else for(var je=se.length-1;je>=0;je--)(ye=se[je])&&(Z=(ce<3?ye(Z):ce>3?ye(ee,ie,Z):ye(ee,ie))||Z);return ce>3&&Z&&Object.defineProperty(ee,ie,Z),Z},Ve=function(se,ee){return function(ie,q){ee(ie,q,se)}},ke=function(se){Ie(ee,se);function ee(ie,q,ce){ce===void 0&&(ce=Q.b);var Z=se.call(this)||this;return Z._editor=ie,Z._modeService=q,Z._openerService=ce,Z._onDidRenderCodeBlock=Z._register(new de.a),Z.onDidRenderCodeBlock=Z._onDidRenderCodeBlock.event,Z}return ee.prototype.getOptions=function(ie){var q=this;return{codeBlockRenderer:function(ce,Z){var ye=null;if(ce)ye=q._modeService.getModeIdForLanguageName(ce);else{var je=q._editor.getModel();je&&(ye=je.getLanguageIdentifier().language)}return q._modeService.triggerMode(ye||""),Promise.resolve(!0).then(function(Ge){var ue=Se.B.getPromise(ye||"");return ue?ue.then(function(ve){return Object(U.b)(Z,ve)}):Object(U.b)(Z,void 0)}).then(function(Ge){return''+Ge+""})},codeBlockRenderCallback:function(){return q._onDidRenderCodeBlock.fire()},actionHandler:{callback:function(ce){q._openerService.open(ce,{fromUserGesture:!0}).catch($.e)},disposeables:ie}}},ee.prototype.render=function(ie){var q=new _e.b,ce;return ie?ce=A(ie,this.getOptions(q)):ce=document.createElement("span"),{element:ce,dispose:function(){return q.dispose()}}},ee=Pe([Ve(1,K.a),Ve(2,Object(V.d)(Q.a))],ee),ee}(_e.a)},"3rx1":function(Lt,N,e){"use strict";e.d(N,"b",function(){return D}),e.d(N,"a",function(){return W}),e.d(N,"c",function(){return h});var T=e("bY76"),le=e("MrjW"),$=e("N0LK"),R=e("tYmi"),B=e("MNsG"),z=e("gslv");function D(f,v,C){if(typeof f=="string"&&(f=T.a.file(f)),C){var g=C.getWorkspaceFolder(f);if(g){var u=C.getWorkspace().folders.length>1,s=void 0;if(Object(z.e)(g.uri,f)?s="":s=Object(z.h)(g.uri,f),u){var l=g.name?g.name:Object(z.b)(g.uri);s=s?l+" \u2022 "+s:l}return s}}if(f.scheme!==R.b.file&&f.scheme!==R.b.untitled)return f.with({query:null,fragment:null}).toString(!0);if(x(f.fsPath))return Object(le.normalize)(h(f.fsPath));var c=Object(le.normalize)(f.fsPath);return!B.h&&v&&(c=w(c,v.userHome)),c}function W(f){if(!f)return;typeof f=="string"&&(f=T.a.file(f));var v=Object(z.b)(f)||(f.scheme===R.b.file?f.fsPath:f.path);return x(v)?h(v):v}function x(f){return!!(B.h&&f&&f[1]===":")}function h(f){return x(f)?f.charAt(0).toUpperCase()+f.slice(1):f}var y=Object.create(null);function w(f,v){if(B.h||!f||!v)return f;var C=y.original===v?y.normalized:void 0;return C||(C=""+Object($.K)(v,le.posix.sep)+le.posix.sep,y={original:v,normalized:C}),(B.d?Object($.N)(f,C):Object($.O)(f,C))&&(f="~/"+f.substr(C.length)),f}},"4bUh":function(Lt,N,e){"use strict";e.d(N,"a",function(){return le});var T=e("twdY"),le=function(){function R(B,z){this._tokens=B,this._tokensCount=this._tokens.length>>>1,this._text=z}return R.prototype.equals=function(B){return B instanceof R?this.slicedEquals(B,0,this._tokensCount):!1},R.prototype.slicedEquals=function(B,z,D){if(this._text!==B._text)return!1;if(this._tokensCount!==B._tokensCount)return!1;for(var W=z<<1,x=W+(D<<1),h=W;h0?this._tokens[B-1<<1]:0},R.prototype.getMetadata=function(B){var z=this._tokens[(B<<1)+1];return z},R.prototype.getLanguageId=function(B){var z=this._tokens[(B<<1)+1];return T.A.getLanguageId(z)},R.prototype.getStandardTokenType=function(B){var z=this._tokens[(B<<1)+1];return T.A.getTokenType(z)},R.prototype.getForeground=function(B){var z=this._tokens[(B<<1)+1];return T.A.getForeground(z)},R.prototype.getClassName=function(B){var z=this._tokens[(B<<1)+1];return T.A.getClassNameFromMetadata(z)},R.prototype.getInlineStyle=function(B,z){var D=this._tokens[(B<<1)+1];return T.A.getInlineStyleFromMetadata(D,z)},R.prototype.getEndOffset=function(B){return this._tokens[B<<1]},R.prototype.findTokenIndexAtOffset=function(B){return R.findIndexInTokensArray(this._tokens,B)},R.prototype.inflate=function(){return this},R.prototype.sliceAndInflate=function(B,z,D){return new $(this,B,z,D)},R.convertToEndOffset=function(B,z){for(var D=B.length>>>1,W=D-1,x=0;x>>1)-1;Dz&&(W=x)}return D},R}(),$=function(){function R(B,z,D,W){this._source=B,this._startOffset=z,this._endOffset=D,this._deltaOffset=W,this._firstTokenIndex=B.findTokenIndexAtOffset(z),this._tokensCount=0;for(var x=this._firstTokenIndex,h=B.getCount();x=D)break;this._tokensCount++}}return R.prototype.equals=function(B){return B instanceof R?this._startOffset===B._startOffset&&this._endOffset===B._endOffset&&this._deltaOffset===B._deltaOffset&&this._source.slicedEquals(B._source,this._firstTokenIndex,this._tokensCount):!1},R.prototype.getCount=function(){return this._tokensCount},R.prototype.getForeground=function(B){return this._source.getForeground(this._firstTokenIndex+B)},R.prototype.getEndOffset=function(B){var z=this._source.getEndOffset(this._firstTokenIndex+B);return Math.min(this._endOffset,z)-this._startOffset+this._deltaOffset},R.prototype.getClassName=function(B){return this._source.getClassName(this._firstTokenIndex+B)},R.prototype.getInlineStyle=function(B,z){return this._source.getInlineStyle(this._firstTokenIndex+B,z)},R.prototype.findTokenIndexAtOffset=function(B){return this._source.findTokenIndexAtOffset(B+this._startOffset-this._deltaOffset)-this._firstTokenIndex},R}()},"4rho":function(Lt,N,e){},"4sI4":function(Lt,N,e){"use strict";e.r(N),e.d(N,"StandaloneReferencesController",function(){return w});var T=e("sswD"),le=e("Vxe3"),$=e("QY8A"),R=e("+7oY"),B=e("T8No"),z=e("Cg/j"),D=e("sM1p"),W=e("A+jI"),x=function(){var f=function(v,C){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,u){g.__proto__=u}||function(g,u){for(var s in u)u.hasOwnProperty(s)&&(g[s]=u[s])},f(v,C)};return function(v,C){f(v,C);function g(){this.constructor=v}v.prototype=C===null?Object.create(C):(g.prototype=C.prototype,new g)}}(),h=function(f,v,C,g){var u=arguments.length,s=u<3?v:g===null?g=Object.getOwnPropertyDescriptor(v,C):g,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(f,v,C,g);else for(var c=f.length-1;c>=0;c--)(l=f[c])&&(s=(u<3?l(s):u>3?l(v,C,s):l(v,C))||s);return u>3&&s&&Object.defineProperty(v,C,s),s},y=function(f,v){return function(C,g){v(C,g,f)}},w=function(f){x(v,f);function v(C,g,u,s,l,c,p){return f.call(this,!0,C,g,u,s,l,c,p)||this}return v=h([y(1,B.c),y(2,le.a),y(3,D.a),y(4,z.a),y(5,W.a),y(6,R.a)],v),v}($.a);Object(T.h)($.a.ID,w)},"4y0V":function(Lt,N,e){"use strict";e.d(N,"a",function(){return le}),e.d(N,"b",function(){return $});var T=e("MI8n"),le=function(R,B,z){var D=function(x){return W.fire(x)},W=new T.a({onFirstListenerAdd:function(){R.addEventListener(B,D,z)},onLastListenerRemove:function(){R.removeEventListener(B,D,z)}});return W.event};function $(R){return T.b.map(R,function(B){return B.preventDefault(),B.stopPropagation(),B})}},"51B1":function(Lt,N,e){},"51f4":function(Lt,N,e){"use strict";e.d(N,"a",function(){return B});var T=!1,le=null;function $(z){if(!z.parent||z.parent===z)return null;try{var D=z.location,W=z.parent.location;if(D.protocol!==W.protocol||D.hostname!==W.hostname||D.port!==W.port)return T=!0,null}catch(x){return T=!0,null}return z.parent}function R(z,D){for(var W=z.document.getElementsByTagName("iframe"),x,h=0,y=W.length;h0&&v._undoStack[v._undoStack.length-1].cursorState.equals(g);u||(v._undoStack.push(new D(g,f.getScrollTop(),f.getScrollLeft())),v._redoStack=[],v._undoStack.length>50&&v._undoStack.shift())})),v}return w.get=function(f){return f.getContribution(w.ID)},w.prototype.cursorUndo=function(){if(!this._editor.hasModel()||this._undoStack.length===0)return;this._redoStack.push(new D(new z(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop())},w.prototype.cursorRedo=function(){if(!this._editor.hasModel()||this._redoStack.length===0)return;this._undoStack.push(new D(new z(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop())},w.prototype._applyState=function(f){this._isCursorUndoRedo=!0,this._editor.setSelections(f.cursorState.selections),this._editor.setScrollPosition({scrollTop:f.scrollTop,scrollLeft:f.scrollLeft}),this._isCursorUndoRedo=!1},w.ID="editor.contrib.cursorUndoRedoController",w}(le.a),x=function(y){B(w,y);function w(){return y.call(this,{id:"cursorUndo",label:T.a("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:R.a.textInputFocus,primary:2048|51,weight:100}})||this}return w.prototype.run=function(f,v,C){W.get(v).cursorUndo()},w}($.b),h=function(y){B(w,y);function w(){return y.call(this,{id:"cursorRedo",label:T.a("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})||this}return w.prototype.run=function(f,v,C){W.get(v).cursorRedo()},w}($.b);Object($.h)(W.ID,W),Object($.f)(x),Object($.f)(h)},"5TxY":function(Lt,N,e){"use strict";e.d(N,"a",function(){return w}),e.d(N,"b",function(){return v});var T=e("D3Dy"),le=e("EffR"),$=e("X+cX"),R=e("MI8n"),B=e("pmY6"),z=e("MNsG"),D=e("N0LK"),W=e("Comh"),x=e("gCVg"),h=e("CjF5"),y=function(){var u=function(s,l){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,p){c.__proto__=p}||function(c,p){for(var _ in p)p.hasOwnProperty(_)&&(c[_]=p[_])},u(s,l)};return function(s,l){u(s,l);function c(){this.constructor=s}s.prototype=l===null?Object.create(l):(c.prototype=l.prototype,new c)}}(),w={forceCopyWithSyntaxHighlighting:!1},f=function(){function u(){this._lastState=null}return u.prototype.set=function(s,l){this._lastState={lastCopiedValue:s,data:l}},u.prototype.get=function(s){return this._lastState&&this._lastState.lastCopiedValue===s?this._lastState.data:(this._lastState=null,null)},u.INSTANCE=new u,u}(),v=function(u){y(s,u);function s(l,c){var p=u.call(this)||this;p.textArea=c,p._onFocus=p._register(new R.a),p.onFocus=p._onFocus.event,p._onBlur=p._register(new R.a),p.onBlur=p._onBlur.event,p._onKeyDown=p._register(new R.a),p.onKeyDown=p._onKeyDown.event,p._onKeyUp=p._register(new R.a),p.onKeyUp=p._onKeyUp.event,p._onCut=p._register(new R.a),p.onCut=p._onCut.event,p._onPaste=p._register(new R.a),p.onPaste=p._onPaste.event,p._onType=p._register(new R.a),p.onType=p._onType.event,p._onCompositionStart=p._register(new R.a),p.onCompositionStart=p._onCompositionStart.event,p._onCompositionUpdate=p._register(new R.a),p.onCompositionUpdate=p._onCompositionUpdate.event,p._onCompositionEnd=p._register(new R.a),p.onCompositionEnd=p._onCompositionEnd.event,p._onSelectionChangeRequest=p._register(new R.a),p.onSelectionChangeRequest=p._onSelectionChangeRequest.event,p._host=l,p._textArea=p._register(new g(c)),p._asyncTriggerCut=p._register(new $.d(function(){return p._onCut.fire()},0)),p._textAreaState=W.b.EMPTY,p._selectionChangeListener=null,p.writeScreenReaderContent("ctor"),p._hasFocus=!1,p._isDoingComposition=!1,p._nextCommand=0,p._register(le.o(c.domNode,"keydown",function(P){p._isDoingComposition&&(P.keyCode===109||P.keyCode===1)&&P.stopPropagation(),P.equals(9)&&P.preventDefault(),p._onKeyDown.fire(P)})),p._register(le.o(c.domNode,"keyup",function(P){p._onKeyUp.fire(P)})),p._register(le.j(c.domNode,"compositionstart",function(P){if(p._isDoingComposition)return;p._isDoingComposition=!0,T.f||p._setAndWriteTextAreaState("compositionstart",W.b.EMPTY),p._onCompositionStart.fire()}));var _=function(P){var A=p._textAreaState,Q=W.b.readFromTextArea(p._textArea);return[Q,W.b.deduceInput(A,Q,P)]},L=function(P){var A=p._textAreaState,Q=W.b.selectedText(P),K={text:Q.value,replaceCharCnt:A.selectionEnd-A.selectionStart};return[Q,K]},I=function(P){return T.f&&P==="ja"?!0:!!(T.i&&P.indexOf("zh-Han")===0)};return p._register(le.j(c.domNode,"compositionupdate",function(P){if(I(P.locale)){var A=_(!1),Q=A[0],K=A[1];p._textAreaState=Q,p._onType.fire(K),p._onCompositionUpdate.fire(P);return}var U=L(P.data),V=U[0],de=U[1];p._textAreaState=V,p._onType.fire(de),p._onCompositionUpdate.fire(P)})),p._register(le.j(c.domNode,"compositionend",function(P){if(!p._isDoingComposition)return;if(I(P.locale)){var A=_(!1),Q=A[0],K=A[1];p._textAreaState=Q,p._onType.fire(K)}else{var U=L(P.data),Q=U[0],K=U[1];p._textAreaState=Q,p._onType.fire(K)}if((T.f||T.d)&&(p._textAreaState=W.b.readFromTextArea(p._textArea)),!p._isDoingComposition)return;p._isDoingComposition=!1,p._onCompositionEnd.fire()})),p._register(le.j(c.domNode,"input",function(){if(p._textArea.setIgnoreSelectionChangeTime("received input event"),p._isDoingComposition)return;var P=_(z.e),A=P[0],Q=P[1];if(Q.replaceCharCnt===0&&Q.text.length===1&&D.z(Q.text.charCodeAt(0)))return;p._textAreaState=A,p._nextCommand===0?Q.text!==""&&p._onType.fire(Q):((Q.text!==""||Q.replaceCharCnt!==0)&&p._firePaste(Q.text,null),p._nextCommand=0)})),p._register(le.j(c.domNode,"cut",function(P){p._textArea.setIgnoreSelectionChangeTime("received cut event"),p._ensureClipboardGetsEditorSelection(P),p._asyncTriggerCut.schedule()})),p._register(le.j(c.domNode,"copy",function(P){p._ensureClipboardGetsEditorSelection(P)})),p._register(le.j(c.domNode,"paste",function(P){if(p._textArea.setIgnoreSelectionChangeTime("received paste event"),C.canUseTextData(P)){var A=C.getTextData(P),Q=A[0],K=A[1];Q!==""&&p._firePaste(Q,K)}else p._textArea.getSelectionStart()!==p._textArea.getSelectionEnd()&&p._setAndWriteTextAreaState("paste",W.b.EMPTY),p._nextCommand=1})),p._register(le.j(c.domNode,"focus",function(){p._setHasFocus(!0)})),p._register(le.j(c.domNode,"blur",function(){p._setHasFocus(!1)})),p}return s.prototype._installSelectionChangeListener=function(){var l=this,c=0;return le.j(document,"selectionchange",function(p){if(!l._hasFocus)return;if(l._isDoingComposition)return;if(!T.d||!z.h)return;var _=Date.now(),L=_-c;if(c=_,L<5)return;var I=_-l._textArea.getIgnoreSelectionChangeTime();if(l._textArea.resetSelectionChangeTime(),I<100)return;if(!l._textAreaState.selectionStartPosition||!l._textAreaState.selectionEndPosition)return;var P=l._textArea.getValue();if(l._textAreaState.value!==P)return;var A=l._textArea.getSelectionStart(),Q=l._textArea.getSelectionEnd();if(l._textAreaState.selectionStart===A&&l._textAreaState.selectionEnd===Q)return;var K=l._textAreaState.deduceEditorPosition(A),U=l._host.deduceModelPosition(K[0],K[1],K[2]),V=l._textAreaState.deduceEditorPosition(Q),de=l._host.deduceModelPosition(V[0],V[1],V[2]),_e=new x.a(U.lineNumber,U.column,de.lineNumber,de.column);l._onSelectionChangeRequest.fire(_e)})},s.prototype.dispose=function(){u.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},s.prototype.focusTextArea=function(){this._setHasFocus(!0),this.refreshFocusState()},s.prototype.isFocused=function(){return this._hasFocus},s.prototype.refreshFocusState=function(){var l=le.E(this.textArea.domNode);l?this._setHasFocus(l.activeElement===this.textArea.domNode):le.M(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)},s.prototype._setHasFocus=function(l){if(this._hasFocus===l)return;this._hasFocus=l,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(T.e?this._setAndWriteTextAreaState("focusgain",W.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire()},s.prototype._setAndWriteTextAreaState=function(l,c){this._hasFocus||(c=c.collapseSelection()),c.writeToTextArea(l,this._textArea,this._hasFocus),this._textAreaState=c},s.prototype.writeScreenReaderContent=function(l){if(this._isDoingComposition)return;this._setAndWriteTextAreaState(l,this._host.getScreenReaderContent(this._textAreaState))},s.prototype._ensureClipboardGetsEditorSelection=function(l){var c=this._host.getDataToCopy(C.canUseTextData(l)&&h.a.clipboard.richText),p={version:1,isFromEmptySelection:c.isFromEmptySelection,multicursorText:c.multicursorText,mode:c.mode};if(f.INSTANCE.set(T.h?c.text.replace(/\r\n/g,`
-`):c.text,p),!C.canUseTextData(l)){this._setAndWriteTextAreaState("copy or cut",W.b.selectedText(c.text));return}C.setTextData(l,c.text,c.html,p)},s.prototype._firePaste=function(l,c){c||(c=f.INSTANCE.get(l)),this._onPaste.fire({text:l,metadata:c})},s}(B.a),C=function(){function u(){}return u.canUseTextData=function(s){return s.clipboardData?!0:!!window.clipboardData},u.getTextData=function(s){if(s.clipboardData){s.preventDefault();var l=s.clipboardData.getData("text/plain"),c=null,p=s.clipboardData.getData("vscode-editor-data");if(typeof p=="string")try{c=JSON.parse(p),c.version!==1&&(c=null)}catch(_){}return[l,c]}if(window.clipboardData){s.preventDefault();var l=window.clipboardData.getData("Text");return[l,null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},u.setTextData=function(s,l,c,p){if(s.clipboardData){s.clipboardData.setData("text/plain",l),typeof c=="string"&&s.clipboardData.setData("text/html",c),s.clipboardData.setData("vscode-editor-data",JSON.stringify(p)),s.preventDefault();return}if(window.clipboardData){window.clipboardData.setData("Text",l),s.preventDefault();return}throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},u}(),g=function(u){y(s,u);function s(l){var c=u.call(this)||this;return c._actual=l,c._ignoreSelectionChangeTime=0,c}return s.prototype.setIgnoreSelectionChangeTime=function(l){this._ignoreSelectionChangeTime=Date.now()},s.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},s.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},s.prototype.getValue=function(){return this._actual.domNode.value},s.prototype.setValue=function(l,c){var p=this._actual.domNode;if(p.value===c)return;this.setIgnoreSelectionChangeTime("setValue"),p.value=c},s.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},s.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},s.prototype.setSelectionRange=function(l,c,p){var _=this._actual.domNode,L=null,I=le.E(_);I?L=I.activeElement:L=document.activeElement;var P=L===_,A=_.selectionStart,Q=_.selectionEnd;if(P&&A===c&&Q===p){T.h&&window.parent!==window&&_.focus();return}if(P){this.setIgnoreSelectionChangeTime("setSelectionRange"),_.setSelectionRange(c,p),T.h&&window.parent!==window&&_.focus();return}try{var K=le.V(_);this.setIgnoreSelectionChangeTime("setSelectionRange"),_.focus(),_.setSelectionRange(c,p),le.T(_,K)}catch(U){}},s}(B.a)},"5Y4S":function(Lt,N,e){"use strict";e.d(N,"a",function(){return $});var T=e("MNsG"),le=T.b.performance&&typeof T.b.performance.now=="function",$=function(){function R(B){this._highResolution=le&&B,this._startTime=this._now(),this._stopTime=-1}return R.create=function(B){return B===void 0&&(B=!0),new R(B)},R.prototype.stop=function(){this._stopTime=this._now()},R.prototype.elapsed=function(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime},R.prototype._now=function(){return this._highResolution?T.b.performance.now():new Date().getTime()},R}()},"5v8Y":function(Lt,N,e){"use strict";e.d(N,"a",function(){return B});var T=e("MXAL"),le=function(){var z=function(D,W){return z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,h){x.__proto__=h}||function(x,h){for(var y in h)h.hasOwnProperty(y)&&(x[y]=h[y])},z(D,W)};return function(D,W){z(D,W);function x(){this.constructor=D}D.prototype=W===null?Object.create(W):(x.prototype=W.prototype,new x)}}(),$=function(z){le(D,z);function D(W){for(var x=z.call(this,0)||this,h=0,y=W.length;h0)V=de-1;else return de}return-(U+1)}function B(A,Q){var K=0,U=A.length;if(U===0)return 0;for(;KU?A[Ie]=de[Se++]:Se>V?A[Ie]=de[_e++]:Q(de[Se],de[_e])<0?A[Ie]=de[Se++]:A[Ie]=de[_e++]}function W(A,Q,K,U,V){if(U<=K)return;var de=K+(U-K)/2|0;if(W(A,Q,K,de,V),W(A,Q,de+1,U,V),Q(A[de],A[de+1])<=0)return;D(A,Q,K,de,U,V)}function x(A,Q){for(var K=[],U=void 0,V=0,de=z(A.slice(0),Q);V0}function f(A,Q){if(!Q)return A.filter(function(U,V){return A.indexOf(U)===V});var K=Object.create(null);return A.filter(function(U){var V=Q(U);return K[V]?!1:(K[V]=!0,!0)})}function v(A){var Q=new Set;return A.filter(function(K){return Q.has(K)?!1:(Q.add(K),!0)})}function C(A){var Q=[];return A.forEach(function(K){return Q.push(K)}),Q}function g(A,Q){for(var K=0;K0?A[0]:Q}function l(A){var Q;return(Q=[]).concat.apply(Q,A)}function c(A,Q){var K=typeof Q=="number"?A:0;typeof Q=="number"?K=A:(K=0,Q=A);var U=[];if(K<=Q)for(var V=K;VQ;V--)U.push(V);return U}function p(A,Q,K){var U=A.slice(0,Q),V=A.slice(Q);return U.concat(K,V)}function _(A,Q){var K=A.indexOf(Q);K>-1&&(A.splice(K,1),A.unshift(Q))}function L(A,Q){var K=A.indexOf(Q);K>-1&&(A.splice(K,1),A.push(Q))}function I(A,Q){for(var K=0;K";var y=this.text.substring(D,h.start);z+=this.supportCodicons?Object(le.c)(Object($.o)(y)):Object($.o)(y),z+="",D=h.end}h.extraClasses?z+='"}this.domNode.innerHTML=z,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0},B.escapeNewLines=function(z,D){var W=0,x=0;return z.replace(/\r\n|\r|\n/g,function(h,y){x=h===`\r
-`?-1:0,y+=W;for(var w=0,f=D;w=y&&(v.start+=x),v.end>=y&&(v.end+=x)}return W+=x,"\u23CE"})},B}()},"7zd4":function(Lt,N,e){},"8ATB":function(Lt,N,e){},"8HAY":function(Lt,N,e){"use strict";e.d(N,"a",function(){return z}),e.d(N,"b",function(){return D});var T=e("pmY6"),le=e("MI8n"),$=function(){var W=function(x,h){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,w){y.__proto__=w}||function(y,w){for(var f in w)w.hasOwnProperty(f)&&(y[f]=w[f])},W(x,h)};return function(x,h){W(x,h);function y(){this.constructor=x}x.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}(),R=function(W,x,h,y){function w(f){return f instanceof h?f:new h(function(v){v(f)})}return new(h||(h=Promise))(function(f,v){function C(s){try{u(y.next(s))}catch(l){v(l)}}function g(s){try{u(y.throw(s))}catch(l){v(l)}}function u(s){s.done?f(s.value):w(s.value).then(C,g)}u((y=y.apply(W,x||[])).next())})},B=function(W,x){var h={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},y,w,f,v;return v={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function C(u){return function(s){return g([u,s])}}function g(u){if(y)throw new TypeError("Generator is already executing.");for(;h;)try{if(y=1,w&&(f=u[0]&2?w.return:u[0]?w.throw||((f=w.return)&&f.call(w),0):w.next)&&!(f=f.call(w,u[1])).done)return f;(w=0,f)&&(u=[u[0]&2,f.value]);switch(u[0]){case 0:case 1:f=u;break;case 4:return h.label++,{value:u[1],done:!1};case 5:h.label++,w=u[1],u=[0];continue;case 7:u=h.ops.pop(),h.trys.pop();continue;default:if(!(f=h.trys,f=f.length>0&&f[f.length-1])&&(u[0]===6||u[0]===2)){h=0;continue}if(u[0]===3&&(!f||u[1]>f[0]&&u[1]1&&q.push(new W.a(ee.endLineNumber,ee.endColumn,ee.endLineNumber,ee.endColumn))},se.prototype.run=function(ee,ie){var q=this;if(!ie.hasModel())return;var ce=ie.getModel(),Z=ie.getSelections(),ye=[];Z.forEach(function(je){return q.getCursorsForSelection(je,ce,ye)}),ye.length>0&&ie.setSelections(ye)},se}(B.b),p=function(ke){u(se,ke);function se(){return ke.call(this,{id:"editor.action.addCursorsToBottom",label:T.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})||this}return se.prototype.run=function(ee,ie){if(!ie.hasModel())return;for(var q=ie.getSelections(),ce=ie.getModel().getLineCount(),Z=[],ye=q[0].startLineNumber;ye<=ce;ye++)Z.push(new W.a(ye,q[0].startColumn,ye,q[0].endColumn));Z.length>0&&ie.setSelections(Z)},se}(B.b),_=function(ke){u(se,ke);function se(){return ke.call(this,{id:"editor.action.addCursorsToTop",label:T.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})||this}return se.prototype.run=function(ee,ie){if(!ie.hasModel())return;for(var q=ie.getSelections(),ce=[],Z=q[0].startLineNumber;Z>=1;Z--)ce.push(new W.a(Z,q[0].startColumn,Z,q[0].endColumn));ce.length>0&&ie.setSelections(ce)},se}(B.b),L=function(){function ke(se,ee,ie){this.selections=se,this.revealRange=ee,this.revealScrollType=ie}return ke}(),I=function(){function ke(se,ee,ie,q,ce,Z,ye){this._editor=se,this.findController=ee,this.isDisconnectedFromFindController=ie,this.searchText=q,this.wholeWord=ce,this.matchCase=Z,this.currentMatch=ye}return ke.create=function(se,ee){if(!se.hasModel())return null;var ie=ee.getState();if(!se.hasTextFocus()&&ie.isRevealed&&ie.searchString.length>0)return new ke(se,ee,!1,ie.searchString,ie.wholeWord,ie.matchCase,null);var q=!1,ce,Z,ye=se.getSelections();ye.length===1&&ye[0].isEmpty()?(q=!0,ce=!0,Z=!0):(ce=ie.wholeWord,Z=ie.matchCase);var je=se.getSelection(),Ge,ue=null;if(je.isEmpty()){var ve=se.getModel().getWordAtPosition(je.getStartPosition());if(!ve)return null;Ge=ve.word,ue=new W.a(je.startLineNumber,ve.startColumn,je.startLineNumber,ve.endColumn)}else Ge=se.getModel().getValueInRange(je).replace(/\r\n/g,`
-`);return new ke(se,ee,q,Ge,ce,Z,ue)},ke.prototype.addSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var se=this._getNextMatch();if(!se)return null;var ee=this._editor.getSelections();return new L(ee.concat(se),se,0)},ke.prototype.moveSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var se=this._getNextMatch();if(!se)return null;var ee=this._editor.getSelections();return new L(ee.slice(0,ee.length-1).concat(se),se,0)},ke.prototype._getNextMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var se=this.currentMatch;return this.currentMatch=null,se}this.findController.highlightFindOptions();var ee=this._editor.getSelections(),ie=ee[ee.length-1],q=this._editor.getModel().findNextMatch(this.searchText,ie.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1);return q?new W.a(q.range.startLineNumber,q.range.startColumn,q.range.endLineNumber,q.range.endColumn):null},ke.prototype.addSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var se=this._getPreviousMatch();if(!se)return null;var ee=this._editor.getSelections();return new L(ee.concat(se),se,0)},ke.prototype.moveSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var se=this._getPreviousMatch();if(!se)return null;var ee=this._editor.getSelections();return new L(ee.slice(0,ee.length-1).concat(se),se,0)},ke.prototype._getPreviousMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var se=this.currentMatch;return this.currentMatch=null,se}this.findController.highlightFindOptions();var ee=this._editor.getSelections(),ie=ee[ee.length-1],q=this._editor.getModel().findPreviousMatch(this.searchText,ie.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1);return q?new W.a(q.range.startLineNumber,q.range.startColumn,q.range.endLineNumber,q.range.endColumn):null},ke.prototype.selectAll=function(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1,1073741824)):[]},ke}(),P=function(ke){u(se,ke);function se(ee){var ie=ke.call(this)||this;return ie._sessionDispose=ie._register(new R.b),ie._editor=ee,ie._ignoreSelectionChange=!1,ie._session=null,ie}return se.get=function(ee){return ee.getContribution(se.ID)},se.prototype.dispose=function(){this._endSession(),ke.prototype.dispose.call(this)},se.prototype._beginSessionIfNeeded=function(ee){var ie=this;if(!this._session){var q=I.create(this._editor,ee);if(!q)return;this._session=q;var ce={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(ce.wholeWordOverride=1,ce.matchCaseOverride=1,ce.isRegexOverride=2),ee.getState().change(ce,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(function(Z){if(ie._ignoreSelectionChange)return;ie._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(function(){ie._endSession()})),this._sessionDispose.add(ee.getState().onFindReplaceStateChange(function(Z){(Z.matchCase||Z.wholeWord)&&ie._endSession()}))}},se.prototype._endSession=function(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){var ee={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(ee,!1)}this._session=null},se.prototype._setSelections=function(ee){this._ignoreSelectionChange=!0,this._editor.setSelections(ee),this._ignoreSelectionChange=!1},se.prototype._expandEmptyToWord=function(ee,ie){if(!ie.isEmpty())return ie;var q=ee.getWordAtPosition(ie.getStartPosition());return q?new W.a(ie.startLineNumber,q.startColumn,ie.startLineNumber,q.endColumn):ie},se.prototype._applySessionResult=function(ee){if(!ee)return;this._setSelections(ee.selections),ee.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(ee.revealRange,ee.revealScrollType)},se.prototype.getSession=function(ee){return this._session},se.prototype.addSelectionToNextFindMatch=function(ee){if(!this._editor.hasModel())return;if(!this._session){var ie=this._editor.getSelections();if(ie.length>1){var q=ee.getState(),ce=q.matchCase,Z=Pe(this._editor.getModel(),ie,ce);if(!Z){for(var ye=this._editor.getModel(),je=[],Ge=0,ue=ie.length;Ge0&&q.isRegex)ie=this._editor.getModel().findMatches(q.searchString,!0,q.isRegex,q.matchCase,q.wholeWord?this._editor.getOption(96):null,!1,1073741824);else{if(this._beginSessionIfNeeded(ee),!this._session)return;ie=this._session.selectAll()}if(q.searchScope){for(var ce=q.searchScope,Z=[],ye=0;ye=ce.startLineNumber&&Z.push(ie[ye]);ie=Z}if(ie.length>0){for(var je=this._editor.getSelection(),ye=0,Ge=ie.length;ye1){var Ge=Z.getState(),ue=Ge.matchCase,ve=Pe(ie.getModel(),je,ue);if(!ve)return null}ye=I.create(ie,Z)}if(!ye)return null;if(ye.currentMatch)return null;if(/^[ \t]+$/.test(ye.searchText))return null;if(ye.searchText.length>200)return null;var Ee=Z.getState(),xe=Ee.matchCase;if(Ee.isRevealed){var Ce=Ee.searchString;xe||(Ce=Ce.toLowerCase());var he=ye.searchText;if(xe||(he=he.toLowerCase()),Ce===he&&ye.matchCase===Ee.matchCase&&ye.wholeWord===Ee.wholeWord&&!Ee.isRegex)return null}return new Se(ye.searchText,ye.matchCase,ye.wholeWord?ie.getOption(96):null)},se.prototype._setState=function(ee){if(Se.softEquals(this.state,ee)){this.state=ee;return}if(this.state=ee,!this.state){this.decorations=this.editor.deltaDecorations(this.decorations,[]);return}if(!this.editor.hasModel())return;var ie=this.editor.getModel();if(ie.isTooLargeForTokenization())return;var q=w.i.has(ie),ce=ie.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(function(he){return he.range});ce.sort(D.a.compareRangesUsingStarts);var Z=this.editor.getSelections();Z.sort(D.a.compareRangesUsingStarts);for(var ye=[],je=0,Ge=0,ue=ce.length,ve=Z.length;je=ve)ye.push(Ee),je++;else{var xe=D.a.compareRangesUsingStarts(Ee,Z[Ge]);xe<0?((Z[Ge].isEmpty()||!D.a.areIntersecting(Ee,Z[Ge]))&&ye.push(Ee),je++):(xe>0||je++,Ge++)}}var Ce=ye.map(function(he){return{range:he,options:q?se._SELECTION_HIGHLIGHT:se._SELECTION_HIGHLIGHT_OVERVIEW}});this.decorations=this.editor.deltaDecorations(this.decorations,Ce)},se.prototype.dispose=function(){this._setState(null),ke.prototype.dispose.call(this)},se.ID="editor.contrib.selectionHighlighter",se._SELECTION_HIGHLIGHT_OVERVIEW=y.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(C.f)(v.Mb),position:h.d.Center}}),se._SELECTION_HIGHLIGHT=y.a.register({stickiness:1,className:"selectionHighlight"}),se}(R.a);function Pe(ke,se,ee){for(var ie=Ve(ke,se[0],!ee),q=1,ce=se.length;q=0;ao--)(Kt=He[ao])&&(Dt=(Rt<3?Kt(Dt):Rt>3?Kt(Je,nt,Dt):Kt(Je,nt))||Dt);return Rt>3&&Dt&&Object.defineProperty(Je,nt,Dt),Dt},Se=function(He,Je){return function(nt,vt){Je(nt,vt,He)}},Ie=new s.d("hasSymbols",!1),Pe=Object(I.c)("ISymbolNavigationService"),Ve=function(){function He(Je,nt,vt,Rt){this._editorService=nt,this._notificationService=vt,this._keybindingService=Rt,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=Ie.bindTo(Je)}return He.prototype.reset=function(){this._ctxHasSymbols.reset(),Object(Q.f)(this._currentState),Object(Q.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1},He.prototype.put=function(Je){var nt=this,vt=Je.parent.parent;if(vt.references.length<=1){this.reset();return}this._currentModel=vt,this._currentIdx=vt.references.indexOf(Je),this._ctxHasSymbols.set(!0),this._showMessage();var Rt=new ke(this._editorService),Dt=Rt.onDidChange(function(Kt){if(nt._ignoreEditorChange)return;var ao=nt._editorService.getActiveCodeEditor();if(!ao)return;var lo=ao.getModel(),so=ao.getPosition();if(!lo||!so)return;for(var jt=!1,pt=!1,gt=0,Tt=vt.references;gt0&&Dt[Dt.length-1])&&(so[0]===6||so[0]===2)){nt=0;continue}if(so[0]===3&&(!Dt||so[1]>Dt[0]&&so[1]1)?(this._openInPeek(Rt,Dt),[3,3]):[3,1];case 1:return ao=Dt.firstReference(),lo=Dt.references.length>1&&Kt==="gotoAndPeek",[4,this._openReference(Rt,nt,ao,this._configuration.openToSide,!lo)];case 2:so=jt.sent(),lo&&so?this._openInPeek(so,Dt):Dt.dispose(),Kt==="goto"&&vt.put(ao),jt.label=3;case 3:return[2]}})})},Je.prototype._openReference=function(nt,vt,Rt,Dt,Kt){return Z(this,void 0,void 0,function(){var ao,lo,so,jt;return ye(this,function(pt){switch(pt.label){case 0:return ao=void 0,Object(y.G)(Rt)&&(ao=Rt.targetSelectionRange),ao||(ao=Rt.range),[4,vt.openCodeEditor({resource:Rt.uri,options:{selection:x.a.collapseToStart(ao),revealInCenterIfOutsideViewport:!0}},nt,Dt)];case 1:return lo=pt.sent(),lo?(Kt&&(so=lo.getModel(),jt=lo.deltaDecorations([],[{range:ao,options:{className:"symbolHighlight"}}]),setTimeout(function(){lo.getModel()===so&&lo.deltaDecorations(jt,[])},350)),[2,lo]):[2,void 0]}})})},Je.prototype._openInPeek=function(nt,vt){var Rt=v.a.get(nt);Rt&&nt.hasModel()?Rt.toggleWidget(nt.getSelection(),Object(le.f)(function(Dt){return Promise.resolve(vt)}),this._configuration.openInPeek):vt.dispose()},Je}(z.b),b=function(He){ce(Je,He);function Je(){return He!==null&&He.apply(this,arguments)||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.b)(nt,vt,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("def.title","Definitions")]))]}})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("noResultWord","No definition found for '{0}'",nt.word):g.a("generic.noResults","No definition found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeDefinitionCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleDefinitions},Je}(J),F=R.g&&!se.l?2048|70:70;Object(z.f)((je=function(He){ce(Je,He);function Je(){var nt=He.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Je.id,label:g.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:s.a.and(h.a.hasDefinitionProvider,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:F,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:19,group:"4_symbol_nav",order:2,title:g.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}})||this;return _.a.registerCommandAlias("editor.action.goToDeclaration",Je.id),nt}return Je}(b),je.id="editor.action.revealDefinition",je)),Object(z.f)((Ge=function(He){ce(Je,He);function Je(){var nt=He.call(this,{openToSide:!0,openInPeek:!1,muteMessage:!1},{id:Je.id,label:g.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:s.a.and(h.a.hasDefinitionProvider,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:Object($.a)(2048|41,F),weight:100}})||this;return _.a.registerCommandAlias("editor.action.openDeclarationToTheSide",Je.id),nt}return Je}(b),Ge.id="editor.action.revealDefinitionAside",Ge)),Object(z.f)((ue=function(He){ce(Je,He);function Je(){var nt=He.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Je.id,label:g.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:s.a.and(h.a.hasDefinitionProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:512|70,linux:{primary:2048|1024|68},weight:100},contextMenuOpts:{menuId:8,group:"peek",order:2}})||this;return _.a.registerCommandAlias("editor.action.previewDeclaration",Je.id),nt}return Je}(b),ue.id="editor.action.peekDefinition",ue));var re=function(He){ce(Je,He);function Je(){return He!==null&&He.apply(this,arguments)||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.a)(nt,vt,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("decl.title","Declarations")]))]}})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("decl.noResultWord","No declaration found for '{0}'",nt.word):g.a("decl.generic.noResults","No declaration found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeDeclarationCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleDeclarations},Je}(J);Object(z.f)((ve=function(He){ce(Je,He);function Je(){return He.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Je.id,label:g.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:s.a.and(h.a.hasDeclarationProvider,h.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:g.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})||this}return Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("decl.noResultWord","No declaration found for '{0}'",nt.word):g.a("decl.generic.noResults","No declaration found")},Je}(re),ve.id="editor.action.revealDeclaration",ve)),Object(z.f)(function(He){ce(Je,He);function Je(){return He.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:g.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:s.a.and(h.a.hasDeclarationProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:3}})||this}return Je}(re));var ne=function(He){ce(Je,He);function Je(){return He!==null&&He.apply(this,arguments)||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.e)(nt,vt,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("typedef.title","Type Definitions")]))]}})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",nt.word):g.a("goToTypeDefinition.generic.noResults","No type definition found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeTypeDefinitionCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleTypeDefinitions},Je}(J);Object(z.f)((Ee=function(He){ce(Je,He);function Je(){return He.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Je.ID,label:g.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:s.a.and(h.a.hasTypeDefinitionProvider,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:g.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})||this}return Je}(ne),Ee.ID="editor.action.goToTypeDefinition",Ee)),Object(z.f)((xe=function(He){ce(Je,He);function Je(){return He.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Je.ID,label:g.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:s.a.and(h.a.hasTypeDefinitionProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:4}})||this}return Je}(ne),xe.ID="editor.action.peekTypeDefinition",xe));var fe=function(He){ce(Je,He);function Je(){return He!==null&&He.apply(this,arguments)||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.c)(nt,vt,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("impl.title","Implementations")]))]}})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("goToImplementation.noResultWord","No implementation found for '{0}'",nt.word):g.a("goToImplementation.generic.noResults","No implementation found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeImplementationCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleImplementations},Je}(J);Object(z.f)((Ce=function(He){ce(Je,He);function Je(){return He.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Je.ID,label:g.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:s.a.and(h.a.hasImplementationProvider,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:2048|70,weight:100},menuOpts:{menuId:19,group:"4_symbol_nav",order:4,title:g.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})||this}return Je}(fe),Ce.ID="editor.action.goToImplementation",Ce)),Object(z.f)((he=function(He){ce(Je,He);function Je(){return He.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Je.ID,label:g.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:s.a.and(h.a.hasImplementationProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:2048|1024|70,weight:100},contextMenuOpts:{menuId:8,group:"peek",order:5}})||this}return Je}(fe),he.ID="editor.action.peekImplementation",he));var Oe=function(He){ce(Je,He);function Je(){return He!==null&&He.apply(this,arguments)||this}return Je.prototype._getNoResultFoundMessage=function(nt){return nt?g.a("references.no","No references found for '{0}'",nt.word):g.a("references.noGeneric","No references found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeReferenceCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleReferences},Je}(J);Object(z.f)(function(He){ce(Je,He);function Je(){return He.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:g.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:s.a.and(h.a.hasReferenceProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:1024|70,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:19,group:"4_symbol_nav",order:5,title:g.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.d)(nt,vt,!0,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("ref.title","References")]))]}})})},Je}(Oe)),Object(z.f)(function(He){ce(Je,He);function Je(){return He.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:g.a("references.action.label","Peek References"),alias:"Peek References",precondition:s.a.and(h.a.hasReferenceProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:6}})||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.d)(nt,vt,!1,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("ref.title","References")]))]}})})},Je}(Oe));var Me=function(He){ce(Je,He);function Je(nt,vt,Rt){var Dt=He.call(this,nt,{id:"editor.action.goToLocation",label:g.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:s.a.and(f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated())})||this;return Dt._references=vt,Dt._gotoMultipleBehaviour=Rt,Dt}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){return ye(this,function(Dt){return[2,new C.c(this._references,g.a("generic.title","Locations"))]})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&g.a("generic.noResult","No results for '{0}'",nt.word)||""},Je.prototype._getGoToPreference=function(nt){var vt;return(vt=this._gotoMultipleBehaviour)!==null&&vt!==void 0?vt:nt.getOption(41).multipleReferences},Je.prototype._getAlternativeCommand=function(){return""},Je}(J);_.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:ee.a},{name:"position",description:"The position at which to start",constraint:W.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(He,Je,nt,vt,Rt,Dt){return Z(void 0,void 0,void 0,function(){var Kt,ao;return ye(this,function(lo){switch(lo.label){case 0:return Object(ie.a)(ee.a.isUri(Je)),Object(ie.a)(W.a.isIPosition(nt)),Object(ie.a)(Array.isArray(vt)),Object(ie.a)(typeof Rt=="undefined"||typeof Rt=="string"),Object(ie.a)(typeof Dt=="undefined"||typeof Dt=="boolean"),Kt=He.get(D.a),[4,Kt.openCodeEditor({resource:Je},Kt.getFocusedCodeEditor())];case 1:return ao=lo.sent(),Object(B.a)(ao)?(ao.setPosition(nt),ao.revealPositionInCenterIfOutsideViewport(nt,0),[2,ao.invokeWithinContext(function(so){var jt=new Me({muteMessage:!0,openInPeek:Boolean(Dt),openToSide:!1},vt,Rt);so.get(I.a).invokeFunction(jt.run.bind(jt),ao)})]):[2]}})})}}),_.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:ee.a},{name:"position",description:"The position at which to start",constraint:W.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(He,Je,nt,vt,Rt){return Z(void 0,void 0,void 0,function(){return ye(this,function(Dt){return He.get(_.b).executeCommand("editor.action.goToLocations",Je,nt,vt,Rt,!0),[2]})})}}),_.a.registerCommand({id:"editor.action.findReferences",handler:function(He,Je,nt){Object(ie.a)(ee.a.isUri(Je)),Object(ie.a)(W.a.isIPosition(nt));var vt=He.get(D.a);return vt.openCodeEditor({resource:Je},vt.getFocusedCodeEditor()).then(function(Rt){if(!Object(B.a)(Rt)||!Rt.hasModel())return;var Dt=v.a.get(Rt);if(!Dt)return;var Kt=Object(le.f)(function(lo){return Object(p.d)(Rt.getModel(),W.a.lift(nt),!1,lo).then(function(so){return new C.c(so,g.a("ref.title","References"))})}),ao=new x.a(nt.lineNumber,nt.column,nt.lineNumber,nt.column);return Promise.resolve(Dt.toggleWidget(ao,Kt,!1))})}}),_.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},"8gvo":function(Lt,N,e){},"8z58":function(Lt,N,e){"use strict";e.r(N),e.d(N,"CancellationTokenSource",function(){return Wd}),e.d(N,"Emitter",function(){return Bd}),e.d(N,"KeyCode",function(){return Hd}),e.d(N,"KeyMod",function(){return Ud}),e.d(N,"Position",function(){return Vd}),e.d(N,"Range",function(){return zd}),e.d(N,"Selection",function(){return Kd}),e.d(N,"SelectionDirection",function(){return Gd}),e.d(N,"MarkerSeverity",function(){return Xd}),e.d(N,"MarkerTag",function(){return Yd}),e.d(N,"Uri",function(){return Zd}),e.d(N,"Token",function(){return Qd}),e.d(N,"editor",function(){return $d}),e.d(N,"languages",function(){return Jd});var T=e("/UlZ"),le=e("URDS"),$=e("JQT/"),R=e("MI8n"),B=e("/kV6"),z=e("bY76"),D=e("cGHE"),W=e("aokT"),x=e("gCVg"),h=e("Tcc1"),y;(function(a){a[a.Unknown=0]="Unknown",a[a.Disabled=1]="Disabled",a[a.Enabled=2]="Enabled"})(y||(y={}));var w;(function(a){a[a.KeepWhitespace=1]="KeepWhitespace",a[a.InsertAsSnippet=4]="InsertAsSnippet"})(w||(w={}));var f;(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.Snippet=25]="Snippet"})(f||(f={}));var v;(function(a){a[a.Deprecated=1]="Deprecated"})(v||(v={}));var C;(function(a){a[a.Invoke=0]="Invoke",a[a.TriggerCharacter=1]="TriggerCharacter",a[a.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(C||(C={}));var g;(function(a){a[a.EXACT=0]="EXACT",a[a.ABOVE=1]="ABOVE",a[a.BELOW=2]="BELOW"})(g||(g={}));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||(u={}));var s;(function(a){a[a.LF=1]="LF",a[a.CRLF=2]="CRLF"})(s||(s={}));var l;(function(a){a[a.Text=0]="Text",a[a.Read=1]="Read",a[a.Write=2]="Write"})(l||(l={}));var c;(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"})(c||(c={}));var p;(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.autoClosingOvertype=6]="autoClosingOvertype",a[a.autoClosingQuotes=7]="autoClosingQuotes",a[a.autoIndent=8]="autoIndent",a[a.automaticLayout=9]="automaticLayout",a[a.autoSurround=10]="autoSurround",a[a.codeLens=11]="codeLens",a[a.colorDecorators=12]="colorDecorators",a[a.comments=13]="comments",a[a.contextmenu=14]="contextmenu",a[a.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",a[a.cursorBlinking=16]="cursorBlinking",a[a.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",a[a.cursorStyle=18]="cursorStyle",a[a.cursorSurroundingLines=19]="cursorSurroundingLines",a[a.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",a[a.cursorWidth=21]="cursorWidth",a[a.disableLayerHinting=22]="disableLayerHinting",a[a.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",a[a.dragAndDrop=24]="dragAndDrop",a[a.emptySelectionClipboard=25]="emptySelectionClipboard",a[a.extraEditorClassName=26]="extraEditorClassName",a[a.fastScrollSensitivity=27]="fastScrollSensitivity",a[a.find=28]="find",a[a.fixedOverflowWidgets=29]="fixedOverflowWidgets",a[a.folding=30]="folding",a[a.foldingStrategy=31]="foldingStrategy",a[a.foldingHighlight=32]="foldingHighlight",a[a.fontFamily=33]="fontFamily",a[a.fontInfo=34]="fontInfo",a[a.fontLigatures=35]="fontLigatures",a[a.fontSize=36]="fontSize",a[a.fontWeight=37]="fontWeight",a[a.formatOnPaste=38]="formatOnPaste",a[a.formatOnType=39]="formatOnType",a[a.glyphMargin=40]="glyphMargin",a[a.gotoLocation=41]="gotoLocation",a[a.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",a[a.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",a[a.hover=44]="hover",a[a.inDiffEditor=45]="inDiffEditor",a[a.letterSpacing=46]="letterSpacing",a[a.lightbulb=47]="lightbulb",a[a.lineDecorationsWidth=48]="lineDecorationsWidth",a[a.lineHeight=49]="lineHeight",a[a.lineNumbers=50]="lineNumbers",a[a.lineNumbersMinChars=51]="lineNumbersMinChars",a[a.links=52]="links",a[a.matchBrackets=53]="matchBrackets",a[a.minimap=54]="minimap",a[a.mouseStyle=55]="mouseStyle",a[a.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",a[a.mouseWheelZoom=57]="mouseWheelZoom",a[a.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",a[a.multiCursorModifier=59]="multiCursorModifier",a[a.multiCursorPaste=60]="multiCursorPaste",a[a.occurrencesHighlight=61]="occurrencesHighlight",a[a.overviewRulerBorder=62]="overviewRulerBorder",a[a.overviewRulerLanes=63]="overviewRulerLanes",a[a.parameterHints=64]="parameterHints",a[a.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",a[a.quickSuggestions=66]="quickSuggestions",a[a.quickSuggestionsDelay=67]="quickSuggestionsDelay",a[a.readOnly=68]="readOnly",a[a.renderControlCharacters=69]="renderControlCharacters",a[a.renderIndentGuides=70]="renderIndentGuides",a[a.renderFinalNewline=71]="renderFinalNewline",a[a.renderLineHighlight=72]="renderLineHighlight",a[a.renderValidationDecorations=73]="renderValidationDecorations",a[a.renderWhitespace=74]="renderWhitespace",a[a.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",a[a.roundedSelection=76]="roundedSelection",a[a.rulers=77]="rulers",a[a.scrollbar=78]="scrollbar",a[a.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",a[a.scrollBeyondLastLine=80]="scrollBeyondLastLine",a[a.selectionClipboard=81]="selectionClipboard",a[a.selectionHighlight=82]="selectionHighlight",a[a.selectOnLineNumbers=83]="selectOnLineNumbers",a[a.showFoldingControls=84]="showFoldingControls",a[a.showUnused=85]="showUnused",a[a.snippetSuggestions=86]="snippetSuggestions",a[a.smoothScrolling=87]="smoothScrolling",a[a.stopRenderingLineAfter=88]="stopRenderingLineAfter",a[a.suggest=89]="suggest",a[a.suggestFontSize=90]="suggestFontSize",a[a.suggestLineHeight=91]="suggestLineHeight",a[a.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",a[a.suggestSelection=93]="suggestSelection",a[a.tabCompletion=94]="tabCompletion",a[a.useTabStops=95]="useTabStops",a[a.wordSeparators=96]="wordSeparators",a[a.wordWrap=97]="wordWrap",a[a.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",a[a.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",a[a.wordWrapColumn=100]="wordWrapColumn",a[a.wordWrapMinified=101]="wordWrapMinified",a[a.wrappingIndent=102]="wrappingIndent",a[a.wrappingStrategy=103]="wrappingStrategy",a[a.editorClassName=104]="editorClassName",a[a.pixelRatio=105]="pixelRatio",a[a.tabFocusMode=106]="tabFocusMode",a[a.layoutInfo=107]="layoutInfo",a[a.wrappingInfo=108]="wrappingInfo"})(p||(p={}));var _;(function(a){a[a.TextDefined=0]="TextDefined",a[a.LF=1]="LF",a[a.CRLF=2]="CRLF"})(_||(_={}));var L;(function(a){a[a.LF=0]="LF",a[a.CRLF=1]="CRLF"})(L||(L={}));var I;(function(a){a[a.None=0]="None",a[a.Indent=1]="Indent",a[a.IndentOutdent=2]="IndentOutdent",a[a.Outdent=3]="Outdent"})(I||(I={}));var P;(function(a){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.KEY_0=21]="KEY_0",a[a.KEY_1=22]="KEY_1",a[a.KEY_2=23]="KEY_2",a[a.KEY_3=24]="KEY_3",a[a.KEY_4=25]="KEY_4",a[a.KEY_5=26]="KEY_5",a[a.KEY_6=27]="KEY_6",a[a.KEY_7=28]="KEY_7",a[a.KEY_8=29]="KEY_8",a[a.KEY_9=30]="KEY_9",a[a.KEY_A=31]="KEY_A",a[a.KEY_B=32]="KEY_B",a[a.KEY_C=33]="KEY_C",a[a.KEY_D=34]="KEY_D",a[a.KEY_E=35]="KEY_E",a[a.KEY_F=36]="KEY_F",a[a.KEY_G=37]="KEY_G",a[a.KEY_H=38]="KEY_H",a[a.KEY_I=39]="KEY_I",a[a.KEY_J=40]="KEY_J",a[a.KEY_K=41]="KEY_K",a[a.KEY_L=42]="KEY_L",a[a.KEY_M=43]="KEY_M",a[a.KEY_N=44]="KEY_N",a[a.KEY_O=45]="KEY_O",a[a.KEY_P=46]="KEY_P",a[a.KEY_Q=47]="KEY_Q",a[a.KEY_R=48]="KEY_R",a[a.KEY_S=49]="KEY_S",a[a.KEY_T=50]="KEY_T",a[a.KEY_U=51]="KEY_U",a[a.KEY_V=52]="KEY_V",a[a.KEY_W=53]="KEY_W",a[a.KEY_X=54]="KEY_X",a[a.KEY_Y=55]="KEY_Y",a[a.KEY_Z=56]="KEY_Z",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.US_SEMICOLON=80]="US_SEMICOLON",a[a.US_EQUAL=81]="US_EQUAL",a[a.US_COMMA=82]="US_COMMA",a[a.US_MINUS=83]="US_MINUS",a[a.US_DOT=84]="US_DOT",a[a.US_SLASH=85]="US_SLASH",a[a.US_BACKTICK=86]="US_BACKTICK",a[a.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",a[a.US_BACKSLASH=88]="US_BACKSLASH",a[a.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",a[a.US_QUOTE=90]="US_QUOTE",a[a.OEM_8=91]="OEM_8",a[a.OEM_102=92]="OEM_102",a[a.NUMPAD_0=93]="NUMPAD_0",a[a.NUMPAD_1=94]="NUMPAD_1",a[a.NUMPAD_2=95]="NUMPAD_2",a[a.NUMPAD_3=96]="NUMPAD_3",a[a.NUMPAD_4=97]="NUMPAD_4",a[a.NUMPAD_5=98]="NUMPAD_5",a[a.NUMPAD_6=99]="NUMPAD_6",a[a.NUMPAD_7=100]="NUMPAD_7",a[a.NUMPAD_8=101]="NUMPAD_8",a[a.NUMPAD_9=102]="NUMPAD_9",a[a.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",a[a.NUMPAD_ADD=104]="NUMPAD_ADD",a[a.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",a[a.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",a[a.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",a[a.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",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.MAX_VALUE=112]="MAX_VALUE"})(P||(P={}));var A;(function(a){a[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error"})(A||(A={}));var Q;(function(a){a[a.Unnecessary=1]="Unnecessary",a[a.Deprecated=2]="Deprecated"})(Q||(Q={}));var K;(function(a){a[a.Inline=1]="Inline",a[a.Gutter=2]="Gutter"})(K||(K={}));var U;(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"})(U||(U={}));var V;(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"})(V||(V={}));var de;(function(a){a[a.Left=1]="Left",a[a.Center=2]="Center",a[a.Right=4]="Right",a[a.Full=7]="Full"})(de||(de={}));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={}));var Se;(function(a){a[a.None=0]="None",a[a.Text=1]="Text",a[a.Blocks=2]="Blocks"})(Se||(Se={}));var Ie;(function(a){a[a.Smooth=0]="Smooth",a[a.Immediate=1]="Immediate"})(Ie||(Ie={}));var Pe;(function(a){a[a.Auto=1]="Auto",a[a.Hidden=2]="Hidden",a[a.Visible=3]="Visible"})(Pe||(Pe={}));var Ve;(function(a){a[a.LTR=0]="LTR",a[a.RTL=1]="RTL"})(Ve||(Ve={}));var ke;(function(a){a[a.Invoke=1]="Invoke",a[a.TriggerCharacter=2]="TriggerCharacter",a[a.ContentChange=3]="ContentChange"})(ke||(ke={}));var se;(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"})(se||(se={}));var ee;(function(a){a[a.Deprecated=1]="Deprecated"})(ee||(ee={}));var ie;(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"})(ie||(ie={}));var q;(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"})(q||(q={}));var ce;(function(a){a[a.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",a[a.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",a[a.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",a[a.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(ce||(ce={}));var Z;(function(a){a[a.None=0]="None",a[a.Same=1]="Same",a[a.Indent=2]="Indent",a[a.DeepIndent=3]="DeepIndent"})(Z||(Z={}));var ye=function(){function a(){}return a.chord=function(r,n){return Object(B.a)(r,n)},a.CtrlCmd=2048,a.Shift=1024,a.Alt=512,a.WinCtrl=256,a}();function je(){return{editor:void 0,languages:void 0,CancellationTokenSource:$.b,Emitter:R.a,KeyCode:P,KeyMod:ye,Position:D.a,Range:W.a,Selection:x.a,SelectionDirection:Ve,MarkerSeverity:A,MarkerTag:Q,Uri:z.a,Token:h.a}}var Ge=e("siPX"),ue=e("Vxe3"),ve=e("EffR"),Ee=e("24hK"),xe=e("Q4rV"),Ce=e("tYmi"),he=e("gslv"),J=e("nnTU"),b=e("W9cx"),F;(function(a){a[a.API=0]="API",a[a.USER=1]="USER"})(F||(F={}));var re=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},ne=function(a,r){return function(n,d){r(n,d,a)}},fe=function(a,r,n,d){function S(k){return k instanceof n?k:new n(function(we){we(k)})}return new(n||(n=Promise))(function(k,we){function We(yt){try{Qe(d.next(yt))}catch(It){we(It)}}function Xe(yt){try{Qe(d.throw(yt))}catch(It){we(It)}}function Qe(yt){yt.done?k(yt.value):S(yt.value).then(We,Xe)}Qe((d=d.apply(a,r||[])).next())})},Oe=function(a,r){var n={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},d,S,k,we;return we={next:We(0),throw:We(1),return:We(2)},typeof Symbol=="function"&&(we[Symbol.iterator]=function(){return this}),we;function We(Qe){return function(yt){return Xe([Qe,yt])}}function Xe(Qe){if(d)throw new TypeError("Generator is already executing.");for(;n;)try{if(d=1,S&&(k=Qe[0]&2?S.return:Qe[0]?S.throw||((k=S.return)&&k.call(S),0):S.next)&&!(k=k.call(S,Qe[1])).done)return k;(S=0,k)&&(Qe=[Qe[0]&2,k.value]);switch(Qe[0]){case 0:case 1:k=Qe;break;case 4:return n.label++,{value:Qe[1],done:!1};case 5:n.label++,S=Qe[1],Qe=[0];continue;case 7:Qe=n.ops.pop(),n.trys.pop();continue;default:if(!(k=n.trys,k=k.length>0&&k[k.length-1])&&(Qe[0]===6||Qe[0]===2)){n=0;continue}if(Qe[0]===3&&(!k||Qe[1]>k[0]&&Qe[1]=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var S=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var k=S.range.getStartPosition();this._editor.setPosition(k),this._editor.revealPositionInCenter(k,d)}finally{this.ignoreSelectionChange=!1}},r.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},r.prototype.next=function(n){n===void 0&&(n=0),this._move(!0,n)},r.prototype.previous=function(n){n===void 0&&(n=0),this._move(!1,n)},r.prototype.dispose=function(){a.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},r}(Rt.a),so=e("+3Gp"),jt=e("iuje"),pt=e("M1Kb"),gt=e("twdY"),Tt=e("i/Ef"),it=e("pAvP"),et=e("t49l"),ut=e("X+cX"),Ct=e("/cxE"),ht=e("MNsG"),Et=e("746U"),Yt=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Nt="$initialize",bt=!1;function $e(a){if(!ht.g)return;bt||(bt=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(a.message)}var Ye=function(){function a(r){this._workerId=-1,this._handler=r,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return a.prototype.setWorkerId=function(r){this._workerId=r},a.prototype.sendMessage=function(r,n){var d=this,S=String(++this._lastSentReq);return new Promise(function(k,we){d._pendingReplies[S]={resolve:k,reject:we},d._send({vsWorker:d._workerId,req:S,method:r,args:n})})},a.prototype.handleMessage=function(r){if(!r||!r.vsWorker)return;if(this._workerId!==-1&&r.vsWorker!==this._workerId)return;this._handleMessage(r)},a.prototype._handleMessage=function(r){var n=this;if(r.seq){var d=r;if(!this._pendingReplies[d.seq]){console.warn("Got reply to unknown seq");return}var S=this._pendingReplies[d.seq];if(delete this._pendingReplies[d.seq],d.err){var k=d.err;d.err.$isError&&(k=new Error,k.name=d.err.name,k.message=d.err.message,k.stack=d.err.stack),S.reject(k);return}S.resolve(d.res);return}var we=r,We=we.req,Xe=this._handler.handleMessage(we.method,we.args);Xe.then(function(Qe){n._send({vsWorker:n._workerId,seq:We,res:Qe,err:void 0})},function(Qe){Qe.detail instanceof Error&&(Qe.detail=Object(Ct.g)(Qe.detail)),n._send({vsWorker:n._workerId,seq:We,res:void 0,err:Object(Ct.g)(Qe)})})},a.prototype._send=function(r){var n=[];if(r.req)for(var d=r,S=0;S0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&k()){var Pt=d.createCharSequence(r,n.originalStart,n.originalStart+n.originalLength-1),ro=S.createCharSequence(r,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),eo=ho(Pt,ro,k,!0).changes;We&&(eo=jo(eo)),Wt=[];for(var Gt=0,Jt=eo.length;Gt1&&Jt>1;){var co=ro.charCodeAt(Gt-2),So=eo.charCodeAt(Jt-2);if(co!==So)break;Gt--,Jt--}(Gt>1||Jt>1)&&this._pushTrimWhitespaceCharChange(We,Xe+1,1,Gt,Qe+1,1,Jt)}{for(var xo=Fo(ro,1),Po=Fo(eo,1),Go=ro.length+1,Xo=eo.length+1;xon&&(n=Xe),We>d&&(d=We),Qe>d&&(d=Qe)}n++,d++;for(var yt=new pn(d,n,0),S=0,k=r.length;S=this._maxCharCode?0:this._states.get(r,n)},a}(),on=null;function dn(){return on===null&&(on=new rn([[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]])),on}var Ho=null;function Bo(){if(Ho===null){Ho=new Cn.a(0);for(var a=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF20\uFF03\uFF04\uFF05\uFF06\uFF0A\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u3011\u300F\u300D\u300B\u3009\u201D\u2019\uFF40\uFF5E\u2026`,r=0;rS);if(S>0){var Qe=n.charCodeAt(S-1),yt=n.charCodeAt(we);(Qe===40&&yt===41||Qe===91&&yt===93||Qe===123&&yt===125)&&we--}return{range:{startLineNumber:d,startColumn:S+1,endLineNumber:d,endColumn:we+2},url:n.substring(S,we+1)}},a.computeLinks=function(r,n){n===void 0&&(n=dn());for(var d=Bo(),S=[],k=1,we=r.getLineCount();k<=we;k++){for(var We=r.getLineContent(k),Xe=We.length,Qe=0,yt=0,It=0,Wt=1,Pt=!1,ro=!1,eo=!1;Qe=0?(S+=d?1:-1,S<0?S=r.length-1:S%=r.length,r[S]):null},a.INSTANCE=new a,a}(),Mt=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),be=function(a,r,n,d){function S(k){return k instanceof n?k:new n(function(we){we(k)})}return new(n||(n=Promise))(function(k,we){function We(yt){try{Qe(d.next(yt))}catch(It){we(It)}}function Xe(yt){try{Qe(d.throw(yt))}catch(It){we(It)}}function Qe(yt){yt.done?k(yt.value):S(yt.value).then(We,Xe)}Qe((d=d.apply(a,r||[])).next())})},M=function(a,r){var n={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},d,S,k,we;return we={next:We(0),throw:We(1),return:We(2)},typeof Symbol=="function"&&(we[Symbol.iterator]=function(){return this}),we;function We(Qe){return function(yt){return Xe([Qe,yt])}}function Xe(Qe){if(d)throw new TypeError("Generator is already executing.");for(;n;)try{if(d=1,S&&(k=Qe[0]&2?S.return:Qe[0]?S.throw||((k=S.return)&&k.call(S),0):S.next)&&!(k=k.call(S,Qe[1])).done)return k;(S=0,k)&&(Qe=[Qe[0]&2,k.value]);switch(Qe[0]){case 0:case 1:k=Qe;break;case 4:return n.label++,{value:Qe[1],done:!1};case 5:n.label++,S=Qe[1],Qe=[0];continue;case 7:Qe=n.ops.pop(),n.trys.pop();continue;default:if(!(k=n.trys,k=k.length>0&&k[k.length-1])&&(Qe[0]===6||Qe[0]===2)){n=0;continue}if(Qe[0]===3&&(!k||Qe[1]>k[0]&&Qe[1]=d._lines.length?Qt.c:(we=d._lines[k],Xe=d._wordenize(we,n),We=0,k+=1,Qe())};return{next:Qe}},r.prototype.getLineWords=function(n,d){for(var S=this._lines[n-1],k=this._wordenize(S,d),we=[],We=0,Xe=k;Wethis._lines.length)d=this._lines.length,S=this._lines[d-1].length+1,k=!0;else{var we=this._lines[d-1].length+1;S<1?(S=1,k=!0):S>we&&(S=we,k=!0)}return k?{lineNumber:d,column:S}:n},r}(un),X=function(){function a(r,n){this._host=r,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}return a.prototype.dispose=function(){this._models=Object.create(null)},a.prototype._getModel=function(r){return this._models[r]},a.prototype._getModels=function(){var r=this,n=[];return Object.keys(this._models).forEach(function(d){return n.push(r._models[d])}),n},a.prototype.acceptNewModel=function(r){this._models[r.url]=new j(z.a.parse(r.url),r.lines,r.EOL,r.versionId)},a.prototype.acceptModelChanged=function(r,n){if(!this._models[r])return;var d=this._models[r];d.onEvents(n)},a.prototype.acceptRemovedModel=function(r){if(!this._models[r])return;delete this._models[r]},a.prototype.computeDiff=function(r,n,d,S){return be(this,void 0,void 0,function(){var k,we,We,Xe,Qe,yt,It;return M(this,function(Wt){return k=this._getModel(r),we=this._getModel(n),!k||!we?[2,null]:(We=k.getLinesContent(),Xe=we.getLinesContent(),Qe=new Wo(We,Xe,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:d,shouldMakePrettyDiff:!0,maxComputationTime:S}),yt=Qe.computeDiff(),It=yt.changes.length>0?!1:this._modelsAreIdentical(k,we),[2,{quitEarly:yt.quitEarly,identical:It,changes:yt.changes}])})})},a.prototype._modelsAreIdentical=function(r,n){var d=r.getLineCount(),S=n.getLineCount();if(d!==S)return!1;for(var k=1;k<=d;k++){var we=r.getLineContent(k),We=n.getLineContent(k);if(we!==We)return!1}return!0},a.prototype.computeMoreMinimalEdits=function(r,n){return be(this,void 0,void 0,function(){var d,S,k,we,We,Xe,Qe,yt,It,Wt,Pt,ro,eo,Gt,Jt,co,So,xo;return M(this,function(Po){if(d=this._getModel(r),!d)return[2,n];for(S=[],k=void 0,n=Object(dt.r)(n,function(Go,Xo){if(Go.range&&Xo.range)return W.a.compareRangesUsingStarts(Go.range,Xo.range);var an=Go.range?0:1,yn=Xo.range?0:1;return an-yn}),we=0,We=n;wea._diffLimit){S.push({range:Qe,text:yt});continue}for(Pt=Object(Ot.b)(Wt,yt,!1),ro=d.offsetAt(W.a.lift(Qe).getStartPosition()),eo=0,Gt=Pt;eo=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},Ht=function(a,r){return function(n,d){r(n,d,a)}},Vt=function(a,r,n,d){function S(k){return k instanceof n?k:new n(function(we){we(k)})}return new(n||(n=Promise))(function(k,we){function We(yt){try{Qe(d.next(yt))}catch(It){we(It)}}function Xe(yt){try{Qe(d.throw(yt))}catch(It){we(It)}}function Qe(yt){yt.done?k(yt.value):S(yt.value).then(We,Xe)}Qe((d=d.apply(a,r||[])).next())})},oo=function(a,r){var n={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},d,S,k,we;return we={next:We(0),throw:We(1),return:We(2)},typeof Symbol=="function"&&(we[Symbol.iterator]=function(){return this}),we;function We(Qe){return function(yt){return Xe([Qe,yt])}}function Xe(Qe){if(d)throw new TypeError("Generator is already executing.");for(;n;)try{if(d=1,S&&(k=Qe[0]&2?S.return:Qe[0]?S.throw||((k=S.return)&&k.call(S),0):S.next)&&!(k=k.call(S,Qe[1])).done)return k;(S=0,k)&&(Qe=[Qe[0]&2,k.value]);switch(Qe[0]){case 0:case 1:k=Qe;break;case 4:return n.label++,{value:Qe[1],done:!1};case 5:n.label++,S=Qe[1],Qe=[0];continue;case 7:Qe=n.ops.pop(),n.trys.pop();continue;default:if(!(k=n.trys,k=k.length>0&&k[k.length-1])&&(Qe[0]===6||Qe[0]===2)){n=0;continue}if(Qe[0]===3&&(!k||Qe[1]>k[0]&&Qe[1]mo&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)},r.prototype.withWorker=function(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new me(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},r}(Rt.a),xt=function(a){At(r,a);function r(n,d,S){var k=a.call(this)||this;if(k._syncedModels=Object.create(null),k._syncedModelsLastUsedTime=Object.create(null),k._proxy=n,k._modelService=d,!S){var we=new ut.c;we.cancelAndSet(function(){return k._checkStopModelSync()},Math.round(Zt/2)),k._register(we)}return k}return r.prototype.dispose=function(){for(var n in this._syncedModels)Object(Rt.f)(this._syncedModels[n]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),a.prototype.dispose.call(this)},r.prototype.ensureSyncedResources=function(n){for(var d=0,S=n;dZt&&d.push(S)}for(var we=0,We=d;we'"_]/g,"-")}function Qo(a,r){console.log(a.languageId+": "+r)}function Oo(a,r){return new Error(a.languageId+": "+r)}function Lo(a,r,n,d,S){var k=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,we=null;return r.replace(k,function(We,Xe,Qe,yt,It,Wt,Pt,ro,eo){return To(Qe)?To(yt)?!To(It)&&It0;){var d=a.tokenizer[n];if(d)return d;var S=n.lastIndexOf(".");S<0?n=null:n=n.substr(0,S)}return null}function hn(a,r){for(var n=r;n&&n.length>0;){var d=a.stateNames[n];if(d)return!0;var S=n.lastIndexOf(".");S<0?n=null:n=n.substr(0,S)}return!1}var En=5,qo=function(){function a(r){this._maxCacheDepth=r,this._entries=Object.create(null)}return a.create=function(r,n){return this._INSTANCE.create(r,n)},a.prototype.create=function(r,n){if(r!==null&&r.depth>=this._maxCacheDepth)return new xn(r,n);var d=xn.getStackElementId(r);d.length>0&&(d+="|"),d+=n;var S=this._entries[d];return S||(S=new xn(r,n),this._entries[d]=S,S)},a._INSTANCE=new a(En),a}(),xn=function(){function a(r,n){this.parent=r,this.state=n,this.depth=(this.parent?this.parent.depth:0)+1}return a.getStackElementId=function(r){for(var n="";r!==null;)n.length>0&&(n+="|"),n+=r.state,r=r.parent;return n},a._equals=function(r,n){for(;r!==null&&n!==null;){if(r===n)return!0;if(r.state!==n.state)return!1;r=r.parent,n=n.parent}return r===null&&n===null},a.prototype.equals=function(r){return a._equals(this,r)},a.prototype.push=function(r){return qo.create(this,r)},a.prototype.pop=function(){return this.parent},a.prototype.popall=function(){for(var r=this;r.parent;)r=r.parent;return r},a.prototype.switchTo=function(r){return qo.create(this.parent,r)},a}(),Hn=function(){function a(r,n){this.modeId=r,this.state=n}return a.prototype.equals=function(r){return this.modeId===r.modeId&&this.state.equals(r.state)},a.prototype.clone=function(){var r=this.state.clone();return r===this.state?this:new a(this.modeId,this.state)},a}(),An=function(){function a(r){this._maxCacheDepth=r,this._entries=Object.create(null)}return a.create=function(r,n){return this._INSTANCE.create(r,n)},a.prototype.create=function(r,n){if(n!==null)return new si(r,n);if(r!==null&&r.depth>=this._maxCacheDepth)return new si(r,n);var d=xn.getStackElementId(r),S=this._entries[d];return S||(S=new si(r,null),this._entries[d]=S,S)},a._INSTANCE=new a(En),a}(),si=function(){function a(r,n){this.stack=r,this.embeddedModeData=n}return a.prototype.clone=function(){var r=this.embeddedModeData?this.embeddedModeData.clone():null;return r===this.embeddedModeData?this:An.create(this.stack,this.embeddedModeData)},a.prototype.equals=function(r){return r instanceof a&&this.stack.equals(r.stack)?this.embeddedModeData===null&&r.embeddedModeData===null?!0:this.embeddedModeData===null||r.embeddedModeData===null?!1:this.embeddedModeData.equals(r.embeddedModeData):!1},a}(),ai=function(){function a(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return a.prototype.enterMode=function(r,n){this._language=n},a.prototype.emit=function(r,n){if(this._lastTokenType===n&&this._lastTokenLanguage===this._language)return;this._lastTokenType=n,this._lastTokenLanguage=this._language,this._tokens.push(new h.a(r,n,this._language))},a.prototype.nestedModeTokenize=function(r,n,d){var S=n.modeId,k=n.state,we=gt.B.get(S);if(!we)return this.enterMode(d,S),this.emit(d,""),k;var We=we.tokenize(r,k,d);return this._tokens=this._tokens.concat(We.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,We.endState},a.prototype.finalize=function(r){return new h.b(this._tokens,r)},a}(),Pn=function(){function a(r,n){this._modeService=r,this._theme=n,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return a.prototype.enterMode=function(r,n){this._currentLanguageId=this._modeService.getLanguageIdentifier(n).id},a.prototype.emit=function(r,n){var d=this._theme.match(this._currentLanguageId,n);if(this._lastTokenMetadata===d)return;this._lastTokenMetadata=d,this._tokens.push(r),this._tokens.push(d)},a._merge=function(r,n,d){var S=r!==null?r.length:0,k=n.length,we=d!==null?d.length:0;if(S===0&&k===0&&we===0)return new Uint32Array(0);if(S===0&&k===0)return d;if(k===0&&we===0)return r;var We=new Uint32Array(S+k+we);r!==null&&We.set(r);for(var Xe=0;Xe0&&S.nestedModeTokenize(We,n.embeddedModeData,d);var Xe=r.substring(k);return this._myTokenize(Xe,n,d+k,S)},a.prototype._safeRuleName=function(r){return r?r.name:"(unknown)"},a.prototype._myTokenize=function(r,n,d,S){S.enterMode(d,this._modeId);for(var k=r.length,we=n.embeddedModeData,We=n.stack,Xe=0,Qe=null,yt=!0;yt||Xe=k)break;yt=!1;var Po=this._lexer.tokenizer[ro];if(!Po&&(Po=vn(this._lexer,ro),!Po))throw Oo(this._lexer,"tokenizer state is not defined: "+ro);for(var Go=r.substr(Xe),Xo=0,an=Po;Xo=this._lexer.maxStack)throw Oo(this._lexer,"maximum tokenizer stack size reached: ["+We.state+","+We.parent.state+",...]");We=We.push(ro)}else if(Jt.next==="@pop"){if(We.depth<=1)throw Oo(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(co));We=We.pop()}else if(Jt.next==="@popall")We=We.popall();else{var Yo=Lo(this._lexer,Jt.next,Gt,eo,ro);if(Yo[0]==="@"&&(Yo=Yo.substr(1)),vn(this._lexer,Yo))We=We.push(Yo);else throw Oo(this._lexer,"trying to set a next state '"+Yo+"' that is undefined in rule: "+this._safeRuleName(co))}}Jt.log&&typeof Jt.log=="string"&&Qo(this._lexer,this._lexer.languageId+": "+Lo(this._lexer,Jt.log,Gt,eo,ro))}if(Zo===null)throw Oo(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(co));if(Array.isArray(Zo)){if(Qe&&Qe.groups.length>0)throw Oo(this._lexer,"groups cannot be nested: "+this._safeRuleName(co));if(eo.length!==Zo.length+1)throw Oo(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(co));for(var mn=0,en=1;en=0&&ro()})})},a.colorizeLine=function(r,n,d,S,k){k===void 0&&(k=4);var we=Xt.d.isBasicASCII(r,n),We=Xt.d.containsRTL(r,we,d),Xe=Object(zt.e)(new zt.c(!1,!0,r,!1,we,We,0,S,[],k,0,0,0,-1,"none",!1,!1,null));return Xe.html},a.colorizeModelLine=function(r,n,d){d===void 0&&(d=4);var S=r.getLineContent(n);r.forceTokenization(n);var k=r.getLineTokens(n),we=k.inflate();return this.colorizeLine(S,r.mightContainNonBasicASCII(),r.mightContainRTL(),we,d)},a}();function Ki(a,r,n){return new Promise(function(d,S){var k=function(){var we=Gi(a,r,n);if(n instanceof bi){var We=n.getLoadStatus();if(We.loaded===!1){We.promise.then(k,S);return}}d(we)};k()})}function Zr(a,r){var n=[],d=(0<<11|1<<14|2<<23)>>>0,S=new Uint32Array(2);S[0]=0,S[1]=d;for(var k=0,we=a.length;k")}return n.join("")}function Gi(a,r,n){for(var d=[],S=n.getInitialState(),k=0,we=a.length;k"),S=Xe.endState}return d.join("")}var $o=e("uDWl"),li=e("S3by"),Dn=e("sFUC"),yr=e("iDAx"),Qr=e("0/Sa"),On=e("+7oY"),Qn=e("QDVR"),Xi=e("CRAX"),br=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Yi=function(){for(var a=0,r=0,n=arguments.length;r5e3&&S._leaveChordMode()},500)},r.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},r.prototype._dispatch=function(n,d){return this._doDispatch(this.resolveKeyboardEvent(n),d)},r.prototype._doDispatch=function(n,d){var S=this,k=!1;if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var we=n.getDispatchParts()[0];if(we===null)return k;var We=this._contextKeyService.getContext(d),Xe=this._currentChord?this._currentChord.keypress:null,Qe=n.getLabel(),yt=this._getResolver().resolve(We,Xe,we);return yt&&yt.enterChord?(k=!0,this._enterChordMode(we,Qe),k):(this._currentChord&&((!yt||!yt.commandId)&&(this._notificationService.status(wn.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,Qe),{hideAfter:10*1e3}),k=!0)),this._leaveChordMode(),yt&&yt.commandId&&(yt.bubble||(k=!0),typeof yt.commandArgs=="undefined"?this._commandService.executeCommand(yt.commandId).then(void 0,function(It){return S._notificationService.warn(It)}):this._commandService.executeCommand(yt.commandId,yt.commandArgs).then(void 0,function(It){return S._notificationService.warn(It)}),this._telemetryService.publicLog2("workbenchActionExecuted",{id:yt.commandId,from:"keybinding"})),k)},r.prototype.mightProducePrintableCharacter=function(n){return n.ctrlKey||n.metaKey?!1:n.keyCode>=31&&n.keyCode<=56||n.keyCode>=21&&n.keyCode<=30},r}(Rt.a),_n=e("T8No"),Qi=function(){function a(r,n){this._defaultKeybindings=r,this._defaultBoundCommands=new Map;for(var d=0,S=r.length;d=0;It--)this._isTargetedForRemoval(r[It],Xe,Qe,We,yt)&&r.splice(It,1)}return r.concat(d)},a.prototype._addKeyPress=function(r,n){var d=this._map.get(r);if(typeof d=="undefined"){this._map.set(r,[n]),this._addToLookupMap(n);return}for(var S=d.length-1;S>=0;S--){var k=d[S];if(k.command===n.command)continue;var we=k.keypressParts.length>1,We=n.keypressParts.length>1;if(we&&We&&k.keypressParts[1]!==n.keypressParts[1])continue;a.whenIsEntirelyIncluded(k.when,n.when)&&this._removeFromLookupMap(k)}d.push(n),this._addToLookupMap(n)},a.prototype._addToLookupMap=function(r){if(!r.command)return;var n=this._lookupMap.get(r.command);typeof n=="undefined"?(n=[r],this._lookupMap.set(r.command,n)):n.push(r)},a.prototype._removeFromLookupMap=function(r){if(!r.command)return;var n=this._lookupMap.get(r.command);if(typeof n=="undefined")return;for(var d=0,S=n.length;d1&&Qe.keypressParts[1]!==null?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:Qe.command,commandArgs:Qe.commandArgs,bubble:Qe.bubble}:null},a.prototype._findCommand=function(r,n){for(var d=n.length-1;d>=0;d--){var S=n[d];if(!a.contextMatchesRules(r,S.when))continue;return S}return null},a.contextMatchesRules=function(r,n){return n?n.evaluate(r):!0},a}(),qr=e("nrhi"),$i=function(){function a(r,n,d,S,k){this.resolvedKeybinding=r,this.keypressParts=r?Er(r.getDispatchParts()):[],this.bubble=n?n.charCodeAt(0)===94:!1,this.command=this.bubble?n.substr(1):n,this.commandArgs=d,this.when=S,this.isDefault=k}return a}();function Er(a){for(var r=[],n=0,d=a.length;n1},r.prototype.getParts=function(){var n=this;return this._parts.map(function(d){return n._getPart(d)})},r.prototype._getPart=function(n){return new B.d(n.ctrlKey,n.shiftKey,n.altKey,n.metaKey,this._getLabel(n),this._getAriaLabel(n))},r.prototype.getDispatchParts=function(){var n=this;return this._parts.map(function(d){return n._getDispatchPart(d)})},r}(B.c),ts=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),_r=function(a){ts(r,a);function r(n,d){return a.call(this,d,n.parts)||this}return r.prototype._keyCodeToUILabel=function(n){if(this._os===2)switch(n){case 15:return"\u2190";case 16:return"\u2191";case 17:return"\u2192";case 18:return"\u2193"}return B.b.toString(n)},r.prototype._getLabel=function(n){return n.isDuplicateModifierCase()?"":this._keyCodeToUILabel(n.keyCode)},r.prototype._getAriaLabel=function(n){return n.isDuplicateModifierCase()?"":B.b.toString(n.keyCode)},r.prototype._getDispatchPart=function(n){return r.getDispatchStr(n)},r.getDispatchStr=function(n){if(n.isModifierKey())return null;var d="";return n.ctrlKey&&(d+="ctrl+"),n.shiftKey&&(d+="shift+"),n.altKey&&(d+="alt+"),n.metaKey&&(d+="meta+"),d+=B.b.toString(n.keyCode),d},r}(na),Un=e("sM1p"),Sr=e("EWX2"),Oi=e("A9l+"),os=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),ns=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},is=function(a,r){return function(n,d){r(n,d,a)}},rs=function(){for(var a=0,r=0,n=arguments.length;r':"<"+Je+">";return nt+Me+""+Je+`>
+`},Z.prototype.strong=function(Me){return""+Me+""},Z.prototype.em=function(Me){return""+Me+""},Z.prototype.codespan=function(Me){return""+Me+""},Z.prototype.br=function(){return this.options.xhtml?"
":"
"},Z.prototype.del=function(Me){return""+Me+""},Z.prototype.link=function(Me,Ue,Je){if(Me=xe(this.options.sanitize,this.options.baseUrl,Me),Me===null)return Je;var nt='"+Je+"",nt},Z.prototype.image=function(Me,Ue,Je){if(Me=xe(this.options.sanitize,this.options.baseUrl,Me),Me===null)return Je;var nt='
":">",nt},Z.prototype.text=function(Me){return Me};function ye(){}ye.prototype.strong=ye.prototype.em=ye.prototype.codespan=ye.prototype.del=ye.prototype.text=function(Me){return Me},ye.prototype.link=ye.prototype.image=function(Me,Ue,Je){return""+Je},ye.prototype.br=function(){return""};function je(Me){this.tokens=[],this.token=null,this.options=Me||Oe.defaults,this.options.renderer=this.options.renderer||new Z,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new Ge}je.parse=function(Me,Ue){var Je=new je(Ue);return Je.parse(Me)},je.prototype.parse=function(Me){this.inline=new ce(Me.links,this.options),this.inlineText=new ce(Me.links,F({},this.options,{renderer:new ye})),this.tokens=Me.reverse();for(var Ue="";this.next();)Ue+=this.tok();return Ue},je.prototype.next=function(){return this.token=this.tokens.pop()},je.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},je.prototype.parseText=function(){for(var Me=this.token.text;this.peek().type==="text";)Me+=`
+`+this.next().text;return this.inline.output(Me)},je.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,ve(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":{var Me="",Ue="",Je,nt,vt,Rt;for(vt="",Je=0;Je?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(Ue)){var Je=Ue;do this.seen[Je]++,Ue=Je+"-"+this.seen[Je];while(this.seen.hasOwnProperty(Ue))}return this.seen[Ue]=0,Ue};function ue(Me,Ue){if(Ue){if(ue.escapeTest.test(Me))return Me.replace(ue.escapeReplace,function(Je){return ue.replacements[Je]})}else if(ue.escapeTestNoEncode.test(Me))return Me.replace(ue.escapeReplaceNoEncode,function(Je){return ue.replacements[Je]});return Me}ue.escapeTest=/[&<>"']/,ue.escapeReplace=/[&<>"']/g,ue.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},ue.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,ue.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;function ve(Me){return Me.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,function(Ue,Je){return Je=Je.toLowerCase(),Je==="colon"?":":Je.charAt(0)==="#"?Je.charAt(1)==="x"?String.fromCharCode(parseInt(Je.substring(2),16)):String.fromCharCode(+Je.substring(1)):""})}function Ee(Me,Ue){return Me=Me.source||Me,Ue=Ue||"",{replace:function(Je,nt){return nt=nt.source||nt,nt=nt.replace(/(^|[^\[])\^/g,"$1"),Me=Me.replace(Je,nt),this},getRegex:function(){return new RegExp(Me,Ue)}}}function xe(Me,Ue,Je){if(Me){try{var nt=decodeURIComponent(ve(Je)).replace(/[^\w:]/g,"").toLowerCase()}catch(vt){return null}if(nt.indexOf("javascript:")===0||nt.indexOf("vbscript:")===0||nt.indexOf("data:")===0)return null}Ue&&!J.test(Je)&&(Je=Ce(Ue,Je));try{Je=encodeURI(Je).replace(/%25/g,"%")}catch(vt){return null}return Je}function Ce(Me,Ue){return he[" "+Me]||(/^[^:]+:\/*[^/]*$/.test(Me)?he[" "+Me]=Me+"/":he[" "+Me]=ne(Me,"/",!0)),Me=he[" "+Me],Ue.slice(0,2)==="//"?Me.replace(/:[\s\S]*/,":")+Ue:Ue.charAt(0)==="/"?Me.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+Ue:Me+Ue}var he={},J=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(){}b.exec=b;function F(Me){for(var Ue=1,Je,nt;Ue=0&&Kt[lo]==="\\";)ao=!ao;return ao?"|":" |"}),nt=Je.split(/ \|/),vt=0;if(nt.length>Ue)nt.splice(Ue);else for(;nt.lengthAn error occurred:"+ue(ao.message+"",!0)+"
";throw ao}}Oe.options=Oe.setOptions=function(Me){return F(Oe.defaults,Me),Oe},Oe.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new Z,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},Oe.defaults=Oe.getDefaults(),Oe.Parser=je,Oe.parser=je.parse,Oe.Renderer=Z,Oe.TextRenderer=ye,Oe.Lexer=ie,Oe.lexer=ie.lex,Oe.InlineLexer=ce,Oe.inlineLexer=ce.output,Oe.Slugger=Ge,Oe.parse=Oe,z=Oe}).call(void 0);var D=z,W=z.Parser,x=z.parser,h=z.Renderer,y=z.TextRenderer,w=z.Lexer,f=z.lexer,v=z.InlineLexer,C=z.inlineLexer,g=z.parse,u,u;let s;(function(){function se(ee,ie,q){function ce(je,Ge){if(!ie[je]){if(!ee[je]){var ue=typeof u=="function"&&u;if(!Ge&&ue)return u(je,!0);if(Z)return Z(je,!0);var ve=new Error("Cannot find module '"+je+"'");throw ve.code="MODULE_NOT_FOUND",ve}var Ee=ie[je]={exports:{}};ee[je][0].call(Ee.exports,function(xe){var Ce=ee[je][1][xe];return ce(Ce||xe)},Ee,Ee.exports,se,ee,ie,q)}return ie[je].exports}for(var Z=typeof u=="function"&&u,ye=0;ye\s]+))?)*)\s*(\/?)\s*>/,Ge=/^<\s*\/\s*([\w:-]+)[^>]*>/,ue=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,ve=/^,Ee=/^<\s*\//;function xe(){var he=[];return he.lastItem=function(){return he[he.length-1]},he}function Ce(he,J){for(var b=xe(),F=he,re;he;)ne();nt();function ne(){re=!0,fe();var vt=he===F;F=he,vt&&(he="")}function fe(){he.substr(0,4)==="");vt>=0&&(J.comment&&J.comment(he.substring(4,vt)),he=he.substring(vt+3),re=!1)}function Ue(){if(!re)return;var vt,Rt=he.indexOf("<");Rt>=0?(vt=he.substring(0,Rt),he=he.substring(Rt)):(vt=he,he=""),J.chars&&J.chars(vt)}function Je(vt,Rt,Dt,Kt){var ao={},lo=ce(Rt),so=ye.voids[lo]||!!Kt;Dt.replace(ue,jt),so||b.push(lo),J.start&&J.start(lo,ao,so);function jt(pt,gt,Tt,it,et){Tt===void 0&&it===void 0&&et===void 0?ao[gt]=void 0:ao[gt]=q.decode(Tt||it||et||"")}}function nt(vt,Rt){var Dt,Kt=0,ao=ce(Rt);if(ao)for(Kt=b.length-1;Kt>=0&&!(b[Kt]===ao);Kt--);if(Kt>=0){for(Dt=b.length-1;Dt>=Kt;Dt--)J.end&&J.end(b[Dt]);b.length=Kt}}}ee.exports=Ce},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(se,ee,ie){"use strict";var q=se("he"),ce=se("./lowercase"),Z=se("./attributes"),ye=se("./elements");function je(Ge,ue){var ve,Ee,xe=ue||{};return fe(),{start:he,end:J,chars:F};function Ce(Oe){Ge.push(Oe)}function he(Oe,Me,Ue){var Je=ce(Oe);if(Ee.ignoring){re(Je);return}if((xe.allowedTags||[]).indexOf(Je)===-1){re(Je);return}if(xe.filter&&!xe.filter({tag:Je,attrs:Me})){re(Je);return}Ce("<"),Ce(Je),Object.keys(Me).forEach(nt),Ce(Ue?"/>":">");function nt(vt){var Rt=Me[vt],Dt=(xe.allowedClasses||{})[Je]||[],Kt=(xe.allowedAttributes||{})[Je]||[];Kt=Kt.concat((xe.allowedAttributes||{})["*"]||[]);var ao,lo=ce(vt);lo==="class"&&Kt.indexOf(lo)===-1?(Rt=Rt.split(" ").filter(so).join(" ").trim(),ao=Rt.length):ao=Kt.indexOf(lo)!==-1&&(Z.uris[lo]!==!0||b(Rt)),ao&&(Ce(" "),Ce(vt),typeof Rt=="string"&&(Ce('="'),Ce(q.encode(Rt)),Ce('"')));function so(jt){return Dt&&Dt.indexOf(jt)!==-1}}}function J(Oe){var Me=ce(Oe),Ue=(xe.allowedTags||[]).indexOf(Me)!==-1;Ue&&Ee.ignoring===!1?(Ce(""),Ce(Me),Ce(">")):ne(Me)}function b(Oe){var Me=Oe[0];if(Me==="#"||Me==="/")return!0;var Ue=Oe.indexOf(":");if(Ue===-1)return!0;var Je=Oe.indexOf("?");if(Je!==-1&&Ue>Je)return!0;var nt=Oe.indexOf("#");if(nt!==-1&&Ue>nt)return!0;return xe.allowedSchemes.some(vt);function vt(Rt){return Oe.indexOf(Rt+":")===0}}function F(Oe){Ee.ignoring===!1&&Ce(xe.transformText?xe.transformText(Oe):Oe)}function re(Oe){if(ye.voids[Oe])return;Ee.ignoring===!1?Ee={ignoring:Oe,depth:1}:Ee.ignoring===Oe&&Ee.depth++}function ne(Oe){Ee.ignoring===Oe&&(--Ee.depth<=0&&fe())}function fe(){Ee={ignoring:!1,depth:0}}}ee.exports=je},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(se,ee,ie){"use strict";var q={"&":"&","<":"<",">":">",'"':""","'":"'"},ce={"&":"&","<":"<",">":">",""":'"',"'":"'"},Z=/(&|<|>|"|')/g,ye=/[&<>"']/g;function je(Ee){return q[Ee]}function Ge(Ee){return ce[Ee]}function ue(Ee){return Ee==null?"":String(Ee).replace(ye,je)}function ve(Ee){return Ee==null?"":String(Ee).replace(Z,Ge)}ue.options=ve.options={},ee.exports={encode:ue,escape:ue,decode:ve,unescape:ve,version:"1.0.0-browser"}},{}],10:[function(se,ee,ie){"use strict";function q(Z){return Z.reduce(ce,{})}function ce(Z,ye){return Z[ye]=!0,Z}ee.exports=q},{}]},{},[4]);var l=s,c=e("Q4rV"),p=e("qj0h"),_=e("N0LK"),L=e("bY76"),I=e("tYmi"),P=e("Vhoy");function A(se,ee){ee===void 0&&(ee={});var ie=Object(le.a)(ee),q=function(xe){var Ce;try{Ce=Object(c.a)(decodeURIComponent(xe))}catch(he){}return Ce?(Ce=Object(p.b)(Ce,function(he){return se.uris&&se.uris[he]?L.a.revive(se.uris[he]):void 0}),encodeURIComponent(JSON.stringify(Ce))):xe},ce=function(xe,Ce){var he=se.uris&&se.uris[xe];if(!he)return xe;var J=L.a.revive(he);return L.a.parse(xe).toString()===J.toString()?xe:(Ce&&(J=T.s(J)),J.query&&(J=J.with({query:q(J.query)})),J.toString(!0))},Z,ye=new Promise(function(xe){return Z=xe}),je=new h;je.image=function(xe,Ce,he){var J,b=[],F=[];return xe&&(J=Object(R.d)(xe),xe=J.href,b=J.dimensions,xe=ce(xe,!0),F.push('src="'+xe+'"')),he&&F.push('alt="'+he+'"'),Ce&&F.push('title="'+Ce+'"'),b.length&&(F=F.concat(b)),"
"},je.link=function(xe,Ce,he){return xe===he&&(he=Object(R.e)(he)),xe=ce(xe,!1),Ce=Object(R.e)(Ce),xe=Object(R.e)(xe),!xe||xe.match(/^data:|javascript:/i)||xe.match(/^command:/i)&&!se.isTrusted||xe.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?he:(xe=xe.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),''+he+"")},je.paragraph=function(xe){return""+(se.supportThemeIcons?Object(P.c)(xe):xe)+"
"},ee.codeBlockRenderer&&(je.code=function(xe,Ce){var he=ee.codeBlockRenderer(Ce,xe),J=B.b.nextId(),b=Promise.all([he,ye]).then(function(F){var re=F[0],ne=ie.querySelector('div[data-code="'+J+'"]');ne&&(ne.innerHTML=re)}).catch(function(F){});return ee.codeBlockRenderCallback&&b.then(ee.codeBlockRenderCallback),''+Object(_.o)(xe)+"
"});var Ge=ee.actionHandler;Ge&&Ge.disposeables.add(T.o(ie,"click",function(xe){var Ce=xe.target;if(Ce.tagName!=="A"&&(Ce=Ce.parentElement,!Ce||Ce.tagName!=="A"))return;try{var he=Ce.dataset.href;he&&Ge.callback(he,xe)}catch(J){Object($.e)(J)}finally{xe.preventDefault()}}));var ue={sanitize:!0,renderer:je},ve=[I.b.http,I.b.https,I.b.mailto,I.b.data,I.b.file,I.b.vscodeRemote,I.b.vscodeRemoteResource];se.isTrusted&&ve.push(I.b.command);var Ee=g(se.supportThemeIcons?Object(P.b)(se.value):se.value,ue);return ie.innerHTML=l(Ee,{allowedSchemes:ve,allowedAttributes:{a:["href","name","target","data-href"],iframe:["allowfullscreen","frameborder","src"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class"]}}),Z(),ie}var Q=e("W9cx"),K=e("WBhO"),H=e("TQUy"),V=e("Cg/j"),de=e("MI8n"),_e=e("pmY6"),Se=e("twdY"),Ie=function(){var se=function(ee,ie){return se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,ce){q.__proto__=ce}||function(q,ce){for(var Z in ce)ce.hasOwnProperty(Z)&&(q[Z]=ce[Z])},se(ee,ie)};return function(ee,ie){se(ee,ie);function q(){this.constructor=ee}ee.prototype=ie===null?Object.create(ie):(q.prototype=ie.prototype,new q)}}(),Pe=function(se,ee,ie,q){var ce=arguments.length,Z=ce<3?ee:q===null?q=Object.getOwnPropertyDescriptor(ee,ie):q,ye;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Z=Reflect.decorate(se,ee,ie,q);else for(var je=se.length-1;je>=0;je--)(ye=se[je])&&(Z=(ce<3?ye(Z):ce>3?ye(ee,ie,Z):ye(ee,ie))||Z);return ce>3&&Z&&Object.defineProperty(ee,ie,Z),Z},Ve=function(se,ee){return function(ie,q){ee(ie,q,se)}},ke=function(se){Ie(ee,se);function ee(ie,q,ce){ce===void 0&&(ce=Q.b);var Z=se.call(this)||this;return Z._editor=ie,Z._modeService=q,Z._openerService=ce,Z._onDidRenderCodeBlock=Z._register(new de.a),Z.onDidRenderCodeBlock=Z._onDidRenderCodeBlock.event,Z}return ee.prototype.getOptions=function(ie){var q=this;return{codeBlockRenderer:function(ce,Z){var ye=null;if(ce)ye=q._modeService.getModeIdForLanguageName(ce);else{var je=q._editor.getModel();je&&(ye=je.getLanguageIdentifier().language)}return q._modeService.triggerMode(ye||""),Promise.resolve(!0).then(function(Ge){var ue=Se.B.getPromise(ye||"");return ue?ue.then(function(ve){return Object(H.b)(Z,ve)}):Object(H.b)(Z,void 0)}).then(function(Ge){return''+Ge+""})},codeBlockRenderCallback:function(){return q._onDidRenderCodeBlock.fire()},actionHandler:{callback:function(ce){q._openerService.open(ce,{fromUserGesture:!0}).catch($.e)},disposeables:ie}}},ee.prototype.render=function(ie){var q=new _e.b,ce;return ie?ce=A(ie,this.getOptions(q)):ce=document.createElement("span"),{element:ce,dispose:function(){return q.dispose()}}},ee=Pe([Ve(1,K.a),Ve(2,Object(V.d)(Q.a))],ee),ee}(_e.a)},"3rx1":function(Lt,N,e){"use strict";e.d(N,"b",function(){return D}),e.d(N,"a",function(){return W}),e.d(N,"c",function(){return h});var T=e("bY76"),le=e("MrjW"),$=e("N0LK"),R=e("tYmi"),B=e("MNsG"),z=e("gslv");function D(f,v,C){if(typeof f=="string"&&(f=T.a.file(f)),C){var g=C.getWorkspaceFolder(f);if(g){var u=C.getWorkspace().folders.length>1,s=void 0;if(Object(z.e)(g.uri,f)?s="":s=Object(z.h)(g.uri,f),u){var l=g.name?g.name:Object(z.b)(g.uri);s=s?l+" \u2022 "+s:l}return s}}if(f.scheme!==R.b.file&&f.scheme!==R.b.untitled)return f.with({query:null,fragment:null}).toString(!0);if(x(f.fsPath))return Object(le.normalize)(h(f.fsPath));var c=Object(le.normalize)(f.fsPath);return!B.h&&v&&(c=w(c,v.userHome)),c}function W(f){if(!f)return;typeof f=="string"&&(f=T.a.file(f));var v=Object(z.b)(f)||(f.scheme===R.b.file?f.fsPath:f.path);return x(v)?h(v):v}function x(f){return!!(B.h&&f&&f[1]===":")}function h(f){return x(f)?f.charAt(0).toUpperCase()+f.slice(1):f}var y=Object.create(null);function w(f,v){if(B.h||!f||!v)return f;var C=y.original===v?y.normalized:void 0;return C||(C=""+Object($.K)(v,le.posix.sep)+le.posix.sep,y={original:v,normalized:C}),(B.d?Object($.N)(f,C):Object($.O)(f,C))&&(f="~/"+f.substr(C.length)),f}},"4bUh":function(Lt,N,e){"use strict";e.d(N,"a",function(){return le});var T=e("twdY"),le=function(){function R(B,z){this._tokens=B,this._tokensCount=this._tokens.length>>>1,this._text=z}return R.prototype.equals=function(B){return B instanceof R?this.slicedEquals(B,0,this._tokensCount):!1},R.prototype.slicedEquals=function(B,z,D){if(this._text!==B._text)return!1;if(this._tokensCount!==B._tokensCount)return!1;for(var W=z<<1,x=W+(D<<1),h=W;h0?this._tokens[B-1<<1]:0},R.prototype.getMetadata=function(B){var z=this._tokens[(B<<1)+1];return z},R.prototype.getLanguageId=function(B){var z=this._tokens[(B<<1)+1];return T.A.getLanguageId(z)},R.prototype.getStandardTokenType=function(B){var z=this._tokens[(B<<1)+1];return T.A.getTokenType(z)},R.prototype.getForeground=function(B){var z=this._tokens[(B<<1)+1];return T.A.getForeground(z)},R.prototype.getClassName=function(B){var z=this._tokens[(B<<1)+1];return T.A.getClassNameFromMetadata(z)},R.prototype.getInlineStyle=function(B,z){var D=this._tokens[(B<<1)+1];return T.A.getInlineStyleFromMetadata(D,z)},R.prototype.getEndOffset=function(B){return this._tokens[B<<1]},R.prototype.findTokenIndexAtOffset=function(B){return R.findIndexInTokensArray(this._tokens,B)},R.prototype.inflate=function(){return this},R.prototype.sliceAndInflate=function(B,z,D){return new $(this,B,z,D)},R.convertToEndOffset=function(B,z){for(var D=B.length>>>1,W=D-1,x=0;x>>1)-1;Dz&&(W=x)}return D},R}(),$=function(){function R(B,z,D,W){this._source=B,this._startOffset=z,this._endOffset=D,this._deltaOffset=W,this._firstTokenIndex=B.findTokenIndexAtOffset(z),this._tokensCount=0;for(var x=this._firstTokenIndex,h=B.getCount();x=D)break;this._tokensCount++}}return R.prototype.equals=function(B){return B instanceof R?this._startOffset===B._startOffset&&this._endOffset===B._endOffset&&this._deltaOffset===B._deltaOffset&&this._source.slicedEquals(B._source,this._firstTokenIndex,this._tokensCount):!1},R.prototype.getCount=function(){return this._tokensCount},R.prototype.getForeground=function(B){return this._source.getForeground(this._firstTokenIndex+B)},R.prototype.getEndOffset=function(B){var z=this._source.getEndOffset(this._firstTokenIndex+B);return Math.min(this._endOffset,z)-this._startOffset+this._deltaOffset},R.prototype.getClassName=function(B){return this._source.getClassName(this._firstTokenIndex+B)},R.prototype.getInlineStyle=function(B,z){return this._source.getInlineStyle(this._firstTokenIndex+B,z)},R.prototype.findTokenIndexAtOffset=function(B){return this._source.findTokenIndexAtOffset(B+this._startOffset-this._deltaOffset)-this._firstTokenIndex},R}()},"4rho":function(Lt,N,e){},"4sI4":function(Lt,N,e){"use strict";e.r(N),e.d(N,"StandaloneReferencesController",function(){return w});var T=e("sswD"),le=e("Vxe3"),$=e("QY8A"),R=e("+7oY"),B=e("T8No"),z=e("Cg/j"),D=e("sM1p"),W=e("A+jI"),x=function(){var f=function(v,C){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,u){g.__proto__=u}||function(g,u){for(var s in u)u.hasOwnProperty(s)&&(g[s]=u[s])},f(v,C)};return function(v,C){f(v,C);function g(){this.constructor=v}v.prototype=C===null?Object.create(C):(g.prototype=C.prototype,new g)}}(),h=function(f,v,C,g){var u=arguments.length,s=u<3?v:g===null?g=Object.getOwnPropertyDescriptor(v,C):g,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(f,v,C,g);else for(var c=f.length-1;c>=0;c--)(l=f[c])&&(s=(u<3?l(s):u>3?l(v,C,s):l(v,C))||s);return u>3&&s&&Object.defineProperty(v,C,s),s},y=function(f,v){return function(C,g){v(C,g,f)}},w=function(f){x(v,f);function v(C,g,u,s,l,c,p){return f.call(this,!0,C,g,u,s,l,c,p)||this}return v=h([y(1,B.c),y(2,le.a),y(3,D.a),y(4,z.a),y(5,W.a),y(6,R.a)],v),v}($.a);Object(T.h)($.a.ID,w)},"4y0V":function(Lt,N,e){"use strict";e.d(N,"a",function(){return le}),e.d(N,"b",function(){return $});var T=e("MI8n"),le=function(R,B,z){var D=function(x){return W.fire(x)},W=new T.a({onFirstListenerAdd:function(){R.addEventListener(B,D,z)},onLastListenerRemove:function(){R.removeEventListener(B,D,z)}});return W.event};function $(R){return T.b.map(R,function(B){return B.preventDefault(),B.stopPropagation(),B})}},"51B1":function(Lt,N,e){},"51f4":function(Lt,N,e){"use strict";e.d(N,"a",function(){return B});var T=!1,le=null;function $(z){if(!z.parent||z.parent===z)return null;try{var D=z.location,W=z.parent.location;if(D.protocol!==W.protocol||D.hostname!==W.hostname||D.port!==W.port)return T=!0,null}catch(x){return T=!0,null}return z.parent}function R(z,D){for(var W=z.document.getElementsByTagName("iframe"),x,h=0,y=W.length;h0&&v._undoStack[v._undoStack.length-1].cursorState.equals(g);u||(v._undoStack.push(new D(g,f.getScrollTop(),f.getScrollLeft())),v._redoStack=[],v._undoStack.length>50&&v._undoStack.shift())})),v}return w.get=function(f){return f.getContribution(w.ID)},w.prototype.cursorUndo=function(){if(!this._editor.hasModel()||this._undoStack.length===0)return;this._redoStack.push(new D(new z(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._undoStack.pop())},w.prototype.cursorRedo=function(){if(!this._editor.hasModel()||this._redoStack.length===0)return;this._undoStack.push(new D(new z(this._editor.getSelections()),this._editor.getScrollTop(),this._editor.getScrollLeft())),this._applyState(this._redoStack.pop())},w.prototype._applyState=function(f){this._isCursorUndoRedo=!0,this._editor.setSelections(f.cursorState.selections),this._editor.setScrollPosition({scrollTop:f.scrollTop,scrollLeft:f.scrollLeft}),this._isCursorUndoRedo=!1},w.ID="editor.contrib.cursorUndoRedoController",w}(le.a),x=function(y){B(w,y);function w(){return y.call(this,{id:"cursorUndo",label:T.a("cursor.undo","Cursor Undo"),alias:"Cursor Undo",precondition:void 0,kbOpts:{kbExpr:R.a.textInputFocus,primary:2048|51,weight:100}})||this}return w.prototype.run=function(f,v,C){W.get(v).cursorUndo()},w}($.b),h=function(y){B(w,y);function w(){return y.call(this,{id:"cursorRedo",label:T.a("cursor.redo","Cursor Redo"),alias:"Cursor Redo",precondition:void 0})||this}return w.prototype.run=function(f,v,C){W.get(v).cursorRedo()},w}($.b);Object($.h)(W.ID,W),Object($.f)(x),Object($.f)(h)},"5TxY":function(Lt,N,e){"use strict";e.d(N,"a",function(){return w}),e.d(N,"b",function(){return v});var T=e("D3Dy"),le=e("EffR"),$=e("X+cX"),R=e("MI8n"),B=e("pmY6"),z=e("MNsG"),D=e("N0LK"),W=e("Comh"),x=e("gCVg"),h=e("CjF5"),y=function(){var u=function(s,l){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,p){c.__proto__=p}||function(c,p){for(var _ in p)p.hasOwnProperty(_)&&(c[_]=p[_])},u(s,l)};return function(s,l){u(s,l);function c(){this.constructor=s}s.prototype=l===null?Object.create(l):(c.prototype=l.prototype,new c)}}(),w={forceCopyWithSyntaxHighlighting:!1},f=function(){function u(){this._lastState=null}return u.prototype.set=function(s,l){this._lastState={lastCopiedValue:s,data:l}},u.prototype.get=function(s){return this._lastState&&this._lastState.lastCopiedValue===s?this._lastState.data:(this._lastState=null,null)},u.INSTANCE=new u,u}(),v=function(u){y(s,u);function s(l,c){var p=u.call(this)||this;p.textArea=c,p._onFocus=p._register(new R.a),p.onFocus=p._onFocus.event,p._onBlur=p._register(new R.a),p.onBlur=p._onBlur.event,p._onKeyDown=p._register(new R.a),p.onKeyDown=p._onKeyDown.event,p._onKeyUp=p._register(new R.a),p.onKeyUp=p._onKeyUp.event,p._onCut=p._register(new R.a),p.onCut=p._onCut.event,p._onPaste=p._register(new R.a),p.onPaste=p._onPaste.event,p._onType=p._register(new R.a),p.onType=p._onType.event,p._onCompositionStart=p._register(new R.a),p.onCompositionStart=p._onCompositionStart.event,p._onCompositionUpdate=p._register(new R.a),p.onCompositionUpdate=p._onCompositionUpdate.event,p._onCompositionEnd=p._register(new R.a),p.onCompositionEnd=p._onCompositionEnd.event,p._onSelectionChangeRequest=p._register(new R.a),p.onSelectionChangeRequest=p._onSelectionChangeRequest.event,p._host=l,p._textArea=p._register(new g(c)),p._asyncTriggerCut=p._register(new $.d(function(){return p._onCut.fire()},0)),p._textAreaState=W.b.EMPTY,p._selectionChangeListener=null,p.writeScreenReaderContent("ctor"),p._hasFocus=!1,p._isDoingComposition=!1,p._nextCommand=0,p._register(le.o(c.domNode,"keydown",function(P){p._isDoingComposition&&(P.keyCode===109||P.keyCode===1)&&P.stopPropagation(),P.equals(9)&&P.preventDefault(),p._onKeyDown.fire(P)})),p._register(le.o(c.domNode,"keyup",function(P){p._onKeyUp.fire(P)})),p._register(le.j(c.domNode,"compositionstart",function(P){if(p._isDoingComposition)return;p._isDoingComposition=!0,T.f||p._setAndWriteTextAreaState("compositionstart",W.b.EMPTY),p._onCompositionStart.fire()}));var _=function(P){var A=p._textAreaState,Q=W.b.readFromTextArea(p._textArea);return[Q,W.b.deduceInput(A,Q,P)]},L=function(P){var A=p._textAreaState,Q=W.b.selectedText(P),K={text:Q.value,replaceCharCnt:A.selectionEnd-A.selectionStart};return[Q,K]},I=function(P){return T.f&&P==="ja"?!0:!!(T.i&&P.indexOf("zh-Han")===0)};return p._register(le.j(c.domNode,"compositionupdate",function(P){if(I(P.locale)){var A=_(!1),Q=A[0],K=A[1];p._textAreaState=Q,p._onType.fire(K),p._onCompositionUpdate.fire(P);return}var H=L(P.data),V=H[0],de=H[1];p._textAreaState=V,p._onType.fire(de),p._onCompositionUpdate.fire(P)})),p._register(le.j(c.domNode,"compositionend",function(P){if(!p._isDoingComposition)return;if(I(P.locale)){var A=_(!1),Q=A[0],K=A[1];p._textAreaState=Q,p._onType.fire(K)}else{var H=L(P.data),Q=H[0],K=H[1];p._textAreaState=Q,p._onType.fire(K)}if((T.f||T.d)&&(p._textAreaState=W.b.readFromTextArea(p._textArea)),!p._isDoingComposition)return;p._isDoingComposition=!1,p._onCompositionEnd.fire()})),p._register(le.j(c.domNode,"input",function(){if(p._textArea.setIgnoreSelectionChangeTime("received input event"),p._isDoingComposition)return;var P=_(z.e),A=P[0],Q=P[1];if(Q.replaceCharCnt===0&&Q.text.length===1&&D.z(Q.text.charCodeAt(0)))return;p._textAreaState=A,p._nextCommand===0?Q.text!==""&&p._onType.fire(Q):((Q.text!==""||Q.replaceCharCnt!==0)&&p._firePaste(Q.text,null),p._nextCommand=0)})),p._register(le.j(c.domNode,"cut",function(P){p._textArea.setIgnoreSelectionChangeTime("received cut event"),p._ensureClipboardGetsEditorSelection(P),p._asyncTriggerCut.schedule()})),p._register(le.j(c.domNode,"copy",function(P){p._ensureClipboardGetsEditorSelection(P)})),p._register(le.j(c.domNode,"paste",function(P){if(p._textArea.setIgnoreSelectionChangeTime("received paste event"),C.canUseTextData(P)){var A=C.getTextData(P),Q=A[0],K=A[1];Q!==""&&p._firePaste(Q,K)}else p._textArea.getSelectionStart()!==p._textArea.getSelectionEnd()&&p._setAndWriteTextAreaState("paste",W.b.EMPTY),p._nextCommand=1})),p._register(le.j(c.domNode,"focus",function(){p._setHasFocus(!0)})),p._register(le.j(c.domNode,"blur",function(){p._setHasFocus(!1)})),p}return s.prototype._installSelectionChangeListener=function(){var l=this,c=0;return le.j(document,"selectionchange",function(p){if(!l._hasFocus)return;if(l._isDoingComposition)return;if(!T.d||!z.h)return;var _=Date.now(),L=_-c;if(c=_,L<5)return;var I=_-l._textArea.getIgnoreSelectionChangeTime();if(l._textArea.resetSelectionChangeTime(),I<100)return;if(!l._textAreaState.selectionStartPosition||!l._textAreaState.selectionEndPosition)return;var P=l._textArea.getValue();if(l._textAreaState.value!==P)return;var A=l._textArea.getSelectionStart(),Q=l._textArea.getSelectionEnd();if(l._textAreaState.selectionStart===A&&l._textAreaState.selectionEnd===Q)return;var K=l._textAreaState.deduceEditorPosition(A),H=l._host.deduceModelPosition(K[0],K[1],K[2]),V=l._textAreaState.deduceEditorPosition(Q),de=l._host.deduceModelPosition(V[0],V[1],V[2]),_e=new x.a(H.lineNumber,H.column,de.lineNumber,de.column);l._onSelectionChangeRequest.fire(_e)})},s.prototype.dispose=function(){u.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},s.prototype.focusTextArea=function(){this._setHasFocus(!0),this.refreshFocusState()},s.prototype.isFocused=function(){return this._hasFocus},s.prototype.refreshFocusState=function(){var l=le.E(this.textArea.domNode);l?this._setHasFocus(l.activeElement===this.textArea.domNode):le.M(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)},s.prototype._setHasFocus=function(l){if(this._hasFocus===l)return;this._hasFocus=l,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(T.e?this._setAndWriteTextAreaState("focusgain",W.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire()},s.prototype._setAndWriteTextAreaState=function(l,c){this._hasFocus||(c=c.collapseSelection()),c.writeToTextArea(l,this._textArea,this._hasFocus),this._textAreaState=c},s.prototype.writeScreenReaderContent=function(l){if(this._isDoingComposition)return;this._setAndWriteTextAreaState(l,this._host.getScreenReaderContent(this._textAreaState))},s.prototype._ensureClipboardGetsEditorSelection=function(l){var c=this._host.getDataToCopy(C.canUseTextData(l)&&h.a.clipboard.richText),p={version:1,isFromEmptySelection:c.isFromEmptySelection,multicursorText:c.multicursorText,mode:c.mode};if(f.INSTANCE.set(T.h?c.text.replace(/\r\n/g,`
+`):c.text,p),!C.canUseTextData(l)){this._setAndWriteTextAreaState("copy or cut",W.b.selectedText(c.text));return}C.setTextData(l,c.text,c.html,p)},s.prototype._firePaste=function(l,c){c||(c=f.INSTANCE.get(l)),this._onPaste.fire({text:l,metadata:c})},s}(B.a),C=function(){function u(){}return u.canUseTextData=function(s){return s.clipboardData?!0:!!window.clipboardData},u.getTextData=function(s){if(s.clipboardData){s.preventDefault();var l=s.clipboardData.getData("text/plain"),c=null,p=s.clipboardData.getData("vscode-editor-data");if(typeof p=="string")try{c=JSON.parse(p),c.version!==1&&(c=null)}catch(_){}return[l,c]}if(window.clipboardData){s.preventDefault();var l=window.clipboardData.getData("Text");return[l,null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},u.setTextData=function(s,l,c,p){if(s.clipboardData){s.clipboardData.setData("text/plain",l),typeof c=="string"&&s.clipboardData.setData("text/html",c),s.clipboardData.setData("vscode-editor-data",JSON.stringify(p)),s.preventDefault();return}if(window.clipboardData){window.clipboardData.setData("Text",l),s.preventDefault();return}throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},u}(),g=function(u){y(s,u);function s(l){var c=u.call(this)||this;return c._actual=l,c._ignoreSelectionChangeTime=0,c}return s.prototype.setIgnoreSelectionChangeTime=function(l){this._ignoreSelectionChangeTime=Date.now()},s.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},s.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},s.prototype.getValue=function(){return this._actual.domNode.value},s.prototype.setValue=function(l,c){var p=this._actual.domNode;if(p.value===c)return;this.setIgnoreSelectionChangeTime("setValue"),p.value=c},s.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},s.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},s.prototype.setSelectionRange=function(l,c,p){var _=this._actual.domNode,L=null,I=le.E(_);I?L=I.activeElement:L=document.activeElement;var P=L===_,A=_.selectionStart,Q=_.selectionEnd;if(P&&A===c&&Q===p){T.h&&window.parent!==window&&_.focus();return}if(P){this.setIgnoreSelectionChangeTime("setSelectionRange"),_.setSelectionRange(c,p),T.h&&window.parent!==window&&_.focus();return}try{var K=le.V(_);this.setIgnoreSelectionChangeTime("setSelectionRange"),_.focus(),_.setSelectionRange(c,p),le.T(_,K)}catch(H){}},s}(B.a)},"5Y4S":function(Lt,N,e){"use strict";e.d(N,"a",function(){return $});var T=e("MNsG"),le=T.b.performance&&typeof T.b.performance.now=="function",$=function(){function R(B){this._highResolution=le&&B,this._startTime=this._now(),this._stopTime=-1}return R.create=function(B){return B===void 0&&(B=!0),new R(B)},R.prototype.stop=function(){this._stopTime=this._now()},R.prototype.elapsed=function(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime},R.prototype._now=function(){return this._highResolution?T.b.performance.now():new Date().getTime()},R}()},"5v8Y":function(Lt,N,e){"use strict";e.d(N,"a",function(){return B});var T=e("MXAL"),le=function(){var z=function(D,W){return z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,h){x.__proto__=h}||function(x,h){for(var y in h)h.hasOwnProperty(y)&&(x[y]=h[y])},z(D,W)};return function(D,W){z(D,W);function x(){this.constructor=D}D.prototype=W===null?Object.create(W):(x.prototype=W.prototype,new x)}}(),$=function(z){le(D,z);function D(W){for(var x=z.call(this,0)||this,h=0,y=W.length;h0)V=de-1;else return de}return-(H+1)}function B(A,Q){var K=0,H=A.length;if(H===0)return 0;for(;KH?A[Ie]=de[Se++]:Se>V?A[Ie]=de[_e++]:Q(de[Se],de[_e])<0?A[Ie]=de[Se++]:A[Ie]=de[_e++]}function W(A,Q,K,H,V){if(H<=K)return;var de=K+(H-K)/2|0;if(W(A,Q,K,de,V),W(A,Q,de+1,H,V),Q(A[de],A[de+1])<=0)return;D(A,Q,K,de,H,V)}function x(A,Q){for(var K=[],H=void 0,V=0,de=z(A.slice(0),Q);V0}function f(A,Q){if(!Q)return A.filter(function(H,V){return A.indexOf(H)===V});var K=Object.create(null);return A.filter(function(H){var V=Q(H);return K[V]?!1:(K[V]=!0,!0)})}function v(A){var Q=new Set;return A.filter(function(K){return Q.has(K)?!1:(Q.add(K),!0)})}function C(A){var Q=[];return A.forEach(function(K){return Q.push(K)}),Q}function g(A,Q){for(var K=0;K0?A[0]:Q}function l(A){var Q;return(Q=[]).concat.apply(Q,A)}function c(A,Q){var K=typeof Q=="number"?A:0;typeof Q=="number"?K=A:(K=0,Q=A);var H=[];if(K<=Q)for(var V=K;VQ;V--)H.push(V);return H}function p(A,Q,K){var H=A.slice(0,Q),V=A.slice(Q);return H.concat(K,V)}function _(A,Q){var K=A.indexOf(Q);K>-1&&(A.splice(K,1),A.unshift(Q))}function L(A,Q){var K=A.indexOf(Q);K>-1&&(A.splice(K,1),A.push(Q))}function I(A,Q){for(var K=0;K";var y=this.text.substring(D,h.start);z+=this.supportCodicons?Object(le.c)(Object($.o)(y)):Object($.o)(y),z+="",D=h.end}h.extraClasses?z+='"}this.domNode.innerHTML=z,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0},B.escapeNewLines=function(z,D){var W=0,x=0;return z.replace(/\r\n|\r|\n/g,function(h,y){x=h===`\r
+`?-1:0,y+=W;for(var w=0,f=D;w=y&&(v.start+=x),v.end>=y&&(v.end+=x)}return W+=x,"\u23CE"})},B}()},"7zd4":function(Lt,N,e){},"8ATB":function(Lt,N,e){},"8HAY":function(Lt,N,e){"use strict";e.d(N,"a",function(){return z}),e.d(N,"b",function(){return D});var T=e("pmY6"),le=e("MI8n"),$=function(){var W=function(x,h){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,w){y.__proto__=w}||function(y,w){for(var f in w)w.hasOwnProperty(f)&&(y[f]=w[f])},W(x,h)};return function(x,h){W(x,h);function y(){this.constructor=x}x.prototype=h===null?Object.create(h):(y.prototype=h.prototype,new y)}}(),R=function(W,x,h,y){function w(f){return f instanceof h?f:new h(function(v){v(f)})}return new(h||(h=Promise))(function(f,v){function C(s){try{u(y.next(s))}catch(l){v(l)}}function g(s){try{u(y.throw(s))}catch(l){v(l)}}function u(s){s.done?f(s.value):w(s.value).then(C,g)}u((y=y.apply(W,x||[])).next())})},B=function(W,x){var h={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},y,w,f,v;return v={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function C(u){return function(s){return g([u,s])}}function g(u){if(y)throw new TypeError("Generator is already executing.");for(;h;)try{if(y=1,w&&(f=u[0]&2?w.return:u[0]?w.throw||((f=w.return)&&f.call(w),0):w.next)&&!(f=f.call(w,u[1])).done)return f;(w=0,f)&&(u=[u[0]&2,f.value]);switch(u[0]){case 0:case 1:f=u;break;case 4:return h.label++,{value:u[1],done:!1};case 5:h.label++,w=u[1],u=[0];continue;case 7:u=h.ops.pop(),h.trys.pop();continue;default:if(!(f=h.trys,f=f.length>0&&f[f.length-1])&&(u[0]===6||u[0]===2)){h=0;continue}if(u[0]===3&&(!f||u[1]>f[0]&&u[1]1&&q.push(new W.a(ee.endLineNumber,ee.endColumn,ee.endLineNumber,ee.endColumn))},se.prototype.run=function(ee,ie){var q=this;if(!ie.hasModel())return;var ce=ie.getModel(),Z=ie.getSelections(),ye=[];Z.forEach(function(je){return q.getCursorsForSelection(je,ce,ye)}),ye.length>0&&ie.setSelections(ye)},se}(B.b),p=function(ke){u(se,ke);function se(){return ke.call(this,{id:"editor.action.addCursorsToBottom",label:T.a("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:void 0})||this}return se.prototype.run=function(ee,ie){if(!ie.hasModel())return;for(var q=ie.getSelections(),ce=ie.getModel().getLineCount(),Z=[],ye=q[0].startLineNumber;ye<=ce;ye++)Z.push(new W.a(ye,q[0].startColumn,ye,q[0].endColumn));Z.length>0&&ie.setSelections(Z)},se}(B.b),_=function(ke){u(se,ke);function se(){return ke.call(this,{id:"editor.action.addCursorsToTop",label:T.a("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:void 0})||this}return se.prototype.run=function(ee,ie){if(!ie.hasModel())return;for(var q=ie.getSelections(),ce=[],Z=q[0].startLineNumber;Z>=1;Z--)ce.push(new W.a(Z,q[0].startColumn,Z,q[0].endColumn));ce.length>0&&ie.setSelections(ce)},se}(B.b),L=function(){function ke(se,ee,ie){this.selections=se,this.revealRange=ee,this.revealScrollType=ie}return ke}(),I=function(){function ke(se,ee,ie,q,ce,Z,ye){this._editor=se,this.findController=ee,this.isDisconnectedFromFindController=ie,this.searchText=q,this.wholeWord=ce,this.matchCase=Z,this.currentMatch=ye}return ke.create=function(se,ee){if(!se.hasModel())return null;var ie=ee.getState();if(!se.hasTextFocus()&&ie.isRevealed&&ie.searchString.length>0)return new ke(se,ee,!1,ie.searchString,ie.wholeWord,ie.matchCase,null);var q=!1,ce,Z,ye=se.getSelections();ye.length===1&&ye[0].isEmpty()?(q=!0,ce=!0,Z=!0):(ce=ie.wholeWord,Z=ie.matchCase);var je=se.getSelection(),Ge,ue=null;if(je.isEmpty()){var ve=se.getModel().getWordAtPosition(je.getStartPosition());if(!ve)return null;Ge=ve.word,ue=new W.a(je.startLineNumber,ve.startColumn,je.startLineNumber,ve.endColumn)}else Ge=se.getModel().getValueInRange(je).replace(/\r\n/g,`
+`);return new ke(se,ee,q,Ge,ce,Z,ue)},ke.prototype.addSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var se=this._getNextMatch();if(!se)return null;var ee=this._editor.getSelections();return new L(ee.concat(se),se,0)},ke.prototype.moveSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var se=this._getNextMatch();if(!se)return null;var ee=this._editor.getSelections();return new L(ee.slice(0,ee.length-1).concat(se),se,0)},ke.prototype._getNextMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var se=this.currentMatch;return this.currentMatch=null,se}this.findController.highlightFindOptions();var ee=this._editor.getSelections(),ie=ee[ee.length-1],q=this._editor.getModel().findNextMatch(this.searchText,ie.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1);return q?new W.a(q.range.startLineNumber,q.range.startColumn,q.range.endLineNumber,q.range.endColumn):null},ke.prototype.addSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var se=this._getPreviousMatch();if(!se)return null;var ee=this._editor.getSelections();return new L(ee.concat(se),se,0)},ke.prototype.moveSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var se=this._getPreviousMatch();if(!se)return null;var ee=this._editor.getSelections();return new L(ee.slice(0,ee.length-1).concat(se),se,0)},ke.prototype._getPreviousMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var se=this.currentMatch;return this.currentMatch=null,se}this.findController.highlightFindOptions();var ee=this._editor.getSelections(),ie=ee[ee.length-1],q=this._editor.getModel().findPreviousMatch(this.searchText,ie.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1);return q?new W.a(q.range.startLineNumber,q.range.startColumn,q.range.endLineNumber,q.range.endColumn):null},ke.prototype.selectAll=function(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getOption(96):null,!1,1073741824)):[]},ke}(),P=function(ke){u(se,ke);function se(ee){var ie=ke.call(this)||this;return ie._sessionDispose=ie._register(new R.b),ie._editor=ee,ie._ignoreSelectionChange=!1,ie._session=null,ie}return se.get=function(ee){return ee.getContribution(se.ID)},se.prototype.dispose=function(){this._endSession(),ke.prototype.dispose.call(this)},se.prototype._beginSessionIfNeeded=function(ee){var ie=this;if(!this._session){var q=I.create(this._editor,ee);if(!q)return;this._session=q;var ce={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(ce.wholeWordOverride=1,ce.matchCaseOverride=1,ce.isRegexOverride=2),ee.getState().change(ce,!1),this._sessionDispose.add(this._editor.onDidChangeCursorSelection(function(Z){if(ie._ignoreSelectionChange)return;ie._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(function(){ie._endSession()})),this._sessionDispose.add(ee.getState().onFindReplaceStateChange(function(Z){(Z.matchCase||Z.wholeWord)&&ie._endSession()}))}},se.prototype._endSession=function(){if(this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController){var ee={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(ee,!1)}this._session=null},se.prototype._setSelections=function(ee){this._ignoreSelectionChange=!0,this._editor.setSelections(ee),this._ignoreSelectionChange=!1},se.prototype._expandEmptyToWord=function(ee,ie){if(!ie.isEmpty())return ie;var q=ee.getWordAtPosition(ie.getStartPosition());return q?new W.a(ie.startLineNumber,q.startColumn,ie.startLineNumber,q.endColumn):ie},se.prototype._applySessionResult=function(ee){if(!ee)return;this._setSelections(ee.selections),ee.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(ee.revealRange,ee.revealScrollType)},se.prototype.getSession=function(ee){return this._session},se.prototype.addSelectionToNextFindMatch=function(ee){if(!this._editor.hasModel())return;if(!this._session){var ie=this._editor.getSelections();if(ie.length>1){var q=ee.getState(),ce=q.matchCase,Z=Pe(this._editor.getModel(),ie,ce);if(!Z){for(var ye=this._editor.getModel(),je=[],Ge=0,ue=ie.length;Ge0&&q.isRegex)ie=this._editor.getModel().findMatches(q.searchString,!0,q.isRegex,q.matchCase,q.wholeWord?this._editor.getOption(96):null,!1,1073741824);else{if(this._beginSessionIfNeeded(ee),!this._session)return;ie=this._session.selectAll()}if(q.searchScope){for(var ce=q.searchScope,Z=[],ye=0;ye=ce.startLineNumber&&Z.push(ie[ye]);ie=Z}if(ie.length>0){for(var je=this._editor.getSelection(),ye=0,Ge=ie.length;ye1){var Ge=Z.getState(),ue=Ge.matchCase,ve=Pe(ie.getModel(),je,ue);if(!ve)return null}ye=I.create(ie,Z)}if(!ye)return null;if(ye.currentMatch)return null;if(/^[ \t]+$/.test(ye.searchText))return null;if(ye.searchText.length>200)return null;var Ee=Z.getState(),xe=Ee.matchCase;if(Ee.isRevealed){var Ce=Ee.searchString;xe||(Ce=Ce.toLowerCase());var he=ye.searchText;if(xe||(he=he.toLowerCase()),Ce===he&&ye.matchCase===Ee.matchCase&&ye.wholeWord===Ee.wholeWord&&!Ee.isRegex)return null}return new Se(ye.searchText,ye.matchCase,ye.wholeWord?ie.getOption(96):null)},se.prototype._setState=function(ee){if(Se.softEquals(this.state,ee)){this.state=ee;return}if(this.state=ee,!this.state){this.decorations=this.editor.deltaDecorations(this.decorations,[]);return}if(!this.editor.hasModel())return;var ie=this.editor.getModel();if(ie.isTooLargeForTokenization())return;var q=w.i.has(ie),ce=ie.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(function(he){return he.range});ce.sort(D.a.compareRangesUsingStarts);var Z=this.editor.getSelections();Z.sort(D.a.compareRangesUsingStarts);for(var ye=[],je=0,Ge=0,ue=ce.length,ve=Z.length;je=ve)ye.push(Ee),je++;else{var xe=D.a.compareRangesUsingStarts(Ee,Z[Ge]);xe<0?((Z[Ge].isEmpty()||!D.a.areIntersecting(Ee,Z[Ge]))&&ye.push(Ee),je++):(xe>0||je++,Ge++)}}var Ce=ye.map(function(he){return{range:he,options:q?se._SELECTION_HIGHLIGHT:se._SELECTION_HIGHLIGHT_OVERVIEW}});this.decorations=this.editor.deltaDecorations(this.decorations,Ce)},se.prototype.dispose=function(){this._setState(null),ke.prototype.dispose.call(this)},se.ID="editor.contrib.selectionHighlighter",se._SELECTION_HIGHLIGHT_OVERVIEW=y.a.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(C.f)(v.Mb),position:h.d.Center}}),se._SELECTION_HIGHLIGHT=y.a.register({stickiness:1,className:"selectionHighlight"}),se}(R.a);function Pe(ke,se,ee){for(var ie=Ve(ke,se[0],!ee),q=1,ce=se.length;q=0;ao--)(Kt=Ue[ao])&&(Dt=(Rt<3?Kt(Dt):Rt>3?Kt(Je,nt,Dt):Kt(Je,nt))||Dt);return Rt>3&&Dt&&Object.defineProperty(Je,nt,Dt),Dt},Se=function(Ue,Je){return function(nt,vt){Je(nt,vt,Ue)}},Ie=new s.d("hasSymbols",!1),Pe=Object(I.c)("ISymbolNavigationService"),Ve=function(){function Ue(Je,nt,vt,Rt){this._editorService=nt,this._notificationService=vt,this._keybindingService=Rt,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=Ie.bindTo(Je)}return Ue.prototype.reset=function(){this._ctxHasSymbols.reset(),Object(Q.f)(this._currentState),Object(Q.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1},Ue.prototype.put=function(Je){var nt=this,vt=Je.parent.parent;if(vt.references.length<=1){this.reset();return}this._currentModel=vt,this._currentIdx=vt.references.indexOf(Je),this._ctxHasSymbols.set(!0),this._showMessage();var Rt=new ke(this._editorService),Dt=Rt.onDidChange(function(Kt){if(nt._ignoreEditorChange)return;var ao=nt._editorService.getActiveCodeEditor();if(!ao)return;var lo=ao.getModel(),so=ao.getPosition();if(!lo||!so)return;for(var jt=!1,pt=!1,gt=0,Tt=vt.references;gt0&&Dt[Dt.length-1])&&(so[0]===6||so[0]===2)){nt=0;continue}if(so[0]===3&&(!Dt||so[1]>Dt[0]&&so[1]1)?(this._openInPeek(Rt,Dt),[3,3]):[3,1];case 1:return ao=Dt.firstReference(),lo=Dt.references.length>1&&Kt==="gotoAndPeek",[4,this._openReference(Rt,nt,ao,this._configuration.openToSide,!lo)];case 2:so=jt.sent(),lo&&so?this._openInPeek(so,Dt):Dt.dispose(),Kt==="goto"&&vt.put(ao),jt.label=3;case 3:return[2]}})})},Je.prototype._openReference=function(nt,vt,Rt,Dt,Kt){return Z(this,void 0,void 0,function(){var ao,lo,so,jt;return ye(this,function(pt){switch(pt.label){case 0:return ao=void 0,Object(y.G)(Rt)&&(ao=Rt.targetSelectionRange),ao||(ao=Rt.range),[4,vt.openCodeEditor({resource:Rt.uri,options:{selection:x.a.collapseToStart(ao),revealInCenterIfOutsideViewport:!0}},nt,Dt)];case 1:return lo=pt.sent(),lo?(Kt&&(so=lo.getModel(),jt=lo.deltaDecorations([],[{range:ao,options:{className:"symbolHighlight"}}]),setTimeout(function(){lo.getModel()===so&&lo.deltaDecorations(jt,[])},350)),[2,lo]):[2,void 0]}})})},Je.prototype._openInPeek=function(nt,vt){var Rt=v.a.get(nt);Rt&&nt.hasModel()?Rt.toggleWidget(nt.getSelection(),Object(le.f)(function(Dt){return Promise.resolve(vt)}),this._configuration.openInPeek):vt.dispose()},Je}(z.b),b=function(Ue){ce(Je,Ue);function Je(){return Ue!==null&&Ue.apply(this,arguments)||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.b)(nt,vt,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("def.title","Definitions")]))]}})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("noResultWord","No definition found for '{0}'",nt.word):g.a("generic.noResults","No definition found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeDefinitionCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleDefinitions},Je}(J),F=R.g&&!se.l?2048|70:70;Object(z.f)((je=function(Ue){ce(Je,Ue);function Je(){var nt=Ue.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Je.id,label:g.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:s.a.and(h.a.hasDefinitionProvider,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:F,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:19,group:"4_symbol_nav",order:2,title:g.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}})||this;return _.a.registerCommandAlias("editor.action.goToDeclaration",Je.id),nt}return Je}(b),je.id="editor.action.revealDefinition",je)),Object(z.f)((Ge=function(Ue){ce(Je,Ue);function Je(){var nt=Ue.call(this,{openToSide:!0,openInPeek:!1,muteMessage:!1},{id:Je.id,label:g.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:s.a.and(h.a.hasDefinitionProvider,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:Object($.a)(2048|41,F),weight:100}})||this;return _.a.registerCommandAlias("editor.action.openDeclarationToTheSide",Je.id),nt}return Je}(b),Ge.id="editor.action.revealDefinitionAside",Ge)),Object(z.f)((ue=function(Ue){ce(Je,Ue);function Je(){var nt=Ue.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Je.id,label:g.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:s.a.and(h.a.hasDefinitionProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:512|70,linux:{primary:2048|1024|68},weight:100},contextMenuOpts:{menuId:8,group:"peek",order:2}})||this;return _.a.registerCommandAlias("editor.action.previewDeclaration",Je.id),nt}return Je}(b),ue.id="editor.action.peekDefinition",ue));var re=function(Ue){ce(Je,Ue);function Je(){return Ue!==null&&Ue.apply(this,arguments)||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.a)(nt,vt,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("decl.title","Declarations")]))]}})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("decl.noResultWord","No declaration found for '{0}'",nt.word):g.a("decl.generic.noResults","No declaration found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeDeclarationCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleDeclarations},Je}(J);Object(z.f)((ve=function(Ue){ce(Je,Ue);function Je(){return Ue.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Je.id,label:g.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:s.a.and(h.a.hasDeclarationProvider,h.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:g.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})||this}return Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("decl.noResultWord","No declaration found for '{0}'",nt.word):g.a("decl.generic.noResults","No declaration found")},Je}(re),ve.id="editor.action.revealDeclaration",ve)),Object(z.f)(function(Ue){ce(Je,Ue);function Je(){return Ue.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:g.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:s.a.and(h.a.hasDeclarationProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:3}})||this}return Je}(re));var ne=function(Ue){ce(Je,Ue);function Je(){return Ue!==null&&Ue.apply(this,arguments)||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.e)(nt,vt,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("typedef.title","Type Definitions")]))]}})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",nt.word):g.a("goToTypeDefinition.generic.noResults","No type definition found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeTypeDefinitionCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleTypeDefinitions},Je}(J);Object(z.f)((Ee=function(Ue){ce(Je,Ue);function Je(){return Ue.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Je.ID,label:g.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:s.a.and(h.a.hasTypeDefinitionProvider,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:g.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})||this}return Je}(ne),Ee.ID="editor.action.goToTypeDefinition",Ee)),Object(z.f)((xe=function(Ue){ce(Je,Ue);function Je(){return Ue.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Je.ID,label:g.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:s.a.and(h.a.hasTypeDefinitionProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:4}})||this}return Je}(ne),xe.ID="editor.action.peekTypeDefinition",xe));var fe=function(Ue){ce(Je,Ue);function Je(){return Ue!==null&&Ue.apply(this,arguments)||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.c)(nt,vt,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("impl.title","Implementations")]))]}})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&nt.word?g.a("goToImplementation.noResultWord","No implementation found for '{0}'",nt.word):g.a("goToImplementation.generic.noResults","No implementation found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeImplementationCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleImplementations},Je}(J);Object(z.f)((Ce=function(Ue){ce(Je,Ue);function Je(){return Ue.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Je.ID,label:g.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:s.a.and(h.a.hasImplementationProvider,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:2048|70,weight:100},menuOpts:{menuId:19,group:"4_symbol_nav",order:4,title:g.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})||this}return Je}(fe),Ce.ID="editor.action.goToImplementation",Ce)),Object(z.f)((he=function(Ue){ce(Je,Ue);function Je(){return Ue.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Je.ID,label:g.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:s.a.and(h.a.hasImplementationProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:2048|1024|70,weight:100},contextMenuOpts:{menuId:8,group:"peek",order:5}})||this}return Je}(fe),he.ID="editor.action.peekImplementation",he));var Oe=function(Ue){ce(Je,Ue);function Je(){return Ue!==null&&Ue.apply(this,arguments)||this}return Je.prototype._getNoResultFoundMessage=function(nt){return nt?g.a("references.no","No references found for '{0}'",nt.word):g.a("references.noGeneric","No references found")},Je.prototype._getAlternativeCommand=function(nt){return nt.getOption(41).alternativeReferenceCommand},Je.prototype._getGoToPreference=function(nt){return nt.getOption(41).multipleReferences},Je}(J);Object(z.f)(function(Ue){ce(Je,Ue);function Je(){return Ue.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:g.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:s.a.and(h.a.hasReferenceProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.a.editorTextFocus,primary:1024|70,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:19,group:"4_symbol_nav",order:5,title:g.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.d)(nt,vt,!0,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("ref.title","References")]))]}})})},Je}(Oe)),Object(z.f)(function(Ue){ce(Je,Ue);function Je(){return Ue.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:g.a("references.action.label","Peek References"),alias:"Peek References",precondition:s.a.and(h.a.hasReferenceProvider,f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:6}})||this}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){var Dt;return ye(this,function(Kt){switch(Kt.label){case 0:return Dt=C.c.bind,[4,Object(p.d)(nt,vt,!1,Rt)];case 1:return[2,new(Dt.apply(C.c,[void 0,Kt.sent(),g.a("ref.title","References")]))]}})})},Je}(Oe));var Me=function(Ue){ce(Je,Ue);function Je(nt,vt,Rt){var Dt=Ue.call(this,nt,{id:"editor.action.goToLocation",label:g.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:s.a.and(f.b.notInPeekEditor,h.a.isInEmbeddedEditor.toNegated())})||this;return Dt._references=vt,Dt._gotoMultipleBehaviour=Rt,Dt}return Je.prototype._getLocationModel=function(nt,vt,Rt){return Z(this,void 0,void 0,function(){return ye(this,function(Dt){return[2,new C.c(this._references,g.a("generic.title","Locations"))]})})},Je.prototype._getNoResultFoundMessage=function(nt){return nt&&g.a("generic.noResult","No results for '{0}'",nt.word)||""},Je.prototype._getGoToPreference=function(nt){var vt;return(vt=this._gotoMultipleBehaviour)!==null&&vt!==void 0?vt:nt.getOption(41).multipleReferences},Je.prototype._getAlternativeCommand=function(){return""},Je}(J);_.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:ee.a},{name:"position",description:"The position at which to start",constraint:W.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(Ue,Je,nt,vt,Rt,Dt){return Z(void 0,void 0,void 0,function(){var Kt,ao;return ye(this,function(lo){switch(lo.label){case 0:return Object(ie.a)(ee.a.isUri(Je)),Object(ie.a)(W.a.isIPosition(nt)),Object(ie.a)(Array.isArray(vt)),Object(ie.a)(typeof Rt=="undefined"||typeof Rt=="string"),Object(ie.a)(typeof Dt=="undefined"||typeof Dt=="boolean"),Kt=Ue.get(D.a),[4,Kt.openCodeEditor({resource:Je},Kt.getFocusedCodeEditor())];case 1:return ao=lo.sent(),Object(B.a)(ao)?(ao.setPosition(nt),ao.revealPositionInCenterIfOutsideViewport(nt,0),[2,ao.invokeWithinContext(function(so){var jt=new Me({muteMessage:!0,openInPeek:Boolean(Dt),openToSide:!1},vt,Rt);so.get(I.a).invokeFunction(jt.run.bind(jt),ao)})]):[2]}})})}}),_.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:ee.a},{name:"position",description:"The position at which to start",constraint:W.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(Ue,Je,nt,vt,Rt){return Z(void 0,void 0,void 0,function(){return ye(this,function(Dt){return Ue.get(_.b).executeCommand("editor.action.goToLocations",Je,nt,vt,Rt,!0),[2]})})}}),_.a.registerCommand({id:"editor.action.findReferences",handler:function(Ue,Je,nt){Object(ie.a)(ee.a.isUri(Je)),Object(ie.a)(W.a.isIPosition(nt));var vt=Ue.get(D.a);return vt.openCodeEditor({resource:Je},vt.getFocusedCodeEditor()).then(function(Rt){if(!Object(B.a)(Rt)||!Rt.hasModel())return;var Dt=v.a.get(Rt);if(!Dt)return;var Kt=Object(le.f)(function(lo){return Object(p.d)(Rt.getModel(),W.a.lift(nt),!1,lo).then(function(so){return new C.c(so,g.a("ref.title","References"))})}),ao=new x.a(nt.lineNumber,nt.column,nt.lineNumber,nt.column);return Promise.resolve(Dt.toggleWidget(ao,Kt,!1))})}}),_.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},"8gvo":function(Lt,N,e){},"8z58":function(Lt,N,e){"use strict";e.r(N),e.d(N,"CancellationTokenSource",function(){return Wd}),e.d(N,"Emitter",function(){return Bd}),e.d(N,"KeyCode",function(){return Ud}),e.d(N,"KeyMod",function(){return Hd}),e.d(N,"Position",function(){return Vd}),e.d(N,"Range",function(){return zd}),e.d(N,"Selection",function(){return Kd}),e.d(N,"SelectionDirection",function(){return Gd}),e.d(N,"MarkerSeverity",function(){return Xd}),e.d(N,"MarkerTag",function(){return Yd}),e.d(N,"Uri",function(){return Zd}),e.d(N,"Token",function(){return Qd}),e.d(N,"editor",function(){return $d}),e.d(N,"languages",function(){return Jd});var T=e("/UlZ"),le=e("URDS"),$=e("JQT/"),R=e("MI8n"),B=e("/kV6"),z=e("bY76"),D=e("cGHE"),W=e("aokT"),x=e("gCVg"),h=e("Tcc1"),y;(function(a){a[a.Unknown=0]="Unknown",a[a.Disabled=1]="Disabled",a[a.Enabled=2]="Enabled"})(y||(y={}));var w;(function(a){a[a.KeepWhitespace=1]="KeepWhitespace",a[a.InsertAsSnippet=4]="InsertAsSnippet"})(w||(w={}));var f;(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.Snippet=25]="Snippet"})(f||(f={}));var v;(function(a){a[a.Deprecated=1]="Deprecated"})(v||(v={}));var C;(function(a){a[a.Invoke=0]="Invoke",a[a.TriggerCharacter=1]="TriggerCharacter",a[a.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(C||(C={}));var g;(function(a){a[a.EXACT=0]="EXACT",a[a.ABOVE=1]="ABOVE",a[a.BELOW=2]="BELOW"})(g||(g={}));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||(u={}));var s;(function(a){a[a.LF=1]="LF",a[a.CRLF=2]="CRLF"})(s||(s={}));var l;(function(a){a[a.Text=0]="Text",a[a.Read=1]="Read",a[a.Write=2]="Write"})(l||(l={}));var c;(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"})(c||(c={}));var p;(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.autoClosingOvertype=6]="autoClosingOvertype",a[a.autoClosingQuotes=7]="autoClosingQuotes",a[a.autoIndent=8]="autoIndent",a[a.automaticLayout=9]="automaticLayout",a[a.autoSurround=10]="autoSurround",a[a.codeLens=11]="codeLens",a[a.colorDecorators=12]="colorDecorators",a[a.comments=13]="comments",a[a.contextmenu=14]="contextmenu",a[a.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",a[a.cursorBlinking=16]="cursorBlinking",a[a.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",a[a.cursorStyle=18]="cursorStyle",a[a.cursorSurroundingLines=19]="cursorSurroundingLines",a[a.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",a[a.cursorWidth=21]="cursorWidth",a[a.disableLayerHinting=22]="disableLayerHinting",a[a.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",a[a.dragAndDrop=24]="dragAndDrop",a[a.emptySelectionClipboard=25]="emptySelectionClipboard",a[a.extraEditorClassName=26]="extraEditorClassName",a[a.fastScrollSensitivity=27]="fastScrollSensitivity",a[a.find=28]="find",a[a.fixedOverflowWidgets=29]="fixedOverflowWidgets",a[a.folding=30]="folding",a[a.foldingStrategy=31]="foldingStrategy",a[a.foldingHighlight=32]="foldingHighlight",a[a.fontFamily=33]="fontFamily",a[a.fontInfo=34]="fontInfo",a[a.fontLigatures=35]="fontLigatures",a[a.fontSize=36]="fontSize",a[a.fontWeight=37]="fontWeight",a[a.formatOnPaste=38]="formatOnPaste",a[a.formatOnType=39]="formatOnType",a[a.glyphMargin=40]="glyphMargin",a[a.gotoLocation=41]="gotoLocation",a[a.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",a[a.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",a[a.hover=44]="hover",a[a.inDiffEditor=45]="inDiffEditor",a[a.letterSpacing=46]="letterSpacing",a[a.lightbulb=47]="lightbulb",a[a.lineDecorationsWidth=48]="lineDecorationsWidth",a[a.lineHeight=49]="lineHeight",a[a.lineNumbers=50]="lineNumbers",a[a.lineNumbersMinChars=51]="lineNumbersMinChars",a[a.links=52]="links",a[a.matchBrackets=53]="matchBrackets",a[a.minimap=54]="minimap",a[a.mouseStyle=55]="mouseStyle",a[a.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",a[a.mouseWheelZoom=57]="mouseWheelZoom",a[a.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",a[a.multiCursorModifier=59]="multiCursorModifier",a[a.multiCursorPaste=60]="multiCursorPaste",a[a.occurrencesHighlight=61]="occurrencesHighlight",a[a.overviewRulerBorder=62]="overviewRulerBorder",a[a.overviewRulerLanes=63]="overviewRulerLanes",a[a.parameterHints=64]="parameterHints",a[a.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",a[a.quickSuggestions=66]="quickSuggestions",a[a.quickSuggestionsDelay=67]="quickSuggestionsDelay",a[a.readOnly=68]="readOnly",a[a.renderControlCharacters=69]="renderControlCharacters",a[a.renderIndentGuides=70]="renderIndentGuides",a[a.renderFinalNewline=71]="renderFinalNewline",a[a.renderLineHighlight=72]="renderLineHighlight",a[a.renderValidationDecorations=73]="renderValidationDecorations",a[a.renderWhitespace=74]="renderWhitespace",a[a.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",a[a.roundedSelection=76]="roundedSelection",a[a.rulers=77]="rulers",a[a.scrollbar=78]="scrollbar",a[a.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",a[a.scrollBeyondLastLine=80]="scrollBeyondLastLine",a[a.selectionClipboard=81]="selectionClipboard",a[a.selectionHighlight=82]="selectionHighlight",a[a.selectOnLineNumbers=83]="selectOnLineNumbers",a[a.showFoldingControls=84]="showFoldingControls",a[a.showUnused=85]="showUnused",a[a.snippetSuggestions=86]="snippetSuggestions",a[a.smoothScrolling=87]="smoothScrolling",a[a.stopRenderingLineAfter=88]="stopRenderingLineAfter",a[a.suggest=89]="suggest",a[a.suggestFontSize=90]="suggestFontSize",a[a.suggestLineHeight=91]="suggestLineHeight",a[a.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",a[a.suggestSelection=93]="suggestSelection",a[a.tabCompletion=94]="tabCompletion",a[a.useTabStops=95]="useTabStops",a[a.wordSeparators=96]="wordSeparators",a[a.wordWrap=97]="wordWrap",a[a.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",a[a.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",a[a.wordWrapColumn=100]="wordWrapColumn",a[a.wordWrapMinified=101]="wordWrapMinified",a[a.wrappingIndent=102]="wrappingIndent",a[a.wrappingStrategy=103]="wrappingStrategy",a[a.editorClassName=104]="editorClassName",a[a.pixelRatio=105]="pixelRatio",a[a.tabFocusMode=106]="tabFocusMode",a[a.layoutInfo=107]="layoutInfo",a[a.wrappingInfo=108]="wrappingInfo"})(p||(p={}));var _;(function(a){a[a.TextDefined=0]="TextDefined",a[a.LF=1]="LF",a[a.CRLF=2]="CRLF"})(_||(_={}));var L;(function(a){a[a.LF=0]="LF",a[a.CRLF=1]="CRLF"})(L||(L={}));var I;(function(a){a[a.None=0]="None",a[a.Indent=1]="Indent",a[a.IndentOutdent=2]="IndentOutdent",a[a.Outdent=3]="Outdent"})(I||(I={}));var P;(function(a){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.KEY_0=21]="KEY_0",a[a.KEY_1=22]="KEY_1",a[a.KEY_2=23]="KEY_2",a[a.KEY_3=24]="KEY_3",a[a.KEY_4=25]="KEY_4",a[a.KEY_5=26]="KEY_5",a[a.KEY_6=27]="KEY_6",a[a.KEY_7=28]="KEY_7",a[a.KEY_8=29]="KEY_8",a[a.KEY_9=30]="KEY_9",a[a.KEY_A=31]="KEY_A",a[a.KEY_B=32]="KEY_B",a[a.KEY_C=33]="KEY_C",a[a.KEY_D=34]="KEY_D",a[a.KEY_E=35]="KEY_E",a[a.KEY_F=36]="KEY_F",a[a.KEY_G=37]="KEY_G",a[a.KEY_H=38]="KEY_H",a[a.KEY_I=39]="KEY_I",a[a.KEY_J=40]="KEY_J",a[a.KEY_K=41]="KEY_K",a[a.KEY_L=42]="KEY_L",a[a.KEY_M=43]="KEY_M",a[a.KEY_N=44]="KEY_N",a[a.KEY_O=45]="KEY_O",a[a.KEY_P=46]="KEY_P",a[a.KEY_Q=47]="KEY_Q",a[a.KEY_R=48]="KEY_R",a[a.KEY_S=49]="KEY_S",a[a.KEY_T=50]="KEY_T",a[a.KEY_U=51]="KEY_U",a[a.KEY_V=52]="KEY_V",a[a.KEY_W=53]="KEY_W",a[a.KEY_X=54]="KEY_X",a[a.KEY_Y=55]="KEY_Y",a[a.KEY_Z=56]="KEY_Z",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.US_SEMICOLON=80]="US_SEMICOLON",a[a.US_EQUAL=81]="US_EQUAL",a[a.US_COMMA=82]="US_COMMA",a[a.US_MINUS=83]="US_MINUS",a[a.US_DOT=84]="US_DOT",a[a.US_SLASH=85]="US_SLASH",a[a.US_BACKTICK=86]="US_BACKTICK",a[a.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",a[a.US_BACKSLASH=88]="US_BACKSLASH",a[a.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",a[a.US_QUOTE=90]="US_QUOTE",a[a.OEM_8=91]="OEM_8",a[a.OEM_102=92]="OEM_102",a[a.NUMPAD_0=93]="NUMPAD_0",a[a.NUMPAD_1=94]="NUMPAD_1",a[a.NUMPAD_2=95]="NUMPAD_2",a[a.NUMPAD_3=96]="NUMPAD_3",a[a.NUMPAD_4=97]="NUMPAD_4",a[a.NUMPAD_5=98]="NUMPAD_5",a[a.NUMPAD_6=99]="NUMPAD_6",a[a.NUMPAD_7=100]="NUMPAD_7",a[a.NUMPAD_8=101]="NUMPAD_8",a[a.NUMPAD_9=102]="NUMPAD_9",a[a.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",a[a.NUMPAD_ADD=104]="NUMPAD_ADD",a[a.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",a[a.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",a[a.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",a[a.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",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.MAX_VALUE=112]="MAX_VALUE"})(P||(P={}));var A;(function(a){a[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error"})(A||(A={}));var Q;(function(a){a[a.Unnecessary=1]="Unnecessary",a[a.Deprecated=2]="Deprecated"})(Q||(Q={}));var K;(function(a){a[a.Inline=1]="Inline",a[a.Gutter=2]="Gutter"})(K||(K={}));var H;(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"})(H||(H={}));var V;(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"})(V||(V={}));var de;(function(a){a[a.Left=1]="Left",a[a.Center=2]="Center",a[a.Right=4]="Right",a[a.Full=7]="Full"})(de||(de={}));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={}));var Se;(function(a){a[a.None=0]="None",a[a.Text=1]="Text",a[a.Blocks=2]="Blocks"})(Se||(Se={}));var Ie;(function(a){a[a.Smooth=0]="Smooth",a[a.Immediate=1]="Immediate"})(Ie||(Ie={}));var Pe;(function(a){a[a.Auto=1]="Auto",a[a.Hidden=2]="Hidden",a[a.Visible=3]="Visible"})(Pe||(Pe={}));var Ve;(function(a){a[a.LTR=0]="LTR",a[a.RTL=1]="RTL"})(Ve||(Ve={}));var ke;(function(a){a[a.Invoke=1]="Invoke",a[a.TriggerCharacter=2]="TriggerCharacter",a[a.ContentChange=3]="ContentChange"})(ke||(ke={}));var se;(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"})(se||(se={}));var ee;(function(a){a[a.Deprecated=1]="Deprecated"})(ee||(ee={}));var ie;(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"})(ie||(ie={}));var q;(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"})(q||(q={}));var ce;(function(a){a[a.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",a[a.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",a[a.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",a[a.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(ce||(ce={}));var Z;(function(a){a[a.None=0]="None",a[a.Same=1]="Same",a[a.Indent=2]="Indent",a[a.DeepIndent=3]="DeepIndent"})(Z||(Z={}));var ye=function(){function a(){}return a.chord=function(r,n){return Object(B.a)(r,n)},a.CtrlCmd=2048,a.Shift=1024,a.Alt=512,a.WinCtrl=256,a}();function je(){return{editor:void 0,languages:void 0,CancellationTokenSource:$.b,Emitter:R.a,KeyCode:P,KeyMod:ye,Position:D.a,Range:W.a,Selection:x.a,SelectionDirection:Ve,MarkerSeverity:A,MarkerTag:Q,Uri:z.a,Token:h.a}}var Ge=e("siPX"),ue=e("Vxe3"),ve=e("EffR"),Ee=e("24hK"),xe=e("Q4rV"),Ce=e("tYmi"),he=e("gslv"),J=e("nnTU"),b=e("W9cx"),F;(function(a){a[a.API=0]="API",a[a.USER=1]="USER"})(F||(F={}));var re=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},ne=function(a,r){return function(n,d){r(n,d,a)}},fe=function(a,r,n,d){function S(k){return k instanceof n?k:new n(function(we){we(k)})}return new(n||(n=Promise))(function(k,we){function We(yt){try{Qe(d.next(yt))}catch(It){we(It)}}function Xe(yt){try{Qe(d.throw(yt))}catch(It){we(It)}}function Qe(yt){yt.done?k(yt.value):S(yt.value).then(We,Xe)}Qe((d=d.apply(a,r||[])).next())})},Oe=function(a,r){var n={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},d,S,k,we;return we={next:We(0),throw:We(1),return:We(2)},typeof Symbol=="function"&&(we[Symbol.iterator]=function(){return this}),we;function We(Qe){return function(yt){return Xe([Qe,yt])}}function Xe(Qe){if(d)throw new TypeError("Generator is already executing.");for(;n;)try{if(d=1,S&&(k=Qe[0]&2?S.return:Qe[0]?S.throw||((k=S.return)&&k.call(S),0):S.next)&&!(k=k.call(S,Qe[1])).done)return k;(S=0,k)&&(Qe=[Qe[0]&2,k.value]);switch(Qe[0]){case 0:case 1:k=Qe;break;case 4:return n.label++,{value:Qe[1],done:!1};case 5:n.label++,S=Qe[1],Qe=[0];continue;case 7:Qe=n.ops.pop(),n.trys.pop();continue;default:if(!(k=n.trys,k=k.length>0&&k[k.length-1])&&(Qe[0]===6||Qe[0]===2)){n=0;continue}if(Qe[0]===3&&(!k||Qe[1]>k[0]&&Qe[1]=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var S=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var k=S.range.getStartPosition();this._editor.setPosition(k),this._editor.revealPositionInCenter(k,d)}finally{this.ignoreSelectionChange=!1}},r.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},r.prototype.next=function(n){n===void 0&&(n=0),this._move(!0,n)},r.prototype.previous=function(n){n===void 0&&(n=0),this._move(!1,n)},r.prototype.dispose=function(){a.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},r}(Rt.a),so=e("+3Gp"),jt=e("iuje"),pt=e("M1Kb"),gt=e("twdY"),Tt=e("i/Ef"),it=e("pAvP"),et=e("t49l"),ut=e("X+cX"),Ct=e("/cxE"),ht=e("MNsG"),Et=e("746U"),Yt=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Nt="$initialize",bt=!1;function $e(a){if(!ht.g)return;bt||(bt=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(a.message)}var Ye=function(){function a(r){this._workerId=-1,this._handler=r,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return a.prototype.setWorkerId=function(r){this._workerId=r},a.prototype.sendMessage=function(r,n){var d=this,S=String(++this._lastSentReq);return new Promise(function(k,we){d._pendingReplies[S]={resolve:k,reject:we},d._send({vsWorker:d._workerId,req:S,method:r,args:n})})},a.prototype.handleMessage=function(r){if(!r||!r.vsWorker)return;if(this._workerId!==-1&&r.vsWorker!==this._workerId)return;this._handleMessage(r)},a.prototype._handleMessage=function(r){var n=this;if(r.seq){var d=r;if(!this._pendingReplies[d.seq]){console.warn("Got reply to unknown seq");return}var S=this._pendingReplies[d.seq];if(delete this._pendingReplies[d.seq],d.err){var k=d.err;d.err.$isError&&(k=new Error,k.name=d.err.name,k.message=d.err.message,k.stack=d.err.stack),S.reject(k);return}S.resolve(d.res);return}var we=r,We=we.req,Xe=this._handler.handleMessage(we.method,we.args);Xe.then(function(Qe){n._send({vsWorker:n._workerId,seq:We,res:Qe,err:void 0})},function(Qe){Qe.detail instanceof Error&&(Qe.detail=Object(Ct.g)(Qe.detail)),n._send({vsWorker:n._workerId,seq:We,res:void 0,err:Object(Ct.g)(Qe)})})},a.prototype._send=function(r){var n=[];if(r.req)for(var d=r,S=0;S0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&k()){var Pt=d.createCharSequence(r,n.originalStart,n.originalStart+n.originalLength-1),ro=S.createCharSequence(r,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),eo=ho(Pt,ro,k,!0).changes;We&&(eo=jo(eo)),Wt=[];for(var Gt=0,Jt=eo.length;Gt1&&Jt>1;){var co=ro.charCodeAt(Gt-2),So=eo.charCodeAt(Jt-2);if(co!==So)break;Gt--,Jt--}(Gt>1||Jt>1)&&this._pushTrimWhitespaceCharChange(We,Xe+1,1,Gt,Qe+1,1,Jt)}{for(var xo=Fo(ro,1),Po=Fo(eo,1),Go=ro.length+1,Xo=eo.length+1;xon&&(n=Xe),We>d&&(d=We),Qe>d&&(d=Qe)}n++,d++;for(var yt=new pn(d,n,0),S=0,k=r.length;S=this._maxCharCode?0:this._states.get(r,n)},a}(),on=null;function dn(){return on===null&&(on=new rn([[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]])),on}var Uo=null;function Bo(){if(Uo===null){Uo=new Cn.a(0);for(var a=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\uFF1F\uFF01\uFF20\uFF03\uFF04\uFF05\uFF06\uFF0A\u2018\u201C\u3008\u300A\u300C\u300E\u3010\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u3011\u300F\u300D\u300B\u3009\u201D\u2019\uFF40\uFF5E\u2026`,r=0;rS);if(S>0){var Qe=n.charCodeAt(S-1),yt=n.charCodeAt(we);(Qe===40&&yt===41||Qe===91&&yt===93||Qe===123&&yt===125)&&we--}return{range:{startLineNumber:d,startColumn:S+1,endLineNumber:d,endColumn:we+2},url:n.substring(S,we+1)}},a.computeLinks=function(r,n){n===void 0&&(n=dn());for(var d=Bo(),S=[],k=1,we=r.getLineCount();k<=we;k++){for(var We=r.getLineContent(k),Xe=We.length,Qe=0,yt=0,It=0,Wt=1,Pt=!1,ro=!1,eo=!1;Qe=0?(S+=d?1:-1,S<0?S=r.length-1:S%=r.length,r[S]):null},a.INSTANCE=new a,a}(),Mt=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),be=function(a,r,n,d){function S(k){return k instanceof n?k:new n(function(we){we(k)})}return new(n||(n=Promise))(function(k,we){function We(yt){try{Qe(d.next(yt))}catch(It){we(It)}}function Xe(yt){try{Qe(d.throw(yt))}catch(It){we(It)}}function Qe(yt){yt.done?k(yt.value):S(yt.value).then(We,Xe)}Qe((d=d.apply(a,r||[])).next())})},M=function(a,r){var n={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},d,S,k,we;return we={next:We(0),throw:We(1),return:We(2)},typeof Symbol=="function"&&(we[Symbol.iterator]=function(){return this}),we;function We(Qe){return function(yt){return Xe([Qe,yt])}}function Xe(Qe){if(d)throw new TypeError("Generator is already executing.");for(;n;)try{if(d=1,S&&(k=Qe[0]&2?S.return:Qe[0]?S.throw||((k=S.return)&&k.call(S),0):S.next)&&!(k=k.call(S,Qe[1])).done)return k;(S=0,k)&&(Qe=[Qe[0]&2,k.value]);switch(Qe[0]){case 0:case 1:k=Qe;break;case 4:return n.label++,{value:Qe[1],done:!1};case 5:n.label++,S=Qe[1],Qe=[0];continue;case 7:Qe=n.ops.pop(),n.trys.pop();continue;default:if(!(k=n.trys,k=k.length>0&&k[k.length-1])&&(Qe[0]===6||Qe[0]===2)){n=0;continue}if(Qe[0]===3&&(!k||Qe[1]>k[0]&&Qe[1]=d._lines.length?Qt.c:(we=d._lines[k],Xe=d._wordenize(we,n),We=0,k+=1,Qe())};return{next:Qe}},r.prototype.getLineWords=function(n,d){for(var S=this._lines[n-1],k=this._wordenize(S,d),we=[],We=0,Xe=k;Wethis._lines.length)d=this._lines.length,S=this._lines[d-1].length+1,k=!0;else{var we=this._lines[d-1].length+1;S<1?(S=1,k=!0):S>we&&(S=we,k=!0)}return k?{lineNumber:d,column:S}:n},r}(un),X=function(){function a(r,n){this._host=r,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}return a.prototype.dispose=function(){this._models=Object.create(null)},a.prototype._getModel=function(r){return this._models[r]},a.prototype._getModels=function(){var r=this,n=[];return Object.keys(this._models).forEach(function(d){return n.push(r._models[d])}),n},a.prototype.acceptNewModel=function(r){this._models[r.url]=new j(z.a.parse(r.url),r.lines,r.EOL,r.versionId)},a.prototype.acceptModelChanged=function(r,n){if(!this._models[r])return;var d=this._models[r];d.onEvents(n)},a.prototype.acceptRemovedModel=function(r){if(!this._models[r])return;delete this._models[r]},a.prototype.computeDiff=function(r,n,d,S){return be(this,void 0,void 0,function(){var k,we,We,Xe,Qe,yt,It;return M(this,function(Wt){return k=this._getModel(r),we=this._getModel(n),!k||!we?[2,null]:(We=k.getLinesContent(),Xe=we.getLinesContent(),Qe=new Wo(We,Xe,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:d,shouldMakePrettyDiff:!0,maxComputationTime:S}),yt=Qe.computeDiff(),It=yt.changes.length>0?!1:this._modelsAreIdentical(k,we),[2,{quitEarly:yt.quitEarly,identical:It,changes:yt.changes}])})})},a.prototype._modelsAreIdentical=function(r,n){var d=r.getLineCount(),S=n.getLineCount();if(d!==S)return!1;for(var k=1;k<=d;k++){var we=r.getLineContent(k),We=n.getLineContent(k);if(we!==We)return!1}return!0},a.prototype.computeMoreMinimalEdits=function(r,n){return be(this,void 0,void 0,function(){var d,S,k,we,We,Xe,Qe,yt,It,Wt,Pt,ro,eo,Gt,Jt,co,So,xo;return M(this,function(Po){if(d=this._getModel(r),!d)return[2,n];for(S=[],k=void 0,n=Object(dt.r)(n,function(Go,Xo){if(Go.range&&Xo.range)return W.a.compareRangesUsingStarts(Go.range,Xo.range);var an=Go.range?0:1,yn=Xo.range?0:1;return an-yn}),we=0,We=n;wea._diffLimit){S.push({range:Qe,text:yt});continue}for(Pt=Object(Ot.b)(Wt,yt,!1),ro=d.offsetAt(W.a.lift(Qe).getStartPosition()),eo=0,Gt=Pt;eo=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},Ut=function(a,r){return function(n,d){r(n,d,a)}},Vt=function(a,r,n,d){function S(k){return k instanceof n?k:new n(function(we){we(k)})}return new(n||(n=Promise))(function(k,we){function We(yt){try{Qe(d.next(yt))}catch(It){we(It)}}function Xe(yt){try{Qe(d.throw(yt))}catch(It){we(It)}}function Qe(yt){yt.done?k(yt.value):S(yt.value).then(We,Xe)}Qe((d=d.apply(a,r||[])).next())})},oo=function(a,r){var n={label:0,sent:function(){if(k[0]&1)throw k[1];return k[1]},trys:[],ops:[]},d,S,k,we;return we={next:We(0),throw:We(1),return:We(2)},typeof Symbol=="function"&&(we[Symbol.iterator]=function(){return this}),we;function We(Qe){return function(yt){return Xe([Qe,yt])}}function Xe(Qe){if(d)throw new TypeError("Generator is already executing.");for(;n;)try{if(d=1,S&&(k=Qe[0]&2?S.return:Qe[0]?S.throw||((k=S.return)&&k.call(S),0):S.next)&&!(k=k.call(S,Qe[1])).done)return k;(S=0,k)&&(Qe=[Qe[0]&2,k.value]);switch(Qe[0]){case 0:case 1:k=Qe;break;case 4:return n.label++,{value:Qe[1],done:!1};case 5:n.label++,S=Qe[1],Qe=[0];continue;case 7:Qe=n.ops.pop(),n.trys.pop();continue;default:if(!(k=n.trys,k=k.length>0&&k[k.length-1])&&(Qe[0]===6||Qe[0]===2)){n=0;continue}if(Qe[0]===3&&(!k||Qe[1]>k[0]&&Qe[1]mo&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)},r.prototype.withWorker=function(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new me(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},r}(Rt.a),xt=function(a){At(r,a);function r(n,d,S){var k=a.call(this)||this;if(k._syncedModels=Object.create(null),k._syncedModelsLastUsedTime=Object.create(null),k._proxy=n,k._modelService=d,!S){var we=new ut.c;we.cancelAndSet(function(){return k._checkStopModelSync()},Math.round(Zt/2)),k._register(we)}return k}return r.prototype.dispose=function(){for(var n in this._syncedModels)Object(Rt.f)(this._syncedModels[n]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),a.prototype.dispose.call(this)},r.prototype.ensureSyncedResources=function(n){for(var d=0,S=n;dZt&&d.push(S)}for(var we=0,We=d;we'"_]/g,"-")}function Qo(a,r){console.log(a.languageId+": "+r)}function Oo(a,r){return new Error(a.languageId+": "+r)}function Lo(a,r,n,d,S){var k=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,we=null;return r.replace(k,function(We,Xe,Qe,yt,It,Wt,Pt,ro,eo){return To(Qe)?To(yt)?!To(It)&&It0;){var d=a.tokenizer[n];if(d)return d;var S=n.lastIndexOf(".");S<0?n=null:n=n.substr(0,S)}return null}function hn(a,r){for(var n=r;n&&n.length>0;){var d=a.stateNames[n];if(d)return!0;var S=n.lastIndexOf(".");S<0?n=null:n=n.substr(0,S)}return!1}var En=5,qo=function(){function a(r){this._maxCacheDepth=r,this._entries=Object.create(null)}return a.create=function(r,n){return this._INSTANCE.create(r,n)},a.prototype.create=function(r,n){if(r!==null&&r.depth>=this._maxCacheDepth)return new xn(r,n);var d=xn.getStackElementId(r);d.length>0&&(d+="|"),d+=n;var S=this._entries[d];return S||(S=new xn(r,n),this._entries[d]=S,S)},a._INSTANCE=new a(En),a}(),xn=function(){function a(r,n){this.parent=r,this.state=n,this.depth=(this.parent?this.parent.depth:0)+1}return a.getStackElementId=function(r){for(var n="";r!==null;)n.length>0&&(n+="|"),n+=r.state,r=r.parent;return n},a._equals=function(r,n){for(;r!==null&&n!==null;){if(r===n)return!0;if(r.state!==n.state)return!1;r=r.parent,n=n.parent}return r===null&&n===null},a.prototype.equals=function(r){return a._equals(this,r)},a.prototype.push=function(r){return qo.create(this,r)},a.prototype.pop=function(){return this.parent},a.prototype.popall=function(){for(var r=this;r.parent;)r=r.parent;return r},a.prototype.switchTo=function(r){return qo.create(this.parent,r)},a}(),Un=function(){function a(r,n){this.modeId=r,this.state=n}return a.prototype.equals=function(r){return this.modeId===r.modeId&&this.state.equals(r.state)},a.prototype.clone=function(){var r=this.state.clone();return r===this.state?this:new a(this.modeId,this.state)},a}(),An=function(){function a(r){this._maxCacheDepth=r,this._entries=Object.create(null)}return a.create=function(r,n){return this._INSTANCE.create(r,n)},a.prototype.create=function(r,n){if(n!==null)return new si(r,n);if(r!==null&&r.depth>=this._maxCacheDepth)return new si(r,n);var d=xn.getStackElementId(r),S=this._entries[d];return S||(S=new si(r,null),this._entries[d]=S,S)},a._INSTANCE=new a(En),a}(),si=function(){function a(r,n){this.stack=r,this.embeddedModeData=n}return a.prototype.clone=function(){var r=this.embeddedModeData?this.embeddedModeData.clone():null;return r===this.embeddedModeData?this:An.create(this.stack,this.embeddedModeData)},a.prototype.equals=function(r){return r instanceof a&&this.stack.equals(r.stack)?this.embeddedModeData===null&&r.embeddedModeData===null?!0:this.embeddedModeData===null||r.embeddedModeData===null?!1:this.embeddedModeData.equals(r.embeddedModeData):!1},a}(),ai=function(){function a(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return a.prototype.enterMode=function(r,n){this._language=n},a.prototype.emit=function(r,n){if(this._lastTokenType===n&&this._lastTokenLanguage===this._language)return;this._lastTokenType=n,this._lastTokenLanguage=this._language,this._tokens.push(new h.a(r,n,this._language))},a.prototype.nestedModeTokenize=function(r,n,d){var S=n.modeId,k=n.state,we=gt.B.get(S);if(!we)return this.enterMode(d,S),this.emit(d,""),k;var We=we.tokenize(r,k,d);return this._tokens=this._tokens.concat(We.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,We.endState},a.prototype.finalize=function(r){return new h.b(this._tokens,r)},a}(),Pn=function(){function a(r,n){this._modeService=r,this._theme=n,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return a.prototype.enterMode=function(r,n){this._currentLanguageId=this._modeService.getLanguageIdentifier(n).id},a.prototype.emit=function(r,n){var d=this._theme.match(this._currentLanguageId,n);if(this._lastTokenMetadata===d)return;this._lastTokenMetadata=d,this._tokens.push(r),this._tokens.push(d)},a._merge=function(r,n,d){var S=r!==null?r.length:0,k=n.length,we=d!==null?d.length:0;if(S===0&&k===0&&we===0)return new Uint32Array(0);if(S===0&&k===0)return d;if(k===0&&we===0)return r;var We=new Uint32Array(S+k+we);r!==null&&We.set(r);for(var Xe=0;Xe0&&S.nestedModeTokenize(We,n.embeddedModeData,d);var Xe=r.substring(k);return this._myTokenize(Xe,n,d+k,S)},a.prototype._safeRuleName=function(r){return r?r.name:"(unknown)"},a.prototype._myTokenize=function(r,n,d,S){S.enterMode(d,this._modeId);for(var k=r.length,we=n.embeddedModeData,We=n.stack,Xe=0,Qe=null,yt=!0;yt||Xe=k)break;yt=!1;var Po=this._lexer.tokenizer[ro];if(!Po&&(Po=vn(this._lexer,ro),!Po))throw Oo(this._lexer,"tokenizer state is not defined: "+ro);for(var Go=r.substr(Xe),Xo=0,an=Po;Xo=this._lexer.maxStack)throw Oo(this._lexer,"maximum tokenizer stack size reached: ["+We.state+","+We.parent.state+",...]");We=We.push(ro)}else if(Jt.next==="@pop"){if(We.depth<=1)throw Oo(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(co));We=We.pop()}else if(Jt.next==="@popall")We=We.popall();else{var Yo=Lo(this._lexer,Jt.next,Gt,eo,ro);if(Yo[0]==="@"&&(Yo=Yo.substr(1)),vn(this._lexer,Yo))We=We.push(Yo);else throw Oo(this._lexer,"trying to set a next state '"+Yo+"' that is undefined in rule: "+this._safeRuleName(co))}}Jt.log&&typeof Jt.log=="string"&&Qo(this._lexer,this._lexer.languageId+": "+Lo(this._lexer,Jt.log,Gt,eo,ro))}if(Zo===null)throw Oo(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(co));if(Array.isArray(Zo)){if(Qe&&Qe.groups.length>0)throw Oo(this._lexer,"groups cannot be nested: "+this._safeRuleName(co));if(eo.length!==Zo.length+1)throw Oo(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(co));for(var mn=0,en=1;en=0&&ro()})})},a.colorizeLine=function(r,n,d,S,k){k===void 0&&(k=4);var we=Xt.d.isBasicASCII(r,n),We=Xt.d.containsRTL(r,we,d),Xe=Object(zt.e)(new zt.c(!1,!0,r,!1,we,We,0,S,[],k,0,0,0,-1,"none",!1,!1,null));return Xe.html},a.colorizeModelLine=function(r,n,d){d===void 0&&(d=4);var S=r.getLineContent(n);r.forceTokenization(n);var k=r.getLineTokens(n),we=k.inflate();return this.colorizeLine(S,r.mightContainNonBasicASCII(),r.mightContainRTL(),we,d)},a}();function Ki(a,r,n){return new Promise(function(d,S){var k=function(){var we=Gi(a,r,n);if(n instanceof bi){var We=n.getLoadStatus();if(We.loaded===!1){We.promise.then(k,S);return}}d(we)};k()})}function Zr(a,r){var n=[],d=(0<<11|1<<14|2<<23)>>>0,S=new Uint32Array(2);S[0]=0,S[1]=d;for(var k=0,we=a.length;k")}return n.join("")}function Gi(a,r,n){for(var d=[],S=n.getInitialState(),k=0,we=a.length;k"),S=Xe.endState}return d.join("")}var $o=e("uDWl"),li=e("S3by"),Dn=e("sFUC"),yr=e("iDAx"),Qr=e("0/Sa"),On=e("+7oY"),Qn=e("QDVR"),Xi=e("CRAX"),br=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Yi=function(){for(var a=0,r=0,n=arguments.length;r5e3&&S._leaveChordMode()},500)},r.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},r.prototype._dispatch=function(n,d){return this._doDispatch(this.resolveKeyboardEvent(n),d)},r.prototype._doDispatch=function(n,d){var S=this,k=!1;if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var we=n.getDispatchParts()[0];if(we===null)return k;var We=this._contextKeyService.getContext(d),Xe=this._currentChord?this._currentChord.keypress:null,Qe=n.getLabel(),yt=this._getResolver().resolve(We,Xe,we);return yt&&yt.enterChord?(k=!0,this._enterChordMode(we,Qe),k):(this._currentChord&&((!yt||!yt.commandId)&&(this._notificationService.status(wn.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,Qe),{hideAfter:10*1e3}),k=!0)),this._leaveChordMode(),yt&&yt.commandId&&(yt.bubble||(k=!0),typeof yt.commandArgs=="undefined"?this._commandService.executeCommand(yt.commandId).then(void 0,function(It){return S._notificationService.warn(It)}):this._commandService.executeCommand(yt.commandId,yt.commandArgs).then(void 0,function(It){return S._notificationService.warn(It)}),this._telemetryService.publicLog2("workbenchActionExecuted",{id:yt.commandId,from:"keybinding"})),k)},r.prototype.mightProducePrintableCharacter=function(n){return n.ctrlKey||n.metaKey?!1:n.keyCode>=31&&n.keyCode<=56||n.keyCode>=21&&n.keyCode<=30},r}(Rt.a),_n=e("T8No"),Qi=function(){function a(r,n){this._defaultKeybindings=r,this._defaultBoundCommands=new Map;for(var d=0,S=r.length;d=0;It--)this._isTargetedForRemoval(r[It],Xe,Qe,We,yt)&&r.splice(It,1)}return r.concat(d)},a.prototype._addKeyPress=function(r,n){var d=this._map.get(r);if(typeof d=="undefined"){this._map.set(r,[n]),this._addToLookupMap(n);return}for(var S=d.length-1;S>=0;S--){var k=d[S];if(k.command===n.command)continue;var we=k.keypressParts.length>1,We=n.keypressParts.length>1;if(we&&We&&k.keypressParts[1]!==n.keypressParts[1])continue;a.whenIsEntirelyIncluded(k.when,n.when)&&this._removeFromLookupMap(k)}d.push(n),this._addToLookupMap(n)},a.prototype._addToLookupMap=function(r){if(!r.command)return;var n=this._lookupMap.get(r.command);typeof n=="undefined"?(n=[r],this._lookupMap.set(r.command,n)):n.push(r)},a.prototype._removeFromLookupMap=function(r){if(!r.command)return;var n=this._lookupMap.get(r.command);if(typeof n=="undefined")return;for(var d=0,S=n.length;d1&&Qe.keypressParts[1]!==null?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:Qe.command,commandArgs:Qe.commandArgs,bubble:Qe.bubble}:null},a.prototype._findCommand=function(r,n){for(var d=n.length-1;d>=0;d--){var S=n[d];if(!a.contextMatchesRules(r,S.when))continue;return S}return null},a.contextMatchesRules=function(r,n){return n?n.evaluate(r):!0},a}(),qr=e("nrhi"),$i=function(){function a(r,n,d,S,k){this.resolvedKeybinding=r,this.keypressParts=r?Er(r.getDispatchParts()):[],this.bubble=n?n.charCodeAt(0)===94:!1,this.command=this.bubble?n.substr(1):n,this.commandArgs=d,this.when=S,this.isDefault=k}return a}();function Er(a){for(var r=[],n=0,d=a.length;n1},r.prototype.getParts=function(){var n=this;return this._parts.map(function(d){return n._getPart(d)})},r.prototype._getPart=function(n){return new B.d(n.ctrlKey,n.shiftKey,n.altKey,n.metaKey,this._getLabel(n),this._getAriaLabel(n))},r.prototype.getDispatchParts=function(){var n=this;return this._parts.map(function(d){return n._getDispatchPart(d)})},r}(B.c),ts=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),_r=function(a){ts(r,a);function r(n,d){return a.call(this,d,n.parts)||this}return r.prototype._keyCodeToUILabel=function(n){if(this._os===2)switch(n){case 15:return"\u2190";case 16:return"\u2191";case 17:return"\u2192";case 18:return"\u2193"}return B.b.toString(n)},r.prototype._getLabel=function(n){return n.isDuplicateModifierCase()?"":this._keyCodeToUILabel(n.keyCode)},r.prototype._getAriaLabel=function(n){return n.isDuplicateModifierCase()?"":B.b.toString(n.keyCode)},r.prototype._getDispatchPart=function(n){return r.getDispatchStr(n)},r.getDispatchStr=function(n){if(n.isModifierKey())return null;var d="";return n.ctrlKey&&(d+="ctrl+"),n.shiftKey&&(d+="shift+"),n.altKey&&(d+="alt+"),n.metaKey&&(d+="meta+"),d+=B.b.toString(n.keyCode),d},r}(na),Hn=e("sM1p"),Sr=e("EWX2"),Oi=e("A9l+"),os=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),ns=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},is=function(a,r){return function(n,d){r(n,d,a)}},rs=function(){for(var a=0,r=0,n=arguments.length;r0){var xo=n[We-1];xo.originalEndLineNumber===0?co=xo.originalStartLineNumber+1:co=xo.originalEndLineNumber+1,xo.modifiedEndLineNumber===0?So=xo.modifiedStartLineNumber+1:So=xo.modifiedEndLineNumber+1}var Po=Gt-xi+1,Go=Jt-xi+1;if(PoZo){var Xo=Zo-en;en=en+Xo,bn=bn+Xo}if(bn>Yo){var Xo=Yo-bn;en=en+Xo,bn=bn+Xo}ro[eo++]=new Ei(an,en,yn,bn)}k[we++]=new Ji(ro)}for(var Mn=k[0].entries,Bn=[],kn=0,We=1,Xe=k.length;WeWt)&&(Wt=So),xo!==0&&(Pt===0||xoro)&&(ro=Po)}var Go=document.createElement("div");Go.className="diff-review-row";var Xo=document.createElement("div");Xo.className="diff-review-cell diff-review-summary";var an=Wt-It+1,yn=ro-Pt+1;Xo.appendChild(document.createTextNode(Xe+1+"/"+this._diffs.length+": @@ -"+It+","+an+" +"+Pt+","+yn+" @@")),Go.setAttribute("data-line",String(Pt));var Zo=function(bn){return bn===0?wn.a("no_lines","no lines"):bn===1?wn.a("one_line","1 line"):wn.a("more_lines","{0} lines",bn)},Yo=Zo(an),mn=Zo(yn);Go.setAttribute("aria-label",wn.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",Xe+1,this._diffs.length,It,Yo,Pt,mn)),Go.appendChild(Xo),Go.setAttribute("role","listitem"),yt.appendChild(Go);for(var en=Pt,eo=0,Gt=Qe.length;eo>>0,Qe=new Uint32Array(2);Qe[0]=we.length,Qe[1]=Xe;var yt=new _t.a(Qe,we),It=Xt.d.isBasicASCII(we,n.mightContainNonBasicASCII()),Wt=Xt.d.containsRTL(we,It,n.mightContainRTL()),Pt=Object(zt.e)(new zt.c(We.isMonospace&&!d.get(23),We.canUseHalfwidthRightwardsArrow,we,!1,It,Wt,0,yt,[],S,0,We.spaceWidth,We.middotWidth,d.get(88),d.get(74),d.get(69),d.get(35)!==T.d.OFF,null));return Pt.html},r}(Rt.a);Object(Ln.e)(function(a,r){var n=a.getColor(Vn.k);n&&r.addRule(".monaco-diff-editor .diff-review-line-number { color: "+n+"; }");var d=a.getColor(gn.Vb);d&&r.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+d+" 0 -6px 6px -6px inset; }")});var er=function(a){Sn(r,a);function r(){return a.call(this,{id:"editor.action.diffReview.next",label:wn.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:_n.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}return r.prototype.run=function(n,d){var S=Ir(n);S&&S.diffReviewNext()},r}(ui.b),Rr=function(a){Sn(r,a);function r(){return a.call(this,{id:"editor.action.diffReview.prev",label:wn.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:_n.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1024|65,weight:100}})||this}return r.prototype.run=function(n,d){var S=Ir(n);S&&S.diffReviewPrev()},r}(ui.b);function Ir(a){for(var r=a.get(ue.a),n=r.listDiffEditors(),d=0,S=n.length;d0&&k[k.length-1])&&(Qe[0]===6||Qe[0]===2)){n=0;continue}if(Qe[0]===3&&(!k||Qe[1]>k[0]&&Qe[1]k.modifiedStartLineNumber?wn.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):wn.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,function(){return Ri(Xe,void 0,void 0,function(){return tr(this,function(Gt){switch(Gt.label){case 0:return[4,this._clipboardService.writeText(k.originalContent.join(yt)+yt)];case 1:return Gt.sent(),[2]}})})}));var Wt=0,Pt=void 0;k.originalEndLineNumber>k.modifiedStartLineNumber&&(Pt=new ci.a("diff.clipboard.copyDeletedLineContent",wn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",k.originalStartLineNumber),void 0,!0,function(){return Ri(Xe,void 0,void 0,function(){return tr(this,function(Gt){switch(Gt.label){case 0:return[4,this._clipboardService.writeText(k.originalContent[Wt])];case 1:return Gt.sent(),[2]}})})}),It.push(Pt));var ro=S.getOption(68);ro||It.push(new ci.a("diff.inline.revertChange",wn.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,function(){return Ri(Xe,void 0,void 0,function(){var Gt,Gt;return tr(this,function(Jt){return k.modifiedEndLineNumber===0?(Gt=S.getModel().getLineMaxColumn(k.modifiedStartLineNumber),S.executeEdits("diffEditor",[{range:new W.a(k.modifiedStartLineNumber,Gt,k.modifiedStartLineNumber,Gt),text:yt+k.originalContent.join(yt)}])):(Gt=S.getModel().getLineMaxColumn(k.modifiedEndLineNumber),S.executeEdits("diffEditor",[{range:new W.a(k.modifiedStartLineNumber,1,k.modifiedEndLineNumber,Gt),text:k.originalContent.join(yt)}])),[2]})})}));var eo=function(Gt,Jt){Xe._contextMenuService.showContextMenu({getAnchor:function(){return{x:Gt,y:Jt}},getActions:function(){return Pt&&(Pt.label=wn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",k.originalStartLineNumber+Wt)),It},autoSelectFirstItem:!0})};return Xe._register(ve.o(Xe._diffActions,"mousedown",function(Gt){var Jt=ve.C(Xe._diffActions),co=Jt.top,So=Jt.height,xo=Math.floor(Qe/3);Gt.preventDefault(),eo(Gt.posx,co+So+xo)})),Xe._register(S.onMouseMove(function(Gt){if(Gt.target.type===8||Gt.target.type===5){var Jt=Gt.target.detail.viewZoneId;Jt===Xe._viewZoneId?(Xe.visibility=!0,Wt=Xe._updateLightBulbPosition(Xe._marginDomNode,Gt.event.browserEvent.y,Qe)):Xe.visibility=!1}else Xe.visibility=!1})),Xe._register(S.onMouseDown(function(Gt){if(!Gt.event.rightButton)return;if(Gt.target.type===8||Gt.target.type===5){var Jt=Gt.target.detail.viewZoneId;Jt===Xe._viewZoneId&&(Gt.event.preventDefault(),Wt=Xe._updateLightBulbPosition(Xe._marginDomNode,Gt.event.browserEvent.y,Qe),eo(Gt.event.posx,Gt.event.posy+Qe))}})),Xe}return Object.defineProperty(r.prototype,"visibility",{get:function(){return this._visibility},set:function(n){this._visibility!==n&&(this._visibility=n,n?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")},enumerable:!0,configurable:!0}),r.prototype._updateLightBulbPosition=function(n,d,S){var k=ve.C(n).top,we=d-k,We=Math.floor(we/S),Xe=We*S;return this._diffActions.style.top=Xe+"px",We},r}(Rt.a),Ii=e("tTk5"),_s=e("o39E"),hi=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Ss=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},$n=function(a,r){return function(n,d){r(n,d,a)}},Jn=function(){function a(r,n){this._contextMenuService=r,this._clipboardService=n,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return a.prototype.getForeignViewZones=function(r){var n=this;return r.filter(function(d){return!n._zonesMap[String(d.id)]})},a.prototype.clean=function(r){var n=this;this._zones.length>0&&r.changeViewZones(function(d){for(var S=0,k=n._zones.length;S0?we/S:0,Xe=Math.max(0,Math.floor(n.height*We)),Qe=Math.floor(d*We);return{height:Xe,top:Qe}},r.prototype._createDataSource=function(){var n=this;return{getWidth:function(){return n._elementSizeObserver.getWidth()},getHeight:function(){return n._elementSizeObserver.getHeight()-n._getReviewHeight()},getContainerDomNode:function(){return n._containerDomElement},relayoutEditors:function(){n._doLayout()},getOriginalEditor:function(){return n.originalEditor},getModifiedEditor:function(){return n.modifiedEditor}}},r.prototype._setStrategy=function(n){this._strategy&&this._strategy.dispose(),this._strategy=n,n.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()},r.prototype._getLineChangeAtOrBeforeLineNumber=function(n,d){var S=this._diffComputationResult?this._diffComputationResult.changes:[];if(S.length===0||n=Qe?k=We+1:(k=We,we=We)}return S[k]},r.prototype._getEquivalentLineForOriginalLineNumber=function(n){var d=this._getLineChangeAtOrBeforeLineNumber(n,function(Qe){return Qe.originalStartLineNumber});if(!d)return n;var S=d.originalStartLineNumber+(d.originalEndLineNumber>0?-1:0),k=d.modifiedStartLineNumber+(d.modifiedEndLineNumber>0?-1:0),we=d.originalEndLineNumber>0?d.originalEndLineNumber-d.originalStartLineNumber+1:0,We=d.modifiedEndLineNumber>0?d.modifiedEndLineNumber-d.modifiedStartLineNumber+1:0,Xe=n-S;return Xe<=we?k+Math.min(Xe,We):k+We-we+Xe},r.prototype._getEquivalentLineForModifiedLineNumber=function(n){var d=this._getLineChangeAtOrBeforeLineNumber(n,function(Qe){return Qe.modifiedStartLineNumber});if(!d)return n;var S=d.originalStartLineNumber+(d.originalEndLineNumber>0?-1:0),k=d.modifiedStartLineNumber+(d.modifiedEndLineNumber>0?-1:0),we=d.originalEndLineNumber>0?d.originalEndLineNumber-d.originalStartLineNumber+1:0,We=d.modifiedEndLineNumber>0?d.modifiedEndLineNumber-d.modifiedStartLineNumber+1:0,Xe=n-k;return Xe<=We?S+Math.min(Xe,we):S+we-We+Xe},r.prototype.getDiffLineInformationForOriginal=function(n){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(n)}:null},r.prototype.getDiffLineInformationForModified=function(n){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(n)}:null},r.ONE_OVERVIEW_WIDTH=15,r.ENTIRE_DIFF_OVERVIEW_WIDTH=30,r.UPDATE_DIFF_DECORATIONS_DELAY=200,r=Ss([$n(3,it.a),$n(4,_n.c),$n(5,Rn.a),$n(6,ue.a),$n(7,Ln.c),$n(8,Un.a),$n(9,Xn.a),$n(10,Ii.a)],r),r}(Rt.a),Nr=function(a){hi(r,a);function r(n){var d=a.call(this)||this;return d._dataSource=n,d._insertColor=null,d._removeColor=null,d}return r.prototype.applyColors=function(n){var d=(n.getColor(gn.j)||gn.g).transparent(2),S=(n.getColor(gn.l)||gn.h).transparent(2),k=!d.equals(this._insertColor)||!S.equals(this._removeColor);return this._insertColor=d,this._removeColor=S,k},r.prototype.getEditorsDiffDecorations=function(n,d,S,k,we,We,Xe){we=we.sort(function(Wt,Pt){return Wt.afterLineNumber-Pt.afterLineNumber}),k=k.sort(function(Wt,Pt){return Wt.afterLineNumber-Pt.afterLineNumber});var Qe=this._getViewZones(n,k,we,We,Xe,S),yt=this._getOriginalEditorDecorations(n,d,S,We,Xe),It=this._getModifiedEditorDecorations(n,d,S,We,Xe);return{original:{decorations:yt.decorations,overviewZones:yt.overviewZones,zones:Qe.original},modified:{decorations:It.decorations,overviewZones:It.overviewZones,zones:Qe.modified}}},r}(Rt.a),nr=function(){function a(r){this._source=r,this._index=-1,this.current=null,this.advance()}return a.prototype.advance=function(){this._index++,this._index0){var mn=Zo[Zo.length-1];if(mn.afterLineNumber===Yo.afterLineNumber&&mn.domNode===null){mn.heightInLines+=Yo.heightInLines;return}}Zo.push(Yo)},yt=new nr(this.modifiedForeignVZ),It=new nr(this.originalForeignVZ),Wt=0,Pt=this.lineChanges.length;Wt<=Pt;Wt++){var ro=Wt0?-1:0),k=ro.modifiedStartLineNumber+(ro.modifiedEndLineNumber>0?-1:0),d=ro.originalEndLineNumber>0?ro.originalEndLineNumber-ro.originalStartLineNumber+1:0,n=ro.modifiedEndLineNumber>0?ro.modifiedEndLineNumber-ro.modifiedStartLineNumber+1:0,we=Math.max(ro.originalStartLineNumber,ro.originalEndLineNumber),We=Math.max(ro.modifiedStartLineNumber,ro.modifiedEndLineNumber)):(S+=1e7+d,k+=1e7+n,we=S,We=k);for(var eo=[],Gt=[];yt.current&&yt.current.afterLineNumber<=We;){var Jt=void 0;yt.current.afterLineNumber<=k?Jt=S-k+yt.current.afterLineNumber:Jt=we;var co=null;ro&&ro.modifiedStartLineNumber<=yt.current.afterLineNumber&&yt.current.afterLineNumber<=ro.modifiedEndLineNumber&&(co=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),eo.push({afterLineNumber:Jt,heightInLines:yt.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:co}),yt.advance()}for(;It.current&&It.current.afterLineNumber<=we;){var Jt=void 0;It.current.afterLineNumber<=S?Jt=k-S+It.current.afterLineNumber:Jt=We,Gt.push({afterLineNumber:Jt,heightInLines:It.current.height/this.originalLineHeight,domNode:null}),It.advance()}if(ro!==null&&fi(ro)){var So=this._produceOriginalFromDiff(ro,d,n);So&&eo.push(So)}if(ro!==null&&oi(ro)){var So=this._produceModifiedFromDiff(ro,d,n);So&&Gt.push(So)}var xo=0,Po=0;for(eo=eo.sort(Xe),Gt=Gt.sort(Xe);xo=Xo.heightInLines?(Go.heightInLines-=Xo.heightInLines,Po++):(Xo.heightInLines-=Go.heightInLines,xo++)}for(;xor.MINIMUM_EDITOR_WIDTH*2?(kS-r.MINIMUM_EDITOR_WIDTH&&(k=S-r.MINIMUM_EDITOR_WIDTH)):k=we,this._sashPosition!==k&&(this._sashPosition=k,this._sash.layout()),this._sashPosition},r.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},r.prototype.onSashDrag=function(n){var d=this._dataSource.getWidth(),S=d-or.ENTIRE_DIFF_OVERVIEW_WIDTH,k=this.layout((this._startSashPosition+(n.currentX-n.startX))/S);this._sashRatio=k/S,this._dataSource.relayoutEditors()},r.prototype.onSashDragEnd=function(){this._sash.layout()},r.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},r.prototype.getVerticalSashTop=function(n){return 0},r.prototype.getVerticalSashLeft=function(n){return this._sashPosition},r.prototype.getVerticalSashHeight=function(n){return this._dataSource.getHeight()},r.prototype._getViewZones=function(n,d,S,k,we){var We=new Ms(n,d,k.getOption(49),S,we.getOption(49));return We.getViewZones()},r.prototype._getOriginalEditorDecorations=function(n,d,S,k,we){for(var We=String(this._removeColor),Xe={decorations:[],overviewZones:[]},Qe=k.getModel(),yt=0,It=n.length;ytd?{afterLineNumber:Math.max(n.originalStartLineNumber,n.originalEndLineNumber),heightInLines:S-d,domNode:null}:null},r.prototype._produceModifiedFromDiff=function(n,d,S){return d>S?{afterLineNumber:Math.max(n.modifiedStartLineNumber,n.modifiedEndLineNumber),heightInLines:d-S,domNode:null}:null},r}(ir),Ni=function(a){hi(r,a);function r(n,d){var S=a.call(this,n)||this;return S.decorationsLeft=n.getOriginalEditor().getLayoutInfo().decorationsLeft,S._register(n.getOriginalEditor().onDidLayoutChange(function(k){S.decorationsLeft!==k.decorationsLeft&&(S.decorationsLeft=k.decorationsLeft,n.relayoutEditors())})),S}return r.prototype.setEnableSplitViewResizing=function(n){},r.prototype._getViewZones=function(n,d,S,k,we,We){var Xe=new Ds(n,d,S,k,we,We);return Xe.getViewZones()},r.prototype._getOriginalEditorDecorations=function(n,d,S,k,we){for(var We=String(this._removeColor),Xe={decorations:[],overviewZones:[]},Qe=0,yt=n.length;Qe'])}Gt+=this.modifiedEditorOptions.get(79);var xo=document.createElement("div");xo.className="view-lines line-delete",xo.innerHTML=Qe.build(),Ti.a.applyFontInfoSlow(xo,Wt);var Po=document.createElement("div");return Po.className="inline-deleted-margin-view-zone",Po.innerHTML=yt.join(""),Ti.a.applyFontInfoSlow(Po,Wt),{shouldNotShrink:!0,afterLineNumber:n.modifiedEndLineNumber===0?n.modifiedStartLineNumber:n.modifiedStartLineNumber-1,heightInLines:d,minWidthInPx:Gt*eo,domNode:xo,marginDomNode:Po,diff:{originalStartLineNumber:n.originalStartLineNumber,originalEndLineNumber:n.originalEndLineNumber,modifiedStartLineNumber:n.modifiedStartLineNumber,modifiedEndLineNumber:n.modifiedEndLineNumber,originalContent:Jt}}},r.prototype._renderOriginalLine=function(n,d,S,k,we,We,Xe){var Qe=d.getLineTokens(we),yt=Qe.getLineContent(),It=S.get(34),Wt=ws.a.filter(We,we,1,yt.length+1);Xe.appendASCIIString('');var Pt=Xt.d.isBasicASCII(yt,d.mightContainNonBasicASCII()),ro=Xt.d.containsRTL(yt,Pt,d.mightContainRTL()),eo=Object(zt.d)(new zt.c(It.isMonospace&&!S.get(23),It.canUseHalfwidthRightwardsArrow,yt,!1,Pt,ro,0,Qe,Wt,k,0,It.spaceWidth,It.middotWidth,S.get(88),S.get(74),S.get(69),S.get(35)!==T.d.OFF,null),Xe);Xe.appendASCIIString("
");var Gt=eo.characterMapping.getAbsoluteOffsets();return Gt.length>0?Gt[Gt.length-1]:0},r}(ir);function fi(a){return a.modifiedEndLineNumber>0}function oi(a){return a.originalEndLineNumber>0}function Os(){var a=document.createElement("div");return a.className="diagonal-fill",a}Object(Ln.e)(function(a,r){var n=a.getColor(gn.j);n&&(r.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),r.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),r.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var d=a.getColor(gn.l);d&&(r.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+d+"; }"),r.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+d+"; }"),r.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+d+"; }"));var S=a.getColor(gn.k);S&&r.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+(a.type==="hc"?"dashed":"solid")+" "+S+"; }");var k=a.getColor(gn.m);k&&r.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+(a.type==="hc"?"dashed":"solid")+" "+k+"; }");var we=a.getColor(gn.Vb);we&&r.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+we+"; }");var We=a.getColor(gn.i);We&&r.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+We+"; }")});var Ts=e("9Y+e"),Si=e("scqD"),Kn=e("fjLI"),ni=e("bexQ"),mi=e("R3nR"),xs=e("9XeP"),sr=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),ar=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},sn=function(a,r){return function(n,d){r(n,d,a)}},As=function(){for(var a=0,r=0,n=arguments.length;r> to now point to mime <<"+n.mime+">>"),n.filename&&d.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&d.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&d.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>")})}function ur(a){return{id:a.id,mime:a.mime,filename:a.filename,extension:a.extension,filepattern:a.filepattern,firstline:a.firstline,userConfigured:a.userConfigured,filenameLowercase:a.filename?a.filename.toLowerCase():void 0,extensionLowercase:a.extension?a.extension.toLowerCase():void 0,filepatternLowercase:a.filepattern?a.filepattern.toLowerCase():void 0,filepatternOnPath:a.filepattern?a.filepattern.indexOf(dr.posix.sep)>=0:!1}}function Li(a,r){var n;if(a)switch(a.scheme){case Ce.b.file:n=a.fsPath;break;case Ce.b.data:var d=he.a.parseMetaData(a);n=d.get(he.a.META_DATA_LABEL);break;default:n=a.path}if(!n)return[Pr];n=n.toLowerCase();var S=Object(dr.basename)(n),k=Wr(n,S,Fr);if(k)return[k,ki];var we=Wr(n,S,kr);if(we)return[we,ki];if(r){var We=ii(r);if(We)return[We,ki]}return[Pr]}function Wr(a,r,n){for(var d=null,S=null,k=null,we=n.length-1;we>=0;we--){var We=n[we];if(r===We.filenameLowercase){d=We;break}if(We.filepattern&&(!S||We.filepattern.length>S.filepattern.length)){var Xe=We.filepatternOnPath?a:r;Object(cr.a)(We.filepatternLowercase,Xe)&&(S=We)}We.extension&&((!k||We.extension.length>k.extension.length)&&(Object(to.m)(r,We.extensionLowercase)&&(k=We)))}return d?d.mime:S?S.mime:k?k.mime:null}function ii(a){if(Object(to.P)(a)&&(a=a.substr(1)),a.length>0)for(var r=Fi.length-1;r>=0;r--){var n=Fi[r];if(!n.firstline)continue;var d=a.match(n.firstline);if(d&&d.length>0)return n.mime}return null}var gi=e("MqQJ"),hr=e("ic2d"),ks=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),qn=Object.prototype.hasOwnProperty,Fs=function(a){ks(r,a);function r(n,d){n===void 0&&(n=!0),d===void 0&&(d=!1);var S=a.call(this)||this;return S._onDidChange=S._register(new R.a),S.onDidChange=S._onDidChange.event,S._warnOnOverwrite=d,S._nextLanguageId2=1,S._languageIdToLanguage=[],S._languageToLanguageId=Object.create(null),S._languages={},S._mimeTypesMap={},S._nameMap={},S._lowercaseNameMap={},n&&(S._initializeFromRegistry(),S._register(gi.a.onDidChangeLanguages(function(k){return S._initializeFromRegistry()}))),S}return r.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var n=gi.a.getLanguages();this._registerLanguages(n)},r.prototype._registerLanguages=function(n){for(var d=this,S=0,k=n;S0&&((S=n.mimetypes).push.apply(S,d.mimetypes),we=d.mimetypes[0]),we||(we="text/x-"+k,n.mimetypes.push(we)),Array.isArray(d.extensions))for(var We=0,Xe=d.extensions;We0){var Gt=d.firstLine;Gt.charAt(0)!=="^"&&(Gt="^"+Gt);try{var Jt=new RegExp(Gt);to.I(Jt)||pi({id:k,mime:we,firstline:Jt},this._warnOnOverwrite)}catch(an){Object(Ct.e)(an)}}n.aliases.push(k);var co=null;if(typeof d.aliases!="undefined"&&Array.isArray(d.aliases)&&(d.aliases.length===0?co=[null]:co=d.aliases),co!==null)for(var So=0,xo=co;So0;if(!(Go&&co[0]===null)){var Xo=(Go?co[0]:null)||k;(Go||!n.name)&&(n.name=Xo)}d.configuration&&n.configurationFiles.push(d.configuration)},r.prototype.isRegisteredMode=function(n){return qn.call(this._mimeTypesMap,n)?!0:qn.call(this._languages,n)},r.prototype.getModeIdForLanguageNameLowercase=function(n){return qn.call(this._lowercaseNameMap,n)?this._lowercaseNameMap[n].language:null},r.prototype.extractModeIds=function(n){var d=this;return n?n.split(",").map(function(S){return S.trim()}).map(function(S){return qn.call(d._mimeTypesMap,S)?d._mimeTypesMap[S].language:S}).filter(function(S){return qn.call(d._languages,S)}):[]},r.prototype.getLanguageIdentifier=function(n){if(n===Tt.b||n===0)return Tt.a;var d;if(typeof n=="string")d=n;else if(d=this._languageIdToLanguage[n],!d)return null;return qn.call(this._languages,d)?this._languages[d].identifier:null},r.prototype.getModeIdsFromFilepathOrFirstLine=function(n,d){if(!n&&!d)return[];var S=Li(n,d);return this.extractModeIds(S.join(","))},r}(Rt.a),Ws=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Br=function(a){Ws(r,a);function r(n,d){var S=a.call(this)||this;return S._onDidChange=S._register(new R.a),S.onDidChange=S._onDidChange.event,S._selector=d,S.languageIdentifier=S._selector(),S._register(n(function(){return S._evaluate()})),S}return r.prototype._evaluate=function(){var n=this._selector();if(n.id===this.languageIdentifier.id)return;this.languageIdentifier=n,this._onDidChange.fire(this.languageIdentifier)},r}(Rt.a),Bs=function(){function a(r){var n=this;r===void 0&&(r=!1),this._onDidCreateMode=new R.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new R.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new Fs(!0,r),this._registry.onDidChange(function(){return n._onLanguagesMaybeChanged.fire()})}return a.prototype.isRegisteredMode=function(r){return this._registry.isRegisteredMode(r)},a.prototype.getModeIdForLanguageName=function(r){return this._registry.getModeIdForLanguageNameLowercase(r)},a.prototype.getModeIdByFilepathOrFirstLine=function(r,n){var d=this._registry.getModeIdsFromFilepathOrFirstLine(r,n);return Object(dt.l)(d,null)},a.prototype.getModeId=function(r){var n=this._registry.extractModeIds(r);return Object(dt.l)(n,null)},a.prototype.getLanguageIdentifier=function(r){return this._registry.getLanguageIdentifier(r)},a.prototype.create=function(r){var n=this;return new Br(this.onLanguagesMaybeChanged,function(){var d=n.getModeId(r);return n._createModeAndGetLanguageIdentifier(d)})},a.prototype.createByFilepathOrFirstLine=function(r,n){var d=this;return new Br(this.onLanguagesMaybeChanged,function(){var S=d.getModeIdByFilepathOrFirstLine(r,n);return d._createModeAndGetLanguageIdentifier(S)})},a.prototype._createModeAndGetLanguageIdentifier=function(r){var n=this.getLanguageIdentifier(r||"plaintext")||Tt.a;return this._getOrCreateMode(n.language),n},a.prototype.triggerMode=function(r){var n=this.getModeId(r);this._getOrCreateMode(n||"plaintext")},a.prototype._getOrCreateMode=function(r){if(!this._instantiatedModes.hasOwnProperty(r)){var n=this.getLanguageIdentifier(r)||Tt.a;this._instantiatedModes[r]=new Pi(n),this._onDidCreateMode.fire(this._instantiatedModes[r])}return this._instantiatedModes[r]},a}(),Hr=e("QRHv"),vi=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Hs=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},Wi=function(a,r){return function(n,d){r(n,d,a)}};function Bi(a){return a.toString()}var H=function(){function a(r,n,d){this._modelEventListeners=new Rt.b,this.model=r,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(r.onWillDispose(function(){return n(r)})),this._modelEventListeners.add(r.onDidChangeLanguage(function(S){return d(r,S)}))}return a.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},a.prototype.dispose=function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()},a.prototype.setLanguage=function(r){var n=this;this._disposeLanguageSelection(),this._languageSelection=r,this._languageSelectionListener=this._languageSelection.onDidChange(function(){return n.model.setMode(r.languageIdentifier)}),this.model.setMode(r.languageIdentifier)},a}(),o=ht.d||ht.e?1:2,t=function(a){vi(r,a);function r(n,d,S,k){var we=a.call(this)||this;return we._onModelAdded=we._register(new R.a),we.onModelAdded=we._onModelAdded.event,we._onModelRemoved=we._register(new R.a),we.onModelRemoved=we._onModelRemoved.event,we._onModelModeChanged=we._register(new R.a),we.onModelModeChanged=we._onModelModeChanged.event,we._configurationService=n,we._resourcePropertiesService=d,we._models={},we._modelCreationOptionsByLanguageAndResource=Object.create(null),we._configurationServiceSubscription=we._configurationService.onDidChangeConfiguration(function(We){return we._updateModelOptions()}),we._updateModelOptions(),we._register(new i(we,S,n,k)),we}return r._readModelOptions=function(n,d){var S=T.c.tabSize;if(n.editor&&typeof n.editor.tabSize!="undefined"){var k=parseInt(n.editor.tabSize,10);isNaN(k)||(S=k),S<1&&(S=1)}var we=S;if(n.editor&&typeof n.editor.indentSize!="undefined"&&n.editor.indentSize!=="tabSize"){var We=parseInt(n.editor.indentSize,10);isNaN(We)||(we=We),we<1&&(we=1)}var Xe=T.c.insertSpaces;n.editor&&typeof n.editor.insertSpaces!="undefined"&&(Xe=n.editor.insertSpaces==="false"?!1:Boolean(n.editor.insertSpaces));var Qe=o,yt=n.eol;yt===`\r
+`},a=ns([is(0,On.a)],a),a}(),fs=function(){function a(){}return a.prototype.publicLog=function(r,n){return Promise.resolve(void 0)},a.prototype.publicLog2=function(r,n){return this.publicLog(r,n)},a}(),ms=function(){function a(){var r=z.a.from({scheme:a.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new Sr.b({uri:r,name:"",index:0})]}}return a.prototype.getWorkspace=function(){return this.workspace},a.prototype.getWorkspaceFolder=function(r){return r&&r.scheme===a.SCHEME?this.workspace.folders[0]:null},a.SCHEME="inmemory",a}();function ti(a,r,n){if(!r)return;if(!(a instanceof Dr))return;Object.keys(r).forEach(function(d){Object(yr.d)(d)&&a.updateValue("editor."+d,r[d]),n&&Object(yr.c)(d)&&a.updateValue("diffEditor."+d,r[d])})}var sa=function(){function a(r){this._modelService=r}return a.prototype.hasPreviewHandler=function(){return!1},a.prototype.apply=function(r,n){var d=new Map;if(r.edits)for(var S=0,k=r.edits;S0){var xo=n[We-1];xo.originalEndLineNumber===0?co=xo.originalStartLineNumber+1:co=xo.originalEndLineNumber+1,xo.modifiedEndLineNumber===0?So=xo.modifiedStartLineNumber+1:So=xo.modifiedEndLineNumber+1}var Po=Gt-xi+1,Go=Jt-xi+1;if(PoZo){var Xo=Zo-en;en=en+Xo,bn=bn+Xo}if(bn>Yo){var Xo=Yo-bn;en=en+Xo,bn=bn+Xo}ro[eo++]=new Ei(an,en,yn,bn)}k[we++]=new Ji(ro)}for(var Mn=k[0].entries,Bn=[],kn=0,We=1,Xe=k.length;WeWt)&&(Wt=So),xo!==0&&(Pt===0||xoro)&&(ro=Po)}var Go=document.createElement("div");Go.className="diff-review-row";var Xo=document.createElement("div");Xo.className="diff-review-cell diff-review-summary";var an=Wt-It+1,yn=ro-Pt+1;Xo.appendChild(document.createTextNode(Xe+1+"/"+this._diffs.length+": @@ -"+It+","+an+" +"+Pt+","+yn+" @@")),Go.setAttribute("data-line",String(Pt));var Zo=function(bn){return bn===0?wn.a("no_lines","no lines"):bn===1?wn.a("one_line","1 line"):wn.a("more_lines","{0} lines",bn)},Yo=Zo(an),mn=Zo(yn);Go.setAttribute("aria-label",wn.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",Xe+1,this._diffs.length,It,Yo,Pt,mn)),Go.appendChild(Xo),Go.setAttribute("role","listitem"),yt.appendChild(Go);for(var en=Pt,eo=0,Gt=Qe.length;eo>>0,Qe=new Uint32Array(2);Qe[0]=we.length,Qe[1]=Xe;var yt=new _t.a(Qe,we),It=Xt.d.isBasicASCII(we,n.mightContainNonBasicASCII()),Wt=Xt.d.containsRTL(we,It,n.mightContainRTL()),Pt=Object(zt.e)(new zt.c(We.isMonospace&&!d.get(23),We.canUseHalfwidthRightwardsArrow,we,!1,It,Wt,0,yt,[],S,0,We.spaceWidth,We.middotWidth,d.get(88),d.get(74),d.get(69),d.get(35)!==T.d.OFF,null));return Pt.html},r}(Rt.a);Object(Ln.e)(function(a,r){var n=a.getColor(Vn.k);n&&r.addRule(".monaco-diff-editor .diff-review-line-number { color: "+n+"; }");var d=a.getColor(gn.Vb);d&&r.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+d+" 0 -6px 6px -6px inset; }")});var er=function(a){Sn(r,a);function r(){return a.call(this,{id:"editor.action.diffReview.next",label:wn.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:_n.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}return r.prototype.run=function(n,d){var S=Ir(n);S&&S.diffReviewNext()},r}(ui.b),Rr=function(a){Sn(r,a);function r(){return a.call(this,{id:"editor.action.diffReview.prev",label:wn.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:_n.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1024|65,weight:100}})||this}return r.prototype.run=function(n,d){var S=Ir(n);S&&S.diffReviewPrev()},r}(ui.b);function Ir(a){for(var r=a.get(ue.a),n=r.listDiffEditors(),d=0,S=n.length;d0&&k[k.length-1])&&(Qe[0]===6||Qe[0]===2)){n=0;continue}if(Qe[0]===3&&(!k||Qe[1]>k[0]&&Qe[1]k.modifiedStartLineNumber?wn.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):wn.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,function(){return Ri(Xe,void 0,void 0,function(){return tr(this,function(Gt){switch(Gt.label){case 0:return[4,this._clipboardService.writeText(k.originalContent.join(yt)+yt)];case 1:return Gt.sent(),[2]}})})}));var Wt=0,Pt=void 0;k.originalEndLineNumber>k.modifiedStartLineNumber&&(Pt=new ci.a("diff.clipboard.copyDeletedLineContent",wn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",k.originalStartLineNumber),void 0,!0,function(){return Ri(Xe,void 0,void 0,function(){return tr(this,function(Gt){switch(Gt.label){case 0:return[4,this._clipboardService.writeText(k.originalContent[Wt])];case 1:return Gt.sent(),[2]}})})}),It.push(Pt));var ro=S.getOption(68);ro||It.push(new ci.a("diff.inline.revertChange",wn.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,function(){return Ri(Xe,void 0,void 0,function(){var Gt,Gt;return tr(this,function(Jt){return k.modifiedEndLineNumber===0?(Gt=S.getModel().getLineMaxColumn(k.modifiedStartLineNumber),S.executeEdits("diffEditor",[{range:new W.a(k.modifiedStartLineNumber,Gt,k.modifiedStartLineNumber,Gt),text:yt+k.originalContent.join(yt)}])):(Gt=S.getModel().getLineMaxColumn(k.modifiedEndLineNumber),S.executeEdits("diffEditor",[{range:new W.a(k.modifiedStartLineNumber,1,k.modifiedEndLineNumber,Gt),text:k.originalContent.join(yt)}])),[2]})})}));var eo=function(Gt,Jt){Xe._contextMenuService.showContextMenu({getAnchor:function(){return{x:Gt,y:Jt}},getActions:function(){return Pt&&(Pt.label=wn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",k.originalStartLineNumber+Wt)),It},autoSelectFirstItem:!0})};return Xe._register(ve.o(Xe._diffActions,"mousedown",function(Gt){var Jt=ve.C(Xe._diffActions),co=Jt.top,So=Jt.height,xo=Math.floor(Qe/3);Gt.preventDefault(),eo(Gt.posx,co+So+xo)})),Xe._register(S.onMouseMove(function(Gt){if(Gt.target.type===8||Gt.target.type===5){var Jt=Gt.target.detail.viewZoneId;Jt===Xe._viewZoneId?(Xe.visibility=!0,Wt=Xe._updateLightBulbPosition(Xe._marginDomNode,Gt.event.browserEvent.y,Qe)):Xe.visibility=!1}else Xe.visibility=!1})),Xe._register(S.onMouseDown(function(Gt){if(!Gt.event.rightButton)return;if(Gt.target.type===8||Gt.target.type===5){var Jt=Gt.target.detail.viewZoneId;Jt===Xe._viewZoneId&&(Gt.event.preventDefault(),Wt=Xe._updateLightBulbPosition(Xe._marginDomNode,Gt.event.browserEvent.y,Qe),eo(Gt.event.posx,Gt.event.posy+Qe))}})),Xe}return Object.defineProperty(r.prototype,"visibility",{get:function(){return this._visibility},set:function(n){this._visibility!==n&&(this._visibility=n,n?this._diffActions.style.visibility="visible":this._diffActions.style.visibility="hidden")},enumerable:!0,configurable:!0}),r.prototype._updateLightBulbPosition=function(n,d,S){var k=ve.C(n).top,we=d-k,We=Math.floor(we/S),Xe=We*S;return this._diffActions.style.top=Xe+"px",We},r}(Rt.a),Ii=e("tTk5"),_s=e("o39E"),hi=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Ss=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},$n=function(a,r){return function(n,d){r(n,d,a)}},Jn=function(){function a(r,n){this._contextMenuService=r,this._clipboardService=n,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return a.prototype.getForeignViewZones=function(r){var n=this;return r.filter(function(d){return!n._zonesMap[String(d.id)]})},a.prototype.clean=function(r){var n=this;this._zones.length>0&&r.changeViewZones(function(d){for(var S=0,k=n._zones.length;S0?we/S:0,Xe=Math.max(0,Math.floor(n.height*We)),Qe=Math.floor(d*We);return{height:Xe,top:Qe}},r.prototype._createDataSource=function(){var n=this;return{getWidth:function(){return n._elementSizeObserver.getWidth()},getHeight:function(){return n._elementSizeObserver.getHeight()-n._getReviewHeight()},getContainerDomNode:function(){return n._containerDomElement},relayoutEditors:function(){n._doLayout()},getOriginalEditor:function(){return n.originalEditor},getModifiedEditor:function(){return n.modifiedEditor}}},r.prototype._setStrategy=function(n){this._strategy&&this._strategy.dispose(),this._strategy=n,n.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()},r.prototype._getLineChangeAtOrBeforeLineNumber=function(n,d){var S=this._diffComputationResult?this._diffComputationResult.changes:[];if(S.length===0||n=Qe?k=We+1:(k=We,we=We)}return S[k]},r.prototype._getEquivalentLineForOriginalLineNumber=function(n){var d=this._getLineChangeAtOrBeforeLineNumber(n,function(Qe){return Qe.originalStartLineNumber});if(!d)return n;var S=d.originalStartLineNumber+(d.originalEndLineNumber>0?-1:0),k=d.modifiedStartLineNumber+(d.modifiedEndLineNumber>0?-1:0),we=d.originalEndLineNumber>0?d.originalEndLineNumber-d.originalStartLineNumber+1:0,We=d.modifiedEndLineNumber>0?d.modifiedEndLineNumber-d.modifiedStartLineNumber+1:0,Xe=n-S;return Xe<=we?k+Math.min(Xe,We):k+We-we+Xe},r.prototype._getEquivalentLineForModifiedLineNumber=function(n){var d=this._getLineChangeAtOrBeforeLineNumber(n,function(Qe){return Qe.modifiedStartLineNumber});if(!d)return n;var S=d.originalStartLineNumber+(d.originalEndLineNumber>0?-1:0),k=d.modifiedStartLineNumber+(d.modifiedEndLineNumber>0?-1:0),we=d.originalEndLineNumber>0?d.originalEndLineNumber-d.originalStartLineNumber+1:0,We=d.modifiedEndLineNumber>0?d.modifiedEndLineNumber-d.modifiedStartLineNumber+1:0,Xe=n-k;return Xe<=We?S+Math.min(Xe,we):S+we-We+Xe},r.prototype.getDiffLineInformationForOriginal=function(n){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(n)}:null},r.prototype.getDiffLineInformationForModified=function(n){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(n)}:null},r.ONE_OVERVIEW_WIDTH=15,r.ENTIRE_DIFF_OVERVIEW_WIDTH=30,r.UPDATE_DIFF_DECORATIONS_DELAY=200,r=Ss([$n(3,it.a),$n(4,_n.c),$n(5,Rn.a),$n(6,ue.a),$n(7,Ln.c),$n(8,Hn.a),$n(9,Xn.a),$n(10,Ii.a)],r),r}(Rt.a),Nr=function(a){hi(r,a);function r(n){var d=a.call(this)||this;return d._dataSource=n,d._insertColor=null,d._removeColor=null,d}return r.prototype.applyColors=function(n){var d=(n.getColor(gn.j)||gn.g).transparent(2),S=(n.getColor(gn.l)||gn.h).transparent(2),k=!d.equals(this._insertColor)||!S.equals(this._removeColor);return this._insertColor=d,this._removeColor=S,k},r.prototype.getEditorsDiffDecorations=function(n,d,S,k,we,We,Xe){we=we.sort(function(Wt,Pt){return Wt.afterLineNumber-Pt.afterLineNumber}),k=k.sort(function(Wt,Pt){return Wt.afterLineNumber-Pt.afterLineNumber});var Qe=this._getViewZones(n,k,we,We,Xe,S),yt=this._getOriginalEditorDecorations(n,d,S,We,Xe),It=this._getModifiedEditorDecorations(n,d,S,We,Xe);return{original:{decorations:yt.decorations,overviewZones:yt.overviewZones,zones:Qe.original},modified:{decorations:It.decorations,overviewZones:It.overviewZones,zones:Qe.modified}}},r}(Rt.a),nr=function(){function a(r){this._source=r,this._index=-1,this.current=null,this.advance()}return a.prototype.advance=function(){this._index++,this._index0){var mn=Zo[Zo.length-1];if(mn.afterLineNumber===Yo.afterLineNumber&&mn.domNode===null){mn.heightInLines+=Yo.heightInLines;return}}Zo.push(Yo)},yt=new nr(this.modifiedForeignVZ),It=new nr(this.originalForeignVZ),Wt=0,Pt=this.lineChanges.length;Wt<=Pt;Wt++){var ro=Wt0?-1:0),k=ro.modifiedStartLineNumber+(ro.modifiedEndLineNumber>0?-1:0),d=ro.originalEndLineNumber>0?ro.originalEndLineNumber-ro.originalStartLineNumber+1:0,n=ro.modifiedEndLineNumber>0?ro.modifiedEndLineNumber-ro.modifiedStartLineNumber+1:0,we=Math.max(ro.originalStartLineNumber,ro.originalEndLineNumber),We=Math.max(ro.modifiedStartLineNumber,ro.modifiedEndLineNumber)):(S+=1e7+d,k+=1e7+n,we=S,We=k);for(var eo=[],Gt=[];yt.current&&yt.current.afterLineNumber<=We;){var Jt=void 0;yt.current.afterLineNumber<=k?Jt=S-k+yt.current.afterLineNumber:Jt=we;var co=null;ro&&ro.modifiedStartLineNumber<=yt.current.afterLineNumber&&yt.current.afterLineNumber<=ro.modifiedEndLineNumber&&(co=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),eo.push({afterLineNumber:Jt,heightInLines:yt.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:co}),yt.advance()}for(;It.current&&It.current.afterLineNumber<=we;){var Jt=void 0;It.current.afterLineNumber<=S?Jt=k-S+It.current.afterLineNumber:Jt=We,Gt.push({afterLineNumber:Jt,heightInLines:It.current.height/this.originalLineHeight,domNode:null}),It.advance()}if(ro!==null&&fi(ro)){var So=this._produceOriginalFromDiff(ro,d,n);So&&eo.push(So)}if(ro!==null&&oi(ro)){var So=this._produceModifiedFromDiff(ro,d,n);So&&Gt.push(So)}var xo=0,Po=0;for(eo=eo.sort(Xe),Gt=Gt.sort(Xe);xo=Xo.heightInLines?(Go.heightInLines-=Xo.heightInLines,Po++):(Xo.heightInLines-=Go.heightInLines,xo++)}for(;xor.MINIMUM_EDITOR_WIDTH*2?(kS-r.MINIMUM_EDITOR_WIDTH&&(k=S-r.MINIMUM_EDITOR_WIDTH)):k=we,this._sashPosition!==k&&(this._sashPosition=k,this._sash.layout()),this._sashPosition},r.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},r.prototype.onSashDrag=function(n){var d=this._dataSource.getWidth(),S=d-or.ENTIRE_DIFF_OVERVIEW_WIDTH,k=this.layout((this._startSashPosition+(n.currentX-n.startX))/S);this._sashRatio=k/S,this._dataSource.relayoutEditors()},r.prototype.onSashDragEnd=function(){this._sash.layout()},r.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},r.prototype.getVerticalSashTop=function(n){return 0},r.prototype.getVerticalSashLeft=function(n){return this._sashPosition},r.prototype.getVerticalSashHeight=function(n){return this._dataSource.getHeight()},r.prototype._getViewZones=function(n,d,S,k,we){var We=new Ms(n,d,k.getOption(49),S,we.getOption(49));return We.getViewZones()},r.prototype._getOriginalEditorDecorations=function(n,d,S,k,we){for(var We=String(this._removeColor),Xe={decorations:[],overviewZones:[]},Qe=k.getModel(),yt=0,It=n.length;ytd?{afterLineNumber:Math.max(n.originalStartLineNumber,n.originalEndLineNumber),heightInLines:S-d,domNode:null}:null},r.prototype._produceModifiedFromDiff=function(n,d,S){return d>S?{afterLineNumber:Math.max(n.modifiedStartLineNumber,n.modifiedEndLineNumber),heightInLines:d-S,domNode:null}:null},r}(ir),Ni=function(a){hi(r,a);function r(n,d){var S=a.call(this,n)||this;return S.decorationsLeft=n.getOriginalEditor().getLayoutInfo().decorationsLeft,S._register(n.getOriginalEditor().onDidLayoutChange(function(k){S.decorationsLeft!==k.decorationsLeft&&(S.decorationsLeft=k.decorationsLeft,n.relayoutEditors())})),S}return r.prototype.setEnableSplitViewResizing=function(n){},r.prototype._getViewZones=function(n,d,S,k,we,We){var Xe=new Ds(n,d,S,k,we,We);return Xe.getViewZones()},r.prototype._getOriginalEditorDecorations=function(n,d,S,k,we){for(var We=String(this._removeColor),Xe={decorations:[],overviewZones:[]},Qe=0,yt=n.length;Qe'])}Gt+=this.modifiedEditorOptions.get(79);var xo=document.createElement("div");xo.className="view-lines line-delete",xo.innerHTML=Qe.build(),Ti.a.applyFontInfoSlow(xo,Wt);var Po=document.createElement("div");return Po.className="inline-deleted-margin-view-zone",Po.innerHTML=yt.join(""),Ti.a.applyFontInfoSlow(Po,Wt),{shouldNotShrink:!0,afterLineNumber:n.modifiedEndLineNumber===0?n.modifiedStartLineNumber:n.modifiedStartLineNumber-1,heightInLines:d,minWidthInPx:Gt*eo,domNode:xo,marginDomNode:Po,diff:{originalStartLineNumber:n.originalStartLineNumber,originalEndLineNumber:n.originalEndLineNumber,modifiedStartLineNumber:n.modifiedStartLineNumber,modifiedEndLineNumber:n.modifiedEndLineNumber,originalContent:Jt}}},r.prototype._renderOriginalLine=function(n,d,S,k,we,We,Xe){var Qe=d.getLineTokens(we),yt=Qe.getLineContent(),It=S.get(34),Wt=ws.a.filter(We,we,1,yt.length+1);Xe.appendASCIIString('');var Pt=Xt.d.isBasicASCII(yt,d.mightContainNonBasicASCII()),ro=Xt.d.containsRTL(yt,Pt,d.mightContainRTL()),eo=Object(zt.d)(new zt.c(It.isMonospace&&!S.get(23),It.canUseHalfwidthRightwardsArrow,yt,!1,Pt,ro,0,Qe,Wt,k,0,It.spaceWidth,It.middotWidth,S.get(88),S.get(74),S.get(69),S.get(35)!==T.d.OFF,null),Xe);Xe.appendASCIIString("
");var Gt=eo.characterMapping.getAbsoluteOffsets();return Gt.length>0?Gt[Gt.length-1]:0},r}(ir);function fi(a){return a.modifiedEndLineNumber>0}function oi(a){return a.originalEndLineNumber>0}function Os(){var a=document.createElement("div");return a.className="diagonal-fill",a}Object(Ln.e)(function(a,r){var n=a.getColor(gn.j);n&&(r.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),r.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),r.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var d=a.getColor(gn.l);d&&(r.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+d+"; }"),r.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+d+"; }"),r.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+d+"; }"));var S=a.getColor(gn.k);S&&r.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+(a.type==="hc"?"dashed":"solid")+" "+S+"; }");var k=a.getColor(gn.m);k&&r.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+(a.type==="hc"?"dashed":"solid")+" "+k+"; }");var we=a.getColor(gn.Vb);we&&r.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+we+"; }");var We=a.getColor(gn.i);We&&r.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+We+"; }")});var Ts=e("9Y+e"),Si=e("scqD"),Kn=e("fjLI"),ni=e("bexQ"),mi=e("R3nR"),xs=e("9XeP"),sr=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),ar=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},sn=function(a,r){return function(n,d){r(n,d,a)}},As=function(){for(var a=0,r=0,n=arguments.length;r> to now point to mime <<"+n.mime+">>"),n.filename&&d.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&d.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&d.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>")})}function ur(a){return{id:a.id,mime:a.mime,filename:a.filename,extension:a.extension,filepattern:a.filepattern,firstline:a.firstline,userConfigured:a.userConfigured,filenameLowercase:a.filename?a.filename.toLowerCase():void 0,extensionLowercase:a.extension?a.extension.toLowerCase():void 0,filepatternLowercase:a.filepattern?a.filepattern.toLowerCase():void 0,filepatternOnPath:a.filepattern?a.filepattern.indexOf(dr.posix.sep)>=0:!1}}function Li(a,r){var n;if(a)switch(a.scheme){case Ce.b.file:n=a.fsPath;break;case Ce.b.data:var d=he.a.parseMetaData(a);n=d.get(he.a.META_DATA_LABEL);break;default:n=a.path}if(!n)return[Pr];n=n.toLowerCase();var S=Object(dr.basename)(n),k=Wr(n,S,Fr);if(k)return[k,ki];var we=Wr(n,S,kr);if(we)return[we,ki];if(r){var We=ii(r);if(We)return[We,ki]}return[Pr]}function Wr(a,r,n){for(var d=null,S=null,k=null,we=n.length-1;we>=0;we--){var We=n[we];if(r===We.filenameLowercase){d=We;break}if(We.filepattern&&(!S||We.filepattern.length>S.filepattern.length)){var Xe=We.filepatternOnPath?a:r;Object(cr.a)(We.filepatternLowercase,Xe)&&(S=We)}We.extension&&((!k||We.extension.length>k.extension.length)&&(Object(to.m)(r,We.extensionLowercase)&&(k=We)))}return d?d.mime:S?S.mime:k?k.mime:null}function ii(a){if(Object(to.P)(a)&&(a=a.substr(1)),a.length>0)for(var r=Fi.length-1;r>=0;r--){var n=Fi[r];if(!n.firstline)continue;var d=a.match(n.firstline);if(d&&d.length>0)return n.mime}return null}var gi=e("MqQJ"),hr=e("ic2d"),ks=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),qn=Object.prototype.hasOwnProperty,Fs=function(a){ks(r,a);function r(n,d){n===void 0&&(n=!0),d===void 0&&(d=!1);var S=a.call(this)||this;return S._onDidChange=S._register(new R.a),S.onDidChange=S._onDidChange.event,S._warnOnOverwrite=d,S._nextLanguageId2=1,S._languageIdToLanguage=[],S._languageToLanguageId=Object.create(null),S._languages={},S._mimeTypesMap={},S._nameMap={},S._lowercaseNameMap={},n&&(S._initializeFromRegistry(),S._register(gi.a.onDidChangeLanguages(function(k){return S._initializeFromRegistry()}))),S}return r.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var n=gi.a.getLanguages();this._registerLanguages(n)},r.prototype._registerLanguages=function(n){for(var d=this,S=0,k=n;S0&&((S=n.mimetypes).push.apply(S,d.mimetypes),we=d.mimetypes[0]),we||(we="text/x-"+k,n.mimetypes.push(we)),Array.isArray(d.extensions))for(var We=0,Xe=d.extensions;We0){var Gt=d.firstLine;Gt.charAt(0)!=="^"&&(Gt="^"+Gt);try{var Jt=new RegExp(Gt);to.I(Jt)||pi({id:k,mime:we,firstline:Jt},this._warnOnOverwrite)}catch(an){Object(Ct.e)(an)}}n.aliases.push(k);var co=null;if(typeof d.aliases!="undefined"&&Array.isArray(d.aliases)&&(d.aliases.length===0?co=[null]:co=d.aliases),co!==null)for(var So=0,xo=co;So0;if(!(Go&&co[0]===null)){var Xo=(Go?co[0]:null)||k;(Go||!n.name)&&(n.name=Xo)}d.configuration&&n.configurationFiles.push(d.configuration)},r.prototype.isRegisteredMode=function(n){return qn.call(this._mimeTypesMap,n)?!0:qn.call(this._languages,n)},r.prototype.getModeIdForLanguageNameLowercase=function(n){return qn.call(this._lowercaseNameMap,n)?this._lowercaseNameMap[n].language:null},r.prototype.extractModeIds=function(n){var d=this;return n?n.split(",").map(function(S){return S.trim()}).map(function(S){return qn.call(d._mimeTypesMap,S)?d._mimeTypesMap[S].language:S}).filter(function(S){return qn.call(d._languages,S)}):[]},r.prototype.getLanguageIdentifier=function(n){if(n===Tt.b||n===0)return Tt.a;var d;if(typeof n=="string")d=n;else if(d=this._languageIdToLanguage[n],!d)return null;return qn.call(this._languages,d)?this._languages[d].identifier:null},r.prototype.getModeIdsFromFilepathOrFirstLine=function(n,d){if(!n&&!d)return[];var S=Li(n,d);return this.extractModeIds(S.join(","))},r}(Rt.a),Ws=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Br=function(a){Ws(r,a);function r(n,d){var S=a.call(this)||this;return S._onDidChange=S._register(new R.a),S.onDidChange=S._onDidChange.event,S._selector=d,S.languageIdentifier=S._selector(),S._register(n(function(){return S._evaluate()})),S}return r.prototype._evaluate=function(){var n=this._selector();if(n.id===this.languageIdentifier.id)return;this.languageIdentifier=n,this._onDidChange.fire(this.languageIdentifier)},r}(Rt.a),Bs=function(){function a(r){var n=this;r===void 0&&(r=!1),this._onDidCreateMode=new R.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new R.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new Fs(!0,r),this._registry.onDidChange(function(){return n._onLanguagesMaybeChanged.fire()})}return a.prototype.isRegisteredMode=function(r){return this._registry.isRegisteredMode(r)},a.prototype.getModeIdForLanguageName=function(r){return this._registry.getModeIdForLanguageNameLowercase(r)},a.prototype.getModeIdByFilepathOrFirstLine=function(r,n){var d=this._registry.getModeIdsFromFilepathOrFirstLine(r,n);return Object(dt.l)(d,null)},a.prototype.getModeId=function(r){var n=this._registry.extractModeIds(r);return Object(dt.l)(n,null)},a.prototype.getLanguageIdentifier=function(r){return this._registry.getLanguageIdentifier(r)},a.prototype.create=function(r){var n=this;return new Br(this.onLanguagesMaybeChanged,function(){var d=n.getModeId(r);return n._createModeAndGetLanguageIdentifier(d)})},a.prototype.createByFilepathOrFirstLine=function(r,n){var d=this;return new Br(this.onLanguagesMaybeChanged,function(){var S=d.getModeIdByFilepathOrFirstLine(r,n);return d._createModeAndGetLanguageIdentifier(S)})},a.prototype._createModeAndGetLanguageIdentifier=function(r){var n=this.getLanguageIdentifier(r||"plaintext")||Tt.a;return this._getOrCreateMode(n.language),n},a.prototype.triggerMode=function(r){var n=this.getModeId(r);this._getOrCreateMode(n||"plaintext")},a.prototype._getOrCreateMode=function(r){if(!this._instantiatedModes.hasOwnProperty(r)){var n=this.getLanguageIdentifier(r)||Tt.a;this._instantiatedModes[r]=new Pi(n),this._onDidCreateMode.fire(this._instantiatedModes[r])}return this._instantiatedModes[r]},a}(),Ur=e("QRHv"),vi=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Us=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},Wi=function(a,r){return function(n,d){r(n,d,a)}};function Bi(a){return a.toString()}var U=function(){function a(r,n,d){this._modelEventListeners=new Rt.b,this.model=r,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(r.onWillDispose(function(){return n(r)})),this._modelEventListeners.add(r.onDidChangeLanguage(function(S){return d(r,S)}))}return a.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},a.prototype.dispose=function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()},a.prototype.setLanguage=function(r){var n=this;this._disposeLanguageSelection(),this._languageSelection=r,this._languageSelectionListener=this._languageSelection.onDidChange(function(){return n.model.setMode(r.languageIdentifier)}),this.model.setMode(r.languageIdentifier)},a}(),o=ht.d||ht.e?1:2,t=function(a){vi(r,a);function r(n,d,S,k){var we=a.call(this)||this;return we._onModelAdded=we._register(new R.a),we.onModelAdded=we._onModelAdded.event,we._onModelRemoved=we._register(new R.a),we.onModelRemoved=we._onModelRemoved.event,we._onModelModeChanged=we._register(new R.a),we.onModelModeChanged=we._onModelModeChanged.event,we._configurationService=n,we._resourcePropertiesService=d,we._models={},we._modelCreationOptionsByLanguageAndResource=Object.create(null),we._configurationServiceSubscription=we._configurationService.onDidChangeConfiguration(function(We){return we._updateModelOptions()}),we._updateModelOptions(),we._register(new i(we,S,n,k)),we}return r._readModelOptions=function(n,d){var S=T.c.tabSize;if(n.editor&&typeof n.editor.tabSize!="undefined"){var k=parseInt(n.editor.tabSize,10);isNaN(k)||(S=k),S<1&&(S=1)}var we=S;if(n.editor&&typeof n.editor.indentSize!="undefined"&&n.editor.indentSize!=="tabSize"){var We=parseInt(n.editor.indentSize,10);isNaN(We)||(we=We),we<1&&(we=1)}var Xe=T.c.insertSpaces;n.editor&&typeof n.editor.insertSpaces!="undefined"&&(Xe=n.editor.insertSpaces==="false"?!1:Boolean(n.editor.insertSpaces));var Qe=o,yt=n.eol;yt===`\r
`?Qe=2:yt===`
-`&&(Qe=1);var It=T.c.trimAutoWhitespace;n.editor&&typeof n.editor.trimAutoWhitespace!="undefined"&&(It=n.editor.trimAutoWhitespace==="false"?!1:Boolean(n.editor.trimAutoWhitespace));var Wt=T.c.detectIndentation;n.editor&&typeof n.editor.detectIndentation!="undefined"&&(Wt=n.editor.detectIndentation==="false"?!1:Boolean(n.editor.detectIndentation));var Pt=T.c.largeFileOptimizations;return n.editor&&typeof n.editor.largeFileOptimizations!="undefined"&&(Pt=n.editor.largeFileOptimizations==="false"?!1:Boolean(n.editor.largeFileOptimizations)),{isForSimpleWidget:d,tabSize:S,indentSize:we,insertSpaces:Xe,detectIndentation:Wt,defaultEOL:Qe,trimAutoWhitespace:It,largeFileOptimizations:Pt}},r.prototype.getCreationOptions=function(n,d,S){var k=this._modelCreationOptionsByLanguageAndResource[n+d];if(!k){var we=this._configurationService.getValue("editor",{overrideIdentifier:n,resource:d}),We=this._resourcePropertiesService.getEOL(d,n);k=r._readModelOptions({editor:we,eol:We},S),this._modelCreationOptionsByLanguageAndResource[n+d]=k}return k},r.prototype._updateModelOptions=function(){var n=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var d=Object.keys(this._models),S=0,k=d.length;S=this._growCount){var S=this._elements;this._currentLengthIndex++,this._currentLength=a._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+10&&Xe>1;var Qe=this._themeService.getTheme().getTokenStyleMetadata(k,we);if(typeof Qe=="undefined")S=2147483647;else{if(S=0,typeof Qe.italic!="undefined"){var yt=(Qe.italic?1:0)<<11;S|=yt|1}if(typeof Qe.bold!="undefined"){var It=(Qe.bold?2:0)<<11;S|=It|2}if(typeof Qe.underline!="undefined"){var Wt=(Qe.underline?4:0)<<11;S|=Wt|4}if(Qe.foreground){var Pt=Qe.foreground<<14;S|=Pt|8}S===0&&(S=2147483647)}this._hashTable.add(r,n,S)}if(this._logService.getLevel()===lt.b.Trace){var ro=this._legend.tokenTypes[r],eo=n?" "+this._legend.tokenModifiers.filter(function(Gt,Jt){return n&1<0&&(n._fetchSemanticTokens.isScheduled()||n._fetchSemanticTokens.schedule())})},r._isSemanticTokens=function(n){return n&&!!n.data},r._isSemanticTokensEdits=function(n){return n&&Array.isArray(n.edits)},r._copy=function(n,d,S,k,we){for(var We=0;We=0;eo--){var yt=d.edits[eo],Gt=Pt-(yt.start+yt.deleteCount);Gt>0&&(r._copy(It,Pt-Gt,Wt,ro-Gt,Gt),ro-=Gt),yt.data&&(r._copy(yt.data,0,Wt,ro-yt.data.length,yt.data.length),ro-=yt.data.length),Pt=yt.start}Pt>0&&r._copy(It,0,Wt,0,Pt),d={resultId:d.resultId,data:Wt}}}if(r._isSemanticTokens(d)){this._currentResponse=new Le(n,d.resultId,d.data);for(var It=d.data,Jt=d.data.length/5|0,co=Math.max(Math.ceil(Jt/1024),400),So=[],xo=0,Po=1,Go=0;xoXo&&It[5*yn]===0;)yn--;if(yn-1===Xo){for(var Zo=an;Zo+10){for(var qs=0,Ra=k;qs0?n[0]:null},r}(Rt.a),ct=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),wt=function(a){ct(r,a);function r(){var n=a.call(this)||this;return n._onCodeEditorAdd=n._register(new R.a),n.onCodeEditorAdd=n._onCodeEditorAdd.event,n._onCodeEditorRemove=n._register(new R.a),n.onCodeEditorRemove=n._onCodeEditorRemove.event,n._onDiffEditorAdd=n._register(new R.a),n._onDiffEditorRemove=n._register(new R.a),n._codeEditors=Object.create(null),n._diffEditors=Object.create(null),n}return r.prototype.addCodeEditor=function(n){this._codeEditors[n.getId()]=n,this._onCodeEditorAdd.fire(n)},r.prototype.removeCodeEditor=function(n){delete this._codeEditors[n.getId()]&&this._onCodeEditorRemove.fire(n)},r.prototype.listCodeEditors=function(){var n=this;return Object.keys(this._codeEditors).map(function(d){return n._codeEditors[d]})},r.prototype.addDiffEditor=function(n){this._diffEditors[n.getId()]=n,this._onDiffEditorAdd.fire(n)},r.prototype.removeDiffEditor=function(n){delete this._diffEditors[n.getId()]&&this._onDiffEditorRemove.fire(n)},r.prototype.listDiffEditors=function(){var n=this;return Object.keys(this._diffEditors).map(function(d){return n._diffEditors[d]})},r.prototype.getFocusedCodeEditor=function(){for(var n=null,d=this.listCodeEditors(),S=0,k=d;S=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},Bt=function(a,r){return function(n,d){r(n,d,a)}},Ut=function(){function a(r,n,d){this._parent=r,this._editorId=n,this.styleSheet=d,this._refCount=0}return a.prototype.ref=function(){this._refCount++},a.prototype.unref=function(){var r;this._refCount--,this._refCount===0&&((r=this.styleSheet.parentNode)===null||r===void 0||r.removeChild(this.styleSheet),this._parent._removeEditorStyleSheets(this._editorId))},a}(),qt=function(){function a(r){this.styleSheet=r}return a.prototype.ref=function(){},a.prototype.unref=function(){},a}(),$t=function(a){tt(r,a);function r(n,d){d===void 0&&(d=null);var S=a.call(this)||this;return S._decorationOptionProviders=new Map,S._editorStyleSheets=new Map,S._globalStyleSheet=d?new qt(d):null,S._themeService=n,S}return r.prototype._getOrCreateGlobalStyleSheet=function(){return this._globalStyleSheet||(this._globalStyleSheet=new qt(ve.w())),this._globalStyleSheet},r.prototype._getOrCreateStyleSheet=function(n){if(!n)return this._getOrCreateGlobalStyleSheet();var d=n.getContainerDomNode();if(!ve.N(d))return this._getOrCreateGlobalStyleSheet();var S=n.getId();if(!this._editorStyleSheets.has(S)){var k=new Ut(this,S,ve.w(d));this._editorStyleSheets.set(S,k)}return this._editorStyleSheets.get(S)},r.prototype._removeEditorStyleSheets=function(n){this._editorStyleSheets.delete(n)},r.prototype.registerDecorationType=function(n,d,S,k){var we=this._decorationOptionProviders.get(n);if(!we){var We=this._getOrCreateStyleSheet(k),Xe={styleSheet:We.styleSheet,key:n,parentTypeKey:S,options:d||Object.create(null)};S?we=new io(this._themeService,We,Xe):we=new yo(this._themeService,We,Xe),this._decorationOptionProviders.set(n,we)}we.refCount++},r.prototype.removeDecorationType=function(n){var d=this._decorationOptionProviders.get(n);d&&(d.refCount--,d.refCount<=0&&(this._decorationOptionProviders.delete(n),d.dispose(),this.listCodeEditors().forEach(function(S){return S.removeDecorations(n)})))},r.prototype.resolveDecorationOptions=function(n,d){var S=this._decorationOptionProviders.get(n);if(!S)throw new Error("Unknown decoration type key: "+n);return S.getOptions(this,d)},r=kt([Bt(0,Ln.c)],r),r}(wt),io=function(){function a(r,n,d){this._styleSheet=n,this._styleSheet.ref(),this._parentTypeKey=d.parentTypeKey,this.refCount=0,this._beforeContentRules=new bo(3,d,r),this._afterContentRules=new bo(4,d,r)}return a.prototype.getOptions=function(r,n){var d=r.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(d.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(d.afterContentClassName=this._afterContentRules.className),d},a.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()},a}(),yo=function(){function a(r,n,d){var S=this;this._disposables=new Rt.b,this._styleSheet=n,this._styleSheet.ref(),this.refCount=0;var k=function(It){var Wt=new bo(It,d,r);return S._disposables.add(Wt),Wt.hasContent?Wt.className:void 0},we=function(It){var Wt=new bo(It,d,r);return S._disposables.add(Wt),Wt.hasContent?{className:Wt.className,hasLetterSpacing:Wt.hasLetterSpacing}:null};this.className=k(0);var We=we(1);We&&(this.inlineClassName=We.className,this.inlineClassNameAffectsLetterSpacing=We.hasLetterSpacing),this.beforeContentClassName=k(3),this.afterContentClassName=k(4),this.glyphMarginClassName=k(2);var Xe=d.options;this.isWholeLine=Boolean(Xe.isWholeLine),this.stickiness=Xe.rangeBehavior;var Qe=Xe.light&&Xe.light.overviewRulerColor||Xe.overviewRulerColor,yt=Xe.dark&&Xe.dark.overviewRulerColor||Xe.overviewRulerColor;(typeof Qe!="undefined"||typeof yt!="undefined")&&(this.overviewRuler={color:Qe||yt,darkColor:yt||Qe,position:Xe.overviewRulerLane||pt.d.Center})}return a.prototype.getOptions=function(r,n){return n?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this},a.prototype.dispose=function(){this._disposables.dispose(),this._styleSheet.unref()},a}(),po={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},bo=function(){function a(r,n,d){var S=this;this._theme=d.getTheme(),this._ruleType=r,this._providerArgs=n,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var k=vo.getClassName(this._providerArgs.key,r);this._providerArgs.parentTypeKey&&(k=k+" "+vo.getClassName(this._providerArgs.parentTypeKey,r)),this._className=k,this._unThemedSelector=vo.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,r),this._buildCSS(),this._usesThemeColors?this._themeListener=d.onThemeChange(function(we){S._theme=d.getTheme(),S._removeCSS(),S._buildCSS()}):this._themeListener=null}return a.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(a.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),a.prototype._buildCSS=function(){var r=this._providerArgs.options,n,d,S;switch(this._ruleType){case 0:n=this.getCSSTextForModelDecorationClassName(r),d=this.getCSSTextForModelDecorationClassName(r.light),S=this.getCSSTextForModelDecorationClassName(r.dark);break;case 1:n=this.getCSSTextForModelDecorationInlineClassName(r),d=this.getCSSTextForModelDecorationInlineClassName(r.light),S=this.getCSSTextForModelDecorationInlineClassName(r.dark);break;case 2:n=this.getCSSTextForModelDecorationGlyphMarginClassName(r),d=this.getCSSTextForModelDecorationGlyphMarginClassName(r.light),S=this.getCSSTextForModelDecorationGlyphMarginClassName(r.dark);break;case 3:n=this.getCSSTextForModelDecorationContentClassName(r.before),d=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.before),S=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.before);break;case 4:n=this.getCSSTextForModelDecorationContentClassName(r.after),d=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.after),S=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var k=this._providerArgs.styleSheet.sheet,we=!1;n.length>0&&(k.insertRule(this._unThemedSelector+" {"+n+"}",0),we=!0),d.length>0&&(k.insertRule(".vs"+this._unThemedSelector+" {"+d+"}",0),we=!0),S.length>0&&(k.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+S+"}",0),we=!0),this._hasContent=we},a.prototype._removeCSS=function(){ve.O(this._unThemedSelector,this._providerArgs.styleSheet)},a.prototype.getCSSTextForModelDecorationClassName=function(r){if(!r)return"";var n=[];return this.collectCSSText(r,["backgroundColor"],n),this.collectCSSText(r,["outline","outlineColor","outlineStyle","outlineWidth"],n),this.collectBorderSettingsCSSText(r,n),n.join("")},a.prototype.getCSSTextForModelDecorationInlineClassName=function(r){if(!r)return"";var n=[];return this.collectCSSText(r,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],n),r.letterSpacing&&(this._hasLetterSpacing=!0),n.join("")},a.prototype.getCSSTextForModelDecorationContentClassName=function(r){if(!r)return"";var n=[];if(typeof r!="undefined"){if(this.collectBorderSettingsCSSText(r,n),typeof r.contentIconPath!="undefined"&&n.push(to.r(po.contentIconPath,ve.r(z.a.revive(r.contentIconPath)))),typeof r.contentText=="string"){var d=r.contentText.match(/^.*$/m)[0],S=d.replace(/['\\]/g,"\\$&");n.push(to.r(po.contentText,S))}this.collectCSSText(r,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],n),this.collectCSSText(r,["width","height"],n)&&n.push("display:inline-block;")}return n.join("")},a.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(r){if(!r)return"";var n=[];return typeof r.gutterIconPath!="undefined"&&(n.push(to.r(po.gutterIconPath,ve.r(z.a.revive(r.gutterIconPath)))),typeof r.gutterIconSize!="undefined"&&n.push(to.r(po.gutterIconSize,r.gutterIconSize))),n.join("")},a.prototype.collectBorderSettingsCSSText=function(r,n){return this.collectCSSText(r,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],n)?(n.push(to.r("box-sizing: border-box;")),!0):!1},a.prototype.collectCSSText=function(r,n,d){for(var S=d.length,k=0,we=n;k=1&&a[0].token==="";){var k=a.shift();k.fontStyle!==-1&&(n=k.fontStyle),k.foreground!==null&&(d=k.foreground),k.background!==null&&(S=k.background)}for(var we=new ln,We=0,Xe=r;We>>0,this._cache.set(n,d)}return(d|r<<0)>>>0},a}(),cn=/\b(comment|string|regex|regexp)\b/;function Wn(a){var r=a.match(cn);if(!r)return 0;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 4;case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}function Fn(a,r){return ar?1:0}var Hi=function(){function a(r,n,d){this._fontStyle=r,this._foreground=n,this._background=d,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return a.prototype.clone=function(){return new a(this._fontStyle,this._foreground,this._background)},a.prototype.acceptOverwrite=function(r,n,d){r!==-1&&(this._fontStyle=r),n!==0&&(this._foreground=n),d!==0&&(this._background=d),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},a}(),fr=function(){function a(r){this._mainRule=r,this._children=new Map}return a.prototype.match=function(r){if(r==="")return this._mainRule;var n=r.indexOf("."),d,S;n===-1?(d=r,S=""):(d=r.substring(0,n),S=r.substring(n+1));var k=this._children.get(d);return typeof k!="undefined"?k.match(S):this._mainRule},a.prototype.insert=function(r,n,d,S){if(r===""){this._mainRule.acceptOverwrite(n,d,S);return}var k=r.indexOf("."),we,We;k===-1?(we=r,We=""):(we=r.substring(0,k),We=r.substring(k+1));var Xe=this._children.get(we);typeof Xe=="undefined"&&(Xe=new a(this._mainRule.clone()),this._children.set(we,Xe)),Xe.insert(We,n,d,S)},a}();function Ur(a){for(var r=[],n=1,d=a.length;n0?(this.id=d+" "+r,this.themeName=r):(this.id=d,this.themeName=d),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(a.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),a.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},a.prototype.getColors=function(){if(!this.colors){var r=new Map;for(var n in this.themeData.colors)r.set(n,Ko.a.fromHex(this.themeData.colors[n]));if(this.themeData.inherit){var d=Vs(this.themeData.base);for(var n in d.colors)r.has(n)||r.set(n,Ko.a.fromHex(d.colors[n]))}this.colors=r}return this.colors},a.prototype.getColor=function(r,n){var d=this.getColors().get(r);return d||(n!==!1?this.getDefault(r):void 0)},a.prototype.getDefault=function(r){var n=this.defaultColors[r];return n||(n=Ba.resolveDefaultColor(r,this),this.defaultColors[r]=n,n)},a.prototype.defines=function(r){return Object.prototype.hasOwnProperty.call(this.getColors(),r)},Object.defineProperty(a.prototype,"type",{get:function(){switch(this.base){case Mi:return"light";case mr:return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var r=[],n=[];if(this.themeData.inherit){var d=Vs(this.themeData.base);r=d.rules,d.encodedTokensColors&&(n=d.encodedTokensColors)}r=r.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(n=this.themeData.encodedTokensColors),this._tokenTheme=Nn.createFromRawTokenTheme(r,n)}return this._tokenTheme},enumerable:!0,configurable:!0}),a.prototype.getTokenStyleMetadata=function(r,n){return},a}();function Us(a){return a===Mi||a===Vr||a===mr}function Vs(a){switch(a){case Mi:return Pa;case Vr:return ka;case mr:return Fa}}function zs(a){var r=Vs(a);return new la(a,r)}var Ua=function(a){Wa(r,a);function r(){var n=a.call(this)||this;return n._onThemeChange=n._register(new R.a),n.onThemeChange=n._onThemeChange.event,n._environment=Object.create(null),n._knownThemes=new Map,n._knownThemes.set(Mi,zs(Mi)),n._knownThemes.set(Vr,zs(Vr)),n._knownThemes.set(mr,zs(mr)),n._css="",n._globalStyleElement=null,n._styleElements=[],n.setTheme(Mi),n}return r.prototype.registerEditorContainer=function(n){return ve.N(n)?this._registerShadowDomContainer(n):this._registerRegularEditorContainer()},r.prototype._registerRegularEditorContainer=function(){return this._globalStyleElement||(this._globalStyleElement=ve.w(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._css,this._styleElements.push(this._globalStyleElement)),Rt.a.None},r.prototype._registerShadowDomContainer=function(n){var d=this,S=ve.w(n);return S.className="monaco-colors",S.innerHTML=this._css,this._styleElements.push(S),{dispose:function(){for(var k=0;k=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},za=function(a,r){return function(n,d){r(n,d,a)}},Kr="data-keybinding-context",Ks=function(){function a(r,n){this._id=r,this._parent=n,this._value=Object.create(null),this._value._contextId=r}return a.prototype.setValue=function(r,n){return this._value[r]!==n?(this._value[r]=n,!0):!1},a.prototype.removeValue=function(r){return r in this._value?(delete this._value[r],!0):!1},a.prototype.getValue=function(r){var n=this._value[r];return typeof n=="undefined"&&this._parent?this._parent.getValue(r):n},a}(),Gr=function(a){zr(r,a);function r(){return a.call(this,-1,null)||this}return r.prototype.setValue=function(n,d){return!1},r.prototype.removeValue=function(n){return!1},r.prototype.getValue=function(n){return},r.INSTANCE=new r,r}(Ks),Ka=function(a){zr(r,a);function r(n,d,S){var k=a.call(this,n,null)||this;return k._configurationService=d,k._values=new Map,k._listener=k._configurationService.onDidChangeConfiguration(function(we){if(we.source===6){var We=Object(Qn.d)(k._values);k._values.clear(),S.fire(new ca(We))}else{for(var Xe=[],Qe=0,yt=we.affectedKeys;Qe=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},pr=function(a,r){return function(n,d){r(n,d,a)}},nl=function(a){tl(r,a);function r(n,d,S,k,we){var We=a.call(this)||this;return We._onDidContextMenu=We._register(new R.a),We.contextMenuHandler=new el(S,n,d,k,we),We}return r.prototype.configure=function(n){this.contextMenuHandler.configure(n)},r.prototype.showContextMenu=function(n){this.contextMenuHandler.showContextMenu(n),this._onDidContextMenu.fire()},r=ol([pr(0,Gs.a),pr(1,Un.a),pr(2,Xn.b),pr(3,ni.a),pr(4,Ln.c)],r),r}(Rt.a),nc=e("TT2d"),il=e("nuFA"),rl=e("CjF5"),sl=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}();function fa(a,r,n){var d=n.offset+n.size;return n.position===0?r<=a-d?d:r<=n.offset?n.offset-r:Math.max(a-r,0):r<=n.offset?n.offset-r:r<=a-d?d:0}var al=function(a){sl(r,a);function r(n){var d=a.call(this)||this;return d.container=null,d.delegate=null,d.toDisposeOnClean=Rt.a.None,d.toDisposeOnSetContainer=Rt.a.None,d.view=ve.a(".context-view"),ve.J(d.view),d.setContainer(n),d._register(Object(Rt.h)(function(){return d.setContainer(null)})),d}return r.prototype.setContainer=function(n){var d=this;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.container.removeChild(this.view),this.container=null),n){this.container=n,this.container.appendChild(this.view);var S=new Rt.b;r.BUBBLE_UP_EVENTS.forEach(function(k){S.add(ve.o(d.container,k,function(we){d.onDOMEvent(we,!1)}))}),r.BUBBLE_DOWN_EVENTS.forEach(function(k){S.add(ve.o(d.container,k,function(we){d.onDOMEvent(we,!0)},!0))}),this.toDisposeOnSetContainer=S}},r.prototype.show=function(n){this.isVisible()&&this.hide(),ve.t(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",ve.X(this.view),this.toDisposeOnClean=n.render(this.view)||Rt.a.None,this.delegate=n,this.doLayout(),this.delegate.focus&&this.delegate.focus()},r.prototype.layout=function(){if(!this.isVisible())return;if(this.delegate.canRelayout===!1&&!(ht.c&&rl.a.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()},r.prototype.doLayout=function(){if(!this.isVisible())return;var n=this.delegate.getAnchor(),d;if(ve.L(n)){var S=ve.C(n);d={top:S.top,left:S.left,width:S.width,height:S.height}}else d={top:n.y,left:n.x,width:n.width||1,height:n.height||2};var k=ve.H(this.view),we=ve.G(this.view),We=this.delegate.anchorPosition||0,Xe=this.delegate.anchorAlignment||0,Qe={offset:d.top-window.pageYOffset,size:d.height,position:We===0?0:1},yt;Xe===0?yt={offset:d.left,size:0,position:0}:yt={offset:d.left+d.width,size:0,position:1};var It=fa(window.innerHeight,we,Qe)+window.pageYOffset;il.a.intersects({start:It,end:It+we},{start:Qe.offset,end:Qe.offset+Qe.size})&&(yt.size=d.width,Xe===1&&(yt.offset=d.left));var Wt=fa(window.innerWidth,k,yt);ve.Q(this.view,"top","bottom","left","right"),ve.f(this.view,We===0?"bottom":"top"),ve.f(this.view,Xe===0?"left":"right");var Pt=ve.C(this.container);this.view.style.top=It-Pt.top+"px",this.view.style.left=Wt-Pt.left+"px",this.view.style.width="initial"},r.prototype.hide=function(n){var d=this.delegate;this.delegate=null,(d==null?void 0:d.onHide)&&d.onHide(n),this.toDisposeOnClean.dispose(),ve.J(this.view)},r.prototype.isVisible=function(){return!!this.delegate},r.prototype.onDOMEvent=function(n,d){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):d&&!ve.K(n.target,this.container)&&this.hide())},r.prototype.dispose=function(){this.hide(),a.prototype.dispose.call(this)},r.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],r.BUBBLE_DOWN_EVENTS=["click"],r}(Rt.a),ma=Object(Rn.c)("layoutService"),ll=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),dl=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},cl=function(a,r){return function(n,d){r(n,d,a)}},ul=function(a){ll(r,a);function r(n){var d=a.call(this)||this;return d.layoutService=n,d.contextView=d._register(new al(n.container)),d.layout(),d._register(n.onLayout(function(){return d.layout()})),d}return r.prototype.setContainer=function(n){this.contextView.setContainer(n)},r.prototype.showContextView=function(n){this.contextView.show(n)},r.prototype.layout=function(){this.contextView.layout()},r.prototype.hideContextView=function(n){this.contextView.hide(n)},r=dl([cl(0,ma)],r),r}(Rt.a),hl=Object(Rn.c)("dialogService"),Xs=e("vl9R");function fl(a){return{data:a,incoming:Object.create(null),outgoing:Object.create(null)}}var ml=function(){function a(r){this._hashFn=r,this._nodes=Object.create(null)}return a.prototype.roots=function(){var r=[];return Object(Xs.c)(this._nodes,function(n){Object(Et.f)(n.value.outgoing)&&r.push(n.value)}),r},a.prototype.insertEdge=function(r,n){var d=this.lookupOrInsertNode(r),S=this.lookupOrInsertNode(n);d.outgoing[this._hashFn(n)]=S,S.incoming[this._hashFn(r)]=d},a.prototype.removeNode=function(r){var n=this._hashFn(r);delete this._nodes[n],Object(Xs.c)(this._nodes,function(d){delete d.value.outgoing[n],delete d.value.incoming[n]})},a.prototype.lookupOrInsertNode=function(r){var n=this._hashFn(r),d=this._nodes[n];return d||(d=fl(r),this._nodes[n]=d),d},a.prototype.isEmpty=function(){for(var r in this._nodes)return!1;return!0},a.prototype.toString=function(){var r=[];return Object(Xs.c)(this._nodes,function(n){r.push(n.key+", (incoming)["+Object.keys(n.value.incoming).join(", ")+"], (outgoing)["+Object.keys(n.value.outgoing).join(",")+"]")}),r.join(`
+`&&(Qe=1);var It=T.c.trimAutoWhitespace;n.editor&&typeof n.editor.trimAutoWhitespace!="undefined"&&(It=n.editor.trimAutoWhitespace==="false"?!1:Boolean(n.editor.trimAutoWhitespace));var Wt=T.c.detectIndentation;n.editor&&typeof n.editor.detectIndentation!="undefined"&&(Wt=n.editor.detectIndentation==="false"?!1:Boolean(n.editor.detectIndentation));var Pt=T.c.largeFileOptimizations;return n.editor&&typeof n.editor.largeFileOptimizations!="undefined"&&(Pt=n.editor.largeFileOptimizations==="false"?!1:Boolean(n.editor.largeFileOptimizations)),{isForSimpleWidget:d,tabSize:S,indentSize:we,insertSpaces:Xe,detectIndentation:Wt,defaultEOL:Qe,trimAutoWhitespace:It,largeFileOptimizations:Pt}},r.prototype.getCreationOptions=function(n,d,S){var k=this._modelCreationOptionsByLanguageAndResource[n+d];if(!k){var we=this._configurationService.getValue("editor",{overrideIdentifier:n,resource:d}),We=this._resourcePropertiesService.getEOL(d,n);k=r._readModelOptions({editor:we,eol:We},S),this._modelCreationOptionsByLanguageAndResource[n+d]=k}return k},r.prototype._updateModelOptions=function(){var n=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var d=Object.keys(this._models),S=0,k=d.length;S=this._growCount){var S=this._elements;this._currentLengthIndex++,this._currentLength=a._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+10&&Xe>1;var Qe=this._themeService.getTheme().getTokenStyleMetadata(k,we);if(typeof Qe=="undefined")S=2147483647;else{if(S=0,typeof Qe.italic!="undefined"){var yt=(Qe.italic?1:0)<<11;S|=yt|1}if(typeof Qe.bold!="undefined"){var It=(Qe.bold?2:0)<<11;S|=It|2}if(typeof Qe.underline!="undefined"){var Wt=(Qe.underline?4:0)<<11;S|=Wt|4}if(Qe.foreground){var Pt=Qe.foreground<<14;S|=Pt|8}S===0&&(S=2147483647)}this._hashTable.add(r,n,S)}if(this._logService.getLevel()===lt.b.Trace){var ro=this._legend.tokenTypes[r],eo=n?" "+this._legend.tokenModifiers.filter(function(Gt,Jt){return n&1<0&&(n._fetchSemanticTokens.isScheduled()||n._fetchSemanticTokens.schedule())})},r._isSemanticTokens=function(n){return n&&!!n.data},r._isSemanticTokensEdits=function(n){return n&&Array.isArray(n.edits)},r._copy=function(n,d,S,k,we){for(var We=0;We=0;eo--){var yt=d.edits[eo],Gt=Pt-(yt.start+yt.deleteCount);Gt>0&&(r._copy(It,Pt-Gt,Wt,ro-Gt,Gt),ro-=Gt),yt.data&&(r._copy(yt.data,0,Wt,ro-yt.data.length,yt.data.length),ro-=yt.data.length),Pt=yt.start}Pt>0&&r._copy(It,0,Wt,0,Pt),d={resultId:d.resultId,data:Wt}}}if(r._isSemanticTokens(d)){this._currentResponse=new Le(n,d.resultId,d.data);for(var It=d.data,Jt=d.data.length/5|0,co=Math.max(Math.ceil(Jt/1024),400),So=[],xo=0,Po=1,Go=0;xoXo&&It[5*yn]===0;)yn--;if(yn-1===Xo){for(var Zo=an;Zo+10){for(var qs=0,Ra=k;qs0?n[0]:null},r}(Rt.a),ct=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),wt=function(a){ct(r,a);function r(){var n=a.call(this)||this;return n._onCodeEditorAdd=n._register(new R.a),n.onCodeEditorAdd=n._onCodeEditorAdd.event,n._onCodeEditorRemove=n._register(new R.a),n.onCodeEditorRemove=n._onCodeEditorRemove.event,n._onDiffEditorAdd=n._register(new R.a),n._onDiffEditorRemove=n._register(new R.a),n._codeEditors=Object.create(null),n._diffEditors=Object.create(null),n}return r.prototype.addCodeEditor=function(n){this._codeEditors[n.getId()]=n,this._onCodeEditorAdd.fire(n)},r.prototype.removeCodeEditor=function(n){delete this._codeEditors[n.getId()]&&this._onCodeEditorRemove.fire(n)},r.prototype.listCodeEditors=function(){var n=this;return Object.keys(this._codeEditors).map(function(d){return n._codeEditors[d]})},r.prototype.addDiffEditor=function(n){this._diffEditors[n.getId()]=n,this._onDiffEditorAdd.fire(n)},r.prototype.removeDiffEditor=function(n){delete this._diffEditors[n.getId()]&&this._onDiffEditorRemove.fire(n)},r.prototype.listDiffEditors=function(){var n=this;return Object.keys(this._diffEditors).map(function(d){return n._diffEditors[d]})},r.prototype.getFocusedCodeEditor=function(){for(var n=null,d=this.listCodeEditors(),S=0,k=d;S=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},Bt=function(a,r){return function(n,d){r(n,d,a)}},Ht=function(){function a(r,n,d){this._parent=r,this._editorId=n,this.styleSheet=d,this._refCount=0}return a.prototype.ref=function(){this._refCount++},a.prototype.unref=function(){var r;this._refCount--,this._refCount===0&&((r=this.styleSheet.parentNode)===null||r===void 0||r.removeChild(this.styleSheet),this._parent._removeEditorStyleSheets(this._editorId))},a}(),qt=function(){function a(r){this.styleSheet=r}return a.prototype.ref=function(){},a.prototype.unref=function(){},a}(),$t=function(a){tt(r,a);function r(n,d){d===void 0&&(d=null);var S=a.call(this)||this;return S._decorationOptionProviders=new Map,S._editorStyleSheets=new Map,S._globalStyleSheet=d?new qt(d):null,S._themeService=n,S}return r.prototype._getOrCreateGlobalStyleSheet=function(){return this._globalStyleSheet||(this._globalStyleSheet=new qt(ve.w())),this._globalStyleSheet},r.prototype._getOrCreateStyleSheet=function(n){if(!n)return this._getOrCreateGlobalStyleSheet();var d=n.getContainerDomNode();if(!ve.N(d))return this._getOrCreateGlobalStyleSheet();var S=n.getId();if(!this._editorStyleSheets.has(S)){var k=new Ht(this,S,ve.w(d));this._editorStyleSheets.set(S,k)}return this._editorStyleSheets.get(S)},r.prototype._removeEditorStyleSheets=function(n){this._editorStyleSheets.delete(n)},r.prototype.registerDecorationType=function(n,d,S,k){var we=this._decorationOptionProviders.get(n);if(!we){var We=this._getOrCreateStyleSheet(k),Xe={styleSheet:We.styleSheet,key:n,parentTypeKey:S,options:d||Object.create(null)};S?we=new io(this._themeService,We,Xe):we=new yo(this._themeService,We,Xe),this._decorationOptionProviders.set(n,we)}we.refCount++},r.prototype.removeDecorationType=function(n){var d=this._decorationOptionProviders.get(n);d&&(d.refCount--,d.refCount<=0&&(this._decorationOptionProviders.delete(n),d.dispose(),this.listCodeEditors().forEach(function(S){return S.removeDecorations(n)})))},r.prototype.resolveDecorationOptions=function(n,d){var S=this._decorationOptionProviders.get(n);if(!S)throw new Error("Unknown decoration type key: "+n);return S.getOptions(this,d)},r=kt([Bt(0,Ln.c)],r),r}(wt),io=function(){function a(r,n,d){this._styleSheet=n,this._styleSheet.ref(),this._parentTypeKey=d.parentTypeKey,this.refCount=0,this._beforeContentRules=new bo(3,d,r),this._afterContentRules=new bo(4,d,r)}return a.prototype.getOptions=function(r,n){var d=r.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(d.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(d.afterContentClassName=this._afterContentRules.className),d},a.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()},a}(),yo=function(){function a(r,n,d){var S=this;this._disposables=new Rt.b,this._styleSheet=n,this._styleSheet.ref(),this.refCount=0;var k=function(It){var Wt=new bo(It,d,r);return S._disposables.add(Wt),Wt.hasContent?Wt.className:void 0},we=function(It){var Wt=new bo(It,d,r);return S._disposables.add(Wt),Wt.hasContent?{className:Wt.className,hasLetterSpacing:Wt.hasLetterSpacing}:null};this.className=k(0);var We=we(1);We&&(this.inlineClassName=We.className,this.inlineClassNameAffectsLetterSpacing=We.hasLetterSpacing),this.beforeContentClassName=k(3),this.afterContentClassName=k(4),this.glyphMarginClassName=k(2);var Xe=d.options;this.isWholeLine=Boolean(Xe.isWholeLine),this.stickiness=Xe.rangeBehavior;var Qe=Xe.light&&Xe.light.overviewRulerColor||Xe.overviewRulerColor,yt=Xe.dark&&Xe.dark.overviewRulerColor||Xe.overviewRulerColor;(typeof Qe!="undefined"||typeof yt!="undefined")&&(this.overviewRuler={color:Qe||yt,darkColor:yt||Qe,position:Xe.overviewRulerLane||pt.d.Center})}return a.prototype.getOptions=function(r,n){return n?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this},a.prototype.dispose=function(){this._disposables.dispose(),this._styleSheet.unref()},a}(),po={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},bo=function(){function a(r,n,d){var S=this;this._theme=d.getTheme(),this._ruleType=r,this._providerArgs=n,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var k=vo.getClassName(this._providerArgs.key,r);this._providerArgs.parentTypeKey&&(k=k+" "+vo.getClassName(this._providerArgs.parentTypeKey,r)),this._className=k,this._unThemedSelector=vo.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,r),this._buildCSS(),this._usesThemeColors?this._themeListener=d.onThemeChange(function(we){S._theme=d.getTheme(),S._removeCSS(),S._buildCSS()}):this._themeListener=null}return a.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(a.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),a.prototype._buildCSS=function(){var r=this._providerArgs.options,n,d,S;switch(this._ruleType){case 0:n=this.getCSSTextForModelDecorationClassName(r),d=this.getCSSTextForModelDecorationClassName(r.light),S=this.getCSSTextForModelDecorationClassName(r.dark);break;case 1:n=this.getCSSTextForModelDecorationInlineClassName(r),d=this.getCSSTextForModelDecorationInlineClassName(r.light),S=this.getCSSTextForModelDecorationInlineClassName(r.dark);break;case 2:n=this.getCSSTextForModelDecorationGlyphMarginClassName(r),d=this.getCSSTextForModelDecorationGlyphMarginClassName(r.light),S=this.getCSSTextForModelDecorationGlyphMarginClassName(r.dark);break;case 3:n=this.getCSSTextForModelDecorationContentClassName(r.before),d=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.before),S=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.before);break;case 4:n=this.getCSSTextForModelDecorationContentClassName(r.after),d=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.after),S=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var k=this._providerArgs.styleSheet.sheet,we=!1;n.length>0&&(k.insertRule(this._unThemedSelector+" {"+n+"}",0),we=!0),d.length>0&&(k.insertRule(".vs"+this._unThemedSelector+" {"+d+"}",0),we=!0),S.length>0&&(k.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+S+"}",0),we=!0),this._hasContent=we},a.prototype._removeCSS=function(){ve.O(this._unThemedSelector,this._providerArgs.styleSheet)},a.prototype.getCSSTextForModelDecorationClassName=function(r){if(!r)return"";var n=[];return this.collectCSSText(r,["backgroundColor"],n),this.collectCSSText(r,["outline","outlineColor","outlineStyle","outlineWidth"],n),this.collectBorderSettingsCSSText(r,n),n.join("")},a.prototype.getCSSTextForModelDecorationInlineClassName=function(r){if(!r)return"";var n=[];return this.collectCSSText(r,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],n),r.letterSpacing&&(this._hasLetterSpacing=!0),n.join("")},a.prototype.getCSSTextForModelDecorationContentClassName=function(r){if(!r)return"";var n=[];if(typeof r!="undefined"){if(this.collectBorderSettingsCSSText(r,n),typeof r.contentIconPath!="undefined"&&n.push(to.r(po.contentIconPath,ve.r(z.a.revive(r.contentIconPath)))),typeof r.contentText=="string"){var d=r.contentText.match(/^.*$/m)[0],S=d.replace(/['\\]/g,"\\$&");n.push(to.r(po.contentText,S))}this.collectCSSText(r,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],n),this.collectCSSText(r,["width","height"],n)&&n.push("display:inline-block;")}return n.join("")},a.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(r){if(!r)return"";var n=[];return typeof r.gutterIconPath!="undefined"&&(n.push(to.r(po.gutterIconPath,ve.r(z.a.revive(r.gutterIconPath)))),typeof r.gutterIconSize!="undefined"&&n.push(to.r(po.gutterIconSize,r.gutterIconSize))),n.join("")},a.prototype.collectBorderSettingsCSSText=function(r,n){return this.collectCSSText(r,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],n)?(n.push(to.r("box-sizing: border-box;")),!0):!1},a.prototype.collectCSSText=function(r,n,d){for(var S=d.length,k=0,we=n;k=1&&a[0].token==="";){var k=a.shift();k.fontStyle!==-1&&(n=k.fontStyle),k.foreground!==null&&(d=k.foreground),k.background!==null&&(S=k.background)}for(var we=new ln,We=0,Xe=r;We>>0,this._cache.set(n,d)}return(d|r<<0)>>>0},a}(),cn=/\b(comment|string|regex|regexp)\b/;function Wn(a){var r=a.match(cn);if(!r)return 0;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 4;case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}function Fn(a,r){return ar?1:0}var Ui=function(){function a(r,n,d){this._fontStyle=r,this._foreground=n,this._background=d,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return a.prototype.clone=function(){return new a(this._fontStyle,this._foreground,this._background)},a.prototype.acceptOverwrite=function(r,n,d){r!==-1&&(this._fontStyle=r),n!==0&&(this._foreground=n),d!==0&&(this._background=d),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},a}(),fr=function(){function a(r){this._mainRule=r,this._children=new Map}return a.prototype.match=function(r){if(r==="")return this._mainRule;var n=r.indexOf("."),d,S;n===-1?(d=r,S=""):(d=r.substring(0,n),S=r.substring(n+1));var k=this._children.get(d);return typeof k!="undefined"?k.match(S):this._mainRule},a.prototype.insert=function(r,n,d,S){if(r===""){this._mainRule.acceptOverwrite(n,d,S);return}var k=r.indexOf("."),we,We;k===-1?(we=r,We=""):(we=r.substring(0,k),We=r.substring(k+1));var Xe=this._children.get(we);typeof Xe=="undefined"&&(Xe=new a(this._mainRule.clone()),this._children.set(we,Xe)),Xe.insert(We,n,d,S)},a}();function Hr(a){for(var r=[],n=1,d=a.length;n0?(this.id=d+" "+r,this.themeName=r):(this.id=d,this.themeName=d),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(a.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),a.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},a.prototype.getColors=function(){if(!this.colors){var r=new Map;for(var n in this.themeData.colors)r.set(n,Ko.a.fromHex(this.themeData.colors[n]));if(this.themeData.inherit){var d=Vs(this.themeData.base);for(var n in d.colors)r.has(n)||r.set(n,Ko.a.fromHex(d.colors[n]))}this.colors=r}return this.colors},a.prototype.getColor=function(r,n){var d=this.getColors().get(r);return d||(n!==!1?this.getDefault(r):void 0)},a.prototype.getDefault=function(r){var n=this.defaultColors[r];return n||(n=Ba.resolveDefaultColor(r,this),this.defaultColors[r]=n,n)},a.prototype.defines=function(r){return Object.prototype.hasOwnProperty.call(this.getColors(),r)},Object.defineProperty(a.prototype,"type",{get:function(){switch(this.base){case Mi:return"light";case mr:return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var r=[],n=[];if(this.themeData.inherit){var d=Vs(this.themeData.base);r=d.rules,d.encodedTokensColors&&(n=d.encodedTokensColors)}r=r.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(n=this.themeData.encodedTokensColors),this._tokenTheme=Nn.createFromRawTokenTheme(r,n)}return this._tokenTheme},enumerable:!0,configurable:!0}),a.prototype.getTokenStyleMetadata=function(r,n){return},a}();function Hs(a){return a===Mi||a===Vr||a===mr}function Vs(a){switch(a){case Mi:return Pa;case Vr:return ka;case mr:return Fa}}function zs(a){var r=Vs(a);return new la(a,r)}var Ha=function(a){Wa(r,a);function r(){var n=a.call(this)||this;return n._onThemeChange=n._register(new R.a),n.onThemeChange=n._onThemeChange.event,n._environment=Object.create(null),n._knownThemes=new Map,n._knownThemes.set(Mi,zs(Mi)),n._knownThemes.set(Vr,zs(Vr)),n._knownThemes.set(mr,zs(mr)),n._css="",n._globalStyleElement=null,n._styleElements=[],n.setTheme(Mi),n}return r.prototype.registerEditorContainer=function(n){return ve.N(n)?this._registerShadowDomContainer(n):this._registerRegularEditorContainer()},r.prototype._registerRegularEditorContainer=function(){return this._globalStyleElement||(this._globalStyleElement=ve.w(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._css,this._styleElements.push(this._globalStyleElement)),Rt.a.None},r.prototype._registerShadowDomContainer=function(n){var d=this,S=ve.w(n);return S.className="monaco-colors",S.innerHTML=this._css,this._styleElements.push(S),{dispose:function(){for(var k=0;k=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},za=function(a,r){return function(n,d){r(n,d,a)}},Kr="data-keybinding-context",Ks=function(){function a(r,n){this._id=r,this._parent=n,this._value=Object.create(null),this._value._contextId=r}return a.prototype.setValue=function(r,n){return this._value[r]!==n?(this._value[r]=n,!0):!1},a.prototype.removeValue=function(r){return r in this._value?(delete this._value[r],!0):!1},a.prototype.getValue=function(r){var n=this._value[r];return typeof n=="undefined"&&this._parent?this._parent.getValue(r):n},a}(),Gr=function(a){zr(r,a);function r(){return a.call(this,-1,null)||this}return r.prototype.setValue=function(n,d){return!1},r.prototype.removeValue=function(n){return!1},r.prototype.getValue=function(n){return},r.INSTANCE=new r,r}(Ks),Ka=function(a){zr(r,a);function r(n,d,S){var k=a.call(this,n,null)||this;return k._configurationService=d,k._values=new Map,k._listener=k._configurationService.onDidChangeConfiguration(function(we){if(we.source===6){var We=Object(Qn.d)(k._values);k._values.clear(),S.fire(new ca(We))}else{for(var Xe=[],Qe=0,yt=we.affectedKeys;Qe=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},pr=function(a,r){return function(n,d){r(n,d,a)}},nl=function(a){tl(r,a);function r(n,d,S,k,we){var We=a.call(this)||this;return We._onDidContextMenu=We._register(new R.a),We.contextMenuHandler=new el(S,n,d,k,we),We}return r.prototype.configure=function(n){this.contextMenuHandler.configure(n)},r.prototype.showContextMenu=function(n){this.contextMenuHandler.showContextMenu(n),this._onDidContextMenu.fire()},r=ol([pr(0,Gs.a),pr(1,Hn.a),pr(2,Xn.b),pr(3,ni.a),pr(4,Ln.c)],r),r}(Rt.a),nc=e("TT2d"),il=e("nuFA"),rl=e("CjF5"),sl=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}();function fa(a,r,n){var d=n.offset+n.size;return n.position===0?r<=a-d?d:r<=n.offset?n.offset-r:Math.max(a-r,0):r<=n.offset?n.offset-r:r<=a-d?d:0}var al=function(a){sl(r,a);function r(n){var d=a.call(this)||this;return d.container=null,d.delegate=null,d.toDisposeOnClean=Rt.a.None,d.toDisposeOnSetContainer=Rt.a.None,d.view=ve.a(".context-view"),ve.J(d.view),d.setContainer(n),d._register(Object(Rt.h)(function(){return d.setContainer(null)})),d}return r.prototype.setContainer=function(n){var d=this;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.container.removeChild(this.view),this.container=null),n){this.container=n,this.container.appendChild(this.view);var S=new Rt.b;r.BUBBLE_UP_EVENTS.forEach(function(k){S.add(ve.o(d.container,k,function(we){d.onDOMEvent(we,!1)}))}),r.BUBBLE_DOWN_EVENTS.forEach(function(k){S.add(ve.o(d.container,k,function(we){d.onDOMEvent(we,!0)},!0))}),this.toDisposeOnSetContainer=S}},r.prototype.show=function(n){this.isVisible()&&this.hide(),ve.t(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",ve.X(this.view),this.toDisposeOnClean=n.render(this.view)||Rt.a.None,this.delegate=n,this.doLayout(),this.delegate.focus&&this.delegate.focus()},r.prototype.layout=function(){if(!this.isVisible())return;if(this.delegate.canRelayout===!1&&!(ht.c&&rl.a.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()},r.prototype.doLayout=function(){if(!this.isVisible())return;var n=this.delegate.getAnchor(),d;if(ve.L(n)){var S=ve.C(n);d={top:S.top,left:S.left,width:S.width,height:S.height}}else d={top:n.y,left:n.x,width:n.width||1,height:n.height||2};var k=ve.H(this.view),we=ve.G(this.view),We=this.delegate.anchorPosition||0,Xe=this.delegate.anchorAlignment||0,Qe={offset:d.top-window.pageYOffset,size:d.height,position:We===0?0:1},yt;Xe===0?yt={offset:d.left,size:0,position:0}:yt={offset:d.left+d.width,size:0,position:1};var It=fa(window.innerHeight,we,Qe)+window.pageYOffset;il.a.intersects({start:It,end:It+we},{start:Qe.offset,end:Qe.offset+Qe.size})&&(yt.size=d.width,Xe===1&&(yt.offset=d.left));var Wt=fa(window.innerWidth,k,yt);ve.Q(this.view,"top","bottom","left","right"),ve.f(this.view,We===0?"bottom":"top"),ve.f(this.view,Xe===0?"left":"right");var Pt=ve.C(this.container);this.view.style.top=It-Pt.top+"px",this.view.style.left=Wt-Pt.left+"px",this.view.style.width="initial"},r.prototype.hide=function(n){var d=this.delegate;this.delegate=null,(d==null?void 0:d.onHide)&&d.onHide(n),this.toDisposeOnClean.dispose(),ve.J(this.view)},r.prototype.isVisible=function(){return!!this.delegate},r.prototype.onDOMEvent=function(n,d){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):d&&!ve.K(n.target,this.container)&&this.hide())},r.prototype.dispose=function(){this.hide(),a.prototype.dispose.call(this)},r.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],r.BUBBLE_DOWN_EVENTS=["click"],r}(Rt.a),ma=Object(Rn.c)("layoutService"),ll=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),dl=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},cl=function(a,r){return function(n,d){r(n,d,a)}},ul=function(a){ll(r,a);function r(n){var d=a.call(this)||this;return d.layoutService=n,d.contextView=d._register(new al(n.container)),d.layout(),d._register(n.onLayout(function(){return d.layout()})),d}return r.prototype.setContainer=function(n){this.contextView.setContainer(n)},r.prototype.showContextView=function(n){this.contextView.show(n)},r.prototype.layout=function(){this.contextView.layout()},r.prototype.hideContextView=function(n){this.contextView.hide(n)},r=dl([cl(0,ma)],r),r}(Rt.a),hl=Object(Rn.c)("dialogService"),Xs=e("vl9R");function fl(a){return{data:a,incoming:Object.create(null),outgoing:Object.create(null)}}var ml=function(){function a(r){this._hashFn=r,this._nodes=Object.create(null)}return a.prototype.roots=function(){var r=[];return Object(Xs.c)(this._nodes,function(n){Object(Et.f)(n.value.outgoing)&&r.push(n.value)}),r},a.prototype.insertEdge=function(r,n){var d=this.lookupOrInsertNode(r),S=this.lookupOrInsertNode(n);d.outgoing[this._hashFn(n)]=S,S.incoming[this._hashFn(r)]=d},a.prototype.removeNode=function(r){var n=this._hashFn(r);delete this._nodes[n],Object(Xs.c)(this._nodes,function(d){delete d.value.outgoing[n],delete d.value.incoming[n]})},a.prototype.lookupOrInsertNode=function(r){var n=this._hashFn(r),d=this._nodes[n];return d||(d=fl(r),this._nodes[n]=d),d},a.prototype.isEmpty=function(){for(var r in this._nodes)return!1;return!0},a.prototype.toString=function(){var r=[];return Object(Xs.c)(this._nodes,function(n){r.push(n.key+", (incoming)["+Object.keys(n.value.incoming).join(", ")+"], (outgoing)["+Object.keys(n.value.outgoing).join(",")+"]")}),r.join(`
`)},a}(),gr=e("r0BQ"),pa=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Ys=function(){for(var a=0,r=0,n=arguments.length;r0?S[0].index:n.length;if(n.length!==yt){console.warn("[createInstance] First service dependency of "+r.name+" at position "+(yt+1)+" conflicts with "+n.length+" static arguments");var It=yt-n.length;It>0?n=n.concat(new Array(It)):n=n.slice(0,yt)}return new(r.bind.apply(r,Ys([void 0],Ys(n,k))))},a.prototype._setServiceInstance=function(r,n){if(this._services.get(r)instanceof gr.a)this._services.set(r,n);else if(this._parent)this._parent._setServiceInstance(r,n);else throw new Error("illegalState - setting UNKNOWN service instance")},a.prototype._getServiceInstanceOrDescriptor=function(r){var n=this._services.get(r);return!n&&this._parent?this._parent._getServiceInstanceOrDescriptor(r):n},a.prototype._getOrCreateServiceInstance=function(r,n){var d=this._getServiceInstanceOrDescriptor(r);return d instanceof gr.a?this._createAndCacheServiceInstance(r,d,n.branch(r,!0)):(n.branch(r,!1),d)},a.prototype._createAndCacheServiceInstance=function(r,n,d){for(var S=new ml(function(co){return co.id.toString()}),k=0,we=[{id:r,desc:n,_trace:d}];we.length;){var We=we.pop();if(S.lookupOrInsertNode(We),k++>150)throw new va(S);for(var Xe=0,Qe=Rn.b.getServiceDependencies(We.desc.ctor);Xe "+Wt);var eo=d(k+1,ro);eo&&We.push(eo)}else We.push(Xe+"uses -> "+Wt)}return We.join(`
`)}var S=[(this.type===0?"CREATE":"CALL")+" "+this.name,""+d(1,this),"DONE, took "+r.toFixed(2)+"ms (grand total "+a._totals.toFixed(2)+"ms)"];(r>2||n)&&console.log(S.join(`
-`))},a._None=new(function(r){pa(n,r);function n(){return r.call(this,-1,null)||this}return n.prototype.stop=function(){},n.prototype.branch=function(){return this},n}(a)),a._totals=0,a}(),gl=e("R8sh"),ba=e("k9mg"),ei=e("tADe"),Di;(function(a){function r(S,k,we){return S[k]?S[k][we]:void 0}a.get=r;function n(S,k,we,We){S[k]||(S[k]=Object.create(null)),S[k][we]=We}a.set=n;function d(S,k,we){return S[k]&&S[k][we]?(delete S[k][we],Object(Et.f)(S[k])&&delete S[k],!0):!1}a.remove=d})(Di||(Di={}));var vl=function(){function a(r){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._service=r,this._subscription=r.onMarkerChanged(this._update,this)}return a.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},a.prototype._update=function(r){if(!this._data)return;for(var n=0,d=r;n0?Xe:1,Qe=Qe>0?Qe:1,yt=yt>=Xe?yt:Xe,It=It>0?It:Qe,{resource:n,owner:r,code:S,severity:k,message:we,source:We,startLineNumber:Xe,startColumn:Qe,endLineNumber:yt,endColumn:It,relatedInformation:Wt,tags:Pt}):void 0},a.prototype.read=function(r){r===void 0&&(r=Object.create(null));var n=r.owner,d=r.resource,S=r.severities,k=r.take;if((!k||k<0)&&(k=-1),n&&d){var we=Di.get(this._byResource,d.toString(),n);if(we){for(var We=[],Xe=0,Qe=we;Xe0&&It===k)break}}return We}else return[]}else if(!n&&!d){var We=[];for(var Wt in this._byResource)for(var Pt in this._byResource[Wt])for(var ro=0,eo=this._byResource[Wt][Pt];ro0&&It===k)return We}}return We}else{var Gt=n?this._byOwner[n]:d?this._byResource[d.toString()]:void 0;if(!Gt)return[];var We=[];for(var Jt in Gt)for(var co=0,So=Gt[Jt];co0&&It===k)return We}}return We}},a._accept=function(r,n){return n===void 0||(n&r.severity)===r.severity},a._debouncer=function(r,n){r||(a._dedupeMap=Object.create(null),r=[]);for(var d=0,S=n;d=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},Qs=function(a,r){return function(n,d){r(n,d,a)}},bl=function(){function a(r){this._commandService=r}return a.prototype.createMenu=function(r,n){return new Cl(r,this._commandService,n)},a=Ea([Qs(0,J.b)],a),a}(),Cl=function(){function a(r,n,d){var S=this;this._id=r,this._commandService=n,this._contextKeyService=d,this._onDidChange=new R.a,this._dispoables=new Rt.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(R.b.debounce(R.b.filter(Kn.c.onDidChangeMenu,function(k){return k===S._id}),function(){},50)(this._build,this)),this._dispoables.add(R.b.debounce(this._contextKeyService.onDidChangeContext,function(k,we){return k||we.affectsSome(S._contextKeys)},50)(function(k){return k&&S._onDidChange.fire(void 0)},this))}return a.prototype.dispose=function(){this._dispoables.dispose(),this._onDidChange.dispose()},a.prototype._build=function(){this._menuGroups.length=0,this._contextKeys.clear();var r=Kn.c.getMenuItems(this._id),n;r.sort(a._compareMenuItems);for(var d=0,S=r;d0&&n.push([we,Xe])}return n},a._fillInKbExprKeys=function(r,n){if(r)for(var d=0,S=r.keys();dWe?1:a._compareTitles(Object(Kn.e)(r)?r.command.title:r.title,Object(Kn.e)(n)?n.command.title:n.title)},a._compareTitles=function(r,n){var d=typeof r=="string"?r:r.value,S=typeof n=="string"?n:n.value;return d.localeCompare(S)},a=Ea([Qs(1,J.b),Qs(2,_n.c)],a),a}(),El=e("79sc"),wa=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),wl=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},_a=function(a,r){return function(n,d){r(n,d,a)}};function vr(a){return a.toString()}var _l=function(a){wa(r,a);function r(n){var d=a.call(this)||this;return d.model=n,d._markersData=new Map,d._register(Object(Rt.h)(function(){d.model.deltaDecorations(Object(Qn.d)(d._markersData),[]),d._markersData.clear()})),d}return r.prototype.update=function(n,d){var S=Object(Qn.d)(this._markersData);this._markersData.clear();for(var k=this.model.deltaDecorations(S,d),we=0;we=we?S=new W.a(S.startLineNumber,we-1,S.endLineNumber,we):S=new W.a(S.startLineNumber,S.startColumn,S.endLineNumber,S.endColumn+1))}}else if(d.endColumn===Number.MAX_VALUE&&d.startColumn===1&&S.startLineNumber===S.endLineNumber){var We=n.getLineFirstNonWhitespaceColumn(d.startLineNumber);We=0:!1},r=wl([_a(0,Ae.a),_a(1,ei.b)],r),r}(Rt.a),Ll=e("9fML"),Ml=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),Dl=function(a,r,n,d){var S=arguments.length,k=S<3?r:d===null?d=Object.getOwnPropertyDescriptor(r,n):d,we;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(a,r,n,d);else for(var We=a.length-1;We>=0;We--)(we=a[We])&&(k=(S<3?we(k):S>3?we(r,n,k):we(r,n))||k);return S>3&&k&&Object.defineProperty(r,n,k),k},Sa=function(a,r){return function(n,d){r(n,d,a)}},Ol=function(a){Ml(r,a);function r(n,d){var S=a.call(this)||this;S._contextKeyService=n,S._configurationService=d,S._accessibilitySupport=0,S._onDidChangeScreenReaderOptimized=new R.a,S._accessibilityModeEnabledContext=mi.a.bindTo(S._contextKeyService);var k=function(){return S._accessibilityModeEnabledContext.set(S.isScreenReaderOptimized())};return S._register(S._configurationService.onDidChangeConfiguration(function(we){we.affectsConfiguration("editor.accessibilitySupport")&&(k(),S._onDidChangeScreenReaderOptimized.fire())})),k(),S.onDidChangeScreenReaderOptimized(function(){return k()}),S}return Object.defineProperty(r.prototype,"onDidChangeScreenReaderOptimized",{get:function(){return this._onDidChangeScreenReaderOptimized.event},enumerable:!0,configurable:!0}),r.prototype.isScreenReaderOptimized=function(){var n=this._configurationService.getValue("editor.accessibilitySupport");return n==="on"||n==="auto"&&this._accessibilitySupport===2},r.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},r=Dl([Sa(0,_n.c),Sa(1,On.a)],r),r}(Rt.a),Tl=function(){var a=function(r,n){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,S){d.__proto__=S}||function(d,S){for(var k in S)S.hasOwnProperty(k)&&(d[k]=S[k])},a(r,n)};return function(r,n){a(r,n);function d(){this.constructor=r}r.prototype=n===null?Object.create(n):(d.prototype=n.prototype,new d)}}(),nn;(function(a){var r=new wi.a,n=function(){function We(Xe,Qe){this._serviceId=Xe,this._factory=Qe,this._value=null}return Object.defineProperty(We.prototype,"id",{get:function(){return this._serviceId},enumerable:!0,configurable:!0}),We.prototype.get=function(Xe){if(!this._value){if(Xe&&(this._value=Xe[this._serviceId.toString()]),this._value||(this._value=this._factory(Xe)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");r.set(this._serviceId,this._value)}return this._value},We}();a.LazyStaticService=n;var d=[];function S(We,Xe){var Qe=new n(We,Xe);return d.push(Qe),Qe}function k(We){for(var Xe=new wi.a,Qe=0,yt=Object(Ll.a)();Qe=0&&n<5;)n++,r=r.replace(/@(\w+)/g,function(d,S){var k="";if(typeof a[S]=="string")k=a[S];else if(a[S]&&a[S]instanceof RegExp)k=a[S].source;else throw a[S]===void 0?Oo(a,"language definition does not contain attribute '"+S+"', used at: "+r):Oo(a,"attribute reference '"+S+"' must be a string, used at: "+r);return To(k)?"":"(?:"+k+")"});return new RegExp(r,a.ignoreCase?"i":"")}function od(a,r,n,d){if(d<0)return a;if(d=100){d=d-100;var S=n.split(".");if(S.unshift(n),d=0&&(d.tokenSubst=!0),typeof n.bracket=="string")if(n.bracket==="@open")d.bracket=1;else if(n.bracket==="@close")d.bracket=-1;else throw Oo(a,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+r);if(n.next){if(typeof n.next!="string")throw Oo(a,"the next state must be a string value in rule: "+r);var S=n.next;if(!/^(@pop|@push|@popall)$/.test(S)&&(S[0]==="@"&&(S=S.substr(1)),S.indexOf("$")<0&&!hn(a,Lo(a,S,"",[],""))))throw Oo(a,"the next state '"+n.next+"' is not defined in rule: "+r);d.next=S}return typeof n.goBack=="number"&&(d.goBack=n.goBack),typeof n.switchTo=="string"&&(d.switchTo=n.switchTo),typeof n.log=="string"&&(d.log=n.log),typeof n.nextEmbedded=="string"&&(d.nextEmbedded=n.nextEmbedded,a.usesEmbedded=!0),d}else if(Array.isArray(n)){for(var k=[],we=0,We=n.length;we0&&d[0]==="^",this.name=this.name+": "+d,this.regex=$s(r,"^(?:"+(this.matchOnlyAtLineStart?d.substr(1):d)+")")},a.prototype.setAction=function(r,n){this.action=Js(r,this.name,n)},a}();function rd(a,r){if(!r||typeof r!="object")throw new Error("Monarch: expecting a language definition object");var n={};n.languageId=a,n.noThrow=!1,n.maxStack=100,n.start=typeof r.start=="string"?r.start:null,n.ignoreCase=Da(r.ignoreCase,!1),n.tokenPostfix=Oa(r.tokenPostfix,"."+n.languageId),n.defaultToken=Oa(r.defaultToken,"source"),n.usesEmbedded=!1;var d=r;d.languageId=a,d.ignoreCase=n.ignoreCase,d.noThrow=n.noThrow,d.usesEmbedded=n.usesEmbedded,d.stateNames=r.tokenizer,d.defaultToken=n.defaultToken;function S(Wt,Pt,ro){for(var eo=0,Gt=ro;eo=1&&Jt.length<=3)if(So.setRegex(d,Jt[0]),Jt.length>=3)if(typeof Jt[1]=="string")So.setAction(d,{token:Jt[1],next:Jt[2]});else if(typeof Jt[1]=="object"){var xo=Jt[1];xo.next=Jt[2],So.setAction(d,xo)}else throw Oo(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+Wt);else So.setAction(d,Jt[1]);else{if(!Jt.regex)throw Oo(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+Wt);Jt.name&&(typeof Jt.name=="string"&&(So.name=Jt.name)),Jt.matchOnlyAtStart&&(So.matchOnlyAtLineStart=Da(Jt.matchOnlyAtLineStart,!1)),So.setRegex(d,Jt.regex),So.setAction(d,Jt.action)}Pt.push(So)}}}if(!r.tokenizer||typeof r.tokenizer!="object")throw Oo(n,"a language definition must define the 'tokenizer' attribute as an object");n.tokenizer=[];for(var k in r.tokenizer)if(r.tokenizer.hasOwnProperty(k)){n.start||(n.start=k);var we=r.tokenizer[k];n.tokenizer[k]=new Array,S("tokenizer."+k,n.tokenizer[k],we)}if(n.usesEmbedded=d.usesEmbedded,r.brackets){if(!Array.isArray(r.brackets))throw Oo(n,"the 'brackets' attribute must be defined as an array")}else r.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];for(var We=[],Xe=0,Qe=r.brackets;Xe0&&k[we-1]===It)continue;var Wt=yt.startIndex;Xe===0?Wt=0:Wt0?(v?g=(g+1)%u:g=(g+u-1)%u,C.children[g]):(g=C.parent.groups.indexOf(C),v?(g=(g+1)%s,C.parent.groups[g].children[0]):(g=(g+s-1)%s,C.parent.groups[g].children[C.parent.groups[g].children.length-1]))},w.prototype.nearestReference=function(f,v){var C=this.references.map(function(g,u){return{idx:u,prefixLen:B.c(g.uri.toString(),f.toString()),offsetDist:Math.abs(g.range.startLineNumber-v.lineNumber)*100+Math.abs(g.range.startColumn-v.column)}}).sort(function(g,u){return g.prefixLen>u.prefixLen?-1:g.prefixLenu.offsetDist?1:0})[0];return C?this.references[C.idx]:void 0},w.prototype.referenceAt=function(f,v){for(var C=0,g=this.references;C1?L=$.r(y.b.gotoLineLabelValidLineAndColumn,l.lineNumber,l.column):L=$.r(y.b.gotoLineLabelValidLine,l.lineNumber):l.lineNumber<1||l.lineNumber>(c?c.getLineCount():0)?L=$.r(y.b.gotoLineLabelEmptyWithLineLimit,c?c.getLineCount():0):L=$.r(y.b.gotoLineLabelEmptyWithLineAndColumnLimit,c?c.getLineMaxColumn(l.lineNumber):0),{position:l,isValid:_,label:L}},g.prototype.getLabel=function(){return this.parseResult.label},g.prototype.getAriaLabel=function(){var u=this.editor.getPosition(),s=u?u.lineNumber:0;return $.r(y.b.gotoLineAriaLabel,s,this.parseResult.label)},g.prototype.run=function(u,s){return u===1?this.runOpen():this.runPreview()},g.prototype.runOpen=function(){if(!this.parseResult.isValid)return!1;var u=this.toSelection();return this.editor.setSelection(u),this.editor.revealRangeInCenter(u,0),this.editor.focus(),!0},g.prototype.runPreview=function(){if(!this.parseResult.isValid)return this.decorator.clearDecorations(),!1;var u=this.toSelection();return this.editor.revealRangeInCenter(u,0),this.decorator.decorateLine(u,this.editor),!1},g.prototype.toSelection=function(){return new W.a(this.parseResult.position.lineNumber,this.parseResult.position.column,this.parseResult.position.lineNumber,this.parseResult.position.column)},g}(R.a),v=function(C){w(g,C);function g(){return C.call(this,y.b.gotoLineActionInput,{id:"editor.action.gotoLine",label:y.b.gotoLineActionLabel,alias:"Go to Line...",precondition:void 0,kbOpts:{kbExpr:x.a.focus,primary:2048|37,mac:{primary:256|37},weight:100}})||this}return g.prototype.run=function(u,s){var l=this;this._show(this.getController(s),{getModel:function(c){return new R.c([new f(c,s,l.getController(s))])},getAutoFocus:function(c){return{autoFocusFirstEntry:c.length>0}}})},g}(h.a);Object(z.f)(v)},ApJL:function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return e.e(296).then(e.bind(null,"AoeA"))}})},BEdG:function(Lt,N,e){"use strict";e.r(N);var T=e("+hIS");Object(T.a)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\