amis/gh-pages/pkg/editor_f7ef16f.js

1166 lines
2.8 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;/*!node_modules/monaco-editor/esm/vs/nls.js*/
define("node_modules/monaco-editor/esm/vs/nls",function(e,n){"use strict";function r(e,n){var r;return r=0===n.length?e:e.replace(/\{(\d+)\}/g,function(e,r){var t=r[0];return"undefined"!=typeof n[t]?n[t]:e})}function t(e,n){for(var t=[],o=2;o<arguments.length;o++)t[o-2]=arguments[o];return r(n,t)}Object.defineProperty(n,"__esModule",{value:!0}),n.localize=t});
;/*!node_modules/monaco-editor/esm/vs/base/common/arrays.js*/
define("node_modules/monaco-editor/esm/vs/base/common/arrays",function(r,n){"use strict";function t(r,n){return void 0===n&&(n=0),r[r.length-(1+n)]}function e(r){if(0===r.length)throw new Error("Invalid tail call");return[r.slice(0,r.length-1),r[r.length-1]]}function i(r,n,t){if(void 0===t&&(t=function(r,n){return r===n}),r===n)return!0;if(!r||!n)return!1;if(r.length!==n.length)return!1;for(var e=0,i=r.length;i>e;e++)if(!t(r[e],n[e]))return!1;return!0}function u(r,n,t){for(var e=0,i=r.length-1;i>=e;){var u=(e+i)/2|0,f=t(r[u],n);if(0>f)e=u+1;else{if(!(f>0))return u;i=u-1}}return-(e+1)}function f(r,n){var t=0,e=r.length;if(0===e)return 0;for(;e>t;){var i=Math.floor((t+e)/2);n(r[i])?e=i:t=i+1}return t}function o(r,n){return c(r,n,0,r.length-1,[]),r}function a(r,n,t,e,i,u){for(var f=t,o=e+1,a=t;i>=a;a++)u[a]=r[a];for(var a=t;i>=a;a++)r[a]=f>e?u[o++]:o>i?u[f++]:n(u[o],u[f])<0?u[o++]:u[f++]}function c(r,n,t,e,i){if(!(t>=e)){var u=t+(e-t)/2|0;c(r,n,t,u,i),c(r,n,u+1,e,i),n(r[u],r[u+1])<=0||a(r,n,t,u,e,i)}}function l(r,n){for(var t=[],e=void 0,i=0,u=o(r.slice(0),n);i<u.length;i++){var f=u[i];e&&0===n(e[0],f)?e.push(f):(e=[f],t.push(e))}return t}function s(r){return r?r.filter(function(r){return!!r}):r}function v(r){return!Array.isArray(r)||0===r.length}function h(r){return Array.isArray(r)&&r.length>0}function d(r,n){if(!n)return r.filter(function(n,t){return r.indexOf(n)===t});var t=Object.create(null);return r.filter(function(r){var e=n(r);return t[e]?!1:(t[e]=!0,!0)})}function y(r){var n=new Set;return r.filter(function(r){return n.has(r)?!1:(n.add(r),!0)})}function g(r,n){for(var t=0;t<r.length;t++){var e=r[t];if(n(e))return t}return-1}function p(r,n,t){void 0===t&&(t=void 0);var e=g(r,n);return 0>e?t:r[e]}function m(r){var n;return(n=[]).concat.apply(n,r)}function A(r,n){var t="number"==typeof n?r:0;"number"==typeof n?t=r:(t=0,n=r);var e=[];if(n>=t)for(var i=t;n>i;i++)e.push(i);else for(var i=t;i>n;i--)e.push(i);return e}function b(r,n,t){var e=r.slice(0,n),i=r.slice(n);return e.concat(t,i)}function O(r,n){var t=r.indexOf(n);t>-1&&(r.splice(t,1),r.unshift(n))}function S(r,n){var t=r.indexOf(n);t>-1&&(r.splice(t,1),r.push(n))}function E(r){return Array.isArray(r)?r:[r]}Object.defineProperty(n,"__esModule",{value:!0}),n.tail=t,n.tail2=e,n.equals=i,n.binarySearch=u,n.findFirstInSorted=f,n.mergeSort=o,n.groupBy=l,n.coalesce=s,n.isFalsyOrEmpty=v,n.isNonEmptyArray=h,n.distinct=d,n.distinctES6=y,n.firstIndex=g,n.first=p,n.flatten=m,n.range=A,n.arrayInsert=b,n.pushToStart=O,n.pushToEnd=S,n.asArray=E});
;/*!node_modules/monaco-editor/esm/vs/base/common/types.js*/
define("node_modules/monaco-editor/esm/vs/base/common/types",function(n,t){"use strict";function e(n){return Array.isArray?Array.isArray(n):n&&typeof n.length===m.number&&n.constructor===Array?!0:!1}function r(n){return typeof n===m.string||n instanceof String?!0:!1}function o(n){return!(typeof n!==m.object||null===n||Array.isArray(n)||n instanceof RegExp||n instanceof Date)}function i(n){return(typeof n===m.number||n instanceof Number)&&!isNaN(n)?!0:!1}function u(n){return n===!0||n===!1}function c(n){return typeof n===m.undefined}function f(n){return c(n)||null===n}function a(n){if(!o(n))return!1;for(var t in n)if(b.call(n,t))return!1;return!0}function s(n){return typeof n===m.function}function l(n,t){for(var e=Math.min(n.length,t.length),r=0;e>r;r++)d(n[r],t[r])}function d(n,t){if(r(t)){if(typeof n!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(s(t)){try{if(n instanceof t)return}catch(e){}if(!f(n)&&n.constructor===t)return;if(1===t.length&&t.call(void 0,n)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function y(n){for(var t=[],e=Object.getPrototypeOf(n);Object.prototype!==e;)t=t.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return t}function p(n){return null===n?void 0:n}function g(n){return"undefined"==typeof n?null:n}Object.defineProperty(t,"__esModule",{value:!0});var m={number:"number",string:"string",undefined:"undefined",object:"object","function":"function"};t.isArray=e,t.isString=r,t.isObject=o,t.isNumber=i,t.isBoolean=u,t.isUndefined=c,t.isUndefinedOrNull=f;var b=Object.prototype.hasOwnProperty;t.isEmptyObject=a,t.isFunction=s,t.validateConstraints=l,t.validateConstraint=d,t.getAllPropertyNames=y,t.withNullAsUndefined=p,t.withUndefinedAsNull=g});
;/*!node_modules/monaco-editor/esm/vs/base/common/objects.js*/
define("node_modules/monaco-editor/esm/vs/base/common/objects",function(r,e){"use strict";function n(r){if(!r||"object"!=typeof r)return r;if(r instanceof RegExp)return r;var e=Array.isArray(r)?[]:{};return Object.keys(r).forEach(function(t){e[t]=r[t]&&"object"==typeof r[t]?n(r[t]):r[t]}),e}function t(r){if(!r||"object"!=typeof r)return r;for(var e=[r];e.length>0;){var n=e.shift();Object.freeze(n);for(var t in n)if(l.call(n,t)){var o=n[t];"object"!=typeof o||Object.isFrozen(o)||e.push(o)}}return r}function o(r,e){return i(r,e,new Set)}function i(r,e,n){if(s.isUndefinedOrNull(r))return r;var t=e(r);if("undefined"!=typeof t)return t;if(s.isArray(r)){for(var o=[],f=0,u=r;f<u.length;f++){var a=u[f];o.push(i(a,e,n))}return o}if(s.isObject(r)){if(n.has(r))throw new Error("Cannot clone recursive data-structure");n.add(r);var c={};for(var d in r)l.call(r,d)&&(c[d]=i(r[d],e,n));return n.delete(r),c}return r}function f(r,e,n){return void 0===n&&(n=!0),s.isObject(r)?(s.isObject(e)&&Object.keys(e).forEach(function(t){t in r?n&&(s.isObject(r[t])&&s.isObject(e[t])?f(r[t],e[t],n):r[t]=e[t]):r[t]=e[t]}),r):e}function u(r){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.forEach(function(e){return Object.keys(e).forEach(function(n){return r[n]=e[n]})}),r}function a(r,e){if(r===e)return!0;if(null===r||void 0===r||null===e||void 0===e)return!1;if(typeof r!=typeof e)return!1;if("object"!=typeof r)return!1;if(Array.isArray(r)!==Array.isArray(e))return!1;var n,t;if(Array.isArray(r)){if(r.length!==e.length)return!1;for(n=0;n<r.length;n++)if(!a(r[n],e[n]))return!1}else{var o=[];for(t in r)o.push(t);o.sort();var i=[];for(t in e)i.push(t);if(i.sort(),!a(o,i))return!1;for(n=0;n<o.length;n++)if(!a(r[o[n]],e[o[n]]))return!1}return!0}function c(r,e,n){var t=e(r);return"undefined"==typeof t?n:t}Object.defineProperty(e,"__esModule",{value:!0});var s=r("node_modules/monaco-editor/esm/vs/base/common/types");e.deepClone=n,e.deepFreeze=t;var l=Object.prototype.hasOwnProperty;e.cloneAndChange=o,e.mixin=f,e.assign=u,e.equals=a,e.getOrDefault=c});
;/*!node_modules/monaco-editor/esm/vs/base/common/platform.js*/
define("node_modules/monaco-editor/esm/vs/base/common/platform",function(e,o){"use strict";function i(e){return null===v&&(v=o.globals.setImmediate?o.globals.setImmediate.bind(o.globals):o.globals.setTimeout.bind(o.globals)),v(e)}Object.defineProperty(o,"__esModule",{value:!0});var a="en",s=!1,t=!1,n=!1,l=!1,d=!1,b=void 0,r=a,f=!1;if("object"!=typeof navigator||f);else{var g=navigator.userAgent;s=g.indexOf("Windows")>=0,t=g.indexOf("Macintosh")>=0,n=g.indexOf("Linux")>=0,d=!0,b=navigator.language,r=b}var u=0;l&&(t?u=1:s?u=3:n&&(u=2)),o.isWindows=s,o.isMacintosh=t,o.isLinux=n,o.isNative=l,o.isWeb=d;var m="object"==typeof self?self:"object"==typeof global?global:{};o.globals=m;var v=null;o.setImmediate=i,o.OS=t?2:s?1:3});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper",function(e,n){"use strict";function r(e){void 0===e&&(e="");for(var r="(-?\\d*\\.\\d\\w*)|([^",t=0,o=n.USUAL_WORD_SEPARATORS;t<o.length;t++){var d=o[t];e.indexOf(d)>=0||(r+="\\"+d)}return r+="\\s]+)",new RegExp(r,"g")}function t(e){var r=n.DEFAULT_WORD_REGEXP;if(e&&e instanceof RegExp)if(e.global)r=e;else{var t="g";e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),r=new RegExp(e.source,t)}return r.lastIndex=0,r}function o(e,n,r,t){var o=e-1-t,d=r.lastIndexOf(" ",o-1)+1;n.lastIndex=d;for(var l;l=n.exec(r);){var i=l.index||0;if(o>=i&&n.lastIndex>=o)return{word:l[0],startColumn:t+1+i,endColumn:t+1+n.lastIndex}}return null}function d(e,n,r,t){var o=e-1-t;n.lastIndex=0;for(var d;d=n.exec(r);){var l=d.index||0;if(l>o)return null;if(n.lastIndex>=o)return{word:d[0],startColumn:t+1+l,endColumn:t+1+n.lastIndex}}return null}function l(e,n,r,t){n.lastIndex=0;var l=n.exec(r);if(!l)return null;var i=l[0].indexOf(" ")>=0?d(e,n,r,t):o(e,n,r,t);return n.lastIndex=0,i}Object.defineProperty(n,"__esModule",{value:!0}),n.USUAL_WORD_SEPARATORS="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",n.DEFAULT_WORD_REGEXP=r(),n.ensureValidWordDefinition=t,n.getWordAtText=l});
;/*!node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions",function(e,i){"use strict";function r(e){if(1===e)return"blink";if(4===e)return"expand";if(3===e)return"phase";if(2===e)return"smooth";if(5===e)return"solid";throw new Error("blinkingStyleToString: Unknown blinkingStyle")}function t(e){if(e===i.TextEditorCursorStyle.Line)return"line";if(e===i.TextEditorCursorStyle.Block)return"block";if(e===i.TextEditorCursorStyle.Underline)return"underline";if(e===i.TextEditorCursorStyle.LineThin)return"line-thin";if(e===i.TextEditorCursorStyle.BlockOutline)return"block-outline";if(e===i.TextEditorCursorStyle.UnderlineThin)return"underline-thin";throw new Error("cursorStyleToString: Unknown cursorStyle")}function o(e,r){return"string"!=typeof e?r:"line"===e?i.TextEditorCursorStyle.Line:"block"===e?i.TextEditorCursorStyle.Block:"underline"===e?i.TextEditorCursorStyle.Underline:"line-thin"===e?i.TextEditorCursorStyle.LineThin:"block-outline"===e?i.TextEditorCursorStyle.BlockOutline:"underline-thin"===e?i.TextEditorCursorStyle.UnderlineThin:i.TextEditorCursorStyle.Line}function n(e,i){return"undefined"==typeof e?i:"false"===e?!1:Boolean(e)}function a(e,i){if(!e)return i;for(var r=Object.create(null),t=0,o=Object.keys(e);t<o.length;t++){var n=o[t],a=e[n];"boolean"==typeof a&&(r[n]=a)}return r}function s(e,i){return"string"!=typeof e?i:e}function l(e,i,r){return"string"!=typeof e?i:-1===r.indexOf(e)?i:e}function u(e,i,r,t){var o;return"undefined"==typeof e?o=i:(o=parseInt(e,10),isNaN(o)&&(o=i)),o=Math.max(r,o),o=Math.min(t,o),0|o}function d(e,i){var r=parseFloat(e);return isNaN(r)&&(r=i),r}function c(e,i){return"string"!=typeof e?i:"same"===e?1:"indent"===e?2:"deepIndent"===e?3:0}function g(e,i){if("string"!=typeof e)return i;switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"visible":case"solid":return 5}return 1}function h(e,i){if("string"!=typeof e)return i;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}Object.defineProperty(i,"__esModule",{value:!0});var p=e("node_modules/tslib/tslib"),f=this&&this.__assign||function(){return f=Object.assign||function(e){for(var i,r=1,t=arguments.length;t>r;r++){i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e},f.apply(this,arguments)},m=p.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),S=p.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/arrays")),b=p.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/objects")),w=p.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),y=e("node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper"),v=e("node_modules/monaco-editor/esm/vs/base/common/types");i.blinkingStyleToString=r,function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(i.TextEditorCursorStyle||(i.TextEditorCursorStyle={})),i.cursorStyleToString=t;var C=function(){function e(e){this.canUseLayerHinting=e.canUseLayerHinting,this.pixelRatio=e.pixelRatio,this.editorClassName=e.editorClassName,this.lineHeight=0|e.lineHeight,this.readOnly=e.readOnly,this.accessibilitySupport=e.accessibilitySupport,this.multiCursorModifier=e.multiCursorModifier,this.multiCursorMergeOverlapping=e.multiCursorMergeOverlapping,this.wordSeparators=e.wordSeparators,this.autoClosingBrackets=e.autoClosingBrackets,this.autoClosingQuotes=e.autoClosingQuotes,this.autoSurround=e.autoSurround,this.autoIndent=e.autoIndent,this.useTabStops=e.useTabStops,this.tabFocusMode=e.tabFocusMode,this.dragAndDrop=e.dragAndDrop,this.emptySelectionClipboard=e.emptySelectionClipboard,this.copyWithSyntaxHighlighting=e.copyWithSyntaxHighlighting,this.layoutInfo=e.layoutInfo,this.fontInfo=e.fontInfo,this.viewInfo=e.viewInfo,this.wrappingInfo=e.wrappingInfo,this.contribInfo=e.contribInfo,this.showUnused=e.showUnused}return e.prototype.equals=function(i){return this.canUseLayerHinting===i.canUseLayerHinting&&this.pixelRatio===i.pixelRatio&&this.editorClassName===i.editorClassName&&this.lineHeight===i.lineHeight&&this.readOnly===i.readOnly&&this.accessibilitySupport===i.accessibilitySupport&&this.multiCursorModifier===i.multiCursorModifier&&this.multiCursorMergeOverlapping===i.multiCursorMergeOverlapping&&this.wordSeparators===i.wordSeparators&&this.autoClosingBrackets===i.autoClosingBrackets&&this.autoClosingQuotes===i.autoClosingQuotes&&this.autoSurround===i.autoSurround&&this.autoIndent===i.autoIndent&&this.useTabStops===i.useTabStops&&this.tabFocusMode===i.tabFocusMode&&this.dragAndDrop===i.dragAndDrop&&this.showUnused===i.showUnused&&this.emptySelectionClipboard===i.emptySelectionClipboard&&this.copyWithSyntaxHighlighting===i.copyWithSyntaxHighlighting&&e._equalsLayoutInfo(this.layoutInfo,i.layoutInfo)&&this.fontInfo.equals(i.fontInfo)&&e._equalsViewOptions(this.viewInfo,i.viewInfo)&&e._equalsWrappingInfo(this.wrappingInfo,i.wrappingInfo)&&e._equalsContribOptions(this.contribInfo,i.contribInfo)},e.prototype.createChangeEvent=function(i){return{canUseLayerHinting:this.canUseLayerHinting!==i.canUseLayerHinting,pixelRatio:this.pixelRatio!==i.pixelRatio,editorClassName:this.editorClassName!==i.editorClassName,lineHeight:this.lineHeight!==i.lineHeight,readOnly:this.readOnly!==i.readOnly,accessibilitySupport:this.accessibilitySupport!==i.accessibilitySupport,multiCursorModifier:this.multiCursorModifier!==i.multiCursorModifier,multiCursorMergeOverlapping:this.multiCursorMergeOverlapping!==i.multiCursorMergeOverlapping,wordSeparators:this.wordSeparators!==i.wordSeparators,autoClosingBrackets:this.autoClosingBrackets!==i.autoClosingBrackets,autoClosingQuotes:this.autoClosingQuotes!==i.autoClosingQuotes,autoSurround:this.autoSurround!==i.autoSurround,autoIndent:this.autoIndent!==i.autoIndent,useTabStops:this.useTabStops!==i.useTabStops,tabFocusMode:this.tabFocusMode!==i.tabFocusMode,dragAndDrop:this.dragAndDrop!==i.dragAndDrop,emptySelectionClipboard:this.emptySelectionClipboard!==i.emptySelectionClipboard,copyWithSyntaxHighlighting:this.copyWithSyntaxHighlighting!==i.copyWithSyntaxHighlighting,layoutInfo:!e._equalsLayoutInfo(this.layoutInfo,i.layoutInfo),fontInfo:!this.fontInfo.equals(i.fontInfo),viewInfo:!e._equalsViewOptions(this.viewInfo,i.viewInfo),wrappingInfo:!e._equalsWrappingInfo(this.wrappingInfo,i.wrappingInfo),contribInfo:!e._equalsContribOptions(this.contribInfo,i.contribInfo)}},e._equalsLayoutInfo=function(e,i){return e.width===i.width&&e.height===i.height&&e.glyphMarginLeft===i.glyphMarginLeft&&e.glyphMarginWidth===i.glyphMarginWidth&&e.glyphMarginHeight===i.glyphMarginHeight&&e.lineNumbersLeft===i.lineNumbersLeft&&e.lineNumbersWidth===i.lineNumbersWidth&&e.lineNumbersHeight===i.lineNumbersHeight&&e.decorationsLeft===i.decorationsLeft&&e.decorationsWidth===i.decorationsWidth&&e.decorationsHeight===i.decorationsHeight&&e.contentLeft===i.contentLeft&&e.contentWidth===i.contentWidth&&e.contentHeight===i.contentHeight&&e.renderMinimap===i.renderMinimap&&e.minimapLeft===i.minimapLeft&&e.minimapWidth===i.minimapWidth&&e.viewportColumn===i.viewportColumn&&e.verticalScrollbarWidth===i.verticalScrollbarWidth&&e.horizontalScrollbarHeight===i.horizontalScrollbarHeight&&this._equalsOverviewRuler(e.overviewRuler,i.overviewRuler)},e._equalsOverviewRuler=function(e,i){return e.width===i.width&&e.height===i.height&&e.top===i.top&&e.right===i.right},e._equalsViewOptions=function(e,i){return e.extraEditorClassName===i.extraEditorClassName&&e.disableMonospaceOptimizations===i.disableMonospaceOptimizations&&S.equals(e.rulers,i.rulers)&&e.ariaLabel===i.ariaLabel&&e.renderLineNumbers===i.renderLineNumbers&&e.renderCustomLineNumbers===i.renderCustomLineNumbers&&e.renderFinalNewline===i.renderFinalNewline&&e.selectOnLineNumbers===i.selectOnLineNumbers&&e.glyphMargin===i.glyphMargin&&e.revealHorizontalRightPadding===i.revealHorizontalRightPadding&&e.roundedSelection===i.roundedSelection&&e.overviewRulerLanes===i.overviewRulerLanes&&e.overviewRulerBorder===i.overviewRulerBorder&&e.cursorBlinking===i.cursorBlinking&&e.mouseWheelZoom===i.mouseWheelZoom&&e.cursorSmoothCaretAnimation===i.cursorSmoothCaretAnimation&&e.cursorStyle===i.cursorStyle&&e.cursorWidth===i.cursorWidth&&e.hideCursorInOverviewRuler===i.hideCursorInOverviewRuler&&e.scrollBeyondLastLine===i.scrollBeyondLastLine&&e.scrollBeyondLastColumn===i.scrollBeyondLastColumn&&e.smoothScrolling===i.smoothScrolling&&e.stopRenderingLineAfter===i.stopRenderingLineAfter&&e.renderWhitespace===i.renderWhitespace&&e.renderControlCharacters===i.renderControlCharacters&&e.fontLigatures===i.fontLigatures&&e.renderIndentGuides===i.renderIndentGuides&&e.highlightActiveIndentGuide===i.highlightActiveIndentGuide&&e.renderLineHighlight===i.renderLineHighlight&&this._equalsScrollbarOptions(e.scrollbar,i.scrollbar)&&this._equalsMinimapOptions(e.minimap,i.minimap)&&e.fixedOverflowWidgets===i.fixedOverflowWidgets},e._equalsScrollbarOptions=function(e,i){return e.arrowSize===i.arrowSize&&e.vertical===i.vertical&&e.horizontal===i.horizontal&&e.useShadows===i.useShadows&&e.verticalHasArrows===i.verticalHasArrows&&e.horizontalHasArrows===i.horizontalHasArrows&&e.handleMouseWheel===i.handleMouseWheel&&e.horizontalScrollbarSize===i.horizontalScrollbarSize&&e.horizontalSliderSize===i.horizontalSliderSize&&e.verticalScrollbarSize===i.verticalScrollbarSize&&e.verticalSliderSize===i.verticalSliderSize&&e.mouseWheelScrollSensitivity===i.mouseWheelScrollSensitivity&&e.fastScrollSensitivity===i.fastScrollSensitivity},e._equalsMinimapOptions=function(e,i){return e.enabled===i.enabled&&e.side===i.side&&e.showSlider===i.showSlider&&e.renderCharacters===i.renderCharacters&&e.maxColumn===i.maxColumn},e._equalFindOptions=function(e,i){return e.seedSearchStringFromSelection===i.seedSearchStringFromSelection&&e.autoFindInSelection===i.autoFindInSelection&&e.globalFindClipboard===i.globalFindClipboard&&e.addExtraSpaceOnTop===i.addExtraSpaceOnTop},e._equalsParameterHintOptions=function(e,i){return e.enabled===i.enabled&&e.cycle===i.cycle},e._equalsHoverOptions=function(e,i){return e.enabled===i.enabled&&e.delay===i.delay&&e.sticky===i.sticky},e._equalsSuggestOptions=function(e,i){return e===i?!0:e&&i?e.filterGraceful===i.filterGraceful&&e.snippets===i.snippets&&e.snippetsPreventQuickSuggestions===i.snippetsPreventQuickSuggestions&&e.localityBonus===i.localityBonus&&e.shareSuggestSelections===i.shareSuggestSelections&&e.showIcons===i.showIcons&&e.maxVisibleSuggestions===i.maxVisibleSuggestions&&b.equals(e.filteredTypes,i.filteredTypes):!1},e._equalsGotoLocationOptions=function(e,i){return e===i?!0:e&&i?e.multiple===i.multiple:!1},e._equalsWrappingInfo=function(e,i){return e.inDiffEditor===i.inDiffEditor&&e.isDominatedByLongLines===i.isDominatedByLongLines&&e.isWordWrapMinified===i.isWordWrapMinified&&e.isViewportWrapping===i.isViewportWrapping&&e.wrappingColumn===i.wrappingColumn&&e.wrappingIndent===i.wrappingIndent&&e.wordWrapBreakBeforeCharacters===i.wordWrapBreakBeforeCharacters&&e.wordWrapBreakAfterCharacters===i.wordWrapBreakAfterCharacters&&e.wordWrapBreakObtrusiveCharacters===i.wordWrapBreakObtrusiveCharacters},e._equalsContribOptions=function(i,r){return i.selectionClipboard===r.selectionClipboard&&this._equalsHoverOptions(i.hover,r.hover)&&i.links===r.links&&i.contextmenu===r.contextmenu&&e._equalsQuickSuggestions(i.quickSuggestions,r.quickSuggestions)&&i.quickSuggestionsDelay===r.quickSuggestionsDelay&&this._equalsParameterHintOptions(i.parameterHints,r.parameterHints)&&i.formatOnType===r.formatOnType&&i.formatOnPaste===r.formatOnPaste&&i.suggestOnTriggerCharacters===r.suggestOnTriggerCharacters&&i.acceptSuggestionOnEnter===r.acceptSuggestionOnEnter&&i.acceptSuggestionOnCommitCharacter===r.acceptSuggestionOnCommitCharacter&&i.wordBasedSuggestions===r.wordBasedSuggestions&&i.suggestSelection===r.suggestSelection&&i.suggestFontSize===r.suggestFontSize&&i.suggestLineHeight===r.suggestLineHeight&&i.tabCompletion===r.tabCompletion&&this._equalsSuggestOptions(i.suggest,r.suggest)&&e._equalsGotoLocationOptions(i.gotoLocation,r.gotoLocation)&&i.selectionHighlight===r.selectionHighlight&&i.occurrencesHighlight===r.occurrencesHighlight&&i.codeLens===r.codeLens&&i.folding===r.folding&&i.foldingStrategy===r.foldingStrategy&&i.showFoldingControls===r.showFoldingControls&&i.matchBrackets===r.matchBrackets&&this._equalFindOptions(i.find,r.find)&&i.colorDecorators===r.colorDecorators&&b.equals(i.codeActionsOnSave,r.codeActionsOnSave)&&i.codeActionsOnSaveTimeout===r.codeActionsOnSaveTimeout&&i.lightbulbEnabled===r.lightbulbEnabled},e._equalsQuickSuggestions=function(e,i){return"boolean"==typeof e?"boolean"!=typeof i?!1:e===i:"boolean"==typeof i?!1:e.comments===i.comments&&e.other===i.other&&e.strings===i.strings},e}();i.InternalEditorOptions=C;var I=function(){function e(){}return e.validate=function(e,i){var r=e.wordWrap;r===!0?r="on":r===!1&&(r="off"),r=l(r,i.wordWrap,["off","on","wordWrapColumn","bounded"]);var t=this._sanitizeViewInfo(e,i.viewInfo),o=this._sanitizeContribInfo(e,i.contribInfo),a=void 0;"string"==typeof e.multiCursorModifier&&(a="ctrlCmd"===e.multiCursorModifier?w.isMacintosh?"metaKey":"ctrlKey":"altKey");var d,g,h,p=l(a,i.multiCursorModifier,["altKey","metaKey","ctrlKey"]);return"boolean"==typeof e.autoClosingBrackets&&e.autoClosingBrackets===!1?(d="never",g="never",h="never"):(d=l(e.autoClosingBrackets,i.autoClosingBrackets,["always","languageDefined","beforeWhitespace","never"]),g=l(e.autoClosingQuotes,i.autoClosingQuotes,["always","languageDefined","beforeWhitespace","never"]),h=l(e.autoSurround,i.autoSurround,["languageDefined","brackets","quotes","never"])),{inDiffEditor:n(e.inDiffEditor,i.inDiffEditor),wordSeparators:s(e.wordSeparators,i.wordSeparators),lineNumbersMinChars:u(e.lineNumbersMinChars,i.lineNumbersMinChars,1,10),lineDecorationsWidth:"undefined"==typeof e.lineDecorationsWidth?i.lineDecorationsWidth:e.lineDecorationsWidth,readOnly:n(e.readOnly,i.readOnly),mouseStyle:l(e.mouseStyle,i.mouseStyle,["text","default","copy"]),disableLayerHinting:n(e.disableLayerHinting,i.disableLayerHinting),automaticLayout:n(e.automaticLayout,i.automaticLayout),wordWrap:r,wordWrapColumn:u(e.wordWrapColumn,i.wordWrapColumn,1,1073741824),wordWrapMinified:n(e.wordWrapMinified,i.wordWrapMinified),wrappingIndent:c(e.wrappingIndent,i.wrappingIndent),wordWrapBreakBeforeCharacters:s(e.wordWrapBreakBeforeCharacters,i.wordWrapBreakBeforeCharacters),wordWrapBreakAfterCharacters:s(e.wordWrapBreakAfterCharacters,i.wordWrapBreakAfterCharacters),wordWrapBreakObtrusiveCharacters:s(e.wordWrapBreakObtrusiveCharacters,i.wordWrapBreakObtrusiveCharacters),autoClosingBrackets:d,autoClosingQuotes:g,autoSurround:h,autoIndent:n(e.autoIndent,i.autoIndent),dragAndDrop:n(e.dragAndDrop,i.dragAndDrop),emptySelectionClipboard:n(e.emptySelectionClipboard,i.emptySelectionClipboard),copyWithSyntaxHighlighting:n(e.copyWithSyntaxHighlighting,i.copyWithSyntaxHighlighting),useTabStops:n(e.useTabStops,i.useTabStops),multiCursorModifier:p,multiCursorMergeOverlapping:n(e.multiCursorMergeOverlapping,i.multiCursorMergeOverlapping),accessibilitySupport:l(e.accessibilitySupport,i.accessibilitySupport,["auto","on","off"]),showUnused:n(e.showUnused,i.showUnused),viewInfo:t,contribInfo:o}},e._sanitizeScrollbarOpts=function(e,i,r,t){if("object"!=typeof e)return i;var o=u(e.horizontalScrollbarSize,i.horizontalScrollbarSize,0,1e3),a=u(e.verticalScrollbarSize,i.verticalScrollbarSize,0,1e3);return{vertical:h(e.vertical,i.vertical),horizontal:h(e.horizontal,i.horizontal),arrowSize:u(e.arrowSize,i.arrowSize,0,1e3),useShadows:n(e.useShadows,i.useShadows),verticalHasArrows:n(e.verticalHasArrows,i.verticalHasArrows),horizontalHasArrows:n(e.horizontalHasArrows,i.horizontalHasArrows),horizontalScrollbarSize:o,horizontalSliderSize:u(e.horizontalSliderSize,o,0,1e3),verticalScrollbarSize:a,verticalSliderSize:u(e.verticalSliderSize,a,0,1e3),handleMouseWheel:n(e.handleMouseWheel,i.handleMouseWheel),mouseWheelScrollSensitivity:r,fastScrollSensitivity:t}},e._sanitizeMinimapOpts=function(e,i){return"object"!=typeof e?i:{enabled:n(e.enabled,i.enabled),side:l(e.side,i.side,["right","left"]),showSlider:l(e.showSlider,i.showSlider,["always","mouseover"]),renderCharacters:n(e.renderCharacters,i.renderCharacters),maxColumn:u(e.maxColumn,i.maxColumn,1,1e4)}},e._sanitizeFindOpts=function(e,i){return"object"!=typeof e?i:{seedSearchStringFromSelection:n(e.seedSearchStringFromSelection,i.seedSearchStringFromSelection),autoFindInSelection:n(e.autoFindInSelection,i.autoFindInSelection),globalFindClipboard:n(e.globalFindClipboard,i.globalFindClipboard),addExtraSpaceOnTop:n(e.addExtraSpaceOnTop,i.addExtraSpaceOnTop)}},e._sanitizeParameterHintOpts=function(e,i){return"object"!=typeof e?i:{enabled:n(e.enabled,i.enabled),cycle:n(e.cycle,i.cycle)}},e._sanitizeHoverOpts=function(e,i){var r;if("boolean"==typeof e)r={enabled:e};else{if("object"!=typeof e)return i;r=e}return{enabled:n(r.enabled,i.enabled),delay:u(r.delay,i.delay,0,1e4),sticky:n(r.sticky,i.sticky)}},e._sanitizeSuggestOpts=function(e,i){var r=e.suggest||{};return{filterGraceful:n(r.filterGraceful,i.filterGraceful),snippets:l(e.snippetSuggestions,i.snippets,["top","bottom","inline","none"]),snippetsPreventQuickSuggestions:n(r.snippetsPreventQuickSuggestions,i.filterGraceful),localityBonus:n(r.localityBonus,i.localityBonus),shareSuggestSelections:n(r.shareSuggestSelections,i.shareSuggestSelections),showIcons:n(r.showIcons,i.showIcons),maxVisibleSuggestions:u(r.maxVisibleSuggestions,i.maxVisibleSuggestions,1,15),filteredTypes:v.isObject(r.filteredTypes)?r.filteredTypes:Object.create(null)}},e._sanitizeGotoLocationOpts=function(e,i){var r=e.gotoLocation||{};return{multiple:l(r.multiple,i.multiple,["peek","gotoAndPeek","goto"])}},e._sanitizeTabCompletionOpts=function(e,i){return e===!1?"off":e===!0?"onlySnippets":l(e,i,["on","off","onlySnippets"])},e._sanitizeViewInfo=function(e,i){var r=[];if(Array.isArray(e.rulers)){for(var t=0,a=e.rulers.length;a>t;t++)r.push(u(e.rulers[t],0,0,1e4));r.sort()}var c=i.renderLineNumbers,h=i.renderCustomLineNumbers;if("undefined"!=typeof e.lineNumbers){var p=e.lineNumbers;p===!0?p="on":p===!1&&(p="off"),"function"==typeof p?(c=4,h=p):c="interval"===p?3:"relative"===p?2:"on"===p?1:0}var f=n(e.fontLigatures,i.fontLigatures),m=n(e.disableMonospaceOptimizations,i.disableMonospaceOptimizations)||f,S=e.renderWhitespace;S===!0?S="boundary":S===!1&&(S="none"),S=l(S,i.renderWhitespace,["none","boundary","all"]);var b=e.renderLineHighlight;b===!0?b="line":b===!1&&(b="none"),b=l(b,i.renderLineHighlight,["none","gutter","line","all"]);var w=d(e.mouseWheelScrollSensitivity,i.scrollbar.mouseWheelScrollSensitivity);0===w&&(w=1);var y=d(e.fastScrollSensitivity,i.scrollbar.fastScrollSensitivity);0>=y&&(y=i.scrollbar.fastScrollSensitivity);var v=this._sanitizeScrollbarOpts(e.scrollbar,i.scrollbar,w,y),C=this._sanitizeMinimapOpts(e.minimap,i.minimap);return{extraEditorClassName:s(e.extraEditorClassName,i.extraEditorClassName),disableMonospaceOptimizations:m,rulers:r,ariaLabel:s(e.ariaLabel,i.ariaLabel),renderLineNumbers:c,renderCustomLineNumbers:h,renderFinalNewline:n(e.renderFinalNewline,i.renderFinalNewline),selectOnLineNumbers:n(e.selectOnLineNumbers,i.selectOnLineNumbers),glyphMargin:n(e.glyphMargin,i.glyphMargin),revealHorizontalRightPadding:u(e.revealHorizontalRightPadding,i.revealHorizontalRightPadding,0,1e3),roundedSelection:n(e.roundedSelection,i.roundedSelection),overviewRulerLanes:u(e.overviewRulerLanes,i.overviewRulerLanes,0,3),overviewRulerBorder:n(e.overviewRulerBorder,i.overviewRulerBorder),cursorBlinking:g(e.cursorBlinking,i.cursorBlinking),mouseWheelZoom:n(e.mouseWheelZoom,i.mouseWheelZoom),cursorSmoothCaretAnimation:n(e.cursorSmoothCaretAnimation,i.cursorSmoothCaretAnimation),cursorStyle:o(e.cursorStyle,i.cursorStyle),cursorWidth:u(e.cursorWidth,i.cursorWidth,0,Number.MAX_VALUE),hideCursorInOverviewRuler:n(e.hideCursorInOverviewRuler,i.hideCursorInOverviewRuler),scrollBeyondLastLine:n(e.scrollBeyondLastLine,i.scrollBeyondLastLine),scrollBeyondLastColumn:u(e.scrollBeyondLastColumn,i.scrollBeyondLastColumn,0,1073741824),smoothScrolling:n(e.smoothScrolling,i.smoothScrolling),stopRenderingLineAfter:u(e.stopRenderingLineAfter,i.stopRenderingLineAfter,-1,1073741824),renderWhitespace:S,renderControlCharacters:n(e.renderControlCharacters,i.renderControlCharacters),fontLigatures:f,renderIndentGuides:n(e.renderIndentGuides,i.renderIndentGuides),highlightActiveIndentGuide:n(e.highlightActiveIndentGuide,i.highlightActiveIndentGuide),renderLineHighlight:b,scrollbar:v,minimap:C,fixedOverflowWidgets:n(e.fixedOverflowWidgets,i.fixedOverflowWidgets)}},e._sanitizeContribInfo=function(e,i){var r;r="object"==typeof e.quickSuggestions?f({other:!0},e.quickSuggestions):n(e.quickSuggestions,i.quickSuggestions),"boolean"==typeof e.acceptSuggestionOnEnter&&(e.acceptSuggestionOnEnter=e.acceptSuggestionOnEnter?"on":"off");var t=this._sanitizeFindOpts(e.find,i.find);return{selectionClipboard:n(e.selectionClipboard,i.selectionClipboard),hover:this._sanitizeHoverOpts(e.hover,i.hover),links:n(e.links,i.links),contextmenu:n(e.contextmenu,i.contextmenu),quickSuggestions:r,quickSuggestionsDelay:u(e.quickSuggestionsDelay,i.quickSuggestionsDelay,-1073741824,1073741824),parameterHints:this._sanitizeParameterHintOpts(e.parameterHints,i.parameterHints),formatOnType:n(e.formatOnType,i.formatOnType),formatOnPaste:n(e.formatOnPaste,i.formatOnPaste),suggestOnTriggerCharacters:n(e.suggestOnTriggerCharacters,i.suggestOnTriggerCharacters),acceptSuggestionOnEnter:l(e.acceptSuggestionOnEnter,i.acceptSuggestionOnEnter,["on","smart","off"]),acceptSuggestionOnCommitCharacter:n(e.acceptSuggestionOnCommitCharacter,i.acceptSuggestionOnCommitCharacter),wordBasedSuggestions:n(e.wordBasedSuggestions,i.wordBasedSuggestions),suggestSelection:l(e.suggestSelection,i.suggestSelection,["first","recentlyUsed","recentlyUsedByPrefix"]),suggestFontSize:u(e.suggestFontSize,i.suggestFontSize,0,1e3),suggestLineHeight:u(e.suggestLineHeight,i.suggestLineHeight,0,1e3),tabCompletion:this._sanitizeTabCompletionOpts(e.tabCompletion,i.tabCompletion),suggest:this._sanitizeSuggestOpts(e,i.suggest),gotoLocation:this._sanitizeGotoLocationOpts(e,i.gotoLocation),selectionHighlight:n(e.selectionHighlight,i.selectionHighlight),occurrencesHighlight:n(e.occurrencesHighlight,i.occurrencesHighlight),codeLens:n(e.codeLens,i.codeLens),folding:n(e.folding,i.folding),foldingStrategy:l(e.foldingStrategy,i.foldingStrategy,["auto","indentation"]),showFoldingControls:l(e.showFoldingControls,i.showFoldingControls,["always","mouseover"]),matchBrackets:n(e.matchBrackets,i.matchBrackets),find:t,colorDecorators:n(e.colorDecorators,i.colorDecorators),lightbulbEnabled:n(e.lightbulb?e.lightbulb.enabled:!1,i.lightbulbEnabled),codeActionsOnSave:a(e.codeActionsOnSave,{}),codeActionsOnSaveTimeout:u(e.codeActionsOnSaveTimeout,i.codeActionsOnSaveTimeout,1,1e4)}},e}();i.EditorOptionsValidator=I;var O=function(){function e(){}return e._tweakValidatedOptions=function(e,i){var r=2===i,t=1===i;return{inDiffEditor:e.inDiffEditor,wordSeparators:e.wordSeparators,lineNumbersMinChars:e.lineNumbersMinChars,lineDecorationsWidth:e.lineDecorationsWidth,readOnly:e.readOnly,mouseStyle:e.mouseStyle,disableLayerHinting:e.disableLayerHinting,automaticLayout:e.automaticLayout,wordWrap:e.wordWrap,wordWrapColumn:e.wordWrapColumn,wordWrapMinified:e.wordWrapMinified,wrappingIndent:e.wrappingIndent,wordWrapBreakBeforeCharacters:e.wordWrapBreakBeforeCharacters,wordWrapBreakAfterCharacters:e.wordWrapBreakAfterCharacters,wordWrapBreakObtrusiveCharacters:e.wordWrapBreakObtrusiveCharacters,autoClosingBrackets:e.autoClosingBrackets,autoClosingQuotes:e.autoClosingQuotes,autoSurround:e.autoSurround,autoIndent:e.autoIndent,dragAndDrop:e.dragAndDrop,emptySelectionClipboard:e.emptySelectionClipboard,copyWithSyntaxHighlighting:e.copyWithSyntaxHighlighting,useTabStops:e.useTabStops,multiCursorModifier:e.multiCursorModifier,multiCursorMergeOverlapping:e.multiCursorMergeOverlapping,accessibilitySupport:e.accessibilitySupport,showUnused:e.showUnused,viewInfo:{extraEditorClassName:e.viewInfo.extraEditorClassName,disableMonospaceOptimizations:e.viewInfo.disableMonospaceOptimizations,rulers:e.viewInfo.rulers,ariaLabel:t?m.localize("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):e.viewInfo.ariaLabel,renderLineNumbers:e.viewInfo.renderLineNumbers,renderCustomLineNumbers:e.viewInfo.renderCustomLineNumbers,renderFinalNewline:e.viewInfo.renderFinalNewline,selectOnLineNumbers:e.viewInfo.selectOnLineNumbers,glyphMargin:e.viewInfo.glyphMargin,revealHorizontalRightPadding:e.viewInfo.revealHorizontalRightPadding,roundedSelection:r?!1:e.viewInfo.roundedSelection,overviewRulerLanes:e.viewInfo.overviewRulerLanes,overviewRulerBorder:e.viewInfo.overviewRulerBorder,cursorBlinking:e.viewInfo.cursorBlinking,mouseWheelZoom:e.viewInfo.mouseWheelZoom,cursorSmoothCaretAnimation:e.viewInfo.cursorSmoothCaretAnimation,cursorStyle:e.viewInfo.cursorStyle,cursorWidth:e.viewInfo.cursorWidth,hideCursorInOverviewRuler:e.viewInfo.hideCursorInOverviewRuler,scrollBeyondLastLine:e.viewInfo.scrollBeyondLastLine,scrollBeyondLastColumn:e.viewInfo.scrollBeyondLastColumn,smoothScrolling:e.viewInfo.smoothScrolling,stopRenderingLineAfter:e.viewInfo.stopRenderingLineAfter,renderWhitespace:r?"none":e.viewInfo.renderWhitespace,renderControlCharacters:r?!1:e.viewInfo.renderControlCharacters,fontLigatures:r?!1:e.viewInfo.fontLigatures,renderIndentGuides:r?!1:e.viewInfo.renderIndentGuides,highlightActiveIndentGuide:e.viewInfo.highlightActiveIndentGuide,renderLineHighlight:e.viewInfo.renderLineHighlight,scrollbar:e.viewInfo.scrollbar,minimap:{enabled:r?!1:e.viewInfo.minimap.enabled,side:e.viewInfo.minimap.side,renderCharacters:e.viewInfo.minimap.renderCharacters,showSlider:e.viewInfo.minimap.showSlider,maxColumn:e.viewInfo.minimap.maxColumn},fixedOverflowWidgets:e.viewInfo.fixedOverflowWidgets},contribInfo:{selectionClipboard:e.contribInfo.selectionClipboard,hover:e.contribInfo.hover,links:r?!1:e.contribInfo.links,contextmenu:e.contribInfo.contextmenu,quickSuggestions:e.contribInfo.quickSuggestions,quickSuggestionsDelay:e.contribInfo.quickSuggestionsDelay,parameterHints:e.contribInfo.parameterHints,formatOnType:e.contribInfo.formatOnType,formatOnPaste:e.contribInfo.formatOnPaste,suggestOnTriggerCharacters:e.contribInfo.suggestOnTriggerCharacters,acceptSuggestionOnEnter:e.contribInfo.acceptSuggestionOnEnter,acceptSuggestionOnCommitCharacter:e.contribInfo.acceptSuggestionOnCommitCharacter,wordBasedSuggestions:e.contribInfo.wordBasedSuggestions,suggestSelection:e.contribInfo.suggestSelection,suggestFontSize:e.contribInfo.suggestFontSize,suggestLineHeight:e.contribInfo.suggestLineHeight,tabCompletion:e.contribInfo.tabCompletion,suggest:e.contribInfo.suggest,gotoLocation:e.contribInfo.gotoLocation,selectionHighlight:r?!1:e.contribInfo.selectionHighlight,occurrencesHighlight:r?!1:e.contribInfo.occurrencesHighlight,codeLens:r?!1:e.contribInfo.codeLens,folding:r?!1:e.contribInfo.folding,foldingStrategy:e.contribInfo.foldingStrategy,showFoldingControls:e.contribInfo.showFoldingControls,matchBrackets:r?!1:e.contribInfo.matchBrackets,find:e.contribInfo.find,colorDecorators:e.contribInfo.colorDecorators,lightbulbEnabled:e.contribInfo.lightbulbEnabled,codeActionsOnSave:e.contribInfo.codeActionsOnSave,codeActionsOnSaveTimeout:e.contribInfo.codeActionsOnSaveTimeout}}},e.createInternalEditorOptions=function(e,i){var r;r="auto"===i.accessibilitySupport?e.accessibilitySupport:"on"===i.accessibilitySupport?2:1;var t,o=this._tweakValidatedOptions(i,r);if("string"==typeof o.lineDecorationsWidth&&/^\d+(\.\d+)?ch$/.test(o.lineDecorationsWidth)){var n=parseFloat(o.lineDecorationsWidth.substr(0,o.lineDecorationsWidth.length-2));t=n*e.fontInfo.typicalHalfwidthCharacterWidth}else t=u(o.lineDecorationsWidth,0,0,1e3);o.contribInfo.folding&&(t+=16);var a=W.compute({outerWidth:e.outerWidth,outerHeight:e.outerHeight,showGlyphMargin:o.viewInfo.glyphMargin,lineHeight:e.fontInfo.lineHeight,showLineNumbers:0!==o.viewInfo.renderLineNumbers,lineNumbersMinChars:o.lineNumbersMinChars,lineNumbersDigitCount:e.lineNumbersDigitCount,lineDecorationsWidth:t,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,verticalScrollbarWidth:o.viewInfo.scrollbar.verticalScrollbarSize,horizontalScrollbarHeight:o.viewInfo.scrollbar.horizontalScrollbarSize,scrollbarArrowSize:o.viewInfo.scrollbar.arrowSize,verticalScrollbarHasArrows:o.viewInfo.scrollbar.verticalHasArrows,minimap:o.viewInfo.minimap.enabled,minimapSide:o.viewInfo.minimap.side,minimapRenderCharacters:o.viewInfo.minimap.renderCharacters,minimapMaxColumn:o.viewInfo.minimap.maxColumn,pixelRatio:e.pixelRatio}),s=null,l=o.wordWrap,d=o.wordWrapColumn,c=o.wordWrapMinified;s=2===r?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1}:c&&e.isDominatedByLongLines?{isWordWrapMinified:!0,isViewportWrapping:!0,wrappingColumn:Math.max(1,a.viewportColumn)}:"on"===l?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.max(1,a.viewportColumn)}:"bounded"===l?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.min(Math.max(1,a.viewportColumn),d)}:"wordWrapColumn"===l?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:d}:{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1};var g={inDiffEditor:o.inDiffEditor,isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:s.isWordWrapMinified,isViewportWrapping:s.isViewportWrapping,wrappingColumn:s.wrappingColumn,wrappingIndent:o.wrappingIndent,wordWrapBreakBeforeCharacters:o.wordWrapBreakBeforeCharacters,wordWrapBreakAfterCharacters:o.wordWrapBreakAfterCharacters,wordWrapBreakObtrusiveCharacters:o.wordWrapBreakObtrusiveCharacters},h="monaco-editor";return o.viewInfo.extraEditorClassName&&(h+=" "+o.viewInfo.extraEditorClassName),e.extraEditorClassName&&(h+=" "+e.extraEditorClassName),o.viewInfo.fontLigatures&&(h+=" enable-ligatures"),"default"===o.mouseStyle?h+=" mouse-default":"copy"===o.mouseStyle&&(h+=" mouse-copy"),new C({canUseLayerHinting:o.disableLayerHinting?!1:!0,pixelRatio:e.pixelRatio,editorClassName:h,lineHeight:e.fontInfo.lineHeight,readOnly:o.readOnly,accessibilitySupport:r,multiCursorModifier:o.multiCursorModifier,multiCursorMergeOverlapping:o.multiCursorMergeOverlapping,wordSeparators:o.wordSeparators,autoClosingBrackets:o.autoClosingBrackets,autoClosingQuotes:o.autoClosingQuotes,autoSurround:o.autoSurround,autoIndent:o.autoIndent,useTabStops:o.useTabStops,tabFocusMode:o.readOnly?!0:e.tabFocusMode,dragAndDrop:o.dragAndDrop,emptySelectionClipboard:o.emptySelectionClipboard&&e.emptySelectionClipboard,copyWithSyntaxHighlighting:o.copyWithSyntaxHighlighting,layoutInfo:a,fontInfo:e.fontInfo,viewInfo:o.viewInfo,wrappingInfo:g,contribInfo:o.contribInfo,showUnused:o.showUnused})},e}();i.InternalEditorOptionsFactory=O;var W=function(){function e(){}return e.compute=function(e){var i=0|e.outerWidth,r=0|e.outerHeight,t=e.showGlyphMargin,o=0|e.lineHeight,n=e.showLineNumbers,a=0|e.lineNumbersMinChars,s=0|e.lineNumbersDigitCount,l=0|e.lineDecorationsWidth,u=e.typicalHalfwidthCharacterWidth,d=e.maxDigitWidth,c=0|e.verticalScrollbarWidth,g=e.verticalScrollbarHasArrows,h=0|e.scrollbarArrowSize,p=0|e.horizontalScrollbarHeight,f=e.minimap,m=e.minimapSide,S=e.minimapRenderCharacters,b=0|e.minimapMaxColumn,w=e.pixelRatio,y=0;if(n){var v=Math.max(s,a);y=Math.round(v*d)}var C=0;t&&(C=o);var I,O,W,L,H=0,M=H+C,k=M+y,B=k+l,z=i-C-y-l;if(f){var x=void 0;w>=2?(I=S?2:4,x=2/w):(I=S?1:3,x=1/w),W=Math.max(0,Math.floor((z-c-2)*x/(u+x)));var A=W/x;A>b&&(W=Math.floor(b*x)),L=z-W,"left"===m?(O=0,H+=W,M+=W,k+=W,B+=W):O=i-W-c}else O=0,W=0,I=0,L=z;var T=Math.max(1,Math.floor((L-c-2)/u)),N=g?h:0;return{width:i,height:r,glyphMarginLeft:H,glyphMarginWidth:C,glyphMarginHeight:r,lineNumbersLeft:M,lineNumbersWidth:y,lineNumbersHeight:r,decorationsLeft:k,decorationsWidth:l,decorationsHeight:r,contentLeft:B,contentWidth:L,contentHeight:r,renderMinimap:I,minimapLeft:O,minimapWidth:W,viewportColumn:T,verticalScrollbarWidth:c,horizontalScrollbarHeight:p,overviewRuler:{top:N,width:c,height:r-2*N,right:0}}
},e}();i.EditorLayoutProvider=W;var L="Consolas, 'Courier New', monospace",H="Menlo, Monaco, 'Courier New', monospace",M="'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'";i.EDITOR_FONT_DEFAULTS={fontFamily:w.isMacintosh?H:w.isLinux?M:L,fontWeight:"normal",fontSize:w.isMacintosh?12:14,lineHeight:0,letterSpacing:0},i.EDITOR_MODEL_DEFAULTS={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},i.EDITOR_DEFAULTS={inDiffEditor:!1,wordSeparators:y.USUAL_WORD_SEPARATORS,lineNumbersMinChars:5,lineDecorationsWidth:10,readOnly:!1,mouseStyle:"text",disableLayerHinting:!1,automaticLayout:!1,wordWrap:"off",wordWrapColumn:80,wordWrapMinified:!0,wrappingIndent:1,wordWrapBreakBeforeCharacters:"([{‘“〈《「『【〔([{「£¥$£¥+",wordWrapBreakAfterCharacters:" })]?|/&,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」",wordWrapBreakObtrusiveCharacters:".",autoClosingBrackets:"languageDefined",autoClosingQuotes:"languageDefined",autoSurround:"languageDefined",autoIndent:!0,dragAndDrop:!0,emptySelectionClipboard:!0,copyWithSyntaxHighlighting:!0,useTabStops:!0,multiCursorModifier:"altKey",multiCursorMergeOverlapping:!0,accessibilitySupport:"auto",showUnused:!0,viewInfo:{extraEditorClassName:"",disableMonospaceOptimizations:!1,rulers:[],ariaLabel:m.localize("editorViewAccessibleLabel","Editor content"),renderLineNumbers:1,renderCustomLineNumbers:null,renderFinalNewline:!0,selectOnLineNumbers:!0,glyphMargin:!0,revealHorizontalRightPadding:30,roundedSelection:!0,overviewRulerLanes:2,overviewRulerBorder:!0,cursorBlinking:1,mouseWheelZoom:!1,cursorSmoothCaretAnimation:!1,cursorStyle:i.TextEditorCursorStyle.Line,cursorWidth:0,hideCursorInOverviewRuler:!1,scrollBeyondLastLine:!0,scrollBeyondLastColumn:5,smoothScrolling:!1,stopRenderingLineAfter:1e4,renderWhitespace:"none",renderControlCharacters:!1,fontLigatures:!1,renderIndentGuides:!0,highlightActiveIndentGuide:!0,renderLineHighlight:"line",scrollbar:{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:10,horizontalSliderSize:10,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,mouseWheelScrollSensitivity:1,fastScrollSensitivity:5},minimap:{enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120},fixedOverflowWidgets:!1},contribInfo:{selectionClipboard:!0,hover:{enabled:!0,delay:300,sticky:!0},links:!0,contextmenu:!0,quickSuggestions:{other:!0,comments:!1,strings:!1},quickSuggestionsDelay:10,parameterHints:{enabled:!0,cycle:!1},formatOnType:!1,formatOnPaste:!1,suggestOnTriggerCharacters:!0,acceptSuggestionOnEnter:"on",acceptSuggestionOnCommitCharacter:!0,wordBasedSuggestions:!0,suggestSelection:"recentlyUsed",suggestFontSize:0,suggestLineHeight:0,tabCompletion:"off",suggest:{filterGraceful:!0,snippets:"inline",snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,filteredTypes:Object.create(null)},gotoLocation:{multiple:"peek"},selectionHighlight:!0,occurrencesHighlight:!0,codeLens:!0,folding:!0,foldingStrategy:"auto",showFoldingControls:"mouseover",matchBrackets:!0,find:{seedSearchStringFromSelection:!0,autoFindInSelection:!1,globalFindClipboard:!1,addExtraSpaceOnTop:!0},colorDecorators:!0,lightbulbEnabled:!0,codeActionsOnSave:{},codeActionsOnSaveTimeout:750}}});
;/*!node_modules/monaco-editor/esm/vs/editor/common/standalone/promise-polyfill/polyfill.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/standalone/promise-polyfill/polyfill",function(e,n,t){!function(e,o){"object"==typeof n&&"undefined"!=typeof t?o():"function"==typeof define&&define.amd?define(o):o()}(this,function(){"use strict";function e(e){var n=this.constructor;return this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){return n.reject(t)})})}function n(){}function t(e,n){return function(){e.apply(n,arguments)}}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],l(e,this)}function i(e,n){for(;3===e._state;)e=e._value;return 0===e._state?void e._deferreds.push(n):(e._handled=!0,void o._immediateFn(function(){var t=1===e._state?n.onFulfilled:n.onRejected;if(null===t)return void(1===e._state?r:f)(n.promise,e._value);var o;try{o=t(e._value)}catch(i){return void f(n.promise,i)}r(n.promise,o)}))}function r(e,n){try{if(n===e)throw new TypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var i=n.then;if(n instanceof o)return e._state=3,e._value=n,void u(e);if("function"==typeof i)return void l(t(i,n),e)}e._state=1,e._value=n,u(e)}catch(r){f(e,r)}}function f(e,n){e._state=2,e._value=n,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn(function(){e._handled||o._unhandledRejectionFn(e._value)});for(var n=0,t=e._deferreds.length;t>n;n++)i(e,e._deferreds[n]);e._deferreds=null}function c(e,n,t){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof n?n:null,this.promise=t}function l(e,n){var t=!1;try{e(function(e){t||(t=!0,r(n,e))},function(e){t||(t=!0,f(n,e))})}catch(o){if(t)return;t=!0,f(n,o)}}var a=setTimeout;o.prototype["catch"]=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var o=new this.constructor(n);return i(this,new c(e,t,o)),o},o.prototype["finally"]=e,o.all=function(e){return new o(function(n,t){function o(e,f){try{if(f&&("object"==typeof f||"function"==typeof f)){var u=f.then;if("function"==typeof u)return void u.call(f,function(n){o(e,n)},t)}i[e]=f,0===--r&&n(i)}catch(c){t(c)}}if(!e||"undefined"==typeof e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return n([]);for(var r=i.length,f=0;f<i.length;f++)o(f,i[f])})},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o(function(n){n(e)})},o.reject=function(e){return new o(function(n,t){t(e)})},o.race=function(e){return new o(function(n,t){for(var o=0,i=e.length;i>o;o++)e[o].then(n,t)})},o._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},o._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var s=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();"Promise"in s?s.Promise.prototype["finally"]||(s.Promise.prototype["finally"]=e):s.Promise=o})});
;/*!node_modules/monaco-editor/esm/vs/base/common/errors.js*/
define("node_modules/monaco-editor/esm/vs/base/common/errors",function(r,e){"use strict";function n(r){return void(a(r)||e.errorHandler.onUnexpectedError(r))}function t(r){return void(a(r)||e.errorHandler.onUnexpectedExternalError(r))}function o(r){if(r instanceof Error){var e=r.name,n=r.message,t=r.stacktrace||r.stack;return{$isError:!0,name:e,message:n,stack:t}}return r}function a(r){return r instanceof Error&&r.name===u&&r.message===u}function i(){var r=new Error(u);return r.name=r.message,r}function c(r){return new Error(r?"Illegal argument: "+r:"Illegal argument")}function s(r){return new Error(r?"Illegal state: "+r:"Illegal state")}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function r(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(function(){if(r.stack)throw new Error(r.message+"\n\n"+r.stack);throw r},0)}}return r.prototype.emit=function(r){this.listeners.forEach(function(e){e(r)})},r.prototype.onUnexpectedError=function(r){this.unexpectedErrorHandler(r),this.emit(r)},r.prototype.onUnexpectedExternalError=function(r){this.unexpectedErrorHandler(r)},r}();e.ErrorHandler=l,e.errorHandler=new l,e.onUnexpectedError=n,e.onUnexpectedExternalError=t,e.transformErrorForSerialization=o;var u="Canceled";e.isPromiseCanceledError=a,e.canceled=i,e.illegalArgument=c,e.illegalState=s});
;/*!node_modules/monaco-editor/esm/vs/base/common/functional.js*/
define("node_modules/monaco-editor/esm/vs/base/common/functional",function(e,n){"use strict";function o(e){var n,o=this,t=!1;return function(){return t?n:(t=!0,n=e.apply(o,arguments))}}Object.defineProperty(n,"__esModule",{value:!0}),n.once=o});
;/*!node_modules/monaco-editor/esm/vs/base/common/lifecycle.js*/
define("node_modules/monaco-editor/esm/vs/base/common/lifecycle",function(e,s){"use strict";function o(e){return"function"==typeof e.dispose&&0===e.dispose.length}function i(e){for(var s=[],o=1;o<arguments.length;o++)s[o-1]=arguments[o];return Array.isArray(e)?(e.forEach(function(e){return e&&e.dispose()}),[]):0===s.length?e?(e.dispose(),e):void 0:(i(e),i(s),[])}function t(e){return{dispose:function(){return i(e)}}}function n(e){return{dispose:function(){e()}}}Object.defineProperty(s,"__esModule",{value:!0}),s.isDisposable=o,s.dispose=i,s.combinedDisposable=t,s.toDisposable=n;var r=function(){function e(){this._toDispose=[],this._lifecycle_disposable_isDisposed=!1}return e.prototype.dispose=function(){this._lifecycle_disposable_isDisposed=!0,this._toDispose=i(this._toDispose)},e.prototype._register=function(e){return this._lifecycle_disposable_isDisposed?(console.warn("Registering disposable on object that has already been disposed."),e.dispose()):this._toDispose.push(e),e},e.None=Object.freeze({dispose:function(){}}),e}();s.Disposable=r;var c=function(){function e(e){this.object=e}return e.prototype.dispose=function(){},e}();s.ImmortalReference=c});
;/*!node_modules/monaco-editor/esm/vs/base/common/iterator.js*/
define("node_modules/monaco-editor/esm/vs/base/common/iterator",function(t,n){"use strict";function r(t){return Array.isArray(t)?n.Iterator.fromArray(t):t}Object.defineProperty(n,"__esModule",{value:!0});var e=this&&this.__extends||function(){var t=function(n,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])})(n,r)};return function(n,r){function e(){this.constructor=n}t(n,r),n.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}}();n.FIN={done:!0,value:void 0},function(t){function r(){return s}function e(t,r,e){return void 0===r&&(r=0),void 0===e&&(e=t.length),{next:function(){return r>=e?n.FIN:{done:!1,value:t[r++]}}}}function o(n){return n?Array.isArray(n)?t.fromArray(n):n:t.empty()}function i(t,r){return{next:function(){var e=t.next();return e.done?n.FIN:{done:!1,value:r(e.value)}}}}function u(t,r){return{next:function(){for(;;){var e=t.next();if(e.done)return n.FIN;if(r(e.value))return{done:!1,value:e.value}}}}}function a(t,n){for(var r=t.next();!r.done;r=t.next())n(r.value)}function c(t){var n=[];return a(t,function(t){return n.push(t)}),n}var s={next:function(){return n.FIN}};t.empty=r,t.fromArray=e,t.from=o,t.map=i,t.filter=u,t.forEach=a,t.collect=c}(n.Iterator||(n.Iterator={})),n.getSequenceIterator=r;var o=function(){function t(t,n,r,e){void 0===n&&(n=0),void 0===r&&(r=t.length),void 0===e&&(e=n-1),this.items=t,this.start=n,this.end=r,this.index=e}return t.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},t.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},t}();n.ArrayIterator=o;var i=function(t){function n(n,r,e,o){return void 0===r&&(r=0),void 0===e&&(e=n.length),void 0===o&&(o=r-1),t.call(this,n,r,e,o)||this}return e(n,t),n.prototype.current=function(){return t.prototype.current.call(this)},n.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},n.prototype.first=function(){return this.index=this.start,this.current()},n.prototype.last=function(){return this.index=this.end-1,this.current()},n.prototype.parent=function(){return null},n}(o);n.ArrayNavigator=i;var u=function(){function t(t,n){this.iterator=t,this.fn=n}return t.prototype.next=function(){return this.fn(this.iterator.next())},t}();n.MappedIterator=u});
;/*!node_modules/monaco-editor/esm/vs/base/common/linkedList.js*/
define("node_modules/monaco-editor/esm/vs/base/common/linkedList",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/base/common/iterator"),i=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),r=function(){function e(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===i.Undefined},e.prototype.clear=function(){this._first=i.Undefined,this._last=i.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,t){var n=this,r=new i(e);if(this._first===i.Undefined)this._first=r,this._last=r;else if(t){var s=this._last;this._last=r,r.prev=s,s.next=r}else{var f=this._first;this._first=r,r.next=f,f.prev=r}this._size+=1;var o=!1;return function(){o||(o=!0,n._remove(r))}},e.prototype.shift=function(){if(this._first===i.Undefined)return void 0;var e=this._first.element;return this._remove(this._first),e},e.prototype._remove=function(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1},e.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t===i.Undefined?n.FIN:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}},e.prototype.toArray=function(){for(var e=[],t=this._first;t!==i.Undefined;t=t.next)e.push(t.element);return e},e}();t.LinkedList=r});
;/*!node_modules/monaco-editor/esm/vs/base/common/event.js*/
define("node_modules/monaco-editor/esm/vs/base/common/event",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),r=e("node_modules/monaco-editor/esm/vs/base/common/functional"),o=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=e("node_modules/monaco-editor/esm/vs/base/common/linkedList");!function(e){function t(e){return function(t,n,i){void 0===n&&(n=null);var r,o=!1;return r=e(function(e){return o?void 0:(r?r.dispose():o=!0,t.call(n,e))},null,i),o&&r.dispose(),r}}function n(e,t){return a(function(n,i,r){return void 0===i&&(i=null),e(function(e){return n.call(i,t(e))},null,r)})}function i(e,t){return a(function(n,i,r){return void 0===i&&(i=null),e(function(e){t(e),n.call(i,e)},null,r)})}function r(e,t){return a(function(n,i,r){return void 0===i&&(i=null),e(function(e){return t(e)&&n.call(i,e)},null,r)})}function s(e){return e}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,i){return void 0===n&&(n=null),o.combinedDisposable(e.map(function(e){return e(function(e){return t.call(n,e)},null,i)}))}}function c(e,t,i){var r=i;return n(e,function(e){return r=t(r,e)})}function a(e){var t,n=new f({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function h(e,t,n,i,r){void 0===n&&(n=100),void 0===i&&(i=!1);var o,s=void 0,u=void 0,c=0,a=new f({leakWarningThreshold:r,onFirstListenerAdd:function(){o=e(function(e){c++,s=t(s,e),i&&!u&&a.fire(s),clearTimeout(u),u=setTimeout(function(){var e=s;s=void 0,u=void 0,(!i||c>1)&&a.fire(e),c=0},n)})},onLastListenerRemove:function(){o.dispose()}});return a.event}function p(e){var i=(new Date).getTime();return n(t(e),function(){return(new Date).getTime()-i})}function v(e){var t,n=!0;return r(e,function(e){var i=n||e!==t;return n=!1,t=e,i})}function l(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=[]);var i=n.slice(),r=e(function(e){i?i.push(e):s.fire(e)}),o=function(){i&&i.forEach(function(e){return s.fire(e)}),i=null},s=new f({onFirstListenerAdd:function(){r||(r=e(function(e){return s.fire(e)}))},onFirstListenerDidAdd:function(){i&&(t?setTimeout(o):o())},onLastListenerRemove:function(){r&&r.dispose(),r=null}});return s.event}function d(e){return new w(e)}function _(e,t,n){void 0===n&&(n=function(e){return e});var i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.fire(n.apply(void 0,e))},r=function(){return e.on(t,i)},o=function(){return e.removeListener(t,i)},s=new f({onFirstListenerAdd:r,onLastListenerRemove:o});return s.event}function m(e){var t=new f,n=!1;return e.then(void 0,function(){return null}).then(function(){n?t.fire(void 0):setTimeout(function(){return t.fire(void 0)},0)}),n=!0,t.event}function y(e){return new Promise(function(n){return t(e)(n)})}var L={dispose:function(){}};e.None=function(){return L},e.once=t,e.map=n,e.forEach=i,e.filter=r,e.signal=s,e.any=u,e.reduce=c,e.snapshot=a,e.debounce=h,e.stopwatch=p,e.latch=v,e.buffer=l;var w=function(){function e(e){this.event=e}return e.prototype.map=function(t){return new e(n(this.event,t))},e.prototype.forEach=function(t){return new e(i(this.event,t))},e.prototype.filter=function(t){return new e(r(this.event,t))},e.prototype.reduce=function(t,n){return new e(c(this.event,t,n))},e.prototype.latch=function(){return new e(v(this.event))},e.prototype.on=function(e,t,n){return this.event(e,t,n)},e.prototype.once=function(e,n,i){return t(this.event)(e,n,i)},e}();e.chain=d,e.fromNodeEventEmitter=_,e.fromPromise=m,e.toPromise=y}(t.Event||(t.Event={}));var u=-1,c=function(){function e(e,t){void 0===t&&(t=Math.random().toString(18).slice(2,5)),this.customThreshold=e,this.name=t,this._warnCountdown=0}return e.prototype.dispose=function(){this._stacks&&this._stacks.clear()},e.prototype.check=function(e){var t=this,n=u;if("number"==typeof this.customThreshold&&(n=this.customThreshold),0>=n||n>e)return void 0;this._stacks||(this._stacks=new Map);var i=(new Error).stack.split("\n").slice(3).join("\n"),r=this._stacks.get(i)||0;if(this._stacks.set(i,r+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=.5*n;var o,s=0;this._stacks.forEach(function(e,t){(!o||e>s)&&(o=t,s=e)}),console.warn("["+this.name+"] potential listener LEAK detected, having "+e+" listeners already. MOST frequent listener ("+s+"):"),console.warn(o)}return function(){var e=t._stacks.get(i)||0;t._stacks.set(i,e-1)}},e}(),f=function(){function e(e){this._disposed=!1,this._options=e,this._leakageMon=u>0?new c(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(n,i,r){t._listeners||(t._listeners=new s.LinkedList);var o=t._listeners.isEmpty();o&&t._options&&t._options.onFirstListenerAdd&&t._options.onFirstListenerAdd(t);var u=t._listeners.push(i?[n,i]:n);o&&t._options&&t._options.onFirstListenerDidAdd&&t._options.onFirstListenerDidAdd(t),t._options&&t._options.onListenerDidAdd&&t._options.onListenerDidAdd(t,n,i);var c;t._leakageMon&&(c=t._leakageMon.check(t._listeners.size));var f;return f={dispose:function(){if(c&&c(),f.dispose=e._noop,!t._disposed&&(u(),t._options&&t._options.onLastListenerRemove)){var n=t._listeners&&!t._listeners.isEmpty();n||t._options.onLastListenerRemove(t)}}},Array.isArray(r)&&r.push(f),f}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s.LinkedList);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;this._deliveryQueue.size>0;){var r=this._deliveryQueue.shift(),o=r[0],u=r[1];try{"function"==typeof o?o.call(void 0,u):o[0].call(o[1],u)}catch(n){i.onUnexpectedError(n)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}();t.Emitter=f;var a=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaused=0,n._eventQueue=new s.LinkedList,n._mergeFn=t&&t.merge,n}return n(t,e),t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){var t=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(t))}else for(;!this._isPaused&&0!==this._eventQueue.size;)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(t){this._listeners&&(0!==this._isPaused?this._eventQueue.push(t):e.prototype.fire.call(this,t))},t}(f);t.PauseableEmitter=a;var h=function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new f({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}return Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);var i=function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)};return o.toDisposable(r.once(i))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach(function(t){return e.hook(t)})},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach(function(t){return e.unhook(t)})},e.prototype.hook=function(e){var t=this;e.listener=e.event(function(e){return t.emitter.fire(e)})},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()},e}();t.EventMultiplexer=h;var p=function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(e){var t=this;return function(n,i,r){return e(function(e){var r=t.buffers[t.buffers.length-1];r?r.push(function(){return n.call(i,e)}):n.call(i,e)},void 0,r)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach(function(e){return e()}),n},e}();t.EventBufferer=p;var v=function(){function e(){var e=this;this.listening=!1,this.inputEvent=t.Event.None,this.inputEventListener=o.Disposable.None,this.emitter=new f({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},e}();t.Relay=v});
;/*!node_modules/monaco-editor/esm/vs/base/common/cancellation.js*/
define("node_modules/monaco-editor/esm/vs/base/common/cancellation",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/base/common/event"),o=Object.freeze(function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}});!function(e){function t(t){return t===e.None||t===e.Cancelled?!0:t instanceof i?!0:t&&"object"==typeof t?"boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested:!1}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:n.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o})}(t.CancellationToken||(t.CancellationToken={}));var i=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?o:(this._emitter||(this._emitter=new n.Emitter),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),s=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new i),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof i&&this._token.cancel():this._token=t.CancellationToken.Cancelled},e.prototype.dispose=function(){this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof i&&this._token.dispose():this._token=t.CancellationToken.None},e}();t.CancellationTokenSource=s});
;/*!node_modules/monaco-editor/esm/vs/base/common/keyCodes.js*/
define("node_modules/monaco-editor/esm/vs/base/common/keyCodes",function(e,t){"use strict";function o(e,t){var o=(65535&t)<<16>>>0;return(e|o)>>>0}function n(e,t){if(0===e)return null;var o=(65535&e)>>>0,n=(4294901760&e)>>>16;return new c(0!==n?[r(o,t),r(n,t)]:[r(o,t)])}function r(e,t){var o=2048&e?!0:!1,n=256&e?!0:!1,r=2===t?n:o,i=1024&e?!0:!1,s=512&e?!0:!1,u=2===t?o:n,a=255&e;return new y(r,i,s,u,a)}Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),s=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),u=new s,a=new s,d=new s;!function(){function e(e,t,o,n){void 0===o&&(o=t),void 0===n&&(n=o),u.define(e,t),a.define(e,o),d.define(e,n)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){function t(e){return u.keyCodeToStr(e)}function o(e){return u.strToKeyCode(e)}function n(e){return a.keyCodeToStr(e)}function r(e){return d.keyCodeToStr(e)}function i(e){return a.strToKeyCode(e)||d.strToKeyCode(e)}e.toString=t,e.fromString=o,e.toUserSettingsUS=n,e.toUserSettingsGeneral=r,e.fromUserSettings=i}(t.KeyCodeUtils||(t.KeyCodeUtils={})),t.KeyChord=o,t.createKeybinding=n,t.createSimpleKeybinding=r;var y=function(){function e(e,t,o,n,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=o,this.metaKey=n,this.keyCode=r}return e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new c([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode},e}();t.SimpleKeybinding=y;var c=function(){function e(e){if(0===e.length)throw i.illegalArgument("parts");this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var t=0;t<this.parts.length;t++)if(!this.parts[t].equals(e.parts[t]))return!1;return!0},e}();t.ChordKeybinding=c;var h=function(){function e(e,t,o,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=o,this.metaKey=n,this.keyLabel=r,this.keyAriaLabel=i}return e}();t.ResolvedKeybindingPart=h;var f=function(){function e(){}return e}();t.ResolvedKeybinding=f});
;/*!node_modules/monaco-editor/esm/vs/base/common/uri.js*/
define("node_modules/monaco-editor/esm/vs/base/common/uri",function(t,e){"use strict";function r(t,e){if(!t.scheme){if(e||y)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+t.authority+'", path: "'+t.path+'", query: "'+t.query+'", fragment: "'+t.fragment+'"}');console.warn('[UriError]: Scheme is missing: {scheme: "", authority: "'+t.authority+'", path: "'+t.path+'", query: "'+t.query+'", fragment: "'+t.fragment+'"}')}if(t.scheme&&!p.test(t.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(t.path)if(t.authority){if(!m.test(t.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}function o(t,e){return e||y?t||l:(t||(console.trace("BAD uri lacks scheme, falling back to file-scheme."),t="file"),t)}function n(t,e){switch(t){case"https":case"http":case"file":e?e[0]!==g&&(e=g+e):e=g}return e}function i(t,e){for(var r=void 0,o=-1,n=0;n<t.length;n++){var i=t.charCodeAt(n);if(i>=97&&122>=i||i>=65&&90>=i||i>=48&&57>=i||45===i||46===i||95===i||126===i||e&&47===i)-1!==o&&(r+=encodeURIComponent(t.substring(o,n)),o=-1),void 0!==r&&(r+=t.charAt(n));else{void 0===r&&(r=t.substr(0,n));var h=_[i];void 0!==h?(-1!==o&&(r+=encodeURIComponent(t.substring(o,n)),o=-1),r+=h):-1===o&&(o=n)}}return-1!==o&&(r+=encodeURIComponent(t.substring(o))),void 0!==r?r:t}function h(t){for(var e=void 0,r=0;r<t.length;r++){var o=t.charCodeAt(r);35===o||63===o?(void 0===e&&(e=t.substr(0,r)),e+=_[o]):void 0!==e&&(e+=t[r])}return void 0!==e?e:t}function s(t){var e;return e=t.authority&&t.path.length>1&&"file"===t.scheme?"//"+t.authority+t.path:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&58===t.path.charCodeAt(2)?t.path[1].toLowerCase()+t.path.substr(2):t.path,c.isWindows&&(e=e.replace(/\//g,"\\")),e}function a(t,e){var r=e?h:i,o="",n=t.scheme,s=t.authority,a=t.path,u=t.query,f=t.fragment;if(n&&(o+=n,o+=":"),(s||"file"===n)&&(o+=g,o+=g),s){var c=s.indexOf("@");if(-1!==c){var p=s.substr(0,c);s=s.substr(c+1),c=p.indexOf(":"),-1===c?o+=r(p,!1):(o+=r(p.substr(0,c),!1),o+=":",o+=r(p.substr(c+1),!1)),o+="@"}s=s.toLowerCase(),c=s.indexOf(":"),-1===c?o+=r(s,!1):(o+=r(s.substr(0,c),!1),o+=s.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){var m=a.charCodeAt(1);m>=65&&90>=m&&(a="/"+String.fromCharCode(m+32)+":"+a.substr(3))}else if(a.length>=2&&58===a.charCodeAt(1)){var m=a.charCodeAt(0);m>=65&&90>=m&&(a=String.fromCharCode(m+32)+":"+a.substr(2))}o+=r(a,!0)}return u&&(o+="?",o+=r(u,!1)),f&&(o+="#",o+=e?f:i(f,!1)),o}Object.defineProperty(e,"__esModule",{value:!0});var u,f=this&&this.__extends||function(){var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),c=t("node_modules/monaco-editor/esm/vs/base/common/platform"),p=/^\w[\w\d+.-]*$/,m=/^\//,d=/^\/\//,y=!0,l="",g="/",v=/^(([^:\/?#]+?):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,b=function(){function t(t,e,i,h,s,a){void 0===a&&(a=!1),"object"==typeof t?(this.scheme=t.scheme||l,this.authority=t.authority||l,this.path=t.path||l,this.query=t.query||l,this.fragment=t.fragment||l):(this.scheme=o(t,a),this.authority=e||l,this.path=n(this.scheme,i||l),this.query=h||l,this.fragment=s||l,r(this,a))}return t.isUri=function(e){return e instanceof t?!0:e?"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString:!1},Object.defineProperty(t.prototype,"fsPath",{get:function(){return s(this)},enumerable:!0,configurable:!0}),t.prototype.with=function(t){if(!t)return this;var e=t.scheme,r=t.authority,o=t.path,n=t.query,i=t.fragment;return void 0===e?e=this.scheme:null===e&&(e=l),void 0===r?r=this.authority:null===r&&(r=l),void 0===o?o=this.path:null===o&&(o=l),void 0===n?n=this.query:null===n&&(n=l),void 0===i?i=this.fragment:null===i&&(i=l),e===this.scheme&&r===this.authority&&o===this.path&&n===this.query&&i===this.fragment?this:new w(e,r,o,n,i)},t.parse=function(t,e){void 0===e&&(e=!1);var r=v.exec(t);return r?new w(r[2]||l,decodeURIComponent(r[4]||l),decodeURIComponent(r[5]||l),decodeURIComponent(r[7]||l),decodeURIComponent(r[9]||l),e):new w(l,l,l,l,l)},t.file=function(t){var e=l;if(c.isWindows&&(t=t.replace(/\\/g,g)),t[0]===g&&t[1]===g){var r=t.indexOf(g,2);-1===r?(e=t.substring(2),t=g):(e=t.substring(2,r),t=t.substring(r)||g)}return new w("file",e,t,l,l)},t.from=function(t){return new w(t.scheme,t.authority,t.path,t.query,t.fragment)},t.prototype.toString=function(t){return void 0===t&&(t=!1),a(this,t)},t.prototype.toJSON=function(){return this},t.revive=function(e){if(e){if(e instanceof t)return e;var r=new w(e);return r._fsPath=e.fsPath,r._formatted=e.external,r}return e},t}();e.URI=b;var w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._formatted=null,e._fsPath=null,e}return f(e,t),Object.defineProperty(e.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=s(this)),this._fsPath},enumerable:!0,configurable:!0}),e.prototype.toString=function(t){return void 0===t&&(t=!1),t?a(this,!0):(this._formatted||(this._formatted=a(this,!1)),this._formatted)},e.prototype.toJSON=function(){var t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t},e}(b),_=(u={},u[58]="%3A",u[47]="%2F",u[63]="%3F",u[35]="%23",u[91]="%5B",u[93]="%5D",u[64]="%40",u[33]="%21",u[36]="%24",u[38]="%26",u[39]="%27",u[40]="%28",u[41]="%29",u[42]="%2A",u[43]="%2B",u[44]="%2C",u[59]="%3B",u[61]="%3D",u[32]="%20",u)});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/position.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/position",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,n){this.lineNumber=e,this.column=n}return e.prototype.with=function(n,i){return void 0===n&&(n=this.lineNumber),void 0===i&&(i=this.column),n===this.lineNumber&&i===this.column?this:new e(n,i)},e.prototype.delta=function(e,n){return void 0===e&&(e=0),void 0===n&&(n=0),this.with(this.lineNumber+e,this.column+n)},e.prototype.equals=function(n){return e.equals(this,n)},e.equals=function(e,n){return e||n?!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column:!0},e.prototype.isBefore=function(n){return e.isBefore(this,n)},e.isBefore=function(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<n.column},e.prototype.isBeforeOrEqual=function(n){return e.isBeforeOrEqual(this,n)},e.isBeforeOrEqual=function(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<=n.column},e.compare=function(e,n){var i=0|e.lineNumber,r=0|n.lineNumber;if(i===r){var t=0|e.column,u=0|n.column;return t-u}return i-r},e.prototype.clone=function(){return new e(this.lineNumber,this.column)},e.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},e.lift=function(n){return new e(n.lineNumber,n.column)},e.isIPosition=function(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column},e}();n.Position=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/range.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/range",function(n,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=n("node_modules/monaco-editor/esm/vs/editor/common/core/position"),r=function(){function n(n,e,t,r){n>t||n===t&&e>r?(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=n,this.endColumn=e):(this.startLineNumber=n,this.startColumn=e,this.endLineNumber=t,this.endColumn=r)}return n.prototype.isEmpty=function(){return n.isEmpty(this)},n.isEmpty=function(n){return n.startLineNumber===n.endLineNumber&&n.startColumn===n.endColumn},n.prototype.containsPosition=function(e){return n.containsPosition(this,e)},n.containsPosition=function(n,e){return e.lineNumber<n.startLineNumber||e.lineNumber>n.endLineNumber?!1:e.lineNumber===n.startLineNumber&&e.column<n.startColumn?!1:e.lineNumber===n.endLineNumber&&e.column>n.endColumn?!1:!0},n.prototype.containsRange=function(e){return n.containsRange(this,e)},n.containsRange=function(n,e){return e.startLineNumber<n.startLineNumber||e.endLineNumber<n.startLineNumber?!1:e.startLineNumber>n.endLineNumber||e.endLineNumber>n.endLineNumber?!1:e.startLineNumber===n.startLineNumber&&e.startColumn<n.startColumn?!1:e.endLineNumber===n.endLineNumber&&e.endColumn>n.endColumn?!1:!0},n.prototype.plusRange=function(e){return n.plusRange(this,e)},n.plusRange=function(e,t){var r,u,i,o;return t.startLineNumber<e.startLineNumber?(r=t.startLineNumber,u=t.startColumn):t.startLineNumber===e.startLineNumber?(r=t.startLineNumber,u=Math.min(t.startColumn,e.startColumn)):(r=e.startLineNumber,u=e.startColumn),t.endLineNumber>e.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,o=e.endColumn),new n(r,u,i,o)},n.prototype.intersectRanges=function(e){return n.intersectRanges(this,e)},n.intersectRanges=function(e,t){var r=e.startLineNumber,u=e.startColumn,i=e.endLineNumber,o=e.endColumn,m=t.startLineNumber,s=t.startColumn,a=t.endLineNumber,b=t.endColumn;return m>r?(r=m,u=s):r===m&&(u=Math.max(u,s)),i>a?(i=a,o=b):i===a&&(o=Math.min(o,b)),r>i?null:r===i&&u>o?null:new n(r,u,i,o)},n.prototype.equalsRange=function(e){return n.equalsRange(this,e)},n.equalsRange=function(n,e){return!!n&&!!e&&n.startLineNumber===e.startLineNumber&&n.startColumn===e.startColumn&&n.endLineNumber===e.endLineNumber&&n.endColumn===e.endColumn},n.prototype.getEndPosition=function(){return new t.Position(this.endLineNumber,this.endColumn)},n.prototype.getStartPosition=function(){return new t.Position(this.startLineNumber,this.startColumn)},n.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},n.prototype.setEndPosition=function(e,t){return new n(this.startLineNumber,this.startColumn,e,t)},n.prototype.setStartPosition=function(e,t){return new n(e,t,this.endLineNumber,this.endColumn)},n.prototype.collapseToStart=function(){return n.collapseToStart(this)},n.collapseToStart=function(e){return new n(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)},n.fromPositions=function(e,t){return void 0===t&&(t=e),new n(e.lineNumber,e.column,t.lineNumber,t.column)},n.lift=function(e){return e?new n(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null},n.isIRange=function(n){return n&&"number"==typeof n.startLineNumber&&"number"==typeof n.startColumn&&"number"==typeof n.endLineNumber&&"number"==typeof n.endColumn},n.areIntersectingOrTouching=function(n,e){return n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn?!1:e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn?!1:!0},n.areIntersecting=function(n,e){return n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<=e.startColumn?!1:e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<=n.startColumn?!1:!0},n.compareRangesUsingStarts=function(n,e){if(n&&e){var t=0|n.startLineNumber,r=0|e.startLineNumber;if(t===r){var u=0|n.startColumn,i=0|e.startColumn;if(u===i){var o=0|n.endLineNumber,m=0|e.endLineNumber;if(o===m){var s=0|n.endColumn,a=0|e.endColumn;return s-a}return o-m}return u-i}return t-r}var b=n?1:0,l=e?1:0;return b-l},n.compareRangesUsingEnds=function(n,e){return n.endLineNumber===e.endLineNumber?n.endColumn===e.endColumn?n.startLineNumber===e.startLineNumber?n.startColumn-e.startColumn:n.startLineNumber-e.startLineNumber:n.endColumn-e.endColumn:n.endLineNumber-e.endLineNumber},n.spansMultipleLines=function(n){return n.endLineNumber>n.startLineNumber},n}();e.Range=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/selection.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/selection",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),o=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),i=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),r=function(t){function e(e,n,o,i){var r=t.call(this,e,n,o,i)||this;return r.selectionStartLineNumber=e,r.selectionStartColumn=n,r.positionLineNumber=o,r.positionColumn=i,r}return n(e,t),e.prototype.clone=function(){return new e(this.selectionStartLineNumber,this.selectionStartColumn,this.positionLineNumber,this.positionColumn)},e.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},e.prototype.equalsSelection=function(t){return e.selectionsEqual(this,t)},e.selectionsEqual=function(t,e){return t.selectionStartLineNumber===e.selectionStartLineNumber&&t.selectionStartColumn===e.selectionStartColumn&&t.positionLineNumber===e.positionLineNumber&&t.positionColumn===e.positionColumn},e.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},e.prototype.setEndPosition=function(t,n){return 0===this.getDirection()?new e(this.startLineNumber,this.startColumn,t,n):new e(t,n,this.startLineNumber,this.startColumn)},e.prototype.getPosition=function(){return new o.Position(this.positionLineNumber,this.positionColumn)},e.prototype.setStartPosition=function(t,n){return 0===this.getDirection()?new e(t,n,this.endLineNumber,this.endColumn):new e(this.endLineNumber,this.endColumn,t,n)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.liftSelection=function(t){return new e(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)},e.selectionsArrEqual=function(t,e){if(t&&!e||!t&&e)return!1;if(!t&&!e)return!0;if(t.length!==e.length)return!1;for(var n=0,o=t.length;o>n;n++)if(!this.selectionsEqual(t[n],e[n]))return!1;return!0},e.isISelection=function(t){return t&&"number"==typeof t.selectionStartLineNumber&&"number"==typeof t.selectionStartColumn&&"number"==typeof t.positionLineNumber&&"number"==typeof t.positionColumn},e.createWithDirection=function(t,n,o,i,r){return 0===r?new e(t,n,o,i):new e(o,i,t,n)},e}(i.Range);e.Selection=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/token.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/token",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e,n){this.offset=0|t,this.type=e,this.language=n}return t.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},t}();e.Token=n;var o=function(){function t(t,e){this.tokens=t,this.endState=e}return t}();e.TokenizationResult=o;var i=function(){function t(t,e){this.tokens=t,this.endState=e}return t}();e.TokenizationResult2=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){e[e.Unnecessary=1]="Unnecessary"}(n.MarkerTag||(n.MarkerTag={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(n.MarkerSeverity||(n.MarkerSeverity={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(n.KeyCode||(n.KeyCode={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(n.SelectionDirection||(n.SelectionDirection={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(n.ScrollbarVisibility||(n.ScrollbarVisibility={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(n.OverviewRulerLane||(n.OverviewRulerLane={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(n.EndOfLinePreference||(n.EndOfLinePreference={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(n.DefaultEndOfLine||(n.DefaultEndOfLine={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(n.EndOfLineSequence||(n.EndOfLineSequence={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(n.TrackedRangeStickiness||(n.TrackedRangeStickiness={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(n.ScrollType||(n.ScrollType={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(n.CursorChangeReason||(n.CursorChangeReason={})),function(e){e[e.None=0]="None",e[e.Small=1]="Small",e[e.Large=2]="Large",e[e.SmallBlocks=3]="SmallBlocks",e[e.LargeBlocks=4]="LargeBlocks"}(n.RenderMinimap||(n.RenderMinimap={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(n.WrappingIndent||(n.WrappingIndent={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(n.TextEditorCursorBlinkingStyle||(n.TextEditorCursorBlinkingStyle={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(n.TextEditorCursorStyle||(n.TextEditorCursorStyle={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(n.RenderLineNumbersType||(n.RenderLineNumbersType={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(n.ContentWidgetPositionPreference||(n.ContentWidgetPositionPreference={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(n.OverlayWidgetPositionPreference||(n.OverlayWidgetPositionPreference={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(n.MouseTargetType||(n.MouseTargetType={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(n.IndentAction||(n.IndentAction={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.Snippet=25]="Snippet"}(n.CompletionItemKind||(n.CompletionItemKind={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(n.CompletionItemInsertTextRule||(n.CompletionItemInsertTextRule={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(n.CompletionTriggerKind||(n.CompletionTriggerKind={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(n.SignatureHelpTriggerKind||(n.SignatureHelpTriggerKind={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(n.DocumentHighlightKind||(n.DocumentHighlightKind={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(n.SymbolKind||(n.SymbolKind={}))});
;/*!node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneBase.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneBase",function(o,e){"use strict";function n(){return{editor:void 0,languages:void 0,CancellationTokenSource:m.CancellationTokenSource,Emitter:d.Emitter,KeyCode:u.KeyCode,KeyMod:v,Position:s.Position,Range:a.Range,Selection:c.Selection,SelectionDirection:u.SelectionDirection,MarkerSeverity:u.MarkerSeverity,MarkerTag:u.MarkerTag,Uri:r.URI,Token:l.Token}}Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib");o("node_modules/monaco-editor/esm/vs/editor/common/standalone/promise-polyfill/polyfill");var m=o("node_modules/monaco-editor/esm/vs/base/common/cancellation"),d=o("node_modules/monaco-editor/esm/vs/base/common/event"),i=o("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),r=o("node_modules/monaco-editor/esm/vs/base/common/uri"),s=o("node_modules/monaco-editor/esm/vs/editor/common/core/position"),a=o("node_modules/monaco-editor/esm/vs/editor/common/core/range"),c=o("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),l=o("node_modules/monaco-editor/esm/vs/editor/common/core/token"),u=t.__importStar(o("node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums")),v=function(){function o(){}return o.chord=function(o,e){return i.KeyChord(o,e)},o.CtrlCmd=2048,o.Shift=1024,o.Alt=512,o.WinCtrl=256,o}();e.KeyMod=v,e.createMonacoBaseAPI=n});
;/*!node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js*/
define("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation",function(e,t){"use strict";function n(e,n,i,r){n[t._util.DI_TARGET]===n?n[t._util.DI_DEPENDENCIES].push({id:e,index:i,optional:r}):(n[t._util.DI_DEPENDENCIES]=[{id:e,index:i,optional:r}],n[t._util.DI_TARGET]=n)}function i(e){if(t._util.serviceIds.has(e))return t._util.serviceIds.get(e);var i=function(e,t,r){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");n(i,e,r,!1)};return i.toString=function(){return e},t._util.serviceIds.set(e,i),i}function r(e){return function(t,i,r){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");n(e,t,r,!0)}}Object.defineProperty(t,"__esModule",{value:!0}),function(e){function t(t){return t[e.DI_DEPENDENCIES]||[]}e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=t}(t._util||(t._util={})),t.IInstantiationService=i("instantiationService"),t.createDecorator=i,t.optional=r});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.ICodeEditorService=i.createDecorator("codeEditorService")});
;/*!node_modules/monaco-editor/esm/vs/base/browser/browser.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/browser",function(e,i){"use strict";function o(){return d.INSTANCE.getZoomLevel()}function t(){return d.INSTANCE.getTimeSinceLastZoomLevelChanged()}function n(e){return d.INSTANCE.onDidChangeZoomLevel(e)}function r(){return d.INSTANCE.getPixelRatio()}function a(){if(i.isIE)return!1;if(i.isEdge){var e=m.indexOf("Edge/"),o=parseInt(m.substring(e+5,m.indexOf(".",e)),10);if(!o||o>=12&&16>=o)return!1}return!0}Object.defineProperty(i,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/base/common/event"),d=function(){function e(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new s.Emitter,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.getTimeSinceLastZoomLevelChanged=function(){return Date.now()-this._lastZoomLevelChangeTime},e.prototype.getPixelRatio=function(){var e=document.createElement("canvas").getContext("2d"),i=window.devicePixelRatio||1,o=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return i/o},e.INSTANCE=new e,e}();i.getZoomLevel=o,i.getTimeSinceLastZoomLevelChanged=t,i.onDidChangeZoomLevel=n,i.getPixelRatio=r;var m=navigator.userAgent;i.isIE=m.indexOf("Trident")>=0,i.isEdge=m.indexOf("Edge/")>=0,i.isEdgeOrIE=i.isIE||i.isEdge,i.isFirefox=m.indexOf("Firefox")>=0,i.isWebKit=m.indexOf("AppleWebKit")>=0,i.isChrome=m.indexOf("Chrome")>=0,i.isSafari=!i.isChrome&&m.indexOf("Safari")>=0,i.isWebkitWebView=!i.isChrome&&!i.isSafari&&i.isWebKit,i.isIPad=m.indexOf("iPad")>=0,i.isEdgeWebView=i.isEdge&&m.indexOf("WebView/")>=0,i.hasClipboardSupport=a});
;/*!node_modules/monaco-editor/esm/vs/base/browser/event.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/event",function(e,n){"use strict";function t(e){return o.Event.map(e,function(e){return e.preventDefault(),e.stopPropagation(),e})}Object.defineProperty(n,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/event");n.domEvent=function(e,n,t){var r=function(e){return i.fire(e)},i=new o.Emitter({onFirstListenerAdd:function(){e.addEventListener(n,r,t)},onLastListenerRemove:function(){e.removeEventListener(n,r,t)}});return i.event},n.stop=t});
;/*!node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent",function(e,t){"use strict";function i(e){if(e.charCode){var t=String.fromCharCode(e.charCode).toUpperCase();return n.KeyCodeUtils.fromString(t)}return a[e.keyCode]||0}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),s=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),n=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),r=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),a=new Array(230),h=new Array(112);!function(){function e(e,t){a[e]=t,h[t]=e}for(var t=0;t<h.length;t++)h[t]=-1;e(3,7),e(8,1),e(9,2),e(13,3),e(16,4),e(17,5),e(18,6),e(19,7),e(20,8),e(27,9),e(32,10),e(33,11),e(34,12),e(35,13),e(36,14),e(37,15),e(38,16),e(39,17),e(40,18),e(45,19),e(46,20),e(48,21),e(49,22),e(50,23),e(51,24),e(52,25),e(53,26),e(54,27),e(55,28),e(56,29),e(57,30),e(65,31),e(66,32),e(67,33),e(68,34),e(69,35),e(70,36),e(71,37),e(72,38),e(73,39),e(74,40),e(75,41),e(76,42),e(77,43),e(78,44),e(79,45),e(80,46),e(81,47),e(82,48),e(83,49),e(84,50),e(85,51),e(86,52),e(87,53),e(88,54),e(89,55),e(90,56),e(93,58),e(96,93),e(97,94),e(98,95),e(99,96),e(100,97),e(101,98),e(102,99),e(103,100),e(104,101),e(105,102),e(106,103),e(107,104),e(108,105),e(109,106),e(110,107),e(111,108),e(112,59),e(113,60),e(114,61),e(115,62),e(116,63),e(117,64),e(118,65),e(119,66),e(120,67),e(121,68),e(122,69),e(123,70),e(124,71),e(125,72),e(126,73),e(127,74),e(128,75),e(129,76),e(130,77),e(144,78),e(145,79),e(186,80),e(187,81),e(188,82),e(189,83),e(190,84),e(191,85),e(192,86),e(193,110),e(194,111),e(219,87),e(220,88),e(221,89),e(222,90),e(223,91),e(226,92),e(229,109),s.isIE?e(91,57):s.isFirefox?(e(59,80),e(107,81),e(109,83),r.isMacintosh&&e(224,57)):s.isWebKit&&(e(91,57),r.isMacintosh?e(93,57):e(92,57))}();var y=r.isMacintosh?256:2048,d=512,u=1024,c=r.isMacintosh?2048:256,K=function(){function e(e){this._standardKeyboardEventBrand=!0;var t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=i(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}return e.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e.prototype.toKeybinding=function(){return this._asRuntimeKeybinding},e.prototype.equals=function(e){return this._asKeybinding===e},e.prototype._computeKeybinding=function(){var e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);var t=0;return this.ctrlKey&&(t|=y),this.altKey&&(t|=d),this.shiftKey&&(t|=u),this.metaKey&&(t|=c),t|=e},e.prototype._computeRuntimeKeybinding=function(){var e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new n.SimpleKeybinding(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)},e}();t.StandardKeyboardEvent=K});
;/*!node_modules/monaco-editor/esm/vs/base/browser/iframe.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/iframe",function(e,n){"use strict";function t(e){if(!e.parent||e.parent===e)return null;try{var n=e.location,t=e.parent.location;if(n.protocol!==t.protocol||n.hostname!==t.hostname||n.port!==t.port)return i=!0,null}catch(r){return i=!0,null}return e.parent}function r(e,n){for(var t,r=e.document.getElementsByTagName("iframe"),i=0,o=r.length;o>i;i++)if(t=r[i],t.contentWindow===n)return t;return null}Object.defineProperty(n,"__esModule",{value:!0});var i=!1,o=null,a=function(){function e(){}return e.getSameOriginWindowChain=function(){if(!o){o=[];var e,n=window;do e=t(n),o.push(e?{window:n,iframeElement:r(e,n)}:{window:n,iframeElement:null}),n=e;while(n)}return o.slice(0)},e.hasDifferentOriginAncestor=function(){return o||this.getSameOriginWindowChain(),i},e.getPositionOfChildWindowRelativeToAncestorWindow=function(e,n){if(!n||e===n)return{top:0,left:0};for(var t=0,r=0,i=this.getSameOriginWindowChain(),o=0,a=i;o<a.length;o++){var l=a[o];if(l.window===n)break;if(!l.iframeElement)break;var f=l.iframeElement.getBoundingClientRect();t+=f.top,r+=f.left}return{top:t,left:r}},e}();n.IframeUtils=a});
;/*!node_modules/monaco-editor/esm/vs/base/browser/mouseEvent.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/browser")),r=t("node_modules/monaco-editor/esm/vs/base/browser/iframe"),i=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/platform")),a=function(){function t(t){this.timestamp=Date.now(),this.browserEvent=t,this.leftButton=0===t.button,this.middleButton=1===t.button,this.rightButton=2===t.button,this.target=t.target,this.detail=t.detail||1,"dblclick"===t.type&&(this.detail=2),this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,"number"==typeof t.pageX?(this.posx=t.pageX,this.posy=t.pageY):(this.posx=t.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=t.clientY+document.body.scrollTop+document.documentElement.scrollTop);var e=r.IframeUtils.getPositionOfChildWindowRelativeToAncestorWindow(self,t.view);this.posx-=e.left,this.posy-=e.top}return t.prototype.preventDefault=function(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},t.prototype.stopPropagation=function(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},t}();e.StandardMouseEvent=a;var l=function(t){function e(e){var o=t.call(this,e)||this;return o.dataTransfer=e.dataTransfer,o}return n(e,t),e}(a);e.DragMouseEvent=l;var d=function(){function t(t,e,o){if(void 0===e&&(e=0),void 0===o&&(o=0),this.browserEvent=t||null,this.target=t?t.target||t.targetNode||t.srcElement:null,this.deltaY=o,this.deltaX=e,t){var n=t,r=t;"undefined"!=typeof n.wheelDeltaY?this.deltaY=n.wheelDeltaY/120:"undefined"!=typeof r.VERTICAL_AXIS&&r.axis===r.VERTICAL_AXIS&&(this.deltaY=-r.detail/3),"undefined"!=typeof n.wheelDeltaX?this.deltaX=s.isSafari&&i.isWindows?-(n.wheelDeltaX/120):n.wheelDeltaX/120:"undefined"!=typeof r.HORIZONTAL_AXIS&&r.axis===r.HORIZONTAL_AXIS&&(this.deltaX=-t.detail/3),0===this.deltaY&&0===this.deltaX&&t.wheelDelta&&(this.deltaY=t.wheelDelta/120)}}return t.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},t.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},t}();e.StandardWheelEvent=d});
;/*!node_modules/monaco-editor/esm/vs/base/common/async.js*/
define("node_modules/monaco-editor/esm/vs/base/common/async",function(t,e){"use strict";function n(t){return t&&"function"==typeof t.then}function o(t){var e=new l.CancellationTokenSource,n=t(e.token),o=new Promise(function(t,o){e.token.onCancellationRequested(function(){o(a.canceled())}),Promise.resolve(n).then(function(n){e.dispose(),t(n)},function(t){e.dispose(),o(t)})});return new(function(){function t(){}return t.prototype.cancel=function(){e.cancel()},t.prototype.then=function(t,e){return o.then(t,e)},t.prototype.catch=function(t){return this.then(void 0,t)},t.prototype.finally=function(t){return o.finally(t)},t}())}function i(t,e){return e?new Promise(function(n,o){var i=setTimeout(n,t);e.onCancellationRequested(function(){clearTimeout(i),o(a.canceled())})}):o(function(e){return i(t,e)})}function r(t,e){void 0===e&&(e=0);var n=setTimeout(t,e);return h.toDisposable(function(){return clearTimeout(n)})}function u(t,e,n){void 0===e&&(e=function(t){return!!t}),void 0===n&&(n=null);var o=0,i=t.length,r=function(){if(o>=i)return Promise.resolve(n);var u=t[o++],s=Promise.resolve(u());return s.then(function(t){return e(t)?Promise.resolve(t):r()})};return r()}Object.defineProperty(e,"__esModule",{value:!0});var s=t("node_modules/tslib/tslib"),c=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=t("node_modules/monaco-editor/esm/vs/base/common/cancellation"),a=s.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/errors")),h=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle");e.isThenable=n,e.createCancelablePromise=o;var f=function(){function t(t){this.defaultDelay=t,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.task=null}return t.prototype.trigger=function(t,e){var n=this;return void 0===e&&(e=this.defaultDelay),this.task=t,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(function(t,e){n.doResolve=t,n.doReject=e}).then(function(){n.completionPromise=null,n.doResolve=null;var t=n.task;return n.task=null,t()})),this.timeout=setTimeout(function(){n.timeout=null,n.doResolve(null)},e),this.completionPromise},t.prototype.isTriggered=function(){return null!==this.timeout},t.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject(a.canceled()),this.completionPromise=null)},t.prototype.cancelTimeout=function(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},t.prototype.dispose=function(){this.cancelTimeout()},t}();e.Delayer=f,e.timeout=i,e.disposableTimeout=r,e.first=u;var p=function(t){function e(e,n){var o=t.call(this)||this;return o._token=-1,"function"==typeof e&&"number"==typeof n&&o.setIfNotSet(e,n),o}return c(e,t),e.prototype.dispose=function(){this.cancel(),t.prototype.dispose.call(this)},e.prototype.cancel=function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)},e.prototype.cancelAndSet=function(t,e){var n=this;this.cancel(),this._token=setTimeout(function(){n._token=-1,t()},e)},e.prototype.setIfNotSet=function(t,e){var n=this;-1===this._token&&(this._token=setTimeout(function(){n._token=-1,t()},e))},e}(h.Disposable);e.TimeoutTimer=p;var m=function(t){function e(){var e=t.call(this)||this;return e._token=-1,e}return c(e,t),e.prototype.dispose=function(){this.cancel(),t.prototype.dispose.call(this)},e.prototype.cancel=function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)},e.prototype.cancelAndSet=function(t,e){this.cancel(),this._token=setInterval(function(){t()},e)},e}(h.Disposable);e.IntervalTimer=m;var d=function(){function t(t,e){this.timeoutToken=-1,this.runner=t,this.timeout=e,this.timeoutHandler=this.onTimeout.bind(this)}return t.prototype.dispose=function(){this.cancel(),this.runner=null},t.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},t.prototype.schedule=function(t){void 0===t&&(t=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,t)},t.prototype.isScheduled=function(){return-1!==this.timeoutToken},t.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},t.prototype.doRun=function(){this.runner&&this.runner()},t}();e.RunOnceScheduler=d,function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var t=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});e.runWhenIdle=function(e){var n=setTimeout(function(){return e(t)}),o=!1;return{dispose:function(){o||(o=!0,clearTimeout(n))}}}}else e.runWhenIdle=function(t,e){var n=requestIdleCallback(t,"number"==typeof e?{timeout:e}:void 0),o=!1;return{dispose:function(){o||(o=!0,cancelIdleCallback(n))}}}}();var v=function(){function t(t){var n=this;this._didRun=!1,this._executor=function(){try{n._value=t()}catch(e){n._error=e}finally{n._didRun=!0}},this._handle=e.runWhenIdle(function(){return n._executor()})}return t.prototype.dispose=function(){this._handle.dispose()},t.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value},t}();e.IdleValue=v});
;/*!node_modules/monaco-editor/esm/vs/base/browser/dom.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/dom",function(e,t){"use strict";function n(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function o(e){e.parentNode&&e.parentNode.removeChild(e)}function r(e){for(;e;){if(e===document.body)return!0;e=e.parentNode}return!1}function i(e,t,n,o){return new et(e,t,n,o)}function s(e){return function(t){return e(new j.StandardMouseEvent(t))}}function a(e){return function(t){return e(new K.StandardKeyboardEvent(t))}}function u(e,t){return i(e,"mouseout",function(n){for(var o=n.relatedTarget||n.target;o&&o!==e;)o=o.parentNode;o!==e&&t(n)})}function d(e){if(!tt){var t=function(e){return setTimeout(function(){return e((new Date).getTime())},0)};tt=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||t}return tt.call(self,e)}function l(e,t,n,o,r){return new it(e,t,n,o,r)}function c(e){return document.defaultView.getComputedStyle(e,null)}function f(e){for(var t=e.offsetParent,n=e.offsetTop,o=e.offsetLeft;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;var r=c(e);r&&(o-="rtl"!==r.direction?e.scrollLeft:-e.scrollLeft),e===t&&(o+=st.getBorderLeftWidth(e),n+=st.getBorderTopWidth(e),n+=e.offsetTop,o+=e.offsetLeft,t=e.offsetParent)}return{left:o,top:n}}function m(e){var n=e.getBoundingClientRect();return{left:n.left+t.StandardWindow.scrollX,top:n.top+t.StandardWindow.scrollY,width:n.width,height:n.height}}function h(e){var t=st.getMarginLeft(e)+st.getMarginRight(e);return e.offsetWidth+t}function p(e){var t=st.getBorderLeftWidth(e)+st.getBorderRightWidth(e),n=st.getPaddingLeft(e)+st.getPaddingRight(e);return e.offsetWidth-t-n}function g(e){var t=st.getBorderTopWidth(e)+st.getBorderBottomWidth(e),n=st.getPaddingTop(e)+st.getPaddingBottom(e);return e.offsetHeight-t-n}function v(e){var t=st.getMarginTop(e)+st.getMarginBottom(e);return e.offsetHeight+t}function _(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function b(e,n,o){for(;e;){if(t.hasClass(e,n))return e;if(o)if("string"==typeof o){if(t.hasClass(e,o))return null}else if(e===o)return null;e=e.parentNode}return null}function E(e){void 0===e&&(e=document.getElementsByTagName("head")[0]);var t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}function y(){return ut||(ut=E()),ut}function T(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}function w(e,t,n){void 0===n&&(n=y()),n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function C(e,t){if(void 0===t&&(t=y()),t){for(var n=T(t),o=[],r=0;r<n.length;r++){var i=n[r];-1!==i.selectorText.indexOf(e)&&o.push(r)}for(var r=o.length-1;r>=0;r--)t.sheet.deleteRule(o[r])}}function N(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}function S(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function A(e,t){for(var n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}function D(e){return new dt(e)}function L(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach(function(t){return e.appendChild(t)}),t[t.length-1]}function O(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var r=lt.exec(e);if(!r)throw new Error("Bad use of emmet");var i=document.createElement(r[1]||"div");return r[3]&&(i.id=r[3]),r[4]&&(i.className=r[4].replace(/\./g," ").trim()),t=t||{},Object.keys(t).forEach(function(e){var n=t[e];/^on\w+$/.test(e)?i[e]=n:"selected"===e?n&&i.setAttribute(e,"true"):i.setAttribute(e,n)}),$.coalesce(n).forEach(function(e){i.appendChild(e instanceof Node?e:document.createTextNode(e))}),i}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,o=e;n<o.length;n++){var r=o[n];r.style.display="",r.removeAttribute("aria-hidden")}}function B(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,o=e;n<o.length;n++){var r=o[n];r.style.display="none",r.setAttribute("aria-hidden","true")}}function M(e,t){for(;e;){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}function P(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){var t=M(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}}function W(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function x(e){var t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function U(e){if(z.isNative||H.isEdgeWebView)window.open(e);else{var t=window.open();t&&(t.opener=null,t.location.href=e)}}function F(e){var n=function(){e(),o=t.scheduleAtNextAnimationFrame(n)},o=t.scheduleAtNextAnimationFrame(n);return X.toDisposable(function(){return o.dispose()})}Object.defineProperty(t,"__esModule",{value:!0});var I=e("node_modules/tslib/tslib"),k=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),H=I.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),V=e("node_modules/monaco-editor/esm/vs/base/browser/event"),K=e("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent"),j=e("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),G=e("node_modules/monaco-editor/esm/vs/base/common/async"),Y=e("node_modules/monaco-editor/esm/vs/base/common/errors"),q=e("node_modules/monaco-editor/esm/vs/base/common/event"),X=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),z=I.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),$=e("node_modules/monaco-editor/esm/vs/base/common/arrays");t.clearNode=n,t.removeNode=o,t.isInDOM=r;var Z=new(function(){function e(){}return e.prototype._findClassName=function(e,t){var n=e.className;if(!n)return void(this._lastStart=-1);t=t.trim();var o=n.length,r=t.length;if(0===r)return void(this._lastStart=-1);if(r>o)return void(this._lastStart=-1);if(n===t)return this._lastStart=0,void(this._lastEnd=o);for(var i,s=-1;(s=n.indexOf(t,s+1))>=0;){if(i=s+r,(0===s||32===n.charCodeAt(s-1))&&32===n.charCodeAt(i))return this._lastStart=s,void(this._lastEnd=i+1);if(s>0&&32===n.charCodeAt(s-1)&&i===o)return this._lastStart=s-1,void(this._lastEnd=i);if(0===s&&i===o)return this._lastStart=0,void(this._lastEnd=i)}this._lastStart=-1},e.prototype.hasClass=function(e,t){return this._findClassName(e,t),-1!==this._lastStart},e.prototype.addClasses=function(e){for(var t=this,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];n.forEach(function(n){return n.split(" ").forEach(function(n){return t.addClass(e,n)})})},e.prototype.addClass=function(e,t){e.className?(this._findClassName(e,t),-1===this._lastStart&&(e.className=e.className+" "+t)):e.className=t},e.prototype.removeClass=function(e,t){this._findClassName(e,t),-1!==this._lastStart&&(e.className=e.className.substring(0,this._lastStart)+e.className.substring(this._lastEnd))},e.prototype.removeClasses=function(e){for(var t=this,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];n.forEach(function(n){return n.split(" ").forEach(function(n){return t.removeClass(e,n)})})},e.prototype.toggleClass=function(e,t,n){this._findClassName(e,t),-1===this._lastStart||void 0!==n&&n||this.removeClass(e,t),-1!==this._lastStart||void 0!==n&&!n||this.addClass(e,t)},e}()),J=new(function(){function e(){}return e.prototype.hasClass=function(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)},e.prototype.addClasses=function(e){for(var t=this,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];n.forEach(function(n){return n.split(" ").forEach(function(n){return t.addClass(e,n)})})},e.prototype.addClass=function(e,t){t&&e.classList&&e.classList.add(t)},e.prototype.removeClass=function(e,t){t&&e.classList&&e.classList.remove(t)},e.prototype.removeClasses=function(e){for(var t=this,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];n.forEach(function(n){return n.split(" ").forEach(function(n){return t.removeClass(e,n)})})},e.prototype.toggleClass=function(e,t,n){e.classList&&e.classList.toggle(t,n)},e}()),Q=H.isIE?Z:J;t.hasClass=Q.hasClass.bind(Q),t.addClass=Q.addClass.bind(Q),t.addClasses=Q.addClasses.bind(Q),t.removeClass=Q.removeClass.bind(Q),t.removeClasses=Q.removeClasses.bind(Q),t.toggleClass=Q.toggleClass.bind(Q);var et=function(){function e(e,t,n,o){this._node=e,this._type=t,this._handler=n,this._useCapture=o||!1,this._node.addEventListener(this._type,this._handler,this._useCapture)}return e.prototype.dispose=function(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._useCapture),this._node=null,this._handler=null)},e}();t.addDisposableListener=i,t.addStandardDisposableListener=function(e,t,n,o){var r=n;return"click"===t||"mousedown"===t?r=s(n):("keydown"===t||"keypress"===t||"keyup"===t)&&(r=a(n)),i(e,t,r,o)},t.addDisposableNonBubblingMouseOutListener=u;var tt=null,nt=function(){function e(e,t){void 0===t&&(t=0),this._runner=e,this.priority=t,this._canceled=!1}return e.prototype.dispose=function(){this._canceled=!0},e.prototype.execute=function(){if(!this._canceled)try{this._runner()}catch(e){Y.onUnexpectedError(e)}},e.sort=function(e,t){return t.priority-e.priority},e}();!function(){var e=[],n=null,o=!1,r=!1,i=function(){for(o=!1,n=e,e=[],r=!0;n.length>0;){n.sort(nt.sort);var t=n.shift();t.execute()}r=!1};t.scheduleAtNextAnimationFrame=function(t,n){void 0===n&&(n=0);var r=new nt(t,n);return e.push(r),o||(o=!0,d(i)),r},t.runAtThisOrScheduleAtNextAnimationFrame=function(e,o){if(r){var i=new nt(e,o);return n.push(i),i}return t.scheduleAtNextAnimationFrame(e,o)}}();var ot=16,rt=function(e,t){return t},it=function(e){function t(t,n,o,r,s){void 0===r&&(r=rt),void 0===s&&(s=ot);var a=e.call(this)||this,u=null,d=0,l=a._register(new G.TimeoutTimer),c=function(){d=(new Date).getTime(),o(u),u=null};return a._register(i(t,n,function(e){u=r(u,e);var t=(new Date).getTime()-d;t>=s?(l.cancel(),c()):l.setIfNotSet(c,s-t)})),a}return k(t,e),t}(X.Disposable);t.addDisposableThrottledListener=l,t.getComputedStyle=c;var st=function(){function e(){}return e.convertToPixels=function(e,t){return parseFloat(t)||0},e.getDimension=function(t,n,o){var r=c(t),i="0";return r&&(i=r.getPropertyValue?r.getPropertyValue(n):r.getAttribute(o)),e.convertToPixels(t,i)},e.getBorderLeftWidth=function(t){return e.getDimension(t,"border-left-width","borderLeftWidth")},e.getBorderRightWidth=function(t){return e.getDimension(t,"border-right-width","borderRightWidth")},e.getBorderTopWidth=function(t){return e.getDimension(t,"border-top-width","borderTopWidth")},e.getBorderBottomWidth=function(t){return e.getDimension(t,"border-bottom-width","borderBottomWidth")},e.getPaddingLeft=function(t){return e.getDimension(t,"padding-left","paddingLeft")},e.getPaddingRight=function(t){return e.getDimension(t,"padding-right","paddingRight")},e.getPaddingTop=function(t){return e.getDimension(t,"padding-top","paddingTop")},e.getPaddingBottom=function(t){return e.getDimension(t,"padding-bottom","paddingBottom")},e.getMarginLeft=function(t){return e.getDimension(t,"margin-left","marginLeft")},e.getMarginTop=function(t){return e.getDimension(t,"margin-top","marginTop")},e.getMarginRight=function(t){return e.getDimension(t,"margin-right","marginRight")},e.getMarginBottom=function(t){return e.getDimension(t,"margin-bottom","marginBottom")},e}(),at=function(){function e(e,t){this.width=e,this.height=t}return e}();t.Dimension=at,t.getTopLeftOffset=f,t.getDomNodePagePosition=m,t.StandardWindow=new(function(){function e(){}return Object.defineProperty(e.prototype,"scrollX",{get:function(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollY",{get:function(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop},enumerable:!0,configurable:!0}),e}()),t.getTotalWidth=h,t.getContentWidth=p,t.getContentHeight=g,t.getTotalHeight=v,t.isAncestor=_,t.findParentWithClass=b,t.createStyleSheet=E;var ut=null;t.createCSSRule=w,t.removeCSSRulesContainingSelector=C,t.isHTMLElement=N,t.EventType={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:H.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:H.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:H.isWebKit?"webkitAnimationIteration":"animationiteration"},t.EventHelper={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}},t.saveParentsScrollTop=S,t.restoreParentsScrollTop=A;var dt=function(){function e(e){var n=this;this._onDidFocus=new q.Emitter,this.onDidFocus=this._onDidFocus.event,this._onDidBlur=new q.Emitter,this.onDidBlur=this._onDidBlur.event,this.disposables=[];var o=_(document.activeElement,e),r=!1,i=function(){r=!1,o||(o=!0,n._onDidFocus.fire())},s=function(){o&&(r=!0,window.setTimeout(function(){r&&(r=!1,o=!1,n._onDidBlur.fire())},0))};V.domEvent(e,t.EventType.FOCUS,!0)(i,null,this.disposables),V.domEvent(e,t.EventType.BLUR,!0)(s,null,this.disposables)}return e.prototype.dispose=function(){this.disposables=X.dispose(this.disposables),this._onDidFocus.dispose(),this._onDidBlur.dispose()},e}();t.trackFocus=D,t.append=L;var lt=/([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/;t.$=O,t.show=R,t.hide=B,t.removeTabIndexAndUpdateFocus=P,t.getElementsByTagName=W,t.computeScreenAwareSize=x,t.windowOpenNoOpener=U,t.animate=F});
;/*!node_modules/monaco-editor/esm/vs/base/common/marshalling.js*/
define("node_modules/monaco-editor/esm/vs/base/common/marshalling",function(e,r){"use strict";function o(e){var r=JSON.parse(e);return r=n(r,0)}function n(e,r){if(!e||r>200)return e;if("object"==typeof e){switch(e.$mid){case 1:return s.URI.revive(e);case 2:return new RegExp(e.source,e.flags)}for(var o in e)Object.hasOwnProperty.call(e,o)&&(e[o]=n(e[o],r+1))}return e}Object.defineProperty(r,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/base/common/uri");r.parse=o,r.revive=n});
;/*!node_modules/monaco-editor/esm/vs/base/common/network.js*/
define("node_modules/monaco-editor/esm/vs/base/common/network",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote"}(t.Schemas||(t.Schemas={}))});
;/*!node_modules/monaco-editor/esm/vs/base/common/strings.js*/
define("node_modules/monaco-editor/esm/vs/base/common/strings",function(r,t){"use strict";function e(r){return r&&"string"==typeof r?0===r.trim().length:!0}function n(r,t,e){void 0===e&&(e="0");for(var n=""+r,u=[n],i=n.length;t>i;i++)u.push(e);return u.reverse().join("")}function u(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return 0===t.length?r:r.replace(N,function(r,e){var n=parseInt(e,10);return isNaN(n)||0>n||n>=t.length?r:t[n]})}function i(r){return r.replace(/[<>&]/g,function(r){switch(r){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return r}})}function o(r){return r.replace(/[\-\\\{\}\*\+\?\|\^\$\.\[\]\(\)\#]/g,"\\$&")}function a(r,t){void 0===t&&(t=" ");var e=c(r,t);return f(e,t)}function c(r,t){if(!r||!t)return r;var e=t.length;if(0===e||0===r.length)return r;for(var n=0;r.indexOf(t,n)===n;)n+=e;return r.substring(n)}function f(r,t){if(!r||!t)return r;var e=t.length,n=r.length;if(0===e||0===n)return r;for(var u=n,i=-1;;){if(i=r.lastIndexOf(t,u-1),-1===i||i+e!==u)break;if(0===i)return"";u=i}return r.substring(0,u)}function s(r){return r.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function g(r,t){if(r.length<t.length)return!1;if(r===t)return!0;for(var e=0;e<t.length;e++)if(r[e]!==t[e])return!1;return!0}function h(r,t){var e=r.length-t.length;return e>0?r.indexOf(t,e)===e:0===e?r===t:!1}function l(r,t,e){if(void 0===e&&(e={}),!r)throw new Error("Cannot create regex from empty string");t||(r=o(r)),e.wholeWord&&(/\B/.test(r.charAt(0))||(r="\\b"+r),/\B/.test(r.charAt(r.length-1))||(r+="\\b"));var n="";return e.global&&(n+="g"),e.matchCase||(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),new RegExp(r,n)}function D(r){if("^"===r.source||"^$"===r.source||"$"===r.source||"^\\s*$"===r.source)return!1;var t=r.exec("");return!(!t||0!==r.lastIndex)}function F(r){return(r.global?"g":"")+(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")}function d(r){for(var t=0,e=r.length;e>t;t++){var n=r.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}function C(r,t,e){void 0===t&&(t=0),void 0===e&&(e=r.length);for(var n=t;e>n;n++){var u=r.charCodeAt(n);if(32!==u&&9!==u)return r.substring(t,n)}return r.substring(t,e)}function v(r,t){void 0===t&&(t=r.length-1);for(var e=t;e>=0;e--){var n=r.charCodeAt(e);if(32!==n&&9!==n)return e}return-1}function E(r,t){return t>r?-1:r>t?1:0}function m(r){return r>=97&&122>=r}function p(r){return r>=65&&90>=r}function A(r){return m(r)||p(r)}function B(r,t){var e=r?r.length:0,n=t?t.length:0;return e!==n?!1:x(r,t)}function x(r,t,e){if(void 0===e&&(e=r.length),"string"!=typeof r||"string"!=typeof t)return!1;for(var n=0;e>n;n++){var u=r.charCodeAt(n),i=t.charCodeAt(n);if(u!==i)if(A(u)&&A(i)){var o=Math.abs(u-i);if(0!==o&&32!==o)return!1}else if(String.fromCharCode(u).toLowerCase()!==String.fromCharCode(i).toLowerCase())return!1}return!0}function b(r,t){var e=t.length;return t.length>r.length?!1:x(r,t,e)}function L(r,t){var e,n=Math.min(r.length,t.length);for(e=0;n>e;e++)if(r.charCodeAt(e)!==t.charCodeAt(e))return e;return n}function W(r,t){var e,n=Math.min(r.length,t.length),u=r.length-1,i=t.length-1;for(e=0;n>e;e++)if(r.charCodeAt(u-e)!==t.charCodeAt(i-e))return e;return n}function I(r){return r>=55296&&56319>=r}function w(r){return r>=56320&&57343>=r}function R(r){return U.test(r)}function S(r){return j.test(r)}function $(r){return P.test(r)}function y(r){for(var t=0,e=r.length;e>t;t++)if(O(r.charCodeAt(t)))return!0;return!1}function O(r){return r=+r,r>=11904&&55215>=r||r>=63744&&64255>=r||r>=65281&&65374>=r}function M(r){return!!(r&&r.length>0&&65279===r.charCodeAt(0))}function T(r){return btoa(encodeURIComponent(r))}function _(r,t){for(var e="",n=0;t>n;n++)e+=r;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.empty="",t.isFalsyOrWhitespace=e,t.pad=n;var N=/{(\d+)}/g;t.format=u,t.escape=i,t.escapeRegExpCharacters=o,t.trim=a,t.ltrim=c,t.rtrim=f,t.convertSimple2RegExpPattern=s,t.startsWith=g,t.endsWith=h,t.createRegExp=l,t.regExpLeadsToEndlessLoop=D,t.regExpFlags=F,t.firstNonWhitespaceIndex=d,t.getLeadingWhitespace=C,t.lastNonWhitespaceIndex=v,t.compare=E,t.isLowerAsciiLetter=m,t.isUpperAsciiLetter=p,t.equalsIgnoreCase=B,t.startsWithIgnoreCase=b,t.commonPrefixLength=L,t.commonSuffixLength=W,t.isHighSurrogate=I,t.isLowSurrogate=w;var U=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;t.containsRTL=R;var j=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEF8]|\uD83E[\uDD00-\uDDE6])/;t.containsEmoji=S;var P=/^[\t\n\r\x20-\x7E]*$/;t.isBasicASCII=$,t.containsFullWidthCharacter=y,t.isFullWidthCharacter=O,t.UTF8_BOM_CHARACTER=String.fromCharCode(65279),t.startsWithUTF8BOM=M,t.safeBtoa=T,t.repeat=_});
;/*!node_modules/monaco-editor/esm/vs/base/common/process.js*/
define("node_modules/monaco-editor/esm/vs/base/common/process",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/platform"),t={cwd:function(){return"/"},env:Object.create(null),get platform(){return o.isWindows?"win32":o.isMacintosh?"darwin":"linux"},nextTick:function(e){return o.setImmediate(e)}};n.cwd=t.cwd,n.env=t.env,n.platform=t.platform});
;/*!node_modules/monaco-editor/esm/vs/base/common/path.js*/
define("node_modules/monaco-editor/esm/vs/base/common/path",function(e,r){"use strict";function t(e,r){if("string"!=typeof e)throw new b(r,"string",e)}function n(e){return e===C||e===A}function o(e){return e===C}function i(e){return e>=s&&u>=e||e>=d&&g>=e}function a(e,r,t,n){for(var o,i="",a=0,l=-1,f=0,h=0;h<=e.length;++h){if(h<e.length)o=e.charCodeAt(h);else{if(n(o))break;o=C}if(n(o)){if(l===h-1||1===f);else if(l!==h-1&&2===f){if(i.length<2||2!==a||i.charCodeAt(i.length-1)!==v||i.charCodeAt(i.length-2)!==v){if(i.length>2){var c=i.lastIndexOf(t);-1===c?(i="",a=0):(i=i.slice(0,c),a=i.length-1-i.lastIndexOf(t)),l=h,f=0;continue}if(2===i.length||1===i.length){i="",a=0,l=h,f=0;continue}}r&&(i.length>0?i+=t+"..":i="..",a=2)}else i.length>0?i+=t+e.slice(l+1,h):i=e.slice(l+1,h),a=h-l-1;l=h,f=0}else o===v&&-1!==f?++f:f=-1}return i}function l(e,r){var t=r.dir||r.root,n=r.base||(r.name||"")+(r.ext||"");return t?t===r.root?t+n:t+e+n:n}Object.defineProperty(r,"__esModule",{value:!0});var f=e("node_modules/tslib/tslib"),h=this&&this.__extends||function(){var e=function(r,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(r,t)};return function(r,t){function n(){this.constructor=r}e(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),c=f.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/process")),s=65,d=97,u=90,g=122,v=46,C=47,A=92,p=58,m=63,b=function(e){function r(r,t,n){var o,i=this;"string"==typeof t&&0===t.indexOf("not ")?(o="must not be",t=t.replace(/^not /,"")):o="must be";var a=-1!==r.indexOf(".")?"property":"argument",l='The "'+r+'" '+a+" "+o+" of type "+t;return l+=". Received type "+typeof n,i=e.call(this,l)||this}return h(r,e),r}(Error);r.win32={resolve:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var o="",l="",f=!1,h=e.length-1;h>=-1;h--){var s=void 0;if(h>=0?s=e[h]:o?(s=c.env["="+o]||c.cwd(),(void 0===s||s.slice(0,3).toLowerCase()!==o.toLowerCase()+"\\")&&(s=o+"\\")):s=c.cwd(),t(s,"path"),0!==s.length){var d=s.length,u=0,g="",v=!1,C=s.charCodeAt(0);if(d>1)if(n(C))if(v=!0,n(s.charCodeAt(1))){for(var A=2,m=A;d>A&&!n(s.charCodeAt(A));++A);if(d>A&&A!==m){var b=s.slice(m,A);for(m=A;d>A&&n(s.charCodeAt(A));++A);if(d>A&&A!==m){for(m=A;d>A&&!n(s.charCodeAt(A));++A);A===d?(g="\\\\"+b+"\\"+s.slice(m),u=A):A!==m&&(g="\\\\"+b+"\\"+s.slice(m,A),u=A)}}}else u=1;else i(C)&&s.charCodeAt(1)===p&&(g=s.slice(0,2),u=2,d>2&&n(s.charCodeAt(2))&&(v=!0,u=3));else n(C)&&(u=1,v=!0);if(!(g.length>0&&o.length>0&&g.toLowerCase()!==o.toLowerCase())&&(0===o.length&&g.length>0&&(o=g),f||(l=s.slice(u)+"\\"+l,f=v),o.length>0&&f))break}}return l=a(l,!f,"\\",n),o+(f?"\\":"")+l||"."},normalize:function(e){t(e,"path");var r=e.length;if(0===r)return".";var o,l=0,f=!1,h=e.charCodeAt(0);if(r>1)if(n(h))if(f=!0,n(e.charCodeAt(1))){for(var c=2,s=c;r>c&&!n(e.charCodeAt(c));++c);if(r>c&&c!==s){var d=e.slice(s,c);for(s=c;r>c&&n(e.charCodeAt(c));++c);if(r>c&&c!==s){for(s=c;r>c&&!n(e.charCodeAt(c));++c);if(c===r)return"\\\\"+d+"\\"+e.slice(s)+"\\";c!==s&&(o="\\\\"+d+"\\"+e.slice(s,c),l=c)}}}else l=1;else i(h)&&e.charCodeAt(1)===p&&(o=e.slice(0,2),l=2,r>2&&n(e.charCodeAt(2))&&(f=!0,l=3));else if(n(h))return"\\";var u;return u=r>l?a(e.slice(l),!f,"\\",n):"",0!==u.length||f||(u="."),u.length>0&&n(e.charCodeAt(r-1))&&(u+="\\"),void 0===o?f?u.length>0?"\\"+u:"\\":u.length>0?u:"":f?u.length>0?o+"\\"+u:o+"\\":u.length>0?o+u:o},isAbsolute:function(e){t(e,"path");var r=e.length;if(0===r)return!1;var o=e.charCodeAt(0);return n(o)?!0:i(o)&&r>2&&e.charCodeAt(1)===p&&n(e.charCodeAt(2))?!0:!1},join:function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];if(0===e.length)return".";for(var i,a,l=0;l<e.length;++l){var f=e[l];t(f,"path"),f.length>0&&(void 0===i?i=a=f:i+="\\"+f)}if(void 0===i)return".";var h=!0,c=0;if("string"==typeof a&&n(a.charCodeAt(0))){++c;var s=a.length;s>1&&n(a.charCodeAt(1))&&(++c,s>2&&(n(a.charCodeAt(2))?++c:h=!1))}if(h){for(;c<i.length&&n(i.charCodeAt(c));++c);c>=2&&(i="\\"+i.slice(c))}return r.win32.normalize(i)},relative:function(e,n){if(t(e,"from"),t(n,"to"),e===n)return"";var o=r.win32.resolve(e),i=r.win32.resolve(n);if(o===i)return"";if(e=o.toLowerCase(),n=i.toLowerCase(),e===n)return"";for(var a=0;a<e.length&&e.charCodeAt(a)===A;++a);for(var l=e.length;l-1>a&&e.charCodeAt(l-1)===A;--l);for(var f=l-a,h=0;h<n.length&&n.charCodeAt(h)===A;++h);for(var c=n.length;c-1>h&&n.charCodeAt(c-1)===A;--c);for(var s=c-h,d=s>f?f:s,u=-1,g=0;d>=g;++g){if(g===d){if(s>d){if(n.charCodeAt(h+g)===A)return i.slice(h+g+1);if(2===g)return i.slice(h+g)}f>d&&(e.charCodeAt(a+g)===A?u=g:2===g&&(u=3));break}var v=e.charCodeAt(a+g),C=n.charCodeAt(h+g);if(v!==C)break;v===A&&(u=g)}if(g!==d&&-1===u)return i;var p="";for(-1===u&&(u=0),g=a+u+1;l>=g;++g)(g===l||e.charCodeAt(g)===A)&&(p+=0===p.length?"..":"\\..");return p.length>0?p+i.slice(h+u,c):(h+=u,i.charCodeAt(h)===A&&++h,i.slice(h,c))},toNamespacedPath:function(e){if("string"!=typeof e)return e;if(0===e.length)return"";var t=r.win32.resolve(e);if(t.length>=3)if(t.charCodeAt(0)===A){if(t.charCodeAt(1)===A){var n=t.charCodeAt(2);if(n!==m&&n!==v)return"\\\\?\\UNC\\"+t.slice(2)}}else if(i(t.charCodeAt(0))&&t.charCodeAt(1)===p&&t.charCodeAt(2)===A)return"\\\\?\\"+t;return e},dirname:function(e){t(e,"path");var r=e.length;if(0===r)return".";var o=-1,a=-1,l=!0,f=0,h=e.charCodeAt(0);if(r>1)if(n(h)){if(o=f=1,n(e.charCodeAt(1))){for(var c=2,s=c;r>c&&!n(e.charCodeAt(c));++c);if(r>c&&c!==s){for(s=c;r>c&&n(e.charCodeAt(c));++c);if(r>c&&c!==s){for(s=c;r>c&&!n(e.charCodeAt(c));++c);if(c===r)return e;c!==s&&(o=f=c+1)}}}}else i(h)&&e.charCodeAt(1)===p&&(o=f=2,r>2&&n(e.charCodeAt(2))&&(o=f=3));else if(n(h))return e;for(var d=r-1;d>=f;--d)if(n(e.charCodeAt(d))){if(!l){a=d;break}}else l=!1;if(-1===a){if(-1===o)return".";a=o}return e.slice(0,a)},basename:function(e,r){void 0!==r&&t(r,"ext"),t(e,"path");var o,a=0,l=-1,f=!0;if(e.length>=2){var h=e.charCodeAt(0);i(h)&&e.charCodeAt(1)===p&&(a=2)}if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var c=r.length-1,s=-1;for(o=e.length-1;o>=a;--o){var d=e.charCodeAt(o);if(n(d)){if(!f){a=o+1;break}}else-1===s&&(f=!1,s=o+1),c>=0&&(d===r.charCodeAt(c)?-1===--c&&(l=o):(c=-1,l=s))}return a===l?l=s:-1===l&&(l=e.length),e.slice(a,l)}for(o=e.length-1;o>=a;--o)if(n(e.charCodeAt(o))){if(!f){a=o+1;break}}else-1===l&&(f=!1,l=o+1);return-1===l?"":e.slice(a,l)},extname:function(e){t(e,"path");var r=0,o=-1,a=0,l=-1,f=!0,h=0;e.length>=2&&e.charCodeAt(1)===p&&i(e.charCodeAt(0))&&(r=a=2);for(var c=e.length-1;c>=r;--c){var s=e.charCodeAt(c);if(n(s)){if(!f){a=c+1;break}}else-1===l&&(f=!1,l=c+1),s===v?-1===o?o=c:1!==h&&(h=1):-1!==o&&(h=-1)}return-1===o||-1===l||0===h||1===h&&o===l-1&&o===a+1?"":e.slice(o,l)},format:function(e){if(null===e||"object"!=typeof e)throw new b("pathObject","Object",e);return l("\\",e)},parse:function(e){t(e,"path");var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var o=e.length,a=0,l=e.charCodeAt(0);if(o>1){if(n(l)){if(a=1,n(e.charCodeAt(1))){for(var f=2,h=f;o>f&&!n(e.charCodeAt(f));++f);if(o>f&&f!==h){for(h=f;o>f&&n(e.charCodeAt(f));++f);if(o>f&&f!==h){for(h=f;o>f&&!n(e.charCodeAt(f));++f);f===o?a=f:f!==h&&(a=f+1)}}}}else if(i(l)&&e.charCodeAt(1)===p){if(a=2,!(o>2))return r.root=r.dir=e,r;if(n(e.charCodeAt(2))){if(3===o)return r.root=r.dir=e,r;a=3}}}else if(n(l))return r.root=r.dir=e,r;a>0&&(r.root=e.slice(0,a));for(var c=-1,s=a,d=-1,u=!0,g=e.length-1,C=0;g>=a;--g)if(l=e.charCodeAt(g),n(l)){if(!u){s=g+1;break}}else-1===d&&(u=!1,d=g+1),l===v?-1===c?c=g:1!==C&&(C=1):-1!==c&&(C=-1);return-1===c||-1===d||0===C||1===C&&c===d-1&&c===s+1?-1!==d&&(r.base=r.name=e.slice(s,d)):(r.name=e.slice(s,c),r.base=e.slice(s,d),r.ext=e.slice(c,d)),r.dir=s>0&&s!==a?e.slice(0,s-1):r.root,r},sep:"\\",delimiter:";",win32:null,posix:null},r.posix={resolve:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n="",i=!1,l=e.length-1;l>=-1&&!i;l--){var f=void 0;f=l>=0?e[l]:c.cwd(),t(f,"path"),0!==f.length&&(n=f+"/"+n,i=f.charCodeAt(0)===C)}return n=a(n,!i,"/",o),i?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e,"path"),0===e.length)return".";var r=e.charCodeAt(0)===C,n=e.charCodeAt(e.length-1)===C;return e=a(e,!r,"/",o),0!==e.length||r||(e="."),e.length>0&&n&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e,"path"),e.length>0&&e.charCodeAt(0)===C},join:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(0===e.length)return".";for(var o,i=0;i<e.length;++i){var a=arguments[i];t(a,"path"),a.length>0&&(void 0===o?o=a:o+="/"+a)}return void 0===o?".":r.posix.normalize(o)},relative:function(e,n){if(t(e,"from"),t(n,"to"),e===n)return"";if(e=r.posix.resolve(e),n=r.posix.resolve(n),e===n)return"";for(var o=1;o<e.length&&e.charCodeAt(o)===C;++o);for(var i=e.length,a=i-o,l=1;l<n.length&&n.charCodeAt(l)===C;++l);for(var f=n.length,h=f-l,c=h>a?a:h,s=-1,d=0;c>=d;++d){if(d===c){if(h>c){if(n.charCodeAt(l+d)===C)return n.slice(l+d+1);if(0===d)return n.slice(l+d)}else a>c&&(e.charCodeAt(o+d)===C?s=d:0===d&&(s=0));break}var u=e.charCodeAt(o+d),g=n.charCodeAt(l+d);if(u!==g)break;u===C&&(s=d)}var v="";for(d=o+s+1;i>=d;++d)(d===i||e.charCodeAt(d)===C)&&(v+=0===v.length?"..":"/..");return v.length>0?v+n.slice(l+s):(l+=s,n.charCodeAt(l)===C&&++l,n.slice(l))},toNamespacedPath:function(e){return e},dirname:function(e){if(t(e,"path"),0===e.length)return".";for(var r=e.charCodeAt(0)===C,n=-1,o=!0,i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===C){if(!o){n=i;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,r){void 0!==r&&t(r,"ext"),t(e,"path");var n,o=0,i=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var l=r.length-1,f=-1;for(n=e.length-1;n>=0;--n){var h=e.charCodeAt(n);if(h===C){if(!a){o=n+1;break}}else-1===f&&(a=!1,f=n+1),l>=0&&(h===r.charCodeAt(l)?-1===--l&&(i=n):(l=-1,i=f))}return o===i?i=f:-1===i&&(i=e.length),e.slice(o,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===C){if(!a){o=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":e.slice(o,i)},extname:function(e){t(e,"path");for(var r=-1,n=0,o=-1,i=!0,a=0,l=e.length-1;l>=0;--l){var f=e.charCodeAt(l);if(f!==C)-1===o&&(i=!1,o=l+1),f===v?-1===r?r=l:1!==a&&(a=1):-1!==r&&(a=-1);else if(!i){n=l+1;break}}return-1===r||-1===o||0===a||1===a&&r===o-1&&r===n+1?"":e.slice(r,o)},format:function(e){if(null===e||"object"!=typeof e)throw new b("pathObject","Object",e);return l("/",e)},parse:function(e){t(e,"path");var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var n,o=e.charCodeAt(0)===C;o?(r.root="/",n=1):n=0;for(var i=-1,a=0,l=-1,f=!0,h=e.length-1,c=0;h>=n;--h){var s=e.charCodeAt(h);if(s!==C)-1===l&&(f=!1,l=h+1),s===v?-1===i?i=h:1!==c&&(c=1):-1!==i&&(c=-1);else if(!f){a=h+1;break}}return-1===i||-1===l||0===c||1===c&&i===l-1&&i===a+1?-1!==l&&(r.base=r.name=0===a&&o?e.slice(1,l):e.slice(a,l)):(0===a&&o?(r.name=e.slice(1,i),r.base=e.slice(1,l)):(r.name=e.slice(a,i),r.base=e.slice(a,l)),r.ext=e.slice(i,l)),a>0?r.dir=e.slice(0,a-1):o&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null},r.posix.win32=r.win32.win32=r.win32,r.posix.posix=r.win32.posix=r.posix,r.normalize="win32"===c.platform?r.win32.normalize:r.posix.normalize,r.join="win32"===c.platform?r.win32.join:r.posix.join,r.relative="win32"===c.platform?r.win32.relative:r.posix.relative,r.dirname="win32"===c.platform?r.win32.dirname:r.posix.dirname,r.basename="win32"===c.platform?r.win32.basename:r.posix.basename,r.extname="win32"===c.platform?r.win32.extname:r.posix.extname,r.sep="win32"===c.platform?r.win32.sep:r.posix.sep});
;/*!node_modules/monaco-editor/esm/vs/base/common/extpath.js*/
define("node_modules/monaco-editor/esm/vs/base/common/extpath",function(e,t){"use strict";function n(e){return e.replace(/[\\\/]/g,i.posix.sep)}function r(e,t,n,r){if(void 0===r&&(r=i.sep),e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){var o=s.startsWithIgnoreCase(e,t);if(!o)return!1;if(t.length===e.length)return!0;var a=t.length;return t.charAt(t.length-1)===r&&a--,e.charAt(a)===r}return t.charAt(t.length-1)!==r&&(t+=r),0===e.indexOf(t)}function o(e){return e>=65&&90>=e||e>=97&&122>=e}Object.defineProperty(t,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/base/common/strings"),i=e("node_modules/monaco-editor/esm/vs/base/common/path");t.toSlashes=n,t.isEqualOrParent=r,t.isWindowsDriveLetter=o});
;/*!node_modules/monaco-editor/esm/vs/base/common/resources.js*/
define("node_modules/monaco-editor/esm/vs/base/common/resources",function(e,t){"use strict";function a(e){return e&&e.scheme===_.Schemas.file?!A.isLinux:!0}function o(e){return i(e)||e.authority}function r(e,t){return e===t||v.equalsIgnoreCase(e,t)}function n(e,t,o){if(void 0===o&&(o=a(e)),e===t)return!0;if(!e||!t)return!1;if(e.scheme!==t.scheme||!r(e.authority,t.authority))return!1;var n=e.path||"/",i=t.path||"/";return n===i||o&&v.equalsIgnoreCase(n||"/",i||"/")}function i(e){return p.posix.basename(e.path)}function s(e){if(0===e.path.length)return e;if(e.scheme===_.Schemas.file)return f.URI.file(p.dirname(u(e)));var t=p.posix.dirname(e.path);return e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error('dirname("'+e.toString+")) resulted in a relative path"),t="/"),e.with({path:t})}function h(e){for(var t,a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];var r;return r=e.scheme===_.Schemas.file?f.URI.file(p.join.apply(p,[u(e)].concat(a))).path:(t=p.posix).join.apply(t,[e.path||"/"].concat(a)),e.with({path:r})}function m(e){if(!e.path.length)return e;var t;return t=e.scheme===_.Schemas.file?f.URI.file(p.normalize(u(e))).path:p.posix.normalize(e.path),e.with({path:t})}function u(e){var t,a=e.path;return t=e.authority&&a.length>1&&e.scheme===_.Schemas.file?"//"+e.authority+a:A.isWindows&&47===a.charCodeAt(0)&&d.isWindowsDriveLetter(a.charCodeAt(1))&&58===a.charCodeAt(2)?a.substr(1):a,A.isWindows&&(t=t.replace(/\//g,"\\")),t}function c(e,t){if(e.scheme!==t.scheme||!r(e.authority,t.authority))return void 0;if(e.scheme===_.Schemas.file){var a=p.relative(e.path,t.path);return A.isWindows?d.toSlashes(a):a}return p.posix.relative(e.path||"/",t.path||"/")}Object.defineProperty(t,"__esModule",{value:!0});var l=e("node_modules/tslib/tslib"),d=l.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/extpath")),p=l.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/path")),f=e("node_modules/monaco-editor/esm/vs/base/common/uri"),v=e("node_modules/monaco-editor/esm/vs/base/common/strings"),_=e("node_modules/monaco-editor/esm/vs/base/common/network"),A=e("node_modules/monaco-editor/esm/vs/base/common/platform");t.hasToIgnoreCase=a,t.basenameOrAuthority=o,t.isEqualAuthority=r,t.isEqual=n,t.basename=i,t.dirname=s,t.joinPath=h,t.normalizePath=m,t.originalFSPath=u,t.relativePath=c,function(e){function t(t){var a=new Map,o=t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";"));o.split(";").forEach(function(e){var t=e.split(":"),o=t[0],r=t[1];o&&r&&a.set(o,r)});var r=t.path.substring(0,t.path.indexOf(";"));return r&&a.set(e.META_DATA_MIME,r),a}e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=t}(t.DataUri||(t.DataUri={}))});
;/*!node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js*/
define("node_modules/monaco-editor/esm/vs/platform/commands/common/commands",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),t=e("node_modules/monaco-editor/esm/vs/base/common/types"),m=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),r=e("node_modules/monaco-editor/esm/vs/base/common/event"),i=e("node_modules/monaco-editor/esm/vs/base/common/linkedList");n.ICommandService=m.createDecorator("commandService"),n.CommandsRegistry=new(function(){function e(){this._commands=new Map,this._onDidRegisterCommand=new r.Emitter,this.onDidRegisterCommand=this._onDidRegisterCommand.event}return e.prototype.registerCommand=function(e,n){var m=this;if(!e)throw new Error("invalid command");if("string"==typeof e){if(!n)throw new Error("invalid command");return this.registerCommand({id:e,handler:n})}if(e.description){for(var r=[],a=0,s=e.description.args;a<s.length;a++){var d=s[a];r.push(d.constraint)}var c=e.handler;e.handler=function(e){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return t.validateConstraints(n,r),c.apply(void 0,[e].concat(n))}}var u=e.id,l=this._commands.get(u);l||(l=new i.LinkedList,this._commands.set(u,l));var v=l.unshift(e),f=o.toDisposable(function(){v();var e=m._commands.get(u);e&&e.isEmpty()&&m._commands.delete(u)});return this._onDidRegisterCommand.fire(u),f},e.prototype.registerCommandAlias=function(e,o){return n.CommandsRegistry.registerCommand(e,function(e){for(var t,m=[],r=1;r<arguments.length;r++)m[r-1]=arguments[r];return(t=e.get(n.ICommandService)).executeCommand.apply(t,[o].concat(m))})},e.prototype.getCommand=function(e){var n=this._commands.get(e);return!n||n.isEmpty()?void 0:n.iterator().next().value},e.prototype.getCommands=function(){var e=this,n=Object.create(null);return this._commands.forEach(function(o,t){n[t]=e.getCommand(t)}),n},e}())});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/services/openerService.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/services/openerService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),r=this&&this.__decorate||function(e,o,t,r){var n,s=arguments.length,i=3>s?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(i=(3>s?n(i):s>3?n(o,t,i):n(o,t))||i);return s>3&&i&&Object.defineProperty(o,t,i),i},n=this&&this.__param||function(e,o){return function(t,r){o(t,r,e)}},s=this&&this.__awaiter||function(e,o,t,r){return new(t||(t=Promise))(function(n,s){function i(e){try{c(r.next(e))}catch(o){s(o)}}function a(e){try{c(r["throw"](e))}catch(o){s(o)}}function c(e){e.done?n(e.value):new t(function(o){o(e.value)}).then(i,a)}c((r=r.apply(e,o||[])).next())})},i=this&&this.__generator||function(e,o){function t(e){return function(o){return r([e,o])}}function r(t){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,s&&(i=2&t[0]?s["return"]:t[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,t[1])).done)return i;switch(s=0,i&&(t=[2&t[0],i.value]),t[0]){case 0:case 1:i=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,s=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(i=c.trys,!(i=i.length>0&&i[i.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!i||t[1]>i[0]&&t[1]<i[3])){c.label=t[1];break}if(6===t[0]&&c.label<i[1]){c.label=i[1],i=t;break}if(i&&c.label<i[2]){c.label=i[2],c.ops.push(t);break}i[2]&&c.ops.pop(),c.trys.pop();continue}t=o.call(e,c)}catch(r){t=[6,r],s=0}finally{n=i=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}var n,s,i,a,c={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},a=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),c=e("node_modules/monaco-editor/esm/vs/base/common/marshalling"),u=e("node_modules/monaco-editor/esm/vs/base/common/network"),m=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/resources")),l=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),d=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),f=e("node_modules/monaco-editor/esm/vs/base/common/strings"),h=e("node_modules/monaco-editor/esm/vs/base/common/linkedList"),p=function(){function e(e,o){this._editorService=e,this._commandService=o,this._opener=new h.LinkedList}return e.prototype.open=function(e,o){return s(this,void 0,void 0,function(){var t,r,n,s;return i(this,function(i){switch(i.label){case 0:if(!e.scheme)return[2,Promise.resolve(!1)];t=0,r=this._opener.toArray(),i.label=1;case 1:return t<r.length?(n=r[t],[4,n.open(e,o)]):[3,4];case 2:if(s=i.sent())return[2,!0];i.label=3;case 3:return t++,[3,1];case 4:return[2,this._doOpen(e,o)]}})})},e.prototype._doOpen=function(e,o){var t,r=e.scheme,n=e.path,s=e.query,i=e.fragment;if(f.equalsIgnoreCase(r,u.Schemas.http)||f.equalsIgnoreCase(r,u.Schemas.https)||f.equalsIgnoreCase(r,u.Schemas.mailto))return a.windowOpenNoOpener(encodeURI(e.toString(!0))),Promise.resolve(!0);if(f.equalsIgnoreCase(r,u.Schemas.command)){if(!d.CommandsRegistry.getCommand(n))return Promise.reject("command '"+n+"' NOT known");var l=[];try{l=c.parse(s),Array.isArray(l)||(l=[l])}catch(h){}return(t=this._commandService).executeCommand.apply(t,[n].concat(l)).then(function(){return!0})}var p=void 0,v=/^L?(\d+)(?:,(\d+))?/.exec(i);return v&&(p={startLineNumber:parseInt(v[1]),startColumn:v[2]?parseInt(v[2]):1},e=e.with({fragment:""})),e.scheme===u.Schemas.file&&(e=m.normalizePath(e)),this._editorService.openCodeEditor({resource:e,options:{selection:p}},this._editorService.getFocusedCodeEditor(),o&&o.openToSide).then(function(){return!0})},e=r([n(0,l.ICodeEditorService),n(1,d.ICommandService)],e)}();o.OpenerService=p});
;/*!node_modules/monaco-editor/esm/vs/base/common/assert.js*/
define("node_modules/monaco-editor/esm/vs/base/common/assert",function(e,o){"use strict";function s(e,o){if(!e)throw new Error(o?"Assertion failed ("+o+")":"Assertion Failed")}Object.defineProperty(o,"__esModule",{value:!0}),o.ok=s});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/widget/diffNavigator.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/widget/diffNavigator",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/tslib/tslib"),s=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/assert")),o=t("node_modules/monaco-editor/esm/vs/base/common/event"),n=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/objects")),a=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},h=function(){function t(t,e){var i=this;void 0===e&&(e={}),this._onDidUpdate=new o.Emitter,this._editor=t,this._options=r.mixin(e,d,!1),this.disposed=!1,this._disposables=[],this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._disposables.push(this._editor.onDidDispose(function(){return i.dispose()})),this._disposables.push(this._editor.onDidUpdateDiff(function(){return i._onDiffUpdated()})),this._options.followsCaret&&this._disposables.push(this._editor.getModifiedEditor().onDidChangeCursorPosition(function(){i.ignoreSelectionChange||(i.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._disposables.push(this._editor.getModifiedEditor().onDidChangeModel(function(){i.revealFirst=!0})),this._init()}return t.prototype._init=function(){var t=this._editor.getLineChanges()},t.prototype._onDiffUpdated=function(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))},t.prototype._compute=function(t){var e=this;this.ranges=[],t&&t.forEach(function(t){!e._options.ignoreCharChanges&&t.charChanges?t.charChanges.forEach(function(t){e.ranges.push({rhs:!0,range:new a.Range(t.modifiedStartLineNumber,t.modifiedStartColumn,t.modifiedEndLineNumber,t.modifiedEndColumn)})}):e.ranges.push({rhs:!0,range:new a.Range(t.modifiedStartLineNumber,1,t.modifiedStartLineNumber,1)})}),this.ranges.sort(function(t,e){return t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?-1:e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?1:0}),this._onDidUpdate.fire(this)},t.prototype._initIdx=function(t){var e=!1,i=this._editor.getPosition();if(!i)return void(this.nextIdx=0);for(var s=0,o=this.ranges.length;o>s&&!e;s++){var n=this.ranges[s].range;i.isBeforeOrEqual(n.getStartPosition())&&(this.nextIdx=s+(t?0:-1),e=!0)}e||(this.nextIdx=t?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)},t.prototype._move=function(t,e){if(s.ok(!this.disposed,"Illegal State - diff navigator has been disposed"),this.canNavigate()){-1===this.nextIdx?this._initIdx(t):t?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var i=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var o=i.range.getStartPosition();this._editor.setPosition(o),this._editor.revealPositionInCenter(o,e)}finally{this.ignoreSelectionChange=!1}}},t.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},t.prototype.next=function(t){void 0===t&&(t=0),this._move(!0,t)},t.prototype.previous=function(t){void 0===t&&(t=0),this._move(!1,t)},t.prototype.dispose=function(){n.dispose(this._disposables),this._disposables.length=0,this._onDidUpdate.dispose(),this.ranges=[],this.disposed=!0},t}();e.DiffNavigator=h});
;/*!node_modules/monaco-editor/esm/vs/editor/common/config/editorZoom.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/config/editorZoom",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/event");o.EditorZoom=new(function(){function e(){this._zoomLevel=0,this._onDidChangeZoomLevel=new t.Emitter,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.setZoomLevel=function(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))},e}())});
;/*!node_modules/monaco-editor/esm/vs/editor/common/config/fontInfo.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/config/fontInfo",function(t,i){"use strict";function e(t,i){if("number"==typeof t)return t;if("undefined"==typeof t)return i;var e=parseFloat(t);return isNaN(e)?i:e}function o(t,i){if("number"==typeof t)return Math.round(t);if("undefined"==typeof t)return i;var e=parseInt(t);return isNaN(e)?i:e}function n(t,i,e){return i>t?i:t>e?e:t}function r(t,i){return"string"!=typeof t?i:t}Object.defineProperty(i,"__esModule",{value:!0});var a=t("node_modules/tslib/tslib"),h=this&&this.__extends||function(){var t=function(i,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(i,e)};return function(i,e){function o(){this.constructor=i}t(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),s=a.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/platform")),f=t("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions"),c=t("node_modules/monaco-editor/esm/vs/editor/common/config/editorZoom"),l=s.isMacintosh?1.5:1.35,d=8,u=100,m=8,p=150,g=-5,y=20,F=function(){function t(t){this.zoomLevel=t.zoomLevel,this.fontFamily=String(t.fontFamily),this.fontWeight=String(t.fontWeight),this.fontSize=t.fontSize,this.lineHeight=0|t.lineHeight,this.letterSpacing=t.letterSpacing}return t.createFromRawSettings=function(i,a,h){void 0===h&&(h=!1);var s=r(i.fontFamily,f.EDITOR_FONT_DEFAULTS.fontFamily),F=r(i.fontWeight,f.EDITOR_FONT_DEFAULTS.fontWeight),_=e(i.fontSize,f.EDITOR_FONT_DEFAULTS.fontSize);_=n(_,0,u),0===_?_=f.EDITOR_FONT_DEFAULTS.fontSize:d>_&&(_=d);var w=o(i.lineHeight,0);w=n(w,0,p),0===w?w=Math.round(l*_):m>w&&(w=m);var S=e(i.letterSpacing,0);S=n(S,g,y);var W=1+(h?0:.1*c.EditorZoom.getZoomLevel());return _*=W,w*=W,new t({zoomLevel:a,fontFamily:s,fontWeight:F,fontSize:_,lineHeight:w,letterSpacing:S})},t.prototype.getId=function(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.lineHeight+"-"+this.letterSpacing},t.prototype.getMassagedFontFamily=function(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?'"'+this.fontFamily+'"':this.fontFamily},t}();i.BareFontInfo=F;var _=function(t){function i(i,e){var o=t.call(this,i)||this;return o.isTrusted=e,o.isMonospace=i.isMonospace,o.typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,o.typicalFullwidthCharacterWidth=i.typicalFullwidthCharacterWidth,o.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,o.spaceWidth=i.spaceWidth,o.maxDigitWidth=i.maxDigitWidth,o}return h(i,t),i.prototype.equals=function(t){return this.fontFamily===t.fontFamily&&this.fontWeight===t.fontWeight&&this.fontSize===t.fontSize&&this.lineHeight===t.lineHeight&&this.letterSpacing===t.letterSpacing&&this.typicalHalfwidthCharacterWidth===t.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===t.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===t.canUseHalfwidthRightwardsArrow&&this.spaceWidth===t.spaceWidth&&this.maxDigitWidth===t.maxDigitWidth},i}(F);i.FontInfo=_});
;/*!node_modules/monaco-editor/esm/vs/editor/common/editorCommon.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/editorCommon",function(o,e){"use strict";function t(o){return o&&"string"==typeof o.id}Object.defineProperty(e,"__esModule",{value:!0}),e.isThemeColor=t,e.EditorType={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"},e.Handler={ExecuteCommand:"executeCommand",ExecuteCommands:"executeCommands",Type:"type",ReplacePreviousChar:"replacePreviousChar",CompositionStart:"compositionStart",CompositionEnd:"compositionEnd",Paste:"paste",Cut:"cut",Undo:"undo",Redo:"redo"}});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(t.OverviewRulerLane||(t.OverviewRulerLane={}));var i=function(){function e(e){this.tabSize=0|e.tabSize,this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace)}return e.prototype.equals=function(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace},e.prototype.createChangeEvent=function(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}},e}();t.TextModelResolvedOptions=i;var n=function(){function e(e,t){this.range=e,this.matches=t}return e}();t.FindMatch=n;var s=function(){function e(e,t,i){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=i}return e}();t.ApplyEditsResult=s});
;/*!node_modules/monaco-editor/esm/vs/base/common/map.js*/
define("node_modules/monaco-editor/esm/vs/base/common/map",function(t,e){"use strict";function i(t){var e=[];return t.forEach(function(t){return e.push(t)}),e}function r(t){var e=[];return t.forEach(function(t,i){return e.push(i)}),e}Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();e.values=i,e.keys=r;var s=function(){function t(){this._value="",this._pos=0}return t.prototype.reset=function(t){return this._value=t,this._pos=0,this},t.prototype.next=function(){return this._pos+=1,this},t.prototype.hasNext=function(){return this._pos<this._value.length-1},t.prototype.cmp=function(t){var e=t.charCodeAt(0),i=this._value.charCodeAt(this._pos);return e-i},t.prototype.value=function(){return this._value[this._pos]},t}();e.StringIterator=s;var n=function(){function t(){}return t.prototype.reset=function(t){return this._value=t.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()},t.prototype.hasNext=function(){return this._to<this._value.length},t.prototype.next=function(){this._from=this._to;for(var t=!0;this._to<this._value.length;this._to++){var e=this._value.charCodeAt(this._to);if(47===e||92===e){if(!t)break;this._from++}else t=!1}return this},t.prototype.cmp=function(t){for(var e=0,i=t.length,r=this._from;i>e&&r<this._to;){var o=t.charCodeAt(e)-this._value.charCodeAt(r);if(0!==o)return o;e+=1,r+=1}return i===this._to-this._from?0:i>e?-1:1},t.prototype.value=function(){return this._value.substring(this._from,this._to)},t}();e.PathIterator=n;var h=function(){function t(){}return t}(),a=function(){function t(t){this._iter=t}return t.forPaths=function(){return new t(new n)},t.forStrings=function(){return new t(new s)},t.prototype.clear=function(){this._root=void 0},t.prototype.set=function(t,e){var i,r=this._iter.reset(t);for(this._root||(this._root=new h,this._root.segment=r.value()),i=this._root;;){var o=r.cmp(i.segment);if(o>0)i.left||(i.left=new h,i.left.segment=r.value()),i=i.left;else if(0>o)i.right||(i.right=new h,i.right.segment=r.value()),i=i.right;else{if(!r.hasNext())break;r.next(),i.mid||(i.mid=new h,i.mid.segment=r.value()),i=i.mid}}var s=i.value;return i.value=e,i.key=t,s},t.prototype.get=function(t){for(var e=this._iter.reset(t),i=this._root;i;){var r=e.cmp(i.segment);if(r>0)i=i.left;else if(0>r)i=i.right;else{if(!e.hasNext())break;e.next(),i=i.mid}}return i?i.value:void 0},t.prototype.findSubstr=function(t){for(var e=this._iter.reset(t),i=this._root,r=void 0;i;){var o=e.cmp(i.segment);if(o>0)i=i.left;else if(0>o)i=i.right;else{if(!e.hasNext())break;e.next(),r=i.value||r,i=i.mid}}return i&&i.value||r},t.prototype.forEach=function(t){this._forEach(this._root,t)},t.prototype._forEach=function(t,e){t&&(this._forEach(t.left,e),t.value&&e(t.value,t.key),this._forEach(t.mid,e),this._forEach(t.right,e))},t}();e.TernarySearchTree=a;var u=function(){function t(){this.map=new Map,this.ignoreCase=!1}return t.prototype.set=function(t,e){this.map.set(this.toKey(t),e)},t.prototype.get=function(t){return this.map.get(this.toKey(t))},t.prototype.toKey=function(t){var e=t.toString();return this.ignoreCase&&(e=e.toLowerCase()),e},t}();e.ResourceMap=u;var p=function(){function t(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}return t.prototype.clear=function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0},Object.defineProperty(t.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),t.prototype.get=function(t,e){void 0===e&&(e=0);var i=this._map.get(t);return i?(0!==e&&this.touch(i,e),i.value):void 0},t.prototype.set=function(t,e,i){void 0===i&&(i=0);var r=this._map.get(t);if(r)r.value=e,0!==i&&this.touch(r,i);else{switch(r={key:t,value:e,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r)}this._map.set(t,r),this._size++}},t.prototype.delete=function(t){return!!this.remove(t)},t.prototype.remove=function(t){var e=this._map.get(t);return e?(this._map.delete(t),this.removeItem(e),this._size--,e.value):void 0},t.prototype.forEach=function(t,e){for(var i=this._head;i;)e?t.bind(e)(i.value,i.key,this):t(i.value,i.key,this),i=i.next},t.prototype.trimOld=function(t){if(!(t>=this.size)){if(0===t)return void this.clear();for(var e=this._head,i=this.size;e&&i>t;)this._map.delete(e.key),e=e.next,i--;this._head=e,this._size=i,e&&(e.previous=void 0)}},t.prototype.addItemFirst=function(t){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");t.next=this._head,this._head.previous=t}else this._tail=t;this._head=t},t.prototype.addItemLast=function(t){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");t.previous=this._tail,this._tail.next=t}else this._head=t;this._tail=t},t.prototype.removeItem=function(t){if(t===this._head&&t===this._tail)this._head=void 0,this._tail=void 0;else if(t===this._head){if(!t.next)throw new Error("Invalid list");t.next.previous=void 0,this._head=t.next}else if(t===this._tail){if(!t.previous)throw new Error("Invalid list");t.previous.next=void 0,this._tail=t.previous}else{var e=t.next,i=t.previous;if(!e||!i)throw new Error("Invalid list");e.previous=i,i.next=e}t.next=void 0,t.previous=void 0},t.prototype.touch=function(t,e){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===e||2===e)if(1===e){if(t===this._head)return;var i=t.next,r=t.previous;t===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),t.previous=void 0,t.next=this._head,this._head.previous=t,this._head=t}else if(2===e){if(t===this._tail)return;var i=t.next,r=t.previous;t===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),t.next=void 0,t.previous=this._tail,this._tail.next=t,this._tail=t}},t.prototype.toJSON=function(){var t=[];return this.forEach(function(e,i){t.push([i,e])}),t},t}();e.LinkedMap=p;var f=function(t){function e(e,i){void 0===i&&(i=1);var r=t.call(this)||this;return r._limit=e,r._ratio=Math.min(Math.max(0,i),1),r}return o(e,t),e.prototype.get=function(e){return t.prototype.get.call(this,e,2)},e.prototype.set=function(e,i){t.prototype.set.call(this,e,i,2),this.checkTrim()},e.prototype.checkTrim=function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))},e}(p);e.LRUCache=f});
;/*!node_modules/monaco-editor/esm/vs/base/common/glob.js*/
define("node_modules/monaco-editor/esm/vs/base/common/glob",function(e,n){"use strict";function r(e){switch(e){case 0:return"";case 1:return S+"*?";default:return"(?:"+k+"|"+S+"+"+k+"|"+k+S+"+)*?"}}function t(e,n){if(!e)return[];for(var r=[],t=!1,a=!1,s="",u=0,i=e;u<i.length;u++){var o=i[u];switch(o){case n:if(!t&&!a){r.push(s),s="";continue}break;case"{":t=!0;break;case"}":t=!1;break;case"[":a=!0;break;case"]":a=!1}s+=o}return s&&r.push(s),r}function a(e){if(!e)return"";var n="",s=t(e,$);if(s.every(function(e){return e===E}))n=".*";else{var u=!1;s.forEach(function(e,i){if(e===E)return void(u||(n+=r(2),u=!0));for(var o=!1,l="",c=!1,f="",m=0,v=e;m<v.length;m++){var h=v[m];if("}"!==h&&o)l+=h;else if(!c||"]"===h&&f)switch(h){case"{":o=!0;continue;case"[":c=!0;continue;case"}":var p=t(l,","),d="(?:"+p.map(function(e){return a(e)}).join("|")+")";n+=d,o=!1,l="";break;case"]":n+="["+f+"]",c=!1,f="";break;case"?":n+=S;continue;case"*":n+=r(1);continue;default:n+=_.escapeRegExpCharacters(h)}else{var g=void 0;g="-"===h?h:"^"!==h&&"!"!==h||f?h===$?"":_.escapeRegExpCharacters(h):"^",f+=g}}i<s.length-1&&(s[i+1]!==E||i+2<s.length)&&(n+=k),u=!1})}return n}function s(e,n){if(!e)return I;var r;r="string"!=typeof e?e.pattern:e,r=r.trim();var t=r+"_"+!!n.trimForExclusions,a=A.get(t);if(a)return u(a,e);var s;if(R.test(r)){var m=r.substr(4);a=function(e){return"string"==typeof e&&_.endsWith(e,m)?r:null}}else a=(s=W.exec(i(r,n)))?o(s[1],r):(n.trimForExclusions?C:q).test(r)?l(r,n):(s=j.exec(i(r,n)))?c(s[1].substr(1),r,!0):(s=F.exec(i(r,n)))?c(s[1],r,!1):f(r);return A.set(t,a),u(a,e)}function u(e,n){return"string"==typeof n?e:function(r,t){return w.isEqualOrParent(r,n.base)?e(P.relative(n.base,r),t):null}}function i(e,n){return n.trimForExclusions&&_.endsWith(e,"/**")?e.substr(0,e.length-2):e}function o(e,n){var r="/"+e,t="\\"+e,a=function(a,s){return"string"!=typeof a?null:s?s===e?n:null:a===e||_.endsWith(a,r)||_.endsWith(a,t)?n:null},s=[e];return a.basenames=s,a.patterns=[n],a.allBasenames=s,a}function l(e,n){var r=g(e.slice(1,-1).split(",").map(function(e){return s(e,n)}).filter(function(e){return e!==I}),e),t=r.length;if(!t)return I;if(1===t)return r[0];var a=function(n,t){for(var a=0,s=r.length;s>a;a++)if(r[a](n,t))return e;return null},u=y.first(r,function(e){return!!e.allBasenames});u&&(a.allBasenames=u.allBasenames);var i=r.reduce(function(e,n){return n.allPaths?e.concat(n.allPaths):e},[]);return i.length&&(a.allPaths=i),a}function c(e,n,r){var t=P.sep!==P.posix.sep?e.replace(O,P.sep):e,a=P.sep+t,s=r?function(e){return"string"!=typeof e||e!==t&&!_.endsWith(e,a)?null:n}:function(e){return"string"==typeof e&&e===t?n:null};return s.allPaths=[(r?"*/":"./")+e],s}function f(e){try{var n=new RegExp("^"+a(e)+"$");return function(r){return n.lastIndex=0,"string"==typeof r&&n.test(r)?e:null}}catch(r){return I}}function m(e,n,r){return e&&"string"==typeof n?v(e)(n,void 0,r):!1}function v(e,n){if(void 0===n&&(n={}),!e)return G;if("string"==typeof e||h(e)){var r=s(e,n);if(r===I)return G;var t=function(e,n){return!!r(e,n)};return r.allBasenames&&(t.allBasenames=r.allBasenames),r.allPaths&&(t.allPaths=r.allPaths),t}return p(e,n)}function h(e){var n=e;return n&&"string"==typeof n.base&&"string"==typeof n.pattern}function p(e,n){var r=g(Object.getOwnPropertyNames(e).map(function(r){return d(r,e[r],n)}).filter(function(e){return e!==I})),t=r.length;if(!t)return I;if(!r.some(function(e){return!!e.requiresSiblings})){if(1===t)return r[0];var a=function(e,n){for(var t=0,a=r.length;a>t;t++){var s=r[t](e,n);if(s)return s}return null},s=y.first(r,function(e){return!!e.allBasenames});s&&(a.allBasenames=s.allBasenames);var u=r.reduce(function(e,n){return n.allPaths?e.concat(n.allPaths):e},[]);return u.length&&(a.allPaths=u),a}var i=function(e,n,t){for(var a=void 0,s=0,u=r.length;u>s;s++){var i=r[s];i.requiresSiblings&&t&&(n||(n=P.basename(e)),a||(a=n.substr(0,n.length-P.extname(e).length)));var o=i(e,n,a,t);if(o)return o}return null},o=y.first(r,function(e){return!!e.allBasenames});o&&(i.allBasenames=o.allBasenames);var l=r.reduce(function(e,n){return n.allPaths?e.concat(n.allPaths):e},[]);return l.length&&(i.allPaths=l),i}function d(e,n,r){if(n===!1)return I;var t=s(e,r);if(t===I)return I;if("boolean"==typeof n)return t;if(n){var a=n.when;if("string"==typeof a){var u=function(n,r,s,u){if(!u||!t(n,r))return null;var i=a.replace("$(basename)",s),o=u(i);return B.isThenable(o)?o.then(function(n){return n?e:null}):o?e:null};return u.requiresSiblings=!0,u}}return t}function g(e,n){var r=e.filter(function(e){return!!e.basenames});if(r.length<2)return e;var t,a=r.reduce(function(e,n){var r=n.basenames;return r?e.concat(r):e},[]);if(n){t=[];for(var s=0,u=a.length;u>s;s++)t.push(n)}else t=r.reduce(function(e,n){var r=n.patterns;return r?e.concat(r):e},[]);var i=function(e,n){if("string"!=typeof e)return null;if(!n){var r=void 0;for(r=e.length;r>0;r--){var s=e.charCodeAt(r-1);if(47===s||92===s)break}n=e.substr(r)}var u=a.indexOf(n);return-1!==u?t[u]:null};i.basenames=a,i.patterns=t,i.allBasenames=a;var o=e.filter(function(e){return!e.basenames});return o.push(i),o}Object.defineProperty(n,"__esModule",{value:!0});var b=e("node_modules/tslib/tslib"),y=b.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/arrays")),_=b.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),w=b.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/extpath")),P=b.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/path")),x=e("node_modules/monaco-editor/esm/vs/base/common/map"),B=e("node_modules/monaco-editor/esm/vs/base/common/async"),E="**",$="/",k="[/\\\\]",S="[^/\\\\]",O=/\//g;n.splitGlobAware=t;var R=/^\*\*\/\*\.[\w\.-]+$/,W=/^\*\*\/([\w\.-]+)\/?$/,q=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,C=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,j=/^\*\*((\/[\w\.-]+)+)\/?$/,F=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,A=new x.LRUCache(1e4),G=function(){return!1},I=function(){return null};n.match=m,n.parse=v,n.isRelativePattern=h});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/languageSelector.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/languageSelector",function(e,r){"use strict";function t(e,r,n,s){if(Array.isArray(e)){for(var i=0,a=0,f=e;a<f.length;a++){var u=f[a],c=t(u,r,n,s);if(10===c)return c;c>i&&(i=c)}return i}if("string"==typeof e)return s?"*"===e?5:e===n?10:0:0;if(e){var m=e.language,l=e.pattern,d=e.scheme,h=e.hasAccessToAllModels;if(!s&&!h)return 0;var i=0;if(d)if(d===r.scheme)i=10;else{if("*"!==d)return 0;i=5}if(m)if(m===n)i=10;else{if("*"!==m)return 0;i=Math.max(i,5)}if(l){if(l!==r.fsPath&&!o.match(l,r.fsPath))return 0;i=10}return i}return 0}Object.defineProperty(r,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/glob");r.score=t});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/modelService",function(e,o){"use strict";function i(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.IModelService=n.createDecorator("modelService"),o.shouldSynchronizeModel=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/languageFeatureRegistry.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/languageFeatureRegistry",function(e,r){"use strict";function t(e){return"string"==typeof e?!1:Array.isArray(e)?e.every(t):!!e.exclusive}Object.defineProperty(r,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/event"),i=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),n=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageSelector"),s=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),a=function(){function e(){this._clock=0,this._entries=[],this._onDidChange=new o.Emitter}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),e.prototype.register=function(e,r){var t=this,o={selector:e,provider:r,_score:-1,_time:this._clock++};return this._entries.push(o),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i.toDisposable(function(){if(o){var e=t._entries.indexOf(o);e>=0&&(t._entries.splice(e,1),t._lastCandidate=void 0,t._onDidChange.fire(t._entries.length),o=void 0)}})},e.prototype.has=function(e){return this.all(e).length>0},e.prototype.all=function(e){if(!e)return[];this._updateScores(e);for(var r=[],t=0,o=this._entries;t<o.length;t++){var i=o[t];i._score>0&&r.push(i.provider)}return r},e.prototype.ordered=function(e){var r=[];return this._orderedForEach(e,function(e){return r.push(e.provider)}),r},e.prototype.orderedGroups=function(e){var r,t,o=[];return this._orderedForEach(e,function(e){r&&t===e._score?r.push(e.provider):(t=e._score,r=[e.provider],o.push(r))}),o},e.prototype._orderedForEach=function(e,r){if(e){this._updateScores(e);for(var t=0,o=this._entries;t<o.length;t++){var i=o[t];i._score>0&&r(i)}}},e.prototype._updateScores=function(r){var o={uri:r.uri.toString(),language:r.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==o.language||this._lastCandidate.uri!==o.uri){this._lastCandidate=o;for(var i=0,a=this._entries;i<a.length;i++){var d=a[i];if(d._score=n.score(d.selector,r.uri,r.getLanguageIdentifier().language,s.shouldSynchronizeModel(r)),t(d.selector)&&d._score>0){for(var c=0,u=this._entries;c<u.length;c++){var _=u[c];_._score=0}d._score=1e3;break}}this._entries.sort(e._compareByScoreAndTime)}},e._compareByScoreAndTime=function(e,r){return e._score<r._score?1:e._score>r._score?-1:e._time<r._time?1:e._time>r._time?-1:0},e}();r.LanguageFeatureRegistry=a});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/tokenizationRegistry.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/tokenizationRegistry",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/event"),n=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),i=e("node_modules/monaco-editor/esm/vs/base/common/types"),s=e("node_modules/monaco-editor/esm/vs/base/common/map"),r=function(){function e(){this._map=new Map,this._promises=new Map,this._onDidChange=new t.Emitter,this.onDidChange=this._onDidChange.event,this._colorMap=null}return e.prototype.fire=function(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})},e.prototype.register=function(e,o){var t=this;return this._map.set(e,o),this.fire([e]),n.toDisposable(function(){t._map.get(e)===o&&(t._map.delete(e),t.fire([e]))})},e.prototype.registerPromise=function(e,o){var t=this,i=null,s=!1;return this._promises.set(e,o.then(function(o){t._promises.delete(e),!s&&o&&(i=t.register(e,o))})),n.toDisposable(function(){s=!0,i&&i.dispose()})},e.prototype.getPromise=function(e){var o=this,t=this.get(e);if(t)return Promise.resolve(t);var n=this._promises.get(e);return n?n.then(function(){return o.get(e)}):null},e.prototype.get=function(e){return i.withUndefinedAsNull(this._map.get(e))},e.prototype.setColorMap=function(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:s.keys(this._map),changedColorMap:!0})},e.prototype.getColorMap=function(){return this._colorMap},e.prototype.getDefaultBackground=function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null},e}();o.TokenizationRegistryImpl=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes",function(e,t){"use strict";function r(e){return e&&i.URI.isUri(e.uri)&&a.Range.isIRange(e.range)&&(a.Range.isIRange(e.originSelectionRange)||a.Range.isIRange(e.targetSelectionRange))}function n(e){return o.isObject(e)&&e.resource&&Array.isArray(e.edits)}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/types"),i=e("node_modules/monaco-editor/esm/vs/base/common/uri"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),g=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageFeatureRegistry"),u=e("node_modules/monaco-editor/esm/vs/editor/common/modes/tokenizationRegistry"),s=function(){function e(e,t){this.language=e,this.id=t}return e}();t.LanguageIdentifier=s;var c=function(){function e(){}return e.getLanguageId=function(e){return(255&e)>>>0},e.getTokenType=function(e){return(1792&e)>>>8},e.getFontStyle=function(e){return(14336&e)>>>11},e.getForeground=function(e){return(8372224&e)>>>14},e.getBackground=function(e){return(4286578688&e)>>>23},e.getClassNameFromMetadata=function(e){var t=this.getForeground(e),r="mtk"+t,n=this.getFontStyle(e);return 1&n&&(r+=" mtki"),2&n&&(r+=" mtkb"),4&n&&(r+=" mtku"),r},e.getInlineStyleFromMetadata=function(e,t){var r=this.getForeground(e),n=this.getFontStyle(e),o="color: "+t[r]+";";return 1&n&&(o+="font-style: italic;"),2&n&&(o+="font-weight: bold;"),4&n&&(o+="text-decoration: underline;"),o},e}();t.TokenMetadata=c,t.completionKindToCssClass=function(){var e=Object.create(null);return e[0]="method",e[1]="function",e[2]="constructor",e[3]="field",e[4]="variable",e[5]="class",e[6]="struct",e[7]="interface",e[8]="module",e[9]="property",e[10]="event",e[11]="operator",e[12]="unit",e[13]="value",e[14]="constant",e[15]="enum",e[16]="enum-member",e[17]="keyword",e[25]="snippet",e[18]="text",e[19]="color",e[20]="file",e[21]="reference",e[22]="customcolor",e[23]="folder",e[24]="type-parameter",function(t){return e[t]||"property"}}(),t.completionKindFromString=function(){var e=Object.create(null);return e.method=0,e["function"]=1,e.constructor=2,e.field=3,e.variable=4,e["class"]=5,e.struct=6,e["interface"]=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e["enum"]=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=25,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24,function(t,r){var n=e[t];return"undefined"!=typeof n||r||(n=9),n}}(),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(t.SignatureHelpTriggerKind||(t.SignatureHelpTriggerKind={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(t.DocumentHighlightKind||(t.DocumentHighlightKind={})),t.isLocationLink=r,t.symbolKindToCssClass=function(){var e=Object.create(null);return e[0]="file",e[1]="module",e[2]="namespace",e[3]="package",e[4]="class",e[5]="method",e[6]="property",e[7]="field",e[8]="constructor",e[9]="enum",e[10]="interface",e[11]="function",e[12]="variable",e[13]="constant",e[14]="string",e[15]="number",e[16]="boolean",e[17]="array",e[18]="object",e[19]="key",e[20]="null",e[21]="enum-member",e[22]="struct",e[23]="event",e[24]="operator",e[25]="type-parameter",function(t,r){return"symbol-icon "+(r?"inline":"block")+" "+(e[t]||"property")}}();var d=function(){function e(e){this.value=e}return e.Comment=new e("comment"),e.Imports=new e("imports"),e.Region=new e("region"),e}();t.FoldingRangeKind=d,t.isResourceTextEdit=n,t.ReferenceProviderRegistry=new g.LanguageFeatureRegistry,t.RenameProviderRegistry=new g.LanguageFeatureRegistry,t.CompletionProviderRegistry=new g.LanguageFeatureRegistry,t.SignatureHelpProviderRegistry=new g.LanguageFeatureRegistry,t.HoverProviderRegistry=new g.LanguageFeatureRegistry,t.DocumentSymbolProviderRegistry=new g.LanguageFeatureRegistry,t.DocumentHighlightProviderRegistry=new g.LanguageFeatureRegistry,t.DefinitionProviderRegistry=new g.LanguageFeatureRegistry,t.DeclarationProviderRegistry=new g.LanguageFeatureRegistry,t.ImplementationProviderRegistry=new g.LanguageFeatureRegistry,t.TypeDefinitionProviderRegistry=new g.LanguageFeatureRegistry,t.CodeLensProviderRegistry=new g.LanguageFeatureRegistry,t.CodeActionProviderRegistry=new g.LanguageFeatureRegistry,t.DocumentFormattingEditProviderRegistry=new g.LanguageFeatureRegistry,t.DocumentRangeFormattingEditProviderRegistry=new g.LanguageFeatureRegistry,t.OnTypeFormattingEditProviderRegistry=new g.LanguageFeatureRegistry,t.LinkProviderRegistry=new g.LanguageFeatureRegistry,t.ColorProviderRegistry=new g.LanguageFeatureRegistry,t.SelectionRangeRegistry=new g.LanguageFeatureRegistry,t.FoldingRangeProviderRegistry=new g.LanguageFeatureRegistry,t.TokenizationRegistry=new u.TokenizationRegistryImpl});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode",function(e,n){"use strict";function o(e,n,o,t){return new i.TokenizationResult([new i.Token(t,"",e)],o)}function t(e,o,t,r){var u=new Uint32Array(2);return u[0]=r,u[1]=(e<<0|0|0|16384|2<<23)>>>0,new i.TokenizationResult2(u,null===t?n.NULL_STATE:t)}Object.defineProperty(n,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/editor/common/core/token"),r=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),u=function(){function e(){}return e.prototype.clone=function(){return this},e.prototype.equals=function(e){return this===e},e}();n.NULL_STATE=new u,n.NULL_MODE_ID="vs.editor.nullMode",n.NULL_LANGUAGE_IDENTIFIER=new r.LanguageIdentifier(n.NULL_MODE_ID,0),n.nullTokenize=o,n.nullTokenize2=t});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.ID_EDITOR_WORKER_SERVICE="editorWorkerService",o.IEditorWorkerService=r.createDecorator(o.ID_EDITOR_WORKER_SERVICE)});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/resolverService.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/resolverService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.ITextModelService=t.createDecorator("textModelService")});
;/*!node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js*/
define("node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker",function(e,r){"use strict";function o(e){a.isWeb&&(c||(c=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}function t(e){return new p(e,null)}Object.defineProperty(r,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(r,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])})(r,o)};return function(r,o){function t(){this.constructor=r}e(r,o),r.prototype=null===o?Object.create(o):(t.prototype=o.prototype,new t)}}(),s=e("node_modules/monaco-editor/esm/vs/base/common/errors"),i=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=e("node_modules/monaco-editor/esm/vs/base/common/platform"),u=e("node_modules/monaco-editor/esm/vs/base/common/types"),l="$initialize",c=!1;r.logOnceWebWorkerWarning=o;var d=function(){function e(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(e){this._workerId=e},e.prototype.sendMessage=function(e,r){var o=this,t=String(++this._lastSentReq);return new Promise(function(n,s){o._pendingReplies[t]={resolve:n,reject:s},o._send({vsWorker:o._workerId,req:t,method:e,args:r})})},e.prototype.handleMessage=function(e){var r;try{r=JSON.parse(e)}catch(o){return}r&&r.vsWorker&&(-1===this._workerId||r.vsWorker===this._workerId)&&this._handleMessage(r)},e.prototype._handleMessage=function(e){var r=this;if(e.seq){var o=e;if(!this._pendingReplies[o.seq])return void console.warn("Got reply to unknown seq");var t=this._pendingReplies[o.seq];if(delete this._pendingReplies[o.seq],o.err){var n=o.err;return o.err.$isError&&(n=new Error,n.name=o.err.name,n.message=o.err.message,n.stack=o.err.stack),void t.reject(n)}return void t.resolve(o.res)}var i=e,a=i.req,u=this._handler.handleMessage(i.method,i.args);u.then(function(e){r._send({vsWorker:r._workerId,seq:a,res:e,err:void 0})},function(e){e.detail instanceof Error&&(e.detail=s.transformErrorForSerialization(e.detail)),r._send({vsWorker:r._workerId,seq:a,res:void 0,err:s.transformErrorForSerialization(e)})})},e.prototype._send=function(e){var r=JSON.stringify(e);this._handler.sendMessage(r)},e}(),f=function(e){function r(r,o){var t=e.call(this)||this,n=null;t._worker=t._register(r.create("vs/base/common/worker/simpleWorker",function(e){t._protocol.handleMessage(e)},function(e){n&&n(e)})),t._protocol=new d({sendMessage:function(e){t._worker.postMessage(e)},handleMessage:function(){return Promise.resolve(null)}}),t._protocol.setWorkerId(t._worker.getId());var s=null;"undefined"!=typeof self.require&&"function"==typeof self.require.getConfig?s=self.require.getConfig():"undefined"!=typeof self.requirejs&&(s=self.requirejs.s.contexts._.config),t._onModuleLoaded=t._protocol.sendMessage(l,[t._worker.getId(),o,s]),t._lazyProxy=new Promise(function(e,r){n=r,t._onModuleLoaded.then(function(r){for(var o={},t=0,n=r;t<n.length;t++){var s=n[t];o[s]=a(s,i)}e(o)},function(e){r(e),t._onError("Worker failed to load "+o,e)})});var i=function(e,r){return t._request(e,r)},a=function(e,r){return function(){var o=Array.prototype.slice.call(arguments,0);return r(e,o)}};return t}return n(r,e),r.prototype.getProxyObject=function(){return this._lazyProxy},r.prototype._request=function(e,r){var o=this;return new Promise(function(t,n){o._onModuleLoaded.then(function(){o._protocol.sendMessage(e,r).then(t,n)},n)})},r.prototype._onError=function(e,r){console.error(e),console.info(r)},r}(i.Disposable);r.SimpleWorkerClient=f;var p=function(){function e(e,r){var o=this;this._requestHandler=r,this._protocol=new d({sendMessage:function(r){e(r)},handleMessage:function(e,r){return o._handleMessage(e,r)}})}return e.prototype.onmessage=function(e){this._protocol.handleMessage(e)},e.prototype._handleMessage=function(e,r){if(e===l)return this.initialize(r[0],r[1],r[2]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,r))}catch(o){return Promise.reject(o)}},e.prototype.initialize=function(e,r,o){var t=this;if(this._protocol.setWorkerId(e),this._requestHandler){for(var n=[],s=0,i=u.getAllPropertyNames(this._requestHandler);s<i.length;s++){var a=i[s];"function"==typeof this._requestHandler[a]&&n.push(a)}return Promise.resolve(n)}return o&&("undefined"!=typeof o.baseUrl&&delete o.baseUrl,"undefined"!=typeof o.paths&&"undefined"!=typeof o.paths.vs&&delete o.paths.vs,o.catchError=!0,self.require.config(o)),new Promise(function(e,o){self.require([r],function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var s=r[0];if(t._requestHandler=s.create(),!t._requestHandler)return void o(new Error("No RequestHandler!"));for(var i=[],a=0,l=u.getAllPropertyNames(t._requestHandler);a<l.length;a++){var c=l[a];"function"==typeof t._requestHandler[c]&&i.push(c)}e(i)},o)})},e}();r.SimpleWorkerServer=p,r.create=t});
;/*!node_modules/monaco-editor/esm/vs/base/worker/defaultWorkerFactory.js*/
define("node_modules/monaco-editor/esm/vs/base/worker/defaultWorkerFactory",function(e,o){"use strict";function r(e,o){if(t.globals.MonacoEnvironment){if("function"==typeof t.globals.MonacoEnvironment.getWorker)return t.globals.MonacoEnvironment.getWorker(e,o);if("function"==typeof t.globals.MonacoEnvironment.getWorkerUrl)return new Worker(t.globals.MonacoEnvironment.getWorkerUrl(e,o))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function n(e){return"function"==typeof e.then?!0:!1}Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/platform"),i=e("node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker"),s=function(){function e(e,o,t,i,s){this.id=o;var a=r("workerMain.js",t);this.worker=n(a)?a:Promise.resolve(a),this.postMessage(e),this.worker.then(function(e){e.onmessage=function(e){i(e.data)},e.onmessageerror=s,"function"==typeof e.addEventListener&&e.addEventListener("error",s)})}return e.prototype.getId=function(){return this.id},e.prototype.postMessage=function(e){this.worker&&this.worker.then(function(o){return o.postMessage(e)})},e.prototype.dispose=function(){this.worker&&this.worker.then(function(e){return e.terminate()}),this.worker=null},e}(),a=function(){function e(e){this._label=e,this._webWorkerFailedBeforeError=!1}return e.prototype.create=function(o,r,n){var t=this,a=++e.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new s(o,a,this._label||"anonymous"+a,r,function(e){i.logOnceWebWorkerWarning(e),t._webWorkerFailedBeforeError=e,n(e)})},e.LAST_WORKER_ID=0,e}();o.DefaultWorkerFactory=a});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration",function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(n){n[n.None=0]="None",n[n.Indent=1]="Indent",n[n.IndentOutdent=2]="IndentOutdent",n[n.Outdent=3]="Outdent"}(t.IndentAction||(t.IndentAction={}));var e=function(){function n(n){if(this.open=n.open,this.close=n.close,this._standardTokenMask=0,Array.isArray(n.notIn))for(var t=0,e=n.notIn.length;e>t;t++){var o=n.notIn[t];switch(o){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4}}}return n.prototype.isOK=function(n){return 0===(this._standardTokenMask&n)},n}();t.StandardAutoClosingPairConditional=e});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/supports.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/supports",function(t,e){"use strict";function n(t,e){for(var n=t.getCount(),o=t.findTokenIndexAtOffset(e),r=t.getLanguageId(o),i=o;n>i+1&&t.getLanguageId(i+1)===r;)i++;for(var f=o;f>0&&t.getLanguageId(f-1)===r;)f--;return new s(t,r,f,i+1,t.getStartOffset(f),t.getEndOffset(i))}function o(t){return 0!==(7&t)}Object.defineProperty(e,"__esModule",{value:!0}),e.createScopedLineTokens=n;var s=function(){function t(t,e,n,o,s,r){this._actual=t,this.languageId=e,this._firstTokenIndex=n,this._lastTokenIndex=o,this.firstCharOffset=s,this._lastCharOffset=r}return t.prototype.getLineContent=function(){var t=this._actual.getLineContent();return t.substring(this.firstCharOffset,this._lastCharOffset)},t.prototype.getTokenCount=function(){return this._lastTokenIndex-this._firstTokenIndex},t.prototype.findTokenIndexAtOffset=function(t){return this._actual.findTokenIndexAtOffset(t+this.firstCharOffset)-this._firstTokenIndex},t.prototype.getStandardTokenType=function(t){return this._actual.getStandardTokenType(t+this._firstTokenIndex)},t}();e.ScopedLineTokens=s,e.ignoreBracketsInToken=o});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/supports/characterPair.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/characterPair",function(o,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=o("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration"),n=function(){function o(t){this._autoClosingPairs=t.autoClosingPairs?t.autoClosingPairs.map(function(o){return new e.StandardAutoClosingPairConditional(o)}):t.brackets?t.brackets.map(function(o){return new e.StandardAutoClosingPairConditional({open:o[0],close:o[1]})}):[],this._autoCloseBefore="string"==typeof t.autoCloseBefore?t.autoCloseBefore:o.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=t.surroundingPairs||this._autoClosingPairs}return o.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},o.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},o.prototype.shouldAutoClosePair=function(o,t,e){if(0===t.getTokenCount())return!0;for(var n=t.findTokenIndexAtOffset(e-2),r=t.getStandardTokenType(n),i=0,s=this._autoClosingPairs;i<s.length;i++){var u=s[i];if(u.open===o)return u.isOK(r)}return!1},o.prototype.getSurroundingPairs=function(){return this._surroundingPairs},o.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n ",o}();t.CharacterPairSupport=n});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets",function(e,n){"use strict";function t(e,n){var t={};return function(r){var o=e(r);return t.hasOwnProperty(o)||(t[o]=n(r)),t[o]}}function r(e){var n=/^[\w]+$/.test(e);return e=i.escapeRegExpCharacters(e),n?"\\b"+e+"\\b":e}function o(e){var n="("+e.map(r).join(")|(")+")";return i.createRegExp(n,!0)}Object.defineProperty(n,"__esModule",{value:!0});var c=e("node_modules/tslib/tslib"),i=c.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),u=function(){function e(e,n,t,r,o){this.languageIdentifier=e,this.open=n,this.close=t,this.forwardRegex=r,this.reversedRegex=o}return e}();n.RichEditBracket=u;var a=function(){function e(e,n){var t=this;this.brackets=n.map(function(n){return new u(e,n[0],n[1],f({open:n[0],close:n[1]}),h({open:n[0],close:n[1]}))}),this.forwardRegex=l(this.brackets),this.reversedRegex=d(this.brackets),this.textIsBracket={},this.textIsOpenBracket={};var r=0;this.brackets.forEach(function(e){t.textIsBracket[e.open.toLowerCase()]=e,t.textIsBracket[e.close.toLowerCase()]=e,t.textIsOpenBracket[e.open.toLowerCase()]=!0,t.textIsOpenBracket[e.close.toLowerCase()]=!1,r=Math.max(r,e.open.length),r=Math.max(r,e.close.length)}),this.maxBracketLength=r}return e}();n.RichEditBrackets=a;var f=t(function(e){return e.open+";"+e.close},function(e){return o([e.open,e.close])}),h=t(function(e){return e.open+";"+e.close},function(e){return o([p(e.open),p(e.close)])}),l=t(function(e){return e.map(function(e){return e.open+";"+e.close}).join(";")},function(e){var n=[];return e.forEach(function(e){n.push(e.open),n.push(e.close)}),o(n)}),d=t(function(e){return e.map(function(e){return e.open+";"+e.close}).join(";")},function(e){var n=[];return e.forEach(function(e){n.push(p(e.open)),n.push(p(e.close))}),o(n)}),p=function(){function e(e){for(var n="",t=e.length-1;t>=0;t--)n+=e.charAt(t);return n}var n=null,t=null;return function(r){return n!==r&&(n=r,t=e(n)),t}}(),v=function(){function e(){}return e._findPrevBracketInText=function(e,n,t,r){var o=t.match(e);if(!o)return null;var c=t.length-(o.index||0),i=o[0].length,u=r+c;return new s.Range(n,u-i+1,n,u+1)},e.findPrevBracketInToken=function(e,n,t,r,o){var c=p(t),i=c.substring(t.length-o,t.length-r);return this._findPrevBracketInText(e,n,i,r)},e.findNextBracketInText=function(e,n,t,r){var o=t.match(e);if(!o)return null;var c=o.index||0,i=o[0].length;if(0===i)return null;var u=r+c;return new s.Range(n,u+1,n,u+1+i)},e.findNextBracketInToken=function(e,n,t,r,o){var c=t.substring(r,o);return this.findNextBracketInText(e,n,c,r)},e}();n.BracketsUtils=v});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/supports/electricCharacter.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/electricCharacter",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration"),r=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports"),n=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets"),i=function(){function e(e,t,r){r=r||{},this._richEditBrackets=e,this._complexAutoClosePairs=t.filter(function(e){return e.open.length>1&&!!e.close}).map(function(e){return new o.StandardAutoClosingPairConditional(e)}),r.docComment&&this._complexAutoClosePairs.push(new o.StandardAutoClosingPairConditional({open:r.docComment.open,close:r.docComment.close||""}))}return e.prototype.getElectricCharacters=function(){var e=[];if(this._richEditBrackets)for(var t=0,o=this._richEditBrackets.brackets.length;o>t;t++){var r=this._richEditBrackets.brackets[t],n=r.close.charAt(r.close.length-1);e.push(n)}for(var i=0,s=this._complexAutoClosePairs;i<s.length;i++){var c=s[i];e.push(c.open.charAt(c.open.length-1))}return e=e.filter(function(e,t,o){return o.indexOf(e)===t})},e.prototype.onElectricCharacter=function(e,t,o){return this._onElectricAutoClose(e,t,o)||this._onElectricAutoIndent(e,t,o)},e.prototype._onElectricAutoIndent=function(e,t,o){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var i=t.findTokenIndexAtOffset(o-1);if(r.ignoreBracketsInToken(t.getStandardTokenType(i)))return null;var s=this._richEditBrackets.reversedRegex,c=t.getLineContent().substring(0,o-1)+e,a=n.BracketsUtils.findPrevBracketInToken(s,1,c,0,c.length);if(!a)return null;var l=c.substring(a.startColumn-1,a.endColumn-1);l=l.toLowerCase();var u=this._richEditBrackets.textIsOpenBracket[l];if(u)return null;var d=c.substring(0,a.startColumn-1);return/^\s*$/.test(d)?{matchOpenBracket:l}:null},e.prototype._onElectricAutoClose=function(e,t,o){if(!this._complexAutoClosePairs.length)return null;for(var r=t.getLineContent(),n=0,i=this._complexAutoClosePairs.length;i>n;n++){var s=this._complexAutoClosePairs[n];if(e===s.open.charAt(s.open.length-1)){var c=o-s.open.length+1,a=r.substring(c-1,o-1)+e;if(a===s.open){var l=t.findTokenIndexAtOffset(o-1),u=t.getStandardTokenType(l);if(s.isOK(u)&&!(r.indexOf(s.close,o-1)>=0))return{appendText:s.close}}}}return null},e}();t.BracketElectricCharacterSupport=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/supports/indentRules.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/indentRules",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this._indentationRules=t}return t.prototype.shouldIncrease=function(t){return this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(t)?!0:!1},t.prototype.shouldDecrease=function(t){return this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(t)?!0:!1},t.prototype.shouldIndentNextLine=function(t){return this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(t)?!0:!1},t.prototype.shouldIgnore=function(t){return this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(t)?!0:!1},t.prototype.getIndentMetadata=function(t){var e=0;return this.shouldIncrease(t)&&(e+=1),this.shouldDecrease(t)&&(e+=2),this.shouldIndentNextLine(t)&&(e+=4),this.shouldIgnore(t)&&(e+=8),e},t}();e.IndentRulesSupport=n});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/supports/onEnter.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/onEnter",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),n=e("node_modules/monaco-editor/esm/vs/base/common/errors"),o=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),s=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration"),a=function(){function e(t){var r=this;t=t||{},t.brackets=t.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],t.brackets.forEach(function(t){var n=e._createOpenBracketRegExp(t[0]),o=e._createCloseBracketRegExp(t[1]);n&&o&&r._brackets.push({open:t[0],openRegExp:n,close:t[1],closeRegExp:o})}),this._regExpRules=t.regExpRules||[]}return e.prototype.onEnter=function(e,t,r){for(var n=0,o=this._regExpRules.length;o>n;n++){var a=this._regExpRules[n],c=[{reg:a.beforeText,text:t},{reg:a.afterText,text:r},{reg:a.oneLineAboveText,text:e}].every(function(e){return e.reg?e.reg.test(e.text):!0});if(c)return a.action}if(t.length>0&&r.length>0)for(var n=0,o=this._brackets.length;o>n;n++){var i=this._brackets[n];if(i.openRegExp.test(t)&&i.closeRegExp.test(r))return{indentAction:s.IndentAction.IndentOutdent}}if(t.length>0)for(var n=0,o=this._brackets.length;o>n;n++){var i=this._brackets[n];if(i.openRegExp.test(t))return{indentAction:s.IndentAction.Indent}}return null},e._createOpenBracketRegExp=function(t){var r=o.escapeRegExpCharacters(t);return/\B/.test(r.charAt(0))||(r="\\b"+r),r+="\\s*$",e._safeRegExp(r)},e._createCloseBracketRegExp=function(t){var r=o.escapeRegExpCharacters(t);return/\B/.test(r.charAt(r.length-1))||(r+="\\b"),r="^\\s*"+r,e._safeRegExp(r)},e._safeRegExp=function(e){try{return new RegExp(e)}catch(t){return n.onUnexpectedError(t),null}},e}();t.OnEnterSupport=a});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=e("node_modules/monaco-editor/esm/vs/base/common/errors"),i=e("node_modules/monaco-editor/esm/vs/base/common/event"),o=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),u=e("node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper"),d=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration"),c=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports"),l=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/characterPair"),g=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/electricCharacter"),p=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/indentRules"),f=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/onEnter"),h=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets"),m=function(){function e(t,n,r){this._languageIdentifier=t,this._brackets=null,this._electricCharacter=null;var i=null;n&&(i=n._conf),this._conf=e._mergeConf(i,r),this.onEnter=e._handleOnEnter(this._conf),this.comments=e._handleComments(this._conf),this.characterPair=new l.CharacterPairSupport(this._conf),this.wordDefinition=this._conf.wordPattern||u.DEFAULT_WORD_REGEXP,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules&&(this.indentRulesSupport=new p.IndentRulesSupport(this._conf.indentationRules)),this.foldingRules=this._conf.folding||{}}return Object.defineProperty(e.prototype,"brackets",{get:function(){return!this._brackets&&this._conf.brackets&&(this._brackets=new h.RichEditBrackets(this._languageIdentifier,this._conf.brackets)),this._brackets},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"electricCharacter",{get:function(){if(!this._electricCharacter){var e=[];this._conf.autoClosingPairs?e=this._conf.autoClosingPairs:this._conf.brackets&&(e=this._conf.brackets.map(function(e){return{open:e[0],close:e[1]}})),this._electricCharacter=new g.BracketElectricCharacterSupport(this.brackets,e,this._conf.__electricCharacterSupport)}return this._electricCharacter},enumerable:!0,configurable:!0}),e._mergeConf=function(e,t){return{comments:e?t.comments||e.comments:t.comments,brackets:e?t.brackets||e.brackets:t.brackets,wordPattern:e?t.wordPattern||e.wordPattern:t.wordPattern,indentationRules:e?t.indentationRules||e.indentationRules:t.indentationRules,onEnterRules:e?t.onEnterRules||e.onEnterRules:t.onEnterRules,autoClosingPairs:e?t.autoClosingPairs||e.autoClosingPairs:t.autoClosingPairs,surroundingPairs:e?t.surroundingPairs||e.surroundingPairs:t.surroundingPairs,autoCloseBefore:e?t.autoCloseBefore||e.autoCloseBefore:t.autoCloseBefore,folding:e?t.folding||e.folding:t.folding,__electricCharacterSupport:e?t.__electricCharacterSupport||e.__electricCharacterSupport:t.__electricCharacterSupport}},e._handleOnEnter=function(e){var t={},n=!0;return e.brackets&&(n=!1,t.brackets=e.brackets),e.indentationRules&&(n=!1),e.onEnterRules&&(n=!1,t.regExpRules=e.onEnterRules),n?null:new f.OnEnterSupport(t)},e._handleComments=function(e){var t=e.comments;if(!t)return null;var n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){var r=t.blockComment,i=r[0],o=r[1];n.blockCommentStartToken=i,n.blockCommentEndToken=o}return n},e}();t.RichEditSupport=m;var C=function(){function e(){}return e}();t.LanguageConfigurationChangeEvent=C;var L=function(){function e(){this._entries=new Map,this._onDidChange=new i.Emitter,this.onDidChange=this._onDidChange.event}return e.prototype.register=function(e,t){var n=this,r=this._getRichEditSupport(e.id),i=new m(e,r,t);return this._entries.set(e.id,i),this._onDidChange.fire({languageIdentifier:e}),o.toDisposable(function(){n._entries.get(e.id)===i&&(n._entries.set(e.id,r),n._onDidChange.fire({languageIdentifier:e}))})},e.prototype._getRichEditSupport=function(e){return this._entries.get(e)},e.prototype._getElectricCharacterSupport=function(e){var t=this._getRichEditSupport(e);return t?t.electricCharacter||null:null},e.prototype.getElectricCharacters=function(e){var t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]},e.prototype.onElectricCharacter=function(e,t,n){var r=c.createScopedLineTokens(t,n-1),i=this._getElectricCharacterSupport(r.languageId);return i?i.onElectricCharacter(e,r,n-r.firstCharOffset):null},e.prototype.getComments=function(e){var t=this._getRichEditSupport(e);return t?t.comments||null:null},e.prototype._getCharacterPairSupport=function(e){var t=this._getRichEditSupport(e);return t?t.characterPair||null:null},e.prototype.getAutoClosingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoClosingPairs():[]},e.prototype.getAutoCloseBeforeSet=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():l.CharacterPairSupport.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED},e.prototype.getSurroundingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]},e.prototype.shouldAutoClosePair=function(e,t,n){var r=c.createScopedLineTokens(t,n-1),i=this._getCharacterPairSupport(r.languageId);return i?i.shouldAutoClosePair(e,r,n-r.firstCharOffset):!1},e.prototype.getWordDefinition=function(e){var t=this._getRichEditSupport(e);return u.ensureValidWordDefinition(t?t.wordDefinition||null:null)},e.prototype.getFoldingRules=function(e){var t=this._getRichEditSupport(e);return t?t.foldingRules:{}},e.prototype.getIndentRulesSupport=function(e){var t=this._getRichEditSupport(e);return t?t.indentRulesSupport||null:null},e.prototype.getPrecedingValidLine=function(e,t,n){var r=e.getLanguageIdAtPosition(t,0);if(t>1){var i=void 0,o=-1;for(i=t-1;i>=1;i--){if(e.getLanguageIdAtPosition(i,0)!==r)return o;var a=e.getLineContent(i);{if(!n.shouldIgnore(a)&&!/^\s+$/.test(a)&&""!==a)return i;o=i}}}return-1},e.prototype.getInheritIndentForLine=function(e,t,n){void 0===n&&(n=!0);var r=this.getIndentRulesSupport(e.getLanguageIdentifier().id);if(!r)return null;if(1>=t)return{indentation:"",action:null};var i=this.getPrecedingValidLine(e,t,r);if(0>i)return null;if(1>i)return{indentation:"",action:null};var o=e.getLineContent(i);if(r.shouldIncrease(o)||r.shouldIndentNextLine(o))return{indentation:a.getLeadingWhitespace(o),action:d.IndentAction.Indent,line:i};if(r.shouldDecrease(o))return{indentation:a.getLeadingWhitespace(o),action:null,line:i};if(1===i)return{indentation:a.getLeadingWhitespace(e.getLineContent(i)),action:null,line:i};var s=i-1,u=r.getIndentMetadata(e.getLineContent(s));if(!(3&u)&&4&u){for(var c=0,l=s-1;l>0;l--)if(!r.shouldIndentNextLine(e.getLineContent(l))){c=l;break}return{indentation:a.getLeadingWhitespace(e.getLineContent(c+1)),action:null,line:c+1}}if(n)return{indentation:a.getLeadingWhitespace(e.getLineContent(i)),action:null,line:i};for(var l=i;l>0;l--){var g=e.getLineContent(l);if(r.shouldIncrease(g))return{indentation:a.getLeadingWhitespace(g),action:d.IndentAction.Indent,line:l};if(r.shouldIndentNextLine(g)){for(var c=0,p=l-1;p>0;p--)if(!r.shouldIndentNextLine(e.getLineContent(l))){c=p;break}return{indentation:a.getLeadingWhitespace(e.getLineContent(c+1)),action:null,line:c+1}}if(r.shouldDecrease(g))return{indentation:a.getLeadingWhitespace(g),action:null,line:l}}return{indentation:a.getLeadingWhitespace(e.getLineContent(1)),action:null,line:1}},e.prototype.getGoodIndentForLine=function(e,t,n,i){var o=this.getIndentRulesSupport(t);if(!o)return null;var s=this.getInheritIndentForLine(e,n),u=e.getLineContent(n);if(s){var c=s.line;if(void 0!==c){var l=this._getOnEnterSupport(t),g=null;try{l&&(g=l.onEnter("",e.getLineContent(c),""))}catch(p){r.onUnexpectedError(p)}if(g){var f=a.getLeadingWhitespace(e.getLineContent(c));return g.removeText&&(f=f.substring(0,f.length-g.removeText)),g.indentAction===d.IndentAction.Indent||g.indentAction===d.IndentAction.IndentOutdent?f=i.shiftIndent(f):g.indentAction===d.IndentAction.Outdent&&(f=i.unshiftIndent(f)),o.shouldDecrease(u)&&(f=i.unshiftIndent(f)),g.appendText&&(f+=g.appendText),a.getLeadingWhitespace(f)}}return o.shouldDecrease(u)?s.action===d.IndentAction.Indent?s.indentation:i.unshiftIndent(s.indentation):s.action===d.IndentAction.Indent?i.shiftIndent(s.indentation):s.indentation}return null},e.prototype.getIndentForEnter=function(e,t,n,r){e.forceTokenization(t.startLineNumber);var i,o,s=e.getLineTokens(t.startLineNumber),u=c.createScopedLineTokens(s,t.startColumn-1),l=u.getLineContent(),g=!1;if(u.firstCharOffset>0&&s.getLanguageId(0)!==u.languageId?(g=!0,i=l.substr(0,t.startColumn-1-u.firstCharOffset)):i=s.getLineContent().substring(0,t.startColumn-1),t.isEmpty())o=l.substr(t.startColumn-1-u.firstCharOffset);else{var p=this.getScopedLineTokens(e,t.endLineNumber,t.endColumn);o=p.getLineContent().substr(t.endColumn-1-u.firstCharOffset)}var f=this.getIndentRulesSupport(u.languageId);if(!f)return null;var h=i,m=a.getLeadingWhitespace(i);if(!r&&!g){var C=this.getInheritIndentForLine(e,t.startLineNumber);f.shouldDecrease(i)&&C&&(m=C.indentation,C.action!==d.IndentAction.Indent&&(m=n.unshiftIndent(m))),h=m+a.ltrim(a.ltrim(i," ")," ")}var L={getLineTokens:function(t){return e.getLineTokens(t)},getLanguageIdentifier:function(){return e.getLanguageIdentifier()},getLanguageIdAtPosition:function(t,n){return e.getLanguageIdAtPosition(t,n)},getLineContent:function(n){return n===t.startLineNumber?h:e.getLineContent(n)}},_=a.getLeadingWhitespace(s.getLineContent()),v=this.getInheritIndentForLine(L,t.startLineNumber+1);if(!v){var I=g?_:m;return{beforeEnter:I,afterEnter:I}}var b=g?_:v.indentation;return v.action===d.IndentAction.Indent&&(b=n.shiftIndent(b)),f.shouldDecrease(o)&&(b=n.unshiftIndent(b)),{beforeEnter:g?_:m,afterEnter:b}},e.prototype.getIndentActionForType=function(e,t,n,r){var i=this.getScopedLineTokens(e,t.startLineNumber,t.startColumn),o=this.getIndentRulesSupport(i.languageId);if(!o)return null;var a,s=i.getLineContent(),u=s.substr(0,t.startColumn-1-i.firstCharOffset);if(t.isEmpty())a=s.substr(t.startColumn-1-i.firstCharOffset);else{var c=this.getScopedLineTokens(e,t.endLineNumber,t.endColumn);a=c.getLineContent().substr(t.endColumn-1-i.firstCharOffset)}if(!o.shouldDecrease(u+a)&&o.shouldDecrease(u+n+a)){var l=this.getInheritIndentForLine(e,t.startLineNumber,!1);if(!l)return null;var g=l.indentation;return l.action!==d.IndentAction.Indent&&(g=r.unshiftIndent(g)),g}return null},e.prototype.getIndentMetadata=function(e,t){var n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?1>t||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null},e.prototype._getOnEnterSupport=function(e){var t=this._getRichEditSupport(e);return t?t.onEnter||null:null},e.prototype.getRawEnterActionAtPosition=function(e,t,n){var r=this.getEnterAction(e,new s.Range(t,n,t,n));return r?r.enterAction:null},e.prototype.getEnterAction=function(e,t){var n=this.getIndentationAtPosition(e,t.startLineNumber,t.startColumn),i=this.getScopedLineTokens(e,t.startLineNumber,t.startColumn),o=this._getOnEnterSupport(i.languageId);if(!o)return null;var a,s=i.getLineContent(),u=s.substr(0,t.startColumn-1-i.firstCharOffset);if(t.isEmpty())a=s.substr(t.startColumn-1-i.firstCharOffset);else{var c=this.getScopedLineTokens(e,t.endLineNumber,t.endColumn);a=c.getLineContent().substr(t.endColumn-1-i.firstCharOffset)}var l=t.startLineNumber,g="";if(l>1&&0===i.firstCharOffset){var p=this.getScopedLineTokens(e,l-1);p.languageId===i.languageId&&(g=p.getLineContent())}var f=null;try{f=o.onEnter(g,u,a)}catch(h){r.onUnexpectedError(h)}return f?(f.appendText||(f.appendText=f.indentAction===d.IndentAction.Indent||f.indentAction===d.IndentAction.IndentOutdent?" ":""),f.removeText&&(n=n.substring(0,n.length-f.removeText)),{enterAction:f,indentation:n}):null},e.prototype.getIndentationAtPosition=function(e,t,n){var r=e.getLineContent(t),i=a.getLeadingWhitespace(r);return i.length>n-1&&(i=i.substring(0,n-1)),i},e.prototype.getScopedLineTokens=function(e,t,n){e.forceTokenization(t);var r=e.getLineTokens(t),i="undefined"==typeof n?e.getLineMaxColumn(t)-1:n-1,o=c.createScopedLineTokens(r,i);return o},e.prototype.getBracketsSupport=function(e){var t=this._getRichEditSupport(e);return t?t.brackets||null:null},e}();t.LanguageConfigurationRegistryImpl=L,t.LanguageConfigurationRegistry=new L});
;/*!node_modules/monaco-editor/esm/vs/base/common/diff/diffChange.js*/
define("node_modules/monaco-editor/esm/vs/base/common/diff/diffChange",function(i,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function i(i,t,e,n){this.originalStart=i,this.originalLength=t,this.modifiedStart=e,this.modifiedLength=n}return i.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},i.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},i}();t.DiffChange=e});
;/*!node_modules/monaco-editor/esm/vs/base/common/diff/diff.js*/
define("node_modules/monaco-editor/esm/vs/base/common/diff/diff",function(t,e){"use strict";function i(t){return{getLength:function(){return t.length},getElementAtIndex:function(e){return t.charCodeAt(e)}}}function n(t,e,n){return new d(i(t),i(e)).ComputeDiff(n)}Object.defineProperty(e,"__esModule",{value:!0});var r=t("node_modules/monaco-editor/esm/vs/base/common/diff/diffChange");e.stringDiff=n;var o=function(){function t(){}return t.Assert=function(t,e){if(!t)throw new Error(e)},t}();e.Debug=o;var a=function(){function t(){}return t.Copy=function(t,e,i,n,r){for(var o=0;r>o;o++)i[n+o]=t[e+o]},t}();e.MyArray=a;var h=1447,s=function(){function t(){this.m_changes=[],this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE,this.m_originalCount=0,this.m_modifiedCount=0}return t.prototype.MarkNextChange=function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new r.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE},t.prototype.AddOriginalElement=function(t,e){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,e),this.m_originalCount++},t.prototype.AddModifiedElement=function(t,e){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,e),this.m_modifiedCount++},t.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},t.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},t}(),d=function(){function t(t,e,i){void 0===i&&(i=null),this.OriginalSequence=t,this.ModifiedSequence=e,this.ContinueProcessingPredicate=i,this.m_forwardHistory=[],this.m_reverseHistory=[]}return t.prototype.ElementsAreEqual=function(t,e){return this.OriginalSequence.getElementAtIndex(t)===this.ModifiedSequence.getElementAtIndex(e)},t.prototype.OriginalElementsAreEqual=function(t,e){return this.OriginalSequence.getElementAtIndex(t)===this.OriginalSequence.getElementAtIndex(e)},t.prototype.ModifiedElementsAreEqual=function(t,e){return this.ModifiedSequence.getElementAtIndex(t)===this.ModifiedSequence.getElementAtIndex(e)},t.prototype.ComputeDiff=function(t){return this._ComputeDiff(0,this.OriginalSequence.getLength()-1,0,this.ModifiedSequence.getLength()-1,t)},t.prototype._ComputeDiff=function(t,e,i,n,r){var o=[!1],a=this.ComputeDiffRecursive(t,e,i,n,o);return r?this.PrettifyChanges(a):a},t.prototype.ComputeDiffRecursive=function(t,e,i,n,a){for(a[0]=!1;e>=t&&n>=i&&this.ElementsAreEqual(t,i);)t++,i++;for(;e>=t&&n>=i&&this.ElementsAreEqual(e,n);)e--,n--;if(t>e||i>n){var h=void 0;return n>=i?(o.Assert(t===e+1,"originalStart should only be one more than originalEnd"),h=[new r.DiffChange(t,0,i,n-i+1)]):e>=t?(o.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),h=[new r.DiffChange(t,e-t+1,i,0)]):(o.Assert(t===e+1,"originalStart should only be one more than originalEnd"),o.Assert(i===n+1,"modifiedStart should only be one more than modifiedEnd"),h=[]),h}var s=[0],d=[0],g=this.ComputeRecursionPoint(t,e,i,n,s,d,a),f=s[0],u=d[0];if(null!==g)return g;if(!a[0]){var l=this.ComputeDiffRecursive(t,f,i,u,a),m=[];return m=a[0]?[new r.DiffChange(f+1,e-(f+1)+1,u+1,n-(u+1)+1)]:this.ComputeDiffRecursive(f+1,e,u+1,n,a),this.ConcatenateChanges(l,m)}return[new r.DiffChange(t,e-t+1,i,n-i+1)]},t.prototype.WALKTRACE=function(t,e,i,n,o,a,h,d,g,f,u,l,m,c,p,C,y,S){var _,A=null,v=null,E=new s,L=e,M=i,q=m[0]-C[0]-n,O=Number.MIN_VALUE,w=this.m_forwardHistory.length-1;do _=q+t,_===L||M>_&&g[_-1]<g[_+1]?(u=g[_+1],c=u-q-n,O>u&&E.MarkNextChange(),O=u,E.AddModifiedElement(u+1,c),q=_+1-t):(u=g[_-1]+1,c=u-q-n,O>u&&E.MarkNextChange(),O=u-1,E.AddOriginalElement(u,c+1),q=_-1-t),w>=0&&(g=this.m_forwardHistory[w],t=g[0],L=1,M=g.length-1);while(--w>=-1);if(A=E.getReverseChanges(),S[0]){var D=m[0]+1,I=C[0]+1;if(null!==A&&A.length>0){var b=A[A.length-1];D=Math.max(D,b.getOriginalEnd()),I=Math.max(I,b.getModifiedEnd())}v=[new r.DiffChange(D,l-D+1,I,p-I+1)]}else{E=new s,L=a,M=h,q=m[0]-C[0]-d,O=Number.MAX_VALUE,w=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do _=q+o,_===L||M>_&&f[_-1]>=f[_+1]?(u=f[_+1]-1,c=u-q-d,u>O&&E.MarkNextChange(),O=u+1,E.AddOriginalElement(u+1,c+1),q=_+1-o):(u=f[_-1],c=u-q-d,u>O&&E.MarkNextChange(),O=u,E.AddModifiedElement(u+1,c+1),q=_-1-o),w>=0&&(f=this.m_reverseHistory[w],o=f[0],L=1,M=f.length-1);while(--w>=-1);v=E.getChanges()}return this.ConcatenateChanges(A,v)},t.prototype.ComputeRecursionPoint=function(t,e,i,n,o,s,d){var g,f=0,u=0,l=0,m=0,c=0,p=0;t--,i--,o[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var C=e-t+(n-i),y=C+1,S=new Array(y),_=new Array(y),A=n-i,v=e-t,E=t-i,L=e-n,M=v-A,q=M%2===0;S[A]=t,_[v]=e,d[0]=!1;var O,w;for(g=1;C/2+1>=g;g++){var D=0,I=0;for(l=this.ClipDiagonalBound(A-g,g,A,y),m=this.ClipDiagonalBound(A+g,g,A,y),O=l;m>=O;O+=2){for(f=O===l||m>O&&S[O-1]<S[O+1]?S[O+1]:S[O-1]+1,u=f-(O-A)-E,w=f;e>f&&n>u&&this.ElementsAreEqual(f+1,u+1);)f++,u++;if(S[O]=f,f+u>D+I&&(D=f,I=u),!q&&Math.abs(O-v)<=g-1&&f>=_[O])return o[0]=f,s[0]=u,w<=_[O]&&h>0&&h+1>=g?this.WALKTRACE(A,l,m,E,v,c,p,L,S,_,f,e,o,u,n,s,q,d):null}var b=(D-t+(I-i)-g)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(D,this.OriginalSequence,b))return d[0]=!0,o[0]=D,s[0]=I,b>0&&h>0&&h+1>=g?this.WALKTRACE(A,l,m,E,v,c,p,L,S,_,f,e,o,u,n,s,q,d):(t++,i++,[new r.DiffChange(t,e-t+1,i,n-i+1)]);for(c=this.ClipDiagonalBound(v-g,g,v,y),p=this.ClipDiagonalBound(v+g,g,v,y),O=c;p>=O;O+=2){for(f=O===c||p>O&&_[O-1]>=_[O+1]?_[O+1]-1:_[O-1],u=f-(O-v)-L,w=f;f>t&&u>i&&this.ElementsAreEqual(f,u);)f--,u--;if(_[O]=f,q&&Math.abs(O-A)<=g&&f<=S[O])return o[0]=f,s[0]=u,w>=S[O]&&h>0&&h+1>=g?this.WALKTRACE(A,l,m,E,v,c,p,L,S,_,f,e,o,u,n,s,q,d):null}if(h>=g){var B=new Array(m-l+2);B[0]=A-l+1,a.Copy(S,l,B,1,m-l+1),this.m_forwardHistory.push(B),B=new Array(p-c+2),B[0]=v-c+1,a.Copy(_,c,B,1,p-c+1),this.m_reverseHistory.push(B)}}return this.WALKTRACE(A,l,m,E,v,c,p,L,S,_,f,e,o,u,n,s,q,d)},t.prototype.PrettifyChanges=function(t){for(var e=0;e<t.length;e++){for(var i=t[e],n=e<t.length-1?t[e+1].originalStart:this.OriginalSequence.getLength(),r=e<t.length-1?t[e+1].modifiedStart:this.ModifiedSequence.getLength(),o=i.originalLength>0,a=i.modifiedLength>0;i.originalStart+i.originalLength<n&&i.modifiedStart+i.modifiedLength<r&&(!o||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!a||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));)i.originalStart++,i.modifiedStart++;var h=[null];e<t.length-1&&this.ChangesOverlap(t[e],t[e+1],h)&&(t[e]=h[0],t.splice(e+1,1),e--)}for(var e=t.length-1;e>=0;e--){var i=t[e],n=0,r=0;if(e>0){var s=t[e-1];s.originalLength>0&&(n=s.originalStart+s.originalLength),s.modifiedLength>0&&(r=s.modifiedStart+s.modifiedLength)}for(var o=i.originalLength>0,a=i.modifiedLength>0,d=0,g=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength),f=1;;f++){var u=i.originalStart-f,l=i.modifiedStart-f;if(n>u||r>l)break;if(o&&!this.OriginalElementsAreEqual(u,u+i.originalLength))break;if(a&&!this.ModifiedElementsAreEqual(l,l+i.modifiedLength))break;var m=this._boundaryScore(u,i.originalLength,l,i.modifiedLength);m>g&&(g=m,d=f)}i.originalStart-=d,i.modifiedStart-=d}return t},t.prototype._OriginalIsBoundary=function(t){if(0>=t||t>=this.OriginalSequence.getLength()-1)return!0;var e=this.OriginalSequence.getElementAtIndex(t);return"string"==typeof e&&/^\s*$/.test(e)},t.prototype._OriginalRegionIsBoundary=function(t,e){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(e>0){var i=t+e;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1},t.prototype._ModifiedIsBoundary=function(t){if(0>=t||t>=this.ModifiedSequence.getLength()-1)return!0;var e=this.ModifiedSequence.getElementAtIndex(t);return"string"==typeof e&&/^\s*$/.test(e)},t.prototype._ModifiedRegionIsBoundary=function(t,e){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(e>0){var i=t+e;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1},t.prototype._boundaryScore=function(t,e,i,n){var r=this._OriginalRegionIsBoundary(t,e)?1:0,o=this._ModifiedRegionIsBoundary(i,n)?1:0;return r+o},t.prototype.ConcatenateChanges=function(t,e){var i=[];if(0===t.length||0===e.length)return e.length>0?e:t;if(this.ChangesOverlap(t[t.length-1],e[0],i)){var n=new Array(t.length+e.length-1);return a.Copy(t,0,n,0,t.length-1),n[t.length-1]=i[0],a.Copy(e,1,n,t.length,e.length-1),n}var n=new Array(t.length+e.length);return a.Copy(t,0,n,0,t.length),a.Copy(e,0,n,t.length,e.length),n},t.prototype.ChangesOverlap=function(t,e,i){if(o.Assert(t.originalStart<=e.originalStart,"Left change is not less than or equal to right change"),o.Assert(t.modifiedStart<=e.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=e.originalStart||t.modifiedStart+t.modifiedLength>=e.modifiedStart){var n=t.originalStart,a=t.originalLength,h=t.modifiedStart,s=t.modifiedLength;return t.originalStart+t.originalLength>=e.originalStart&&(a=e.originalStart+e.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=e.modifiedStart&&(s=e.modifiedStart+e.modifiedLength-t.modifiedStart),i[0]=new r.DiffChange(n,a,h,s),!0}return i[0]=null,!1},t.prototype.ClipDiagonalBound=function(t,e,i,n){if(t>=0&&n>t)return t;var r=i,o=n-i-1,a=e%2===0;if(0>t){var h=r%2===0;return a===h?0:1}var s=o%2===0;return a===s?n-1:n-2},t}();e.LcsDiff=d});
;/*!node_modules/monaco-editor/esm/vs/editor/common/diff/diffComputer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/diff/diffComputer",function(i,e){"use strict";function t(i,e,t,n){var r=new o.LcsDiff(i,e,t);return r.ComputeDiff(n)}function n(i){if(i.length<=1)return i;for(var e=[i[0]],t=e[0],n=1,r=i.length;r>n;n++){var o=i[n],a=o.originalStart-(t.originalStart+t.originalLength),s=o.modifiedStart-(t.modifiedStart+t.modifiedLength),u=Math.min(a,s);h>u?(t.originalLength=o.originalStart+o.originalLength-t.originalStart,t.modifiedLength=o.modifiedStart+o.modifiedLength-t.modifiedStart):(e.push(o),t=o)}return e}Object.defineProperty(e,"__esModule",{value:!0});var r=i("node_modules/tslib/tslib"),o=i("node_modules/monaco-editor/esm/vs/base/common/diff/diff"),a=r.__importStar(i("node_modules/monaco-editor/esm/vs/base/common/strings")),s=5e3,h=3,u=function(){function i(e){for(var t=[],n=[],r=0,o=e.length;o>r;r++)t[r]=i._getFirstNonBlankColumn(e[r],1),n[r]=i._getLastNonBlankColumn(e[r],1);this._lines=e,this._startColumns=t,this._endColumns=n}return i.prototype.getLength=function(){return this._lines.length},i.prototype.getElementAtIndex=function(i){return this._lines[i].substring(this._startColumns[i]-1,this._endColumns[i]-1)},i.prototype.getStartLineNumber=function(i){return i+1},i.prototype.getEndLineNumber=function(i){return i+1},i._getFirstNonBlankColumn=function(i,e){var t=a.firstNonWhitespaceIndex(i);return-1===t?e:t+1},i._getLastNonBlankColumn=function(i,e){var t=a.lastNonWhitespaceIndex(i);return-1===t?e:t+2},i.prototype.getCharSequence=function(i,e,t){for(var n=[],r=[],o=[],a=0,s=e;t>=s;s++)for(var h=this._lines[s],u=i?this._startColumns[s]:1,m=i?this._endColumns[s]:h.length+1,g=u;m>g;g++)n[a]=h.charCodeAt(g-1),r[a]=s+1,o[a]=g,a++;return new d(n,r,o)},i}(),d=function(){function i(i,e,t){this._charCodes=i,this._lineNumbers=e,this._columns=t}return i.prototype.getLength=function(){return this._charCodes.length},i.prototype.getElementAtIndex=function(i){return this._charCodes[i]},i.prototype.getStartLineNumber=function(i){return this._lineNumbers[i]},i.prototype.getStartColumn=function(i){return this._columns[i]},i.prototype.getEndLineNumber=function(i){return this._lineNumbers[i]},i.prototype.getEndColumn=function(i){return this._columns[i]+1},i}(),m=function(){function i(i,e,t,n,r,o,a,s){this.originalStartLineNumber=i,this.originalStartColumn=e,this.originalEndLineNumber=t,this.originalEndColumn=n,this.modifiedStartLineNumber=r,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}return i.createFromDiffChange=function(e,t,n){var r,o,a,s,h,u,d,m;return 0===e.originalLength?(r=0,o=0,a=0,s=0):(r=t.getStartLineNumber(e.originalStart),o=t.getStartColumn(e.originalStart),a=t.getEndLineNumber(e.originalStart+e.originalLength-1),s=t.getEndColumn(e.originalStart+e.originalLength-1)),0===e.modifiedLength?(h=0,u=0,d=0,m=0):(h=n.getStartLineNumber(e.modifiedStart),u=n.getStartColumn(e.modifiedStart),d=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),m=n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new i(r,o,a,s,h,u,d,m)},i}(),g=function(){function i(i,e,t,n,r){this.originalStartLineNumber=i,this.originalEndLineNumber=e,this.modifiedStartLineNumber=t,this.modifiedEndLineNumber=n,this.charChanges=r}return i.createFromDiffResult=function(e,r,o,a,s,h,u){var d,g,l,f,c=void 0;if(0===r.originalLength?(d=o.getStartLineNumber(r.originalStart)-1,g=0):(d=o.getStartLineNumber(r.originalStart),g=o.getEndLineNumber(r.originalStart+r.originalLength-1)),0===r.modifiedLength?(l=a.getStartLineNumber(r.modifiedStart)-1,f=0):(l=a.getStartLineNumber(r.modifiedStart),f=a.getEndLineNumber(r.modifiedStart+r.modifiedLength-1)),h&&0!==r.originalLength&&0!==r.modifiedLength&&s()){var C=o.getCharSequence(e,r.originalStart,r.originalStart+r.originalLength-1),L=a.getCharSequence(e,r.modifiedStart,r.modifiedStart+r.modifiedLength-1),p=t(C,L,s,!0);u&&(p=n(p)),c=[];for(var S=0,b=p.length;b>S;S++)c.push(m.createFromDiffChange(p[S],C,L))}return new i(d,g,l,f,c)},i}(),l=function(){function i(i,e,t){this.shouldComputeCharChanges=t.shouldComputeCharChanges,this.shouldPostProcessCharChanges=t.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=t.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=t.shouldMakePrettyDiff,this.maximumRunTimeMs=s,this.originalLines=i,this.modifiedLines=e,this.original=new u(i),this.modified=new u(e)}return i.prototype.computeDiff=function(){if(1===this.original.getLength()&&0===this.original.getElementAtIndex(0).length)return[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.getLength(),charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}];if(1===this.modified.getLength()&&0===this.modified.getElementAtIndex(0).length)return[{originalStartLineNumber:1,originalEndLineNumber:this.original.getLength(),modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}];this.computationStartTime=(new Date).getTime();var i=t(this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldMakePrettyDiff);if(this.shouldIgnoreTrimWhitespace){for(var e=[],n=0,r=i.length;r>n;n++)e.push(g.createFromDiffResult(this.shouldIgnoreTrimWhitespace,i[n],this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return e}for(var o=[],a=0,s=0,n=-1,h=i.length;h>n;n++){for(var d=h>n+1?i[n+1]:null,m=d?d.originalStart:this.originalLines.length,l=d?d.modifiedStart:this.modifiedLines.length;m>a&&l>s;){var f=this.originalLines[a],c=this.modifiedLines[s];if(f!==c){for(var C=u._getFirstNonBlankColumn(f,1),L=u._getFirstNonBlankColumn(c,1);C>1&&L>1;){var p=f.charCodeAt(C-2),S=c.charCodeAt(L-2);if(p!==S)break;C--,L--}(C>1||L>1)&&this._pushTrimWhitespaceCharChange(o,a+1,1,C,s+1,1,L);for(var b=u._getLastNonBlankColumn(f,1),N=u._getLastNonBlankColumn(c,1),_=f.length+1,E=c.length+1;_>b&&E>N;){var p=f.charCodeAt(b-1),S=f.charCodeAt(N-1);if(p!==S)break;b++,N++}(_>b||E>N)&&this._pushTrimWhitespaceCharChange(o,a+1,b,_,s+1,N,E)}a++,s++}d&&(o.push(g.createFromDiffResult(this.shouldIgnoreTrimWhitespace,d,this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),a+=d.originalLength,s+=d.modifiedLength)}return o},i.prototype._pushTrimWhitespaceCharChange=function(i,e,t,n,r,o,a){if(!this._mergeTrimWhitespaceCharChange(i,e,t,n,r,o,a)){var s=void 0;this.shouldComputeCharChanges&&(s=[new m(e,t,e,n,r,o,r,a)]),i.push(new g(e,e,r,r,s))}},i.prototype._mergeTrimWhitespaceCharChange=function(i,e,t,n,r,o,a){var s=i.length;if(0===s)return!1;var h=i[s-1];return 0===h.originalEndLineNumber||0===h.modifiedEndLineNumber?!1:h.originalEndLineNumber+1===e&&h.modifiedEndLineNumber+1===r?(h.originalEndLineNumber=e,h.modifiedEndLineNumber=r,this.shouldComputeCharChanges&&h.charChanges.push(new m(e,t,e,n,r,o,r,a)),!0):!1},i.prototype._continueProcessingPredicate=function(){if(0===this.maximumRunTimeMs)return!0;var i=(new Date).getTime();return i-this.computationStartTime<this.maximumRunTimeMs},i}();e.DiffComputer=l});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/uint.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/uint",function(t,n){"use strict";function o(t){return 0>t?0:t>255?255:0|t}function r(t){return 0>t?0:t>4294967295?4294967295:0|t}function e(t){for(var n=t.length,o=new Uint32Array(n),e=0;n>e;e++)o[e]=r(t[e]);return o}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function t(t,n,o){for(var r=new Uint8Array(t*n),e=0,i=t*n;i>e;e++)r[e]=o;this._data=r,this.rows=t,this.cols=n}return t.prototype.get=function(t,n){return this._data[t*this.cols+n]},t.prototype.set=function(t,n,o){this._data[t*this.cols+n]=o},t}();n.Uint8Matrix=i,n.toUint8=o,n.toUint32=r,n.toUint32Array=e});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/monaco-editor/esm/vs/editor/common/core/uint"),u=function(){function t(t,e){this.index=t,this.remainder=e}return t}();e.PrefixSumIndexOfResult=u;var a=function(){function t(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return t.prototype.getCount=function(){return this.values.length},t.prototype.insertValues=function(t,e){t=i.toUint32(t);var u=this.values,a=this.prefixSum,r=e.length;return 0===r?!1:(this.values=new Uint32Array(u.length+r),this.values.set(u.subarray(0,t),0),this.values.set(u.subarray(t),t+r),this.values.set(e,t),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},t.prototype.changeValue=function(t,e){return t=i.toUint32(t),e=i.toUint32(e),this.values[t]===e?!1:(this.values[t]=e,t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),!0)},t.prototype.removeValues=function(t,e){t=i.toUint32(t),e=i.toUint32(e);var u=this.values,a=this.prefixSum;if(t>=u.length)return!1;var r=u.length-t;return e>=r&&(e=r),0===e?!1:(this.values=new Uint32Array(u.length-e),this.values.set(u.subarray(0,t),0),this.values.set(u.subarray(t+e),t),this.prefixSum=new Uint32Array(this.values.length),t-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=t-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},t.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},t.prototype.getAccumulatedValue=function(t){return 0>t?0:(t=i.toUint32(t),this._getAccumulatedValue(t))},t.prototype._getAccumulatedValue=function(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];var e=this.prefixSumValidIndex[0]+1;0===e&&(this.prefixSum[0]=this.values[0],e++),t>=this.values.length&&(t=this.values.length-1);for(var i=e;t>=i;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]},t.prototype.getIndexOf=function(t){t=Math.floor(t),this.getTotalValue();for(var e=0,i=this.values.length-1,a=0,r=0,n=0;i>=e;)if(a=e+(i-e)/2|0,r=this.prefixSum[a],n=r-this.values[a],n>t)i=a-1;else{if(!(t>=r))break;e=a+1}return new u(a,t-n)},t}();e.PrefixSumComputer=a;var r=function(){function t(t){this._cacheAccumulatedValueStart=0,this._cache=null,this._actual=new a(t),this._bustCache()}return t.prototype._bustCache=function(){this._cacheAccumulatedValueStart=0,this._cache=null},t.prototype.insertValues=function(t,e){this._actual.insertValues(t,e)&&this._bustCache()},t.prototype.changeValue=function(t,e){this._actual.changeValue(t,e)&&this._bustCache()},t.prototype.removeValues=function(t,e){this._actual.removeValues(t,e)&&this._bustCache()},t.prototype.getTotalValue=function(){return this._actual.getTotalValue()},t.prototype.getAccumulatedValue=function(t){return this._actual.getAccumulatedValue(t)},t.prototype.getIndexOf=function(t){if(t=Math.floor(t),null!==this._cache){var e=t-this._cacheAccumulatedValueStart;if(e>=0&&e<this._cache.length)return this._cache[e]}return this._actual.getIndexOf(t)},t.prototype.warmUpCache=function(t,e){for(var i=[],u=t;e>=u;u++)i[u-t]=this.getIndexOf(u);this._cache=i,this._cacheAccumulatedValueStart=t},t}();e.PrefixSumComputerWithCache=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),i=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer"),s=function(){function e(e,t,n,i){this._uri=e,this._lines=t,this._eol=n,this._versionId=i,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=e.changes,i=0,s=t;i<s.length;i++){var r=s[i];this._acceptDeleteRange(r.range),this._acceptInsertText(new n.Position(r.range.startLineNumber,r.range.startColumn),r.text)}this._versionId=e.versionId},e.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t),s=0;t>s;s++)n[s]=this._lines[s].length+e;this._lineStarts=new i.PrefixSumComputer(n)}},e.prototype._setLineText=function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;return void this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber)},e.prototype._acceptInsertText=function(e,t){if(0!==t.length){var n=t.split(/\r\n|\r|\n/);if(1===n.length)return void this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);for(var i=new Uint32Array(n.length-1),s=1;s<n.length;s++)this._lines.splice(e.lineNumber+s-1,0,n[s]),i[s-1]=n[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}},e}();t.MirrorTextModel=s});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/monaco-editor/esm/vs/editor/common/core/uint"),a=function(){function t(e){var a=i.toUint8(e);this._defaultValue=a,this._asciiMap=t._createAsciiMap(a),this._map=new Map}return t._createAsciiMap=function(t){for(var e=new Uint8Array(256),i=0;256>i;i++)e[i]=t;return e},t.prototype.set=function(t,e){var a=i.toUint8(e);t>=0&&256>t?this._asciiMap[t]=a:this._map.set(t,a)},t.prototype.get=function(t){return t>=0&&256>t?this._asciiMap[t]:this._map.get(t)||this._defaultValue},t}();e.CharacterClassifier=a;var o=function(){function t(){this._actual=new a(0)}return t.prototype.add=function(t){this._actual.set(t,1)},t.prototype.has=function(t){return 1===this._actual.get(t)},t}();e.CharacterSet=o});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/linkComputer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/linkComputer",function(e,t){"use strict";function n(){return null===s&&(s=new c([[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]])),s}function r(){if(null===u){u=new a.CharacterClassifier(0);for(var e=" <>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…",t=0;t<e.length;t++)u.set(e.charCodeAt(t),1);for(var n=".,;",t=0;t<n.length;t++)u.set(n.charCodeAt(t),2)}return u}function o(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?d.computeLinks(e):[]}Object.defineProperty(t,"__esModule",{value:!0});var a=e("node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier"),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/uint"),c=function(){function e(e){for(var t=0,n=0,r=0,o=e.length;o>r;r++){var a=e[r],c=a[0],s=a[1],u=a[2];s>t&&(t=s),c>n&&(n=c),u>n&&(n=u)}t++,n++;for(var d=new i.Uint8Matrix(n,t,0),r=0,o=e.length;o>r;r++){var f=e[r],c=f[0],s=f[1],u=f[2];d.set(c,s,u)}this._states=d,this._maxCharCode=t}return e.prototype.nextState=function(e,t){return 0>t||t>=this._maxCharCode?0:this._states.get(e,t)},e}();t.StateMachine=c;var s=null,u=null,d=function(){function e(){}return e._createLink=function(e,t,n,r,o){var a=o-1;do{var i=t.charCodeAt(a),c=e.get(i);if(2!==c)break;a--}while(a>r);if(r>0){var s=t.charCodeAt(r-1),u=t.charCodeAt(a);(40===s&&41===u||91===s&&93===u||123===s&&125===u)&&a--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:a+2},url:t.substring(r,a+1)}},e.computeLinks=function(t,o){void 0===o&&(o=n());for(var a=r(),i=[],c=1,s=t.getLineCount();s>=c;c++){for(var u=t.getLineContent(c),d=u.length,f=0,l=0,m=0,h=1,v=!1,C=!1,k=!1;d>f;){var g=!1,b=u.charCodeAt(f);if(13===h){var L=void 0;switch(b){case 40:v=!0,L=0;break;case 41:L=v?0:1;break;case 91:C=!0,L=0;break;case 93:L=C?0:1;break;case 123:k=!0,L=0;break;case 125:L=k?0:1;break;case 39:L=34===m||96===m?0:1;break;case 34:L=39===m||96===m?0:1;break;case 96:L=39===m||34===m?0:1;break;default:L=a.get(b)}1===L&&(i.push(e._createLink(a,u,c,l,f)),g=!0)}else if(12===h){var L=void 0;91===b?(C=!0,L=0):L=a.get(b),1===L?g=!0:h=13}else h=o.nextState(h,b),0===h&&(g=!0);g&&(h=1,v=!1,C=!1,k=!1,l=f+1,m=b),f++}13===h&&i.push(e._createLink(a,u,c,l,d))}return i},e}();t.LinkComputer=d,t.computeLinks=o});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/supports/inplaceReplaceSupport.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/inplaceReplaceSupport",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return e.prototype.navigateValueSet=function(e,t,a,l,n){if(e&&t){var r=this.doNavigateValueSet(t,n);if(r)return{range:e,value:r}}if(a&&l){var r=this.doNavigateValueSet(l,n);if(r)return{range:a,value:r}}return null},e.prototype.doNavigateValueSet=function(e,t){var a=this.numberReplace(e,t);return null!==a?a:this.textReplace(e,t)},e.prototype.numberReplace=function(e,t){var a=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),l=Number(e),n=parseFloat(e);return isNaN(l)||isNaN(n)||l!==n?null:0!==l||t?(l=Math.floor(l*a),l+=t?a:-a,String(l/a)):null},e.prototype.textReplace=function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)},e.prototype.valueSetsReplace=function(e,t,a){for(var l=null,n=0,r=e.length;null===l&&r>n;n++)l=this.valueSetReplace(e[n],t,a);return l},e.prototype.valueSetReplace=function(e,t,a){var l=e.indexOf(t);return l>=0?(l+=a?1:-1,0>l?l=e.length-1:l%=e.length,e[l]):null},e.INSTANCE=new e,e}();t.BasicInplaceReplace=a});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker",function(e,t){"use strict";function n(){return new y(null)}Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),i=e("node_modules/monaco-editor/esm/vs/base/common/diff/diff"),s=e("node_modules/monaco-editor/esm/vs/base/common/iterator"),u=e("node_modules/monaco-editor/esm/vs/base/common/platform"),l=e("node_modules/monaco-editor/esm/vs/base/common/uri"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d=e("node_modules/monaco-editor/esm/vs/editor/common/diff/diffComputer"),c=e("node_modules/monaco-editor/esm/vs/editor/common/model/mirrorTextModel"),f=e("node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper"),p=e("node_modules/monaco-editor/esm/vs/editor/common/modes/linkComputer"),g=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/inplaceReplaceSupport"),h=e("node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneBase"),v=e("node_modules/monaco-editor/esm/vs/base/common/types"),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(e){return this._lines[e-1]},t.prototype.getWordAtPosition=function(e,t){var n=f.getWordAtText(e.column,f.ensureValidWordDefinition(t),this._lines[e.lineNumber-1],0);return n?new m.Range(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},t.prototype.getWordUntilPosition=function(e,t){var n=this.getWordAtPosition(e,t);return n?{word:this._lines[e.lineNumber-1].substring(n.startColumn-1,e.column-1),startColumn:n.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},t.prototype.createWordIterator=function(e){var t,n,o=this,r=0,i=0,u=[],l=function(){if(i<u.length){var a=n.substring(u[i].start,u[i].end);return i+=1,t?t.value=a:t={done:!1,value:a},t}return r>=o._lines.length?s.FIN:(n=o._lines[r],u=o._wordenize(n,e),i=0,r+=1,l())};return{next:l}},t.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],o=this._wordenize(n,t),r=[],i=0,s=o;i<s.length;i++){var u=s[i];r.push({word:n.substring(u.start,u.end),startColumn:u.start+1,endColumn:u.end+1})}return r},t.prototype._wordenize=function(e,t){var n,o=[];for(t.lastIndex=0;(n=t.exec(e))&&0!==n[0].length;)o.push({start:n.index,end:n.index+n[0].length});return o},t.prototype.getValueInRange=function(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);var t=this._eol,n=e.startLineNumber-1,o=e.endLineNumber-1,r=[];r.push(this._lines[n].substring(e.startColumn-1));for(var i=n+1;o>i;i++)r.push(this._lines[i]);return r.push(this._lines[o].substring(0,e.endColumn-1)),r.join(t)},t.prototype.offsetAt=function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)},t.prototype.positionAt=function(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();var t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}},t.prototype._validateRange=function(e){var t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e},t.prototype._validatePosition=function(e){if(!a.Position.isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,o=!1;if(1>t)t=1,n=1,o=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,o=!0;else{var r=this._lines[t-1].length+1;1>n?(n=1,o=!0):n>r&&(n=r,o=!0)}return o?{lineNumber:t,column:n}:e},t}(c.MirrorTextModel),b=function(){function e(e){this._foreignModuleFactory=e,this._foreignModule=null}return e.prototype.computeDiff=function(e,t,n){var o=this._getModel(e),r=this._getModel(t);if(!o||!r)return Promise.resolve(null);var i=o.getLinesContent(),s=r.getLinesContent(),u=new d.DiffComputer(i,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0}),l=u.computeDiff(),a=l.length>0?!1:this._modelsAreIdentical(o,r);return Promise.resolve({identical:a,changes:l})},e.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount(),o=t.getLineCount();if(n!==o)return!1;for(var r=1;n>=r;r++){var i=e.getLineContent(r),s=t.getLineContent(r);if(i!==s)return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){var o=this._getModel(t);if(!o)return Promise.resolve(n);var s=[],u=void 0;n=r.mergeSort(n,function(e,t){if(e.range&&t.range)return m.Range.compareRangesUsingStarts(e.range,t.range);var n=e.range?0:1,o=t.range?0:1;return n-o});for(var l=0,a=n;l<a.length;l++){var d=a[l],c=d.range,f=d.text,p=d.eol;if("number"==typeof p&&(u=p),!m.Range.isEmpty(c)||f){var g=o.getValueInRange(c);if(f=f.replace(/\r\n|\n|\r/g,o.eol),g!==f)if(Math.max(f.length,g.length)>e._diffLimit)s.push({range:c,text:f});else for(var h=i.stringDiff(g,f,!1),v=o.offsetAt(m.Range.lift(c).getStartPosition()),_=0,b=h;_<b.length;_++){var y=b[_],C=o.positionAt(v+y.originalStart),N=o.positionAt(v+y.originalStart+y.originalLength),L={text:f.substr(y.modifiedStart,y.modifiedLength),range:{startLineNumber:C.lineNumber,startColumn:C.column,endLineNumber:N.lineNumber,endColumn:N.column}};o.getValueInRange(L.range)!==L.text&&s.push(L)}}}return"number"==typeof u&&s.push({eol:u,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),Promise.resolve(s)},e.prototype.computeLinks=function(e){var t=this._getModel(e);return Promise.resolve(t?p.computeLinks(t):null)},e.prototype.textualSuggest=function(t,n,o,r){var i=this._getModel(t);if(!i)return Promise.resolve(null);var s=Object.create(null),u=[],l=new RegExp(o,r),a=i.getWordUntilPosition(n,l),m=i.getWordAtPosition(n,l);m&&(s[i.getValueInRange(m)]=!0);for(var d=i.createWordIterator(l),c=d.next();!c.done&&u.length<=e._suggestionsLimit;c=d.next()){var f=c.value;s[f]||(s[f]=!0,isNaN(Number(f))&&u.push({kind:18,label:f,insertText:f,range:{startLineNumber:n.lineNumber,startColumn:a.startColumn,endLineNumber:n.lineNumber,endColumn:a.endColumn}}))}return Promise.resolve({suggestions:u})},e.prototype.computeWordRanges=function(e,t,n,o){var r=this._getModel(e);if(!r)return Promise.resolve(Object.create(null));for(var i=new RegExp(n,o),s=Object.create(null),u=t.startLineNumber;u<t.endLineNumber;u++)for(var l=r.getLineWords(u,i),a=0,m=l;a<m.length;a++){var d=m[a];if(isNaN(Number(d.word))){var c=s[d.word];c||(c=[],s[d.word]=c),c.push({startLineNumber:u,startColumn:d.startColumn,endLineNumber:u,endColumn:d.endColumn})}}return Promise.resolve(s)},e.prototype.navigateValueSet=function(e,t,n,o,r){var i=this._getModel(e);if(!i)return Promise.resolve(null);var s=new RegExp(o,r);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});var u=i.getValueInRange(t),l=i.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!l)return Promise.resolve(null);var a=i.getValueInRange(l),m=g.BasicInplaceReplace.INSTANCE.navigateValueSet(t,u,l,a,n);return Promise.resolve(m)},e.prototype.loadForeignModule=function(e,t){var n=this,o={getMirrorModels:function(){return n._getModels()}};if(this._foreignModuleFactory){this._foreignModule=this._foreignModuleFactory(o,t);for(var r=[],i=0,s=v.getAllPropertyNames(this._foreignModule);i<s.length;i++){var u=s[i];"function"==typeof this._foreignModule[u]&&r.push(u)}return Promise.resolve(r)}return Promise.reject(new Error("Unexpected usage"))},e.prototype.fmr=function(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(n){return Promise.reject(n)}},e._diffLimit=1e5,e._suggestionsLimit=1e4,e}();t.BaseEditorSimpleWorker=b;var y=function(e){function t(t){var n=e.call(this,t)||this;return n._models=Object.create(null),n}return o(t,e),t.prototype.dispose=function(){this._models=Object.create(null)},t.prototype._getModel=function(e){return this._models[e]},t.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach(function(n){return t.push(e._models[n])}),t},t.prototype.acceptNewModel=function(e){this._models[e.url]=new _(l.URI.parse(e.url),e.lines,e.EOL,e.versionId)},t.prototype.acceptModelChanged=function(e,t){if(this._models[e]){var n=this._models[e];n.onEvents(t)}},t.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},t}(b);t.EditorSimpleWorkerImpl=y,t.create=n,"function"==typeof importScripts&&(u.globals.monaco=h.createMonacoBaseAPI())});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/resourceConfiguration.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/resourceConfiguration",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.ITextResourceConfigurationService=r.createDecorator("textResourceConfigurationService"),o.ITextResourcePropertiesService=r.createDecorator("textResourcePropertiesService")});
;/*!node_modules/monaco-editor/esm/vs/platform/log/common/log.js*/
define("node_modules/monaco-editor/esm/vs/platform/log/common/log",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");e.ILogService=t.createDecorator("logService");var n=function(){function o(){}return o.prototype.trace=function(){for(var o=[],e=1;e<arguments.length;e++)o[e-1]=arguments[e]},o.prototype.error=function(){for(var o=[],e=1;e<arguments.length;e++)o[e-1]=arguments[e]},o.prototype.dispose=function(){},o}();e.NullLogService=n});
;/*!node_modules/monaco-editor/esm/vs/base/common/stopwatch.js*/
define("node_modules/monaco-editor/esm/vs/base/common/stopwatch",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=t("node_modules/monaco-editor/esm/vs/base/common/platform"),n=e.globals.performance&&"function"==typeof e.globals.performance.now,i=function(){function t(t){this._highResolution=n&&t,this._startTime=this._now(),this._stopTime=-1}return t.create=function(o){return void 0===o&&(o=!0),new t(o)},t.prototype.stop=function(){this._stopTime=this._now()},t.prototype.elapsed=function(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime},t.prototype._now=function(){return this._highResolution?e.globals.performance.now():(new Date).getTime()},t}();o.StopWatch=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerServiceImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerServiceImpl",function(e,t){"use strict";function r(e,t){var r=e.getModel(t);return r?r.isTooLargeForSyncing()?!1:!0:!1}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),i=this&&this.__decorate||function(e,t,r,o){var n,i=arguments.length,s=3>i?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(s=(3>i?n(s):i>3?n(t,r,s):n(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},s=this&&this.__param||function(e,t){return function(r,o){t(r,o,e)}},c=e("node_modules/monaco-editor/esm/vs/base/common/async"),u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=e("node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker"),a=e("node_modules/monaco-editor/esm/vs/base/worker/defaultWorkerFactory"),l=o.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),p=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),m=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorSimpleWorker"),_=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),h=e("node_modules/monaco-editor/esm/vs/editor/common/services/resourceConfiguration"),g=e("node_modules/monaco-editor/esm/vs/base/common/strings"),f=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),v=e("node_modules/monaco-editor/esm/vs/platform/log/common/log"),y=e("node_modules/monaco-editor/esm/vs/base/common/stopwatch"),S=6e4,k=3e5,M=function(e){function t(t,o,n){var i=e.call(this)||this;return i._modelService=t,i._workerManager=i._register(new w(i._modelService)),i._logService=n,i._register(l.LinkProviderRegistry.register("*",{provideLinks:function(e){return r(i._modelService,e.uri)?i._workerManager.withWorker().then(function(t){return t.computeLinks(e.uri)}).then(function(e){return e&&{links:e}}):Promise.resolve({links:[]})}})),i._register(l.CompletionProviderRegistry.register("*",new W(i._workerManager,o,i._modelService))),i}return n(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.canComputeDiff=function(e,t){return r(this._modelService,e)&&r(this._modelService,t)},t.prototype.computeDiff=function(e,t,r){return this._workerManager.withWorker().then(function(o){return o.computeDiff(e,t,r)})},t.prototype.computeMoreMinimalEdits=function(e,t){var o=this;if(f.isNonEmptyArray(t)){if(!r(this._modelService,e))return Promise.resolve(t);var n=y.StopWatch.create(!0),i=this._workerManager.withWorker().then(function(r){return r.computeMoreMinimalEdits(e,t)});return i.finally(function(){return o._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),n.elapsed())}),i}return Promise.resolve(void 0)},t.prototype.canNavigateValueSet=function(e){return r(this._modelService,e)},t.prototype.navigateValueSet=function(e,t,r){return this._workerManager.withWorker().then(function(o){return o.navigateValueSet(e,t,r)})},t.prototype.canComputeWordRanges=function(e){return r(this._modelService,e)},t.prototype.computeWordRanges=function(e,t){return this._workerManager.withWorker().then(function(r){return r.computeWordRanges(e,t)})},t=i([s(0,_.IModelService),s(1,h.ITextResourceConfigurationService),s(2,v.ILogService)],t)}(u.Disposable);t.EditorWorkerServiceImpl=M;var W=function(){function e(e,t,r){this._workerManager=e,this._configurationService=t,this._modelService=r}return e.prototype.provideCompletionItems=function(e,t){var o=this._configurationService.getValue(e.uri,t,"editor").wordBasedSuggestions;return o&&r(this._modelService,e.uri)?this._workerManager.withWorker().then(function(r){return r.textualSuggest(e.uri,t)}):void 0},e}(),w=function(e){function t(t){var r=e.call(this)||this;r._modelService=t,r._editorWorkerClient=null;var o=r._register(new c.IntervalTimer);return o.cancelAndSet(function(){return r._checkStopIdleWorker()},Math.round(k/2)),r._register(r._modelService.onModelRemoved(function(){return r._checkStopEmptyWorker()})),r}return n(t,e),t.prototype.dispose=function(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),e.prototype.dispose.call(this)},t.prototype._checkStopEmptyWorker=function(){if(this._editorWorkerClient){var e=this._modelService.getModels();0===e.length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}},t.prototype._checkStopIdleWorker=function(){if(this._editorWorkerClient){var e=(new Date).getTime()-this._lastWorkerUsedTime;e>k&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}},t.prototype.withWorker=function(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new O(this._modelService,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},t}(u.Disposable),C=function(e){function t(t,r,o){var n=e.call(this)||this;if(n._syncedModels=Object.create(null),n._syncedModelsLastUsedTime=Object.create(null),n._proxy=t,n._modelService=r,!o){var i=new c.IntervalTimer;i.cancelAndSet(function(){return n._checkStopModelSync()},Math.round(S/2)),n._register(i)}return n}return n(t,e),t.prototype.dispose=function(){for(var t in this._syncedModels)u.dispose(this._syncedModels[t]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),e.prototype.dispose.call(this)},t.prototype.esureSyncedResources=function(e){for(var t=0,r=e;t<r.length;t++){var o=r[t],n=o.toString();this._syncedModels[n]||this._beginModelSync(o),this._syncedModels[n]&&(this._syncedModelsLastUsedTime[n]=(new Date).getTime())}},t.prototype._checkStopModelSync=function(){var e=(new Date).getTime(),t=[];for(var r in this._syncedModelsLastUsedTime){var o=e-this._syncedModelsLastUsedTime[r];o>S&&t.push(r)}for(var n=0,i=t;n<i.length;n++){var s=i[n];this._stopModelSync(s)}},t.prototype._beginModelSync=function(e){var t=this,r=this._modelService.getModel(e);if(r&&!r.isTooLargeForSyncing()){var o=e.toString();this._proxy.acceptNewModel({url:r.uri.toString(),lines:r.getLinesContent(),EOL:r.getEOL(),versionId:r.getVersionId()});var n=[];n.push(r.onDidChangeContent(function(e){t._proxy.acceptModelChanged(o.toString(),e)})),n.push(r.onWillDispose(function(){t._stopModelSync(o)})),n.push(u.toDisposable(function(){t._proxy.acceptRemovedModel(o)})),this._syncedModels[o]=n}},t.prototype._stopModelSync=function(e){var t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],u.dispose(t)},t}(u.Disposable),b=function(){function e(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}return e.prototype.dispose=function(){this._instance.dispose()},e.prototype.getProxyObject=function(){return this._proxyObj},e}(),O=function(e){function t(t,r){var o=e.call(this)||this;return o._modelService=t,o._workerFactory=new a.DefaultWorkerFactory(r),o._worker=null,o._modelManager=null,o}return n(t,e),t.prototype._getOrCreateWorker=function(){if(!this._worker)try{this._worker=this._register(new d.SimpleWorkerClient(this._workerFactory,"vs/editor/common/services/editorSimpleWorker"))}catch(e){d.logOnceWebWorkerWarning(e),this._worker=new b(new m.EditorSimpleWorkerImpl(null))}return this._worker},t.prototype._getProxy=function(){var e=this;return this._getOrCreateWorker().getProxyObject().then(void 0,function(t){return d.logOnceWebWorkerWarning(t),e._worker=new b(new m.EditorSimpleWorkerImpl(null)),e._getOrCreateWorker().getProxyObject()})},t.prototype._getOrCreateModelManager=function(e){return this._modelManager||(this._modelManager=this._register(new C(e,this._modelService,!1))),this._modelManager},t.prototype._withSyncedResources=function(e){var t=this;return this._getProxy().then(function(r){return t._getOrCreateModelManager(r).esureSyncedResources(e),r})},t.prototype.computeDiff=function(e,t,r){return this._withSyncedResources([e,t]).then(function(o){return o.computeDiff(e.toString(),t.toString(),r)})},t.prototype.computeMoreMinimalEdits=function(e,t){return this._withSyncedResources([e]).then(function(r){return r.computeMoreMinimalEdits(e.toString(),t)})},t.prototype.computeLinks=function(e){return this._withSyncedResources([e]).then(function(t){return t.computeLinks(e.toString())})},t.prototype.textualSuggest=function(e,t){var r=this;return this._withSyncedResources([e]).then(function(o){var n=r._modelService.getModel(e);if(!n)return null;var i=p.LanguageConfigurationRegistry.getWordDefinition(n.getLanguageIdentifier().id),s=i.source,c=g.regExpFlags(i);return o.textualSuggest(e.toString(),t,s,c)})},t.prototype.computeWordRanges=function(e,t){var r=this;return this._withSyncedResources([e]).then(function(o){var n=r._modelService.getModel(e);if(!n)return Promise.resolve(null);var i=p.LanguageConfigurationRegistry.getWordDefinition(n.getLanguageIdentifier().id),s=i.source,c=g.regExpFlags(i);return o.computeWordRanges(e.toString(),t,s,c)})},t.prototype.navigateValueSet=function(e,t,r){var o=this;return this._withSyncedResources([e]).then(function(n){var i=o._modelService.getModel(e);if(!i)return null;var s=p.LanguageConfigurationRegistry.getWordDefinition(i.getLanguageIdentifier().id),c=s.source,u=g.regExpFlags(s);return n.navigateValueSet(e.toString(),t,r,c,u)})},t}(u.Disposable);t.EditorWorkerClient=O});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/webWorker.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/webWorker",function(e,r){"use strict";function t(e,r){return new i(e,r)}Object.defineProperty(r,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(r,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(r,t)};return function(r,t){function o(){this.constructor=r}e(r,t),r.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}}(),n=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerServiceImpl");r.createWebWorker=t;var i=function(e){function r(r,t){var o=e.call(this,r,t.label)||this;return o._foreignModuleId=t.moduleId,o._foreignModuleCreateData=t.createData||null,o._foreignProxy=null,o}return o(r,e),r.prototype._getForeignProxy=function(){var e=this;return this._foreignProxy||(this._foreignProxy=this._getProxy().then(function(r){return r.loadForeignModule(e._foreignModuleId,e._foreignModuleCreateData).then(function(t){e._foreignModuleCreateData=null;for(var o=function(e,t){return r.fmr(e,t)},n=function(e,r){return function(){var t=Array.prototype.slice.call(arguments,0);return r(e,t)}},i={},u=0,c=t;u<c.length;u++){var s=c[u];i[s]=n(s,o)}return i})})),this._foreignProxy},r.prototype.getProxy=function(){return this._getForeignProxy()},r.prototype.withSyncedResources=function(e){var r=this;return this._withSyncedResources(e).then(function(){return r.getProxy()})},r}(n.EditorWorkerClient)});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=t("node_modules/monaco-editor/esm/vs/editor/common/modes"),o=function(){function t(t,e){this._tokens=t,this._tokensCount=this._tokens.length>>>1,this._text=e}return t.prototype.equals=function(e){return e instanceof t?this.slicedEquals(e,0,this._tokensCount):!1},t.prototype.slicedEquals=function(t,e,n){if(this._text!==t._text)return!1;if(this._tokensCount!==t._tokensCount)return!1;for(var o=e<<1,s=o+(n<<1),r=o;s>r;r++)if(this._tokens[r]!==t._tokens[r])return!1;return!0},t.prototype.getLineContent=function(){return this._text},t.prototype.getCount=function(){return this._tokensCount},t.prototype.getStartOffset=function(t){return t>0?this._tokens[t-1<<1]:0},t.prototype.getLanguageId=function(t){var e=this._tokens[(t<<1)+1];return n.TokenMetadata.getLanguageId(e)},t.prototype.getStandardTokenType=function(t){var e=this._tokens[(t<<1)+1];return n.TokenMetadata.getTokenType(e)},t.prototype.getForeground=function(t){var e=this._tokens[(t<<1)+1];return n.TokenMetadata.getForeground(e)},t.prototype.getClassName=function(t){var e=this._tokens[(t<<1)+1];return n.TokenMetadata.getClassNameFromMetadata(e)},t.prototype.getInlineStyle=function(t,e){var o=this._tokens[(t<<1)+1];return n.TokenMetadata.getInlineStyleFromMetadata(o,e)},t.prototype.getEndOffset=function(t){return this._tokens[t<<1]},t.prototype.findTokenIndexAtOffset=function(e){return t.findIndexInTokensArray(this._tokens,e)},t.prototype.inflate=function(){return this},t.prototype.sliceAndInflate=function(t,e,n){return new s(this,t,e,n)},t.convertToEndOffset=function(t,e){for(var n=t.length>>>1,o=n-1,s=0;o>s;s++)t[s<<1]=t[s+1<<1];t[o<<1]=e},t.findIndexInTokensArray=function(t,e){if(t.length<=2)return 0;for(var n=0,o=(t.length>>>1)-1;o>n;){var s=n+Math.floor((o-n)/2),r=t[s<<1];if(r===e)return s+1;e>r?n=s+1:r>e&&(o=s)}return n},t}();e.LineTokens=o;var s=function(){function t(t,e,n,o){this._source=t,this._startOffset=e,this._endOffset=n,this._deltaOffset=o,this._firstTokenIndex=t.findTokenIndexAtOffset(e),this._tokensCount=0;for(var s=this._firstTokenIndex,r=t.getCount();r>s;s++){var i=t.getStartOffset(s);if(i>=n)break;this._tokensCount++}}return t.prototype.equals=function(e){return e instanceof t?this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount):!1},t.prototype.getCount=function(){return this._tokensCount},t.prototype.getForeground=function(t){return this._source.getForeground(this._firstTokenIndex+t)},t.prototype.getEndOffset=function(t){var e=this._source.getEndOffset(this._firstTokenIndex+t);return Math.min(this._endOffset,e)-this._startOffset+this._deltaOffset},t.prototype.getClassName=function(t){return this._source.getClassName(this._firstTokenIndex+t)},t.prototype.getInlineStyle=function(t,e){return this._source.getInlineStyle(this._firstTokenIndex+t,e)},t.prototype.findTokenIndexAtOffset=function(t){return this._source.findTokenIndexAtOffset(t+this._startOffset-this._deltaOffset)-this._firstTokenIndex},t}();e.SlicedLineTokens=s});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/stringBuilder.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/stringBuilder",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/tslib/tslib"),n=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/strings"));e.createStringBuilder="undefined"!=typeof TextDecoder?function(t){return new r(t)}:function(){return new s};var r=function(){function t(t){this._decoder=new TextDecoder("UTF-16LE"),this._capacity=0|t,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}return t.prototype.reset=function(){this._completedStrings=null,this._bufferLength=0},t.prototype.build=function(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()},t.prototype._buildBuffer=function(){if(0===this._bufferLength)return"";var t=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return this._decoder.decode(t)},t.prototype._flushBuffer=function(){var t=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[t]:this._completedStrings[this._completedStrings.length]=t},t.prototype.write1=function(t){var e=this._capacity-this._bufferLength;1>=e&&(0===e||n.isHighSurrogate(t))&&this._flushBuffer(),this._buffer[this._bufferLength++]=t},t.prototype.appendASCII=function(t){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=t},t.prototype.appendASCIIString=function(t){var e=t.length;if(this._bufferLength+e>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=t);for(var i=0;e>i;i++)this._buffer[this._bufferLength++]=t.charCodeAt(i)},t}(),s=function(){function t(){this._pieces=[],this._piecesLen=0}return t.prototype.reset=function(){this._pieces=[],this._piecesLen=0},t.prototype.build=function(){return this._pieces.join("")},t.prototype.write1=function(t){this._pieces[this._piecesLen++]=String.fromCharCode(t)},t.prototype.appendASCII=function(t){this._pieces[this._piecesLen++]=String.fromCharCode(t)},t.prototype.appendASCIIString=function(t){this._pieces[this._piecesLen++]=t},t}()});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewLayout/lineDecorations.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/lineDecorations",function(t,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=t("node_modules/tslib/tslib"),n=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/strings")),o=function(){function t(t,s,e,n){this.startColumn=t,this.endColumn=s,this.className=e,this.type=n}return t._equals=function(t,s){return t.startColumn===s.startColumn&&t.endColumn===s.endColumn&&t.className===s.className&&t.type===s.type},t.equalsArr=function(s,e){var n=s.length,o=e.length;if(n!==o)return!1;for(var r=0;n>r;r++)if(!t._equals(s[r],e[r]))return!1;return!0},t.filter=function(s,e,n,o){if(0===s.length)return[];for(var r=[],i=0,a=0,u=s.length;u>a;a++){var c=s[a],f=c.range;if(!(f.endLineNumber<e||f.startLineNumber>e||f.isEmpty()&&(0===c.type||3===c.type))){var l=f.startLineNumber===e?f.startColumn:n,m=f.endLineNumber===e?f.endColumn:o;r[i++]=new t(l,m,c.inlineClassName,c.type)}}return r},t.compare=function(t,s){return t.startColumn===s.startColumn?t.endColumn===s.endColumn?t.className<s.className?-1:t.className>s.className?1:0:t.endColumn-s.endColumn:t.startColumn-s.startColumn},t}();s.LineDecoration=o;var r=function(){function t(t,s,e){this.startOffset=t,this.endOffset=s,this.className=e}return t}();s.DecorationSegment=r;var i=function(){function t(){this.stopOffsets=[],this.classNames=[],this.count=0}return t.prototype.consumeLowerThan=function(t,s,e){for(;this.count>0&&this.stopOffsets[0]<t;){for(var n=0;n+1<this.count&&this.stopOffsets[n]===this.stopOffsets[n+1];)n++;e.push(new r(s,this.stopOffsets[n],this.classNames.join(" "))),s=this.stopOffsets[n]+1,this.stopOffsets.splice(0,n+1),this.classNames.splice(0,n+1),this.count-=n+1}return this.count>0&&t>s&&(e.push(new r(s,t-1,this.classNames.join(" "))),s=t),s},t.prototype.insert=function(t,s){if(0===this.count||this.stopOffsets[this.count-1]<=t)this.stopOffsets.push(t),this.classNames.push(s);else for(var e=0;e<this.count;e++)if(this.stopOffsets[e]>=t){this.stopOffsets.splice(e,0,t),this.classNames.splice(e,0,s);break}this.count++},t}(),a=function(){function t(){}return t.normalize=function(t,s){if(0===s.length)return[];for(var e=[],o=new i,r=0,a=0,u=s.length;u>a;a++){var c=s[a],f=c.startColumn,l=c.endColumn,m=c.className;if(f>1){var h=t.charCodeAt(f-2);n.isHighSurrogate(h)&&f--}if(l>1){var h=t.charCodeAt(l-2);n.isHighSurrogate(h)&&l--}var p=f-1,d=l-2;r=o.consumeLowerThan(p,r,e),0===o.count&&(r=p),o.insert(d,m)}return o.consumeLowerThan(1073741824,r,e),e},t}();s.LineDecorationsNormalizer=a});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer",function(e,t){"use strict";function n(e,t){if(0===e.lineContent.length){var n=0,r="<span><span> </span></span>";if(e.lineDecorations.length>0){for(var a=[],s=0,o=e.lineDecorations.length;o>s;s++){var h=e.lineDecorations[s];1===h.type&&(a.push(e.lineDecorations[s].className),n|=1),2===h.type&&(a.push(e.lineDecorations[s].className),n|=2)}0!==n&&(r='<span><span class="'+a.join(" ")+'"></span></span>')}return t.appendASCIIString(r),new I(new v(0,0),!1,n)}return c(i(e),t)}function r(e){var t=f.createStringBuilder(1e4),r=n(e,t);return new w(r.characterMapping,t.build(),r.containsRTL,r.containsForeignElements)}function i(e){var t,n,r=e.useMonospaceOptimizations,i=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<i.length?(t=!0,n=e.stopRenderingLineAfter):(t=!1,n=i.length);var c=a(e.lineTokens,e.fauxIndentLength,n);(2===e.renderWhitespace||1===e.renderWhitespace)&&(c=o(i,n,e.continuesWithWrappedLine,c,e.fauxIndentLength,e.tabSize,r,1===e.renderWhitespace));var d=0;if(e.lineDecorations.length>0){for(var p=0,f=e.lineDecorations.length;f>p;p++){var l=e.lineDecorations[p];3===l.type?d|=1:1===l.type?d|=1:2===l.type&&(d|=2)}c=h(i,n,c,e.lineDecorations)}return e.containsRTL||(c=s(i,c,!e.isBasicASCII||e.fontLigatures)),new C(r,e.canUseHalfwidthRightwardsArrow,i,n,t,c,d,e.tabSize,e.containsRTL,e.spaceWidth,e.renderWhitespace,e.renderControlCharacters)}function a(e,t,n){var r=[],i=0;t>0&&(r[i++]=new u(t,""));for(var a=0,s=e.getCount();s>a;a++){var o=e.getEndOffset(a);if(!(t>=o)){var h=e.getClassName(a);if(o>=n){r[i++]=new u(n,h);break}r[i++]=new u(o,h)}}return r}function s(e,t,n){var r=0,i=[],a=0;if(n)for(var s=0,o=t.length;o>s;s++){var h=t[s],c=h.endIndex;if(c>r+50){for(var d=h.type,p=-1,f=r,l=r;c>l;l++)32===e.charCodeAt(l)&&(p=l),-1!==p&&l-f>=50&&(i[a++]=new u(p+1,d),f=p+1,p=-1);f!==c&&(i[a++]=new u(c,d))}else i[a++]=h;r=c}else for(var s=0,o=t.length;o>s;s++){var h=t[s],c=h.endIndex,g=c-r;if(g>50){for(var d=h.type,v=Math.ceil(g/50),l=1;v>l;l++){var I=r+50*l;i[a++]=new u(I,d)}i[a++]=new u(c,d)}else i[a++]=h;r=c}return i}function o(e,t,n,r,i,a,s,o){var h,c=[],d=0,f=0,l=r[f].type,g=r[f].endIndex,v=r.length,I=p.firstNonWhitespaceIndex(e);-1===I?(I=t,h=t):h=p.lastNonWhitespaceIndex(e);for(var w=0,C=0;i>C;C++){var A=e.charCodeAt(C);9===A?w=a:p.isFullWidthCharacter(A)?w+=2:w++}w%=a;for(var S=!1,C=i;t>C;C++){var A=e.charCodeAt(C),m=void 0;if(I>C||C>h)m=!0;else if(9===A)m=!0;else if(32===A)if(o)if(S)m=!0;else{var L=t>C+1?e.charCodeAt(C+1):0;m=32===L||9===L}else m=!0;else m=!1;S?(!m||!s&&w>=a)&&(c[d++]=new u(C,"vs-whitespace"),w%=a):(C===g||m&&C>i)&&(c[d++]=new u(C,l),w%=a),9===A?w=a:p.isFullWidthCharacter(A)?w+=2:w++,S=m,C===g&&(f++,v>f&&(l=r[f].type,g=r[f].endIndex))}var W=!1;if(S)if(n&&o){var b=t>0?e.charCodeAt(t-1):0,R=t>1?e.charCodeAt(t-2):0,y=32===b&&32!==R&&9!==R;y||(W=!0)}else W=!0;return c[d++]=new u(t,W?"vs-whitespace":l),c}function h(e,t,n,r){r.sort(l.LineDecoration.compare);for(var i=l.LineDecorationsNormalizer.normalize(e,r),a=i.length,s=0,o=[],h=0,c=0,d=0,p=n.length;p>d;d++){for(var f=n[d],g=f.endIndex,v=f.type;a>s&&i[s].startOffset<g;){var I=i[s];if(I.startOffset>c&&(c=I.startOffset,o[h++]=new u(c,v)),!(I.endOffset+1<=g)){c=g,o[h++]=new u(c,v+" "+I.className);break}c=I.endOffset+1,o[h++]=new u(c,v+" "+I.className),s++}g>c&&(c=g,o[h++]=new u(c,v))}var w=n[n.length-1].endIndex;if(a>s&&i[s].startOffset===w){for(var C=[];a>s&&i[s].startOffset===w;)C.push(i[s].className),s++;o[h++]=new u(c,C.join(" "))}return o}function c(e,t){var n=e.fontIsMonospace,r=e.canUseHalfwidthRightwardsArrow,i=e.containsForeignElements,a=e.lineContent,s=e.len,o=e.isOverflowing,h=e.parts,c=e.tabSize,d=e.containsRTL,f=e.spaceWidth,l=e.renderWhitespace,u=e.renderControlCharacters,g=new v(s+1,h.length),w=0,C=0,A=0,S=0,m=0;t.appendASCIIString("<span>");for(var L=0,W=h.length;W>L;L++){m+=S;var b=h[L],R=b.endIndex,y=b.type,O=0!==l&&y.indexOf("vs-whitespace")>=0;if(A=0,t.appendASCIIString('<span class="'),t.appendASCIIString(y),t.appendASCII(34),O){for(var x=0,D=w,_=C;R>D;D++){var T=a.charCodeAt(D);if(9===T){var k=c-(D+_)%c;_+=k-1,x+=k}else x++}if(!n){var z="vs-whitespace"===y;(z||!i)&&(t.appendASCIIString(' style="width:'),t.appendASCIIString(String(f*x)),t.appendASCIIString('px"'))}for(t.appendASCII(62);R>w;w++){g.setPartData(w,L,A,m);var T=a.charCodeAt(w);if(9===T){var k=c-(w+C)%c;for(C+=k-1,A+=k-1,k>0&&(t.write1(!r||k>1?8594:65515),k--);k>0;)t.write1(160),k--}else t.write1(183);A++}S=x}else{var x=0;for(d&&t.appendASCIIString(' dir="ltr"'),t.appendASCII(62);R>w;w++){g.setPartData(w,L,A,m);var T=a.charCodeAt(w);switch(T){case 9:var k=c-(w+C)%c;for(C+=k-1,A+=k-1;k>0;)t.write1(160),x++,k--;break;case 32:t.write1(160),x++;break;case 60:t.appendASCIIString("&lt;"),x++;break;case 62:t.appendASCIIString("&gt;"),x++;break;case 38:t.appendASCIIString("&amp;"),x++;break;case 0:t.appendASCIIString("&#00;"),x++;break;case 65279:case 8232:t.write1(65533),x++;break;default:p.isFullWidthCharacter(T)&&C++,u&&32>T?(t.write1(9216+T),x++):(t.write1(T),x++)}A++}S=x}t.appendASCIIString("</span>")}return g.setPartData(s,h.length-1,A,m),o&&t.appendASCIIString("<span>&hellip;</span>"),t.appendASCIIString("</span>"),new I(g,d,i)}Object.defineProperty(t,"__esModule",{value:!0});var d=e("node_modules/tslib/tslib"),p=d.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),f=e("node_modules/monaco-editor/esm/vs/editor/common/core/stringBuilder"),l=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/lineDecorations"),u=function(){function e(e,t){this.endIndex=e,this.type=t}return e}(),g=function(){function e(e,t,n,r,i,a,s,o,h,c,d,p,f,l,u){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=r,this.isBasicASCII=i,this.containsRTL=a,this.fauxIndentLength=s,this.lineTokens=o,this.lineDecorations=h,this.tabSize=c,this.spaceWidth=d,this.stopRenderingLineAfter=p,this.renderWhitespace="all"===f?2:"boundary"===f?1:0,this.renderControlCharacters=l,this.fontLigatures=u}return e.prototype.equals=function(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.spaceWidth===e.spaceWidth&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&l.LineDecoration.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)},e}();t.RenderLineInput=g;var v=function(){function e(e){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}return e.getPartIndex=function(e){return(4294901760&e)>>>16},e.getCharIndex=function(e){return(65535&e)>>>0},e.prototype.setPartData=function(e,t,n,r){var i=(t<<16|n<<0)>>>0;this._data[e]=i,this._absoluteOffsets[e]=r+n},e.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},e.prototype.charOffsetToPartData=function(e){return 0===this.length?0:0>e?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]},e.prototype.partDataToCharOffset=function(t,n,r){if(0===this.length)return 0;for(var i=(t<<16|r<<0)>>>0,a=0,s=this.length-1;s>a+1;){var o=a+s>>>1,h=this._data[o];if(h===i)return o;h>i?s=o:a=o}if(a===s)return a;var c=this._data[a],d=this._data[s];if(c===i)return a;if(d===i)return s;var p,f=e.getPartIndex(c),l=e.getCharIndex(c),u=e.getPartIndex(d);p=f!==u?n:e.getCharIndex(d);var g=r-l,v=p-r;return v>=g?a:s},e}();t.CharacterMapping=v;var I=function(){function e(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n}return e}();t.RenderLineOutput=I,t.renderViewLine=n;var w=function(){function e(e,t,n,r){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=r}return e}();t.RenderLineOutput2=w,t.renderViewLine2=r;var C=function(){function e(e,t,n,r,i,a,s,o,h,c,d,p){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=r,this.isOverflowing=i,this.parts=a,this.containsForeignElements=s,this.tabSize=o,this.containsRTL=h,this.spaceWidth=c,this.renderWhitespace=d,this.renderControlCharacters=p}return e}()});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel",function(i,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=i("node_modules/tslib/tslib"),e=t.__importStar(i("node_modules/monaco-editor/esm/vs/base/common/strings")),s=function(){function i(i,n,t,e){this.top=0|i,this.left=0|n,this.width=0|t,this.height=0|e}return i}();n.Viewport=s;var o=function(){function i(i,n){this.tabSize=i,this.data=n}return i}();n.MinimapLinesRenderingData=o;var a=function(){function i(i,n,t,e,s){this.content=i,this.continuesWithWrappedLine=n,this.minColumn=t,this.maxColumn=e,this.tokens=s}return i}();n.ViewLineData=a;var r=function(){function i(n,t,e,s,o,a,r,c,u){this.minColumn=n,this.maxColumn=t,this.content=e,this.continuesWithWrappedLine=s,this.isBasicASCII=i.isBasicASCII(e,a),this.containsRTL=i.containsRTL(e,this.isBasicASCII,o),this.tokens=r,this.inlineDecorations=c,this.tabSize=u}return i.isBasicASCII=function(i,n){return n?e.isBasicASCII(i):!0},i.containsRTL=function(i,n,t){return!n&&t?e.containsRTL(i):!1},i}();n.ViewLineRenderingData=r;var c=function(){function i(i,n,t){this.range=i,this.inlineClassName=n,this.type=t}return i}();n.InlineDecoration=c;var u=function(){function i(i,n){this.range=i,this.options=n}return i}();n.ViewModelDecoration=u});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchCommon.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchCommon",function(n,r){"use strict";function t(n){return Array.isArray(n)}function e(n){return!t(n)}function u(n){return"string"==typeof n}function o(n){return!u(n)}function i(n){return n?!1:!0}function s(n,r){return n.ignoreCase&&r?r.toLowerCase():r}function a(n){return n.replace(/[&<>'"_]/g,"-")}function l(n,r){console.log(n.languageId+": "+r)}function c(n,r){return new Error(n.languageId+": "+r)}function f(n,r,t,e,u){var o=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,a=null;return r.replace(o,function(r,o,l,c,f,d,g){return i(l)?i(c)?!i(f)&&f<e.length?s(n,e[f]):!i(g)&&n&&"string"==typeof n[g]?n[g]:(null===a&&(a=u.split("."),a.unshift(u)),!i(d)&&d<a.length?s(n,a[d]):""):s(n,t):"$"})}function d(n,r){for(var t=r;t&&t.length>0;){var e=n.tokenizer[t];if(e)return e;var u=t.lastIndexOf(".");t=0>u?null:t.substr(0,u)}return null}function g(n,r){for(var t=r;t&&t.length>0;){var e=n.stateNames[t];if(e)return!0;var u=t.lastIndexOf(".");t=0>u?null:t.substr(0,u)}return!1}Object.defineProperty(r,"__esModule",{value:!0}),r.isFuzzyActionArr=t,r.isFuzzyAction=e,r.isString=u,r.isIAction=o,r.empty=i,r.fixCase=s,r.sanitize=a,r.log=l,r.createError=c,r.substituteMatches=f,r.findRules=d,r.stateExists=g});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchLexer.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchLexer",function(e,t){"use strict";function n(e,t){if(!t)return null;t=u.fixCase(e,t);for(var n=e.brackets,r=0,i=n;r<i.length;r++){var o=i[r];if(o.open===t)return{token:o.token,bracketType:1};if(o.close===t)return{token:o.token,bracketType:-1}}return null}function r(e,t,n,r){return new k(e,t,n,r)}Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/token"),s=i.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),a=e("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode"),u=i.__importStar(e("node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchCommon")),d=5,l=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new h(e,t);var n=h.getStackElementId(e);n.length>0&&(n+="|"),n+=t;var r=this._entries[n];return r?r:(r=new h(e,t),this._entries[n]=r,r)},e._INSTANCE=new e(d),e}(),h=function(){function e(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}return e.getStackElementId=function(e){for(var t="";null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t},e._equals=function(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t?!0:!1},e.prototype.equals=function(t){return e._equals(this,t)},e.prototype.push=function(e){return l.create(this,e)},e.prototype.pop=function(){return this.parent},e.prototype.popall=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.switchTo=function(e){return l.create(this.parent,e)},e}(),c=function(){function e(e,t){this.modeId=e,this.state=t}return e.prototype.equals=function(e){return this.modeId===e.modeId&&this.state.equals(e.state)},e.prototype.clone=function(){var t=this.state.clone();return t===this.state?this:new e(this.modeId,this.state)},e}(),f=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==t)return new p(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new p(e,t);var n=h.getStackElementId(e),r=this._entries[n];return r?r:(r=new p(e,null),this._entries[n]=r,r)},e._INSTANCE=new e(d),e}(),p=function(){function e(e,t){this.stack=e,this.embeddedModeData=t}return e.prototype.clone=function(){var e=this.embeddedModeData?this.embeddedModeData.clone():null;return e===this.embeddedModeData?this:f.create(this.stack,this.embeddedModeData)},e.prototype.equals=function(t){return t instanceof e&&this.stack.equals(t.stack)?null===this.embeddedModeData&&null===t.embeddedModeData?!0:null===this.embeddedModeData||null===t.embeddedModeData?!1:this.embeddedModeData.equals(t.embeddedModeData):!1},e}(),m=Object.hasOwnProperty,_=function(){function e(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return e.prototype.enterMode=function(e,t){this._language=t},e.prototype.emit=function(e,t){(this._lastTokenType!==t||this._lastTokenLanguage!==this._language)&&(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new o.Token(e,t,this._language)))},e.prototype.nestedModeTokenize=function(e,t,n){var r=t.modeId,i=t.state,o=s.TokenizationRegistry.get(r);if(!o)return this.enterMode(n,r),this.emit(n,""),i;var a=o.tokenize(e,i,n);return this._tokens=this._tokens.concat(a.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,a.endState},e.prototype.finalize=function(e){return new o.TokenizationResult(this._tokens,e)},e}(),g=function(){function e(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return e.prototype.enterMode=function(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id},e.prototype.emit=function(e,t){var n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))},e._merge=function(e,t,n){var r=null!==e?e.length:0,i=t.length,o=null!==n?n.length:0;if(0===r&&0===i&&0===o)return new Uint32Array(0);if(0===r&&0===i)return n;if(0===i&&0===o)return e;var s=new Uint32Array(r+i+o);null!==e&&s.set(e);for(var a=0;i>a;a++)s[r+a]=t[a];return null!==n&&s.set(n,r+i),s},e.prototype.nestedModeTokenize=function(t,n,r){var i=n.modeId,o=n.state,a=s.TokenizationRegistry.get(i);if(!a)return this.enterMode(r,i),this.emit(r,""),o;var u=a.tokenize2(t,o,r);return this._prependTokens=e._merge(this._prependTokens,this._tokens,u.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,u.endState},e.prototype.finalize=function(t){return new o.TokenizationResult2(e._merge(this._prependTokens,this._tokens,null),t)},e}(),k=function(){function e(e,t,n,r){var i=this;this._modeService=e,this._standaloneThemeService=t,this._modeId=n,this._lexer=r,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);var o=!1;this._tokenizationRegistryListener=s.TokenizationRegistry.onDidChange(function(e){if(!o){for(var t=!1,n=0,r=e.changedLanguages.length;r>n;n++){var a=e.changedLanguages[n];if(i._embeddedModes[a]){t=!0;break}}t&&(o=!0,s.TokenizationRegistry.fire([i._modeId]),o=!1)}})}return e.prototype.dispose=function(){this._tokenizationRegistryListener.dispose()},e.prototype.getLoadStatus=function(){var t=[];for(var n in this._embeddedModes){var r=s.TokenizationRegistry.get(n);if(r){if(r instanceof e){var i=r.getLoadStatus();i.loaded===!1&&t.push(i.promise)}}else{var o=s.TokenizationRegistry.getPromise(n);o&&t.push(o)}}return 0===t.length?{loaded:!0}:{loaded:!1,promise:Promise.all(t).then(function(){return void 0})}},e.prototype.getInitialState=function(){var e=l.create(null,this._lexer.start);return f.create(e,null)},e.prototype.tokenize=function(e,t,n){var r=new _,i=this._tokenize(e,t,n,r);return r.finalize(i)},e.prototype.tokenize2=function(e,t,n){var r=new g(this._modeService,this._standaloneThemeService.getTheme().tokenTheme),i=this._tokenize(e,t,n,r);return r.finalize(i)},e.prototype._tokenize=function(e,t,n,r){return t.embeddedModeData?this._nestedTokenize(e,t,n,r):this._myTokenize(e,t,n,r)},e.prototype._findLeavingNestedModeOffset=function(e,t){var n=this._lexer.tokenizer[t.stack.state];if(!n&&(n=u.findRules(this._lexer,t.stack.state),!n))throw u.createError(this._lexer,"tokenizer state is not defined: "+t.stack.state);var r=-1,i=!1;for(var o in n)if(m.call(n,o)){var s=n[o];if(u.isIAction(s.action)&&"@pop"===s.action.nextEmbedded){i=!0;var a=s.regex,d=s.regex.source;"^(?:"===d.substr(0,4)&&")"===d.substr(d.length-1,1)&&(a=new RegExp(d.substr(4,d.length-5),a.ignoreCase?"i":""));var l=e.search(a);-1!==l&&(-1===r||r>l)&&(r=l)}}if(!i)throw u.createError(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return r},e.prototype._nestedTokenize=function(e,t,n,r){var i=this._findLeavingNestedModeOffset(e,t);if(-1===i){var o=r.nestedModeTokenize(e,t.embeddedModeData,n);return f.create(t.stack,new c(t.embeddedModeData.modeId,o))}var s=e.substring(0,i);s.length>0&&r.nestedModeTokenize(s,t.embeddedModeData,n);var a=e.substring(i);return this._myTokenize(a,t,n+i,r)},e.prototype._safeRuleName=function(e){return e?e.name:"(unknown)"},e.prototype._myTokenize=function(e,t,r,i){i.enterMode(r,this._modeId);for(var o=e.length,s=t.embeddedModeData,a=t.stack,d=0,l=null,h=!0;h||o>d;){var c=d,p=a.depth,_=l?l.groups.length:0,g=a.state,k=null,v=null,b=null,y=null,x=null;if(l){k=l.matches;var T=l.groups.shift();v=T.matched,b=T.action,y=l.rule,0===l.groups.length&&(l=null)}else{if(!h&&d>=o)break;h=!1;var M=this._lexer.tokenizer[g];if(!M&&(M=u.findRules(this._lexer,g),!M))throw u.createError(this._lexer,"tokenizer state is not defined: "+g);var w=e.substr(d);for(var z in M)if(m.call(M,z)){var E=M[z];if((0===d||!E.matchOnlyAtLineStart)&&(k=w.match(E.regex))){v=k[0],b=E.action;break}}}if(k||(k=[""],v=""),b||(o>d&&(k=[e.charAt(d)],v=k[0]),b=this._lexer.defaultToken),null===v)break;for(d+=v.length;u.isFuzzyAction(b)&&u.isIAction(b)&&b.test;)b=b.test(v,k,g,d===o);var S=null;if("string"==typeof b||Array.isArray(b))S=b;else if(b.group)S=b.group;else if(null!==b.token&&void 0!==b.token){if(S=b.tokenSubst?u.substituteMatches(this._lexer,b.token,v,k,g):b.token,b.nextEmbedded)if("@pop"===b.nextEmbedded){if(!s)throw u.createError(this._lexer,"cannot pop embedded mode if not inside one");s=null}else{if(s)throw u.createError(this._lexer,"cannot enter embedded mode from within an embedded mode");x=u.substituteMatches(this._lexer,b.nextEmbedded,v,k,g)}if(b.goBack&&(d=Math.max(0,d-b.goBack)),b.switchTo&&"string"==typeof b.switchTo){var I=u.substituteMatches(this._lexer,b.switchTo,v,k,g);if("@"===I[0]&&(I=I.substr(1)),!u.findRules(this._lexer,I))throw u.createError(this._lexer,"trying to switch to a state '"+I+"' that is undefined in rule: "+this._safeRuleName(y));a=a.switchTo(I)}else{if(b.transform&&"function"==typeof b.transform)throw u.createError(this._lexer,"action.transform not supported");if(b.next)if("@push"===b.next){if(a.depth>=this._lexer.maxStack)throw u.createError(this._lexer,"maximum tokenizer stack size reached: ["+a.state+","+a.parent.state+",...]");a=a.push(g)}else if("@pop"===b.next){if(a.depth<=1)throw u.createError(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(y));a=a.pop()}else if("@popall"===b.next)a=a.popall();else{var I=u.substituteMatches(this._lexer,b.next,v,k,g);if("@"===I[0]&&(I=I.substr(1)),!u.findRules(this._lexer,I))throw u.createError(this._lexer,"trying to set a next state '"+I+"' that is undefined in rule: "+this._safeRuleName(y));a=a.push(I)}}b.log&&"string"==typeof b.log&&u.log(this._lexer,this._lexer.languageId+": "+u.substituteMatches(this._lexer,b.log,v,k,g))}if(null===S)throw u.createError(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(y));if(Array.isArray(S)){if(l&&l.groups.length>0)throw u.createError(this._lexer,"groups cannot be nested: "+this._safeRuleName(y));if(k.length!==S.length+1)throw u.createError(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(y));for(var R=0,D=1;D<k.length;D++)R+=k[D].length;if(R!==v.length)throw u.createError(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(y));l={rule:y,matches:k,groups:[]};for(var D=0;D<S.length;D++)l.groups[D]={action:S[D],matched:k[D+1]};d-=v.length}else{if("@rematch"===S&&(d-=v.length,v="",k=null,S=""),0===v.length){if(0===o||p!==a.depth||g!==a.state||(l?l.groups.length:0)!==_)continue;throw u.createError(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(y))}var L=null;if(u.isString(S)&&0===S.indexOf("@brackets")){var N=S.substr("@brackets".length),A=n(this._lexer,v);if(!A)throw u.createError(this._lexer,"@brackets token returned but no bracket defined as: "+v);L=u.sanitize(A.token+N)}else{var C=""===S?"":S+this._lexer.tokenPostfix;L=u.sanitize(C)}if(i.emit(c+r,L),null!==x){var O=this._modeService.getModeIdForLanguageName(x);O&&(x=O);var q=this._getNestedEmbeddedModeData(x);if(o>d){var w=e.substr(d);return this._nestedTokenize(w,f.create(a,q),r+d,i)}return f.create(a,q)}}}return f.create(a,s)},e.prototype._getNestedEmbeddedModeData=function(e){var t=this._locateMode(e);if(t){var n=s.TokenizationRegistry.get(t);if(n)return new c(t,n.getInitialState())}return new c(t||a.NULL_MODE_ID,a.NULL_STATE)},e.prototype._locateMode=function(e){if(!e||!this._modeService.isRegisteredMode(e))return null;var t=this._modeService.getModeId(e);return t&&(this._modeService.triggerMode(t),this._embeddedModes[t]=!0),t},e}();t.MonarchTokenizer=k,t.createTokenizationSupport=r});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/colorizer.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/colorizer",function(e,n){"use strict";function o(e,n,o){return new Promise(function(i,r){var a=function(){var s=t(e,n,o);if(o instanceof l.MonarchTokenizer){var d=o.getLoadStatus();if(d.loaded===!1)return void d.promise.then(a,r)}i(s)};a()})}function i(e,n){var o=[],i=16793600,t=new Uint32Array(2);t[0]=0,t[1]=i;for(var r=0,a=e.length;a>r;r++){var s=e[r];t[0]=s.length;var c=new d.LineTokens(t,s),l=u.ViewLineRenderingData.isBasicASCII(s,!0),v=u.ViewLineRenderingData.containsRTL(s,l,!0),f=m.renderViewLine2(new m.RenderLineInput(!1,!0,s,!1,l,v,0,c,[],n,0,-1,"none",!1,!1));o=o.concat(f.html),o.push("<br/>")}return o.join("")}function t(e,n,o){for(var i=[],t=o.getInitialState(),r=0,a=e.length;a>r;r++){var s=e[r],c=o.tokenize2(s,t,0);d.LineTokens.convertToEndOffset(c.tokens,s.length);var l=new d.LineTokens(c.tokens,s),v=u.ViewLineRenderingData.isBasicASCII(s,!0),f=u.ViewLineRenderingData.containsRTL(s,v,!0),g=m.renderViewLine2(new m.RenderLineInput(!1,!0,s,!1,v,f,0,l.inflate(),[],n,0,-1,"none",!1,!1));i=i.concat(g.html),i.push("<br/>"),t=c.endState}return i.join("")}Object.defineProperty(n,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),a=e("node_modules/monaco-editor/esm/vs/base/common/async"),s=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens"),c=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),m=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer"),u=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel"),l=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchLexer"),v=function(){function e(){}return e.colorizeElement=function(e,n,o,i){i=i||{};var t=i.theme||"vs",r=i.mimeType||o.getAttribute("lang")||o.getAttribute("data-lang");if(!r)return console.error("Mode not detected"),Promise.resolve();e.setTheme(t);var a=o.firstChild?o.firstChild.nodeValue:"";o.className+=" "+t;var s=function(e){o.innerHTML=e};return this.colorize(n,a||"",r,i).then(s,function(e){return console.error(e)})},e.colorize=function(e,n,t,r){var d=4;r&&"number"==typeof r.tabSize&&(d=r.tabSize),s.startsWithUTF8BOM(n)&&(n=n.substr(1));var m=n.split(/\r\n|\r|\n/),u=e.getModeId(t);if(!u)return Promise.resolve(i(m,d));e.triggerMode(u);var l=c.TokenizationRegistry.get(u);if(l)return o(m,d,l);var v=c.TokenizationRegistry.getPromise(u);return new Promise(v?function(e,n){v.then(function(i){o(m,d,i).then(e,n)},n)}:function(e,n){var t=null,r=null,s=function(){t&&(t.dispose(),t=null),r&&(r.dispose(),r=null);var a=c.TokenizationRegistry.get(u);return a?void o(m,d,a).then(e,n):void e(i(m,d))};r=new a.TimeoutTimer,r.cancelAndSet(s,500),t=c.TokenizationRegistry.onDidChange(function(e){e.changedLanguages.indexOf(u)>=0&&s()})})},e.colorizeLine=function(e,n,o,i,t){void 0===t&&(t=4);var r=u.ViewLineRenderingData.isBasicASCII(e,n),a=u.ViewLineRenderingData.containsRTL(e,r,o),s=m.renderViewLine2(new m.RenderLineInput(!1,!0,e,!1,r,a,0,i,[],t,0,-1,"none",!1,!1));return s.html},e.colorizeModelLine=function(e,n,o){void 0===o&&(o=4);var i=e.getLineContent(n);e.forceTokenization(n);var t=e.getLineTokens(n),r=t.inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),r,o)},e}();n.Colorizer=v});
;/*!node_modules/monaco-editor/esm/vs/base/common/severity.js*/
define("node_modules/monaco-editor/esm/vs/base/common/severity",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r,n=e("node_modules/tslib/tslib"),a=n.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),s=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings"));!function(e){e[e.Ignore=0]="Ignore",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(r||(r={})),function(e){function o(o){return o?s.equalsIgnoreCase(r,o)?e.Error:s.equalsIgnoreCase(n,o)||s.equalsIgnoreCase(i,o)?e.Warning:s.equalsIgnoreCase(l,o)?e.Info:e.Ignore:e.Ignore}var r="error",n="warning",i="warn",l="info",t=Object.create(null);t[e.Error]=a.localize("sev.error","Error"),t[e.Warning]=a.localize("sev.warning","Warning"),t[e.Info]=a.localize("sev.info","Info"),e.fromValue=o}(r||(r={})),o.default=r});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser",function(o,e){"use strict";function t(o){return o&&"function"==typeof o.getEditorType?o.getEditorType()===d.EditorType.ICodeEditor:!1}Object.defineProperty(e,"__esModule",{value:!0});var r=o("node_modules/tslib/tslib"),d=r.__importStar(o("node_modules/monaco-editor/esm/vs/editor/common/editorCommon"));e.isCodeEditor=t});
;/*!node_modules/monaco-editor/esm/vs/platform/registry/common/platform.js*/
define("node_modules/monaco-editor/esm/vs/platform/registry/common/platform",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=t("node_modules/tslib/tslib"),s=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/types")),n=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/assert")),i=function(){function t(){this.data={}}return t.prototype.add=function(t,o){n.ok(s.isString(t)),n.ok(s.isObject(o)),n.ok(!this.data.hasOwnProperty(t),"There is already an extension with this id"),this.data[t]=o},t.prototype.as=function(t){return this.data[t]||null},t}();o.Registry=new i});
;/*!node_modules/monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry.js*/
define("node_modules/monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry",function(e,n){"use strict";function o(e){return e.length>0&&"#"===e.charAt(e.length-1)?e.substring(0,e.length-1):e}Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),i=t.__importStar(e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform")),s=e("node_modules/monaco-editor/esm/vs/base/common/event");n.Extensions={JSONContribution:"base.contributions.json"};var r=function(){function e(){this._onDidChangeSchema=new s.Emitter,this.schemasById={}}return e.prototype.registerSchema=function(e,n){this.schemasById[o(e)]=n,this._onDidChangeSchema.fire(e)},e.prototype.notifySchemaChanged=function(e){this._onDidChangeSchema.fire(e)},e}(),m=new r;i.Registry.add(n.Extensions.JSONContribution,m)});
;/*!node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js*/
define("node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry",function(e,t){"use strict";function r(e){var t=Array.isArray(e)?e[0]:e;switch(t){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}function i(e){return t.OVERRIDE_PROPERTY_PATTERN.test(e)?n.localize("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==v.getConfigurationProperties()[e]?n.localize("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),s=e("node_modules/monaco-editor/esm/vs/base/common/event"),a=e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform"),p=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/types")),d=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),u=e("node_modules/monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry");t.Extensions={Configuration:"base.contributions.configuration"},t.allSettings={properties:{},patternProperties:{}},t.applicationSettings={properties:{},patternProperties:{}},t.machineSettings={properties:{},patternProperties:{}},t.windowSettings={properties:{},patternProperties:{}},t.resourceSettings={properties:{},patternProperties:{}},t.editorConfigurationSchemaId="vscode://schemas/settings/editor";var c=a.Registry.as(u.Extensions.JSONContribution),g=function(){function e(){this.overrideIdentifiers=[],this._onDidSchemaChange=new s.Emitter,this._onDidUpdateConfiguration=new s.Emitter,this.defaultOverridesConfigurationNode={id:"defaultOverrides",title:n.localize("defaultConfigurations.title","Default Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultOverridesConfigurationNode],this.editorConfigurationSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting"},this.configurationProperties={},this.excludedConfigurationProperties={},this.computeOverridePropertyPattern(),c.registerSchema(t.editorConfigurationSchemaId,this.editorConfigurationSchema)}return e.prototype.registerConfiguration=function(e,t){void 0===t&&(t=!0),this.registerConfigurations([e],t)},e.prototype.registerConfigurations=function(e,t){var r=this;void 0===t&&(t=!0);var i=[];e.forEach(function(e){i.push.apply(i,r.validateAndRegisterProperties(e,t)),r.configurationContributors.push(e),r.registerJSONConfiguration(e),r.updateSchemaForOverrideSettingsConfiguration(e)}),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(i)},e.prototype.registerOverrideIdentifiers=function(e){var t;(t=this.overrideIdentifiers).push.apply(t,e),this.updateOverridePropertyPatternKey()},e.prototype.validateAndRegisterProperties=function(e,o,n,s){void 0===o&&(o=!0),void 0===n&&(n=3),void 0===s&&(s=!1),n=p.isUndefinedOrNull(e.scope)?n:e.scope,s=e.overridable||s;var a=[],d=e.properties;if(d)for(var u in d){var c=void 0;if(o&&(c=i(u)))console.warn(c),delete d[u];else{var g=d[u],f=g.default;p.isUndefined(f)&&(g.default=r(g.type)),s&&(g.overridable=!0),g.scope=t.OVERRIDE_PROPERTY_PATTERN.test(u)?void 0:p.isUndefinedOrNull(g.scope)?n:g.scope,!d[u].hasOwnProperty("included")||d[u].included?(this.configurationProperties[u]=d[u],a.push(u)):(this.excludedConfigurationProperties[u]=d[u],delete d[u])}}var l=e.allOf;if(l)for(var h=0,v=l;h<v.length;h++){var P=v[h];a.push.apply(a,this.validateAndRegisterProperties(P,o,n,s))}return a},e.prototype.getConfigurationProperties=function(){return this.configurationProperties},e.prototype.registerJSONConfiguration=function(e){function r(e){var i=e.properties;if(i)for(var o in i)switch(t.allSettings.properties[o]=i[o],i[o].scope){case 1:t.applicationSettings.properties[o]=i[o];break;case 2:t.machineSettings.properties[o]=i[o];break;case 3:t.windowSettings.properties[o]=i[o];break;case 4:t.resourceSettings.properties[o]=i[o]}var n=e.allOf;n&&n.forEach(r)}r(e)},e.prototype.updateSchemaForOverrideSettingsConfiguration=function(e){e.id!==f&&(this.update(e),c.registerSchema(t.editorConfigurationSchemaId,this.editorConfigurationSchema))},e.prototype.updateOverridePropertyPatternKey=function(){var e=t.allSettings.patternProperties[this.overridePropertyPattern];e||(e={type:"object",description:n.localize("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:"Unknown Identifier. Use language identifiers",$ref:t.editorConfigurationSchemaId}),delete t.allSettings.patternProperties[this.overridePropertyPattern],delete t.applicationSettings.patternProperties[this.overridePropertyPattern],delete t.machineSettings.patternProperties[this.overridePropertyPattern],delete t.windowSettings.patternProperties[this.overridePropertyPattern],delete t.resourceSettings.patternProperties[this.overridePropertyPattern],this.computeOverridePropertyPattern(),t.allSettings.patternProperties[this.overridePropertyPattern]=e,t.applicationSettings.patternProperties[this.overridePropertyPattern]=e,t.machineSettings.patternProperties[this.overridePropertyPattern]=e,t.windowSettings.patternProperties[this.overridePropertyPattern]=e,t.resourceSettings.patternProperties[this.overridePropertyPattern]=e,this._onDidSchemaChange.fire()},e.prototype.update=function(e){var t=this,r=e.properties;if(r)for(var i in r)r[i].overridable&&(this.editorConfigurationSchema.properties[i]=this.getConfigurationProperties()[i]);var o=e.allOf;o&&o.forEach(function(e){return t.update(e)})},e.prototype.computeOverridePropertyPattern=function(){this.overridePropertyPattern=this.overrideIdentifiers.length?h.replace("${0}",this.overrideIdentifiers.map(function(e){return d.createRegExp(e,!1).source}).join("|")):l},e}(),f="override",l="\\[.*\\]$",h="\\[(${0})\\]$";t.OVERRIDE_PROPERTY_PATTERN=new RegExp(l),t.getDefaultValue=r;var v=new g;a.Registry.add(t.Extensions.Configuration,v),t.validateProperty=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/config/commonEditorConfig.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/config/commonEditorConfig",function(e,t){"use strict";function o(){return null===I&&(I=Object.create(null),Object.keys(C.properties).forEach(function(e){I[e]=!0})),I}function i(e){var t=o();return t["editor."+e]||!1}function n(e){var t=o();return t["diffEditor."+e]||!1}Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),l=r.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),a=e("node_modules/monaco-editor/esm/vs/base/common/event"),d=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),c=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/objects")),u=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),p=r.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions")),h=e("node_modules/monaco-editor/esm/vs/editor/common/config/editorZoom"),g=e("node_modules/monaco-editor/esm/vs/editor/common/config/fontInfo"),m=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry"),f=e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform"),w=p.EDITOR_DEFAULTS,b=p.EDITOR_FONT_DEFAULTS,y=p.EDITOR_MODEL_DEFAULTS;t.TabFocus=new(function(){function e(){this._tabFocus=!1,this._onDidChangeTabFocus=new a.Emitter,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}return e.prototype.getTabFocusMode=function(){return this._tabFocus},e.prototype.setTabFocusMode=function(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))},e}());var v=Object.hasOwnProperty,z=function(e){function o(o,i){var n=e.call(this)||this;return n._onDidChange=n._register(new a.Emitter),n.onDidChange=n._onDidChange.event,n.isSimpleWidget=o,n._rawOptions=c.mixin({},i||{}),n._rawOptions.scrollbar=c.mixin({},n._rawOptions.scrollbar||{}),n._rawOptions.minimap=c.mixin({},n._rawOptions.minimap||{}),n._rawOptions.find=c.mixin({},n._rawOptions.find||{}),n._rawOptions.hover=c.mixin({},n._rawOptions.hover||{}),n._rawOptions.parameterHints=c.mixin({},n._rawOptions.parameterHints||{}),n._validatedOptions=p.EditorOptionsValidator.validate(n._rawOptions,w),n._isDominatedByLongLines=!1,n._lineNumbersDigitCount=1,n._register(h.EditorZoom.onDidChangeZoomLevel(function(){return n._recomputeOptions()})),n._register(t.TabFocus.onDidChangeTabFocus(function(){return n._recomputeOptions()})),n}return s(o,e),o.prototype.observeReferenceElement=function(){},o.prototype.dispose=function(){e.prototype.dispose.call(this)},o.prototype._recomputeOptions=function(){var e=this.editor,t=this._computeInternalOptions();e&&e.equals(t)||(this.editor=t,e&&this._onDidChange.fire(e.createChangeEvent(t)))},o.prototype.getRawOptions=function(){return this._rawOptions},o.prototype._computeInternalOptions=function(){var e=this._validatedOptions,o=this._getEnvConfiguration(),i=g.BareFontInfo.createFromRawSettings(this._rawOptions,o.zoomLevel,this.isSimpleWidget),n={outerWidth:o.outerWidth,outerHeight:o.outerHeight,fontInfo:this.readConfiguration(i),extraEditorClassName:o.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:o.emptySelectionClipboard,pixelRatio:o.pixelRatio,tabFocusMode:t.TabFocus.getTabFocusMode(),accessibilitySupport:o.accessibilitySupport};return p.InternalEditorOptionsFactory.createInternalEditorOptions(n,e)},o._primitiveArrayEquals=function(e,t){if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0},o._subsetEquals=function(e,t){for(var o in t)if(v.call(t,o)){var i=t[o],n=e[o];if(n===i)continue;if(Array.isArray(n)&&Array.isArray(i)){if(!this._primitiveArrayEquals(n,i))return!1;continue}if("object"==typeof n&&"object"==typeof i){if(!this._subsetEquals(n,i))return!1;continue}return!1}return!0},o.prototype.updateOptions=function(e){"undefined"!=typeof e&&(o._subsetEquals(this._rawOptions,e)||(this._rawOptions=c.mixin(this._rawOptions,e||{}),this._validatedOptions=p.EditorOptionsValidator.validate(this._rawOptions,w),this._recomputeOptions()))},o.prototype.setIsDominatedByLongLines=function(e){this._isDominatedByLongLines=e,this._recomputeOptions()},o.prototype.setMaxLineNumber=function(e){var t=o._digitCount(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())},o._digitCount=function(e){for(var t=0;e;)e=Math.floor(e/10),t++;return t?t:1},o}(d.Disposable);t.CommonEditorConfiguration=z;var S=f.Registry.as(m.Extensions.Configuration),C={id:"editor",order:5,type:"object",title:l.localize("editorConfigurationTitle","Editor"),overridable:!0,scope:4,properties:{"editor.fontFamily":{type:"string","default":b.fontFamily,description:l.localize("fontFamily","Controls the font family.")},"editor.fontWeight":{type:"string","enum":["normal","bold","100","200","300","400","500","600","700","800","900"],"default":b.fontWeight,description:l.localize("fontWeight","Controls the font weight.")},"editor.fontSize":{type:"number","default":b.fontSize,description:l.localize("fontSize","Controls the font size in pixels.")},"editor.lineHeight":{type:"number","default":b.lineHeight,description:l.localize("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")},"editor.letterSpacing":{type:"number","default":b.letterSpacing,description:l.localize("letterSpacing","Controls the letter spacing in pixels.")},"editor.lineNumbers":{type:"string","enum":["off","on","relative","interval"],enumDescriptions:[l.localize("lineNumbers.off","Line numbers are not rendered."),l.localize("lineNumbers.on","Line numbers are rendered as absolute number."),l.localize("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),l.localize("lineNumbers.interval","Line numbers are rendered every 10 lines.")],"default":"on",description:l.localize("lineNumbers","Controls the display of line numbers.")},"editor.renderFinalNewline":{type:"boolean","default":w.viewInfo.renderFinalNewline,description:l.localize("renderFinalNewline","Render last line number when the file ends with a newline.")},"editor.rulers":{type:"array",items:{type:"number"},"default":w.viewInfo.rulers,description:l.localize("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.")},"editor.wordSeparators":{type:"string","default":w.wordSeparators,description:l.localize("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")},"editor.tabSize":{type:"number","default":y.tabSize,minimum:1,markdownDescription:l.localize("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean","default":y.insertSpaces,markdownDescription:l.localize("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean","default":y.detectIndentation,markdownDescription:l.localize("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.roundedSelection":{type:"boolean","default":w.viewInfo.roundedSelection,description:l.localize("roundedSelection","Controls whether selections should have rounded corners.")},"editor.scrollBeyondLastLine":{type:"boolean","default":w.viewInfo.scrollBeyondLastLine,description:l.localize("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")},"editor.scrollBeyondLastColumn":{type:"number","default":w.viewInfo.scrollBeyondLastColumn,description:l.localize("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")},"editor.smoothScrolling":{type:"boolean","default":w.viewInfo.smoothScrolling,description:l.localize("smoothScrolling","Controls whether the editor will scroll using an animation.")},"editor.minimap.enabled":{type:"boolean","default":w.viewInfo.minimap.enabled,description:l.localize("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string","enum":["left","right"],"default":w.viewInfo.minimap.side,description:l.localize("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string","enum":["always","mouseover"],"default":w.viewInfo.minimap.showSlider,description:l.localize("minimap.showSlider","Controls whether the minimap slider is automatically hidden.")},"editor.minimap.renderCharacters":{type:"boolean","default":w.viewInfo.minimap.renderCharacters,description:l.localize("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number","default":w.viewInfo.minimap.maxColumn,description:l.localize("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.hover.enabled":{type:"boolean","default":w.contribInfo.hover.enabled,description:l.localize("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number","default":w.contribInfo.hover.delay,description:l.localize("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean","default":w.contribInfo.hover.sticky,description:l.localize("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.find.seedSearchStringFromSelection":{type:"boolean","default":w.contribInfo.find.seedSearchStringFromSelection,description:l.localize("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"boolean","default":w.contribInfo.find.autoFindInSelection,description:l.localize("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":w.contribInfo.find.globalFindClipboard,description:l.localize("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:u.isMacintosh},"editor.find.addExtraSpaceOnTop":{type:"boolean","default":!0,description:l.localize("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.")},"editor.wordWrap":{type:"string","enum":["off","on","wordWrapColumn","bounded"],markdownEnumDescriptions:[l.localize("wordWrap.off","Lines will never wrap."),l.localize("wordWrap.on","Lines will wrap at the viewport width."),l.localize({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),l.localize({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#`.")],"default":w.wordWrap,description:l.localize({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.")},"editor.wordWrapColumn":{type:"integer","default":w.wordWrapColumn,minimum:1,markdownDescription:l.localize({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`.")},"editor.wrappingIndent":{type:"string","enum":["none","same","indent","deepIndent"],enumDescriptions:[l.localize("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),l.localize("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),l.localize("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),l.localize("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],"default":"same",description:l.localize("wrappingIndent","Controls the indentation of wrapped lines.")},"editor.mouseWheelScrollSensitivity":{type:"number","default":w.viewInfo.scrollbar.mouseWheelScrollSensitivity,markdownDescription:l.localize("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},"editor.fastScrollSensitivity":{type:"number","default":w.viewInfo.scrollbar.fastScrollSensitivity,markdownDescription:l.localize("fastScrollSensitivity","Scrolling speed mulitiplier when pressing `Alt`.")},"editor.multiCursorModifier":{type:"string","enum":["ctrlCmd","alt"],markdownEnumDescriptions:[l.localize("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),l.localize("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],"default":"alt",markdownDescription:l.localize({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")},"editor.multiCursorMergeOverlapping":{type:"boolean","default":w.multiCursorMergeOverlapping,description:l.localize("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")},"editor.quickSuggestions":{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean","default":!1,description:l.localize("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean","default":!1,description:l.localize("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean","default":!0,description:l.localize("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],"default":w.contribInfo.quickSuggestions,description:l.localize("quickSuggestions","Controls whether suggestions should automatically show up while typing.")},"editor.quickSuggestionsDelay":{type:"integer","default":w.contribInfo.quickSuggestionsDelay,minimum:0,description:l.localize("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")},"editor.parameterHints.enabled":{type:"boolean","default":w.contribInfo.parameterHints.enabled,description:l.localize("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean","default":w.contribInfo.parameterHints.cycle,description:l.localize("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")},"editor.autoClosingBrackets":{type:"string","enum":["always","languageDefined","beforeWhitespace","never"],enumDescriptions:["",l.localize("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),l.localize("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],"default":w.autoClosingBrackets,description:l.localize("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")},"editor.autoClosingQuotes":{type:"string","enum":["always","languageDefined","beforeWhitespace","never"],enumDescriptions:["",l.localize("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),l.localize("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],"default":w.autoClosingQuotes,description:l.localize("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")},"editor.autoSurround":{type:"string","enum":["languageDefined","brackets","quotes","never"],enumDescriptions:[l.localize("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),l.localize("editor.autoSurround.brackets","Surround with brackets but not quotes."),l.localize("editor.autoSurround.quotes","Surround with quotes but not brackets."),""],"default":w.autoSurround,description:l.localize("autoSurround","Controls whether the editor should automatically surround selections.")},"editor.formatOnType":{type:"boolean","default":w.contribInfo.formatOnType,description:l.localize("formatOnType","Controls whether the editor should automatically format the line after typing.")},"editor.formatOnPaste":{type:"boolean","default":w.contribInfo.formatOnPaste,description:l.localize("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")},"editor.autoIndent":{type:"boolean","default":w.autoIndent,description:l.localize("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste or move lines. Extensions with indentation rules of the language must be available.")},"editor.suggestOnTriggerCharacters":{type:"boolean","default":w.contribInfo.suggestOnTriggerCharacters,description:l.localize("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")},"editor.acceptSuggestionOnEnter":{type:"string","enum":["on","smart","off"],"default":w.contribInfo.acceptSuggestionOnEnter,markdownEnumDescriptions:["",l.localize("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:l.localize("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")},"editor.acceptSuggestionOnCommitCharacter":{type:"boolean","default":w.contribInfo.acceptSuggestionOnCommitCharacter,markdownDescription:l.localize("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")},"editor.snippetSuggestions":{type:"string","enum":["top","bottom","inline","none"],enumDescriptions:[l.localize("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),l.localize("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),l.localize("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),l.localize("snippetSuggestions.none","Do not show snippet suggestions.")],"default":w.contribInfo.suggest.snippets,description:l.localize("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")},"editor.emptySelectionClipboard":{type:"boolean","default":w.emptySelectionClipboard,description:l.localize("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")},"editor.copyWithSyntaxHighlighting":{type:"boolean","default":w.copyWithSyntaxHighlighting,description:l.localize("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")},"editor.wordBasedSuggestions":{type:"boolean","default":w.contribInfo.wordBasedSuggestions,description:l.localize("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.suggestSelection":{type:"string","enum":["first","recentlyUsed","recentlyUsedByPrefix"],markdownEnumDescriptions:[l.localize("suggestSelection.first","Always select the first suggestion."),l.localize("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),l.localize("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],"default":"recentlyUsed",description:l.localize("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")},"editor.suggestFontSize":{type:"integer","default":0,minimum:0,markdownDescription:l.localize("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")},"editor.suggestLineHeight":{type:"integer","default":0,minimum:0,markdownDescription:l.localize("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")},"editor.tabCompletion":{type:"string","default":"off","enum":["on","off","onlySnippets"],enumDescriptions:[l.localize("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),l.localize("tabCompletion.off","Disable tab completions."),l.localize("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:l.localize("tabCompletion","Enables tab completions.")},"editor.suggest.filterGraceful":{type:"boolean","default":!0,description:l.localize("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean","default":!1,description:l.localize("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean","default":!1,markdownDescription:l.localize("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean","default":!0,description:l.localize("suggest.snippetsPreventQuickSuggestions","Control whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean","default":w.contribInfo.suggest.showIcons,description:l.localize("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number","default":w.contribInfo.suggest.maxVisibleSuggestions,minimum:1,maximum:15,description:l.localize("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object","default":{keyword:!0},markdownDescription:l.localize("suggest.filtered","Controls whether some suggestion types should be filtered from IntelliSense. A list of suggestion types can be found here: https://code.visualstudio.com/docs/editor/intellisense#_types-of-completions."),properties:{method:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.method","When set to `false` IntelliSense never shows `method` suggestions.")},"function":{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.function","When set to `false` IntelliSense never shows `function` suggestions.")},constructor:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.constructor","When set to `false` IntelliSense never shows `constructor` suggestions.")},field:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.field","When set to `false` IntelliSense never shows `field` suggestions.")},variable:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.variable","When set to `false` IntelliSense never shows `variable` suggestions.")},"class":{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.class","When set to `false` IntelliSense never shows `class` suggestions.")},struct:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.struct","When set to `false` IntelliSense never shows `struct` suggestions.")},"interface":{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.interface","When set to `false` IntelliSense never shows `interface` suggestions.")},module:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.module","When set to `false` IntelliSense never shows `module` suggestions.")},property:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.property","When set to `false` IntelliSense never shows `property` suggestions.")},event:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.event","When set to `false` IntelliSense never shows `event` suggestions.")},operator:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.operator","When set to `false` IntelliSense never shows `operator` suggestions.")},unit:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.unit","When set to `false` IntelliSense never shows `unit` suggestions.")},value:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.value","When set to `false` IntelliSense never shows `value` suggestions.")},constant:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.constant","When set to `false` IntelliSense never shows `constant` suggestions.")},"enum":{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.enum","When set to `false` IntelliSense never shows `enum` suggestions.")},enumMember:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.enumMember","When set to `false` IntelliSense never shows `enumMember` suggestions.")},keyword:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.keyword","When set to `false` IntelliSense never shows `keyword` suggestions.")},text:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.text","When set to `false` IntelliSense never shows `text` suggestions.")},color:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.color","When set to `false` IntelliSense never shows `color` suggestions.")},file:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.file","When set to `false` IntelliSense never shows `file` suggestions.")},reference:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.reference","When set to `false` IntelliSense never shows `reference` suggestions.")},customcolor:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.customcolor","When set to `false` IntelliSense never shows `customcolor` suggestions.")},folder:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.folder","When set to `false` IntelliSense never shows `folder` suggestions.")},typeParameter:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.typeParameter","When set to `false` IntelliSense never shows `typeParameter` suggestions.")},snippet:{type:"boolean","default":!0,markdownDescription:l.localize("suggest.filtered.snippet","When set to `false` IntelliSense never shows `snippet` suggestions.")}}},"editor.gotoLocation.multiple":{description:l.localize("editor.gotoLocation.multiple","Controls the behavior of 'Go To' commands, like Go To Definition, when multiple target locations exist."),type:"string","enum":["peek","gotoAndPeek","goto"],"default":w.contribInfo.gotoLocation.multiple,enumDescriptions:[l.localize("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),l.localize("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),l.localize("editor.gotoLocation.multiple.goto","Go to the primary result and ignore others")]},"editor.selectionHighlight":{type:"boolean","default":w.contribInfo.selectionHighlight,description:l.localize("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")},"editor.occurrencesHighlight":{type:"boolean","default":w.contribInfo.occurrencesHighlight,description:l.localize("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")},"editor.overviewRulerLanes":{type:"integer","default":3,description:l.localize("overviewRulerLanes","Controls the number of decorations that can show up at the same position in the overview ruler.")},"editor.overviewRulerBorder":{type:"boolean","default":w.viewInfo.overviewRulerBorder,description:l.localize("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")},"editor.cursorBlinking":{type:"string","enum":["blink","smooth","phase","expand","solid"],"default":p.blinkingStyleToString(w.viewInfo.cursorBlinking),description:l.localize("cursorBlinking","Control the cursor animation style.")},"editor.mouseWheelZoom":{type:"boolean","default":w.viewInfo.mouseWheelZoom,markdownDescription:l.localize("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")},"editor.cursorSmoothCaretAnimation":{type:"boolean","default":w.viewInfo.cursorSmoothCaretAnimation,description:l.localize("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")},"editor.cursorStyle":{type:"string","enum":["block","block-outline","line","line-thin","underline","underline-thin"],"default":p.cursorStyleToString(w.viewInfo.cursorStyle),description:l.localize("cursorStyle","Controls the cursor style.")},"editor.cursorWidth":{type:"integer","default":w.viewInfo.cursorWidth,markdownDescription:l.localize("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")},"editor.fontLigatures":{type:"boolean","default":w.viewInfo.fontLigatures,description:l.localize("fontLigatures","Enables/Disables font ligatures.")},"editor.hideCursorInOverviewRuler":{type:"boolean","default":w.viewInfo.hideCursorInOverviewRuler,description:l.localize("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")},"editor.renderWhitespace":{type:"string","enum":["none","boundary","all"],enumDescriptions:["",l.localize("renderWhiteSpace.boundary","Render whitespace characters except for single spaces between words."),""],"default":w.viewInfo.renderWhitespace,description:l.localize("renderWhitespace","Controls how the editor should render whitespace characters.")},"editor.renderControlCharacters":{type:"boolean","default":w.viewInfo.renderControlCharacters,description:l.localize("renderControlCharacters","Controls whether the editor should render control characters.")},"editor.renderIndentGuides":{type:"boolean","default":w.viewInfo.renderIndentGuides,description:l.localize("renderIndentGuides","Controls whether the editor should render indent guides.")},"editor.highlightActiveIndentGuide":{type:"boolean","default":w.viewInfo.highlightActiveIndentGuide,description:l.localize("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")},"editor.renderLineHighlight":{type:"string","enum":["none","gutter","line","all"],enumDescriptions:["","","",l.localize("renderLineHighlight.all","Highlights both the gutter and the current line.")],"default":w.viewInfo.renderLineHighlight,description:l.localize("renderLineHighlight","Controls how the editor should render the current line highlight.")},"editor.codeLens":{type:"boolean","default":w.contribInfo.codeLens,description:l.localize("codeLens","Controls whether the editor shows CodeLens.")},"editor.folding":{type:"boolean","default":w.contribInfo.folding,description:l.localize("folding","Controls whether the editor has code folding enabled.")},"editor.foldingStrategy":{type:"string","enum":["auto","indentation"],"default":w.contribInfo.foldingStrategy,markdownDescription:l.localize("foldingStrategy","Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.")},"editor.showFoldingControls":{type:"string","enum":["always","mouseover"],"default":w.contribInfo.showFoldingControls,description:l.localize("showFoldingControls","Controls whether the fold controls on the gutter are automatically hidden.")},"editor.matchBrackets":{type:"boolean","default":w.contribInfo.matchBrackets,description:l.localize("matchBrackets","Highlight matching brackets when one of them is selected.")},"editor.glyphMargin":{type:"boolean","default":w.viewInfo.glyphMargin,description:l.localize("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")},"editor.useTabStops":{type:"boolean","default":w.useTabStops,description:l.localize("useTabStops","Inserting and deleting whitespace follows tab stops.")},"editor.trimAutoWhitespace":{type:"boolean","default":y.trimAutoWhitespace,description:l.localize("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.stablePeek":{type:"boolean","default":!1,markdownDescription:l.localize("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.dragAndDrop":{type:"boolean","default":w.dragAndDrop,description:l.localize("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")},"editor.accessibilitySupport":{type:"string","enum":["auto","on","off"],enumDescriptions:[l.localize("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),l.localize("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),l.localize("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],"default":w.accessibilitySupport,description:l.localize("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")},"editor.showUnused":{type:"boolean","default":w.showUnused,description:l.localize("showUnused","Controls fading out of unused code.")},"editor.links":{type:"boolean","default":w.contribInfo.links,description:l.localize("links","Controls whether the editor should detect links and make them clickable.")},"editor.colorDecorators":{type:"boolean","default":w.contribInfo.colorDecorators,description:l.localize("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")},"editor.lightbulb.enabled":{type:"boolean","default":w.contribInfo.lightbulbEnabled,description:l.localize("codeActions","Enables the code action lightbulb in the editor.")},"editor.maxTokenizationLineLength":{type:"integer","default":2e4,description:l.localize("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.codeActionsOnSave":{type:"object",properties:{"source.organizeImports":{type:"boolean",description:l.localize("codeActionsOnSave.organizeImports","Controls whether organize imports action should be run on file save.")},"source.fixAll":{type:"boolean",description:l.localize("codeActionsOnSave.fixAll","Controls whether auto fix action should be run on file save.")}},additionalProperties:{type:"boolean"},"default":w.contribInfo.codeActionsOnSave,description:l.localize("codeActionsOnSave","Code action kinds to be run on save.")},"editor.codeActionsOnSaveTimeout":{type:"number","default":w.contribInfo.codeActionsOnSaveTimeout,description:l.localize("codeActionsOnSaveTimeout","Timeout in milliseconds after which the code actions that are run on save are cancelled.")},"editor.selectionClipboard":{type:"boolean","default":w.contribInfo.selectionClipboard,description:l.localize("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:u.isLinux},"diffEditor.renderSideBySide":{type:"boolean","default":!0,description:l.localize("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean","default":!0,description:l.localize("ignoreTrimWhitespace","Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.")},"editor.largeFileOptimizations":{type:"boolean","default":y.largeFileOptimizations,description:l.localize("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"diffEditor.renderIndicators":{type:"boolean","default":!0,description:l.localize("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")}}},I=null;
t.isEditorConfigurationKey=i,t.isDiffEditorConfigurationKey=n,S.registerConfiguration(C)});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),o=function(){function e(){}return e.insert=function(e,n){return{range:new r.Range(e.lineNumber,e.column,e.lineNumber,e.column),text:n,forceMoveMarkers:!0}},e.delete=function(e){return{range:e,text:null}},e.replace=function(e,n){return{range:e,text:n}},e.replaceMove=function(e,n){return{range:e,text:n,forceMoveMarkers:!0}},e}();n.EditOperation=o});
;/*!node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration.js*/
define("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration",function(e,n){"use strict";function t(e,n){var t=Object.create(null);for(var r in e)o(t,r,e[r],n);return t}function o(e,n,t,o){for(var r=n.split("."),i=r.pop(),a=e,u=0;u<r.length;u++){var f=r[u],s=a[f];switch(typeof s){case"undefined":s=a[f]=Object.create(null);break;case"object":break;default:return void o("Ignoring "+n+" as "+r.slice(0,u+1).join(".")+" is "+JSON.stringify(s))}a=s}"object"==typeof a?a[i]=t:o("Ignoring "+n+" as "+r.join(".")+" is "+JSON.stringify(a))}function r(e,n){var t=n.split(".");i(e,t)}function i(e,n){var t=n.shift();if(0===n.length)return void delete e[t];if(-1!==Object.keys(e).indexOf(t)){var o=e[t];"object"!=typeof o||Array.isArray(o)||(i(o,n),0===Object.keys(o).length&&delete e[t])}}function a(e,n,t){function o(e,n){for(var t=e,o=0,r=n;o<r.length;o++){var i=r[o];if("object"!=typeof t||null===t)return void 0;t=t[i]}return t}var r=n.split("."),i=o(e,r);return"undefined"==typeof i?t:i}function u(){var e=d.Registry.as(g.Extensions.Configuration).getConfigurationProperties();return Object.keys(e)}function f(){var e=Object.create(null),n=d.Registry.as(g.Extensions.Configuration).getConfigurationProperties();for(var t in n){var r=n[t].default;o(e,t,r,function(e){return console.error("Conflict in default settings: "+e)})}return e}function s(e){return e.substring(1,e.length-1)}function c(e,n,t){var o=e.inspect(n),r=e.inspect(t);return"undefined"!=typeof o.user||"undefined"!=typeof o.workspace||"undefined"!=typeof o.workspaceFolder?o.value:"undefined"!=typeof r.user||"undefined"!=typeof r.workspace||"undefined"!=typeof r.workspaceFolder?r.value:o.default}Object.defineProperty(n,"__esModule",{value:!0});var d=e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform"),l=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),g=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry");n.IConfigurationService=l.createDecorator("configurationService"),n.toValuesTree=t,n.addToValueTree=o,n.removeFromValueTree=r,n.getConfigurationValue=a,n.getConfigurationKeys=u,n.getDefaultValues=f,n.overrideIdentifierFromKey=s,n.getMigratedSettingValue=c});
;/*!node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationModels.js*/
define("node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationModels",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function r(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),i=e("node_modules/monaco-editor/esm/vs/base/common/map"),n=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/arrays")),s=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/types")),u=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/objects")),a=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry"),f=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),d=function(){function e(e,o,t){void 0===e&&(e={}),void 0===o&&(o=[]),void 0===t&&(t=[]),this._contents=e,this._keys=o,this._overrides=t,this.isFrozen=!1}return Object.defineProperty(e.prototype,"contents",{get:function(){return this.checkAndFreeze(this._contents)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overrides",{get:function(){return this.checkAndFreeze(this._overrides)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keys",{get:function(){return this.checkAndFreeze(this._keys)},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length},e.prototype.getValue=function(e){return e?f.getConfigurationValue(this.contents,e):this.contents},e.prototype.override=function(o){var t=this.getContentsForOverrideIdentifer(o);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;for(var r={},i=0,s=n.distinct(Object.keys(this.contents).concat(Object.keys(t)));i<s.length;i++){var a=s[i],f=this.contents[a],d=t[a];d&&("object"==typeof f&&"object"==typeof d?(f=u.deepClone(f),this.mergeContents(f,d)):f=d),r[a]=f}return new e(r)},e.prototype.merge=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];for(var r=u.deepClone(this.contents),i=u.deepClone(this.overrides),s=this.keys.slice(),a=0,f=o;a<f.length;a++){var d=f[a];this.mergeContents(r,d.contents);for(var c=function(e){var o=i.filter(function(o){return n.equals(o.identifiers,e.identifiers)})[0];o?l.mergeContents(o.contents,e.contents):i.push(u.deepClone(e))},l=this,g=0,h=d.overrides;g<h.length;g++){var p=h[g];c(p)}for(var m=0,C=d.keys;m<C.length;m++){var v=C[m];-1===s.indexOf(v)&&s.push(v)}}return new e(r,s,i)},e.prototype.freeze=function(){return this.isFrozen=!0,this},e.prototype.mergeContents=function(e,o){for(var t=0,r=Object.keys(o);t<r.length;t++){var i=r[t];i in e&&s.isObject(e[i])&&s.isObject(o[i])?this.mergeContents(e[i],o[i]):e[i]=u.deepClone(o[i])}},e.prototype.checkAndFreeze=function(e){return this.isFrozen&&!Object.isFrozen(e)?u.deepFreeze(e):e},e.prototype.getContentsForOverrideIdentifer=function(e){for(var o=0,t=this.overrides;o<t.length;o++){var r=t[o];if(-1!==r.identifiers.indexOf(e))return r.contents}return null},e.prototype.toJSON=function(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}},e.prototype.setValue=function(e,o){this.addKey(e),f.addToValueTree(this.contents,e,o,function(e){throw new Error(e)})},e.prototype.removeValue=function(e){this.removeKey(e)&&f.removeFromValueTree(this.contents,e)},e.prototype.addKey=function(e){for(var o=this.keys.length,t=0;o>t;t++)0===e.indexOf(this.keys[t])&&(o=t);this.keys.splice(o,1,e)},e.prototype.removeKey=function(e){var o=this.keys.indexOf(e);return-1!==o?(this.keys.splice(o,1),!0):!1},e}();o.ConfigurationModel=d;var c=function(e){function o(){for(var o=this,t=f.getDefaultValues(),r=f.getConfigurationKeys(),i=[],n=0,s=Object.keys(t);n<s.length;n++){var u=s[n];a.OVERRIDE_PROPERTY_PATTERN.test(u)&&i.push({identifiers:[f.overrideIdentifierFromKey(u).trim()],contents:f.toValuesTree(t[u],function(e){return console.error("Conflict in default settings file: "+e)})})}return o=e.call(this,t,r,i)||this}return r(o,e),o}(d);o.DefaultConfigurationModel=c;var l=function(){function e(e,o,t,r,n,s,u,a){void 0===t&&(t=new d),void 0===r&&(r=new d),void 0===n&&(n=new i.ResourceMap),void 0===s&&(s=new d),void 0===u&&(u=new i.ResourceMap),void 0===a&&(a=!0),this._defaultConfiguration=e,this._localUserConfiguration=o,this._remoteUserConfiguration=t,this._workspaceConfiguration=r,this._folderConfigurations=n,this._memoryConfiguration=s,this._memoryConfigurationByResource=u,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new i.ResourceMap}return e.prototype.getValue=function(e,o,t){var r=this.getConsolidateConfigurationModel(o,t);return r.getValue(e)},e.prototype.updateValue=function(e,o,t){void 0===t&&(t={});var r;t.resource?(r=this._memoryConfigurationByResource.get(t.resource),r||(r=new d,this._memoryConfigurationByResource.set(t.resource,r))):r=this._memoryConfiguration,void 0===o?r.removeValue(e):r.setValue(e,o),t.resource||(this._workspaceConsolidatedConfiguration=null)},e.prototype.inspect=function(e,o,t){var r=this.getConsolidateConfigurationModel(o,t),i=this.getFolderConfigurationModelForResource(o.resource,t),n=o.resource?this._memoryConfigurationByResource.get(o.resource)||this._memoryConfiguration:this._memoryConfiguration;return{"default":o.overrideIdentifier?this._defaultConfiguration.freeze().override(o.overrideIdentifier).getValue(e):this._defaultConfiguration.freeze().getValue(e),user:o.overrideIdentifier?this.userConfiguration.freeze().override(o.overrideIdentifier).getValue(e):this.userConfiguration.freeze().getValue(e),userLocal:o.overrideIdentifier?this.localUserConfiguration.freeze().override(o.overrideIdentifier).getValue(e):this.localUserConfiguration.freeze().getValue(e),userRemote:o.overrideIdentifier?this.remoteUserConfiguration.freeze().override(o.overrideIdentifier).getValue(e):this.remoteUserConfiguration.freeze().getValue(e),workspace:t?o.overrideIdentifier?this._workspaceConfiguration.freeze().override(o.overrideIdentifier).getValue(e):this._workspaceConfiguration.freeze().getValue(e):void 0,workspaceFolder:i?o.overrideIdentifier?i.freeze().override(o.overrideIdentifier).getValue(e):i.freeze().getValue(e):void 0,memory:o.overrideIdentifier?n.override(o.overrideIdentifier).getValue(e):n.getValue(e),value:r.getValue(e)}},Object.defineProperty(e.prototype,"userConfiguration",{get:function(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"localUserConfiguration",{get:function(){return this._localUserConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"remoteUserConfiguration",{get:function(){return this._remoteUserConfiguration},enumerable:!0,configurable:!0}),e.prototype.getConsolidateConfigurationModel=function(e,o){var t=this.getConsolidatedConfigurationModelForResource(e,o);return e.overrideIdentifier?t.override(e.overrideIdentifier):t},e.prototype.getConsolidatedConfigurationModelForResource=function(e,o){var t=e.resource,r=this.getWorkspaceConsolidatedConfiguration();if(o&&t){var i=o.getFolder(t);i&&(r=this.getFolderConsolidatedConfiguration(i.uri)||r);var n=this._memoryConfigurationByResource.get(t);n&&(r=r.merge(n))}return r},e.prototype.getWorkspaceConsolidatedConfiguration=function(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration},e.prototype.getFolderConsolidatedConfiguration=function(e){var o=this._foldersConsolidatedConfigurations.get(e);if(!o){var t=this.getWorkspaceConsolidatedConfiguration(),r=this._folderConfigurations.get(e);r?(o=t.merge(r),this._freeze&&(o=o.freeze()),this._foldersConsolidatedConfigurations.set(e,o)):o=t}return o},e.prototype.getFolderConfigurationModelForResource=function(e,o){if(o&&e){var t=o.getFolder(e);if(t)return s.withUndefinedAsNull(this._folderConfigurations.get(t.uri))}return null},e}();o.Configuration=l});
;/*!node_modules/monaco-editor/esm/vs/platform/keybinding/common/abstractKeybindingService.js*/
define("node_modules/monaco-editor/esm/vs/platform/keybinding/common/abstractKeybindingService",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),n=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),i=e("node_modules/monaco-editor/esm/vs/base/common/async"),s=e("node_modules/monaco-editor/esm/vs/base/common/event"),c=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=e("node_modules/monaco-editor/esm/vs/base/common/types"),a=function(e){function t(t,o,r,n,c){var d=e.call(this)||this;return d._contextKeyService=t,d._commandService=o,d._telemetryService=r,d._statusService=c,d._notificationService=n,d._currentChord=null,d._currentChordChecker=new i.IntervalTimer,d._currentChordStatusMessage=null,d._onDidUpdateKeybindings=d._register(new s.Emitter),d}return r(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},Object.defineProperty(t.prototype,"onDidUpdateKeybindings",{get:function(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:s.Event.None},enumerable:!0,configurable:!0}),t.prototype.lookupKeybinding=function(e){var t=this._getResolver().lookupPrimaryKeybinding(e);return t?d.withNullAsUndefined(t.resolvedKeybinding):void 0},t.prototype.softDispatch=function(e,t){var o=this.resolveKeyboardEvent(e);if(o.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;var r=o.getDispatchParts()[0];if(null===r)return null;var n=this._contextKeyService.getContext(t),i=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(n,i,r)},t.prototype._enterChordMode=function(e,t){var o=this;this._currentChord={keypress:e,label:t},this._statusService&&(this._currentChordStatusMessage=this._statusService.setStatusMessage(n.localize("first.chord","({0}) was pressed. Waiting for second key of chord...",t)));var r=Date.now();this._currentChordChecker.cancelAndSet(function(){return o._documentHasFocus()?void(Date.now()-r>5e3&&o._leaveChordMode()):void o._leaveChordMode()},500)},t.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},t.prototype._dispatch=function(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)},t.prototype._doDispatch=function(e,t){var o=this,r=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var i=e.getDispatchParts()[0];if(null===i)return r;var s=this._contextKeyService.getContext(t),c=this._currentChord?this._currentChord.keypress:null,d=e.getLabel(),a=this._getResolver().resolve(s,c,i);return a&&a.enterChord?(r=!0,this._enterChordMode(i,d),r):(this._statusService&&this._currentChord&&(a&&a.commandId||(this._statusService.setStatusMessage(n.localize("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,d),1e4),r=!0)),this._leaveChordMode(),a&&a.commandId&&(a.bubble||(r=!0),"undefined"==typeof a.commandArgs?this._commandService.executeCommand(a.commandId).then(void 0,function(e){return o._notificationService.warn(e)}):this._commandService.executeCommand(a.commandId,a.commandArgs).then(void 0,function(e){return o._notificationService.warn(e)}),this._telemetryService.publicLog("workbenchActionExecuted",{id:a.commandId,from:"keybinding"})),r)},t.prototype.mightProducePrintableCharacter=function(e){return e.ctrlKey||e.metaKey?!1:e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30?!0:!1},t}(c.Disposable);t.AbstractKeybindingService=a});
;/*!node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js*/
define("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey",function(e,t){"use strict";function r(e,t){var r=e.getType(),n=t.getType();if(r!==n)return r-n;switch(r){case 1:return e.cmp(t);case 2:return e.cmp(t);case 3:return e.cmp(t);case 4:return e.cmp(t);case 6:return e.cmp(t);default:throw new Error("Unknown ContextKeyExpr!")}}Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=e("node_modules/monaco-editor/esm/vs/base/common/strings"),i=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),u=function(){function e(){}return e.has=function(e){return new s(e)},e.equals=function(e,t){return new a(e,t)},e.regex=function(e,t){return new y(e,t)},e.not=function(e){return new c(e)},e.and=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new f(e)},e.deserialize=function(e,t){var r=this;if(void 0===t&&(t=!1),!e)return void 0;var n=e.split("&&"),o=new f(n.map(function(e){return r._deserializeOne(e,t)}));return o.normalize()},e._deserializeOne=function(e,t){if(e=e.trim(),e.indexOf("!=")>=0){var r=e.split("!=");return new p(r[0].trim(),this._deserializeValue(r[1],t))}if(e.indexOf("==")>=0){var r=e.split("==");return new a(r[0].trim(),this._deserializeValue(r[1],t))}if(e.indexOf("=~")>=0){var r=e.split("=~");return new y(r[0].trim(),this._deserializeRegexValue(r[1],t))}return/^\!\s*/.test(e)?new c(e.substr(1).trim()):new s(e)},e._deserializeValue=function(e){if(e=e.trim(),"true"===e)return!0;if("false"===e)return!1;var t=/^'([^']*)'$/.exec(e);return t?t[1].trim():e},e._deserializeRegexValue=function(e,t){if(o.isFalsyOrWhitespace(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var r=e.indexOf("/"),n=e.lastIndexOf("/");if(r===n||0>r){if(t)throw new Error("bad regexp-value '"+e+"', missing /-enclosure");return console.warn("bad regexp-value '"+e+"', missing /-enclosure"),null}var i=e.slice(r+1,n),u="i"===e[n+1]?"i":"";try{return new RegExp(i,u)}catch(s){if(t)throw new Error("bad regexp-value '"+e+"', parse error: "+s);return console.warn("bad regexp-value '"+e+"', parse error: "+s),null}},e}();t.ContextKeyExpr=u;var s=function(){function e(e){this.key=e}return e.prototype.getType=function(){return 1},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},e.prototype.equals=function(t){return t instanceof e?this.key===t.key:!1},e.prototype.evaluate=function(e){return!!e.getValue(this.key)},e.prototype.normalize=function(){return this},e.prototype.keys=function(){return[this.key]},e}();t.ContextKeyDefinedExpr=s;var a=function(){function e(e,t){this.key=e,this.value=t}return e.prototype.getType=function(){return 3},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0},e.prototype.equals=function(t){return t instanceof e?this.key===t.key&&this.value===t.value:!1},e.prototype.evaluate=function(e){return e.getValue(this.key)==this.value},e.prototype.normalize=function(){return"boolean"==typeof this.value?this.value?new s(this.key):new c(this.key):this},e.prototype.keys=function(){return[this.key]},e}();t.ContextKeyEqualsExpr=a;var p=function(){function e(e,t){this.key=e,this.value=t}return e.prototype.getType=function(){return 4},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0},e.prototype.equals=function(t){return t instanceof e?this.key===t.key&&this.value===t.value:!1},e.prototype.evaluate=function(e){return e.getValue(this.key)!=this.value},e.prototype.normalize=function(){return"boolean"==typeof this.value?this.value?new c(this.key):new s(this.key):this},e.prototype.keys=function(){return[this.key]},e}();t.ContextKeyNotEqualsExpr=p;var c=function(){function e(e){this.key=e}return e.prototype.getType=function(){return 2},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},e.prototype.equals=function(t){return t instanceof e?this.key===t.key:!1},e.prototype.evaluate=function(e){return!e.getValue(this.key)},e.prototype.normalize=function(){return this},e.prototype.keys=function(){return[this.key]},e}();t.ContextKeyNotExpr=c;var y=function(){function e(e,t){this.key=e,this.regexp=t}return e.prototype.getType=function(){return 6},e.prototype.cmp=function(e){if(this.key<e.key)return-1;if(this.key>e.key)return 1;var t=this.regexp?this.regexp.source:"",r=e.regexp?e.regexp.source:"";return r>t?-1:t>r?1:0},e.prototype.equals=function(t){if(t instanceof e){var r=this.regexp?this.regexp.source:"",n=t.regexp?t.regexp.source:"";return this.key===t.key&&r===n}return!1},e.prototype.evaluate=function(e){var t=e.getValue(this.key);return this.regexp?this.regexp.test(t):!1},e.prototype.normalize=function(){return this},e.prototype.keys=function(){return[this.key]},e}();t.ContextKeyRegexExpr=y;var f=function(){function e(t){this.expr=e._normalizeArr(t)}return e.prototype.getType=function(){return 5},e.prototype.equals=function(t){if(t instanceof e){if(this.expr.length!==t.expr.length)return!1;for(var r=0,n=this.expr.length;n>r;r++)if(!this.expr[r].equals(t.expr[r]))return!1;return!0}return!1},e.prototype.evaluate=function(e){for(var t=0,r=this.expr.length;r>t;t++)if(!this.expr[t].evaluate(e))return!1;return!0},e._normalizeArr=function(t){var n=[];if(t){for(var o=0,i=t.length;i>o;o++){var u=t[o];u&&(u=u.normalize(),u&&(u instanceof e?n=n.concat(u.expr):n.push(u)))}n.sort(r)}return n},e.prototype.normalize=function(){return 0===this.expr.length?void 0:1===this.expr.length?this.expr[0]:this},e.prototype.keys=function(){for(var e=[],t=0,r=this.expr;t<r.length;t++){var n=r[t];e.push.apply(e,n.keys())}return e},e}();t.ContextKeyAndExpr=f;var l=function(e){function t(t,r){var n=e.call(this,t)||this;return n._defaultValue=r,n}return n(t,e),t.prototype.bindTo=function(e){return e.createKey(this.key,this._defaultValue)},t.prototype.getValue=function(e){return e.getContextKeyValue(this.key)},t.prototype.toNegated=function(){return u.not(this.key)},t}(s);t.RawContextKey=l,t.IContextKeyService=i.createDecorator("contextKeyService"),t.SET_CONTEXT_COMMAND_ID="setContext"});
;/*!node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingResolver.js*/
define("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingResolver",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),r=function(){function e(n,t){this._defaultKeybindings=n,this._defaultBoundCommands=new Map;for(var r=0,o=n.length;o>r;r++){var s=n[r].command;s&&this._defaultBoundCommands.set(s,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=e.combine(n,t);for(var r=0,o=this._keybindings.length;o>r;r++){var a=this._keybindings[r];0!==a.keypressParts.length&&this._addKeyPress(a.keypressParts[0],a)}}return e._isTargetedForRemoval=function(e,n,t,r,o){if(e.command!==r)return!1;if(n&&e.keypressParts[0]!==n)return!1;if(t&&e.keypressParts[1]!==t)return!1;if(o){if(!e.when)return!1;if(!o.equals(e.when))return!1}return!0},e.combine=function(e,n){e=e.slice(0);for(var t=[],r=0,o=n;r<o.length;r++){var s=o[r];if(s.command&&0!==s.command.length&&"-"===s.command.charAt(0))for(var a=s.command.substr(1),i=s.keypressParts[0],u=s.keypressParts[1],d=s.when,l=e.length-1;l>=0;l--)this._isTargetedForRemoval(e[l],i,u,a,d)&&e.splice(l,1);else t.push(s)}return e.concat(t)},e.prototype._addKeyPress=function(n,t){var r=this._map.get(n);if("undefined"==typeof r)return this._map.set(n,[t]),void this._addToLookupMap(t);for(var o=r.length-1;o>=0;o--){var s=r[o];if(s.command!==t.command){var a=s.keypressParts.length>1,i=t.keypressParts.length>1;a&&i&&s.keypressParts[1]!==t.keypressParts[1]||e.whenIsEntirelyIncluded(s.when,t.when)&&this._removeFromLookupMap(s)}}r.push(t),this._addToLookupMap(t)},e.prototype._addToLookupMap=function(e){if(e.command){var n=this._lookupMap.get(e.command);"undefined"==typeof n?(n=[e],this._lookupMap.set(e.command,n)):n.push(e)}},e.prototype._removeFromLookupMap=function(e){if(e.command){var n=this._lookupMap.get(e.command);if("undefined"!=typeof n)for(var t=0,r=n.length;r>t;t++)if(n[t]===e)return void n.splice(t,1)}},e.whenIsEntirelyIncluded=function(e,n){if(!n)return!0;if(!e)return!1;for(var r=e instanceof t.ContextKeyAndExpr?e.expr:[e],o=n instanceof t.ContextKeyAndExpr?n.expr:[n],s=0,a=0,i=o;a<i.length;a++){for(var u=i[a],d=!1;!d&&s<r.length;){var l=r[s];l.equals(u)&&(d=!0),s++}if(!d)return!1}return!0},e.prototype.lookupPrimaryKeybinding=function(e){var n=this._lookupMap.get(e);return"undefined"==typeof n||0===n.length?null:n[n.length-1]},e.prototype.resolve=function(e,n,t){var r=null;if(null!==n){var o=this._map.get(n);if("undefined"==typeof o)return null;r=[];for(var s=0,a=o.length;a>s;s++){var i=o[s];i.keypressParts[1]===t&&r.push(i)}}else{var o=this._map.get(t);if("undefined"==typeof o)return null;r=o}var u=this._findCommand(e,r);return u?null===n&&u.keypressParts.length>1&&null!==u.keypressParts[1]?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:u.command,commandArgs:u.commandArgs,bubble:u.bubble}:null},e.prototype._findCommand=function(n,t){for(var r=t.length-1;r>=0;r--){var o=t[r];if(e.contextMatchesRules(n,o.when))return o}return null},e.contextMatchesRules=function(e,n){return n?n.evaluate(e):!0},e}();n.KeybindingResolver=r});
;/*!node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js*/
define("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry",function(e,n){"use strict";function i(e,n){return e.weight1!==n.weight1?e.weight1-n.weight1:e.command<n.command?-1:e.command>n.command?1:e.weight2-n.weight2}Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),o=e("node_modules/monaco-editor/esm/vs/base/common/platform"),r=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),s=e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform"),d=function(){function e(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}return e.bindToCurrentPlatform=function(e){if(1===o.OS){if(e&&e.win)return e.win}else if(2===o.OS){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e},e.prototype.registerKeybindingRule=function(n){var i=e.bindToCurrentPlatform(n);if(i&&i.primary){var r=t.createKeybinding(i.primary,o.OS);r&&this._registerDefaultKeybinding(r,n.id,void 0,n.weight,0,n.when)}if(i&&Array.isArray(i.secondary))for(var s=0,d=i.secondary.length;d>s;s++){var a=i.secondary[s],r=t.createKeybinding(a,o.OS);r&&this._registerDefaultKeybinding(r,n.id,void 0,n.weight,-s-1,n.when)}},e.prototype.registerCommandAndKeybindingRule=function(e){this.registerKeybindingRule(e),r.CommandsRegistry.registerCommand(e)},e._mightProduceChar=function(e){return e>=21&&30>=e?!0:e>=31&&56>=e?!0:80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e},e.prototype._assertNoCtrlAlt=function(n,i){n.ctrlKey&&n.altKey&&!n.metaKey&&e._mightProduceChar(n.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",n," for ",i)},e.prototype._registerDefaultKeybinding=function(e,n,i,t,r,s){1===o.OS&&this._assertNoCtrlAlt(e.parts[0],n),this._coreKeybindings.push({keybinding:e,command:n,commandArgs:i,when:s,weight1:t,weight2:r}),this._cachedMergedKeybindings=null},e.prototype.getDefaultKeybindings=function(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(i)),this._cachedMergedKeybindings.slice(0)},e}();n.KeybindingsRegistry=new d,n.Extensions={EditorModes:"platform.keybindingsRegistry"},s.Registry.add(n.Extensions.EditorModes,n.KeybindingsRegistry)});
;/*!node_modules/monaco-editor/esm/vs/platform/keybinding/common/resolvedKeybindingItem.js*/
define("node_modules/monaco-editor/esm/vs/platform/keybinding/common/resolvedKeybindingItem",function(e,t){"use strict";function n(e){for(var t=[],n=0,s=e.length;s>n;n++){var i=e[n];if(!i)return t;t.push(i)}return t}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t,s,i,r){this.resolvedKeybinding=e,this.keypressParts=e?n(e.getDispatchParts()):[],this.bubble=t?94===t.charCodeAt(0):!1,this.command=this.bubble?t.substr(1):t,this.commandArgs=s,this.when=i,this.isDefault=r}return e}();t.ResolvedKeybindingItem=s,t.removeElementsAfterNulls=n});
;/*!node_modules/monaco-editor/esm/vs/base/common/keybindingLabels.js*/
define("node_modules/monaco-editor/esm/vs/base/common/keybindingLabels",function(e,o){"use strict";function t(e,o,t){if(null===o)return"";var r=[];return e.ctrlKey&&r.push(t.ctrlKey),e.shiftKey&&r.push(t.shiftKey),e.altKey&&r.push(t.altKey),e.metaKey&&r.push(t.metaKey),r.push(o),r.join(t.separator)}Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),l=r.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),i=function(){function e(e,o,t){void 0===t&&(t=o),this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=o,this.modifierLabels[3]=t}return e.prototype.toLabel=function(e,o,r){if(0===o.length)return null;for(var l=[],i=0,h=o.length;h>i;i++){var n=o[i],y=r(n);if(null===y)return null;l[i]=t(n,y,this.modifierLabels[e])}return l.join(" ")},e}();o.ModifierLabelProvider=i,o.UILabelProvider=new i({ctrlKey:"⌃",shiftKey:"⇧",altKey:"⌥",metaKey:"⌘",separator:""},{ctrlKey:l.localize({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:l.localize({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:l.localize({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:l.localize({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:l.localize({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:l.localize({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:l.localize({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:l.localize({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),o.AriaLabelProvider=new i({ctrlKey:l.localize({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:l.localize({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:l.localize({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:l.localize({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:l.localize({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:l.localize({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:l.localize({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:l.localize({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:l.localize({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:l.localize({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:l.localize({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:l.localize({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"})});
;/*!node_modules/monaco-editor/esm/vs/platform/keybinding/common/baseResolvedKeybinding.js*/
define("node_modules/monaco-editor/esm/vs/platform/keybinding/common/baseResolvedKeybinding",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function r(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),r=t("node_modules/monaco-editor/esm/vs/base/common/errors"),n=t("node_modules/monaco-editor/esm/vs/base/common/keybindingLabels"),i=t("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),s=function(t){function e(e,o){var n=t.call(this)||this;if(0===o.length)throw r.illegalArgument("parts");return n._os=e,n._parts=o,n}return o(e,t),e.prototype.getLabel=function(){var t=this;return n.UILabelProvider.toLabel(this._os,this._parts,function(e){return t._getLabel(e)})},e.prototype.getAriaLabel=function(){var t=this;return n.AriaLabelProvider.toLabel(this._os,this._parts,function(e){return t._getAriaLabel(e)})},e.prototype.isChord=function(){return this._parts.length>1},e.prototype.getParts=function(){var t=this;return this._parts.map(function(e){return t._getPart(e)})},e.prototype._getPart=function(t){return new i.ResolvedKeybindingPart(t.ctrlKey,t.shiftKey,t.altKey,t.metaKey,this._getLabel(t),this._getAriaLabel(t))},e.prototype.getDispatchParts=function(){var t=this;return this._parts.map(function(e){return t._getDispatchPart(e)})},e}(i.ResolvedKeybinding);e.BaseResolvedKeybinding=s});
;/*!node_modules/monaco-editor/esm/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js*/
define("node_modules/monaco-editor/esm/vs/platform/keybinding/common/usLayoutResolvedKeybinding",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),r=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/baseResolvedKeybinding"),i=function(e){function t(t,o){return e.call(this,o,t.parts)||this}return o(t,e),t.prototype._keyCodeToUILabel=function(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return n.KeyCodeUtils.toString(e)},t.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},t.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":n.KeyCodeUtils.toString(e.keyCode)},t.prototype._getDispatchPart=function(e){return t.getDispatchStr(e)},t.getDispatchStr=function(e){if(e.isModifierKey())return null;var t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=n.KeyCodeUtils.toString(e.keyCode)},t}(r.BaseResolvedKeybinding);t.USLayoutResolvedKeybinding=i});
;/*!node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js*/
define("node_modules/monaco-editor/esm/vs/platform/notification/common/notification",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib"),i=t.__importDefault(o("node_modules/monaco-editor/esm/vs/base/common/severity")),n=o("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");e.Severity=i.default,e.INotificationService=n.createDecorator("notificationService");var a=function(){function o(){}return o}();e.NoOpNotification=a});
;/*!node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace.js*/
define("node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),r=e("node_modules/monaco-editor/esm/vs/base/common/uri"),n=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/resources")),i=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),s=e("node_modules/monaco-editor/esm/vs/base/common/map");o.IWorkspaceContextService=i.createDecorator("contextService"),function(e){function o(e){return e&&"object"==typeof e&&"string"==typeof e.id&&Array.isArray(e.folders)}e.isIWorkspace=o}(o.IWorkspace||(o.IWorkspace={})),function(e){function o(e){return e&&"object"==typeof e&&r.URI.isUri(e.uri)&&"string"==typeof e.name&&"function"==typeof e.toResource}e.isIWorkspaceFolder=o}(o.IWorkspaceFolder||(o.IWorkspaceFolder={}));var a=function(){function e(e,o,t){void 0===o&&(o=[]),void 0===t&&(t=null),this._id=e,this._configuration=t,this._foldersMap=s.TernarySearchTree.forPaths(),this.folders=o}return Object.defineProperty(e.prototype,"folders",{get:function(){return this._folders},set:function(e){this._folders=e,this.updateFoldersMap()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"configuration",{get:function(){return this._configuration},set:function(e){this._configuration=e},enumerable:!0,configurable:!0}),e.prototype.getFolder=function(e){return e?this._foldersMap.findSubstr(e.toString())||null:null},e.prototype.updateFoldersMap=function(){this._foldersMap=s.TernarySearchTree.forPaths();for(var e=0,o=this.folders;e<o.length;e++){var t=o[e];this._foldersMap.set(t.uri.toString(),t)}},e.prototype.toJSON=function(){return{id:this.id,folders:this.folders,configuration:this.configuration}},e}();o.Workspace=a;var u=function(){function e(e,o){this.raw=o,this.uri=e.uri,this.index=e.index,this.name=e.name}return e.prototype.toResource=function(e){return n.joinPath(this.uri,e)},e.prototype.toJSON=function(){return{uri:this.uri,name:this.name,index:this.index}},e}();o.WorkspaceFolder=u});
;/*!node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),t=i.__importStar(e("node_modules/monaco-editor/esm/vs/nls"));!function(e){e.noSelection=t.localize("noSelection","No selection"),e.singleSelectionRange=t.localize("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=t.localize("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=t.localize("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=t.localize("multiSelection","{0} selections"),e.emergencyConfOn=t.localize("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=t.localize("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=t.localize("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=t.localize("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=t.localize("readonlyEditor"," in a read-only code editor"),e.editableEditor=t.localize("editableEditor"," in a code editor"),e.changeConfigToOnMac=t.localize("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=t.localize("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=t.localize("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=t.localize("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=t.localize("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=t.localize("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=t.localize("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=t.localize("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=t.localize("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=t.localize("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=t.localize("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=t.localize("showAccessibilityHelpAction","Show Accessibility Help")}(o.AccessibilityHelpNLS||(o.AccessibilityHelpNLS={})),function(e){e.inspectTokensAction=t.localize("inspectTokens","Developer: Inspect Tokens")}(o.InspectTokensNLS||(o.InspectTokensNLS={})),function(e){e.gotoLineLabelValidLineAndColumn=t.localize("gotoLineLabelValidLineAndColumn","Go to line {0} and character {1}"),e.gotoLineLabelValidLine=t.localize("gotoLineLabelValidLine","Go to line {0}"),e.gotoLineLabelEmptyWithLineLimit=t.localize("gotoLineLabelEmptyWithLineLimit","Type a line number between 1 and {0} to navigate to"),e.gotoLineLabelEmptyWithLineAndColumnLimit=t.localize("gotoLineLabelEmptyWithLineAndColumnLimit","Type a character between 1 and {0} to navigate to"),e.gotoLineAriaLabel=t.localize("gotoLineAriaLabel","Current Line: {0}. Go to line {1}."),e.gotoLineActionInput=t.localize("gotoLineActionInput","Type a line number, followed by an optional colon and a character number to navigate to"),e.gotoLineActionLabel=t.localize("gotoLineActionLabel","Go to Line...")}(o.GoToLineNLS||(o.GoToLineNLS={})),function(e){e.ariaLabelEntryWithKey=t.localize("ariaLabelEntryWithKey","{0}, {1}, commands"),e.ariaLabelEntry=t.localize("ariaLabelEntry","{0}, commands"),e.quickCommandActionInput=t.localize("quickCommandActionInput","Type the name of an action you want to execute"),e.quickCommandActionLabel=t.localize("quickCommandActionLabel","Command Palette")}(o.QuickCommandNLS||(o.QuickCommandNLS={})),function(e){e.entryAriaLabel=t.localize("entryAriaLabel","{0}, symbols"),e.quickOutlineActionInput=t.localize("quickOutlineActionInput","Type the name of an identifier you wish to navigate to"),e.quickOutlineActionLabel=t.localize("quickOutlineActionLabel","Go to Symbol..."),e._symbols_=t.localize("symbols","symbols ({0})"),e._modules_=t.localize("modules","modules ({0})"),e._class_=t.localize("class","classes ({0})"),e._interface_=t.localize("interface","interfaces ({0})"),e._method_=t.localize("method","methods ({0})"),e._function_=t.localize("function","functions ({0})"),e._property_=t.localize("property","properties ({0})"),e._variable_=t.localize("variable","variables ({0})"),e._variable2_=t.localize("variable2","variables ({0})"),e._constructor_=t.localize("_constructor","constructors ({0})"),e._call_=t.localize("call","calls ({0})")}(o.QuickOutlineNLS||(o.QuickOutlineNLS={})),function(e){e.editorViewAccessibleLabel=t.localize("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessageIE=t.localize("accessibilityHelpMessageIE","Press Ctrl+F1 for Accessibility Options."),e.accessibilityHelpMessage=t.localize("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(o.StandaloneCodeEditorNLS||(o.StandaloneCodeEditorNLS={})),function(e){e.toggleHighContrast=t.localize("toggleHighContrast","Toggle High Contrast Theme")}(o.ToggleHighContrastNLS||(o.ToggleHighContrastNLS={})),function(e){e.bulkEditServiceSummary=t.localize("bulkEditServiceSummary","Made {0} edits in {1} files")}(o.SimpleServicesNLS||(o.SimpleServicesNLS={}))});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/simpleServices.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/simpleServices",function(e,o){"use strict";function n(e,o,n){return h.isCodeEditor(e)?o(e):n(e)}function t(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof y.URI)}function i(e,o,n){o&&e instanceof A&&Object.keys(o).forEach(function(t){_.isEditorConfigurationKey(t)&&e.updateValue("editor."+t,o[t]),n&&_.isDiffEditorConfigurationKey(t)&&e.updateValue("diffEditor."+t,o[t])})}Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var e=function(o,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var n in o)o.hasOwnProperty(n)&&(e[n]=o[n])})(o,n)};return function(o,n){function t(){this.constructor=o}e(o,n),o.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}}(),a=this&&this.__decorate||function(e,o,n,t){var i,r=arguments.length,s=3>r?o:null===t?t=Object.getOwnPropertyDescriptor(o,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,n,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>r?i(s):r>3?i(o,n,s):i(o,n))||s);return r>3&&s&&Object.defineProperty(o,n,s),s},c=this&&this.__param||function(e,o){return function(n,t){o(n,t,e)}},d=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),u=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),m=e("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent"),f=e("node_modules/monaco-editor/esm/vs/base/common/event"),l=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),p=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),v=e("node_modules/monaco-editor/esm/vs/base/common/platform"),g=r.__importDefault(e("node_modules/monaco-editor/esm/vs/base/common/severity")),y=e("node_modules/monaco-editor/esm/vs/base/common/uri"),h=e("node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser"),_=e("node_modules/monaco-editor/esm/vs/editor/common/config/commonEditorConfig"),b=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),S=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),w=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),E=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),C=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),K=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),R=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationModels"),k=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/abstractKeybindingService"),O=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingResolver"),P=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry"),D=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/resolvedKeybindingItem"),M=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/usLayoutResolvedKeybinding"),j=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),I=e("node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace"),L=e("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings"),x=function(){function e(e){this.model=e,this._onDispose=new f.Emitter}return Object.defineProperty(e.prototype,"textEditorModel",{get:function(){return this.model},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._onDispose.fire()},e}();o.SimpleModel=x;var N=function(){function e(){}return e.prototype.setEditor=function(e){this.editor=e},e.prototype.createModelReference=function(e){var o=this,t=n(this.editor,function(n){return o.findModel(n,e)},function(n){return o.findModel(n.getOriginalEditor(),e)||o.findModel(n.getModifiedEditor(),e)});return t?Promise.resolve(new p.ImmortalReference(new x(t))):Promise.reject(new Error("Model not found"))},e.prototype.findModel=function(e,o){var n=e.getModel();return n&&n.uri.toString()!==o.toString()?null:n},e}();o.SimpleEditorModelResolverService=N;var V=function(){function e(){}return e.prototype.showWhile=function(){return Promise.resolve(void 0)},e}();o.SimpleProgressService=V;var W=function(){function e(){}return e}();o.SimpleDialogService=W;var U=function(){function e(){}return e.prototype.info=function(e){return this.notify({severity:g.default.Info,message:e})},e.prototype.warn=function(e){return this.notify({severity:g.default.Warning,message:e})},e.prototype.error=function(e){return this.notify({severity:g.default.Error,message:e})},e.prototype.notify=function(o){switch(o.severity){case g.default.Error:console.error(o.message);break;case g.default.Warning:console.warn(o.message);break;default:console.log(o.message)}return e.NO_OP},e.NO_OP=new j.NoOpNotification,e}();o.SimpleNotificationService=U;var F=function(){function e(e){this._onWillExecuteCommand=new f.Emitter,this._instantiationService=e,this._dynamicCommands=Object.create(null)}return e.prototype.addCommand=function(e){var o=this,n=e.id;return this._dynamicCommands[n]=e,p.toDisposable(function(){delete o._dynamicCommands[n]})},e.prototype.executeCommand=function(e){for(var o=[],n=1;n<arguments.length;n++)o[n-1]=arguments[n];var t=C.CommandsRegistry.getCommand(e)||this._dynamicCommands[e];if(!t)return Promise.reject(new Error("command '"+e+"' not found"));try{this._onWillExecuteCommand.fire({commandId:e});var i=this._instantiationService.invokeFunction.apply(this._instantiationService,[t.handler].concat(o));return Promise.resolve(i)}catch(r){return Promise.reject(r)}},e}();o.StandaloneCommandService=F;var z=function(e){function o(o,n,t,i,r){var s=e.call(this,o,n,t,i)||this;return s._cachedResolver=null,s._dynamicKeybindings=[],s._register(u.addDisposableListener(r,u.EventType.KEY_DOWN,function(e){var o=new m.StandardKeyboardEvent(e),n=s._dispatch(o,o.target);n&&o.preventDefault()})),s}return s(o,e),o.prototype.addDynamicKeybinding=function(e,o,n,t){var i=this,r=l.createKeybinding(o,v.OS);if(!r)throw new Error("Invalid keybinding");var s=[];this._dynamicKeybindings.push({keybinding:r,command:e,when:t,weight1:1e3,weight2:0}),s.push(p.toDisposable(function(){for(var o=0;o<i._dynamicKeybindings.length;o++){var n=i._dynamicKeybindings[o];if(n.command===e)return i._dynamicKeybindings.splice(o,1),void i.updateResolver({source:1})}}));var a=this._commandService;if(!(a instanceof F))throw new Error("Unknown command service!");return s.push(a.addCommand({id:e,handler:n})),this.updateResolver({source:1}),p.combinedDisposable(s)},o.prototype.updateResolver=function(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)},o.prototype._getResolver=function(){if(!this._cachedResolver){var e=this._toNormalizedKeybindingItems(P.KeybindingsRegistry.getDefaultKeybindings(),!0),o=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new O.KeybindingResolver(e,o)}return this._cachedResolver},o.prototype._documentHasFocus=function(){return document.hasFocus()},o.prototype._toNormalizedKeybindingItems=function(e,o){for(var n=[],t=0,i=0,r=e;i<r.length;i++){var s=r[i],a=s.when?s.when.normalize():void 0,c=s.keybinding;if(c)for(var d=this.resolveKeybinding(c),u=0,m=d;u<m.length;u++){var f=m[u];n[t++]=new D.ResolvedKeybindingItem(f,s.command,s.commandArgs,a,o)}else n[t++]=new D.ResolvedKeybindingItem(null,s.command,s.commandArgs,a,o)}return n},o.prototype.resolveKeybinding=function(e){return[new M.USLayoutResolvedKeybinding(e,v.OS)]},o.prototype.resolveKeyboardEvent=function(e){var o=new l.SimpleKeybinding(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new M.USLayoutResolvedKeybinding(o,v.OS)},o}(k.AbstractKeybindingService);o.StandaloneKeybindingService=z;var A=function(){function e(){this._onDidChangeConfiguration=new f.Emitter,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new R.Configuration(new R.DefaultConfigurationModel,new R.ConfigurationModel)}return e.prototype.configuration=function(){return this._configuration},e.prototype.getValue=function(e,o){var n="string"==typeof e?e:void 0,i=t(e)?e:t(o)?o:{};return this.configuration().getValue(n,i,void 0)},e.prototype.updateValue=function(e,o){return this.configuration().updateValue(e,o),Promise.resolve()},e.prototype.inspect=function(e,o){return void 0===o&&(o={}),this.configuration().inspect(e,o,void 0)},e}();o.SimpleConfigurationService=A;var H=function(){function e(e){var o=this;this.configurationService=e,this._onDidChangeConfigurationEmitter=new f.Emitter,this.configurationService.onDidChangeConfiguration(function(e){o._onDidChangeConfigurationEmitter.fire(e)})}return e.prototype.getValue=function(e,o,n){var t=S.Position.isIPosition(o)?o:null,i=t?"string"==typeof n?n:void 0:"string"==typeof o?o:void 0;return"undefined"==typeof i?this.configurationService.getValue():this.configurationService.getValue(i)},e}();o.SimpleResourceConfigurationService=H;var T=function(){function e(e){this.configurationService=e}return e.prototype.getEOL=function(){var e=this.configurationService.getValue("files");return e&&e.eol&&"auto"!==e.eol?e.eol:v.isLinux||v.isMacintosh?"\n":"\r\n"},e=a([c(0,K.IConfigurationService)],e)}();o.SimpleResourcePropertiesService=T;var B=function(){function e(){}return e.prototype.publicLog=function(){return Promise.resolve(void 0)},e}();o.StandaloneTelemetryService=B;var Y=function(){function e(){var o=y.URI.from({scheme:e.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new I.WorkspaceFolder({uri:o,name:"",index:0})]}}return e.prototype.getWorkspace=function(){return this.workspace},e.prototype.getWorkspaceFolder=function(o){return o&&o.scheme===e.SCHEME?this.workspace.folders[0]:null},e.SCHEME="inmemory",e}();o.SimpleWorkspaceContextService=Y,o.applyConfigurationValues=i;var q=function(){function e(e){this._modelService=e}return e.prototype.apply=function(e){var o=new Map;if(e.edits)for(var n=0,t=e.edits;n<t.length;n++){var i=t[n];if(!E.isResourceTextEdit(i))return Promise.reject(new Error("bad edit - only text edits are supported"));var r=this._modelService.getModel(i.resource);if(!r)return Promise.reject(new Error("bad edit - model not found"));var s=o.get(r);s||(s=[]),o.set(r,s.concat(i.edits))}var a=0,c=0;return o.forEach(function(e,o){o.applyEdits(e.map(function(e){return b.EditOperation.replaceMove(w.Range.lift(e.range),e.text)})),c+=1,a+=e.length}),Promise.resolve({selection:void 0,ariaSummary:d.format(L.SimpleServicesNLS.bulkEditServiceSummary,a,c)})},e}();o.SimpleBulkEditService=q;var G=function(){function e(){}return e.prototype.getUriLabel=function(e){return"file"===e.scheme?e.fsPath:e.path},e}();o.SimpleUriLabelService=G;var J=function(){function e(e){this._container=e,this.onLayout=f.Event.None}return Object.defineProperty(e.prototype,"container",{get:function(){return this._container},enumerable:!0,configurable:!0}),e}();o.SimpleLayoutService=J});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria",function(e,t){"use strict";function a(e){r=document.createElement("div"),r.className="monaco-aria-container",n=document.createElement("div"),n.className="monaco-alert",n.setAttribute("role","alert"),n.setAttribute("aria-atomic","true"),r.appendChild(n),d=document.createElement("div"),d.className="monaco-status",d.setAttribute("role","status"),d.setAttribute("aria-atomic","true"),r.appendChild(d),e.appendChild(r)}function o(e,t){s(n,e,t)}function i(e,t){m.isMacintosh?o(e,t):s(d,e,t)}function s(e,t,a){if(r){if(!a)switch(v===t?b++:(v=t,b=0),b){case 0:break;case 1:t=l.localize("repeated","{0} (occurred again)",t);break;default:t=l.localize("repeatedNtimes","{0} (occurred {1} times)",t,b)}u.clearNode(e),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}}Object.defineProperty(t,"__esModule",{value:!0});var r,n,d,c=e("node_modules/tslib/tslib"),l=c.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),m=e("node_modules/monaco-editor/esm/vs/base/common/platform"),u=c.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom"));t.setARIAContainer=a,t.alert=o,t.status=i;var b=0,v=void 0});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/config/charWidthReader.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/config/charWidthReader",function(t,e){"use strict";function n(t,e){var n=new o(t,e);n.read()}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.chr=t,this.type=e,this.width=0}return t.prototype.fulfill=function(t){this.width=t},t}();e.CharWidthRequest=i;var o=function(){function t(t,e){this._bareFontInfo=t,this._requests=e,this._container=null,this._testElements=null}return t.prototype.read=function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null},t.prototype._createDomElements=function(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";var n=document.createElement("div");n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight=this._bareFontInfo.fontWeight,n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(n);var i=document.createElement("div");i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight="bold",i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(i);var o=document.createElement("div");o.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),o.style.fontWeight=this._bareFontInfo.fontWeight,o.style.fontSize=this._bareFontInfo.fontSize+"px",o.style.lineHeight=this._bareFontInfo.lineHeight+"px",o.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",o.style.fontStyle="italic",e.appendChild(o);for(var s=[],r=0,l=this._requests.length;l>r;r++){var a=this._requests[r],h=void 0;0===a.type&&(h=n),2===a.type&&(h=i),1===a.type&&(h=o),h.appendChild(document.createElement("br"));var f=document.createElement("span");t._render(f,a),h.appendChild(f),s[r]=f}this._container=e,this._testElements=s},t._render=function(t,e){if(" "===e.chr){for(var n="&nbsp;",i=0;8>i;i++)n+=n;t.innerHTML=n}else{for(var o=e.chr,i=0;8>i;i++)o+=o;t.textContent=o}},t.prototype._readFromDomElements=function(){for(var t=0,e=this._requests.length;e>t;t++){var n=this._requests[t],i=this._testElements[t];n.fulfill(i.offsetWidth/256)}},t}();e.readCharWidths=n});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/config/elementSizeObserver.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/config/elementSizeObserver",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),o=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=function(e){function t(t,n){var o=e.call(this)||this;return o.referenceDomElement=t,o.changeCallback=n,o.measureReferenceDomElementToken=-1,o.width=-1,o.height=-1,o.measureReferenceDomElement(!1),o}return n(t,e),t.prototype.dispose=function(){this.stopObserving(),e.prototype.dispose.call(this)},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.startObserving=function(){var e=this;-1===this.measureReferenceDomElementToken&&(this.measureReferenceDomElementToken=setInterval(function(){return e.measureReferenceDomElement(!0)},100))},t.prototype.stopObserving=function(){-1!==this.measureReferenceDomElementToken&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)},t.prototype.observe=function(e){this.measureReferenceDomElement(!0,e)},t.prototype.measureReferenceDomElement=function(e,t){var n=0,o=0;t?(n=t.width,o=t.height):this.referenceDomElement&&(n=this.referenceDomElement.clientWidth,o=this.referenceDomElement.clientHeight),n=Math.max(5,n),o=Math.max(5,o),(this.width!==n||this.height!==o)&&(this.width=n,this.height=o,e&&this.changeCallback())},t}(o.Disposable);t.ElementSizeObserver=r});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/config/configuration.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration",function(e,t){"use strict";function i(){m.INSTANCE.clearCache()}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),s=e("node_modules/monaco-editor/esm/vs/base/common/event"),a=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),c=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),h=e("node_modules/monaco-editor/esm/vs/editor/browser/config/charWidthReader"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/config/elementSizeObserver"),d=e("node_modules/monaco-editor/esm/vs/editor/common/config/commonEditorConfig"),l=e("node_modules/monaco-editor/esm/vs/editor/common/config/fontInfo"),p=function(){function e(){this._keys=Object.create(null),this._values=Object.create(null)}return e.prototype.has=function(e){var t=e.getId();return!!this._values[t]},e.prototype.get=function(e){var t=e.getId();return this._values[t]},e.prototype.put=function(e,t){var i=e.getId();this._keys[i]=e,this._values[i]=t},e.prototype.remove=function(e){var t=e.getId();delete this._keys[t],delete this._values[t]},e.prototype.getValues=function(){var e=this;return Object.keys(this._keys).map(function(t){return e._values[t]})},e}();t.clearAllFontInfos=i;var m=function(e){function t(){var t=e.call(this)||this;return t._onDidChange=t._register(new s.Emitter),t.onDidChange=t._onDidChange.event,t._cache=new p,t._evictUntrustedReadingsTimeout=-1,t}return n(t,e),t.prototype.dispose=function(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),e.prototype.dispose.call(this)},t.prototype.clearCache=function(){this._cache=new p,this._onDidChange.fire()},t.prototype._writeToCache=function(e,t){var i=this;this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout(function(){i._evictUntrustedReadingsTimeout=-1,i._evictUntrustedReadings()},5e3))},t.prototype._evictUntrustedReadings=function(){for(var e=this._cache.getValues(),t=!1,i=0,o=e.length;o>i;i++){var n=e[i];n.isTrusted||(t=!0,this._cache.remove(n))}t&&this._onDidChange.fire()},t.prototype.readConfiguration=function(e){if(!this._cache.has(e)){var i=t._actualReadConfiguration(e);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new l.FontInfo({zoomLevel:r.getZoomLevel(),fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(e,i)}return this._cache.get(e)},t.createRequest=function(e,t,i,o){var n=new h.CharWidthRequest(e,t);return i.push(n),o&&o.push(n),n},t._actualReadConfiguration=function(e){var t=[],i=[],o=this.createRequest("n",0,t,i),n=this.createRequest("",0,t,null),s=this.createRequest(" ",0,t,i),a=this.createRequest("0",0,t,i),c=this.createRequest("1",0,t,i),u=this.createRequest("2",0,t,i),d=this.createRequest("3",0,t,i),p=this.createRequest("4",0,t,i),m=this.createRequest("5",0,t,i),f=this.createRequest("6",0,t,i),g=this.createRequest("7",0,t,i),_=this.createRequest("8",0,t,i),v=this.createRequest("9",0,t,i),y=this.createRequest("→",0,t,i),R=this.createRequest("→",0,t,null);this.createRequest("·",0,t,i),this.createRequest("|",0,t,i),this.createRequest("/",0,t,i),this.createRequest("-",0,t,i),this.createRequest("_",0,t,i),this.createRequest("i",0,t,i),this.createRequest("l",0,t,i),this.createRequest("m",0,t,i),this.createRequest("|",1,t,i),this.createRequest("_",1,t,i),this.createRequest("i",1,t,i),this.createRequest("l",1,t,i),this.createRequest("m",1,t,i),this.createRequest("n",1,t,i),this.createRequest("|",2,t,i),this.createRequest("_",2,t,i),this.createRequest("i",2,t,i),this.createRequest("l",2,t,i),this.createRequest("m",2,t,i),this.createRequest("n",2,t,i),h.readCharWidths(e,t);for(var w=Math.max(a.width,c.width,u.width,d.width,p.width,m.width,f.width,g.width,_.width,v.width),C=!0,S=i[0].width,b=1,q=i.length;q>b;b++){var W=S-i[b].width;if(-.001>W||W>.001){C=!1;break}}var F=!0;C&&R.width!==S&&(F=!1),R.width>y.width&&(F=!1);var O=r.getTimeSinceLastZoomLevelChanged()>2e3;return new l.FontInfo({zoomLevel:r.getZoomLevel(),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:C,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:n.width,canUseHalfwidthRightwardsArrow:F,spaceWidth:s.width,maxDigitWidth:w},O)},t.INSTANCE=new t,t}(a.Disposable),f=function(e){function t(t,i,o,n){void 0===o&&(o=null);var s=e.call(this,t,i)||this;return s.accessibilityService=n,s._elementSizeObserver=s._register(new u.ElementSizeObserver(o,function(){return s._onReferenceDomElementSizeChanged()})),s._register(m.INSTANCE.onDidChange(function(){return s._onCSSBasedConfigurationChanged()})),s._validatedOptions.automaticLayout&&s._elementSizeObserver.startObserving(),s._register(r.onDidChangeZoomLevel(function(){return s._recomputeOptions()})),s._register(s.accessibilityService.onDidChangeAccessibilitySupport(function(){return s._recomputeOptions()})),s._recomputeOptions(),s}return n(t,e),t.applyFontInfoSlow=function(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"},t.applyFontInfo=function(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)},t.prototype._onReferenceDomElementSizeChanged=function(){this._recomputeOptions()},t.prototype._onCSSBasedConfigurationChanged=function(){this._recomputeOptions()},t.prototype.observeReferenceElement=function(e){this._elementSizeObserver.observe(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getExtraEditorClassName=function(){var e="";return r.isSafari||r.isWebkitWebView||(e+="no-user-select "),c.isMacintosh&&(e+="mac "),e},t.prototype._getEnvConfiguration=function(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:r.isWebKit||r.isFirefox,pixelRatio:r.getPixelRatio(),zoomLevel:r.getZoomLevel(),accessibilitySupport:this.accessibilityService.getAccessibilitySupport()}},t.prototype.readConfiguration=function(e){return m.INSTANCE.readConfiguration(e)},t}(d.CommonEditorConfiguration);t.Configuration=f});
;/*!node_modules/monaco-editor/esm/vs/base/common/actions.js*/
define("node_modules/monaco-editor/esm/vs/base/common/actions",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),o=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),i=e("node_modules/monaco-editor/esm/vs/base/common/event"),r=function(){function e(e,t,n,o,r){void 0===t&&(t=""),void 0===n&&(n=""),void 0===o&&(o=!0),this._onDidChange=new i.Emitter,this.onDidChange=this._onDidChange.event,this._id=e,this._label=t,this._cssClass=n,this._enabled=o,this._actionCallback=r}return Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this._label},set:function(e){this._setLabel(e)},enumerable:!0,configurable:!0}),e.prototype._setLabel=function(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))},Object.defineProperty(e.prototype,"tooltip",{get:function(){return this._tooltip},set:function(e){this._setTooltip(e)},enumerable:!0,configurable:!0}),e.prototype._setTooltip=function(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))},Object.defineProperty(e.prototype,"class",{get:function(){return this._cssClass},set:function(e){this._setClass(e)},enumerable:!0,configurable:!0}),e.prototype._setClass=function(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({"class":e}))},Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._setEnabled(e)},enumerable:!0,configurable:!0}),e.prototype._setEnabled=function(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(e){this._setChecked(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"radio",{get:function(){return this._radio},set:function(e){this._setRadio(e)},enumerable:!0,configurable:!0}),e.prototype._setChecked=function(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))},e.prototype._setRadio=function(e){this._radio!==e&&(this._radio=e,this._onDidChange.fire({radio:e}))},e.prototype.run=function(e){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)},e.prototype.dispose=function(){this._onDidChange.dispose()},e}();t.Action=r;var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onDidBeforeRun=t._register(new i.Emitter),t.onDidBeforeRun=t._onDidBeforeRun.event,t._onDidRun=t._register(new i.Emitter),t.onDidRun=t._onDidRun.event,t}return n(t,e),t.prototype.run=function(e,t){var n=this;return e.enabled?(this._onDidBeforeRun.fire({action:e}),this.runAction(e,t).then(function(t){n._onDidRun.fire({action:e,result:t})},function(t){n._onDidRun.fire({action:e,error:t})})):Promise.resolve(null)},t.prototype.runAction=function(e,t){var n=t?e.run(t):e.run();return Promise.resolve(n)},t}(o.Disposable);t.ActionRunner=s});
;/*!node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js*/
define("node_modules/monaco-editor/esm/vs/platform/actions/common/actions",function(t,e){"use strict";function n(t){return void 0!==t.command}Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(t,e,n,o){var i,r=arguments.length,s=3>r?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,o);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(3>r?i(s):r>3?i(e,n,s):i(e,n))||s);return r>3&&s&&Object.defineProperty(e,n,s),s},r=this&&this.__param||function(t,e){return function(n,o){e(n,o,t)}},s=t("node_modules/monaco-editor/esm/vs/base/common/actions"),c=t("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),a=t("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),m=t("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),u=t("node_modules/monaco-editor/esm/vs/base/common/event");e.isIMenuItem=n,e.IMenuService=c.createDecorator("menuService"),e.MenuRegistry=new(function(){function t(){this._commands=Object.create(null),this._menuItems=Object.create(null),this._onDidChangeMenu=new u.Emitter,this.onDidChangeMenu=this._onDidChangeMenu.event}return t.prototype.addCommand=function(t){var e=this;return this._commands[t.id]=t,this._onDidChangeMenu.fire(0),{dispose:function(){delete e._commands[t.id]&&e._onDidChangeMenu.fire(0)}}},t.prototype.getCommand=function(t){return this._commands[t]},t.prototype.getCommands=function(){var t=Object.create(null);for(var e in this._commands)t[e]=this.getCommand(e);return t},t.prototype.appendMenuItem=function(t,e){var n=this,o=this._menuItems[t];return o?o.push(e):this._menuItems[t]=o=[e],this._onDidChangeMenu.fire(t),{dispose:function(){var i=o.indexOf(e);i>=0&&(o.splice(i,1),n._onDidChangeMenu.fire(t))}}},t.prototype.getMenuItems=function(t){var e=(this._menuItems[t]||[]).slice(0);return 0===t&&this._appendImplicitItems(e),e},t.prototype._appendImplicitItems=function(t){for(var e=new Set,o=t.filter(function(t){return n(t)}),i=0,r=o;i<r.length;i++){var s=r[i],c=s.command,a=s.alt;e.add(c.id),a&&e.add(a.id)}for(var m in this._commands)e.has(m)||t.push({command:this._commands[m]})},t}());var d=function(t){function e(e,n,o){var i=t.call(this,e,n)||this;return i._commandService=o,i}return o(e,t),e.prototype.run=function(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return(t=this._commandService).executeCommand.apply(t,[this.id].concat(e))},e=i([r(2,m.ICommandService)],e)}(s.Action);e.ExecuteCommandAction=d;var l=function(t){function e(e){var n=this;return n="string"==typeof e.title?t.call(this,"",e.title,"submenu")||this:t.call(this,"",e.title.value,"submenu")||this,n.item=e,n}return o(e,t),e}(s.Action);e.SubmenuItemAction=l;var p=function(t){function e(n,o,i,r,s){var c=this;return c="string"==typeof n.title?t.call(this,n.id,n.title,s)||this:t.call(this,n.id,n.title.value,s)||this,c._cssClass=void 0,c._enabled=!n.precondition||r.contextMatchesRules(n.precondition),c._checked=Boolean(n.toggled&&r.contextMatchesRules(n.toggled)),c._options=i||{},c.item=n,c.alt=o?new e(o,void 0,c._options,r,s):void 0,c}return o(e,t),e.prototype.run=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var o=[];return this._options.arg&&(o=o.concat([this._options.arg])),this._options.shouldForwardArgs&&(o=o.concat(e)),t.prototype.run.apply(this,o)},e=i([r(3,a.IContextKeyService),r(4,m.ICommandService)],e)}(d);e.MenuItemAction=p});
;/*!node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry.js*/
define("node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");t.ITelemetryService=o.createDecorator("telemetryService")});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions",function(t,o){"use strict";function e(t,o){b.CommandsRegistry.registerCommand(t,function(t,e){return o(t,e||{})})}function n(t,o){e(t,function(t,e){var n=e.resource,i=e.position;if(!(n instanceof a.URI))throw c.illegalArgument("resource");if(!l.Position.isIPosition(i))throw c.illegalArgument("position");var r=t.get(h.IModelService).getModel(n);if(r){var s=l.Position.lift(i);return o(r,s,e)}return t.get(f.ITextModelService).createModelReference(n).then(function(t){return new Promise(function(n,r){try{var s=o(t.object.textEditorModel,l.Position.lift(i),e);n(s)}catch(d){r(d)}}).finally(function(){t.dispose()})})})}function i(t){return k.INSTANCE.registerEditorCommand(t),t}function r(t){k.INSTANCE.registerEditorAction(new t)}function s(t){k.INSTANCE.registerEditorAction(t)}function d(t){k.INSTANCE.registerEditorContribution(t)}Object.defineProperty(o,"__esModule",{value:!0});var m=this&&this.__extends||function(){var t=function(o,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(o,e)};return function(o,e){function n(){this.constructor=o}t(o,e),o.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),u=this&&this.__assign||function(){return u=Object.assign||function(t){for(var o,e=1,n=arguments.length;n>e;e++){o=arguments[e];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(t[i]=o[i])}return t},u.apply(this,arguments)},c=t("node_modules/monaco-editor/esm/vs/base/common/errors"),a=t("node_modules/monaco-editor/esm/vs/base/common/uri"),p=t("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),l=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),h=t("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),f=t("node_modules/monaco-editor/esm/vs/editor/common/services/resolverService"),g=t("node_modules/monaco-editor/esm/vs/platform/actions/common/actions"),b=t("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),y=t("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),C=t("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry"),v=t("node_modules/monaco-editor/esm/vs/platform/registry/common/platform"),E=t("node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry"),_=t("node_modules/monaco-editor/esm/vs/base/common/types"),O=function(){function t(t){this.id=t.id,this.precondition=t.precondition,this._kbOpts=t.kbOpts,this._menubarOpts=t.menubarOpts,this._description=t.description}return t.prototype.register=function(){var t=this;if(this._menubarOpts&&g.MenuRegistry.appendMenuItem(this._menubarOpts.menuId,{group:this._menubarOpts.group,command:{id:this.id,title:this._menubarOpts.title},when:this._menubarOpts.when,order:this._menubarOpts.order}),this._kbOpts){var o=this._kbOpts.kbExpr;this.precondition&&(o=o?y.ContextKeyExpr.and(o,this.precondition):this.precondition),C.KeybindingsRegistry.registerCommandAndKeybindingRule({id:this.id,handler:function(o,e){return t.runCommand(o,e)},weight:this._kbOpts.weight,when:o,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else b.CommandsRegistry.registerCommand({id:this.id,handler:function(o,e){return t.runCommand(o,e)},description:this._description})},t}();o.Command=O;var A=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return m(o,t),o.bindToContribution=function(t){return function(o){function e(t){var e=o.call(this,t)||this;return e._callback=t.handler,e}return m(e,o),e.prototype.runEditorCommand=function(o,e,n){var i=t(e);i&&this._callback(t(e),n)},e}(o)},o.prototype.runCommand=function(t,o){var e=this,n=t.get(p.ICodeEditorService),i=n.getFocusedCodeEditor()||n.getActiveCodeEditor();return i?i.invokeWithinContext(function(t){var n=t.get(y.IContextKeyService);if(n.contextMatchesRules(_.withNullAsUndefined(e.precondition)))return e.runEditorCommand(t,i,o)}):void 0},o}(O);o.EditorCommand=A;var I=function(t){function o(o){var e=t.call(this,o)||this;return e.label=o.label,e.alias=o.alias,e.menuOpts=o.menuOpts,e}return m(o,t),o.prototype.register=function(){this.menuOpts&&g.MenuRegistry.appendMenuItem(7,{command:{id:this.id,title:this.label},when:y.ContextKeyExpr.and(this.precondition,this.menuOpts.when),group:this.menuOpts.group,order:this.menuOpts.order}),t.prototype.register.call(this)},o.prototype.runEditorCommand=function(t,o,e){return this.reportTelemetry(t,o),this.run(t,o,e||{})},o.prototype.reportTelemetry=function(t,o){t.get(E.ITelemetryService).publicLog("editorActionInvoked",u({name:this.label,id:this.id},o.getTelemetryData()))},o}(A);o.EditorAction=I,o.registerLanguageCommand=e,o.registerDefaultLanguageCommand=n,o.registerEditorCommand=i,o.registerEditorAction=r,o.registerInstantiatedEditorAction=s,o.registerEditorContribution=d,function(t){function o(t){return k.INSTANCE.getEditorCommand(t)}function e(){return k.INSTANCE.getEditorActions()}function n(){return k.INSTANCE.getEditorContributions()}t.getEditorCommand=o,t.getEditorActions=e,t.getEditorContributions=n}(o.EditorExtensionsRegistry||(o.EditorExtensionsRegistry={}));var w={EditorCommonContributions:"editor.contributions"},k=function(){function t(){this.editorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return t.prototype.registerEditorContribution=function(t){this.editorContributions.push(t)},t.prototype.registerEditorAction=function(t){t.register(),this.editorActions.push(t)},t.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},t.prototype.getEditorActions=function(){return this.editorActions.slice(0)},t.prototype.registerEditorCommand=function(t){t.register(),this.editorCommands[t.id]=t},t.prototype.getEditorCommand=function(t){return this.editorCommands[t]||null},t.INSTANCE=new t,t}();v.Registry.add(w.EditorCommonContributions,k.INSTANCE)});
;/*!node_modules/monaco-editor/esm/vs/base/browser/fastDomNode.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode",function(t,i){"use strict";function o(t){return new h(t)}Object.defineProperty(i,"__esModule",{value:!0});var e=t("node_modules/tslib/tslib"),s=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),h=function(){function t(t){this.domNode=t,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._layerHint=!1}return t.prototype.setMaxWidth=function(t){this._maxWidth!==t&&(this._maxWidth=t,this.domNode.style.maxWidth=this._maxWidth+"px")},t.prototype.setWidth=function(t){this._width!==t&&(this._width=t,this.domNode.style.width=this._width+"px")},t.prototype.setHeight=function(t){this._height!==t&&(this._height=t,this.domNode.style.height=this._height+"px")},t.prototype.setTop=function(t){this._top!==t&&(this._top=t,this.domNode.style.top=this._top+"px")},t.prototype.unsetTop=function(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")},t.prototype.setLeft=function(t){this._left!==t&&(this._left=t,this.domNode.style.left=this._left+"px")},t.prototype.setBottom=function(t){this._bottom!==t&&(this._bottom=t,this.domNode.style.bottom=this._bottom+"px")},t.prototype.setRight=function(t){this._right!==t&&(this._right=t,this.domNode.style.right=this._right+"px")},t.prototype.setFontFamily=function(t){this._fontFamily!==t&&(this._fontFamily=t,this.domNode.style.fontFamily=this._fontFamily)},t.prototype.setFontWeight=function(t){this._fontWeight!==t&&(this._fontWeight=t,this.domNode.style.fontWeight=this._fontWeight)},t.prototype.setFontSize=function(t){this._fontSize!==t&&(this._fontSize=t,this.domNode.style.fontSize=this._fontSize+"px")},t.prototype.setLineHeight=function(t){this._lineHeight!==t&&(this._lineHeight=t,this.domNode.style.lineHeight=this._lineHeight+"px")},t.prototype.setLetterSpacing=function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.domNode.style.letterSpacing=this._letterSpacing+"px")},t.prototype.setClassName=function(t){this._className!==t&&(this._className=t,this.domNode.className=this._className)},t.prototype.toggleClassName=function(t,i){s.toggleClass(this.domNode,t,i),this._className=this.domNode.className},t.prototype.setDisplay=function(t){this._display!==t&&(this._display=t,this.domNode.style.display=this._display)},t.prototype.setPosition=function(t){this._position!==t&&(this._position=t,this.domNode.style.position=this._position)},t.prototype.setVisibility=function(t){this._visibility!==t&&(this._visibility=t,this.domNode.style.visibility=this._visibility)},t.prototype.setLayerHinting=function(t){this._layerHint!==t&&(this._layerHint=t,this.domNode.style.willChange=this._layerHint?"transform":"auto")},t.prototype.setAttribute=function(t,i){this.domNode.setAttribute(t,i)},t.prototype.removeAttribute=function(t){this.domNode.removeAttribute(t)},t.prototype.appendChild=function(t){this.domNode.appendChild(t.domNode)},t.prototype.removeChild=function(t){this.domNode.removeChild(t.domNode)},t}();i.FastDomNode=h,i.createFastDomNode=o});
;/*!node_modules/monaco-editor/esm/vs/base/common/decorators.js*/
define("node_modules/monaco-editor/esm/vs/base/common/decorators",function(e,o){"use strict";function t(e,o,t){var n=null,r=null;if("function"==typeof t.value?(n="value",r=t.value,0!==r.length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof t.get&&(n="get",r=t.get),!r)throw new Error("not supported");var u="$memoize$"+o;t[n]=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return this.hasOwnProperty(u)||Object.defineProperty(this,u,{configurable:!1,enumerable:!1,writable:!1,value:r.apply(this,e)}),this[u]}}Object.defineProperty(o,"__esModule",{value:!0}),o.memoize=t});
;/*!node_modules/monaco-editor/esm/vs/base/browser/touch.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/touch",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=this&&this.__decorate||function(e,t,n,i){var a,o=arguments.length,r=3>o?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(r=(3>o?a(r):o>3?a(t,n,r):a(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r},o=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/arrays")),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),l=e("node_modules/monaco-editor/esm/vs/base/common/decorators");!function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"}(t.EventType||(t.EventType={}));var c=function(e){function n(){var t=e.call(this)||this;return t.activeTouches={},t.handle=null,t.targets=[],t._register(s.addDisposableListener(document,"touchstart",function(e){return t.onTouchStart(e)})),t._register(s.addDisposableListener(document,"touchend",function(e){return t.onTouchEnd(e)})),t._register(s.addDisposableListener(document,"touchmove",function(e){return t.onTouchMove(e)})),t}return i(n,e),n.addTarget=function(e){n.isTouchDevice()&&(n.INSTANCE||(n.INSTANCE=new n),n.INSTANCE.targets.push(e))},n.isTouchDevice=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0},n.prototype.dispose=function(){this.handle&&(this.handle.dispose(),this.handle=null),e.prototype.dispose.call(this)},n.prototype.onTouchStart=function(e){var n=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(var i=0,a=e.targetTouches.length;a>i;i++){var o=e.targetTouches.item(i);this.activeTouches[o.identifier]={id:o.identifier,initialTarget:o.target,initialTimeStamp:n,initialPageX:o.pageX,initialPageY:o.pageY,rollingTimestamps:[n],rollingPageX:[o.pageX],rollingPageY:[o.pageY]};var r=this.newGestureEvent(t.EventType.Start,o.target);r.pageX=o.pageX,r.pageY=o.pageY,this.dispatchEvent(r)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},n.prototype.onTouchEnd=function(e){for(var i=Date.now(),a=Object.keys(this.activeTouches).length,r=function(r){var l=e.changedTouches.item(r);if(!s.activeTouches.hasOwnProperty(String(l.identifier)))return console.warn("move of an UNKNOWN touch",l),"continue";var c=s.activeTouches[l.identifier],g=Date.now()-c.initialTimeStamp;if(g<n.HOLD_DELAY&&Math.abs(c.initialPageX-o.tail(c.rollingPageX))<30&&Math.abs(c.initialPageY-o.tail(c.rollingPageY))<30){var h=s.newGestureEvent(t.EventType.Tap,c.initialTarget);h.pageX=o.tail(c.rollingPageX),h.pageY=o.tail(c.rollingPageY),s.dispatchEvent(h)}else if(g>=n.HOLD_DELAY&&Math.abs(c.initialPageX-o.tail(c.rollingPageX))<30&&Math.abs(c.initialPageY-o.tail(c.rollingPageY))<30){var h=s.newGestureEvent(t.EventType.Contextmenu,c.initialTarget);h.pageX=o.tail(c.rollingPageX),h.pageY=o.tail(c.rollingPageY),s.dispatchEvent(h)}else if(1===a){var u=o.tail(c.rollingPageX),p=o.tail(c.rollingPageY),d=o.tail(c.rollingTimestamps)-c.rollingTimestamps[0],v=u-c.rollingPageX[0],f=p-c.rollingPageY[0],m=s.targets.filter(function(e){return c.initialTarget instanceof Node&&e.contains(c.initialTarget)});s.inertia(m,i,Math.abs(v)/d,v>0?1:-1,u,Math.abs(f)/d,f>0?1:-1,p)}s.dispatchEvent(s.newGestureEvent(t.EventType.End,c.initialTarget)),delete s.activeTouches[l.identifier]},s=this,l=0,c=e.changedTouches.length;c>l;l++)r(l,c);this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},n.prototype.newGestureEvent=function(e,t){var n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n},n.prototype.dispatchEvent=function(e){var t=this;this.targets.forEach(function(n){e.initialTarget instanceof Node&&n.contains(e.initialTarget)&&(n.dispatchEvent(e),t.dispatched=!0)})},n.prototype.inertia=function(e,i,a,o,r,l,c,g){var h=this;this.handle=s.scheduleAtNextAnimationFrame(function(){var s=Date.now(),u=s-i,p=0,d=0,v=!0;a+=n.SCROLL_FRICTION*u,l+=n.SCROLL_FRICTION*u,a>0&&(v=!1,p=o*a*u),l>0&&(v=!1,d=c*l*u);var f=h.newGestureEvent(t.EventType.Change);f.translationX=p,f.translationY=d,e.forEach(function(e){return e.dispatchEvent(f)}),v||h.inertia(e,s,a,o,r+p,l,c,g+d)})},n.prototype.onTouchMove=function(e){for(var n=Date.now(),i=0,a=e.changedTouches.length;a>i;i++){var r=e.changedTouches.item(i);if(this.activeTouches.hasOwnProperty(String(r.identifier))){var s=this.activeTouches[r.identifier],l=this.newGestureEvent(t.EventType.Change,s.initialTarget);l.translationX=r.pageX-o.tail(s.rollingPageX),l.translationY=r.pageY-o.tail(s.rollingPageY),l.pageX=r.pageX,l.pageY=r.pageY,this.dispatchEvent(l),s.rollingPageX.length>3&&(s.rollingPageX.shift(),s.rollingPageY.shift(),s.rollingTimestamps.shift()),s.rollingPageX.push(r.pageX),s.rollingPageY.push(r.pageY),s.rollingTimestamps.push(n)}else console.warn("end of an UNKNOWN touch",r)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},n.SCROLL_FRICTION=-.005,n.HOLD_DELAY=700,a([l.memoize],n,"isTouchDevice",null),n}(r.Disposable);t.Gesture=c});
;/*!node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor",function(o,e){"use strict";function t(o,e){var t=new a.StandardMouseEvent(e);return t.preventDefault(),{leftButton:t.leftButton,posx:t.posx,posy:t.posy}}Object.defineProperty(e,"__esModule",{value:!0});var n=o("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),i=n.__importStar(o("node_modules/monaco-editor/esm/vs/base/browser/dom")),r=o("node_modules/monaco-editor/esm/vs/base/browser/iframe"),a=o("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),u=o("node_modules/monaco-editor/esm/vs/base/common/lifecycle");e.standardMouseMoveMerger=t;var l=function(o){function e(){var e=o.call(this)||this;return e.hooks=[],e.mouseMoveEventMerger=null,e.mouseMoveCallback=null,e.onStopCallback=null,e}return s(e,o),e.prototype.dispose=function(){this.stopMonitoring(!1),o.prototype.dispose.call(this)},e.prototype.stopMonitoring=function(o){if(this.isMonitoring()){this.hooks=u.dispose(this.hooks),this.mouseMoveEventMerger=null,this.mouseMoveCallback=null;var e=this.onStopCallback;this.onStopCallback=null,o&&e&&e()}},e.prototype.isMonitoring=function(){return this.hooks.length>0},e.prototype.startMonitoring=function(o,e,t){var n=this;if(!this.isMonitoring()){this.mouseMoveEventMerger=o,this.mouseMoveCallback=e,this.onStopCallback=t;for(var s=r.IframeUtils.getSameOriginWindowChain(),u=0,l=s;u<l.length;u++){var d=l[u];this.hooks.push(i.addDisposableThrottledListener(d.window.document,"mousemove",function(o){return n.mouseMoveCallback(o)},function(o,e){return n.mouseMoveEventMerger(o,e)})),this.hooks.push(i.addDisposableListener(d.window.document,"mouseup",function(){return n.stopMonitoring(!0)}))}if(r.IframeUtils.hasDifferentOriginAncestor()){var c=s[s.length-1];this.hooks.push(i.addDisposableListener(c.window.document,"mouseout",function(o){var e=new a.StandardMouseEvent(o);"html"===e.target.tagName.toLowerCase()&&n.stopMonitoring(!0)})),this.hooks.push(i.addDisposableListener(c.window.document,"mouseover",function(o){var e=new a.StandardMouseEvent(o);"html"===e.target.tagName.toLowerCase()&&n.stopMonitoring(!0)})),this.hooks.push(i.addDisposableListener(c.window.document.body,"mouseleave",function(){n.stopMonitoring(!0)}))}}},e}(u.Disposable);e.GlobalMouseMoveMonitor=l});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/editorDom.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/editorDom",function(o,t){"use strict";function e(o){var t=i.getDomNodePagePosition(o);return new l(t.left,t.top,t.width,t.height)}Object.defineProperty(t,"__esModule",{value:!0});var n=o("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var e in t)t.hasOwnProperty(e)&&(o[e]=t[e])})(t,e)};return function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),i=n.__importStar(o("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=o("node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor"),u=o("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),a=o("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=function(){function o(o,t){this.x=o,this.y=t}return o.prototype.toClientCoordinates=function(){return new c(this.x-i.StandardWindow.scrollX,this.y-i.StandardWindow.scrollY)},o}();t.PageCoordinates=d;var c=function(){function o(o,t){this.clientX=o,this.clientY=t}return o.prototype.toPageCoordinates=function(){return new d(this.clientX+i.StandardWindow.scrollX,this.clientY+i.StandardWindow.scrollY)},o}();t.ClientCoordinates=c;var l=function(){function o(o,t,e,n){this.x=o,this.y=t,this.width=e,this.height=n}return o}();t.EditorPagePosition=l,t.createEditorPagePosition=e;var f=function(o){function t(t,n){var r=o.call(this,t)||this;return r.pos=new d(r.posx,r.posy),r.editorPos=e(n),r}return r(t,o),t}(u.StandardMouseEvent);t.EditorMouseEvent=f;var p=function(){function o(o){this._editorViewDomNode=o}return o.prototype._create=function(o){return new f(o,this._editorViewDomNode)},o.prototype.onContextMenu=function(o,t){var e=this;return i.addDisposableListener(o,"contextmenu",function(o){t(e._create(o))})},o.prototype.onMouseUp=function(o,t){var e=this;return i.addDisposableListener(o,"mouseup",function(o){t(e._create(o))})},o.prototype.onMouseDown=function(o,t){var e=this;return i.addDisposableListener(o,"mousedown",function(o){t(e._create(o))})},o.prototype.onMouseLeave=function(o,t){var e=this;return i.addDisposableNonBubblingMouseOutListener(o,function(o){t(e._create(o))})},o.prototype.onMouseMoveThrottled=function(o,t,e,n){var r=this,s=function(o,t){return e(o,r._create(t))};return i.addDisposableThrottledListener(o,"mousemove",t,s,n)},o}();t.EditorMouseEventFactory=p;var h=function(o){function t(t){var e=o.call(this)||this;return e._editorViewDomNode=t,e._globalMouseMoveMonitor=e._register(new s.GlobalMouseMoveMonitor),e._keydownListener=null,e}return r(t,o),t.prototype.startMonitoring=function(o,t,e){var n=this;this._keydownListener=i.addStandardDisposableListener(document,"keydown",function(o){var t=o.toKeybinding();t.isModifierKey()||n._globalMouseMoveMonitor.stopMonitoring(!0)},!0);var r=function(t,e){return o(t,new f(e,n._editorViewDomNode))};this._globalMouseMoveMonitor.startMonitoring(r,t,function(){n._keydownListener.dispose(),e()})},t}(a.Disposable);t.GlobalEditorMouseMoveMonitor=h});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewEventHandler.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewEventHandler",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(n,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var o in n)n.hasOwnProperty(o)&&(e[o]=n[o])})(n,o)};return function(n,o){function t(){this.constructor=n}e(n,o),n.prototype=null===o?Object.create(o):(t.prototype=o.prototype,new t)}}(),t=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=function(e){function n(){var n=e.call(this)||this;return n._shouldRender=!0,n}return o(n,e),n.prototype.shouldRender=function(){return this._shouldRender},n.prototype.forceShouldRender=function(){this._shouldRender=!0},n.prototype.setShouldRender=function(){this._shouldRender=!0},n.prototype.onDidRender=function(){this._shouldRender=!1},n.prototype.onConfigurationChanged=function(){return!1},n.prototype.onCursorStateChanged=function(){return!1},n.prototype.onDecorationsChanged=function(){return!1},n.prototype.onFlushed=function(){return!1},n.prototype.onFocusChanged=function(){return!1},n.prototype.onLanguageConfigurationChanged=function(){return!1},n.prototype.onLineMappingChanged=function(){return!1},n.prototype.onLinesChanged=function(){return!1},n.prototype.onLinesDeleted=function(){return!1},n.prototype.onLinesInserted=function(){return!1},n.prototype.onRevealRangeRequest=function(){return!1},n.prototype.onScrollChanged=function(){return!1},n.prototype.onTokensChanged=function(){return!1},n.prototype.onTokensColorsChanged=function(){return!1},n.prototype.onZonesChanged=function(){return!1},n.prototype.onThemeChanged=function(){return!1},n.prototype.handleEvents=function(e){for(var n=!1,o=0,t=e.length;t>o;o++){var r=e[o];switch(r.type){case 1:this.onConfigurationChanged(r)&&(n=!0);break;case 2:this.onCursorStateChanged(r)&&(n=!0);break;case 3:this.onDecorationsChanged(r)&&(n=!0);break;case 4:this.onFlushed(r)&&(n=!0);break;case 5:this.onFocusChanged(r)&&(n=!0);break;case 16:this.onLanguageConfigurationChanged(r)&&(n=!0);break;case 6:this.onLineMappingChanged(r)&&(n=!0);break;case 7:this.onLinesChanged(r)&&(n=!0);break;case 8:this.onLinesDeleted(r)&&(n=!0);break;case 9:this.onLinesInserted(r)&&(n=!0);break;case 10:this.onRevealRangeRequest(r)&&(n=!0);break;case 11:this.onScrollChanged(r)&&(n=!0);break;case 12:this.onTokensChanged(r)&&(n=!0);break;case 13:this.onTokensColorsChanged(r)&&(n=!0);break;case 14:this.onZonesChanged(r)&&(n=!0);break;case 15:this.onThemeChanged(r)&&(n=!0);break;default:console.info("View received unknown event: "),console.info(r)}}n&&(this._shouldRender=!0)},n}(t.Disposable);n.ViewEventHandler=r});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),o=t("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),r=t("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewEventHandler"),i=function(t){function e(e){var n=t.call(this)||this;return n._context=e,n._context.addEventHandler(n),n}return n(e,t),e.prototype.dispose=function(){this._context.removeEventHandler(this),t.prototype.dispose.call(this)},e}(r.ViewEventHandler);e.ViewPart=i;var a=function(){function t(){}return t.write=function(t,e){t instanceof o.FastDomNode?t.setAttribute("data-mprt",String(e)):t.setAttribute("data-mprt",String(e))},t.read=function(t){var e=t.getAttribute("data-mprt");return null===e?0:parseInt(e,10)},t.collect=function(t,e){for(var n=[],o=0;t&&t!==document.body&&t!==e;)t.nodeType===t.ELEMENT_NODE&&(n[o++]=this.read(t)),t=t.parentElement;for(var r=new Uint8Array(o),i=0;o>i;i++)r[i]=n[o-i-1];return r},t}();e.PartFingerprints=a});
;/*!node_modules/monaco-editor/esm/vs/editor/common/view/renderingContext.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/view/renderingContext",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),o=function(){function t(t,e){this._viewLayout=t,this.viewportData=e,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;var i=this._viewLayout.getCurrentViewport();this.scrollTop=i.top,this.scrollLeft=i.left,this.viewportWidth=i.width,this.viewportHeight=i.height}return t.prototype.getScrolledTopFromAbsoluteTop=function(t){return t-this.scrollTop},t.prototype.getVerticalOffsetForLineNumber=function(t){return this._viewLayout.getVerticalOffsetForLineNumber(t)},t.prototype.getDecorationsInViewport=function(){return this.viewportData.getDecorationsInViewport()},t}();e.RestrictedRenderingContext=o;var n=function(t){function e(e,i,o){var n=t.call(this,e,i)||this;return n._viewLines=o,n}return i(e,t),e.prototype.linesVisibleRangesForRange=function(t,e){return this._viewLines.linesVisibleRangesForRange(t,e)},e.prototype.visibleRangeForPosition=function(t){return this._viewLines.visibleRangeForPosition(t)},e}(o);e.RenderingContext=n;var r=function(){function t(t,e){this.lineNumber=t,this.ranges=e}return t}();e.LineVisibleRanges=r;var s=function(){function t(t,e){this.left=Math.round(t),this.width=Math.round(e)}return t.prototype.toString=function(){return"["+this.left+","+this.width+"]"},t}();e.HorizontalRange=s});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/rangeUtil.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/rangeUtil",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=t("node_modules/monaco-editor/esm/vs/editor/common/view/renderingContext"),r=function(){function t(t,e){this.left=t,this.width=e}return t.prototype.toString=function(){return"["+this.left+","+this.width+"]"},t.compare=function(t,e){return t.left-e.left},t}(),i=function(){function t(){}return t._createRange=function(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange},t._detachRange=function(t,e){t.selectNodeContents(e)},t._readClientRects=function(t,e,n,r,i){var a=this._createRange();try{return a.setStart(t,e),a.setEnd(n,r),a.getClientRects()}catch(o){return null}finally{this._detachRange(a,i)}},t._mergeAdjacentRanges=function(t){if(1===t.length)return[new n.HorizontalRange(t[0].left,t[0].width)];t.sort(r.compare);for(var e=[],i=0,a=t[0].left,o=t[0].width,l=1,h=t.length;h>l;l++){var c=t[l],d=c.left,s=c.width;a+o+.9>=d?o=Math.max(o,d+s-a):(e[i++]=new n.HorizontalRange(a,o),a=d,o=s)}return e[i++]=new n.HorizontalRange(a,o),e},t._createHorizontalRangesFromClientRects=function(t,e){if(!t||0===t.length)return null;for(var n=[],i=0,a=t.length;a>i;i++){var o=t[i];n[i]=new r(Math.max(0,o.left-e),o.width)}return this._mergeAdjacentRanges(n)},t.readHorizontalRanges=function(t,e,n,r,i,a,o){var l=0,h=t.children.length-1;if(l>h)return null;e=Math.min(h,Math.max(l,e)),r=Math.min(h,Math.max(l,r)),e!==r&&r>0&&0===i&&(r--,i=Number.MAX_VALUE);var c=t.children[e].firstChild,d=t.children[r].firstChild;if(c&&d||(!c&&0===n&&e>0&&(c=t.children[e-1].firstChild,n=1073741824),!d&&0===i&&r>0&&(d=t.children[r-1].firstChild,i=1073741824)),!c||!d)return null;n=Math.min(c.textContent.length,Math.max(0,n)),i=Math.min(d.textContent.length,Math.max(0,i));var s=this._readClientRects(c,n,d,i,o);return this._createHorizontalRangesFromClientRects(s,a)},t}();e.RangeUtil=i});
;/*!node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js*/
define("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService",function(e,t){"use strict";function n(e){return{id:e}}function i(e){switch(e){case t.DARK:return"vs-dark";case t.HIGH_CONTRAST:return"hc-black";default:return"vs"}}function o(e){return h.onThemeChange(e)}Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),s=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),m=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=r.__importStar(e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform")),c=e("node_modules/monaco-editor/esm/vs/base/common/event");t.IThemeService=s.createDecorator("themeService"),t.themeColorFromId=n,t.DARK="dark",t.HIGH_CONTRAST="hc",t.getThemeTypeSelector=i,t.Extensions={ThemingContribution:"base.contributions.theming"};var d=function(){function e(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new c.Emitter}return e.prototype.onThemeChange=function(e){var t=this;return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),m.toDisposable(function(){var n=t.themingParticipants.indexOf(e);t.themingParticipants.splice(n,1)})},e.prototype.getThemingParticipants=function(){return this.themingParticipants},e}(),h=new d;a.Registry.add(t.Extensions.ThemingContribution,h),t.registerThemingParticipant=o});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/viewLine.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/viewLine",function(e,t){"use strict";function n(e,t,n,i,r){return new L(e,t,n,i,r)}function i(e,t,n,i,r){return new C(e,t,n,i,r)}Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),a=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),s=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),h=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),d=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/rangeUtil"),c=e("node_modules/monaco-editor/esm/vs/editor/common/view/renderingContext"),p=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/lineDecorations"),l=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer"),f=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),u=function(){return h.isNative?!0:h.isLinux||a.isFirefox||a.isSafari?!1:!0}(),g=a.isEdgeOrIE,_=function(){function e(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(e.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),e}();t.DomReadingContext=_;var m=function(){function e(e,t){this.themeType=t,this.renderWhitespace=e.editor.viewInfo.renderWhitespace,this.renderControlCharacters=e.editor.viewInfo.renderControlCharacters,this.spaceWidth=e.editor.fontInfo.spaceWidth,this.useMonospaceOptimizations=e.editor.fontInfo.isMonospace&&!e.editor.viewInfo.disableMonospaceOptimizations,this.canUseHalfwidthRightwardsArrow=e.editor.fontInfo.canUseHalfwidthRightwardsArrow,this.lineHeight=e.editor.lineHeight,this.stopRenderingLineAfter=e.editor.viewInfo.stopRenderingLineAfter,this.fontLigatures=e.editor.viewInfo.fontLigatures}return e.prototype.equals=function(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures},e}();t.ViewLineOptions=m;var w=function(){function e(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}return e.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},e.prototype.setDomNode=function(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=s.createFastDomNode(e)},e.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},e.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},e.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},e.prototype.onOptionsChanged=function(e){this._isMaybeInvalid=!0,this._options=e},e.prototype.onSelectionChanged=function(){return g||this._options.themeType===f.HIGH_CONTRAST?(this._isMaybeInvalid=!0,!0):!1},e.prototype.renderLine=function(t,n,i,r){if(this._isMaybeInvalid===!1)return!1;this._isMaybeInvalid=!1;var o=i.getViewLineRenderingData(t),a=this._options,s=p.LineDecoration.filter(o.inlineDecorations,t,o.minColumn,o.maxColumn);if(g||a.themeType===f.HIGH_CONTRAST)for(var h=i.selections,d=0,c=h;d<c.length;d++){var _=c[d];if(!(_.endLineNumber<t||_.startLineNumber>t)){var m=_.startLineNumber===t?_.startColumn:o.minColumn,w=_.endLineNumber===t?_.endColumn:o.maxColumn;w>m&&s.push(new p.LineDecoration(m,w,"inline-selected-text",0))}}var C=new l.RenderLineInput(a.useMonospaceOptimizations,a.canUseHalfwidthRightwardsArrow,o.content,o.continuesWithWrappedLine,o.isBasicASCII,o.containsRTL,o.minColumn-1,o.tokens,s,o.tabSize,a.spaceWidth,a.stopRenderingLineAfter,a.renderWhitespace,a.renderControlCharacters,a.fontLigatures);if(this._renderedViewLine&&this._renderedViewLine.input.equals(C))return!1;r.appendASCIIString('<div style="top:'),r.appendASCIIString(String(n)),r.appendASCIIString("px;height:"),r.appendASCIIString(String(this._options.lineHeight)),r.appendASCIIString('px;" class="'),r.appendASCIIString(e.CLASS_NAME),r.appendASCIIString('">');var L=l.renderViewLine(C,r);r.appendASCIIString("</div>");var y=null;return u&&o.isBasicASCII&&a.useMonospaceOptimizations&&0===L.containsForeignElements&&o.content.length<300&&C.lineTokens.getCount()<100&&(y=new R(this._renderedViewLine?this._renderedViewLine.domNode:null,C,L.characterMapping)),y||(y=v(this._renderedViewLine?this._renderedViewLine.domNode:null,C,L.characterMapping,L.containsRTL,L.containsForeignElements)),this._renderedViewLine=y,!0},e.prototype.layoutLine=function(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},e.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},e.prototype.getWidthIsFast=function(){return this._renderedViewLine?this._renderedViewLine.getWidthIsFast():!0},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this._renderedViewLine)return null;e=0|e,t=0|t,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var i=0|this._renderedViewLine.input.stopRenderingLineAfter;return-1!==i&&e>i&&t>i?null:(-1!==i&&e>i&&(e=i),-1!==i&&t>i&&(t=i),this._renderedViewLine.getVisibleRangesForRange(e,t,n))},e.prototype.getColumnOfNodeOffset=function(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1},e.CLASS_NAME="view-line",e}();t.ViewLine=w;var R=function(){function e(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}return e.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},e.prototype.getWidthIsFast=function(){return!0},e.prototype.getVisibleRangesForRange=function(e,t){var n=this._getCharPosition(e),i=this._getCharPosition(t);return[new c.HorizontalRange(n,i-n)]},e.prototype._getCharPosition=function(e){var t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,r=-1;t;)t=t.previousSibling,r++;var o=this._characterMapping.partDataToCharOffset(r,i,n);return o+1},e}(),C=function(){function e(e,t,n,i,r){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=r,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var o=0,a=this._characterMapping.length;a>=o;o++)this._pixelOffsetCache[o]=-1}}return e.prototype._getReadingTarget=function(){return this.domNode.domNode.firstChild},e.prototype.getWidth=function(){return-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget().offsetWidth),this._cachedWidth},e.prototype.getWidthIsFast=function(){return-1===this._cachedWidth?!1:!0},e.prototype.getVisibleRangesForRange=function(e,t,n){if(null!==this._pixelOffsetCache){var i=this._readPixelOffset(e,n);if(-1===i)return null;var r=this._readPixelOffset(t,n);return-1===r?null:[new c.HorizontalRange(i,r-i)]}return this._readVisibleRangesForRange(e,t,n)},e.prototype._readVisibleRangesForRange=function(e,t,n){if(e===t){var i=this._readPixelOffset(e,n);return-1===i?null:[new c.HorizontalRange(i,0)]}return this._readRawVisibleRangesForRange(e,t,n)},e.prototype._readPixelOffset=function(e,t){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth()}if(null!==this._pixelOffsetCache){var n=this._pixelOffsetCache[e];if(-1!==n)return n;var i=this._actualReadPixelOffset(e,t);return this._pixelOffsetCache[e]=i,i}return this._actualReadPixelOffset(e,t)},e.prototype._actualReadPixelOffset=function(e,t){if(0===this._characterMapping.length){var n=d.RangeUtil.readHorizontalRanges(this._getReadingTarget(),0,0,0,0,t.clientRectDeltaLeft,t.endNode);return n&&0!==n.length?n[0].left:-1}if(e===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();var i=this._characterMapping.charOffsetToPartData(e-1),r=l.CharacterMapping.getPartIndex(i),o=l.CharacterMapping.getCharIndex(i),a=d.RangeUtil.readHorizontalRanges(this._getReadingTarget(),r,o,r,o,t.clientRectDeltaLeft,t.endNode);return a&&0!==a.length?a[0].left:-1},e.prototype._readRawVisibleRangesForRange=function(e,t,n){if(1===e&&t===this._characterMapping.length)return[new c.HorizontalRange(0,this.getWidth())];var i=this._characterMapping.charOffsetToPartData(e-1),r=l.CharacterMapping.getPartIndex(i),o=l.CharacterMapping.getCharIndex(i),a=this._characterMapping.charOffsetToPartData(t-1),s=l.CharacterMapping.getPartIndex(a),h=l.CharacterMapping.getCharIndex(a);return d.RangeUtil.readHorizontalRanges(this._getReadingTarget(),r,o,s,h,n.clientRectDeltaLeft,n.endNode)},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,r=-1;t;)t=t.previousSibling,r++;var o=this._characterMapping.partDataToCharOffset(r,i,n);return o+1},e}(),L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype._readVisibleRangesForRange=function(t,n,i){var r=e.prototype._readVisibleRangesForRange.call(this,t,n,i);if(!r||0===r.length||t===n||1===t&&n===this._characterMapping.length)return r;if(!this.input.containsRTL){var o=this._readPixelOffset(n,i);if(-1!==o){var a=r[r.length-1];a.left<o&&(a.width=o-a.left)}}return r},t}(C),v=function(){return a.isWebKit?n:i}()});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/controller/mouseTarget.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/controller/mouseTarget",function(t,e){"use strict";function i(t){return{isAfterLines:!1,horizontalDistanceToText:t}}Object.defineProperty(e,"__esModule",{value:!0});var n=t("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),r=n.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/browser")),l=t("node_modules/monaco-editor/esm/vs/editor/browser/editorDom"),s=t("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),u=t("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/viewLine"),a=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),f=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),c=function(){function t(t,e,i,n,o,r){void 0===i&&(i=0),void 0===n&&(n=null),void 0===o&&(o=null),void 0===r&&(r=null),this.element=t,this.type=e,this.mouseColumn=i,this.position=n,!o&&n&&(o=new f.Range(n.lineNumber,n.column,n.lineNumber,n.column)),this.range=o,this.detail=r}return t._typeToString=function(t){return 1===t?"TEXTAREA":2===t?"GUTTER_GLYPH_MARGIN":3===t?"GUTTER_LINE_NUMBERS":4===t?"GUTTER_LINE_DECORATIONS":5===t?"GUTTER_VIEW_ZONE":6===t?"CONTENT_TEXT":7===t?"CONTENT_EMPTY":8===t?"CONTENT_VIEW_ZONE":9===t?"CONTENT_WIDGET":10===t?"OVERVIEW_RULER":11===t?"SCROLLBAR":12===t?"OVERLAY_WIDGET":"UNKNOWN"},t.toString=function(t){return this._typeToString(t.type)+": "+t.position+" - "+t.range+" - "+t.detail},t.prototype.toString=function(){return t.toString(this)},t}();e.MouseTarget=c;var d=function(){function t(){}return t.isTextArea=function(t){return 2===t.length&&3===t[0]&&6===t[1]},t.isChildOfViewLines=function(t){return t.length>=4&&3===t[0]&&7===t[3]},t.isStrictChildOfViewLines=function(t){return t.length>4&&3===t[0]&&7===t[3]},t.isChildOfScrollableElement=function(t){return t.length>=2&&3===t[0]&&5===t[1]},t.isChildOfMinimap=function(t){return t.length>=2&&3===t[0]&&8===t[1]},t.isChildOfContentWidgets=function(t){return t.length>=4&&3===t[0]&&1===t[3]},t.isChildOfOverflowingContentWidgets=function(t){return t.length>=1&&2===t[0]},t.isChildOfOverlayWidgets=function(t){return t.length>=2&&3===t[0]&&4===t[1]},t}(),h=function(){function t(t,e,i){this.model=t.model,this.layoutInfo=t.configuration.editor.layoutInfo,this.viewDomNode=e.viewDomNode,this.lineHeight=t.configuration.editor.lineHeight,this.typicalHalfwidthCharacterWidth=t.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,this.lastViewCursorsRenderData=i,this._context=t,this._viewHelper=e}return t.prototype.getZoneAtCoord=function(e){return t.getZoneAtCoord(this._context,e)},t.getZoneAtCoord=function(t,e){var i=t.viewLayout.getWhitespaceAtVerticalOffset(e);if(i){var n=i.verticalOffset+i.height/2,o=t.model.getLineCount(),r=null,l=void 0,s=null;return i.afterLineNumber!==o&&(s=new a.Position(i.afterLineNumber+1,1)),i.afterLineNumber>0&&(r=new a.Position(i.afterLineNumber,t.model.getLineMaxColumn(i.afterLineNumber))),l=null===s?r:null===r?s:n>e?r:s,{viewZoneId:i.id,afterLineNumber:i.afterLineNumber,positionBefore:r,positionAfter:s,position:l}}return null},t.prototype.getFullLineRangeAtCoord=function(t){if(this._context.viewLayout.isAfterLines(t)){var e=this._context.model.getLineCount(),i=this._context.model.getLineMaxColumn(e);return{range:new f.Range(e,i,e,i),isAfterLines:!0}}var n=this._context.viewLayout.getLineNumberAtVerticalOffset(t),o=this._context.model.getLineMaxColumn(n);return{range:new f.Range(n,1,n,o),isAfterLines:!1}},t.prototype.getLineNumberAtVerticalOffset=function(t){return this._context.viewLayout.getLineNumberAtVerticalOffset(t)},t.prototype.isAfterLines=function(t){return this._context.viewLayout.isAfterLines(t)},t.prototype.getVerticalOffsetForLineNumber=function(t){return this._context.viewLayout.getVerticalOffsetForLineNumber(t)},t.prototype.findAttribute=function(e,i){return t._findAttribute(e,i,this._viewHelper.viewDomNode)},t._findAttribute=function(t,e,i){for(;t&&t!==document.body;){if(t.hasAttribute&&t.hasAttribute(e))return t.getAttribute(e);if(t===i)return null;t=t.parentNode}return null},t.prototype.getLineWidth=function(t){return this._viewHelper.getLineWidth(t)},t.prototype.visibleRangeForPosition2=function(t,e){return this._viewHelper.visibleRangeForPosition2(t,e)},t.prototype.getPositionFromDOMInfo=function(t,e){return this._viewHelper.getPositionFromDOMInfo(t,e)},t.prototype.getCurrentScrollTop=function(){return this._context.viewLayout.getCurrentScrollTop()},t.prototype.getCurrentScrollLeft=function(){return this._context.viewLayout.getCurrentScrollLeft()},t}();e.HitTestContext=h;var g=function(){function t(t,e,i){this.editorPos=e,this.pos=i,this.mouseVerticalOffset=Math.max(0,t.getCurrentScrollTop()+i.y-e.y),this.mouseContentHorizontalOffset=t.getCurrentScrollLeft()+i.x-e.x-t.layoutInfo.contentLeft,this.isInMarginArea=i.x-e.x<t.layoutInfo.contentLeft&&i.x-e.x>=t.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,v._getMouseColumn(this.mouseContentHorizontalOffset,t.typicalHalfwidthCharacterWidth))}return t}(),m=function(t){function e(e,i,n,o){var r=t.call(this,e,i,n)||this;return r._ctx=e,o?(r.target=o,r.targetPath=s.PartFingerprints.collect(o,e.viewDomNode)):(r.target=null,r.targetPath=new Uint8Array(0)),r}return o(e,t),e.prototype.toString=function(){return"pos("+this.pos.x+","+this.pos.y+"), editorPos("+this.editorPos.x+","+this.editorPos.y+"), mouseVerticalOffset: "+this.mouseVerticalOffset+", mouseContentHorizontalOffset: "+this.mouseContentHorizontalOffset+"\n target: "+(this.target?this.target.outerHTML:null)},e.prototype.fulfill=function(t,e,i,n){return void 0===e&&(e=null),void 0===i&&(i=null),void 0===n&&(n=null),new c(this.target,t,this.mouseColumn,e,i,n)},e.prototype.withTarget=function(t){return new e(this._ctx,this.editorPos,this.pos,t)},e}(g),p={isAfterLines:!0},v=function(){function t(t,e){this._context=t,this._viewHelper=e}return t.prototype.mouseTargetIsWidget=function(t){var e=t.target,i=s.PartFingerprints.collect(e,this._viewHelper.viewDomNode);return d.isChildOfContentWidgets(i)||d.isChildOfOverflowingContentWidgets(i)?!0:d.isChildOfOverlayWidgets(i)?!0:!1},t.prototype.createMouseTarget=function(e,i,n,o){var r=new h(this._context,this._viewHelper,e),l=new m(r,i,n,o);try{var s=t._createMouseTarget(r,l,!1);return s}catch(u){return l.fulfill(0)}},t._createMouseTarget=function(e,i,n){if(null===i.target){if(n)return i.fulfill(0);var o=t._doHitTest(e,i);return o.position?t.createMouseTargetFromHitTestPosition(e,i,o.position.lineNumber,o.position.column):this._createMouseTarget(e,i.withTarget(o.hitTarget),!0)}var r=i,l=null;return l=l||t._hitTestContentWidget(e,r),l=l||t._hitTestOverlayWidget(e,r),l=l||t._hitTestMinimap(e,r),l=l||t._hitTestScrollbarSlider(e,r),l=l||t._hitTestViewZone(e,r),l=l||t._hitTestMargin(e,r),l=l||t._hitTestViewCursor(e,r),l=l||t._hitTestTextArea(e,r),l=l||t._hitTestViewLines(e,r,n),l=l||t._hitTestScrollbar(e,r),l||i.fulfill(0)},t._hitTestContentWidget=function(t,e){if(d.isChildOfContentWidgets(e.targetPath)||d.isChildOfOverflowingContentWidgets(e.targetPath)){var i=t.findAttribute(e.target,"widgetId");return i?e.fulfill(9,null,null,i):e.fulfill(0)}return null},t._hitTestOverlayWidget=function(t,e){if(d.isChildOfOverlayWidgets(e.targetPath)){var i=t.findAttribute(e.target,"widgetId");return i?e.fulfill(12,null,null,i):e.fulfill(0)}return null},t._hitTestViewCursor=function(t,e){if(e.target)for(var i=t.lastViewCursorsRenderData,n=0,o=i;n<o.length;n++){var r=o[n];if(e.target===r.domNode)return e.fulfill(6,r.position)}if(e.isInContentArea)for(var i=t.lastViewCursorsRenderData,l=e.mouseContentHorizontalOffset,s=e.mouseVerticalOffset,u=0,a=i;u<a.length;u++){var r=a[u];if(!(l<r.contentLeft||l>r.contentLeft+r.width)){var f=t.getVerticalOffsetForLineNumber(r.position.lineNumber);if(s>=f&&s<=f+r.height)return e.fulfill(6,r.position)}}return null},t._hitTestViewZone=function(t,e){var i=t.getZoneAtCoord(e.mouseVerticalOffset);if(i){var n=e.isInContentArea?8:5;return e.fulfill(n,i.position,null,i)}return null},t._hitTestTextArea=function(t,e){return d.isTextArea(e.targetPath)?e.fulfill(1):null},t._hitTestMargin=function(t,e){if(e.isInMarginArea){var i=t.getFullLineRangeAtCoord(e.mouseVerticalOffset),n=i.range.getStartPosition(),o=Math.abs(e.pos.x-e.editorPos.x),r={isAfterLines:i.isAfterLines,glyphMarginLeft:t.layoutInfo.glyphMarginLeft,glyphMarginWidth:t.layoutInfo.glyphMarginWidth,lineNumbersWidth:t.layoutInfo.lineNumbersWidth,offsetX:o};return o-=t.layoutInfo.glyphMarginLeft,o<=t.layoutInfo.glyphMarginWidth?e.fulfill(2,n,i.range,r):(o-=t.layoutInfo.glyphMarginWidth,o<=t.layoutInfo.lineNumbersWidth?e.fulfill(3,n,i.range,r):(o-=t.layoutInfo.lineNumbersWidth,e.fulfill(4,n,i.range,r)))}return null},t._hitTestViewLines=function(e,n,o){if(!d.isChildOfViewLines(n.targetPath))return null;if(e.isAfterLines(n.mouseVerticalOffset)){var r=e.model.getLineCount(),l=e.model.getLineMaxColumn(r);return n.fulfill(7,new a.Position(r,l),void 0,p)}if(o){if(d.isStrictChildOfViewLines(n.targetPath)){var s=e.getLineNumberAtVerticalOffset(n.mouseVerticalOffset);if(0===e.model.getLineLength(s)){var u=e.getLineWidth(s),f=i(n.mouseContentHorizontalOffset-u);return n.fulfill(7,new a.Position(s,1),void 0,f)}}return n.fulfill(0)}var c=t._doHitTest(e,n);return c.position?t.createMouseTargetFromHitTestPosition(e,n,c.position.lineNumber,c.position.column):this._createMouseTarget(e,n.withTarget(c.hitTarget),!0)},t._hitTestMinimap=function(t,e){if(d.isChildOfMinimap(e.targetPath)){var i=t.getLineNumberAtVerticalOffset(e.mouseVerticalOffset),n=t.model.getLineMaxColumn(i);return e.fulfill(11,new a.Position(i,n))}return null},t._hitTestScrollbarSlider=function(t,e){if(d.isChildOfScrollableElement(e.targetPath)&&e.target&&1===e.target.nodeType){var i=e.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i)){var n=t.getLineNumberAtVerticalOffset(e.mouseVerticalOffset),o=t.model.getLineMaxColumn(n);return e.fulfill(11,new a.Position(n,o))}}return null},t._hitTestScrollbar=function(t,e){if(d.isChildOfScrollableElement(e.targetPath)){var i=t.getLineNumberAtVerticalOffset(e.mouseVerticalOffset),n=t.model.getLineMaxColumn(i);return e.fulfill(11,new a.Position(i,n))}return null},t.prototype.getMouseColumn=function(e,i){var n=this._context.configuration.editor.layoutInfo,o=this._context.viewLayout.getCurrentScrollLeft()+i.x-e.x-n.contentLeft;return t._getMouseColumn(o,this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth)},t._getMouseColumn=function(t,e){if(0>t)return 1;var i=Math.round(t/e);return i+1},t.createMouseTargetFromHitTestPosition=function(t,e,n,o){var l=new a.Position(n,o),s=t.getLineWidth(n);if(e.mouseContentHorizontalOffset>s){if(r.isEdge&&1===l.column){var u=i(e.mouseContentHorizontalOffset-s);return e.fulfill(7,new a.Position(n,t.model.getLineMaxColumn(n)),void 0,u)}var c=i(e.mouseContentHorizontalOffset-s);return e.fulfill(7,l,void 0,c)}var d=t.visibleRangeForPosition2(n,o);if(!d)return e.fulfill(0,l);var h=d.left;if(e.mouseContentHorizontalOffset===h)return e.fulfill(6,l);var g=[];if(g.push({offset:d.left,column:o}),o>1){var m=t.visibleRangeForPosition2(n,o-1);m&&g.push({offset:m.left,column:o-1})}var p=t.model.getLineMaxColumn(n);if(p>o){var v=t.visibleRangeForPosition2(n,o+1);v&&g.push({offset:v.left,column:o+1})}g.sort(function(t,e){return t.offset-e.offset});for(var T=1;T<g.length;T++){var _=g[T-1],C=g[T];if(_.offset<=e.mouseContentHorizontalOffset&&e.mouseContentHorizontalOffset<=C.offset){var L=new f.Range(n,_.column,n,C.column);return e.fulfill(6,l,L)}}return e.fulfill(6,l)},t._doHitTestWithCaretRangeFromPoint=function(t,e){var i=t.getLineNumberAtVerticalOffset(e.mouseVerticalOffset),n=t.getVerticalOffsetForLineNumber(i),o=n+Math.floor(t.lineHeight/2),r=e.pos.y+(o-e.mouseVerticalOffset);r<=e.editorPos.y&&(r=e.editorPos.y+1),r>=e.editorPos.y+t.layoutInfo.height&&(r=e.editorPos.y+t.layoutInfo.height-1);var s=new l.PageCoordinates(e.pos.x,r),u=this._actualDoHitTestWithCaretRangeFromPoint(t,s.toClientCoordinates());return u.position?u:this._actualDoHitTestWithCaretRangeFromPoint(t,e.pos.toClientCoordinates())},t._actualDoHitTestWithCaretRangeFromPoint=function(t,e){var i=document.caretRangeFromPoint(e.clientX,e.clientY);if(!i||!i.startContainer)return{position:null,hitTarget:null};var n=i.startContainer,o=null;if(n.nodeType===n.TEXT_NODE){var r=n.parentNode,l=r?r.parentNode:null,s=l?l.parentNode:null,a=s&&s.nodeType===s.ELEMENT_NODE?s.className:null;if(a===u.ViewLine.CLASS_NAME){var f=t.getPositionFromDOMInfo(r,i.startOffset);return{position:f,hitTarget:null}}o=n.parentNode}else if(n.nodeType===n.ELEMENT_NODE){var r=n.parentNode,l=r?r.parentNode:null,c=l&&l.nodeType===l.ELEMENT_NODE?l.className:null;if(c===u.ViewLine.CLASS_NAME){var f=t.getPositionFromDOMInfo(n,n.textContent.length);return{position:f,hitTarget:null}}o=n}return{position:null,hitTarget:o}},t._doHitTestWithCaretPositionFromPoint=function(t,e){var i=document.caretPositionFromPoint(e.clientX,e.clientY);if(i.offsetNode.nodeType===i.offsetNode.TEXT_NODE){var n=i.offsetNode.parentNode,o=n?n.parentNode:null,r=o?o.parentNode:null,l=r&&r.nodeType===r.ELEMENT_NODE?r.className:null;if(l===u.ViewLine.CLASS_NAME){var s=t.getPositionFromDOMInfo(i.offsetNode.parentNode,i.offset);return{position:s,hitTarget:null}}return{position:null,hitTarget:i.offsetNode.parentNode}}return{position:null,hitTarget:i.offsetNode}},t._doHitTestWithMoveToPoint=function(t,e){var i=null,n=null,o=document.body.createTextRange();try{o.moveToPoint(e.clientX,e.clientY)}catch(r){return{position:null,hitTarget:null}}o.collapse(!0);var l=o?o.parentElement():null,s=l?l.parentNode:null,a=s?s.parentNode:null,f=a&&a.nodeType===a.ELEMENT_NODE?a.className:"";if(f===u.ViewLine.CLASS_NAME){var c=o.duplicate();c.moveToElementText(l),c.setEndPoint("EndToStart",o),i=t.getPositionFromDOMInfo(l,c.text.length),c.moveToElementText(t.viewDomNode)}else n=l;return o.moveToElementText(t.viewDomNode),{position:i,hitTarget:n}},t._doHitTest=function(t,e){return document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(t,e):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(t,e.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(t,e.pos.toClientCoordinates()):{position:null,hitTarget:null}},t}();e.MouseTargetFactory=v});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/controller/mouseHandler.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/controller/mouseHandler",function(e,t){"use strict";function o(e){return function(t,o){var n=!1;return e&&(n=e.mouseTargetIsWidget(o)),n||o.preventDefault(),o}}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),s=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),r=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),u=e("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),a=e("node_modules/monaco-editor/esm/vs/base/common/async"),l=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),c=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),_=e("node_modules/monaco-editor/esm/vs/editor/browser/controller/mouseTarget"),p=e("node_modules/monaco-editor/esm/vs/editor/browser/editorDom"),m=e("node_modules/monaco-editor/esm/vs/editor/common/config/editorZoom"),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),h=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),v=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewEventHandler"),f=function(e){function t(n,i,s){var l=e.call(this)||this;l._isFocused=!1,l._context=n,l.viewController=i,l.viewHelper=s,l.mouseTargetFactory=new _.MouseTargetFactory(l._context,s),l._mouseDownOperation=l._register(new M(l._context,l.viewController,l.viewHelper,function(e,t){return l._createMouseTarget(e,t)},function(e){return l._getMouseColumn(e)})),l._asyncFocus=l._register(new a.RunOnceScheduler(function(){return l.viewHelper.focusTextArea()},0)),l.lastMouseLeaveTime=-1;var c=new p.EditorMouseEventFactory(l.viewHelper.viewDomNode);l._register(c.onContextMenu(l.viewHelper.viewDomNode,function(e){return l._onContextMenu(e,!0)})),l._register(c.onMouseMoveThrottled(l.viewHelper.viewDomNode,function(e){return l._onMouseMove(e)},o(l.mouseTargetFactory),t.MOUSE_MOVE_MINIMUM_TIME)),l._register(c.onMouseUp(l.viewHelper.viewDomNode,function(e){return l._onMouseUp(e)})),l._register(c.onMouseLeave(l.viewHelper.viewDomNode,function(e){return l._onMouseLeave(e)})),l._register(c.onMouseDown(l.viewHelper.viewDomNode,function(e){return l._onMouseDown(e)}));var d=function(e){if(l.viewController.emitMouseWheel(e),l._context.configuration.editor.viewInfo.mouseWheelZoom){var t=new u.StandardWheelEvent(e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){var o=m.EditorZoom.getZoomLevel(),n=t.deltaY>0?1:-1;m.EditorZoom.setZoomLevel(o+n),t.preventDefault(),t.stopPropagation()}}};return l._register(r.addDisposableListener(l.viewHelper.viewDomNode,"mousewheel",d,!0)),l._context.addEventHandler(l),l}return i(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onCursorStateChanged=function(e){return this._mouseDownOperation.onCursorStateChanged(e),!1},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!1},t.prototype.onScrollChanged=function(){return this._mouseDownOperation.onScrollChanged(),!1},t.prototype.getTargetAtClientPoint=function(e,t){var o=new p.ClientCoordinates(e,t),n=o.toPageCoordinates(),i=p.createEditorPagePosition(this.viewHelper.viewDomNode);if(n.y<i.y||n.y>i.y+i.height||n.x<i.x||n.x>i.x+i.width)return null;var s=this.viewHelper.getLastViewCursorsRenderData();return this.mouseTargetFactory.createMouseTarget(s,i,n,null)},t.prototype._createMouseTarget=function(e,t){var o=this.viewHelper.getLastViewCursorsRenderData();return this.mouseTargetFactory.createMouseTarget(o,e.editorPos,e.pos,t?e.target:null)},t.prototype._getMouseColumn=function(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)},t.prototype._onContextMenu=function(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})},t.prototype._onMouseMove=function(e){if(!this._mouseDownOperation.isActive()){var t=e.timestamp;t<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})}},t.prototype._onMouseLeave=function(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})},t.prototype._onMouseUp=function(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})},t.prototype._onMouseDown=function(e){var t=this,o=this._createMouseTarget(e,!0),n=6===o.type||7===o.type,i=2===o.type||3===o.type||4===o.type,r=3===o.type,u=this._context.configuration.editor.viewInfo.selectOnLineNumbers,a=8===o.type||5===o.type,l=9===o.type,_=e.leftButton||e.middleButton;c.isMacintosh&&e.leftButton&&e.ctrlKey&&(_=!1);var p=function(){s.isIE&&!t._isFocused?t._asyncFocus.schedule():(e.preventDefault(),t.viewHelper.focusTextArea())};if(_&&(n||r&&u))p(),this._mouseDownOperation.start(o.type,e);else if(i)e.preventDefault();else if(a){var m=o.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(m.viewZoneId)&&(p(),this._mouseDownOperation.start(o.type,e),e.preventDefault())}else l&&this.viewHelper.shouldSuppressMouseDownOnWidget(o.detail)&&(p(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:o})},t.MOUSE_MOVE_MINIMUM_TIME=100,t}(v.ViewEventHandler);t.MouseHandler=f;var M=function(e){function t(t,o,n,i,s){var r=e.call(this)||this;return r._context=t,r._viewController=o,r._viewHelper=n,r._createMouseTarget=i,r._getMouseColumn=s,r._mouseMoveMonitor=r._register(new p.GlobalEditorMouseMoveMonitor(r._viewHelper.viewDomNode)),r._onScrollTimeout=r._register(new a.TimeoutTimer),r._mouseState=new y,r._currentSelection=new h.Selection(1,1,1,1),r._isActive=!1,r._lastMouseEvent=null,r}return i(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.isActive=function(){return this._isActive},t.prototype._onMouseDownThenMove=function(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);var t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))},t.prototype.start=function(e,t){var n=this;this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);var i=this._findMousePosition(t,!0);if(i&&i.position){if(this._mouseState.trySetCount(t.detail,i.position),t.detail=this._mouseState.count,!this._context.configuration.editor.readOnly&&this._context.configuration.editor.dragAndDrop&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===i.type&&i.position&&this._currentSelection.containsPosition(i.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(o(null),function(e){return n._onMouseDownThenMove(e)},function(){var e=n._findMousePosition(n._lastMouseEvent,!0);n._viewController.emitMouseDrop({event:n._lastMouseEvent,target:e?n._createMouseTarget(n._lastMouseEvent,!0):null}),n._stop()});this._mouseState.isDragAndDrop=!1,this._dispatchMouse(i,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(o(null),function(e){return n._onMouseDownThenMove(e)},function(){return n._stop()}))}},t.prototype._stop=function(){this._isActive=!1,this._onScrollTimeout.cancel()},t.prototype.onScrollChanged=function(){var e=this;this._isActive&&this._onScrollTimeout.setIfNotSet(function(){if(e._lastMouseEvent){var t=e._findMousePosition(e._lastMouseEvent,!1);t&&(e._mouseState.isDragAndDrop||e._dispatchMouse(t,!0))}},10)},t.prototype.onCursorStateChanged=function(e){this._currentSelection=e.selections[0]},t.prototype._getPositionOutsideEditor=function(e){var t=e.editorPos,o=this._context.model,n=this._context.viewLayout,i=this._getMouseColumn(e);if(e.posy<t.y){var s=Math.max(n.getCurrentScrollTop()-(t.y-e.posy),0),r=_.HitTestContext.getZoneAtCoord(this._context,s);if(r){var u=this._helpPositionJumpOverViewZone(r);if(u)return new _.MouseTarget(null,13,i,u)}var a=n.getLineNumberAtVerticalOffset(s);return new _.MouseTarget(null,13,i,new d.Position(a,1))}if(e.posy>t.y+t.height){var s=n.getCurrentScrollTop()+(e.posy-t.y),r=_.HitTestContext.getZoneAtCoord(this._context,s);if(r){var u=this._helpPositionJumpOverViewZone(r);if(u)return new _.MouseTarget(null,13,i,u)}var l=n.getLineNumberAtVerticalOffset(s);return new _.MouseTarget(null,13,i,new d.Position(l,o.getLineMaxColumn(l)))}var c=n.getLineNumberAtVerticalOffset(n.getCurrentScrollTop()+(e.posy-t.y));return e.posx<t.x?new _.MouseTarget(null,13,i,new d.Position(c,1)):e.posx>t.x+t.width?new _.MouseTarget(null,13,i,new d.Position(c,o.getLineMaxColumn(c))):null},t.prototype._findMousePosition=function(e,t){var o=this._getPositionOutsideEditor(e);if(o)return o;var n=this._createMouseTarget(e,t),i=n.position;if(!i)return null;if(8===n.type||5===n.type){var s=this._helpPositionJumpOverViewZone(n.detail);if(s)return new _.MouseTarget(n.element,n.type,n.mouseColumn,s,null,n.detail)}return n},t.prototype._helpPositionJumpOverViewZone=function(e){var t=new d.Position(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),o=e.positionBefore,n=e.positionAfter;return o&&n?o.isBefore(t)?o:n:null},t.prototype._dispatchMouse=function(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},t}(l.Disposable),y=function(){function e(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(e.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),e.prototype.setModifiers=function(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey},e.prototype.setStartButtons=function(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton},e.prototype.setStartedOnLineNumbers=function(e){this._startedOnLineNumbers=e},e.prototype.trySetCount=function(t,o){var n=(new Date).getTime();n-this._lastSetMouseDownCountTime>e.CLEAR_MOUSE_DOWN_COUNT_TIME&&(t=1),this._lastSetMouseDownCountTime=n,t>this._lastMouseDownCount+1&&(t=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(o)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=o,this._lastMouseDownCount=Math.min(t,this._lastMouseDownPositionEqualCount)},e.CLEAR_MOUSE_DOWN_COUNT_TIME=400,e}()});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/controller/pointerHandler.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/controller/pointerHandler",function(e,t){"use strict";function o(e,t){var o={translationY:t.translationY,translationX:t.translationX};return e&&(o.translationY+=e.translationY,o.translationX+=e.translationX),o}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=e("node_modules/monaco-editor/esm/vs/base/browser/touch"),a=e("node_modules/monaco-editor/esm/vs/editor/browser/controller/mouseHandler"),l=e("node_modules/monaco-editor/esm/vs/editor/browser/editorDom"),u=function(e){function t(t,n,r){var s=e.call(this,t,n,r)||this;return s.viewHelper.linesContentDomNode.style.msTouchAction="none",s.viewHelper.linesContentDomNode.style.msContentZooming="none",s._installGestureHandlerTimeout=window.setTimeout(function(){if(s._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=s.viewHelper.linesContentDomNode,t.target=s.viewHelper.linesContentDomNode,s.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",function(o){var n=o.pointerType;return n===(o.MSPOINTER_TYPE_MOUSE||"mouse")?void(s._lastPointerType="mouse"):void(n===(o.MSPOINTER_TYPE_TOUCH||"touch")?(s._lastPointerType="touch",e.addPointer(o.pointerId)):(s._lastPointerType="pen",t.addPointer(o.pointerId)))}),s._register(i.addDisposableThrottledListener(s.viewHelper.linesContentDomNode,"MSGestureChange",function(e){return s._onGestureChange(e)},o)),s._register(i.addDisposableListener(s.viewHelper.linesContentDomNode,"MSGestureTap",function(e){return s._onCaptureGestureTap(e)},!0))}},100),s._lastPointerType="mouse",s}return r(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,o=new l.EditorMouseEvent(e,this.viewHelper.viewDomNode),n=this._createMouseTarget(o,!1);n.position&&this.viewController.moveTo(n.position),o.browserEvent.fromElement?(o.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(function(){t.viewHelper.focusTextArea()})},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(a.MouseHandler),p=function(e){function t(t,n,r){var s=e.call(this,t,n,r)||this;return s.viewHelper.linesContentDomNode.style.touchAction="none",s._installGestureHandlerTimeout=window.setTimeout(function(){if(s._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=s.viewHelper.linesContentDomNode,t.target=s.viewHelper.linesContentDomNode,s.viewHelper.linesContentDomNode.addEventListener("pointerdown",function(o){var n=o.pointerType;return"mouse"===n?void(s._lastPointerType="mouse"):void("touch"===n?(s._lastPointerType="touch",e.addPointer(o.pointerId)):(s._lastPointerType="pen",t.addPointer(o.pointerId)))}),s._register(i.addDisposableThrottledListener(s.viewHelper.linesContentDomNode,"MSGestureChange",function(e){return s._onGestureChange(e)},o)),s._register(i.addDisposableListener(s.viewHelper.linesContentDomNode,"MSGestureTap",function(e){return s._onCaptureGestureTap(e)},!0))}},100),s._lastPointerType="mouse",s}return r(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,o=new l.EditorMouseEvent(e,this.viewHelper.viewDomNode),n=this._createMouseTarget(o,!1);n.position&&this.viewController.moveTo(n.position),o.browserEvent.fromElement?(o.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(function(){t.viewHelper.focusTextArea()})},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(a.MouseHandler),d=function(e){function t(t,o,n){var r=e.call(this,t,o,n)||this;return s.Gesture.addTarget(r.viewHelper.linesContentDomNode),r._register(i.addDisposableListener(r.viewHelper.linesContentDomNode,s.EventType.Tap,function(e){return r.onTap(e)})),r._register(i.addDisposableListener(r.viewHelper.linesContentDomNode,s.EventType.Change,function(e){return r.onChange(e)})),r._register(i.addDisposableListener(r.viewHelper.linesContentDomNode,s.EventType.Contextmenu,function(e){return r._onContextMenu(new l.EditorMouseEvent(e,r.viewHelper.viewDomNode),!1)})),r}return r(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onTap=function(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new l.EditorMouseEvent(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)},t.prototype.onChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t}(a.MouseHandler),c=function(){function e(e,t,o){this.handler=window.navigator.msPointerEnabled?new u(e,t,o):window.TouchEvent?new d(e,t,o):window.navigator.pointerEnabled||window.PointerEvent?new p(e,t,o):new a.MouseHandler(e,t,o)}return e.prototype.getTargetAtClientPoint=function(e,t){return this.handler.getTargetAtClientPoint(e,t)},e.prototype.dispose=function(){this.handler.dispose()},e}();t.PointerHandler=c});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaState.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaState",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),i=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),s=function(){function e(e,t,n,i,r){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=i,this.selectionEndPosition=r}return e.prototype.toString=function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"},e.readFromTextArea=function(t){return new e(t.getValue(),t.getSelectionStart(),t.getSelectionEnd(),null,null)},e.prototype.collapseSelection=function(){return new e(this.value,this.value.length,this.value.length,null,null)},e.prototype.writeToTextArea=function(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)},e.prototype.deduceEditorPosition=function(e){if(e<=this.selectionStart){var t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){var t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}var n=this.value.substring(this.selectionStart,e);if(-1===n.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,n,1);var i=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,i,-1)},e.prototype._finishDeduceEditorPosition=function(e,t,n){for(var i=0,r=-1;-1!==(r=t.indexOf("\n",r+1));)i++;return[e,n*t.length,i]},e.selectedText=function(t){return new e(t,0,t.length,null,null)},e.deduceInput=function(e,t,n,r){if(!e)return{text:"",replaceCharCnt:0};var o=e.value,s=e.selectionStart,l=e.selectionEnd,a=t.value,u=t.selectionStart,g=t.selectionEnd;r&&o.length>0&&s===l&&u===g&&!i.startsWith(a,o)&&i.endsWith(a,o)&&(s=0,l=0);var c=o.substring(l),h=a.substring(g),d=i.commonSuffixLength(c,h);a=a.substring(0,a.length-d),o=o.substring(0,o.length-d);var f=o.substring(0,s),m=a.substring(0,u),E=i.commonPrefixLength(f,m);if(a=a.substring(E),o=o.substring(E),u-=E,s-=E,g-=E,l-=E,n&&u===g&&o.length>0){var v=null;if(u===a.length?i.startsWith(a,o)&&(v=a.substring(o.length)):i.endsWith(a,o)&&(v=a.substring(0,a.length-o.length)),null!==v&&v.length>0&&(/\uFE0F/.test(v)||i.containsEmoji(v)))return{text:v,replaceCharCnt:0}}if(u===g){if(o===a&&0===s&&l===o.length&&u===a.length&&-1===a.indexOf("\n")&&i.containsFullWidthCharacter(a))return{text:"",replaceCharCnt:0};var P=f.length-E;return{text:a,replaceCharCnt:P}}var S=l-s;return{text:a,replaceCharCnt:S}},e.EMPTY=new e("",0,0,null,null),e}();t.TextAreaState=s;var l=function(){function e(){}return e._getPageOfLine=function(t){return Math.floor((t-1)/e._LINES_PER_PAGE)},e._getRangeForPage=function(t){var n=t*e._LINES_PER_PAGE,i=n+1,r=n+e._LINES_PER_PAGE;return new o.Range(i,1,r+1,1)},e.fromEditorSelection=function(t,n,i,l){var a,u=e._getPageOfLine(i.startLineNumber),g=e._getRangeForPage(u),c=e._getPageOfLine(i.endLineNumber),h=e._getRangeForPage(c),d=g.intersectRanges(new o.Range(1,1,i.startLineNumber,i.startColumn)),f=n.getValueInRange(d,1),m=n.getLineCount(),E=n.getLineMaxColumn(m),v=h.intersectRanges(new o.Range(i.endLineNumber,i.endColumn,m,E)),P=n.getValueInRange(v,1);if(u===c||u+1===c)a=n.getValueInRange(i,1);else{var S=g.intersectRanges(i),_=h.intersectRanges(i);a=n.getValueInRange(S,1)+String.fromCharCode(8230)+n.getValueInRange(_,1)}if(l){var b=500;f.length>b&&(f=f.substring(f.length-b,f.length)),P.length>b&&(P=P.substring(0,b)),a.length>2*b&&(a=a.substring(0,b)+String.fromCharCode(8230)+a.substring(a.length-b,a.length))}return new s(f+a+P,f.length,f.length+a.length,new r.Position(i.startLineNumber,i.startColumn),new r.Position(i.endLineNumber,i.endColumn))},e._LINES_PER_PAGE=10,e}();t.PagedScreenReaderStrategy=l});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaInput.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaInput",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),r=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),a=e("node_modules/monaco-editor/esm/vs/base/common/async"),s=e("node_modules/monaco-editor/esm/vs/base/common/event"),c=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),l=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),_=e("node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaState"),u=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection");t.CopyOptions={forceCopyWithSyntaxHighlighting:!1};var p=function(e){function o(t,o){var n=e.call(this)||this;n._onFocus=n._register(new s.Emitter),n.onFocus=n._onFocus.event,n._onBlur=n._register(new s.Emitter),n.onBlur=n._onBlur.event,n._onKeyDown=n._register(new s.Emitter),n.onKeyDown=n._onKeyDown.event,n._onKeyUp=n._register(new s.Emitter),n.onKeyUp=n._onKeyUp.event,n._onCut=n._register(new s.Emitter),n.onCut=n._onCut.event,n._onPaste=n._register(new s.Emitter),n.onPaste=n._onPaste.event,n._onType=n._register(new s.Emitter),n.onType=n._onType.event,n._onCompositionStart=n._register(new s.Emitter),n.onCompositionStart=n._onCompositionStart.event,n._onCompositionUpdate=n._register(new s.Emitter),n.onCompositionUpdate=n._onCompositionUpdate.event,n._onCompositionEnd=n._register(new s.Emitter),n.onCompositionEnd=n._onCompositionEnd.event,n._onSelectionChangeRequest=n._register(new s.Emitter),n.onSelectionChangeRequest=n._onSelectionChangeRequest.event,n._host=t,n._textArea=n._register(new g(o)),n._lastTextAreaEvent=0,n._asyncTriggerCut=n._register(new a.RunOnceScheduler(function(){return n._onCut.fire()},0)),n._textAreaState=_.TextAreaState.EMPTY,n.writeScreenReaderContent("ctor"),n._hasFocus=!1,n._isDoingComposition=!1,n._nextCommand=0,n._register(r.addStandardDisposableListener(o.domNode,"keydown",function(e){!n._isDoingComposition||109!==e.keyCode&&1!==e.keyCode||e.stopPropagation(),e.equals(9)&&e.preventDefault(),n._onKeyDown.fire(e)})),n._register(r.addStandardDisposableListener(o.domNode,"keyup",function(e){n._onKeyUp.fire(e)})),n._register(r.addDisposableListener(o.domNode,"compositionstart",function(){n._lastTextAreaEvent=1,n._isDoingComposition||(n._isDoingComposition=!0,i.isEdgeOrIE||n._setAndWriteTextAreaState("compositionstart",_.TextAreaState.EMPTY),n._onCompositionStart.fire())}));var c=function(e,t){var o=n._textAreaState,i=_.TextAreaState.readFromTextArea(n._textArea);return[i,_.TextAreaState.deduceInput(o,i,e,t)]},u=function(e){var t=n._textAreaState,o=_.TextAreaState.selectedText(e),i={text:o.value,replaceCharCnt:t.selectionEnd-t.selectionStart};return[o,i]},p=function(e){return i.isEdgeOrIE&&"ja"===e?!0:i.isIE&&0===e.indexOf("zh-Han")?!0:!1};return n._register(r.addDisposableListener(o.domNode,"compositionupdate",function(e){if(n._lastTextAreaEvent=2,p(e.locale)){var t=c(!1,!1),o=t[0],i=t[1];return n._textAreaState=o,n._onType.fire(i),void n._onCompositionUpdate.fire(e)}var r=u(e.data),a=r[0],s=r[1];n._textAreaState=a,n._onType.fire(s),n._onCompositionUpdate.fire(e)})),n._register(r.addDisposableListener(o.domNode,"compositionend",function(e){if(n._lastTextAreaEvent=3,p(e.locale)){var t=c(!1,!1),o=t[0],r=t[1];n._textAreaState=o,n._onType.fire(r)}else{var a=u(e.data),o=a[0],r=a[1];n._textAreaState=o,n._onType.fire(r)}(i.isEdgeOrIE||i.isChrome)&&(n._textAreaState=_.TextAreaState.readFromTextArea(n._textArea)),n._isDoingComposition&&(n._isDoingComposition=!1,n._onCompositionEnd.fire())})),n._register(r.addDisposableListener(o.domNode,"input",function(){var e=8===n._lastTextAreaEvent;if(n._lastTextAreaEvent=4,n._textArea.setIgnoreSelectionChangeTime("received input event"),!n._isDoingComposition){var t=c(d.isMacintosh,e&&d.isMacintosh),o=t[0],i=t[1];0===i.replaceCharCnt&&1===i.text.length&&l.isHighSurrogate(i.text.charCodeAt(0))||(n._textAreaState=o,0===n._nextCommand?""!==i.text&&n._onType.fire(i):(""!==i.text&&n._onPaste.fire({text:i.text}),n._nextCommand=0))}})),n._register(r.addDisposableListener(o.domNode,"cut",function(e){n._lastTextAreaEvent=5,n._textArea.setIgnoreSelectionChangeTime("received cut event"),n._ensureClipboardGetsEditorSelection(e),n._asyncTriggerCut.schedule()})),n._register(r.addDisposableListener(o.domNode,"copy",function(e){n._lastTextAreaEvent=6,n._ensureClipboardGetsEditorSelection(e)})),n._register(r.addDisposableListener(o.domNode,"paste",function(e){if(n._lastTextAreaEvent=7,n._textArea.setIgnoreSelectionChangeTime("received paste event"),m.canUseTextData(e)){var t=m.getTextData(e);""!==t&&n._onPaste.fire({text:t})}else n._textArea.getSelectionStart()!==n._textArea.getSelectionEnd()&&n._setAndWriteTextAreaState("paste",_.TextAreaState.EMPTY),n._nextCommand=1})),n._register(r.addDisposableListener(o.domNode,"focus",function(){n._lastTextAreaEvent=8,n._setHasFocus(!0)})),n._register(r.addDisposableListener(o.domNode,"blur",function(){n._lastTextAreaEvent=9,n._setHasFocus(!1)})),n}return n(o,e),o.prototype._installSelectionChangeListener=function(){var e=this,t=0;return r.addDisposableListener(document,"selectionchange",function(){if(e._hasFocus&&!e._isDoingComposition&&i.isChrome&&d.isWindows){var o=Date.now(),n=o-t;if(t=o,!(5>n)){var r=o-e._textArea.getIgnoreSelectionChangeTime();if(e._textArea.resetSelectionChangeTime(),!(100>r)&&e._textAreaState.selectionStartPosition&&e._textAreaState.selectionEndPosition){var a=e._textArea.getValue();if(e._textAreaState.value===a){var s=e._textArea.getSelectionStart(),c=e._textArea.getSelectionEnd();if(e._textAreaState.selectionStart!==s||e._textAreaState.selectionEnd!==c){var l=e._textAreaState.deduceEditorPosition(s),_=e._host.deduceModelPosition(l[0],l[1],l[2]),p=e._textAreaState.deduceEditorPosition(c),m=e._host.deduceModelPosition(p[0],p[1],p[2]),g=new u.Selection(_.lineNumber,_.column,m.lineNumber,m.column);e._onSelectionChangeRequest.fire(g)}}}}}})},o.prototype.dispose=function(){e.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},o.prototype.focusTextArea=function(){this._setHasFocus(!0)},o.prototype.isFocused=function(){return this._hasFocus},o.prototype._setHasFocus=function(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(i.isEdge?this._setAndWriteTextAreaState("focusgain",_.TextAreaState.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())},o.prototype._setAndWriteTextAreaState=function(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t},o.prototype.writeScreenReaderContent=function(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))},o.prototype._ensureClipboardGetsEditorSelection=function(e){var o=this._host.getPlainTextToCopy();if(!m.canUseTextData(e))return void this._setAndWriteTextAreaState("copy or cut",_.TextAreaState.selectedText(o));var n=null;i.hasClipboardSupport()&&(o.length<65536||t.CopyOptions.forceCopyWithSyntaxHighlighting)&&(n=this._host.getHTMLToCopy()),m.setTextData(e,o,n)},o}(c.Disposable);t.TextAreaInput=p;var m=function(){function e(){}return e.canUseTextData=function(e){return e.clipboardData?!0:window.clipboardData?!0:!1},e.getTextData=function(e){if(e.clipboardData)return e.preventDefault(),e.clipboardData.getData("text/plain");if(window.clipboardData)return e.preventDefault(),window.clipboardData.getData("Text");throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},e.setTextData=function(e,t,o){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),null!==o&&e.clipboardData.setData("text/html",o),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},e}(),g=function(e){function t(t){var o=e.call(this)||this;return o._actual=t,o._ignoreSelectionChangeTime=0,o}return n(t,e),t.prototype.setIgnoreSelectionChangeTime=function(){this._ignoreSelectionChangeTime=Date.now()},t.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},t.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},t.prototype.getValue=function(){return this._actual.domNode.value},t.prototype.setValue=function(e,t){var o=this._actual.domNode;o.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),o.value=t)},t.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},t.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},t.prototype.setSelectionRange=function(e,t,o){var n=this._actual.domNode,a=document.activeElement===n,s=n.selectionStart,c=n.selectionEnd;if(a&&s===t&&c===o)return void(i.isFirefox&&window.parent!==window&&n.focus());if(a)return this.setIgnoreSelectionChangeTime("setSelectionRange"),n.setSelectionRange(t,o),void(i.isFirefox&&window.parent!==window&&n.focus());try{var d=r.saveParentsScrollTop(n);this.setIgnoreSelectionChangeTime("setSelectionRange"),n.focus(),n.setSelectionRange(t,o),r.restoreParentsScrollTop(n,d)}catch(l){}},t}(c.Disposable)});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),o=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewEventHandler"),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(o.ViewEventHandler);t.DynamicViewOverlay=r});
;/*!node_modules/monaco-editor/esm/vs/base/common/color.js*/
define("node_modules/monaco-editor/esm/vs/base/common/color",function(t,r){"use strict";function e(t,r){var e=Math.pow(10,r);return Math.round(t*e)/e}Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,r,a,n){void 0===n&&(n=1),this.r=0|Math.min(255,Math.max(0,t)),this.g=0|Math.min(255,Math.max(0,r)),this.b=0|Math.min(255,Math.max(0,a)),this.a=e(Math.max(Math.min(1,n),0),3)}return t.equals=function(t,r){return t.r===r.r&&t.g===r.g&&t.b===r.b&&t.a===r.a},t}();r.RGBA=a;var n=function(){function t(t,r,a,n){this.h=0|Math.max(Math.min(360,t),0),this.s=e(Math.max(Math.min(1,r),0),3),this.l=e(Math.max(Math.min(1,a),0),3),this.a=e(Math.max(Math.min(1,n),0),3)}return t.equals=function(t,r){return t.h===r.h&&t.s===r.s&&t.l===r.l&&t.a===r.a},t.fromRGBA=function(r){var e=r.r/255,a=r.g/255,n=r.b/255,o=r.a,i=Math.max(e,a,n),h=Math.min(e,a,n),u=0,s=0,c=(h+i)/2,l=i-h;if(l>0){switch(s=Math.min(.5>=c?l/(2*c):l/(2-2*c),1),i){case e:u=(a-n)/l+(n>a?6:0);break;case a:u=(n-e)/l+2;break;case n:u=(e-a)/l+4}u*=60,u=Math.round(u)}return new t(u,s,c,o)},t._hue2rgb=function(t,r,e){return 0>e&&(e+=1),e>1&&(e-=1),1/6>e?t+6*(r-t)*e:.5>e?r:2/3>e?t+(r-t)*(2/3-e)*6:t},t.toRGBA=function(r){var e,n,o,i=r.h/360,h=r.s,u=r.l,s=r.a;if(0===h)e=n=o=u;else{var c=.5>u?u*(1+h):u+h-u*h,l=2*u-c;e=t._hue2rgb(l,c,i+1/3),n=t._hue2rgb(l,c,i),o=t._hue2rgb(l,c,i-1/3)}return new a(Math.round(255*e),Math.round(255*n),Math.round(255*o),s)},t}();r.HSLA=n;var o=function(){function t(t,r,a,n){this.h=0|Math.max(Math.min(360,t),0),this.s=e(Math.max(Math.min(1,r),0),3),this.v=e(Math.max(Math.min(1,a),0),3),this.a=e(Math.max(Math.min(1,n),0),3)}return t.equals=function(t,r){return t.h===r.h&&t.s===r.s&&t.v===r.v&&t.a===r.a},t.fromRGBA=function(r){var e,a=r.r/255,n=r.g/255,o=r.b/255,i=Math.max(a,n,o),h=Math.min(a,n,o),u=i-h,s=0===i?0:u/i;return e=0===u?0:i===a?((n-o)/u%6+6)%6:i===n?(o-a)/u+2:(a-n)/u+4,new t(Math.round(60*e),s,i,r.a)},t.toRGBA=function(t){var r=t.h,e=t.s,n=t.v,o=t.a,i=n*e,h=i*(1-Math.abs(r/60%2-1)),u=n-i,s=[0,0,0],c=s[0],l=s[1],f=s[2];return 60>r?(c=i,l=h):120>r?(c=h,l=i):180>r?(l=i,f=h):240>r?(l=h,f=i):300>r?(c=h,f=i):360>r&&(c=i,f=h),c=Math.round(255*(c+u)),l=Math.round(255*(l+u)),f=Math.round(255*(f+u)),new a(c,l,f,o)},t}();r.HSVA=o;var i=function(){function t(t){if(!t)throw new Error("Color needs a value");if(t instanceof a)this.rgba=t;else if(t instanceof n)this._hsla=t,this.rgba=n.toRGBA(t);else{if(!(t instanceof o))throw new Error("Invalid color ctor argument");this._hsva=t,this.rgba=o.toRGBA(t)}}return t.fromHex=function(r){return t.Format.CSS.parseHex(r)||t.red},Object.defineProperty(t.prototype,"hsla",{get:function(){return this._hsla?this._hsla:n.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hsva",{get:function(){return this._hsva?this._hsva:o.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),t.prototype.equals=function(t){return!!t&&a.equals(this.rgba,t.rgba)&&n.equals(this.hsla,t.hsla)&&o.equals(this.hsva,t.hsva)},t.prototype.getRelativeLuminance=function(){var r=t._relativeLuminanceForComponent(this.rgba.r),a=t._relativeLuminanceForComponent(this.rgba.g),n=t._relativeLuminanceForComponent(this.rgba.b),o=.2126*r+.7152*a+.0722*n;return e(o,4)},t._relativeLuminanceForComponent=function(t){var r=t/255;return.03928>=r?r/12.92:Math.pow((r+.055)/1.055,2.4)},t.prototype.isLighter=function(){var t=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return t>=128},t.prototype.isLighterThan=function(t){var r=this.getRelativeLuminance(),e=t.getRelativeLuminance();return r>e},t.prototype.isDarkerThan=function(t){var r=this.getRelativeLuminance(),e=t.getRelativeLuminance();return e>r},t.prototype.lighten=function(r){return new t(new n(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*r,this.hsla.a))},t.prototype.darken=function(r){return new t(new n(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*r,this.hsla.a))},t.prototype.transparent=function(r){var e=this.rgba,n=e.r,o=e.g,i=e.b,h=e.a;return new t(new a(n,o,i,h*r))},t.prototype.isTransparent=function(){return 0===this.rgba.a},t.prototype.isOpaque=function(){return 1===this.rgba.a},t.prototype.opposite=function(){return new t(new a(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))},t.prototype.toString=function(){return""+t.Format.CSS.format(this)},t.getLighterColor=function(t,r,e){if(t.isLighterThan(r))return t;e=e?e:.5;var a=t.getRelativeLuminance(),n=r.getRelativeLuminance();return e=e*(n-a)/n,t.lighten(e)},t.getDarkerColor=function(t,r,e){if(t.isDarkerThan(r))return t;e=e?e:.5;var a=t.getRelativeLuminance(),n=r.getRelativeLuminance();return e=e*(a-n)/a,t.darken(e)},t.white=new t(new a(255,255,255,1)),t.black=new t(new a(0,0,0,1)),t.red=new t(new a(255,0,0,1)),t.blue=new t(new a(0,0,255,1)),t.cyan=new t(new a(0,255,255,1)),t.lightgrey=new t(new a(211,211,211,1)),t.transparent=new t(new a(0,0,0,0)),t}();r.Color=i,function(t){var r;!function(r){var e;!function(r){function e(r){return 1===r.rgba.a?"rgb("+r.rgba.r+", "+r.rgba.g+", "+r.rgba.b+")":t.Format.CSS.formatRGBA(r)}function n(t){return"rgba("+t.rgba.r+", "+t.rgba.g+", "+t.rgba.b+", "+ +t.rgba.a.toFixed(2)+")"}function o(r){return 1===r.hsla.a?"hsl("+r.hsla.h+", "+(100*r.hsla.s).toFixed(2)+"%, "+(100*r.hsla.l).toFixed(2)+"%)":t.Format.CSS.formatHSLA(r)}function i(t){return"hsla("+t.hsla.h+", "+(100*t.hsla.s).toFixed(2)+"%, "+(100*t.hsla.l).toFixed(2)+"%, "+t.hsla.a.toFixed(2)+")"}function h(t){var r=t.toString(16);return 2!==r.length?"0"+r:r}function u(t){return"#"+h(t.rgba.r)+h(t.rgba.g)+h(t.rgba.b)}function s(r,e){return void 0===e&&(e=!1),e&&1===r.rgba.a?t.Format.CSS.formatHex(r):"#"+h(r.rgba.r)+h(r.rgba.g)+h(r.rgba.b)+h(Math.round(255*r.rgba.a))}function c(r){return r?r.isOpaque()?t.Format.CSS.formatHex(r):t.Format.CSS.formatRGBA(r):null}function l(r){if(!r)return null;var e=r.length;if(0===e)return null;if(35!==r.charCodeAt(0))return null;if(7===e){var n=16*f(r.charCodeAt(1))+f(r.charCodeAt(2)),o=16*f(r.charCodeAt(3))+f(r.charCodeAt(4)),i=16*f(r.charCodeAt(5))+f(r.charCodeAt(6));return new t(new a(n,o,i,1))}if(9===e){var n=16*f(r.charCodeAt(1))+f(r.charCodeAt(2)),o=16*f(r.charCodeAt(3))+f(r.charCodeAt(4)),i=16*f(r.charCodeAt(5))+f(r.charCodeAt(6)),h=16*f(r.charCodeAt(7))+f(r.charCodeAt(8));return new t(new a(n,o,i,h/255))}if(4===e){var n=f(r.charCodeAt(1)),o=f(r.charCodeAt(2)),i=f(r.charCodeAt(3));return new t(new a(16*n+n,16*o+o,16*i+i))}if(5===e){var n=f(r.charCodeAt(1)),o=f(r.charCodeAt(2)),i=f(r.charCodeAt(3)),h=f(r.charCodeAt(4));return new t(new a(16*n+n,16*o+o,16*i+i,(16*h+h)/255))}return null}function f(t){switch(t){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}r.formatRGB=e,r.formatRGBA=n,r.formatHSL=o,r.formatHSLA=i,r.formatHex=u,r.formatHexA=s,r.format=c,r.parseHex=l}(e=r.CSS||(r.CSS={}))}(r=t.Format||(t.Format={}))}(i||(r.Color=i={}))});
;/*!node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js*/
define("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry",function(o,r){"use strict";function e(o,r,e,t,i){return p.registerColor(o,r,e,t,i)}function t(o,r){return function(e){var t=a(o,e);return t?t.darken(r):void 0}}function i(o,r){return function(e){var t=a(o,e);return t?t.lighten(r):void 0}}function n(o,r){return function(e){var t=a(o,e);return t?t.transparent(r):void 0}}function l(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return function(r){for(var e=0,t=o;e<t.length;e++){var i=t[e],n=a(i,r);if(n)return n}return void 0}}function d(o,r,e,t){return function(i){var n=a(o,i);if(n){var l=a(r,i);return l?n.isDarkerThan(l)?g.Color.getLighterColor(n,l,e).transparent(t):g.Color.getDarkerColor(n,l,e).transparent(t):n.transparent(e*t)}return void 0}}function a(o,r){return null===o?void 0:"string"==typeof o?"#"===o[0]?g.Color.fromHex(o):r.getColor(o):o instanceof g.Color?o:"function"==typeof o?o(r):void 0}Object.defineProperty(r,"__esModule",{value:!0});var c=o("node_modules/tslib/tslib"),u=c.__importStar(o("node_modules/monaco-editor/esm/vs/platform/registry/common/platform")),g=o("node_modules/monaco-editor/esm/vs/base/common/color"),s=o("node_modules/monaco-editor/esm/vs/base/common/event"),h=c.__importStar(o("node_modules/monaco-editor/esm/vs/nls")),f=o("node_modules/monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry"),k=o("node_modules/monaco-editor/esm/vs/base/common/async");r.Extensions={ColorContribution:"base.contributions.colors"};var B=function(){function o(){this._onDidChangeSchema=new s.Emitter,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string","enum":[],enumDescriptions:[]},this.colorsById={}}return o.prototype.registerColor=function(o,r,e,t,i){void 0===t&&(t=!1);var n={id:o,description:e,defaults:r,needsTransparency:t,deprecationMessage:i};this.colorsById[o]=n;var l={type:"string",description:e,format:"color-hex","default":"#ff0000"};return i&&(l.deprecationMessage=i),this.colorSchema.properties[o]=l,this.colorReferenceSchema.enum.push(o),this.colorReferenceSchema.enumDescriptions.push(e),this._onDidChangeSchema.fire(),o},o.prototype.resolveDefaultColor=function(o,r){var e=this.colorsById[o];if(e&&e.defaults){var t=e.defaults[r.type];return a(t,r)}return void 0},o.prototype.getColorSchema=function(){return this.colorSchema},o.prototype.toString=function(){var o=this,r=function(o,r){var e=-1===o.indexOf(".")?0:1,t=-1===r.indexOf(".")?0:1;return e!==t?e-t:o.localeCompare(r)};return Object.keys(this.colorsById).sort(r).map(function(r){return"- `"+r+"`: "+o.colorsById[r].description}).join("\n")},o}(),p=new B;u.Registry.add(r.Extensions.ColorContribution,p),r.registerColor=e,r.foreground=e("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},h.localize("foreground","Overall foreground color. This color is only used if not overridden by a component.")),r.errorForeground=e("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},h.localize("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),r.focusBorder=e("focusBorder",{dark:g.Color.fromHex("#0E639C").transparent(.8),light:g.Color.fromHex("#007ACC").transparent(.4),hc:"#F38518"},h.localize("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),r.contrastBorder=e("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},h.localize("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),r.activeContrastBorder=e("contrastActiveBorder",{light:null,dark:null,hc:r.focusBorder},h.localize("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),r.textLinkForeground=e("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},h.localize("textLinkForeground","Foreground color for links in text.")),r.textCodeBlockBackground=e("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:g.Color.black},h.localize("textCodeBlockBackground","Background color for code blocks in text.")),r.widgetShadow=e("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},h.localize("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),r.inputBackground=e("input.background",{dark:"#3C3C3C",light:g.Color.white,hc:g.Color.black},h.localize("inputBoxBackground","Input box background.")),r.inputForeground=e("input.foreground",{dark:r.foreground,light:r.foreground,hc:r.foreground},h.localize("inputBoxForeground","Input box foreground.")),r.inputBorder=e("input.border",{dark:null,light:null,hc:r.contrastBorder},h.localize("inputBoxBorder","Input box border.")),r.inputActiveOptionBorder=e("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hc:r.activeContrastBorder},h.localize("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),r.inputValidationInfoBackground=e("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:g.Color.black},h.localize("inputValidationInfoBackground","Input validation background color for information severity.")),r.inputValidationInfoForeground=e("inputValidation.infoForeground",{dark:null,light:null,hc:null},h.localize("inputValidationInfoForeground","Input validation foreground color for information severity.")),r.inputValidationInfoBorder=e("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:r.contrastBorder},h.localize("inputValidationInfoBorder","Input validation border color for information severity.")),r.inputValidationWarningBackground=e("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:g.Color.black},h.localize("inputValidationWarningBackground","Input validation background color for warning severity.")),r.inputValidationWarningForeground=e("inputValidation.warningForeground",{dark:null,light:null,hc:null},h.localize("inputValidationWarningForeground","Input validation foreground color for warning severity.")),r.inputValidationWarningBorder=e("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:r.contrastBorder},h.localize("inputValidationWarningBorder","Input validation border color for warning severity.")),r.inputValidationErrorBackground=e("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:g.Color.black},h.localize("inputValidationErrorBackground","Input validation background color for error severity.")),r.inputValidationErrorForeground=e("inputValidation.errorForeground",{dark:null,light:null,hc:null},h.localize("inputValidationErrorForeground","Input validation foreground color for error severity.")),r.inputValidationErrorBorder=e("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:r.contrastBorder},h.localize("inputValidationErrorBorder","Input validation border color for error severity.")),r.selectBackground=e("dropdown.background",{dark:"#3C3C3C",light:g.Color.white,hc:g.Color.black},h.localize("dropdownBackground","Dropdown background.")),r.selectForeground=e("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:g.Color.white},h.localize("dropdownForeground","Dropdown foreground.")),r.listFocusBackground=e("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},h.localize("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),r.listFocusForeground=e("list.focusForeground",{dark:null,light:null,hc:null},h.localize("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),r.listActiveSelectionBackground=e("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},h.localize("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),r.listActiveSelectionForeground=e("list.activeSelectionForeground",{dark:g.Color.white,light:g.Color.white,hc:null},h.localize("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),r.listInactiveSelectionBackground=e("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},h.localize("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),r.listInactiveSelectionForeground=e("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},h.localize("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),r.listInactiveFocusBackground=e("list.inactiveFocusBackground",{dark:null,light:null,hc:null},h.localize("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),r.listHoverBackground=e("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},h.localize("listHoverBackground","List/Tree background when hovering over items using the mouse.")),r.listHoverForeground=e("list.hoverForeground",{dark:null,light:null,hc:null},h.localize("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),r.listDropBackground=e("list.dropBackground",{dark:r.listFocusBackground,light:r.listFocusBackground,hc:null},h.localize("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),r.listHighlightForeground=e("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:r.focusBorder},h.localize("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),r.listFilterWidgetBackground=e("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:g.Color.black},h.localize("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),r.listFilterWidgetOutline=e("listFilterWidget.outline",{dark:g.Color.transparent,light:g.Color.transparent,hc:"#f38518"},h.localize("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),r.listFilterWidgetNoMatchesOutline=e("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:r.contrastBorder},h.localize("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),r.pickerGroupForeground=e("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:g.Color.white},h.localize("pickerGroupForeground","Quick picker color for grouping labels.")),r.pickerGroupBorder=e("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:g.Color.white},h.localize("pickerGroupBorder","Quick picker color for grouping borders.")),r.badgeBackground=e("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:g.Color.black},h.localize("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),r.badgeForeground=e("badge.foreground",{dark:g.Color.white,light:"#333",hc:g.Color.white},h.localize("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),r.scrollbarShadow=e("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},h.localize("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),r.scrollbarSliderBackground=e("scrollbarSlider.background",{dark:g.Color.fromHex("#797979").transparent(.4),light:g.Color.fromHex("#646464").transparent(.4),hc:n(r.contrastBorder,.6)},h.localize("scrollbarSliderBackground","Scrollbar slider background color.")),r.scrollbarSliderHoverBackground=e("scrollbarSlider.hoverBackground",{dark:g.Color.fromHex("#646464").transparent(.7),light:g.Color.fromHex("#646464").transparent(.7),hc:n(r.contrastBorder,.8)},h.localize("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),r.scrollbarSliderActiveBackground=e("scrollbarSlider.activeBackground",{dark:g.Color.fromHex("#BFBFBF").transparent(.4),light:g.Color.fromHex("#000000").transparent(.6),hc:r.contrastBorder},h.localize("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),r.progressBarBackground=e("progressBar.background",{dark:g.Color.fromHex("#0E70C0"),light:g.Color.fromHex("#0E70C0"),hc:r.contrastBorder},h.localize("progressBarBackground","Background color of the progress bar that can show for long running operations.")),r.menuBorder=e("menu.border",{dark:null,light:null,hc:r.contrastBorder},h.localize("menuBorder","Border color of menus.")),r.menuForeground=e("menu.foreground",{dark:r.selectForeground,light:r.foreground,hc:r.selectForeground},h.localize("menuForeground","Foreground color of menu items.")),r.menuBackground=e("menu.background",{dark:r.selectBackground,light:r.selectBackground,hc:r.selectBackground},h.localize("menuBackground","Background color of menu items.")),r.menuSelectionForeground=e("menu.selectionForeground",{dark:r.listActiveSelectionForeground,light:r.listActiveSelectionForeground,hc:r.listActiveSelectionForeground},h.localize("menuSelectionForeground","Foreground color of the selected menu item in menus.")),r.menuSelectionBackground=e("menu.selectionBackground",{dark:r.listActiveSelectionBackground,light:r.listActiveSelectionBackground,hc:r.listActiveSelectionBackground},h.localize("menuSelectionBackground","Background color of the selected menu item in menus.")),r.menuSelectionBorder=e("menu.selectionBorder",{dark:null,light:null,hc:r.activeContrastBorder},h.localize("menuSelectionBorder","Border color of the selected menu item in menus.")),r.menuSeparatorBackground=e("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:r.contrastBorder},h.localize("menuSeparatorBackground","Color of a separator menu item in menus.")),r.editorBackground=e("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:g.Color.black},h.localize("editorBackground","Editor background color.")),r.editorForeground=e("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:g.Color.white},h.localize("editorForeground","Editor default foreground color.")),r.editorWidgetBackground=e("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},h.localize("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),r.editorWidgetBorder=e("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:r.contrastBorder},h.localize("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),r.editorWidgetResizeBorder=e("editorWidget.resizeBorder",{light:null,dark:null,hc:null},h.localize("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),r.editorSelectionBackground=e("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},h.localize("editorSelectionBackground","Color of the editor selection.")),r.editorSelectionForeground=e("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},h.localize("editorSelectionForeground","Color of the selected text for high contrast.")),r.editorInactiveSelection=e("editor.inactiveSelectionBackground",{light:n(r.editorSelectionBackground,.5),dark:n(r.editorSelectionBackground,.5),hc:n(r.editorSelectionBackground,.5)},h.localize("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),r.editorSelectionHighlight=e("editor.selectionHighlightBackground",{light:d(r.editorSelectionBackground,r.editorBackground,.3,.6),dark:d(r.editorSelectionBackground,r.editorBackground,.3,.6),hc:null},h.localize("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),r.editorSelectionHighlightBorder=e("editor.selectionHighlightBorder",{light:null,dark:null,hc:r.activeContrastBorder},h.localize("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),r.editorFindMatch=e("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},h.localize("editorFindMatch","Color of the current search match.")),r.editorFindMatchHighlight=e("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},h.localize("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),r.editorFindRangeHighlight=e("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},h.localize("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),r.editorFindMatchBorder=e("editor.findMatchBorder",{light:null,dark:null,hc:r.activeContrastBorder},h.localize("editorFindMatchBorder","Border color of the current search match.")),r.editorFindMatchHighlightBorder=e("editor.findMatchHighlightBorder",{light:null,dark:null,hc:r.activeContrastBorder},h.localize("findMatchHighlightBorder","Border color of the other search matches.")),r.editorFindRangeHighlightBorder=e("editor.findRangeHighlightBorder",{dark:null,light:null,hc:n(r.activeContrastBorder,.4)},h.localize("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),r.editorHoverHighlight=e("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},h.localize("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),r.editorHoverBackground=e("editorHoverWidget.background",{light:r.editorWidgetBackground,dark:r.editorWidgetBackground,hc:r.editorWidgetBackground},h.localize("hoverBackground","Background color of the editor hover.")),r.editorHoverBorder=e("editorHoverWidget.border",{light:r.editorWidgetBorder,dark:r.editorWidgetBorder,hc:r.editorWidgetBorder},h.localize("hoverBorder","Border color of the editor hover.")),r.editorHoverStatusBarBackground=e("editorHoverWidget.statusBarBackground",{dark:i(r.editorHoverBackground,.2),light:t(r.editorHoverBackground,.05),hc:r.editorWidgetBackground},h.localize("statusBarBackground","Background color of the editor hover status bar.")),r.editorActiveLinkForeground=e("editorLink.activeForeground",{dark:"#4E94CE",light:g.Color.blue,hc:g.Color.cyan},h.localize("activeLinkForeground","Color of active links.")),r.defaultInsertColor=new g.Color(new g.RGBA(155,185,85,.2)),r.defaultRemoveColor=new g.Color(new g.RGBA(255,0,0,.2)),r.diffInserted=e("diffEditor.insertedTextBackground",{dark:r.defaultInsertColor,light:r.defaultInsertColor,hc:null},h.localize("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),r.diffRemoved=e("diffEditor.removedTextBackground",{dark:r.defaultRemoveColor,light:r.defaultRemoveColor,hc:null},h.localize("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),r.diffInsertedOutline=e("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},h.localize("diffEditorInsertedOutline","Outline color for the text that got inserted.")),r.diffRemovedOutline=e("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},h.localize("diffEditorRemovedOutline","Outline color for text that got removed.")),r.diffBorder=e("diffEditor.border",{dark:null,light:null,hc:r.contrastBorder},h.localize("diffEditorBorder","Border color between the two text editors.")),r.snippetTabstopHighlightBackground=e("editor.snippetTabstopHighlightBackground",{dark:new g.Color(new g.RGBA(124,124,124,.3)),light:new g.Color(new g.RGBA(10,50,100,.2)),hc:new g.Color(new g.RGBA(124,124,124,.3))},h.localize("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),r.snippetTabstopHighlightBorder=e("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},h.localize("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),r.snippetFinalTabstopHighlightBackground=e("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},h.localize("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),r.snippetFinalTabstopHighlightBorder=e("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new g.Color(new g.RGBA(10,50,100,.5)),hc:"#525252"},h.localize("snippetFinalTabstopHighlightBorder","Highlight border color of the final stabstop of a snippet."));var v=new g.Color(new g.RGBA(246,185,77,.7));r.overviewRulerFindMatchForeground=e("editorOverviewRuler.findMatchForeground",{dark:v,light:v,hc:v},h.localize("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),r.overviewRulerSelectionHighlightForeground=e("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},h.localize("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),r.darken=t,r.lighten=i,r.transparent=n,r.oneOf=l,r.workbenchColorsSchemaId="vscode://schemas/workbench-colors";var m=u.Registry.as(f.Extensions.JSONContribution);m.registerSchema(r.workbenchColorsSchemaId,p.getColorSchema());var b=new k.RunOnceScheduler(function(){return m.notifySchemaChanged(r.workbenchColorsSchemaId)},200);p.onDidChangeSchema(function(){b.isScheduled()||b.schedule()})});
;/*!node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry",function(r,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r("node_modules/tslib/tslib"),i=o.__importStar(r("node_modules/monaco-editor/esm/vs/nls")),t=r("node_modules/monaco-editor/esm/vs/base/common/color"),d=r("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),l=r("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService");e.editorLineHighlight=d.registerColor("editor.lineHighlightBackground",{dark:null,light:null,hc:null},i.localize("lineHighlight","Background color for the highlight of line at the cursor position.")),e.editorLineHighlightBorder=d.registerColor("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},i.localize("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),e.editorRangeHighlight=d.registerColor("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},i.localize("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),e.editorRangeHighlightBorder=d.registerColor("editor.rangeHighlightBorder",{dark:null,light:null,hc:d.activeContrastBorder},i.localize("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),e.editorCursorForeground=d.registerColor("editorCursor.foreground",{dark:"#AEAFAD",light:t.Color.black,hc:t.Color.white},i.localize("caret","Color of the editor cursor.")),e.editorCursorBackground=d.registerColor("editorCursor.background",null,i.localize("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),e.editorWhitespaces=d.registerColor("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},i.localize("editorWhitespaces","Color of whitespace characters in the editor.")),e.editorIndentGuides=d.registerColor("editorIndentGuide.background",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hc:e.editorWhitespaces},i.localize("editorIndentGuides","Color of the editor indentation guides.")),e.editorActiveIndentGuides=d.registerColor("editorIndentGuide.activeBackground",{dark:e.editorWhitespaces,light:e.editorWhitespaces,hc:e.editorWhitespaces},i.localize("editorActiveIndentGuide","Color of the active editor indentation guides.")),e.editorLineNumbers=d.registerColor("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:t.Color.white},i.localize("editorLineNumbers","Color of editor line numbers."));var n=d.registerColor("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:d.activeContrastBorder},i.localize("editorActiveLineNumber","Color of editor active line number"),!1,i.localize("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead."));e.editorActiveLineNumber=d.registerColor("editorLineNumber.activeForeground",{dark:n,light:n,hc:n},i.localize("editorActiveLineNumber","Color of editor active line number")),e.editorRuler=d.registerColor("editorRuler.foreground",{dark:"#5A5A5A",light:t.Color.lightgrey,hc:t.Color.white},i.localize("editorRuler","Color of the editor rulers.")),e.editorCodeLensForeground=d.registerColor("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},i.localize("editorCodeLensForeground","Foreground color of editor code lenses")),e.editorBracketMatchBackground=d.registerColor("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},i.localize("editorBracketMatchBackground","Background color behind matching brackets")),e.editorBracketMatchBorder=d.registerColor("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:"#fff"},i.localize("editorBracketMatchBorder","Color for matching brackets boxes")),e.editorOverviewRulerBorder=d.registerColor("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},i.localize("editorOverviewRulerBorder","Color of the overview ruler border.")),e.editorGutter=d.registerColor("editorGutter.background",{dark:d.editorBackground,light:d.editorBackground,hc:d.editorBackground},i.localize("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),e.editorErrorForeground=d.registerColor("editorError.foreground",{dark:"#ea4646",light:"#d60a0a",hc:null},i.localize("errorForeground","Foreground color of error squigglies in the editor.")),e.editorErrorBorder=d.registerColor("editorError.border",{dark:null,light:null,hc:t.Color.fromHex("#E47777").transparent(.8)},i.localize("errorBorder","Border color of error squigglies in the editor.")),e.editorWarningForeground=d.registerColor("editorWarning.foreground",{dark:"#4d9e4d",light:"#117711",hc:null},i.localize("warningForeground","Foreground color of warning squigglies in the editor.")),e.editorWarningBorder=d.registerColor("editorWarning.border",{dark:null,light:null,hc:t.Color.fromHex("#71B771").transparent(.8)},i.localize("warningBorder","Border color of warning squigglies in the editor.")),e.editorInfoForeground=d.registerColor("editorInfo.foreground",{dark:"#008000",light:"#008000",hc:null},i.localize("infoForeground","Foreground color of info squigglies in the editor.")),e.editorInfoBorder=d.registerColor("editorInfo.border",{dark:null,light:null,hc:t.Color.fromHex("#71B771").transparent(.8)},i.localize("infoBorder","Border color of info squigglies in the editor.")),e.editorHintForeground=d.registerColor("editorHint.foreground",{dark:t.Color.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},i.localize("hintForeground","Foreground color of hint squigglies in the editor.")),e.editorHintBorder=d.registerColor("editorHint.border",{dark:null,light:null,hc:t.Color.fromHex("#eeeeee").transparent(.8)},i.localize("hintBorder","Border color of hint squigglies in the editor.")),e.editorUnnecessaryCodeBorder=d.registerColor("editorUnnecessaryCode.border",{dark:null,light:null,hc:t.Color.fromHex("#fff").transparent(.8)},i.localize("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),e.editorUnnecessaryCodeOpacity=d.registerColor("editorUnnecessaryCode.opacity",{dark:t.Color.fromHex("#000a"),light:t.Color.fromHex("#0007"),hc:null},i.localize("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),e.overviewRulerError=d.registerColor("editorOverviewRuler.errorForeground",{dark:new t.Color(new t.RGBA(255,18,18,.7)),light:new t.Color(new t.RGBA(255,18,18,.7)),hc:new t.Color(new t.RGBA(255,50,50,1))},i.localize("overviewRuleError","Overview ruler marker color for errors.")),e.overviewRulerWarning=d.registerColor("editorOverviewRuler.warningForeground",{dark:new t.Color(new t.RGBA(18,136,18,.7)),light:new t.Color(new t.RGBA(18,136,18,.7)),hc:new t.Color(new t.RGBA(50,255,50,1))},i.localize("overviewRuleWarning","Overview ruler marker color for warnings.")),e.overviewRulerInfo=d.registerColor("editorOverviewRuler.infoForeground",{dark:new t.Color(new t.RGBA(18,18,136,.7)),light:new t.Color(new t.RGBA(18,18,136,.7)),hc:new t.Color(new t.RGBA(50,50,255,1))},i.localize("overviewRuleInfo","Overview ruler marker color for infos.")),l.registerThemingParticipant(function(r,o){var i=r.getColor(d.editorBackground);i&&o.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+i+"; }");var t=r.getColor(d.editorForeground);t&&o.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: "+t+"; }");var l=r.getColor(e.editorGutter);l&&o.addRule(".monaco-editor .margin { background-color: "+l+"; }");var n=r.getColor(e.editorRangeHighlight);n&&o.addRule(".monaco-editor .rangeHighlight { background-color: "+n+"; }");var a=r.getColor(e.editorRangeHighlightBorder);a&&o.addRule(".monaco-editor .rangeHighlight { border: 1px "+("hc"===r.type?"dotted":"solid")+" "+a+"; }");var c=r.getColor(e.editorWhitespaces);c&&o.addRule(".vs-whitespace { color: "+c+" !important; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),o=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),i=e("node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),u=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),d=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),l=function(e){function n(n){var t=e.call(this)||this;return t._context=n,t._readConfig(),t._lastCursorModelPosition=new s.Position(1,1),t._renderResult=null,t._context.addEventHandler(t),t}return r(n,e),n.prototype._readConfig=function(){var e=this._context.configuration.editor;this._lineHeight=e.lineHeight,this._renderLineNumbers=e.viewInfo.renderLineNumbers,this._renderCustomLineNumbers=e.viewInfo.renderCustomLineNumbers,this._renderFinalNewline=e.viewInfo.renderFinalNewline,this._lineNumbersLeft=e.layoutInfo.lineNumbersLeft,this._lineNumbersWidth=e.layoutInfo.lineNumbersWidth},n.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},n.prototype.onConfigurationChanged=function(){return this._readConfig(),!0},n.prototype.onCursorStateChanged=function(e){var n=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(n),2===this._renderLineNumbers||3===this._renderLineNumbers?!0:!1},n.prototype.onFlushed=function(){return!0},n.prototype.onLinesChanged=function(){return!0},n.prototype.onLinesDeleted=function(){return!0},n.prototype.onLinesInserted=function(){return!0},n.prototype.onScrollChanged=function(e){return e.scrollTopChanged},n.prototype.onZonesChanged=function(){return!0},n.prototype._getLineRenderLineNumber=function(e){var n=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(e,1));if(1!==n.column)return"";var t=n.lineNumber;if(!this._renderFinalNewline){var r=this._context.model.getLineCount(),o=this._context.model.getLineContent(t);if(t===r&&""===o)return""}if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(t);if(2===this._renderLineNumbers){var i=Math.abs(this._lastCursorModelPosition.lineNumber-t);return 0===i?'<span class="relative-current-line-number">'+t+"</span>":String(i)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===t?String(t):t%10===0?String(t):"":String(t)},n.prototype.prepareRender=function(e){if(0===this._renderLineNumbers)return void(this._renderResult=null);for(var t=o.isLinux?this._lineHeight%2===0?" lh-even":" lh-odd":"",r=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,s='<div class="'+n.CLASS_NAME+t+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',u=[],d=r;i>=d;d++){var l=d-r,a=this._getLineRenderLineNumber(d);u[l]=a?s+a+"</div>":""}this._renderResult=u},n.prototype.render=function(e,n){if(!this._renderResult)return"";var t=n-e;return 0>t||t>=this._renderResult.length?"":this._renderResult[t]},n.CLASS_NAME="line-numbers",n}(i.DynamicViewOverlay);n.LineNumbersOverlay=l,d.registerThemingParticipant(function(e,n){var t=e.getColor(u.editorLineNumbers);t&&n.addRule(".monaco-editor .line-numbers { color: "+t+"; }");var r=e.getColor(u.editorActiveLineNumber);r&&n.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+r+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/margin/margin.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/margin/margin",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=this&&this.__extends||function(){var t=function(o,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(o,e)};return function(o,e){function n(){this.constructor=o}t(o,e),o.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),n=t("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),i=t("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),r=function(t){function o(o){var e=t.call(this,o)||this;return e._canUseLayerHinting=e._context.configuration.editor.canUseLayerHinting,e._contentLeft=e._context.configuration.editor.layoutInfo.contentLeft,e._glyphMarginLeft=e._context.configuration.editor.layoutInfo.glyphMarginLeft,e._glyphMarginWidth=e._context.configuration.editor.layoutInfo.glyphMarginWidth,e._domNode=e._createDomNode(),e}return e(o,t),o.prototype.dispose=function(){t.prototype.dispose.call(this)},o.prototype.getDomNode=function(){return this._domNode},o.prototype._createDomNode=function(){var t=n.createFastDomNode(document.createElement("div"));return t.setClassName(o.OUTER_CLASS_NAME),t.setPosition("absolute"),t.setAttribute("role","presentation"),t.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=n.createFastDomNode(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(o.CLASS_NAME),t.appendChild(this._glyphMarginBackgroundDomNode),t},o.prototype.onConfigurationChanged=function(t){return t.canUseLayerHinting&&(this._canUseLayerHinting=this._context.configuration.editor.canUseLayerHinting),t.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,this._glyphMarginLeft=this._context.configuration.editor.layoutInfo.glyphMarginLeft,this._glyphMarginWidth=this._context.configuration.editor.layoutInfo.glyphMarginWidth),!0},o.prototype.onScrollChanged=function(o){return t.prototype.onScrollChanged.call(this,o)||o.scrollTopChanged},o.prototype.prepareRender=function(){},o.prototype.render=function(t){this._domNode.setLayerHinting(this._canUseLayerHinting);var o=t.scrollTop-t.bigNumbersDelta;this._domNode.setTop(-o);var e=Math.min(t.scrollHeight,1e6);this._domNode.setHeight(e),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(e)},o.CLASS_NAME="glyph-margin",o.OUTER_CLASS_NAME="margin",o}(i.ViewPart);o.Margin=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/wordCharacterClassifier.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/wordCharacterClassifier",function(r,t){"use strict";function e(r){var t={};return function(e){return t.hasOwnProperty(e)||(t[e]=r(e)),t[e]}}Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var e in t)t.hasOwnProperty(e)&&(r[e]=t[e])})(t,e)};return function(t,e){function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),n=r("node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier"),i=function(r){function t(t){for(var e=r.call(this,0)||this,o=0,n=t.length;n>o;o++)e.set(t.charCodeAt(o),2);return e.set(32,1),e.set(9,1),e}return o(t,r),t}(n.CharacterClassifier);t.WordCharacterClassifier=i,t.getMapForWordSeparators=e(function(r){return new i(r)})});
;/*!node_modules/monaco-editor/esm/vs/editor/common/view/viewEvents.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/view/viewEvents",function(t,e){"use strict";function n(t,e){try{t(e)}catch(n){r.onUnexpectedError(n)}}Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),r=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/errors")),s=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),c=function(){function t(t){this.type=1,this.canUseLayerHinting=t.canUseLayerHinting,this.pixelRatio=t.pixelRatio,this.editorClassName=t.editorClassName,this.lineHeight=t.lineHeight,this.readOnly=t.readOnly,this.accessibilitySupport=t.accessibilitySupport,this.emptySelectionClipboard=t.emptySelectionClipboard,this.copyWithSyntaxHighlighting=t.copyWithSyntaxHighlighting,this.layoutInfo=t.layoutInfo,this.fontInfo=t.fontInfo,this.viewInfo=t.viewInfo,this.wrappingInfo=t.wrappingInfo}return t}();e.ViewConfigurationChangedEvent=c;var h=function(){function t(t){this.type=2,this.selections=t}return t}();e.ViewCursorStateChangedEvent=h;var l=function(){function t(){this.type=3}return t}();e.ViewDecorationsChangedEvent=l;var u=function(){function t(){this.type=4}return t}();e.ViewFlushedEvent=u;var a=function(){function t(t){this.type=5,this.isFocused=t}return t}();e.ViewFocusChangedEvent=a;var f=function(){function t(){this.type=6}return t}();e.ViewLineMappingChangedEvent=f;var p=function(){function t(t,e){this.type=7,this.fromLineNumber=t,this.toLineNumber=e}return t}();e.ViewLinesChangedEvent=p;var v=function(){function t(t,e){this.type=8,this.fromLineNumber=t,this.toLineNumber=e}return t}();e.ViewLinesDeletedEvent=v;var d=function(){function t(t,e){this.type=9,this.fromLineNumber=t,this.toLineNumber=e}return t}();e.ViewLinesInsertedEvent=d;var y=function(){function t(t,e,n,i){this.type=10,this.range=t,this.verticalType=e,this.revealHorizontal=n,this.scrollType=i}return t}();e.ViewRevealRangeRequestEvent=y;var g=function(){function t(t){this.type=11,this.scrollWidth=t.scrollWidth,this.scrollLeft=t.scrollLeft,this.scrollHeight=t.scrollHeight,this.scrollTop=t.scrollTop,this.scrollWidthChanged=t.scrollWidthChanged,this.scrollLeftChanged=t.scrollLeftChanged,this.scrollHeightChanged=t.scrollHeightChanged,this.scrollTopChanged=t.scrollTopChanged}return t}();e.ViewScrollChangedEvent=g;var _=function(){function t(t){this.type=12,this.ranges=t}return t}();e.ViewTokensChangedEvent=_;var m=function(){function t(){this.type=15}return t}();e.ViewThemeChangedEvent=m;var C=function(){function t(){this.type=13}return t}();e.ViewTokensColorsChangedEvent=C;var w=function(){function t(){this.type=14}return t}();e.ViewZonesChangedEvent=w;var E=function(){function t(){this.type=16}return t}();e.ViewLanguageConfigurationEvent=E;var b=function(t){function e(){var e=t.call(this)||this;return e._listeners=[],e._collector=null,e._collectorCnt=0,e}return o(e,t),e.prototype.dispose=function(){this._listeners=[],t.prototype.dispose.call(this)},e.prototype._beginEmit=function(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new L),this._collector},e.prototype._endEmit=function(){if(this._collectorCnt--,0===this._collectorCnt){var t=this._collector.finalize();this._collector=null,t.length>0&&this._emit(t)}},e.prototype._emit=function(t){for(var e=this._listeners.slice(0),i=0,o=e.length;o>i;i++)n(e[i],t)},e.prototype.addEventListener=function(t){var e=this;return this._listeners.push(t),s.toDisposable(function(){for(var n=e._listeners,i=0,o=n.length;o>i;i++)if(n[i]===t){n.splice(i,1);break}})},e}(s.Disposable);e.ViewEventEmitter=b;var L=function(){function t(){this._eventsLen=0,this._events=[],this._eventsLen=0}return t.prototype.emit=function(t){this._events[this._eventsLen++]=t},t.prototype.finalize=function(){var t=this._events;return this._events=[],t},t}();e.ViewEventsCollector=L});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaHandler.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaHandler",function(t,e){"use strict";function o(t,e){var o=document.createElement("canvas"),i=o.getContext("2d");i.font=n(e);var r=i.measureText(t);return a.isFirefox?r.width+2:r.width}function n(t){return i("normal",t.fontWeight,t.fontSize,t.lineHeight,t.fontFamily)}function i(t,e,o,n,i){return t+" normal "+e+" "+o+"px / "+n+"px "+i}Object.defineProperty(e,"__esModule",{value:!0});var r=t("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),a=r.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/browser")),l=t("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),c=r.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/platform")),u=r.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/strings")),p=t("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration"),d=t("node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaInput"),_=t("node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaState"),f=t("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),h=t("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers"),m=t("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/margin/margin"),g=t("node_modules/monaco-editor/esm/vs/editor/common/controller/wordCharacterClassifier"),y=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),x=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),v=t("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),b=r.__importStar(t("node_modules/monaco-editor/esm/vs/editor/common/view/viewEvents")),A=function(){function t(t,e,o){this.top=t,this.left=e,this.width=o}return t.prototype.setWidth=function(e){return new t(this.top,this.left,e)},t}(),C=a.isEdgeOrIE||a.isFirefox,w=function(){function t(){this._lastState=null}return t.prototype.set=function(t){this._lastState=t},t.prototype.get=function(t){return this._lastState&&this._lastState.lastCopiedValue===t?this._lastState:(this._lastState=null,null)},t.INSTANCE=new t,t}(),S=function(t){function e(e,n,i){var r=t.call(this,e)||this;r._primaryCursorVisibleRange=null,r._viewController=n,r._viewHelper=i;var s=r._context.configuration.editor;r._accessibilitySupport=s.accessibilitySupport,r._contentLeft=s.layoutInfo.contentLeft,r._contentWidth=s.layoutInfo.contentWidth,r._contentHeight=s.layoutInfo.contentHeight,r._scrollLeft=0,r._scrollTop=0,r._fontInfo=s.fontInfo,r._lineHeight=s.lineHeight,r._emptySelectionClipboard=s.emptySelectionClipboard,r._copyWithSyntaxHighlighting=s.copyWithSyntaxHighlighting,r._visibleTextArea=null,r._selections=[new v.Selection(1,1,1,1)],r.textArea=l.createFastDomNode(document.createElement("textarea")),f.PartFingerprints.write(r.textArea,6),r.textArea.setClassName("inputarea"),r.textArea.setAttribute("wrap","off"),r.textArea.setAttribute("autocorrect","off"),r.textArea.setAttribute("autocapitalize","off"),r.textArea.setAttribute("autocomplete","off"),r.textArea.setAttribute("spellcheck","false"),r.textArea.setAttribute("aria-label",s.viewInfo.ariaLabel),r.textArea.setAttribute("role","textbox"),r.textArea.setAttribute("aria-multiline","true"),r.textArea.setAttribute("aria-haspopup","false"),r.textArea.setAttribute("aria-autocomplete","both"),r.textAreaCover=l.createFastDomNode(document.createElement("div")),r.textAreaCover.setPosition("absolute");var u={getLineCount:function(){return r._context.model.getLineCount()},getLineMaxColumn:function(t){return r._context.model.getLineMaxColumn(t)},getValueInRange:function(t,e){return r._context.model.getValueInRange(t,e)}},p={getPlainTextToCopy:function(){var t=r._context.model.getPlainTextToCopy(r._selections,r._emptySelectionClipboard,c.isWindows),e=r._context.model.getEOL(),o=r._emptySelectionClipboard&&1===r._selections.length&&r._selections[0].isEmpty(),n=Array.isArray(t)?t:null,i=Array.isArray(t)?t.join(e):t,s=null;if(o||n){var l=a.isFirefox?i.replace(/\r\n/g,"\n"):i;s={lastCopiedValue:l,isFromEmptySelection:r._emptySelectionClipboard&&1===r._selections.length&&r._selections[0].isEmpty(),multicursorText:n}}return w.INSTANCE.set(s),i},getHTMLToCopy:function(){return r._copyWithSyntaxHighlighting||d.CopyOptions.forceCopyWithSyntaxHighlighting?r._context.model.getHTMLToCopy(r._selections,r._emptySelectionClipboard):null},getScreenReaderContent:function(t){if(a.isIPad)return _.TextAreaState.EMPTY;if(1===r._accessibilitySupport){if(c.isMacintosh){var e=r._selections[0];if(e.isEmpty()){var o=e.getStartPosition(),n=r._getWordBeforePosition(o);if(0===n.length&&(n=r._getCharacterBeforePosition(o)),n.length>0)return new _.TextAreaState(n,n.length,n.length,o,o)}}return _.TextAreaState.EMPTY}return _.PagedScreenReaderStrategy.fromEditorSelection(t,u,r._selections[0],0===r._accessibilitySupport)},deduceModelPosition:function(t,e,o){return r._context.model.deduceModelPositionRelativeToViewPosition(t,e,o)}};return r._textAreaInput=r._register(new d.TextAreaInput(p,r.textArea)),r._register(r._textAreaInput.onKeyDown(function(t){r._viewController.emitKeyDown(t)})),r._register(r._textAreaInput.onKeyUp(function(t){r._viewController.emitKeyUp(t)})),r._register(r._textAreaInput.onPaste(function(t){var e=w.INSTANCE.get(t.text),o=!1,n=null;e&&(o=r._emptySelectionClipboard&&e.isFromEmptySelection,n=e.multicursorText),r._viewController.paste("keyboard",t.text,o,n)})),r._register(r._textAreaInput.onCut(function(){r._viewController.cut("keyboard")})),r._register(r._textAreaInput.onType(function(t){t.replaceCharCnt?r._viewController.replacePreviousChar("keyboard",t.text,t.replaceCharCnt):r._viewController.type("keyboard",t.text)})),r._register(r._textAreaInput.onSelectionChangeRequest(function(t){r._viewController.setSelection("keyboard",t)})),r._register(r._textAreaInput.onCompositionStart(function(){var t=r._selections[0].startLineNumber,e=r._selections[0].startColumn;r._context.privateViewEventBus.emit(new b.ViewRevealRangeRequestEvent(new x.Range(t,e,t,e),0,!0,1));var o=r._viewHelper.visibleRangeForPositionRelativeToEditor(t,e);o&&(r._visibleTextArea=new A(r._context.viewLayout.getVerticalOffsetForLineNumber(t),o.left,C?0:1),r._render()),r.textArea.setClassName("inputarea ime-input"),r._viewController.compositionStart("keyboard")})),r._register(r._textAreaInput.onCompositionUpdate(function(t){r._visibleTextArea=r._visibleTextArea.setWidth(a.isEdgeOrIE?0:o(t.data,r._fontInfo)),r._render()})),r._register(r._textAreaInput.onCompositionEnd(function(){r._visibleTextArea=null,r._render(),r.textArea.setClassName("inputarea"),r._viewController.compositionEnd("keyboard")})),r._register(r._textAreaInput.onFocus(function(){r._context.privateViewEventBus.emit(new b.ViewFocusChangedEvent(!0))})),r._register(r._textAreaInput.onBlur(function(){r._context.privateViewEventBus.emit(new b.ViewFocusChangedEvent(!1))})),r}return s(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this)},e.prototype._getWordBeforePosition=function(t){for(var e=this._context.model.getLineContent(t.lineNumber),o=g.getMapForWordSeparators(this._context.configuration.editor.wordSeparators),n=t.column,i=0;n>1;){var r=e.charCodeAt(n-2),s=o.get(r);if(0!==s||i>50)return e.substring(n-1,t.column-1);i++,n--}return e.substring(0,t.column-1)},e.prototype._getCharacterBeforePosition=function(t){if(t.column>1){var e=this._context.model.getLineContent(t.lineNumber),o=e.charAt(t.column-2);if(!u.isHighSurrogate(o.charCodeAt(0)))return o}return""},e.prototype.onConfigurationChanged=function(t){var e=this._context.configuration.editor;return t.fontInfo&&(this._fontInfo=e.fontInfo),t.viewInfo&&this.textArea.setAttribute("aria-label",e.viewInfo.ariaLabel),t.layoutInfo&&(this._contentLeft=e.layoutInfo.contentLeft,this._contentWidth=e.layoutInfo.contentWidth,this._contentHeight=e.layoutInfo.contentHeight),t.lineHeight&&(this._lineHeight=e.lineHeight),t.accessibilitySupport&&(this._accessibilitySupport=e.accessibilitySupport,this._textAreaInput.writeScreenReaderContent("strategy changed")),t.emptySelectionClipboard&&(this._emptySelectionClipboard=e.emptySelectionClipboard),t.copyWithSyntaxHighlighting&&(this._copyWithSyntaxHighlighting=e.copyWithSyntaxHighlighting),!0},e.prototype.onCursorStateChanged=function(t){return this._selections=t.selections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},e.prototype.onDecorationsChanged=function(){return!0},e.prototype.onFlushed=function(){return!0},e.prototype.onLinesChanged=function(){return!0},e.prototype.onLinesDeleted=function(){return!0},e.prototype.onLinesInserted=function(){return!0},e.prototype.onScrollChanged=function(t){return this._scrollLeft=t.scrollLeft,this._scrollTop=t.scrollTop,!0},e.prototype.onZonesChanged=function(){return!0},e.prototype.isFocused=function(){return this._textAreaInput.isFocused()},e.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},e.prototype.prepareRender=function(t){if(2===this._accessibilitySupport)this._primaryCursorVisibleRange=null;else{var e=new y.Position(this._selections[0].positionLineNumber,this._selections[0].positionColumn);this._primaryCursorVisibleRange=t.visibleRangeForPosition(e)}},e.prototype.render=function(){this._textAreaInput.writeScreenReaderContent("render"),this._render()},e.prototype._render=function(){if(this._visibleTextArea)return void this._renderInsideEditor(this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight,!0);if(!this._primaryCursorVisibleRange)return void this._renderAtTopLeft();var t=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(t<this._contentLeft||t>this._contentLeft+this._contentWidth)return void this._renderAtTopLeft();var e=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;return 0>e||e>this._contentHeight?void this._renderAtTopLeft():void this._renderInsideEditor(e,t,C?0:1,C?0:1,!1)},e.prototype._renderInsideEditor=function(t,e,o,n,i){var r=this.textArea,s=this.textAreaCover;i?p.Configuration.applyFontInfo(r,this._fontInfo):(r.setFontSize(1),r.setLineHeight(this._fontInfo.lineHeight)),r.setTop(t),r.setLeft(e),r.setWidth(o),r.setHeight(n),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)},e.prototype._renderAtTopLeft=function(){var t=this.textArea,e=this.textAreaCover;return p.Configuration.applyFontInfo(t,this._fontInfo),t.setTop(0),t.setLeft(0),e.setTop(0),e.setLeft(0),C?(t.setWidth(0),t.setHeight(0),e.setWidth(0),void e.setHeight(0)):(t.setWidth(1),t.setHeight(1),e.setWidth(1),e.setHeight(1),void e.setClassName(this._context.configuration.editor.viewInfo.glyphMargin?"monaco-editor-background textAreaCover "+m.Margin.OUTER_CLASS_NAME:0!==this._context.configuration.editor.viewInfo.renderLineNumbers?"monaco-editor-background textAreaCover "+h.LineNumbersOverlay.CLASS_NAME:"monaco-editor-background textAreaCover"))},e}(f.ViewPart);e.TextAreaHandler=S});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/editStack.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/editStack",function(t,e){"use strict";function r(t){var e=t.getEOL();return"\n"===e?0:1}Object.defineProperty(e,"__esModule",{value:!0});var n=t("node_modules/monaco-editor/esm/vs/base/common/errors"),o=function(){function t(t,e){this.beforeVersionId=t,this.beforeCursorState=e,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return t.prototype.undo=function(t){for(var e=this.editOperations.length-1;e>=0;e--)this.editOperations[e]={operations:t.applyEdits(this.editOperations[e].operations)}},t.prototype.redo=function(t){for(var e=0;e<this.editOperations.length;e++)this.editOperations[e]={operations:t.applyEdits(this.editOperations[e].operations)}},t}(),s=function(){function t(t,e){this.beforeVersionId=t,this.beforeCursorState=null,this.afterCursorState=null,this.afterVersionId=-1,this.eol=e}return t.prototype.undo=function(t){var e=r(t);t.setEOL(this.eol),this.eol=e},t.prototype.redo=function(t){var e=r(t);t.setEOL(this.eol),this.eol=e},t}(),i=function(){function t(t){this.model=t,this.currentOpenStackElement=null,this.past=[],this.future=[]}return t.prototype.pushStackElement=function(){null!==this.currentOpenStackElement&&(this.past.push(this.currentOpenStackElement),this.currentOpenStackElement=null)},t.prototype.clear=function(){this.currentOpenStackElement=null,this.past=[],this.future=[]},t.prototype.pushEOL=function(t){this.future=[],this.currentOpenStackElement&&this.pushStackElement();var e=r(this.model),n=new s(this.model.getAlternativeVersionId(),e);this.model.setEOL(t),n.afterVersionId=this.model.getVersionId(),this.currentOpenStackElement=n,this.pushStackElement()},t.prototype.pushEditOperation=function(e,r,n){this.future=[];var s=null;this.currentOpenStackElement&&(this.currentOpenStackElement instanceof o?s=this.currentOpenStackElement:this.pushStackElement()),this.currentOpenStackElement||(s=new o(this.model.getAlternativeVersionId(),e),this.currentOpenStackElement=s);var i={operations:this.model.applyEdits(r)};return s.editOperations.push(i),s.afterCursorState=t._computeCursorState(n,i.operations),s.afterVersionId=this.model.getVersionId(),s.afterCursorState},t._computeCursorState=function(t,e){try{return t?t(e):null}catch(r){return n.onUnexpectedError(r),null}},t.prototype.undo=function(){if(this.pushStackElement(),this.past.length>0){var t=this.past.pop();try{t.undo(this.model)}catch(e){return n.onUnexpectedError(e),this.clear(),null}return this.future.push(t),{selections:t.beforeCursorState,recordedVersionId:t.beforeVersionId}}return null},t.prototype.canUndo=function(){return this.past.length>0||null!==this.currentOpenStackElement},t.prototype.redo=function(){if(this.future.length>0){var t=this.future.pop();try{t.redo(this.model)}catch(e){return n.onUnexpectedError(e),this.clear(),null}return this.past.push(t),{selections:t.afterCursorState,recordedVersionId:t.afterVersionId}}return null},t.prototype.canRedo=function(){return this.future.length>0},t}();e.EditStack=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/indentationGuesser.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/indentationGuesser",function(e,n){"use strict";function o(e,n,o,r,t){t.spacesDiff=0,t.looksLikeAlignment=!1;var a;for(a=0;n>a&&r>a;a++){var i=e.charCodeAt(a),f=o.charCodeAt(a);if(i!==f)break}for(var s=0,c=0,d=a;n>d;d++){var i=e.charCodeAt(d);32===i?s++:c++}for(var v=0,u=0,d=a;r>d;d++){var f=o.charCodeAt(d);32===f?v++:u++}if(!(s>0&&c>0||v>0&&u>0)){var h=Math.abs(c-u),l=Math.abs(s-v);return 0===h?(t.spacesDiff=l,void(l>0&&v-1>=0&&v-1<e.length&&v<o.length&&32!==o.charCodeAt(v)&&32===e.charCodeAt(v-1)&&(t.looksLikeAlignment=!0))):l%h===0?void(t.spacesDiff=l/h):void 0}}function r(e,n,r){for(var a=Math.min(e.getLineCount(),1e4),i=0,f=0,s="",c=0,d=[2,4,6,8,3,5,7],v=8,u=[0,0,0,0,0,0,0,0,0],h=new t,l=1;a>=l;l++){for(var g=e.getLineLength(l),C=e.getLineContent(l),m=65536>=g,A=!1,k=0,L=0,b=0,p=0,D=g;D>p;p++){var M=m?C.charCodeAt(p):e.getLineCharCode(l,p);if(9===M)b++;else{if(32!==M){A=!0,k=p;break}L++}}if(A&&(b>0?i++:L>1&&f++,o(s,c,C,k,h),!h.looksLikeAlignment)){var _=h.spacesDiff;v>=_&&u[_]++,s=C,c=k}}var S=r;i!==f&&(S=f>i);var j=n,w=S?0:.1*a;return d.forEach(function(e){var n=u[e];n>w&&(w=n,j=e)}),4===j&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(j=2),{insertSpaces:S,tabSize:j}}Object.defineProperty(n,"__esModule",{value:!0});var t=function(){function e(){}return e}();n.guessIndentation=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/intervalTree.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/intervalTree",function(t,e){"use strict";function r(t){return(1&t.metadata)>>>0}function a(t,e){t.metadata=254&t.metadata|e<<0}function n(t){return(2&t.metadata)>>>1===1}function i(t,e){t.metadata=253&t.metadata|(e?1:0)<<1}function o(t){return(4&t.metadata)>>>2===1}function l(t,e){t.metadata=251&t.metadata|(e?1:0)<<2}function s(t){return(8&t.metadata)>>>3===1}function f(t,e){t.metadata=247&t.metadata|(e?1:0)<<3}function h(t){return(48&t.metadata)>>>4}function d(t,e){t.metadata=207&t.metadata|e<<4}function p(t){return(64&t.metadata)>>>6===1}function N(t,e){t.metadata=191&t.metadata|(e?1:0)<<6}function E(t){for(var r=t.root,a=0;r!==e.SENTINEL;)r.left===e.SENTINEL||n(r.left)?r.right===e.SENTINEL||n(r.right)?(r.start=a+r.start,r.end=a+r.end,r.delta=0,O(r),i(r,!0),i(r.left,!1),i(r.right,!1),r===r.parent.right&&(a-=r.parent.delta),r=r.parent):(a+=r.delta,r=r.right):r=r.left;i(t.root,!1)}function u(t,e,r,a){return r>t?!0:t>r?!1:1===a?!1:2===a?!0:e}function c(t,e,r,a,n){var i=h(t),o=0===i||2===i,l=1===i||2===i,s=r-e,f=a,d=Math.min(s,f),N=t.start,E=!1,c=t.end,g=!1;N>=e&&r>=c&&p(t)&&(t.start=e,E=!0,t.end=e,g=!0);var I=n?1:s>0?2:0;if(!E&&u(N,o,e,I)&&(E=!0),!g&&u(c,l,e,I)&&(g=!0),d>0&&!n){var I=s>f?2:0;!E&&u(N,o,e+d,I)&&(E=!0),!g&&u(c,l,e+d,I)&&(g=!0)}var I=n?1:0;!E&&u(N,o,r,I)&&(t.start=e+f,E=!0),!g&&u(c,l,r,I)&&(t.end=e+f,g=!0);var S=f-s;E||(t.start=Math.max(0,N+S)),g||(t.end=Math.max(0,c+S)),t.start>t.end&&(t.end=t.start)}function g(t,r,a){for(var o=t.root,l=0,s=0,f=0,h=0,d=[],p=0;o!==e.SENTINEL;)if(n(o))i(o.left,!1),i(o.right,!1),o===o.parent.right&&(l-=o.parent.delta),o=o.parent;else{if(!n(o.left)){if(s=l+o.maxEnd,r>s){i(o,!0);continue}if(o.left!==e.SENTINEL){o=o.left;continue}}f=l+o.start,f>a?i(o,!0):(h=l+o.end,h>=r&&(o.setCachedOffsets(f,h,0),d[p++]=o),i(o,!0),o.right===e.SENTINEL||n(o.right)||(l+=o.delta,o=o.right))}return i(t.root,!1),d}function I(t,r,a,o){for(var l=t.root,s=0,f=0,h=0,d=o-(a-r);l!==e.SENTINEL;)if(n(l))i(l.left,!1),i(l.right,!1),l===l.parent.right&&(s-=l.parent.delta),O(l),l=l.parent;else{if(!n(l.left)){if(f=s+l.maxEnd,r>f){i(l,!0);continue}if(l.left!==e.SENTINEL){l=l.left;continue}}h=s+l.start,h>a?(l.start+=d,l.end+=d,l.delta+=d,(l.delta<-1073741824||l.delta>1073741824)&&(t.requestNormalizeDelta=!0),i(l,!0)):(i(l,!0),l.right===e.SENTINEL||n(l.right)||(s+=l.delta,l=l.right))}i(t.root,!1)}function S(t,r){for(var a=t.root,o=[],l=0;a!==e.SENTINEL;)n(a)?(i(a.left,!1),i(a.right,!1),a=a.parent):a.left===e.SENTINEL||n(a.left)?(a.ownerId===r&&(o[l++]=a),i(a,!0),a.right===e.SENTINEL||n(a.right)||(a=a.right)):a=a.left;return i(t.root,!1),o}function m(t){for(var r=t.root,a=[],o=0;r!==e.SENTINEL;)n(r)?(i(r.left,!1),i(r.right,!1),r=r.parent):r.left===e.SENTINEL||n(r.left)?r.right===e.SENTINEL||n(r.right)?(a[o++]=r,i(r,!0)):r=r.right:r=r.left;return i(t.root,!1),a}function T(t,r,a,l){for(var s=t.root,f=0,h=0,d=0,p=[],N=0;s!==e.SENTINEL;)if(n(s))i(s.left,!1),i(s.right,!1),s===s.parent.right&&(f-=s.parent.delta),s=s.parent;else if(s.left===e.SENTINEL||n(s.left)){h=f+s.start,d=f+s.end,s.setCachedOffsets(h,d,l);var E=!0;r&&s.ownerId&&s.ownerId!==r&&(E=!1),a&&o(s)&&(E=!1),E&&(p[N++]=s),i(s,!0),s.right===e.SENTINEL||n(s.right)||(f+=s.delta,s=s.right)}else s=s.left;return i(t.root,!1),p}function L(t,r,a,l,s,f){for(var h=t.root,d=0,p=0,N=0,E=0,u=[],c=0;h!==e.SENTINEL;)if(n(h))i(h.left,!1),i(h.right,!1),h===h.parent.right&&(d-=h.parent.delta),h=h.parent;else{if(!n(h.left)){if(p=d+h.maxEnd,r>p){i(h,!0);continue}if(h.left!==e.SENTINEL){h=h.left;continue}}if(N=d+h.start,N>a)i(h,!0);else{if(E=d+h.end,E>=r){h.setCachedOffsets(N,E,f);var g=!0;l&&h.ownerId&&h.ownerId!==l&&(g=!1),s&&o(h)&&(g=!1),g&&(u[c++]=h)}i(h,!0),h.right===e.SENTINEL||n(h.right)||(d+=h.delta,h=h.right)}}return i(t.root,!1),u}function v(t,n){if(t.root===e.SENTINEL)return n.parent=e.SENTINEL,n.left=e.SENTINEL,n.right=e.SENTINEL,a(n,0),t.root=n,t.root;y(t,n),A(n.parent);for(var i=n;i!==t.root&&1===r(i.parent);)if(i.parent===i.parent.parent.left){var o=i.parent.parent.right;1===r(o)?(a(i.parent,0),a(o,0),a(i.parent.parent,1),i=i.parent.parent):(i===i.parent.right&&(i=i.parent,q(t,i)),a(i.parent,0),a(i.parent.parent,1),w(t,i.parent.parent))}else{var o=i.parent.parent.left;1===r(o)?(a(i.parent,0),a(o,0),a(i.parent.parent,1),i=i.parent.parent):(i===i.parent.left&&(i=i.parent,w(t,i)),a(i.parent,0),a(i.parent.parent,1),q(t,i.parent.parent))}return a(t.root,0),n}function y(t,r){for(var n=0,i=t.root,o=r.start,l=r.end;;){var s=_(o,l,i.start+n,i.end+n);if(0>s){if(i.left===e.SENTINEL){r.start-=n,r.end-=n,r.maxEnd-=n,i.left=r;break}i=i.left}else{if(i.right===e.SENTINEL){r.start-=n+i.delta,r.end-=n+i.delta,r.maxEnd-=n+i.delta,i.right=r;break}n+=i.delta,i=i.right}}r.parent=i,r.left=e.SENTINEL,r.right=e.SENTINEL,a(r,1)}function x(t,n){var i,o;if(n.left===e.SENTINEL?(i=n.right,o=n,i.delta+=n.delta,(i.delta<-1073741824||i.delta>1073741824)&&(t.requestNormalizeDelta=!0),i.start+=n.delta,i.end+=n.delta):n.right===e.SENTINEL?(i=n.left,o=n):(o=z(n.right),i=o.right,i.start+=o.delta,i.end+=o.delta,i.delta+=o.delta,(i.delta<-1073741824||i.delta>1073741824)&&(t.requestNormalizeDelta=!0),o.start+=n.delta,o.end+=n.delta,o.delta=n.delta,(o.delta<-1073741824||o.delta>1073741824)&&(t.requestNormalizeDelta=!0)),o===t.root)return t.root=i,a(i,0),n.detach(),D(),O(i),void(t.root.parent=e.SENTINEL);var l=1===r(o);if(o===o.parent.left?o.parent.left=i:o.parent.right=i,o===n?i.parent=o.parent:(i.parent=o.parent===n?o:o.parent,o.left=n.left,o.right=n.right,o.parent=n.parent,a(o,r(n)),n===t.root?t.root=o:n===n.parent.left?n.parent.left=o:n.parent.right=o,o.left!==e.SENTINEL&&(o.left.parent=o),o.right!==e.SENTINEL&&(o.right.parent=o)),n.detach(),l)return A(i.parent),o!==n&&(A(o),A(o.parent)),void D();A(i),A(i.parent),o!==n&&(A(o),A(o.parent));for(var s;i!==t.root&&0===r(i);)i===i.parent.left?(s=i.parent.right,1===r(s)&&(a(s,0),a(i.parent,1),q(t,i.parent),s=i.parent.right),0===r(s.left)&&0===r(s.right)?(a(s,1),i=i.parent):(0===r(s.right)&&(a(s.left,0),a(s,1),w(t,s),s=i.parent.right),a(s,r(i.parent)),a(i.parent,0),a(s.right,0),q(t,i.parent),i=t.root)):(s=i.parent.left,1===r(s)&&(a(s,0),a(i.parent,1),w(t,i.parent),s=i.parent.left),0===r(s.left)&&0===r(s.right)?(a(s,1),i=i.parent):(0===r(s.left)&&(a(s.right,0),a(s,1),q(t,s),s=i.parent.left),a(s,r(i.parent)),a(i.parent,0),a(s.left,0),w(t,i.parent),i=t.root));a(i,0),D()}function z(t){for(;t.left!==e.SENTINEL;)t=t.left;return t}function D(){e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.delta=0,e.SENTINEL.start=0,e.SENTINEL.end=0}function q(t,r){var a=r.right;a.delta+=r.delta,(a.delta<-1073741824||a.delta>1073741824)&&(t.requestNormalizeDelta=!0),a.start+=r.delta,a.end+=r.delta,r.right=a.left,a.left!==e.SENTINEL&&(a.left.parent=r),a.parent=r.parent,r.parent===e.SENTINEL?t.root=a:r===r.parent.left?r.parent.left=a:r.parent.right=a,a.left=r,r.parent=a,O(r),O(a)}function w(t,r){var a=r.left;r.delta-=a.delta,(r.delta<-1073741824||r.delta>1073741824)&&(t.requestNormalizeDelta=!0),r.start-=a.delta,r.end-=a.delta,r.left=a.right,a.right!==e.SENTINEL&&(a.right.parent=r),a.parent=r.parent,r.parent===e.SENTINEL?t.root=a:r===r.parent.right?r.parent.right=a:r.parent.left=a,a.right=r,r.parent=a,O(r),O(a)}function b(t){var r=t.end;if(t.left!==e.SENTINEL){var a=t.left.maxEnd;a>r&&(r=a)}if(t.right!==e.SENTINEL){var n=t.right.maxEnd+t.delta;n>r&&(r=n)}return r}function O(t){t.maxEnd=b(t)}function A(t){for(;t!==e.SENTINEL;){var r=b(t);if(t.maxEnd===r)return;t.maxEnd=r,t=t.parent}}function _(t,e,r,a){return t===r?e-a:t-r}Object.defineProperty(e,"__esModule",{value:!0}),e.getNodeColor=r,e.getNodeIsInOverviewRuler=s;var C=function(){function t(t,e,r){this.metadata=0,this.parent=this,this.left=this,this.right=this,a(this,1),this.start=e,this.end=r,this.delta=0,this.maxEnd=r,this.id=t,this.ownerId=0,this.options=null,l(this,!1),d(this,1),f(this,!1),N(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=r,this.range=null,i(this,!1)}return t.prototype.reset=function(t,e,r,a){this.start=e,this.end=r,this.maxEnd=r,this.cachedVersionId=t,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=r,this.range=a},t.prototype.setOptions=function(t){this.options=t;var e=this.options.className;l(this,"squiggly-error"===e||"squiggly-warning"===e||"squiggly-info"===e),d(this,this.options.stickiness),f(this,this.options.overviewRuler&&this.options.overviewRuler.color?!0:!1),N(this,this.options.collapseOnReplaceEdit)},t.prototype.setCachedOffsets=function(t,e,r){this.cachedVersionId!==r&&(this.range=null),this.cachedVersionId=r,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=e},t.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},t}();e.IntervalNode=C,e.SENTINEL=new C(null,0,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,a(e.SENTINEL,0);var M=function(){function t(){this.root=e.SENTINEL,this.requestNormalizeDelta=!1}return t.prototype.intervalSearch=function(t,r,a,n,i){return this.root===e.SENTINEL?[]:L(this,t,r,a,n,i)},t.prototype.search=function(t,r,a){return this.root===e.SENTINEL?[]:T(this,t,r,a)},t.prototype.collectNodesFromOwner=function(t){return S(this,t)},t.prototype.collectNodesPostOrder=function(){return m(this)},t.prototype.insert=function(t){v(this,t),this._normalizeDeltaIfNecessary()},t.prototype.delete=function(t){x(this,t),this._normalizeDeltaIfNecessary()},t.prototype.resolveNode=function(t,e){for(var r=t,a=0;t!==this.root;)t===t.parent.right&&(a+=t.parent.delta),t=t.parent;var n=r.start+a,i=r.end+a;r.setCachedOffsets(n,i,e)},t.prototype.acceptReplace=function(t,e,r,a){for(var n=g(this,t,t+e),i=0,o=n.length;o>i;i++){var l=n[i];x(this,l)}this._normalizeDeltaIfNecessary(),I(this,t,t+e,r),this._normalizeDeltaIfNecessary();for(var i=0,o=n.length;o>i;i++){var l=n[i];l.start=l.cachedAbsoluteStart,l.end=l.cachedAbsoluteEnd,c(l,t,t+e,r,a),l.maxEnd=l.end,v(this,l)}this._normalizeDeltaIfNecessary()},t.prototype._normalizeDeltaIfNecessary=function(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,E(this))},t}();e.IntervalTree=M,e.nodeAcceptEdit=c,e.recomputeMaxEnd=O,e.intervalCompare=_});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase",function(t,e){"use strict";function r(t){for(;t.left!==e.SENTINEL;)t=t.left;return t}function n(t){for(;t.right!==e.SENTINEL;)t=t.right;return t}function o(t){return t===e.SENTINEL?0:t.size_left+t.piece.length+o(t.right)}function l(t){return t===e.SENTINEL?0:t.lf_left+t.piece.lineFeedCnt+l(t.right)}function a(){e.SENTINEL.parent=e.SENTINEL}function p(t,r){var n=r.right;n.size_left+=r.size_left+(r.piece?r.piece.length:0),n.lf_left+=r.lf_left+(r.piece?r.piece.lineFeedCnt:0),r.right=n.left,n.left!==e.SENTINEL&&(n.left.parent=r),n.parent=r.parent,r.parent===e.SENTINEL?t.root=n:r.parent.left===r?r.parent.left=n:r.parent.right=n,n.left=r,r.parent=n}function f(t,r){var n=r.left;r.left=n.right,n.right!==e.SENTINEL&&(n.right.parent=r),n.parent=r.parent,r.size_left-=n.size_left+(n.piece?n.piece.length:0),r.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),r.parent===e.SENTINEL?t.root=n:r===r.parent.right?r.parent.right=n:r.parent.left=n,n.right=r,r.parent=n}function i(t,n){var i,c;if(n.left===e.SENTINEL?(c=n,i=c.right):n.right===e.SENTINEL?(c=n,i=c.left):(c=r(n.right),i=c.right),c===t.root)return t.root=i,i.color=0,n.detach(),a(),void(t.root.parent=e.SENTINEL);var E=1===c.color;if(c===c.parent.left?c.parent.left=i:c.parent.right=i,c===n?(i.parent=c.parent,N(t,i)):(i.parent=c.parent===n?c:c.parent,N(t,i),c.left=n.left,c.right=n.right,c.parent=n.parent,c.color=n.color,n===t.root?t.root=c:n===n.parent.left?n.parent.left=c:n.parent.right=c,c.left!==e.SENTINEL&&(c.left.parent=c),c.right!==e.SENTINEL&&(c.right.parent=c),c.size_left=n.size_left,c.lf_left=n.lf_left,N(t,c)),n.detach(),i.parent.left===i){var s=o(i),g=l(i);if(s!==i.parent.size_left||g!==i.parent.lf_left){var u=s-i.parent.size_left,T=g-i.parent.lf_left;i.parent.size_left=s,i.parent.lf_left=g,h(t,i.parent,u,T)}}if(N(t,i.parent),E)return void a();for(var S;i!==t.root&&0===i.color;)i===i.parent.left?(S=i.parent.right,1===S.color&&(S.color=0,i.parent.color=1,p(t,i.parent),S=i.parent.right),0===S.left.color&&0===S.right.color?(S.color=1,i=i.parent):(0===S.right.color&&(S.left.color=0,S.color=1,f(t,S),S=i.parent.right),S.color=i.parent.color,i.parent.color=0,S.right.color=0,p(t,i.parent),i=t.root)):(S=i.parent.left,1===S.color&&(S.color=0,i.parent.color=1,f(t,i.parent),S=i.parent.left),0===S.left.color&&0===S.right.color?(S.color=1,i=i.parent):(0===S.left.color&&(S.right.color=0,S.color=1,p(t,S),S=i.parent.left),S.color=i.parent.color,i.parent.color=0,S.left.color=0,f(t,i.parent),i=t.root));i.color=0,a()}function c(t,e){for(N(t,e);e!==t.root&&1===e.parent.color;)if(e.parent===e.parent.parent.left){var r=e.parent.parent.right;1===r.color?(e.parent.color=0,r.color=0,e.parent.parent.color=1,e=e.parent.parent):(e===e.parent.right&&(e=e.parent,p(t,e)),e.parent.color=0,e.parent.parent.color=1,f(t,e.parent.parent))}else{var r=e.parent.parent.left;1===r.color?(e.parent.color=0,r.color=0,e.parent.parent.color=1,e=e.parent.parent):(e===e.parent.left&&(e=e.parent,f(t,e)),e.parent.color=0,e.parent.parent.color=1,p(t,e.parent.parent))}t.root.color=0}function h(t,r,n,o){for(;r!==t.root&&r!==e.SENTINEL;)r.parent.left===r&&(r.parent.size_left+=n,r.parent.lf_left+=o),r=r.parent}function N(t,e){var r=0,n=0;if(e!==t.root){if(0===r){for(;e!==t.root&&e===e.parent.right;)e=e.parent;if(e===t.root)return;e=e.parent,r=o(e.left)-e.size_left,n=l(e.left)-e.lf_left,e.size_left+=r,e.lf_left+=n}for(;e!==t.root&&(0!==r||0!==n);)e.parent.left===e&&(e.parent.size_left+=r,e.parent.lf_left+=n),e=e.parent}}Object.defineProperty(e,"__esModule",{value:!0});var E=function(){function t(t,e){this.piece=t,this.color=e,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return t.prototype.next=function(){if(this.right!==e.SENTINEL)return r(this.right);for(var t=this;t.parent!==e.SENTINEL&&t.parent.left!==t;)t=t.parent;return t.parent===e.SENTINEL?e.SENTINEL:t.parent},t.prototype.prev=function(){if(this.left!==e.SENTINEL)return n(this.left);for(var t=this;t.parent!==e.SENTINEL&&t.parent.right!==t;)t=t.parent;return t.parent===e.SENTINEL?e.SENTINEL:t.parent},t.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},t}();e.TreeNode=E,e.SENTINEL=new E(null,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,e.SENTINEL.color=0,e.leftest=r,e.righttest=n,e.calculateSize=o,e.calculateLF=l,e.resetSentinel=a,e.leftRotate=p,e.rightRotate=f,e.rbDelete=i,e.fixInsert=c,e.updateTreeMetadata=h,e.recomputeTreeMetadata=N});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch",function(e,t){"use strict";function n(e){if(!e||0===e.length)return!1;for(var t=0,n=e.length;n>t;t++){var r=e.charCodeAt(t);if(92===r){if(t++,t>=n)break;var i=e.charCodeAt(t);if(110===i||114===i||87===i)return!0}}return!1}function r(e,t,n){if(!n)return new d.FindMatch(e,null);for(var r=[],i=0,a=t.length;a>i;i++)r[i]=t[i];return new d.FindMatch(e,r)}function i(e,t,n,r,i){if(0===r)return!0;var a=t.charCodeAt(r-1);if(0!==e.get(a))return!0;if(13===a||10===a)return!0;if(i>0){var o=t.charCodeAt(r);if(0!==e.get(o))return!0}return!1}function a(e,t,n,r,i){if(r+i===n)return!0;var a=t.charCodeAt(r+i);if(0!==e.get(a))return!0;if(13===a||10===a)return!0;if(i>0){var o=t.charCodeAt(r+i-1);if(0!==e.get(o))return!0}return!1}function o(e,t,n,r,o){return i(e,t,n,r,o)&&a(e,t,n,r,o)}Object.defineProperty(t,"__esModule",{value:!0});var s=e("node_modules/tslib/tslib"),u=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),h=e("node_modules/monaco-editor/esm/vs/editor/common/controller/wordCharacterClassifier"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),c=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d=e("node_modules/monaco-editor/esm/vs/editor/common/model"),f=999,g=function(){function e(e,t,n,r){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=r}return e.prototype.parseSearchRequest=function(){if(""===this.searchString)return null;var e;e=this.isRegex?n(this.searchString):this.searchString.indexOf("\n")>=0;var t=null;try{t=u.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0})}catch(r){return null}if(!t)return null;var i=!this.isRegex&&!e;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new m(t,this.wordSeparators?h.getMapForWordSeparators(this.wordSeparators):null,i?this.searchString:null)},e}();t.SearchParams=g,t.isMultilineRegexSource=n;var m=function(){function e(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}return e}();t.SearchData=m,t.createFindMatch=r;var v=function(){function e(e){for(var t=[],n=0,r=0,i=e.length;i>r;r++)10===e.charCodeAt(r)&&(t[n++]=r);this._lineFeedsOffsets=t}return e.prototype.findLineFeedCountBeforeOffset=function(e){var t=this._lineFeedsOffsets,n=0,r=t.length-1;if(-1===r)return 0;if(e<=t[0])return 0;for(;r>n;){var i=n+((r-n)/2>>0);t[i]>=e?r=i-1:t[i+1]>=e?(n=i,r=i):n=i+1}return n+1},e}(),M=function(){function e(){}return e.findMatches=function(e,t,n,r,i){var a=t.parseSearchRequest();return a?a.regex.multiline?this._doFindMatchesMultiline(e,n,new L(a.wordSeparators,a.regex),r,i):this._doFindMatchesLineByLine(e,n,a,r,i):[]},e._getMultilineMatchRange=function(e,t,n,r,i,a){var o,s=0;r?(s=r.findLineFeedCountBeforeOffset(i),o=t+i+s):o=t+i;var u;if(r){var h=r.findLineFeedCountBeforeOffset(i+a.length),l=h-s;u=o+a.length+l}else u=o+a.length;var d=e.getPositionAt(o),f=e.getPositionAt(u);return new c.Range(d.lineNumber,d.column,f.lineNumber,f.column)},e._doFindMatchesMultiline=function(e,t,n,i,a){var o,s=e.getOffsetAt(t.getStartPosition()),u=e.getValueInRange(t,1),h="\r\n"===e.getEOL()?new v(u):null,l=[],c=0;for(n.reset(0);o=n.next(u);)if(l[c++]=r(this._getMultilineMatchRange(e,s,u,h,o.index,o[0]),o,i),c>=a)return l;return l},e._doFindMatchesLineByLine=function(e,t,n,r,i){var a=[],o=0;if(t.startLineNumber===t.endLineNumber){var s=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return o=this._findMatchesInLine(n,s,t.startLineNumber,t.startColumn-1,o,a,r,i),a}var u=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);o=this._findMatchesInLine(n,u,t.startLineNumber,t.startColumn-1,o,a,r,i);for(var h=t.startLineNumber+1;h<t.endLineNumber&&i>o;h++)o=this._findMatchesInLine(n,e.getLineContent(h),h,0,o,a,r,i);if(i>o){var l=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);o=this._findMatchesInLine(n,l,t.endLineNumber,0,o,a,r,i)}return a},e._findMatchesInLine=function(e,t,n,i,a,s,u,h){var l=e.wordSeparators;if(!u&&e.simpleSearch){for(var f=e.simpleSearch,g=f.length,m=t.length,v=-g;-1!==(v=t.indexOf(f,v+g));)if((!l||o(l,t,m,v,g))&&(s[a++]=new d.FindMatch(new c.Range(n,v+1+i,n,v+1+g+i),null),a>=h))return a;return a}var M,_=new L(e.wordSeparators,e.regex);_.reset(0);do if(M=_.next(t),M&&(s[a++]=r(new c.Range(n,M.index+1+i,n,M.index+1+M[0].length+i),M,u),a>=h))return a;while(M);return a},e.findNextMatch=function(e,t,n,r){var i=t.parseSearchRequest();if(!i)return null;var a=new L(i.wordSeparators,i.regex);return i.regex.multiline?this._doFindNextMatchMultiline(e,n,a,r):this._doFindNextMatchLineByLine(e,n,a,r)},e._doFindNextMatchMultiline=function(e,t,n,i){var a=new l.Position(t.lineNumber,1),o=e.getOffsetAt(a),s=e.getLineCount(),u=e.getValueInRange(new c.Range(a.lineNumber,a.column,s,e.getLineMaxColumn(s)),1),h="\r\n"===e.getEOL()?new v(u):null;n.reset(t.column-1);var d=n.next(u);return d?r(this._getMultilineMatchRange(e,o,u,h,d.index,d[0]),d,i):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new l.Position(1,1),n,i):null},e._doFindNextMatchLineByLine=function(e,t,n,r){var i=e.getLineCount(),a=t.lineNumber,o=e.getLineContent(a),s=this._findFirstMatchInLine(n,o,a,t.column,r);if(s)return s;for(var u=1;i>=u;u++){var h=(a+u-1)%i,l=e.getLineContent(h+1),c=this._findFirstMatchInLine(n,l,h+1,1,r);if(c)return c}return null},e._findFirstMatchInLine=function(e,t,n,i,a){e.reset(i-1);var o=e.next(t);return o?r(new c.Range(n,o.index+1,n,o.index+1+o[0].length),o,a):null},e.findPreviousMatch=function(e,t,n,r){var i=t.parseSearchRequest();if(!i)return null;var a=new L(i.wordSeparators,i.regex);return i.regex.multiline?this._doFindPreviousMatchMultiline(e,n,a,r):this._doFindPreviousMatchLineByLine(e,n,a,r)},e._doFindPreviousMatchMultiline=function(e,t,n,r){var i=this._doFindMatchesMultiline(e,new c.Range(1,1,t.lineNumber,t.column),n,r,10*f);if(i.length>0)return i[i.length-1];var a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new l.Position(a,e.getLineMaxColumn(a)),n,r):null},e._doFindPreviousMatchLineByLine=function(e,t,n,r){var i=e.getLineCount(),a=t.lineNumber,o=e.getLineContent(a).substring(0,t.column-1),s=this._findLastMatchInLine(n,o,a,r);if(s)return s;for(var u=1;i>=u;u++){var h=(i+a-u-1)%i,l=e.getLineContent(h+1),c=this._findLastMatchInLine(n,l,h+1,r);if(c)return c}return null},e._findLastMatchInLine=function(e,t,n,i){var a,o=null;for(e.reset(0);a=e.next(t);)o=r(new c.Range(n,a.index+1,n,a.index+1+a[0].length),a,i);return o},e}();t.TextModelSearch=M,t.isValidMatch=o;var L=function(){function e(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}return e.prototype.reset=function(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0},e.prototype.next=function(e){var t,n=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===n)return null;if(t=this._searchRegex.exec(e),!t)return null;var r=t.index,i=t[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength)return null;if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||o(this._wordSeparators,e,n,r,i))return t}while(t);return null},e}();t.Searcher=L});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase",function(e,t){"use strict";function n(e){var t;return t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length),t.set(e,0),t}function i(e,t){void 0===t&&(t=!0);for(var i=[0],r=1,f=0,s=e.length;s>f;f++){var o=e.charCodeAt(f);13===o?s>f+1&&10===e.charCodeAt(f+1)?(i[r++]=f+2,f++):i[r++]=f+1:10===o&&(i[r++]=f+1)}return t?n(i):i}function r(e,t){e.length=0,e[0]=0;for(var i=1,r=0,f=0,s=0,o=!0,h=0,a=t.length;a>h;h++){var l=t.charCodeAt(h);13===l?a>h+1&&10===t.charCodeAt(h+1)?(s++,e[i++]=h+2,h++):(r++,e[i++]=h+1):10===l?(f++,e[i++]=h+1):o&&9!==l&&(32>l||l>126)&&(o=!1)}var d=new u(n(e),r,f,s,o);return e.length=0,d}Object.defineProperty(t,"__esModule",{value:!0});var f=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),o=e("node_modules/monaco-editor/esm/vs/editor/common/model"),h=e("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase"),a=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch");t.AverageBufferSize=65535,t.createUintArray=n;var u=function(){function e(e,t,n,i,r){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=r}return e}();t.LineStarts=u,t.createLineStartsFast=i,t.createLineStarts=r;var l=function(){function e(e,t,n,i,r){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=i,this.length=r}return e}();t.Piece=l;var d=function(){function e(e,t){this.buffer=e,this.lineStarts=t}return e}();t.StringBuffer=d;var c=function(){function e(e){this._limit=e,this._cache=[]}return e.prototype.get=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},e.prototype.get2=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null},e.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},e.prototype.valdiate=function(e){for(var t=!1,n=this._cache,i=0;i<n.length;i++){var r=n[i];(null===r.node.parent||r.nodeStartOffset>=e)&&(n[i]=null,t=!0)}if(t){for(var f=[],s=0,o=n;s<o.length;s++){var h=o[s];null!==h&&f.push(h)}this._cache=f}},e}(),p=function(){function e(e,t,n){this.create(e,t,n)}return e.prototype.create=function(e,t,n){this._buffers=[new d("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=h.SENTINEL,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;for(var r=null,f=0,s=e.length;s>f;f++)if(e[f].buffer.length>0){e[f].lineStarts||(e[f].lineStarts=i(e[f].buffer));var o=new l(f+1,{line:0,column:0},{line:e[f].lineStarts.length-1,column:e[f].buffer.length-e[f].lineStarts[e[f].lineStarts.length-1]},e[f].lineStarts.length-1,e[f].buffer.length);this._buffers.push(e[f]),r=this.rbInsertRight(r,o)}this._searchCache=new c(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},e.prototype.normalizeEOL=function(e){var n=this,r=t.AverageBufferSize,f=r-Math.floor(r/3),s=2*f,o="",h=0,a=[];if(this.iterate(this.root,function(t){var r=n.getNodeContent(t),u=r.length;if(f>=h||s>h+u)return o+=r,h+=u,!0;var l=o.replace(/\r\n|\r|\n/g,e);return a.push(new d(l,i(l))),o=r,h=u,!0}),h>0){var u=o.replace(/\r\n|\r|\n/g,e);a.push(new d(u,i(u)))}this.create(a,e,!0)},e.prototype.getEOL=function(){return this._EOL},e.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},e.prototype.getOffsetAt=function(e,t){for(var n=0,i=this.root;i!==h.SENTINEL;)if(i.left!==h.SENTINEL&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e){n+=i.size_left;var r=this.getAccumulatedValue(i,e-i.lf_left-2);return n+=r+t-1}e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n},e.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);for(var t=this.root,n=0,i=e;t!==h.SENTINEL;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){var r=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+r.index,0===r.index){var s=this.getOffsetAt(n+1,1),o=i-s;return new f.Position(n+1,o+1)}return new f.Position(n+1,r.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===h.SENTINEL){var s=this.getOffsetAt(n+1,1),o=i-e-s;return new f.Position(n+1,o+1)}t=t.right}return new f.Position(1,1)},e.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),r=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?r:r.replace(/\r\n|\r|\n/g,t):r},e.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(r+e.remainder,r+t.remainder)}var f=e.node,s=this._buffers[f.piece.bufferIndex].buffer,o=this.offsetInBuffer(f.piece.bufferIndex,f.piece.start),a=s.substring(o+e.remainder,o+f.piece.length);for(f=f.next();f!==h.SENTINEL;){var u=this._buffers[f.piece.bufferIndex].buffer,l=this.offsetInBuffer(f.piece.bufferIndex,f.piece.start);if(f===t.node){a+=u.substring(l,l+t.remainder);break}a+=u.substr(l,f.piece.length),f=f.next()}return a},e.prototype.getLinesContent=function(){return this.getContentOfSubTree(this.root).split(/\r\n|\r|\n/)},e.prototype.getLength=function(){return this._length},e.prototype.getLineCount=function(){return this._lineCnt},e.prototype.getLineContent=function(e){return this._lastVisitedLine.lineNumber===e?this._lastVisitedLine.value:(this._lastVisitedLine.lineNumber=e,this._lastVisitedLine.value=e===this._lineCnt?this.getLineRawContent(e):this._EOLNormalized?this.getLineRawContent(e,this._EOLLength):this.getLineRawContent(e).replace(/(\r\n|\r|\n)$/,""),this._lastVisitedLine.value)},e.prototype.getLineCharCode=function(e,t){var n=this.nodeAt2(e,t+1);if(n.remainder===n.node.piece.length){var i=n.node.next();if(!i)return 0;var r=this._buffers[i.piece.bufferIndex],f=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return r.buffer.charCodeAt(f)}var r=this._buffers[n.node.piece.bufferIndex],f=this.offsetInBuffer(n.node.piece.bufferIndex,n.node.piece.start),s=f+n.remainder;return r.buffer.charCodeAt(s)},e.prototype.getLineLength=function(e){if(e===this.getLineCount()){var t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength},e.prototype.findMatchesInNode=function(e,t,n,i,r,f,o,h,u,l,d){var c,p=this._buffers[e.piece.bufferIndex],g=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),b=this.offsetInBuffer(e.piece.bufferIndex,r),v=this.offsetInBuffer(e.piece.bufferIndex,f);t.reset(b);var _={line:0,column:0};do if(c=t.next(p.buffer)){if(c.index>=v)return l;this.positionInBuffer(e,c.index-g,_);var I=this.getLineFeedCnt(e.piece.bufferIndex,r,_),m=_.line===r.line?_.column-r.column+i:_.column+1,L=m+c[0].length;if(d[l++]=a.createFindMatch(new s.Range(n+I,m,n+I,L),c,h),c.index+c[0].length>=v)return l;if(l>=u)return l}while(c);return l},e.prototype.findMatchesLineByLine=function(e,t,n,i){var r=[],f=0,s=new a.Searcher(t.wordSeparators,t.regex),o=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===o)return[];var h=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===h)return[];var u=this.positionInBuffer(o.node,o.remainder),l=this.positionInBuffer(h.node,h.remainder);if(o.node===h.node)return this.findMatchesInNode(o.node,s,e.startLineNumber,e.startColumn,u,l,t,n,i,f,r),r;for(var d=e.startLineNumber,c=o.node;c!==h.node;){var p=this.getLineFeedCnt(c.piece.bufferIndex,u,c.piece.end);if(p>=1){var g=this._buffers[c.piece.bufferIndex].lineStarts,b=this.offsetInBuffer(c.piece.bufferIndex,c.piece.start),v=g[u.line+p],_=d===e.startLineNumber?e.startColumn:1;if(f=this.findMatchesInNode(c,s,d,_,u,this.positionInBuffer(c,v-b),t,n,i,f,r),f>=i)return r;d+=p}var I=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var m=this.getLineContent(d).substring(I,e.endColumn-1);return f=this._findMatchesInLine(t,s,m,e.endLineNumber,I,f,r,n,i),r}if(f=this._findMatchesInLine(t,s,this.getLineContent(d).substr(I),d,I,f,r,n,i),f>=i)return r;d++,o=this.nodeAt2(d,1),c=o.node,u=this.positionInBuffer(o.node,o.remainder)}if(d===e.endLineNumber){var L=d===e.startLineNumber?e.startColumn-1:0,m=this.getLineContent(d).substring(L,e.endColumn-1);return f=this._findMatchesInLine(t,s,m,e.endLineNumber,L,f,r,n,i),r}var C=d===e.startLineNumber?e.startColumn:1;return f=this.findMatchesInNode(h.node,s,d,C,u,l,t,n,i,f,r),r},e.prototype._findMatchesInLine=function(e,t,n,i,r,f,h,u,l){var d=e.wordSeparators;if(!u&&e.simpleSearch){for(var c=e.simpleSearch,p=c.length,g=n.length,b=-p;-1!==(b=n.indexOf(c,b+p));)if((!d||a.isValidMatch(d,n,g,b,p))&&(h[f++]=new o.FindMatch(new s.Range(i,b+1+r,i,b+1+p+r),null),f>=l))return f;return f}var v;t.reset(0);do if(v=t.next(n),v&&(h[f++]=a.createFindMatch(new s.Range(i,v.index+1+r,i,v.index+1+v[0].length+r),v,u),f>=l))return f;while(v);return f},e.prototype.insert=function(e,n,i){if(void 0===i&&(i=!1),this._EOLNormalized=this._EOLNormalized&&i,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==h.SENTINEL){var r=this.nodeAt(e),f=r.node,s=r.remainder,o=r.nodeStartOffset,a=f.piece,u=a.bufferIndex,d=this.positionInBuffer(f,s);if(0===f.piece.bufferIndex&&a.end.line===this._lastChangeBufferPos.line&&a.end.column===this._lastChangeBufferPos.column&&o+a.length===e&&n.length<t.AverageBufferSize)return this.appendToNode(f,n),void this.computeBufferMetadata();if(o===e)this.insertContentToNodeLeft(n,f),this._searchCache.valdiate(e);else if(o+f.piece.length>e){var c=[],p=new l(a.bufferIndex,d,a.end,this.getLineFeedCnt(a.bufferIndex,d,a.end),this.offsetInBuffer(u,a.end)-this.offsetInBuffer(u,d));if(this.shouldCheckCRLF()&&this.endWithCR(n)){var g=this.nodeCharCodeAt(f,s);if(10===g){var b={line:p.start.line+1,column:0};p=new l(p.bufferIndex,b,p.end,this.getLineFeedCnt(p.bufferIndex,b,p.end),p.length-1),n+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(n)){var v=this.nodeCharCodeAt(f,s-1);if(13===v){var _=this.positionInBuffer(f,s-1);this.deleteNodeTail(f,_),n="\r"+n,0===f.piece.length&&c.push(f)}else this.deleteNodeTail(f,d)}else this.deleteNodeTail(f,d);var I=this.createNewPieces(n);p.length>0&&this.rbInsertRight(f,p);for(var m=f,L=0;L<I.length;L++)m=this.rbInsertRight(m,I[L]);this.deleteNodes(c)}else this.insertContentToNodeRight(n,f)}else for(var C=this.createNewPieces(n),f=this.rbInsertLeft(null,C[0]),L=1;L<C.length;L++)f=this.rbInsertRight(f,C[L]);this.computeBufferMetadata()},e.prototype.delete=function(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",!(0>=t||this.root===h.SENTINEL)){var n=this.nodeAt(e),i=this.nodeAt(e+t),r=n.node,f=i.node;if(r===f){var s=this.positionInBuffer(r,n.remainder),o=this.positionInBuffer(r,i.remainder);if(n.nodeStartOffset===e){if(t===r.piece.length){var a=r.next();return h.rbDelete(this,r),this.validateCRLFWithPrevNode(a),void this.computeBufferMetadata()}return this.deleteNodeHead(r,o),this._searchCache.valdiate(e),this.validateCRLFWithPrevNode(r),void this.computeBufferMetadata()}return n.nodeStartOffset+r.piece.length===e+t?(this.deleteNodeTail(r,s),this.validateCRLFWithNextNode(r),void this.computeBufferMetadata()):(this.shrinkNode(r,s,o),void this.computeBufferMetadata())}var u=[],l=this.positionInBuffer(r,n.remainder);this.deleteNodeTail(r,l),this._searchCache.valdiate(e),0===r.piece.length&&u.push(r);var d=this.positionInBuffer(f,i.remainder);this.deleteNodeHead(f,d),0===f.piece.length&&u.push(f);for(var c=r.next(),p=c;p!==h.SENTINEL&&p!==f;p=p.next())u.push(p);var g=0===r.piece.length?r.prev():r;this.deleteNodes(u),this.validateCRLFWithNextNode(g),this.computeBufferMetadata()}},e.prototype.insertContentToNodeLeft=function(e,t){var n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){var i=t.piece,r={line:i.start.line+1,column:0},f=new l(i.bufferIndex,r,i.end,this.getLineFeedCnt(i.bufferIndex,r,i.end),i.length-1);t.piece=f,e+="\n",h.updateTreeMetadata(this,t,-1,-1),0===t.piece.length&&n.push(t)}for(var s=this.createNewPieces(e),o=this.rbInsertLeft(t,s[s.length-1]),a=s.length-2;a>=0;a--)o=this.rbInsertLeft(o,s[a]);this.validateCRLFWithPrevNode(o),this.deleteNodes(n)},e.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),r=i,f=1;f<n.length;f++)r=this.rbInsertRight(r,n[f]);this.validateCRLFWithPrevNode(i)},e.prototype.positionInBuffer=function(e,t,n){for(var i=e.piece,r=e.piece.bufferIndex,f=this._buffers[r].lineStarts,s=f[i.start.line]+i.start.column,o=s+t,h=i.start.line,a=i.end.line,u=0,l=0,d=0;a>=h&&(u=h+(a-h)/2|0,d=f[u],u!==a);)if(l=f[u+1],d>o)a=u-1;else{if(!(o>=l))break;h=u+1}return n?(n.line=u,n.column=o-d,null):{line:u,column:o-d}},e.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;var r=i[n.line+1],f=i[n.line]+n.column;if(r>f+1)return n.line-t.line;var s=f-1,o=this._buffers[e].buffer;return 13===o.charCodeAt(s)?n.line-t.line+1:n.line-t.line},e.prototype.offsetInBuffer=function(e,t){var n=this._buffers[e].lineStarts;return n[t.line]+t.column},e.prototype.deleteNodes=function(e){for(var t=0;t<e.length;t++)h.rbDelete(this,e[t])},e.prototype.createNewPieces=function(e){if(e.length>t.AverageBufferSize){for(var n=[];e.length>t.AverageBufferSize;){var r=e.charCodeAt(t.AverageBufferSize-1),f=void 0;13===r||r>=55296&&56319>=r?(f=e.substring(0,t.AverageBufferSize-1),e=e.substring(t.AverageBufferSize-1)):(f=e.substring(0,t.AverageBufferSize),e=e.substring(t.AverageBufferSize));var s=i(f);n.push(new l(this._buffers.length,{line:0,column:0},{line:s.length-1,column:f.length-s[s.length-1]},s.length-1,f.length)),this._buffers.push(new d(f,s))}var o=i(e);return n.push(new l(this._buffers.length,{line:0,column:0},{line:o.length-1,column:e.length-o[o.length-1]},o.length-1,e.length)),this._buffers.push(new d(e,o)),n}var h=this._buffers[0].buffer.length,a=i(e,!1),u=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===h&&0!==h&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},u=this._lastChangeBufferPos;for(var c=0;c<a.length;c++)a[c]+=h+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(a.slice(1)),this._buffers[0].buffer+="_"+e,h+=1}else{if(0!==h)for(var c=0;c<a.length;c++)a[c]+=h;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(a.slice(1)),this._buffers[0].buffer+=e}var p=this._buffers[0].buffer.length,g=this._buffers[0].lineStarts.length-1,b=p-this._buffers[0].lineStarts[g],v={line:g,column:b},_=new l(0,u,v,this.getLineFeedCnt(0,u,v),p-h);return this._lastChangeBufferPos=v,[_]},e.prototype.getLineRawContent=function(e,t){void 0===t&&(t=0);var n=this.root,i="",r=this._searchCache.get2(e);if(r){n=r.node;var f=this.getAccumulatedValue(n,e-r.nodeStartLineNumber-1),s=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(r.nodeStartLineNumber+n.piece.lineFeedCnt!==e){var a=this.getAccumulatedValue(n,e-r.nodeStartLineNumber);return s.substring(o+f,o+a-t)}i=s.substring(o+f,o+n.piece.length)}else for(var u=0,l=e;n!==h.SENTINEL;)if(n.left!==h.SENTINEL&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var f=this.getAccumulatedValue(n,e-n.lf_left-2),a=this.getAccumulatedValue(n,e-n.lf_left-1),s=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return u+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:u,nodeStartLineNumber:l-(e-1-n.lf_left)}),s.substring(o+f,o+a-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){var f=this.getAccumulatedValue(n,e-n.lf_left-2),s=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=s.substring(o+f,o+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,u+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==h.SENTINEL;){var s=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){var a=this.getAccumulatedValue(n,0),o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=s.substring(o,o+a-t)}var o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=s.substr(o,n.piece.length),n=n.next()}return i},e.prototype.computeBufferMetadata=function(){for(var e=this.root,t=1,n=0;e!==h.SENTINEL;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.valdiate(this._length)},e.prototype.getIndexOf=function(e,t){var n=e.piece,i=this.positionInBuffer(e,t),r=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var f=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(f!==r)return{index:f,remainder:0}}return{index:r,remainder:i.column}},e.prototype.getAccumulatedValue=function(e,t){if(0>t)return 0;var n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,r=n.start.line+t+1;return r>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[r]-i[n.start.line]-n.start.column},e.prototype.deleteNodeTail=function(e,t){var n=e.piece,i=n.lineFeedCnt,r=this.offsetInBuffer(n.bufferIndex,n.end),f=t,s=this.offsetInBuffer(n.bufferIndex,f),o=this.getLineFeedCnt(n.bufferIndex,n.start,f),a=o-i,u=s-r,d=n.length+u;e.piece=new l(n.bufferIndex,n.start,f,o,d),h.updateTreeMetadata(this,e,u,a)},e.prototype.deleteNodeHead=function(e,t){var n=e.piece,i=n.lineFeedCnt,r=this.offsetInBuffer(n.bufferIndex,n.start),f=t,s=this.getLineFeedCnt(n.bufferIndex,f,n.end),o=this.offsetInBuffer(n.bufferIndex,f),a=s-i,u=r-o,d=n.length+u;e.piece=new l(n.bufferIndex,f,n.end,s,d),h.updateTreeMetadata(this,e,u,a)},e.prototype.shrinkNode=function(e,t,n){var i=e.piece,r=i.start,f=i.end,s=i.length,o=i.lineFeedCnt,a=t,u=this.getLineFeedCnt(i.bufferIndex,i.start,a),d=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,r);e.piece=new l(i.bufferIndex,i.start,a,u,d),h.updateTreeMetadata(this,e,d-s,u-o);var c=new l(i.bufferIndex,n,f,this.getLineFeedCnt(i.bufferIndex,n,f),this.offsetInBuffer(i.bufferIndex,f)-this.offsetInBuffer(i.bufferIndex,n)),p=this.rbInsertRight(e,c);this.validateCRLFWithPrevNode(p)},e.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),r=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var f=i(t,!1),s=0;s<f.length;s++)f[s]+=r;if(n){var o=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:r-o}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(f.slice(1));var a=this._buffers[0].lineStarts.length-1,u=this._buffers[0].buffer.length-this._buffers[0].lineStarts[a],d={line:a,column:u},c=e.piece.length+t.length,p=e.piece.lineFeedCnt,g=this.getLineFeedCnt(0,e.piece.start,d),b=g-p;e.piece=new l(e.piece.bufferIndex,e.piece.start,d,g,c),this._lastChangeBufferPos=d,h.updateTreeMetadata(this,e,t.length,b)},e.prototype.nodeAt=function(e){var t=this.root,n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};for(var i=0;t!==h.SENTINEL;)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;var r={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(r),r}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null},e.prototype.nodeAt2=function(e,t){for(var n=this.root,i=0;n!==h.SENTINEL;)if(n.left!==h.SENTINEL&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var r=this.getAccumulatedValue(n,e-n.lf_left-2),f=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(r+t-1,f),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){var r=this.getAccumulatedValue(n,e-n.lf_left-2);if(r+t-1<=n.piece.length)return{node:n,remainder:r+t-1,nodeStartOffset:i};t-=n.piece.length-r;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==h.SENTINEL;){if(n.piece.lineFeedCnt>0){var f=this.getAccumulatedValue(n,0),s=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,f),nodeStartOffset:s}}if(n.piece.length>=t-1){var o=this.offsetOfNode(n);return{node:n,remainder:t-1,nodeStartOffset:o}}t-=n.piece.length,n=n.next()}return null},e.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)},e.prototype.offsetOfNode=function(e){if(!e)return 0;for(var t=e.size_left;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},e.prototype.startWithLF=function(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===h.SENTINEL||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,r=n[i]+t.start.column;if(i===n.length-1)return!1;var f=n[i+1];return f>r+1?!1:10===this._buffers[t.bufferIndex].buffer.charCodeAt(r)},e.prototype.endWithCR=function(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e===h.SENTINEL||0===e.piece.lineFeedCnt?!1:13===this.nodeCharCodeAt(e,e.piece.length-1)},e.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},e.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},e.prototype.fixCRLF=function(e,t){var n,i=[],r=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:r[e.piece.end.line]-r[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};var f=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new l(e.piece.bufferIndex,e.piece.start,n,s,f),h.updateTreeMetadata(this,e,-1,-1),0===e.piece.length&&i.push(e);var o={line:t.piece.start.line+1,column:0},a=t.piece.length-1,u=this.getLineFeedCnt(t.piece.bufferIndex,o,t.piece.end);t.piece=new l(t.piece.bufferIndex,o,t.piece.end,u,a),h.updateTreeMetadata(this,t,-1,-1),0===t.piece.length&&i.push(t);var d=this.createNewPieces("\r\n");this.rbInsertRight(e,d[0]);for(var c=0;c<i.length;c++)h.rbDelete(this,i[c])},e.prototype.adjustCarriageReturnFromNext=function(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var n=t.next();if(this.startWithLF(n)){if(e+="\n",1===n.piece.length)h.rbDelete(this,n);else{var i=n.piece,r={line:i.start.line+1,column:0},f=i.length-1,s=this.getLineFeedCnt(i.bufferIndex,r,i.end);n.piece=new l(i.bufferIndex,r,i.end,s,f),h.updateTreeMetadata(this,n,-1,-1)}return!0}}return!1},e.prototype.iterate=function(e,t){if(e===h.SENTINEL)return t(h.SENTINEL);var n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n},e.prototype.getNodeContent=function(e){if(e===h.SENTINEL)return"";var t,n=this._buffers[e.piece.bufferIndex],i=e.piece,r=this.offsetInBuffer(i.bufferIndex,i.start),f=this.offsetInBuffer(i.bufferIndex,i.end);return t=n.buffer.substring(r,f)},e.prototype.rbInsertRight=function(e,t){var n=new h.TreeNode(t,1);n.left=h.SENTINEL,n.right=h.SENTINEL,n.parent=h.SENTINEL,n.size_left=0,n.lf_left=0;var i=this.root;if(i===h.SENTINEL)this.root=n,n.color=0;else if(e.right===h.SENTINEL)e.right=n,n.parent=e;else{var r=h.leftest(e.right);r.left=n,n.parent=r}return h.fixInsert(this,n),n},e.prototype.rbInsertLeft=function(e,t){var n=new h.TreeNode(t,1);if(n.left=h.SENTINEL,n.right=h.SENTINEL,n.parent=h.SENTINEL,n.size_left=0,n.lf_left=0,this.root===h.SENTINEL)this.root=n,n.color=0;else if(e.left===h.SENTINEL)e.left=n,n.parent=e;else{var i=h.righttest(e.left);i.right=n,n.parent=i}return h.fixInsert(this,n),n},e.prototype.getContentOfSubTree=function(e){var t=this,n="";return this.iterate(e,function(e){return n+=t.getNodeContent(e),!0}),n},e}();t.PieceTreeBase=p});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),o=e("node_modules/monaco-editor/esm/vs/editor/common/model"),s=e("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase"),a=function(){function e(e,t,n,r,i,o){this._BOM=t,this._mightContainNonBasicASCII=!i,this._mightContainRTL=r,this._pieceTree=new s.PieceTreeBase(e,n,o)}return e.prototype.mightContainRTL=function(){return this._mightContainRTL},e.prototype.mightContainNonBasicASCII=function(){return this._mightContainNonBasicASCII},e.prototype.getBOM=function(){return this._BOM},e.prototype.getEOL=function(){return this._pieceTree.getEOL()},e.prototype.getOffsetAt=function(e,t){return this._pieceTree.getOffsetAt(e,t)},e.prototype.getPositionAt=function(e){return this._pieceTree.getPositionAt(e)},e.prototype.getRangeAt=function(e,t){var n=e+t,r=this.getPositionAt(e),o=this.getPositionAt(n);return new i.Range(r.lineNumber,r.column,o.lineNumber,o.column)},e.prototype.getValueInRange=function(e,t){if(void 0===t&&(t=0),e.isEmpty())return"";var n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)},e.prototype.getValueLengthInRange=function(e,t){if(void 0===t&&(t=0),e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;var n=this.getOffsetAt(e.startLineNumber,e.startColumn),r=this.getOffsetAt(e.endLineNumber,e.endColumn);return r-n},e.prototype.getLength=function(){return this._pieceTree.getLength()},e.prototype.getLineCount=function(){return this._pieceTree.getLineCount()},e.prototype.getLinesContent=function(){return this._pieceTree.getLinesContent()},e.prototype.getLineContent=function(e){return this._pieceTree.getLineContent(e)},e.prototype.getLineCharCode=function(e,t){return this._pieceTree.getLineCharCode(e,t)},e.prototype.getLineLength=function(e){return this._pieceTree.getLineLength(e)},e.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=r.firstNonWhitespaceIndex(this.getLineContent(e));return-1===t?0:t+1},e.prototype.getLineLastNonWhitespaceColumn=function(e){var t=r.lastNonWhitespaceIndex(this.getLineContent(e));return-1===t?0:t+2},e.prototype._getEndOfLine=function(e){switch(e){case 1:return"\n";case 2:return"\r\n";case 0:return this.getEOL()}throw new Error("Unknown EOL preference")},e.prototype.setEOL=function(e){this._pieceTree.setEOL(e)},e.prototype.applyEdits=function(t,n){for(var i=this._mightContainRTL,s=this._mightContainNonBasicASCII,a=!0,g=[],u=0;u<t.length;u++){var h=t[u];a&&h._isTracked&&(a=!1);var p=h.range;!i&&h.text&&(i=r.containsRTL(h.text)),!s&&h.text&&(s=!r.isBasicASCII(h.text)),g[u]={sortIndex:u,identifier:h.identifier||null,range:p,rangeOffset:this.getOffsetAt(p.startLineNumber,p.startColumn),rangeLength:this.getValueLengthInRange(p),lines:h.text?h.text.split(/\r\n|\r|\n/):null,forceMoveMarkers:Boolean(h.forceMoveMarkers),isAutoWhitespaceEdit:h.isAutoWhitespaceEdit||!1}}g.sort(e._sortOpsAscending);for(var f=!1,u=0,l=g.length-1;l>u;u++){var c=g[u].range.getEndPosition(),d=g[u+1].range.getStartPosition();if(d.isBeforeOrEqual(c)){if(d.isBefore(c))throw new Error("Overlapping ranges are not allowed!");f=!0}}a&&(g=this._reduceOperations(g));for(var m=e._getInverseEditRanges(g),L=[],u=0;u<g.length;u++){var h=g[u],v=m[u];if(n&&h.isAutoWhitespaceEdit&&h.range.isEmpty())for(var C=v.startLineNumber;C<=v.endLineNumber;C++){var _="";(C!==v.startLineNumber||(_=this.getLineContent(h.range.startLineNumber),-1===r.firstNonWhitespaceIndex(_)))&&L.push({lineNumber:C,oldContent:_})}}for(var N=[],u=0;u<g.length;u++){var h=g[u],v=m[u];N[u]={sortIndex:h.sortIndex,identifier:h.identifier,range:v,text:this.getValueInRange(h.range),forceMoveMarkers:h.forceMoveMarkers}}f||N.sort(function(e,t){return e.sortIndex-t.sortIndex}),this._mightContainRTL=i,this._mightContainNonBasicASCII=s;var b=this._doApplyEdits(g),O=null;if(n&&L.length>0){L.sort(function(e,t){return t.lineNumber-e.lineNumber}),O=[];for(var u=0,y=L.length;y>u;u++){var C=L[u].lineNumber;if(!(u>0&&L[u-1].lineNumber===C)){var I=L[u].oldContent,T=this.getLineContent(C);0!==T.length&&T!==I&&-1===r.firstNonWhitespaceIndex(T)&&O.push(C)}}}return new o.ApplyEditsResult(N,b,O)},e.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},e.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,r=e[e.length-1].range,o=new i.Range(n.startLineNumber,n.startColumn,r.endLineNumber,r.endColumn),s=n.startLineNumber,a=n.startColumn,g=[],u=0,h=e.length;h>u;u++){var p=e[u],f=p.range;t=t||p.forceMoveMarkers;for(var l=s;l<f.startLineNumber;l++)l===s?g.push(this.getLineContent(l).substring(a-1)):(g.push("\n"),g.push(this.getLineContent(l)));if(f.startLineNumber===s?g.push(this.getLineContent(f.startLineNumber).substring(a-1,f.startColumn-1)):(g.push("\n"),g.push(this.getLineContent(f.startLineNumber).substring(0,f.startColumn-1))),p.lines)for(var c=0,d=p.lines.length;d>c;c++)0!==c&&g.push("\n"),g.push(p.lines[c]);s=p.range.endLineNumber,a=p.range.endColumn}return{sortIndex:0,identifier:e[0].identifier,range:o,rangeOffset:this.getOffsetAt(o.startLineNumber,o.startColumn),rangeLength:this.getValueLengthInRange(o,0),lines:g.join("").split("\n"),forceMoveMarkers:t,isAutoWhitespaceEdit:!1}},e.prototype._doApplyEdits=function(t){t.sort(e._sortOpsDescending);for(var n=[],r=0;r<t.length;r++){var o=t[r],s=o.range.startLineNumber,a=o.range.startColumn,g=o.range.endLineNumber,u=o.range.endColumn;if(s!==g||a!==u||o.lines&&0!==o.lines.length){var h=g-s,p=o.lines?o.lines.length-1:0,f=Math.min(h,p),l=o.lines?o.lines.join(this.getEOL()):"";if(l?(this._pieceTree.delete(o.rangeOffset,o.rangeLength),this._pieceTree.insert(o.rangeOffset,l,!0)):this._pieceTree.delete(o.rangeOffset,o.rangeLength),p>f){for(var c=[],d=f+1;p>=d;d++)c.push(o.lines[d]);c[c.length-1]=this.getLineContent(s+p-1)}var m=new i.Range(s,a,g,u);n.push({range:m,rangeLength:o.rangeLength,text:l,rangeOffset:o.rangeOffset,forceMoveMarkers:o.forceMoveMarkers})}}return n},e.prototype.findMatchesLineByLine=function(e,t,n,r){return this._pieceTree.findMatchesLineByLine(e,t,n,r)},e._getInverseEditRanges=function(e){for(var t=[],n=0,r=0,o=null,s=0,a=e.length;a>s;s++){var g=e[s],u=void 0,h=void 0;o?o.range.endLineNumber===g.range.startLineNumber?(u=n,h=r+(g.range.startColumn-o.range.endColumn)):(u=n+(g.range.startLineNumber-o.range.endLineNumber),h=g.range.startColumn):(u=g.range.startLineNumber,h=g.range.startColumn);var p=void 0;if(g.lines&&g.lines.length>0){var f=g.lines.length,l=g.lines[0],c=g.lines[f-1];p=1===f?new i.Range(u,h,u,h+l.length):new i.Range(u,h,u+f-1,c.length+1)}else p=new i.Range(u,h,u,h);n=p.endLineNumber,r=p.endColumn,t.push(p),o=g}return t},e._sortOpsAscending=function(e,t){var n=i.Range.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},e._sortOpsDescending=function(e,t){var n=i.Range.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},e}();t.PieceTreeTextBuffer=a});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder",function(t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var e=t("node_modules/tslib/tslib"),s=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/strings")),r=t("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase"),h=t("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer"),n=function(){function t(t,i,e,s,r,h,n,o){this._chunks=t,this._bom=i,this._cr=e,this._lf=s,this._crlf=r,this._containsRTL=h,this._isBasicASCII=n,this._normalizeEOL=o}return t.prototype._getEOL=function(t){var i=this._cr+this._lf+this._crlf,e=this._cr+this._crlf;return 0===i?1===t?"\n":"\r\n":e>i/2?"\r\n":"\n"},t.prototype.create=function(t){var i=this._getEOL(t),e=this._chunks;if(this._normalizeEOL&&("\r\n"===i&&(this._cr>0||this._lf>0)||"\n"===i&&(this._cr>0||this._crlf>0)))for(var s=0,n=e.length;n>s;s++){var o=e[s].buffer.replace(/\r\n|\r|\n/g,i),c=r.createLineStartsFast(o);e[s]=new r.StringBuffer(o,c)}return new h.PieceTreeTextBuffer(e,this._bom,i,this._containsRTL,this._isBasicASCII,this._normalizeEOL)},t}();i.PieceTreeTextBufferFactory=n;var o=function(){function t(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.isBasicASCII=!0}return t.prototype.acceptChunk=function(t){if(0!==t.length){0===this.chunks.length&&s.startsWithUTF8BOM(t)&&(this.BOM=s.UTF8_BOM_CHARACTER,t=t.substr(1));var i=t.charCodeAt(t.length-1);13===i||i>=55296&&56319>=i?(this._acceptChunk1(t.substr(0,t.length-1),!1),this._hasPreviousChar=!0,this._previousChar=i):(this._acceptChunk1(t,!1),this._hasPreviousChar=!1,this._previousChar=i)}},t.prototype._acceptChunk1=function(t,i){(i||0!==t.length)&&this._acceptChunk2(this._hasPreviousChar?String.fromCharCode(this._previousChar)+t:t)},t.prototype._acceptChunk2=function(t){var i=r.createLineStarts(this._tmpLineStarts,t);this.chunks.push(new r.StringBuffer(t,i.lineStarts)),this.cr+=i.cr,this.lf+=i.lf,this.crlf+=i.crlf,this.isBasicASCII&&(this.isBasicASCII=i.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.containsRTL(t))},t.prototype.finish=function(t){return void 0===t&&(t=!0),this._finish(),new n(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,t)},t.prototype._finish=function(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var t=this.chunks[this.chunks.length-1];t.buffer+=String.fromCharCode(this._previousChar);var i=r.createLineStartsFast(t.buffer);t.lineStarts=i,13===this._previousChar&&this.cr++}},t}();i.PieceTreeTextBufferBuilder=o});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/textModelEvents.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/textModelEvents",function(n,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function n(){this.changeType=1}return n}();e.ModelRawFlush=t;var i=function(){function n(n,e){this.changeType=2,this.lineNumber=n,this.detail=e}return n}();e.ModelRawLineChanged=i;var o=function(){function n(n,e){this.changeType=3,this.fromLineNumber=n,this.toLineNumber=e}return n}();e.ModelRawLinesDeleted=o;var s=function(){function n(n,e,t){this.changeType=4,this.fromLineNumber=n,this.toLineNumber=e,this.detail=t}return n}();e.ModelRawLinesInserted=s;var r=function(){function n(){this.changeType=5}return n}();e.ModelRawEOLChanged=r;var a=function(){function n(n,e,t,i){this.changes=n,this.versionId=e,this.isUndoing=t,this.isRedoing=i}return n.prototype.containsEvent=function(n){for(var e=0,t=this.changes.length;t>e;e++){var i=this.changes[e];if(i.changeType===n)return!0}return!1},n.merge=function(e,t){var i=[].concat(e.changes).concat(t.changes),o=t.versionId,s=e.isUndoing||t.isUndoing,r=e.isRedoing||t.isRedoing;return new n(i,o,s,r)},n}();e.ModelRawContentChangedEvent=a;var h=function(){function n(n,e){this.rawContentChangedEvent=n,this.contentChangedEvent=e}return n.prototype.merge=function(e){var t=a.merge(this.rawContentChangedEvent,e.rawContentChangedEvent),i=n._mergeChangeEvents(this.contentChangedEvent,e.contentChangedEvent);return new n(t,i)},n._mergeChangeEvents=function(n,e){var t=[].concat(n.changes).concat(e.changes),i=e.eol,o=e.versionId,s=n.isUndoing||e.isUndoing,r=n.isRedoing||e.isRedoing,a=n.isFlush||e.isFlush;return{changes:t,eol:i,versionId:o,isUndoing:s,isRedoing:r,isFlush:a}},n}();e.InternalModelContentChangeEvent=h});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/textModelTokens.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/textModelTokens",function(e,t){"use strict";function n(e){return(e<<0|0|0|16384|2<<23)>>>0}Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),o=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/arrays")),s=e("node_modules/monaco-editor/esm/vs/base/common/errors"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),l=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),u=e("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode"),h=new Uint32Array(0).buffer,d=function(){function e(e){this._state=e,this._lineTokens=null,this._invalid=!0}return e.prototype.deleteBeginning=function(e){null!==this._lineTokens&&this._lineTokens!==h&&this.delete(0,e)},e.prototype.deleteEnding=function(e){if(null!==this._lineTokens&&this._lineTokens!==h){var t=new Uint32Array(this._lineTokens),n=t[t.length-2];this.delete(e,n)}},e.prototype.delete=function(e,t){if(null!==this._lineTokens&&this._lineTokens!==h&&e!==t){var n=new Uint32Array(this._lineTokens),i=n.length>>>1;if(0===e&&n[n.length-2]===t)return void(this._lineTokens=h);var o=r.LineTokens.findIndexInTokensArray(n,e),s=o>0?n[o-1<<1]:0,a=n[o<<1];if(a>t)for(var l=t-e,u=o;i>u;u++)n[u<<1]-=l;else{var d,_;s!==e?(n[o<<1]=e,d=o+1<<1,_=e):(d=o<<1,_=s);for(var k=t-e,f=o+1;i>f;f++){var p=n[f<<1]-k;p>_&&(n[d++]=p,n[d++]=n[(f<<1)+1],_=p)}if(d!==n.length){var v=new Uint32Array(d);v.set(n.subarray(0,d),0),this._lineTokens=v.buffer}}}},e.prototype.append=function(e){if(e!==h){if(this._lineTokens===h)return void(this._lineTokens=e);if(null!==this._lineTokens){if(null===e)return void(this._lineTokens=null);var t=new Uint32Array(this._lineTokens),n=new Uint32Array(e),i=n.length>>>1,o=new Uint32Array(t.length+n.length);o.set(t,0);for(var s=t.length,r=t[t.length-2],a=0;i>a;a++)o[s++]=n[a<<1]+r,o[s++]=n[(a<<1)+1];this._lineTokens=o.buffer}}},e.prototype.insert=function(e,t){if(this._lineTokens){var n=new Uint32Array(this._lineTokens),i=n.length>>>1,o=r.LineTokens.findIndexInTokensArray(n,e);if(o>0){var s=n[o-1<<1];s===e&&o--}for(var a=o;i>a;a++)n[a<<1]+=t}},e}(),_=function(){function e(e,t){if(this.languageIdentifier=e,this.tokenizationSupport=t,this._tokens=[],this.tokenizationSupport){var n=null;try{n=this.tokenizationSupport.getInitialState()}catch(i){s.onUnexpectedError(i),this.tokenizationSupport=null}n&&(this._tokens[0]=new d(n))}this._invalidLineStartIndex=0,this._lastState=null}return Object.defineProperty(e.prototype,"inValidLineStartIndex",{get:function(){return this._invalidLineStartIndex},enumerable:!0,configurable:!0}),e.prototype.getTokens=function(e,t,i){var o=null;if(t<this._tokens.length&&this._tokens[t]&&(o=this._tokens[t]._lineTokens),null!==o&&o!==h)return new r.LineTokens(new Uint32Array(o),i);var s=new Uint32Array(2);return s[0]=i.length,s[1]=n(e),new r.LineTokens(s,i)},e.prototype.isCheapToTokenize=function(e){var t=this._invalidLineStartIndex+1;return t>=e},e.prototype.hasLinesToTokenize=function(e){return this._invalidLineStartIndex<e.getLineCount()},e.prototype.invalidateLine=function(e){this._setIsInvalid(e,!0),e<this._invalidLineStartIndex&&(this._setIsInvalid(this._invalidLineStartIndex,!0),this._invalidLineStartIndex=e)},e.prototype._setIsInvalid=function(e,t){e<this._tokens.length&&this._tokens[e]&&(this._tokens[e]._invalid=t)},e.prototype._isInvalid=function(e){return e<this._tokens.length&&this._tokens[e]?this._tokens[e]._invalid:!0},e.prototype._getState=function(e){return e<this._tokens.length&&this._tokens[e]?this._tokens[e]._state:null},e.prototype._setTokens=function(e,t,i,o){var s;if(t<this._tokens.length&&this._tokens[t]?s=this._tokens[t]:(s=new d(null),this._tokens[t]=s),0===i){var a=!1;if(o&&o.length>1&&(a=l.TokenMetadata.getLanguageId(o[1])!==e),!a)return void(s._lineTokens=h)}o&&0!==o.length||(o=new Uint32Array(2),o[0]=0,o[1]=n(e)),r.LineTokens.convertToEndOffset(o,i),s._lineTokens=o.buffer},e.prototype._setState=function(e,t){if(e<this._tokens.length&&this._tokens[e])this._tokens[e]._state=t;else{var n=new d(t);this._tokens[e]=n}},e.prototype.applyEdits=function(e,t,n){for(var i=e.endLineNumber-e.startLineNumber,o=t,s=Math.min(i,o),r=s;r>=0;r--)this.invalidateLine(e.startLineNumber+r-1);this._acceptDeleteRange(e),this._acceptInsertText(new a.Position(e.startLineNumber,e.startColumn),t,n)},e.prototype._acceptDeleteRange=function(e){var t=e.startLineNumber-1;if(!(t>=this._tokens.length)){if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;return void this._tokens[t].delete(e.startColumn-1,e.endColumn-1)}var n=this._tokens[t];n.deleteEnding(e.startColumn-1);var i=e.endLineNumber-1,o=null;if(i<this._tokens.length){var s=this._tokens[i];s.deleteBeginning(e.endColumn-1),o=s._lineTokens}n.append(o),this._tokens.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber)}},e.prototype._acceptInsertText=function(e,t,n){if(0!==t||0!==n){var i=e.lineNumber-1;if(!(i>=this._tokens.length)){if(0===t)return void this._tokens[i].insert(e.column-1,n);var s=this._tokens[i];s.deleteEnding(e.column-1),s.insert(e.column-1,n);for(var r=new Array(t),a=t-1;a>=0;a--)r[a]=new d(null);this._tokens=o.arrayInsert(this._tokens,e.lineNumber,r)}}},e.prototype._tokenizeOneLine=function(e,t){if(!this.hasLinesToTokenize(e))return e.getLineCount()+1;var n=this._invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t,n),n},e.prototype._tokenizeText=function(e,t,n){var i=null;if(this.tokenizationSupport)try{i=this.tokenizationSupport.tokenize2(t,n,0)}catch(o){s.onUnexpectedError(o)}return i||(i=u.nullTokenize2(this.languageIdentifier.id,t,n,0)),i},e.prototype._updateTokensUntilLine=function(e,t,n){if(!this.tokenizationSupport)return void(this._invalidLineStartIndex=e.getLineCount());for(var i=e.getLineCount(),o=n-1,r=this._invalidLineStartIndex;o>=r;r++){var a=r+1,l=e.getLineContent(r+1),h=this._getState(r),d=null;try{var _=h.clone();d=this.tokenizationSupport.tokenize2(l,_,0)}catch(k){s.onUnexpectedError(k)}if(d||(d=u.nullTokenize2(this.languageIdentifier.id,l,h,0)),this._setTokens(this.languageIdentifier.id,r,l.length,d.tokens),t.registerChangedTokens(r+1),this._setIsInvalid(r,!1),i>a){var f=this._getState(a);if(null!==f&&d.endState.equals(f)){for(var p=r+1;i>p&&!this._isInvalid(p);){if(i>p+1){if(null===this._getState(p+1))break}else if(null===this._lastState)break;p++}this._invalidLineStartIndex=Math.max(this._invalidLineStartIndex,p),r=p-1}else this._setState(a,d.endState)}else this._lastState=d.endState}this._invalidLineStartIndex=Math.max(this._invalidLineStartIndex,o+1)},e}();t.ModelLinesTokens=_;var k=function(){function e(){this._ranges=[]}return e.prototype.registerChangedTokens=function(e){var t=this._ranges,n=t.length,i=n>0?t[n-1]:null;i&&i.toLineNumber===e-1?i.toLineNumber++:t[n]={fromLineNumber:e,toLineNumber:e}},e.prototype.build=function(){return 0===this._ranges.length?null:{tokenizationSupportChanged:!1,ranges:this._ranges}},e}();t.ModelTokensChangedEventBuilder=k});
;/*!node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/model/textModel",function(e,t){"use strict";function n(){return new y.PieceTreeTextBufferBuilder}function i(e){var t=n();return t.acceptChunk(e),t.finish()}function o(e,t){var n="string"==typeof e?i(e):e;return n.create(t)}function r(e){var t=26;return e%=2*t,String.fromCharCode(t>e?97+e:65+e-t)}function s(e){return e.replace(/[^a-z0-9\-_]/gi," ")}function a(e){return e instanceof U?e:U.createDynamic(e)}Object.defineProperty(t,"__esModule",{value:!0});var u=e("node_modules/tslib/tslib"),d=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),h=e("node_modules/monaco-editor/esm/vs/base/common/errors"),l=e("node_modules/monaco-editor/esm/vs/base/common/event"),f=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),g=e("node_modules/monaco-editor/esm/vs/base/common/stopwatch"),c=u.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),p=e("node_modules/monaco-editor/esm/vs/base/common/uri"),_=e("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),v=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),L=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),C=u.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/model")),b=e("node_modules/monaco-editor/esm/vs/editor/common/model/editStack"),D=e("node_modules/monaco-editor/esm/vs/editor/common/model/indentationGuesser"),k=e("node_modules/monaco-editor/esm/vs/editor/common/model/intervalTree"),y=e("node_modules/monaco-editor/esm/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder"),T=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModelEvents"),I=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch"),E=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModelTokens"),N=e("node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper"),w=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),S=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),O=e("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode"),R=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports"),M=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets"),A=e("node_modules/monaco-editor/esm/vs/base/common/types"),x=2048;t.createTextBufferFactory=i,t.createTextBuffer=o;var z=0,B=999;t.LONG_LINE_BOUNDARY=1e4;var F=function(){throw new Error("Invalid change accessor")},P=function(e){function n(t,i,s,a){void 0===a&&(a=null);var u=e.call(this)||this;u._onWillDispose=u._register(new l.Emitter),u.onWillDispose=u._onWillDispose.event,u._onDidChangeDecorations=u._register(new G),u.onDidChangeDecorations=u._onDidChangeDecorations.event,u._onDidChangeLanguage=u._register(new l.Emitter),u.onDidChangeLanguage=u._onDidChangeLanguage.event,u._onDidChangeLanguageConfiguration=u._register(new l.Emitter),u.onDidChangeLanguageConfiguration=u._onDidChangeLanguageConfiguration.event,u._onDidChangeTokens=u._register(new l.Emitter),u.onDidChangeTokens=u._onDidChangeTokens.event,u._onDidChangeOptions=u._register(new l.Emitter),u.onDidChangeOptions=u._onDidChangeOptions.event,u._eventEmitter=u._register(new j),z++,u.id="$model"+z,u.isForSimpleWidget=i.isForSimpleWidget,u._associatedResource="undefined"==typeof a||null===a?p.URI.parse("inmemory://model/"+z):a,u._attachedEditorCount=0,u._buffer=o(t,i.defaultEOL),u._options=n.resolveOptions(u._buffer,i);var d=u._buffer.getLineCount(),h=u._buffer.getValueLengthInRange(new v.Range(1,1,d,u._buffer.getLineLength(d)+1),0);return u._isTooLargeForTokenization=i.largeFileOptimizations?h>n.LARGE_FILE_SIZE_THRESHOLD||d>n.LARGE_FILE_LINE_COUNT_THRESHOLD:!1,u._isTooLargeForSyncing=h>n.MODEL_SYNC_LIMIT,u._setVersionId(1),u._isDisposed=!1,u._isDisposing=!1,u._languageIdentifier=s||O.NULL_LANGUAGE_IDENTIFIER,u._tokenizationListener=w.TokenizationRegistry.onDidChange(function(e){-1!==e.changedLanguages.indexOf(u._languageIdentifier.language)&&(u._resetTokenizationState(),u.emitModelTokensChangedEvent({tokenizationSupportChanged:!0,ranges:[{fromLineNumber:1,toLineNumber:u.getLineCount()}]}),u._shouldAutoTokenize()&&u._warmUpTokens())}),u._revalidateTokensTimeout=-1,u._languageRegistryListener=S.LanguageConfigurationRegistry.onDidChange(function(e){e.languageIdentifier.id===u._languageIdentifier.id&&u._onDidChangeLanguageConfiguration.fire({})}),u._resetTokenizationState(),u._instanceId=r(z),u._lastDecorationId=0,u._decorations=Object.create(null),u._decorationsTree=new V,u._commandManager=new b.EditStack(u),u._isUndoing=!1,u._isRedoing=!1,u._trimAutoWhitespaceLines=null,u}return d(n,e),n.createFromString=function(e,t,i,o){return void 0===t&&(t=n.DEFAULT_CREATION_OPTIONS),void 0===i&&(i=null),void 0===o&&(o=null),new n(e,t,i,o)},n.resolveOptions=function(e,t){if(t.detectIndentation){var n=D.guessIndentation(e,t.tabSize,t.insertSpaces);return new C.TextModelResolvedOptions({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new C.TextModelResolvedOptions({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},n.prototype.onDidChangeRawContentFast=function(e){return this._eventEmitter.fastEvent(function(t){return e(t.rawContentChangedEvent)})},n.prototype.onDidChangeRawContent=function(e){return this._eventEmitter.slowEvent(function(t){return e(t.rawContentChangedEvent)})},n.prototype.onDidChangeContent=function(e){return this._eventEmitter.slowEvent(function(t){return e(t.contentChangedEvent)})},n.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._tokenizationListener.dispose(),this._languageRegistryListener.dispose(),this._clearTimers(),this._isDisposed=!0,e.prototype.dispose.call(this),this._isDisposing=!1},n.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},n.prototype._emitContentChangedEvent=function(e,t){this._isDisposing||this._eventEmitter.fire(new T.InternalModelContentChangeEvent(e,t))},n.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=o(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},n.prototype._createContentChanged2=function(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}},n.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._resetTokenizationState(),this._decorations=Object.create(null),this._decorationsTree=new V,this._commandManager=new b.EditStack(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new T.ModelRawContentChangedEvent([new T.ModelRawFlush],this._versionId,!1,!1),this._createContentChanged2(new v.Range(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}},n.prototype.setEOL=function(e){this._assertNotDisposed();var t=1===e?"\r\n":"\n";if(this._buffer.getEOL()!==t){var n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new T.ModelRawContentChangedEvent([new T.ModelRawEOLChanged],this._versionId,!1,!1),this._createContentChanged2(new v.Range(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}},n.prototype._onBeforeEOLChange=function(){var e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)},n.prototype._onAfterEOLChange=function(){for(var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder(),n=0,i=t.length;i>n;n++){var o=t[n],r=o.cachedAbsoluteStart-o.start,s=this._buffer.getOffsetAt(o.range.startLineNumber,o.range.startColumn),a=this._buffer.getOffsetAt(o.range.endLineNumber,o.range.endColumn);o.cachedAbsoluteStart=s,o.cachedAbsoluteEnd=a,o.cachedVersionId=e,o.start=s-r,o.end=a-r,k.recomputeMaxEnd(o)}},n.prototype._resetTokenizationState=function(){this._clearTimers();var e=this._isTooLargeForTokenization?null:w.TokenizationRegistry.get(this._languageIdentifier.language);this._tokens=new E.ModelLinesTokens(this._languageIdentifier,e),this._beginBackgroundTokenization()},n.prototype._clearTimers=function(){-1!==this._revalidateTokensTimeout&&(clearTimeout(this._revalidateTokensTimeout),this._revalidateTokensTimeout=-1)},n.prototype.onBeforeAttached=function(){this._attachedEditorCount++,this._warmUpTokens()},n.prototype.onBeforeDetached=function(){this._attachedEditorCount--},n.prototype._shouldAutoTokenize=function(){return this.isAttachedToEditor()},n.prototype.isAttachedToEditor=function(){return this._attachedEditorCount>0},n.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},n.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},n.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},n.prototype.isDisposed=function(){return this._isDisposed},n.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var e=0,n=0,i=this._buffer.getLineCount(),o=1;i>=o;o++){var r=this._buffer.getLineLength(o);r>=t.LONG_LINE_BOUNDARY?n+=r:e+=r}return n>e},Object.defineProperty(n.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),n.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},n.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},n.prototype.updateOptions=function(e){this._assertNotDisposed();var t="undefined"!=typeof e.tabSize?e.tabSize:this._options.tabSize,n="undefined"!=typeof e.indentSize?e.indentSize:this._options.indentSize,i="undefined"!=typeof e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o="undefined"!=typeof e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new C.TextModelResolvedOptions({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(!this._options.equals(r)){var s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}},n.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=D.guessIndentation(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},n._normalizeIndentationFromWhitespace=function(e,t,n){for(var i=0,o=0;o<e.length;o++)" "===e.charAt(o)?i+=t:i++;var r="";if(!n){var s=Math.floor(i/t);i%=t;for(var o=0;s>o;o++)r+=" "}for(var o=0;i>o;o++)r+=" ";return r},n.normalizeIndentation=function(e,t,i){var o=c.firstNonWhitespaceIndex(e);return-1===o&&(o=e.length),n._normalizeIndentationFromWhitespace(e.substring(0,o),t,i)+e.substring(o)},n.prototype.normalizeIndentation=function(e){return this._assertNotDisposed(),n.normalizeIndentation(e,this._options.indentSize,this._options.insertSpaces)},n.prototype.getVersionId=function(){return this._assertNotDisposed(),this._versionId},n.prototype.mightContainRTL=function(){return this._buffer.mightContainRTL()},n.prototype.mightContainNonBasicASCII=function(){return this._buffer.mightContainNonBasicASCII()},n.prototype.getAlternativeVersionId=function(){return this._assertNotDisposed(),this._alternativeVersionId},n.prototype.getOffsetAt=function(e){this._assertNotDisposed();var t=this._validatePosition(e.lineNumber,e.column,!1);return this._buffer.getOffsetAt(t.lineNumber,t.column)},n.prototype.getPositionAt=function(e){this._assertNotDisposed();var t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)},n.prototype._increaseVersionId=function(){this._setVersionId(this._versionId+1)},n.prototype._setVersionId=function(e){this._versionId=e,this._alternativeVersionId=this._versionId},n.prototype._overwriteAlternativeVersionId=function(e){this._alternativeVersionId=e},n.prototype.getValue=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),i=this.getValueInRange(n,e);return t?this._buffer.getBOM()+i:i},n.prototype.getValueLength=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),i=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+i:i},n.prototype.getValueInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)},n.prototype.getValueLengthInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)},n.prototype.getLineCount=function(){return this._assertNotDisposed(),this._buffer.getLineCount()},n.prototype.getLineContent=function(e){if(this._assertNotDisposed(),1>e||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)},n.prototype.getLineLength=function(e){if(this._assertNotDisposed(),1>e||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)},n.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},n.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},n.prototype.getLineMinColumn=function(){return this._assertNotDisposed(),1},n.prototype.getLineMaxColumn=function(e){if(this._assertNotDisposed(),1>e||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1},n.prototype.getLineFirstNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),1>e||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)},n.prototype.getLineLastNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),1>e||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)},n.prototype._validateRangeRelaxedNoAllocations=function(e){var t,n,i=this._buffer.getLineCount(),o=e.startLineNumber,r=e.startColumn;if(1>o)t=1,n=1;else if(o>i)t=i,n=this.getLineMaxColumn(t);else if(t=0|o,1>=r)n=1;else{var s=this.getLineMaxColumn(t);n=r>=s?s:0|r}var a,u,d=e.endLineNumber,h=e.endColumn;if(1>d)a=1,u=1;else if(d>i)a=i,u=this.getLineMaxColumn(a);else if(a=0|d,1>=h)u=1;else{var s=this.getLineMaxColumn(a);u=h>=s?s:0|h}return o===t&&r===n&&d===a&&h===u&&e instanceof v.Range&&!(e instanceof L.Selection)?e:new v.Range(t,n,a,u)},n.prototype._isValidPosition=function(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(1>e||1>t)return!1;if((0|e)!==e||(0|t)!==t)return!1;var i=this._buffer.getLineCount();if(e>i)return!1;var o=this.getLineMaxColumn(e);if(t>o)return!1;if(n&&t>1){var r=this._buffer.getLineCharCode(e,t-2);if(c.isHighSurrogate(r))return!1}return!0},n.prototype._validatePosition=function(e,t,n){var i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(1>i)return new m.Position(1,1);if(i>r)return new m.Position(r,this.getLineMaxColumn(r));if(1>=o)return new m.Position(i,1);var s=this.getLineMaxColumn(i);if(o>=s)return new m.Position(i,s);if(n){var a=this._buffer.getLineCharCode(i,o-2);if(c.isHighSurrogate(a))return new m.Position(i,o-1)}return new m.Position(i,o)},n.prototype.validatePosition=function(e){return this._assertNotDisposed(),e instanceof m.Position&&this._isValidPosition(e.lineNumber,e.column,!0)?e:this._validatePosition(e.lineNumber,e.column,!0)},n.prototype._isValidRange=function(e,t){var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,!1))return!1;if(!this._isValidPosition(o,r,!1))return!1;if(t){var s=i>1?this._buffer.getLineCharCode(n,i-2):0,a=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,u=c.isHighSurrogate(s),d=c.isHighSurrogate(a);return u||d?!1:!0}return!0},n.prototype.validateRange=function(e){if(this._assertNotDisposed(),e instanceof v.Range&&!(e instanceof L.Selection)&&this._isValidRange(e,!0))return e;var t=this._validatePosition(e.startLineNumber,e.startColumn,!1),n=this._validatePosition(e.endLineNumber,e.endColumn,!1),i=t.lineNumber,o=t.column,r=n.lineNumber,s=n.column,a=o>1?this._buffer.getLineCharCode(i,o-2):0,u=s>1&&s<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,s-2):0,d=c.isHighSurrogate(a),h=c.isHighSurrogate(u);return d||h?i===r&&o===s?new v.Range(i,o-1,r,s-1):d&&h?new v.Range(i,o-1,r,s+1):d?new v.Range(i,o-1,r,s):new v.Range(i,o,r,s+1):new v.Range(i,o,r,s)},n.prototype.modifyPosition=function(e,t){this._assertNotDisposed();var n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))},n.prototype.getFullModelRange=function(){this._assertNotDisposed();var e=this.getLineCount();return new v.Range(1,1,e,this.getLineMaxColumn(e))},n.prototype.findMatchesLineByLine=function(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)},n.prototype.findMatches=function(e,t,n,i,o,r,s){void 0===s&&(s=B),this._assertNotDisposed();var a;if(a=v.Range.isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var u=new I.SearchParams(e,n,i,o),d=u.parseSearchRequest();return d?this.findMatchesLineByLine(a,d,r,s):[]}return I.TextModelSearch.findMatches(this,new I.SearchParams(e,n,i,o),a,r,s)},n.prototype.findNextMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var a=new I.SearchParams(e,n,i,o),u=a.parseSearchRequest();if(!u)return null;var d=this.getLineCount(),h=new v.Range(s.lineNumber,s.column,d,this.getLineMaxColumn(d)),l=this.findMatchesLineByLine(h,u,r,1);return I.TextModelSearch.findNextMatch(this,new I.SearchParams(e,n,i,o),s,r),l.length>0?l[0]:(h=new v.Range(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),l=this.findMatchesLineByLine(h,u,r,1),l.length>0?l[0]:null)}return I.TextModelSearch.findNextMatch(this,new I.SearchParams(e,n,i,o),s,r)},n.prototype.findPreviousMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);return I.TextModelSearch.findPreviousMatch(this,new I.SearchParams(e,n,i,o),s,r)},n.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},n.prototype.pushEOL=function(e){var t="\n"===this.getEOL()?0:1;if(t!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},n.prototype.pushEditOperations=function(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,t,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},n.prototype._pushEditOperations=function(e,t,n){var i=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var o=t.map(function(e){return{range:i.validateRange(e.range),text:e.text}}),r=!0,s=0,a=e.length;a>s;s++){for(var u=e[s],d=!1,h=0,l=o.length;l>h;h++){var f=o[h].range,g=f.startLineNumber>u.endLineNumber,c=u.startLineNumber>f.endLineNumber;if(!g&&!c){d=!0;break}}if(!d){r=!1;break}}if(r)for(var s=0,a=this._trimAutoWhitespaceLines.length;a>s;s++){for(var p=this._trimAutoWhitespaceLines[s],_=this.getLineMaxColumn(p),m=!0,h=0,l=o.length;l>h;h++){var f=o[h].range,L=o[h].text;if(!(p<f.startLineNumber||p>f.endLineNumber||p===f.startLineNumber&&f.startColumn===_&&f.isEmpty()&&L&&L.length>0&&"\n"===L.charAt(0)||p===f.startLineNumber&&1===f.startColumn&&f.isEmpty()&&L&&L.length>0&&"\n"===L.charAt(L.length-1))){m=!1;break}}m&&t.push({range:new v.Range(p,1,p,_),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(e,t,n)},n.prototype.applyEdits=function(e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},n._eolCount=function(e){for(var t=0,n=0,i=0,o=e.length;o>i;i++){var r=e.charCodeAt(i);13===r?(0===t&&(n=i),t++,o>i+1&&10===e.charCodeAt(i+1)&&i++):10===r&&(0===t&&(n=i),t++)}return 0===t&&(n=e.length),[t,n]},n.prototype._applyEdits=function(e){for(var t=0,i=e.length;i>t;t++)e[t].range=this.validateRange(e[t].range);var o=this._buffer.getLineCount(),r=this._buffer.applyEdits(e,this._options.trimAutoWhitespace),s=this._buffer.getLineCount(),a=r.changes;if(this._trimAutoWhitespaceLines=r.trimAutoWhitespaceLineNumbers,0!==a.length){for(var u=[],d=o,t=0,i=a.length;i>t;t++){var h=a[t],l=n._eolCount(h.text),f=l[0],g=l[1];try{this._tokens.applyEdits(h.range,f,g)}catch(c){this._tokens=new E.ModelLinesTokens(this._tokens.languageIdentifier,this._tokens.tokenizationSupport)}this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(h.rangeOffset,h.rangeLength,h.text.length,h.forceMoveMarkers);for(var p=h.range.startLineNumber,_=h.range.endLineNumber,m=_-p,v=f,L=Math.min(m,v),C=v-m,b=L;b>=0;b--){var D=p+b,k=s-d-C+D;u.push(new T.ModelRawLineChanged(D,this.getLineContent(k)))}if(m>L){var y=p+L;u.push(new T.ModelRawLinesDeleted(y+1,_))}if(v>L){for(var I=p+L,N=v-L,w=s-d-N+I+1,S=[],O=0;N>O;O++){var R=w+O;S[R-w]=this.getLineContent(R)}u.push(new T.ModelRawLinesInserted(I+1,p+v,S))}d+=C}this._increaseVersionId(),this._emitContentChangedEvent(new T.ModelRawContentChangedEvent(u,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:a,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return this._tokens.hasLinesToTokenize(this._buffer)&&this._beginBackgroundTokenization(),r.reverseEdits},n.prototype._undo=function(){this._isUndoing=!0;var e=this._commandManager.undo();return this._isUndoing=!1,e?(this._overwriteAlternativeVersionId(e.recordedVersionId),e.selections):null},n.prototype.undo=function(){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._undo()}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},n.prototype.canUndo=function(){return this._commandManager.canUndo()},n.prototype._redo=function(){this._isRedoing=!0;var e=this._commandManager.redo();return this._isRedoing=!1,e?(this._overwriteAlternativeVersionId(e.recordedVersionId),e.selections):null},n.prototype.redo=function(){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._redo()}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},n.prototype.canRedo=function(){return this._commandManager.canRedo()},n.prototype.changeDecorations=function(e,t){void 0===t&&(t=0),this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}},n.prototype._changeDecorations=function(e,t){var n=this,i={addDecoration:function(t,i){return n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0]},changeDecoration:function(e,t){n._onDidChangeDecorations.fire(),n._changeDecorationImpl(e,t)},changeDecorationOptions:function(e,t){n._onDidChangeDecorations.fire(),n._changeDecorationOptionsImpl(e,a(t))},removeDecoration:function(t){n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,[t],[])},deltaDecorations:function(t,i){return 0===t.length&&0===i.length?[]:(n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,t,i))}},o=null;try{o=t(i)}catch(r){h.onUnexpectedError(r)}return i.addDecoration=F,i.changeDecoration=F,i.changeDecorationOptions=F,i.removeDecoration=F,i.deltaDecorations=F,o},n.prototype.deltaDecorations=function(e,t,n){if(void 0===n&&(n=0),this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}},n.prototype._getTrackedRange=function(e){return this.getDecorationRange(e)},n.prototype._setTrackedRange=function(e,t,n){var i=e?this._decorations[e]:null;if(!i)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:H[n]}])[0]:null;if(!t)return this._decorationsTree.delete(i),delete this._decorations[i.id],null;var o=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),s=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);return this._decorationsTree.delete(i),i.reset(this.getVersionId(),r,s,o),i.setOptions(H[n]),this._decorationsTree.insert(i),i.id},n.prototype.removeAllDecorationsWithOwnerId=function(e){if(!this._isDisposed)for(var t=this._decorationsTree.collectNodesFromOwner(e),n=0,i=t.length;i>n;n++){var o=t[n];this._decorationsTree.delete(o),delete this._decorations[o.id]}},n.prototype.getDecorationOptions=function(e){var t=this._decorations[e];return t?t.options:null},n.prototype.getDecorationRange=function(e){var t=this._decorations[e];if(!t)return null;var n=this.getVersionId();return t.cachedVersionId!==n&&this._decorationsTree.resolveNode(t,n),null===t.range&&(t.range=this._getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range},n.prototype.getLineDecorations=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=!1),1>e||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)},n.prototype.getLinesDecorations=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new v.Range(r,1,s,a),n,i)},n.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)},n.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)},n.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)},n.prototype._getDecorationsInRange=function(e,t,n){var i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)},n.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;n>t;t++){var i=e[t];null===i.range&&(i.range=this._getRangeAt(i.cachedAbsoluteStart,i.cachedAbsoluteEnd))}return e},n.prototype._getRangeAt=function(e,t){return this._buffer.getRangeAt(e,t-e)},n.prototype._changeDecorationImpl=function(e,t){var n=this._decorations[e];if(n){var i=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),r=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,r,i),this._decorationsTree.insert(n)}},n.prototype._changeDecorationOptionsImpl=function(e,t){var n=this._decorations[e];if(n){var i=n.options.overviewRuler&&n.options.overviewRuler.color?!0:!1,o=t.overviewRuler&&t.overviewRuler.color?!0:!1;i!==o?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t)}},n.prototype._deltaDecorationsImpl=function(e,t,n){for(var i=this.getVersionId(),o=t.length,r=0,s=n.length,u=0,d=new Array(s);o>r||s>u;){var h=null;if(o>r){do h=this._decorations[t[r++]];while(!h&&o>r);h&&this._decorationsTree.delete(h)}if(s>u){if(!h){var l=++this._lastDecorationId,f=this._instanceId+";"+l;h=new k.IntervalNode(f,0,0),this._decorations[f]=h}var g=n[u],c=this._validateRangeRelaxedNoAllocations(g.range),p=a(g.options),_=this._buffer.getOffsetAt(c.startLineNumber,c.startColumn),m=this._buffer.getOffsetAt(c.endLineNumber,c.endColumn);h.ownerId=e,h.reset(i,_,m,c),h.setOptions(p),this._decorationsTree.insert(h),d[u]=h.id,u++}else h&&delete this._decorations[h.id]}return d},n.prototype.tokenizeViewport=function(e,t){if(this._tokens.tokenizationSupport&&(e=Math.max(1,e),t=Math.min(this.getLineCount(),t),!(t<=this._tokens.inValidLineStartIndex))){if(e<=this._tokens.inValidLineStartIndex)return void this.forceTokenization(t);for(var n=this.getLineFirstNonWhitespaceColumn(e),i=[],o=null,r=e-1;n>0&&r>=1;r--){var s=this.getLineFirstNonWhitespaceColumn(r);if(0!==s&&n>s){if(o=this._tokens._getState(r-1))break;i.push(this.getLineContent(r)),n=s}}o||(o=this._tokens.tokenizationSupport.getInitialState());for(var a=o.clone(),r=i.length-1;r>=0;r--){var u=this._tokens._tokenizeText(this._buffer,i[r],a);a=u?u.endState.clone():o.clone()}for(var d=new E.ModelTokensChangedEventBuilder,r=e;t>=r;r++){var h=this.getLineContent(r),u=this._tokens._tokenizeText(this._buffer,h,a);u?(this._tokens._setTokens(this._tokens.languageIdentifier.id,r-1,h.length,u.tokens),this._tokens._setIsInvalid(r-1,!0),this._tokens._setState(r-1,a),a=u.endState.clone(),d.registerChangedTokens(r)):a=o.clone()}var l=d.build();l&&this._onDidChangeTokens.fire(l)}},n.prototype.flushTokens=function(){this._resetTokenizationState(),this.emitModelTokensChangedEvent({tokenizationSupportChanged:!1,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})},n.prototype.forceTokenization=function(e){if(1>e||e>this.getLineCount())throw new Error("Illegal value for lineNumber");var t=new E.ModelTokensChangedEventBuilder;this._tokens._updateTokensUntilLine(this._buffer,t,e);var n=t.build();n&&this._onDidChangeTokens.fire(n)},n.prototype.isCheapToTokenize=function(e){return this._tokens.isCheapToTokenize(e)?e<this._tokens.inValidLineStartIndex+1?!0:this.getLineLength(e)<x?!0:!1:!1},n.prototype.tokenizeIfCheap=function(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)},n.prototype.getLineTokens=function(e){if(1>e||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)},n.prototype._getLineTokens=function(e){var t=this._buffer.getLineContent(e);return this._tokens.getTokens(this._languageIdentifier.id,e-1,t)},n.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},n.prototype.getModeId=function(){return this._languageIdentifier.language},n.prototype.setMode=function(e){if(this._languageIdentifier.id!==e.id){var t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._resetTokenizationState(),this.emitModelTokensChangedEvent({tokenizationSupportChanged:!0,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]}),this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},n.prototype.getLanguageIdAtPosition=function(e,t){if(!this._tokens.tokenizationSupport)return this._languageIdentifier.id;var n=this.validatePosition({lineNumber:e,column:t}),i=n.lineNumber,o=n.column,r=this._getLineTokens(i);return r.getLanguageId(r.findTokenIndexAtOffset(o-1))},n.prototype._beginBackgroundTokenization=function(){var e=this;this._shouldAutoTokenize()&&-1===this._revalidateTokensTimeout&&(this._revalidateTokensTimeout=setTimeout(function(){e._revalidateTokensTimeout=-1,e._revalidateTokensNow()},0))},n.prototype._warmUpTokens=function(){var e=Math.min(100,this.getLineCount());
this._revalidateTokensNow(e),this._tokens.hasLinesToTokenize(this._buffer)&&this._beginBackgroundTokenization()},n.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._buffer.getLineCount());for(var t=20,n=new E.ModelTokensChangedEventBuilder,i=g.StopWatch.create(!1);this._tokens.hasLinesToTokenize(this._buffer)&&!(i.elapsed()>t);){var o=this._tokens._tokenizeOneLine(this._buffer,n);if(o>=e)break}this._tokens.hasLinesToTokenize(this._buffer)&&this._beginBackgroundTokenization();var r=n.build();r&&this._onDidChangeTokens.fire(r)},n.prototype.emitModelTokensChangedEvent=function(e){this._isDisposing||this._onDidChangeTokens.fire(e)},n.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var t=this.validatePosition(e),i=this.getLineContent(t.lineNumber),o=this._getLineTokens(t.lineNumber),r=o.findTokenIndexAtOffset(t.column-1),s=n._findLanguageBoundaries(o,r),a=s[0],u=s[1],d=N.getWordAtText(t.column,S.LanguageConfigurationRegistry.getWordDefinition(o.getLanguageId(r)),i.substring(a,u),a);if(d&&d.startColumn<=e.column&&e.column<=d.endColumn)return d;if(r>0&&a===t.column-1){var h=n._findLanguageBoundaries(o,r-1),l=h[0],f=h[1],g=N.getWordAtText(t.column,S.LanguageConfigurationRegistry.getWordDefinition(o.getLanguageId(r-1)),i.substring(l,f),l);if(g&&g.startColumn<=e.column&&e.column<=g.endColumn)return g}return null},n._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),i=0,o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);for(var r=e.getLineContent().length,o=t,s=e.getCount();s>o&&e.getLanguageId(o)===n;o++)r=e.getEndOffset(o);return[i,r]},n.prototype.getWordUntilPosition=function(e){var t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},n.prototype.findMatchingBracketUp=function(e,t){var n=e.toLowerCase(),i=this.validatePosition(t),o=this._getLineTokens(i.lineNumber),r=o.getLanguageId(o.findTokenIndexAtOffset(i.column-1)),s=S.LanguageConfigurationRegistry.getBracketsSupport(r);if(!s)return null;var a=s.textIsBracket[n];return a?this._findMatchingBracketUp(a,i):null},n.prototype.matchBracket=function(e){return this._matchBracket(this.validatePosition(e))},n.prototype._matchBracket=function(e){var t=e.lineNumber,n=this._getLineTokens(t),i=this._buffer.getLineContent(t),o=n.findTokenIndexAtOffset(e.column-1);if(0>o)return null;var r=S.LanguageConfigurationRegistry.getBracketsSupport(n.getLanguageId(o));if(r&&!R.ignoreBracketsInToken(n.getStandardTokenType(o))){for(var s=Math.max(n.getStartOffset(o),e.column-1-r.maxBracketLength),a=Math.min(n.getEndOffset(o),e.column-1+r.maxBracketLength),u=null;;){var d=M.BracketsUtils.findNextBracketInToken(r.forwardRegex,t,i,s,a);if(!d)break;if(d.startColumn<=e.column&&e.column<=d.endColumn){var h=i.substring(d.startColumn-1,d.endColumn-1);h=h.toLowerCase();var l=this._matchFoundBracket(d,r.textIsBracket[h],r.textIsOpenBracket[h]);l&&(u=l)}s=d.endColumn-1}if(u)return u}if(o>0&&n.getStartOffset(o)===e.column-1){var a=n.getStartOffset(o);o--;var f=S.LanguageConfigurationRegistry.getBracketsSupport(n.getLanguageId(o));if(f&&!R.ignoreBracketsInToken(n.getStandardTokenType(o))){var s=Math.max(n.getStartOffset(o),e.column-1-f.maxBracketLength),d=M.BracketsUtils.findPrevBracketInToken(f.reversedRegex,t,i,s,a);if(d&&d.startColumn<=e.column&&e.column<=d.endColumn){var h=i.substring(d.startColumn-1,d.endColumn-1);h=h.toLowerCase();var l=this._matchFoundBracket(d,f.textIsBracket[h],f.textIsOpenBracket[h]);if(l)return l}}}return null},n.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;if(n){var i=this._findMatchingBracketDown(t,e.getEndPosition());if(i)return[e,i]}else{var i=this._findMatchingBracketUp(t,e.getStartPosition());if(i)return[e,i]}return null},n.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,i=e.reversedRegex,o=-1,r=t.lineNumber;r>=1;r--){var s=this._getLineTokens(r),a=s.getCount(),u=this._buffer.getLineContent(r),d=a-1,h=-1;for(r===t.lineNumber&&(d=s.findTokenIndexAtOffset(t.column-1),h=t.column-1);d>=0;d--){var l=s.getLanguageId(d),f=s.getStandardTokenType(d),g=s.getStartOffset(d),c=s.getEndOffset(d);if(-1===h&&(h=c),l===n&&!R.ignoreBracketsInToken(f))for(;;){var p=M.BracketsUtils.findPrevBracketInToken(i,r,u,g,h);if(!p)break;var _=u.substring(p.startColumn-1,p.endColumn-1);if(_=_.toLowerCase(),_===e.open?o++:_===e.close&&o--,0===o)return p;h=p.startColumn-1}h=-1}}return null},n.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,i=e.forwardRegex,o=1,r=t.lineNumber,s=this.getLineCount();s>=r;r++){var a=this._getLineTokens(r),u=a.getCount(),d=this._buffer.getLineContent(r),h=0,l=0;for(r===t.lineNumber&&(h=a.findTokenIndexAtOffset(t.column-1),l=t.column-1);u>h;h++){var f=a.getLanguageId(h),g=a.getStandardTokenType(h),c=a.getStartOffset(h),p=a.getEndOffset(h);if(0===l&&(l=c),f===n&&!R.ignoreBracketsInToken(g))for(;;){var _=M.BracketsUtils.findNextBracketInToken(i,r,d,l,p);if(!_)break;var m=d.substring(_.startColumn-1,_.endColumn-1);if(m=m.toLowerCase(),m===e.open?o++:m===e.close&&o--,0===o)return _;l=_.endColumn-1}l=0}}return null},n.prototype.findPrevBracket=function(e){for(var t=this.validatePosition(e),n=-1,i=null,o=t.lineNumber;o>=1;o--){var r=this._getLineTokens(o),s=r.getCount(),a=this._buffer.getLineContent(o),u=s-1,d=-1;for(o===t.lineNumber&&(u=r.findTokenIndexAtOffset(t.column-1),d=t.column-1);u>=0;u--){var h=r.getLanguageId(u),l=r.getStandardTokenType(u),f=r.getStartOffset(u),g=r.getEndOffset(u);if(-1===d&&(d=g),n!==h&&(n=h,i=S.LanguageConfigurationRegistry.getBracketsSupport(n)),i&&!R.ignoreBracketsInToken(l)){var c=M.BracketsUtils.findPrevBracketInToken(i.reversedRegex,o,a,f,d);if(c)return this._toFoundBracket(i,c)}d=-1}}return null},n.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=-1,i=null,o=t.lineNumber,r=this.getLineCount();r>=o;o++){var s=this._getLineTokens(o),a=s.getCount(),u=this._buffer.getLineContent(o),d=0,h=0;for(o===t.lineNumber&&(d=s.findTokenIndexAtOffset(t.column-1),h=t.column-1);a>d;d++){var l=s.getLanguageId(d),f=s.getStandardTokenType(d),g=s.getStartOffset(d),c=s.getEndOffset(d);if(0===h&&(h=g),n!==l&&(n=l,i=S.LanguageConfigurationRegistry.getBracketsSupport(n)),i&&!R.ignoreBracketsInToken(f)){var p=M.BracketsUtils.findNextBracketInToken(i.forwardRegex,o,u,h,c);if(p)return this._toFoundBracket(i,p)}h=0}}return null},n.prototype._toFoundBracket=function(e,t){if(!t)return null;var n=this.getValueInRange(t);n=n.toLowerCase();var i=e.textIsBracket[n];return i?{range:t,open:i.open,close:i.close,isOpen:e.textIsOpenBracket[n]}:null},n.computeIndentLevel=function(e,t){for(var n=0,i=0,o=e.length;o>i;){var r=e.charCodeAt(i);if(32===r)n++;else{if(9!==r)break;n=n-n%t+t}i++}return i===o?-1:n},n.prototype._computeIndentLevel=function(e){return n.computeIndentLevel(this._buffer.getLineContent(e+1),this._options.tabSize)},n.prototype.getActiveIndentGuide=function(e,t,n){var i=this;this._assertNotDisposed();var o=this.getLineCount();if(1>e||e>o)throw new Error("Illegal value for lineNumber");for(var r=S.LanguageConfigurationRegistry.getFoldingRules(this._languageIdentifier.id),s=Boolean(r&&r.offSide),a=-2,u=-1,d=-2,h=-1,l=function(e){if(-1!==a&&(-2===a||a>e-1)){a=-1,u=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){a=t,u=n;break}}}if(-2===d){d=-1,h=-1;for(var t=e;o>t;t++){var r=i._computeIndentLevel(t);if(r>=0){d=t,h=r;break}}}},f=-2,g=-1,c=-2,p=-1,_=function(e){if(-2===f){f=-1,g=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){f=t,g=n;break}}}if(-1!==c&&(-2===c||e-1>c)){c=-1,p=-1;for(var t=e;o>t;t++){var r=i._computeIndentLevel(t);if(r>=0){c=t,p=r;break}}}},m=0,v=!0,L=0,C=!0,b=0,D=0;v||C;D++){var k=e-D,y=e+D;if(0!==D&&(1>k||t>k)&&(v=!1),0!==D&&(y>o||y>n)&&(C=!1),D>5e4&&(v=!1,C=!1),v){var T=void 0,I=this._computeIndentLevel(k-1);if(I>=0?(d=k-1,h=I,T=Math.ceil(I/this._options.indentSize)):(l(k),T=this._getIndentLevelForWhitespaceLine(s,u,h)),0===D){if(m=k,L=y,b=T,0===b)return{startLineNumber:m,endLineNumber:L,indent:b};continue}T>=b?m=k:v=!1}if(C){var E=void 0,I=this._computeIndentLevel(y-1);I>=0?(f=y-1,g=I,E=Math.ceil(I/this._options.indentSize)):(_(y),E=this._getIndentLevelForWhitespaceLine(s,g,p)),E>=b?L=y:C=!1}}return{startLineNumber:m,endLineNumber:L,indent:b}},n.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(1>e||e>n)throw new Error("Illegal value for startLineNumber");if(1>t||t>n)throw new Error("Illegal value for endLineNumber");for(var i=S.LanguageConfigurationRegistry.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide),r=new Array(t-e+1),s=-2,a=-1,u=-2,d=-1,h=e;t>=h;h++){var l=h-e,f=this._computeIndentLevel(h-1);if(f>=0)s=h-1,a=f,r[l]=Math.ceil(f/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(var g=h-2;g>=0;g--){var c=this._computeIndentLevel(g);if(c>=0){s=g,a=c;break}}}if(-1!==u&&(-2===u||h-1>u)){u=-1,d=-1;for(var g=h;n>g;g++){var c=this._computeIndentLevel(g);if(c>=0){u=g,d=c;break}}}r[l]=this._getIndentLevelForWhitespaceLine(o,a,d)}}return r},n.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:n>t?1+Math.floor(t/this._options.indentSize):t===n?Math.ceil(n/this._options.indentSize):e?Math.ceil(n/this._options.indentSize):1+Math.floor(n/this._options.indentSize)},n.MODEL_SYNC_LIMIT=52428800,n.LARGE_FILE_SIZE_THRESHOLD=20971520,n.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,n.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:_.EDITOR_MODEL_DEFAULTS.tabSize,indentSize:_.EDITOR_MODEL_DEFAULTS.indentSize,insertSpaces:_.EDITOR_MODEL_DEFAULTS.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:_.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace,largeFileOptimizations:_.EDITOR_MODEL_DEFAULTS.largeFileOptimizations},n}(f.Disposable);t.TextModel=P;var V=function(){function e(){this._decorationsTree0=new k.IntervalTree,this._decorationsTree1=new k.IntervalTree}return e.prototype.intervalSearch=function(e,t,n,i,o){var r=this._decorationsTree0.intervalSearch(e,t,n,i,o),s=this._decorationsTree1.intervalSearch(e,t,n,i,o);return r.concat(s)},e.prototype.search=function(e,t,n,i){if(n)return this._decorationsTree1.search(e,t,i);var o=this._decorationsTree0.search(e,t,i),r=this._decorationsTree1.search(e,t,i);return o.concat(r)},e.prototype.collectNodesFromOwner=function(e){var t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e);return t.concat(n)},e.prototype.collectNodesPostOrder=function(){var e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder();return e.concat(t)},e.prototype.insert=function(e){k.getNodeIsInOverviewRuler(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)},e.prototype.delete=function(e){k.getNodeIsInOverviewRuler(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)},e.prototype.resolveNode=function(e,t){k.getNodeIsInOverviewRuler(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)},e.prototype.acceptReplace=function(e,t,n,i){this._decorationsTree0.acceptReplace(e,t,n,i),this._decorationsTree1.acceptReplace(e,t,n,i)},e}(),W=function(){function e(e){this.color=e.color||c.empty,this.darkColor=e.darkColor||c.empty,this.position="number"==typeof e.position?e.position:C.OverviewRulerLane.Center,this._resolvedColor=null}return e.prototype.getColor=function(e){return this._resolvedColor||(this._resolvedColor="light"!==e.type&&this.darkColor?this._resolveColor(this.darkColor,e):this._resolveColor(this.color,e)),this._resolvedColor},e.prototype.invalidateCachedColor=function(){this._resolvedColor=null},e.prototype._resolveColor=function(e,t){if("string"==typeof e)return e;var n=e?t.getColor(e.id):null;return n?n.toString():c.empty},e}();t.ModelDecorationOverviewRulerOptions=W;var U=function(){function e(e){this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?s(e.className):null,this.hoverMessage=A.withUndefinedAsNull(e.hoverMessage),this.glyphMarginHoverMessage=A.withUndefinedAsNull(e.glyphMarginHoverMessage),this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new W(e.overviewRuler):null,this.glyphMarginClassName=e.glyphMarginClassName?s(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?s(e.linesDecorationsClassName):null,this.marginClassName=e.marginClassName?s(e.marginClassName):null,this.inlineClassName=e.inlineClassName?s(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?s(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?s(e.afterContentClassName):null}return e.register=function(t){return new e(t)},e.createDynamic=function(t){return new e(t)},e}();t.ModelDecorationOptions=U,U.EMPTY=U.register({});var H=[U.register({stickiness:0}),U.register({stickiness:1}),U.register({stickiness:2}),U.register({stickiness:3})],G=function(e){function t(){var t=e.call(this)||this;return t._actual=t._register(new l.Emitter),t.event=t._actual.event,t._deferredCnt=0,t._shouldFire=!1,t}return d(t,e),t.prototype.beginDeferredEmit=function(){this._deferredCnt++},t.prototype.endDeferredEmit=function(){this._deferredCnt--,0===this._deferredCnt&&this._shouldFire&&(this._shouldFire=!1,this._actual.fire({}))},t.prototype.fire=function(){this._shouldFire=!0},t}(f.Disposable);t.DidChangeDecorationsEmitter=G;var j=function(e){function t(){var t=e.call(this)||this;return t._fastEmitter=t._register(new l.Emitter),t.fastEvent=t._fastEmitter.event,t._slowEmitter=t._register(new l.Emitter),t.slowEvent=t._slowEmitter.event,t._deferredCnt=0,t._deferredEvent=null,t}return d(t,e),t.prototype.beginDeferredEmit=function(){this._deferredCnt++},t.prototype.endDeferredEmit=function(){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){var e=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(e),this._slowEmitter.fire(e)}},t.prototype.fire=function(e){return this._deferredCnt>0?void(this._deferredEvent=this._deferredEvent?this._deferredEvent.merge(e):e):(this._fastEmitter.fire(e),void this._slowEmitter.fire(e))},t}(f.Disposable);t.DidChangeContentEmitter=j});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon",function(e,t){"use strict";function o(e){return"'"===e||'"'===e||"`"===e}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),r=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),u=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),l=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),c=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),d=function(){return!0},g=function(){return!1},h=function(e){return" "===e||" "===e},m=function(){function e(t,o,n){this._languageIdentifier=t;var i=n.editor;this.readOnly=i.readOnly,this.tabSize=o.tabSize,this.indentSize=o.indentSize,this.insertSpaces=o.insertSpaces,this.pageSize=Math.max(1,Math.floor(i.layoutInfo.height/i.fontInfo.lineHeight)-2),this.lineHeight=i.lineHeight,this.useTabStops=i.useTabStops,this.wordSeparators=i.wordSeparators,this.emptySelectionClipboard=i.emptySelectionClipboard,this.copyWithSyntaxHighlighting=i.copyWithSyntaxHighlighting,this.multiCursorMergeOverlapping=i.multiCursorMergeOverlapping,this.autoClosingBrackets=i.autoClosingBrackets,this.autoClosingQuotes=i.autoClosingQuotes,this.autoSurround=i.autoSurround,this.autoIndent=i.autoIndent,this.autoClosingPairsOpen={},this.autoClosingPairsClose={},this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:e._getShouldAutoClose(t,this.autoClosingQuotes),bracket:e._getShouldAutoClose(t,this.autoClosingBrackets)};var r=e._getAutoClosingPairs(t);if(r)for(var s=0,u=r;s<u.length;s++){var a=u[s];this.autoClosingPairsOpen[a.open]=a.close,this.autoClosingPairsClose[a.close]=a.open}var l=e._getSurroundingPairs(t);if(l)for(var c=0,d=l;c<d.length;c++){var a=d[c];this.surroundingPairs[a.open]=a.close}}return e.shouldRecreate=function(e){return e.layoutInfo||e.wordSeparators||e.emptySelectionClipboard||e.multiCursorMergeOverlapping||e.autoClosingBrackets||e.autoClosingQuotes||e.autoSurround||e.useTabStops||e.lineHeight||e.readOnly},Object.defineProperty(e.prototype,"electricChars",{get:function(){if(!this._electricChars){this._electricChars={};var t=e._getElectricCharacters(this._languageIdentifier);if(t)for(var o=0,n=t;o<n.length;o++){var i=n[o];this._electricChars[i]=!0}}return this._electricChars},enumerable:!0,configurable:!0}),e.prototype.normalizeIndentation=function(e){return l.TextModel.normalizeIndentation(e,this.indentSize,this.insertSpaces)},e._getElectricCharacters=function(e){try{return c.LanguageConfigurationRegistry.getElectricCharacters(e.id)}catch(t){return i.onUnexpectedError(t),null}},e._getAutoClosingPairs=function(e){try{return c.LanguageConfigurationRegistry.getAutoClosingPairs(e.id)}catch(t){return i.onUnexpectedError(t),null}},e._getShouldAutoClose=function(t,o){switch(o){case"beforeWhitespace":return h;case"languageDefined":return e._getLanguageDefinedShouldAutoClose(t);case"always":return d;case"never":return g}},e._getLanguageDefinedShouldAutoClose=function(e){try{var t=c.LanguageConfigurationRegistry.getAutoCloseBeforeSet(e.id);return function(e){return-1!==t.indexOf(e)}}catch(o){return i.onUnexpectedError(o),g}},e._getSurroundingPairs=function(e){try{return c.LanguageConfigurationRegistry.getSurroundingPairs(e.id)}catch(t){return i.onUnexpectedError(t),null}},e}();t.CursorConfiguration=m;var f=function(){function e(t,o,n,i){this.selectionStart=t,this.selectionStartLeftoverVisibleColumns=o,this.position=n,this.leftoverVisibleColumns=i,this.selection=e._computeSelection(this.selectionStart,this.position)}return e.prototype.equals=function(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)},e.prototype.hasSelection=function(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()},e.prototype.move=function(t,o,n,i){return t?new e(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new s.Position(o,n),i):new e(new u.Range(o,n,o,n),i,new s.Position(o,n),i)},e._computeSelection=function(e,t){var o,n,i,r;return e.isEmpty()?(o=e.startLineNumber,n=e.startColumn,i=t.lineNumber,r=t.column):t.isBeforeOrEqual(e.getStartPosition())?(o=e.endLineNumber,n=e.endColumn,i=t.lineNumber,r=t.column):(o=e.startLineNumber,n=e.startColumn,i=t.lineNumber,r=t.column),new a.Selection(o,n,i,r)},e}();t.SingleCursorState=f;var p=function(){function e(e,t,o){this.model=t,this.viewModel=o,this.config=new m(this.model.getLanguageIdentifier(),this.model.getOptions(),e)}return e.prototype.validateViewPosition=function(e,t){return this.viewModel.coordinatesConverter.validateViewPosition(e,t)},e.prototype.validateViewRange=function(e,t){return this.viewModel.coordinatesConverter.validateViewRange(e,t)},e.prototype.convertViewRangeToModelRange=function(e){return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},e.prototype.convertViewPositionToModelPosition=function(e,t){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new s.Position(e,t))},e.prototype.convertModelPositionToViewPosition=function(e){return this.viewModel.coordinatesConverter.convertModelPositionToViewPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this.viewModel.coordinatesConverter.convertModelRangeToViewRange(e)},e.prototype.getCurrentScrollTop=function(){return this.viewModel.viewLayout.getCurrentScrollTop()},e.prototype.getCompletelyVisibleViewRange=function(){return this.viewModel.getCompletelyVisibleViewRange()},e.prototype.getCompletelyVisibleModelRange=function(){var e=this.viewModel.getCompletelyVisibleViewRange();return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},e.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){return this.viewModel.getCompletelyVisibleViewRangeAtScrollTop(e)},e.prototype.getVerticalOffsetForViewLine=function(e){return this.viewModel.viewLayout.getVerticalOffsetForLineNumber(e)},e}();t.CursorContext=p;var C=function(){function e(e){this.modelState=e,this.viewState=null}return e}();t.PartialModelCursorState=C;var v=function(){function e(e){this.modelState=null,this.viewState=e}return e}();t.PartialViewCursorState=v;var S=function(){function e(e,t){this.modelState=e,this.viewState=t}return e.fromModelState=function(e){return new C(e)},e.fromViewState=function(e){return new v(e)},e.fromModelSelection=function(t){var o=t.selectionStartLineNumber,n=t.selectionStartColumn,i=t.positionLineNumber,r=t.positionColumn,a=new f(new u.Range(o,n,o,n),0,new s.Position(i,r),0);return e.fromModelState(a)},e.fromModelSelections=function(e){for(var t=[],o=0,n=e.length;n>o;o++)t[o]=this.fromModelSelection(e[o]);return t},e.prototype.equals=function(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)},e}();t.CursorState=S;var w=function(){function e(e,t,o){this.type=e,this.commands=t,this.shouldPushStackElementBefore=o.shouldPushStackElementBefore,this.shouldPushStackElementAfter=o.shouldPushStackElementAfter}return e}();t.EditOperationResult=w;var b=function(){function e(){}return e.isLowSurrogate=function(e,t,o){var n=e.getLineContent(t);return 0>o||o>=n.length?!1:r.isLowSurrogate(n.charCodeAt(o))},e.isHighSurrogate=function(e,t,o){var n=e.getLineContent(t);return 0>o||o>=n.length?!1:r.isHighSurrogate(n.charCodeAt(o))},e.isInsideSurrogatePair=function(e,t,o){return this.isHighSurrogate(e,t,o-2)},e.visibleColumnFromColumn=function(e,t,o){var n=e.length;n>t-1&&(n=t-1);for(var i=0,s=0;n>s;s++){var u=e.charCodeAt(s);9===u?i=this.nextRenderTabStop(i,o):i+=r.isFullWidthCharacter(u)?2:1}return i},e.visibleColumnFromColumn2=function(e,t,o){return this.visibleColumnFromColumn(t.getLineContent(o.lineNumber),o.column,e.tabSize)},e.columnFromVisibleColumn=function(e,t,o){if(0>=t)return 1;for(var n=e.length,i=0,s=0;n>s;s++){var u=e.charCodeAt(s),a=void 0;if(a=9===u?this.nextRenderTabStop(i,o):r.isFullWidthCharacter(u)?i+2:i+1,a>=t){var l=t-i,c=a-t;return l>c?s+2:s+1}i=a}return n+1},e.columnFromVisibleColumn2=function(e,t,o,n){var i=this.columnFromVisibleColumn(t.getLineContent(o),n,e.tabSize),r=t.getLineMinColumn(o);if(r>i)return r;var s=t.getLineMaxColumn(o);return i>s?s:i},e.nextRenderTabStop=function(e,t){return e+t-e%t},e.nextIndentTabStop=function(e,t){return e+t-e%t},e.prevRenderTabStop=function(e,t){return e-1-(e-1)%t},e.prevIndentTabStop=function(e,t){return e-1-(e-1)%t},e}();t.CursorColumns=b,t.isQuote=o});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursorColumnSelection.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorColumnSelection",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),t=o("node_modules/monaco-editor/esm/vs/editor/common/core/position"),i=o("node_modules/monaco-editor/esm/vs/editor/common/core/range"),u=function(){function o(){}return o._columnSelect=function(o,e,u,r,l,m){for(var c=Math.abs(l-u)+1,s=u>l,C=r>m,a=m>r,d=[],f=0;c>f;f++){var S=u+(s?-f:f),v=n.CursorColumns.columnFromVisibleColumn2(o,e,S,r),b=n.CursorColumns.columnFromVisibleColumn2(o,e,S,m),h=n.CursorColumns.visibleColumnFromColumn2(o,e,new t.Position(S,v)),g=n.CursorColumns.visibleColumnFromColumn2(o,e,new t.Position(S,b));if(a){if(h>m)continue;if(r>g)continue}if(C){if(g>r)continue;if(m>h)continue}d.push(new n.SingleCursorState(new i.Range(S,v,S,v),0,new t.Position(S,b),0))}return{viewStates:d,reversed:s,toLineNumber:l,toVisualColumn:m}},o.columnSelect=function(e,i,u,r,l){var m=new t.Position(u.selectionStartLineNumber,u.selectionStartColumn),c=n.CursorColumns.visibleColumnFromColumn2(e,i,m);return o._columnSelect(e,i,m.lineNumber,c,r,l)},o.columnSelectLeft=function(o,e,n,t,i){return i>1&&i--,this.columnSelect(o,e,n.selection,t,i)},o.columnSelectRight=function(o,e,i,u,r){for(var l=0,m=Math.min(i.position.lineNumber,u),c=Math.max(i.position.lineNumber,u),s=m;c>=s;s++){var C=e.getLineMaxColumn(s),a=n.CursorColumns.visibleColumnFromColumn2(o,e,new t.Position(s,C));l=Math.max(l,a)}return l>r&&r++,this.columnSelect(o,e,i.selection,u,r)},o.columnSelectUp=function(o,e,n,t,i,u){var r=t?o.pageSize:1;return i-=r,1>i&&(i=1),this.columnSelect(o,e,n.selection,i,u)},o.columnSelectDown=function(o,e,n,t,i,u){var r=t?o.pageSize:1;return i+=r,i>e.getLineCount()&&(i=e.getLineCount()),this.columnSelect(o,e,n.selection,i,u)},o}();e.ColumnSelection=u});
;/*!node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=t("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),i=function(){function t(t,e,n){void 0===n&&(n=!1),this._range=t,this._text=e,this.insertsAutoWhitespace=n}return t.prototype.getEditOperations=function(t,e){e.addTrackedEditOperation(this._range,this._text)},t.prototype.computeCursorState=function(t,e){var i=e.getInverseEditOperations(),o=i[0].range;return new n.Selection(o.endLineNumber,o.endColumn,o.endLineNumber,o.endColumn)},t}();e.ReplaceCommand=i;var o=function(){function t(t,e,n){void 0===n&&(n=!1),this._range=t,this._text=e,this.insertsAutoWhitespace=n}return t.prototype.getEditOperations=function(t,e){e.addTrackedEditOperation(this._range,this._text)},t.prototype.computeCursorState=function(t,e){var i=e.getInverseEditOperations(),o=i[0].range;return new n.Selection(o.startLineNumber,o.startColumn,o.startLineNumber,o.startColumn)},t}();e.ReplaceCommandWithoutChangingPosition=o;var r=function(){function t(t,e,n,i,o){void 0===o&&(o=!1),this._range=t,this._text=e,this._columnDeltaOffset=i,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=o}return t.prototype.getEditOperations=function(t,e){e.addTrackedEditOperation(this._range,this._text)},t.prototype.computeCursorState=function(t,e){var i=e.getInverseEditOperations(),o=i[0].range;return new n.Selection(o.endLineNumber+this._lineNumberDeltaOffset,o.endColumn+this._columnDeltaOffset,o.endLineNumber+this._lineNumberDeltaOffset,o.endColumn+this._columnDeltaOffset)},t}();e.ReplaceCommandWithOffsetCursorState=r;var s=function(){function t(t,e,n){this._range=t,this._text=e,this._initialSelection=n}return t.prototype.getEditOperations=function(t,e){e.addEditOperation(this._range,this._text),this._selectionId=e.trackSelection(this._initialSelection)},t.prototype.computeCursorState=function(t,e){return e.getTrackedSelection(this._selectionId)},t}();e.ReplaceCommandThatPreservesSelection=s});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursorMoveOperations.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorMoveOperations",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),t=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),r=function(){function e(e,n,o){this.lineNumber=e,this.column=n,this.leftoverVisibleColumns=o}return e}();n.CursorPosition=r;var u=function(){function e(){}return e.left=function(e,n,i,t){return t>n.getLineMinColumn(i)?t-=o.CursorColumns.isLowSurrogate(n,i,t-2)?2:1:i>1&&(i-=1,t=n.getLineMaxColumn(i)),new r(i,t,0)},e.moveLeft=function(n,o,i,t,r){var u,l;if(i.hasSelection()&&!t)u=i.selection.startLineNumber,l=i.selection.startColumn;else{var m=e.left(n,o,i.position.lineNumber,i.position.column-(r-1));u=m.lineNumber,l=m.column}return i.move(t,u,l,0)},e.right=function(e,n,i,t){return t<n.getLineMaxColumn(i)?t+=o.CursorColumns.isHighSurrogate(n,i,t-1)?2:1:i<n.getLineCount()&&(i+=1,t=n.getLineMinColumn(i)),new r(i,t,0)},e.moveRight=function(n,o,i,t,r){var u,l;if(i.hasSelection()&&!t)u=i.selection.endLineNumber,l=i.selection.endColumn;else{var m=e.right(n,o,i.position.lineNumber,i.position.column+(r-1));u=m.lineNumber,l=m.column}return i.move(t,u,l,0)},e.down=function(e,n,i,t,u,l,m){var s=o.CursorColumns.visibleColumnFromColumn(n.getLineContent(i),t,e.tabSize)+u;i+=l;var C=n.getLineCount();return i>C?(i=C,m?t=n.getLineMaxColumn(i):(t=Math.min(n.getLineMaxColumn(i),t),o.CursorColumns.isInsideSurrogatePair(n,i,t)&&(t-=1))):(t=o.CursorColumns.columnFromVisibleColumn2(e,n,i,s),o.CursorColumns.isInsideSurrogatePair(n,i,t)&&(t-=1)),u=s-o.CursorColumns.visibleColumnFromColumn(n.getLineContent(i),t,e.tabSize),new r(i,t,u)},e.moveDown=function(n,o,i,t,r){var u,l;i.hasSelection()&&!t?(u=i.selection.endLineNumber,l=i.selection.endColumn):(u=i.position.lineNumber,l=i.position.column);var m=e.down(n,o,u,l,i.leftoverVisibleColumns,r,!0);return i.move(t,m.lineNumber,m.column,m.leftoverVisibleColumns)},e.translateDown=function(n,r,u){var l=u.selection,m=e.down(n,r,l.selectionStartLineNumber,l.selectionStartColumn,u.selectionStartLeftoverVisibleColumns,1,!1),s=e.down(n,r,l.positionLineNumber,l.positionColumn,u.leftoverVisibleColumns,1,!1);return new o.SingleCursorState(new t.Range(m.lineNumber,m.column,m.lineNumber,m.column),m.leftoverVisibleColumns,new i.Position(s.lineNumber,s.column),s.leftoverVisibleColumns)},e.up=function(e,n,i,t,u,l,m){var s=o.CursorColumns.visibleColumnFromColumn(n.getLineContent(i),t,e.tabSize)+u;return i-=l,1>i?(i=1,m?t=n.getLineMinColumn(i):(t=Math.min(n.getLineMaxColumn(i),t),o.CursorColumns.isInsideSurrogatePair(n,i,t)&&(t-=1))):(t=o.CursorColumns.columnFromVisibleColumn2(e,n,i,s),o.CursorColumns.isInsideSurrogatePair(n,i,t)&&(t-=1)),u=s-o.CursorColumns.visibleColumnFromColumn(n.getLineContent(i),t,e.tabSize),new r(i,t,u)},e.moveUp=function(n,o,i,t,r){var u,l;i.hasSelection()&&!t?(u=i.selection.startLineNumber,l=i.selection.startColumn):(u=i.position.lineNumber,l=i.position.column);var m=e.up(n,o,u,l,i.leftoverVisibleColumns,r,!0);return i.move(t,m.lineNumber,m.column,m.leftoverVisibleColumns)},e.translateUp=function(n,r,u){var l=u.selection,m=e.up(n,r,l.selectionStartLineNumber,l.selectionStartColumn,u.selectionStartLeftoverVisibleColumns,1,!1),s=e.up(n,r,l.positionLineNumber,l.positionColumn,u.leftoverVisibleColumns,1,!1);return new o.SingleCursorState(new t.Range(m.lineNumber,m.column,m.lineNumber,m.column),m.leftoverVisibleColumns,new i.Position(s.lineNumber,s.column),s.leftoverVisibleColumns)},e.moveToBeginningOfLine=function(e,n,o,i){var t,r=o.position.lineNumber,u=n.getLineMinColumn(r),l=n.getLineFirstNonWhitespaceColumn(r)||u,m=o.position.column;return t=m===l?u:l,o.move(i,r,t,0)},e.moveToEndOfLine=function(e,n,o,i){var t=o.position.lineNumber,r=n.getLineMaxColumn(t);return o.move(i,t,r,0)},e.moveToBeginningOfBuffer=function(e,n,o,i){return o.move(i,1,1,0)},e.moveToEndOfBuffer=function(e,n,o,i){var t=n.getLineCount(),r=n.getLineMaxColumn(t);return o.move(i,t,r,0)},e}();n.MoveOperations=u});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursorDeleteOperations.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorDeleteOperations",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),r=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),i=e("node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand"),t=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),l=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorMoveOperations"),u=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=function(){function e(){}return e.deleteRight=function(e,n,o,r){for(var t=[],m=3!==e,s=0,a=r.length;a>s;s++){var c=r[s],d=c;if(d.isEmpty()){var v=c.getPosition(),b=l.MoveOperations.right(n,o,v.lineNumber,v.column);d=new u.Range(b.lineNumber,b.column,v.lineNumber,v.column)}d.isEmpty()?t[s]=null:(d.startLineNumber!==d.endLineNumber&&(m=!0),t[s]=new i.ReplaceCommand(d,""))}return[m,t]},e._isAutoClosingPairDelete=function(e,n,o){if("never"===e.autoClosingBrackets&&"never"===e.autoClosingQuotes)return!1;for(var r=0,i=o.length;i>r;r++){var l=o[r],u=l.getPosition();if(!l.isEmpty())return!1;var m=n.getLineContent(u.lineNumber),s=m[u.column-2];if(!e.autoClosingPairsOpen.hasOwnProperty(s))return!1;if(t.isQuote(s)){if("never"===e.autoClosingQuotes)return!1}else if("never"===e.autoClosingBrackets)return!1;var a=m[u.column-1],c=e.autoClosingPairsOpen[s];if(a!==c)return!1}return!0},e._runAutoClosingPairDelete=function(e,n,o){for(var r=[],t=0,l=o.length;l>t;t++){var m=o[t].getPosition(),s=new u.Range(m.lineNumber,m.column-1,m.lineNumber,m.column+1);r[t]=new i.ReplaceCommand(s,"")}return[!0,r]},e.deleteLeft=function(e,n,o,m){if(this._isAutoClosingPairDelete(n,o,m))return this._runAutoClosingPairDelete(n,o,m);for(var s=[],a=2!==e,c=0,d=m.length;d>c;c++){var v=m[c],b=v;if(b.isEmpty()){var g=v.getPosition();if(n.useTabStops&&g.column>1){var f=o.getLineContent(g.lineNumber),C=r.firstNonWhitespaceIndex(f),N=-1===C?f.length+1:C+1;if(g.column<=N){var p=t.CursorColumns.visibleColumnFromColumn2(n,o,g),h=t.CursorColumns.prevIndentTabStop(p,n.indentSize),P=t.CursorColumns.columnFromVisibleColumn2(n,o,g.lineNumber,h);b=new u.Range(g.lineNumber,P,g.lineNumber,g.column)}else b=new u.Range(g.lineNumber,g.column-1,g.lineNumber,g.column)}else{var _=l.MoveOperations.left(n,o,g.lineNumber,g.column);b=new u.Range(_.lineNumber,_.column,g.lineNumber,g.column)}}b.isEmpty()?s[c]=null:(b.startLineNumber!==b.endLineNumber&&(a=!0),s[c]=new i.ReplaceCommand(b,""))}return[a,s]},e.cut=function(e,n,o){for(var r=[],l=0,m=o.length;m>l;l++){var s=o[l];if(s.isEmpty())if(e.emptySelectionClipboard){var a=s.getPosition(),c=void 0,d=void 0,v=void 0,b=void 0;a.lineNumber<n.getLineCount()?(c=a.lineNumber,d=1,v=a.lineNumber+1,b=1):a.lineNumber>1?(c=a.lineNumber-1,d=n.getLineMaxColumn(a.lineNumber-1),v=a.lineNumber,b=n.getLineMaxColumn(a.lineNumber)):(c=a.lineNumber,d=1,v=a.lineNumber,b=n.getLineMaxColumn(a.lineNumber));var g=new u.Range(c,d,v,b);r[l]=g.isEmpty()?null:new i.ReplaceCommand(g,"")}else r[l]=null;else r[l]=new i.ReplaceCommand(s,"")}return new t.EditOperationResult(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e}();n.DeleteOperations=m});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursorWordOperations.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorWordOperations",function(e,n){"use strict";function t(e){return e.filter(function(e){return Boolean(e)})}Object.defineProperty(n,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),i=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),s=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),u=e("node_modules/monaco-editor/esm/vs/editor/common/controller/wordCharacterClassifier"),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),l=function(){function e(){}return e._createWord=function(e,n,t,r,o){return{start:r,end:o,wordType:n,nextCharClass:t}},e._findPreviousWordOnLine=function(e,n,t){var r=n.getLineContent(t.lineNumber);return this._doFindPreviousWordOnLine(r,e,t)},e._doFindPreviousWordOnLine=function(e,n,t){for(var r=0,o=t.column-2;o>=0;o--){var i=e.charCodeAt(o),s=n.get(i);if(0===s){if(2===r)return this._createWord(e,r,s,o+1,this._findEndOfWord(e,n,r,o+1));r=1}else if(2===s){if(1===r)return this._createWord(e,r,s,o+1,this._findEndOfWord(e,n,r,o+1));r=2}else if(1===s&&0!==r)return this._createWord(e,r,s,o+1,this._findEndOfWord(e,n,r,o+1))}return 0!==r?this._createWord(e,r,1,0,this._findEndOfWord(e,n,r,0)):null},e._findEndOfWord=function(e,n,t,r){for(var o=e.length,i=r;o>i;i++){var s=e.charCodeAt(i),u=n.get(s);if(1===u)return i;if(1===t&&2===u)return i;if(2===t&&0===u)return i}return o},e._findNextWordOnLine=function(e,n,t){var r=n.getLineContent(t.lineNumber);return this._doFindNextWordOnLine(r,e,t)},e._doFindNextWordOnLine=function(e,n,t){for(var r=0,o=e.length,i=t.column-1;o>i;i++){var s=e.charCodeAt(i),u=n.get(s);if(0===u){if(2===r)return this._createWord(e,r,u,this._findStartOfWord(e,n,r,i-1),i);r=1}else if(2===u){if(1===r)return this._createWord(e,r,u,this._findStartOfWord(e,n,r,i-1),i);r=2}else if(1===u&&0!==r)return this._createWord(e,r,u,this._findStartOfWord(e,n,r,i-1),i)}return 0!==r?this._createWord(e,r,1,this._findStartOfWord(e,n,r,o-1),o):null},e._findStartOfWord=function(e,n,t,r){for(var o=r;o>=0;o--){var i=e.charCodeAt(o),s=n.get(i);if(1===s)return o+1;if(1===t&&2===s)return o+1;if(2===t&&0===s)return o+1}return 0},e.moveWordLeft=function(n,t,r,o){var i=r.lineNumber,s=r.column,u=!1;1===s&&i>1&&(u=!0,i-=1,s=t.getLineMaxColumn(i));var a=e._findPreviousWordOnLine(n,t,new d.Position(i,s));if(0===o){if(a&&!u){var l=t.getLineLastNonWhitespaceColumn(i);if(s>l)return new d.Position(i,a.end+1)}return new d.Position(i,a?a.start+1:1)}return 1===o?(a&&2===a.wordType&&a.end-a.start===1&&0===a.nextCharClass&&(a=e._findPreviousWordOnLine(n,t,new d.Position(i,a.start+1))),new d.Position(i,a?a.start+1:1)):(a&&s<=a.end+1&&(a=e._findPreviousWordOnLine(n,t,new d.Position(i,a.start+1))),new d.Position(i,a?a.end+1:1))},e._moveWordPartLeft=function(e,n){var t=n.lineNumber,r=e.getLineMaxColumn(t);if(1===n.column)return t>1?new d.Position(t-1,e.getLineMaxColumn(t-1)):n;for(var o=e.getLineContent(t),s=n.column-1;s>1;s--){var u=o.charCodeAt(s-2),a=o.charCodeAt(s-1);if(95!==u&&95===a)return new d.Position(t,s);if(i.isLowerAsciiLetter(u)&&i.isUpperAsciiLetter(a))return new d.Position(t,s);if(i.isUpperAsciiLetter(u)&&i.isUpperAsciiLetter(a)&&r>s+1){var l=o.charCodeAt(s);if(i.isLowerAsciiLetter(l))return new d.Position(t,s)}}return new d.Position(t,1)},e.moveWordRight=function(n,t,r,o){var i=r.lineNumber,s=r.column,u=!1;s===t.getLineMaxColumn(i)&&i<t.getLineCount()&&(u=!0,i+=1,s=1);var a=e._findNextWordOnLine(n,t,new d.Position(i,s));return 2===o?(a&&2===a.wordType&&a.end-a.start===1&&0===a.nextCharClass&&(a=e._findNextWordOnLine(n,t,new d.Position(i,a.end+1))),s=a?a.end+1:t.getLineMaxColumn(i)):(a&&!u&&s>=a.start+1&&(a=e._findNextWordOnLine(n,t,new d.Position(i,a.end+1))),s=a?a.start+1:t.getLineMaxColumn(i)),new d.Position(i,s)},e._moveWordPartRight=function(e,n){var t=n.lineNumber,r=e.getLineMaxColumn(t);if(n.column===r)return t<e.getLineCount()?new d.Position(t+1,1):n;for(var o=e.getLineContent(t),s=n.column+1;r>s;s++){var u=o.charCodeAt(s-2),a=o.charCodeAt(s-1);if(95===u&&95!==a)return new d.Position(t,s);if(i.isLowerAsciiLetter(u)&&i.isUpperAsciiLetter(a))return new d.Position(t,s);if(i.isUpperAsciiLetter(u)&&i.isUpperAsciiLetter(a)&&r>s+1){var l=o.charCodeAt(s);if(i.isLowerAsciiLetter(l))return new d.Position(t,s)}}return new d.Position(t,r)},e._deleteWordLeftWhitespace=function(e,n){var t=e.getLineContent(n.lineNumber),r=n.column-2,o=i.lastNonWhitespaceIndex(t,r);return r>o+1?new a.Range(n.lineNumber,o+2,n.lineNumber,n.column):null},e.deleteWordLeft=function(n,t,r,o,i){if(!r.isEmpty())return r;var s=new d.Position(r.positionLineNumber,r.positionColumn),u=s.lineNumber,l=s.column;if(1===u&&1===l)return null;if(o){var f=this._deleteWordLeftWhitespace(t,s);if(f)return f}var c=e._findPreviousWordOnLine(n,t,s);return 0===i?c?l=c.start+1:l>1?l=1:(u--,l=t.getLineMaxColumn(u)):(c&&l<=c.end+1&&(c=e._findPreviousWordOnLine(n,t,new d.Position(u,c.start+1))),c?l=c.end+1:l>1?l=1:(u--,l=t.getLineMaxColumn(u))),new a.Range(u,l,s.lineNumber,s.column)},e._deleteWordPartLeft=function(n,t){if(!t.isEmpty())return t;var r=t.getPosition(),o=e._moveWordPartLeft(n,r);return new a.Range(r.lineNumber,r.column,o.lineNumber,o.column)},e._findFirstNonWhitespaceChar=function(e,n){for(var t=e.length,r=n;t>r;r++){var o=e.charAt(r);if(" "!==o&&" "!==o)return r}return t},e._deleteWordRightWhitespace=function(e,n){var t=e.getLineContent(n.lineNumber),r=n.column-1,o=this._findFirstNonWhitespaceChar(t,r);return o>r+1?new a.Range(n.lineNumber,n.column,n.lineNumber,o+1):null},e.deleteWordRight=function(n,t,r,o,i){if(!r.isEmpty())return r;var s=new d.Position(r.positionLineNumber,r.positionColumn),u=s.lineNumber,l=s.column,f=t.getLineCount(),c=t.getLineMaxColumn(u);if(u===f&&l===c)return null;if(o){var m=this._deleteWordRightWhitespace(t,s);if(m)return m}var W=e._findNextWordOnLine(n,t,s);return 2===i?W?l=W.end+1:c>l||u===f?l=c:(u++,W=e._findNextWordOnLine(n,t,new d.Position(u,1)),l=W?W.start+1:t.getLineMaxColumn(u)):(W&&l>=W.start+1&&(W=e._findNextWordOnLine(n,t,new d.Position(u,W.end+1))),W?l=W.start+1:c>l||u===f?l=c:(u++,W=e._findNextWordOnLine(n,t,new d.Position(u,1)),l=W?W.start+1:t.getLineMaxColumn(u))),new a.Range(u,l,s.lineNumber,s.column)},e._deleteWordPartRight=function(n,t){if(!t.isEmpty())return t;var r=t.getPosition(),o=e._moveWordPartRight(n,r);return new a.Range(r.lineNumber,r.column,o.lineNumber,o.column)},e.word=function(n,t,r,o,i){var l=u.getMapForWordSeparators(n.wordSeparators),f=e._findPreviousWordOnLine(l,t,i),c=e._findNextWordOnLine(l,t,i);if(!o){var m,W;return f&&1===f.wordType&&f.start<=i.column-1&&i.column-1<=f.end?(m=f.start+1,W=f.end+1):c&&1===c.wordType&&c.start<=i.column-1&&i.column-1<=c.end?(m=c.start+1,W=c.end+1):(m=f?f.end+1:1,W=c?c.start+1:t.getLineMaxColumn(i.lineNumber)),new s.SingleCursorState(new a.Range(i.lineNumber,m,i.lineNumber,W),0,new d.Position(i.lineNumber,W),0)}var v,_;f&&1===f.wordType&&f.start<i.column-1&&i.column-1<f.end?(v=f.start+1,_=f.end+1):c&&1===c.wordType&&c.start<i.column-1&&i.column-1<c.end?(v=c.start+1,_=c.end+1):(v=i.column,_=i.column);var L,h=i.lineNumber;if(r.selectionStart.containsPosition(i))L=r.selectionStart.endColumn;else if(i.isBeforeOrEqual(r.selectionStart.getStartPosition())){L=v;var g=new d.Position(h,L);r.selectionStart.containsPosition(g)&&(L=r.selectionStart.endColumn)}else{L=_;var g=new d.Position(h,L);r.selectionStart.containsPosition(g)&&(L=r.selectionStart.startColumn)}return r.move(!0,h,L,0)},e}();n.WordOperations=l;var f=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.deleteWordPartLeft=function(e,n,r,o){var i=t([l.deleteWordLeft(e,n,r,o,0),l.deleteWordLeft(e,n,r,o,2),l._deleteWordPartLeft(n,r)]);return i.sort(a.Range.compareRangesUsingEnds),i[2]},n.deleteWordPartRight=function(e,n,r,o){var i=t([l.deleteWordRight(e,n,r,o,0),l.deleteWordRight(e,n,r,o,2),l._deleteWordPartRight(n,r)]);return i.sort(a.Range.compareRangesUsingStarts),i[0]},n.moveWordPartLeft=function(e,n,r){var o=t([l.moveWordLeft(e,n,r,0),l.moveWordLeft(e,n,r,2),l._moveWordPartLeft(n,r)]);return o.sort(d.Position.compare),o[2]},n.moveWordPartRight=function(e,n,r){var o=t([l.moveWordRight(e,n,r,0),l.moveWordRight(e,n,r,2),l._moveWordPartRight(n,r)]);return o.sort(d.Position.compare),o[0]},n}(l);n.WordPartOperations=f});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursorMoveCommands.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorMoveCommands",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/types")),i=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),r=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorMoveOperations"),a=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorWordOperations"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=function(){function e(){}return e.addCursorDown=function(e,t,o){for(var n=[],a=0,s=0,l=t.length;l>s;s++){var m=t[s];n[a++]=new i.CursorState(m.modelState,m.viewState),n[a++]=o?i.CursorState.fromModelState(r.MoveOperations.translateDown(e.config,e.model,m.modelState)):i.CursorState.fromViewState(r.MoveOperations.translateDown(e.config,e.viewModel,m.viewState))}return n},e.addCursorUp=function(e,t,o){for(var n=[],a=0,s=0,l=t.length;l>s;s++){var m=t[s];n[a++]=new i.CursorState(m.modelState,m.viewState),n[a++]=o?i.CursorState.fromModelState(r.MoveOperations.translateUp(e.config,e.model,m.modelState)):i.CursorState.fromViewState(r.MoveOperations.translateUp(e.config,e.viewModel,m.viewState))}return n},e.moveToBeginningOfLine=function(e,t,o){for(var n=[],i=0,r=t.length;r>i;i++){var a=t[i];n[i]=this._moveToLineStart(e,a,o)}return n},e._moveToLineStart=function(e,t,o){var n=t.viewState.position.column,i=t.modelState.position.column,r=n===i,a=t.viewState.position.lineNumber,s=e.viewModel.getLineFirstNonWhitespaceColumn(a),l=n===s;return r||l?this._moveToLineStartByModel(e,t,o):this._moveToLineStartByView(e,t,o)},e._moveToLineStartByView=function(e,t,o){return i.CursorState.fromViewState(r.MoveOperations.moveToBeginningOfLine(e.config,e.viewModel,t.viewState,o))},e._moveToLineStartByModel=function(e,t,o){return i.CursorState.fromModelState(r.MoveOperations.moveToBeginningOfLine(e.config,e.model,t.modelState,o))},e.moveToEndOfLine=function(e,t,o){for(var n=[],i=0,r=t.length;r>i;i++){var a=t[i];n[i]=this._moveToLineEnd(e,a,o)}return n},e._moveToLineEnd=function(e,t,o){var n=t.viewState.position,i=e.viewModel.getLineMaxColumn(n.lineNumber),r=n.column===i,a=t.modelState.position,s=e.model.getLineMaxColumn(a.lineNumber),l=i-n.column===s-a.column;return r||l?this._moveToLineEndByModel(e,t,o):this._moveToLineEndByView(e,t,o)},e._moveToLineEndByView=function(e,t,o){return i.CursorState.fromViewState(r.MoveOperations.moveToEndOfLine(e.config,e.viewModel,t.viewState,o))},e._moveToLineEndByModel=function(e,t,o){return i.CursorState.fromModelState(r.MoveOperations.moveToEndOfLine(e.config,e.model,t.modelState,o))},e.expandLineSelection=function(e,t){for(var o=[],n=0,r=t.length;r>n;n++){var a=t[n],m=a.viewState.selection,u=m.startLineNumber,v=e.viewModel.getLineCount(),d=m.endLineNumber,c=void 0;d===v?c=e.viewModel.getLineMaxColumn(v):(d++,c=1),o[n]=i.CursorState.fromViewState(new i.SingleCursorState(new l.Range(u,1,u,1),0,new s.Position(d,c),0))}return o},e.moveToBeginningOfBuffer=function(e,t,o){for(var n=[],a=0,s=t.length;s>a;a++){var l=t[a];n[a]=i.CursorState.fromModelState(r.MoveOperations.moveToBeginningOfBuffer(e.config,e.model,l.modelState,o))}return n},e.moveToEndOfBuffer=function(e,t,o){for(var n=[],a=0,s=t.length;s>a;a++){var l=t[a];n[a]=i.CursorState.fromModelState(r.MoveOperations.moveToEndOfBuffer(e.config,e.model,l.modelState,o))}return n},e.selectAll=function(e){var t=e.model.getLineCount(),o=e.model.getLineMaxColumn(t);return i.CursorState.fromModelState(new i.SingleCursorState(new l.Range(1,1,1,1),0,new s.Position(t,o),0))},e.line=function(e,t,o,n,r){var a=e.model.validatePosition(n),m=r?e.validateViewPosition(new s.Position(r.lineNumber,r.column),a):e.convertModelPositionToViewPosition(a);if(!o||!t.modelState.hasSelection()){var u=e.model.getLineCount(),v=a.lineNumber+1,d=1;return v>u&&(v=u,d=e.model.getLineMaxColumn(v)),i.CursorState.fromModelState(new i.SingleCursorState(new l.Range(a.lineNumber,1,v,d),0,new s.Position(v,d),0))}var c=t.modelState.selectionStart.getStartPosition().lineNumber;if(a.lineNumber<c)return i.CursorState.fromViewState(t.viewState.move(t.modelState.hasSelection(),m.lineNumber,1,0));if(a.lineNumber>c){var u=e.viewModel.getLineCount(),w=m.lineNumber+1,f=1;return w>u&&(w=u,f=e.viewModel.getLineMaxColumn(w)),i.CursorState.fromViewState(t.viewState.move(t.modelState.hasSelection(),w,f,0))}var p=t.modelState.selectionStart.getEndPosition();return i.CursorState.fromModelState(t.modelState.move(t.modelState.hasSelection(),p.lineNumber,p.column,0))},e.word=function(e,t,o,n){var r=e.model.validatePosition(n);return i.CursorState.fromModelState(a.WordOperations.word(e.config,e.model,t.modelState,o,r))},e.cancelSelection=function(e,t){if(!t.modelState.hasSelection())return new i.CursorState(t.modelState,t.viewState);var o=t.viewState.position.lineNumber,n=t.viewState.position.column;return i.CursorState.fromViewState(new i.SingleCursorState(new l.Range(o,n,o,n),0,new s.Position(o,n),0))},e.moveTo=function(e,t,o,n,r){var a=e.model.validatePosition(n),l=r?e.validateViewPosition(new s.Position(r.lineNumber,r.column),a):e.convertModelPositionToViewPosition(a);return i.CursorState.fromViewState(t.viewState.move(o,l.lineNumber,l.column,0))},e.move=function(e,t,o){var n=o.select,i=o.value;switch(o.direction){case 0:return 4===o.unit?this._moveHalfLineLeft(e,t,n):this._moveLeft(e,t,n,i);case 1:return 4===o.unit?this._moveHalfLineRight(e,t,n):this._moveRight(e,t,n,i);case 2:return 2===o.unit?this._moveUpByViewLines(e,t,n,i):this._moveUpByModelLines(e,t,n,i);case 3:return 2===o.unit?this._moveDownByViewLines(e,t,n,i):this._moveDownByModelLines(e,t,n,i);case 4:return this._moveToViewMinColumn(e,t,n);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,n);case 6:return this._moveToViewCenterColumn(e,t,n);case 7:return this._moveToViewMaxColumn(e,t,n);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,n);case 9:var r=t[0],a=e.getCompletelyVisibleModelRange(),s=this._firstLineNumberInRange(e.model,a,i),l=e.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(e,r,n,s,l)];case 11:var r=t[0],a=e.getCompletelyVisibleModelRange(),s=this._lastLineNumberInRange(e.model,a,i),l=e.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(e,r,n,s,l)];case 10:var r=t[0],a=e.getCompletelyVisibleModelRange(),s=Math.round((a.startLineNumber+a.endLineNumber)/2),l=e.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(e,r,n,s,l)];case 12:for(var m=e.getCompletelyVisibleViewRange(),u=[],v=0,d=t.length;d>v;v++){var r=t[v];u[v]=this.findPositionInViewportIfOutside(e,r,m,n)}return u}return null},e.findPositionInViewportIfOutside=function(e,t,o,n){var r=t.viewState.position.lineNumber;if(o.startLineNumber<=r&&r<=o.endLineNumber-1)return new i.CursorState(t.modelState,t.viewState);r>o.endLineNumber-1&&(r=o.endLineNumber-1),r<o.startLineNumber&&(r=o.startLineNumber);var a=e.viewModel.getLineFirstNonWhitespaceColumn(r);return this._moveToViewPosition(e,t,n,r,a)},e._firstLineNumberInRange=function(e,t,o){var n=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(n)&&n++,Math.min(t.endLineNumber,n+o-1)},e._lastLineNumberInRange=function(e,t,o){var n=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(n)&&n++,Math.max(n,t.endLineNumber-o+1)},e._moveLeft=function(e,t,o,n){for(var a=[],s=0,l=t.length;l>s;s++){var m=t[s],u=r.MoveOperations.moveLeft(e.config,e.viewModel,m.viewState,o,n);if(1===n&&u.position.lineNumber!==m.viewState.position.lineNumber){var v=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(u.position);v.lineNumber===m.modelState.position.lineNumber&&(u=r.MoveOperations.moveLeft(e.config,e.viewModel,u,o,1))}a[s]=i.CursorState.fromViewState(u)}return a},e._moveHalfLineLeft=function(e,t,o){for(var n=[],a=0,s=t.length;s>a;a++){var l=t[a],m=l.viewState.position.lineNumber,u=Math.round(e.viewModel.getLineContent(m).length/2);n[a]=i.CursorState.fromViewState(r.MoveOperations.moveLeft(e.config,e.viewModel,l.viewState,o,u))}return n},e._moveRight=function(e,t,o,n){for(var a=[],s=0,l=t.length;l>s;s++){var m=t[s],u=r.MoveOperations.moveRight(e.config,e.viewModel,m.viewState,o,n);if(1===n&&u.position.lineNumber!==m.viewState.position.lineNumber){var v=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(u.position);v.lineNumber===m.modelState.position.lineNumber&&(u=r.MoveOperations.moveRight(e.config,e.viewModel,u,o,1))}a[s]=i.CursorState.fromViewState(u)}return a},e._moveHalfLineRight=function(e,t,o){for(var n=[],a=0,s=t.length;s>a;a++){var l=t[a],m=l.viewState.position.lineNumber,u=Math.round(e.viewModel.getLineContent(m).length/2);n[a]=i.CursorState.fromViewState(r.MoveOperations.moveRight(e.config,e.viewModel,l.viewState,o,u))}return n},e._moveDownByViewLines=function(e,t,o,n){for(var a=[],s=0,l=t.length;l>s;s++){var m=t[s];a[s]=i.CursorState.fromViewState(r.MoveOperations.moveDown(e.config,e.viewModel,m.viewState,o,n))}return a},e._moveDownByModelLines=function(e,t,o,n){for(var a=[],s=0,l=t.length;l>s;s++){var m=t[s];a[s]=i.CursorState.fromModelState(r.MoveOperations.moveDown(e.config,e.model,m.modelState,o,n))}return a},e._moveUpByViewLines=function(e,t,o,n){for(var a=[],s=0,l=t.length;l>s;s++){var m=t[s];a[s]=i.CursorState.fromViewState(r.MoveOperations.moveUp(e.config,e.viewModel,m.viewState,o,n))}return a},e._moveUpByModelLines=function(e,t,o,n){for(var a=[],s=0,l=t.length;l>s;s++){var m=t[s];a[s]=i.CursorState.fromModelState(r.MoveOperations.moveUp(e.config,e.model,m.modelState,o,n))}return a},e._moveToViewPosition=function(e,t,o,n,r){return i.CursorState.fromViewState(t.viewState.move(o,n,r,0))},e._moveToModelPosition=function(e,t,o,n,r){return i.CursorState.fromModelState(t.modelState.move(o,n,r,0))},e._moveToViewMinColumn=function(e,t,o){for(var n=[],i=0,r=t.length;r>i;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineMinColumn(s);n[i]=this._moveToViewPosition(e,a,o,s,l)}return n},e._moveToViewFirstNonWhitespaceColumn=function(e,t,o){for(var n=[],i=0,r=t.length;r>i;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineFirstNonWhitespaceColumn(s);n[i]=this._moveToViewPosition(e,a,o,s,l)}return n},e._moveToViewCenterColumn=function(e,t,o){for(var n=[],i=0,r=t.length;r>i;i++){var a=t[i],s=a.viewState.position.lineNumber,l=Math.round((e.viewModel.getLineMaxColumn(s)+e.viewModel.getLineMinColumn(s))/2);n[i]=this._moveToViewPosition(e,a,o,s,l)}return n},e._moveToViewMaxColumn=function(e,t,o){for(var n=[],i=0,r=t.length;r>i;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineMaxColumn(s);n[i]=this._moveToViewPosition(e,a,o,s,l)}return n},e._moveToViewLastNonWhitespaceColumn=function(e,t,o){for(var n=[],i=0,r=t.length;r>i;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineLastNonWhitespaceColumn(s);n[i]=this._moveToViewPosition(e,a,o,s,l)}return n},e}();t.CursorMoveCommands=m,function(e){function t(t){if(!t.to)return null;var o;switch(t.to){case e.RawDirection.Left:o=0;break;case e.RawDirection.Right:o=1;break;case e.RawDirection.Up:o=2;break;case e.RawDirection.Down:o=3;break;case e.RawDirection.WrappedLineStart:o=4;break;case e.RawDirection.WrappedLineFirstNonWhitespaceCharacter:o=5;break;case e.RawDirection.WrappedLineColumnCenter:o=6;break;case e.RawDirection.WrappedLineEnd:o=7;break;case e.RawDirection.WrappedLineLastNonWhitespaceCharacter:o=8;break;case e.RawDirection.ViewPortTop:o=9;break;case e.RawDirection.ViewPortBottom:o=11;break;case e.RawDirection.ViewPortCenter:o=10;break;case e.RawDirection.ViewPortIfOutside:o=12;break;default:return null}var n=0;switch(t.by){case e.RawUnit.Line:n=1;break;case e.RawUnit.WrappedLine:n=2;break;case e.RawUnit.Character:n=3;break;case e.RawUnit.HalfLine:n=4}return{direction:o,unit:n,select:!!t.select,value:t.value||1}}var o=function(e){if(!n.isObject(e))return!1;var t=e;return n.isString(t.to)&&(n.isUndefined(t.select)||n.isBoolean(t.select))&&(n.isUndefined(t.by)||n.isString(t.by))&&(n.isUndefined(t.value)||n.isNumber(t.value))?!0:!1};e.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n * 'to': A mandatory logical position value providing where to move the cursor.\n ```\n 'left', 'right', 'up', 'down'\n 'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n 'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n 'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'character', 'halfLine'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'select': If 'true' makes the selection. Default is 'false'.\n ",constraint:o,schema:{type:"object",required:["to"],properties:{to:{type:"string","enum":["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string","enum":["line","wrappedLine","character","halfLine"]},value:{type:"number","default":1},select:{type:"boolean","default":!1}}}}]},e.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},e.parse=t}(t.CursorMove||(t.CursorMove={}))});
;/*!node_modules/monaco-editor/esm/vs/editor/common/commands/shiftCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/commands/shiftCommand",function(t,e){"use strict";function n(t,e){u[t]||(u[t]=["",t]);for(var n=u[t],o=n.length;e>=o;o++)n[o]=n[o-1]+t;return n[e]}Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),i=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/strings")),s=t("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),r=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),a=t("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),d=t("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),u=Object.create(null);e.cachedStringRepeat=n;var m=function(){function t(t,e){this._opts=e,this._selection=t,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}return t.unshiftIndent=function(t,e,o,i,r){var a=s.CursorColumns.visibleColumnFromColumn(t,e,o);if(r){var d=n(" ",i),u=s.CursorColumns.prevIndentTabStop(a,i),m=u/i;return n(d,m)}var d=" ",u=s.CursorColumns.prevRenderTabStop(a,o),m=u/o;return n(d,m)},t.shiftIndent=function(t,e,o,i,r){var a=s.CursorColumns.visibleColumnFromColumn(t,e,o);if(r){var d=n(" ",i),u=s.CursorColumns.nextIndentTabStop(a,i),m=u/i;return n(d,m)}var d=" ",u=s.CursorColumns.nextRenderTabStop(a,o),m=u/o;return n(d,m)},t.prototype._addEditOperation=function(t,e,n){this._useLastEditRangeForCursorEndPosition?t.addTrackedEditOperation(e,n):t.addEditOperation(e,n)},t.prototype.getEditOperations=function(e,o){var a=this._selection.startLineNumber,u=this._selection.endLineNumber;1===this._selection.endColumn&&a!==u&&(u-=1);var m=this._opts,l=m.tabSize,c=m.indentSize,h=m.insertSpaces,C=a===u;if(this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(a))&&(this._useLastEditRangeForCursorEndPosition=!0),this._opts.useTabStops)for(var f=0,p=0,_=a;u>=_;_++,f=p){p=0;var v=e.getLineContent(_),g=i.firstNonWhitespaceIndex(v);if((!this._opts.isUnshift||0!==v.length&&0!==g)&&(C||this._opts.isUnshift||0!==v.length)){if(-1===g&&(g=v.length),_>1){var S=s.CursorColumns.visibleColumnFromColumn(v,g+1,l);if(S%c!==0&&e.isCheapToTokenize(_-1)){var b=d.LanguageConfigurationRegistry.getRawEnterActionAtPosition(e,_-1,e.getLineMaxColumn(_-1));if(b){if(p=f,b.appendText)for(var E=0,L=b.appendText.length;L>E&&c>p&&32===b.appendText.charCodeAt(E);E++)p++;b.removeText&&(p=Math.max(0,p-b.removeText));for(var E=0;p>E&&(0!==g&&32===v.charCodeAt(g-1));E++)g--}}}if(!this._opts.isUnshift||0!==g){var T=void 0;T=this._opts.isUnshift?t.unshiftIndent(v,g+1,l,c,h):t.shiftIndent(v,g+1,l,c,h),this._addEditOperation(o,new r.Range(_,1,_,g+1),T),_===a&&(this._selectionStartColumnStaysPut=this._selection.startColumn<=g+1)}}}else for(var R=h?n(" ",c):" ",_=a;u>=_;_++){var v=e.getLineContent(_),g=i.firstNonWhitespaceIndex(v);if((!this._opts.isUnshift||0!==v.length&&0!==g)&&(C||this._opts.isUnshift||0!==v.length)&&(-1===g&&(g=v.length),!this._opts.isUnshift||0!==g))if(this._opts.isUnshift){g=Math.min(g,c);for(var x=0;g>x;x++){var y=v.charCodeAt(x);if(9===y){g=x+1;break}}this._addEditOperation(o,new r.Range(_,1,_,g+1),"")}else this._addEditOperation(o,new r.Range(_,1,_,1),R),_===a&&(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}this._selectionId=o.trackSelection(this._selection)},t.prototype.computeCursorState=function(t,e){if(this._useLastEditRangeForCursorEndPosition){var n=e.getInverseEditOperations()[0];return new a.Selection(n.range.endLineNumber,n.range.endColumn,n.range.endLineNumber,n.range.endColumn)}var o=e.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){var i=this._selection.startColumn,s=o.startColumn;return i>=s?o:0===o.getDirection()?new a.Selection(o.startLineNumber,i,o.endLineNumber,o.endColumn):new a.Selection(o.endLineNumber,o.endColumn,o.startLineNumber,i)}return o},t}();e.ShiftCommand=m});
;/*!node_modules/monaco-editor/esm/vs/editor/common/commands/surroundSelectionCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/commands/surroundSelectionCommand",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),r=function(){function e(e,n,t){this._range=e,this._charBeforeSelection=n,this._charAfterSelection=t}return e.prototype.getEditOperations=function(e,n){n.addTrackedEditOperation(new t.Range(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),n.addTrackedEditOperation(new t.Range(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)},e.prototype.computeCursorState=function(e,n){var t=n.getInverseEditOperations(),r=t[0].range,i=t[1].range;return new o.Selection(r.endLineNumber,r.endColumn,i.endLineNumber,i.endColumn-this._charAfterSelection.length)},e}();n.SurroundSelectionCommand=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursorTypeOperations.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorTypeOperations",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),r=e("node_modules/monaco-editor/esm/vs/base/common/errors"),o=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),i=e("node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand"),a=e("node_modules/monaco-editor/esm/vs/editor/common/commands/shiftCommand"),u=e("node_modules/monaco-editor/esm/vs/editor/common/commands/surroundSelectionCommand"),s=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),l=e("node_modules/monaco-editor/esm/vs/editor/common/controller/wordCharacterClassifier"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration"),c=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),f=function(){function e(){}return e.indent=function(e,n,t){if(null===n||null===t)return[];for(var r=[],o=0,i=t.length;i>o;o++)r[o]=new a.ShiftCommand(t[o],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops});return r},e.outdent=function(e,n,t){for(var r=[],o=0,i=t.length;i>o;o++)r[o]=new a.ShiftCommand(t[o],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops});return r},e.shiftIndent=function(e,n,t){return t=t||1,a.ShiftCommand.shiftIndent(n,n.length+t,e.tabSize,e.indentSize,e.insertSpaces)},e.unshiftIndent=function(e,n,t){return t=t||1,a.ShiftCommand.unshiftIndent(n,n.length+t,e.tabSize,e.indentSize,e.insertSpaces)},e._distributedPaste=function(e,n,t,r){for(var o=[],a=0,u=t.length;u>a;a++)o[a]=new i.ReplaceCommand(t[a],r[a]);return new s.EditOperationResult(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._simplePaste=function(e,n,t,r,o){for(var a=[],u=0,l=t.length;l>u;u++){var d=t[u],c=d.getPosition();if(o&&r.indexOf("\n")!==r.length-1&&(o=!1),o&&d.startLineNumber!==d.endLineNumber&&(o=!1),o&&d.startColumn===n.getLineMinColumn(d.startLineNumber)&&d.endColumn===n.getLineMaxColumn(d.startLineNumber)&&(o=!1),o){var f=new m.Range(c.lineNumber,1,c.lineNumber,1);a[u]=new i.ReplaceCommand(f,r)}else a[u]=new i.ReplaceCommand(d,r)}return new s.EditOperationResult(0,a,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._distributePasteToCursors=function(e,n,t,r){if(t)return null;if(1===e.length)return null;if(r&&r.length===e.length)return r;10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));var o=n.split(/\r\n|\r|\n/);return o.length===e.length?o:null},e.paste=function(e,n,t,r,o,i){var a=this._distributePasteToCursors(t,r,o,i);return a?(t=t.sort(m.Range.compareRangesUsingStarts),this._distributedPaste(e,n,t,a)):this._simplePaste(e,n,t,r,o)},e._goodIndentForLine=function(n,t,r){var i=null,a="",u=n.autoIndent?c.LanguageConfigurationRegistry.getInheritIndentForLine(t,r,!1):null;if(u)i=u.action,a=u.indentation;else if(r>1){var s=void 0;for(s=r-1;s>=1;s--){var l=t.getLineContent(s),f=o.lastNonWhitespaceIndex(l);if(f>=0)break}if(1>s)return null;var h=t.getLineMaxColumn(s),g=c.LanguageConfigurationRegistry.getEnterAction(t,new m.Range(s,h,s,h));g&&(a=g.indentation,i=g.enterAction,i&&(a+=i.appendText))}return i&&(i===d.IndentAction.Indent&&(a=e.shiftIndent(n,a)),i===d.IndentAction.Outdent&&(a=e.unshiftIndent(n,a)),a=n.normalizeIndentation(a)),a?a:null},e._replaceJumpToNextIndent=function(e,n,t,r){var o="",a=t.getStartPosition();if(e.insertSpaces)for(var u=s.CursorColumns.visibleColumnFromColumn2(e,n,a),l=e.indentSize,m=l-u%l,d=0;m>d;d++)o+=" ";else o=" ";return new i.ReplaceCommand(t,o,r)},e.tab=function(e,n,t){for(var r=[],u=0,s=t.length;s>u;u++){var l=t[u];if(l.isEmpty()){var d=n.getLineContent(l.startLineNumber);if(/^\s*$/.test(d)&&n.isCheapToTokenize(l.startLineNumber)){var c=this._goodIndentForLine(e,n,l.startLineNumber);c=c||" ";var f=e.normalizeIndentation(c);if(!o.startsWith(d,f)){r[u]=new i.ReplaceCommand(new m.Range(l.startLineNumber,1,l.startLineNumber,d.length+1),f,!0);continue}}r[u]=this._replaceJumpToNextIndent(e,n,l,!0)}else{if(l.startLineNumber===l.endLineNumber){var h=n.getLineMaxColumn(l.startLineNumber);if(1!==l.startColumn||l.endColumn!==h){r[u]=this._replaceJumpToNextIndent(e,n,l,!1);continue}}r[u]=new a.ShiftCommand(l,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops})}}return r},e.replacePreviousChar=function(e,n,t,r,o,a){for(var u=[],l=0,d=r.length;d>l;l++){var c=r[l];if(c.isEmpty()){var f=c.getPosition(),h=Math.max(1,f.column-a),g=new m.Range(f.lineNumber,h,f.lineNumber,f.column);u[l]=new i.ReplaceCommand(g,o)}else u[l]=null}return new s.EditOperationResult(1,u,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e._typeCommand=function(e,n,t){return t?new i.ReplaceCommandWithoutChangingPosition(e,n,!0):new i.ReplaceCommand(e,n,!0)},e._enter=function(n,t,r,a){if(!t.isCheapToTokenize(a.getStartPosition().lineNumber)){var u=t.getLineContent(a.startLineNumber),l=o.getLeadingWhitespace(u).substring(0,a.startColumn-1);return e._typeCommand(a,"\n"+n.normalizeIndentation(l),r)}var f=c.LanguageConfigurationRegistry.getEnterAction(t,a);if(f){var h=f.enterAction,g=f.indentation;if(h.indentAction===d.IndentAction.None)return e._typeCommand(a,"\n"+n.normalizeIndentation(g+h.appendText),r);if(h.indentAction===d.IndentAction.Indent)return e._typeCommand(a,"\n"+n.normalizeIndentation(g+h.appendText),r);if(h.indentAction===d.IndentAction.IndentOutdent){var C=n.normalizeIndentation(g),p=n.normalizeIndentation(g+h.appendText),b="\n"+p+"\n"+C;return r?new i.ReplaceCommandWithoutChangingPosition(a,b,!0):new i.ReplaceCommandWithOffsetCursorState(a,b,-1,p.length-C.length,!0)}if(h.indentAction===d.IndentAction.Outdent){var v=e.unshiftIndent(n,g);return e._typeCommand(a,"\n"+n.normalizeIndentation(v+h.appendText),r)}}if(!n.autoIndent){var S=t.getLineContent(a.startLineNumber),I=o.getLeadingWhitespace(S).substring(0,a.startColumn-1);return e._typeCommand(a,"\n"+n.normalizeIndentation(I),r)}var L=c.LanguageConfigurationRegistry.getIndentForEnter(t,a,{unshiftIndent:function(t){return e.unshiftIndent(n,t)},shiftIndent:function(t){return e.shiftIndent(n,t)},normalizeIndentation:function(e){return n.normalizeIndentation(e)}},n.autoIndent),N=t.getLineContent(a.startLineNumber),P=o.getLeadingWhitespace(N).substring(0,a.startColumn-1);if(L){var _=s.CursorColumns.visibleColumnFromColumn2(n,t,a.getEndPosition()),E=a.endColumn,y="\n";P!==n.normalizeIndentation(L.beforeEnter)&&(y=n.normalizeIndentation(L.beforeEnter)+N.substring(P.length,a.startColumn-1)+"\n",a=new m.Range(a.startLineNumber,1,a.endLineNumber,a.endColumn));var w=t.getLineContent(a.endLineNumber),R=o.firstNonWhitespaceIndex(w);if(a=R>=0?a.setEndPosition(a.endLineNumber,Math.max(a.endColumn,R+1)):a.setEndPosition(a.endLineNumber,t.getLineMaxColumn(a.endLineNumber)),r)return new i.ReplaceCommandWithoutChangingPosition(a,y+n.normalizeIndentation(L.afterEnter),!0);var T=0;return R+1>=E&&(n.insertSpaces||(_=Math.ceil(_/n.indentSize)),T=Math.min(_+1-n.normalizeIndentation(L.afterEnter).length-1,0)),new i.ReplaceCommandWithOffsetCursorState(a,y+n.normalizeIndentation(L.afterEnter),0,T,!0)}return e._typeCommand(a,"\n"+n.normalizeIndentation(P),r)},e._isAutoIndentType=function(e,n,t){if(!e.autoIndent)return!1;for(var r=0,o=t.length;o>r;r++)if(!n.isCheapToTokenize(t[r].getEndPosition().lineNumber))return!1;return!0},e._runAutoIndentType=function(n,t,r,o){var i=c.LanguageConfigurationRegistry.getIndentationAtPosition(t,r.startLineNumber,r.startColumn),a=c.LanguageConfigurationRegistry.getIndentActionForType(t,r,o,{shiftIndent:function(t){return e.shiftIndent(n,t)},unshiftIndent:function(t){return e.unshiftIndent(n,t)}});if(null===a)return null;if(a!==n.normalizeIndentation(i)){var u=t.getLineFirstNonWhitespaceColumn(r.startLineNumber);return 0===u?e._typeCommand(new m.Range(r.startLineNumber,0,r.endLineNumber,r.endColumn),n.normalizeIndentation(a)+o,!1):e._typeCommand(new m.Range(r.startLineNumber,0,r.endLineNumber,r.endColumn),n.normalizeIndentation(a)+t.getLineContent(r.startLineNumber).substring(u-1,r.startColumn-1)+o,!1)}return null},e._isAutoClosingCloseCharType=function(e,n,t,r){var o=s.isQuote(r)?e.autoClosingQuotes:e.autoClosingBrackets;if("never"===o||!e.autoClosingPairsClose.hasOwnProperty(r))return!1;for(var i=r===e.autoClosingPairsClose[r],a=0,u=t.length;u>a;a++){var l=t[a];if(!l.isEmpty())return!1;var m=l.getPosition(),d=n.getLineContent(m.lineNumber),c=d.charAt(m.column-1);if(c!==r)return!1;if(i){var f=d.substr(0,m.column-1),h=this._countNeedlesInHaystack(f,r);if(h%2===0)return!1}}return!0},e._countNeedlesInHaystack=function(e,n){for(var t=0,r=-1;-1!==(r=e.indexOf(n,r+1));)t++;return t},e._runAutoClosingCloseCharType=function(e,n,t,r,o){for(var a=[],u=0,l=r.length;l>u;u++){var d=r[u],c=d.getPosition(),f=new m.Range(c.lineNumber,c.column,c.lineNumber,c.column+1);a[u]=new i.ReplaceCommand(f,o)}return new s.EditOperationResult(1,a,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e._isBeforeClosingBrace=function(e,n,t){var r=e.autoClosingPairsOpen[n]===n,o=!1;for(var i in e.autoClosingPairsClose){var a=e.autoClosingPairsOpen[i]===i;if((r||!a)&&t===i){o=!0;break}}return o},e._isAutoClosingOpenCharType=function(n,t,o,i){var a=s.isQuote(i),u=a?n.autoClosingQuotes:n.autoClosingBrackets;if("never"===u||!n.autoClosingPairsOpen.hasOwnProperty(i))return!1;for(var m=a?n.shouldAutoCloseBefore.quote:n.shouldAutoCloseBefore.bracket,d=0,f=o.length;f>d;d++){var h=o[d];if(!h.isEmpty())return!1;var g=h.getPosition(),C=t.getLineContent(g.lineNumber);if(a&&g.column>1&&"always"!==u){var p=l.getMapForWordSeparators(n.wordSeparators),b=C.charCodeAt(g.column-2),v=p.get(b);if(0===v)return!1}var S=C.charAt(g.column-1);if(S){var I=e._isBeforeClosingBrace(n,i,S);if(!I&&!m(S))return!1}if(!t.isCheapToTokenize(g.lineNumber))return!1;t.forceTokenization(g.lineNumber);var L=t.getLineTokens(g.lineNumber),N=!1;try{N=c.LanguageConfigurationRegistry.shouldAutoClosePair(i,L,g.column)}catch(P){r.onUnexpectedError(P)}if(!N)return!1}return!0},e._runAutoClosingOpenCharType=function(e,n,t,r,o){for(var a=[],u=0,l=r.length;l>u;u++){var m=r[u],d=n.autoClosingPairsOpen[o];a[u]=new i.ReplaceCommandWithOffsetCursorState(m,o+d,0,-d.length)}return new s.EditOperationResult(1,a,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})},e._shouldSurroundChar=function(e,n){return s.isQuote(n)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround},e._isSurroundSelectionType=function(n,t,r,o){if(!e._shouldSurroundChar(n,o)||!n.surroundingPairs.hasOwnProperty(o))return!1;for(var i=s.isQuote(o),a=0,u=r.length;u>a;a++){var l=r[a];if(l.isEmpty())return!1;for(var m=!0,d=l.startLineNumber;d<=l.endLineNumber;d++){var c=t.getLineContent(d),f=d===l.startLineNumber?l.startColumn-1:0,h=d===l.endLineNumber?l.endColumn-1:c.length,g=c.substring(f,h);if(/[^ \t]/.test(g)){m=!1;break}}if(m)return!1;if(i&&l.startLineNumber===l.endLineNumber&&l.startColumn+1===l.endColumn){var C=t.getValueInRange(l);if(s.isQuote(C))return!1}}return!0},e._runSurroundSelectionType=function(e,n,t,r,o){for(var i=[],a=0,l=r.length;l>a;a++){var m=r[a],d=n.surroundingPairs[o];i[a]=new u.SurroundSelectionCommand(m,o,d)}return new s.EditOperationResult(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._isTypeInterceptorElectricChar=function(e,n,t){return 1===t.length&&n.isCheapToTokenize(t[0].getEndPosition().lineNumber)?!0:!1},e._typeInterceptorElectricChar=function(e,n,t,a,u){if(!n.electricChars.hasOwnProperty(u)||!a.isEmpty())return null;var l=a.getPosition();t.forceTokenization(l.lineNumber);var d,f=t.getLineTokens(l.lineNumber);try{d=c.LanguageConfigurationRegistry.onElectricCharacter(u,f,l.column)}catch(h){return r.onUnexpectedError(h),null}if(!d)return null;if(d.appendText){var g=new i.ReplaceCommandWithOffsetCursorState(a,u+d.appendText,0,-d.appendText.length);return new s.EditOperationResult(1,[g],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}if(d.matchOpenBracket){var C=(f.getLineContent()+u).lastIndexOf(d.matchOpenBracket)+1,p=t.findMatchingBracketUp(d.matchOpenBracket,{lineNumber:l.lineNumber,column:C});if(p){if(p.startLineNumber===l.lineNumber)return null;var b=t.getLineContent(p.startLineNumber),v=o.getLeadingWhitespace(b),S=n.normalizeIndentation(v),I=t.getLineContent(l.lineNumber),L=t.getLineFirstNonWhitespaceColumn(l.lineNumber)||l.column,N=I.substring(L-1,l.column-1),P=S+N+u,_=new m.Range(l.lineNumber,1,l.lineNumber,l.column),g=new i.ReplaceCommand(_,P);return new s.EditOperationResult(1,[g],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null},e.compositionEndWithInterceptors=function(n,t,o,a){if("never"===t.autoClosingQuotes)return null;for(var u=[],m=0;m<a.length;m++)if(a[m].isEmpty()){var d=a[m].getPosition(),f=o.getLineContent(d.lineNumber),h=f.charAt(d.column-2);if(t.autoClosingPairsClose.hasOwnProperty(h)&&h===t.autoClosingPairsClose[h]){var g=f.substr(0,d.column-2),C=this._countNeedlesInHaystack(g,h);if(C%2===1)continue}if(t.autoClosingPairsOpen.hasOwnProperty(h)){if(s.isQuote(h)&&d.column>2){var p=l.getMapForWordSeparators(t.wordSeparators),b=f.charCodeAt(d.column-3),v=p.get(b);if(0===v)continue}var S=f.charAt(d.column-1);if(S){var I=e._isBeforeClosingBrace(t,h,S),L=s.isQuote(h)?t.shouldAutoCloseBefore.quote:t.shouldAutoCloseBefore.bracket;if(I)continue;if(!L(S))continue}if(!o.isCheapToTokenize(d.lineNumber))continue;o.forceTokenization(d.lineNumber);var N=o.getLineTokens(d.lineNumber),P=!1;try{P=c.LanguageConfigurationRegistry.shouldAutoClosePair(h,N,d.column-1)}catch(_){r.onUnexpectedError(_)}if(P){var E=t.autoClosingPairsOpen[h];u[m]=new i.ReplaceCommandWithOffsetCursorState(a[m],E,0,-E.length)}}}return new s.EditOperationResult(1,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})},e.typeWithInterceptors=function(n,t,r,o,a){if("\n"===a){for(var u=[],l=0,m=o.length;m>l;l++)u[l]=e._enter(t,r,!1,o[l]);return new s.EditOperationResult(1,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoIndentType(t,r,o)){for(var d=[],c=!1,l=0,m=o.length;m>l;l++)if(d[l]=this._runAutoIndentType(t,r,o[l],a),!d[l]){c=!0;break}if(!c)return new s.EditOperationResult(1,d,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingCloseCharType(t,r,o,a))return this._runAutoClosingCloseCharType(n,t,r,o,a);if(this._isAutoClosingOpenCharType(t,r,o,a))return this._runAutoClosingOpenCharType(n,t,r,o,a);if(this._isSurroundSelectionType(t,r,o,a))return this._runSurroundSelectionType(n,t,r,o,a);if(this._isTypeInterceptorElectricChar(t,r,o)){var f=this._typeInterceptorElectricChar(n,t,r,o[0],a);if(f)return f}for(var h=[],l=0,m=o.length;m>l;l++)h[l]=new i.ReplaceCommand(o[l],a);var g=1!==n;return" "===a&&(g=!0),new s.EditOperationResult(1,h,{shouldPushStackElementBefore:g,shouldPushStackElementAfter:!1})},e.typeWithoutInterceptors=function(e,n,t,r,o){for(var a=[],u=0,l=r.length;l>u;u++)a[u]=new i.ReplaceCommand(r[u],o);return new s.EditOperationResult(1,a,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e.lineInsertBefore=function(e,n,t){if(null===n||null===t)return[];for(var r=[],o=0,a=t.length;a>o;o++){var u=t[o].positionLineNumber;if(1===u)r[o]=new i.ReplaceCommandWithoutChangingPosition(new m.Range(1,1,1,1),"\n");else{u--;var s=n.getLineMaxColumn(u);r[o]=this._enter(e,n,!1,new m.Range(u,s,u,s))}}return r},e.lineInsertAfter=function(e,n,t){if(null===n||null===t)return[];for(var r=[],o=0,i=t.length;i>o;o++){var a=t[o].positionLineNumber,u=n.getLineMaxColumn(a);r[o]=this._enter(e,n,!1,new m.Range(a,u,a,u))}return r},e.lineBreakInsert=function(e,n,t){for(var r=[],o=0,i=t.length;i>o;o++)r[o]=this._enter(e,n,!0,t[o]);return r},e}();n.TypeOperations=f});
;/*!node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey");!function(e){e.editorTextFocus=new t.RawContextKey("editorTextFocus",!1),e.focus=new t.RawContextKey("editorFocus",!1),e.textInputFocus=new t.RawContextKey("textInputFocus",!1),e.readOnly=new t.RawContextKey("editorReadonly",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new t.RawContextKey("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new t.RawContextKey("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new t.RawContextKey("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInEmbeddedEditor=new t.RawContextKey("isInEmbeddedEditor",!1),e.canUndo=new t.RawContextKey("canUndo",!1),e.canRedo=new t.RawContextKey("canRedo",!1),e.languageId=new t.RawContextKey("editorLangId",""),e.hasCompletionItemProvider=new t.RawContextKey("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new t.RawContextKey("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new t.RawContextKey("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new t.RawContextKey("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new t.RawContextKey("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new t.RawContextKey("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new t.RawContextKey("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new t.RawContextKey("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new t.RawContextKey("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new t.RawContextKey("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new t.RawContextKey("editorHasReferenceProvider",!1),e.hasRenameProvider=new t.RawContextKey("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new t.RawContextKey("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new t.RawContextKey("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new t.RawContextKey("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new t.RawContextKey("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new t.RawContextKey("editorHasMultipleDocumentSelectionFormattingProvider",!1)}(o.EditorContextKeys||(o.EditorContextKeys={}))});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/controller/coreCommands.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/controller/coreCommands",function(e,t){"use strict";function o(e){e.register()}function r(e,t){o(new w("default:"+e,e)),o(new w(e,e,t))}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),s=n.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),u=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/types")),c=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),a=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),l=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorColumnSelection"),d=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),m=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorDeleteOperations"),p=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorMoveCommands"),C=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorTypeOperations"),g=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),E=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),v=e("node_modules/monaco-editor/esm/vs/editor/common/editorCommon"),y=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),S=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),h=0,x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.runEditorCommand=function(e,t,o){var r=t._getCursors();r&&this.runCoreEditorCommand(r,o||{})},t}(c.EditorCommand);t.CoreEditorCommand=x,function(e){function t(t){var o;switch(t.to){case e.RawDirection.Up:o=1;break;case e.RawDirection.Down:o=2;break;default:return null}var r;switch(t.by){case e.RawUnit.Line:r=1;break;case e.RawUnit.WrappedLine:r=2;break;case e.RawUnit.Page:r=3;break;case e.RawUnit.HalfPage:r=4;break;default:r=2}var n=Math.floor(t.value||1),i=!!t.revealCursor;return{direction:o,unit:r,value:n,revealCursor:i,select:!!t.select}}var o=function(e){if(!u.isObject(e))return!1;var t=e;return u.isString(t.to)&&(u.isUndefined(t.by)||u.isString(t.by))&&(u.isUndefined(t.value)||u.isNumber(t.value))&&(u.isUndefined(t.revealCursor)||u.isBoolean(t.revealCursor))?!0:!1};e.description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n * 'to': A mandatory direction value.\n ```\n 'up', 'down'\n ```\n * 'by': Unit to move. Default is computed based on 'to' value.\n ```\n 'line', 'wrappedLine', 'page', 'halfPage'\n ```\n * 'value': Number of units to move. Default is '1'.\n * 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n ",constraint:o,schema:{type:"object",required:["to"],properties:{to:{type:"string","enum":["up","down"]},by:{type:"string","enum":["line","wrappedLine","page","halfPage"]},value:{type:"number","default":1},revealCursor:{type:"boolean"}}}}]},e.RawDirection={Up:"up",Down:"down"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},e.parse=t}(t.EditorScroll_||(t.EditorScroll_={})),function(e){var t=function(e){if(!u.isObject(e))return!1;var t=e;return u.isNumber(t.lineNumber)&&(u.isUndefined(t.at)||u.isString(t.at))?!0:!1};e.description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n * 'lineNumber': A mandatory line number value.\n * 'at': Logical position at which line has to be revealed .\n ```\n 'top', 'center', 'bottom'\n ```\n ",constraint:t,schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string","enum":["top","center","bottom"]}}}}]},e.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}}(t.RevealLine_||(t.RevealLine_={})),function(e){var o=function(e){function t(t){var o=e.call(this,t)||this;return o._inSelectionMode=t.inSelectionMode,o}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[p.CursorMoveCommands.moveTo(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(!0,0,0)},t}(x);e.MoveTo=c.registerEditorCommand(new o({id:"_moveTo",inSelectionMode:!1,precondition:null})),e.MoveToSelect=c.registerEditorCommand(new o({id:"_moveToSelect",inSelectionMode:!0,precondition:null}));var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement();var o=this._getColumnSelectResult(e.context,e.getPrimaryCursor(),e.getColumnSelectData(),t);e.setStates(t.source,3,o.viewStates.map(function(e){return d.CursorState.fromViewState(e)})),e.setColumnSelectData({toViewLineNumber:o.toLineNumber,toViewVisualColumn:o.toVisualColumn}),e.reveal(!0,o.reversed?1:2,0)},t}(x);e.ColumnSelect=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"columnSelect",precondition:null})||this}return i(t,e),t.prototype._getColumnSelectResult=function(e,t,o,r){var n,i=e.model.validatePosition(r.position);return n=r.viewPosition?e.validateViewPosition(new g.Position(r.viewPosition.lineNumber,r.viewPosition.column),i):e.convertModelPositionToViewPosition(i),l.ColumnSelection.columnSelect(e.config,e.viewModel,t.viewState.selection,n.lineNumber,r.mouseColumn-1)},t}(r))),e.CursorColumnSelectLeft=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"cursorColumnSelectLeft",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:3599,linux:{primary:0}}})||this}return i(t,e),t.prototype._getColumnSelectResult=function(e,t,o){return l.ColumnSelection.columnSelectLeft(e.config,e.viewModel,t.viewState,o.toViewLineNumber,o.toViewVisualColumn)},t}(r))),e.CursorColumnSelectRight=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"cursorColumnSelectRight",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:3601,linux:{primary:0}}})||this}return i(t,e),t.prototype._getColumnSelectResult=function(e,t,o){return l.ColumnSelection.columnSelectRight(e.config,e.viewModel,t.viewState,o.toViewLineNumber,o.toViewVisualColumn)},t}(r)));var n=function(e){function t(t){var o=e.call(this,t)||this;return o._isPaged=t.isPaged,o}return i(t,e),t.prototype._getColumnSelectResult=function(e,t,o){return l.ColumnSelection.columnSelectUp(e.config,e.viewModel,t.viewState,this._isPaged,o.toViewLineNumber,o.toViewVisualColumn)},t}(r);e.CursorColumnSelectUp=c.registerEditorCommand(new n({isPaged:!1,id:"cursorColumnSelectUp",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=c.registerEditorCommand(new n({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:3595,linux:{primary:0}}}));var s=function(e){function t(t){var o=e.call(this,t)||this;return o._isPaged=t.isPaged,o}return i(t,e),t.prototype._getColumnSelectResult=function(e,t,o){return l.ColumnSelection.columnSelectDown(e.config,e.viewModel,t.viewState,this._isPaged,o.toViewLineNumber,o.toViewVisualColumn)},t}(r);e.CursorColumnSelectDown=c.registerEditorCommand(new s({isPaged:!1,id:"cursorColumnSelectDown",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=c.registerEditorCommand(new s({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:3596,linux:{primary:0}}}));var u=function(e){function t(){return e.call(this,{id:"cursorMove",precondition:null,description:p.CursorMove.description})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){var o=p.CursorMove.parse(t);o&&this._runCursorMove(e,t.source,o)},t.prototype._runCursorMove=function(e,t,o){e.context.model.pushStackElement(),e.setStates(t,3,p.CursorMoveCommands.move(e.context,e.getAll(),o)),e.reveal(!0,0,0)},t}(x);e.CursorMoveImpl=u,e.CursorMove=c.registerEditorCommand(new u);var a=function(t){function o(e){var o=t.call(this,e)||this;return o._staticArgs=e.args,o}return i(o,t),o.prototype.runCoreEditorCommand=function(t,o){var r=this._staticArgs;-1===this._staticArgs.value&&(r={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:t.context.config.pageSize}),e.CursorMove._runCursorMove(t,o.source,r)},o}(x);e.CursorLeft=c.registerEditorCommand(new a({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=c.registerEditorCommand(new a({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1039}})),e.CursorRight=c.registerEditorCommand(new a({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=c.registerEditorCommand(new a({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1041}})),e.CursorUp=c.registerEditorCommand(new a({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=c.registerEditorCommand(new a({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=c.registerEditorCommand(new a({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:11}})),e.CursorPageUpSelect=c.registerEditorCommand(new a({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1035}})),e.CursorDown=c.registerEditorCommand(new a({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=c.registerEditorCommand(new a({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=c.registerEditorCommand(new a({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:12}})),e.CursorPageDownSelect=c.registerEditorCommand(new a({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1036}})),e.CreateCursor=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"createCursor",precondition:null})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){var o,r=e.context;o=t.wholeLine?p.CursorMoveCommands.line(r,e.getPrimaryCursor(),!1,t.position,t.viewPosition):p.CursorMoveCommands.moveTo(r,e.getPrimaryCursor(),!1,t.position,t.viewPosition);var n=e.getAll();if(n.length>1)for(var i=o.modelState?o.modelState.position:null,s=o.viewState?o.viewState.position:null,u=0,c=n.length;c>u;u++){var a=n[u];if(!(i&&!a.modelState.selection.containsPosition(i)||s&&!a.viewState.selection.containsPosition(s)))return n.splice(u,1),e.context.model.pushStackElement(),void e.setStates(t.source,3,n)}n.push(o),e.context.model.pushStackElement(),e.setStates(t.source,3,n)},t}(x))),e.LastCursorMoveToSelect=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"_lastCursorMoveToSelect",precondition:null})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){var o=e.context,r=e.getLastAddedCursorIndex(),n=e.getAll(),i=n.slice(0);i[r]=p.CursorMoveCommands.moveTo(o,n[r],!0,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,i)},t}(x)));var m=function(e){function t(t){var o=e.call(this,t)||this;return o._inSelectionMode=t.inSelectionMode,o}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,p.CursorMoveCommands.moveToBeginningOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(!0,0,0)},t}(x);e.CursorHome=c.registerEditorCommand(new m({inSelectionMode:!1,id:"cursorHome",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),e.CursorHomeSelect=c.registerEditorCommand(new m({inSelectionMode:!0,id:"cursorHomeSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}})),e.CursorLineStart=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"cursorLineStart",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:0,mac:{primary:287}}})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(!0,0,0)},t.prototype._exec=function(e,t){for(var o=[],r=0,n=t.length;n>r;r++){var i=t[r],s=i.modelState.position.lineNumber;o[r]=d.CursorState.fromModelState(i.modelState.move(!1,s,1,0))}return o},t}(x)));var C=function(e){function t(t){var o=e.call(this,t)||this;return o._inSelectionMode=t.inSelectionMode,o}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,p.CursorMoveCommands.moveToEndOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(!0,0,0)},t}(x);e.CursorEnd=c.registerEditorCommand(new C({inSelectionMode:!1,id:"cursorEnd",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}}})),e.CursorEndSelect=c.registerEditorCommand(new C({inSelectionMode:!0,id:"cursorEndSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}}})),e.CursorLineEnd=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"cursorLineEnd",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:0,mac:{primary:291}}})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(!0,0,0)},t.prototype._exec=function(e,t){for(var o=[],r=0,n=t.length;n>r;r++){var i=t[r],s=i.modelState.position.lineNumber,u=e.model.getLineMaxColumn(s);o[r]=d.CursorState.fromModelState(i.modelState.move(!1,s,u,0))}return o},t}(x)));var v=function(e){function t(t){var o=e.call(this,t)||this;return o._inSelectionMode=t.inSelectionMode,o}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,p.CursorMoveCommands.moveToBeginningOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(!0,0,0)},t}(x);e.CursorTop=c.registerEditorCommand(new v({inSelectionMode:!1,id:"cursorTop",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2062,mac:{primary:2064}}})),e.CursorTopSelect=c.registerEditorCommand(new v({inSelectionMode:!0,id:"cursorTopSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:3086,mac:{primary:3088}}}));var S=function(e){function t(t){var o=e.call(this,t)||this;return o._inSelectionMode=t.inSelectionMode,o}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,p.CursorMoveCommands.moveToEndOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(!0,0,0)},t}(x);e.CursorBottom=c.registerEditorCommand(new S({inSelectionMode:!1,id:"cursorBottom",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2061,mac:{primary:2066}}})),e.CursorBottomSelect=c.registerEditorCommand(new S({inSelectionMode:!0,id:"cursorBottomSelect",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:3085,mac:{primary:3090}}}));var f=function(e){function o(){return e.call(this,{id:"editorScroll",precondition:null,description:t.EditorScroll_.description})||this}return i(o,e),o.prototype.runCoreEditorCommand=function(e,o){var r=t.EditorScroll_.parse(o);r&&this._runEditorScroll(e,o.source,r)},o.prototype._runEditorScroll=function(e,t,o){var r=this._computeDesiredScrollTop(e.context,o);if(o.revealCursor){var n=e.context.getCompletelyVisibleViewRangeAtScrollTop(r);e.setStates(t,3,[p.CursorMoveCommands.findPositionInViewportIfOutside(e.context,e.getPrimaryCursor(),n,o.select)])}e.scrollTo(r)},o.prototype._computeDesiredScrollTop=function(e,t){if(1===t.unit){var o=e.getCompletelyVisibleModelRange(),r=void 0;r=1===t.direction?Math.max(1,o.startLineNumber-t.value):Math.min(e.model.getLineCount(),o.startLineNumber+t.value);var n=e.convertModelPositionToViewPosition(new g.Position(r,1));return e.getVerticalOffsetForViewLine(n.lineNumber)}var i;i=3===t.unit?e.config.pageSize*t.value:4===t.unit?Math.round(e.config.pageSize/2)*t.value:t.value;var s=(1===t.direction?-1:1)*i;return e.getCurrentScrollTop()+s*e.config.lineHeight},o}(x);e.EditorScrollImpl=f,e.EditorScroll=c.registerEditorCommand(new f),e.ScrollLineUp=c.registerEditorCommand(new(function(t){function o(){return t.call(this,{id:"scrollLineUp",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2064,mac:{primary:267}}})||this}return i(o,t),o.prototype.runCoreEditorCommand=function(t,o){e.EditorScroll._runEditorScroll(t,o.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})},o}(x))),e.ScrollPageUp=c.registerEditorCommand(new(function(t){function o(){return t.call(this,{id:"scrollPageUp",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})||this}return i(o,t),o.prototype.runCoreEditorCommand=function(t,o){e.EditorScroll._runEditorScroll(t,o.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})},o}(x))),e.ScrollLineDown=c.registerEditorCommand(new(function(t){function o(){return t.call(this,{id:"scrollLineDown",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2066,mac:{primary:268}}})||this}return i(o,t),o.prototype.runCoreEditorCommand=function(t,o){e.EditorScroll._runEditorScroll(t,o.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})},o}(x))),e.ScrollPageDown=c.registerEditorCommand(new(function(t){function o(){return t.call(this,{id:"scrollPageDown",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})||this}return i(o,t),o.prototype.runCoreEditorCommand=function(t,o){e.EditorScroll._runEditorScroll(t,o.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})},o}(x)));var w=function(e){function t(t){var o=e.call(this,t)||this;return o._inSelectionMode=t.inSelectionMode,o}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[p.CursorMoveCommands.word(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position)]),e.reveal(!0,0,0)},t}(x);e.WordSelect=c.registerEditorCommand(new w({inSelectionMode:!1,id:"_wordSelect",precondition:null})),e.WordSelectDrag=c.registerEditorCommand(new w({inSelectionMode:!0,id:"_wordSelectDrag",precondition:null})),e.LastCursorWordSelect=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"lastCursorWordSelect",precondition:null})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){var o=e.context,r=e.getLastAddedCursorIndex(),n=e.getAll(),i=n.slice(0),s=n[r];i[r]=p.CursorMoveCommands.word(o,s,s.modelState.hasSelection(),t.position),o.model.pushStackElement(),e.setStates(t.source,3,i)},t}(x)));var b=function(e){function t(t){var o=e.call(this,t)||this;return o._inSelectionMode=t.inSelectionMode,o}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[p.CursorMoveCommands.line(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(!1,0,0)},t}(x);e.LineSelect=c.registerEditorCommand(new b({inSelectionMode:!1,id:"_lineSelect",precondition:null})),e.LineSelectDrag=c.registerEditorCommand(new b({inSelectionMode:!0,id:"_lineSelectDrag",precondition:null}));var k=function(e){function t(t){var o=e.call(this,t)||this;return o._inSelectionMode=t.inSelectionMode,o}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){var o=e.getLastAddedCursorIndex(),r=e.getAll(),n=r.slice(0);n[o]=p.CursorMoveCommands.line(e.context,r[o],this._inSelectionMode,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,n)},t}(x);e.LastCursorLineSelect=c.registerEditorCommand(new k({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:null})),e.LastCursorLineSelectDrag=c.registerEditorCommand(new k({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:null})),e.ExpandLineSelection=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"expandLineSelection",precondition:null,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2090}})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,p.CursorMoveCommands.expandLineSelection(e.context,e.getAll())),e.reveal(!0,0,0)},t}(x))),e.CancelSelection=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"cancelSelection",precondition:y.EditorContextKeys.hasNonEmptySelection,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:9,secondary:[1033]}})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[p.CursorMoveCommands.cancelSelection(e.context,e.getPrimaryCursor())]),e.reveal(!0,0,0)},t}(x))),e.RemoveSecondaryCursors=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"removeSecondaryCursors",precondition:y.EditorContextKeys.hasMultipleSelections,kbOpts:{weight:h+1,kbExpr:y.EditorContextKeys.textInputFocus,primary:9,secondary:[1033]}})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[e.getPrimaryCursor()]),e.reveal(!0,0,0)},t}(x))),e.RevealLine=c.registerEditorCommand(new(function(e){function o(){return e.call(this,{id:"revealLine",precondition:null,description:t.RevealLine_.description})||this}return i(o,e),o.prototype.runCoreEditorCommand=function(e,o){var r=o,n=(r.lineNumber||0)+1;1>n&&(n=1);var i=e.context.model.getLineCount();n>i&&(n=i);var s=new E.Range(n,1,n,e.context.model.getLineMaxColumn(n)),u=0;if(r.at)switch(r.at){case t.RevealLine_.RawAtArgument.Top:u=3;break;case t.RevealLine_.RawAtArgument.Center:u=1;break;case t.RevealLine_.RawAtArgument.Bottom:u=4}var c=e.context.convertModelRangeToViewRange(s);e.revealRange(!1,c,u,0)},o}(x))),e.SelectAll=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"selectAll",precondition:null})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[p.CursorMoveCommands.selectAll(e.context,e.getPrimaryCursor())])},t}(x))),e.SetSelection=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"setSelection",precondition:null})||this}return i(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[d.CursorState.fromModelSelection(t.selection)])},t}(x)))}(t.CoreNavigationCommands||(t.CoreNavigationCommands={})),function(e){var t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.runEditorCommand=function(e,t,o){var r=t._getCursors();r&&this.runCoreEditingCommand(t,r,o||{})},t}(c.EditorCommand);e.CoreEditingCommand=t,e.LineBreakInsert=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:y.EditorContextKeys.writable,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:0,mac:{primary:301}}})||this}return i(t,e),t.prototype.runCoreEditingCommand=function(e,t){e.pushUndoStop(),e.executeCommands(this.id,C.TypeOperations.lineBreakInsert(t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection})))},t}(t))),e.Outdent=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:y.EditorContextKeys.writable,kbOpts:{weight:h,kbExpr:S.ContextKeyExpr.and(y.EditorContextKeys.editorTextFocus,y.EditorContextKeys.tabDoesNotMoveFocus),primary:1026}})||this}return i(t,e),t.prototype.runCoreEditingCommand=function(e,t){e.pushUndoStop(),e.executeCommands(this.id,C.TypeOperations.outdent(t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection}))),e.pushUndoStop()},t}(t))),e.Tab=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"tab",precondition:y.EditorContextKeys.writable,kbOpts:{weight:h,kbExpr:S.ContextKeyExpr.and(y.EditorContextKeys.editorTextFocus,y.EditorContextKeys.tabDoesNotMoveFocus),primary:2}})||this}return i(t,e),t.prototype.runCoreEditingCommand=function(e,t){e.pushUndoStop(),e.executeCommands(this.id,C.TypeOperations.tab(t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection}))),e.pushUndoStop()},t}(t))),e.DeleteLeft=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:y.EditorContextKeys.writable,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return i(t,e),t.prototype.runCoreEditingCommand=function(e,t){var o=m.DeleteOperations.deleteLeft(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection})),r=o[0],n=o[1];r&&e.pushUndoStop(),e.executeCommands(this.id,n),t.setPrevEditOperationType(2)},t}(t))),e.DeleteRight=c.registerEditorCommand(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:y.EditorContextKeys.writable,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return i(t,e),t.prototype.runCoreEditingCommand=function(e,t){var o=m.DeleteOperations.deleteRight(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection})),r=o[0],n=o[1];r&&e.pushUndoStop(),e.executeCommands(this.id,n),t.setPrevEditOperationType(3)},t}(t)))}(t.CoreEditingCommands||(t.CoreEditingCommands={}));var f=function(e){function t(t){var o=e.call(this,t)||this;return o._editorHandler=t.editorHandler,o._inputHandler=t.inputHandler,o}return i(t,e),t.prototype.runCommand=function(e,t){var o=e.get(a.ICodeEditorService).getFocusedCodeEditor();if(o&&o.hasTextFocus())return this._runEditorHandler(e,o,t);var r=document.activeElement;if(r&&["input","textarea"].indexOf(r.tagName.toLowerCase())>=0)return void document.execCommand(this._inputHandler);var n=e.get(a.ICodeEditorService).getActiveCodeEditor();return n?(n.focus(),this._runEditorHandler(e,n,t)):void 0},t.prototype._runEditorHandler=function(e,t,o){var r=this._editorHandler;"string"==typeof r?t.trigger("keyboard",r,o):(o=o||{},o.source="keyboard",r.runEditorCommand(e,t,o))},t}(c.Command),w=function(e){function t(t,o,r){var n=e.call(this,{id:t,precondition:null,description:r})||this;return n._handlerId=o,n}return i(t,e),t.prototype.runCommand=function(e,t){var o=e.get(a.ICodeEditorService).getFocusedCodeEditor();o&&o.trigger("keyboard",this._handlerId,t)},t}(c.Command);o(new f({editorHandler:t.CoreNavigationCommands.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:y.EditorContextKeys.textInputFocus,kbOpts:{weight:h,kbExpr:null,primary:2079},menubarOpts:{menuId:22,group:"1_basic",title:s.localize({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),o(new f({editorHandler:v.Handler.Undo,inputHandler:"undo",id:v.Handler.Undo,precondition:y.EditorContextKeys.writable,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2104},menubarOpts:{menuId:14,group:"1_do",title:s.localize({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),o(new w("default:"+v.Handler.Undo,v.Handler.Undo)),o(new f({editorHandler:v.Handler.Redo,inputHandler:"redo",id:v.Handler.Redo,precondition:y.EditorContextKeys.writable,kbOpts:{weight:h,kbExpr:y.EditorContextKeys.textInputFocus,primary:2103,secondary:[3128],mac:{primary:3128}},menubarOpts:{menuId:14,group:"1_do",title:s.localize({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),o(new w("default:"+v.Handler.Redo,v.Handler.Redo)),r(v.Handler.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),r(v.Handler.ReplacePreviousChar),r(v.Handler.CompositionStart),r(v.Handler.CompositionEnd),r(v.Handler.Paste),r(v.Handler.Cut)});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/view/viewController.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/view/viewController",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/monaco-editor/esm/vs/editor/browser/controller/coreCommands"),i=o("node_modules/monaco-editor/esm/vs/editor/common/core/position"),n=function(){function o(o,e,t,i){this.configuration=o,this.viewModel=e,this.outgoingEvents=t,this.commandDelegate=i}return o.prototype._execMouseCommand=function(o,e){e.source="mouse",this.commandDelegate.executeEditorCommand(o,e)},o.prototype.paste=function(o,e,t,i){this.commandDelegate.paste(o,e,t,i)},o.prototype.type=function(o,e){this.commandDelegate.type(o,e)},o.prototype.replacePreviousChar=function(o,e,t){this.commandDelegate.replacePreviousChar(o,e,t)},o.prototype.compositionStart=function(o){this.commandDelegate.compositionStart(o)},o.prototype.compositionEnd=function(o){this.commandDelegate.compositionEnd(o)},o.prototype.cut=function(o){this.commandDelegate.cut(o)},o.prototype.setSelection=function(o,e){this.commandDelegate.executeEditorCommand(t.CoreNavigationCommands.SetSelection,{source:o,selection:e})},o.prototype._validateViewColumn=function(o){var e=this.viewModel.getLineMinColumn(o.lineNumber);return o.column<e?new i.Position(o.lineNumber,e):o},o.prototype._hasMulticursorModifier=function(o){switch(this.configuration.editor.multiCursorModifier){case"altKey":return o.altKey;case"ctrlKey":return o.ctrlKey;case"metaKey":return o.metaKey}return!1},o.prototype._hasNonMulticursorModifier=function(o){switch(this.configuration.editor.multiCursorModifier){case"altKey":return o.ctrlKey||o.metaKey;case"ctrlKey":return o.altKey||o.metaKey;case"metaKey":return o.ctrlKey||o.altKey}return!1},o.prototype.dispatchMouse=function(o){o.middleButton?o.inSelectionMode?this._columnSelect(o.position,o.mouseColumn):this.moveTo(o.position):o.startedOnLineNumbers?this._hasMulticursorModifier(o)?o.inSelectionMode?this._lastCursorLineSelect(o.position):this._createCursor(o.position,!0):o.inSelectionMode?this._lineSelectDrag(o.position):this._lineSelect(o.position):o.mouseDownCount>=4?this._selectAll():3===o.mouseDownCount?this._hasMulticursorModifier(o)?o.inSelectionMode?this._lastCursorLineSelectDrag(o.position):this._lastCursorLineSelect(o.position):o.inSelectionMode?this._lineSelectDrag(o.position):this._lineSelect(o.position):2===o.mouseDownCount?this._hasMulticursorModifier(o)?this._lastCursorWordSelect(o.position):o.inSelectionMode?this._wordSelectDrag(o.position):this._wordSelect(o.position):this._hasMulticursorModifier(o)?this._hasNonMulticursorModifier(o)||(o.shiftKey?this._columnSelect(o.position,o.mouseColumn):o.inSelectionMode?this._lastCursorMoveToSelect(o.position):this._createCursor(o.position,!1)):o.inSelectionMode?o.altKey?this._columnSelect(o.position,o.mouseColumn):this._moveToSelect(o.position):this.moveTo(o.position)},o.prototype._usualArgs=function(o){return o=this._validateViewColumn(o),{position:this._convertViewToModelPosition(o),viewPosition:o}},o.prototype.moveTo=function(o){this._execMouseCommand(t.CoreNavigationCommands.MoveTo,this._usualArgs(o))},o.prototype._moveToSelect=function(o){this._execMouseCommand(t.CoreNavigationCommands.MoveToSelect,this._usualArgs(o))},o.prototype._columnSelect=function(o,e){o=this._validateViewColumn(o),this._execMouseCommand(t.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(o),viewPosition:o,mouseColumn:e})},o.prototype._createCursor=function(o,e){o=this._validateViewColumn(o),this._execMouseCommand(t.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(o),viewPosition:o,wholeLine:e})},o.prototype._lastCursorMoveToSelect=function(o){this._execMouseCommand(t.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(o))},o.prototype._wordSelect=function(o){this._execMouseCommand(t.CoreNavigationCommands.WordSelect,this._usualArgs(o))},o.prototype._wordSelectDrag=function(o){this._execMouseCommand(t.CoreNavigationCommands.WordSelectDrag,this._usualArgs(o))},o.prototype._lastCursorWordSelect=function(o){this._execMouseCommand(t.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(o))},o.prototype._lineSelect=function(o){this._execMouseCommand(t.CoreNavigationCommands.LineSelect,this._usualArgs(o))},o.prototype._lineSelectDrag=function(o){this._execMouseCommand(t.CoreNavigationCommands.LineSelectDrag,this._usualArgs(o))},o.prototype._lastCursorLineSelect=function(o){this._execMouseCommand(t.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(o))},o.prototype._lastCursorLineSelectDrag=function(o){this._execMouseCommand(t.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(o))},o.prototype._selectAll=function(){this._execMouseCommand(t.CoreNavigationCommands.SelectAll,{})},o.prototype._convertViewToModelPosition=function(o){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(o)},o.prototype.emitKeyDown=function(o){this.outgoingEvents.emitKeyDown(o)},o.prototype.emitKeyUp=function(o){this.outgoingEvents.emitKeyUp(o)},o.prototype.emitContextMenu=function(o){this.outgoingEvents.emitContextMenu(o)},o.prototype.emitMouseMove=function(o){this.outgoingEvents.emitMouseMove(o)},o.prototype.emitMouseLeave=function(o){this.outgoingEvents.emitMouseLeave(o)},o.prototype.emitMouseUp=function(o){this.outgoingEvents.emitMouseUp(o)},o.prototype.emitMouseDown=function(o){this.outgoingEvents.emitMouseDown(o)},o.prototype.emitMouseDrag=function(o){this.outgoingEvents.emitMouseDrag(o)},o.prototype.emitMouseDrop=function(o){this.outgoingEvents.emitMouseDrop(o)},o.prototype.emitMouseWheel=function(o){this.outgoingEvents.emitMouseWheel(o)},o}();e.ViewController=n});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/view/viewLayer.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/view/viewLayer",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/stringBuilder"),r=function(){function e(e){this._createLine=e,this._set(1,[])}return e.prototype.flush=function(){this._set(1,[])},e.prototype._set=function(e,t){this._lines=t,this._rendLineNumberStart=e},e.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},e.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},e.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},e.prototype.getCount=function(){return this._lines.length},e.prototype.getLine=function(e){var t=e-this._rendLineNumberStart;if(0>t||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},e.prototype.onLinesDeleted=function(e,t){if(0===this.getCount())return null;var n=this.getStartLineNumber(),i=this.getEndLineNumber();if(n>t){var r=t-e+1;return this._rendLineNumberStart-=r,null}if(e>i)return null;for(var o=0,s=0,l=n;i>=l;l++){var u=l-this._rendLineNumberStart;l>=e&&t>=l&&(0===s?(o=u,s=1):s++)}if(n>e){var a=0;a=n>t?t-e+1:n-e,this._rendLineNumberStart-=a}var h=this._lines.splice(o,s);return h},e.prototype.onLinesChanged=function(e,t){if(0===this.getCount())return!1;for(var n=this.getStartLineNumber(),i=this.getEndLineNumber(),r=!1,o=e;t>=o;o++)o>=n&&i>=o&&(this._lines[o-this._rendLineNumberStart].onContentChanged(),r=!0);return r},e.prototype.onLinesInserted=function(e,t){if(0===this.getCount())return null;var n=t-e+1,i=this.getStartLineNumber(),r=this.getEndLineNumber();if(i>=e)return this._rendLineNumberStart+=n,null;if(e>r)return null;if(n+e>r){var o=this._lines.splice(e-this._rendLineNumberStart,r-e+1);return o}for(var s=[],l=0;n>l;l++)s[l]=this._createLine();var u=e-this._rendLineNumberStart,a=this._lines.slice(0,u),h=this._lines.slice(u,this._lines.length-n),d=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=a.concat(s).concat(h),d},e.prototype.onTokensChanged=function(e){if(0===this.getCount())return!1;for(var t=this.getStartLineNumber(),n=this.getEndLineNumber(),i=!1,r=0,o=e.length;o>r;r++){var s=e[r];if(!(s.toLineNumber<t||s.fromLineNumber>n))for(var l=Math.max(t,s.fromLineNumber),u=Math.min(n,s.toLineNumber),a=l;u>=a;a++){var h=a-this._rendLineNumberStart;this._lines[h].onTokensChanged(),i=!0}}return i},e}();t.RenderedLinesCollection=r;var o=function(){function e(e){var t=this;this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new r(function(){return t._host.createVisibleLine()})}return e.prototype._createDomNode=function(){var e=n.createFastDomNode(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e},e.prototype.onConfigurationChanged=function(e){return e.layoutInfo},e.prototype.onFlushed=function(){return this._linesCollection.flush(),!0},e.prototype.onLinesChanged=function(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){var t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,i=t.length;i>n;n++){var r=t[n].getDomNode();r&&this.domNode.domNode.removeChild(r)}return!0},e.prototype.onLinesInserted=function(e){var t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,i=t.length;i>n;n++){var r=t[n].getDomNode();r&&this.domNode.domNode.removeChild(r)}return!0},e.prototype.onScrollChanged=function(e){return e.scrollTopChanged},e.prototype.onTokensChanged=function(e){return this._linesCollection.onTokensChanged(e.ranges)},e.prototype.onZonesChanged=function(){return!0},e.prototype.getStartLineNumber=function(){return this._linesCollection.getStartLineNumber()},e.prototype.getEndLineNumber=function(){return this._linesCollection.getEndLineNumber()},e.prototype.getVisibleLine=function(e){return this._linesCollection.getLine(e)},e.prototype.renderLines=function(e){var t=this._linesCollection._get(),n=new s(this.domNode.domNode,this._host,e),i={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},r=n.render(i,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(r.rendLineNumberStart,r.lines)},e}();t.VisibleLinesCollection=o;var s=function(){function e(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}return e.prototype.render=function(e,t,n,i){var r={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(r.rendLineNumberStart+r.linesLength-1<t||n<r.rendLineNumberStart){r.rendLineNumberStart=t,r.linesLength=n-t+1,r.lines=[];for(var o=t;n>=o;o++)r.lines[o-t]=this.host.createVisibleLine();return this._finishRendering(r,!0,i),r}if(this._renderUntouchedLines(r,Math.max(t-r.rendLineNumberStart,0),Math.min(n-r.rendLineNumberStart,r.linesLength-1),i,t),r.rendLineNumberStart>t){var s=t,l=Math.min(n,r.rendLineNumberStart-1);l>=s&&(this._insertLinesBefore(r,s,l,i,t),r.linesLength+=l-s+1)}else if(r.rendLineNumberStart<t){var u=Math.min(r.linesLength,t-r.rendLineNumberStart);u>0&&(this._removeLinesBefore(r,u),r.linesLength-=u)}if(r.rendLineNumberStart=t,r.rendLineNumberStart+r.linesLength-1<n){var s=r.rendLineNumberStart+r.linesLength,l=n;l>=s&&(this._insertLinesAfter(r,s,l,i,t),r.linesLength+=l-s+1)}else if(r.rendLineNumberStart+r.linesLength-1>n){var s=Math.max(0,n-r.rendLineNumberStart+1),l=r.linesLength-1,u=l-s+1;u>0&&(this._removeLinesAfter(r,u),r.linesLength-=u)}return this._finishRendering(r,!1,i),r},e.prototype._renderUntouchedLines=function(e,t,n,i,r){for(var o=e.rendLineNumberStart,s=e.lines,l=t;n>=l;l++){var u=o+l;s[l].layoutLine(u,i[u-r])}},e.prototype._insertLinesBefore=function(e,t,n){for(var i=[],r=0,o=t;n>=o;o++)i[r++]=this.host.createVisibleLine();e.lines=i.concat(e.lines)},e.prototype._removeLinesBefore=function(e,t){for(var n=0;t>n;n++){var i=e.lines[n].getDomNode();i&&this.domNode.removeChild(i)}e.lines.splice(0,t)},e.prototype._insertLinesAfter=function(e,t,n){for(var i=[],r=0,o=t;n>=o;o++)i[r++]=this.host.createVisibleLine();e.lines=e.lines.concat(i)},e.prototype._removeLinesAfter=function(e,t){for(var n=e.linesLength-t,i=0;t>i;i++){var r=e.lines[n+i].getDomNode();r&&this.domNode.removeChild(r)}e.lines.splice(n,t)},e.prototype._finishRenderingNewLines=function(e,t,n,i){var r=this.domNode.lastChild;t||!r?this.domNode.innerHTML=n:r.insertAdjacentHTML("afterend",n);for(var o=this.domNode.lastChild,s=e.linesLength-1;s>=0;s--){var l=e.lines[s];i[s]&&(l.setDomNode(o),o=o.previousSibling)}},e.prototype._finishRenderingInvalidLines=function(e,t,n){var i=document.createElement("div");i.innerHTML=t;for(var r=0;r<e.linesLength;r++){var o=e.lines[r];if(n[r]){var s=i.firstChild,l=o.getDomNode();l.parentNode.replaceChild(s,l),o.setDomNode(s)}}},e.prototype._finishRendering=function(t,n,i){var r=e._sb,o=t.linesLength,s=t.lines,l=t.rendLineNumberStart,u=[];r.reset();for(var a=!1,h=0;o>h;h++){var d=s[h];u[h]=!1;var m=d.getDomNode();if(!m){var L=d.renderLine(h+l,i[h],this.viewportData,r);L&&(u[h]=!0,a=!0)}}a&&this._finishRenderingNewLines(t,n,r.build(),u),r.reset();for(var f=!1,c=[],h=0;o>h;h++){var d=s[h];if(c[h]=!1,!u[h]){var L=d.renderLine(h+l,i[h],this.viewportData,r);L&&(c[h]=!0,f=!0)}}f&&this._finishRenderingInvalidLines(t,r.build(),c)},e._sb=i.createStringBuilder(1e5),e}()});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/view/viewOverlays.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/view/viewOverlays",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),o=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),i=e("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration"),r=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewLayer"),s=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),d=function(e){function t(t){var n=e.call(this,t)||this;return n._visibleLines=new r.VisibleLinesCollection(n),n.domNode=n._visibleLines.domNode,n._dynamicOverlays=[],n._isFocused=!1,n.domNode.setClassName("view-overlays"),n}return n(t,e),t.prototype.shouldRender=function(){if(e.prototype.shouldRender.call(this))return!0;for(var t=0,n=this._dynamicOverlays.length;n>t;t++){var o=this._dynamicOverlays[t];if(o.shouldRender())return!0}return!1},t.prototype.dispose=function(){e.prototype.dispose.call(this);for(var t=0,n=this._dynamicOverlays.length;n>t;t++){var o=this._dynamicOverlays[t];o.dispose()}this._dynamicOverlays=[]},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new a(this._context.configuration,this._dynamicOverlays)},t.prototype.addDynamicOverlay=function(e){this._dynamicOverlays.push(e)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e);for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),o=t;n>=o;o++){var i=this._visibleLines.getVisibleLine(o);i.onConfigurationChanged(e)}return!0},t.prototype.onFlushed=function(e){return this._visibleLines.onFlushed(e)},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!0},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onScrollChanged=function(e){return this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._visibleLines.onZonesChanged(e)},t.prototype.prepareRender=function(e){for(var t=this._dynamicOverlays.filter(function(e){return e.shouldRender()}),n=0,o=t.length;o>n;n++){var i=t[n];i.prepareRender(e),i.onDidRender()}},t.prototype.render=function(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)},t.prototype._viewOverlaysRender=function(e){this._visibleLines.renderLines(e.viewportData)},t}(s.ViewPart);t.ViewOverlays=d;var a=function(){function e(e,t){this._configuration=e,this._lineHeight=this._configuration.editor.lineHeight,this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}return e.prototype.getDomNode=function(){return this._domNode?this._domNode.domNode:null},e.prototype.setDomNode=function(e){this._domNode=o.createFastDomNode(e)},e.prototype.onContentChanged=function(){},e.prototype.onTokensChanged=function(){},e.prototype.onConfigurationChanged=function(e){e.lineHeight&&(this._lineHeight=this._configuration.editor.lineHeight)},e.prototype.renderLine=function(e,t,n,o){for(var i="",r=0,s=this._dynamicOverlays.length;s>r;r++){var d=this._dynamicOverlays[r];i+=d.render(n.startLineNumber,e)}return this._renderedContent===i?!1:(this._renderedContent=i,o.appendASCIIString('<div style="position:absolute;top:'),o.appendASCIIString(String(t)),o.appendASCIIString("px;width:100%;height:"),o.appendASCIIString(String(this._lineHeight)),o.appendASCIIString('px;">'),o.appendASCIIString(i),o.appendASCIIString("</div>"),!0)},e.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},e}();t.ViewOverlayLine=a;var h=function(e){function t(t){var n=e.call(this,t)||this;return n._contentWidth=n._context.configuration.editor.layoutInfo.contentWidth,n.domNode.setHeight(0),n}return n(t,e),t.prototype.onConfigurationChanged=function(t){return t.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth),e.prototype.onConfigurationChanged.call(this,t)},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},t}(d);t.ContentViewOverlays=h;var l=function(e){function t(t){var n=e.call(this,t)||this;return n._contentLeft=n._context.configuration.editor.layoutInfo.contentLeft,n.domNode.setClassName("margin-view-overlays"),n.domNode.setWidth(1),i.Configuration.applyFontInfo(n.domNode,n._context.configuration.editor.fontInfo),n}return n(t,e),t.prototype.onConfigurationChanged=function(t){var n=!1;return t.fontInfo&&(i.Configuration.applyFontInfo(this.domNode,this._context.configuration.editor.fontInfo),n=!0),t.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,n=!0),e.prototype.onConfigurationChanged.call(this,t)||n},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t);var n=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(n),this.domNode.setWidth(this._contentLeft)},t}(d);t.MarginViewOverlays=l});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),r=t("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),s=t("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),d=t("node_modules/monaco-editor/esm/vs/base/common/types"),h=function(){function t(t,e){this.top=t,this.left=e}return t}(),l=function(t){function e(e,o){var i=t.call(this,e)||this;return i._viewDomNode=o,i._widgets={},i.domNode=r.createFastDomNode(document.createElement("div")),s.PartFingerprints.write(i.domNode,1),i.domNode.setClassName("contentWidgets"),i.domNode.setPosition("absolute"),i.domNode.setTop(0),i.overflowingContentWidgetsDomNode=r.createFastDomNode(document.createElement("div")),s.PartFingerprints.write(i.overflowingContentWidgetsDomNode,2),i.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),i}return i(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this._widgets={}},e.prototype.onConfigurationChanged=function(t){for(var e=Object.keys(this._widgets),o=0,i=e;o<i.length;o++){var n=i[o];this._widgets[n].onConfigurationChanged(t)}return!0},e.prototype.onDecorationsChanged=function(){return!0},e.prototype.onFlushed=function(){return!0},e.prototype.onLineMappingChanged=function(t){for(var e=Object.keys(this._widgets),o=0,i=e;o<i.length;o++){var n=i[o];this._widgets[n].onLineMappingChanged(t)}return!0},e.prototype.onLinesChanged=function(){return!0},e.prototype.onLinesDeleted=function(){return!0},e.prototype.onLinesInserted=function(){return!0},e.prototype.onScrollChanged=function(){return!0},e.prototype.onZonesChanged=function(){return!0},e.prototype.addWidget=function(t){var e=new a(this._context,this._viewDomNode,t);this._widgets[e.id]=e,e.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(e.domNode):this.domNode.appendChild(e.domNode),this.setShouldRender()},e.prototype.setWidgetPosition=function(t,e,o,i){var n=this._widgets[t.getId()];n.setPosition(e,o,i),this.setShouldRender()},e.prototype.removeWidget=function(t){var e=t.getId();if(this._widgets.hasOwnProperty(e)){var o=this._widgets[e];delete this._widgets[e];var i=o.domNode.domNode;i.parentNode.removeChild(i),i.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}},e.prototype.shouldSuppressMouseDownOnWidget=function(t){return this._widgets.hasOwnProperty(t)?this._widgets[t].suppressMouseDown:!1},e.prototype.onBeforeRender=function(t){for(var e=Object.keys(this._widgets),o=0,i=e;o<i.length;o++){var n=i[o];this._widgets[n].onBeforeRender(t)}},e.prototype.prepareRender=function(t){for(var e=Object.keys(this._widgets),o=0,i=e;o<i.length;o++){var n=i[o];this._widgets[n].prepareRender(t)}},e.prototype.render=function(t){for(var e=Object.keys(this._widgets),o=0,i=e;o<i.length;o++){var n=i[o];this._widgets[n].render(t)}},e}(s.ViewPart);e.ViewContentWidgets=l;var a=function(){function t(t,e,o){this._context=t,this._viewDomNode=e,this._actual=o,this.domNode=r.createFastDomNode(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1,this._fixedOverflowWidgets=this._context.configuration.editor.viewInfo.fixedOverflowWidgets,this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth,this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,this._lineHeight=this._context.configuration.editor.lineHeight,this._setPosition(null,null),this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}return t.prototype.onConfigurationChanged=function(t){t.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),t.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth,this._maxWidth=this._getMaxWidth())},t.prototype.onLineMappingChanged=function(){this._setPosition(this._position,this._range)},t.prototype._setPosition=function(t,e){if(this._position=d.withUndefinedAsNull(t),this._range=d.withUndefinedAsNull(e),this._viewPosition=null,this._viewRange=null,this._position){var o=this._context.model.validateModelPosition(this._position);this._context.model.coordinatesConverter.modelPositionIsVisible(o)&&(this._viewPosition=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(o))}if(this._range){var i=this._context.model.validateModelRange(this._range);this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(i)}},t.prototype._getMaxWidth=function(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth},t.prototype.setPosition=function(t,e,o){this._setPosition(t,e),this._preference=d.withUndefinedAsNull(o),this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1},t.prototype._layoutBoxInViewport=function(t,e,o,i,n){var r=t.top,s=r,d=e.top+this._lineHeight,h=n.viewportHeight-d,l=r-i,a=s>=i,c=d,f=h>=i,u=t.left,p=e.left;return u+o>n.scrollLeft+n.viewportWidth&&(u=n.scrollLeft+n.viewportWidth-o),p+o>n.scrollLeft+n.viewportWidth&&(p=n.scrollLeft+n.viewportWidth-o),u<n.scrollLeft&&(u=n.scrollLeft),p<n.scrollLeft&&(p=n.scrollLeft),{fitsAbove:a,aboveTop:l,aboveLeft:u,fitsBelow:f,belowTop:c,belowLeft:p}},t.prototype._layoutBoxInPage=function(t,e,o,i,r){var s=t.left-r.scrollLeft,d=e.left-r.scrollLeft;if(0>s||s>this._contentWidth)return null;var h=t.top-i,l=e.top+this._lineHeight,a=s+this._contentLeft,c=d+this._contentLeft,f=n.getDomNodePagePosition(this._viewDomNode.domNode),u=f.top+h-n.StandardWindow.scrollY,p=f.top+l-n.StandardWindow.scrollY,_=f.left+a-n.StandardWindow.scrollX,g=f.left+c-n.StandardWindow.scrollX,w=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,m=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,v=22,N=22,b=u>=v,y=m-N>=p+i;if(_+o+20>w){var W=_-(w-o-20);_-=W,a-=W}if(g+o+20>w){var W=g-(w-o-20);g-=W,c-=W}if(0>_){var W=_;_-=W,a-=W}if(0>g){var W=g;g-=W,c-=W}return this._fixedOverflowWidgets&&(h=u,l=p,a=_,c=g),{fitsAbove:b,aboveTop:h,aboveLeft:a,fitsBelow:y,belowTop:l,belowLeft:c}},t.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(t){return new h(t.top,t.left+this._contentLeft)},t.prototype._getTopAndBottomLeft=function(t){if(!this._viewPosition)return[null,null];var e=t.visibleRangeForPosition(this._viewPosition);if(!e)return[null,null];var o=t.getVerticalOffsetForLineNumber(this._viewPosition.lineNumber)-t.scrollTop,i=new h(o,e.left),n=this._viewPosition.lineNumber,r=e.left;if(this._viewRange){var s=t.linesVisibleRangesForRange(this._viewRange,!1);if(s&&s.length>0)for(var d=s.length-1;d>=0;d--){var l=s[d];if(l.lineNumber>=n){l.lineNumber>n&&(n=l.lineNumber,r=1073741824);for(var a=0,c=l.ranges.length;c>a;a++){var f=l.ranges[a];f.left<r&&(r=f.left)}}}}var u=t.getVerticalOffsetForLineNumber(n)-t.scrollTop,p=new h(u,r);return[i,p]},t.prototype._prepareRenderWidget=function(t){var e=this._getTopAndBottomLeft(t),o=e[0],i=e[1];if(!o||!i)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){var n=this.domNode.domNode;this._cachedDomNodeClientWidth=n.clientWidth,this._cachedDomNodeClientHeight=n.clientHeight}var r;if(r=this.allowEditorOverflow?this._layoutBoxInPage(o,i,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,t):this._layoutBoxInViewport(o,i,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,t),this._preference)for(var s=1;2>=s;s++)for(var d=0,l=this._preference;d<l.length;d++){var a=l[d];if(1===a){if(!r)return null;if(2===s||r.fitsAbove)return new h(r.aboveTop,r.aboveLeft)}else{if(2!==a)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(o):o;if(!r)return null;if(2===s||r.fitsBelow)return new h(r.belowTop,r.belowLeft)}}return null},t.prototype.onBeforeRender=function(t){this._viewPosition&&this._preference&&(this._viewPosition.lineNumber<t.startLineNumber||this._viewPosition.lineNumber>t.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))},t.prototype.prepareRender=function(t){this._renderData=this._prepareRenderWidget(t)},t.prototype.render=function(t){return this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+t.scrollTop-t.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),void(this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0))):void(this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")))},t}()});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay"),r=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),o=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),s=function(e){function t(t){var i=e.call(this)||this;return i._context=t,i._lineHeight=i._context.configuration.editor.lineHeight,i._renderLineHighlight=i._context.configuration.editor.viewInfo.renderLineHighlight,i._selectionIsEmpty=!0,i._primaryCursorLineNumber=1,i._scrollWidth=0,i._contentWidth=i._context.configuration.editor.layoutInfo.contentWidth,i._context.addEventHandler(i),i}return i(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._renderLineHighlight=this._context.configuration.editor.viewInfo.renderLineHighlight),e.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth),!0},t.prototype.onCursorStateChanged=function(e){var t=!1,i=e.selections[0].positionLineNumber;this._primaryCursorLineNumber!==i&&(this._primaryCursorLineNumber=i,t=!0);var n=e.selections[0].isEmpty();return this._selectionIsEmpty!==n?(this._selectionIsEmpty=n,!0):t},t.prototype.onFlushed=function(){return!0},t.prototype.onLinesDeleted=function(){return!0},t.prototype.onLinesInserted=function(){return!0},t.prototype.onScrollChanged=function(e){return e.scrollWidthChanged},t.prototype.onZonesChanged=function(){return!0},t.prototype.prepareRender=function(e){this._scrollWidth=e.scrollWidth},t.prototype.render=function(e,t){if(t===this._primaryCursorLineNumber){if(this._shouldShowCurrentLine()){var i=this._willRenderMarginCurrentLine(),n="current-line"+(i?" current-line-both":"");return'<div class="'+n+'" style="width:'+String(Math.max(this._scrollWidth,this._contentWidth))+"px; height:"+String(this._lineHeight)+'px;"></div>'}return""}return""},t.prototype._shouldShowCurrentLine=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t.prototype._willRenderMarginCurrentLine=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t}(n.DynamicViewOverlay);t.CurrentLineHighlightOverlay=s,o.registerThemingParticipant(function(e,t){var i=e.getColor(r.editorLineHighlight);if(i&&t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+i+"; }"),!i||i.isTransparent()||e.defines(r.editorLineHighlightBorder)){var n=e.getColor(r.editorLineHighlightBorder);n&&(t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+n+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"))}})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/currentLineMarginHighlight/currentLineMarginHighlight.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/currentLineMarginHighlight/currentLineMarginHighlight",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e("node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay"),r=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),o=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),s=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._renderLineHighlight=n._context.configuration.editor.viewInfo.renderLineHighlight,n._selectionIsEmpty=!0,n._primaryCursorLineNumber=1,n._contentLeft=n._context.configuration.editor.layoutInfo.contentLeft,n._context.addEventHandler(n),n}return n(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._renderLineHighlight=this._context.configuration.editor.viewInfo.renderLineHighlight),e.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft),!0},t.prototype.onCursorStateChanged=function(e){var t=!1,n=e.selections[0].positionLineNumber;this._primaryCursorLineNumber!==n&&(this._primaryCursorLineNumber=n,t=!0);var i=e.selections[0].isEmpty();return this._selectionIsEmpty!==i?(this._selectionIsEmpty=i,!0):t},t.prototype.onFlushed=function(){return!0},t.prototype.onLinesDeleted=function(){return!0},t.prototype.onLinesInserted=function(){return!0},t.prototype.onZonesChanged=function(){return!0},t.prototype.prepareRender=function(){},t.prototype.render=function(e,t){if(t===this._primaryCursorLineNumber){var n="current-line";if(this._shouldShowCurrentLine()){var i=this._willRenderContentCurrentLine();n="current-line current-line-margin"+(i?" current-line-margin-both":"")}return'<div class="'+n+'" style="width:'+String(this._contentLeft)+"px; height:"+String(this._lineHeight)+'px;"></div>'}return""},t.prototype._shouldShowCurrentLine=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t.prototype._willRenderContentCurrentLine=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t}(i.DynamicViewOverlay);t.CurrentLineMarginHighlightOverlay=s,o.registerThemingParticipant(function(e,t){var n=e.getColor(r.editorLineHighlight);if(n)t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }");else{var i=e.getColor(r.editorLineHighlightBorder);i&&t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+i+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")}})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/decorations/decorations.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/decorations/decorations",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=this&&this.__extends||function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),r=e("node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),i=e("node_modules/monaco-editor/esm/vs/editor/common/view/renderingContext"),a=function(e){function n(n){var t=e.call(this)||this;return t._context=n,t._lineHeight=t._context.configuration.editor.lineHeight,t._typicalHalfwidthCharacterWidth=t._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,t._renderResult=null,t._context.addEventHandler(t),t}return t(n,e),n.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},n.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),!0},n.prototype.onDecorationsChanged=function(){return!0},n.prototype.onFlushed=function(){return!0},n.prototype.onLinesChanged=function(){return!0},n.prototype.onLinesDeleted=function(){return!0},n.prototype.onLinesInserted=function(){return!0},n.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},n.prototype.onZonesChanged=function(){return!0},n.prototype.prepareRender=function(e){for(var n=e.getDecorationsInViewport(),t=[],r=0,i=0,a=n.length;a>i;i++){var s=n[i];s.options.className&&(t[r++]=s)}t=t.sort(function(e,n){if(e.options.zIndex<n.options.zIndex)return-1;if(e.options.zIndex>n.options.zIndex)return 1;var t=e.options.className,r=n.options.className;return r>t?-1:t>r?1:o.Range.compareRangesUsingStarts(e.range,n.range)});for(var l=e.visibleRange.startLineNumber,d=e.visibleRange.endLineNumber,c=[],u=l;d>=u;u++){var h=u-l;c[h]=""}this._renderWholeLineDecorations(e,t,c),this._renderNormalDecorations(e,t,c),this._renderResult=c},n.prototype._renderWholeLineDecorations=function(e,n,t){for(var r=String(this._lineHeight),o=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,a=0,s=n.length;s>a;a++){var l=n[a];if(l.options.isWholeLine)for(var d='<div class="cdr '+l.options.className+'" style="left:0;width:100%;height:'+r+'px;"></div>',c=Math.max(l.range.startLineNumber,o),u=Math.min(l.range.endLineNumber,i),h=c;u>=h;h++){var p=h-o;t[p]+=d}}},n.prototype._renderNormalDecorations=function(e,n,t){for(var r=String(this._lineHeight),i=e.visibleRange.startLineNumber,a=null,s=!1,l=null,d=0,c=n.length;c>d;d++){var u=n[d];if(!u.options.isWholeLine){var h=u.options.className,p=Boolean(u.options.showIfCollapsed),f=u.range;p&&1===f.endColumn&&f.endLineNumber!==f.startLineNumber&&(f=new o.Range(f.startLineNumber,f.startColumn,f.endLineNumber-1,this._context.model.getLineMaxColumn(f.endLineNumber-1))),a===h&&s===p&&o.Range.areIntersectingOrTouching(l,f)?l=o.Range.plusRange(l,f):(null!==a&&this._renderNormalDecoration(e,l,a,s,r,i,t),a=h,s=p,l=f)}}null!==a&&this._renderNormalDecoration(e,l,a,s,r,i,t)},n.prototype._renderNormalDecoration=function(e,n,t,r,o,a,s){var l=e.linesVisibleRangesForRange(n,"findMatch"===t);if(l)for(var d=0,c=l.length;c>d;d++){var u=l[d],h=u.lineNumber-a;if(r&&1===u.ranges.length){var p=u.ranges[0];0===p.width&&(u.ranges[0]=new i.HorizontalRange(p.left,this._typicalHalfwidthCharacterWidth))}for(var f=0,g=u.ranges.length;g>f;f++){var m=u.ranges[f],v='<div class="cdr '+t+'" style="left:'+String(m.left)+"px;width:"+String(m.width)+"px;height:"+o+'px;"></div>';s[h]+=v}}},n.prototype.render=function(e,n){if(!this._renderResult)return"";var t=n-e;return 0>t||t>=this._renderResult.length?"":this._renderResult[t]},n}(r.DynamicViewOverlay);n.DecorationsOverlay=a});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/widget.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/widget",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=e("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent"),i=e("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.onclick=function(e,t){this._register(r.addDisposableListener(e,r.EventType.CLICK,function(e){return t(new i.StandardMouseEvent(e))}))},t.prototype.onmousedown=function(e,t){this._register(r.addDisposableListener(e,r.EventType.MOUSE_DOWN,function(e){return t(new i.StandardMouseEvent(e))}))},t.prototype.onmouseover=function(e,t){this._register(r.addDisposableListener(e,r.EventType.MOUSE_OVER,function(e){return t(new i.StandardMouseEvent(e))}))},t.prototype.onnonbubblingmouseout=function(e,t){this._register(r.addDisposableNonBubblingMouseOutListener(e,function(e){return t(new i.StandardMouseEvent(e))}))},t.prototype.onkeydown=function(e,t){this._register(r.addDisposableListener(e,r.EventType.KEY_DOWN,function(e){return t(new s.StandardKeyboardEvent(e))}))},t.prototype.onkeyup=function(e,t){this._register(r.addDisposableListener(e,r.EventType.KEY_UP,function(e){return t(new s.StandardKeyboardEvent(e))}))},t.prototype.oninput=function(e,t){this._register(r.addDisposableListener(e,r.EventType.INPUT,t))},t.prototype.onblur=function(e,t){this._register(r.addDisposableListener(e,r.EventType.BLUR,t))},t.prototype.onfocus=function(e,t){this._register(r.addDisposableListener(e,r.EventType.FOCUS,t))},t.prototype.onchange=function(e,t){this._register(r.addDisposableListener(e,r.EventType.CHANGE,t))},t}(u.Disposable);t.Widget=d});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarArrow.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarArrow",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor"),r=e("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),d=e("node_modules/monaco-editor/esm/vs/base/common/async");o.ARROW_IMG_SIZE=11;var i=function(e){function r(t){var r=e.call(this)||this;return r._onActivate=t.onActivate,r.bgDomNode=document.createElement("div"),r.bgDomNode.className="arrow-background",r.bgDomNode.style.position="absolute",r.bgDomNode.style.width=t.bgWidth+"px",r.bgDomNode.style.height=t.bgHeight+"px","undefined"!=typeof t.top&&(r.bgDomNode.style.top="0px"),"undefined"!=typeof t.left&&(r.bgDomNode.style.left="0px"),"undefined"!=typeof t.bottom&&(r.bgDomNode.style.bottom="0px"),"undefined"!=typeof t.right&&(r.bgDomNode.style.right="0px"),r.domNode=document.createElement("div"),r.domNode.className=t.className,r.domNode.style.position="absolute",r.domNode.style.width=o.ARROW_IMG_SIZE+"px",r.domNode.style.height=o.ARROW_IMG_SIZE+"px","undefined"!=typeof t.top&&(r.domNode.style.top=t.top+"px"),"undefined"!=typeof t.left&&(r.domNode.style.left=t.left+"px"),"undefined"!=typeof t.bottom&&(r.domNode.style.bottom=t.bottom+"px"),"undefined"!=typeof t.right&&(r.domNode.style.right=t.right+"px"),r._mouseMoveMonitor=r._register(new n.GlobalMouseMoveMonitor),r.onmousedown(r.bgDomNode,function(e){return r._arrowMouseDown(e)}),r.onmousedown(r.domNode,function(e){return r._arrowMouseDown(e)}),r._mousedownRepeatTimer=r._register(new d.IntervalTimer),r._mousedownScheduleRepeatTimer=r._register(new d.TimeoutTimer),r}return t(r,e),r.prototype._arrowMouseDown=function(e){var o=this,t=function(){o._mousedownRepeatTimer.cancelAndSet(function(){return o._onActivate()},1e3/24)};this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(t,200),this._mouseMoveMonitor.startMonitoring(n.standardMouseMoveMerger,function(){},function(){o._mousedownRepeatTimer.cancel(),o._mousedownScheduleRepeatTimer.cancel()}),e.preventDefault()},r}(r.Widget);o.ScrollbarArrow=i});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarVisibilityController.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarVisibilityController",function(i,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=this&&this.__extends||function(){var i=function(e,s){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,e){i.__proto__=e}||function(i,e){for(var s in e)e.hasOwnProperty(s)&&(i[s]=e[s])})(e,s)};return function(e,s){function t(){this.constructor=e}i(e,s),e.prototype=null===s?Object.create(s):(t.prototype=s.prototype,new t)}}(),t=i("node_modules/monaco-editor/esm/vs/base/common/async"),o=i("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=function(i){function e(e,s,o){var l=i.call(this)||this;return l._visibility=e,l._visibleClassName=s,l._invisibleClassName=o,l._domNode=null,l._isVisible=!1,l._isNeeded=!1,l._shouldBeVisible=!1,l._revealTimer=l._register(new t.TimeoutTimer),l}return s(e,i),e.prototype.applyVisibilitySetting=function(i){return 2===this._visibility?!1:3===this._visibility?!0:i},e.prototype.setShouldBeVisible=function(i){var e=this.applyVisibilitySetting(i);this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())},e.prototype.setIsNeeded=function(i){this._isNeeded!==i&&(this._isNeeded=i,this.ensureVisibility())},e.prototype.setDomNode=function(i){this._domNode=i,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)},e.prototype.ensureVisibility=function(){return this._isNeeded?void(this._shouldBeVisible?this._reveal():this._hide(!0)):void this._hide(!1)},e.prototype._reveal=function(){var i=this;this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(function(){i._domNode&&i._domNode.setClassName(i._visibleClassName)},0))},e.prototype._hide=function(i){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(i?" fade":"")))},e}(o.Disposable);e.ScrollbarVisibilityController=l});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/abstractScrollbar.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/abstractScrollbar",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function s(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(s.prototype=t.prototype,new s)}}(),i=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),r=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),l=e("node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor"),n=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarArrow"),d=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarVisibilityController"),a=e("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),c=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),u=140,h=function(e){function o(o){var t=e.call(this)||this;return t._lazyRender=o.lazyRender,t._host=o.host,t._scrollable=o.scrollable,t._scrollbarState=o.scrollbarState,t._visibilityController=t._register(new d.ScrollbarVisibilityController(o.visibility,"visible scrollbar "+o.extraScrollbarClassName,"invisible scrollbar "+o.extraScrollbarClassName)),t._mouseMoveMonitor=t._register(new l.GlobalMouseMoveMonitor),t._shouldRender=!0,t.domNode=r.createFastDomNode(document.createElement("div")),t.domNode.setAttribute("role","presentation"),t.domNode.setAttribute("aria-hidden","true"),t._visibilityController.setDomNode(t.domNode),t.domNode.setPosition("absolute"),t.onmousedown(t.domNode.domNode,function(e){return t._domNodeMouseDown(e)}),t}return s(o,e),o.prototype._createArrow=function(e){var o=this._register(new n.ScrollbarArrow(e));this.domNode.domNode.appendChild(o.bgDomNode),this.domNode.domNode.appendChild(o.domNode)},o.prototype._createSlider=function(e,o,t,s){var i=this;this.slider=r.createFastDomNode(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(o),"number"==typeof t&&this.slider.setWidth(t),"number"==typeof s&&this.slider.setHeight(s),this.slider.setLayerHinting(!0),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,function(e){e.leftButton&&(e.preventDefault(),i._sliderMouseDown(e,function(){}))})},o.prototype._onElementSize=function(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},o.prototype._onElementScrollSize=function(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},o.prototype._onElementScrollPosition=function(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},o.prototype.beginReveal=function(){this._visibilityController.setShouldBeVisible(!0)},o.prototype.beginHide=function(){this._visibilityController.setShouldBeVisible(!1)},o.prototype.render=function(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))},o.prototype._domNodeMouseDown=function(e){e.target===this.domNode.domNode&&this._onMouseDown(e)},o.prototype.delegateMouseDown=function(e){var o=this.domNode.domNode.getClientRects()[0].top,t=o+this._scrollbarState.getSliderPosition(),s=o+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),i=this._sliderMousePosition(e);i>=t&&s>=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,function(){})):this._onMouseDown(e)},o.prototype._onMouseDown=function(e){var o,t;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)o=e.browserEvent.offsetX,t=e.browserEvent.offsetY;else{var s=i.getDomNodePagePosition(this.domNode.domNode);o=e.posx-s.left,t=e.posy-s.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(o,t))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,function(){}))},o.prototype._sliderMouseDown=function(e,o){var t=this,s=this._sliderMousePosition(e),i=this._sliderOrthogonalMousePosition(e),r=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(l.standardMouseMoveMerger,function(e){var o=t._sliderOrthogonalMousePosition(e),l=Math.abs(o-i);if(c.isWindows&&l>u)return void t._setDesiredScrollPositionNow(r.getScrollPosition());var n=t._sliderMousePosition(e),d=n-s;t._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(d))},function(){t.slider.toggleClassName("active",!1),t._host.onDragEnd(),o()}),this._host.onDragStart()},o.prototype._setDesiredScrollPositionNow=function(e){var o={};this.writeScrollPosition(o,e),this._scrollable.setScrollPositionNow(o)},o}(a.Widget);o.AbstractScrollbar=h});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarState.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarState",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=20,o=function(){function e(e,t,i){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=0,this._scrollSize=0,this._scrollPosition=0,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return e.prototype.clone=function(){var t=new e(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize);return t.setVisibleSize(this._visibleSize),t.setScrollSize(this._scrollSize),t.setScrollPosition(this._scrollPosition),t},e.prototype.setVisibleSize=function(e){var t=Math.round(e);return this._visibleSize!==t?(this._visibleSize=t,this._refreshComputedValues(),!0):!1},e.prototype.setScrollSize=function(e){var t=Math.round(e);return this._scrollSize!==t?(this._scrollSize=t,this._refreshComputedValues(),!0):!1},e.prototype.setScrollPosition=function(e){var t=Math.round(e);return this._scrollPosition!==t?(this._scrollPosition=t,this._refreshComputedValues(),!0):!1},e._computeValues=function(e,t,o,r,s){var l=Math.max(0,o-e),u=Math.max(0,l-2*t),d=r>0&&r>o;if(!d)return{computedAvailableSize:Math.round(l),computedIsNeeded:d,computedSliderSize:Math.round(u),computedSliderRatio:0,computedSliderPosition:0};var n=Math.round(Math.max(i,Math.floor(o*u/r))),c=(u-n)/(r-o),a=s*c;return{computedAvailableSize:Math.round(l),computedIsNeeded:d,computedSliderSize:Math.round(n),computedSliderRatio:c,computedSliderPosition:Math.round(a)}},e.prototype._refreshComputedValues=function(){var t=e._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=t.computedAvailableSize,this._computedIsNeeded=t.computedIsNeeded,this._computedSliderSize=t.computedSliderSize,this._computedSliderRatio=t.computedSliderRatio,this._computedSliderPosition=t.computedSliderPosition},e.prototype.getArrowSize=function(){return this._arrowSize},e.prototype.getScrollPosition=function(){return this._scrollPosition},e.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},e.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},e.prototype.isNeeded=function(){return this._computedIsNeeded},e.prototype.getSliderSize=function(){return this._computedSliderSize},e.prototype.getSliderPosition=function(){return this._computedSliderPosition},e.prototype.getDesiredScrollPositionFromOffset=function(e){if(!this._computedIsNeeded)return 0;var t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollPositionFromDelta=function(e){if(!this._computedIsNeeded)return 0;var t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)},e}();t.ScrollbarState=o});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/horizontalScrollbar.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/horizontalScrollbar",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=this&&this.__extends||function(){var o=function(e,r){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var r in e)e.hasOwnProperty(r)&&(o[r]=e[r])})(e,r)};return function(e,r){function t(){this.constructor=e}o(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}}(),t=o("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),i=o("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/abstractScrollbar"),l=o("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarArrow"),n=o("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarState"),s=function(o){function e(e,r,i){var s=o.call(this,{lazyRender:r.lazyRender,host:i,scrollbarState:new n.ScrollbarState(r.horizontalHasArrows?r.arrowSize:0,2===r.horizontal?0:r.horizontalScrollbarSize,2===r.vertical?0:r.verticalScrollbarSize),visibility:r.horizontal,extraScrollbarClassName:"horizontal",scrollable:e})||this;if(r.horizontalHasArrows){var a=(r.arrowSize-l.ARROW_IMG_SIZE)/2,c=(r.horizontalScrollbarSize-l.ARROW_IMG_SIZE)/2;s._createArrow({className:"left-arrow",top:c,left:a,bottom:void 0,right:void 0,bgWidth:r.arrowSize,bgHeight:r.horizontalScrollbarSize,onActivate:function(){return s._host.onMouseWheel(new t.StandardWheelEvent(null,1,0))}}),s._createArrow({className:"right-arrow",top:c,left:void 0,bottom:void 0,right:a,bgWidth:r.arrowSize,bgHeight:r.horizontalScrollbarSize,onActivate:function(){return s._host.onMouseWheel(new t.StandardWheelEvent(null,-1,0))}})}return s._createSlider(Math.floor((r.horizontalScrollbarSize-r.horizontalSliderSize)/2),0,void 0,r.horizontalSliderSize),s}return r(e,o),e.prototype._updateSlider=function(o,e){this.slider.setWidth(o),this.slider.setLeft(e)},e.prototype._renderDomNode=function(o,e){this.domNode.setWidth(o),this.domNode.setHeight(e),this.domNode.setLeft(0),this.domNode.setBottom(0)},e.prototype.onDidScroll=function(o){return this._shouldRender=this._onElementScrollSize(o.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(o.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(o.width)||this._shouldRender,this._shouldRender},e.prototype._mouseDownRelativePosition=function(o){return o},e.prototype._sliderMousePosition=function(o){return o.posx},e.prototype._sliderOrthogonalMousePosition=function(o){return o.posy},e.prototype.writeScrollPosition=function(o,e){o.scrollLeft=e},e}(i.AbstractScrollbar);e.HorizontalScrollbar=s});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/verticalScrollbar.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/verticalScrollbar",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=this&&this.__extends||function(){var e=function(o,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r])})(o,r)};return function(o,r){function t(){this.constructor=o}e(o,r),o.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}}(),t=e("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),i=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/abstractScrollbar"),l=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarArrow"),s=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollbarState"),n=function(e){function o(o,r,i){var n=e.call(this,{lazyRender:r.lazyRender,host:i,scrollbarState:new s.ScrollbarState(r.verticalHasArrows?r.arrowSize:0,2===r.vertical?0:r.verticalScrollbarSize,0),visibility:r.vertical,extraScrollbarClassName:"vertical",scrollable:o})||this;if(r.verticalHasArrows){var a=(r.arrowSize-l.ARROW_IMG_SIZE)/2,c=(r.verticalScrollbarSize-l.ARROW_IMG_SIZE)/2;n._createArrow({className:"up-arrow",top:a,left:c,bottom:void 0,right:void 0,bgWidth:r.verticalScrollbarSize,bgHeight:r.arrowSize,onActivate:function(){return n._host.onMouseWheel(new t.StandardWheelEvent(null,0,1))}}),n._createArrow({className:"down-arrow",top:void 0,left:c,bottom:a,right:void 0,bgWidth:r.verticalScrollbarSize,bgHeight:r.arrowSize,onActivate:function(){return n._host.onMouseWheel(new t.StandardWheelEvent(null,0,-1))}})}return n._createSlider(0,Math.floor((r.verticalScrollbarSize-r.verticalSliderSize)/2),r.verticalSliderSize,void 0),n}return r(o,e),o.prototype._updateSlider=function(e,o){this.slider.setHeight(e),this.slider.setTop(o)},o.prototype._renderDomNode=function(e,o){this.domNode.setWidth(o),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)},o.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender},o.prototype._mouseDownRelativePosition=function(e,o){return o},o.prototype._sliderMousePosition=function(e){return e.posy},o.prototype._sliderOrthogonalMousePosition=function(e){return e.posx},o.prototype.writeScrollPosition=function(e,o){e.scrollTop=o},o}(i.AbstractScrollbar);o.VerticalScrollbar=n});
;/*!node_modules/monaco-editor/esm/vs/base/common/scrollable.js*/
define("node_modules/monaco-editor/esm/vs/base/common/scrollable",function(t,o){"use strict";function i(t,o){var i=o-t;return function(o){return t+i*r(o)}}function s(t,o,i){return function(s){return i>s?t(s/i):o((s-i)/(1-i))}}function l(t){return Math.pow(t,3)}function r(t){return 1-l(1-t)}Object.defineProperty(o,"__esModule",{value:!0});var n=this&&this.__extends||function(){var t=function(o,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var i in o)o.hasOwnProperty(i)&&(t[i]=o[i])})(o,i)};return function(o,i){function s(){this.constructor=o}t(o,i),o.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}(),e=t("node_modules/monaco-editor/esm/vs/base/common/event"),h=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),c=function(){function t(t,o,i,s,l,r){t=0|t,o=0|o,i=0|i,s=0|s,l=0|l,r=0|r,0>t&&(t=0),i+t>o&&(i=o-t),0>i&&(i=0),0>s&&(s=0),r+s>l&&(r=l-s),0>r&&(r=0),this.width=t,this.scrollWidth=o,this.scrollLeft=i,this.height=s,this.scrollHeight=l,this.scrollTop=r}return t.prototype.equals=function(t){return this.width===t.width&&this.scrollWidth===t.scrollWidth&&this.scrollLeft===t.scrollLeft&&this.height===t.height&&this.scrollHeight===t.scrollHeight&&this.scrollTop===t.scrollTop},t.prototype.withScrollDimensions=function(o){return new t("undefined"!=typeof o.width?o.width:this.width,"undefined"!=typeof o.scrollWidth?o.scrollWidth:this.scrollWidth,this.scrollLeft,"undefined"!=typeof o.height?o.height:this.height,"undefined"!=typeof o.scrollHeight?o.scrollHeight:this.scrollHeight,this.scrollTop)},t.prototype.withScrollPosition=function(o){return new t(this.width,this.scrollWidth,"undefined"!=typeof o.scrollLeft?o.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,"undefined"!=typeof o.scrollTop?o.scrollTop:this.scrollTop)},t.prototype.createScrollEvent=function(t){var o=this.width!==t.width,i=this.scrollWidth!==t.scrollWidth,s=this.scrollLeft!==t.scrollLeft,l=this.height!==t.height,r=this.scrollHeight!==t.scrollHeight,n=this.scrollTop!==t.scrollTop;return{width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:o,scrollWidthChanged:i,scrollLeftChanged:s,heightChanged:l,scrollHeightChanged:r,scrollTopChanged:n}},t}();o.ScrollState=c;var a=function(t){function o(o,i){var s=t.call(this)||this;return s._onScroll=s._register(new e.Emitter),s.onScroll=s._onScroll.event,s._smoothScrollDuration=o,s._scheduleAtNextAnimationFrame=i,s._state=new c(0,0,0,0,0,0),s._smoothScrolling=null,s}return n(o,t),o.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),t.prototype.dispose.call(this)},o.prototype.setSmoothScrollDuration=function(t){this._smoothScrollDuration=t},o.prototype.validateScrollPosition=function(t){return this._state.withScrollPosition(t)},o.prototype.getScrollDimensions=function(){return this._state},o.prototype.setScrollDimensions=function(t){var o=this._state.withScrollDimensions(t);this._setState(o),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},o.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},o.prototype.getCurrentScrollPosition=function(){return this._state},o.prototype.setScrollPositionNow=function(t){var o=this._state.withScrollPosition(t);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(o)},o.prototype.setScrollPositionSmooth=function(t){var o=this;if(0===this._smoothScrollDuration)return this.setScrollPositionNow(t);if(this._smoothScrolling){t={scrollLeft:"undefined"==typeof t.scrollLeft?this._smoothScrolling.to.scrollLeft:t.scrollLeft,scrollTop:"undefined"==typeof t.scrollTop?this._smoothScrolling.to.scrollTop:t.scrollTop};var i=this._state.withScrollPosition(t);if(this._smoothScrolling.to.scrollLeft===i.scrollLeft&&this._smoothScrolling.to.scrollTop===i.scrollTop)return;var s=this._smoothScrolling.combine(this._state,i,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=s}else{var i=this._state.withScrollPosition(t);this._smoothScrolling=p.start(this._state,i,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){o._smoothScrolling&&(o._smoothScrolling.animationFrameDisposable=null,o._performSmoothScrolling())})},o.prototype._performSmoothScrolling=function(){var t=this;if(this._smoothScrolling){var o=this._smoothScrolling.tick(),i=this._state.withScrollPosition(o);return this._setState(i),o.isDone?(this._smoothScrolling.dispose(),void(this._smoothScrolling=null)):void(this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){t._smoothScrolling&&(t._smoothScrolling.animationFrameDisposable=null,t._performSmoothScrolling())}))}},o.prototype._setState=function(t){var o=this._state;o.equals(t)||(this._state=t,this._onScroll.fire(this._state.createScrollEvent(o)))},o}(h.Disposable);o.Scrollable=a;var u=function(){function t(t,o,i){this.scrollLeft=t,this.scrollTop=o,this.isDone=i}return t}();o.SmoothScrollingUpdate=u;var p=function(){function t(t,o,i,s){this.from=t,this.to=o,this.duration=s,this._startTime=i,this.animationFrameDisposable=null,this._initAnimations()}return t.prototype._initAnimations=function(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)},t.prototype._initAnimation=function(t,o,l){var r=Math.abs(t-o);if(r>2.5*l){var n=void 0,e=void 0;return o>t?(n=t+.75*l,e=o-.75*l):(n=t-.75*l,e=o+.75*l),s(i(t,n),i(e,o),.33)}return i(t,o)},t.prototype.dispose=function(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)},t.prototype.acceptScrollDimensions=function(t){this.to=t.withScrollPosition(this.to),this._initAnimations()},t.prototype.tick=function(){return this._tick(Date.now())},t.prototype._tick=function(t){var o=(t-this._startTime)/this.duration;if(1>o){var i=this.scrollLeft(o),s=this.scrollTop(o);return new u(i,s,!1)}return new u(this.to.scrollLeft,this.to.scrollTop,!0)},t.prototype.combine=function(o,i,s){return t.start(o,i,s)},t.start=function(o,i,s){s+=10;var l=Date.now()-10;return new t(o,i,l,s)},t}();o.SmoothScrollingOperation=p});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement",function(e,o){"use strict";function t(e){var o={lazyRender:"undefined"!=typeof e.lazyRender?e.lazyRender:!1,className:"undefined"!=typeof e.className?e.className:"",useShadows:"undefined"!=typeof e.useShadows?e.useShadows:!0,handleMouseWheel:"undefined"!=typeof e.handleMouseWheel?e.handleMouseWheel:!0,flipAxes:"undefined"!=typeof e.flipAxes?e.flipAxes:!1,alwaysConsumeMouseWheel:"undefined"!=typeof e.alwaysConsumeMouseWheel?e.alwaysConsumeMouseWheel:!1,scrollYToX:"undefined"!=typeof e.scrollYToX?e.scrollYToX:!1,mouseWheelScrollSensitivity:"undefined"!=typeof e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:"undefined"!=typeof e.fastScrollSensitivity?e.fastScrollSensitivity:5,mouseWheelSmoothScroll:"undefined"!=typeof e.mouseWheelSmoothScroll?e.mouseWheelSmoothScroll:!0,arrowSize:"undefined"!=typeof e.arrowSize?e.arrowSize:11,listenOnDomNode:"undefined"!=typeof e.listenOnDomNode?e.listenOnDomNode:null,horizontal:"undefined"!=typeof e.horizontal?e.horizontal:1,horizontalScrollbarSize:"undefined"!=typeof e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:"undefined"!=typeof e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:"undefined"!=typeof e.horizontalHasArrows?e.horizontalHasArrows:!1,vertical:"undefined"!=typeof e.vertical?e.vertical:1,verticalScrollbarSize:"undefined"!=typeof e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:"undefined"!=typeof e.verticalHasArrows?e.verticalHasArrows:!1,verticalSliderSize:"undefined"!=typeof e.verticalSliderSize?e.verticalSliderSize:0};return o.horizontalSliderSize="undefined"!=typeof e.horizontalSliderSize?e.horizontalSliderSize:o.horizontalScrollbarSize,o.verticalSliderSize="undefined"!=typeof e.verticalSliderSize?e.verticalSliderSize:o.verticalScrollbarSize,m.isMacintosh&&(o.className+=" mac"),o}Object.defineProperty(o,"__esModule",{value:!0});var s=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function s(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(s.prototype=t.prototype,new s)}}(),r=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),l=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),n=e("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),a=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/horizontalScrollbar"),d=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/verticalScrollbar"),c=e("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),h=e("node_modules/monaco-editor/esm/vs/base/common/async"),u=e("node_modules/monaco-editor/esm/vs/base/common/event"),_=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),m=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),p=e("node_modules/monaco-editor/esm/vs/base/common/scrollable"),f=500,S=50,v=!0,y=function(){function e(e,o,t){this.timestamp=e,this.deltaX=o,this.deltaY=t,this.score=0}return e}(),b=function(){function e(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return e.prototype.isPhysicalMouseWheel=function(){if(-1===this._front&&-1===this._rear)return!1;for(var e=1,o=0,t=1,s=this._rear;;){var i=s===this._front?e:Math.pow(2,-t);if(e-=i,o+=this._memory[s].score*i,s===this._front)break;s=(this._capacity+s-1)%this._capacity,t++}return.5>=o},e.prototype.accept=function(e,o,t){var s=new y(e,o,t);s.score=this._computeScore(s),-1===this._front&&-1===this._rear?(this._memory[0]=s,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=s)},e.prototype._computeScore=function(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;{var o=.5;-1===this._front&&-1===this._rear?null:this._memory[this._rear]}return(Math.abs(e.deltaX-Math.round(e.deltaX))>0||Math.abs(e.deltaY-Math.round(e.deltaY))>0)&&(o+=.25),Math.min(Math.max(o,0),1)},e.INSTANCE=new e,e}();o.MouseWheelClassifier=b;var w=function(e){function o(o,s,i){var r=e.call(this)||this;r._onScroll=r._register(new u.Emitter),r.onScroll=r._onScroll.event,o.style.overflow="hidden",r._options=t(s),r._scrollable=i,r._register(r._scrollable.onScroll(function(e){r._onDidScroll(e),r._onScroll.fire(e)}));var n={onMouseWheel:function(e){return r._onMouseWheel(e)},onDragStart:function(){return r._onDragStart()},onDragEnd:function(){return r._onDragEnd()}};return r._verticalScrollbar=r._register(new d.VerticalScrollbar(r._scrollable,r._options,n)),r._horizontalScrollbar=r._register(new a.HorizontalScrollbar(r._scrollable,r._options,n)),r._domNode=document.createElement("div"),r._domNode.className="monaco-scrollable-element "+r._options.className,r._domNode.setAttribute("role","presentation"),r._domNode.style.position="relative",r._domNode.style.overflow="hidden",r._domNode.appendChild(o),r._domNode.appendChild(r._horizontalScrollbar.domNode.domNode),r._domNode.appendChild(r._verticalScrollbar.domNode.domNode),r._options.useShadows&&(r._leftShadowDomNode=l.createFastDomNode(document.createElement("div")),r._leftShadowDomNode.setClassName("shadow"),r._domNode.appendChild(r._leftShadowDomNode.domNode),r._topShadowDomNode=l.createFastDomNode(document.createElement("div")),r._topShadowDomNode.setClassName("shadow"),r._domNode.appendChild(r._topShadowDomNode.domNode),r._topLeftShadowDomNode=l.createFastDomNode(document.createElement("div")),r._topLeftShadowDomNode.setClassName("shadow top-left-corner"),r._domNode.appendChild(r._topLeftShadowDomNode.domNode)),r._listenOnDomNode=r._options.listenOnDomNode||r._domNode,r._mouseWheelToDispose=[],r._setListeningToMouseWheel(r._options.handleMouseWheel),r.onmouseover(r._listenOnDomNode,function(e){return r._onMouseOver(e)}),r.onnonbubblingmouseout(r._listenOnDomNode,function(e){return r._onMouseOut(e)}),r._hideTimeout=r._register(new h.TimeoutTimer),r._isDragging=!1,r._mouseIsOver=!1,r._shouldRender=!0,r._revealOnScroll=!0,r}return i(o,e),o.prototype.dispose=function(){this._mouseWheelToDispose=_.dispose(this._mouseWheelToDispose),e.prototype.dispose.call(this)},o.prototype.getDomNode=function(){return this._domNode},o.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},o.prototype.delegateVerticalScrollbarMouseDown=function(e){this._verticalScrollbar.delegateMouseDown(e)},o.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},o.prototype.setScrollDimensions=function(e){this._scrollable.setScrollDimensions(e)},o.prototype.updateClassName=function(e){this._options.className=e,m.isMacintosh&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},o.prototype.updateOptions=function(e){var o=t(e);this._options.handleMouseWheel=o.handleMouseWheel,this._options.mouseWheelScrollSensitivity=o.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=o.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},o.prototype._setListeningToMouseWheel=function(e){var o=this,t=this._mouseWheelToDispose.length>0;if(t!==e&&(this._mouseWheelToDispose=_.dispose(this._mouseWheelToDispose),e)){var s=function(e){o._onMouseWheel(new n.StandardWheelEvent(e))};this._mouseWheelToDispose.push(r.addDisposableListener(this._listenOnDomNode,"mousewheel",s))}},o.prototype._onMouseWheel=function(e){var o,t=b.INSTANCE;if(v&&t.accept(Date.now(),e.deltaX,e.deltaY),e.deltaY||e.deltaX){var s=e.deltaY*this._options.mouseWheelScrollSensitivity,i=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(o=[i,s],s=o[0],i=o[1]);var r=!m.isMacintosh&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||i||(i=s,s=0),e.browserEvent&&e.browserEvent.altKey&&(i*=this._options.fastScrollSensitivity,s*=this._options.fastScrollSensitivity);var l=this._scrollable.getFutureScrollPosition(),n={};if(s){var a=l.scrollTop-S*s;this._verticalScrollbar.writeScrollPosition(n,a)}if(i){var d=l.scrollLeft-S*i;this._horizontalScrollbar.writeScrollPosition(n,d)}if(n=this._scrollable.validateScrollPosition(n),l.scrollLeft!==n.scrollLeft||l.scrollTop!==n.scrollTop){var c=v&&this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel();c?this._scrollable.setScrollPositionSmooth(n):this._scrollable.setScrollPositionNow(n),this._shouldRender=!0}}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())},o.prototype._onDidScroll=function(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},o.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},o.prototype._render=function(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var e=this._scrollable.getCurrentScrollPosition(),o=e.scrollTop>0,t=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(t?" left":"")),this._topShadowDomNode.setClassName("shadow"+(o?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(o?" top":"")+(t?" left":""))}},o.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},o.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},o.prototype._onMouseOut=function(){this._mouseIsOver=!1,this._hide()},o.prototype._onMouseOver=function(){this._mouseIsOver=!0,this._reveal()},o.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},o.prototype._hide=function(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},o.prototype._scheduleHide=function(){var e=this;this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(function(){return e._hide()},f)},o}(c.Widget);o.AbstractScrollableElement=w;var N=function(e){function o(o,t){var s=this;t=t||{},t.mouseWheelSmoothScroll=!1;var i=new p.Scrollable(0,function(e){return r.scheduleAtNextAnimationFrame(e)});return s=e.call(this,o,t,i)||this,s._register(i),s}return i(o,e),o.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},o.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},o}(w);o.ScrollableElement=N;var D=function(e){function o(o,t,s){return e.call(this,o,t,s)||this}return i(o,e),o}(w);o.SmoothScrollableElement=D;var g=function(e){function o(o,t){var s=e.call(this,o,t)||this;return s._element=o,s.onScroll(function(e){e.scrollTopChanged&&(s._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(s._element.scrollLeft=e.scrollLeft)}),s.scanDomNode(),s}return i(o,e),o.prototype.scanDomNode=function(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})},o}(N);o.DomScrollableElement=g});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function r(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),i=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),l=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),n=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),s=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),a=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),c=function(e){function o(o,t,r,c){var d=e.call(this,o)||this,u=d._context.configuration.editor,m=u.viewInfo.scrollbar,h={listenOnDomNode:r.domNode,className:"editor-scrollable "+a.getThemeTypeSelector(o.theme.type),useShadows:!1,lazyRender:!0,vertical:m.vertical,horizontal:m.horizontal,verticalHasArrows:m.verticalHasArrows,horizontalHasArrows:m.horizontalHasArrows,verticalScrollbarSize:m.verticalScrollbarSize,verticalSliderSize:m.verticalSliderSize,horizontalScrollbarSize:m.horizontalScrollbarSize,horizontalSliderSize:m.horizontalSliderSize,handleMouseWheel:m.handleMouseWheel,arrowSize:m.arrowSize,mouseWheelScrollSensitivity:m.mouseWheelScrollSensitivity,fastScrollSensitivity:m.fastScrollSensitivity};d.scrollbar=d._register(new n.SmoothScrollableElement(t.domNode,h,d._context.viewLayout.scrollable)),s.PartFingerprints.write(d.scrollbar.getDomNode(),5),d.scrollbarDomNode=l.createFastDomNode(d.scrollbar.getDomNode()),d.scrollbarDomNode.setPosition("absolute"),d._setLayout();var f=function(e,o,t){var r={};if(o){var i=e.scrollTop;i&&(r.scrollTop=d._context.viewLayout.getCurrentScrollTop()+i,e.scrollTop=0)}if(t){var l=e.scrollLeft;l&&(r.scrollLeft=d._context.viewLayout.getCurrentScrollLeft()+l,e.scrollLeft=0)}d._context.viewLayout.setScrollPositionNow(r)};return d._register(i.addDisposableListener(r.domNode,"scroll",function(){return f(r.domNode,!0,!0)})),d._register(i.addDisposableListener(t.domNode,"scroll",function(){return f(t.domNode,!0,!1)})),d._register(i.addDisposableListener(c.domNode,"scroll",function(){return f(c.domNode,!0,!1)})),d._register(i.addDisposableListener(d.scrollbarDomNode.domNode,"scroll",function(){return f(d.scrollbarDomNode.domNode,!0,!1)})),d}return r(o,e),o.prototype.dispose=function(){e.prototype.dispose.call(this)},o.prototype._setLayout=function(){var e=this._context.configuration.editor.layoutInfo;this.scrollbarDomNode.setLeft(e.contentLeft);var o=this._context.configuration.editor.viewInfo.minimap.side;this.scrollbarDomNode.setWidth("right"===o?e.contentWidth+e.minimapWidth:e.contentWidth),this.scrollbarDomNode.setHeight(e.contentHeight)},o.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},o.prototype.getDomNode=function(){return this.scrollbarDomNode},o.prototype.delegateVerticalScrollbarMouseDown=function(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)},o.prototype.onConfigurationChanged=function(e){if(e.viewInfo){var o=this._context.configuration.editor,t={handleMouseWheel:o.viewInfo.scrollbar.handleMouseWheel,mouseWheelScrollSensitivity:o.viewInfo.scrollbar.mouseWheelScrollSensitivity,fastScrollSensitivity:o.viewInfo.scrollbar.fastScrollSensitivity};this.scrollbar.updateOptions(t)}return e.layoutInfo&&this._setLayout(),!0},o.prototype.onScrollChanged=function(){return!0},o.prototype.onThemeChanged=function(){return this.scrollbar.updateClassName("editor-scrollable "+a.getThemeTypeSelector(this._context.theme.type)),!0},o.prototype.prepareRender=function(){},o.prototype.render=function(){this.scrollbar.renderNow()},o}(s.ViewPart);o.EditorScrollbar=c});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=t("node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay"),i=function(){function t(t,e,n){this.startLineNumber=+t,this.endLineNumber=+e,this.className=String(n)}return t}();e.DecorationToRender=i;var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype._render=function(t,e,n){for(var r=[],i=t;e>=i;i++){var o=i-t;r[o]=[]}if(0===n.length)return r;n.sort(function(t,e){return t.className===e.className?t.startLineNumber===e.startLineNumber?t.endLineNumber-e.endLineNumber:t.startLineNumber-e.startLineNumber:t.className<e.className?-1:1});for(var a=null,s=0,u=0,l=n.length;l>u;u++){var h=n[u],g=h.className,c=Math.max(h.startLineNumber,t)-t,p=Math.min(h.endLineNumber,e)-t;a===g?(c=Math.max(s+1,c),s=Math.max(s,p)):(a=g,s=p);for(var d=c;s>=d;d++)r[d].push(a)}return r},e}(r.DynamicViewOverlay);e.DedupOverlay=o;var a=function(t){function e(e){var n=t.call(this)||this;return n._context=e,n._lineHeight=n._context.configuration.editor.lineHeight,n._glyphMargin=n._context.configuration.editor.viewInfo.glyphMargin,n._glyphMarginLeft=n._context.configuration.editor.layoutInfo.glyphMarginLeft,n._glyphMarginWidth=n._context.configuration.editor.layoutInfo.glyphMarginWidth,n._renderResult=null,n._context.addEventHandler(n),n}return n(e,t),e.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,t.prototype.dispose.call(this)},e.prototype.onConfigurationChanged=function(t){return t.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),t.viewInfo&&(this._glyphMargin=this._context.configuration.editor.viewInfo.glyphMargin),t.layoutInfo&&(this._glyphMarginLeft=this._context.configuration.editor.layoutInfo.glyphMarginLeft,this._glyphMarginWidth=this._context.configuration.editor.layoutInfo.glyphMarginWidth),!0},e.prototype.onDecorationsChanged=function(){return!0},e.prototype.onFlushed=function(){return!0},e.prototype.onLinesChanged=function(){return!0},e.prototype.onLinesDeleted=function(){return!0},e.prototype.onLinesInserted=function(){return!0},e.prototype.onScrollChanged=function(t){return t.scrollTopChanged},e.prototype.onZonesChanged=function(){return!0},e.prototype._getDecorations=function(t){for(var e=t.getDecorationsInViewport(),n=[],r=0,o=0,a=e.length;a>o;o++){var s=e[o],u=s.options.glyphMarginClassName;u&&(n[r++]=new i(s.range.startLineNumber,s.range.endLineNumber,u))}return n},e.prototype.prepareRender=function(t){if(!this._glyphMargin)return void(this._renderResult=null);for(var e=t.visibleRange.startLineNumber,n=t.visibleRange.endLineNumber,r=this._render(e,n,this._getDecorations(t)),i=this._lineHeight.toString(),o=this._glyphMarginLeft.toString(),a=this._glyphMarginWidth.toString(),s='" style="left:'+o+"px;width:"+a+"px;height:"+i+'px;"></div>',u=[],l=e;n>=l;l++){var h=l-e,g=r[h];u[h]=0===g.length?"":'<div class="cgmr '+g.join(" ")+s}this._renderResult=u},e.prototype.render=function(t,e){if(!this._renderResult)return"";var n=e-t;return 0>n||n>=this._renderResult.length?"":this._renderResult[n]},e}(o);e.GlyphMarginOverlay=a});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/indentGuides/indentGuides.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/indentGuides/indentGuides",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),i=e("node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),r=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),d=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),s=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._primaryLineNumber=0,n._lineHeight=n._context.configuration.editor.lineHeight,n._spaceWidth=n._context.configuration.editor.fontInfo.spaceWidth,n._enabled=n._context.configuration.editor.viewInfo.renderIndentGuides,n._activeIndentEnabled=n._context.configuration.editor.viewInfo.highlightActiveIndentGuide,n._renderResult=null,n._context.addEventHandler(n),n}return n(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(this._spaceWidth=this._context.configuration.editor.fontInfo.spaceWidth),e.viewInfo&&(this._enabled=this._context.configuration.editor.viewInfo.renderIndentGuides,this._activeIndentEnabled=this._context.configuration.editor.viewInfo.highlightActiveIndentGuide),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n?(this._primaryLineNumber=n,!0):!1},t.prototype.onDecorationsChanged=function(){return!0},t.prototype.onFlushed=function(){return!0},t.prototype.onLinesChanged=function(){return!0},t.prototype.onLinesDeleted=function(){return!0},t.prototype.onLinesInserted=function(){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(){return!0},t.prototype.onLanguageConfigurationChanged=function(){return!0},t.prototype.prepareRender=function(e){if(!this._enabled)return void(this._renderResult=null);var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._context.model.getOptions().indentSize,r=i*this._spaceWidth,d=e.scrollWidth,s=this._lineHeight,u=this._context.model.getLinesIndentGuides(t,n),a=0,c=0,l=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var h=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);a=h.startLineNumber,c=h.endLineNumber,l=h.indent}for(var p=[],f=t;n>=f;f++){for(var _=f>=a&&c>=f,m=f-t,g=u[m],v="",y=e.visibleRangeForPosition(new o.Position(f,1)),b=y?y.left:0,x=1;g>=x;x++){var I=_&&x===l?"cigra":"cigr";if(v+='<div class="'+I+'" style="left:'+b+"px;height:"+s+"px;width:"+r+'px"></div>',b+=r,b>d)break}p[m]=v}this._renderResult=p},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return 0>n||n>=this._renderResult.length?"":this._renderResult[n]},t}(i.DynamicViewOverlay);t.IndentGuidesOverlay=s,d.registerThemingParticipant(function(e,t){var n=e.getColor(r.editorIndentGuides);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var i=e.getColor(r.editorActiveIndentGuides)||n;i&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+i+" inset; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/viewLines.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/viewLines",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/base/common/async"),o=e("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration"),r=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewLayer"),s=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),a=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/viewLine"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),h=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),u=e("node_modules/monaco-editor/esm/vs/editor/common/view/renderingContext"),d=function(){function e(){this._currentVisibleRange=new h.Range(1,1,1,1)}return e.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},e.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},e}(),c=function(){function e(e,t,i,n,o,r){this.lineNumber=e,this.startColumn=t,this.endColumn=i,this.startScrollTop=n,this.stopScrollTop=o,this.scrollType=r}return e}(),p=function(e){function t(t,i){var l=e.call(this,t)||this;l._linesContent=i,l._textRangeRestingSpot=document.createElement("div"),l._visibleLines=new r.VisibleLinesCollection(l),l.domNode=l._visibleLines.domNode;var h=l._context.configuration;return l._lineHeight=h.editor.lineHeight,l._typicalHalfwidthCharacterWidth=h.editor.fontInfo.typicalHalfwidthCharacterWidth,l._isViewportWrapping=h.editor.wrappingInfo.isViewportWrapping,l._revealHorizontalRightPadding=h.editor.viewInfo.revealHorizontalRightPadding,l._canUseLayerHinting=h.editor.canUseLayerHinting,l._viewLineOptions=new a.ViewLineOptions(h,l._context.theme.type),s.PartFingerprints.write(l.domNode,7),l.domNode.setClassName("view-lines"),o.Configuration.applyFontInfo(l.domNode,h.editor.fontInfo),l._maxLineWidth=0,l._asyncUpdateLineWidths=new n.RunOnceScheduler(function(){l._updateLineWidthsSlow()},200),l._lastRenderedData=new d,l._horizontalRevealRequest=null,l}return i(t,e),t.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new a.ViewLine(this._viewLineOptions)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.wrappingInfo&&(this._maxLineWidth=0);var t=this._context.configuration;return e.lineHeight&&(this._lineHeight=t.editor.lineHeight),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=t.editor.fontInfo.typicalHalfwidthCharacterWidth),e.wrappingInfo&&(this._isViewportWrapping=t.editor.wrappingInfo.isViewportWrapping),e.viewInfo&&(this._revealHorizontalRightPadding=t.editor.viewInfo.revealHorizontalRightPadding),e.canUseLayerHinting&&(this._canUseLayerHinting=t.editor.canUseLayerHinting),e.fontInfo&&o.Configuration.applyFontInfo(this.domNode,t.editor.fontInfo),this._onOptionsMaybeChanged(),e.layoutInfo&&(this._maxLineWidth=0),!0},t.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new a.ViewLineOptions(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;for(var i=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),o=i;n>=o;o++){var r=this._visibleLines.getVisibleLine(o);r.onOptionsChanged(this._viewLineOptions)}return!0}return!1},t.prototype.onCursorStateChanged=function(){for(var e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber(),i=!1,n=e;t>=n;n++)i=this._visibleLines.getVisibleLine(n).onSelectionChanged()||i;return i},t.prototype.onDecorationsChanged=function(){for(var e=this._visibleLines.getStartLineNumber(),t=this._visibleLines.getEndLineNumber(),i=e;t>=i;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged();return!0},t.prototype.onFlushed=function(e){var t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onRevealRangeRequest=function(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.range,e.verticalType),i=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range.startLineNumber!==e.range.endLineNumber?i={scrollTop:i.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new c(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType):this._horizontalRevealRequest=null;var n=Math.abs(this._context.viewLayout.getCurrentScrollTop()-i.scrollTop);return 0===e.scrollType&&n>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(i):this._context.viewLayout.setScrollPositionNow(i),!0},t.prototype.onScrollChanged=function(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){var t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),i=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>i)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(e)},t.prototype.onThemeChanged=function(){return this._onOptionsMaybeChanged()},t.prototype.getPositionFromDOMInfo=function(e,t){var i=this._getViewLineDomNode(e);if(null===i)return null;var n=this._getLineNumberFor(i);if(-1===n)return null;if(1>n||n>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(n))return new l.Position(n,1);var o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(o>n||n>r)return null;var s=this._visibleLines.getVisibleLine(n).getColumnOfNodeOffset(n,e,t),a=this._context.model.getLineMinColumn(n);return a>s&&(s=a),new l.Position(n,s)},t.prototype._getViewLineDomNode=function(e){for(;e&&1===e.nodeType;){if(e.className===a.ViewLine.CLASS_NAME)return e;e=e.parentElement}return null},t.prototype._getLineNumberFor=function(e){for(var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=t;i>=n;n++){var o=this._visibleLines.getVisibleLine(n);if(e===o.getDomNode())return n}return-1},t.prototype.getLineWidth=function(e){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();return t>e||e>i?-1:this._visibleLines.getVisibleLine(e).getWidth()},t.prototype.linesVisibleRangesForRange=function(e,t){if(this.shouldRender())return null;var i=e.endLineNumber,n=h.Range.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!n)return null;var o=[],r=0,s=new a.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),d=0;t&&(d=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new l.Position(n.startLineNumber,1)).lineNumber);for(var c=this._visibleLines.getStartLineNumber(),p=this._visibleLines.getEndLineNumber(),g=n.startLineNumber;g<=n.endLineNumber;g++)if(!(c>g||g>p)){var _=g===n.startLineNumber?n.startColumn:1,L=g===n.endLineNumber?n.endColumn:this._context.model.getLineMaxColumn(g),m=this._visibleLines.getVisibleLine(g).getVisibleRangesForRange(_,L,s);if(m&&0!==m.length){if(t&&i>g){var v=d;d=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new l.Position(g+1,1)).lineNumber,v!==d&&(m[m.length-1].width+=this._typicalHalfwidthCharacterWidth)}o[r++]=new u.LineVisibleRanges(g,m)}}return 0===r?null:o},t.prototype.visibleRangesForRange2=function(e){if(this.shouldRender())return null;var t=h.Range.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!t)return null;for(var i=[],n=new a.DomReadingContext(this.domNode.domNode,this._textRangeRestingSpot),o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber(),s=t.startLineNumber;s<=t.endLineNumber;s++)if(!(o>s||s>r)){var l=s===t.startLineNumber?t.startColumn:1,u=s===t.endLineNumber?t.endColumn:this._context.model.getLineMaxColumn(s),d=this._visibleLines.getVisibleLine(s).getVisibleRangesForRange(l,u,n);d&&0!==d.length&&(i=i.concat(d))}return 0===i.length?null:i},t.prototype.visibleRangeForPosition=function(e){var t=this.visibleRangesForRange2(new h.Range(e.lineNumber,e.column,e.lineNumber,e.column));return t?t[0]:null},t.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},t.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidths=function(e){for(var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),n=1,o=!0,r=t;i>=r;r++){var s=this._visibleLines.getVisibleLine(r);!e||s.getWidthIsFast()?n=Math.max(n,s.getWidth()):o=!1}return o&&1===t&&i===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(n),o},t.prototype.prepareRender=function(){throw new Error("Not supported")},t.prototype.render=function(){throw new Error("Not supported")},t.prototype.renderText=function(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var t=this._horizontalRevealRequest.lineNumber,i=this._horizontalRevealRequest.startColumn,n=this._horizontalRevealRequest.endColumn,o=this._horizontalRevealRequest.scrollType;if(e.startLineNumber<=t&&t<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var r=this._computeScrollLeftToRevealRange(t,i,n),s=this._isViewportWrapping;s||this._ensureMaxLineWidth(r.maxHorizontalOffset),0===o?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:r.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:r.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting);var a=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-a),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},t.prototype._ensureMaxLineWidth=function(e){var t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth))},t.prototype._computeScrollTopToRevealRange=function(e,t,i){var n,o,r=e.top,s=e.height,a=r+s;n=this._context.viewLayout.getVerticalOffsetForLineNumber(t.startLineNumber),o=this._context.viewLayout.getVerticalOffsetForLineNumber(t.endLineNumber)+this._lineHeight,(0===i||4===i)&&(o+=this._lineHeight);var l;if(1===i||2===i)if(2===i&&n>=r&&a>=o)l=r;else{var h=(n+o)/2;l=Math.max(0,h-s/2)}else l=this._computeMinimumScrolling(r,a,n,o,3===i,4===i);return l},t.prototype._computeScrollLeftToRevealRange=function(e,i,n){var o=0,r=this._context.viewLayout.getCurrentViewport(),s=r.left,a=s+r.width,l=this.visibleRangesForRange2(new h.Range(e,i,e,n)),u=Number.MAX_VALUE,d=0;if(!l)return{scrollLeft:s,maxHorizontalOffset:o};for(var c=0,p=l;c<p.length;c++){var g=p[c];g.left<u&&(u=g.left),g.left+g.width>d&&(d=g.left+g.width)}o=d,u=Math.max(0,u-t.HORIZONTAL_EXTRA_PX),d+=this._revealHorizontalRightPadding;var _=this._computeMinimumScrolling(s,a,u,d);return{scrollLeft:_,maxHorizontalOffset:o}},t.prototype._computeMinimumScrolling=function(e,t,i,n,o,r){e=0|e,t=0|t,i=0|i,n=0|n,o=!!o,r=!!r;var s=t-e,a=n-i;return s>a?o?i:r?Math.max(0,n-s):e>i?i:n>t?Math.max(0,n-s):e:i},t.HORIZONTAL_EXTRA_PX=30,t}(s.ViewPart);t.ViewLines=p});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),n=t("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin"),r=function(t){function e(e){var o=t.call(this)||this;return o._context=e,o._decorationsLeft=o._context.configuration.editor.layoutInfo.decorationsLeft,o._decorationsWidth=o._context.configuration.editor.layoutInfo.decorationsWidth,o._renderResult=null,o._context.addEventHandler(o),o}return o(e,t),e.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,t.prototype.dispose.call(this)},e.prototype.onConfigurationChanged=function(t){return t.layoutInfo&&(this._decorationsLeft=this._context.configuration.editor.layoutInfo.decorationsLeft,this._decorationsWidth=this._context.configuration.editor.layoutInfo.decorationsWidth),!0},e.prototype.onDecorationsChanged=function(){return!0},e.prototype.onFlushed=function(){return!0},e.prototype.onLinesChanged=function(){return!0},e.prototype.onLinesDeleted=function(){return!0},e.prototype.onLinesInserted=function(){return!0},e.prototype.onScrollChanged=function(t){return t.scrollTopChanged},e.prototype.onZonesChanged=function(){return!0},e.prototype._getDecorations=function(t){for(var e=t.getDecorationsInViewport(),o=[],r=0,i=0,s=e.length;s>i;i++){var a=e[i],c=a.options.linesDecorationsClassName;c&&(o[r++]=new n.DecorationToRender(a.range.startLineNumber,a.range.endLineNumber,c))}return o},e.prototype.prepareRender=function(t){for(var e=t.visibleRange.startLineNumber,o=t.visibleRange.endLineNumber,n=this._render(e,o,this._getDecorations(t)),r=this._decorationsLeft.toString(),i=this._decorationsWidth.toString(),s='" style="left:'+r+"px;width:"+i+'px;"></div>',a=[],c=e;o>=c;c++){for(var u=c-e,d=n[u],p="",l=0,f=d.length;f>l;l++)p+='<div class="cldr '+d[l]+s;a[u]=p}this._renderResult=a},e.prototype.render=function(t,e){return this._renderResult?this._renderResult[e-t]:""},e}(n.DedupOverlay);e.LinesDecorationsOverlay=r});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/marginDecorations/marginDecorations.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/marginDecorations/marginDecorations",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin"),o=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._renderResult=null,n._context.addEventHandler(n),n}return n(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(){return!0},t.prototype.onDecorationsChanged=function(){return!0},t.prototype.onFlushed=function(){return!0},t.prototype.onLinesChanged=function(){return!0},t.prototype.onLinesDeleted=function(){return!0},t.prototype.onLinesInserted=function(){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],o=0,i=0,s=t.length;s>i;i++){var u=t[i],a=u.options.marginClassName;a&&(n[o++]=new r.DecorationToRender(u.range.startLineNumber,u.range.endLineNumber,a))}return n},t.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,r=this._render(t,n,this._getDecorations(e)),o=[],i=t;n>=i;i++){for(var s=i-t,u=r[s],a="",c=0,p=u.length;p>c;c++)a+='<div class="cmdr '+u[c]+'" style=""></div>';o[s]=a}this._renderResult=o},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}(r.DedupOverlay);t.MarginViewLineDecorationsOverlay=o});
;/*!node_modules/monaco-editor/esm/vs/editor/common/core/rgba.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/core/rgba",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(t,n,o,c){this.r=e._clamp(t),this.g=e._clamp(n),this.b=e._clamp(o),this.a=e._clamp(c)}return e._clamp=function(e){return 0>e?0:e>255?255:0|e},e.Empty=new e(0,0,0,0),e}();t.RGBA8=n});
;/*!node_modules/monaco-editor/esm/vs/editor/common/view/minimapCharRenderer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/view/minimapCharRenderer",function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=t("node_modules/monaco-editor/esm/vs/base/common/event"),o=t("node_modules/monaco-editor/esm/vs/editor/common/core/rgba"),n=t("node_modules/monaco-editor/esm/vs/editor/common/modes"),a=function(){function t(){var t=this;this._onDidChange=new e.Emitter,this.onDidChange=this._onDidChange.event,this._updateColorMap(),n.TokenizationRegistry.onDidChange(function(r){r.changedColorMap&&t._updateColorMap()})}return t.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new t),this._INSTANCE},t.prototype._updateColorMap=function(){var t=n.TokenizationRegistry.getColorMap();if(!t)return this._colors=[o.RGBA8.Empty],void(this._backgroundIsLight=!0);this._colors=[o.RGBA8.Empty];for(var r=1;r<t.length;r++){var e=t[r].rgba;this._colors[r]=new o.RGBA8(e.r,e.g,e.b,Math.round(255*e.a))}var a=t[2].getRelativeLuminance();this._backgroundIsLight=a>=.5,this._onDidChange.fire(void 0)},t.prototype.getColor=function(t){return(1>t||t>=this._colors.length)&&(t=2),this._colors[t]},t.prototype.backgroundIsLight=function(){return this._backgroundIsLight},t._INSTANCE=null,t}();r.MinimapTokensColorTracker=a;var i=function(){function t(r,e){var o=760;if(r.length!==o)throw new Error("Invalid x2CharData");var n=190;if(e.length!==n)throw new Error("Invalid x1CharData");this.x2charData=r,this.x1charData=e,this.x2charDataLight=t.soften(r,.8),this.x1charDataLight=t.soften(e,50/60)}return t.soften=function(t,r){for(var e=new Uint8ClampedArray(t.length),o=0,n=t.length;n>o;o++)e[o]=t[o]*r;return e},t._getChIndex=function(t){return t-=32,0>t&&(t+=95),t%95},t.prototype.x2RenderChar=function(r,e,o,n,a,i,h){if(e+2>r.width||o+4>r.height)return void console.warn("bad render request outside image data");var d=h?this.x2charDataLight:this.x2charData,s=t._getChIndex(n),c=4*r.width,u=i.r,g=i.g,v=i.b,l=a.r-u,m=a.g-g,f=a.b-v,p=r.data,C=4*s*2,_=o*c+4*e,b=d[C]/255;p[_+0]=u+l*b,p[_+1]=g+m*b,p[_+2]=v+f*b;var b=d[C+1]/255;p[_+4]=u+l*b,p[_+5]=g+m*b,p[_+6]=v+f*b,_+=c;var b=d[C+2]/255;p[_+0]=u+l*b,p[_+1]=g+m*b,p[_+2]=v+f*b;var b=d[C+3]/255;p[_+4]=u+l*b,p[_+5]=g+m*b,p[_+6]=v+f*b,_+=c;var b=d[C+4]/255;p[_+0]=u+l*b,p[_+1]=g+m*b,p[_+2]=v+f*b;var b=d[C+5]/255;p[_+4]=u+l*b,p[_+5]=g+m*b,p[_+6]=v+f*b,_+=c;var b=d[C+6]/255;p[_+0]=u+l*b,p[_+1]=g+m*b,p[_+2]=v+f*b;var b=d[C+7]/255;p[_+4]=u+l*b,p[_+5]=g+m*b,p[_+6]=v+f*b},t.prototype.x1RenderChar=function(r,e,o,n,a,i,h){if(e+1>r.width||o+2>r.height)return void console.warn("bad render request outside image data");var d=h?this.x1charDataLight:this.x1charData,s=t._getChIndex(n),c=4*r.width,u=i.r,g=i.g,v=i.b,l=a.r-u,m=a.g-g,f=a.b-v,p=r.data,C=2*s*1,_=o*c+4*e,b=d[C]/255;p[_+0]=u+l*b,p[_+1]=g+m*b,p[_+2]=v+f*b,_+=c;var b=d[C+1]/255;p[_+0]=u+l*b,p[_+1]=g+m*b,p[_+2]=v+f*b},t.prototype.x2BlockRenderChar=function(t,r,e,o,n){if(r+2>t.width||e+4>t.height)return void console.warn("bad render request outside image data");var a=4*t.width,i=.5,h=n.r,d=n.g,s=n.b,c=o.r-h,u=o.g-d,g=o.b-s,v=h+c*i,l=d+u*i,m=s+g*i,f=t.data,p=e*a+4*r;f[p+0]=v,f[p+1]=l,f[p+2]=m,f[p+4]=v,f[p+5]=l,f[p+6]=m,p+=a,f[p+0]=v,f[p+1]=l,f[p+2]=m,f[p+4]=v,f[p+5]=l,f[p+6]=m,p+=a,f[p+0]=v,f[p+1]=l,f[p+2]=m,f[p+4]=v,f[p+5]=l,f[p+6]=m,p+=a,f[p+0]=v,f[p+1]=l,f[p+2]=m,f[p+4]=v,f[p+5]=l,f[p+6]=m},t.prototype.x1BlockRenderChar=function(t,r,e,o,n){if(r+1>t.width||e+2>t.height)return void console.warn("bad render request outside image data");var a=4*t.width,i=.5,h=n.r,d=n.g,s=n.b,c=o.r-h,u=o.g-d,g=o.b-s,v=h+c*i,l=d+u*i,m=s+g*i,f=t.data,p=e*a+4*r;f[p+0]=v,f[p+1]=l,f[p+2]=m,p+=a,f[p+0]=v,f[p+1]=l,f[p+2]=m},t}();r.MinimapCharRenderer=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/view/runtimeMinimapCharRenderer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/view/runtimeMinimapCharRenderer",function(e,r){"use strict";function n(e){for(var r=new Uint8ClampedArray(e.length),n=0,i=e.length;i>n;n++)r[n]=e[n];return r}function i(){if(!a){var e=n(m);m=null;var r=n(t);t=null,a=new o.MinimapCharRenderer(r,e)}return a}Object.defineProperty(r,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/editor/common/view/minimapCharRenderer"),a=null;r.getOrCreateMinimapCharRenderer=i;var t=[0,0,0,0,0,0,0,0,39,14,39,14,14,5,29,10,96,96,29,29,0,0,0,0,49,113,195,214,227,166,135,42,40,29,194,38,75,148,197,187,145,0,160,61,75,143,2,183,138,58,163,6,177,223,197,227,38,13,11,4,0,0,0,0,10,54,52,8,62,4,71,122,73,2,19,40,10,50,155,36,79,70,145,121,7,5,0,0,2,1,36,12,204,166,16,5,0,0,0,0,1,0,154,34,0,0,0,0,96,83,0,0,0,0,0,0,0,0,46,34,0,82,2,56,53,3,146,0,146,119,152,132,152,131,145,119,170,42,15,42,15,42,172,194,131,132,0,139,80,28,227,143,159,135,15,118,11,126,171,144,20,124,88,106,217,196,0,106,189,92,168,43,5,130,164,133,130,115,183,65,134,120,141,141,170,196,2,106,31,32,105,2,145,130,116,114,132,135,138,140,138,113,147,137,81,183,129,94,0,0,21,16,4,3,46,34,0,0,45,34,1,0,160,49,0,0,43,143,203,23,1,76,0,0,38,28,131,96,38,28,0,0,168,31,29,191,98,0,118,139,5,113,45,13,37,6,97,115,161,179,204,105,223,224,83,52,111,100,184,186,120,132,212,145,180,139,174,161,212,182,104,162,131,0,131,0,104,161,219,120,110,116,110,116,219,120,207,154,163,40,147,22,207,154,202,159,161,47,145,23,111,0,139,154,144,30,144,135,139,187,110,110,168,161,150,145,110,110,185,162,43,16,43,16,185,162,73,129,0,110,0,110,191,87,149,149,236,48,195,91,146,149,146,0,146,0,146,0,187,173,200,201,222,215,172,147,95,95,193,97,224,129,159,206,97,192,155,139,153,115,153,115,156,140,189,158,123,136,190,64,111,0,155,139,153,115,153,114,156,241,197,148,150,152,170,116,110,157,156,128,169,14,13,159,158,149,212,189,43,16,43,16,43,16,148,110,148,110,147,109,182,151,133,121,106,118,114,103,89,66,94,94,211,188,205,207,139,168,151,152,87,76,101,79,151,152,130,156,125,116,47,29,43,16,169,228,11,103,120,6,230,176,55,49,55,6,55,6,193,102,92,0,71,0,13,30,0,147,63,43,12,43,12,43,142,152,71,53,61,61,0,0,0,0,0,0,0,0,0,0,158,146,25,2,0,0,0,0,0,0,0,0,107,130,170,194,176,188,109,0,203,159,113,111,202,158,0,0,135,135,114,0,136,135,0,109,187,190,148,126,177,187,0,0,149,130,218,105,169,135,37,113,146,113,49,13,49,13,0,0,178,195,147,114,255,255,109,0,193,149,110,109,109,109,12,15,125,41,33,41,144,188,1,6,75,53,10,53,210,161,110,0,152,148,210,60,110,156,213,5,63,5,63,5,45,111,0,0,232,172,190,168,190,169,0,0,190,144,109,109,109,109,0,0,168,140,148,111,168,140,0,0,200,151,113,110,255,158,0,0,184,188,147,139,186,255,0,0,122,130,111,0,109,0,0,0,132,69,109,93,110,136,51,5,205,103,61,6,47,106,0,0,110,109,110,122,155,179,0,0,132,120,113,114,84,63,0,0,124,108,202,189,160,174,0,0,144,142,79,57,159,146,0,0,138,138,119,117,255,69,0,0,97,198,47,38,208,84,23,112,41,14,157,7,121,192,35,11,35,11,35,11,160,61,129,9,40,19,20,139,236,44,0,0,15,3,97,93,0,0],m=[0,0,23,12,53,0,130,127,58,149,67,77,72,198,13,0,25,51,25,49,94,2,8,64,0,24,0,21,0,9,19,27,126,126,51,80,72,105,87,98,73,93,106,85,111,123,87,30,116,126,123,110,4,16,9,28,21,53,8,62,23,52,73,21,132,183,78,142,168,175,70,70,128,128,123,110,125,43,100,139,125,119,78,78,54,77,139,139,33,87,201,117,162,149,130,130,138,60,130,172,149,127,95,98,95,25,118,135,110,85,147,175,105,110,121,30,101,113,34,68,20,26,34,68,56,0,0,44,3,0,27,175,80,133,31,66,85,147,32,150,90,25,45,230,77,101,36,83,22,84,71,118,44,44,52,172,38,101,35,130,40,197,43,197,29,26,23,103,67,44,25,129,29,85,27,177,33,97,32,145,33,77,38,96,20,55,36,95,2,22]});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/minimap/minimap.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/minimap/minimap",function(e,t){"use strict";function i(e){return 2===e?4:4===e?6:1===e?2:3}function o(e){return 2===e?2:4===e?2:1===e?1:1}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),a=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),d=e("node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor"),l=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),h=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),m=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewLayer"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),c=e("node_modules/monaco-editor/esm/vs/editor/common/view/minimapCharRenderer"),_=e("node_modules/monaco-editor/esm/vs/editor/common/view/runtimeMinimapCharRenderer"),f=n.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/view/viewEvents")),v=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),g=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),L=140,w=function(){function e(e){var t=e.editor.pixelRatio,i=e.editor.layoutInfo,o=e.editor.viewInfo,n=e.editor.fontInfo;this.renderMinimap=0|i.renderMinimap,this.scrollBeyondLastLine=o.scrollBeyondLastLine,this.showSlider=o.minimap.showSlider,this.pixelRatio=t,this.typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this.lineHeight=e.editor.lineHeight,this.minimapLeft=i.minimapLeft,this.minimapWidth=i.minimapWidth,this.minimapHeight=i.height,this.canvasInnerWidth=Math.max(1,Math.floor(t*this.minimapWidth)),this.canvasInnerHeight=Math.max(1,Math.floor(t*this.minimapHeight)),this.canvasOuterWidth=this.canvasInnerWidth/t,this.canvasOuterHeight=this.canvasInnerHeight/t}return e.prototype.equals=function(e){return this.renderMinimap===e.renderMinimap&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight},e}(),b=function(){function e(e,t,i,o,n,r,a){this.scrollTop=e,this.scrollHeight=t,this._computedSliderRatio=i,this.sliderTop=o,this.sliderHeight=n,this.startLineNumber=r,this.endLineNumber=a}return e.prototype.getDesiredScrollTopFromDelta=function(e){var t=this.sliderTop+e;return Math.round(t/this._computedSliderRatio)},e.create=function(t,o,n,r,a,s,d,l,h){var m,u=t.pixelRatio,p=i(t.renderMinimap),c=Math.floor(t.canvasInnerHeight/p),_=t.lineHeight;if(a&&n!==s){var f=n-o+1;m=Math.floor(f*p/u)}else{var v=r/_;m=Math.floor(v*p/u)}var g;g=t.scrollBeyondLastLine?(s-1)*p/u:Math.max(0,s*p/u-m),g=Math.min(t.minimapHeight-m,g);var L=g/(l-r),w=d*L;if(c>=s){var b=1,y=s;return new e(d,l,L,w,m,b,y)}var b=Math.max(1,Math.floor(o-w*u/p));h&&h.scrollHeight===l&&(h.scrollTop>d&&(b=Math.min(b,h.startLineNumber)),h.scrollTop<d&&(b=Math.max(b,h.startLineNumber)));var y=Math.min(s,b+c-1);return new e(d,l,L,w,m,b,y)},e}(),y=function(){function e(e){this.dy=e}return e.prototype.onContentChanged=function(){this.dy=-1},e.prototype.onTokensChanged=function(){this.dy=-1},e.INVALID=new e(-1),e}(),C=function(){function e(e,t,i){this.renderedLayout=e,this._imageData=t,this._renderedLines=new m.RenderedLinesCollection(function(){return y.INVALID}),this._renderedLines._set(e.startLineNumber,i)}return e.prototype.linesEquals=function(e){if(this.renderedLayout.startLineNumber!==e.startLineNumber)return!1;if(this.renderedLayout.endLineNumber!==e.endLineNumber)return!1;for(var t=this._renderedLines._get(),i=t.lines,o=0,n=i.length;n>o;o++)if(-1===i[o].dy)return!1;return!0},e.prototype._get=function(){var e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}},e.prototype.onLinesChanged=function(e){return this._renderedLines.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){this._renderedLines.onLinesDeleted(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesInserted=function(e){this._renderedLines.onLinesInserted(e.fromLineNumber,e.toLineNumber)},e.prototype.onTokensChanged=function(e){return this._renderedLines.onTokensChanged(e.ranges)},e}(),N=function(){function e(t,i,o,n){this._backgroundFillData=e._createBackgroundFillData(i,o,n),this._buffers=[t.createImageData(i,o),t.createImageData(i,o)],this._lastUsedBuffer=0}return e.prototype.getBuffer=function(){this._lastUsedBuffer=1-this._lastUsedBuffer;var e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e},e._createBackgroundFillData=function(e,t,i){for(var o=i.r,n=i.g,r=i.b,a=new Uint8ClampedArray(e*t*4),s=0,d=0;t>d;d++)for(var l=0;e>l;l++)a[s]=o,a[s+1]=n,a[s+2]=r,a[s+3]=255,s+=4;return a},e}(),D=function(e){function t(t){var o=e.call(this,t)||this;return o._options=new w(o._context.configuration),o._lastRenderData=null,o._buffers=null,o._domNode=s.createFastDomNode(document.createElement("div")),u.PartFingerprints.write(o._domNode,8),o._domNode.setClassName(o._getMinimapDomNodeClassName()),o._domNode.setPosition("absolute"),o._domNode.setAttribute("role","presentation"),o._domNode.setAttribute("aria-hidden","true"),o._shadow=s.createFastDomNode(document.createElement("div")),o._shadow.setClassName("minimap-shadow-hidden"),o._domNode.appendChild(o._shadow),o._canvas=s.createFastDomNode(document.createElement("canvas")),o._canvas.setPosition("absolute"),o._canvas.setLeft(0),o._domNode.appendChild(o._canvas),o._slider=s.createFastDomNode(document.createElement("div")),o._slider.setPosition("absolute"),o._slider.setClassName("minimap-slider"),o._slider.setLayerHinting(!0),o._domNode.appendChild(o._slider),o._sliderHorizontal=s.createFastDomNode(document.createElement("div")),o._sliderHorizontal.setPosition("absolute"),o._sliderHorizontal.setClassName("minimap-slider-horizontal"),o._slider.appendChild(o._sliderHorizontal),o._tokensColorTracker=c.MinimapTokensColorTracker.getInstance(),o._applyLayout(),o._mouseDownListener=a.addStandardDisposableListener(o._canvas.domNode,"mousedown",function(e){e.preventDefault();var t=o._options.renderMinimap;if(0!==t&&o._lastRenderData){var n=i(t),r=o._options.pixelRatio*e.browserEvent.offsetY,a=Math.floor(r/n),s=a+o._lastRenderData.renderedLayout.startLineNumber;s=Math.min(s,o._context.model.getLineCount()),o._context.privateViewEventBus.emit(new f.ViewRevealRangeRequestEvent(new p.Range(s,1,s,1),1,!1,0))}}),o._sliderMouseMoveMonitor=new d.GlobalMouseMoveMonitor,o._sliderMouseDownListener=a.addStandardDisposableListener(o._slider.domNode,"mousedown",function(e){if(e.preventDefault(),e.leftButton&&o._lastRenderData){var t=e.posy,i=e.posx,n=o._lastRenderData.renderedLayout;o._slider.toggleClassName("active",!0),o._sliderMouseMoveMonitor.startMonitoring(d.standardMouseMoveMerger,function(e){var r=Math.abs(e.posx-i);if(l.isWindows&&r>L)return void o._context.viewLayout.setScrollPositionNow({scrollTop:n.scrollTop});var a=e.posy-t;o._context.viewLayout.setScrollPositionNow({scrollTop:n.getDesiredScrollTopFromDelta(a)})},function(){o._slider.toggleClassName("active",!1)})}}),o}return r(t,e),t.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),e.prototype.dispose.call(this)},t.prototype._getMinimapDomNodeClassName=function(){return"always"===this._options.showSlider?"minimap slider-always":"minimap slider-mouseover"},t.prototype.getDomNode=function(){return this._domNode},t.prototype._applyLayout=function(){this._domNode.setLeft(this._options.minimapLeft),this._domNode.setWidth(this._options.minimapWidth),this._domNode.setHeight(this._options.minimapHeight),this._shadow.setHeight(this._options.minimapHeight),this._canvas.setWidth(this._options.canvasOuterWidth),this._canvas.setHeight(this._options.canvasOuterHeight),this._canvas.domNode.width=this._options.canvasInnerWidth,this._canvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},t.prototype._getBuffer=function(){return this._buffers||(this._buffers=new N(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers.getBuffer()},t.prototype._onOptionsMaybeChanged=function(){var e=new w(this._context.configuration);return this._options.equals(e)?!1:(this._options=e,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},t.prototype.onConfigurationChanged=function(){return this._onOptionsMaybeChanged()},t.prototype.onFlushed=function(){return this._lastRenderData=null,!0},t.prototype.onLinesChanged=function(e){return this._lastRenderData?this._lastRenderData.onLinesChanged(e):!1},t.prototype.onLinesDeleted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e),!0},t.prototype.onLinesInserted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e),!0},t.prototype.onScrollChanged=function(){return!0},t.prototype.onTokensChanged=function(e){return this._lastRenderData?this._lastRenderData.onTokensChanged(e):!1},t.prototype.onTokensColorsChanged=function(){return this._lastRenderData=null,this._buffers=null,!0},t.prototype.onZonesChanged=function(){return this._lastRenderData=null,!0},t.prototype.prepareRender=function(){},t.prototype.render=function(e){var t=this._options.renderMinimap;if(0===t)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);this._shadow.setClassName(e.scrollLeft+e.viewportWidth>=e.scrollWidth?"minimap-shadow-hidden":"minimap-shadow-visible");var i=b.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,e.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(i.sliderTop),this._slider.setHeight(i.sliderHeight);var n=e.scrollLeft/this._options.typicalHalfwidthCharacterWidth,r=Math.min(this._options.minimapWidth,Math.round(n*o(this._options.renderMinimap)/this._options.pixelRatio));this._sliderHorizontal.setLeft(r),this._sliderHorizontal.setWidth(this._options.minimapWidth-r),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(i.sliderHeight),this._lastRenderData=this.renderLines(i)},t.prototype.renderLines=function(e){var o=this._options.renderMinimap,n=e.startLineNumber,r=e.endLineNumber,a=i(o);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var s=this._lastRenderData._get();return new C(e,s.imageData,s.lines)}for(var d=this._getBuffer(),l=t._renderUntouchedLines(d,n,r,a,this._lastRenderData),h=l[0],m=l[1],u=l[2],p=this._context.model.getMinimapLinesRenderingData(n,r,u),c=p.tabSize,f=this._tokensColorTracker.getColor(2),v=this._tokensColorTracker.backgroundIsLight(),g=0,L=[],w=0,b=r-n+1;b>w;w++)u[w]&&t._renderLine(d,f,v,o,this._tokensColorTracker,_.getOrCreateMinimapCharRenderer(),g,c,p.data[w]),L[w]=new y(g),g+=a;var N=-1===h?0:h,D=-1===m?d.height:m,M=D-N,R=this._canvas.domNode.getContext("2d");return R.putImageData(d,0,0,0,N,d.width,M),new C(e,d,L)},t._renderUntouchedLines=function(e,t,i,o,n){var r=[];if(!n){for(var a=0,s=i-t+1;s>a;a++)r[a]=!0;return[-1,-1,r]}for(var d=n._get(),l=d.imageData.data,h=d.rendLineNumberStart,m=d.lines,u=m.length,p=e.width,c=e.data,_=(i-t+1)*o*p*4,f=-1,v=-1,g=-1,L=-1,w=-1,b=-1,y=0,C=t;i>=C;C++){var N=C-t,D=C-h,M=D>=0&&u>D?m[D].dy:-1;if(-1!==M){var R=M*p*4,H=(M+o)*p*4,x=y*p*4,W=(y+o)*p*4;L===R&&b===x?(L=H,b=W):(-1!==g&&(c.set(l.subarray(g,L),w),-1===f&&0===g&&g===w&&(f=L),-1===v&&L===_&&g===w&&(v=g)),g=R,L=H,w=x,b=W),r[N]=!1,y+=o}else r[N]=!0,y+=o}-1!==g&&(c.set(l.subarray(g,L),w),-1===f&&0===g&&g===w&&(f=L),-1===v&&L===_&&g===w&&(v=g));var k=-1===f?-1:f/(4*p),I=-1===v?-1:v/(4*p);return[k,I,r]},t._renderLine=function(e,t,i,n,r,a,s,d,l){for(var m=l.content,u=l.tokens,p=o(n),c=e.width-p,_=0,f=0,v=0,g=0,L=u.getCount();L>g;g++)for(var w=u.getEndOffset(g),b=u.getForeground(g),y=r.getColor(b);w>f;f++){if(_>c)return;var C=m.charCodeAt(f);if(9===C){var N=d-(f+v)%d;v+=N-1,_+=N*p}else if(32===C)_+=p;else for(var D=h.isFullWidthCharacter(C)?2:1,M=0;D>M;M++)if(2===n?a.x2RenderChar(e,_,s,C,y,t,i):1===n?a.x1RenderChar(e,_,s,C,y,t,i):4===n?a.x2BlockRenderChar(e,_,s,y,t,i):a.x1BlockRenderChar(e,_,s,y,t,i),_+=p,_>c)return}},t}(u.ViewPart);t.Minimap=D,g.registerThemingParticipant(function(e,t){var i=e.getColor(v.scrollbarSliderBackground);if(i){var o=i.transparent(.5);t.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+o+"; }")}var n=e.getColor(v.scrollbarSliderHoverBackground);if(n){var r=n.transparent(.5);t.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+r+"; }")}var a=e.getColor(v.scrollbarSliderActiveBackground);if(a){var s=a.transparent(.5);t.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+s+"; }")}var d=e.getColor(v.scrollbarShadow);d&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+d+" -6px 0 6px -6px inset; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),i=t("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),r=t("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),n=function(t){function e(e){var o=t.call(this,e)||this;return o._widgets={},o._verticalScrollbarWidth=o._context.configuration.editor.layoutInfo.verticalScrollbarWidth,o._minimapWidth=o._context.configuration.editor.layoutInfo.minimapWidth,o._horizontalScrollbarHeight=o._context.configuration.editor.layoutInfo.horizontalScrollbarHeight,o._editorHeight=o._context.configuration.editor.layoutInfo.height,o._editorWidth=o._context.configuration.editor.layoutInfo.width,o._domNode=i.createFastDomNode(document.createElement("div")),r.PartFingerprints.write(o._domNode,4),o._domNode.setClassName("overlayWidgets"),o}return o(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this._widgets={}},e.prototype.getDomNode=function(){return this._domNode},e.prototype.onConfigurationChanged=function(t){return t.layoutInfo?(this._verticalScrollbarWidth=this._context.configuration.editor.layoutInfo.verticalScrollbarWidth,this._minimapWidth=this._context.configuration.editor.layoutInfo.minimapWidth,this._horizontalScrollbarHeight=this._context.configuration.editor.layoutInfo.horizontalScrollbarHeight,this._editorHeight=this._context.configuration.editor.layoutInfo.height,this._editorWidth=this._context.configuration.editor.layoutInfo.width,!0):!1},e.prototype.addWidget=function(t){var e=i.createFastDomNode(t.getDomNode());this._widgets[t.getId()]={widget:t,preference:null,domNode:e},e.setPosition("absolute"),e.setAttribute("widgetId",t.getId()),this._domNode.appendChild(e),this.setShouldRender()},e.prototype.setWidgetPosition=function(t,e){var o=this._widgets[t.getId()];return o.preference===e?!1:(o.preference=e,this.setShouldRender(),!0)},e.prototype.removeWidget=function(t){var e=t.getId();if(this._widgets.hasOwnProperty(e)){var o=this._widgets[e],i=o.domNode.domNode;delete this._widgets[e],i.parentNode.removeChild(i),this.setShouldRender()}},e.prototype._renderWidget=function(t){var e=t.domNode;if(null===t.preference)return void e.unsetTop();if(0===t.preference)e.setTop(0),e.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===t.preference){var o=e.domNode.clientHeight;e.setTop(this._editorHeight-o-2*this._horizontalScrollbarHeight),e.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===t.preference&&(e.setTop(0),e.domNode.style.right="50%")},e.prototype.prepareRender=function(){},e.prototype.render=function(){this._domNode.setWidth(this._editorWidth);for(var t=Object.keys(this._widgets),e=0,o=t.length;o>e;e++){var i=t[e];this._renderWidget(this._widgets[i])}},e}(r.ViewPart);e.ViewOverlayWidgets=n});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),i=t("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),r=t("node_modules/monaco-editor/esm/vs/base/common/color"),s=t("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),n=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),h=t("node_modules/monaco-editor/esm/vs/editor/common/modes"),d=t("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),a=function(){function t(t,e){this.lineHeight=t.editor.lineHeight,this.pixelRatio=t.editor.pixelRatio,this.overviewRulerLanes=t.editor.viewInfo.overviewRulerLanes,this.renderBorder=t.editor.viewInfo.overviewRulerBorder;var o=e.getColor(d.editorOverviewRulerBorder);this.borderColor=o?o.toString():null,this.hideCursor=t.editor.viewInfo.hideCursorInOverviewRuler;var i=e.getColor(d.editorCursorForeground);this.cursorColor=i?i.transparent(.7).toString():null,this.themeType=e.type;var s=t.editor.viewInfo.minimap.enabled,n=t.editor.viewInfo.minimap.side,a=s?h.TokenizationRegistry.getDefaultBackground():null;this.backgroundColor=null===a||"left"===n?null:r.Color.Format.CSS.formatHex(a);var l=t.editor.layoutInfo.overviewRuler;this.top=l.top,this.right=l.right,this.domWidth=l.width,this.domHeight=l.height,this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0;var u=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes),c=u[0],g=u[1];this.x=c,this.w=g}return t.prototype._initLanes=function(t,e,o){var i=e-t;if(o>=3){var r=Math.floor(i/3),s=Math.floor(i/3),n=i-r-s,h=t,d=h+r,a=h+r+n;return[[0,h,d,h,a,h,d,h],[0,r,n,r+n,s,r+n+s,n+s,r+n+s]]}if(2===o){var r=Math.floor(i/2),s=i-r,h=t,a=h+r;return[[0,h,h,h,a,h,h,h],[0,r,r,r,s,r+s,r+s,r+s]]}var l=t,u=i;return[[0,l,l,l,l,l,l,l],[0,u,u,u,u,u,u,u]]},t.prototype.equals=function(t){return this.lineHeight===t.lineHeight&&this.pixelRatio===t.pixelRatio&&this.overviewRulerLanes===t.overviewRulerLanes&&this.renderBorder===t.renderBorder&&this.borderColor===t.borderColor&&this.hideCursor===t.hideCursor&&this.cursorColor===t.cursorColor&&this.themeType===t.themeType&&this.backgroundColor===t.backgroundColor&&this.top===t.top&&this.right===t.right&&this.domWidth===t.domWidth&&this.domHeight===t.domHeight&&this.canvasWidth===t.canvasWidth&&this.canvasHeight===t.canvasHeight},t}(),l=function(t){function e(e){var o=t.call(this,e)||this;return o._domNode=i.createFastDomNode(document.createElement("canvas")),o._domNode.setClassName("decorationsOverviewRuler"),o._domNode.setPosition("absolute"),o._domNode.setLayerHinting(!0),o._domNode.setAttribute("aria-hidden","true"),o._updateSettings(!1),o._tokensColorTrackerListener=h.TokenizationRegistry.onDidChange(function(t){t.changedColorMap&&o._updateSettings(!0)}),o._cursorPositions=[],o}return o(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},e.prototype._updateSettings=function(t){var e=new a(this._context.configuration,this._context.theme);return this._settings&&this._settings.equals(e)?!1:(this._settings=e,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,t&&this._render(),!0)},e.prototype.onConfigurationChanged=function(){return this._updateSettings(!1)},e.prototype.onCursorStateChanged=function(t){this._cursorPositions=[];for(var e=0,o=t.selections.length;o>e;e++)this._cursorPositions[e]=t.selections[e].getPosition();return this._cursorPositions.sort(n.Position.compare),!0},e.prototype.onDecorationsChanged=function(){return!0},e.prototype.onFlushed=function(){return!0},e.prototype.onScrollChanged=function(t){return t.scrollHeightChanged},e.prototype.onZonesChanged=function(){return!0},e.prototype.onThemeChanged=function(){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)},e.prototype.getDomNode=function(){return this._domNode.domNode},e.prototype.prepareRender=function(){},e.prototype.render=function(){this._render()},e.prototype._render=function(){var t=this._settings.canvasWidth,e=this._settings.canvasHeight,o=this._settings.lineHeight,i=this._context.viewLayout,r=this._context.viewLayout.getScrollHeight(),s=e/r,n=this._context.model.getAllOverviewRulerDecorations(this._context.theme),h=6*this._settings.pixelRatio|0,d=h/2|0,a=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?a.clearRect(0,0,t,e):(a.fillStyle=this._settings.backgroundColor,a.fillRect(0,0,t,e));var l=this._settings.x,u=this._settings.w,c=Object.keys(n);c.sort();for(var g=0,v=c.length;v>g;g++){var m=c[g],_=n[m];a.fillStyle=m;for(var p=0,f=0,C=0,w=0,y=_.length;y>w;w++){var R=_[3*w],b=_[3*w+1],N=_[3*w+2],x=i.getVerticalOffsetForLineNumber(b)*s|0,H=(i.getVerticalOffsetForLineNumber(N)+o)*s|0,k=H-x;if(h>k){var L=(x+H)/2|0;d>L?L=d:L+d>e&&(L=e-d),x=L-d,H=L+d}x>C+1||R!==p?(0!==w&&a.fillRect(l[p],f,u[p],C-f),p=R,f=x,C=H):H>C&&(C=H)}a.fillRect(l[p],f,u[p],C-f)}if(!this._settings.hideCursor&&this._settings.cursorColor){var O=2*this._settings.pixelRatio|0,P=O/2|0,S=this._settings.x[7],T=this._settings.w[7];a.fillStyle=this._settings.cursorColor;for(var f=-100,C=-100,w=0,y=this._cursorPositions.length;y>w;w++){var W=this._cursorPositions[w],L=i.getVerticalOffsetForLineNumber(W.lineNumber)*s|0;P>L?L=P:L+P>e&&(L=e-P);var x=L-P,H=x+O;x>C+1?(0!==w&&a.fillRect(S,f,T,C-f),f=x,C=H):H>C&&(C=H)}a.fillRect(S,f,T,C-f)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(a.beginPath(),a.lineWidth=1,a.strokeStyle=this._settings.borderColor,a.moveTo(0,0),a.lineTo(0,e),a.stroke(),a.moveTo(0,0),a.lineTo(t,0),a.stroke())},e}(s.ViewPart);e.DecorationsOverviewRuler=l});
;/*!node_modules/monaco-editor/esm/vs/editor/common/view/overviewZoneManager.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/view/overviewZoneManager",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=function(){function t(t,o,e){this.from=0|t,this.to=0|o,this.colorId=0|e}return t.compare=function(t,o){return t.colorId===o.colorId?t.from===o.from?t.to-o.to:t.from-o.from:t.colorId-o.colorId},t}();o.ColorZone=e;var i=function(){function t(t,o,e){this.startLineNumber=t,this.endLineNumber=o,this.color=e,this._colorZone=null}return t.compare=function(t,o){return t.color===o.color?t.startLineNumber===o.startLineNumber?t.endLineNumber-o.endLineNumber:t.startLineNumber-o.startLineNumber:t.color<o.color?-1:1},t.prototype.setColorZone=function(t){this._colorZone=t},t.prototype.getColorZones=function(){return this._colorZone},t}();o.OverviewRulerZone=i;var r=function(){function t(t){this._getVerticalOffsetForLine=t,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}return t.prototype.getId2Color=function(){return this._id2Color},t.prototype.setZones=function(t){this._zones=t,this._zones.sort(i.compare)},t.prototype.setLineHeight=function(t){return this._lineHeight===t?!1:(this._lineHeight=t,this._colorZonesInvalid=!0,!0)},t.prototype.setPixelRatio=function(t){this._pixelRatio=t,this._colorZonesInvalid=!0},t.prototype.getDOMWidth=function(){return this._domWidth},t.prototype.getCanvasWidth=function(){return this._domWidth*this._pixelRatio},t.prototype.setDOMWidth=function(t){return this._domWidth===t?!1:(this._domWidth=t,this._colorZonesInvalid=!0,!0)},t.prototype.getDOMHeight=function(){return this._domHeight},t.prototype.getCanvasHeight=function(){return this._domHeight*this._pixelRatio},t.prototype.setDOMHeight=function(t){return this._domHeight===t?!1:(this._domHeight=t,this._colorZonesInvalid=!0,!0)},t.prototype.getOuterHeight=function(){return this._outerHeight},t.prototype.setOuterHeight=function(t){return this._outerHeight===t?!1:(this._outerHeight=t,this._colorZonesInvalid=!0,!0)},t.prototype.resolveColorZones=function(){for(var t=this._colorZonesInvalid,o=Math.floor(this._lineHeight),i=Math.floor(this.getCanvasHeight()),r=Math.floor(this._outerHeight),n=i/r,s=Math.floor(4*this._pixelRatio/2),h=[],l=0,u=this._zones.length;u>l;l++){var c=this._zones[l];if(!t){var a=c.getColorZones();if(a){h.push(a);continue}}var _=Math.floor(n*this._getVerticalOffsetForLine(c.startLineNumber)),d=Math.floor(n*(this._getVerticalOffsetForLine(c.endLineNumber)+o)),f=Math.floor((_+d)/2),p=d-f;s>p&&(p=s),0>f-p&&(f=p),f+p>i&&(f=i-p);var g=c.color,m=this._color2Id[g];m||(m=++this._lastAssignedId,this._color2Id[g]=m,this._id2Color[m]=g);var v=new e(f-p,f+p,m);c.setColorZone(v),h.push(v)}return this._colorZonesInvalid=!1,h.sort(e.compare),h},t}();o.OverviewZoneManager=r});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),i=e("node_modules/monaco-editor/esm/vs/editor/common/view/overviewZoneManager"),r=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewEventHandler"),a=function(e){function t(t,o){var r=e.call(this)||this;return r._context=t,r._domNode=n.createFastDomNode(document.createElement("canvas")),r._domNode.setClassName(o),r._domNode.setPosition("absolute"),r._domNode.setLayerHinting(!0),r._zoneManager=new i.OverviewZoneManager(function(e){return r._context.viewLayout.getVerticalOffsetForLineNumber(e)}),r._zoneManager.setDOMWidth(0),r._zoneManager.setDOMHeight(0),r._zoneManager.setOuterHeight(r._context.viewLayout.getScrollHeight()),r._zoneManager.setLineHeight(r._context.configuration.editor.lineHeight),r._zoneManager.setPixelRatio(r._context.configuration.editor.pixelRatio),r._context.addEventHandler(r),r}return o(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._zoneManager.setLineHeight(this._context.configuration.editor.lineHeight),this._render()),e.pixelRatio&&(this._zoneManager.setPixelRatio(this._context.configuration.editor.pixelRatio),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},t.prototype.onFlushed=function(){return this._render(),!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0},t.prototype.onZonesChanged=function(){return this._render(),!0},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.setLayout=function(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);var t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,t=this._zoneManager.setDOMHeight(e.height)||t,t&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())},t.prototype.setZones=function(e){this._zoneManager.setZones(e),this._render()},t.prototype._render=function(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),o=this._zoneManager.resolveColorZones(),n=this._zoneManager.getId2Color(),i=this._domNode.domNode.getContext("2d");return i.clearRect(0,0,e,t),o.length>0&&this._renderOneLane(i,o,n,e),!0},t.prototype._renderOneLane=function(e,t,o,n){for(var i=0,r=0,a=0,s=0,d=t;s<d.length;s++){var h=d[s],g=h.colorId,_=h.from,c=h.to;g!==i?(e.fillRect(0,r,n,a-r),i=g,e.fillStyle=o[i],r=_,a=c):a>=_?a=Math.max(a,c):(e.fillRect(0,r,n,a-r),r=_,a=c)}e.fillRect(0,r,n,a-r)},t}(r.ViewEventHandler);t.OverviewRuler=a});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/rulers/rulers.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/rulers/rulers",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),r=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),i=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),n=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),s=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),d=function(e){function t(t){var o=e.call(this,t)||this;return o.domNode=r.createFastDomNode(document.createElement("div")),o.domNode.setAttribute("role","presentation"),o.domNode.setAttribute("aria-hidden","true"),o.domNode.setClassName("view-rulers"),o._renderedRulers=[],o._rulers=o._context.configuration.editor.viewInfo.rulers,o._typicalHalfwidthCharacterWidth=o._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,o}return o(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.viewInfo||e.layoutInfo||e.fontInfo?(this._rulers=this._context.configuration.editor.viewInfo.rulers,this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,!0):!1},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.prepareRender=function(){},t.prototype._ensureRulersCount=function(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(t>e)for(var o=this._context.model.getOptions().tabSize,i=o,n=t-e;n>0;){var s=r.createFastDomNode(document.createElement("div"));s.setClassName("view-ruler"),s.setWidth(i),this.domNode.appendChild(s),this._renderedRulers.push(s),n--}else for(var d=e-t;d>0;){var s=this._renderedRulers.pop();this.domNode.removeChild(s),d--}},t.prototype.render=function(e){this._ensureRulersCount();for(var t=0,o=this._rulers.length;o>t;t++){var r=this._renderedRulers[t];r.setHeight(Math.min(e.scrollHeight,1e6)),r.setLeft(this._rulers[t]*this._typicalHalfwidthCharacterWidth)}},t}(i.ViewPart);t.Rulers=d,s.registerThemingParticipant(function(e,t){var o=e.getColor(n.editorRuler);o&&t.addRule(".monaco-editor .view-ruler { box-shadow: 1px 0 0 0 "+o+" inset; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration",function(o,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=this&&this.__extends||function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var e in t)t.hasOwnProperty(e)&&(o[e]=t[e])})(t,e)};return function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),r=o("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),i=o("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),n=o("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),s=o("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),d=function(o){function t(t){var e=o.call(this,t)||this;return e._scrollTop=0,e._width=0,e._updateWidth(),e._shouldShow=!1,e._useShadows=e._context.configuration.editor.viewInfo.scrollbar.useShadows,e._domNode=r.createFastDomNode(document.createElement("div")),e._domNode.setAttribute("role","presentation"),e._domNode.setAttribute("aria-hidden","true"),e}return e(t,o),t.prototype.dispose=function(){o.prototype.dispose.call(this)},t.prototype._updateShouldShow=function(){var o=this._useShadows&&this._scrollTop>0;return this._shouldShow!==o?(this._shouldShow=o,!0):!1},t.prototype.getDomNode=function(){return this._domNode},t.prototype._updateWidth=function(){var o=this._context.configuration.editor.layoutInfo,t=0;return t=0===o.renderMinimap||o.minimapWidth>0&&0===o.minimapLeft?o.width:o.width-o.minimapWidth-o.verticalScrollbarWidth,this._width!==t?(this._width=t,!0):!1},t.prototype.onConfigurationChanged=function(o){var t=!1;return o.viewInfo&&(this._useShadows=this._context.configuration.editor.viewInfo.scrollbar.useShadows),o.layoutInfo&&(t=this._updateWidth()),this._updateShouldShow()||t},t.prototype.onScrollChanged=function(o){return this._scrollTop=o.scrollTop,this._updateShouldShow()},t.prototype.prepareRender=function(){},t.prototype.render=function(){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},t}(i.ViewPart);t.ScrollDecorationViewPart=d,s.registerThemingParticipant(function(o,t){var e=o.getColor(n.scrollbarShadow);e&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+e+" 0 6px 6px -6px inset; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/selections/selections.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/selections/selections",function(e,t){"use strict";function n(e){return new d(e)}function o(e){return new _(e.lineNumber,e.ranges.map(n))}function i(e){return 0>e?-e:e}Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),l=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),a=e("node_modules/monaco-editor/esm/vs/editor/browser/view/dynamicViewOverlay"),c=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),u=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),d=function(){function e(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}return e}(),_=function(){function e(e,t){this.lineNumber=e,this.ranges=t}return e}(),h=s.isEdgeOrIE,f=function(e){function t(t){var n=e.call(this)||this;return n._previousFrameVisibleRangesWithStyle=[],n._context=t,n._lineHeight=n._context.configuration.editor.lineHeight,n._roundedSelection=n._context.configuration.editor.viewInfo.roundedSelection,n._typicalHalfwidthCharacterWidth=n._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,n._selections=[],n._renderResult=null,n._context.addEventHandler(n),n}return l(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._roundedSelection=this._context.configuration.editor.viewInfo.roundedSelection),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),!0},t.prototype.onDecorationsChanged=function(){return!0},t.prototype.onFlushed=function(){return!0},t.prototype.onLinesChanged=function(){return!0},t.prototype.onLinesDeleted=function(){return!0},t.prototype.onLinesInserted=function(){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(){return!0},t.prototype._visibleRangesHaveGaps=function(e){for(var t=0,n=e.length;n>t;t++){var o=e[t];if(o.ranges.length>1)return!0}return!1},t.prototype._enrichVisibleRangesWithStyle=function(e,t,n){var o=this._typicalHalfwidthCharacterWidth/4,r=null,l=null;if(n&&n.length>0&&t.length>0){var s=t[0].lineNumber;if(s===e.startLineNumber)for(var a=0;!r&&a<n.length;a++)n[a].lineNumber===s&&(r=n[a].ranges[0]);var c=t[t.length-1].lineNumber;if(c===e.endLineNumber)for(var a=n.length-1;!l&&a>=0;a--)n[a].lineNumber===c&&(l=n[a].ranges[0]);r&&!r.startStyle&&(r=null),l&&!l.startStyle&&(l=null)}for(var a=0,u=t.length;u>a;a++){var d=t[a].ranges[0],_=d.left,h=d.left+d.width,f={top:0,bottom:0},p={top:0,bottom:0};if(a>0){var g=t[a-1].ranges[0].left,S=t[a-1].ranges[0].left+t[a-1].ranges[0].width;i(_-g)<o?f.top=2:_>g&&(f.top=1),i(h-S)<o?p.top=2:h>g&&S>h&&(p.top=1)}else r&&(f.top=r.startStyle.top,p.top=r.endStyle.top);if(u>a+1){var E=t[a+1].ranges[0].left,m=t[a+1].ranges[0].left+t[a+1].ranges[0].width;i(_-E)<o?f.bottom=2:_>E&&m>_&&(f.bottom=1),i(h-m)<o?p.bottom=2:m>h&&(p.bottom=1)}else l&&(f.bottom=l.startStyle.bottom,p.bottom=l.endStyle.bottom);d.startStyle=f,d.endStyle=p}},t.prototype._getVisibleRangesWithStyle=function(e,t,n){var i=t.linesVisibleRangesForRange(e,!0)||[],r=i.map(o),l=this._visibleRangesHaveGaps(r);return h||l||!this._roundedSelection||this._enrichVisibleRangesWithStyle(t.visibleRange,r,n),r},t.prototype._createSelectionPiece=function(e,t,n,o,i){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+o.toString()+"px;width:"+i.toString()+"px;height:"+t+'px;"></div>'},t.prototype._actualRenderOneSelection=function(e,n,o,i){for(var r=i.length>0&&i[0].ranges[0].startStyle,l=this._lineHeight.toString(),s=(this._lineHeight-1).toString(),a=i.length>0?i[0].lineNumber:0,c=i.length>0?i[i.length-1].lineNumber:0,u=0,d=i.length;d>u;u++){for(var _=i[u],h=_.lineNumber,f=h-n,p=o&&(h===c||h===a)?s:l,g=o&&h===a?1:0,S="",E=0,m=_.ranges.length;m>E;E++){var v=_.ranges[E];if(r){var y=v.startStyle,O=v.endStyle;if(1===y.top||1===y.bottom){S+=this._createSelectionPiece(g,p,t.SELECTION_CLASS_NAME,v.left-t.ROUNDED_PIECE_WIDTH,t.ROUNDED_PIECE_WIDTH);var T=t.EDITOR_BACKGROUND_CLASS_NAME;1===y.top&&(T+=" "+t.SELECTION_TOP_RIGHT),1===y.bottom&&(T+=" "+t.SELECTION_BOTTOM_RIGHT),S+=this._createSelectionPiece(g,p,T,v.left-t.ROUNDED_PIECE_WIDTH,t.ROUNDED_PIECE_WIDTH)}if(1===O.top||1===O.bottom){S+=this._createSelectionPiece(g,p,t.SELECTION_CLASS_NAME,v.left+v.width,t.ROUNDED_PIECE_WIDTH);var b=t.EDITOR_BACKGROUND_CLASS_NAME;1===O.top&&(b+=" "+t.SELECTION_TOP_LEFT),1===O.bottom&&(b+=" "+t.SELECTION_BOTTOM_LEFT),S+=this._createSelectionPiece(g,p,b,v.left+v.width,t.ROUNDED_PIECE_WIDTH)}}var C=t.SELECTION_CLASS_NAME;if(r){var y=v.startStyle,O=v.endStyle;0===y.top&&(C+=" "+t.SELECTION_TOP_LEFT),0===y.bottom&&(C+=" "+t.SELECTION_BOTTOM_LEFT),0===O.top&&(C+=" "+t.SELECTION_TOP_RIGHT),0===O.bottom&&(C+=" "+t.SELECTION_BOTTOM_RIGHT)}S+=this._createSelectionPiece(g,p,C,v.left,v.width)}e[f]+=S}},t.prototype.prepareRender=function(e){for(var t=[],n=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,i=n;o>=i;i++){var r=i-n;t[r]=""}for(var l=[],s=0,a=this._selections.length;a>s;s++){var c=this._selections[s];if(c.isEmpty())l[s]=null;else{var u=this._getVisibleRangesWithStyle(c,e,this._previousFrameVisibleRangesWithStyle[s]);l[s]=u,this._actualRenderOneSelection(t,n,this._selections.length>1,u)}}this._previousFrameVisibleRangesWithStyle=l,this._renderResult=t},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return 0>n||n>=this._renderResult.length?"":this._renderResult[n]},t.SELECTION_CLASS_NAME="selected-text",t.SELECTION_TOP_LEFT="top-left-radius",t.SELECTION_BOTTOM_LEFT="bottom-left-radius",t.SELECTION_TOP_RIGHT="top-right-radius",t.SELECTION_BOTTOM_RIGHT="bottom-right-radius",t.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",t.ROUNDED_PIECE_WIDTH=10,t}(a.DynamicViewOverlay);t.SelectionsOverlay=f,u.registerThemingParticipant(function(e,t){var n=e.getColor(c.editorSelectionBackground);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var o=e.getColor(c.editorInactiveSelection);o&&t.addRule(".monaco-editor .selected-text { background-color: "+o+"; }");var i=e.getColor(c.editorSelectionForeground);i&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+i+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewCursors/viewCursor.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewCursors/viewCursor",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/tslib/tslib"),o=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),n=t("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),s=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/strings")),r=t("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration"),h=t("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions"),d=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),a=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),l=function(){function t(t,e,i,o,n,s){this.top=t,this.left=e,this.width=i,this.height=o,this.textContent=n,this.textContentClassName=s}return t}(),_=function(){function t(t){this._context=t,this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._lineHeight=this._context.configuration.editor.lineHeight,this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(this._context.configuration.editor.viewInfo.cursorWidth,this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=n.createFastDomNode(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),r.Configuration.applyFontInfo(this._domNode,this._context.configuration.editor.fontInfo),this._domNode.setDisplay("none"),this.updatePosition(new d.Position(1,1)),this._lastRenderedContent="",this._renderData=null}return t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return this._position},t.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},t.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},t.prototype.onConfigurationChanged=function(t){return t.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),t.fontInfo&&(r.Configuration.applyFontInfo(this._domNode,this._context.configuration.editor.fontInfo),this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),t.viewInfo&&(this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._lineCursorWidth=Math.min(this._context.configuration.editor.viewInfo.cursorWidth,this._typicalHalfwidthCharacterWidth)),!0},t.prototype.onCursorPositionChanged=function(t){return this.updatePosition(t),!0},t.prototype._prepareRender=function(t){var e="",i="";if(this._cursorStyle===h.TextEditorCursorStyle.Line||this._cursorStyle===h.TextEditorCursorStyle.LineThin){var n=t.visibleRangeForPosition(this._position);if(!n)return null;var r;if(this._cursorStyle===h.TextEditorCursorStyle.Line){if(r=o.computeScreenAwareSize(this._lineCursorWidth>0?this._lineCursorWidth:2),r>2){var d=this._context.model.getLineContent(this._position.lineNumber);e=d.charAt(this._position.column-1)}}else r=o.computeScreenAwareSize(1);var _=n.left;r>=2&&_>=1&&(_-=1);var c=t.getVerticalOffsetForLineNumber(this._position.lineNumber)-t.bigNumbersDelta;return new l(c,_,r,this._lineHeight,e,i)}var u=t.linesVisibleRangesForRange(new a.Range(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+1),!1);if(!u||0===u.length||0===u[0].ranges.length)return null;var m=u[0].ranges[0],f=m.width<1?this._typicalHalfwidthCharacterWidth:m.width;if(this._cursorStyle===h.TextEditorCursorStyle.Block){var p=this._context.model.getViewLineData(this._position.lineNumber);e=p.content.charAt(this._position.column-1),s.isHighSurrogate(p.content.charCodeAt(this._position.column-1))&&(e+=p.content.charAt(this._position.column));var g=p.tokens.findTokenIndexAtOffset(this._position.column-1);i=p.tokens.getClassName(g)}var C=t.getVerticalOffsetForLineNumber(this._position.lineNumber)-t.bigNumbersDelta,N=this._lineHeight;return(this._cursorStyle===h.TextEditorCursorStyle.Underline||this._cursorStyle===h.TextEditorCursorStyle.UnderlineThin)&&(C+=this._lineHeight-2,N=2),new l(C,m.left,f,N,e,i)},t.prototype.prepareRender=function(t){this._renderData=this._prepareRender(t)},t.prototype.render=function(){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor "+this._renderData.textContentClassName),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)},t.prototype.updatePosition=function(t){this._position=t},t}();e.ViewCursor=_});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewCursors/viewCursors.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewCursors/viewCursors",function(o,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=this&&this.__extends||function(){var o=function(r,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var e in r)r.hasOwnProperty(e)&&(o[e]=r[e])})(r,e)};return function(r,e){function t(){this.constructor=r}o(r,e),r.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t)}}(),t=o("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),n=o("node_modules/monaco-editor/esm/vs/base/common/async"),s=o("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),i=o("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewCursors/viewCursor"),a=o("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions"),u=o("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),d=o("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),c=function(o){function r(r){var e=o.call(this,r)||this;return e._readOnly=e._context.configuration.editor.readOnly,e._cursorBlinking=e._context.configuration.editor.viewInfo.cursorBlinking,e._cursorStyle=e._context.configuration.editor.viewInfo.cursorStyle,e._cursorSmoothCaretAnimation=e._context.configuration.editor.viewInfo.cursorSmoothCaretAnimation,e._selectionIsEmpty=!0,e._primaryCursor=new i.ViewCursor(e._context),e._secondaryCursors=[],e._renderData=[],e._domNode=t.createFastDomNode(document.createElement("div")),e._domNode.setAttribute("role","presentation"),e._domNode.setAttribute("aria-hidden","true"),e._updateDomClassName(),e._domNode.appendChild(e._primaryCursor.getDomNode()),e._startCursorBlinkAnimation=new n.TimeoutTimer,e._cursorFlatBlinkInterval=new n.IntervalTimer,e._blinkingEnabled=!1,e._editorHasFocus=!1,e._updateBlinking(),e}return e(r,o),r.prototype.dispose=function(){o.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},r.prototype.getDomNode=function(){return this._domNode},r.prototype.onConfigurationChanged=function(o){o.readOnly&&(this._readOnly=this._context.configuration.editor.readOnly),o.viewInfo&&(this._cursorBlinking=this._context.configuration.editor.viewInfo.cursorBlinking,this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._cursorSmoothCaretAnimation=this._context.configuration.editor.viewInfo.cursorSmoothCaretAnimation),this._primaryCursor.onConfigurationChanged(o),this._updateBlinking(),o.viewInfo&&this._updateDomClassName();for(var r=0,e=this._secondaryCursors.length;e>r;r++)this._secondaryCursors[r].onConfigurationChanged(o);return!0},r.prototype._onCursorPositionChanged=function(o,r){if(this._primaryCursor.onCursorPositionChanged(o),this._updateBlinking(),this._secondaryCursors.length<r.length)for(var e=r.length-this._secondaryCursors.length,t=0;e>t;t++){var n=new i.ViewCursor(this._context);this._domNode.domNode.insertBefore(n.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(n)}else if(this._secondaryCursors.length>r.length)for(var s=this._secondaryCursors.length-r.length,t=0;s>t;t++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1);for(var t=0;t<r.length;t++)this._secondaryCursors[t].onCursorPositionChanged(r[t])},r.prototype.onCursorStateChanged=function(o){for(var r=[],e=0,t=o.selections.length;t>e;e++)r[e]=o.selections[e].getPosition();this._onCursorPositionChanged(r[0],r.slice(1));var n=o.selections[0].isEmpty();return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,this._updateDomClassName()),!0},r.prototype.onDecorationsChanged=function(){return!0},r.prototype.onFlushed=function(){return!0},r.prototype.onFocusChanged=function(o){return this._editorHasFocus=o.isFocused,this._updateBlinking(),!1},r.prototype.onLinesChanged=function(){return!0},r.prototype.onLinesDeleted=function(){return!0},r.prototype.onLinesInserted=function(){return!0},r.prototype.onScrollChanged=function(){return!0},r.prototype.onTokensChanged=function(o){var r=function(r){for(var e=0,t=o.ranges.length;t>e;e++)if(o.ranges[e].fromLineNumber<=r.lineNumber&&r.lineNumber<=o.ranges[e].toLineNumber)return!0;return!1};if(r(this._primaryCursor.getPosition()))return!0;for(var e=0,t=this._secondaryCursors;e<t.length;e++){var n=t[e];if(r(n.getPosition()))return!0}return!1},r.prototype.onZonesChanged=function(){return!0},r.prototype._getCursorBlinking=function(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0},r.prototype._updateBlinking=function(){var o=this;this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();var e=this._getCursorBlinking(),t=0===e,n=5===e;t?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),t||n||(1===e?this._cursorFlatBlinkInterval.cancelAndSet(function(){o._isVisible?o._hide():o._show()},r.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(function(){o._blinkingEnabled=!0,o._updateDomClassName()},r.BLINK_INTERVAL))},r.prototype._updateDomClassName=function(){this._domNode.setClassName(this._getClassName())},r.prototype._getClassName=function(){var o="cursors-layer";switch(this._selectionIsEmpty||(o+=" has-selection"),this._cursorStyle){case a.TextEditorCursorStyle.Line:o+=" cursor-line-style";break;case a.TextEditorCursorStyle.Block:o+=" cursor-block-style";break;case a.TextEditorCursorStyle.Underline:o+=" cursor-underline-style";break;case a.TextEditorCursorStyle.LineThin:o+=" cursor-line-thin-style";break;case a.TextEditorCursorStyle.BlockOutline:o+=" cursor-block-outline-style";break;case a.TextEditorCursorStyle.UnderlineThin:o+=" cursor-underline-thin-style";break;default:o+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:o+=" cursor-blink";break;case 2:o+=" cursor-smooth";break;case 3:o+=" cursor-phase";break;case 4:o+=" cursor-expand";break;case 5:o+=" cursor-solid";break;default:o+=" cursor-solid"}else o+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(o+=" cursor-smooth-caret-animation"),o},r.prototype._show=function(){this._primaryCursor.show();for(var o=0,r=this._secondaryCursors.length;r>o;o++)this._secondaryCursors[o].show();this._isVisible=!0},r.prototype._hide=function(){this._primaryCursor.hide();for(var o=0,r=this._secondaryCursors.length;r>o;o++)this._secondaryCursors[o].hide();this._isVisible=!1},r.prototype.prepareRender=function(o){this._primaryCursor.prepareRender(o);for(var r=0,e=this._secondaryCursors.length;e>r;r++)this._secondaryCursors[r].prepareRender(o)},r.prototype.render=function(o){var r=[],e=0,t=this._primaryCursor.render(o);t&&(r[e++]=t);for(var n=0,s=this._secondaryCursors.length;s>n;n++){var i=this._secondaryCursors[n].render(o);i&&(r[e++]=i)}this._renderData=r},r.prototype.getLastRenderData=function(){return this._renderData},r.BLINK_INTERVAL=500,r}(s.ViewPart);r.ViewCursors=c,d.registerThemingParticipant(function(o,r){var e=o.getColor(u.editorCursorForeground);if(e){var t=o.getColor(u.editorCursorBackground);t||(t=e.opposite()),r.addRule(".monaco-editor .cursor { background-color: "+e+"; border-color: "+e+"; color: "+t+"; }"),"hc"===o.type&&r.addRule(".monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid "+t+"; border-right: 1px solid "+t+"; }")}})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewZones/viewZones.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewZones/viewZones",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),r=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),d=function(e){function t(t){var o=e.call(this,t)||this;return o._lineHeight=o._context.configuration.editor.lineHeight,o._contentWidth=o._context.configuration.editor.layoutInfo.contentWidth,o._contentLeft=o._context.configuration.editor.layoutInfo.contentLeft,o.domNode=n.createFastDomNode(document.createElement("div")),o.domNode.setClassName("view-zones"),o.domNode.setPosition("absolute"),o.domNode.setAttribute("role","presentation"),o.domNode.setAttribute("aria-hidden","true"),o.marginDomNode=n.createFastDomNode(document.createElement("div")),o.marginDomNode.setClassName("margin-view-zones"),o.marginDomNode.setPosition("absolute"),o.marginDomNode.setAttribute("role","presentation"),o.marginDomNode.setAttribute("aria-hidden","true"),o._zones={},o}return o(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._zones={}},t.prototype._recomputeWhitespacesProps=function(){for(var e=!1,t=Object.keys(this._zones),o=0,n=t.length;n>o;o++){var i=t[o],r=this._zones[i],s=this._computeWhitespaceProps(r.delegate);this._context.viewLayout.changeWhitespace(parseInt(i,10),s.afterViewLineNumber,s.heightInPx)&&(this._safeCallOnComputedHeight(r.delegate,s.heightInPx),e=!0)}return e},t.prototype.onConfigurationChanged=function(e){return e.lineHeight?(this._lineHeight=this._context.configuration.editor.lineHeight,this._recomputeWhitespacesProps()):(e.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth,this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft),!0)},t.prototype.onLineMappingChanged=function(){var e=this._recomputeWhitespacesProps();return e&&this._context.viewLayout.onHeightMaybeChanged(),e},t.prototype.onLinesDeleted=function(){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(){return!0},t.prototype.onLinesInserted=function(){return!0},t.prototype._getZoneOrdinal=function(e){return"undefined"!=typeof e.afterColumn?e.afterColumn:1e4},t.prototype._computeWhitespaceProps=function(e){if(0===e.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};var t;if("undefined"!=typeof e.afterColumn)t=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{var o=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new s.Position(o,this._context.model.getModelLineMaxColumn(o))}var n;n=this._context.model.validateModelPosition(t.column===this._context.model.getModelLineMaxColumn(t.lineNumber)?{lineNumber:t.lineNumber+1,column:1}:{lineNumber:t.lineNumber,column:t.column+1});var i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(t),r=this._context.model.coordinatesConverter.modelPositionIsVisible(n);return{afterViewLineNumber:i.lineNumber,heightInPx:r?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}},t.prototype.addZone=function(e){var t=this._computeWhitespaceProps(e),o=this._context.viewLayout.addWhitespace(t.afterViewLineNumber,this._getZoneOrdinal(e),t.heightInPx,t.minWidthInPx),i={whitespaceId:o,delegate:e,isVisible:!1,domNode:n.createFastDomNode(e.domNode),marginDomNode:e.marginDomNode?n.createFastDomNode(e.marginDomNode):null};return this._safeCallOnComputedHeight(i.delegate,t.heightInPx),i.domNode.setPosition("absolute"),i.domNode.domNode.style.width="100%",i.domNode.setDisplay("none"),i.domNode.setAttribute("monaco-view-zone",i.whitespaceId.toString()),this.domNode.appendChild(i.domNode),i.marginDomNode&&(i.marginDomNode.setPosition("absolute"),i.marginDomNode.domNode.style.width="100%",i.marginDomNode.setDisplay("none"),i.marginDomNode.setAttribute("monaco-view-zone",i.whitespaceId.toString()),this.marginDomNode.appendChild(i.marginDomNode)),this._zones[i.whitespaceId.toString()]=i,this.setShouldRender(),i.whitespaceId},t.prototype.removeZone=function(e){if(this._zones.hasOwnProperty(e.toString())){var t=this._zones[e.toString()];return delete this._zones[e.toString()],this._context.viewLayout.removeWhitespace(t.whitespaceId),t.domNode.removeAttribute("monaco-visible-view-zone"),t.domNode.removeAttribute("monaco-view-zone"),t.domNode.domNode.parentNode.removeChild(t.domNode.domNode),t.marginDomNode&&(t.marginDomNode.removeAttribute("monaco-visible-view-zone"),t.marginDomNode.removeAttribute("monaco-view-zone"),t.marginDomNode.domNode.parentNode.removeChild(t.marginDomNode.domNode)),this.setShouldRender(),!0}return!1},t.prototype.layoutZone=function(e){var t=!1;if(this._zones.hasOwnProperty(e.toString())){var o=this._zones[e.toString()],n=this._computeWhitespaceProps(o.delegate);t=this._context.viewLayout.changeWhitespace(o.whitespaceId,n.afterViewLineNumber,n.heightInPx)||t,t&&(this._safeCallOnComputedHeight(o.delegate,n.heightInPx),this.setShouldRender())}return t},t.prototype.shouldSuppressMouseDownOnViewZone=function(e){if(this._zones.hasOwnProperty(e.toString())){var t=this._zones[e.toString()];return Boolean(t.delegate.suppressMouseDown)}return!1},t.prototype._heightInPixels=function(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight},t.prototype._minWidthInPixels=function(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0},t.prototype._safeCallOnComputedHeight=function(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(o){i.onUnexpectedError(o)}},t.prototype._safeCallOnDomNodeTop=function(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(o){i.onUnexpectedError(o)}},t.prototype.prepareRender=function(){},t.prototype.render=function(e){for(var t=e.viewportData.whitespaceViewportData,o={},n=!1,i=0,r=t.length;r>i;i++)o[t[i].id.toString()]=t[i],n=!0;for(var s=Object.keys(this._zones),i=0,r=s.length;r>i;i++){var d=s[i],a=this._zones[d],m=0,h=0,u="none";o.hasOwnProperty(d)?(m=o[d].verticalOffset-e.bigNumbersDelta,h=o[d].height,u="block",a.isVisible||(a.domNode.setAttribute("monaco-visible-view-zone","true"),a.isVisible=!0),this._safeCallOnDomNodeTop(a.delegate,e.getScrolledTopFromAbsoluteTop(o[d].verticalOffset))):(a.isVisible&&(a.domNode.removeAttribute("monaco-visible-view-zone"),a.isVisible=!1),this._safeCallOnDomNodeTop(a.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),a.domNode.setTop(m),a.domNode.setHeight(h),a.domNode.setDisplay(u),a.marginDomNode&&(a.marginDomNode.setTop(m),a.marginDomNode.setHeight(h),a.marginDomNode.setDisplay(u))}n&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))},t}(r.ViewPart);t.ViewZones=d});
;/*!node_modules/monaco-editor/esm/vs/editor/common/view/viewContext.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/view/viewContext",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,n,i){this.configuration=e,this.theme=t,this.model=n,this.viewLayout=n.viewLayout,this.privateViewEventBus=i}return e.prototype.addEventHandler=function(e){this.privateViewEventBus.addEventHandler(e)},e.prototype.removeEventHandler=function(e){this.privateViewEventBus.removeEventHandler(e)},e}();t.ViewContext=n});
;/*!node_modules/monaco-editor/esm/vs/editor/common/view/viewEventDispatcher.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/view/viewEventDispatcher",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._eventHandlerGateKeeper=e,this._eventHandlers=[],this._eventQueue=null,this._isConsumingQueue=!1}return e.prototype.addEventHandler=function(e){for(var t=0,n=this._eventHandlers.length;n>t;t++)this._eventHandlers[t]===e&&console.warn("Detected duplicate listener in ViewEventDispatcher",e);this._eventHandlers.push(e)},e.prototype.removeEventHandler=function(e){for(var t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}},e.prototype.emit=function(e){this._eventQueue?this._eventQueue.push(e):this._eventQueue=[e],this._isConsumingQueue||this.consumeQueue()},e.prototype.emitMany=function(e){this._eventQueue=this._eventQueue?this._eventQueue.concat(e):e,this._isConsumingQueue||this.consumeQueue()},e.prototype.consumeQueue=function(){var e=this;this._eventHandlerGateKeeper(function(){try{e._isConsumingQueue=!0,e._doConsumeQueue()}finally{e._isConsumingQueue=!1}})},e.prototype._doConsumeQueue=function(){for(;this._eventQueue;){var e=this._eventQueue;this._eventQueue=null;for(var t=this._eventHandlers.slice(0),n=0,u=t.length;u>n;n++)t[n].handleEvents(e)}},e}();t.ViewEventDispatcher=n});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLinesViewportData.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLinesViewportData",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),n=function(){function e(e,t,n,o){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.whitespaceViewportData=n,this._model=o,this.visibleRange=new i.Range(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}return e.prototype.getViewLineRenderingData=function(e){return this._model.getViewLineRenderingData(this.visibleRange,e)},e.prototype.getDecorationsInViewport=function(){return this._model.getDecorationsInViewport(this.visibleRange)},e}();t.ViewportData=n});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/view/viewImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/view/viewImpl",function(e,t){"use strict";function o(e){try{return e()}catch(t){a.onUnexpectedError(t)}}function i(e,t){try{return e(t)}catch(o){a.onUnexpectedError(o)}}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),s=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),d=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),a=e("node_modules/monaco-editor/esm/vs/base/common/errors"),l=e("node_modules/monaco-editor/esm/vs/editor/browser/controller/pointerHandler"),c=e("node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaHandler"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewController"),h=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewOverlays"),v=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewPart"),m=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets"),w=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight"),p=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/currentLineMarginHighlight/currentLineMarginHighlight"),g=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/decorations/decorations"),_=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar"),f=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin"),y=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/indentGuides/indentGuides"),C=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers"),P=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/lines/viewLines"),N=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations"),x=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/margin/margin"),D=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/marginDecorations/marginDecorations"),b=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/minimap/minimap"),L=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets"),R=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler"),O=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/overviewRuler/overviewRuler"),W=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/rulers/rulers"),A=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration"),H=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/selections/selections"),V=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewCursors/viewCursors"),E=e("node_modules/monaco-editor/esm/vs/editor/browser/viewParts/viewZones/viewZones"),F=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),M=e("node_modules/monaco-editor/esm/vs/editor/common/view/renderingContext"),S=e("node_modules/monaco-editor/esm/vs/editor/common/view/viewContext"),Z=e("node_modules/monaco-editor/esm/vs/editor/common/view/viewEventDispatcher"),T=n.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/view/viewEvents")),G=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLinesViewportData"),I=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewEventHandler"),B=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),j=function(){throw new Error("Invalid change accessor")},k=function(e){function t(t,o,i,n,r,s){var d=e.call(this)||this;d._cursor=r,d._renderAnimationFrame=null,d.outgoingEvents=s;var a=new u.ViewController(o,n,d.outgoingEvents,t);return d.eventDispatcher=new Z.ViewEventDispatcher(function(e){return d._renderOnce(e)}),d.eventDispatcher.addEventHandler(d),d._context=new S.ViewContext(o,i.getTheme(),n,d.eventDispatcher),d._register(i.onThemeChange(function(e){d._context.theme=e,d.eventDispatcher.emit(new T.ViewThemeChangedEvent),d.render(!0,!1)})),d.viewParts=[],d._textAreaHandler=new c.TextAreaHandler(d._context,a,d.createTextAreaHandlerHelper()),d.viewParts.push(d._textAreaHandler),d.createViewParts(),d._setLayout(),d.pointerHandler=new l.PointerHandler(d._context,a,d.createPointerHandlerHelper()),d._register(n.addEventListener(function(e){d.eventDispatcher.emitMany(e)})),d._register(d._cursor.addEventListener(function(e){d.eventDispatcher.emitMany(e)})),d}return r(t,e),t.prototype.createViewParts=function(){this.linesContent=d.createFastDomNode(document.createElement("div")),this.linesContent.setClassName("lines-content monaco-editor-background"),this.linesContent.setPosition("absolute"),this.domNode=d.createFastDomNode(document.createElement("div")),this.domNode.setClassName(this.getEditorClassName()),this.overflowGuardContainer=d.createFastDomNode(document.createElement("div")),v.PartFingerprints.write(this.overflowGuardContainer,3),this.overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new _.EditorScrollbar(this._context,this.linesContent,this.domNode,this.overflowGuardContainer),this.viewParts.push(this._scrollbar),this.viewLines=new P.ViewLines(this._context,this.linesContent),this.viewZones=new E.ViewZones(this._context),this.viewParts.push(this.viewZones);var e=new R.DecorationsOverviewRuler(this._context);this.viewParts.push(e);var t=new A.ScrollDecorationViewPart(this._context);this.viewParts.push(t);var o=new h.ContentViewOverlays(this._context);this.viewParts.push(o),o.addDynamicOverlay(new w.CurrentLineHighlightOverlay(this._context)),o.addDynamicOverlay(new H.SelectionsOverlay(this._context)),o.addDynamicOverlay(new y.IndentGuidesOverlay(this._context)),o.addDynamicOverlay(new g.DecorationsOverlay(this._context));var i=new h.MarginViewOverlays(this._context);this.viewParts.push(i),i.addDynamicOverlay(new p.CurrentLineMarginHighlightOverlay(this._context)),i.addDynamicOverlay(new f.GlyphMarginOverlay(this._context)),i.addDynamicOverlay(new D.MarginViewLineDecorationsOverlay(this._context)),i.addDynamicOverlay(new N.LinesDecorationsOverlay(this._context)),i.addDynamicOverlay(new C.LineNumbersOverlay(this._context));var n=new x.Margin(this._context);n.getDomNode().appendChild(this.viewZones.marginDomNode),n.getDomNode().appendChild(i.getDomNode()),this.viewParts.push(n),this.contentWidgets=new m.ViewContentWidgets(this._context,this.domNode),this.viewParts.push(this.contentWidgets),this.viewCursors=new V.ViewCursors(this._context),this.viewParts.push(this.viewCursors),this.overlayWidgets=new L.ViewOverlayWidgets(this._context),this.viewParts.push(this.overlayWidgets);var r=new W.Rulers(this._context);this.viewParts.push(r);var s=new b.Minimap(this._context);if(this.viewParts.push(s),e){var a=this._scrollbar.getOverviewRulerLayoutInfo();a.parent.insertBefore(e.getDomNode(),a.insertBefore)}this.linesContent.appendChild(o.getDomNode()),this.linesContent.appendChild(r.domNode),this.linesContent.appendChild(this.viewZones.domNode),this.linesContent.appendChild(this.viewLines.getDomNode()),this.linesContent.appendChild(this.contentWidgets.domNode),this.linesContent.appendChild(this.viewCursors.getDomNode()),this.overflowGuardContainer.appendChild(n.getDomNode()),this.overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this.overflowGuardContainer.appendChild(t.getDomNode()),this.overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this.overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this.overflowGuardContainer.appendChild(this.overlayWidgets.getDomNode()),this.overflowGuardContainer.appendChild(s.getDomNode()),this.domNode.appendChild(this.overflowGuardContainer),this.domNode.appendChild(this.contentWidgets.overflowingContentWidgetsDomNode)},t.prototype._flushAccumulatedAndRenderNow=function(){this._renderNow()},t.prototype.createPointerHandlerHelper=function(){var e=this;return{viewDomNode:this.domNode.domNode,linesContentDomNode:this.linesContent.domNode,focusTextArea:function(){e.focus()},getLastViewCursorsRenderData:function(){return e.viewCursors.getLastRenderData()||[]},shouldSuppressMouseDownOnViewZone:function(t){return e.viewZones.shouldSuppressMouseDownOnViewZone(t)},shouldSuppressMouseDownOnWidget:function(t){return e.contentWidgets.shouldSuppressMouseDownOnWidget(t)},getPositionFromDOMInfo:function(t,o){return e._flushAccumulatedAndRenderNow(),e.viewLines.getPositionFromDOMInfo(t,o)},visibleRangeForPosition2:function(t,o){return e._flushAccumulatedAndRenderNow(),e.viewLines.visibleRangeForPosition(new F.Position(t,o))},getLineWidth:function(t){return e._flushAccumulatedAndRenderNow(),e.viewLines.getLineWidth(t)}}},t.prototype.createTextAreaHandlerHelper=function(){var e=this;return{visibleRangeForPositionRelativeToEditor:function(t,o){return e._flushAccumulatedAndRenderNow(),e.viewLines.visibleRangeForPosition(new F.Position(t,o))}}},t.prototype._setLayout=function(){var e=this._context.configuration.editor.layoutInfo;this.domNode.setWidth(e.width),this.domNode.setHeight(e.height),this.overflowGuardContainer.setWidth(e.width),this.overflowGuardContainer.setHeight(e.height),this.linesContent.setWidth(1e6),this.linesContent.setHeight(1e6)},t.prototype.getEditorClassName=function(){var e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.editor.editorClassName+" "+B.getThemeTypeSelector(this._context.theme.type)+e},t.prototype.onConfigurationChanged=function(e){return e.editorClassName&&this.domNode.setClassName(this.getEditorClassName()),e.layoutInfo&&this._setLayout(),!1},t.prototype.onFocusChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),this._context.model.setHasFocus(e.isFocused),e.isFocused?this.outgoingEvents.emitViewFocusGained():this.outgoingEvents.emitViewFocusLost(),!1},t.prototype.onScrollChanged=function(e){return this.outgoingEvents.emitScrollChanged(e),!1},t.prototype.onThemeChanged=function(){return this.domNode.setClassName(this.getEditorClassName()),!1},t.prototype.dispose=function(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this.eventDispatcher.removeEventHandler(this),this.outgoingEvents.dispose(),this.pointerHandler.dispose(),this.viewLines.dispose();for(var t=0,o=this.viewParts.length;o>t;t++)this.viewParts[t].dispose();this.viewParts=[],e.prototype.dispose.call(this)},t.prototype._renderOnce=function(e){var t=o(e);return this._scheduleRender(),t},t.prototype._scheduleRender=function(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=s.runAtThisOrScheduleAtNextAnimationFrame(this._onRenderScheduled.bind(this),100))},t.prototype._onRenderScheduled=function(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()},t.prototype._renderNow=function(){var e=this;o(function(){return e._actualRender()})},t.prototype._getViewPartsToRender=function(){for(var e=[],t=0,o=0,i=this.viewParts.length;i>o;o++){var n=this.viewParts[o];n.shouldRender()&&(e[t++]=n)}return e},t.prototype._actualRender=function(){if(s.isInDOM(this.domNode.domNode)){var e=this._getViewPartsToRender();if(this.viewLines.shouldRender()||0!==e.length){var t=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);var o=new G.ViewportData(this._cursor.getViewSelections(),t,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this.contentWidgets.shouldRender()&&this.contentWidgets.onBeforeRender(o),this.viewLines.shouldRender()&&(this.viewLines.renderText(o),this.viewLines.onDidRender(),e=this._getViewPartsToRender());for(var i=new M.RenderingContext(this._context.viewLayout,o,this.viewLines),n=0,r=e.length;r>n;n++){var d=e[n];d.prepareRender(i)}for(var n=0,r=e.length;r>n;n++){var d=e[n];d.render(i),d.onDidRender()}}}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.restoreState=function(e){this._context.viewLayout.setScrollPositionNow({scrollTop:e.scrollTop}),this._context.model.tokenizeViewport(),this._renderNow(),this.viewLines.updateLineWidths(),this._context.viewLayout.setScrollPositionNow({scrollLeft:e.scrollLeft})},t.prototype.getOffsetForColumn=function(e,t){var o=this._context.model.validateModelPosition({lineNumber:e,column:t}),i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(o);this._flushAccumulatedAndRenderNow();var n=this.viewLines.visibleRangeForPosition(new F.Position(i.lineNumber,i.column));return n?n.left:-1},t.prototype.getTargetAtClientPoint=function(e,t){return this.pointerHandler.getTargetAtClientPoint(e,t)},t.prototype.createOverviewRuler=function(e){return new O.OverviewRuler(this._context,e)},t.prototype.change=function(e){var t=this,o=!1;return this._renderOnce(function(){var n={addZone:function(e){return o=!0,t.viewZones.addZone(e)},removeZone:function(e){e&&(o=t.viewZones.removeZone(e)||o)},layoutZone:function(e){e&&(o=t.viewZones.layoutZone(e)||o)}};i(e,n),n.addZone=j,n.removeZone=j,n.layoutZone=j,o&&(t._context.viewLayout.onHeightMaybeChanged(),t._context.privateViewEventBus.emit(new T.ViewZonesChangedEvent))}),o},t.prototype.render=function(e,t){if(t){this.viewLines.forceShouldRender();for(var o=0,i=this.viewParts.length;i>o;o++){var n=this.viewParts[o];n.forceShouldRender()}}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()},t.prototype.focus=function(){this._textAreaHandler.focusTextArea()},t.prototype.isFocused=function(){return this._textAreaHandler.isFocused()},t.prototype.addContentWidget=function(e){this.contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()},t.prototype.layoutContentWidget=function(e){var t=e.position?e.position.position:null,o=e.position?e.position.range:null,i=e.position?e.position.preference:null;this.contentWidgets.setWidgetPosition(e.widget,t,o,i),this._scheduleRender()},t.prototype.removeContentWidget=function(e){this.contentWidgets.removeWidget(e.widget),this._scheduleRender()},t.prototype.addOverlayWidget=function(e){this.overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()},t.prototype.layoutOverlayWidget=function(e){var t=e.position?e.position.preference:null,o=this.overlayWidgets.setWidgetPosition(e.widget,t);o&&this._scheduleRender()},t.prototype.removeOverlayWidget=function(e){this.overlayWidgets.removeWidget(e.widget),this._scheduleRender()},t}(I.ViewEventHandler);t.View=k});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/view/viewOutgoingEvents.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/view/viewOutgoingEvents",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),n=o("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),i=o("node_modules/monaco-editor/esm/vs/editor/browser/controller/mouseTarget"),s=function(o){function e(e){var t=o.call(this)||this;return t.onDidScroll=null,t.onDidGainFocus=null,t.onDidLoseFocus=null,t.onKeyDown=null,t.onKeyUp=null,t.onContextMenu=null,t.onMouseMove=null,t.onMouseLeave=null,t.onMouseUp=null,t.onMouseDown=null,t.onMouseDrag=null,t.onMouseDrop=null,t.onMouseWheel=null,t._viewModel=e,t}return t(e,o),e.prototype.emitScrollChanged=function(o){this.onDidScroll&&this.onDidScroll(o)},e.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},e.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},e.prototype.emitKeyDown=function(o){this.onKeyDown&&this.onKeyDown(o)},e.prototype.emitKeyUp=function(o){this.onKeyUp&&this.onKeyUp(o)},e.prototype.emitContextMenu=function(o){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(o))},e.prototype.emitMouseMove=function(o){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(o))},e.prototype.emitMouseLeave=function(o){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(o))},e.prototype.emitMouseUp=function(o){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(o))},e.prototype.emitMouseDown=function(o){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(o))},e.prototype.emitMouseDrag=function(o){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(o))},e.prototype.emitMouseDrop=function(o){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(o))},e.prototype.emitMouseWheel=function(o){this.onMouseWheel&&this.onMouseWheel(o)},e.prototype._convertViewToModelMouseEvent=function(o){return o.target?{event:o.event,target:this._convertViewToModelMouseTarget(o.target)}:o},e.prototype._convertViewToModelMouseTarget=function(o){return new u(o.element,o.type,o.mouseColumn,o.position?this._convertViewToModelPosition(o.position):null,o.range?this._convertViewToModelRange(o.range):null,o.detail)},e.prototype._convertViewToModelPosition=function(o){return this._viewModel.coordinatesConverter.convertViewPositionToModelPosition(o)},e.prototype._convertViewToModelRange=function(o){return this._viewModel.coordinatesConverter.convertViewRangeToModelRange(o)},e}(n.Disposable);e.ViewOutgoingEvents=s;var u=function(){function o(o,e,t,n,i,s){this.element=o,this.type=e,this.mouseColumn=t,this.position=n,this.range=i,this.detail=s}return o.prototype.toString=function(){return i.MouseTarget.toString(this)},o}()});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/oneCursor.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/oneCursor",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),n=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),s=function(){function e(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new o.SingleCursorState(new i.Range(1,1,1,1),0,new n.Position(1,1),0),new o.SingleCursorState(new i.Range(1,1,1,1),0,new n.Position(1,1),0))}return e.prototype.dispose=function(e){this._removeTrackedRange(e)},e.prototype.startTrackingSelection=function(e){this._trackSelection=!0,this._updateTrackedRange(e)},e.prototype.stopTrackingSelection=function(e){this._trackSelection=!1,this._removeTrackedRange(e)},e.prototype._updateTrackedRange=function(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))},e.prototype._removeTrackedRange=function(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)},e.prototype.asCursorState=function(){return new o.CursorState(this.modelState,this.viewState)},e.prototype.readSelectionFromMarkers=function(e){var t=e.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new r.Selection(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new r.Selection(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)},e.prototype.ensureValidState=function(e){this._setState(e,this.modelState,this.viewState)},e.prototype.setState=function(e,t,o){this._setState(e,t,o)},e.prototype._setState=function(e,t,r){if(t){var s=e.model.validateRange(t.selectionStart),a=t.selectionStart.equalsRange(s)?t.selectionStartLeftoverVisibleColumns:0,l=e.model.validatePosition(t.position),c=t.position.equals(l)?t.leftoverVisibleColumns:0;t=new o.SingleCursorState(s,a,l,c)}else{if(!r)return;var s=e.model.validateRange(e.convertViewRangeToModelRange(r.selectionStart)),l=e.model.validatePosition(e.convertViewPositionToModelPosition(r.position.lineNumber,r.position.column));t=new o.SingleCursorState(s,r.selectionStartLeftoverVisibleColumns,l,r.leftoverVisibleColumns)}if(r){var d=e.validateViewRange(r.selectionStart,t.selectionStart),u=e.validateViewPosition(r.position,t.position);r=new o.SingleCursorState(d,t.selectionStartLeftoverVisibleColumns,u,t.leftoverVisibleColumns)}else{var m=e.convertModelPositionToViewPosition(new n.Position(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),S=e.convertModelPositionToViewPosition(new n.Position(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),d=new i.Range(m.lineNumber,m.column,S.lineNumber,S.column),u=e.convertModelPositionToViewPosition(t.position);r=new o.SingleCursorState(d,t.selectionStartLeftoverVisibleColumns,u,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=r,this._updateTrackedRange(e)},e}();t.OneCursor=s});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCollection.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCollection",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),o=t("node_modules/monaco-editor/esm/vs/editor/common/controller/oneCursor"),s=t("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),n=function(){function t(t){this.context=t,this.primaryCursor=new o.OneCursor(t),this.secondaryCursors=[],this.lastAddedCursorIndex=0}return t.prototype.dispose=function(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()},t.prototype.startTrackingSelections=function(){this.primaryCursor.startTrackingSelection(this.context);for(var t=0,e=this.secondaryCursors.length;e>t;t++)this.secondaryCursors[t].startTrackingSelection(this.context)},t.prototype.stopTrackingSelections=function(){this.primaryCursor.stopTrackingSelection(this.context);for(var t=0,e=this.secondaryCursors.length;e>t;t++)this.secondaryCursors[t].stopTrackingSelection(this.context)},t.prototype.updateContext=function(t){this.context=t},t.prototype.ensureValidState=function(){this.primaryCursor.ensureValidState(this.context);for(var t=0,e=this.secondaryCursors.length;e>t;t++)this.secondaryCursors[t].ensureValidState(this.context)},t.prototype.readSelectionFromMarkers=function(){var t=[];t[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(var e=0,r=this.secondaryCursors.length;r>e;e++)t[e+1]=this.secondaryCursors[e].readSelectionFromMarkers(this.context);return t},t.prototype.getAll=function(){var t=[];t[0]=this.primaryCursor.asCursorState();for(var e=0,r=this.secondaryCursors.length;r>e;e++)t[e+1]=this.secondaryCursors[e].asCursorState();return t},t.prototype.getViewPositions=function(){var t=[];t[0]=this.primaryCursor.viewState.position;for(var e=0,r=this.secondaryCursors.length;r>e;e++)t[e+1]=this.secondaryCursors[e].viewState.position;return t},t.prototype.getSelections=function(){var t=[];t[0]=this.primaryCursor.modelState.selection;for(var e=0,r=this.secondaryCursors.length;r>e;e++)t[e+1]=this.secondaryCursors[e].modelState.selection;return t},t.prototype.getViewSelections=function(){var t=[];t[0]=this.primaryCursor.viewState.selection;for(var e=0,r=this.secondaryCursors.length;r>e;e++)t[e+1]=this.secondaryCursors[e].viewState.selection;return t},t.prototype.setSelections=function(t){this.setStates(r.CursorState.fromModelSelections(t))},t.prototype.getPrimaryCursor=function(){return this.primaryCursor.asCursorState()},t.prototype.setStates=function(t){null!==t&&(this.primaryCursor.setState(this.context,t[0].modelState,t[0].viewState),this._setSecondaryStates(t.slice(1)))},t.prototype._setSecondaryStates=function(t){var e=this.secondaryCursors.length,r=t.length;if(r>e)for(var o=r-e,s=0;o>s;s++)this._addSecondaryCursor();else if(e>r)for(var n=e-r,s=0;n>s;s++)this._removeSecondaryCursor(this.secondaryCursors.length-1);for(var s=0;r>s;s++)this.secondaryCursors[s].setState(this.context,t[s].modelState,t[s].viewState)},t.prototype.killSecondaryCursors=function(){this._setSecondaryStates([])},t.prototype._addSecondaryCursor=function(){this.secondaryCursors.push(new o.OneCursor(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length},t.prototype.getLastAddedCursorIndex=function(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex},t.prototype._removeSecondaryCursor=function(t){this.lastAddedCursorIndex>=t+1&&this.lastAddedCursorIndex--,this.secondaryCursors[t].dispose(this.context),this.secondaryCursors.splice(t,1)},t.prototype._getAll=function(){var t=[];t[0]=this.primaryCursor;for(var e=0,r=this.secondaryCursors.length;r>e;e++)t[e+1]=this.secondaryCursors[e];return t},t.prototype.normalize=function(){if(0!==this.secondaryCursors.length){for(var t=this._getAll(),e=[],o=0,n=t.length;n>o;o++)e.push({index:o,selection:t[o].modelState.selection});e.sort(function(t,e){return t.selection.startLineNumber===e.selection.startLineNumber?t.selection.startColumn-e.selection.startColumn:t.selection.startLineNumber-e.selection.startLineNumber});for(var i=0;i<e.length-1;i++){var a=e[i],c=e[i+1],u=a.selection,d=c.selection;if(this.context.config.multiCursorMergeOverlapping){var l=void 0;if(l=d.isEmpty()||u.isEmpty()?d.getStartPosition().isBeforeOrEqual(u.getEndPosition()):d.getStartPosition().isBefore(u.getEndPosition())){var h=a.index<c.index?i:i+1,C=a.index<c.index?i+1:i,m=e[C].index,y=e[h].index,p=e[C].selection,S=e[h].selection;if(!p.equalsSelection(S)){var f=p.plusRange(S),v=p.selectionStartLineNumber===p.startLineNumber&&p.selectionStartColumn===p.startColumn,g=S.selectionStartLineNumber===S.startLineNumber&&S.selectionStartColumn===S.startColumn,x=void 0;m===this.lastAddedCursorIndex?(x=v,this.lastAddedCursorIndex=y):x=g;var _=void 0;_=x?new s.Selection(f.startLineNumber,f.startColumn,f.endLineNumber,f.endColumn):new s.Selection(f.endLineNumber,f.endColumn,f.startLineNumber,f.startColumn),e[h].selection=_;var b=r.CursorState.fromModelSelection(_);t[y].setState(this.context,b.modelState,b.viewState)}for(var w=0,L=e;w<L.length;w++){var A=L[w];A.index>m&&A.index--}t.splice(m,1),e.splice(C,1),this._removeSecondaryCursor(m-1),i--}}}}},t}();e.CursorCollection=n});
;/*!node_modules/monaco-editor/esm/vs/editor/common/controller/cursor.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/controller/cursor",function(e,t){"use strict";function o(e){for(var t=0,o=e.length;o>t;t++)if(6===e[t].type)return!0;return!1}Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),s=e("node_modules/monaco-editor/esm/vs/base/common/event"),a=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),c=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCollection"),u=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),l=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorDeleteOperations"),d=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorTypeOperations"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),h=r.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/editorCommon")),_=r.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/view/viewEvents")),f=function(){function e(e,t,o){this.selections=e,this.source=t,this.reason=o}return e}();t.CursorStateChangedEvent=f;var g=function(){function e(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getAll()}return e.prototype.equals=function(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(var t=0,o=this.cursorState.length;o>t;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0},e}();t.CursorModelState=g;var v=function(e){function t(t,r,n){var i=e.call(this)||this;i._onDidReachMaxCursorCount=i._register(new s.Emitter),i.onDidReachMaxCursorCount=i._onDidReachMaxCursorCount.event,i._onDidAttemptReadOnlyEdit=i._register(new s.Emitter),i.onDidAttemptReadOnlyEdit=i._onDidAttemptReadOnlyEdit.event,i._onDidChange=i._register(new s.Emitter),i.onDidChange=i._onDidChange.event,i._configuration=t,i._model=r,i._knownModelVersionId=i._model.getVersionId(),i._viewModel=n,i.context=new u.CursorContext(i._configuration,i._model,i._viewModel),i._cursors=new c.CursorCollection(i.context),i._isHandling=!1,i._isDoingComposition=!1,i._columnSelectData=null,i._prevEditOperationType=0,i._register(i._model.onDidChangeRawContent(function(e){if(i._knownModelVersionId=e.versionId,!i._isHandling){var t=e.containsEvent(1);i._onModelContentChanged(t)}})),i._register(n.addEventListener(function(e){o(e)&&i._knownModelVersionId===i._model.getVersionId()&&i.setStates("viewModel",0,i.getAll())}));var a=function(){i.context=new u.CursorContext(i._configuration,i._model,i._viewModel),i._cursors.updateContext(i.context)};return i._register(i._model.onDidChangeLanguage(function(){a()})),i._register(i._model.onDidChangeLanguageConfiguration(function(){a()})),i._register(i._model.onDidChangeOptions(function(){a()})),i._register(i._configuration.onDidChange(function(e){u.CursorConfiguration.shouldRecreate(e)&&a()})),i}return n(t,e),t.prototype.dispose=function(){this._cursors.dispose(),e.prototype.dispose.call(this)},t.prototype.getPrimaryCursor=function(){return this._cursors.getPrimaryCursor()},t.prototype.getLastAddedCursorIndex=function(){return this._cursors.getLastAddedCursorIndex()},t.prototype.getAll=function(){return this._cursors.getAll()},t.prototype.setStates=function(e,o,r){null!==r&&r.length>t.MAX_CURSOR_COUNT&&(r=r.slice(0,t.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var n=new g(this._model,this);this._cursors.setStates(r),this._cursors.normalize(),this._columnSelectData=null,this._emitStateChangedIfNecessary(e,o,n)},t.prototype.setColumnSelectData=function(e){this._columnSelectData=e},t.prototype.reveal=function(e,t,o){this._revealRange(t,0,e,o)},t.prototype.revealRange=function(e,t,o,r){this.emitCursorRevealRange(t,o,e,r)},t.prototype.scrollTo=function(e){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:e})},t.prototype.saveState=function(){for(var e=[],t=this._cursors.getSelections(),o=0,r=t.length;r>o;o++){var n=t[o];e.push({inSelectionMode:!n.isEmpty(),selectionStart:{lineNumber:n.selectionStartLineNumber,column:n.selectionStartColumn},position:{lineNumber:n.positionLineNumber,column:n.positionColumn}})}return e},t.prototype.restoreState=function(e){for(var t=[],o=0,r=e.length;r>o;o++){var n=e[o],i=1,s=1;n.position&&n.position.lineNumber&&(i=n.position.lineNumber),n.position&&n.position.column&&(s=n.position.column);var a=i,c=s;n.selectionStart&&n.selectionStart.lineNumber&&(a=n.selectionStart.lineNumber),n.selectionStart&&n.selectionStart.column&&(c=n.selectionStart.column),t.push({selectionStartLineNumber:a,selectionStartColumn:c,positionLineNumber:i,positionColumn:s})}this.setStates("restoreState",0,u.CursorState.fromModelSelections(t)),this.reveal(!0,0,1)},t.prototype._onModelContentChanged=function(e){if(this._prevEditOperationType=0,e)this._cursors.dispose(),this._cursors=new c.CursorCollection(this.context),this._emitStateChangedIfNecessary("model",1,null);else{var t=this._cursors.readSelectionFromMarkers();this.setStates("modelChange",2,u.CursorState.fromModelSelections(t))}},t.prototype.getSelection=function(){return this._cursors.getPrimaryCursor().modelState.selection},t.prototype.getColumnSelectData=function(){if(this._columnSelectData)return this._columnSelectData;var e=this._cursors.getPrimaryCursor(),t=e.viewState.position;return{toViewLineNumber:t.lineNumber,toViewVisualColumn:u.CursorColumns.visibleColumnFromColumn2(this.context.config,this.context.viewModel,t)}},t.prototype.getSelections=function(){return this._cursors.getSelections()},t.prototype.getViewSelections=function(){return this._cursors.getViewSelections()},t.prototype.getPosition=function(){return this._cursors.getPrimaryCursor().modelState.position},t.prototype.setSelections=function(e,t){this.setStates(e,0,u.CursorState.fromModelSelections(t))},t.prototype.getPrevEditOperationType=function(){return this._prevEditOperationType},t.prototype.setPrevEditOperationType=function(e){this._prevEditOperationType=e},t.prototype._executeEditOperation=function(e){if(e){e.shouldPushStackElementBefore&&this._model.pushStackElement();var t=C.executeCommands(this._model,this._cursors.getSelections(),e.commands);t&&(this._interpretCommandResult(t),this._prevEditOperationType=e.type),e.shouldPushStackElementAfter&&this._model.pushStackElement()}},t.prototype._interpretCommandResult=function(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()},t.prototype._emitStateChangedIfNecessary=function(e,t,o){var r=new g(this._model,this);if(r.equals(o))return!1;var n=this._cursors.getSelections(),i=this._cursors.getViewSelections();try{var s=this._beginEmit();s.emit(new _.ViewCursorStateChangedEvent(i))}finally{this._endEmit()}return(!o||o.cursorState.length!==r.cursorState.length||r.cursorState.some(function(e,t){return!e.modelState.equals(o.cursorState[t].modelState)}))&&this._onDidChange.fire(new f(n,e||"keyboard",t)),!0},t.prototype._revealRange=function(e,t,o,r){var n=this._cursors.getViewPositions(),i=n[0];if(1===e)for(var s=1;s<n.length;s++)n[s].isBefore(i)&&(i=n[s]);else if(2===e)for(var s=1;s<n.length;s++)i.isBeforeOrEqual(n[s])&&(i=n[s]);else if(n.length>1)return;var a=new m.Range(i.lineNumber,i.column,i.lineNumber,i.column);this.emitCursorRevealRange(a,t,o,r)},t.prototype.emitCursorRevealRange=function(e,t,o,r){try{var n=this._beginEmit();n.emit(new _.ViewRevealRangeRequestEvent(e,t,o,r))}finally{this._endEmit()}},t.prototype.trigger=function(e,t,o){var r=h.Handler;if(t===r.CompositionStart)return void(this._isDoingComposition=!0);if(t===r.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.editor.readOnly)return void this._onDidAttemptReadOnlyEdit.fire(void 0);var n=new g(this._model,this),s=0;t!==r.Undo&&t!==r.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(t){case r.Type:this._type(e,o.text);break;case r.ReplacePreviousChar:this._replacePreviousChar(o.text,o.replaceCharCnt);break;case r.Paste:s=4,this._paste(o.text,o.pasteOnNewLine,o.multicursorText);break;case r.Cut:this._cut();break;case r.Undo:s=5,this._interpretCommandResult(this._model.undo());break;case r.Redo:s=6,this._interpretCommandResult(this._model.redo());break;case r.ExecuteCommand:this._externalExecuteCommand(o);break;case r.ExecuteCommands:this._externalExecuteCommands(o);break;case r.CompositionEnd:this._interpretCompositionEnd(e)}}catch(a){i.onUnexpectedError(a)}this._isHandling=!1,t!==r.Undo&&t!==r.Redo&&this._cursors.startTrackingSelections(),this._emitStateChangedIfNecessary(e,s,n)&&this._revealRange(0,0,!0,0)},t.prototype._interpretCompositionEnd=function(e){this._isDoingComposition||"keyboard"!==e||this._executeEditOperation(d.TypeOperations.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections()))},t.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(d.TypeOperations.typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else for(var o=0,r=t.length;r>o;o++){var n=t.charCodeAt(o),i=void 0;a.isHighSurrogate(n)&&r>o+1?(i=t.charAt(o)+t.charAt(o+1),o++):i=t.charAt(o),this._executeEditOperation(d.TypeOperations.typeWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),i))}},t.prototype._replacePreviousChar=function(e,t){this._executeEditOperation(d.TypeOperations.replacePreviousChar(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),e,t))},t.prototype._paste=function(e,t,o){this._executeEditOperation(d.TypeOperations.paste(this.context.config,this.context.model,this.getSelections(),e,t,o))},t.prototype._cut=function(){this._executeEditOperation(l.DeleteOperations.cut(this.context.config,this.context.model,this.getSelections()))},t.prototype._externalExecuteCommand=function(e){this._cursors.killSecondaryCursors(),this._executeEditOperation(new u.EditOperationResult(0,[e],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},t.prototype._externalExecuteCommands=function(e){this._executeEditOperation(new u.EditOperationResult(0,e,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},t.MAX_CURSOR_COUNT=1e4,t}(_.ViewEventEmitter);t.Cursor=v;var C=function(){function e(){}return e.executeCommands=function(e,t,o){for(var r={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},n=this._innerExecuteCommands(r,o),i=0,s=r.trackedRanges.length;s>i;i++)r.model._setTrackedRange(r.trackedRanges[i],null,0);return n},e._innerExecuteCommands=function(e,t){if(this._arrayIsEmpty(t))return null;var o=this._getEditOperations(e,t);if(0===o.operations.length)return null;var r=o.operations,n=this._getLoserCursorMap(r);if(n.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;for(var i=[],s=0,a=r.length;a>s;s++)n.hasOwnProperty(r[s].identifier.major.toString())||i.push(r[s]);o.hadTrackedEditOperation&&i.length>0&&(i[0]._isTracked=!0);var c=e.model.pushEditOperations(e.selectionsBefore,i,function(o){for(var r=[],n=0;n<e.selectionsBefore.length;n++)r[n]=[];for(var i=0,s=o;i<s.length;i++){var a=s[i];a.identifier&&r[a.identifier.major].push(a)}for(var c=function(e,t){return e.identifier.minor-t.identifier.minor},u=[],l=function(o){r[o].length>0?(r[o].sort(c),u[o]=t[o].computeCursorState(e.model,{getInverseEditOperations:function(){return r[o]},getTrackedSelection:function(t){var o=parseInt(t,10),r=e.model._getTrackedRange(e.trackedRanges[o]);return 0===e.trackedRangesDirection[o]?new p.Selection(r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn):new p.Selection(r.endLineNumber,r.endColumn,r.startLineNumber,r.startColumn)}})):u[o]=e.selectionsBefore[o]},n=0;n<e.selectionsBefore.length;n++)l(n);return u});c||(c=e.selectionsBefore);var u=[];for(var l in n)n.hasOwnProperty(l)&&u.push(parseInt(l,10));u.sort(function(e,t){return t-e});for(var d=0,m=u;d<m.length;d++){var h=m[d];c.splice(h,1)}return c},e._arrayIsEmpty=function(e){for(var t=0,o=e.length;o>t;t++)if(e[t])return!1;return!0},e._getEditOperations=function(e,t){for(var o=[],r=!1,n=0,i=t.length;i>n;n++){var s=t[n];if(s){var a=this._getEditOperationsFromCommand(e,n,s);o=o.concat(a.operations),r=r||a.hadTrackedEditOperation}}return{operations:o,hadTrackedEditOperation:r}},e._getEditOperationsFromCommand=function(e,t,o){var r=[],n=0,s=function(e,i){e.isEmpty()&&""===i||r.push({identifier:{major:t,minor:n++},range:e,text:i,forceMoveMarkers:!1,isAutoWhitespaceEdit:o.insertsAutoWhitespace})},a=!1,c=function(e,t){a=!0,s(e,t)},u=function(t,o){var r;if(t.isEmpty())if("boolean"==typeof o)r=o?2:3;else{var n=e.model.getLineMaxColumn(t.startLineNumber);r=t.startColumn===n?2:3}else r=1;var i=e.trackedRanges.length,s=e.model._setTrackedRange(null,t,r);return e.trackedRanges[i]=s,e.trackedRangesDirection[i]=t.getDirection(),i.toString()},l={addEditOperation:s,addTrackedEditOperation:c,trackSelection:u};try{o.getEditOperations(e.model,l)}catch(d){return i.onUnexpectedError(d),{operations:[],hadTrackedEditOperation:!1}}return{operations:r,hadTrackedEditOperation:a}},e._getLoserCursorMap=function(e){e=e.slice(0),e.sort(function(e,t){return-m.Range.compareRangesUsingEnds(e.range,t.range)});for(var t={},o=1;o<e.length;o++){var r=e[o-1],n=e[o];if(r.range.getStartPosition().isBefore(n.range.getEndPosition())){var i=void 0;i=r.identifier.major>n.identifier.major?r.identifier.major:n.identifier.major,t[i.toString()]=!0;for(var s=0;s<e.length;s++)e[s].identifier.major===i&&(e.splice(s,1),o>s&&o--,s--);o>0&&o--}}return t},e}()});
;/*!node_modules/monaco-editor/esm/vs/editor/common/editorAction.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/editorAction",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t,i,o,n,r){this.id=e,this.label=t,this.alias=i,this._precondition=o,this._run=n,this._contextKeyService=r}return e.prototype.isSupported=function(){return this._contextKeyService.contextMatchesRules(this._precondition)},e.prototype.run=function(){if(!this.isSupported())return Promise.resolve(void 0);var e=this._run();return e?e:Promise.resolve(void 0)},e}();t.InternalEditorAction=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/textToHtmlTokenizer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/textToHtmlTokenizer",function(e,n){"use strict";function o(e,n){return void 0===n&&(n=c),r(e,n||c)}function t(e,n,o,t,r,s){for(var a="<div>",i=t,d=0,c=0,l=n.getCount();l>c;c++){var m=n.getEndOffset(c);if(!(t>=m)){for(var u="";m>i&&r>i;i++){var f=e.charCodeAt(i);switch(f){case 9:var v=s-(i+d)%s;for(d+=v-1;v>0;)u+="&nbsp;",v--;break;case 60:u+="&lt;";break;case 62:u+="&gt;";break;case 38:u+="&amp;";break;case 0:u+="&#00;";break;case 65279:case 8232:u+="<22>";break;case 13:u+="&#8203";break;default:u+=String.fromCharCode(f)}}if(a+='<span style="'+n.getInlineStyle(c,o)+'">'+u+"</span>",m>r||i>=r)break}}return a+="</div>"}function r(e,n){for(var o='<div class="monaco-tokenized-source">',t=e.split(/\r\n|\r|\n/),r=n.getInitialState(),s=0,d=t.length;d>s;s++){var c=t[s];s>0&&(o+="<br/>");var l=n.tokenize2(c,r,0);i.LineTokens.convertToEndOffset(l.tokens,c.length);for(var m=new i.LineTokens(l.tokens,c),u=m.inflate(),f=0,v=0,k=u.getCount();k>v;v++){var b=u.getClassName(v),g=u.getEndOffset(v);o+='<span class="'+b+'">'+a.escape(c.substring(f,g))+"</span>",f=g}r=l.endState}return o+="</div>"}Object.defineProperty(n,"__esModule",{value:!0});var s=e("node_modules/tslib/tslib"),a=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens"),d=e("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode"),c={getInitialState:function(){return d.NULL_STATE},tokenize2:function(e,n,o){return d.nullTokenize2(0,e,n,o)}};n.tokenizeToString=o,n.tokenizeLineToHTML=t});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewLayout/whitespaceComputer.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/whitespaceComputer",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this._heights=[],this._minWidths=[],this._ids=[],this._afterLineNumbers=[],this._ordinals=[],this._prefixSum=[],this._prefixSumValidIndex=-1,this._whitespaceId2Index={},this._lastWhitespaceId=0,this._minWidth=-1}return e.findInsertionIndex=function(e,t,i,s){for(var h=0,r=e.length;r>h;){var n=h+r>>>1;t===e[n]?s<i[n]?r=n:h=n+1:t<e[n]?r=n:h=n+1}return h},e.prototype.insertWhitespace=function(t,i,s,h){t=0|t,i=0|i,s=0|s,h=0|h;var r=++this._lastWhitespaceId,n=e.findInsertionIndex(this._afterLineNumbers,t,this._ordinals,i);return this._insertWhitespaceAtIndex(r,n,t,i,s,h),this._minWidth=-1,r},e.prototype._insertWhitespaceAtIndex=function(e,t,i,s,h,r){e=0|e,t=0|t,i=0|i,s=0|s,h=0|h,r=0|r,this._heights.splice(t,0,h),this._minWidths.splice(t,0,r),this._ids.splice(t,0,e),this._afterLineNumbers.splice(t,0,i),this._ordinals.splice(t,0,s),this._prefixSum.splice(t,0,0);for(var n=Object.keys(this._whitespaceId2Index),a=0,o=n.length;o>a;a++){var p=n[a],d=this._whitespaceId2Index[p];d>=t&&(this._whitespaceId2Index[p]=d+1)}this._whitespaceId2Index[e.toString()]=t,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)},e.prototype.changeWhitespace=function(e,t,i){e=0|e,t=0|t,i=0|i;var s=!1;return s=this.changeWhitespaceHeight(e,i)||s,s=this.changeWhitespaceAfterLineNumber(e,t)||s},e.prototype.changeWhitespaceHeight=function(e,t){e=0|e,t=0|t;var i=e.toString();if(this._whitespaceId2Index.hasOwnProperty(i)){var s=this._whitespaceId2Index[i];if(this._heights[s]!==t)return this._heights[s]=t,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,s-1),!0}return!1},e.prototype.changeWhitespaceAfterLineNumber=function(t,i){t=0|t,i=0|i;var s=t.toString();if(this._whitespaceId2Index.hasOwnProperty(s)){var h=this._whitespaceId2Index[s];if(this._afterLineNumbers[h]!==i){var r=this._ordinals[h],n=this._heights[h],a=this._minWidths[h];this.removeWhitespace(t);var o=e.findInsertionIndex(this._afterLineNumbers,i,this._ordinals,r);return this._insertWhitespaceAtIndex(t,o,i,r,n,a),!0}}return!1},e.prototype.removeWhitespace=function(e){e=0|e;var t=e.toString();if(this._whitespaceId2Index.hasOwnProperty(t)){var i=this._whitespaceId2Index[t];return delete this._whitespaceId2Index[t],this._removeWhitespaceAtIndex(i),this._minWidth=-1,!0}return!1},e.prototype._removeWhitespaceAtIndex=function(e){e=0|e,this._heights.splice(e,1),this._minWidths.splice(e,1),this._ids.splice(e,1),this._afterLineNumbers.splice(e,1),this._ordinals.splice(e,1),this._prefixSum.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1);for(var t=Object.keys(this._whitespaceId2Index),i=0,s=t.length;s>i;i++){var h=t[i],r=this._whitespaceId2Index[h];r>=e&&(this._whitespaceId2Index[h]=r-1)}},e.prototype.onLinesDeleted=function(e,t){e=0|e,t=0|t;for(var i=0,s=this._afterLineNumbers.length;s>i;i++){var h=this._afterLineNumbers[i];h>=e&&t>=h?this._afterLineNumbers[i]=e-1:h>t&&(this._afterLineNumbers[i]-=t-e+1)}},e.prototype.onLinesInserted=function(e,t){e=0|e,t=0|t;for(var i=0,s=this._afterLineNumbers.length;s>i;i++){var h=this._afterLineNumbers[i];h>=e&&(this._afterLineNumbers[i]+=t-e+1)}},e.prototype.getTotalHeight=function(){return 0===this._heights.length?0:this.getAccumulatedHeight(this._heights.length-1)},e.prototype.getAccumulatedHeight=function(e){e=0|e;var t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._prefixSum[0]=this._heights[0],t++);for(var i=t;e>=i;i++)this._prefixSum[i]=this._prefixSum[i-1]+this._heights[i];return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._prefixSum[e]},e.prototype.getAccumulatedHeightBeforeLineNumber=function(e){e=0|e;var t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getAccumulatedHeight(t)},e.prototype._findLastWhitespaceBeforeLineNumber=function(e){e=0|e;for(var t=this._afterLineNumbers,i=0,s=t.length-1;s>=i;){var h=s-i|0,r=h/2|0,n=i+r|0;if(t[n]<e){if(n+1>=t.length||t[n+1]>=e)return n;i=n+1|0}else s=n-1|0}return-1},e.prototype._findFirstWhitespaceAfterLineNumber=function(e){e=0|e;var t=this._findLastWhitespaceBeforeLineNumber(e),i=t+1;return i<this._heights.length?i:-1},e.prototype.getFirstWhitespaceIndexAfterLineNumber=function(e){return e=0|e,this._findFirstWhitespaceAfterLineNumber(e)},e.prototype.getCount=function(){return this._heights.length},e.prototype.getMinWidth=function(){if(-1===this._minWidth){for(var e=0,t=0,i=this._minWidths.length;i>t;t++)e=Math.max(e,this._minWidths[t]);this._minWidth=e}return this._minWidth},e.prototype.getAfterLineNumberForWhitespaceIndex=function(e){return e=0|e,this._afterLineNumbers[e]},e.prototype.getIdForWhitespaceIndex=function(e){return e=0|e,this._ids[e]},e.prototype.getHeightForWhitespaceIndex=function(e){return e=0|e,this._heights[e]},e.prototype.getWhitespaces=function(e){e=0|e;for(var t=[],i=0;i<this._heights.length;i++)t.push({id:this._ids[i],afterLineNumber:this._afterLineNumbers[i],heightInLines:this._heights[i]/e});return t},e}();t.WhitespaceComputer=i});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewLayout/linesLayout.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/linesLayout",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/whitespaceComputer"),r=function(){function e(e,t){this._lineCount=e,this._lineHeight=t,this._whitespaces=new i.WhitespaceComputer}return e.prototype.setLineHeight=function(e){this._lineHeight=e},e.prototype.onFlushed=function(e){this._lineCount=e},e.prototype.insertWhitespace=function(e,t,i,r){return this._whitespaces.insertWhitespace(e,t,i,r)},e.prototype.changeWhitespace=function(e,t,i){return this._whitespaces.changeWhitespace(e,t,i)},e.prototype.removeWhitespace=function(e){return this._whitespaces.removeWhitespace(e)},e.prototype.onLinesDeleted=function(e,t){this._lineCount-=t-e+1,this._whitespaces.onLinesDeleted(e,t)},e.prototype.onLinesInserted=function(e,t){this._lineCount+=t-e+1,this._whitespaces.onLinesInserted(e,t)},e.prototype.getLinesTotalHeight=function(){var e=this._lineHeight*this._lineCount,t=this._whitespaces.getTotalHeight();return e+t},e.prototype.getVerticalOffsetForLineNumber=function(e){e=0|e;var t;t=e>1?this._lineHeight*(e-1):0;var i=this._whitespaces.getAccumulatedHeightBeforeLineNumber(e);return t+i},e.prototype.getWhitespaceAccumulatedHeightBeforeLineNumber=function(e){return this._whitespaces.getAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceMinWidth=function(){return this._whitespaces.getMinWidth()},e.prototype.isAfterLines=function(e){var t=this.getLinesTotalHeight();return e>t},e.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if(e=0|e,0>e)return 1;for(var t=0|this._lineCount,i=this._lineHeight,r=1,s=t;s>r;){var n=(r+s)/2|0,h=0|this.getVerticalOffsetForLineNumber(n);if(e>=h+i)r=n+1;else{if(e>=h)return n;s=n}}return r>t?t:r},e.prototype.getLinesViewportData=function(e,t){e=0|e,t=0|t;var i,r,s=this._lineHeight,n=0|this.getLineNumberAtOrAfterVerticalOffset(e),h=0|this.getVerticalOffsetForLineNumber(n),o=0|this._lineCount,a=0|this._whitespaces.getFirstWhitespaceIndexAfterLineNumber(n),c=0|this._whitespaces.getCount();-1===a?(a=c,r=o+1,i=0):(r=0|this._whitespaces.getAfterLineNumberForWhitespaceIndex(a),i=0|this._whitespaces.getHeightForWhitespaceIndex(a));var p=h,u=p,f=5e5,g=0;h>=f&&(g=Math.floor(h/f)*f,g=Math.floor(g/s)*s,u-=g);for(var l=[],d=e+(t-e)/2,_=-1,m=n;o>=m;m++){if(-1===_){var W=p,w=p+s;(d>=W&&w>d||W>d)&&(_=m)}for(p+=s,l[m-n]=u,u+=s;r===m;)u+=i,p+=i,a++,a>=c?r=o+1:(r=0|this._whitespaces.getAfterLineNumberForWhitespaceIndex(a),i=0|this._whitespaces.getHeightForWhitespaceIndex(a));if(p>=t){o=m;break}}-1===_&&(_=o);var L=0|this.getVerticalOffsetForLineNumber(o),v=n,b=o;return b>v&&e>h&&v++,b>v&&L+s>t&&b--,{bigNumbersDelta:g,startLineNumber:n,endLineNumber:o,relativeVerticalOffset:l,centeredLineNumber:_,completelyVisibleStartLineNumber:v,completelyVisibleEndLineNumber:b}},e.prototype.getVerticalOffsetForWhitespaceIndex=function(e){e=0|e;var t,i=this._whitespaces.getAfterLineNumberForWhitespaceIndex(e);t=i>=1?this._lineHeight*i:0;var r;return r=e>0?this._whitespaces.getAccumulatedHeight(e-1):0,t+r},e.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){e=0|e;var t,i,r,s=0,n=this._whitespaces.getCount()-1;if(0>n)return-1;var h=this.getVerticalOffsetForWhitespaceIndex(n),o=this._whitespaces.getHeightForWhitespaceIndex(n);if(e>=h+o)return-1;for(;n>s;)if(t=Math.floor((s+n)/2),i=this.getVerticalOffsetForWhitespaceIndex(t),r=this._whitespaces.getHeightForWhitespaceIndex(t),e>=i+r)s=t+1;else{if(e>=i)return t;n=t}return s},e.prototype.getWhitespaceAtVerticalOffset=function(e){e=0|e;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(0>t)return null;if(t>=this._whitespaces.getCount())return null;var i=this.getVerticalOffsetForWhitespaceIndex(t);if(i>e)return null;var r=this._whitespaces.getHeightForWhitespaceIndex(t),s=this._whitespaces.getIdForWhitespaceIndex(t),n=this._whitespaces.getAfterLineNumberForWhitespaceIndex(t);return{id:s,afterLineNumber:n,verticalOffset:i,height:r}},e.prototype.getWhitespaceViewportData=function(e,t){e=0|e,t=0|t;var i=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),r=this._whitespaces.getCount()-1;if(0>i)return[];for(var s=[],n=i;r>=n;n++){var h=this.getVerticalOffsetForWhitespaceIndex(n),o=this._whitespaces.getHeightForWhitespaceIndex(n);if(h>=t)break;s.push({id:this._whitespaces.getIdForWhitespaceIndex(n),afterLineNumber:this._whitespaces.getAfterLineNumberForWhitespaceIndex(n),verticalOffset:h,height:o})}return s},e.prototype.getWhitespaces=function(){return this._whitespaces.getWhitespaces(this._lineHeight)},e}();t.LinesLayout=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLayout.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLayout",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=this&&this.__extends||function(){var t=function(o,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(o,e)};return function(o,e){function i(){this.constructor=o}t(o,e),o.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),i=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=t("node_modules/monaco-editor/esm/vs/base/common/scrollable"),n=t("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/linesLayout"),l=t("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel"),s=125,c=function(t){function o(o,e,i){var l=t.call(this)||this;return l._configuration=o,l._linesLayout=new n.LinesLayout(e,l._configuration.editor.lineHeight),l.scrollable=l._register(new r.Scrollable(0,i)),l._configureSmoothScrollDuration(),l.scrollable.setScrollDimensions({width:o.editor.layoutInfo.contentWidth,height:o.editor.layoutInfo.contentHeight}),l.onDidScroll=l.scrollable.onScroll,l._updateHeight(),l}return e(o,t),o.prototype.dispose=function(){t.prototype.dispose.call(this)},o.prototype.onHeightMaybeChanged=function(){this._updateHeight()},o.prototype._configureSmoothScrollDuration=function(){this.scrollable.setSmoothScrollDuration(this._configuration.editor.viewInfo.smoothScrolling?s:0)},o.prototype.onConfigurationChanged=function(t){t.lineHeight&&this._linesLayout.setLineHeight(this._configuration.editor.lineHeight),t.layoutInfo&&this.scrollable.setScrollDimensions({width:this._configuration.editor.layoutInfo.contentWidth,height:this._configuration.editor.layoutInfo.contentHeight}),t.viewInfo&&this._configureSmoothScrollDuration(),this._updateHeight()},o.prototype.onFlushed=function(t){this._linesLayout.onFlushed(t)},o.prototype.onLinesDeleted=function(t,o){this._linesLayout.onLinesDeleted(t,o)},o.prototype.onLinesInserted=function(t,o){this._linesLayout.onLinesInserted(t,o)},o.prototype._getHorizontalScrollbarHeight=function(t){return 2===this._configuration.editor.viewInfo.scrollbar.horizontal?0:t.width>=t.scrollWidth?0:this._configuration.editor.viewInfo.scrollbar.horizontalScrollbarSize},o.prototype._getTotalHeight=function(){var t=this.scrollable.getScrollDimensions(),o=this._linesLayout.getLinesTotalHeight();return o+=this._configuration.editor.viewInfo.scrollBeyondLastLine?t.height-this._configuration.editor.lineHeight:this._getHorizontalScrollbarHeight(t),Math.max(t.height,o)},o.prototype._updateHeight=function(){this.scrollable.setScrollDimensions({scrollHeight:this._getTotalHeight()})},o.prototype.getCurrentViewport=function(){var t=this.scrollable.getScrollDimensions(),o=this.scrollable.getCurrentScrollPosition();return new l.Viewport(o.scrollTop,o.scrollLeft,t.width,t.height)},o.prototype.getFutureViewport=function(){var t=this.scrollable.getScrollDimensions(),o=this.scrollable.getFutureScrollPosition();return new l.Viewport(o.scrollTop,o.scrollLeft,t.width,t.height)},o.prototype._computeScrollWidth=function(t,o){var e=this._configuration.editor.wrappingInfo.isViewportWrapping;if(!e){var i=this._configuration.editor.viewInfo.scrollBeyondLastColumn*this._configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,r=this._linesLayout.getWhitespaceMinWidth();return Math.max(t+i,o,r)}return Math.max(t,o)},o.prototype.onMaxLineWidthChanged=function(t){var o=this._computeScrollWidth(t,this.getCurrentViewport().width);this.scrollable.setScrollDimensions({scrollWidth:o}),this._updateHeight()},o.prototype.saveState=function(){var t=this.scrollable.getFutureScrollPosition(),o=t.scrollTop,e=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(o),i=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(e);return{scrollTop:o,scrollTopWithoutViewZones:o-i,scrollLeft:t.scrollLeft}},o.prototype.addWhitespace=function(t,o,e,i){return this._linesLayout.insertWhitespace(t,o,e,i)},o.prototype.changeWhitespace=function(t,o,e){return this._linesLayout.changeWhitespace(t,o,e)},o.prototype.removeWhitespace=function(t){return this._linesLayout.removeWhitespace(t)},o.prototype.getVerticalOffsetForLineNumber=function(t){return this._linesLayout.getVerticalOffsetForLineNumber(t)},o.prototype.isAfterLines=function(t){return this._linesLayout.isAfterLines(t)},o.prototype.getLineNumberAtVerticalOffset=function(t){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t)},o.prototype.getWhitespaceAtVerticalOffset=function(t){return this._linesLayout.getWhitespaceAtVerticalOffset(t)},o.prototype.getLinesViewportData=function(){var t=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(t.top,t.top+t.height)},o.prototype.getLinesViewportDataAtScrollTop=function(t){var o=this.scrollable.getScrollDimensions();return t+o.height>o.scrollHeight&&(t=o.scrollHeight-o.height),0>t&&(t=0),this._linesLayout.getLinesViewportData(t,t+o.height)},o.prototype.getWhitespaceViewportData=function(){var t=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(t.top,t.top+t.height)},o.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},o.prototype.getScrollWidth=function(){var t=this.scrollable.getScrollDimensions();return t.scrollWidth},o.prototype.getScrollHeight=function(){var t=this.scrollable.getScrollDimensions();return t.scrollHeight},o.prototype.getCurrentScrollLeft=function(){var t=this.scrollable.getCurrentScrollPosition();return t.scrollLeft},o.prototype.getCurrentScrollTop=function(){var t=this.scrollable.getCurrentScrollPosition();return t.scrollTop},o.prototype.validateScrollPosition=function(t){return this.scrollable.validateScrollPosition(t)},o.prototype.setScrollPositionNow=function(t){this.scrollable.setScrollPositionNow(t)},o.prototype.setScrollPositionSmooth=function(t){this.scrollable.setScrollPositionSmooth(t)},o.prototype.deltaScrollNow=function(t,o){var e=this.scrollable.getCurrentScrollPosition();this.scrollable.setScrollPositionNow({scrollLeft:e.scrollLeft+t,scrollTop:e.scrollTop+o})},o}(i.Disposable);o.ViewLayout=c});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewModel/splitLinesCollection.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewModel/splitLinesCollection",function(e,t){"use strict";function i(e,t,i,n,o,r,s){var u=e.createLineMapping(t,i,n,o,r);return null===u?s?m.INSTANCE:c.INSTANCE:new g(u,s)}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),s=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),u=n.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/view/viewEvents")),l=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer"),a=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel"),p=function(){function e(e,t){this.outputLineIndex=e,this.outputOffset=t}return e}();t.OutputPosition=p;var d=function(){function e(e){this._lines=e}return e.prototype.convertViewPositionToModelPosition=function(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)},e.prototype.convertViewRangeToModelRange=function(e){var t=this._lines.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this._lines.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new r.Range(t.lineNumber,t.column,i.lineNumber,i.column)},e.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},e.prototype.validateViewRange=function(e,t){var i=this._lines.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),n=this._lines.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new r.Range(i.lineNumber,i.column,n.lineNumber,n.column)},e.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},e.prototype.convertModelRangeToViewRange=function(e){var t=this._lines.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),i=this._lines.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return new r.Range(t.lineNumber,t.column,i.lineNumber,i.column)},e.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},e}();t.CoordinatesConverter=d;var h=function(){function e(e,t,i,n,o,r){this.model=e,this._validModelVersionId=-1,this.tabSize=i,this.wrappingColumn=n,this.columnsForFullWidthChar=o,this.wrappingIndent=r,this.linePositionMapperFactory=t,this._constructLines(!0)}return e.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},e.prototype.createCoordinatesConverter=function(){return new d(this)},e.prototype._ensureValidState=function(){var e=this.model.getVersionId();if(e!==this._validModelVersionId)throw new Error("ViewModel is out of sync with Model!");this.lines.length!==this.model.getLineCount()&&this._constructLines(!1)},e.prototype._constructLines=function(e){var t=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var n=this.model.getLinesContent(),o=n.length,s=new Uint32Array(o),u=this.hiddenAreasIds.map(function(e){return t.model.getDecorationRange(e)}).sort(r.Range.compareRangesUsingStarts),a=1,p=0,d=-1,h=d+1<u.length?p+1:o+2,m=0;o>m;m++){var c=m+1;c===h&&(d++,a=u[d].startLineNumber,p=u[d].endLineNumber,h=d+1<u.length?p+1:o+2);var g=c>=a&&p>=c,f=i(this.linePositionMapperFactory,n[m],this.tabSize,this.wrappingColumn,this.columnsForFullWidthChar,this.wrappingIndent,!g);s[m]=f.getViewLineCount(),this.lines[m]=f}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new l.PrefixSumComputerWithCache(s)},e.prototype.getHiddenAreas=function(){var e=this;return this.hiddenAreasIds.map(function(t){return e.model.getDecorationRange(t)})},e.prototype._reduceRanges=function(e){var t=this;if(0===e.length)return[];for(var i=e.map(function(e){return t.model.validateRange(e)}).sort(r.Range.compareRangesUsingStarts),n=[],o=i[0].startLineNumber,s=i[0].endLineNumber,u=1,l=i.length;l>u;u++){var a=i[u];a.startLineNumber>s+1?(n.push(new r.Range(o,1,s,1)),o=a.startLineNumber,s=a.endLineNumber):a.endLineNumber>s&&(s=a.endLineNumber)}return n.push(new r.Range(o,1,s,1)),n},e.prototype.setHiddenAreas=function(e){var t=this,i=this._reduceRanges(e),n=this.hiddenAreasIds.map(function(e){return t.model.getDecorationRange(e)}).sort(r.Range.compareRangesUsingStarts);if(i.length===n.length){for(var o=!1,u=0;u<i.length;u++)if(!i[u].equalsRange(n[u])){o=!0;break}if(!o)return!1}for(var l=[],a=0,p=i;a<p.length;a++){var d=p[a];l.push({range:d,options:s.ModelDecorationOptions.EMPTY})}this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,l);for(var h=i,m=1,c=0,g=-1,f=g+1<h.length?c+1:this.lines.length+2,w=!1,u=0;u<this.lines.length;u++){var V=u+1;V===f&&(g++,m=h[g].startLineNumber,c=h[g].endLineNumber,f=g+1<h.length?c+1:this.lines.length+2);var L=!1;if(V>=m&&c>=V?this.lines[u].isVisible()&&(this.lines[u]=this.lines[u].setVisible(!1),L=!0):(w=!0,this.lines[u].isVisible()||(this.lines[u]=this.lines[u].setVisible(!0),L=!0)),L){var v=this.lines[u].getViewLineCount();this.prefixSumComputer.changeValue(u,v)}}return w||this.setHiddenAreas([]),!0},e.prototype.modelPositionIsVisible=function(e){return 1>e||e>this.lines.length?!1:this.lines[e-1].isVisible()},e.prototype.setTabSize=function(e){return this.tabSize===e?!1:(this.tabSize=e,this._constructLines(!1),!0)},e.prototype.setWrappingSettings=function(e,t,i){return this.wrappingIndent===e&&this.wrappingColumn===t&&this.columnsForFullWidthChar===i?!1:(this.wrappingIndent=e,this.wrappingColumn=t,this.columnsForFullWidthChar=i,this._constructLines(!1),!0)},e.prototype.onModelFlushed=function(){this._constructLines(!0)},e.prototype.onModelLinesDeleted=function(e,t,i){if(e<=this._validModelVersionId)return null;var n=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,o=this.prefixSumComputer.getAccumulatedValue(i-1);return this.lines.splice(t-1,i-t+1),this.prefixSumComputer.removeValues(t-1,i-t+1),new u.ViewLinesDeletedEvent(n,o)},e.prototype.onModelLinesInserted=function(e,t,n,r){if(e<=this._validModelVersionId)return null;for(var s=this.getHiddenAreas(),l=!1,a=new o.Position(t,1),p=0,d=s;p<d.length;p++){var h=d[p];if(h.containsPosition(a)){l=!0;break}}for(var m=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=0,g=[],f=new Uint32Array(r.length),w=0,V=r.length;V>w;w++){var L=i(this.linePositionMapperFactory,r[w],this.tabSize,this.wrappingColumn,this.columnsForFullWidthChar,this.wrappingIndent,!l);g.push(L);var v=L.getViewLineCount();c+=v,f[w]=v}return this.lines=this.lines.slice(0,t-1).concat(g).concat(this.lines.slice(t-1)),this.prefixSumComputer.insertValues(t-1,f),new u.ViewLinesInsertedEvent(m,m+c-1)},e.prototype.onModelLineChanged=function(e,t,n){if(e<=this._validModelVersionId)return[!1,null,null,null];var o=t-1,r=this.lines[o].getViewLineCount(),s=this.lines[o].isVisible(),l=i(this.linePositionMapperFactory,n,this.tabSize,this.wrappingColumn,this.columnsForFullWidthChar,this.wrappingIndent,s);this.lines[o]=l;var a=this.lines[o].getViewLineCount(),p=!1,d=0,h=-1,m=0,c=-1,g=0,f=-1;r>a?(d=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,h=d+a-1,g=h+1,f=g+(r-a)-1,p=!0):a>r?(d=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,h=d+r-1,m=h+1,c=m+(a-r)-1,p=!0):(d=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,h=d+a-1),this.prefixSumComputer.changeValue(o,a);var w=h>=d?new u.ViewLinesChangedEvent(d,h):null,V=c>=m?new u.ViewLinesInsertedEvent(m,c):null,L=f>=g?new u.ViewLinesDeletedEvent(g,f):null;return[p,w,V,L]},e.prototype.acceptVersionId=function(e){this._validModelVersionId=e,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])},e.prototype.getViewLineCount=function(){return this._ensureValidState(),this.prefixSumComputer.getTotalValue()},e.prototype._toValidViewLineNumber=function(e){if(1>e)return 1;var t=this.getViewLineCount();return e>t?t:e},e.prototype.warmUpLookupCache=function(e,t){this.prefixSumComputer.warmUpCache(e-1,t-1)},e.prototype.getActiveIndentGuide=function(e,t,i){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),i=this._toValidViewLineNumber(i);var n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(i,this.getViewLineMinColumn(i)),s=this.model.getActiveIndentGuide(n.lineNumber,o.lineNumber,r.lineNumber),u=this.convertModelPositionToViewPosition(s.startLineNumber,1),l=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:u.lineNumber,endLineNumber:l.lineNumber,indent:s.indent}},e.prototype.getViewLinesIndentGuides=function(e,t){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),n=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),r=[],s=[],u=[],l=i.lineNumber-1,a=n.lineNumber-1,p=null,d=l;a>=d;d++){var h=this.lines[d];if(h.isVisible()){var m=h.getViewLineNumberOfModelPosition(0,d===l?i.column:1),c=h.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(d+1)),g=c-m+1,f=0;g>1&&1===h.getViewLineMinColumn(this.model,d+1,c)&&(f=0===m?1:2),s.push(g),u.push(f),null===p&&(p=new o.Position(d+1,0))}else null!==p&&(r=r.concat(this.model.getLinesIndentGuides(p.lineNumber,d)),p=null)}null!==p&&(r=r.concat(this.model.getLinesIndentGuides(p.lineNumber,n.lineNumber)),p=null);for(var w=t-e+1,V=new Array(w),L=0,v=0,C=r.length;C>v;v++){var b=r[v],g=Math.min(w-L,s[v]),f=u[v],N=void 0;N=2===f?0:1===f?1:g;for(var y=0;g>y;y++)y===N&&(b=0),V[L++]=b}return V},e.prototype.getViewLineContent=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),i=t.index,n=t.remainder;return this.lines[i].getViewLineContent(this.model,i+1,n)},e.prototype.getViewLineLength=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),i=t.index,n=t.remainder;return this.lines[i].getViewLineLength(this.model,i+1,n)},e.prototype.getViewLineMinColumn=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),i=t.index,n=t.remainder;return this.lines[i].getViewLineMinColumn(this.model,i+1,n)},e.prototype.getViewLineMaxColumn=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),i=t.index,n=t.remainder;return this.lines[i].getViewLineMaxColumn(this.model,i+1,n)},e.prototype.getViewLineData=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),i=t.index,n=t.remainder;return this.lines[i].getViewLineData(this.model,i+1,n)},e.prototype.getViewLinesData=function(e,t,i){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var n=this.prefixSumComputer.getIndexOf(e-1),o=e,r=n.index,s=n.remainder,u=[],l=r,a=this.model.getLineCount();a>l;l++){var p=this.lines[l];if(p.isVisible()){var d=l===r?s:0,h=p.getViewLineCount()-d,m=!1;o+h>t&&(m=!0,h=t-o+1);var c=d+h;if(p.getViewLinesData(this.model,l+1,d,c,o-e,i,u),o+=h,m)break}}return u},e.prototype.validateViewPosition=function(e,t,i){this._ensureValidState(),e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),r=n.index,s=n.remainder,u=this.lines[r],l=u.getViewLineMinColumn(this.model,r+1,s),a=u.getViewLineMaxColumn(this.model,r+1,s);l>t&&(t=l),t>a&&(t=a);var p=u.getModelColumnOfViewPosition(s,t),d=this.model.validatePosition(new o.Position(r+1,p));return d.equals(i)?new o.Position(e,t):this.convertModelPositionToViewPosition(i.lineNumber,i.column)},e.prototype.convertViewPositionToModelPosition=function(e,t){this._ensureValidState(),e=this._toValidViewLineNumber(e);var i=this.prefixSumComputer.getIndexOf(e-1),n=i.index,r=i.remainder,s=this.lines[n].getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new o.Position(n+1,s))},e.prototype.convertModelPositionToViewPosition=function(e,t){this._ensureValidState();for(var i=this.model.validatePosition(new o.Position(e,t)),n=i.lineNumber,r=i.column,s=n-1,u=!1;s>0&&!this.lines[s].isVisible();)s--,u=!0;if(0===s&&!this.lines[s].isVisible())return new o.Position(1,1);var l,a=1+(0===s?0:this.prefixSumComputer.getAccumulatedValue(s-1));return l=u?this.lines[s].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(s+1)):this.lines[n-1].getViewPositionOfModelPosition(a,r)},e.prototype._getViewLineNumberForModelPosition=function(e,t){var i=e-1;if(this.lines[i].isVisible()){var n=1+(0===i?0:this.prefixSumComputer.getAccumulatedValue(i-1));return this.lines[i].getViewLineNumberOfModelPosition(n,t)}for(;i>0&&!this.lines[i].isVisible();)i--;if(0===i&&!this.lines[i].isVisible())return 1;var o=1+(0===i?0:this.prefixSumComputer.getAccumulatedValue(i-1));return this.lines[i].getViewLineNumberOfModelPosition(o,this.model.getLineMaxColumn(i+1))},e.prototype.getAllOverviewRulerDecorations=function(e,t,i){for(var n=this.model.getOverviewRulerDecorations(e,t),o=new V,r=0,s=n;r<s.length;r++){var u=s[r],l=u.options.overviewRuler,a=l?l.position:0;if(0!==a){var p=l.getColor(i),d=this._getViewLineNumberForModelPosition(u.range.startLineNumber,u.range.startColumn),h=this._getViewLineNumberForModelPosition(u.range.endLineNumber,u.range.endColumn);o.accept(p,d,h,a)}}return o.result},e.prototype.getDecorationsInRange=function(e,t,i){var n=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),s=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(s.lineNumber-n.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new r.Range(n.lineNumber,1,s.lineNumber,s.column),t,i);for(var u=[],l=n.lineNumber-1,a=s.lineNumber-1,p=null,d=l;a>=d;d++){var h=this.lines[d];if(h.isVisible())null===p&&(p=new o.Position(d+1,d===l?n.column:1));else if(null!==p){var m=this.model.getLineMaxColumn(d);u=u.concat(this.model.getDecorationsInRange(new r.Range(p.lineNumber,p.column,d,m),t,i)),p=null}}null!==p&&(u=u.concat(this.model.getDecorationsInRange(new r.Range(p.lineNumber,p.column,s.lineNumber,s.column),t,i)),p=null),u.sort(function(e,t){var i=r.Range.compareRangesUsingStarts(e.range,t.range);return 0===i?e.id<t.id?-1:e.id>t.id?1:0:i});for(var c=[],g=0,f=null,w=0,V=u;w<V.length;w++){var L=V[w],v=L.id;f!==v&&(f=v,c[g++]=L)}return c},e}();t.SplitLinesCollection=h;var m=function(){function e(){}return e.prototype.isVisible=function(){return!0},e.prototype.setVisible=function(e){return e?this:c.INSTANCE},e.prototype.getViewLineCount=function(){return 1},e.prototype.getViewLineContent=function(e,t){return e.getLineContent(t)},e.prototype.getViewLineLength=function(e,t){return e.getLineLength(t)},e.prototype.getViewLineMinColumn=function(e,t){return e.getLineMinColumn(t)},e.prototype.getViewLineMaxColumn=function(e,t){return e.getLineMaxColumn(t)},e.prototype.getViewLineData=function(e,t){var i=e.getLineTokens(t),n=i.getLineContent();return new a.ViewLineData(n,!1,1,n.length+1,i.inflate())},e.prototype.getViewLinesData=function(e,t,i,n,o,r,s){return r[o]?void(s[o]=this.getViewLineData(e,t,0)):void(s[o]=null)},e.prototype.getModelColumnOfViewPosition=function(e,t){return t},e.prototype.getViewPositionOfModelPosition=function(e,t){return new o.Position(e,t)},e.prototype.getViewLineNumberOfModelPosition=function(e){return e},e.INSTANCE=new e,e}(),c=function(){function e(){}return e.prototype.isVisible=function(){return!1},e.prototype.setVisible=function(e){return e?m.INSTANCE:this},e.prototype.getViewLineCount=function(){return 0},e.prototype.getViewLineContent=function(){throw new Error("Not supported")},e.prototype.getViewLineLength=function(){throw new Error("Not supported")},e.prototype.getViewLineMinColumn=function(){throw new Error("Not supported")},e.prototype.getViewLineMaxColumn=function(){throw new Error("Not supported")},e.prototype.getViewLineData=function(){throw new Error("Not supported")},e.prototype.getViewLinesData=function(){throw new Error("Not supported")},e.prototype.getModelColumnOfViewPosition=function(){throw new Error("Not supported")},e.prototype.getViewPositionOfModelPosition=function(){throw new Error("Not supported")},e.prototype.getViewLineNumberOfModelPosition=function(){throw new Error("Not supported")},e.INSTANCE=new e,e}(),g=function(){function e(e,t){this.positionMapper=e,this.wrappedIndent=this.positionMapper.getWrappedLinesIndent(),this.wrappedIndentLength=this.wrappedIndent.length,this.outputLineCount=this.positionMapper.getOutputLineCount(),this._isVisible=t}return e.prototype.isVisible=function(){return this._isVisible},e.prototype.setVisible=function(e){return this._isVisible=e,this},e.prototype.getViewLineCount=function(){return this._isVisible?this.outputLineCount:0},e.prototype.getInputStartOffsetOfOutputLineIndex=function(e){return this.positionMapper.getInputOffsetOfOutputPosition(e,0)},e.prototype.getInputEndOffsetOfOutputLineIndex=function(e,t,i){return i+1===this.outputLineCount?e.getLineMaxColumn(t)-1:this.positionMapper.getInputOffsetOfOutputPosition(i+1,0)},e.prototype.getViewLineContent=function(e,t,i){if(!this._isVisible)throw new Error("Not supported");var n=this.getInputStartOffsetOfOutputLineIndex(i),o=this.getInputEndOffsetOfOutputLineIndex(e,t,i),r=e.getValueInRange({startLineNumber:t,startColumn:n+1,endLineNumber:t,endColumn:o+1});return i>0&&(r=this.wrappedIndent+r),r},e.prototype.getViewLineLength=function(e,t,i){if(!this._isVisible)throw new Error("Not supported");var n=this.getInputStartOffsetOfOutputLineIndex(i),o=this.getInputEndOffsetOfOutputLineIndex(e,t,i),r=o-n;return i>0&&(r=this.wrappedIndent.length+r),r},e.prototype.getViewLineMinColumn=function(e,t,i){if(!this._isVisible)throw new Error("Not supported");return i>0?this.wrappedIndentLength+1:1},e.prototype.getViewLineMaxColumn=function(e,t,i){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,i).length+1},e.prototype.getViewLineData=function(e,t,i){if(!this._isVisible)throw new Error("Not supported");var n=this.getInputStartOffsetOfOutputLineIndex(i),o=this.getInputEndOffsetOfOutputLineIndex(e,t,i),r=e.getValueInRange({startLineNumber:t,startColumn:n+1,endLineNumber:t,endColumn:o+1});i>0&&(r=this.wrappedIndent+r);var s=i>0?this.wrappedIndentLength+1:1,u=r.length+1,l=i+1<this.getViewLineCount(),p=0;i>0&&(p=this.wrappedIndentLength);var d=e.getLineTokens(t);return new a.ViewLineData(r,l,s,u,d.sliceAndInflate(n,o,p))},e.prototype.getViewLinesData=function(e,t,i,n,o,r,s){if(!this._isVisible)throw new Error("Not supported");for(var u=i;n>u;u++){var l=o+u-i;s[l]=r[l]?this.getViewLineData(e,t,u):null}},e.prototype.getModelColumnOfViewPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var i=t-1;return e>0&&(i<this.wrappedIndentLength?i=0:i-=this.wrappedIndentLength),this.positionMapper.getInputOffsetOfOutputPosition(e,i)+1},e.prototype.getViewPositionOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var i=this.positionMapper.getOutputPositionOfInputOffset(t-1),n=i.outputLineIndex,r=i.outputOffset+1;return n>0&&(r+=this.wrappedIndentLength),new o.Position(e+n,r)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var i=this.positionMapper.getOutputPositionOfInputOffset(t-1);return e+i.outputLineIndex},e}();t.SplitLine=g;var f=function(){function e(e){this._lines=e}return e.prototype._validPosition=function(e){return this._lines.model.validatePosition(e)},e.prototype._validRange=function(e){return this._lines.model.validateRange(e)},e.prototype.convertViewPositionToModelPosition=function(e){return this._validPosition(e)},e.prototype.convertViewRangeToModelRange=function(e){return this._validRange(e)},e.prototype.validateViewPosition=function(e,t){return this._validPosition(t)},e.prototype.validateViewRange=function(e,t){return this._validRange(t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._validPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this._validRange(e)},e.prototype.modelPositionIsVisible=function(e){var t=this._lines.model.getLineCount();return e.lineNumber<1||e.lineNumber>t?!1:!0},e}();t.IdentityCoordinatesConverter=f;var w=function(){function e(e){this.model=e}return e.prototype.dispose=function(){},e.prototype.createCoordinatesConverter=function(){return new f(this)},e.prototype.getHiddenAreas=function(){return[]},e.prototype.setHiddenAreas=function(){return!1},e.prototype.setTabSize=function(){return!1},e.prototype.setWrappingSettings=function(){return!1},e.prototype.onModelFlushed=function(){},e.prototype.onModelLinesDeleted=function(e,t,i){return new u.ViewLinesDeletedEvent(t,i)},e.prototype.onModelLinesInserted=function(e,t,i){return new u.ViewLinesInsertedEvent(t,i)},e.prototype.onModelLineChanged=function(e,t){return[!1,new u.ViewLinesChangedEvent(t,t),null,null]},e.prototype.acceptVersionId=function(){},e.prototype.getViewLineCount=function(){return this.model.getLineCount()},e.prototype.warmUpLookupCache=function(){},e.prototype.getActiveIndentGuide=function(e){return{startLineNumber:e,endLineNumber:e,indent:0}},e.prototype.getViewLinesIndentGuides=function(e,t){for(var i=t-e+1,n=new Array(i),o=0;i>o;o++)n[o]=0;return n},e.prototype.getViewLineContent=function(e){return this.model.getLineContent(e)},e.prototype.getViewLineLength=function(e){return this.model.getLineLength(e)},e.prototype.getViewLineMinColumn=function(e){return this.model.getLineMinColumn(e)},e.prototype.getViewLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},e.prototype.getViewLineData=function(e){var t=this.model.getLineTokens(e),i=t.getLineContent();return new a.ViewLineData(i,!1,1,i.length+1,t.inflate())},e.prototype.getViewLinesData=function(e,t,i){var n=this.model.getLineCount();e=Math.min(Math.max(1,e),n),t=Math.min(Math.max(1,t),n);for(var o=[],r=e;t>=r;r++){var s=r-e;i[s]||(o[s]=null),o[s]=this.getViewLineData(r)}return o},e.prototype.getAllOverviewRulerDecorations=function(e,t,i){for(var n=this.model.getOverviewRulerDecorations(e,t),o=new V,r=0,s=n;r<s.length;r++){var u=s[r],l=u.options.overviewRuler,a=l?l.position:0;if(0!==a){var p=l.getColor(i),d=u.range.startLineNumber,h=u.range.endLineNumber;o.accept(p,d,h,a)}}return o.result},e.prototype.getDecorationsInRange=function(e,t,i){return this.model.getDecorationsInRange(e,t,i)},e}();t.IdentityLinesCollection=w;var V=function(){function e(){this.result=Object.create(null)}return e.prototype.accept=function(e,t,i,n){var o=this.result[e];if(o){var r=o[o.length-3],s=o[o.length-1];if(r===n&&s+1>=t)return void(i>s&&(o[o.length-1]=i));o.push(n,t,i)}else this.result[e]=[n,t,i]},e}()});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewModel/characterHardWrappingLineMapper.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewModel/characterHardWrappingLineMapper",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),r=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/uint"),u=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer"),a=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/splitLinesCollection"),c=function(e){function t(t,o,n){for(var r=e.call(this,0)||this,i=0;i<t.length;i++)r.set(t.charCodeAt(i),1);for(var i=0;i<o.length;i++)r.set(o.charCodeAt(i),2);for(var i=0;i<n.length;i++)r.set(n.charCodeAt(i),3);return r}return n(t,e),t.prototype.get=function(t){return t>=12352&&12543>=t||t>=13312&&19903>=t||t>=19968&&40959>=t?4:e.prototype.get.call(this,t)},t}(i.CharacterClassifier),p=function(){function e(e,t,o){this.classifier=new c(e,t,o)}return e.nextVisibleColumn=function(e,t,o,n){return e=+e,t=+t,n=+n,o?e+(t-e%t):e+n},e.prototype.createLineMapping=function(t,o,n,i,a){if(-1===n)return null;o=+o,n=+n,i=+i,a=+a;var c=0,p="",f=-1;if(0!==a&&(f=r.firstNonWhitespaceIndex(t),-1!==f)){p=t.substring(0,f);for(var l=0;f>l;l++)c=e.nextVisibleColumn(c,o,9===t.charCodeAt(l),1);var m=0;2===a?m=1:3===a&&(m=2);for(var l=0;m>l;l++)p+=" ",c=e.nextVisibleColumn(c,o,!0,1);c+i>n&&(p="",c=0)}for(var h=this.classifier,v=0,_=[],C=0,g=0,x=-1,y=0,b=-1,O=0,w=t.length,l=0;w>l;l++){var A=t.charCodeAt(l),L=9===A,M=h.get(A);if(1===M&&(x=l,y=c),4===M&&l>0){var V=t.charCodeAt(l-1),I=h.get(V);1!==I&&(x=l,y=c)}var P=1;if(r.isFullWidthCharacter(A)&&(P=i),g=e.nextVisibleColumn(g,o,L,P),g>n&&0!==l){var S=void 0,W=void 0;-1!==x&&n>=y?(S=x,W=y):-1!==b&&n>=O?(S=b,W=O):(S=l,W=c),_[C++]=S-v,v=S,g=e.nextVisibleColumn(W,o,L,P),x=-1,y=0,b=-1,O=0}if(-1!==x&&(y=e.nextVisibleColumn(y,o,L,P)),-1!==b&&(O=e.nextVisibleColumn(O,o,L,P)),2===M&&(0===a||l>=f)&&(x=l+1,y=c),4===M&&w-1>l){var j=t.charCodeAt(l+1),H=h.get(j);2!==H&&(x=l+1,y=c)}3===M&&(b=l+1,O=c)}return 0===C?null:(_[C++]=w-v,new d(new u.PrefixSumComputer(s.toUint32Array(_)),p))},e}();t.CharacterHardWrappingLineMapperFactory=p;var d=function(){function e(e,t){this._prefixSums=e,this._wrappedLinesIndent=t}return e.prototype.getOutputLineCount=function(){return this._prefixSums.getCount()},e.prototype.getWrappedLinesIndent=function(){return this._wrappedLinesIndent},e.prototype.getInputOffsetOfOutputPosition=function(e,t){return 0===e?t:this._prefixSums.getAccumulatedValue(e-1)+t},e.prototype.getOutputPositionOfInputOffset=function(e){var t=this._prefixSums.getIndexOf(e);return new a.OutputPosition(t.index,t.remainder)},e}();t.CharacterHardWrappingLineMapping=d});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModelDecorations.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModelDecorations",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),t=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),i=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel"),r=function(){function e(e,o,n,t,i){this.editorId=e,this.model=o,this.configuration=n,this._linesCollection=t,this._coordinatesConverter=i,this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}return e.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},e.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype._getOrCreateViewModelDecoration=function(e){var o=e.id,r=this._decorationsCache[o];if(!r){var a=e.range,s=e.options,c=void 0;if(s.isWholeLine){var l=this._coordinatesConverter.convertModelPositionToViewPosition(new n.Position(a.startLineNumber,1)),d=this._coordinatesConverter.convertModelPositionToViewPosition(new n.Position(a.endLineNumber,this.model.getLineMaxColumn(a.endLineNumber)));c=new t.Range(l.lineNumber,l.column,d.lineNumber,d.column)}else c=this._coordinatesConverter.convertModelRangeToViewRange(a);r=new i.ViewModelDecoration(c,s),this._decorationsCache[o]=r}return r},e.prototype.getDecorationsViewportData=function(e){var o=null!==this._cachedModelDecorationsResolver;return o=o&&e.equalsRange(this._cachedModelDecorationsResolverViewRange),o||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver},e.prototype._getDecorationsViewportData=function(e){for(var o=this._linesCollection.getDecorationsInRange(e,this.editorId,this.configuration.editor.readOnly),n=e.startLineNumber,r=e.endLineNumber,a=[],s=0,c=[],l=n;r>=l;l++)c[l-n]=[];for(var d=0,h=o.length;h>d;d++){var u=o[d],m=u.options,v=this._getOrCreateViewModelDecoration(u),C=v.range;if(a[s++]=v,m.inlineClassName)for(var _=new i.InlineDecoration(C,m.inlineClassName,m.inlineClassNameAffectsLetterSpacing?3:0),p=Math.max(n,C.startLineNumber),D=Math.min(r,C.endLineNumber),l=p;D>=l;l++)c[l-n].push(_);if(m.beforeContentClassName&&n<=C.startLineNumber&&C.startLineNumber<=r){var _=new i.InlineDecoration(new t.Range(C.startLineNumber,C.startColumn,C.startLineNumber,C.startColumn),m.beforeContentClassName,1);c[C.startLineNumber-n].push(_)}if(m.afterContentClassName&&n<=C.endLineNumber&&C.endLineNumber<=r){var _=new i.InlineDecoration(new t.Range(C.endLineNumber,C.endColumn,C.endLineNumber,C.endColumn),m.afterContentClassName,2);c[C.endLineNumber-n].push(_)}}return{decorations:a,inlineDecorations:c}},e}();o.ViewModelDecorations=r});
;/*!node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModelImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModelImpl",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),o=e("node_modules/monaco-editor/esm/vs/base/common/color"),r=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),l=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),d=e("node_modules/monaco-editor/esm/vs/editor/common/modes/textToHtmlTokenizer"),u=e("node_modules/monaco-editor/esm/vs/editor/common/view/minimapCharRenderer"),c=i.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/view/viewEvents")),m=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLayout"),g=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/characterHardWrappingLineMapper"),p=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/splitLinesCollection"),h=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel"),v=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModelDecorations"),w=e("node_modules/monaco-editor/esm/vs/base/common/async"),f=!0,L=function(e){function t(t,i,n,o){var r=e.call(this)||this;if(r.editorId=t,r.configuration=i,r.model=n,r._tokenizeViewportSoon=r._register(new w.RunOnceScheduler(function(){return r.tokenizeViewport()},50)),r.hasFocus=!1,r.viewportStartLine=-1,r.viewportStartLineTrackedRange=null,r.viewportStartLineDelta=0,f&&r.model.isTooLargeForTokenization())r.lines=new p.IdentityLinesCollection(r.model);else{var a=r.configuration.editor,s=new g.CharacterHardWrappingLineMapperFactory(a.wrappingInfo.wordWrapBreakBeforeCharacters,a.wrappingInfo.wordWrapBreakAfterCharacters,a.wrappingInfo.wordWrapBreakObtrusiveCharacters);r.lines=new p.SplitLinesCollection(r.model,s,r.model.getOptions().tabSize,a.wrappingInfo.wrappingColumn,a.fontInfo.typicalFullwidthCharacterWidth/a.fontInfo.typicalHalfwidthCharacterWidth,a.wrappingInfo.wrappingIndent)}return r.coordinatesConverter=r.lines.createCoordinatesConverter(),r.viewLayout=r._register(new m.ViewLayout(r.configuration,r.getLineCount(),o)),r._register(r.viewLayout.onDidScroll(function(e){e.scrollTopChanged&&r._tokenizeViewportSoon.schedule();try{var t=r._beginEmit();t.emit(new c.ViewScrollChangedEvent(e))}finally{r._endEmit()}})),r.decorations=new v.ViewModelDecorations(r.editorId,r.model,r.configuration,r.lines,r.coordinatesConverter),r._registerModelEvents(),r._register(r.configuration.onDidChange(function(e){try{var t=r._beginEmit();r._onConfigurationChanged(t,e)}finally{r._endEmit()}})),r._register(u.MinimapTokensColorTracker.getInstance().onDidChange(function(){try{var e=r._beginEmit();e.emit(new c.ViewTokensColorsChangedEvent)}finally{r._endEmit()}})),r}return n(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this.decorations.dispose(),this.lines.dispose(),this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,null,1)},t.prototype.tokenizeViewport=function(){var e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new a.Position(e.startLineNumber,1)),i=this.coordinatesConverter.convertViewPositionToModelPosition(new a.Position(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,i.lineNumber)},t.prototype.setHasFocus=function(e){this.hasFocus=e},t.prototype._onConfigurationChanged=function(e,t){var i=null;if(-1!==this.viewportStartLine){var n=new a.Position(this.viewportStartLine,this.getLineMinColumn(this.viewportStartLine));i=this.coordinatesConverter.convertViewPositionToModelPosition(n)}var o=!1,r=this.configuration.editor;if(this.lines.setWrappingSettings(r.wrappingInfo.wrappingIndent,r.wrappingInfo.wrappingColumn,r.fontInfo.typicalFullwidthCharacterWidth/r.fontInfo.typicalHalfwidthCharacterWidth)&&(e.emit(new c.ViewFlushedEvent),e.emit(new c.ViewLineMappingChangedEvent),e.emit(new c.ViewDecorationsChangedEvent),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(o=!0)),t.readOnly&&(this.decorations.reset(),e.emit(new c.ViewDecorationsChangedEvent)),e.emit(new c.ViewConfigurationChangedEvent(t)),this.viewLayout.onConfigurationChanged(t),o&&i){var s=this.coordinatesConverter.convertModelPositionToViewPosition(i),l=this.viewLayout.getVerticalOffsetForLineNumber(s.lineNumber);this.viewLayout.setScrollPositionNow({scrollTop:l+this.viewportStartLineDelta})}},t.prototype._registerModelEvents=function(){var e=this;this._register(this.model.onDidChangeRawContentFast(function(t){try{for(var i=e._beginEmit(),n=!1,o=!1,r=t.changes,a=t.versionId,s=0,l=r.length;l>s;s++){var d=r[s];switch(d.changeType){case 1:e.lines.onModelFlushed(),i.emit(new c.ViewFlushedEvent),e.decorations.reset(),e.viewLayout.onFlushed(e.getLineCount()),n=!0;break;case 3:var u=e.lines.onModelLinesDeleted(a,d.fromLineNumber,d.toLineNumber);null!==u&&(i.emit(u),e.viewLayout.onLinesDeleted(u.fromLineNumber,u.toLineNumber)),n=!0;break;case 4:var m=e.lines.onModelLinesInserted(a,d.fromLineNumber,d.toLineNumber,d.detail);null!==m&&(i.emit(m),e.viewLayout.onLinesInserted(m.fromLineNumber,m.toLineNumber)),n=!0;break;case 2:var g=e.lines.onModelLineChanged(a,d.lineNumber,d.detail),p=g[0],h=g[1],m=g[2],u=g[3];o=p,h&&i.emit(h),m&&(i.emit(m),e.viewLayout.onLinesInserted(m.fromLineNumber,m.toLineNumber)),u&&(i.emit(u),e.viewLayout.onLinesDeleted(u.fromLineNumber,u.toLineNumber));break;case 5:}}e.lines.acceptVersionId(a),e.viewLayout.onHeightMaybeChanged(),!n&&o&&(i.emit(new c.ViewLineMappingChangedEvent),i.emit(new c.ViewDecorationsChangedEvent),e.decorations.onLineMappingChanged())}finally{e._endEmit()}if(e.viewportStartLine=-1,e.configuration.setMaxLineNumber(e.model.getLineCount()),!e.hasFocus&&e.model.getAttachedEditorCount()>=2&&e.viewportStartLineTrackedRange){var v=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(v){var w=e.coordinatesConverter.convertModelPositionToViewPosition(v.getStartPosition()),f=e.viewLayout.getVerticalOffsetForLineNumber(w.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:f+e.viewportStartLineDelta})}}})),this._register(this.model.onDidChangeTokens(function(t){for(var i=[],n=0,o=t.ranges.length;o>n;n++){var r=t.ranges[n],s=e.coordinatesConverter.convertModelPositionToViewPosition(new a.Position(r.fromLineNumber,1)).lineNumber,l=e.coordinatesConverter.convertModelPositionToViewPosition(new a.Position(r.toLineNumber,e.model.getLineMaxColumn(r.toLineNumber))).lineNumber;i[n]={fromLineNumber:s,toLineNumber:l}}try{var d=e._beginEmit();d.emit(new c.ViewTokensChangedEvent(i))}finally{e._endEmit()}t.tokenizationSupportChanged&&e._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(function(){try{var t=e._beginEmit();t.emit(new c.ViewLanguageConfigurationEvent)}finally{e._endEmit()}})),this._register(this.model.onDidChangeOptions(function(){if(e.lines.setTabSize(e.model.getOptions().tabSize)){e.decorations.onLineMappingChanged(),e.viewLayout.onFlushed(e.getLineCount());try{var t=e._beginEmit();t.emit(new c.ViewFlushedEvent),t.emit(new c.ViewLineMappingChangedEvent),t.emit(new c.ViewDecorationsChangedEvent)}finally{e._endEmit()}}})),this._register(this.model.onDidChangeDecorations(function(){e.decorations.onModelDecorationsChanged();try{var t=e._beginEmit();t.emit(new c.ViewDecorationsChangedEvent)}finally{e._endEmit()}}))},t.prototype.setHiddenAreas=function(e){try{var t=this._beginEmit(),i=this.lines.setHiddenAreas(e);i&&(t.emit(new c.ViewFlushedEvent),t.emit(new c.ViewLineMappingChangedEvent),t.emit(new c.ViewDecorationsChangedEvent),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._endEmit()}},t.prototype.getVisibleRanges=function(){var e=this.getCompletelyVisibleViewRange(),t=this.coordinatesConverter.convertViewRangeToModelRange(e),i=this.lines.getHiddenAreas();if(0===i.length)return[t];for(var n=[],o=0,r=t.startLineNumber,a=t.startColumn,l=t.endLineNumber,d=t.endColumn,u=0,c=i.length;c>u;u++){var m=i[u].startLineNumber,g=i[u].endLineNumber;r>g||m>l||(m>r&&(n[o++]=new s.Range(r,a,m-1,this.model.getLineMaxColumn(m-1))),r=g+1,a=1)}return(l>r||r===l&&d>a)&&(n[o++]=new s.Range(r,a,l,d)),n},t.prototype.getCompletelyVisibleViewRange=function(){var e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,i=e.completelyVisibleEndLineNumber;return new s.Range(t,this.getLineMinColumn(t),i,this.getLineMaxColumn(i))},t.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){var t=this.viewLayout.getLinesViewportDataAtScrollTop(e),i=t.completelyVisibleStartLineNumber,n=t.completelyVisibleEndLineNumber;return new s.Range(i,this.getLineMinColumn(i),n,this.getLineMaxColumn(n))},t.prototype.saveState=function(){var e=this.viewLayout.saveState(),t=e.scrollTop,i=this.viewLayout.getLineNumberAtVerticalOffset(t),n=this.coordinatesConverter.convertViewPositionToModelPosition(new a.Position(i,this.getLineMinColumn(i))),o=this.viewLayout.getVerticalOffsetForLineNumber(i)-t;return{scrollLeft:e.scrollLeft,firstPosition:n,firstPositionDeltaTop:o}},t.prototype.reduceRestoreState=function(e){if("undefined"==typeof e.firstPosition)return this._reduceRestoreStateCompatibility(e);var t=this.model.validatePosition(e.firstPosition),i=this.coordinatesConverter.convertModelPositionToViewPosition(t),n=this.viewLayout.getVerticalOffsetForLineNumber(i.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:n}},t.prototype._reduceRestoreStateCompatibility=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}},t.prototype.getTabSize=function(){return this.model.getOptions().tabSize},t.prototype.getOptions=function(){return this.model.getOptions()},t.prototype.getLineCount=function(){return this.lines.getViewLineCount()},t.prototype.setViewport=function(e,t){this.lines.warmUpLookupCache(e,t),this.viewportStartLine=e;var i=this.coordinatesConverter.convertViewPositionToModelPosition(new a.Position(e,this.getLineMinColumn(e)));this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,new s.Range(i.lineNumber,i.column,i.lineNumber,i.column),1);var n=this.viewLayout.getVerticalOffsetForLineNumber(e),o=this.viewLayout.getCurrentScrollTop();this.viewportStartLineDelta=o-n},t.prototype.getActiveIndentGuide=function(e,t,i){return this.lines.getActiveIndentGuide(e,t,i)},t.prototype.getLinesIndentGuides=function(e,t){return this.lines.getViewLinesIndentGuides(e,t)},t.prototype.getLineContent=function(e){return this.lines.getViewLineContent(e)},t.prototype.getLineLength=function(e){return this.lines.getViewLineLength(e)},t.prototype.getLineMinColumn=function(e){return this.lines.getViewLineMinColumn(e)},t.prototype.getLineMaxColumn=function(e){return this.lines.getViewLineMaxColumn(e)},t.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=r.firstNonWhitespaceIndex(this.getLineContent(e));return-1===t?0:t+1},t.prototype.getLineLastNonWhitespaceColumn=function(e){var t=r.lastNonWhitespaceIndex(this.getLineContent(e));return-1===t?0:t+2},t.prototype.getDecorationsInViewport=function(e){return this.decorations.getDecorationsViewportData(e).decorations},t.prototype.getViewLineRenderingData=function(e,t){var i=this.model.mightContainRTL(),n=this.model.mightContainNonBasicASCII(),o=this.getTabSize(),r=this.lines.getViewLineData(t),a=this.decorations.getDecorationsViewportData(e).inlineDecorations,s=a[t-e.startLineNumber];return new h.ViewLineRenderingData(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,i,n,r.tokens,s,o)},t.prototype.getViewLineData=function(e){return this.lines.getViewLineData(e)},t.prototype.getMinimapLinesRenderingData=function(e,t,i){var n=this.lines.getViewLinesData(e,t,i);return new h.MinimapLinesRenderingData(this.getTabSize(),n)},t.prototype.getAllOverviewRulerDecorations=function(e){return this.lines.getAllOverviewRulerDecorations(this.editorId,this.configuration.editor.readOnly,e)},t.prototype.invalidateOverviewRulerColorCache=function(){for(var e=this.model.getOverviewRulerDecorations(),t=0,i=e;t<i.length;t++){var n=i[t],o=n.options.overviewRuler;o&&o.invalidateCachedColor()}},t.prototype.getValueInRange=function(e,t){var i=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(i,t)},t.prototype.getModelLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},t.prototype.validateModelPosition=function(e){return this.model.validatePosition(e)},t.prototype.validateModelRange=function(e){return this.model.validateRange(e)},t.prototype.deduceModelPositionRelativeToViewPosition=function(e,t,i){var n=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(0>t?t-=i:t+=i);var o=this.model.getOffsetAt(n),r=o+t;return this.model.getPositionAt(r)},t.prototype.getEOL=function(){return this.model.getEOL()},t.prototype.getPlainTextToCopy=function(e,t,i){var n=this,o=i?"\r\n":this.model.getEOL();e=e.slice(0),e.sort(s.Range.compareRangesUsingStarts);var r=e.filter(function(e){return!e.isEmpty()});if(0===r.length){if(!t)return"";for(var l=e.map(function(e){var t=new a.Position(e.startLineNumber,1);return n.coordinatesConverter.convertViewPositionToModelPosition(t).lineNumber}),d="",u=0;u<l.length;u++)u>0&&l[u-1]===l[u]||(d+=this.model.getLineContent(l[u])+o);return d}for(var c=[],m=0,g=r;m<g.length;m++){var p=g[m];c.push(this.getValueInRange(p,i?2:0))}return 1===c.length?c[0]:c},t.prototype.getHTMLToCopy=function(e,t){if(1===this.model.getLanguageIdentifier().id)return null;if(1!==e.length)return null;var i=this.coordinatesConverter.convertViewRangeToModelRange(e[0]);if(i.isEmpty()){if(!t)return null;var n=i.startLineNumber;i=new s.Range(n,this.model.getLineMinColumn(n),n,this.model.getLineMaxColumn(n))}var o=this.configuration.editor.fontInfo,r=this._getColorMap();return'<div style="'+("color: "+r[1]+";")+("background-color: "+r[2]+";")+("font-family: "+o.fontFamily+";")+("font-weight: "+o.fontWeight+";")+("font-size: "+o.fontSize+"px;")+("line-height: "+o.lineHeight+"px;")+'white-space: pre;">'+this._getHTMLToCopy(i,r)+"</div>"},t.prototype._getHTMLToCopy=function(e,t){for(var i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,r=e.endColumn,a=this.getTabSize(),s="",l=i;o>=l;l++){var u=this.model.getLineTokens(l),c=u.getLineContent(),m=l===i?n-1:0,g=l===o?r-1:c.length;s+=""===c?"<br>":d.tokenizeLineToHTML(c,u.inflate(),t,m,g,a)}return s},t.prototype._getColorMap=function(){var e=l.TokenizationRegistry.getColorMap(),t=["#000000"];if(e)for(var i=1,n=e.length;n>i;i++)t[i]=o.Color.Format.CSS.formatHex(e[i]);return t},t}(c.ViewEventEmitter);t.ViewModel=L});
;/*!node_modules/monaco-editor/esm/vs/platform/instantiation/common/serviceCollection.js*/
define("node_modules/monaco-editor/esm/vs/platform/instantiation/common/serviceCollection",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],s=o[1];this.set(i,s)}}return e.prototype.set=function(e,t){var n=this._entries.get(e);return this._entries.set(e,t),n},e.prototype.has=function(e){return this._entries.has(e)},e.prototype.get=function(e){return this._entries.get(e)},e}();t.ServiceCollection=n});
;/*!node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility.js*/
define("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility",function(e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");i.IAccessibilityService=o.createDecorator("accessibilityService")});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget",function(e,t){"use strict";function o(e){return Z+encodeURIComponent(e.toString())+z}function i(e){return G+encodeURIComponent(e.toString())+X}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),s=this&&this.__decorate||function(e,t,o,i){var n,r=arguments.length,s=3>r?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(3>r?n(s):r>3?n(t,o,s):n(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},a=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},d=n.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),l=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),u=e("node_modules/monaco-editor/esm/vs/base/common/errors"),c=e("node_modules/monaco-editor/esm/vs/base/common/event"),m=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),h=e("node_modules/monaco-editor/esm/vs/base/common/network"),g=e("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration"),_=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),p=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),v=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewImpl"),f=e("node_modules/monaco-editor/esm/vs/editor/browser/view/viewOutgoingEvents"),y=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursor"),D=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),C=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),w=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),S=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),E=e("node_modules/monaco-editor/esm/vs/editor/common/editorAction"),P=n.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/editorCommon")),b=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),R=n.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),T=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),M=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModelImpl"),x=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),F=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),I=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),L=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/serviceCollection"),W=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),O=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),V=e("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility"),K=e("node_modules/monaco-editor/esm/vs/base/common/types"),N=0,H="showUnused",A=function(){function e(e,t,o,i,n,r){this.model=e,this.viewModel=t,this.cursor=o,this.view=i,this.hasRealView=n,this.listenersToRemove=r}return e.prototype.dispose=function(){m.dispose(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},e}(),k=function(e){function t(t,o,i,n,r,s,a,d,l,m){var h=e.call(this)||this;h._onDidDispose=h._register(new c.Emitter),h.onDidDispose=h._onDidDispose.event,h._onDidChangeModelContent=h._register(new c.Emitter),h.onDidChangeModelContent=h._onDidChangeModelContent.event,h._onDidChangeModelLanguage=h._register(new c.Emitter),h.onDidChangeModelLanguage=h._onDidChangeModelLanguage.event,h._onDidChangeModelLanguageConfiguration=h._register(new c.Emitter),h.onDidChangeModelLanguageConfiguration=h._onDidChangeModelLanguageConfiguration.event,h._onDidChangeModelOptions=h._register(new c.Emitter),h.onDidChangeModelOptions=h._onDidChangeModelOptions.event,h._onDidChangeModelDecorations=h._register(new c.Emitter),h.onDidChangeModelDecorations=h._onDidChangeModelDecorations.event,h._onDidChangeConfiguration=h._register(new c.Emitter),h.onDidChangeConfiguration=h._onDidChangeConfiguration.event,h._onDidChangeModel=h._register(new c.Emitter),h.onDidChangeModel=h._onDidChangeModel.event,h._onDidChangeCursorPosition=h._register(new c.Emitter),h.onDidChangeCursorPosition=h._onDidChangeCursorPosition.event,h._onDidChangeCursorSelection=h._register(new c.Emitter),h.onDidChangeCursorSelection=h._onDidChangeCursorSelection.event,h._onDidAttemptReadOnlyEdit=h._register(new c.Emitter),h.onDidAttemptReadOnlyEdit=h._onDidAttemptReadOnlyEdit.event,h._onDidLayoutChange=h._register(new c.Emitter),h.onDidLayoutChange=h._onDidLayoutChange.event,h._editorTextFocus=h._register(new U),h.onDidFocusEditorText=h._editorTextFocus.onDidChangeToTrue,h.onDidBlurEditorText=h._editorTextFocus.onDidChangeToFalse,h._editorWidgetFocus=h._register(new U),h.onDidFocusEditorWidget=h._editorWidgetFocus.onDidChangeToTrue,h.onDidBlurEditorWidget=h._editorWidgetFocus.onDidChangeToFalse,h._onWillType=h._register(new c.Emitter),h.onWillType=h._onWillType.event,h._onDidType=h._register(new c.Emitter),h.onDidType=h._onDidType.event,h._onCompositionStart=h._register(new c.Emitter),h.onCompositionStart=h._onCompositionStart.event,h._onCompositionEnd=h._register(new c.Emitter),h.onCompositionEnd=h._onCompositionEnd.event,h._onDidPaste=h._register(new c.Emitter),h.onDidPaste=h._onDidPaste.event,h._onMouseUp=h._register(new c.Emitter),h.onMouseUp=h._onMouseUp.event,h._onMouseDown=h._register(new c.Emitter),h.onMouseDown=h._onMouseDown.event,h._onMouseDrag=h._register(new c.Emitter),h.onMouseDrag=h._onMouseDrag.event,h._onMouseDrop=h._register(new c.Emitter),h.onMouseDrop=h._onMouseDrop.event,h._onContextMenu=h._register(new c.Emitter),h.onContextMenu=h._onContextMenu.event,h._onMouseMove=h._register(new c.Emitter),h.onMouseMove=h._onMouseMove.event,h._onMouseLeave=h._register(new c.Emitter),h.onMouseLeave=h._onMouseLeave.event,h._onMouseWheel=h._register(new c.Emitter),h.onMouseWheel=h._onMouseWheel.event,h._onKeyUp=h._register(new c.Emitter),h.onKeyUp=h._onKeyUp.event,h._onKeyDown=h._register(new c.Emitter),h.onKeyDown=h._onKeyDown.event,h._onDidScrollChange=h._register(new c.Emitter),h.onDidScrollChange=h._onDidScrollChange.event,h._onDidChangeViewZones=h._register(new c.Emitter),h.onDidChangeViewZones=h._onDidChangeViewZones.event,h._domElement=t,h._id=++N,h._decorationTypeKeysToIds={},h._decorationTypeSubtypes={},h.isSimpleWidget=i.isSimpleWidget||!1,h._telemetryData=i.telemetryData,o=o||{},h._configuration=h._register(h._createConfiguration(o,m)),h._register(h._configuration.onDidChange(function(e){h._onDidChangeConfiguration.fire(e),e.layoutInfo&&h._onDidLayoutChange.fire(h._configuration.editor.layoutInfo),h._configuration.editor.showUnused?h._domElement.classList.add(H):h._domElement.classList.remove(H)})),h._contextKeyService=h._register(a.createScoped(h._domElement)),h._notificationService=l,h._codeEditorService=r,h._commandService=s,h._themeService=d,h._register(new B(h,h._contextKeyService)),h._register(new j(h,h._contextKeyService)),h._instantiationService=n.createChild(new L.ServiceCollection([F.IContextKeyService,h._contextKeyService])),h._attachModel(null),h._contributions={},h._actions={},h._focusTracker=new q(t),h._focusTracker.onChange(function(){h._editorWidgetFocus.setValue(h._focusTracker.hasFocus())}),h._contentWidgets={},h._overlayWidgets={};var g;g=Array.isArray(i.contributions)?i.contributions:_.EditorExtensionsRegistry.getEditorContributions();for(var p=0,v=g.length;v>p;p++){var f=g[p];try{var y=h._instantiationService.createInstance(f,h);h._contributions[y.getId()]=y}catch(D){u.onUnexpectedError(D)}}return _.EditorExtensionsRegistry.getEditorActions().forEach(function(e){var t=new E.InternalEditorAction(e.id,e.label,e.alias,K.withNullAsUndefined(e.precondition),function(){return h._instantiationService.invokeFunction(function(t){return Promise.resolve(e.runEditorCommand(t,h,null))})},h._contextKeyService);h._actions[t.id]=t}),h._codeEditorService.addCodeEditor(h),h}return r(t,e),t.prototype._createConfiguration=function(e,t){return new g.Configuration(this.isSimpleWidget,e,this._domElement,t)},t.prototype.getId=function(){return this.getEditorType()+":"+this._id},t.prototype.getEditorType=function(){return P.EditorType.ICodeEditor},t.prototype.dispose=function(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();for(var t=Object.keys(this._contributions),o=0,i=t.length;i>o;o++){var n=t[o];this._contributions[n].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),e.prototype.dispose.call(this)},t.prototype.invokeWithinContext=function(e){return this._instantiationService.invokeFunction(e)},t.prototype.updateOptions=function(e){this._configuration.updateOptions(e)},t.prototype.getConfiguration=function(){return this._configuration.editor},t.prototype.getRawConfiguration=function(){return this._configuration.getRawOptions()},t.prototype.getValue=function(e){if(void 0===e&&(e=null),!this._modelData)return"";var t=e&&e.preserveBOM?!0:!1,o=0;return e&&e.lineEnding&&"\n"===e.lineEnding?o=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(o=2),this._modelData.model.getValue(o,t)},t.prototype.setValue=function(e){this._modelData&&this._modelData.model.setValue(e)},t.prototype.getModel=function(){return this._modelData?this._modelData.model:null},t.prototype.setModel=function(e){void 0===e&&(e=null);var t=e;if(!(null===this._modelData&&null===t||this._modelData&&this._modelData.model===t)){var o=this._detachModel();this._attachModel(t);var i={oldModelUrl:o?o.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(i),this._postDetachModelCleanup(o)}},t.prototype._removeDecorationTypes=function(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(var e in this._decorationTypeSubtypes){var t=this._decorationTypeSubtypes[e];for(var o in t)this._removeDecorationType(e+"-"+o)}this._decorationTypeSubtypes={}}},t.prototype.getVisibleRanges=function(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]},t.prototype.getWhitespaces=function(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]},t._getVerticalOffsetForPosition=function(e,t,o){var i=e.model.validatePosition({lineNumber:t,column:o}),n=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(i);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)},t.prototype.getTopForLineNumber=function(e){return this._modelData?t._getVerticalOffsetForPosition(this._modelData,e,1):-1},t.prototype.getTopForPosition=function(e,o){return this._modelData?t._getVerticalOffsetForPosition(this._modelData,e,o):-1},t.prototype.setHiddenAreas=function(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map(function(e){return w.Range.lift(e)}))},t.prototype.getVisibleColumnFromPosition=function(e){if(!this._modelData)return e.column;var t=this._modelData.model.validatePosition(e),o=this._modelData.model.getOptions().tabSize;return D.CursorColumns.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,o)+1},t.prototype.getPosition=function(){return this._modelData?this._modelData.cursor.getPosition():null},t.prototype.setPosition=function(e){if(this._modelData){if(!C.Position.isIPosition(e))throw new Error("Invalid arguments");this._modelData.cursor.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}},t.prototype._sendRevealRange=function(e,t,o,i){if(this._modelData){if(!w.Range.isIRange(e))throw new Error("Invalid arguments");var n=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(n);this._modelData.cursor.emitCursorRevealRange(r,t,o,i)}},t.prototype.revealLine=function(e,t){void 0===t&&(t=0),this._revealLine(e,0,t)},t.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this._revealLine(e,1,t)},t.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealLine(e,2,t)},t.prototype._revealLine=function(e,t,o){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new w.Range(e,1,e,1),t,!1,o)},t.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this._revealPosition(e,0,!0,t)},t.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this._revealPosition(e,1,!0,t)},t.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealPosition(e,2,!0,t)},t.prototype._revealPosition=function(e,t,o,i){if(!C.Position.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new w.Range(e.lineNumber,e.column,e.lineNumber,e.column),t,o,i)},t.prototype.getSelection=function(){return this._modelData?this._modelData.cursor.getSelection():null},t.prototype.getSelections=function(){return this._modelData?this._modelData.cursor.getSelections():null},t.prototype.setSelection=function(e){var t=S.Selection.isISelection(e),o=w.Range.isIRange(e);if(!t&&!o)throw new Error("Invalid arguments");if(t)this._setSelectionImpl(e);else if(o){var i={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(i)}},t.prototype._setSelectionImpl=function(e){if(this._modelData){var t=new S.Selection(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.cursor.setSelections("api",[t])}},t.prototype.revealLines=function(e,t,o){void 0===o&&(o=0),this._revealLines(e,t,0,o)},t.prototype.revealLinesInCenter=function(e,t,o){void 0===o&&(o=0),this._revealLines(e,t,1,o)},t.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,o){void 0===o&&(o=0),this._revealLines(e,t,2,o)},t.prototype._revealLines=function(e,t,o,i){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new w.Range(e,1,t,1),o,!1,i)},t.prototype.revealRange=function(e,t,o,i){void 0===t&&(t=0),void 0===o&&(o=!1),void 0===i&&(i=!0),this._revealRange(e,o?1:0,i,t)},t.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this._revealRange(e,1,!0,t)},t.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealRange(e,2,!0,t)},t.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this._revealRange(e,3,!0,t)},t.prototype._revealRange=function(e,t,o,i){if(!w.Range.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(w.Range.lift(e),t,o,i)},t.prototype.setSelections=function(e,t){if(void 0===t&&(t="api"),this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(var o=0,i=e.length;i>o;o++)if(!S.Selection.isISelection(e[o]))throw new Error("Invalid arguments");this._modelData.cursor.setSelections(t,e)}},t.prototype.getScrollWidth=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1},t.prototype.getScrollLeft=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1},t.prototype.getScrollHeight=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1},t.prototype.getScrollTop=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1},t.prototype.setScrollLeft=function(e){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollLeft:e})}},t.prototype.setScrollTop=function(e){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollTop:e})}},t.prototype.setScrollPosition=function(e){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPositionNow(e)},t.prototype.saveViewState=function(){if(!this._modelData)return null;for(var e={},t=Object.keys(this._contributions),o=0,i=t;o<i.length;o++){var n=i[o],r=this._contributions[n];"function"==typeof r.saveViewState&&(e[n]=r.saveViewState())}var s=this._modelData.cursor.saveState(),a=this._modelData.viewModel.saveState();return{cursorState:s,viewState:a,contributionsState:e}},t.prototype.restoreViewState=function(e){if(this._modelData&&this._modelData.hasRealView){var t=e;if(t&&t.cursorState&&t.viewState){var o=t.cursorState;this._modelData.cursor.restoreState(Array.isArray(o)?o:[o]);for(var i=t.contributionsState||{},n=Object.keys(this._contributions),r=0,s=n.length;s>r;r++){var a=n[r],d=this._contributions[a];"function"==typeof d.restoreViewState&&d.restoreViewState(i[a])}var l=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(l)}}},t.prototype.getContribution=function(e){return this._contributions[e]||null},t.prototype.getActions=function(){for(var e=[],t=Object.keys(this._actions),o=0,i=t.length;i>o;o++){var n=t[o];e.push(this._actions[n])}return e},t.prototype.getSupportedActions=function(){var e=this.getActions();return e=e.filter(function(e){return e.isSupported()})},t.prototype.getAction=function(e){return this._actions[e]||null},t.prototype.trigger=function(e,t,o){if(o=o||{},t===P.Handler.Type){if(!this._modelData||"string"!=typeof o.text||0===o.text.length)return;return"keyboard"===e&&this._onWillType.fire(o.text),this._modelData.cursor.trigger(e,t,o),void("keyboard"===e&&this._onDidType.fire(o.text))}if(t===P.Handler.Paste){if(!this._modelData||"string"!=typeof o.text||0===o.text.length)return;var i=this._modelData.cursor.getSelection().getStartPosition();this._modelData.cursor.trigger(e,t,o);var n=this._modelData.cursor.getSelection().getStartPosition();return void("keyboard"===e&&this._onDidPaste.fire(new w.Range(i.lineNumber,i.column,n.lineNumber,n.column)))}t===P.Handler.CompositionStart&&this._onCompositionStart.fire(),t===P.Handler.CompositionEnd&&this._onCompositionEnd.fire();var r=this.getAction(t);return r?void Promise.resolve(r.run()).then(void 0,u.onUnexpectedError):void(this._modelData&&(this._triggerEditorCommand(e,t,o)||this._modelData.cursor.trigger(e,t,o)))},t.prototype._triggerEditorCommand=function(e,t,o){var i=this,n=_.EditorExtensionsRegistry.getEditorCommand(t);return n?(o=o||{},o.source=e,this._instantiationService.invokeFunction(function(e){Promise.resolve(n.runEditorCommand(e,i,o)).then(void 0,u.onUnexpectedError)}),!0):!1},t.prototype._getCursors=function(){return this._modelData?this._modelData.cursor:null},t.prototype.pushUndoStop=function(){return this._modelData?this._configuration.editor.readOnly?!1:(this._modelData.model.pushStackElement(),!0):!1},t.prototype.executeEdits=function(e,t,o){return this._modelData?this._configuration.editor.readOnly?!1:(this._modelData.model.pushEditOperations(this._modelData.cursor.getSelections(),t,function(){return o?o:null}),o&&this._modelData.cursor.setSelections(e,o),!0):!1},t.prototype.executeCommand=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,P.Handler.ExecuteCommand,t)},t.prototype.executeCommands=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,P.Handler.ExecuteCommands,t)},t.prototype.changeDecorations=function(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null},t.prototype.getLineDecorations=function(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,this._configuration.editor.readOnly):null},t.prototype.deltaDecorations=function(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]},t.prototype.removeDecorations=function(e){var t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]},t.prototype.getLayoutInfo=function(){return this._configuration.editor.layoutInfo},t.prototype.createOverviewRuler=function(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null},t.prototype.getDomNode=function(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)},t.prototype.layout=function(e){this._configuration.observeReferenceElement(e),this.render()},t.prototype.focus=function(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()},t.prototype.hasTextFocus=function(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.isFocused():!1},t.prototype.hasWidgetFocus=function(){return this._focusTracker&&this._focusTracker.hasFocus()},t.prototype.addContentWidget=function(e){var t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)},t.prototype.layoutContentWidget=function(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){var o=this._contentWidgets[t];o.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(o)}},t.prototype.removeContentWidget=function(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){var o=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(o)}},t.prototype.addOverlayWidget=function(e){var t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)},t.prototype.layoutOverlayWidget=function(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){var o=this._overlayWidgets[t];o.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(o)}},t.prototype.removeOverlayWidget=function(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){var o=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(o)}},t.prototype.changeViewZones=function(e){if(this._modelData&&this._modelData.hasRealView){var t=this._modelData.view.change(e);t&&this._onDidChangeViewZones.fire()}},t.prototype.getTargetAtClientPoint=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null},t.prototype.getScrolledVisiblePosition=function(e){if(!this._modelData||!this._modelData.hasRealView)return null;var o=this._modelData.model.validatePosition(e),i=this._configuration.editor.layoutInfo,n=t._getVerticalOffsetForPosition(this._modelData,o.lineNumber,o.column)-this.getScrollTop(),r=this._modelData.view.getOffsetForColumn(o.lineNumber,o.column)+i.glyphMarginWidth+i.lineNumbersWidth+i.decorationsWidth-this.getScrollLeft();return{top:n,left:r,height:this._configuration.editor.lineHeight}},t.prototype.getOffsetForColumn=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1},t.prototype.render=function(e){void 0===e&&(e=!1),this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)},t.prototype.applyFontInfo=function(e){g.Configuration.applyFontInfoSlow(e,this._configuration.editor.fontInfo)},t.prototype._attachModel=function(e){var t=this;if(!e)return void(this._modelData=null);var o=[];this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached();var i=new M.ViewModel(this._id,this._configuration,e,function(e){return l.scheduleAtNextAnimationFrame(e)});o.push(e.onDidChangeDecorations(function(e){return t._onDidChangeModelDecorations.fire(e)})),o.push(e.onDidChangeLanguage(function(o){t._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),t._onDidChangeModelLanguage.fire(o)})),o.push(e.onDidChangeLanguageConfiguration(function(e){return t._onDidChangeModelLanguageConfiguration.fire(e)})),o.push(e.onDidChangeContent(function(e){return t._onDidChangeModelContent.fire(e)})),o.push(e.onDidChangeOptions(function(e){return t._onDidChangeModelOptions.fire(e)})),o.push(e.onWillDispose(function(){return t.setModel(null)}));var n=new y.Cursor(this._configuration,e,i);o.push(n.onDidReachMaxCursorCount(function(){t._notificationService.warn(d.localize("cursors.maximum","The number of cursors has been limited to {0}.",y.Cursor.MAX_CURSOR_COUNT))})),o.push(n.onDidAttemptReadOnlyEdit(function(){t._onDidAttemptReadOnlyEdit.fire(void 0)})),o.push(n.onDidChange(function(e){for(var o=[],i=0,n=e.selections.length;n>i;i++)o[i]=e.selections[i].getPosition();var r={position:o[0],secondaryPositions:o.slice(1),reason:e.reason,source:e.source};t._onDidChangeCursorPosition.fire(r);var s={selection:e.selections[0],secondarySelections:e.selections.slice(1),source:e.source,reason:e.reason};t._onDidChangeCursorSelection.fire(s)}));var r=this._createView(i,n),s=r[0],a=r[1];if(a){this._domElement.appendChild(s.domNode.domNode);for(var u=Object.keys(this._contentWidgets),c=0,m=u.length;m>c;c++){var h=u[c];s.addContentWidget(this._contentWidgets[h])}u=Object.keys(this._overlayWidgets);for(var c=0,m=u.length;m>c;c++){var h=u[c];s.addOverlayWidget(this._overlayWidgets[h])}s.render(!1,!0),s.domNode.domNode.setAttribute("data-uri",e.uri.toString())}this._modelData=new A(e,i,n,s,a,o)},t.prototype._createView=function(e,t){var o,i=this;o=this.isSimpleWidget?{executeEditorCommand:function(e,o){e.runCoreEditorCommand(t,o)},paste:function(e,t,o,n){i.trigger(e,P.Handler.Paste,{text:t,pasteOnNewLine:o,multicursorText:n})},type:function(e,t){i.trigger(e,P.Handler.Type,{text:t})},replacePreviousChar:function(e,t,o){i.trigger(e,P.Handler.ReplacePreviousChar,{text:t,replaceCharCnt:o})},compositionStart:function(e){i.trigger(e,P.Handler.CompositionStart,void 0)},compositionEnd:function(e){i.trigger(e,P.Handler.CompositionEnd,void 0)},cut:function(e){i.trigger(e,P.Handler.Cut,void 0)}}:{executeEditorCommand:function(e,o){e.runCoreEditorCommand(t,o)},paste:function(e,t,o,n){i._commandService.executeCommand(P.Handler.Paste,{text:t,pasteOnNewLine:o,multicursorText:n})},type:function(e,t){i._commandService.executeCommand(P.Handler.Type,{text:t})},replacePreviousChar:function(e,t,o){i._commandService.executeCommand(P.Handler.ReplacePreviousChar,{text:t,replaceCharCnt:o})},compositionStart:function(){i._commandService.executeCommand(P.Handler.CompositionStart,{})},compositionEnd:function(){i._commandService.executeCommand(P.Handler.CompositionEnd,{})},cut:function(){i._commandService.executeCommand(P.Handler.Cut,{})}};var n=new f.ViewOutgoingEvents(e);n.onDidGainFocus=function(){i._editorTextFocus.setValue(!0),i._editorWidgetFocus.setValue(!0)},n.onDidScroll=function(e){return i._onDidScrollChange.fire(e)},n.onDidLoseFocus=function(){return i._editorTextFocus.setValue(!1)},n.onContextMenu=function(e){return i._onContextMenu.fire(e)},n.onMouseDown=function(e){return i._onMouseDown.fire(e)},n.onMouseUp=function(e){return i._onMouseUp.fire(e)},n.onMouseDrag=function(e){return i._onMouseDrag.fire(e)},n.onMouseDrop=function(e){return i._onMouseDrop.fire(e)},n.onKeyUp=function(e){return i._onKeyUp.fire(e)},n.onMouseMove=function(e){return i._onMouseMove.fire(e)},n.onMouseLeave=function(e){return i._onMouseLeave.fire(e)},n.onMouseWheel=function(e){return i._onMouseWheel.fire(e)},n.onKeyDown=function(e){return i._onKeyDown.fire(e)};var r=new v.View(o,this._configuration,this._themeService,e,t,n);return[r,!0]},t.prototype._postDetachModelCleanup=function(e){e&&e.removeAllDecorationsWithOwnerId(this._id)},t.prototype._detachModel=function(){if(!this._modelData)return null;var e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.removeChild(t),e},t.prototype._removeDecorationType=function(e){this._codeEditorService.removeDecorationType(e)},t.prototype.getTelemetryData=function(){return this._telemetryData},t.prototype.hasModel=function(){return null!==this._modelData},t=s([a(3,I.IInstantiationService),a(4,p.ICodeEditorService),a(5,x.ICommandService),a(6,F.IContextKeyService),a(7,O.IThemeService),a(8,W.INotificationService),a(9,V.IAccessibilityService)],t)}(m.Disposable);t.CodeEditorWidget=k;var U=function(e){function t(){var t=e.call(this)||this;return t._onDidChangeToTrue=t._register(new c.Emitter),t.onDidChangeToTrue=t._onDidChangeToTrue.event,t._onDidChangeToFalse=t._register(new c.Emitter),t.onDidChangeToFalse=t._onDidChangeToFalse.event,t._value=0,t}return r(t,e),t.prototype.setValue=function(e){var t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())},t}(m.Disposable);t.BooleanEventEmitter=U;var B=function(e){function t(t,o){var i=e.call(this)||this;return i._editor=t,o.createKey("editorId",t.getId()),i._editorFocus=b.EditorContextKeys.focus.bindTo(o),i._textInputFocus=b.EditorContextKeys.textInputFocus.bindTo(o),i._editorTextFocus=b.EditorContextKeys.editorTextFocus.bindTo(o),i._editorTabMovesFocus=b.EditorContextKeys.tabMovesFocus.bindTo(o),i._editorReadonly=b.EditorContextKeys.readOnly.bindTo(o),i._hasMultipleSelections=b.EditorContextKeys.hasMultipleSelections.bindTo(o),i._hasNonEmptySelection=b.EditorContextKeys.hasNonEmptySelection.bindTo(o),i._canUndo=b.EditorContextKeys.canUndo.bindTo(o),i._canRedo=b.EditorContextKeys.canRedo.bindTo(o),i._register(i._editor.onDidChangeConfiguration(function(){return i._updateFromConfig()})),i._register(i._editor.onDidChangeCursorSelection(function(){return i._updateFromSelection()})),i._register(i._editor.onDidFocusEditorWidget(function(){return i._updateFromFocus()})),i._register(i._editor.onDidBlurEditorWidget(function(){return i._updateFromFocus()})),i._register(i._editor.onDidFocusEditorText(function(){return i._updateFromFocus()})),i._register(i._editor.onDidBlurEditorText(function(){return i._updateFromFocus()})),i._register(i._editor.onDidChangeModel(function(){return i._updateFromModel()})),i._register(i._editor.onDidChangeConfiguration(function(){return i._updateFromModel()})),i._updateFromConfig(),i._updateFromSelection(),i._updateFromFocus(),i._updateFromModel(),i}return r(t,e),t.prototype._updateFromConfig=function(){var e=this._editor.getConfiguration();this._editorTabMovesFocus.set(e.tabFocusMode),this._editorReadonly.set(e.readOnly)},t.prototype._updateFromSelection=function(){var e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some(function(e){return!e.isEmpty()}))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},t.prototype._updateFromFocus=function(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())
},t.prototype._updateFromModel=function(){var e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))},t}(m.Disposable),j=function(e){function t(t,o){var i=e.call(this)||this;i._editor=t,i._contextKeyService=o,i._langId=b.EditorContextKeys.languageId.bindTo(o),i._hasCompletionItemProvider=b.EditorContextKeys.hasCompletionItemProvider.bindTo(o),i._hasCodeActionsProvider=b.EditorContextKeys.hasCodeActionsProvider.bindTo(o),i._hasCodeLensProvider=b.EditorContextKeys.hasCodeLensProvider.bindTo(o),i._hasDefinitionProvider=b.EditorContextKeys.hasDefinitionProvider.bindTo(o),i._hasDeclarationProvider=b.EditorContextKeys.hasDeclarationProvider.bindTo(o),i._hasImplementationProvider=b.EditorContextKeys.hasImplementationProvider.bindTo(o),i._hasTypeDefinitionProvider=b.EditorContextKeys.hasTypeDefinitionProvider.bindTo(o),i._hasHoverProvider=b.EditorContextKeys.hasHoverProvider.bindTo(o),i._hasDocumentHighlightProvider=b.EditorContextKeys.hasDocumentHighlightProvider.bindTo(o),i._hasDocumentSymbolProvider=b.EditorContextKeys.hasDocumentSymbolProvider.bindTo(o),i._hasReferenceProvider=b.EditorContextKeys.hasReferenceProvider.bindTo(o),i._hasRenameProvider=b.EditorContextKeys.hasRenameProvider.bindTo(o),i._hasSignatureHelpProvider=b.EditorContextKeys.hasSignatureHelpProvider.bindTo(o),i._hasDocumentFormattingProvider=b.EditorContextKeys.hasDocumentFormattingProvider.bindTo(o),i._hasDocumentSelectionFormattingProvider=b.EditorContextKeys.hasDocumentSelectionFormattingProvider.bindTo(o),i._hasMultipleDocumentFormattingProvider=b.EditorContextKeys.hasMultipleDocumentFormattingProvider.bindTo(o),i._hasMultipleDocumentSelectionFormattingProvider=b.EditorContextKeys.hasMultipleDocumentSelectionFormattingProvider.bindTo(o),i._isInWalkThrough=b.EditorContextKeys.isInEmbeddedEditor.bindTo(o);var n=function(){return i._update()};return i._register(t.onDidChangeModel(n)),i._register(t.onDidChangeModelLanguage(n)),i._register(R.CompletionProviderRegistry.onDidChange(n)),i._register(R.CodeActionProviderRegistry.onDidChange(n)),i._register(R.CodeLensProviderRegistry.onDidChange(n)),i._register(R.DefinitionProviderRegistry.onDidChange(n)),i._register(R.DeclarationProviderRegistry.onDidChange(n)),i._register(R.ImplementationProviderRegistry.onDidChange(n)),i._register(R.TypeDefinitionProviderRegistry.onDidChange(n)),i._register(R.HoverProviderRegistry.onDidChange(n)),i._register(R.DocumentHighlightProviderRegistry.onDidChange(n)),i._register(R.DocumentSymbolProviderRegistry.onDidChange(n)),i._register(R.ReferenceProviderRegistry.onDidChange(n)),i._register(R.RenameProviderRegistry.onDidChange(n)),i._register(R.DocumentFormattingEditProviderRegistry.onDidChange(n)),i._register(R.DocumentRangeFormattingEditProviderRegistry.onDidChange(n)),i._register(R.SignatureHelpProviderRegistry.onDidChange(n)),n(),i}return r(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.reset=function(){var e=this;this._contextKeyService.bufferChangeEvents(function(){e._langId.reset(),e._hasCompletionItemProvider.reset(),e._hasCodeActionsProvider.reset(),e._hasCodeLensProvider.reset(),e._hasDefinitionProvider.reset(),e._hasDeclarationProvider.reset(),e._hasImplementationProvider.reset(),e._hasTypeDefinitionProvider.reset(),e._hasHoverProvider.reset(),e._hasDocumentHighlightProvider.reset(),e._hasDocumentSymbolProvider.reset(),e._hasReferenceProvider.reset(),e._hasRenameProvider.reset(),e._hasDocumentFormattingProvider.reset(),e._hasDocumentSelectionFormattingProvider.reset(),e._hasSignatureHelpProvider.reset(),e._isInWalkThrough.reset()})},t.prototype._update=function(){var e=this,t=this._editor.getModel();return t?void this._contextKeyService.bufferChangeEvents(function(){e._langId.set(t.getLanguageIdentifier().language),e._hasCompletionItemProvider.set(R.CompletionProviderRegistry.has(t)),e._hasCodeActionsProvider.set(R.CodeActionProviderRegistry.has(t)),e._hasCodeLensProvider.set(R.CodeLensProviderRegistry.has(t)),e._hasDefinitionProvider.set(R.DefinitionProviderRegistry.has(t)),e._hasDeclarationProvider.set(R.DeclarationProviderRegistry.has(t)),e._hasImplementationProvider.set(R.ImplementationProviderRegistry.has(t)),e._hasTypeDefinitionProvider.set(R.TypeDefinitionProviderRegistry.has(t)),e._hasHoverProvider.set(R.HoverProviderRegistry.has(t)),e._hasDocumentHighlightProvider.set(R.DocumentHighlightProviderRegistry.has(t)),e._hasDocumentSymbolProvider.set(R.DocumentSymbolProviderRegistry.has(t)),e._hasReferenceProvider.set(R.ReferenceProviderRegistry.has(t)),e._hasRenameProvider.set(R.RenameProviderRegistry.has(t)),e._hasSignatureHelpProvider.set(R.SignatureHelpProviderRegistry.has(t)),e._hasDocumentFormattingProvider.set(R.DocumentFormattingEditProviderRegistry.has(t)||R.DocumentRangeFormattingEditProviderRegistry.has(t)),e._hasDocumentSelectionFormattingProvider.set(R.DocumentRangeFormattingEditProviderRegistry.has(t)),e._hasMultipleDocumentFormattingProvider.set(R.DocumentFormattingEditProviderRegistry.all(t).length+R.DocumentRangeFormattingEditProviderRegistry.all(t).length>1),e._hasMultipleDocumentSelectionFormattingProvider.set(R.DocumentRangeFormattingEditProviderRegistry.all(t).length>1),e._isInWalkThrough.set(t.uri.scheme===h.Schemas.walkThroughSnippet)}):void this.reset()},t}(m.Disposable);t.EditorModeContext=j;var q=function(e){function t(t){var o=e.call(this)||this;return o._onChange=o._register(new c.Emitter),o.onChange=o._onChange.event,o._hasFocus=!1,o._domFocusTracker=o._register(l.trackFocus(t)),o._register(o._domFocusTracker.onDidFocus(function(){o._hasFocus=!0,o._onChange.fire(void 0)})),o._register(o._domFocusTracker.onDidBlur(function(){o._hasFocus=!1,o._onChange.fire(void 0)})),o}return r(t,e),t.prototype.hasFocus=function(){return this._hasFocus},t}(m.Disposable),Z=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),z=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>"),G=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),X=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');O.registerThemingParticipant(function(e,t){var n=e.getColor(T.editorErrorBorder);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var r=e.getColor(T.editorErrorForeground);r&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+o(r)+'") repeat-x bottom left; }');var s=e.getColor(T.editorWarningBorder);s&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+s+"; }");var a=e.getColor(T.editorWarningForeground);a&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+o(a)+'") repeat-x bottom left; }');var d=e.getColor(T.editorInfoBorder);d&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+d+"; }");var l=e.getColor(T.editorInfoForeground);l&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+o(l)+'") repeat-x bottom left; }');var u=e.getColor(T.editorHintBorder);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var c=e.getColor(T.editorHintForeground);c&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+i(c)+'") no-repeat bottom left; }');var m=e.getColor(T.editorUnnecessaryCodeOpacity);m&&t.addRule("."+H+" .monaco-editor .squiggly-inline-unnecessary { opacity: "+m.rgba.a+"; }");var h=e.getColor(T.editorUnnecessaryCodeBorder);h&&t.addRule("."+H+" .monaco-editor .squiggly-unnecessary { border-bottom: 2px dashed "+h+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function s(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(s.prototype=o.prototype,new s)}}(),n=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=t("node_modules/monaco-editor/esm/vs/base/browser/browser"),i=t("node_modules/monaco-editor/esm/vs/base/common/platform"),r=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/types")),l=t("node_modules/monaco-editor/esm/vs/base/browser/touch"),h=t("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),d=t("node_modules/monaco-editor/esm/vs/base/common/event"),g=t("node_modules/monaco-editor/esm/vs/base/browser/dom"),p=t("node_modules/monaco-editor/esm/vs/base/browser/event"),u=!1,m=function(t){function e(e,o,s){void 0===s&&(s={});var n=t.call(this)||this;return n._state=3,n._onDidEnablementChange=n._register(new d.Emitter),n.onDidEnablementChange=n._onDidEnablementChange.event,n._onDidStart=n._register(new d.Emitter),n.onDidStart=n._onDidStart.event,n._onDidChange=n._register(new d.Emitter),n.onDidChange=n._onDidChange.event,n._onDidReset=n._register(new d.Emitter),n.onDidReset=n._onDidReset.event,n._onDidEnd=n._register(new d.Emitter),n.onDidEnd=n._onDidEnd.event,n.linkedSash=void 0,n.orthogonalStartSashDisposables=[],n.orthogonalEndSashDisposables=[],n.el=g.append(e,g.$(".monaco-sash")),i.isMacintosh&&g.addClass(n.el,"mac"),n._register(p.domEvent(n.el,"mousedown")(n.onMouseDown,n)),n._register(p.domEvent(n.el,"dblclick")(n.onMouseDoubleClick,n)),l.Gesture.addTarget(n.el),n._register(p.domEvent(n.el,l.EventType.Start)(n.onTouchStart,n)),a.isIPad&&g.addClass(n.el,"touch"),n.setOrientation(s.orientation||0),n.hidden=!1,n.layoutProvider=o,n.orthogonalStartSash=s.orthogonalStartSash,n.orthogonalEndSash=s.orthogonalEndSash,g.toggleClass(n.el,"debug",u),n}return s(e,t),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},set:function(t){this._state!==t&&(g.toggleClass(this.el,"disabled",0===t),g.toggleClass(this.el,"minimum",1===t),g.toggleClass(this.el,"maximum",2===t),this._state=t,this._onDidEnablementChange.fire(t))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(t){this.orthogonalStartSashDisposables=n.dispose(this.orthogonalStartSashDisposables),t?(t.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this,this.orthogonalStartSashDisposables),this.onOrthogonalStartSashEnablementChange(t.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orthogonalEndSash",{get:function(){return this._orthogonalEndSash},set:function(t){this.orthogonalEndSashDisposables=n.dispose(this.orthogonalEndSashDisposables),t?(t.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this,this.orthogonalEndSashDisposables),this.onOrthogonalEndSashEnablementChange(t.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=t},enumerable:!0,configurable:!0}),e.prototype.setOrientation=function(t){this.orientation=t,1===this.orientation?(g.addClass(this.el,"horizontal"),g.removeClass(this.el,"vertical")):(g.removeClass(this.el,"horizontal"),g.addClass(this.el,"vertical")),this.layoutProvider&&this.layout()},e.prototype.onMouseDown=function(t){var e=this;g.EventHelper.stop(t,!1);var o=!1;if(this.linkedSash&&!t.__linkedSashEvent&&(t.__linkedSashEvent=!0,this.linkedSash.onMouseDown(t)),!t.__orthogonalSashEvent){var s=void 0;0===this.orientation?t.offsetY<=4?s=this.orthogonalStartSash:t.offsetY>=this.el.clientHeight-4&&(s=this.orthogonalEndSash):t.offsetX<=4?s=this.orthogonalStartSash:t.offsetX>=this.el.clientWidth-4&&(s=this.orthogonalEndSash),s&&(o=!0,t.__orthogonalSashEvent=!0,s.onMouseDown(t))}if(this.state){for(var a=g.getElementsByTagName("iframe"),r=0,l=a;r<l.length;r++){var d=l[r];d.style.pointerEvents="none"}var u=new h.StandardMouseEvent(t),m=u.posx,c=u.posy,S=u.altKey,v={startX:m,currentX:m,startY:c,currentY:c,altKey:S};g.addClass(this.el,"active"),this._onDidStart.fire(v);var f=g.createStyleSheet(this.el),b=function(){var t="";t=o?"all-scroll":1===e.orientation?1===e.state?"s-resize":2===e.state?"n-resize":i.isMacintosh?"row-resize":"ns-resize":1===e.state?"e-resize":2===e.state?"w-resize":i.isMacintosh?"col-resize":"ew-resize",f.innerHTML="* { cursor: "+t+" !important; }"},E=[];b(),o||this.onDidEnablementChange(b,null,E);var _=function(t){g.EventHelper.stop(t,!1);var o=new h.StandardMouseEvent(t),s={startX:m,currentX:o.posx,startY:c,currentY:o.posy,altKey:S};e._onDidChange.fire(s)},y=function(t){g.EventHelper.stop(t,!1),e.el.removeChild(f),g.removeClass(e.el,"active"),e._onDidEnd.fire(),n.dispose(E);for(var o=g.getElementsByTagName("iframe"),s=0,a=o;s<a.length;s++){var i=a[s];i.style.pointerEvents="auto"}};p.domEvent(window,"mousemove")(_,null,E),p.domEvent(window,"mouseup")(y,null,E)}},e.prototype.onMouseDoubleClick=function(){this._onDidReset.fire()},e.prototype.onTouchStart=function(t){var e=this;g.EventHelper.stop(t);var o=[],s=t.pageX,a=t.pageY,i=t.altKey;this._onDidStart.fire({startX:s,currentX:s,startY:a,currentY:a,altKey:i}),o.push(g.addDisposableListener(this.el,l.EventType.Change,function(t){r.isNumber(t.pageX)&&r.isNumber(t.pageY)&&e._onDidChange.fire({startX:s,currentX:t.pageX,startY:a,currentY:t.pageY,altKey:i})})),o.push(g.addDisposableListener(this.el,l.EventType.End,function(){e._onDidEnd.fire(),n.dispose(o)}))},e.prototype.layout=function(){var t=a.isIPad?20:4;if(0===this.orientation){var e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-t/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{var o=this.layoutProvider;this.el.style.top=o.getHorizontalSashTop(this)-t/2+"px",o.getHorizontalSashLeft&&(this.el.style.left=o.getHorizontalSashLeft(this)+"px"),o.getHorizontalSashWidth&&(this.el.style.width=o.getHorizontalSashWidth(this)+"px")}},e.prototype.hide=function(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")},e.prototype.onOrthogonalStartSashEnablementChange=function(t){g.toggleClass(this.el,"orthogonal-start",0!==t)},e.prototype.onOrthogonalEndSashEnablementChange=function(t){g.toggleClass(this.el,"orthogonal-end",0!==t)},e.prototype.dispose=function(){t.prototype.dispose.call(this),this.orthogonalStartSashDisposables=n.dispose(this.orthogonalStartSashDisposables),this.orthogonalEndSashDisposables=n.dispose(this.orthogonalEndSashDisposables),this.el&&this.el.parentElement&&this.el.parentElement.removeChild(this.el),this.el=null},e}(n.Disposable);e.Sash=m});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=t("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var t=function(o,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(o,e)};return function(o,e){function i(){this.constructor=o}t(o,e),o.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),n=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/strings")),s=t("node_modules/monaco-editor/esm/vs/base/common/cancellation"),r=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=function(){function t(t,o){if(this.flags=o,0!==(1&this.flags)){var e=t.getModel();this.modelVersionId=e?n.format("{0}#{1}",e.uri.toString(),e.getVersionId()):null}0!==(4&this.flags)&&(this.position=t.getPosition()),0!==(2&this.flags)&&(this.selection=t.getSelection()),0!==(8&this.flags)&&(this.scrollLeft=t.getScrollLeft(),this.scrollTop=t.getScrollTop())}return t.prototype._equals=function(o){if(!(o instanceof t))return!1;var e=o;return this.modelVersionId!==e.modelVersionId?!1:this.scrollLeft!==e.scrollLeft||this.scrollTop!==e.scrollTop?!1:!this.position&&e.position||this.position&&!e.position||this.position&&e.position&&!this.position.equals(e.position)?!1:!this.selection&&e.selection||this.selection&&!e.selection||this.selection&&e.selection&&!this.selection.equalsRange(e.selection)?!1:!0},t.prototype.validate=function(o){return this._equals(new t(o,this.flags))},t}();o.EditorState=l;var c=function(t){function o(o,e,i){var n=t.call(this,i)||this;return n.editor=o,n._listener=[],4&e&&n._listener.push(o.onDidChangeCursorPosition(function(){return n.cancel()})),2&e&&n._listener.push(o.onDidChangeCursorSelection(function(){return n.cancel()})),8&e&&n._listener.push(o.onDidScrollChange(function(){return n.cancel()})),1&e&&(n._listener.push(o.onDidChangeModel(function(){return n.cancel()})),n._listener.push(o.onDidChangeModelContent(function(){return n.cancel()}))),n}return i(o,t),o.prototype.dispose=function(){r.dispose(this._listener),t.prototype.dispose.call(this)},o}(s.CancellationTokenSource);o.EditorStateCancellationTokenSource=c;var a=function(t){function o(o,e){var i=t.call(this,e)||this;return i._listener=o.onDidChangeContent(function(){return i.cancel()}),i}return i(o,t),o.prototype.dispose=function(){this._listener.dispose(),t.prototype.dispose.call(this)},o}(s.CancellationTokenSource);o.TextModelCancellationTokenSource=a;var u=function(){function t(t,o){this._visiblePosition=t,this._visiblePositionScrollDelta=o}return t.capture=function(o){var e=null,i=0;if(0!==o.getScrollTop()){var n=o.getVisibleRanges();if(n.length>0){e=n[0].getStartPosition();var s=o.getTopForPosition(e.lineNumber,e.column);i=o.getScrollTop()-s}}return new t(e,i)},t.prototype.restore=function(t){if(this._visiblePosition){var o=t.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);t.setScrollTop(o+this._visiblePositionScrollDelta)}},t}();o.StableEditorScrollState=u});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),s=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=e("node_modules/monaco-editor/esm/vs/base/common/actions"),c=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),d=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/types")),u=e("node_modules/monaco-editor/esm/vs/base/browser/touch"),l=e("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent"),p=e("node_modules/monaco-editor/esm/vs/base/common/event"),h=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),m=function(e){function t(t,o,i){var n=e.call(this)||this;return n.options=i,n._context=t||n,n._action=o,o instanceof a.Action&&n._register(o.onDidChange(function(e){n.element&&n.handleActionChangeEvent(e)})),n}return i(t,e),t.prototype.handleActionChangeEvent=function(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()},Object.defineProperty(t.prototype,"actionRunner",{get:function(){return this._actionRunner},set:function(e){this._actionRunner=e},enumerable:!0,configurable:!0}),t.prototype.getAction=function(){return this._action},t.prototype.isEnabled=function(){return this._action.enabled},t.prototype.setActionContext=function(e){this._context=e},t.prototype.render=function(e){var t=this;this.element=e,u.Gesture.addTarget(e);var o=this.options&&this.options.draggable;o&&(e.draggable=!0),this._register(c.addDisposableListener(this.element,u.EventType.Tap,function(e){return t.onClick(e)})),this._register(c.addDisposableListener(this.element,c.EventType.MOUSE_DOWN,function(e){o||c.EventHelper.stop(e,!0),t._action.enabled&&0===e.button&&t.element&&c.addClass(t.element,"active")})),this._register(c.addDisposableListener(this.element,c.EventType.CLICK,function(e){c.EventHelper.stop(e,!0),t.options&&t.options.isMenu?t.onClick(e):n.setImmediate(function(){return t.onClick(e)})})),this._register(c.addDisposableListener(this.element,c.EventType.DBLCLICK,function(e){c.EventHelper.stop(e,!0)})),[c.EventType.MOUSE_UP,c.EventType.MOUSE_OUT].forEach(function(e){t._register(c.addDisposableListener(t.element,e,function(e){c.EventHelper.stop(e),c.removeClass(t.element,"active")}))})},t.prototype.onClick=function(e){c.EventHelper.stop(e,!0);var t;d.isUndefinedOrNull(this._context)?t=e:(t=this._context,d.isObject(t)&&(t.event=e)),this._actionRunner.run(this._action,t)},t.prototype.focus=function(){this.element&&(this.element.focus(),c.addClass(this.element,"focused"))},t.prototype.blur=function(){this.element&&(this.element.blur(),c.removeClass(this.element,"focused"))},t.prototype.updateEnabled=function(){},t.prototype.updateLabel=function(){},t.prototype.updateTooltip=function(){},t.prototype.updateClass=function(){},t.prototype.updateChecked=function(){},t.prototype.dispose=function(){this.element&&(c.removeNode(this.element),this.element=void 0),e.prototype.dispose.call(this)},t}(r.Disposable);t.BaseActionItem=m;var f=function(e){function t(o){var i=e.call(this,t.ID,o,o?"separator text":"separator")||this;return i.checked=!1,i.radio=!1,i.enabled=!1,i}return i(t,e),t.ID="vs.actions.separator",t}(a.Action);t.Separator=f;var b=function(e){function t(t,o,i){void 0===i&&(i={});var n=e.call(this,t,o,i)||this;return n.options=i,n.options.icon=void 0!==i.icon?i.icon:!1,n.options.label=void 0!==i.label?i.label:!0,n.cssClass="",n}return i(t,e),t.prototype.render=function(t){e.prototype.render.call(this,t),this.element&&(this.label=c.append(this.element,c.$("a.action-label"))),this._action.id===f.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button"),this.options.label&&this.options.keybinding&&this.element&&(c.append(this.element,c.$("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},t.prototype.focus=function(){e.prototype.focus.call(this),this.label.focus()},t.prototype.updateLabel=function(){this.options.label&&(this.label.textContent=this.getAction().label)},t.prototype.updateTooltip=function(){var e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=s.localize({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&(this.label.title=e)},t.prototype.updateClass=function(){this.cssClass&&c.removeClasses(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,c.addClass(this.label,"icon"),this.cssClass&&c.addClasses(this.label,this.cssClass),this.updateEnabled()):c.removeClass(this.label,"icon")},t.prototype.updateEnabled=function(){this.getAction().enabled?(this.label.removeAttribute("aria-disabled"),this.element&&c.removeClass(this.element,"disabled"),c.removeClass(this.label,"disabled"),this.label.tabIndex=0):(this.label.setAttribute("aria-disabled","true"),this.element&&c.addClass(this.element,"disabled"),c.addClass(this.label,"disabled"),c.removeTabIndexAndUpdateFocus(this.label))},t.prototype.updateChecked=function(){this.getAction().checked?c.addClass(this.label,"checked"):c.removeClass(this.label,"checked")},t}(m);t.ActionItem=b;var v={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},y=function(e){function t(t,o){void 0===o&&(o=v);var i=e.call(this)||this;i._onDidBlur=i._register(new p.Emitter),i._onDidCancel=i._register(new p.Emitter),i._onDidRun=i._register(new p.Emitter),i._onDidBeforeRun=i._register(new p.Emitter),i.options=o,i._context=o.context,i.options.triggerKeys||(i.options.triggerKeys=v.triggerKeys),i.options.actionRunner?i._actionRunner=i.options.actionRunner:(i._actionRunner=new a.ActionRunner,i._register(i._actionRunner)),i._register(i._actionRunner.onDidRun(function(e){return i._onDidRun.fire(e)})),i._register(i._actionRunner.onDidBeforeRun(function(e){return i._onDidBeforeRun.fire(e)})),i.items=[],i.focusedItem=void 0,i.domNode=document.createElement("div"),i.domNode.className="monaco-action-bar",o.animated!==!1&&c.addClass(i.domNode,"animated");var n,s;switch(i.options.orientation){case 0:n=15,s=17;break;case 1:n=17,s=15,i.domNode.className+=" reverse";break;case 2:n=16,s=18,i.domNode.className+=" vertical";break;case 3:n=18,s=16,i.domNode.className+=" vertical reverse"}return i._register(c.addDisposableListener(i.domNode,c.EventType.KEY_DOWN,function(e){var t=new l.StandardKeyboardEvent(e),o=!0;t.equals(n)?i.focusPrevious():t.equals(s)?i.focusNext():t.equals(9)?i.cancel():i.isTriggerKeyEvent(t)?i.options.triggerKeys&&i.options.triggerKeys.keyDown&&i.doTrigger(t):o=!1,o&&(t.preventDefault(),t.stopPropagation())})),i._register(c.addDisposableListener(i.domNode,c.EventType.KEY_UP,function(e){var t=new l.StandardKeyboardEvent(e);i.isTriggerKeyEvent(t)?(i.options.triggerKeys&&!i.options.triggerKeys.keyDown&&i.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&i.updateFocusedItem()})),i.focusTracker=i._register(c.trackFocus(i.domNode)),i._register(i.focusTracker.onDidBlur(function(){document.activeElement!==i.domNode&&c.isAncestor(document.activeElement,i.domNode)||(i._onDidBlur.fire(),i.focusedItem=void 0)})),i._register(i.focusTracker.onDidFocus(function(){return i.updateFocusedItem()})),i.actionsList=document.createElement("ul"),i.actionsList.className="actions-container",i.actionsList.setAttribute("role","toolbar"),i.options.ariaLabel&&i.actionsList.setAttribute("aria-label",i.options.ariaLabel),i.domNode.appendChild(i.actionsList),t.appendChild(i.domNode),i}return i(t,e),Object.defineProperty(t.prototype,"onDidBlur",{get:function(){return this._onDidBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDidCancel",{get:function(){return this._onDidCancel.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDidRun",{get:function(){return this._onDidRun.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onDidBeforeRun",{get:function(){return this._onDidBeforeRun.event},enumerable:!0,configurable:!0}),t.prototype.isTriggerKeyEvent=function(e){var t=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach(function(o){t=t||e.equals(o)}),t},t.prototype.updateFocusedItem=function(){for(var e=0;e<this.actionsList.children.length;e++){var t=this.actionsList.children[e];if(c.isAncestor(document.activeElement,t)){this.focusedItem=e;break}}},Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(e){this._context=e,this.items.forEach(function(t){return t.setActionContext(e)})},enumerable:!0,configurable:!0}),t.prototype.getContainer=function(){return this.domNode},t.prototype.push=function(e,t){var o=this;void 0===t&&(t={});var i=h.asArray(e),n=d.isNumber(t.index)?t.index:null;i.forEach(function(e){var i=document.createElement("li");i.className="action-item",i.setAttribute("role","presentation"),o._register(c.addDisposableListener(i,c.EventType.CONTEXT_MENU,function(e){e.preventDefault(),e.stopPropagation()}));var s;o.options.actionItemProvider&&(s=o.options.actionItemProvider(e)),s||(s=new b(o.context,e,t)),s.actionRunner=o._actionRunner,s.setActionContext(o.context),s.render(i),null===n||0>n||n>=o.actionsList.children.length?(o.actionsList.appendChild(i),o.items.push(s)):(o.actionsList.insertBefore(i,o.actionsList.children[n]),o.items.splice(n,0,s),n++)})},t.prototype.clear=function(){this.items=r.dispose(this.items),c.clearNode(this.actionsList)},t.prototype.isEmpty=function(){return 0===this.items.length},t.prototype.focus=function(e){var t=!1,o=void 0;void 0===e?t=!0:"number"==typeof e?o=e:"boolean"==typeof e&&(t=e),t&&"undefined"==typeof this.focusedItem?(this.focusedItem=this.items.length-1,this.focusNext()):(void 0!==o&&(this.focusedItem=o),this.updateFocus())},t.prototype.focusNext=function(){"undefined"==typeof this.focusedItem&&(this.focusedItem=this.items.length-1);var e,t=this.focusedItem;do this.focusedItem=(this.focusedItem+1)%this.items.length,e=this.items[this.focusedItem];while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus()},t.prototype.focusPrevious=function(){"undefined"==typeof this.focusedItem&&(this.focusedItem=0);var e,t=this.focusedItem;do this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.items.length-1),e=this.items[this.focusedItem];while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0)},t.prototype.updateFocus=function(e){"undefined"==typeof this.focusedItem&&this.actionsList.focus();for(var t=0;t<this.items.length;t++){var o=this.items[t],i=o;t===this.focusedItem?d.isFunction(i.isEnabled)&&(i.isEnabled()&&d.isFunction(i.focus)?i.focus(e):this.actionsList.focus()):d.isFunction(i.blur)&&i.blur()}},t.prototype.doTrigger=function(e){if("undefined"!=typeof this.focusedItem){var t=this.items[this.focusedItem];if(t instanceof m){var o=null===t._context||void 0===t._context?e:t._context;this.run(t._action,o)}}},t.prototype.cancel=function(){document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this._onDidCancel.fire()},t.prototype.run=function(e,t){return this._actionRunner.run(e,t)},t.prototype.dispose=function(){r.dispose(this.items),this.items=[],c.removeNode(this.getContainer()),e.prototype.dispose.call(this)},t}(r.Disposable);t.ActionBar=y});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/widget/diffReview.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/widget/diffReview",function(e,i){"use strict";function t(e){for(var i=e.get(h.ICodeEditorService),t=i.listDiffEditors(),o=0,n=t.length;n>o;o++){var r=t[o];if(r.hasWidgetFocus())return r}return null}Object.defineProperty(i,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(i,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var t in i)i.hasOwnProperty(t)&&(e[t]=i[t])})(i,t)};return function(i,t){function o(){this.constructor=i}e(i,t),i.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}}(),r=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),d=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),a=e("node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar"),f=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),l=e("node_modules/monaco-editor/esm/vs/base/common/actions"),c=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),m=e("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),h=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),g=e("node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens"),_=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),v=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),p=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer"),w=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel"),b=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),E=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),L=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),N=3,y=function(){function e(e,i,t,o){this.originalLineStart=e,this.originalLineEnd=i,this.modifiedLineStart=t,this.modifiedLineEnd=o}return e.prototype.getType=function(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0},e}(),C=function(){function e(e){this.entries=e}return e}(),S=function(e){function i(i){var t=e.call(this)||this;return t._width=0,t._diffEditor=i,t._isVisible=!1,t.shadow=s.createFastDomNode(document.createElement("div")),t.shadow.setClassName("diff-review-shadow"),t.actionBarContainer=s.createFastDomNode(document.createElement("div")),t.actionBarContainer.setClassName("diff-review-actions"),t._actionBar=t._register(new a.ActionBar(t.actionBarContainer.domNode)),t._actionBar.push(new l.Action("diffreview.close",r.localize("label.close","Close"),"close-diff-review",!0,function(){return t.hide(),Promise.resolve(null)}),{label:!1,icon:!0}),t.domNode=s.createFastDomNode(document.createElement("div")),t.domNode.setClassName("diff-review monaco-editor-background"),t._content=s.createFastDomNode(document.createElement("div")),t._content.setClassName("diff-review-content"),t.scrollbar=t._register(new f.DomScrollableElement(t._content.domNode,{})),t.domNode.domNode.appendChild(t.scrollbar.getDomNode()),t._register(i.onDidUpdateDiff(function(){t._isVisible&&(t._diffs=t._compute(),t._render())})),t._register(i.getModifiedEditor().onDidChangeCursorPosition(function(){t._isVisible&&t._render()})),t._register(i.getOriginalEditor().onDidFocusEditorWidget(function(){t._isVisible&&t.hide()})),t._register(i.getModifiedEditor().onDidFocusEditorWidget(function(){t._isVisible&&t.hide()})),t._register(d.addStandardDisposableListener(t.domNode.domNode,"click",function(e){e.preventDefault();var i=d.findParentWithClass(e.target,"diff-review-row");i&&t._goToRow(i)})),t._register(d.addStandardDisposableListener(t.domNode.domNode,"keydown",function(e){(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),t._goToRow(t._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),t._goToRow(t._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),t.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),t.accept())})),t._diffs=[],t._currentDiff=null,t}return n(i,e),i.prototype.prev=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var i=-1,t=0,o=this._diffs.length;o>t;t++)if(this._diffs[t]===this._currentDiff){i=t;break}e=this._diffs.length+i-1}else e=this._findDiffIndex(this._diffEditor.getPosition());0!==this._diffs.length&&(e%=this._diffs.length,this._diffEditor.setPosition(new _.Position(this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},i.prototype.next=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var i=-1,t=0,o=this._diffs.length;o>t;t++)if(this._diffs[t]===this._currentDiff){i=t;break}e=i+1}else e=this._findDiffIndex(this._diffEditor.getPosition());0!==this._diffs.length&&(e%=this._diffs.length,this._diffEditor.setPosition(new _.Position(this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},i.prototype.accept=function(){var e=-1,i=this._getCurrentFocusedRow();if(i){var t=parseInt(i.getAttribute("data-line"),10);isNaN(t)||(e=t)}this.hide(),-1!==e&&(this._diffEditor.setPosition(new _.Position(e,1)),this._diffEditor.revealPosition(new _.Position(e,1),1))},i.prototype.hide=function(){this._isVisible=!1,this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()},i.prototype._getPrevRow=function(){var e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()},i.prototype._getNextRow=function(){var e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()},i.prototype._getFirstRow=function(){return this.domNode.domNode.querySelector(".diff-review-row")},i.prototype._getCurrentFocusedRow=function(){var e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null},i.prototype._goToRow=function(e){var i=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),i&&i!==e&&(i.tabIndex=-1),this.scrollbar.scanDomNode()},i.prototype.isVisible=function(){return this._isVisible},i.prototype.layout=function(e,i,t){this._width=i,this.shadow.setTop(e-6),this.shadow.setWidth(i),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(i),this.domNode.setHeight(t),this._content.setHeight(t),this._content.setWidth(i),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))},i.prototype._compute=function(){var e=this._diffEditor.getLineChanges();if(!e||0===e.length)return[];var t=this._diffEditor.getOriginalEditor().getModel(),o=this._diffEditor.getModifiedEditor().getModel();return t&&o?i._mergeAdjacent(e,t.getLineCount(),o.getLineCount()):[]},i._mergeAdjacent=function(e,i,t){if(!e||0===e.length)return[];for(var o=[],n=0,r=0,d=e.length;d>r;r++){var s=e[r],a=s.originalStartLineNumber,f=s.originalEndLineNumber,l=s.modifiedStartLineNumber,c=s.modifiedEndLineNumber,m=[],u=0,h=0===f?a:a-1,g=0===c?l:l-1,_=1,v=1;if(r>0){var p=e[r-1];_=0===p.originalEndLineNumber?p.originalStartLineNumber+1:p.originalEndLineNumber+1,v=0===p.modifiedEndLineNumber?p.modifiedStartLineNumber+1:p.modifiedEndLineNumber+1}var w=h-N+1,b=g-N+1;if(_>w){var E=_-w;w+=E,b+=E}if(v>b){var E=v-b;w+=E,b+=E}m[u++]=new y(w,h,b,g),0!==f&&(m[u++]=new y(a,f,0,0)),0!==c&&(m[u++]=new y(0,0,l,c));var L=0===f?a+1:f+1,S=0===c?l+1:c+1,D=i,x=t;if(d>r+1){var R=e[r+1];D=0===R.originalEndLineNumber?R.originalStartLineNumber:R.originalStartLineNumber-1,x=0===R.modifiedEndLineNumber?R.modifiedStartLineNumber:R.modifiedStartLineNumber-1}var I=L+N-1,A=S+N-1;if(I>D){var E=D-I;I+=E,A+=E}if(A>x){var E=x-A;I+=E,A+=E}m[u++]=new y(L,I,S,A),o[n++]=new C(m)}for(var T=o[0].entries,P=[],V=0,r=1,d=o.length;d>r;r++){var k=o[r].entries,M=T[T.length-1],F=k[0];0===M.getType()&&0===F.getType()&&F.originalLineStart<=M.originalLineEnd?(T[T.length-1]=new y(M.originalLineStart,F.originalLineEnd,M.modifiedLineStart,F.modifiedLineEnd),T=T.concat(k.slice(1))):(P[V++]=new C(T),T=k)}return P[V++]=new C(T),P},i.prototype._findDiffIndex=function(e){for(var i=e.lineNumber,t=0,o=this._diffs.length;o>t;t++){var n=this._diffs[t].entries,r=n[n.length-1].modifiedLineEnd;if(r>=i)return t}return 0},i.prototype._render=function(){var e=this._diffEditor.getOriginalEditor().getConfiguration(),t=this._diffEditor.getModifiedEditor().getConfiguration(),o=this._diffEditor.getOriginalEditor().getModel(),n=this._diffEditor.getModifiedEditor().getModel(),s=o.getOptions(),a=n.getOptions();if(!this._isVisible||!o||!n)return d.clearNode(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();var f=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[f]!==this._currentDiff){this._currentDiff=this._diffs[f];var l=this._diffs[f].entries,c=document.createElement("div");c.className="diff-review-table",c.setAttribute("role","list"),m.Configuration.applyFontInfoSlow(c,t.fontInfo);for(var u=0,h=0,g=0,_=0,v=0,p=l.length;p>v;v++){var w=l[v],b=w.originalLineStart,E=w.originalLineEnd,L=w.modifiedLineStart,N=w.modifiedLineEnd;0!==b&&(0===u||u>b)&&(u=b),0!==E&&(0===h||E>h)&&(h=E),0!==L&&(0===g||g>L)&&(g=L),0!==N&&(0===_||N>_)&&(_=N)}var y=document.createElement("div");y.className="diff-review-row";var C=document.createElement("div");C.className="diff-review-cell diff-review-summary";var S=h-u+1,D=_-g+1;C.appendChild(document.createTextNode(f+1+"/"+this._diffs.length+": @@ -"+u+","+S+" +"+g+","+D+" @@")),y.setAttribute("data-line",String(g));var x=function(e){return 0===e?r.localize("no_lines","no lines"):1===e?r.localize("one_line","1 line"):r.localize("more_lines","{0} lines",e)},R=x(S),I=x(D);y.setAttribute("aria-label",r.localize({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}",f+1,this._diffs.length,u,R,g,I)),y.appendChild(C),y.setAttribute("role","listitem"),c.appendChild(y);for(var A=g,v=0,p=l.length;p>v;v++){var w=l[v];i._renderSection(c,w,A,this._width,e,o,s,t,n,a),0!==w.modifiedLineStart&&(A=w.modifiedLineEnd)}d.clearNode(this._content.domNode),this._content.domNode.appendChild(c),this.scrollbar.scanDomNode()}},i._renderSection=function(e,i,t,o,n,d,s,a,f,l){var c=i.getType(),m="diff-review-row",u="",h="diff-review-spacer";switch(c){case 1:m="diff-review-row line-insert",u=" char-insert",h="diff-review-spacer insert-sign";break;case 2:m="diff-review-row line-delete",u=" char-delete",h="diff-review-spacer delete-sign"}for(var g=i.originalLineStart,_=i.originalLineEnd,v=i.modifiedLineStart,p=i.modifiedLineEnd,w=Math.max(p-v,_-g),b=n.layoutInfo.glyphMarginWidth+n.layoutInfo.lineNumbersWidth,E=10+a.layoutInfo.glyphMarginWidth+a.layoutInfo.lineNumbersWidth,L=0;w>=L;L++){var N=0===g?0:g+L,y=0===v?0:v+L,C=document.createElement("div");C.style.minWidth=o+"px",C.className=m,C.setAttribute("role","listitem"),0!==y&&(t=y),C.setAttribute("data-line",String(t));var S=document.createElement("div");S.className="diff-review-cell",C.appendChild(S);var D=document.createElement("span");D.style.width=b+"px",D.style.minWidth=b+"px",D.className="diff-review-line-number"+u,0!==N?D.appendChild(document.createTextNode(String(N))):D.innerHTML="&nbsp;",S.appendChild(D);var x=document.createElement("span");x.style.width=E+"px",x.style.minWidth=E+"px",x.style.paddingRight="10px",x.className="diff-review-line-number"+u,0!==y?x.appendChild(document.createTextNode(String(y))):x.innerHTML="&nbsp;",S.appendChild(x);var R=document.createElement("span");R.className=h,R.innerHTML="&nbsp;&nbsp;",S.appendChild(R);var I=void 0;0!==y?(S.insertAdjacentHTML("beforeend",this._renderLine(f,a,l.tabSize,y)),I=f.getLineContent(y)):(S.insertAdjacentHTML("beforeend",this._renderLine(d,n,s.tabSize,N)),I=d.getLineContent(N)),0===I.length&&(I=r.localize("blankLine","blank"));var A="";switch(c){case 0:A=r.localize("equalLine","original {0}, modified {1}: {2}",N,y,I);break;case 1:A=r.localize("insertLine","+ modified {0}: {1}",y,I);break;case 2:A=r.localize("deleteLine","- original {0}: {1}",N,I)}C.setAttribute("aria-label",A),e.appendChild(C)}},i._renderLine=function(e,i,t,o){var n=e.getLineContent(o),r=16793600,d=new Uint32Array(2);d[0]=n.length,d[1]=r;var s=new g.LineTokens(d,n),a=w.ViewLineRenderingData.isBasicASCII(n,e.mightContainNonBasicASCII()),f=w.ViewLineRenderingData.containsRTL(n,a,e.mightContainRTL()),l=p.renderViewLine2(new p.RenderLineInput(i.fontInfo.isMonospace&&!i.viewInfo.disableMonospaceOptimizations,i.fontInfo.canUseHalfwidthRightwardsArrow,n,!1,a,f,0,s,[],t,i.fontInfo.spaceWidth,i.viewInfo.stopRenderingLineAfter,i.viewInfo.renderWhitespace,i.viewInfo.renderControlCharacters,i.viewInfo.fontLigatures));return l.html},i}(c.Disposable);i.DiffReview=S,L.registerThemingParticipant(function(e,i){var t=e.getColor(v.editorLineNumbers);t&&i.addRule(".monaco-diff-editor .diff-review-line-number { color: "+t+"; }");var o=e.getColor(E.scrollbarShadow);o&&i.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+o+" 0 -6px 6px -6px inset; }")});var D=function(e){function i(){return e.call(this,{id:"editor.action.diffReview.next",label:r.localize("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:b.ContextKeyExpr.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}return n(i,e),i.prototype.run=function(e){var i=t(e);i&&i.diffReviewNext()},i}(u.EditorAction),x=function(e){function i(){return e.call(this,{id:"editor.action.diffReview.prev",label:r.localize("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:b.ContextKeyExpr.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})||this}return n(i,e),i.prototype.run=function(e){var i=t(e);i&&i.diffReviewPrev()},i}(u.EditorAction);u.registerEditorAction(D),u.registerEditorAction(x)});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditorWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditorWidget",function(e,i){"use strict";function t(e,i,t,o,n){return{range:new b.Range(e,i,t,o),options:n}}function o(e){return e.modifiedEndLineNumber>0}function n(e){return e.originalEndLineNumber>0}function r(){var e=document.createElement("div");return e.className="diagonal-fill",e}Object.defineProperty(i,"__esModule",{value:!0});var d=e("node_modules/tslib/tslib"),a=this&&this.__extends||function(){var e=function(i,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var t in i)i.hasOwnProperty(t)&&(e[t]=i[t])})(i,t)};return function(i,t){function o(){this.constructor=i}e(i,t),i.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}}(),s=this&&this.__decorate||function(e,i,t,o){var n,r=arguments.length,d=3>r?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(d=(3>r?n(d):r>3?n(i,t,d):n(i,t))||d);return r>3&&d&&Object.defineProperty(i,t,d),d},l=this&&this.__param||function(e,i){return function(t,o){i(t,o,e)}},m=d.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),h=d.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),u=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),c=e("node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash"),f=e("node_modules/monaco-editor/esm/vs/base/common/async"),g=e("node_modules/monaco-editor/esm/vs/base/common/event"),_=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),p=d.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/objects")),v=e("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration"),E=e("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState"),w=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),S=e("node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget"),D=e("node_modules/monaco-editor/esm/vs/editor/browser/widget/diffReview"),N=d.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions")),b=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),L=e("node_modules/monaco-editor/esm/vs/editor/common/core/stringBuilder"),y=d.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/editorCommon")),I=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),C=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService"),R=e("node_modules/monaco-editor/esm/vs/editor/common/view/overviewZoneManager"),O=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/lineDecorations"),V=e("node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer"),M=e("node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel"),T=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),W=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),H=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/serviceCollection"),F=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),x=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),Z=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),A=function(){function e(){this._zones=[],this._zonesMap={},this._decorations=[]}return e.prototype.getForeignViewZones=function(e){var i=this;return e.filter(function(e){return!i._zonesMap[String(e.id)]})},e.prototype.clean=function(e){var i=this;this._zones.length>0&&e.changeViewZones(function(e){for(var t=0,o=i._zones.length;o>t;t++)e.removeZone(i._zones[t])}),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])},e.prototype.apply=function(e,i,t,o){var n=this,r=o?E.StableEditorScrollState.capture(e):null;e.changeViewZones(function(e){for(var i=0,o=n._zones.length;o>i;i++)e.removeZone(n._zones[i]);n._zones=[],n._zonesMap={};for(var i=0,r=t.zones.length;r>i;i++){t.zones[i].suppressMouseDown=!0;var d=e.addZone(t.zones[i]);n._zones.push(d),n._zonesMap[String(d)]=!0}}),r&&r.restore(e),this._decorations=e.deltaDecorations(this._decorations,t.decorations),i&&i.setZones(t.overviewZones)},e}(),P=0,z=function(e){function i(t,o,n,r,d,a,s,l){var m=e.call(this)||this;m._onDidDispose=m._register(new g.Emitter),m.onDidDispose=m._onDidDispose.event,m._onDidUpdateDiff=m._register(new g.Emitter),m.onDidUpdateDiff=m._onDidUpdateDiff.event,m._lastOriginalWarning=null,m._lastModifiedWarning=null,m._editorWorkerService=n,m._codeEditorService=a,m._contextKeyService=m._register(r.createScoped(t)),m._contextKeyService.createKey("isInDiffEditor",!0),m._themeService=s,m._notificationService=l,m.id=++P,m._domElement=t,o=o||{},m._renderSideBySide=!0,"undefined"!=typeof o.renderSideBySide&&(m._renderSideBySide=o.renderSideBySide),m._ignoreTrimWhitespace=!0,"undefined"!=typeof o.ignoreTrimWhitespace&&(m._ignoreTrimWhitespace=o.ignoreTrimWhitespace),m._renderIndicators=!0,"undefined"!=typeof o.renderIndicators&&(m._renderIndicators=o.renderIndicators),m._originalIsEditable=!1,"undefined"!=typeof o.originalEditable&&(m._originalIsEditable=Boolean(o.originalEditable)),m._updateDecorationsRunner=m._register(new f.RunOnceScheduler(function(){return m._updateDecorations()},0)),m._containerDomElement=document.createElement("div"),m._containerDomElement.className=i._getClassName(m._themeService.getTheme(),m._renderSideBySide),m._containerDomElement.style.position="relative",m._containerDomElement.style.height="100%",m._domElement.appendChild(m._containerDomElement),m._overviewViewportDomElement=u.createFastDomNode(document.createElement("div")),m._overviewViewportDomElement.setClassName("diffViewport"),m._overviewViewportDomElement.setPosition("absolute"),m._overviewDomElement=document.createElement("div"),m._overviewDomElement.className="diffOverview",m._overviewDomElement.style.position="absolute",m._overviewDomElement.appendChild(m._overviewViewportDomElement.domNode),m._register(h.addStandardDisposableListener(m._overviewDomElement,"mousedown",function(e){m.modifiedEditor.delegateVerticalScrollbarMouseDown(e)})),m._containerDomElement.appendChild(m._overviewDomElement),m._createLeftHandSide(),m._createRightHandSide(),m._beginUpdateDecorationsTimeout=-1,m._currentlyChangingViewZones=!1,m._diffComputationToken=0,m._originalEditorState=new A,m._modifiedEditorState=new A,m._isVisible=!0,m._isHandlingScrollEvent=!1,m._width=0,m._height=0,m._reviewHeight=0,m._diffComputationResult=null;var c=m._contextKeyService.createScoped();c.createKey("isInDiffLeftEditor",!0);var _=new H.ServiceCollection;_.set(T.IContextKeyService,c);var p=d.createChild(_),v=m._contextKeyService.createScoped();v.createKey("isInDiffRightEditor",!0);var E=new H.ServiceCollection;E.set(T.IContextKeyService,v);var w=d.createChild(E);return m._createLeftHandSideEditor(o,p),m._createRightHandSideEditor(o,w),m._reviewPane=new D.DiffReview(m),m._containerDomElement.appendChild(m._reviewPane.domNode.domNode),m._containerDomElement.appendChild(m._reviewPane.shadow.domNode),m._containerDomElement.appendChild(m._reviewPane.actionBarContainer.domNode),o.automaticLayout&&(m._measureDomElementToken=window.setInterval(function(){return m._measureDomElement(!1)},100)),m._enableSplitViewResizing=!0,"undefined"!=typeof o.enableSplitViewResizing&&(m._enableSplitViewResizing=o.enableSplitViewResizing),m._setStrategy(m._renderSideBySide?new q(m._createDataSource(),m._enableSplitViewResizing):new X(m._createDataSource(),m._enableSplitViewResizing)),m._register(s.onThemeChange(function(e){m._strategy&&m._strategy.applyColors(e)&&m._updateDecorationsRunner.schedule(),m._containerDomElement.className=i._getClassName(m._themeService.getTheme(),m._renderSideBySide)})),m._codeEditorService.addDiffEditor(m),m}return a(i,e),i.prototype.hasWidgetFocus=function(){return h.isAncestor(document.activeElement,this._domElement)},i.prototype.diffReviewNext=function(){this._reviewPane.next()},i.prototype.diffReviewPrev=function(){this._reviewPane.prev()},i._getClassName=function(e,i){var t="monaco-diff-editor monaco-editor-background ";return i&&(t+="side-by-side "),t+=Z.getThemeTypeSelector(e.type)},i.prototype._recreateOverviewRulers=function(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()},i.prototype._createLeftHandSide=function(){this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode)},i.prototype._createRightHandSide=function(){this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode)},i.prototype._createLeftHandSideEditor=function(e,i){var t=this;this.originalEditor=this._createInnerEditor(i,this._originalDomNode,this._adjustOptionsForLeftHandSide(e,this._originalIsEditable)),this._register(this.originalEditor.onDidScrollChange(function(e){t._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(t._isHandlingScrollEvent=!0,t.modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),t._isHandlingScrollEvent=!1,t._layoutOverviewViewport())})),this._register(this.originalEditor.onDidChangeViewZones(function(){t._onViewZonesChanged()})),this._register(this.originalEditor.onDidChangeModelContent(function(){t._isVisible&&t._beginUpdateDecorationsSoon()}))},i.prototype._createRightHandSideEditor=function(e,i){var t=this;this.modifiedEditor=this._createInnerEditor(i,this._modifiedDomNode,this._adjustOptionsForRightHandSide(e)),this._register(this.modifiedEditor.onDidScrollChange(function(e){t._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(t._isHandlingScrollEvent=!0,t.originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),t._isHandlingScrollEvent=!1,t._layoutOverviewViewport())})),this._register(this.modifiedEditor.onDidChangeViewZones(function(){t._onViewZonesChanged()})),this._register(this.modifiedEditor.onDidChangeConfiguration(function(e){e.fontInfo&&t.modifiedEditor.getModel()&&t._onViewZonesChanged()})),this._register(this.modifiedEditor.onDidChangeModelContent(function(){t._isVisible&&t._beginUpdateDecorationsSoon()}))},i.prototype._createInnerEditor=function(e,i,t){return e.createInstance(S.CodeEditorWidget,i,t,{})},i.prototype.dispose=function(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),window.clearInterval(this._measureDomElementToken),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),e.prototype.dispose.call(this)},i.prototype.getId=function(){return this.getEditorType()+":"+this.id},i.prototype.getEditorType=function(){return y.EditorType.IDiffEditor},i.prototype.getLineChanges=function(){return this._diffComputationResult?this._diffComputationResult.changes:null},i.prototype.getOriginalEditor=function(){return this.originalEditor},i.prototype.getModifiedEditor=function(){return this.modifiedEditor},i.prototype.updateOptions=function(e){var t=!1;"undefined"!=typeof e.renderSideBySide&&this._renderSideBySide!==e.renderSideBySide&&(this._renderSideBySide=e.renderSideBySide,t=!0);var o=!1;"undefined"!=typeof e.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==e.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=e.ignoreTrimWhitespace,o=!0),"undefined"!=typeof e.renderIndicators&&this._renderIndicators!==e.renderIndicators&&(this._renderIndicators=e.renderIndicators,o=!0),o&&this._beginUpdateDecorations(),"undefined"!=typeof e.originalEditable&&(this._originalIsEditable=Boolean(e.originalEditable)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(e)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(e,this._originalIsEditable)),"undefined"!=typeof e.enableSplitViewResizing&&(this._enableSplitViewResizing=e.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),t&&(this._setStrategy(this._renderSideBySide?new q(this._createDataSource(),this._enableSplitViewResizing):new X(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=i._getClassName(this._themeService.getTheme(),this._renderSideBySide))},i.prototype.getModel=function(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}},i.prototype.setModel=function(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(e?e.original:null),this.modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,e?(this._recreateOverviewRulers(),this._beginUpdateDecorations()):this._diffComputationResult=null,this._layoutOverviewViewport()},i.prototype.getDomNode=function(){return this._domElement},i.prototype.getVisibleColumnFromPosition=function(e){return this.modifiedEditor.getVisibleColumnFromPosition(e)},i.prototype.getPosition=function(){return this.modifiedEditor.getPosition()},i.prototype.setPosition=function(e){this.modifiedEditor.setPosition(e)},i.prototype.revealLine=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealLine(e,i)},i.prototype.revealLineInCenter=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealLineInCenter(e,i)},i.prototype.revealLineInCenterIfOutsideViewport=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealLineInCenterIfOutsideViewport(e,i)},i.prototype.revealPosition=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealPosition(e,i)},i.prototype.revealPositionInCenter=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealPositionInCenter(e,i)},i.prototype.revealPositionInCenterIfOutsideViewport=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealPositionInCenterIfOutsideViewport(e,i)},i.prototype.getSelection=function(){return this.modifiedEditor.getSelection()},i.prototype.getSelections=function(){return this.modifiedEditor.getSelections()},i.prototype.setSelection=function(e){this.modifiedEditor.setSelection(e)},i.prototype.setSelections=function(e){this.modifiedEditor.setSelections(e)},i.prototype.revealLines=function(e,i,t){void 0===t&&(t=0),this.modifiedEditor.revealLines(e,i,t)},i.prototype.revealLinesInCenter=function(e,i,t){void 0===t&&(t=0),this.modifiedEditor.revealLinesInCenter(e,i,t)},i.prototype.revealLinesInCenterIfOutsideViewport=function(e,i,t){void 0===t&&(t=0),this.modifiedEditor.revealLinesInCenterIfOutsideViewport(e,i,t)},i.prototype.revealRange=function(e,i,t,o){void 0===i&&(i=0),void 0===t&&(t=!1),void 0===o&&(o=!0),this.modifiedEditor.revealRange(e,i,t,o)},i.prototype.revealRangeInCenter=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealRangeInCenter(e,i)},i.prototype.revealRangeInCenterIfOutsideViewport=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealRangeInCenterIfOutsideViewport(e,i)},i.prototype.revealRangeAtTop=function(e,i){void 0===i&&(i=0),this.modifiedEditor.revealRangeAtTop(e,i)},i.prototype.getSupportedActions=function(){return this.modifiedEditor.getSupportedActions()},i.prototype.saveViewState=function(){var e=this.originalEditor.saveViewState(),i=this.modifiedEditor.saveViewState();return{original:e,modified:i}},i.prototype.restoreViewState=function(e){if(e.original&&e.modified){var i=e;this.originalEditor.restoreViewState(i.original),this.modifiedEditor.restoreViewState(i.modified)}},i.prototype.layout=function(e){this._measureDomElement(!1,e)},i.prototype.focus=function(){this.modifiedEditor.focus()},i.prototype.hasTextFocus=function(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()},i.prototype.trigger=function(e,i,t){this.modifiedEditor.trigger(e,i,t)},i.prototype.changeDecorations=function(e){return this.modifiedEditor.changeDecorations(e)},i.prototype._measureDomElement=function(e,i){return i=i||{width:this._containerDomElement.clientWidth,height:this._containerDomElement.clientHeight},i.width<=0?(this._width=0,this._height=0,void(this._reviewHeight=0)):void((e||i.width!==this._width||i.height!==this._height)&&(this._width=i.width,this._height=i.height,this._reviewHeight=this._reviewPane.isVisible()?this._height:0,this._doLayout()))},i.prototype._layoutOverviewRulers=function(){var e=i.ENTIRE_DIFF_OVERVIEW_WIDTH-2*i.ONE_OVERVIEW_WIDTH,t=this.modifiedEditor.getLayoutInfo();t&&(this._originalOverviewRuler.setLayout({top:0,width:i.ONE_OVERVIEW_WIDTH,right:e+i.ONE_OVERVIEW_WIDTH,height:this._height-this._reviewHeight}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:i.ONE_OVERVIEW_WIDTH,height:this._height-this._reviewHeight}))},i.prototype._onViewZonesChanged=function(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()},i.prototype._beginUpdateDecorationsSoon=function(){var e=this;-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(function(){return e._beginUpdateDecorations()},i.UPDATE_DIFF_DECORATIONS_DELAY)},i._equals=function(e,i){return e||i?e&&i?e.toString()===i.toString():!1:!0},i.prototype._beginUpdateDecorations=function(){var e=this;this._beginUpdateDecorationsTimeout=-1;var t=this.originalEditor.getModel(),o=this.modifiedEditor.getModel();if(t&&o){this._diffComputationToken++;var n=this._diffComputationToken;return this._editorWorkerService.canComputeDiff(t.uri,o.uri)?void this._editorWorkerService.computeDiff(t.uri,o.uri,this._ignoreTrimWhitespace).then(function(i){n===e._diffComputationToken&&t===e.originalEditor.getModel()&&o===e.modifiedEditor.getModel()&&(e._diffComputationResult=i,e._updateDecorationsRunner.schedule(),e._onDidUpdateDiff.fire())},function(){n===e._diffComputationToken&&t===e.originalEditor.getModel()&&o===e.modifiedEditor.getModel()&&(e._diffComputationResult=null,e._updateDecorationsRunner.schedule())}):void(i._equals(t.uri,this._lastOriginalWarning)&&i._equals(o.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=t.uri,this._lastModifiedWarning=o.uri,this._notificationService.warn(m.localize("diff.tooLarge","Cannot compare files because one file is too large."))))}},i.prototype._cleanViewZonesAndDecorations=function(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)},i.prototype._updateDecorations=function(){if(this.originalEditor.getModel()&&this.modifiedEditor.getModel()){var e=this._diffComputationResult?this._diffComputationResult.changes:[],i=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),t=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),o=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,i,t,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,o.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,o.modified,!0)}finally{this._currentlyChangingViewZones=!1}}},i.prototype._adjustOptionsForSubEditor=function(e){var i=p.deepClone(e||{});return i.inDiffEditor=!0,i.wordWrap="off",i.wordWrapMinified=!1,i.automaticLayout=!1,i.scrollbar=i.scrollbar||{},i.scrollbar.vertical="visible",i.folding=!1,i.codeLens=!1,i.fixedOverflowWidgets=!0,i.minimap||(i.minimap={}),i.minimap.enabled=!1,i},i.prototype._adjustOptionsForLeftHandSide=function(e,i){var t=this._adjustOptionsForSubEditor(e);return t.readOnly=!i,t.overviewRulerLanes=1,t.extraEditorClassName="original-in-monaco-diff-editor",t},i.prototype._adjustOptionsForRightHandSide=function(e){var t=this._adjustOptionsForSubEditor(e);return t.revealHorizontalRightPadding=N.EDITOR_DEFAULTS.viewInfo.revealHorizontalRightPadding+i.ENTIRE_DIFF_OVERVIEW_WIDTH,t.scrollbar.verticalHasArrows=!1,t.extraEditorClassName="modified-in-monaco-diff-editor",t},i.prototype.doLayout=function(){this._measureDomElement(!0)},i.prototype._doLayout=function(){var e=this._strategy.layout();this._originalDomNode.style.width=e+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=this._width-e+"px",this._modifiedDomNode.style.left=e+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=this._height-this._reviewHeight+"px",this._overviewDomElement.style.width=i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=this._width-i.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(i.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:e,height:this._height-this._reviewHeight}),this.modifiedEditor.layout({width:this._width-e-i.ENTIRE_DIFF_OVERVIEW_WIDTH,height:this._height-this._reviewHeight}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(this._height-this._reviewHeight,this._width,this._reviewHeight),this._layoutOverviewViewport()},i.prototype._layoutOverviewViewport=function(){var e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))},i.prototype._computeOverviewViewport=function(){var e=this.modifiedEditor.getLayoutInfo();if(!e)return null;var i=this.modifiedEditor.getScrollTop(),t=this.modifiedEditor.getScrollHeight(),o=Math.max(0,e.contentHeight),n=Math.max(0,o-0),r=t>0?n/t:0,d=Math.max(0,Math.floor(e.contentHeight*r)),a=Math.floor(i*r);return{height:d,top:a}},i.prototype._createDataSource=function(){var e=this;return{getWidth:function(){return e._width},getHeight:function(){return e._height-e._reviewHeight},getContainerDomNode:function(){return e._containerDomElement},relayoutEditors:function(){e._doLayout()},getOriginalEditor:function(){return e.originalEditor},getModifiedEditor:function(){return e.modifiedEditor}}},i.prototype._setStrategy=function(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._measureDomElement(!0)},i.prototype._getLineChangeAtOrBeforeLineNumber=function(e,i){var t=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===t.length||e<i(t[0]))return null;for(var o=0,n=t.length-1;n>o;){var r=Math.floor((o+n)/2),d=i(t[r]),a=n>=r+1?i(t[r+1]):Number.MAX_VALUE;d>e?n=r-1:e>=a?o=r+1:(o=r,n=r)}return t[o]},i.prototype._getEquivalentLineForOriginalLineNumber=function(e){var i=this._getLineChangeAtOrBeforeLineNumber(e,function(e){return e.originalStartLineNumber});if(!i)return e;var t=i.originalStartLineNumber+(i.originalEndLineNumber>0?-1:0),o=i.modifiedStartLineNumber+(i.modifiedEndLineNumber>0?-1:0),n=i.originalEndLineNumber>0?i.originalEndLineNumber-i.originalStartLineNumber+1:0,r=i.modifiedEndLineNumber>0?i.modifiedEndLineNumber-i.modifiedStartLineNumber+1:0,d=e-t;return n>=d?o+Math.min(d,r):o+r-n+d},i.prototype._getEquivalentLineForModifiedLineNumber=function(e){var i=this._getLineChangeAtOrBeforeLineNumber(e,function(e){return e.modifiedStartLineNumber});if(!i)return e;var t=i.originalStartLineNumber+(i.originalEndLineNumber>0?-1:0),o=i.modifiedStartLineNumber+(i.modifiedEndLineNumber>0?-1:0),n=i.originalEndLineNumber>0?i.originalEndLineNumber-i.originalStartLineNumber+1:0,r=i.modifiedEndLineNumber>0?i.modifiedEndLineNumber-i.modifiedStartLineNumber+1:0,d=e-o;return r>=d?t+Math.min(d,n):t+n-r+d},i.prototype.getDiffLineInformationForOriginal=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null},i.prototype.getDiffLineInformationForModified=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null},i.ONE_OVERVIEW_WIDTH=15,i.ENTIRE_DIFF_OVERVIEW_WIDTH=30,i.UPDATE_DIFF_DECORATIONS_DELAY=200,i=s([l(2,C.IEditorWorkerService),l(3,T.IContextKeyService),l(4,W.IInstantiationService),l(5,w.ICodeEditorService),l(6,Z.IThemeService),l(7,F.INotificationService)],i)}(_.Disposable);i.DiffEditorWidget=z;var U=function(e){function i(i){var t=e.call(this)||this;return t._dataSource=i,t}return a(i,e),i.prototype.applyColors=function(e){var i=(e.getColor(x.diffInserted)||x.defaultInsertColor).transparent(2),t=(e.getColor(x.diffRemoved)||x.defaultRemoveColor).transparent(2),o=!i.equals(this._insertColor)||!t.equals(this._removeColor);return this._insertColor=i,this._removeColor=t,o},i.prototype.getEditorsDiffDecorations=function(e,i,t,o,n,r,d){n=n.sort(function(e,i){return e.afterLineNumber-i.afterLineNumber}),o=o.sort(function(e,i){return e.afterLineNumber-i.afterLineNumber});var a=this._getViewZones(e,o,n,r,d,t),s=this._getOriginalEditorDecorations(e,i,t,r,d),l=this._getModifiedEditorDecorations(e,i,t,r,d);return{original:{decorations:s.decorations,overviewZones:s.overviewZones,zones:a.original},modified:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.modified}}},i}(_.Disposable),B=function(){function e(e){this._source=e,this._index=-1,this.advance()}return e.prototype.advance=function(){this._index++,this.current=this._index<this._source.length?this._source[this._index]:null},e}(),k=function(){function e(e,i,t){this.lineChanges=e,this.originalForeignVZ=i,this.modifiedForeignVZ=t}return e.prototype.getViewZones=function(){for(var i={original:[],modified:[]},t=0,r=0,d=0,a=0,s=0,l=0,m=function(e,i){return e.afterLineNumber-i.afterLineNumber},h=function(e,i){if(null===i.domNode&&e.length>0){var t=e[e.length-1];if(t.afterLineNumber===i.afterLineNumber&&null===t.domNode)return void(t.heightInLines+=i.heightInLines)}e.push(i)},u=new B(this.modifiedForeignVZ),c=new B(this.originalForeignVZ),f=0,g=this.lineChanges.length;g>=f;f++){var _=g>f?this.lineChanges[f]:null;null!==_?(d=_.originalStartLineNumber+(_.originalEndLineNumber>0?-1:0),a=_.modifiedStartLineNumber+(_.modifiedEndLineNumber>0?-1:0),r=_.originalEndLineNumber>0?_.originalEndLineNumber-_.originalStartLineNumber+1:0,t=_.modifiedEndLineNumber>0?_.modifiedEndLineNumber-_.modifiedStartLineNumber+1:0,s=Math.max(_.originalStartLineNumber,_.originalEndLineNumber),l=Math.max(_.modifiedStartLineNumber,_.modifiedEndLineNumber)):(d+=1e7+r,a+=1e7+t,s=d,l=a);for(var p=[],v=[];u.current&&u.current.afterLineNumber<=l;){var E=void 0;E=u.current.afterLineNumber<=a?d-a+u.current.afterLineNumber:s;var w=null;_&&_.modifiedStartLineNumber<=u.current.afterLineNumber&&u.current.afterLineNumber<=_.modifiedEndLineNumber&&(w=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),p.push({afterLineNumber:E,heightInLines:u.current.heightInLines,domNode:null,marginDomNode:w}),u.advance()}for(;c.current&&c.current.afterLineNumber<=s;){var E=void 0;E=c.current.afterLineNumber<=d?a-d+c.current.afterLineNumber:l,v.push({afterLineNumber:E,heightInLines:c.current.heightInLines,domNode:null}),c.advance()}if(null!==_&&o(_)){var S=this._produceOriginalFromDiff(_,r,t);S&&p.push(S)}if(null!==_&&n(_)){var S=this._produceModifiedFromDiff(_,r,t);S&&v.push(S)}var D=0,N=0;for(p=p.sort(m),v=v.sort(m);D<p.length&&N<v.length;){var b=p[D],L=v[N],y=b.afterLineNumber-d,I=L.afterLineNumber-a;I>y?(h(i.original,b),D++):y>I?(h(i.modified,L),N++):b.shouldNotShrink?(h(i.original,b),D++):L.shouldNotShrink?(h(i.modified,L),N++):b.heightInLines>=L.heightInLines?(b.heightInLines-=L.heightInLines,N++):(L.heightInLines-=b.heightInLines,D++)}for(;D<p.length;)h(i.original,p[D]),D++;for(;N<v.length;)h(i.modified,v[N]),N++}return{original:e._ensureDomNodes(i.original),modified:e._ensureDomNodes(i.modified)}},e._ensureDomNodes=function(e){return e.map(function(e){return e.domNode||(e.domNode=r()),e})},e}(),j={charDelete:I.ModelDecorationOptions.register({className:"char-delete"}),charDeleteWholeLine:I.ModelDecorationOptions.register({className:"char-delete",isWholeLine:!0}),charInsert:I.ModelDecorationOptions.register({className:"char-insert"}),charInsertWholeLine:I.ModelDecorationOptions.register({className:"char-insert",isWholeLine:!0}),lineInsert:I.ModelDecorationOptions.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:I.ModelDecorationOptions.register({className:"line-insert",linesDecorationsClassName:"insert-sign",marginClassName:"line-insert",isWholeLine:!0}),lineDelete:I.ModelDecorationOptions.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:I.ModelDecorationOptions.register({className:"line-delete",linesDecorationsClassName:"delete-sign",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:I.ModelDecorationOptions.register({marginClassName:"line-delete"})},q=function(e){function i(i,t){var o=e.call(this,i)||this;return o._disableSash=t===!1,o._sashRatio=null,o._sashPosition=null,o._sash=o._register(new c.Sash(o._dataSource.getContainerDomNode(),o)),o._disableSash&&(o._sash.state=0),o._sash.onDidStart(function(){return o.onSashDragStart()}),o._sash.onDidChange(function(e){return o.onSashDrag(e)}),o._sash.onDidEnd(function(){return o.onSashDragEnd()}),o._sash.onDidReset(function(){return o.onSashReset()}),o}return a(i,e),i.prototype.setEnableSplitViewResizing=function(e){var i=e===!1;this._disableSash!==i&&(this._disableSash=i,this._sash.state=this._disableSash?0:3)},i.prototype.layout=function(e){void 0===e&&(e=this._sashRatio);var t=this._dataSource.getWidth(),o=t-z.ENTIRE_DIFF_OVERVIEW_WIDTH,n=Math.floor((e||.5)*o),r=Math.floor(.5*o);return n=this._disableSash?r:n||r,o>2*i.MINIMUM_EDITOR_WIDTH?(n<i.MINIMUM_EDITOR_WIDTH&&(n=i.MINIMUM_EDITOR_WIDTH),n>o-i.MINIMUM_EDITOR_WIDTH&&(n=o-i.MINIMUM_EDITOR_WIDTH)):n=r,this._sashPosition!==n&&(this._sashPosition=n,this._sash.layout()),this._sashPosition
},i.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},i.prototype.onSashDrag=function(e){var i=this._dataSource.getWidth(),t=i-z.ENTIRE_DIFF_OVERVIEW_WIDTH,o=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=o/t,this._dataSource.relayoutEditors()},i.prototype.onSashDragEnd=function(){this._sash.layout()},i.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},i.prototype.getVerticalSashTop=function(){return 0},i.prototype.getVerticalSashLeft=function(){return this._sashPosition},i.prototype.getVerticalSashHeight=function(){return this._dataSource.getHeight()},i.prototype._getViewZones=function(e,i,t){var o=new K(e,i,t);return o.getViewZones()},i.prototype._getOriginalEditorDecorations=function(e,i,r,d){for(var a=this._removeColor.toString(),s={decorations:[],overviewZones:[]},l=d.getModel(),m=0,h=e.length;h>m;m++){var u=e[m];if(n(u)&&(s.decorations.push({range:new b.Range(u.originalStartLineNumber,1,u.originalEndLineNumber,Number.MAX_VALUE),options:r?j.lineDeleteWithSign:j.lineDelete}),o(u)&&u.charChanges||s.decorations.push(t(u.originalStartLineNumber,1,u.originalEndLineNumber,Number.MAX_VALUE,j.charDeleteWholeLine)),s.overviewZones.push(new R.OverviewRulerZone(u.originalStartLineNumber,u.originalEndLineNumber,a)),u.charChanges))for(var c=0,f=u.charChanges.length;f>c;c++){var g=u.charChanges[c];if(n(g))if(i)for(var _=g.originalStartLineNumber;_<=g.originalEndLineNumber;_++){var p=void 0,v=void 0;p=_===g.originalStartLineNumber?g.originalStartColumn:l.getLineFirstNonWhitespaceColumn(_),v=_===g.originalEndLineNumber?g.originalEndColumn:l.getLineLastNonWhitespaceColumn(_),s.decorations.push(t(_,p,_,v,j.charDelete))}else s.decorations.push(t(g.originalStartLineNumber,g.originalStartColumn,g.originalEndLineNumber,g.originalEndColumn,j.charDelete))}}return s},i.prototype._getModifiedEditorDecorations=function(e,i,r,d,a){for(var s=this._insertColor.toString(),l={decorations:[],overviewZones:[]},m=a.getModel(),h=0,u=e.length;u>h;h++){var c=e[h];if(o(c)&&(l.decorations.push({range:new b.Range(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,Number.MAX_VALUE),options:r?j.lineInsertWithSign:j.lineInsert}),n(c)&&c.charChanges||l.decorations.push(t(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,Number.MAX_VALUE,j.charInsertWholeLine)),l.overviewZones.push(new R.OverviewRulerZone(c.modifiedStartLineNumber,c.modifiedEndLineNumber,s)),c.charChanges))for(var f=0,g=c.charChanges.length;g>f;f++){var _=c.charChanges[f];if(o(_))if(i)for(var p=_.modifiedStartLineNumber;p<=_.modifiedEndLineNumber;p++){var v=void 0,E=void 0;v=p===_.modifiedStartLineNumber?_.modifiedStartColumn:m.getLineFirstNonWhitespaceColumn(p),E=p===_.modifiedEndLineNumber?_.modifiedEndColumn:m.getLineLastNonWhitespaceColumn(p),l.decorations.push(t(p,v,p,E,j.charInsert))}else l.decorations.push(t(_.modifiedStartLineNumber,_.modifiedStartColumn,_.modifiedEndLineNumber,_.modifiedEndColumn,j.charInsert))}}return l},i.MINIMUM_EDITOR_WIDTH=100,i}(U),K=function(e){function i(i,t,o){return e.call(this,i,t,o)||this}return a(i,e),i.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){return null},i.prototype._produceOriginalFromDiff=function(e,i,t){return t>i?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:t-i,domNode:null}:null},i.prototype._produceModifiedFromDiff=function(e,i,t){return i>t?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:i-t,domNode:null}:null},i}(k),X=function(e){function i(i){var t=e.call(this,i)||this;return t.decorationsLeft=i.getOriginalEditor().getLayoutInfo().decorationsLeft,t._register(i.getOriginalEditor().onDidLayoutChange(function(e){t.decorationsLeft!==e.decorationsLeft&&(t.decorationsLeft=e.decorationsLeft,i.relayoutEditors())})),t}return a(i,e),i.prototype.setEnableSplitViewResizing=function(){},i.prototype._getViewZones=function(e,i,t,o,n,r){var d=new Y(e,i,t,o,n,r);return d.getViewZones()},i.prototype._getOriginalEditorDecorations=function(e){for(var i=this._removeColor.toString(),t={decorations:[],overviewZones:[]},o=0,r=e.length;r>o;o++){var d=e[o];n(d)&&(t.decorations.push({range:new b.Range(d.originalStartLineNumber,1,d.originalEndLineNumber,Number.MAX_VALUE),options:j.lineDeleteMargin}),t.overviewZones.push(new R.OverviewRulerZone(d.originalStartLineNumber,d.originalEndLineNumber,i)))}return t},i.prototype._getModifiedEditorDecorations=function(e,i,n,r,d){for(var a=this._insertColor.toString(),s={decorations:[],overviewZones:[]},l=d.getModel(),m=0,h=e.length;h>m;m++){var u=e[m];if(o(u))if(s.decorations.push({range:new b.Range(u.modifiedStartLineNumber,1,u.modifiedEndLineNumber,Number.MAX_VALUE),options:n?j.lineInsertWithSign:j.lineInsert}),s.overviewZones.push(new R.OverviewRulerZone(u.modifiedStartLineNumber,u.modifiedEndLineNumber,a)),u.charChanges)for(var c=0,f=u.charChanges.length;f>c;c++){var g=u.charChanges[c];if(o(g))if(i)for(var _=g.modifiedStartLineNumber;_<=g.modifiedEndLineNumber;_++){var p=void 0,v=void 0;p=_===g.modifiedStartLineNumber?g.modifiedStartColumn:l.getLineFirstNonWhitespaceColumn(_),v=_===g.modifiedEndLineNumber?g.modifiedEndColumn:l.getLineLastNonWhitespaceColumn(_),s.decorations.push(t(_,p,_,v,j.charInsert))}else s.decorations.push(t(g.modifiedStartLineNumber,g.modifiedStartColumn,g.modifiedEndLineNumber,g.modifiedEndColumn,j.charInsert))}else s.decorations.push(t(u.modifiedStartLineNumber,1,u.modifiedEndLineNumber,Number.MAX_VALUE,j.charInsertWholeLine))}return s},i.prototype.layout=function(){return Math.max(5,this.decorationsLeft)},i}(U),Y=function(e){function i(i,t,o,n,r,d){var a=e.call(this,i,t,o)||this;return a.originalModel=n.getModel(),a.modifiedEditorConfiguration=r.getConfiguration(),a.modifiedEditorTabSize=r.getModel().getOptions().tabSize,a.renderIndicators=d,a}return a(i,e),i.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){var e=document.createElement("div");return e.className="inline-added-margin-view-zone",e},i.prototype._produceOriginalFromDiff=function(e,i,t){var o=document.createElement("div");return o.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:t,domNode:document.createElement("div"),marginDomNode:o}},i.prototype._produceModifiedFromDiff=function(e,i){var t=[];if(e.charChanges)for(var o=0,r=e.charChanges.length;r>o;o++){var d=e.charChanges[o];n(d)&&t.push(new M.InlineDecoration(new b.Range(d.originalStartLineNumber,d.originalStartColumn,d.originalEndLineNumber,d.originalEndColumn),"char-delete",0))}for(var a=L.createStringBuilder(1e4),s=[],l=this.modifiedEditorConfiguration.layoutInfo.decorationsWidth,m=this.modifiedEditorConfiguration.lineHeight,h=this.modifiedEditorConfiguration.fontInfo.typicalHalfwidthCharacterWidth,u=0,c=e.originalStartLineNumber;c<=e.originalEndLineNumber;c++)if(u=Math.max(u,this._renderOriginalLine(c-e.originalStartLineNumber,this.originalModel,this.modifiedEditorConfiguration,this.modifiedEditorTabSize,c,t,a)),this.renderIndicators){var f=c-e.originalStartLineNumber;s=s.concat(['<div class="delete-sign" style="position:absolute;top:'+f*m+"px;width:"+l+"px;height:"+m+'px;right:0;"></div>'])}u+=this.modifiedEditorConfiguration.viewInfo.scrollBeyondLastColumn;var g=document.createElement("div");g.className="view-lines line-delete",g.innerHTML=a.build(),v.Configuration.applyFontInfoSlow(g,this.modifiedEditorConfiguration.fontInfo);var _=document.createElement("div");return _.className="inline-deleted-margin-view-zone",_.innerHTML=s.join(""),v.Configuration.applyFontInfoSlow(_,this.modifiedEditorConfiguration.fontInfo),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:i,minWidthInPx:u*h,domNode:g,marginDomNode:_}},i.prototype._renderOriginalLine=function(e,i,t,o,n,r,d){var a=i.getLineTokens(n),s=a.getLineContent(),l=O.LineDecoration.filter(r,n,1,s.length+1);d.appendASCIIString('<div class="view-line'),0===r.length&&d.appendASCIIString(" char-delete"),d.appendASCIIString('" style="top:'),d.appendASCIIString(String(e*t.lineHeight)),d.appendASCIIString('px;width:1000000px;">');var m=M.ViewLineRenderingData.isBasicASCII(s,i.mightContainNonBasicASCII()),h=M.ViewLineRenderingData.containsRTL(s,m,i.mightContainRTL()),u=V.renderViewLine(new V.RenderLineInput(t.fontInfo.isMonospace&&!t.viewInfo.disableMonospaceOptimizations,t.fontInfo.canUseHalfwidthRightwardsArrow,s,!1,m,h,0,a,l,o,t.fontInfo.spaceWidth,t.viewInfo.stopRenderingLineAfter,t.viewInfo.renderWhitespace,t.viewInfo.renderControlCharacters,t.viewInfo.fontLigatures),d);d.appendASCIIString("</div>");var c=u.characterMapping.getAbsoluteOffsets();return c.length>0?c[c.length-1]:0},i}(k);Z.registerThemingParticipant(function(e,i){var t=e.getColor(x.diffInserted);t&&(i.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+t+"; }"),i.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+t+"; }"),i.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+t+"; }"));var o=e.getColor(x.diffRemoved);o&&(i.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+o+"; }"),i.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+o+"; }"),i.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+o+"; }"));var n=e.getColor(x.diffInsertedOutline);n&&i.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+n+"; }");var r=e.getColor(x.diffRemovedOutline);r&&i.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+r+"; }");var d=e.getColor(x.scrollbarShadow);d&&i.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+d+"; }");var a=e.getColor(x.diffBorder);a&&i.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+a+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/common/standaloneThemeService.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/common/standaloneThemeService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.IStandaloneThemeService=n.createDecorator("themeService")});
;/*!node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView.js*/
define("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");t.IContextViewService=o.createDecorator("contextViewService"),t.IContextMenuService=o.createDecorator("contextMenuService")});
;/*!node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js*/
define("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");n.IKeybindingService=o.createDecorator("keybindingService")});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeEditor.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeEditor",function(e,o){"use strict";function t(){D||(D=!0,s.setARIAContainer(document.body))}Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function i(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),r=this&&this.__decorate||function(e,o,t,i){var n,r=arguments.length,d=3>r?o:null===i?i=Object.getOwnPropertyDescriptor(o,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,o,t,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(d=(3>r?n(d):r>3?n(o,t,d):n(o,t))||d);return r>3&&d&&Object.defineProperty(o,t,d),d},d=this&&this.__param||function(e,o){return function(t,i){o(t,i,e)}},a=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),s=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria")),c=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),m=e("node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditorWidget"),p=e("node_modules/monaco-editor/esm/vs/editor/common/editorAction"),f=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService"),v=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/simpleServices"),y=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/standaloneThemeService"),_=e("node_modules/monaco-editor/esm/vs/platform/actions/common/actions"),h=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),g=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),S=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),b=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView"),C=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),I=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),w=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),x=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),E=e("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility"),K=e("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings"),M=0,D=!1,O=function(e){function o(o,i,n,r,d,s,c,l,m,u){var p=this;return i=i||{},i.ariaLabel=i.ariaLabel||K.StandaloneCodeEditorNLS.editorViewAccessibleLabel,i.ariaLabel=i.ariaLabel+";"+(a.isIE?K.StandaloneCodeEditorNLS.accessibilityHelpMessageIE:K.StandaloneCodeEditorNLS.accessibilityHelpMessage),p=e.call(this,o,i,{},n,r,d,s,l,m,u)||this,c instanceof v.StandaloneKeybindingService&&(p._standaloneKeybindingService=c),t(),p}return n(o,e),o.prototype.addCommand=function(e,o,t){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;var i="DYNAMIC_"+ ++M,n=S.ContextKeyExpr.deserialize(t);return this._standaloneKeybindingService.addDynamicKeybinding(i,e,o,n),i},o.prototype.createContextKey=function(e,o){return this._contextKeyService.createKey(e,o)},o.prototype.addAction=function(e){var o=this;if("string"!=typeof e.id||"string"!=typeof e.label||"function"!=typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),c.Disposable.None;var t=e.id,i=e.label,n=S.ContextKeyExpr.and(S.ContextKeyExpr.equals("editorId",this.getId()),S.ContextKeyExpr.deserialize(e.precondition)),r=e.keybindings,d=S.ContextKeyExpr.and(n,S.ContextKeyExpr.deserialize(e.keybindingContext)),a=e.contextMenuGroupId||null,s=e.contextMenuOrder||0,l=function(){return Promise.resolve(e.run(o))},m=[],u=this.getId()+":"+t;if(m.push(h.CommandsRegistry.registerCommand(u,l)),a){var f={command:{id:u,title:i},when:n,group:a,order:s};m.push(_.MenuRegistry.appendMenuItem(7,f))}Array.isArray(r)&&(m=m.concat(r.map(function(e){return o._standaloneKeybindingService.addDynamicKeybinding(u,e,l,d)})));var v=new p.InternalEditorAction(u,i,i,n,l,this._contextKeyService);return this._actions[t]=v,m.push(c.toDisposable(function(){delete o._actions[t]})),c.combinedDisposable(m)},o=r([d(2,C.IInstantiationService),d(3,l.ICodeEditorService),d(4,h.ICommandService),d(5,S.IContextKeyService),d(6,I.IKeybindingService),d(7,x.IThemeService),d(8,w.INotificationService),d(9,E.IAccessibilityService)],o)}(m.CodeEditorWidget);o.StandaloneCodeEditor=O;var A=function(e){function o(o,t,i,n,r,d,a,s,c,l,m,u,p){var f=this;v.applyConfigurationValues(u,t,!1),t=t||{},"string"==typeof t.theme&&l.setTheme(t.theme);var y=t.model;delete t.model,f=e.call(this,o,t,n,r,d,a,s,l,m,p)||this,f._contextViewService=c,f._configurationService=u,f._register(i);var _;if("undefined"==typeof y?(_=self.monaco.editor.createModel(t.value||"",t.language||"text/plain"),f._ownsModel=!0):(_=y,f._ownsModel=!1),f._attachModel(_),_){var h={oldModelUrl:null,newModelUrl:_.uri};f._onDidChangeModel.fire(h)}return f}return n(o,e),o.prototype.dispose=function(){e.prototype.dispose.call(this)},o.prototype.updateOptions=function(o){v.applyConfigurationValues(this._configurationService,o,!1),e.prototype.updateOptions.call(this,o)},o.prototype._attachModel=function(o){e.prototype._attachModel.call(this,o),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)},o.prototype._postDetachModelCleanup=function(o){e.prototype._postDetachModelCleanup.call(this,o),o&&this._ownsModel&&(o.dispose(),this._ownsModel=!1)},o=r([d(3,C.IInstantiationService),d(4,l.ICodeEditorService),d(5,h.ICommandService),d(6,S.IContextKeyService),d(7,I.IKeybindingService),d(8,b.IContextViewService),d(9,y.IStandaloneThemeService),d(10,w.INotificationService),d(11,g.IConfigurationService),d(12,E.IAccessibilityService)],o)}(O);o.StandaloneEditor=A;var V=function(e){function o(o,t,i,n,r,d,a,s,c,l,m,u){var p=this;return v.applyConfigurationValues(u,t,!0),t=t||{},"string"==typeof t.theme&&(t.theme=l.setTheme(t.theme)),p=e.call(this,o,t,s,r,n,c,l,m)||this,p._contextViewService=a,p._configurationService=u,p._register(i),p._contextViewService.setContainer(p._containerDomElement),p}return n(o,e),o.prototype.dispose=function(){e.prototype.dispose.call(this)},o.prototype.updateOptions=function(o){v.applyConfigurationValues(this._configurationService,o,!0),e.prototype.updateOptions.call(this,o)},o.prototype._createInnerEditor=function(e,o,t){return e.createInstance(O,o,t)},o.prototype.getOriginalEditor=function(){return e.prototype.getOriginalEditor.call(this)},o.prototype.getModifiedEditor=function(){return e.prototype.getModifiedEditor.call(this)},o.prototype.addCommand=function(e,o,t){return this.getModifiedEditor().addCommand(e,o,t)},o.prototype.createContextKey=function(e,o){return this.getModifiedEditor().createContextKey(e,o)},o.prototype.addAction=function(e){return this.getModifiedEditor().addAction(e)},o=r([d(3,C.IInstantiationService),d(4,S.IContextKeyService),d(5,I.IKeybindingService),d(6,b.IContextViewService),d(7,f.IEditorWorkerService),d(8,l.ICodeEditorService),d(9,y.IStandaloneThemeService),d(10,w.INotificationService),d(11,g.IConfigurationService)],o)}(u.DiffEditorWidget);o.StandaloneDiffEditor=V});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.IBulkEditService=i.createDecorator("IWorkspaceEditService")});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/modeService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.IModeService=i.createDecorator("modeService")});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/abstractMode.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/abstractMode",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=function(){function e(e){this._languageIdentifier=e}return e.prototype.getId=function(){return this._languageIdentifier.language},e}();n.FrankensteinMode=t});
;/*!node_modules/monaco-editor/esm/vs/base/common/mime.js*/
define("node_modules/monaco-editor/esm/vs/base/common/mime",function(e,n){"use strict";function i(e,n){void 0===n&&(n=!1);var i=t(e);f.push(i),i.userConfigured?p.push(i):u.push(i),n&&!i.userConfigured&&f.forEach(function(e){e.mime===i.mime||e.userConfigured||(i.extension&&e.extension===i.extension&&console.warn("Overwriting extension <<"+i.extension+">> to now point to mime <<"+i.mime+">>"),i.filename&&e.filename===i.filename&&console.warn("Overwriting filename <<"+i.filename+">> to now point to mime <<"+i.mime+">>"),i.filepattern&&e.filepattern===i.filepattern&&console.warn("Overwriting filepattern <<"+i.filepattern+">> to now point to mime <<"+i.mime+">>"),i.firstline&&e.firstline===i.firstline&&console.warn("Overwriting firstline <<"+i.firstline+">> to now point to mime <<"+i.mime+">>"))})}function t(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:e.userConfigured,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?e.filepattern.toLowerCase():void 0,filepatternOnPath:e.filepattern?e.filepattern.indexOf(a.posix.sep)>=0:!1}}function o(e,i){if(!e)return[n.MIME_UNKNOWN];e=e.toLowerCase();var t=a.basename(e),o=r(e,t,p);if(o)return[o,n.MIME_TEXT];var m=r(e,t,u);if(m)return[m,n.MIME_TEXT];if(i){var l=s(i);if(l)return[l,n.MIME_TEXT]}return[n.MIME_UNKNOWN]}function r(e,n,i){for(var t=null,o=null,r=null,s=i.length-1;s>=0;s--){var a=i[s];if(n===a.filenameLowercase){t=a;break}if(a.filepattern&&(!o||a.filepattern.length>o.filepattern.length)){var f=a.filepatternOnPath?e:n;l.match(a.filepatternLowercase,f)&&(o=a)}a.extension&&(!r||a.extension.length>r.extension.length)&&m.endsWith(n,a.extensionLowercase)&&(r=a)}return t?t.mime:o?o.mime:r?r.mime:null}function s(e){if(m.startsWithUTF8BOM(e)&&(e=e.substr(1)),e.length>0)for(var n=0,i=f;n<i.length;n++){var t=i[n];if(t.firstline){var o=e.match(t.firstline);if(o&&o.length>0)return t.mime}}return null}Object.defineProperty(n,"__esModule",{value:!0});var a=e("node_modules/monaco-editor/esm/vs/base/common/path"),m=e("node_modules/monaco-editor/esm/vs/base/common/strings"),l=e("node_modules/monaco-editor/esm/vs/base/common/glob");n.MIME_TEXT="text/plain",n.MIME_UNKNOWN="application/unknown";var f=[],u=[],p=[];n.registerTextMime=i,n.guessMimeTypes=o});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var s=e("node_modules/tslib/tslib"),t=s.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),n=e("node_modules/monaco-editor/esm/vs/base/common/event"),i=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),a=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),g=e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform");o.Extensions={ModesRegistry:"editor.modesRegistry"};var r=function(){function e(){this._onDidChangeLanguages=new n.Emitter,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}return e.prototype.registerLanguage=function(e){this._languages.push(e),this._onDidChangeLanguages.fire(void 0)},e.prototype.getLanguages=function(){return[].concat(this._languages).concat(this._dynamicLanguages)},e}();o.EditorModesRegistry=r,o.ModesRegistry=new r,g.Registry.add(o.Extensions.ModesRegistry,o.ModesRegistry),o.PLAINTEXT_MODE_ID="plaintext",o.PLAINTEXT_LANGUAGE_IDENTIFIER=new i.LanguageIdentifier(o.PLAINTEXT_MODE_ID,1),o.ModesRegistry.registerLanguage({id:o.PLAINTEXT_MODE_ID,extensions:[".txt",".gitignore"],aliases:[t.localize("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),a.LanguageConfigurationRegistry.register(o.PLAINTEXT_LANGUAGE_IDENTIFIER,{brackets:[["(",")"],["[","]"],["{","}"]]})});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/languagesRegistry.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/languagesRegistry",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function i(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),a=e("node_modules/monaco-editor/esm/vs/base/common/errors"),r=e("node_modules/monaco-editor/esm/vs/base/common/event"),s=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),o=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/mime")),g=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),u=e("node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry"),l=e("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode"),d=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry"),p=e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform"),c=Object.prototype.hasOwnProperty,_=function(e){function n(n,t){void 0===n&&(n=!0),void 0===t&&(t=!1);var i=e.call(this)||this;return i._onDidChange=i._register(new r.Emitter),i.onDidChange=i._onDidChange.event,i._warnOnOverwrite=t,i._nextLanguageId2=1,i._languageIdToLanguage=[],i._languageToLanguageId=Object.create(null),i._languages={},i._mimeTypesMap={},i._nameMap={},i._lowercaseNameMap={},n&&(i._initializeFromRegistry(),i._register(u.ModesRegistry.onDidChangeLanguages(function(){return i._initializeFromRegistry()}))),i}return i(n,e),n.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=u.ModesRegistry.getLanguages();this._registerLanguages(e)},n.prototype._registerLanguages=function(e){for(var n=this,t=0,i=e;t<i.length;t++){var a=i[t];this._registerLanguage(a)}this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(function(e){var t=n._languages[e];t.name&&(n._nameMap[t.name]=t.identifier),t.aliases.forEach(function(e){n._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(function(e){n._mimeTypesMap[e]=t.identifier})}),p.Registry.as(d.Extensions.Configuration).registerOverrideIdentifiers(u.ModesRegistry.getLanguages().map(function(e){return e.id})),this._onDidChange.fire()},n.prototype._getLanguageId=function(e){if(this._languageToLanguageId[e])return this._languageToLanguageId[e];var n=this._nextLanguageId2++;return this._languageIdToLanguage[n]=e,this._languageToLanguageId[e]=n,n},n.prototype._registerLanguage=function(e){var n,t=e.id;if(c.call(this._languages,t))n=this._languages[t];else{var i=this._getLanguageId(t);n={identifier:new m.LanguageIdentifier(t,i),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[t]=n}this._mergeLanguage(n,e)},n.prototype._mergeLanguage=function(e,n){var t,i=n.id,r=null;if(Array.isArray(n.mimetypes)&&n.mimetypes.length>0&&((t=e.mimetypes).push.apply(t,n.mimetypes),r=n.mimetypes[0]),r||(r="text/x-"+i,e.mimetypes.push(r)),Array.isArray(n.extensions))for(var s=0,m=n.extensions;s<m.length;s++){var u=m[s];o.registerTextMime({id:i,mime:r,extension:u},this._warnOnOverwrite),e.extensions.push(u)}if(Array.isArray(n.filenames))for(var l=0,d=n.filenames;l<d.length;l++){var p=d[l];o.registerTextMime({id:i,mime:r,filename:p},this._warnOnOverwrite),e.filenames.push(p)}if(Array.isArray(n.filenamePatterns))for(var c=0,_=n.filenamePatterns;c<_.length;c++){var f=_[c];o.registerTextMime({id:i,mime:r,filepattern:f},this._warnOnOverwrite)}if("string"==typeof n.firstLine&&n.firstLine.length>0){var h=n.firstLine;"^"!==h.charAt(0)&&(h="^"+h);try{var y=new RegExp(h);g.regExpLeadsToEndlessLoop(y)||o.registerTextMime({id:i,mime:r,firstline:y},this._warnOnOverwrite)}catch(v){a.onUnexpectedError(v)}}e.aliases.push(i);var L=null;if("undefined"!=typeof n.aliases&&Array.isArray(n.aliases)&&(L=0===n.aliases.length?[null]:n.aliases),null!==L)for(var M=0,w=L;M<w.length;M++){var I=w[M];I&&0!==I.length&&e.aliases.push(I)}var O=null!==L&&L.length>0;if(O&&null===L[0]);else{var T=(O?L[0]:null)||i;(O||!e.name)&&(e.name=T)}n.configuration&&e.configurationFiles.push(n.configuration)},n.prototype.isRegisteredMode=function(e){return c.call(this._mimeTypesMap,e)?!0:c.call(this._languages,e)},n.prototype.getModeIdForLanguageNameLowercase=function(e){return c.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null},n.prototype.extractModeIds=function(e){var n=this;return e?e.split(",").map(function(e){return e.trim()}).map(function(e){return c.call(n._mimeTypesMap,e)?n._mimeTypesMap[e].language:e}).filter(function(e){return c.call(n._languages,e)}):[]},n.prototype.getLanguageIdentifier=function(e){if(e===l.NULL_MODE_ID||0===e)return l.NULL_LANGUAGE_IDENTIFIER;var n;if("string"==typeof e)n=e;else if(n=this._languageIdToLanguage[e],!n)return null;return c.call(this._languages,n)?this._languages[n].identifier:null},n.prototype.getModeIdsFromFilepathOrFirstLine=function(e,n){if(!e&&!n)return[];var t=o.guessMimeTypes(e,n);return this.extractModeIds(t.join(","))},n}(s.Disposable);n.LanguagesRegistry=_});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/modeServiceImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/modeServiceImpl",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),o=e("node_modules/monaco-editor/esm/vs/base/common/event"),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),i=e("node_modules/monaco-editor/esm/vs/editor/common/modes/abstractMode"),a=e("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode"),s=e("node_modules/monaco-editor/esm/vs/editor/common/services/languagesRegistry"),d=function(e){function t(t,n){var r=e.call(this)||this;return r._onDidChange=r._register(new o.Emitter),r.onDidChange=r._onDidChange.event,r._selector=n,r.languageIdentifier=r._selector(),r._register(t(function(){return r._evaluate()})),r}return n(t,e),t.prototype._evaluate=function(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))},t}(r.Disposable),g=function(){function e(e){var t=this;void 0===e&&(e=!1),this._onDidCreateMode=new o.Emitter,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new o.Emitter,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new s.LanguagesRegistry(!0,e),this._registry.onDidChange(function(){return t._onLanguagesMaybeChanged.fire()})}return e.prototype.isRegisteredMode=function(e){return this._registry.isRegisteredMode(e)},e.prototype.getModeIdForLanguageName=function(e){return this._registry.getModeIdForLanguageNameLowercase(e)},e.prototype.getModeIdByFilepathOrFirstLine=function(e,t){var n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return n.length>0?n[0]:null},e.prototype.getModeId=function(e){var t=this._registry.extractModeIds(e);return t.length>0?t[0]:null},e.prototype.getLanguageIdentifier=function(e){return this._registry.getLanguageIdentifier(e)},e.prototype.create=function(e){var t=this;return new d(this.onLanguagesMaybeChanged,function(){var n=t.getModeId(e);return t._createModeAndGetLanguageIdentifier(n)})},e.prototype.createByFilepathOrFirstLine=function(e,t){var n=this;return new d(this.onLanguagesMaybeChanged,function(){var o=n.getModeIdByFilepathOrFirstLine(e,t);return n._createModeAndGetLanguageIdentifier(o)})},e.prototype._createModeAndGetLanguageIdentifier=function(e){var t=this.getLanguageIdentifier(e||"plaintext")||a.NULL_LANGUAGE_IDENTIFIER;return this._getOrCreateMode(t.language),t},e.prototype.triggerMode=function(e){var t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")},e.prototype._getOrCreateMode=function(e){if(!this._instantiatedModes.hasOwnProperty(e)){var t=this.getLanguageIdentifier(e)||a.NULL_LANGUAGE_IDENTIFIER;this._instantiatedModes[e]=new i.FrankensteinMode(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},e}();t.ModeServiceImpl=g});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/modelServiceImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/modelServiceImpl",function(e,t){"use strict";function o(e){return e.toString()}Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),r=this&&this.__decorate||function(e,t,o,i){var n,r=arguments.length,s=3>r?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(s=(3>r?n(s):r>3?n(t,o,s):n(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},s=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},d=e("node_modules/monaco-editor/esm/vs/base/common/event"),a=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),u=e("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions"),c=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),p=e("node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry"),g=e("node_modules/monaco-editor/esm/vs/editor/common/services/resourceConfiguration"),m=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),_=function(){function e(e,t,o){this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners=[],this._modelEventListeners.push(e.onWillDispose(function(){return t(e)})),this._modelEventListeners.push(e.onDidChangeLanguage(function(t){return o(e,t)}))}return e.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},e.prototype.dispose=function(){this._modelEventListeners=a.dispose(this._modelEventListeners),this._disposeLanguageSelection()},e.prototype.setLanguage=function(e){var t=this;this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(function(){return t.model.setMode(e.languageIdentifier)}),this.model.setMode(e.languageIdentifier)},e}(),f=l.isLinux||l.isMacintosh?1:2,h=function(e){function t(t,o){var i=e.call(this)||this;return i._onModelAdded=i._register(new d.Emitter),i.onModelAdded=i._onModelAdded.event,i._onModelRemoved=i._register(new d.Emitter),i.onModelRemoved=i._onModelRemoved.event,i._onModelModeChanged=i._register(new d.Emitter),i.onModelModeChanged=i._onModelModeChanged.event,i._configurationService=t,i._resourcePropertiesService=o,i._models={},i._modelCreationOptionsByLanguageAndResource=Object.create(null),i._configurationServiceSubscription=i._configurationService.onDidChangeConfiguration(function(){return i._updateModelOptions()}),i._updateModelOptions(),i}return n(t,e),t._readModelOptions=function(e,t){var o=u.EDITOR_MODEL_DEFAULTS.tabSize;if(e.editor&&"undefined"!=typeof e.editor.tabSize){var i=parseInt(e.editor.tabSize,10);isNaN(i)||(o=i),1>o&&(o=1)}var n=o;if(e.editor&&"undefined"!=typeof e.editor.indentSize&&"tabSize"!==e.editor.indentSize){var r=parseInt(e.editor.indentSize,10);isNaN(r)||(n=r),1>n&&(n=1)}var s=u.EDITOR_MODEL_DEFAULTS.insertSpaces;e.editor&&"undefined"!=typeof e.editor.insertSpaces&&(s="false"===e.editor.insertSpaces?!1:Boolean(e.editor.insertSpaces));var d=f,a=e.eol;"\r\n"===a?d=2:"\n"===a&&(d=1);var l=u.EDITOR_MODEL_DEFAULTS.trimAutoWhitespace;e.editor&&"undefined"!=typeof e.editor.trimAutoWhitespace&&(l="false"===e.editor.trimAutoWhitespace?!1:Boolean(e.editor.trimAutoWhitespace));var c=u.EDITOR_MODEL_DEFAULTS.detectIndentation;e.editor&&"undefined"!=typeof e.editor.detectIndentation&&(c="false"===e.editor.detectIndentation?!1:Boolean(e.editor.detectIndentation));var p=u.EDITOR_MODEL_DEFAULTS.largeFileOptimizations;return e.editor&&"undefined"!=typeof e.editor.largeFileOptimizations&&(p="false"===e.editor.largeFileOptimizations?!1:Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:o,indentSize:n,insertSpaces:s,detectIndentation:c,defaultEOL:d,trimAutoWhitespace:l,largeFileOptimizations:p}},t.prototype.getCreationOptions=function(e,o,i){var n=this._modelCreationOptionsByLanguageAndResource[e+o];if(!n){var r=this._configurationService.getValue("editor",{overrideIdentifier:e,resource:o}),s=this._resourcePropertiesService.getEOL(o,e);n=t._readModelOptions({editor:r,eol:s},i),this._modelCreationOptionsByLanguageAndResource[e+o]=n}return n},t.prototype._updateModelOptions=function(){var e=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var o=Object.keys(this._models),i=0,n=o.length;n>i;i++){var r=o[i],s=this._models[r],d=s.model.getLanguageIdentifier().language,a=s.model.uri,l=e[d+a],u=this.getCreationOptions(d,a,s.model.isForSimpleWidget);t._setModelOptionsForModel(s.model,u,l)}},t._setModelOptionsForModel=function(e,t,o){o&&o.detectIndentation===t.detectIndentation&&o.insertSpaces===t.insertSpaces&&o.tabSize===t.tabSize&&o.indentSize===t.indentSize&&o.trimAutoWhitespace===t.trimAutoWhitespace||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace}))},t.prototype.dispose=function(){this._configurationServiceSubscription.dispose(),e.prototype.dispose.call(this)},t.prototype._createModelData=function(e,t,i,n){var r=this,s=this.getCreationOptions(t.language,i,n),d=new c.TextModel(e,s,t,i),a=o(d.uri);if(this._models[a])throw new Error("ModelService: Cannot add model because it already exists!");var l=new _(d,function(e){return r._onWillDispose(e)},function(e,t){return r._onDidChangeLanguage(e,t)});return this._models[a]=l,l},t.prototype.createModel=function(e,t,o,i){void 0===i&&(i=!1);var n;return t?(n=this._createModelData(e,t.languageIdentifier,o,i),this.setMode(n.model,t)):n=this._createModelData(e,p.PLAINTEXT_LANGUAGE_IDENTIFIER,o,i),this._onModelAdded.fire(n.model),n.model},t.prototype.setMode=function(e,t){if(t){var i=this._models[o(e.uri)];i&&i.setLanguage(t)}},t.prototype.getModels=function(){for(var e=[],t=Object.keys(this._models),o=0,i=t.length;i>o;o++){var n=t[o];e.push(this._models[n].model)}return e},t.prototype.getModel=function(e){var t=o(e),i=this._models[t];return i?i.model:null},t.prototype._onWillDispose=function(e){var t=o(e.uri),i=this._models[t];delete this._models[t],i.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageIdentifier().language+e.uri],this._onModelRemoved.fire(e)},t.prototype._onDidChangeLanguage=function(e,o){var i=o.oldLanguage,n=e.getLanguageIdentifier().language,r=this.getCreationOptions(i,e.uri,e.isForSimpleWidget),s=this.getCreationOptions(n,e.uri,e.isForSimpleWidget);t._setModelOptionsForModel(e,s,r),this._onModelModeChanged.fire({model:e,oldModeId:i})},t=r([s(0,m.IConfigurationService),s(1,g.ITextResourcePropertiesService)],t)}(a.Disposable);t.ModelServiceImpl=h});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/services/abstractCodeEditorService.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/services/abstractCodeEditorService",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function r(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),r=t("node_modules/monaco-editor/esm/vs/base/common/event"),i=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=function(t){function e(){var e=t.call(this)||this;return e._onCodeEditorAdd=e._register(new r.Emitter),e.onCodeEditorAdd=e._onCodeEditorAdd.event,e._onCodeEditorRemove=e._register(new r.Emitter),e._onDiffEditorAdd=e._register(new r.Emitter),e._onDiffEditorRemove=e._register(new r.Emitter),e._codeEditors=Object.create(null),e._diffEditors=Object.create(null),e}return o(e,t),e.prototype.addCodeEditor=function(t){this._codeEditors[t.getId()]=t,this._onCodeEditorAdd.fire(t)},e.prototype.removeCodeEditor=function(t){delete this._codeEditors[t.getId()]&&this._onCodeEditorRemove.fire(t)},e.prototype.listCodeEditors=function(){var t=this;return Object.keys(this._codeEditors).map(function(e){return t._codeEditors[e]})},e.prototype.addDiffEditor=function(t){this._diffEditors[t.getId()]=t,this._onDiffEditorAdd.fire(t)},e.prototype.removeDiffEditor=function(t){delete this._diffEditors[t.getId()]&&this._onDiffEditorRemove.fire(t)},e.prototype.listDiffEditors=function(){var t=this;return Object.keys(this._diffEditors).map(function(e){return t._diffEditors[e]})},e.prototype.getFocusedCodeEditor=function(){for(var t=null,e=this.listCodeEditors(),o=0,r=e;o<r.length;o++){var i=r[o];if(i.hasTextFocus())return i;i.hasWidgetFocus()&&(t=i)}return t},e}(i.Disposable);e.AbstractCodeEditorService=d});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorServiceImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorServiceImpl",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),n=this&&this.__decorate||function(e,t,o,r){var n,i=arguments.length,s=3>i?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(3>i?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},i=this&&this.__param||function(e,t){return function(o,r){t(o,r,e)}},s=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),a=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),c=e("node_modules/monaco-editor/esm/vs/base/common/uri"),h=e("node_modules/monaco-editor/esm/vs/editor/browser/services/abstractCodeEditorService"),u=e("node_modules/monaco-editor/esm/vs/editor/common/editorCommon"),d=e("node_modules/monaco-editor/esm/vs/editor/common/model"),p=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),m=function(e){function t(t,o){void 0===o&&(o=s.createStyleSheet());var r=e.call(this)||this;return r._styleSheet=o,r._decorationOptionProviders=Object.create(null),r._themeService=t,r}return r(t,e),t.prototype.registerDecorationType=function(e,t,o){var r=this._decorationOptionProviders[e];if(!r){var n={styleSheet:this._styleSheet,key:e,parentTypeKey:o,options:t||Object.create(null)};r=o?new f(this._themeService,n):new C(this._themeService,n),this._decorationOptionProviders[e]=r}r.refCount++},t.prototype.removeDecorationType=function(e){var t=this._decorationOptionProviders[e];t&&(t.refCount--,t.refCount<=0&&(delete this._decorationOptionProviders[e],t.dispose(),this.listCodeEditors().forEach(function(t){return t.removeDecorations(e)})))},t.prototype.resolveDecorationOptions=function(e,t){var o=this._decorationOptionProviders[e];if(!o)throw new Error("Unknown decoration type key: "+e);return o.getOptions(this,t)},t=n([i(0,p.IThemeService)],t)}(h.AbstractCodeEditorService);t.CodeEditorServiceImpl=m;var f=function(){function e(e,t){this._parentTypeKey=t.parentTypeKey,this.refCount=0,this._beforeContentRules=new S(3,t,e),this._afterContentRules=new S(4,t,e)}return e.prototype.getOptions=function(e){var t=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(t.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(t.afterContentClassName=this._afterContentRules.className),t},e.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null)},e}(),C=function(){function e(e,t){var o=this;this.refCount=0,this._disposables=[];var r=function(r){var n=new S(r,t,e);return o._disposables.push(n),n.hasContent?n.className:void 0},n=function(r){var n=new S(r,t,e);return o._disposables.push(n),n.hasContent?{className:n.className,hasLetterSpacing:n.hasLetterSpacing}:null};this.className=r(0);var i=n(1);i&&(this.inlineClassName=i.className,this.inlineClassNameAffectsLetterSpacing=i.hasLetterSpacing),this.beforeContentClassName=r(3),this.afterContentClassName=r(4),this.glyphMarginClassName=r(2);var s=t.options;this.isWholeLine=Boolean(s.isWholeLine),this.stickiness=s.rangeBehavior;var a=s.light&&s.light.overviewRulerColor||s.overviewRulerColor,l=s.dark&&s.dark.overviewRulerColor||s.overviewRulerColor;("undefined"!=typeof a||"undefined"!=typeof l)&&(this.overviewRuler={color:a||l,darkColor:l||a,position:s.overviewRulerLane||d.OverviewRulerLane.Center})}return e.prototype.getOptions=function(e,t){return t?{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},e.prototype.dispose=function(){this._disposables=a.dispose(this._disposables)},e}(),g={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:url('{0}') center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:url('{0}');",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},S=function(){function e(e,t,o){var r=this;this._theme=o.getTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var n=v.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(n=n+" "+v.getClassName(this._providerArgs.parentTypeKey,e)),this._className=n,this._unThemedSelector=v.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._themeListener=this._usesThemeColors?o.onThemeChange(function(){r._theme=o.getTheme(),r._removeCSS(),r._buildCSS()}):null}return e.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(e.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),e.prototype._buildCSS=function(){var e,t,o,r=this._providerArgs.options;switch(this._ruleType){case 0:e=this.getCSSTextForModelDecorationClassName(r),t=this.getCSSTextForModelDecorationClassName(r.light),o=this.getCSSTextForModelDecorationClassName(r.dark);break;case 1:e=this.getCSSTextForModelDecorationInlineClassName(r),t=this.getCSSTextForModelDecorationInlineClassName(r.light),o=this.getCSSTextForModelDecorationInlineClassName(r.dark);break;case 2:e=this.getCSSTextForModelDecorationGlyphMarginClassName(r),t=this.getCSSTextForModelDecorationGlyphMarginClassName(r.light),o=this.getCSSTextForModelDecorationGlyphMarginClassName(r.dark);break;case 3:e=this.getCSSTextForModelDecorationContentClassName(r.before),t=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.before),o=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.before);break;case 4:e=this.getCSSTextForModelDecorationContentClassName(r.after),t=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.after),o=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var n=this._providerArgs.styleSheet.sheet,i=!1;e.length>0&&(n.insertRule(this._unThemedSelector+" {"+e+"}",0),i=!0),t.length>0&&(n.insertRule(".vs"+this._unThemedSelector+" {"+t+"}",0),i=!0),o.length>0&&(n.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+o+"}",0),i=!0),this._hasContent=i},e.prototype._removeCSS=function(){s.removeCSSRulesContainingSelector(this._unThemedSelector,this._providerArgs.styleSheet)},e.prototype.getCSSTextForModelDecorationClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")},e.prototype.getCSSTextForModelDecorationInlineClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")},e.prototype.getCSSTextForModelDecorationContentClassName=function(e){if(!e)return"";var t=[];if("undefined"!=typeof e){if(this.collectBorderSettingsCSSText(e,t),"undefined"!=typeof e.contentIconPath&&t.push(l.format(g.contentIconPath,c.URI.revive(e.contentIconPath).toString(!0).replace(/'/g,"%27"))),"string"==typeof e.contentText){var o=e.contentText.match(/^.*$/m)[0],r=o.replace(/['\\]/g,"\\$&");t.push(l.format(g.contentText,r))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")},e.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(e){if(!e)return"";var t=[];return"undefined"!=typeof e.gutterIconPath&&(t.push(l.format(g.gutterIconPath,c.URI.revive(e.gutterIconPath).toString(!0).replace(/'/g,"%27"))),"undefined"!=typeof e.gutterIconSize&&t.push(l.format(g.gutterIconSize,e.gutterIconSize))),t.join("")},e.prototype.collectBorderSettingsCSSText=function(e,t){return this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)?(t.push(l.format("box-sizing: border-box;")),!0):!1},e.prototype.collectCSSText=function(e,t,o){for(var r=o.length,n=0,i=t;n<i.length;n++){var s=i[n],a=this.resolveValue(e[s]);"string"==typeof a&&o.push(l.format(g[s],a))}return o.length!==r},e.prototype.resolveValue=function(e){if(u.isThemeColor(e)){this._usesThemeColors=!0;var t=this._theme.getColor(e.id);return t?t.toString():"transparent"}return e},e}(),v=function(){function e(){}return e.getClassName=function(e,t){return"ced-"+e+"-"+t},e.getSelector=function(e,t,o){var r=".monaco-editor ."+this.getClassName(e,o);return t&&(r=r+"."+this.getClassName(t,o)),3===o?r+="::before":4===o&&(r+="::after"),r},e}()});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeServiceImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeServiceImpl",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),r=e("node_modules/monaco-editor/esm/vs/base/common/network"),i=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorServiceImpl"),s=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return t(o,e),o.prototype.getActiveCodeEditor=function(){return null},o.prototype.openCodeEditor=function(e,o){return Promise.resolve(o?this.doOpenEditor(o,e):null)},o.prototype.doOpenEditor=function(e,o){var t=this.findModel(e,o.resource);if(!t){if(o.resource){var i=o.resource.scheme;if(i===r.Schemas.http||i===r.Schemas.https)return n.windowOpenNoOpener(o.resource.toString()),e}return null}var s=o.options?o.options.selection:null;if(s)if("number"==typeof s.endLineNumber&&"number"==typeof s.endColumn)e.setSelection(s),e.revealRangeInCenter(s,1);else{var u={lineNumber:s.startLineNumber,column:s.startColumn};e.setPosition(u),e.revealPositionInCenter(u,1)}return e},o.prototype.findModel=function(e,o){var t=e.getModel();return t&&t.uri.toString()!==o.toString()?null:t},o}(i.CodeEditorServiceImpl);o.StandaloneCodeEditorServiceImpl=s});
;/*!node_modules/monaco-editor/esm/vs/editor/common/modes/supports/tokenization.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/tokenization",function(t,e){"use strict";function r(t){if(!t||!Array.isArray(t))return[];for(var e=[],r=0,n=0,o=t.length;o>n;n++){var i=t[n],a=-1;if("string"==typeof i.fontStyle){a=0;for(var u=i.fontStyle.split(" "),c=0,f=u.length;f>c;c++){var h=u[c];switch(h){case"italic":a=1|a;break;case"bold":a=2|a;break;case"underline":a=4|a}}}var d=null;"string"==typeof i.foreground&&(d=i.foreground);var l=null;"string"==typeof i.background&&(l=i.background),e[r++]=new s(i.token||"",n,a,d,l)}return e}function n(t,e){t.sort(function(t,e){var r=i(t.token,e.token);return 0!==r?r:t.index-e.index});for(var r=0,n="000000",o="ffffff";t.length>=1&&""===t[0].token;){var a=t.shift();-1!==a.fontStyle&&(r=a.fontStyle),null!==a.foreground&&(n=a.foreground),null!==a.background&&(o=a.background)}for(var u=new f,s=0,c=e;s<c.length;s++){var d=c[s];u.getId(d)}for(var p=u.getId(n),m=u.getId(o),_=new l(r,p,m),v=new g(_),k=0,y=t.length;y>k;k++){var b=t[k];v.insert(b.token,b.fontStyle,u.getId(b.foreground),u.getId(b.background))}return new h(u,v)}function o(t){var e=t.match(d);if(!e)return 0;switch(e[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 i(t,e){return e>t?-1:t>e?1:0}function a(t){for(var e=[],r=1,n=t.length;n>r;r++){var o=t[r];e[r]=".mtk"+r+" { color: "+o+"; }"}return e.push(".mtki { font-style: italic; }"),e.push(".mtkb { font-weight: bold; }"),e.push(".mtku { text-decoration: underline; text-underline-position: under; }"),e.join("\n")}Object.defineProperty(e,"__esModule",{value:!0});var u=t("node_modules/monaco-editor/esm/vs/base/common/color"),s=function(){function t(t,e,r,n,o){this.token=t,this.index=e,this.fontStyle=r,this.foreground=n,this.background=o}return t}();e.ParsedTokenThemeRule=s,e.parseTokenTheme=r;var c=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,f=function(){function t(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}return t.prototype.getId=function(t){if(null===t)return 0;var e=t.match(c);if(!e)throw new Error("Illegal value for token color: "+t);t=e[1].toUpperCase();var r=this._color2id.get(t);return r?r:(r=++this._lastColorId,this._color2id.set(t,r),this._id2color[r]=u.Color.fromHex("#"+t),r)},t.prototype.getColorMap=function(){return this._id2color.slice(0)},t}();e.ColorMap=f;var h=function(){function t(t,e){this._colorMap=t,this._root=e,this._cache=new Map}return t.createFromRawTokenTheme=function(t,e){return this.createFromParsedTokenTheme(r(t),e)},t.createFromParsedTokenTheme=function(t,e){return n(t,e)},t.prototype.getColorMap=function(){return this._colorMap.getColorMap()},t.prototype._match=function(t){return this._root.match(t)},t.prototype.match=function(t,e){var r=this._cache.get(e);if("undefined"==typeof r){var n=this._match(e),i=o(e);r=(n.metadata|i<<8)>>>0,this._cache.set(e,r)}return(r|t<<0)>>>0},t}();e.TokenTheme=h;var d=/\b(comment|string|regex|regexp)\b/;e.toStandardTokenType=o,e.strcmp=i;var l=function(){function t(t,e,r){this._fontStyle=t,this._foreground=e,this._background=r,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return t.prototype.clone=function(){return new t(this._fontStyle,this._foreground,this._background)},t.prototype.acceptOverwrite=function(t,e,r){-1!==t&&(this._fontStyle=t),0!==e&&(this._foreground=e),0!==r&&(this._background=r),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},t}();e.ThemeTrieElementRule=l;var g=function(){function t(t){this._mainRule=t,this._children=new Map}return t.prototype.match=function(t){if(""===t)return this._mainRule;var e,r,n=t.indexOf(".");-1===n?(e=t,r=""):(e=t.substring(0,n),r=t.substring(n+1));var o=this._children.get(e);return"undefined"!=typeof o?o.match(r):this._mainRule},t.prototype.insert=function(e,r,n,o){if(""===e)return void this._mainRule.acceptOverwrite(r,n,o);var i,a,u=e.indexOf(".");-1===u?(i=e,a=""):(i=e.substring(0,u),a=e.substring(u+1));var s=this._children.get(i);"undefined"==typeof s&&(s=new t(this._mainRule.clone()),this._children.set(i,s)),s.insert(a,r,n,o)},t}();e.ThemeTrieElement=g,e.generateTokensCSSForColorMap=a});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/common/themes.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/common/themes",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,n,t,d=o("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),g=o("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry");e.vs={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"09885A"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"09885A"},{token:"attribute.value.unit",foreground:"09885A"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(r={},r[g.editorBackground]="#FFFFFE",r[g.editorForeground]="#000000",r[g.editorInactiveSelection]="#E5EBF1",r[d.editorIndentGuides]="#D3D3D3",r[d.editorActiveIndentGuides]="#939393",r[g.editorSelectionHighlight]="#ADD6FF4D",r)},e.vs_dark={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(n={},n[g.editorBackground]="#1E1E1E",n[g.editorForeground]="#D4D4D4",n[g.editorInactiveSelection]="#3A3D41",n[d.editorIndentGuides]="#404040",n[d.editorActiveIndentGuides]="#707070",n[g.editorSelectionHighlight]="#ADD6FF26",n)},e.hc_black={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(t={},t[g.editorBackground]="#000000",t[g.editorForeground]="#FFFFFF",t[d.editorIndentGuides]="#FFFFFF",t[d.editorActiveIndentGuides]="#FFFFFF",t)}});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneThemeServiceImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneThemeServiceImpl",function(e,t){"use strict";function o(e){return e===p||e===_||e===T}function n(e){switch(e){case p:return c.vs;case _:return c.vs_dark;case T:return c.hc_black}}function r(e){var t=n(e);return new g(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var s=e("node_modules/tslib/tslib"),i=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),a=e("node_modules/monaco-editor/esm/vs/base/common/color"),h=e("node_modules/monaco-editor/esm/vs/base/common/event"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),l=e("node_modules/monaco-editor/esm/vs/editor/common/modes/supports/tokenization"),c=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/themes"),u=e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform"),d=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),f=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),p="vs",_="vs-dark",T="hc-black",v=u.Registry.as(d.Extensions.ColorContribution),b=u.Registry.as(f.Extensions.ThemingContribution),g=function(){function e(e,t){this.themeData=t;var o=t.base;e.length>0?(this.id=o+" "+e,this.themeName=e):(this.id=o,this.themeName=o),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(e.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),e.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},e.prototype.getColors=function(){if(!this.colors){var e=Object.create(null);for(var t in this.themeData.colors)e[t]=a.Color.fromHex(this.themeData.colors[t]);if(this.themeData.inherit){var o=n(this.themeData.base);for(var t in o.colors)e[t]||(e[t]=a.Color.fromHex(o.colors[t]))}this.colors=e}return this.colors},e.prototype.getColor=function(e,t){var o=this.getColors()[e];return o?o:t!==!1?this.getDefault(e):void 0},e.prototype.getDefault=function(e){var t=this.defaultColors[e];return t?t:(t=v.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)},e.prototype.defines=function(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)},Object.defineProperty(e.prototype,"type",{get:function(){switch(this.base){case p:return"light";case T:return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var e=[],t=[];if(this.themeData.inherit){var o=n(this.themeData.base);e=o.rules,o.encodedTokensColors&&(t=o.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=l.TokenTheme.createFromRawTokenTheme(e,t)}return this._tokenTheme},enumerable:!0,configurable:!0}),e}(),y=function(){function e(){this.environment=Object.create(null),this._onThemeChange=new h.Emitter,this._onIconThemeChange=new h.Emitter,this._knownThemes=new Map,this._knownThemes.set(p,r(p)),this._knownThemes.set(_,r(_)),this._knownThemes.set(T,r(T)),this._styleElement=i.createStyleSheet(),this._styleElement.className="monaco-colors",this.setTheme(p)}return Object.defineProperty(e.prototype,"onThemeChange",{get:function(){return this._onThemeChange.event},enumerable:!0,configurable:!0}),e.prototype.defineTheme=function(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!o(t.base)&&!o(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new g(e,t)),o(e)&&this._knownThemes.forEach(function(t){t.base===e&&t.notifyBaseUpdated()}),this._theme&&this._theme.themeName===e&&this.setTheme(e)},e.prototype.getTheme=function(){return this._theme},e.prototype.setTheme=function(e){var t,o=this;if(t=this._knownThemes.get(this._knownThemes.has(e)?e:p),this._theme===t)return t.id;this._theme=t;var n=[],r={},s={addRule:function(e){r[e]||(n.push(e),r[e]=!0)}};b.getThemingParticipants().forEach(function(e){return e(t,s,o.environment)});var i=t.tokenTheme,a=i.getColorMap();return s.addRule(l.generateTokensCSSForColorMap(a)),this._styleElement.innerHTML=n.join("\n"),m.TokenizationRegistry.setColorMap(a),this._onThemeChange.fire(t),t.id},e.prototype.getIconTheme=function(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}},e}();t.StandaloneThemeServiceImpl=y});
;/*!node_modules/monaco-editor/esm/vs/platform/contextkey/browser/contextKeyService.js*/
define("node_modules/monaco-editor/esm/vs/platform/contextkey/browser/contextKeyService",function(e,t){"use strict";function n(e){for(;e;){if(e.hasAttribute(d)){var t=e.getAttribute(d);return t?parseInt(t,10):0/0}e=e.parentElement}return 0}Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,s=3>r?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(3>r?i(s):r>3?i(t,n,s):i(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},r=this&&this.__param||function(e,t){return function(n,o){t(n,o,e)}},s=e("node_modules/monaco-editor/esm/vs/base/common/event"),u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=e("node_modules/monaco-editor/esm/vs/base/common/map"),c=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),p=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),h=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),f=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingResolver"),d="data-keybinding-context",l=function(){function e(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}return e.prototype.setValue=function(e,t){return this._value[e]!==t?(this._value[e]=t,!0):!1},e.prototype.removeValue=function(e){return e in this._value?(delete this._value[e],!0):!1},e.prototype.getValue=function(e){var t=this._value[e];return"undefined"==typeof t&&this._parent?this._parent.getValue(e):t},e}();t.Context=l;var _=function(e){function t(){return e.call(this,-1,null)||this}return o(t,e),t.prototype.setValue=function(){return!1},t.prototype.removeValue=function(){return!1},t.prototype.getValue=function(){return void 0},t.INSTANCE=new t,t}(l),y=function(e){function t(t,n,o){var i=e.call(this,t,null)||this;return i._configurationService=n,i._values=new Map,i._listener=i._configurationService.onDidChangeConfiguration(function(e){if(6===e.source){var t=a.keys(i._values);i._values.clear(),o.fire(new m(t))}else{for(var n=[],r=0,s=e.affectedKeys;r<s.length;r++){var u=s[r],c="config."+u;i._values.has(c)&&(i._values.delete(c),n.push(c))}o.fire(new m(n))}}),i}return o(t,e),t.prototype.dispose=function(){this._listener.dispose()},t.prototype.getValue=function(n){if(0!==n.indexOf(t._keyPrefix))return e.prototype.getValue.call(this,n);if(this._values.has(n))return this._values.get(n);var o=n.substr(t._keyPrefix.length),i=this._configurationService.getValue(o),r=void 0;switch(typeof i){case"number":case"boolean":case"string":r=i}return this._values.set(n,r),r},t.prototype.setValue=function(t,n){return e.prototype.setValue.call(this,t,n)},t.prototype.removeValue=function(t){return e.prototype.removeValue.call(this,t)},t._keyPrefix="config.",t}(l),C=function(){function e(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}return e.prototype.set=function(e){this._service.setContext(this._key,e)},e.prototype.reset=function(){"undefined"==typeof this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)},e.prototype.get=function(){return this._service.getContextKeyValue(this._key)},e}(),v=function(){function e(e){this.key=e}return e.prototype.affectsSome=function(e){return e.has(this.key)},e}(),m=function(){function e(e){this.keys=e}return e.prototype.affectsSome=function(e){for(var t=0,n=this.keys;t<n.length;t++){var o=n[t];if(e.has(o))return!0}return!1},e}(),x=function(){function e(e){this.events=e}return e.prototype.affectsSome=function(e){for(var t=0,n=this.events;t<n.length;t++){var o=n[t];if(o.affectsSome(e))return!0}return!1},e}(),g=function(){function e(e){this._onDidChangeContext=new s.PauseableEmitter({merge:function(e){return new x(e)}}),this._isDisposed=!1,this._myContextId=e}return e.prototype.createKey=function(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new C(this,e,t)},Object.defineProperty(e.prototype,"onDidChangeContext",{get:function(){return this._onDidChangeContext.event},enumerable:!0,configurable:!0}),e.prototype.bufferChangeEvents=function(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}},e.prototype.createScoped=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new D(this,e)},e.prototype.contextMatchesRules=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");var t=this.getContextValuesContainer(this._myContextId),n=f.KeybindingResolver.contextMatchesRules(t,e);return n},e.prototype.getContextKeyValue=function(e){return this._isDisposed?void 0:this.getContextValuesContainer(this._myContextId).getValue(e)},e.prototype.setContext=function(e,t){if(!this._isDisposed){var n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new v(e))}},e.prototype.removeContext=function(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new v(e))},e.prototype.getContext=function(e){return this._isDisposed?_.INSTANCE:this.getContextValuesContainer(n(e))},e}();t.AbstractContextKeyService=g;var b=function(e){function t(t){var n=e.call(this,0)||this;n._contexts=new Map,n._toDispose=[],n._lastContextId=0;var o=new y(n._myContextId,t,n._onDidChangeContext);return n._contexts.set(n._myContextId,o),n._toDispose.push(o),n}return o(t,e),t.prototype.dispose=function(){this._isDisposed=!0,this._toDispose=u.dispose(this._toDispose)},t.prototype.getContextValuesContainer=function(e){return this._isDisposed?_.INSTANCE:this._contexts.get(e)||_.INSTANCE},t.prototype.createChildContext=function(e){if(void 0===e&&(e=this._myContextId),this._isDisposed)throw new Error("ContextKeyService has been disposed");var t=++this._lastContextId;return this._contexts.set(t,new l(t,this.getContextValuesContainer(e))),t},t.prototype.disposeContext=function(e){this._isDisposed||this._contexts.delete(e)},t=i([r(0,p.IConfigurationService)],t)}(g);t.ContextKeyService=b;var D=function(e){function t(t,n){var o=e.call(this,t.createChildContext())||this;return o._parent=t,n&&(o._domNode=n,o._domNode.setAttribute(d,String(o._myContextId))),o}return o(t,e),t.prototype.dispose=function(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute(d),this._domNode=void 0)},Object.defineProperty(t.prototype,"onDidChangeContext",{get:function(){return s.Event.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)},enumerable:!0,configurable:!0}),t.prototype.getContextValuesContainer=function(e){return this._isDisposed?_.INSTANCE:this._parent.getContextValuesContainer(e)},t.prototype.createChildContext=function(e){if(void 0===e&&(e=this._myContextId),this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)},t.prototype.disposeContext=function(e){this._isDisposed||this._parent.disposeContext(e)},t}(g);c.CommandsRegistry.registerCommand(h.SET_CONTEXT_COMMAND_ID,function(e,t,n){e.get(h.IContextKeyService).createKey(String(t),n)})});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/menu/menu.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/menu/menu",function(e,t){"use strict";function n(){try{return new RegExp("\\(&([^\\s&])\\)|(?<!&)&([^\\s&])")}catch(e){return new RegExp("￿")}}function s(){try{return new RegExp("(?<!&amp;)(?:&amp;)([^\\s&])")}catch(e){return new RegExp("￿")}}function o(e){var n=t.MENU_MNEMONIC_REGEX,s=n.exec(e);if(!s)return e;var o="&"===s[0].charAt(0);return e.replace(n,o?"$2":"").trim()}Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),a=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function s(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}}(),r=i.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),l=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),u=e("node_modules/monaco-editor/esm/vs/base/common/actions"),c=e("node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar"),m=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),p=e("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent"),d=e("node_modules/monaco-editor/esm/vs/base/common/async"),h=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),b=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),f=e("node_modules/monaco-editor/esm/vs/base/common/event"),y=e("node_modules/monaco-editor/esm/vs/base/common/platform");t.MENU_MNEMONIC_REGEX=n(),t.MENU_ESCAPED_MNEMONIC_REGEX=s();var v=function(e){function t(t,n,s){var o=e.call(this,s?s:"submenu",t,"",!0)||this;return o.entries=n,o}return a(t,e),t}(u.Action);t.SubmenuAction=v;var E=function(e){function t(t,n,s){void 0===s&&(s={});var o=this;m.addClass(t,"monaco-menu-container"),t.setAttribute("role","presentation");var i=document.createElement("div");m.addClass(i,"monaco-menu"),i.setAttribute("role","presentation"),o=e.call(this,i,{orientation:2,actionItemProvider:function(e){return o.doGetActionItem(e,s,a)},context:s.context,actionRunner:s.actionRunner,ariaLabel:s.ariaLabel,triggerKeys:{keys:[3],keyDown:!0}})||this,o.menuElement=i,o._onScroll=o._register(new f.Emitter),o.actionsList.setAttribute("role","menu"),o.actionsList.tabIndex=0,o.menuDisposables=[],s.enableMnemonics&&o.menuDisposables.push(m.addDisposableListener(i,m.EventType.KEY_DOWN,function(e){var t=e.key.toLocaleLowerCase();if(o.mnemonics.has(t)){m.EventHelper.stop(e,!0);var n=o.mnemonics.get(t);if(1===n.length&&(n[0]instanceof C&&o.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){var s=n.shift();s&&(o.focusItemByElement(s.container),n.push(s)),o.mnemonics.set(t,n)}}})),y.isLinux&&o._register(m.addDisposableListener(i,m.EventType.KEY_DOWN,function(e){var t=new p.StandardKeyboardEvent(e);t.equals(14)||t.equals(11)?(o.focusedItem=o.items.length-1,o.focusNext(),m.EventHelper.stop(e,!0)):(t.equals(13)||t.equals(12))&&(o.focusedItem=0,o.focusPrevious(),m.EventHelper.stop(e,!0))})),o._register(m.addDisposableListener(o.domNode,m.EventType.MOUSE_OUT,function(e){var t=e.relatedTarget;m.isAncestor(t,o.domNode)||(o.focusedItem=void 0,o.scrollTopHold=o.menuElement.scrollTop,o.updateFocus(),e.stopPropagation())})),o._register(m.addDisposableListener(o.domNode,m.EventType.MOUSE_UP,function(e){m.EventHelper.stop(e,!0)})),o._register(m.addDisposableListener(o.actionsList,m.EventType.MOUSE_OVER,function(e){var t=e.target;if(t&&m.isAncestor(t,o.actionsList)&&t!==o.actionsList){for(;t.parentElement!==o.actionsList&&null!==t.parentElement;)t=t.parentElement;if(m.hasClass(t,"action-item")){var n=o.focusedItem;o.scrollTopHold=o.menuElement.scrollTop,o.setFocusedItem(t),n!==o.focusedItem&&o.updateFocus()}}}));var a={parent:o};o.mnemonics=new Map,o.push(n,{icon:!0,label:!0,isMenu:!0}),o.scrollableElement=o._register(new b.DomScrollableElement(i,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));var r=o.scrollableElement.getDomNode();return r.style.position=null,i.style.maxHeight=Math.max(10,window.innerHeight-t.getBoundingClientRect().top-30)+"px",o.scrollableElement.onScroll(function(){o._onScroll.fire()},o,o.menuDisposables),o._register(m.addDisposableListener(o.menuElement,m.EventType.SCROLL,function(){void 0!==o.scrollTopHold&&(o.menuElement.scrollTop=o.scrollTopHold,o.scrollTopHold=void 0),o.scrollableElement.scanDomNode()})),t.appendChild(o.scrollableElement.getDomNode()),o.scrollableElement.scanDomNode(),o.items.filter(function(e){return!(e instanceof _)}).forEach(function(e,t,n){e.updatePositionInSet(t+1,n.length)}),o}return a(t,e),t.prototype.style=function(e){var t=this.getContainer(),n=e.foregroundColor?""+e.foregroundColor:null,s=e.backgroundColor?""+e.backgroundColor:null,o=e.borderColor?"2px solid "+e.borderColor:null,i=e.shadowColor?"0 2px 4px "+e.shadowColor:null;t.style.border=o,this.domNode.style.color=n,this.domNode.style.backgroundColor=s,t.style.boxShadow=i,this.items&&this.items.forEach(function(t){(t instanceof g||t instanceof _)&&t.style(e)})},t.prototype.getContainer=function(){return this.scrollableElement.getDomNode()},Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollOffset",{get:function(){return this.menuElement.scrollTop},enumerable:!0,configurable:!0}),t.prototype.focusItemByElement=function(e){var t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()},t.prototype.setFocusedItem=function(e){for(var t=0;t<this.actionsList.children.length;t++){var n=this.actionsList.children[t];if(e===n){this.focusedItem=t;break}}},t.prototype.doGetActionItem=function(e,t,n){if(e instanceof c.Separator)return new _(t.context,e,{icon:!0});if(e instanceof v){var s=new C(e,e.entries,n,t);if(t.enableMnemonics){var o=s.getMnemonic();if(o&&s.isEnabled()){var i=[];this.mnemonics.has(o)&&(i=this.mnemonics.get(o)),i.push(s),this.mnemonics.set(o,i)}}return s}var a={enableMnemonics:t.enableMnemonics};if(t.getKeyBinding){var r=t.getKeyBinding(e);if(r){var l=r.getLabel();l&&(a.keybinding=l)}}var s=new g(t.context,e,a);if(t.enableMnemonics){var o=s.getMnemonic();if(o&&s.isEnabled()){var i=[];this.mnemonics.has(o)&&(i=this.mnemonics.get(o)),i.push(s),this.mnemonics.set(o,i)}}return s},t}(c.ActionBar);t.Menu=E;var g=function(e){function n(n,s,o){void 0===o&&(o={});var i=this;if(o.isMenu=!0,i=e.call(this,s,s,o)||this,i.options=o,i.options.icon=void 0!==o.icon?o.icon:!1,i.options.label=void 0!==o.label?o.label:!0,i.cssClass="",i.options.label&&o.enableMnemonics){var a=i.getAction().label;if(a){var r=t.MENU_MNEMONIC_REGEX.exec(a);r&&(i.mnemonic=(r[1]?r[1]:r[2]).toLocaleLowerCase())}}return i}return a(n,e),n.prototype.render=function(t){var n=this;e.prototype.render.call(this,t),this.element&&(this.container=t,this.item=m.append(this.element,m.$("a.action-menu-item")),this._action.id===c.Separator.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=m.append(this.item,m.$("span.menu-item-check")),this.check.setAttribute("role","none"),this.label=m.append(this.item,m.$("span.action-label")),this.options.label&&this.options.keybinding&&(m.append(this.item,m.$("span.keybinding")).textContent=this.options.keybinding),this._register(m.addDisposableListener(this.element,m.EventType.MOUSE_UP,function(e){m.EventHelper.stop(e,!0),n.onClick(e)})),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())},n.prototype.blur=function(){e.prototype.blur.call(this),this.applyStyle()},n.prototype.focus=function(){e.prototype.focus.call(this),this.item.focus(),this.applyStyle()},n.prototype.updatePositionInSet=function(e,t){this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t)},n.prototype.updateLabel=function(){if(this.options.label){var e=this.getAction().label;if(e){var n=o(e);this.options.enableMnemonics||(e=n),this.label.setAttribute("aria-label",n.replace(/&&/g,"&"));var s=t.MENU_MNEMONIC_REGEX.exec(e);s?(e=l.escape(e).replace(t.MENU_ESCAPED_MNEMONIC_REGEX,'<u aria-hidden="true">$1</u>'),e=e.replace(/&amp;&amp;/g,"&amp;"),this.item.setAttribute("aria-keyshortcuts",(s[1]?s[1]:s[2]).toLocaleLowerCase())):e=e.replace(/&&/g,"&")}this.label.innerHTML=e.trim()}},n.prototype.updateTooltip=function(){var e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=r.localize({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&(this.item.title=e)},n.prototype.updateClass=function(){this.cssClass&&m.removeClasses(this.item,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class||"",m.addClass(this.label,"icon"),this.cssClass&&m.addClasses(this.label,this.cssClass),this.updateEnabled()):m.removeClass(this.label,"icon")},n.prototype.updateEnabled=function(){this.getAction().enabled?(this.element&&m.removeClass(this.element,"disabled"),m.removeClass(this.item,"disabled"),this.item.tabIndex=0):(this.element&&m.addClass(this.element,"disabled"),m.addClass(this.item,"disabled"),m.removeTabIndexAndUpdateFocus(this.item))},n.prototype.updateChecked=function(){this.getAction().checked?(m.addClass(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(m.removeClass(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false"))},n.prototype.getMnemonic=function(){return this.mnemonic},n.prototype.applyStyle=function(){if(this.menuStyle){var e=this.element&&m.hasClass(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:this.menuStyle.backgroundColor,s=e&&this.menuStyle.selectionBorderColor?"1px solid "+this.menuStyle.selectionBorderColor:null;this.item.style.color=t?""+t:null,this.check.style.backgroundColor=t?""+t:null,this.item.style.backgroundColor=n?""+n:null,this.container.style.border=s}},n.prototype.style=function(e){this.menuStyle=e,this.applyStyle()},n}(c.BaseActionItem),C=function(e){function t(t,n,s,o){var i=e.call(this,t,t,o)||this;return i.submenuActions=n,i.parentData=s,i.submenuOptions=o,i.submenuDisposables=[],i.showScheduler=new d.RunOnceScheduler(function(){i.mouseOver&&(i.cleanupExistingSubmenu(!1),i.createSubmenu(!1))},250),i.hideScheduler=new d.RunOnceScheduler(function(){i.element&&!m.isAncestor(document.activeElement,i.element)&&i.parentData.submenu===i.mysubmenu&&(i.parentData.parent.focus(!1),i.cleanupExistingSubmenu(!0))},750),i}return a(t,e),t.prototype.render=function(t){var n=this;e.prototype.render.call(this,t),this.element&&(m.addClass(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.submenuIndicator=m.append(this.item,m.$("span.submenu-indicator")),this.submenuIndicator.setAttribute("aria-hidden","true"),this._register(m.addDisposableListener(this.element,m.EventType.KEY_UP,function(e){var t=new p.StandardKeyboardEvent(e);(t.equals(17)||t.equals(3))&&(m.EventHelper.stop(e,!0),n.createSubmenu(!0))})),this._register(m.addDisposableListener(this.element,m.EventType.KEY_DOWN,function(e){var t=new p.StandardKeyboardEvent(e);(t.equals(17)||t.equals(3))&&m.EventHelper.stop(e,!0)})),this._register(m.addDisposableListener(this.element,m.EventType.MOUSE_OVER,function(){n.mouseOver||(n.mouseOver=!0,n.showScheduler.schedule())})),this._register(m.addDisposableListener(this.element,m.EventType.MOUSE_LEAVE,function(){n.mouseOver=!1})),this._register(m.addDisposableListener(this.element,m.EventType.FOCUS_OUT,function(){n.element&&!m.isAncestor(document.activeElement,n.element)&&n.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(function(){n.parentData.parent.focus(!1),n.cleanupExistingSubmenu(!1)})))},t.prototype.onClick=function(e){m.EventHelper.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!1)},t.prototype.cleanupExistingSubmenu=function(e){this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)&&(this.parentData.submenu.dispose(),this.parentData.submenu=void 0,this.submenuContainer&&(this.submenuDisposables=h.dispose(this.submenuDisposables),this.submenuContainer=void 0))},t.prototype.createSubmenu=function(e){var t=this;if(void 0===e&&(e=!0),this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.submenuContainer=m.append(this.element,m.$("div.monaco-submenu")),m.addClasses(this.submenuContainer,"menubar-menu-items-holder","context-view"),this.parentData.submenu=new E(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);var n=this.element.getBoundingClientRect(),s=this.submenuContainer.getBoundingClientRect(),o=getComputedStyle(this.parentData.parent.domNode),i=parseFloat(o.paddingTop||"0")||0;window.innerWidth<=n.right+s.width?(this.submenuContainer.style.left="10px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset+n.height+"px"):(this.submenuContainer.style.left=this.element.offsetWidth+"px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-i+"px"),this.submenuDisposables.push(m.addDisposableListener(this.submenuContainer,m.EventType.KEY_UP,function(e){var n=new p.StandardKeyboardEvent(e);n.equals(15)&&(m.EventHelper.stop(e,!0),t.parentData.parent.focus(),t.parentData.submenu&&(t.parentData.submenu.dispose(),t.parentData.submenu=void 0),t.submenuDisposables=h.dispose(t.submenuDisposables),t.submenuContainer=void 0)})),this.submenuDisposables.push(m.addDisposableListener(this.submenuContainer,m.EventType.KEY_DOWN,function(e){var t=new p.StandardKeyboardEvent(e);t.equals(15)&&m.EventHelper.stop(e,!0)})),this.submenuDisposables.push(this.parentData.submenu.onDidCancel(function(){t.parentData.parent.focus(),t.parentData.submenu&&(t.parentData.submenu.dispose(),t.parentData.submenu=void 0),t.submenuDisposables=h.dispose(t.submenuDisposables),t.submenuContainer=void 0})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}},t.prototype.applyStyle=function(){if(e.prototype.applyStyle.call(this),this.menuStyle){var t=this.element&&m.hasClass(this.element,"focused"),n=t&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator.style.backgroundColor=n?""+n:null,this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuDisposables=h.dispose(this.submenuDisposables),this.submenuContainer=void 0)},t}(g),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.style=function(e){this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:null},t}(c.ActionItem);t.cleanMnemonic=o});
;/*!node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js*/
define("node_modules/monaco-editor/esm/vs/platform/theme/common/styler",function(o,r){"use strict";function n(o,r){var n=Object.create(null);for(var e in r){var t=r[e];"string"==typeof t?n[e]=o.getColor(t):"function"==typeof t&&(n[e]=t(o))}return n}function e(o,r,e){function t(){var t=n(o.getTheme(),r);"function"==typeof e?e(t):e.style(t)}return t(o.getTheme()),o.onThemeChange(t)}function t(o,r,n){return e(r,{badgeBackground:n&&n.badgeBackground||c.badgeBackground,badgeForeground:n&&n.badgeForeground||c.badgeForeground,badgeBorder:c.contrastBorder},o)}function i(o,r,n){return e(r,{foreground:n&&n.foreground||c.foreground,background:n&&n.background||c.editorBackground,borderColor:n&&n.borderColor||c.contrastBorder,widgetShadow:n&&n.widgetShadow||c.widgetShadow,progressBarBackground:n&&n.progressBarBackground||c.progressBarBackground,pickerGroupForeground:n&&n.pickerGroupForeground||c.pickerGroupForeground,pickerGroupBorder:n&&n.pickerGroupBorder||c.pickerGroupBorder,inputBackground:n&&n.inputBackground||c.inputBackground,inputForeground:n&&n.inputForeground||c.inputForeground,inputBorder:n&&n.inputBorder||c.inputBorder,inputValidationInfoBorder:n&&n.inputValidationInfoBorder||c.inputValidationInfoBorder,inputValidationInfoBackground:n&&n.inputValidationInfoBackground||c.inputValidationInfoBackground,inputValidationInfoForeground:n&&n.inputValidationInfoForeground||c.inputValidationInfoForeground,inputValidationWarningBorder:n&&n.inputValidationWarningBorder||c.inputValidationWarningBorder,inputValidationWarningBackground:n&&n.inputValidationWarningBackground||c.inputValidationWarningBackground,inputValidationWarningForeground:n&&n.inputValidationWarningForeground||c.inputValidationWarningForeground,inputValidationErrorBorder:n&&n.inputValidationErrorBorder||c.inputValidationErrorBorder,inputValidationErrorBackground:n&&n.inputValidationErrorBackground||c.inputValidationErrorBackground,inputValidationErrorForeground:n&&n.inputValidationErrorForeground||c.inputValidationErrorForeground,listFocusBackground:n&&n.listFocusBackground||c.listFocusBackground,listFocusForeground:n&&n.listFocusForeground||c.listFocusForeground,listActiveSelectionBackground:n&&n.listActiveSelectionBackground||c.darken(c.listActiveSelectionBackground,.1),listActiveSelectionForeground:n&&n.listActiveSelectionForeground||c.listActiveSelectionForeground,listFocusAndSelectionBackground:n&&n.listFocusAndSelectionBackground||c.listActiveSelectionBackground,listFocusAndSelectionForeground:n&&n.listFocusAndSelectionForeground||c.listActiveSelectionForeground,listInactiveSelectionBackground:n&&n.listInactiveSelectionBackground||c.listInactiveSelectionBackground,listInactiveSelectionForeground:n&&n.listInactiveSelectionForeground||c.listInactiveSelectionForeground,listInactiveFocusBackground:n&&n.listInactiveFocusBackground||c.listInactiveFocusBackground,listHoverBackground:n&&n.listHoverBackground||c.listHoverBackground,listHoverForeground:n&&n.listHoverForeground||c.listHoverForeground,listDropBackground:n&&n.listDropBackground||c.listDropBackground,listFocusOutline:n&&n.listFocusOutline||c.activeContrastBorder,listSelectionOutline:n&&n.listSelectionOutline||c.activeContrastBorder,listHoverOutline:n&&n.listHoverOutline||c.activeContrastBorder},o)}function u(o,n,t){return e(n,l.mixin(t||Object.create(null),r.defaultListStyles,!1),o)}function a(o,n,t){return e(n,d({},r.defaultMenuStyles,t),o)}Object.defineProperty(r,"__esModule",{value:!0});var d=this&&this.__assign||function(){return d=Object.assign||function(o){for(var r,n=1,e=arguments.length;e>n;n++){r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(o[t]=r[t])}return o},d.apply(this,arguments)},c=o("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),l=o("node_modules/monaco-editor/esm/vs/base/common/objects");r.computeStyles=n,r.attachStyler=e,r.attachBadgeStyler=t,r.attachQuickOpenStyler=i,r.attachListStyler=u,r.defaultListStyles={listFocusBackground:c.listFocusBackground,listFocusForeground:c.listFocusForeground,listActiveSelectionBackground:c.darken(c.listActiveSelectionBackground,.1),listActiveSelectionForeground:c.listActiveSelectionForeground,listFocusAndSelectionBackground:c.listActiveSelectionBackground,listFocusAndSelectionForeground:c.listActiveSelectionForeground,listInactiveSelectionBackground:c.listInactiveSelectionBackground,listInactiveSelectionForeground:c.listInactiveSelectionForeground,listInactiveFocusBackground:c.listInactiveFocusBackground,listHoverBackground:c.listHoverBackground,listHoverForeground:c.listHoverForeground,listDropBackground:c.listDropBackground,listFocusOutline:c.activeContrastBorder,listSelectionOutline:c.activeContrastBorder,listHoverOutline:c.activeContrastBorder,listFilterWidgetBackground:c.listFilterWidgetBackground,listFilterWidgetOutline:c.listFilterWidgetOutline,listFilterWidgetNoMatchesOutline:c.listFilterWidgetNoMatchesOutline,listMatchesShadow:c.widgetShadow},r.defaultMenuStyles={shadowColor:c.widgetShadow,borderColor:c.menuBorder,foregroundColor:c.menuForeground,backgroundColor:c.menuBackground,selectionForegroundColor:c.menuSelectionForeground,selectionBackgroundColor:c.menuSelectionBackground,selectionBorderColor:c.menuSelectionBorder,separatorColor:c.menuSeparatorBackground},r.attachMenuStyler=a});
;/*!node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextMenuHandler.js*/
define("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextMenuHandler",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),t=e("node_modules/monaco-editor/esm/vs/base/common/actions"),i=e("node_modules/monaco-editor/esm/vs/base/browser/ui/menu/menu"),c=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),r=e("node_modules/monaco-editor/esm/vs/platform/theme/common/styler"),s=e("node_modules/monaco-editor/esm/vs/base/browser/event"),u=e("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),d=function(){function e(e,n,o,t,i){this.contextViewService=e,this.telemetryService=n,this.notificationService=o,this.keybindingService=t,this.themeService=i,this.options={blockMouse:!0}}return e.prototype.configure=function(e){this.options=e},e.prototype.showContextMenu=function(e){var n=this,d=e.getActions();if(d.length){this.focusToReturn=document.activeElement;var m;this.contextViewService.showContextView({getAnchor:function(){return e.getAnchor()},canRelayout:!1,anchorAlignment:e.anchorAlignment,render:function(l){var a=e.getMenuClassName?e.getMenuClassName():"";a&&(l.className+=" "+a),n.options.blockMouse&&(n.block=l.appendChild(c.$(".context-view-block")));var v=[],f=e.actionRunner||new t.ActionRunner;return f.onDidBeforeRun(n.onActionRun,n,v),f.onDidRun(n.onDidActionRun,n,v),m=new i.Menu(l,d,{actionItemProvider:e.getActionItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:f,getKeyBinding:e.getKeyBinding?e.getKeyBinding:function(e){return n.keybindingService.lookupKeybinding(e.id)}}),v.push(r.attachMenuStyler(m,n.themeService)),m.onDidCancel(function(){return n.contextViewService.hideContextView(!0)},null,v),m.onDidBlur(function(){return n.contextViewService.hideContextView(!0)},null,v),s.domEvent(window,c.EventType.BLUR)(function(){n.contextViewService.hideContextView(!0)},null,v),s.domEvent(window,c.EventType.MOUSE_DOWN)(function(e){var o=new u.StandardMouseEvent(e),t=o.target;if(!o.rightButton){for(;t;){if(t===l)return;t=t.parentElement}n.contextViewService.hideContextView(!0)}},null,v),o.combinedDisposable(v.concat([m]))},focus:function(){m&&m.focus(!!e.autoSelectFirstItem)},onHide:function(o){e.onHide&&e.onHide(!!o),n.block&&(c.removeNode(n.block),n.block=null),n.focusToReturn&&n.focusToReturn.focus()}})}},e.prototype.onActionRun=function(e){this.telemetryService&&this.telemetryService.publicLog("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()},e.prototype.onDidActionRun=function(e){e.error&&this.notificationService&&this.notificationService.error(e.error)},e}();n.ContextMenuHandler=d});
;/*!node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextMenuService.js*/
define("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextMenuService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),n=this&&this.__decorate||function(e,o,t,n){var r,i=arguments.length,c=3>i?o:null===n?n=Object.getOwnPropertyDescriptor(o,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,o,t,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(c=(3>i?r(c):i>3?r(o,t,c):r(o,t))||c);return i>3&&c&&Object.defineProperty(o,t,c),c},r=this&&this.__param||function(e,o){return function(t,n){o(t,n,e)}},i=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextMenuHandler"),c=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView"),s=e("node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry"),m=e("node_modules/monaco-editor/esm/vs/base/common/event"),u=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),a=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),d=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),f=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=function(e){function o(o,t,n,r,c){var s=e.call(this)||this;return s._onDidContextMenu=s._register(new m.Emitter),s.contextMenuHandler=new i.ContextMenuHandler(n,o,t,r,c),s}return t(o,e),o.prototype.configure=function(e){this.contextMenuHandler.configure(e)},o.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},o=n([r(0,s.ITelemetryService),r(1,u.INotificationService),r(2,c.IContextViewService),r(3,d.IKeybindingService),r(4,a.IThemeService)],o)}(f.Disposable);o.ContextMenuService=l});
;/*!node_modules/monaco-editor/esm/vs/base/common/range.js*/
define("node_modules/monaco-editor/esm/vs/base/common/range",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){function e(t,e){if(t.start>=e.end||e.start>=t.end)return{start:0,end:0};var n=Math.max(t.start,e.start),r=Math.min(t.end,e.end);return 0>=r-n?{start:0,end:0}:{start:n,end:r}}function n(t){return t.end-t.start<=0}function r(t,r){return!n(e(t,r))}function a(t,e){var r=[],a={start:t.start,end:Math.min(e.start,t.end)},s={start:Math.max(e.end,t.start),end:t.end};return n(a)||r.push(a),n(s)||r.push(s),r}t.intersect=e,t.isEmpty=n,t.intersects=r,t.relativeComplement=a}(e.Range||(e.Range={}))});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/contextview/contextview.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/contextview/contextview",function(t,e){"use strict";function i(t,e,i){var o=i.offset+i.size;return 0===i.position?t-o>=e?o:e<=i.offset?i.offset-e:Math.max(t-e,0):e<=i.offset?i.offset-e:t-o>=e?o:0}Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),a=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=t("node_modules/monaco-editor/esm/vs/base/common/range");e.layout=i;var h=function(t){function e(e){var i=t.call(this)||this;return i.view=n.$(".context-view"),n.hide(i.view),i.setContainer(e),i._register(a.toDisposable(function(){return i.setContainer(null)})),i}return s(e,t),e.prototype.setContainer=function(t){var i=this;if(this.container&&(a.dispose(this.toDisposeOnSetContainer),this.container.removeChild(this.view),this.container=null),t){this.container=t,this.container.appendChild(this.view);var o=[];e.BUBBLE_UP_EVENTS.forEach(function(t){o.push(n.addStandardDisposableListener(i.container,t,function(t){i.onDOMEvent(t,document.activeElement,!1)}))}),e.BUBBLE_DOWN_EVENTS.forEach(function(t){o.push(n.addStandardDisposableListener(i.container,t,function(t){i.onDOMEvent(t,document.activeElement,!0)},!0))}),this.toDisposeOnSetContainer=a.combinedDisposable(o)}},e.prototype.show=function(t){this.isVisible()&&this.hide(),n.clearNode(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",n.show(this.view),this.toDisposeOnClean=t.render(this.view),this.delegate=t,this.doLayout(),this.delegate.focus&&this.delegate.focus()},e.prototype.layout=function(){if(this.isVisible()){if(this.delegate.canRelayout===!1)return void this.hide();this.delegate.layout&&this.delegate.layout(),this.doLayout()}},e.prototype.doLayout=function(){if(this.isVisible()){var t,e=this.delegate.getAnchor();if(n.isHTMLElement(e)){var o=n.getDomNodePagePosition(e);t={top:o.top,left:o.left,width:o.width,height:o.height}}else{var s=e;t={top:s.y,left:s.x,width:s.width||1,height:s.height||2}}var a,h=n.getTotalWidth(this.view),l=n.getTotalHeight(this.view),d=this.delegate.anchorPosition||0,c=this.delegate.anchorAlignment||0,f={offset:t.top-window.pageYOffset,size:t.height,position:0===d?0:1};a=0===c?{offset:t.left,size:0,position:0}:{offset:t.left+t.width,size:0,position:1};var p=i(window.innerHeight,l,f)+window.pageYOffset;r.Range.intersects({start:p,end:p+l},{start:f.offset,end:f.offset+f.size})&&(a.size=t.width);var u=i(window.innerWidth,h,a);n.removeClasses(this.view,"top","bottom","left","right"),n.addClass(this.view,0===d?"bottom":"top"),n.addClass(this.view,0===c?"left":"right");var v=n.getDomNodePagePosition(this.container);this.view.style.top=p-v.top+"px",this.view.style.left=u-v.left+"px",this.view.style.width="initial"}},e.prototype.hide=function(t){this.delegate&&this.delegate.onHide&&this.delegate.onHide(t),this.delegate=null,this.toDisposeOnClean&&(this.toDisposeOnClean.dispose(),this.toDisposeOnClean=null),n.hide(this.view)},e.prototype.isVisible=function(){return!!this.delegate},e.prototype.onDOMEvent=function(t,e,i){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(t,document.activeElement):i&&!n.isAncestor(t.target,this.container)&&this.hide())},e.prototype.dispose=function(){this.hide(),t.prototype.dispose.call(this)},e.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],e.BUBBLE_DOWN_EVENTS=["click"],e}(a.Disposable);e.ContextView=h});
;/*!node_modules/monaco-editor/esm/vs/platform/layout/browser/layoutService.js*/
define("node_modules/monaco-editor/esm/vs/platform/layout/browser/layoutService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.ILayoutService=t.createDecorator("layoutService")});
;/*!node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextViewService.js*/
define("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextViewService",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),n=this&&this.__decorate||function(e,t,o,n){var r,i=arguments.length,c=3>i?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(c=(3>i?r(c):i>3?r(t,o,c):r(t,o))||c);return i>3&&c&&Object.defineProperty(t,o,c),c},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}},i=e("node_modules/monaco-editor/esm/vs/base/browser/ui/contextview/contextview"),c=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=e("node_modules/monaco-editor/esm/vs/platform/layout/browser/layoutService"),u=function(e){function t(t){var o=e.call(this)||this;return o.layoutService=t,o.contextView=o._register(new i.ContextView(t.container)),o.layout(),o._register(t.onLayout(function(){return o.layout()})),o}return o(t,e),t.prototype.setContainer=function(e){this.contextView.setContainer(e)},t.prototype.showContextView=function(e){this.contextView.show(e)},t.prototype.layout=function(){this.contextView.layout()},t.prototype.hideContextView=function(e){this.contextView.hide(e)},t=n([r(0,s.ILayoutService)],t)}(c.Disposable);t.ContextViewService=u});
;/*!node_modules/monaco-editor/esm/vs/platform/dialogs/common/dialogs.js*/
define("node_modules/monaco-editor/esm/vs/platform/dialogs/common/dialogs",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=o("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");e.IDialogService=i.createDecorator("dialogService")});
;/*!node_modules/monaco-editor/esm/vs/base/common/collections.js*/
define("node_modules/monaco-editor/esm/vs/base/common/collections",function(e,o){"use strict";function t(e,o){var t=function(t){if(n.call(e,t)){var r=o({key:t,value:e[t]},function(){delete e[t]});if(r===!1)return{value:void 0}}};for(var r in e){var a=t(r);if("object"==typeof a)return a.value}}Object.defineProperty(o,"__esModule",{value:!0});var n=Object.prototype.hasOwnProperty;o.forEach=t});
;/*!node_modules/monaco-editor/esm/vs/platform/instantiation/common/graph.js*/
define("node_modules/monaco-editor/esm/vs/platform/instantiation/common/graph",function(o,n){"use strict";function e(o){return{data:o,incoming:Object.create(null),outgoing:Object.create(null)}}Object.defineProperty(n,"__esModule",{value:!0});var t=o("node_modules/monaco-editor/esm/vs/base/common/types"),i=o("node_modules/monaco-editor/esm/vs/base/common/collections"),s=function(){function o(o){this._hashFn=o,this._nodes=Object.create(null)}return o.prototype.roots=function(){var o=[];return i.forEach(this._nodes,function(n){t.isEmptyObject(n.value.outgoing)&&o.push(n.value)}),o},o.prototype.insertEdge=function(o,n){var e=this.lookupOrInsertNode(o),t=this.lookupOrInsertNode(n);e.outgoing[this._hashFn(n)]=t,t.incoming[this._hashFn(o)]=e},o.prototype.removeNode=function(o){var n=this._hashFn(o);delete this._nodes[n],i.forEach(this._nodes,function(o){delete o.value.outgoing[n],delete o.value.incoming[n]})},o.prototype.lookupOrInsertNode=function(o){var n=this._hashFn(o),t=this._nodes[n];return t||(t=e(o),this._nodes[n]=t),t},o.prototype.isEmpty=function(){for(var o in this._nodes)return!1;return!0},o.prototype.toString=function(){var o=[];return i.forEach(this._nodes,function(n){o.push(n.key+", (incoming)["+Object.keys(n.value.incoming).join(", ")+"], (outgoing)["+Object.keys(n.value.outgoing).join(",")+"]")}),o.join("\n")},o}();n.Graph=s});
;/*!node_modules/monaco-editor/esm/vs/platform/instantiation/common/descriptors.js*/
define("node_modules/monaco-editor/esm/vs/platform/instantiation/common/descriptors",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=function(){function t(t,o,e){void 0===o&&(o=[]),void 0===e&&(e=!1),this.ctor=t,this.staticArguments=o,this.supportsDelayedInstantiation=e}return t}();o.SyncDescriptor=e});
;/*!node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiationService.js*/
define("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiationService",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e("node_modules/monaco-editor/esm/vs/base/common/errors"),o=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/graph"),i=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/descriptors"),c=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),s=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/serviceCollection"),a=e("node_modules/monaco-editor/esm/vs/base/common/async"),u=!1,p="function"==typeof Proxy,v=function(){function e(e,t,n){void 0===e&&(e=new s.ServiceCollection),void 0===t&&(t=!1),this._services=e,this._strict=t,this._parent=n,this._services.set(c.IInstantiationService,this)}return e.prototype.createChild=function(t){return new e(t,this._strict,this)},e.prototype.invokeFunction=function(e){for(var t=this,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=h.traceInvocation(e),s=!1;try{var a={get:function(e,n){if(s)throw r.illegalState("service accessor is only valid during the invocation of its target method");var o=t._getOrCreateServiceInstance(e,i);if(!o&&n!==c.optional)throw new Error("[invokeFunction] unknown service '"+e+"'");return o}};return e.apply(void 0,[a].concat(n))}finally{s=!0,i.stop()}},e.prototype.createInstance=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r,o;return e instanceof i.SyncDescriptor?(r=h.traceCreation(e.ctor),o=this._createInstance(e.ctor,e.staticArguments.concat(t),r)):(r=h.traceCreation(e),o=this._createInstance(e,t,r)),r.stop(),o},e.prototype._createInstance=function(e,t,n){void 0===t&&(t=[]);for(var r=c._util.getServiceDependencies(e).sort(function(e,t){return e.index-t.index}),o=[],i=0,s=r;i<s.length;i++){var a=s[i],u=this._getOrCreateServiceInstance(a.id,n);if(!u&&this._strict&&!a.optional)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+a.id+".");o.push(u)}var p=r.length>0?r[0].index:t.length;if(t.length!==p){console.warn("[createInstance] First service dependency of "+e.name+" at position "+(p+1)+" conflicts with "+t.length+" static arguments");var v=p-t.length;t=v>0?t.concat(new Array(v)):t.slice(0,p)}return new(e.bind.apply(e,[void 0].concat(t.concat(o))))},e.prototype._setServiceInstance=function(e,t){if(this._services.get(e)instanceof i.SyncDescriptor)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}},e.prototype._getServiceInstanceOrDescriptor=function(e){var t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t},e.prototype._getOrCreateServiceInstance=function(e,t){var n=this._getServiceInstanceOrDescriptor(e);return n instanceof i.SyncDescriptor?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)},e.prototype._createAndCacheServiceInstance=function(e,t,n){function r(){var e=new Error("[createInstance] cyclic dependency between services");throw e.message=s.toString(),e}for(var s=new o.Graph(function(e){return e.id.toString()}),a=0,u=[{id:e,desc:t,_trace:n}];u.length;){var p=u.pop();s.lookupOrInsertNode(p),a++>100&&r();for(var v=c._util.getServiceDependencies(p.desc.ctor),h=0,d=v;h<d.length;h++){var l=d[h],f=this._getServiceInstanceOrDescriptor(l.id);if(f||l.optional||console.warn("[createInstance] "+e+" depends on "+l.id+" which is NOT registered."),f instanceof i.SyncDescriptor){var _={id:l.id,desc:f,_trace:p._trace.branch(l.id,!0)};s.insertEdge(p,_),u.push(_)}}}for(;;){var m=s.roots();if(0===m.length){s.isEmpty()||r();break}for(var g=0,y=m;g<y.length;g++){var S=y[g].data,w=this._createServiceInstanceWithOwner(S.id,S.desc.ctor,S.desc.staticArguments,S.desc.supportsDelayedInstantiation,S._trace);this._setServiceInstance(S.id,w),s.removeNode(S)}}return this._getServiceInstanceOrDescriptor(e)},e.prototype._createServiceInstanceWithOwner=function(e,t,n,r,o){if(void 0===n&&(n=[]),this._services.get(e)instanceof i.SyncDescriptor)return this._createServiceInstance(t,n,r,o);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,r,o);throw new Error("illegalState - creating UNKNOWN service instance")},e.prototype._createServiceInstance=function(e,t,n,r){var o=this;if(void 0===t&&(t=[]),n&&p){var i=new a.IdleValue(function(){return o._createInstance(e,t,r)});return new Proxy(Object.create(null),{get:function(e,t){return i.getValue()[t]},set:function(e,t,n){return i.getValue()[t]=n,!0}})}return this._createInstance(e,t,r)},e}();t.InstantiationService=v;var h=function(){function e(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}return e.traceInvocation=function(t){return u?new e(1,t.name||t.toString().substring(0,42).replace(/\n/g,"")):e._None},e.traceCreation=function(t){return u?new e(0,t.name):e._None},e.prototype.branch=function(t,n){var r=new e(2,t.toString());return this._dep.push([t,n,r]),r},e.prototype.stop=function(){function t(e,n){for(var o=[],i=new Array(e+1).join(" "),c=0,s=n._dep;c<s.length;c++){var a=s[c],u=a[0],p=a[1],v=a[2];if(p&&v){r=!0,o.push(i+"CREATES -> "+u);var h=t(e+1,v);h&&o.push(h)}else o.push(i+"uses -> "+u)}return o.join("\n")}var n=Date.now()-this._start;e._totals+=n;var r=!1,o=[(0===this.type?"CREATE":"CALL")+" "+this.name,""+t(1,this),"DONE, took "+n.toFixed(2)+"ms (grand total "+e._totals.toFixed(2)+"ms)"];(n>2||r)&&console.log(o.join("\n"))},e._None=new(function(e){function t(){return e.call(this,-1,null)||this}return n(t,e),t.prototype.stop=function(){},t.prototype.branch=function(){return this},t}(e)),e._totals=0,e}()});
;/*!node_modules/monaco-editor/esm/vs/platform/label/common/label.js*/
define("node_modules/monaco-editor/esm/vs/platform/label/common/label",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),a="label";o.ILabelService=t.createDecorator(a)});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/list/list.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/list/list",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),function(e){e.TREE="tree",e.FORM="form"}(o.ListAriaRootRole||(o.ListAriaRootRole={}))});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/list/rangeMap.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/list/rangeMap",function(e,r){"use strict";function t(e,r){for(var t=[],n=0,i=r;n<i.length;n++){var s=i[n];if(!(e.start>=s.range.end)){if(e.end<s.range.start)break;var a=o.Range.intersect(e,s.range);o.Range.isEmpty(a)||t.push({range:a,size:s.size})}}return t}function n(e,r){var t=e.start,n=e.end;return{start:t+r,end:n+r}}function i(e){for(var r=[],t=null,n=0,i=e;n<i.length;n++){var s=i[n],o=s.range.start,a=s.range.end,u=s.size;t&&u===t.size?t.range.end=a:(t={range:{start:o,end:a},size:u},r.push(t))}return r}function s(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return i(e.reduce(function(e,r){return e.concat(r)},[]))}Object.defineProperty(r,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/range");r.groupIntersect=t,r.shift=n,r.consolidate=i;var a=function(){function e(){this.groups=[],this._size=0}return e.prototype.splice=function(e,r,i){void 0===i&&(i=[]);var o=i.length-r,a=t({start:0,end:e},this.groups),u=t({start:e+r,end:Number.POSITIVE_INFINITY},this.groups).map(function(e){return{range:n(e.range,o),size:e.size}}),g=i.map(function(r,t){return{range:{start:e+t,end:e+t+1},size:r.size}});this.groups=s(a,g,u),this._size=this.groups.reduce(function(e,r){return e+r.size*(r.range.end-r.range.start)},0)},Object.defineProperty(e.prototype,"count",{get:function(){var e=this.groups.length;return e?this.groups[e-1].range.end:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.indexAt=function(e){if(0>e)return-1;for(var r=0,t=0,n=0,i=this.groups;n<i.length;n++){var s=i[n],o=s.range.end-s.range.start,a=t+o*s.size;if(a>e)return r+Math.floor((e-t)/s.size);r+=o,t=a}return r},e.prototype.indexAfter=function(e){return Math.min(this.indexAt(e)+1,this.count)},e.prototype.positionAt=function(e){if(0>e)return-1;for(var r=0,t=0,n=0,i=this.groups;n<i.length;n++){var s=i[n],o=s.range.end-s.range.start,a=t+o;if(a>e)return r+(e-t)*s.size;r+=o*s.size,t=a}return-1},e.prototype.dispose=function(){this.groups=null},e}();r.RangeMap=a});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/list/rowCache.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/list/rowCache",function(e,t){"use strict";function r(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(t){}}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),a=function(){function e(e){this.renderers=e,this.cache=new Map}return e.prototype.alloc=function(e){var t=this.getTemplateCache(e).pop();if(!t){var r=o.$(".monaco-list-row"),a=this.getRenderer(e),n=a.renderTemplate(r);t={domNode:r,templateId:e,templateData:n}}return t},e.prototype.release=function(e){e&&this.releaseRow(e)},e.prototype.releaseRow=function(e){var t=e.domNode,a=e.templateId;t&&(o.removeClass(t,"scrolling"),r(t));var n=this.getTemplateCache(a);n.push(e)},e.prototype.getTemplateCache=function(e){var t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t},e.prototype.garbageCollect=function(){var e=this;this.renderers&&(this.cache.forEach(function(t,r){for(var o=0,a=t;o<a.length;o++){var n=a[o],s=e.getRenderer(r);s.disposeTemplate(n.templateData),n.domNode=null,n.templateData=null}}),this.cache.clear())},e.prototype.dispose=function(){this.garbageCollect(),this.cache.clear(),this.renderers=null},e.prototype.getRenderer=function(e){var t=this.renderers.get(e);if(!t)throw new Error("No renderer found for "+e);return t},e}();t.RowCache=a});
;/*!node_modules/monaco-editor/esm/vs/base/browser/dnd.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/dnd",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataTransfers={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"};var a=function(){function t(t){this.data=t}return t.prototype.update=function(){},t.prototype.getData=function(){return this.data},t}();e.DragAndDropData=a,e.StaticDND={CurrentDragAndDropData:void 0}});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/list/listView.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/list/listView",function(e,t){"use strict";function o(e,t){return Array.isArray(e)&&Array.isArray(t)?D.equals(e,t):e===t}Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),n=this&&this.__decorate||function(e,t,o,r){var n,i=arguments.length,s=3>i?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(3>i?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},i=e("node_modules/monaco-editor/esm/vs/base/common/objects"),s=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=e("node_modules/monaco-editor/esm/vs/base/browser/touch"),l=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),d=e("node_modules/monaco-editor/esm/vs/base/common/event"),h=e("node_modules/monaco-editor/esm/vs/base/browser/event"),p=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),m=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/rangeMap"),c=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/rowCache"),u=e("node_modules/monaco-editor/esm/vs/base/common/platform"),g=r.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),f=e("node_modules/monaco-editor/esm/vs/base/common/decorators"),v=e("node_modules/monaco-editor/esm/vs/base/common/range"),D=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),b=e("node_modules/monaco-editor/esm/vs/base/browser/dnd"),y=e("node_modules/monaco-editor/esm/vs/base/common/async"),w={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:function(e){return[e]},getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},horizontalScrolling:!1},E=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}();t.ElementsDragAndDropData=E;var S=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}();t.ExternalElementsDragAndDropData=S;var T=function(){function e(){this.types=[],this.files=[]}return e.prototype.update=function(e){var t;if(e.types&&(t=this.types).splice.apply(t,[0,this.types.length].concat(e.types)),e.files){this.files.splice(0,this.files.length);for(var o=0;o<e.files.length;o++){var r=e.files.item(o);r&&(r.size||r.type)&&this.files.push(r)}}},e.prototype.getData=function(){return{types:this.types,files:this.files}},e}();t.DesktopDragAndDropData=T;var N=function(){function e(t,o,r,n){var u=this;if(void 0===n&&(n=w),this.virtualDelegate=o,this.domId="list_id_"+ ++e.InstanceCount,this.renderers=new Map,this.renderWidth=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new y.Delayer(50),this.splicing=!1,this.dragOverAnimationStopDisposable=s.Disposable.None,this.canUseTranslate3d=void 0,this.canDrop=!1,this.currentDragFeedbackDisposable=s.Disposable.None,this.onDragLeaveTimeout=s.Disposable.None,this._onDidChangeContentHeight=new d.Emitter,n.horizontalScrolling&&n.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new m.RangeMap;for(var g=0,f=r;g<f.length;g++){var v=f[g];this.renderers.set(v.templateId,v)}this.cache=new c.RowCache(this.renderers),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",l.addClass(this.domNode,this.domId),this.domNode.tabIndex=0,l.toggleClass(this.domNode,"mouse-support","boolean"==typeof n.mouseSupport?n.mouseSupport:!0),this.horizontalScrolling=i.getOrDefault(n,function(e){return e.horizontalScrolling},w.horizontalScrolling),l.toggleClass(this.domNode,"horizontal-scrolling",this.horizontalScrolling),this.ariaSetProvider=n.ariaSetProvider||{getSetSize:function(e,t,o){return o},getPosInSet:function(e,t){return t+1}},this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",a.Gesture.addTarget(this.rowsContainer),this.scrollableElement=new p.ScrollableElement(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:this.horizontalScrolling?1:2,vertical:i.getOrDefault(n,function(e){return e.verticalScrollMode},w.verticalScrollMode),useShadows:i.getOrDefault(n,function(e){return e.useShadows},w.useShadows)}),this.domNode.appendChild(this.scrollableElement.getDomNode()),t.appendChild(this.domNode),this.disposables=[this.rangeMap,this.gesture,this.scrollableElement,this.cache],this.scrollableElement.onScroll(this.onScroll,this,this.disposables),h.domEvent(this.rowsContainer,a.EventType.Change)(this.onTouchChange,this,this.disposables),h.domEvent(this.scrollableElement.getDomNode(),"scroll")(function(e){return e.target.scrollTop=0},null,this.disposables),d.Event.map(h.domEvent(this.domNode,"dragover"),function(e){return u.toDragEvent(e)})(this.onDragOver,this,this.disposables),d.Event.map(h.domEvent(this.domNode,"drop"),function(e){return u.toDragEvent(e)})(this.onDrop,this,this.disposables),h.domEvent(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),h.domEvent(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=i.getOrDefault(n,function(e){return e.setRowLineHeight},w.setRowLineHeight),this.supportDynamicHeights=i.getOrDefault(n,function(e){return e.supportDynamicHeights},w.supportDynamicHeights),this.dnd=i.getOrDefault(n,function(e){return e.dnd},w.dnd),this.layout()}return Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this.rangeMap.size},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,o){if(void 0===o&&(o=[]),this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,o)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}},e.prototype._splice=function(e,t,o){var r,n=this;void 0===o&&(o=[]);for(var i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),a={start:e,end:e+t},l=v.Range.intersect(i,a),d=l.start;d<l.end;d++)this.removeItemFromDOM(d);var h,p={start:e+t,end:this.items.length},c=v.Range.intersect(p,i),u=v.Range.relativeComplement(p,i),g=o.map(function(e){return{id:String(n.itemId++),element:e,templateId:n.virtualDelegate.getTemplateId(e),size:n.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!n.virtualDelegate.hasDynamicHeight&&n.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:s.Disposable.None}});0===e&&t>=this.items.length?(this.rangeMap=new m.RangeMap,this.rangeMap.splice(0,0,g),this.items=g,h=[]):(this.rangeMap.splice(e,t,g),h=(r=this.items).splice.apply(r,[e,t].concat(g)));for(var f=o.length-t,D=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),b=m.shift(c,f),y=v.Range.intersect(D,b),d=y.start;d<y.end;d++)this.updateItemInDOM(this.items[d],d);for(var w=v.Range.relativeComplement(b,D),E=0,S=w;E<S.length;E++)for(var T=S[E],d=T.start;d<T.end;d++)this.removeItemFromDOM(d);for(var N=u.map(function(e){return m.shift(e,f)}),C={start:e,end:e+o.length},M=[C].concat(N).map(function(e){return v.Range.intersect(D,e)}),O=this.getNextToLastElement(M),H=0,I=M;H<I.length;H++)for(var T=I[H],d=T.start;d<T.end;d++)this.insertItemInDOM(d,O);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),h.map(function(e){return e.element})},e.prototype.eventuallyUpdateScrollDimensions=function(){var e=this;this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=l.scheduleAtNextAnimationFrame(function(){e.scrollableElement.setScrollDimensions({scrollHeight:e.scrollHeight}),e.updateScrollWidth(),e.scrollableElementUpdateDisposable=null}))},e.prototype.eventuallyUpdateScrollWidth=function(){var e=this;this.horizontalScrolling&&this.scrollableElementWidthDelayer.trigger(function(){return e.updateScrollWidth()})},e.prototype.updateScrollWidth=function(){if(this.horizontalScrolling){0===this.items.length&&this.scrollableElement.setScrollDimensions({scrollWidth:0});for(var e=0,t=0,o=this.items;t<o.length;t++){var r=o[t];"undefined"!=typeof r.width&&(e=Math.max(e,r.width))}this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:e+10})}},e.prototype.rerender=function(){if(this.supportDynamicHeights){for(var e=0,t=this.items;e<t.length;e++){var o=t[e];o.lastDynamicHeightWidth=void 0}this._rerender(this.lastRenderTop,this.lastRenderHeight)}},Object.defineProperty(e.prototype,"length",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderHeight",{get:function(){var e=this.scrollableElement.getScrollDimensions();return e.height},enumerable:!0,configurable:!0}),e.prototype.element=function(e){return this.items[e].element},e.prototype.domElement=function(e){var t=this.items[e].row;return t&&t.domNode},e.prototype.elementHeight=function(e){return this.items[e].size},e.prototype.elementTop=function(e){return this.rangeMap.positionAt(e)},e.prototype.indexAt=function(e){return this.rangeMap.indexAt(e)},e.prototype.indexAfter=function(e){return this.rangeMap.indexAfter(e)},e.prototype.layout=function(e,t){var o={height:"number"==typeof e?e:l.getContentHeight(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,o.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(o),"undefined"!=typeof t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:l.getContentWidth(this.domNode)}))},e.prototype.render=function(e,t,o,r){for(var n=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),i=this.getRenderRange(e,t),s=v.Range.relativeComplement(i,n),a=v.Range.relativeComplement(n,i),l=this.getNextToLastElement(s),d=0,h=s;d<h.length;d++)for(var p=h[d],m=p.start;m<p.end;m++)this.insertItemInDOM(m,l);for(var c=0,f=a;c<f.length;c++)for(var p=f[c],m=p.start;m<p.end;m++)this.removeItemFromDOM(m);var D=!u.isWindows&&!g.isFirefox&&0===g.getZoomLevel();if(D){var b="translate3d(-"+o+"px, -"+e+"px, 0px)";this.rowsContainer.style.transform=b,this.rowsContainer.style.webkitTransform=b,D!==this.canUseTranslate3d&&(this.rowsContainer.style.left="0",this.rowsContainer.style.top="0")}else this.rowsContainer.style.left="-"+o+"px",this.rowsContainer.style.top="-"+e+"px",D!==this.canUseTranslate3d&&(this.rowsContainer.style.transform="",this.rowsContainer.style.webkitTransform="");this.horizontalScrolling&&(this.rowsContainer.style.width=Math.max(r,this.renderWidth)+"px"),this.canUseTranslate3d=D,this.lastRenderTop=e,this.lastRenderHeight=t},e.prototype.insertItemInDOM=function(e,t){var o=this,r=this.items[e];r.row||(r.row=this.cache.alloc(r.templateId),r.row.domNode.setAttribute("role","treeitem")),r.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(r.row.domNode,t):this.rowsContainer.appendChild(r.row.domNode)),this.updateItemInDOM(r,e);var n=this.renderers.get(r.templateId);if(!n)throw new Error("No renderer found for template id "+r.templateId);n&&n.renderElement(r.element,e,r.row.templateData);var i=this.dnd.getDragURI(r.element);if(r.dragStartDisposable.dispose(),r.row.domNode.draggable=!!i,i){var s=h.domEvent(r.row.domNode,"dragstart");r.dragStartDisposable=s(function(e){return o.onDragStart(r.element,i,e)})}this.horizontalScrolling&&(this.measureItemWidth(r),this.eventuallyUpdateScrollWidth())},e.prototype.measureItemWidth=function(e){if(e.row&&e.row.domNode){e.row.domNode.style.width="fit-content",e.width=l.getContentWidth(e.row.domNode);var t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}},e.prototype.updateItemInDOM=function(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",e.row.domNode.style.height=e.size+"px",this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.ariaSetProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.ariaSetProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),l.toggleClass(e.row.domNode,"drop-target",e.dropTarget)},e.prototype.removeItemFromDOM=function(e){var t=this.items[e];t.dragStartDisposable.dispose();var o=this.renderers.get(t.templateId);o&&o.disposeElement&&o.disposeElement(t.element,e,t.row.templateData),this.cache.release(t.row),t.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()},e.prototype.getScrollTop=function(){var e=this.scrollableElement.getScrollPosition();return e.scrollTop},e.prototype.setScrollTop=function(e){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e})},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.getScrollTop()},set:function(e){this.setScrollTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scrollHeight+(this.horizontalScrolling?10:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseClick",{get:function(){var e=this;return d.Event.map(h.domEvent(this.domNode,"click"),function(t){return e.toMouseEvent(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDblClick",{get:function(){var e=this;return d.Event.map(h.domEvent(this.domNode,"dblclick"),function(t){return e.toMouseEvent(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseMiddleClick",{get:function(){var e=this;return d.Event.filter(d.Event.map(h.domEvent(this.domNode,"auxclick"),function(t){return e.toMouseEvent(t)}),function(e){return 1===e.browserEvent.button})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDown",{get:function(){var e=this;return d.Event.map(h.domEvent(this.domNode,"mousedown"),function(t){return e.toMouseEvent(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onContextMenu",{get:function(){var e=this;return d.Event.map(h.domEvent(this.domNode,"contextmenu"),function(t){return e.toMouseEvent(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTouchStart",{get:function(){var e=this;return d.Event.map(h.domEvent(this.domNode,"touchstart"),function(t){return e.toTouchEvent(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTap",{get:function(){var e=this;return d.Event.map(h.domEvent(this.rowsContainer,a.EventType.Tap),function(t){return e.toGestureEvent(t)})},enumerable:!0,configurable:!0}),e.prototype.toMouseEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),o="undefined"==typeof t?void 0:this.items[t],r=o&&o.element;return{browserEvent:e,index:t,element:r}},e.prototype.toTouchEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),o="undefined"==typeof t?void 0:this.items[t],r=o&&o.element;return{browserEvent:e,index:t,element:r}},e.prototype.toGestureEvent=function(e){var t=this.getItemIndexFromEventTarget(e.initialTarget||null),o="undefined"==typeof t?void 0:this.items[t],r=o&&o.element;return{browserEvent:e,index:t,element:r}},e.prototype.toDragEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),o="undefined"==typeof t?void 0:this.items[t],r=o&&o.element;return{browserEvent:e,index:t,element:r}},e.prototype.onScroll=function(e){try{this.render(e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height)}catch(t){throw console.error("Got bad scroll event:",e),t}},e.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},e.prototype.onDragStart=function(e,t,o){if(o.dataTransfer){var r=this.dnd.getDragElements(e);if(o.dataTransfer.effectAllowed="copyMove",o.dataTransfer.setData(b.DataTransfers.RESOURCES,JSON.stringify([t])),o.dataTransfer.setDragImage){var n=void 0;this.dnd.getDragLabel&&(n=this.dnd.getDragLabel(r)),"undefined"==typeof n&&(n=String(r.length));var i=l.$(".monaco-drag-image");i.textContent=n,document.body.appendChild(i),o.dataTransfer.setDragImage(i,-10,-10),setTimeout(function(){return document.body.removeChild(i)},0)}this.currentDragData=new E(r),b.StaticDND.CurrentDragAndDropData=new S(r),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,o)}},e.prototype.onDragOver=function(e){var t=this;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),b.StaticDND.CurrentDragAndDropData&&"vscode-ui"===b.StaticDND.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(b.StaticDND.CurrentDragAndDropData)this.currentDragData=b.StaticDND.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new T}var r=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof r?r:r.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof r&&0===r.effect?"copy":"move";var n;if(n="boolean"!=typeof r&&r.feedback?r.feedback:"undefined"==typeof e.index?[-1]:[e.index],n=D.distinct(n).filter(function(e){return e>=-1&&e<t.length}).sort(),n=-1===n[0]?[-1]:n,0===n.length)throw new Error("Invalid empty feedback list");if(o(this.currentDragFeedback,n))return!0;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])l.addClass(this.domNode,"drop-target"),this.currentDragFeedbackDisposable=s.toDisposable(function(){return l.removeClass(t.domNode,"drop-target")});else{for(var i=0,a=n;i<a.length;i++){var d=a[i],h=this.items[d];h.dropTarget=!0,h.row&&h.row.domNode&&l.addClass(h.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=s.toDisposable(function(){for(var e=0,o=n;e<o.length;e++){var r=o[e],i=t.items[r];i.dropTarget=!1,i.row&&i.row.domNode&&l.removeClass(i.row.domNode,"drop-target")}})}return!0},e.prototype.onDragLeave=function(){var e=this;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=y.disposableTimeout(function(){return e.clearDragOverFeedback()},100)},e.prototype.onDrop=function(e){if(this.canDrop){var t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,b.StaticDND.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}},e.prototype.onDragEnd=function(){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,b.StaticDND.CurrentDragAndDropData=void 0},e.prototype.clearDragOverFeedback=function(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=s.Disposable.None},e.prototype.setupDragAndDropScrollTopAnimation=function(e){var t=this;if(!this.dragOverAnimationDisposable){var o=l.getTopLeftOffset(this.domNode).top;this.dragOverAnimationDisposable=l.animate(this.animateDragAndDropScrollTop.bind(this,o))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=y.disposableTimeout(function(){t.dragOverAnimationDisposable&&(t.dragOverAnimationDisposable.dispose(),t.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY},e.prototype.animateDragAndDropScrollTop=function(e){if(void 0!==this.dragOverMouseY){var t=this.dragOverMouseY-e,o=this.renderHeight-35;35>t?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>o&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-o))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var o=t.getAttribute("data-index");if(o){var r=Number(o);if(!isNaN(r))return r}t=t.parentElement}return void 0},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var o,r,n=this.getRenderRange(e,t);e===this.elementTop(n.start)?(o=n.start,r=0):n.end-n.start>1&&(o=n.start+1,r=this.elementTop(o)-e);for(var i=0;;){for(var s=this.getRenderRange(e,t),a=!1,l=s.start;l<s.end;l++){var d=this.probeDynamicHeight(l);0!==d&&this.rangeMap.splice(l,1,[this.items[l]]),i+=d,a=a||0!==d}if(!a){0!==i&&this.eventuallyUpdateScrollDimensions();for(var h=v.Range.relativeComplement(n,s),p=0,m=h;p<m.length;p++)for(var c=m[p],l=c.start;l<c.end;l++)this.items[l].row&&this.removeItemFromDOM(l);for(var u=v.Range.relativeComplement(s,n),g=0,f=u;g<f.length;g++)for(var c=f[g],l=c.start;l<c.end;l++){var D=l+1,b=D<this.items.length?this.items[D].row:null,y=b?b.domNode:null;this.insertItemInDOM(l,y)}for(var l=s.start;l<s.end;l++)this.items[l].row&&this.updateItemInDOM(this.items[l],l);return"number"==typeof o&&(this.scrollTop=this.elementTop(o)-r),void this._onDidChangeContentHeight.fire(this.contentHeight)}}},e.prototype.probeDynamicHeight=function(e){var t=this.items[e];if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;var o=t.size,r=this.cache.alloc(t.templateId);r.domNode.style.height="",this.rowsContainer.appendChild(r.domNode);var n=this.renderers.get(t.templateId);return n&&(n.renderElement(t.element,e,r.templateData,!0),n.disposeElement&&n.disposeElement(t.element,e,r.templateData,!0)),t.size=r.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(r.domNode),this.cache.release(r),t.size-o},e.prototype.getNextToLastElement=function(e){var t=e[e.length-1];if(!t)return null;var o=this.items[t.end];return o&&o.row?o.row.domNode:null},e.prototype.getElementDomId=function(e){return this.domId+"_"+e},e.prototype.dispose=function(){if(this.items){for(var e=0,t=this.items;e<t.length;e++){var o=t[e];if(o.row){var r=this.renderers.get(o.row.templateId);r&&r.disposeTemplate(o.row.templateData)}}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.disposables=s.dispose(this.disposables)},e.InstanceCount=0,n([f.memoize],e.prototype,"onMouseClick",null),n([f.memoize],e.prototype,"onMouseDblClick",null),n([f.memoize],e.prototype,"onMouseMiddleClick",null),n([f.memoize],e.prototype,"onMouseDown",null),n([f.memoize],e.prototype,"onContextMenu",null),n([f.memoize],e.prototype,"onTouchStart",null),n([f.memoize],e.prototype,"onTap",null),e}();t.ListView=N});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/list/splice.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/list/splice",function(e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s=function(){function e(e){this.spliceables=e}return e.prototype.splice=function(e,i,s){this.spliceables.forEach(function(n){return n.splice(e,i,s)})},e}();i.CombinedSpliceable=s});
;/*!node_modules/monaco-editor/esm/vs/base/common/numbers.js*/
define("node_modules/monaco-editor/esm/vs/base/common/numbers",function(e,n){"use strict";function o(e,n,o){return Math.min(Math.max(e,n),o)}Object.defineProperty(n,"__esModule",{value:!0}),n.clamp=o});
;/*!node_modules/monaco-editor/esm/vs/base/common/filters.js*/
define("node_modules/monaco-editor/esm/vs/base/common/filters",function(e,r){"use strict";function n(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return function(r,n){for(var t=0,u=e.length;u>t;t++){var o=e[t](r,n);if(o)return o}return null}}function t(e,r,n){if(!n||n.length<r.length)return null;var t;return t=e?U.startsWithIgnoreCase(n,r):0===n.indexOf(r),t?r.length>0?[{start:0,end:r.length}]:[]:null}function u(e,r){var n=r.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]}function o(e,r){return i(e.toLowerCase(),r.toLowerCase(),0,0)}function i(e,r,n,t){if(n===e.length)return[];if(t===r.length)return null;if(e[n]===r[t]){var u=null;return(u=i(e,r,n+1,t+1))?h({start:t,end:t+1},u):null}return i(e,r,n,t+1)}function a(e){return e>=97&&122>=e}function l(e){return e>=65&&90>=e}function f(e){return e>=48&&57>=e}function c(e){return 32===e||9===e||10===e||13===e}function s(e){return a(e)||l(e)||f(e)}function h(e,r){return 0===r.length?r=[e]:e.end===r[0].start?r[0].start=e.start:r.unshift(e),r}function v(e,r){for(var n=r;n<e.length;n++){var t=e.charCodeAt(n);if(l(t)||f(t)||n>0&&!s(e.charCodeAt(n-1)))return n}return e.length}function g(e,r,n,t){if(n===e.length)return[];if(t===r.length)return null;if(e[n]!==r[t].toLowerCase())return null;var u=null,o=t+1;for(u=g(e,r,n+1,t+1);!u&&(o=v(r,o))<r.length;)u=g(e,r,n+1,o),o++;return null===u?null:h({start:t,end:t+1},u)}function d(e){for(var r=0,n=0,t=0,u=0,o=0,i=0;i<e.length;i++)o=e.charCodeAt(i),l(o)&&r++,a(o)&&n++,s(o)&&t++,f(o)&&u++;var c=r/e.length,h=n/e.length,v=t/e.length,g=u/e.length;return{upperPercent:c,lowerPercent:h,alphaPercent:v,numericPercent:g}}function m(e){var r=e.upperPercent,n=e.lowerPercent;return 0===n&&r>.6}function p(e){var r=e.upperPercent,n=e.lowerPercent,t=e.alphaPercent,u=e.numericPercent;return n>.2&&.8>r&&t>.6&&.2>u}function C(e){for(var r=0,n=0,t=0,u=0,o=0;o<e.length;o++)t=e.charCodeAt(o),l(t)&&r++,a(t)&&n++,c(t)&&u++;return 0!==r&&0!==n||0!==u?5>=r:e.length<=30}function w(e,r){if(!r)return null;if(r=r.trim(),0===r.length)return null;if(!C(e))return null;if(r.length>60)return null;var n=d(r);if(!p(n)){if(!m(n))return null;r=r.toLowerCase()}var t=null,u=0;for(e=e.toLowerCase();u<r.length&&null===(t=g(e,r,0,u));)u=v(r,u+1);return t}function P(e,r,n){if(void 0===n&&(n=!1),"string"!=typeof e||"string"!=typeof r)return null;var t=$.get(e);t||(t=new RegExp(U.convertSimple2RegExpPattern(e),"i"),$.set(e,t));var u=t.exec(r);return u?[{start:u.index,end:u.index+u[0].length}]:n?W(e,r):I(e,r)}function S(e,r,n,t,u,o){var i=M(e,r,0,t,u,0,!0);if(i)return i;for(var a=0,l=0,f=o,c=0;c<r.length&&k>c;++c){var s=u.indexOf(r.charAt(c),f);s>=0&&(l+=1,a+=Math.pow(2,s),f=s+1)}return[l,a,o]}function x(e){if("undefined"==typeof e)return[];for(var r=e[1].toString(2),n=e[2],t=[],u=n;k>u;u++)if("1"===r[r.length-(u+1)]){var o=t[t.length-1];o&&o.end===u?o.end=u+1:t.push({start:u,end:u+1})}return t}function y(){for(var e=[],r=[0],n=1;k>=n;n++)r.push(-n);for(var n=0;k>=n;n++){var t=r.slice(0);t[0]=-n,e.push(t)}return e}function z(e,r,n,t,u){function o(e,r,n){for(void 0===n&&(n=" ");e.length<r;)e=n+e;return e}for(var i=" | |"+t.split("").map(function(e){return o(e,3)}).join("|")+"\n",a=0;n>=a;a++)i+=0===a?" |":r[a-1]+"|",i+=e[a].slice(0,u+1).map(function(e){return o(e.toString(),3)}).join("|")+"\n";return i}function b(e,r){if(0>r||r>=e.length)return!1;var n=e.charCodeAt(r);switch(n){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function A(e,r){if(0>r||r>=e.length)return!1;var n=e.charCodeAt(r);switch(n){case 32:case 9:return!0;default:return!1}}function L(e,r,n){return r[e]!==n[e]}function _(e,r,n,t,u,o){for(;n>r&&o>u;)e[r]===t[u]&&(r+=1),u+=1;return r===n}function M(e,r,n,t,u,o,i){var a=e.length>k?k:e.length,l=t.length>k?k:t.length;if(n>=a||o>=l||a>l)return void 0;if(!_(r,n,a,u,o,l))return void 0;var f=n,c=o;for(n=f+1;a>=n;n++)for(o=1;l>=o;o++){var s=-1;r[n-1]===u[o-1]&&(s=o===n-f?e[n-1]===t[o-1]?7:5:!L(o-1,t,u)||1!==o&&L(o-2,t,u)?b(u,o-2)||A(u,o-2)?5:1:e[n-1]===t[o-1]?7:5),B[n][o]=s;var h=q[n-1][o-1]+(s>1?1:s),v=q[n-1][o]+-1,g=q[n][o-1]+-1;g>=v?g>h?(q[n][o]=g,H[n][o]=4):g===h?(q[n][o]=g,H[n][o]=6):(q[n][o]=h,H[n][o]=2):v>h?(q[n][o]=v,H[n][o]=1):v===h?(q[n][o]=v,H[n][o]=3):(q[n][o]=h,H[n][o]=2)}return J&&(console.log(z(q,e,a,t,l)),console.log(z(H,e,a,t,l)),console.log(z(B,e,a,t,l))),K=0,Q=-100,T=f,V=i,O(a,l,a===l?1:0,0,!1),0===K?void 0:[Q,N,c]}function O(e,r,n,t,u){if(!(K>=10||-25>n)){for(var o=0;e>T&&r>0;){var i=B[e][r],a=H[e][r];if(4===a)r-=1,u?n-=5:0!==t&&(n-=1),u=!1,o=0;else{if(!(2&a))return void 0;if(4&a&&O(e,r-1,0!==t?n-1:n,t,u),n+=i,e-=1,r-=1,u=!0,t+=Math.pow(2,r),1===i){if(o+=1,e===T&&!V)return void 0}else n+=1+o*(i-1),o=0}}n-=r>=3?9:3*r,K+=1,n>Q&&(Q=n,N=t)}}function j(e,r,n,t,u,o,i){return E(e,r,n,t,u,o,!0,i)}function E(e,r,n,t,u,o,i,a){var l=M(e,r,n,t,u,o,a);if(l&&!i)return l;if(e.length>=3)for(var f=Math.min(7,e.length-1),c=n+1;f>c;c++){var s=F(e,c);if(s){var h=M(s,s.toLowerCase(),n,t,u,o,a);h&&(h[0]-=3,(!l||h[0]>l[0])&&(l=h))}}return l}function F(e,r){if(r+1>=e.length)return void 0;var n=e[r],t=e[r+1];return n===t?void 0:e.slice(0,r)+t+n+e.slice(r+2)}Object.defineProperty(r,"__esModule",{value:!0});var R=e("node_modules/tslib/tslib"),D=e("node_modules/monaco-editor/esm/vs/base/common/map"),U=R.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings"));r.or=n,r.matchesPrefix=t.bind(void 0,!0),r.matchesContiguousSubString=u,r.matchesSubString=o,r.isUpper=l;var G=new Set;"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach(function(e){return G.add(e.charCodeAt(0))}),r.matchesCamelCase=w;var I=n(r.matchesPrefix,w,u),W=n(r.matchesPrefix,w,o),$=new D.LRUCache(1e4);r.matchesFuzzy=P,r.anyScore=S,r.createMatches=x;var k=53,q=y(),B=y(),H=y(),J=!1;!function(e){function r(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]}e.Default=[-100,0,0],e.isDefault=r}(r.FuzzyScore||(r.FuzzyScore={})),r.fuzzyScore=M;var K=0,N=0,Q=0,T=0,V=!1;r.fuzzyScoreGracefulAggressive=j});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget",function(e,t){"use strict";function o(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function n(e){return e.ctrlKey||e.metaKey||e.altKey?!1:e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=80&&e.keyCode<=90}function i(e){return E.isMacintosh?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function r(e){return e.browserEvent.shiftKey}function s(e){return e instanceof MouseEvent&&2===e.button}function l(e,t){var o=e.indexOf(t);if(-1===o)return[];for(var n=[],i=o-1;i>=0&&e[i]===t-(o-i);)n.push(e[i--]);for(n.reverse(),i=o;i<e.length&&e[i]===t+(i-o);)n.push(e[i++]);return n}function u(e,t){for(var o=[],n=0,i=0;n<e.length||i<t.length;)if(n>=e.length)o.push(t[i++]);else if(i>=t.length)o.push(e[n++]);else{if(e[n]===t[i]){o.push(e[n]),n++,i++;continue}o.push(e[n]<t[i]?e[n++]:t[i++])}return o}function a(e,t){for(var o=[],n=0,i=0;n<e.length||i<t.length;)if(n>=e.length)o.push(t[i++]);else if(i>=t.length)o.push(e[n++]);else{if(e[n]===t[i]){n++,i++;continue}e[n]<t[i]?o.push(e[n++]):i++}return o}Object.defineProperty(t,"__esModule",{value:!0});var c,d=e("node_modules/tslib/tslib"),h=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),p=this&&this.__assign||function(){return p=Object.assign||function(e){for(var t,o=1,n=arguments.length;n>o;o++){t=arguments[o];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},p.apply(this,arguments)},f=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=3>r?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(s=(3>r?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},v=e("node_modules/monaco-editor/esm/vs/nls"),g=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),m=e("node_modules/monaco-editor/esm/vs/base/common/types"),b=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),y=e("node_modules/monaco-editor/esm/vs/base/common/decorators"),w=d.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),E=d.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),S=e("node_modules/monaco-editor/esm/vs/base/browser/touch"),C=e("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent"),x=e("node_modules/monaco-editor/esm/vs/base/common/event"),P=e("node_modules/monaco-editor/esm/vs/base/browser/event"),F=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/list"),k=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/listView"),D=e("node_modules/monaco-editor/esm/vs/base/common/color"),_=e("node_modules/monaco-editor/esm/vs/base/common/objects"),I=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/splice"),O=e("node_modules/monaco-editor/esm/vs/base/common/numbers"),N=e("node_modules/monaco-editor/esm/vs/base/common/filters"),M=function(){function e(e){this.trait=e,this.renderedElements=[]}return Object.defineProperty(e.prototype,"templateId",{get:function(){return"template:"+this.trait.trait},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return e},e.prototype.renderElement=function(e,t,o){var n=b.firstIndex(this.renderedElements,function(e){return e.templateData===o});if(n>=0){var i=this.renderedElements[n];this.trait.unrender(o),i.index=t}else{var i={index:t,templateData:o};this.renderedElements.push(i)}this.trait.renderIndex(t,o)},e.prototype.splice=function(e,t,o){for(var n=[],i=0,r=this.renderedElements;i<r.length;i++){var s=r[i];s.index<e?n.push(s):s.index>=e+t&&n.push({index:s.index+o-t,templateData:s.templateData})}this.renderedElements=n},e.prototype.renderIndexes=function(e){for(var t=0,o=this.renderedElements;t<o.length;t++){var n=o[t],i=n.index,r=n.templateData;e.indexOf(i)>-1&&this.trait.renderIndex(i,r)}},e.prototype.disposeTemplate=function(e){var t=b.firstIndex(this.renderedElements,function(t){return t.templateData===e});0>t||this.renderedElements.splice(t,1)},e}(),T=function(){function e(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new x.Emitter}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trait",{get:function(){return this._trait},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderer",{get:function(){return new M(this)},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,o){var n=o.length-t,i=e+t,r=this.sortedIndexes.filter(function(t){return e>t}).concat(o.map(function(t,o){return t?o+e:-1}).filter(function(e){return-1!==e}),this.sortedIndexes.filter(function(e){return e>=i}).map(function(e){return e+n}));this.renderer.splice(e,t,o.length),this._set(r,r)},e.prototype.renderIndex=function(e,t){w.toggleClass(t,this._trait,this.contains(e))},e.prototype.unrender=function(e){w.removeClass(e,this._trait)},e.prototype.set=function(e,t){return this._set(e,e.slice().sort(V),t)},e.prototype._set=function(e,t,o){var n=this.indexes,i=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;var r=u(i,e);return this.renderer.renderIndexes(r),this._onChange.fire({indexes:e,browserEvent:o}),n},e.prototype.get=function(){return this.indexes},e.prototype.contains=function(e){return b.binarySearch(this.sortedIndexes,e,V)>=0},e.prototype.dispose=function(){this._onChange=g.dispose(this._onChange)},f([y.memoize],e.prototype,"renderer",null),e}(),A=function(e){function t(){return e.call(this,"focused")||this}return h(t,e),t.prototype.renderIndex=function(t,o){e.prototype.renderIndex.call(this,t,o),this.contains(t)?o.setAttribute("aria-selected","true"):o.removeAttribute("aria-selected")},t}(T),K=function(){function e(e,t,o){this.trait=e,this.view=t,this.identityProvider=o}return e.prototype.splice=function(e,t,o){var n=this;if(!this.identityProvider)return this.trait.splice(e,t,o.map(function(){return!1}));var i=this.trait.get().map(function(e){return n.identityProvider.getId(n.view.element(e)).toString()}),r=o.map(function(e){return i.indexOf(n.identityProvider.getId(e).toString())>-1});this.trait.splice(e,t,r)},e}(),B=function(){function e(e,t,n){this.list=e,this.view=t;var i=!(n.multipleSelectionSupport===!1);this.disposables=[],this.openController=n.openController||R;var r=x.Event.chain(P.domEvent(t.domNode,"keydown")).filter(function(e){return!o(e.target)}).map(function(e){return new C.StandardKeyboardEvent(e)});r.filter(function(e){return 3===e.keyCode}).on(this.onEnter,this,this.disposables),r.filter(function(e){return 16===e.keyCode}).on(this.onUpArrow,this,this.disposables),r.filter(function(e){return 18===e.keyCode}).on(this.onDownArrow,this,this.disposables),r.filter(function(e){return 11===e.keyCode}).on(this.onPageUpArrow,this,this.disposables),r.filter(function(e){return 12===e.keyCode}).on(this.onPageDownArrow,this,this.disposables),r.filter(function(e){return 9===e.keyCode}).on(this.onEscape,this,this.disposables),i&&r.filter(function(e){return(E.isMacintosh?e.metaKey:e.ctrlKey)&&31===e.keyCode}).on(this.onCtrlA,this,this.disposables)}return e.prototype.onEnter=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open(this.list.getFocus(),e.browserEvent)},e.prototype.onUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onPageUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onPageDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onCtrlA=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(b.range(this.list.length),e.browserEvent),this.view.domNode.focus()},e.prototype.onEscape=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus()},e.prototype.dispose=function(){this.disposables=g.dispose(this.disposables)},e}();!function(e){e[e.Idle=0]="Idle",e[e.Typing=1]="Typing"}(c||(c={})),t.mightProducePrintableCharacter=n;var H=function(){function e(e,t,o){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=o,this.enabled=!1,this.state=c.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.enabledDisposables=[],this.disposables=[],this.updateOptions(e.options)}return e.prototype.updateOptions=function(e){var t="undefined"==typeof e.enableKeyboardNavigation?!0:!!e.enableKeyboardNavigation;t?this.enable():this.disable(),"undefined"!=typeof e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)},e.prototype.enable=function(){var e=this;if(!this.enabled){var t=x.Event.chain(P.domEvent(this.view.domNode,"keydown")).filter(function(e){return!o(e.target)}).filter(function(){return e.automaticKeyboardNavigation||e.triggered}).map(function(e){return new C.StandardKeyboardEvent(e)}).filter(this.keyboardNavigationLabelProvider.mightProducePrintableCharacter?function(t){return e.keyboardNavigationLabelProvider.mightProducePrintableCharacter(t)}:function(e){return n(e)}).forEach(function(e){e.stopPropagation(),e.preventDefault()}).map(function(e){return e.browserEvent.key}).event,i=x.Event.debounce(t,function(){return null},800),r=x.Event.reduce(x.Event.any(t,i),function(e,t){return null===t?null:(e||"")+t});r(this.onInput,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this.enabled&&(this.enabledDisposables=g.dispose(this.enabledDisposables),this.enabled=!1,this.triggered=!1)},e.prototype.onInput=function(e){if(!e)return this.state=c.Idle,void(this.triggered=!1);var t=this.list.getFocus(),o=t.length>0?t[0]:0,n=this.state===c.Idle?1:0;this.state=c.Typing;for(var i=0;i<this.list.length;i++){var r=(o+i+n)%this.list.length,s=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(r)),l=s&&s.toString();if("undefined"==typeof l||N.matchesPrefix(e,l))return this.list.setFocus([r]),void this.list.reveal(r)}},e.prototype.dispose=function(){this.disable(),this.disposables=g.dispose(this.disposables)},e}(),L=function(){function e(e,t){this.list=e,this.view=t,this.disposables=[],this.disposables=[];var n=x.Event.chain(P.domEvent(t.domNode,"keydown")).filter(function(e){return!o(e.target)}).map(function(e){return new C.StandardKeyboardEvent(e)});n.filter(function(e){return!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)}).on(this.onTab,this,this.disposables)}return e.prototype.onTab=function(e){if(e.target===this.view.domNode){var t=this.list.getFocus();if(0!==t.length){var o=this.view.domElement(t[0]);if(o){var n=o.querySelector("[tabIndex]");if(n&&n instanceof HTMLElement&&-1!==n.tabIndex){var i=window.getComputedStyle(n);"hidden"!==i.visibility&&"none"!==i.display&&(e.preventDefault(),e.stopPropagation(),n.focus())}}}}},e.prototype.dispose=function(){this.disposables=g.dispose(this.disposables)},e}();t.isSelectionSingleChangeEvent=i,t.isSelectionRangeChangeEvent=r;var j={isSelectionSingleChangeEvent:i,isSelectionRangeChangeEvent:r},R={shouldOpen:function(e){return e instanceof MouseEvent?!s(e):!0}},U=function(){function e(e){this.list=e,this.disposables=[],this.multipleSelectionSupport=!(e.options.multipleSelectionSupport===!1),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||j),this.openController=e.options.openController||R,this.mouseSupport="undefined"==typeof e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),S.Gesture.addTarget(e.getHTMLElement())),e.onMouseClick(this.onPointer,this,this.disposables),e.onMouseMiddleClick(this.onPointer,this,this.disposables),e.onTap(this.onPointer,this,this.disposables)}return e.prototype.isSelectionSingleChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):E.isMacintosh?e.browserEvent.metaKey:e.browserEvent.ctrlKey},e.prototype.isSelectionRangeChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey},e.prototype.isSelectionChangeEvent=function(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)},e.prototype.onMouseDown=function(e){document.activeElement!==e.browserEvent.target&&this.list.domFocus()},e.prototype.onContextMenu=function(e){var t="undefined"==typeof e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)},e.prototype.onPointer=function(e){if(this.mouseSupport&&!o(e.browserEvent.target)){var t=this.list.getFocus()[0],n=this.list.getSelection();t=void 0===t?n[0]:t;var i=e.index;if("undefined"==typeof i)return this.list.setFocus([],e.browserEvent),void this.list.setSelection([],e.browserEvent);if(this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(e))return this.changeSelection(e,t);if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))return this.changeSelection(e,t);this.list.setFocus([i],e.browserEvent),s(e.browserEvent)||(this.list.setSelection([i],e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open([i],e.browserEvent))}},e.prototype.onDoubleClick=function(e){if(!(o(e.browserEvent.target)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))){var t=this.list.getFocus();this.list.setSelection(t,e.browserEvent),this.list.pin(t)}},e.prototype.changeSelection=function(e,t){var o=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){var n=Math.min(t,o),i=Math.max(t,o),r=b.range(n,i+1),s=this.list.getSelection(),c=l(u(s,[t]),t);if(0===c.length)return;var d=u(r,a(s,c));this.list.setSelection(d,e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){var s=this.list.getSelection(),d=s.filter(function(e){return e!==o});s.length===d.length?this.list.setSelection(d.concat([o]),e.browserEvent):this.list.setSelection(d,e.browserEvent)}},e.prototype.dispose=function(){this.disposables=g.dispose(this.disposables)},e}();t.MouseController=U;var W=function(){function e(e,t){this.styleElement=e,this.selectorSuffix=t}return e.prototype.style=function(e){var t=this.selectorSuffix?"."+this.selectorSuffix:"",o=[];e.listFocusBackground&&(o.push(".monaco-list"+t+":focus .monaco-list-row.focused { background-color: "+e.listFocusBackground+"; }"),o.push(".monaco-list"+t+":focus .monaco-list-row.focused:hover { background-color: "+e.listFocusBackground+"; }")),e.listFocusForeground&&o.push(".monaco-list"+t+":focus .monaco-list-row.focused { color: "+e.listFocusForeground+"; }"),e.listActiveSelectionBackground&&(o.push(".monaco-list"+t+":focus .monaco-list-row.selected { background-color: "+e.listActiveSelectionBackground+"; }"),o.push(".monaco-list"+t+":focus .monaco-list-row.selected:hover { background-color: "+e.listActiveSelectionBackground+"; }")),e.listActiveSelectionForeground&&o.push(".monaco-list"+t+":focus .monaco-list-row.selected { color: "+e.listActiveSelectionForeground+"; }"),e.listFocusAndSelectionBackground&&o.push("\n .monaco-drag-image,\n .monaco-list"+t+":focus .monaco-list-row.selected.focused { background-color: "+e.listFocusAndSelectionBackground+"; }\n "),e.listFocusAndSelectionForeground&&o.push("\n .monaco-drag-image,\n .monaco-list"+t+":focus .monaco-list-row.selected.focused { color: "+e.listFocusAndSelectionForeground+"; }\n "),e.listInactiveFocusBackground&&(o.push(".monaco-list"+t+" .monaco-list-row.focused { background-color: "+e.listInactiveFocusBackground+"; }"),o.push(".monaco-list"+t+" .monaco-list-row.focused:hover { background-color: "+e.listInactiveFocusBackground+"; }")),e.listInactiveSelectionBackground&&(o.push(".monaco-list"+t+" .monaco-list-row.selected { background-color: "+e.listInactiveSelectionBackground+"; }"),o.push(".monaco-list"+t+" .monaco-list-row.selected:hover { background-color: "+e.listInactiveSelectionBackground+"; }")),e.listInactiveSelectionForeground&&o.push(".monaco-list"+t+" .monaco-list-row.selected { color: "+e.listInactiveSelectionForeground+"; }"),e.listHoverBackground&&o.push(".monaco-list"+t+":not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: "+e.listHoverBackground+"; }"),e.listHoverForeground&&o.push(".monaco-list"+t+" .monaco-list-row:hover:not(.selected):not(.focused) { color: "+e.listHoverForeground+"; }"),e.listSelectionOutline&&o.push(".monaco-list"+t+" .monaco-list-row.selected { outline: 1px dotted "+e.listSelectionOutline+"; outline-offset: -1px; }"),e.listFocusOutline&&o.push("\n .monaco-drag-image,\n .monaco-list"+t+":focus .monaco-list-row.focused { outline: 1px solid "+e.listFocusOutline+"; outline-offset: -1px; }\n "),e.listInactiveFocusOutline&&o.push(".monaco-list"+t+" .monaco-list-row.focused { outline: 1px dotted "+e.listInactiveFocusOutline+"; outline-offset: -1px; }"),e.listHoverOutline&&o.push(".monaco-list"+t+" .monaco-list-row:hover { outline: 1px dashed "+e.listHoverOutline+"; outline-offset: -1px; }"),e.listDropBackground&&o.push("\n .monaco-list"+t+".drop-target,\n .monaco-list"+t+" .monaco-list-row.drop-target { background-color: "+e.listDropBackground+" !important; color: inherit !important; }\n "),e.listFilterWidgetBackground&&o.push(".monaco-list-type-filter { background-color: "+e.listFilterWidgetBackground+" }"),e.listFilterWidgetOutline&&o.push(".monaco-list-type-filter { border: 1px solid "+e.listFilterWidgetOutline+"; }"),e.listFilterWidgetNoMatchesOutline&&o.push(".monaco-list-type-filter.no-matches { border: 1px solid "+e.listFilterWidgetNoMatchesOutline+"; }"),e.listMatchesShadow&&o.push(".monaco-list-type-filter { box-shadow: 1px 1px 1px "+e.listMatchesShadow+"; }");var n=o.join("\n");n!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=n)},e}();t.DefaultStyleController=W;var z={listFocusBackground:D.Color.fromHex("#073655"),listActiveSelectionBackground:D.Color.fromHex("#0E639C"),listActiveSelectionForeground:D.Color.fromHex("#FFFFFF"),listFocusAndSelectionBackground:D.Color.fromHex("#094771"),listFocusAndSelectionForeground:D.Color.fromHex("#FFFFFF"),listInactiveSelectionBackground:D.Color.fromHex("#3F3F46"),listHoverBackground:D.Color.fromHex("#2A2D2E"),listDropBackground:D.Color.fromHex("#383B3D")},J={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},ariaRootRole:F.ListAriaRootRole.TREE},V=function(e,t){return e-t},X=function(){function e(e,t){this._templateId=e,this.renderers=t}return Object.defineProperty(e.prototype,"templateId",{get:function(){return this._templateId},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return this.renderers.map(function(t){return t.renderTemplate(e)})},e.prototype.renderElement=function(e,t,o,n){for(var i=0,r=0,s=this.renderers;r<s.length;r++){var l=s[r];l.renderElement(e,t,o[i++],n)}},e.prototype.disposeElement=function(e,t,o,n){for(var i=0,r=0,s=this.renderers;r<s.length;r++){var l=s[r];l.disposeElement&&l.disposeElement(e,t,o[i],n),i+=1}},e.prototype.disposeTemplate=function(e){for(var t=0,o=0,n=this.renderers;o<n.length;o++){var i=n[o];i.disposeTemplate(e[t++])}},e}(),q=function(){function e(e){this.accessibilityProvider=e,this.templateId="a18n"}return e.prototype.renderTemplate=function(e){return e},e.prototype.renderElement=function(e,t,o){var n=this.accessibilityProvider.getAriaLabel(e);n?o.setAttribute("aria-label",n):o.removeAttribute("aria-label");var i=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof i?o.setAttribute("aria-level",""+i):o.removeAttribute("aria-level")},e.prototype.disposeTemplate=function(){},e}(),G=function(){function e(e,t){this.list=e,this.dnd=t}return e.prototype.getDragElements=function(e){var t=this.list.getSelectedElements(),o=t.indexOf(e)>-1?t:[e];return o},e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e)},e.prototype.getDragLabel=function(e){return this.dnd.getDragLabel?this.dnd.getDragLabel(e):void 0},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)},e.prototype.onDragOver=function(e,t,o,n){return this.dnd.onDragOver(e,t,o,n)},e.prototype.drop=function(e,t,o,n){this.dnd.drop(e,t,o,n)},e}(),Y=function(){function e(e,t,o,n){void 0===n&&(n=J),this._options=n,this.eventBufferer=new x.EventBufferer,this._onDidOpen=new x.Emitter,this.onDidOpen=this._onDidOpen.event,this._onPin=new x.Emitter,this.didJustPressContextMenuKey=!1,this._onDidDispose=new x.Emitter,this.focus=new A,this.selection=new T("selected"),_.mixin(n,z,!1);var i=[this.focus.renderer,this.selection.renderer];n.accessibilityProvider&&i.push(new q(n.accessibilityProvider)),o=o.map(function(e){return new X(e.templateId,i.concat([e]))});var r=p({},n,{dnd:n.dnd&&new G(this,n.dnd)});if(this.view=new k.ListView(e,t,o,r),"string"!=typeof n.ariaRole?this.view.domNode.setAttribute("role",F.ListAriaRootRole.TREE):this.view.domNode.setAttribute("role",n.ariaRole),this.styleElement=w.createStyleSheet(this.view.domNode),this.styleController=n.styleController||new W(this.styleElement,this.view.domId),this.spliceable=new I.CombinedSpliceable([new K(this.focus,this.view,n.identityProvider),new K(this.selection,this.view,n.identityProvider),this.view]),this.disposables=[this.focus,this.selection,this.view,this._onDidDispose],this.onDidFocus=x.Event.map(P.domEvent(this.view.domNode,"focus",!0),function(){return null}),this.onDidBlur=x.Event.map(P.domEvent(this.view.domNode,"blur",!0),function(){return null}),this.disposables.push(new L(this,this.view)),"boolean"!=typeof n.keyboardSupport||n.keyboardSupport){var s=new B(this,this.view,n);this.disposables.push(s)}n.keyboardNavigationLabelProvider&&(this.typeLabelController=new H(this,this.view,n.keyboardNavigationLabelProvider),this.disposables.push(this.typeLabelController)),this.disposables.push(this.createMouseController(n)),this.onFocusChange(this._onFocusChange,this,this.disposables),this.onSelectionChange(this._onSelectionChange,this,this.disposables),n.ariaLabel&&this.view.domNode.setAttribute("aria-label",v.localize("aria list","{0}. Use the navigation keys to navigate.",n.ariaLabel)),this.style(n)}return Object.defineProperty(e.prototype,"onFocusChange",{get:function(){var e=this;return x.Event.map(this.eventBufferer.wrapEvent(this.focus.onChange),function(t){return e.toListEvent(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){var e=this;return x.Event.map(this.eventBufferer.wrapEvent(this.selection.onChange),function(t){return e.toListEvent(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseClick",{get:function(){return this.view.onMouseClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDblClick",{get:function(){return this.view.onMouseDblClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseMiddleClick",{get:function(){return this.view.onMouseMiddleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDown",{get:function(){return this.view.onMouseDown},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTouchStart",{get:function(){return this.view.onTouchStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTap",{get:function(){return this.view.onTap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onContextMenu",{get:function(){var e=this,t=x.Event.chain(P.domEvent(this.view.domNode,"keydown")).map(function(e){return new C.StandardKeyboardEvent(e)}).filter(function(t){return e.didJustPressContextMenuKey=58===t.keyCode||t.shiftKey&&68===t.keyCode}).filter(function(e){return e.preventDefault(),e.stopPropagation(),!1}).event,o=x.Event.chain(P.domEvent(this.view.domNode,"keyup")).filter(function(){var t=e.didJustPressContextMenuKey;return e.didJustPressContextMenuKey=!1,t}).filter(function(){return e.getFocus().length>0&&!!e.view.domElement(e.getFocus()[0])}).map(function(t){var o=e.getFocus()[0],n=e.view.element(o),i=e.view.domElement(o);return{index:o,element:n,anchor:i,browserEvent:t}}).event,n=x.Event.chain(this.view.onContextMenu).filter(function(){return!e.didJustPressContextMenuKey}).map(function(e){var t=e.element,o=e.index,n=e.browserEvent;return{element:t,index:o,anchor:{x:n.clientX+1,y:n.clientY},browserEvent:n}}).event;return x.Event.any(t,o,n)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onKeyDown",{get:function(){return P.domEvent(this.view.domNode,"keydown")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this._onDidDispose.event},enumerable:!0,configurable:!0}),e.prototype.createMouseController=function(){return new U(this)},e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=p({},this._options,e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options)},Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,o){var n=this;if(void 0===o&&(o=[]),0>e||e>this.view.length)throw new Error("Invalid start index: "+e);if(0>t)throw new Error("Invalid delete count: "+t);(0!==t||0!==o.length)&&this.eventBufferer.bufferEvents(function(){return n.spliceable.splice(e,t,o)})},e.prototype.rerender=function(){this.view.rerender()},e.prototype.element=function(e){return this.view.element(e)},Object.defineProperty(e.prototype,"length",{get:function(){return this.view.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this.view.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.view.getScrollTop()},set:function(e){this.view.setScrollTop(e)},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.view.domNode.focus()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.setSelection=function(e,t){for(var o=0,n=e;o<n.length;o++){var i=n[o];if(0>i||i>=this.length)throw new Error("Invalid index "+i)}this.selection.set(e,t)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.getSelectedElements=function(){var e=this;return this.getSelection().map(function(t){return e.view.element(t)})},e.prototype.setFocus=function(e,t){for(var o=0,n=e;o<n.length;o++){var i=n[o];if(0>i||i>=this.length)throw new Error("Invalid index "+i)}this.focus.set(e,t)},e.prototype.focusNext=function(e,t,o,n){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var i=this.focus.get(),r=this.findNextIndex(i.length>0?i[0]+e:0,t,n);r>-1&&this.setFocus([r],o)}},e.prototype.focusPrevious=function(e,t,o,n){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var i=this.focus.get(),r=this.findPreviousIndex(i.length>0?i[0]-e:0,t,n);r>-1&&this.setFocus([r],o)}},e.prototype.focusNextPage=function(e,t){var o=this,n=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);n=0===n?0:n-1;var i=this.view.element(n),r=this.getFocusedElements()[0];if(r!==i){var s=this.findPreviousIndex(n,!1,t);s>-1&&r!==this.view.element(s)?this.setFocus([s],e):this.setFocus([n],e)}else{var l=this.view.getScrollTop();this.view.setScrollTop(l+this.view.renderHeight-this.view.elementHeight(n)),this.view.getScrollTop()!==l&&setTimeout(function(){return o.focusNextPage(e,t)},0)}},e.prototype.focusPreviousPage=function(e,t){var o,n=this,i=this.view.getScrollTop();o=0===i?this.view.indexAt(i):this.view.indexAfter(i-1);var r=this.view.element(o),s=this.getFocusedElements()[0];if(s!==r){var l=this.findNextIndex(o,!1,t);l>-1&&s!==this.view.element(l)?this.setFocus([l],e):this.setFocus([o],e)}else{var u=i;this.view.setScrollTop(i-this.view.renderHeight),this.view.getScrollTop()!==u&&setTimeout(function(){return n.focusPreviousPage(e,t)},0)}},e.prototype.focusLast=function(e,t){if(0!==this.length){var o=this.findPreviousIndex(this.length-1,!1,t);o>-1&&this.setFocus([o],e)}},e.prototype.focusFirst=function(e,t){if(0!==this.length){var o=this.findNextIndex(0,!1,t);o>-1&&this.setFocus([o],e)}},e.prototype.findNextIndex=function(e,t,o){void 0===t&&(t=!1);for(var n=0;n<this.length;n++){if(e>=this.length&&!t)return-1;if(e%=this.length,!o||o(this.element(e)))return e;e++}return-1},e.prototype.findPreviousIndex=function(e,t,o){void 0===t&&(t=!1);for(var n=0;n<this.length;n++){if(0>e&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!o||o(this.element(e)))return e;e--}return-1},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.getFocusedElements=function(){var e=this;return this.getFocus().map(function(t){return e.view.element(t)})},e.prototype.reveal=function(e,t){if(0>e||e>=this.length)throw new Error("Invalid index "+e);var o=this.view.getScrollTop(),n=this.view.elementTop(e),i=this.view.elementHeight(e);if(m.isNumber(t)){var r=i-this.view.renderHeight;this.view.setScrollTop(r*O.clamp(t,0,1)+n)}else{var s=n+i,l=o+this.view.renderHeight;o>n?this.view.setScrollTop(n):s>=l&&this.view.setScrollTop(s-this.view.renderHeight)}},e.prototype.getRelativeTop=function(e){if(0>e||e>=this.length)throw new Error("Invalid index "+e);var t=this.view.getScrollTop(),o=this.view.elementTop(e),n=this.view.elementHeight(e);if(t>o||o+n>t+this.view.renderHeight)return null;var i=n-this.view.renderHeight;return Math.abs((t-o)/i)},e.prototype.getHTMLElement=function(){return this.view.domNode},e.prototype.open=function(e,t){for(var o=this,n=0,i=e;n<i.length;n++){var r=i[n];if(0>r||r>=this.length)throw new Error("Invalid index "+r)}this._onDidOpen.fire({indexes:e,elements:e.map(function(e){return o.view.element(e)}),browserEvent:t})},e.prototype.pin=function(e){for(var t=0,o=e;t<o.length;t++){var n=o[t];if(0>n||n>=this.length)throw new Error("Invalid index "+n)}this._onPin.fire(e)},e.prototype.style=function(e){this.styleController.style(e)},e.prototype.toListEvent=function(e){var t=this,o=e.indexes,n=e.browserEvent;return{indexes:o,elements:o.map(function(e){return t.view.element(e)}),browserEvent:n}},e.prototype._onFocusChange=function(){var e=this.focus.get();e.length>0?this.view.domNode.setAttribute("aria-activedescendant",this.view.getElementDomId(e[0])):this.view.domNode.removeAttribute("aria-activedescendant"),this.view.domNode.setAttribute("role","tree"),w.toggleClass(this.view.domNode,"element-focused",e.length>0)},e.prototype._onSelectionChange=function(){var e=this.selection.get();w.toggleClass(this.view.domNode,"selection-none",0===e.length),w.toggleClass(this.view.domNode,"selection-single",1===e.length),w.toggleClass(this.view.domNode,"selection-multiple",e.length>1)},e.prototype.dispose=function(){this._onDidDispose.fire(),this.disposables=g.dispose(this.disposables),this._onDidOpen.dispose(),this._onPin.dispose(),this._onDidDispose.dispose()},f([y.memoize],e.prototype,"onFocusChange",null),f([y.memoize],e.prototype,"onSelectionChange",null),f([y.memoize],e.prototype,"onContextMenu",null),e
}();t.List=Y});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/tree/indexTreeModel.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/indexTreeModel",function(e,t){"use strict";function r(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function i(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function o(e){var t=e.element,r=e.collapsed,i=d.Iterator.map(d.Iterator.fromArray(e.children),o);return{element:t,children:i,collapsed:r}}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),l=e("node_modules/monaco-editor/esm/vs/base/common/event"),d=e("node_modules/monaco-editor/esm/vs/base/common/iterator");t.isFilterResult=r,t.getVisibleState=i;var s=function(){function e(e,t,r){void 0===r&&(r={}),this.list=e,this.rootRef=[],this.eventBufferer=new l.EventBufferer,this._onDidChangeCollapseState=new l.Emitter,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new l.Emitter,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new l.Emitter,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault="undefined"==typeof r.collapseByDefault?!1:r.collapseByDefault,this.filter=r.filter,this.autoExpandSingleChildren="undefined"==typeof r.autoExpandSingleChildren?!1:r.autoExpandSingleChildren,this.root={parent:void 0,element:t,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visible:!0,filterData:void 0}}return e.prototype.splice=function(e,t,r,i,n){var l,s=this;if(0===e.length)throw new Error("Invalid tree location");for(var a=this.getParentNodeWithListIndex(e),h=a.parentNode,p=a.listIndex,u=a.revealed,f=a.visible,c=[],v=d.Iterator.map(d.Iterator.from(r),function(e){return s.createTreeNode(e,h,h.visible?1:0,u,c,i)}),C=e[e.length-1],N=0,g=C;g>=0&&g<h.children.length;g--){var b=h.children[g];if(b.visible){N=b.visibleChildIndex;break}}var y=[],I=0,_=0;d.Iterator.forEach(v,function(e){y.push(e),_+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=N+I++)});for(var m=(l=h.children).splice.apply(l,[C,t].concat(y)),x=0,D=0,E=m;D<E.length;D++){var b=E[D];b.visible&&x++}if(0!==x)for(var g=C+y.length;g<h.children.length;g++){var b=h.children[g];b.visible&&(b.visibleChildIndex-=x)}if(h.visibleChildrenCount+=I-x,u&&f){var w=m.reduce(function(e,t){return e+t.renderNodeCount},0);this._updateAncestorsRenderNodeCount(h,_-w),this.list.splice(p,w,c)}if(m.length>0&&n){var T=function(e){n(e),e.children.forEach(T)};m.forEach(T)}var A=d.Iterator.map(d.Iterator.fromArray(m),o);return this._onDidSplice.fire({insertedNodes:y,deletedNodes:m}),A},e.prototype.rerender=function(e){if(0===e.length)throw new Error("Invalid tree location");var t=this.getTreeNodeWithListIndex(e),r=t.node,i=t.listIndex,o=t.revealed;o&&this.list.splice(i,1,[r])},e.prototype.getListIndex=function(e){var t=this.getTreeNodeWithListIndex(e),r=t.listIndex,i=t.visible,o=t.revealed;return i&&o?r:-1},e.prototype.getListRenderCount=function(e){return this.getTreeNode(e).renderNodeCount},e.prototype.isCollapsed=function(e){return this.getTreeNode(e).collapsed},e.prototype.setCollapsed=function(e,t,r){var i=this,o=this.getTreeNode(e);return"undefined"==typeof t&&(t=!o.collapsed),this.eventBufferer.bufferEvents(function(){return i._setCollapsed(e,t,r)})},e.prototype._setCollapsed=function(e,t,r){var i=this.getTreeNodeWithListIndex(e),o=i.node,n=i.listIndex,l=i.revealed,d=this._setListNodeCollapsed(o,n,l,t,r||!1);if(this.autoExpandSingleChildren&&!t&&!r){for(var s=-1,a=0;a<o.children.length;a++){var h=o.children[a];if(h.visible){if(s>-1){s=-1;break}s=a}}s>-1&&this._setCollapsed(e.concat([s]),!1,!1)}return d},e.prototype._setListNodeCollapsed=function(e,t,r,i,o){var n=this._setNodeCollapsed(e,i,o,!1);if(!r||!e.visible)return n;var l=e.renderNodeCount,d=this.updateNodeAfterCollapseChange(e),s=l-(-1===t?0:1);return this.list.splice(t+1,s,d.slice(1)),n},e.prototype._setNodeCollapsed=function(e,t,r,i){var o=e.collapsible&&e.collapsed!==t;if(e.collapsible&&(e.collapsed=t,o&&this._onDidChangeCollapseState.fire({node:e,deep:i})),r)for(var n=0,l=e.children;n<l.length;n++){var d=l[n];o=this._setNodeCollapsed(d,t,!0,!0)||o}return o},e.prototype.expandTo=function(e){var t=this;this.eventBufferer.bufferEvents(function(){for(var r=t.getTreeNode(e);r.parent;)r=r.parent,e=e.slice(0,e.length-1),r.collapsed&&t._setCollapsed(e,!1)})},e.prototype.refilter=function(){var e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)},e.prototype.createTreeNode=function(e,t,r,i,o,n){var l=this,s={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:"undefined"!=typeof e.collapsed,collapsed:"undefined"==typeof e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visible:!0,filterData:void 0},a=this._filterNode(s,r);i&&o.push(s);var h=d.Iterator.from(e.children),p=i&&0!==a&&!s.collapsed,u=d.Iterator.map(h,function(e){return l.createTreeNode(e,s,a,p,o,n)}),f=0,c=1;return d.Iterator.forEach(u,function(e){s.children.push(e),c+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=f++)}),s.collapsible=s.collapsible||s.children.length>0,s.visibleChildrenCount=f,s.visible=2===a?f>0:1===a,s.visible?s.collapsed||(s.renderNodeCount=c):(s.renderNodeCount=0,i&&o.pop()),n&&n(s),s},e.prototype.updateNodeAfterCollapseChange=function(e){var t=e.renderNodeCount,r=[];return this._updateNodeAfterCollapseChange(e,r),this._updateAncestorsRenderNodeCount(e.parent,r.length-t),r},e.prototype._updateNodeAfterCollapseChange=function(e,t){if(e.visible===!1)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(var r=0,i=e.children;r<i.length;r++){var o=i[r];e.renderNodeCount+=this._updateNodeAfterCollapseChange(o,t)}return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount},e.prototype.updateNodeAfterFilterChange=function(e){var t=e.renderNodeCount,r=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,r),this._updateAncestorsRenderNodeCount(e.parent,r.length-t),r},e.prototype._updateNodeAfterFilterChange=function(e,t,r,i){void 0===i&&(i=!0);var o;if(e!==this.root){if(o=this._filterNode(e,t),0===o)return e.visible=!1,!1;i&&r.push(e)}var n=r.length;e.renderNodeCount=e===this.root?0:1;var l=!1;if(e.collapsed&&0===o)e.visibleChildrenCount=0;else{for(var d=0,s=0,a=e.children;s<a.length;s++){var h=a[s];l=this._updateNodeAfterFilterChange(h,o,r,i&&!e.collapsed)||l,h.visible&&(h.visibleChildIndex=d++)}e.visibleChildrenCount=d}return e!==this.root&&(e.visible=2===o?l:1===o),e.visible?e.collapsed||(e.renderNodeCount+=r.length-n):(e.renderNodeCount=0,i&&r.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible},e.prototype._updateAncestorsRenderNodeCount=function(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent},e.prototype._filterNode=function(e,t){var o=this.filter?this.filter.filter(e.element,t):1;return"boolean"==typeof o?(e.filterData=void 0,o?1:0):r(o)?(e.filterData=o.data,i(o.visibility)):(e.filterData=void 0,i(o))},e.prototype.getTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return t;var r=e[0],i=e.slice(1);if(0>r||r>t.children.length)throw new Error("Invalid tree location");return this.getTreeNode(i,t.children[r])},e.prototype.getTreeNodeWithListIndex=function(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var t=this.getParentNodeWithListIndex(e),r=t.parentNode,i=t.listIndex,o=t.revealed,n=t.visible,l=e[e.length-1];if(0>l||l>r.children.length)throw new Error("Invalid tree location");var d=r.children[l];return{node:d,listIndex:i,revealed:o,visible:n&&d.visible}},e.prototype.getParentNodeWithListIndex=function(e,t,r,i,o){void 0===t&&(t=this.root),void 0===r&&(r=0),void 0===i&&(i=!0),void 0===o&&(o=!0);var n=e[0],l=e.slice(1);if(0>n||n>t.children.length)throw new Error("Invalid tree location");for(var d=0;n>d;d++)r+=t.children[d].renderNodeCount;return i=i&&!t.collapsed,o=o&&t.visible,0===l.length?{parentNode:t,listIndex:r,revealed:i,visible:o}:this.getParentNodeWithListIndex(l,t.children[n],r+1,i,o)},e.prototype.getNode=function(e){return void 0===e&&(e=[]),this.getTreeNode(e)},e.prototype.getNodeLocation=function(e){for(var t=[];e.parent;)t.push(e.parent.children.indexOf(e)),e=e.parent;return t.reverse()},e.prototype.getParentNodeLocation=function(e){return e.length<=1?[]:n.tail2(e)[0]},e}();t.IndexTreeModel=s});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/tree/abstractTree.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/abstractTree",function(e,t){"use strict";function i(e){if(e instanceof v.ElementsDragAndDropData){var t=e.elements;return new v.ElementsDragAndDropData(t.map(function(e){return e.element}))}return e}function o(e,t){return t&&l({},t,{identityProvider:t.identityProvider&&{getId:function(e){return t.identityProvider.getId(e.element)}},dnd:t.dnd&&new E(e,t.dnd),multipleSelectionController:t.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return t.multipleSelectionController.isSelectionSingleChangeEvent(l({},e,{element:e.element}))},isSelectionRangeChangeEvent:function(e){return t.multipleSelectionController.isSelectionRangeChangeEvent(l({},e,{element:e.element}))}},accessibilityProvider:t.accessibilityProvider&&{getAriaLabel:function(e){return t.accessibilityProvider.getAriaLabel(e.element)},getAriaLevel:function(e){return e.depth}},keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&l({},t.keyboardNavigationLabelProvider,{getKeyboardNavigationLabel:function(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:t.simpleKeyboardNavigation,ariaSetProvider:{getSetSize:function(e){return e.parent.visibleChildrenCount},getPosInSet:function(e){return e.visibleChildIndex+1}}})}function n(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function r(e){return{elements:e.elements.map(function(e){return e.element}),browserEvent:e.browserEvent}}function s(e,t){t(e),e.children.forEach(function(e){return s(e,t)})}Object.defineProperty(t,"__esModule",{value:!0});var a=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),l=this&&this.__assign||function(){return l=Object.assign||function(e){for(var t,i=1,o=arguments.length;o>i;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},l.apply(this,arguments)},d=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),p=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget"),h=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),u=e("node_modules/monaco-editor/esm/vs/base/common/event"),c=e("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent"),f=e("node_modules/monaco-editor/esm/vs/base/browser/dnd"),m=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),v=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/listView"),y=e("node_modules/monaco-editor/esm/vs/base/browser/event"),g=e("node_modules/monaco-editor/esm/vs/base/common/filters"),b=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/indexTreeModel"),D=e("node_modules/monaco-editor/esm/vs/nls"),N=e("node_modules/monaco-editor/esm/vs/base/common/async"),w=e("node_modules/monaco-editor/esm/vs/base/common/platform"),C=e("node_modules/monaco-editor/esm/vs/base/common/map"),_=e("node_modules/monaco-editor/esm/vs/base/common/numbers"),E=function(){function e(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=d.Disposable.None}return e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},e.prototype.getDragLabel=function(e){return this.dnd.getDragLabel?this.dnd.getDragLabel(e.map(function(e){return e.element})):void 0},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(i(e),t)},e.prototype.onDragOver=function(e,t,o,n,r){var s=this;void 0===r&&(r=!0);var a=this.dnd.onDragOver(i(e),t&&t.element,o,n),d=this.autoExpandNode!==t;if(d&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),"undefined"==typeof t)return a;if(d&&"boolean"!=typeof a&&a.autoExpand&&(this.autoExpandDisposable=N.disposableTimeout(function(){var e=s.modelProvider(),i=e.getNodeLocation(t);e.isCollapsed(i)&&e.setCollapsed(i,!1),s.autoExpandNode=void 0},500)),"boolean"==typeof a||!a.accept||"undefined"==typeof a.bubble){if(!r){var p="boolean"==typeof a?a:a.accept,h="boolean"==typeof a?void 0:a.effect;return{accept:p,effect:h,feedback:[o]}}return a}if(1===a.bubble){var u=t.parent,c=this.modelProvider(),f=u&&c.getListIndex(c.getNodeLocation(u));return this.onDragOver(e,u,f,n,!1)}var v=this.modelProvider(),y=v.getNodeLocation(t),g=v.getListIndex(y),b=v.getListRenderCount(y);return l({},a,{feedback:m.range(g,g+b)})},e.prototype.drop=function(e,t,o,n){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(i(e),t&&t.element,o,n)},e}(),O=function(){function e(e){this.delegate=e}return e.prototype.getHeight=function(e){return this.delegate.getHeight(e.element)},e.prototype.getTemplateId=function(e){return this.delegate.getTemplateId(e.element)},e.prototype.hasDynamicHeight=function(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)},e.prototype.setDynamicHeight=function(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)},e}();t.ComposedTreeDelegate=O;var S=function(){function e(t,i,o){void 0===o&&(o={}),this.renderer=t,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=e.DefaultIndent,this.disposables=[],this.templateId=t.templateId,this.updateOptions(o),u.Event.map(i,function(e){return e.node})(this.onDidChangeNodeTwistieState,this,this.disposables),t.onDidChangeTwistieState&&t.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}return e.prototype.updateOptions=function(e){var t=this;void 0===e&&(e={}),"undefined"!=typeof e.indent&&(this.indent=_.clamp(e.indent,0,40)),this.renderedNodes.forEach(function(e,i){e.twistie.style.marginLeft=i.depth*t.indent+"px"})},e.prototype.renderTemplate=function(e){var t=h.append(e,h.$(".monaco-tl-row")),i=h.append(t,h.$(".monaco-tl-twistie")),o=h.append(t,h.$(".monaco-tl-contents")),n=this.renderer.renderTemplate(o);return{container:e,twistie:i,templateData:n}},e.prototype.renderElement=function(t,i,o,n){n||(this.renderedNodes.set(t,o),this.renderedElements.set(t.element,t));var r=e.DefaultIndent+(t.depth-1)*this.indent;o.twistie.style.marginLeft=r+"px",this.update(t,o),this.renderer.renderElement(t,i,o.templateData,n)},e.prototype.disposeElement=function(e,t,i,o){this.renderer.disposeElement&&this.renderer.disposeElement(e,t,i.templateData,o),o||(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.onDidChangeTwistieState=function(e){var t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)},e.prototype.onDidChangeNodeTwistieState=function(e){var t=this.renderedNodes.get(e);t&&this.update(e,t)},e.prototype.update=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e.element,t.twistie),h.toggleClass(t.twistie,"collapsible",e.collapsible),h.toggleClass(t.twistie,"collapsed",e.collapsible&&e.collapsed),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")},e.prototype.dispose=function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.disposables=d.dispose(this.disposables)},e.DefaultIndent=8,e}(),T=function(){function e(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this.disposables=[],e.onWillRefilter(this.reset,this,this.disposables)}return Object.defineProperty(e.prototype,"totalCount",{get:function(){return this._totalCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchCount",{get:function(){return this._matchCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{set:function(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()},enumerable:!0,configurable:!0}),e.prototype.filter=function(e,t){if(this._filter){var i=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return i;var o=void 0;if(o="boolean"==typeof i?i?1:0:b.isFilterResult(i)?b.getVisibleState(i.visibility):i,0===o)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:g.FuzzyScore.Default,visibility:!0};var n=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),r=n&&n.toString();if("undefined"==typeof r)return{data:g.FuzzyScore.Default,visibility:!0};var s=g.fuzzyScore(this._pattern,this._lowercasePattern,0,r,r.toLowerCase(),0,!0);return s?(this._matchCount++,{data:s,visibility:!0}):this.tree.options.filterOnType?2:{data:g.FuzzyScore.Default,visibility:!0}},e.prototype.reset=function(){this._totalCount=0,this._matchCount=0},e.prototype.dispose=function(){this.disposables=d.dispose(this.disposables)},e}(),P=function(){function e(e,t,i,o,n){this.tree=e,this.view=i,this.filter=o,this.keyboardNavigationLabelProvider=n,this._enabled=!1,this._pattern="",this._onDidChangeEmptyState=new u.Emitter,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new u.Emitter,this.enabledDisposables=[],this.disposables=[],this.domNode=h.$(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,y.domEvent(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=h.append(i.getHTMLElement(),h.$(".monaco-list-type-filter-message")),this.labelDomNode=h.append(this.domNode,h.$("span.label"));var r=h.append(this.domNode,h.$(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=h.append(r,h.$("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitle(),y.domEvent(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=h.append(r,h.$("button.clear")),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=D.localize("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return this._pattern},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterOnType",{get:function(){return this._filterOnType},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){e.simpleKeyboardNavigation?this.disable():this.enable(),"undefined"!=typeof e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),"undefined"!=typeof e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")},e.prototype.enable=function(){var e=this;if(!this._enabled){var t=this.keyboardNavigationLabelProvider.mightProducePrintableCharacter?function(t){return e.keyboardNavigationLabelProvider.mightProducePrintableCharacter(t)}:function(e){return p.mightProducePrintableCharacter(e)},i=u.Event.chain(y.domEvent(this.view.getHTMLElement(),"keydown")).filter(function(t){return!n(t.target)||t.target===e.filterOnTypeDomNode}).map(function(e){return new c.StandardKeyboardEvent(e)}).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter(function(){return e.automaticKeyboardNavigation||e.triggered}).filter(function(i){return t(i)||(e.pattern.length>0||e.triggered)&&(9===i.keyCode||1===i.keyCode)&&!i.altKey&&!i.ctrlKey&&!i.metaKey||1===i.keyCode&&(w.isMacintosh?i.altKey&&!i.metaKey:i.ctrlKey)&&!i.shiftKey}).forEach(function(e){e.stopPropagation(),e.preventDefault()}).event,o=y.domEvent(this.clearDomNode,"click");u.Event.chain(u.Event.any(i,o)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables=d.dispose(this.enabledDisposables),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)},e.prototype.onEventOrInput=function(e){this.onInput("string"==typeof e?e:e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(w.isMacintosh?e.altKey:e.ctrlKey)?"":1===e.keyCode?0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1):this.pattern+e.browserEvent.key)},e.prototype.onInput=function(e){var t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,function(e){return!g.FuzzyScore.isDefault(e.filterData)});var i=this.tree.getFocus();if(i.length>0){var o=i[0];null===this.tree.getRelativeTop(o)&&this.tree.reveal(o,.5)}this.render(),e||(this.triggered=!1)},e.prototype.onDragStart=function(){var e=this,t=this.view.getHTMLElement(),i=h.getDomNodePagePosition(t).left,o=t.clientWidth,n=o/2,r=this.domNode.clientWidth,s=[],a=this.positionClassName,l=function(){switch(a){case"nw":e.domNode.style.top="4px",e.domNode.style.left="4px";break;case"ne":e.domNode.style.top="4px",e.domNode.style.left=o-r-6+"px"}},p=function(e){e.preventDefault();var t=e.screenX-i;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),a=n>t?"nw":"ne",l()},u=function(){e.positionClassName=a,e.domNode.className="monaco-list-type-filter "+e.positionClassName,e.domNode.style.top=null,e.domNode.style.left=null,d.dispose(s)};l(),h.removeClass(this.domNode,a),h.addClass(this.domNode,"dragging"),s.push(d.toDisposable(function(){return h.removeClass(e.domNode,"dragging")})),y.domEvent(document,"dragover")(p,null,s),y.domEvent(this.domNode,"dragend")(u,null,s),f.StaticDND.CurrentDragAndDropData=new f.DragAndDropData("vscode-ui"),s.push(d.toDisposable(function(){return f.StaticDND.CurrentDragAndDropData=void 0}))},e.prototype.onDidSpliceModel=function(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())},e.prototype.onDidChangeFilterOnType=function(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitle()},e.prototype.updateFilterOnTypeTitle=function(){this.filterOnTypeDomNode.title=this.filterOnType?D.localize("disable filter on type","Disable Filter on Type"):D.localize("enable filter on type","Enable Filter on Type")},e.prototype.render=function(){var e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=D.localize("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),h.toggleClass(this.domNode,"no-matches",e),this.domNode.title=D.localize("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},e.prototype.shouldAllowFocus=function(e){return this.enabled&&this.pattern&&!this.filterOnType?this.filter.totalCount>0&&this.filter.matchCount<=1?!0:!g.FuzzyScore.isDefault(e.filterData):!0},e.prototype.dispose=function(){this.disable(),this._onDidChangePattern.dispose(),this.disposables=d.dispose(this.disposables)},e}(),L=function(){function e(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new u.Emitter,this.onDidChange=this._onDidChange.event}return Object.defineProperty(e.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),e.prototype.set=function(e,t){if(!m.equals(this.nodes,e)){this.nodes=e.slice(),this.elements=void 0,this._nodeSet=void 0;var i=this;this._onDidChange.fire({get elements(){return i.get()},browserEvent:t})}},e.prototype.get=function(){return this.elements||(this.elements=this.nodes.map(function(e){return e.element})),this.elements.slice()},e.prototype.has=function(e){return this.nodeSet.has(e)},e.prototype.onDidModelSplice=function(e){var t=this,i=e.insertedNodes,o=e.deletedNodes;if(!this.identityProvider){var n=this.createNodeSet(),r=function(e){return n.delete(e)};return o.forEach(function(e){return s(e,r)}),void this.set(C.values(n))}var a=new Set,l=function(e){return a.add(t.identityProvider.getId(e.element).toString())};o.forEach(function(e){return s(e,l)});var d=new Map,p=function(e){return d.set(t.identityProvider.getId(e.element).toString(),e)};i.forEach(function(e){return s(e,p)});for(var h=[],u=0,c=this.nodes;u<c.length;u++){var f=c[u],m=this.identityProvider.getId(f.element).toString(),v=a.has(m);if(v){var y=d.get(m);y&&h.push(y)}else h.push(f)}this.set(h)},e.prototype.createNodeSet=function(){for(var e=new Set,t=0,i=this.nodes;t<i.length;t++){var o=i[t];e.add(o)}return e},e}(),k=function(e){function t(t,i){var o=e.call(this,t)||this;return o.tree=i,o}return a(t,e),t.prototype.onPointer=function(t){if(!n(t.browserEvent.target)){var i=t.element;if(!i)return e.prototype.onPointer.call(this,t);if(this.isSelectionRangeChangeEvent(t)||this.isSelectionSingleChangeEvent(t))return e.prototype.onPointer.call(this,t);var o=h.hasClass(t.browserEvent.target,"monaco-tl-twistie");if(!this.tree.openOnSingleClick&&2!==t.browserEvent.detail&&!o)return e.prototype.onPointer.call(this,t);var r=!1;if(r="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(i.element):!!this.tree.expandOnlyOnTwistieClick,r&&!o)return e.prototype.onPointer.call(this,t);var s=this.tree.model,a=s.getNodeLocation(i),l=t.browserEvent.altKey;s.setCollapsed(a,void 0,l),r&&o||e.prototype.onPointer.call(this,t)}},t}(p.MouseController),F=function(e){function t(t,i,o,n,r,s){var a=e.call(this,t,i,o,s)||this;return a.focusTrait=n,a.selectionTrait=r,a}return a(t,e),t.prototype.createMouseController=function(e){return new k(this,e.tree)},t.prototype.splice=function(t,i,o){var n=this;if(void 0===o&&(o=[]),e.prototype.splice.call(this,t,i,o),0!==o.length){var r=[],s=[];o.forEach(function(e,i){n.focusTrait.has(e)&&r.push(t+i),n.selectionTrait.has(e)&&s.push(t+i)}),r.length>0&&e.prototype.setFocus.call(this,m.distinctES6(e.prototype.getFocus.call(this).concat(r))),s.length>0&&e.prototype.setSelection.call(this,m.distinctES6(e.prototype.getSelection.call(this).concat(s)))}},t.prototype.setFocus=function(t,i,o){var n=this;void 0===o&&(o=!1),e.prototype.setFocus.call(this,t,i),o||this.focusTrait.set(t.map(function(e){return n.element(e)}),i)},t.prototype.setSelection=function(t,i,o){var n=this;void 0===o&&(o=!1),e.prototype.setSelection.call(this,t,i),o||this.selectionTrait.set(t.map(function(e){return n.element(e)}),i)},t}(p.List),x=function(){function e(e,t,i,r){var s,a=this;void 0===r&&(r={}),this._options=r,this.eventBufferer=new u.EventBufferer,this.disposables=[],this._onWillRefilter=new u.Emitter,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new u.Emitter;var d=new O(t),p=new u.Relay;this.renderers=i.map(function(e){return new S(e,p.event,r)}),(s=this.disposables).push.apply(s,this.renderers);var h;if(r.keyboardNavigationLabelProvider&&(h=new T(this,r.keyboardNavigationLabelProvider,r.filter),r=l({},r,{filter:h}),this.disposables.push(h)),this.focus=new L(r.identityProvider),this.selection=new L(r.identityProvider),this.view=new F(e,d,this.renderers,this.focus,this.selection,l({},o(function(){return a.model},r),{tree:this})),this.model=this.createModel(this.view,r),p.input=this.model.onDidChangeCollapseState,this.model.onDidSplice(function(e){a.focus.onDidModelSplice(e),a.selection.onDidModelSplice(e)},null,this.disposables),r.keyboardSupport!==!1){var f=u.Event.chain(this.view.onKeyDown).filter(function(e){return!n(e.target)}).map(function(e){return new c.StandardKeyboardEvent(e)});f.filter(function(e){return 15===e.keyCode}).on(this.onLeftArrow,this,this.disposables),f.filter(function(e){return 17===e.keyCode}).on(this.onRightArrow,this,this.disposables),f.filter(function(e){return 10===e.keyCode}).on(this.onSpace,this,this.disposables)}r.keyboardNavigationLabelProvider&&(this.typeFilterController=new P(this,this.model,this.view,h,r.keyboardNavigationLabelProvider),this.focusNavigationFilter=function(e){return a.typeFilterController.shouldAllowFocus(e)},this.disposables.push(this.typeFilterController))}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return u.Event.map(this.view.onDidOpen,r)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return"undefined"==typeof this._options.openOnSingleClick?!0:this._options.openOnSingleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandOnlyOnTwistieClick",{get:function(){return"undefined"==typeof this._options.expandOnlyOnTwistieClick?!1:this._options.expandOnlyOnTwistieClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.view.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=l({},this._options,e);for(var t=0,i=this.renderers;t<i.length;t++){var o=i[t];o.updateOptions(e)}this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options)},Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.view.scrollTop},set:function(e){this.view.scrollTop=e},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.view.domFocus()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.style=function(e){this.view.style(e)},e.prototype.getNode=function(e){return this.model.getNode(e)},e.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!0,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!1,t)},e.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},e.prototype.refilter=function(){this._onWillRefilter.fire(void 0),this.model.refilter()},e.prototype.setSelection=function(e,t){var i=this,o=e.map(function(e){return i.model.getNode(e)});this.selection.set(o,t);var n=e.map(function(e){return i.model.getListIndex(e)}).filter(function(e){return e>-1});this.view.setSelection(n,t,!0)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.setFocus=function(e,t){var i=this,o=e.map(function(e){return i.model.getNode(e)});this.focus.set(o,t);var n=e.map(function(e){return i.model.getListIndex(e)}).filter(function(e){return e>-1});this.view.setFocus(n,t,!0)},e.prototype.focusNext=function(e,t,i,o){void 0===e&&(e=1),void 0===t&&(t=!1),void 0===o&&(o=this.focusNavigationFilter),this.view.focusNext(e,t,i,o)},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.reveal=function(e,t){this.model.expandTo(e);var i=this.model.getListIndex(e);-1!==i&&this.view.reveal(i,t)},e.prototype.getRelativeTop=function(e){var t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)},e.prototype.onLeftArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var i=t[0],o=this.model.getNodeLocation(i),n=this.model.setCollapsed(o,!0);if(!n){var r=this.model.getParentNodeLocation(o);if(null===r)return;var s=this.model.getListIndex(r);this.view.reveal(s),this.view.setFocus([s])}}},e.prototype.onRightArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var i=t[0],o=this.model.getNodeLocation(i),n=this.model.setCollapsed(o,!1);if(!n){if(!i.children.some(function(e){return e.visible}))return;var r=this.view.getFocus()[0],s=r+1;this.view.reveal(s),this.view.setFocus([s])}}},e.prototype.onSpace=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var i=t[0],o=this.model.getNodeLocation(i),n=e.browserEvent.altKey;this.model.setCollapsed(o,void 0,n)}},e.prototype.dispose=function(){this.disposables=d.dispose(this.disposables),this.view.dispose()},e}();t.AbstractTree=x});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/tree/objectTreeModel.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/objectTreeModel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,o=1,n=arguments.length;n>o;o++){t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(this,arguments)},n=e("node_modules/monaco-editor/esm/vs/base/common/iterator"),r=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/indexTreeModel"),i=function(){function e(e,t){void 0===t&&(t={}),this.nodes=new Map,this.model=new r.IndexTreeModel(e,null,t),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,t.sorter&&(this.sorter={compare:function(e,o){return t.sorter.compare(e.element,o.element)}})}return e.prototype.setChildren=function(e,t,o,n){var r=this.getElementLocation(e);return this._setChildren(r,this.preserveCollapseState(t),o,n)},e.prototype._setChildren=function(e,t,o,n){var r=this,i=new Set,s=function(e){i.add(e.element),r.nodes.set(e.element,e),o&&o(e)},l=function(e){i.has(e.element)||r.nodes.delete(e.element),n&&n(e)};return this.model.splice(e.concat([0]),Number.MAX_VALUE,t,s,l)},e.prototype.preserveCollapseState=function(e){var t=this,r=e?n.getSequenceIterator(e):n.Iterator.empty();return this.sorter&&(r=n.Iterator.fromArray(n.Iterator.collect(r).sort(this.sorter.compare.bind(this.sorter)))),n.Iterator.map(r,function(e){var n=t.nodes.get(e.element);if(!n)return o({},e,{children:t.preserveCollapseState(e.children)});var r="boolean"==typeof e.collapsible?e.collapsible:n.collapsible,i="undefined"!=typeof e.collapsed?e.collapsed:n.collapsed;return o({},e,{collapsible:r,collapsed:i,children:t.preserveCollapseState(e.children)})})},e.prototype.rerender=function(e){var t=this.getElementLocation(e);this.model.rerender(t)},e.prototype.getListIndex=function(e){var t=this.getElementLocation(e);return this.model.getListIndex(t)},e.prototype.getListRenderCount=function(e){var t=this.getElementLocation(e);return this.model.getListRenderCount(t)},e.prototype.isCollapsed=function(e){var t=this.getElementLocation(e);return this.model.isCollapsed(t)},e.prototype.setCollapsed=function(e,t,o){var n=this.getElementLocation(e);return this.model.setCollapsed(n,t,o)},e.prototype.expandTo=function(e){var t=this.getElementLocation(e);this.model.expandTo(t)},e.prototype.refilter=function(){this.model.refilter()},e.prototype.getNode=function(e){if(void 0===e&&(e=null),null===e)return this.model.getNode(this.model.rootRef);var t=this.nodes.get(e);if(!t)throw new Error("Tree element not found: "+e);return t},e.prototype.getNodeLocation=function(e){return e.element},e.prototype.getParentNodeLocation=function(e){var t=this.nodes.get(e);if(!t)throw new Error("Tree element not found: "+e);return t.parent.element},e.prototype.getElementLocation=function(e){if(null===e)return[];var t=this.nodes.get(e);if(!t)throw new Error("Tree element not found: "+e);return this.model.getNodeLocation(t)},e}();t.ObjectTreeModel=i});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/tree/objectTree.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/objectTree",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),o=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/abstractTree"),n=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/objectTreeModel"),i=function(e){function t(t,r,o,n){return void 0===n&&(n={}),e.call(this,t,r,o,n)||this}return r(t,e),t.prototype.setChildren=function(e,t,r,o){return this.model.setChildren(e,t,r,o)},t.prototype.rerender=function(e){return void 0===e?void this.view.rerender():void this.model.rerender(e)},t.prototype.createModel=function(e,t){return new n.ObjectTreeModel(e,t)},t}(o.AbstractTree);t.ObjectTree=i});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/tree/asyncDataTree.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/asyncDataTree",function(e,t){"use strict";function n(e){return d({},e,{children:[],loading:!1,stale:!0,slow:!1})}function r(e,t){return t.parent?t.parent===e?!0:r(e,t.parent):!1}function o(e,t){return e===t||r(e,t)||r(t,e)}function i(e){return{browserEvent:e.browserEvent,elements:e.elements.map(function(e){return e.element})}}function s(e){if(e instanceof y.ElementsDragAndDropData){var t=e.elements;return new y.ElementsDragAndDropData(t.map(function(e){return e.element}))}return e}function a(e){return e&&d({},e,{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:function(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new O(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:function(t){return e.multipleSelectionController.isSelectionSingleChangeEvent(d({},t,{element:t.element}))},isSelectionRangeChangeEvent:function(t){return e.multipleSelectionController.isSelectionRangeChangeEvent(d({},t,{element:t.element}))}},accessibilityProvider:e.accessibilityProvider&&{getAriaLabel:function(t){return e.accessibilityProvider.getAriaLabel(t.element)}},filter:e.filter&&{filter:function(t,n){return e.filter.filter(t.element,n)}},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}},sorter:void 0,expandOnlyOnTwistieClick:"undefined"==typeof e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:function(t){return e.expandOnlyOnTwistieClick(t.element)},ariaSetProvider:void 0})}function l(e,t){var n;return t&&t.viewState.expanded&&e.id&&(n=-1===t.viewState.expanded.indexOf(e.id)),{element:e,children:e.hasChildren?g.Iterator.map(g.Iterator.fromArray(e.children),function(e){return l(e,t)}):[],collapsible:e.hasChildren,collapsed:n}}function u(e,t){t(e),e.children.forEach(function(e){return u(e,t)})}Object.defineProperty(t,"__esModule",{value:!0});var d=this&&this.__assign||function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;r>n;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},d.apply(this,arguments)},c=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r["throw"](e))}catch(t){i(t)}}function l(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(s,a)}l((r=r.apply(e,t||[])).next())})},h=this&&this.__generator||function(e,t){function n(e){return function(t){return r([e,t])}}function r(n){if(o)throw new TypeError("Generator is already executing.");for(;l;)try{if(o=1,i&&(s=2&n[0]?i["return"]:n[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,n[1])).done)return s;switch(i=0,s&&(n=[2&n[0],s.value]),n[0]){case 0:case 1:s=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,i=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(s=l.trys,!(s=s.length>0&&s[s.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!s||n[1]>s[0]&&n[1]<s[3])){l.label=n[1];break}if(6===n[0]&&l.label<s[1]){l.label=s[1],s=n;break}if(s&&l.label<s[2]){l.label=s[2],l.ops.push(n);break}s[2]&&l.ops.pop(),l.trys.pop();continue}n=t.call(e,l)}catch(r){n=[6,r],i=0}finally{o=s=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var o,i,s,a,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:n(0),"throw":n(1),"return":n(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},p=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/abstractTree"),f=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/objectTree"),m=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),b=e("node_modules/monaco-editor/esm/vs/base/common/event"),v=e("node_modules/monaco-editor/esm/vs/base/common/async"),g=e("node_modules/monaco-editor/esm/vs/base/common/iterator"),y=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/listView"),w=e("node_modules/monaco-editor/esm/vs/base/common/errors"),C=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),D=e("node_modules/monaco-editor/esm/vs/base/common/map"),S=function(){function e(e){this.node=e}return Object.defineProperty(e.prototype,"element",{get:function(){return this.node.element.element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this.node.parent&&new e(this.node.parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.node.children.map(function(t){return new e(t)})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}(),P=function(){function e(e,t){this.renderer=e,this.onDidChangeTwistieState=t,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}return e.prototype.renderTemplate=function(e){var t=this.renderer.renderTemplate(e);return{templateData:t}},e.prototype.renderElement=function(e,t,n,r){this.renderer.renderElement(new S(e),t,n.templateData,r)},e.prototype.renderTwistie=function(e,t){return C.toggleClass(t,"loading",e.slow),!1},e.prototype.disposeElement=function(e,t,n,r){this.renderer.disposeElement&&this.renderer.disposeElement(new S(e),t,n.templateData,r)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.dispose=function(){this.renderedNodes.clear(),this.disposables=m.dispose(this.disposables)},e}();!function(e){e[e.Refresh=0]="Refresh",e[e.Expand=1]="Expand"}(t.ChildrenResolutionReason||(t.ChildrenResolutionReason={}));var O=function(){function e(e){this.dnd=e}return e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},e.prototype.getDragLabel=function(e){return this.dnd.getDragLabel?this.dnd.getDragLabel(e.map(function(e){return e.element})):void 0},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(s(e),t)},e.prototype.onDragOver=function(e,t,n,r,o){return void 0===o&&(o=!0),this.dnd.onDragOver(s(e),t&&t.element,n,r)},e.prototype.drop=function(e,t,n,r){this.dnd.drop(s(e),t&&t.element,n,r)},e}(),E=function(){function e(e,t,r,o,i){var s=this;void 0===i&&(i={}),this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new b.Emitter,this._onDidChangeNodeSlowState=new b.Emitter,this.disposables=[],this.identityProvider=i.identityProvider,this.autoExpandSingleChildren="undefined"==typeof i.autoExpandSingleChildren?!1:i.autoExpandSingleChildren,this.sorter=i.sorter;var l=new p.ComposedTreeDelegate(t),u=r.map(function(e){return new P(e,s._onDidChangeNodeSlowState.event)}),c=a(i)||{};this.tree=new f.ObjectTree(e,l,u,c),this.root=n({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=d({},this.root,{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return b.Event.map(this.tree.onDidChangeFocus,i)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return b.Event.map(this.tree.onDidChangeSelection,i)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return b.Event.map(this.tree.onDidOpen,i)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.tree.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.tree.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},e.prototype.getHTMLElement=function(){return this.tree.getHTMLElement()},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.tree.scrollTop},set:function(e){this.tree.scrollTop=e},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.tree.domFocus()},e.prototype.layout=function(e,t){this.tree.layout(e,t)},e.prototype.style=function(e){this.tree.style(e)},e.prototype.getInput=function(){return this.root.element},e.prototype.setInput=function(e,t){return c(this,void 0,void 0,function(){var n;return h(this,function(r){switch(r.label){case 0:return this.refreshPromises.forEach(function(e){return e.cancel()}),this.refreshPromises.clear(),this.root.element=e,n=t&&{viewState:t,focus:[],selection:[]},[4,this.updateChildren(e,!0,n)];case 1:return r.sent(),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop),[2]}})})},e.prototype.updateChildren=function(e,n,r){return void 0===e&&(e=this.root.element),void 0===n&&(n=!0),c(this,void 0,void 0,function(){return h(this,function(o){switch(o.label){case 0:if("undefined"==typeof this.root.element)throw new Error("Tree input not set");return this.root.loading?[4,this.subTreeRefreshPromises.get(this.root)]:[3,3];case 1:return o.sent(),[4,b.Event.toPromise(this._onDidRender.event)];case 2:o.sent(),o.label=3;case 3:return[4,this.refreshAndRenderNode(this.getDataNode(e),n,t.ChildrenResolutionReason.Refresh,r)];case 4:return o.sent(),[2]}})})},e.prototype.rerender=function(e){if(void 0===e)return void this.tree.rerender();var t=this.getDataNode(e);this.tree.rerender(t)},e.prototype.collapse=function(e,t){void 0===t&&(t=!1);var n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),c(this,void 0,void 0,function(){var n,r;return h(this,function(o){switch(o.label){case 0:if("undefined"==typeof this.root.element)throw new Error("Tree input not set");return this.root.loading?[4,this.subTreeRefreshPromises.get(this.root)]:[3,3];case 1:return o.sent(),[4,b.Event.toPromise(this._onDidRender.event)];case 2:o.sent(),o.label=3;case 3:return n=this.getDataNode(e),n===this.root||n.loading||this.tree.isCollapsed(n)?(r=this.tree.expand(n===this.root?null:n,t),n.loading?[4,this.subTreeRefreshPromises.get(n)]:[3,6]):[2,!1];case 4:return o.sent(),[4,b.Event.toPromise(this._onDidRender.event)];case 5:o.sent(),o.label=6;case 6:return[2,r]}})})},e.prototype.setSelection=function(e,t){var n=this,r=e.map(function(e){return n.getDataNode(e)});this.tree.setSelection(r,t)},e.prototype.getSelection=function(){var e=this.tree.getSelection();return e.map(function(e){return e.element})},e.prototype.setFocus=function(e,t){var n=this,r=e.map(function(e){return n.getDataNode(e)});this.tree.setFocus(r,t)},e.prototype.getFocus=function(){var e=this.tree.getFocus();return e.map(function(e){return e.element})},e.prototype.reveal=function(e,t){this.tree.reveal(this.getDataNode(e),t)},e.prototype.getDataNode=function(e){var t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new Error("Data tree node not found: "+e);return t},e.prototype.refreshAndRenderNode=function(e,n,r,o){return c(this,void 0,void 0,function(){var i,s;return h(this,function(a){switch(a.label){case 0:return[4,this.refreshNode(e,n,o)];case 1:return a.sent(),this.render(e,o),e!==this.root&&this.autoExpandSingleChildren&&r===t.ChildrenResolutionReason.Expand?(i=this.tree.getNode(e),s=i.children.filter(function(e){return e.visible}),1!==s.length?[3,3]:[4,this.tree.expand(s[0].element,!1)]):[3,3];case 2:a.sent(),a.label=3;case 3:return[2]}})})},e.prototype.refreshNode=function(e,t,n){return c(this,void 0,void 0,function(){var r,i=this;return h(this,function(s){switch(s.label){case 0:if(this.subTreeRefreshPromises.forEach(function(s,a){!r&&o(a,e)&&(r=s.then(function(){return i.refreshNode(e,t,n)}))}),r)return[2,r];r=this.doRefreshSubTree(e,t,n),this.subTreeRefreshPromises.set(e,r),s.label=1;case 1:return s.trys.push([1,,3,4]),[4,r];case 2:return s.sent(),[3,4];case 3:return this.subTreeRefreshPromises.delete(e),[7];case 4:return[2]}})})},e.prototype.doRefreshSubTree=function(e,t,n){return c(this,void 0,void 0,function(){var r,o=this;return h(this,function(i){switch(i.label){case 0:e.loading=!0,i.label=1;case 1:return i.trys.push([1,,4,5]),[4,this.doRefreshNode(e,t,n)];case 2:return r=i.sent(),e.stale=!1,[4,Promise.all(r.map(function(e){return o.doRefreshSubTree(e,t,n)}))];case 3:return i.sent(),[3,5];case 4:return e.loading=!1,[7];case 5:return[2]}})})},e.prototype.doRefreshNode=function(e,t,n){return c(this,void 0,void 0,function(){var r,o,i,s,a=this;return h(this,function(l){switch(l.label){case 0:e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren?(o=v.timeout(800),o.then(function(){e.slow=!0,a._onDidChangeNodeSlowState.fire(e)},function(){return null}),r=this.doGetChildren(e).finally(function(){return o.cancel()})):r=Promise.resolve([]),l.label=1;case 1:return l.trys.push([1,3,4,5]),[4,r];case 2:return i=l.sent(),[2,this.setChildren(e,i,t,n)];case 3:if(s=l.sent(),e!==this.root&&this.tree.collapse(e===this.root?null:e),w.isPromiseCanceledError(s))return[2,[]];throw s;case 4:return e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e)),[7];case 5:return[2]}})})},e.prototype.doGetChildren=function(e){var t=this,n=this.refreshPromises.get(e);return n?n:(n=v.createCancelablePromise(function(){return c(t,void 0,void 0,function(){var t;return h(this,function(n){switch(n.label){case 0:return[4,this.dataSource.getChildren(e.element)];case 1:return t=n.sent(),this.sorter&&t.sort(this.sorter.compare.bind(this.sorter)),[2,t]}})})}),this.refreshPromises.set(e,n),n.finally(function(){return t.refreshPromises.delete(e)}))},e.prototype._onDidChangeCollapseState=function(e){var n=e.node,r=e.deep;!n.collapsed&&n.element.stale&&(r?this.collapse(n.element.element):this.refreshAndRenderNode(n.element,!1,t.ChildrenResolutionReason.Expand).catch(w.onUnexpectedError))},e.prototype.setChildren=function(e,t,r,o){var i,s=this;if(0===e.children.length&&0===t.length)return[];for(var a=new Map,l=new Map,d=0,c=e.children;d<c.length;d++){var h=c[d];a.set(h.element,h),this.identityProvider&&l.set(h.id,this.tree.getNode(h))}for(var p=[],f=t.map(function(t){if(!s.identityProvider)return n({element:t,parent:e,hasChildren:!!s.dataSource.hasChildren(t)});var i=s.identityProvider.getId(t).toString(),d=l.get(i);if(d){var c=d.element;return a.delete(c.element),s.nodes.delete(c.element),s.nodes.set(t,c),c.element=t,c.hasChildren=!!s.dataSource.hasChildren(t),r&&(d.collapsed?u(c,function(e){return e.stale=!0}):p.push(c)),c}var h=n({element:t,parent:e,id:i,hasChildren:!!s.dataSource.hasChildren(t)});return o&&o.viewState.focus&&o.viewState.focus.indexOf(i)>-1&&o.focus.push(h),o&&o.viewState.selection&&o.viewState.selection.indexOf(i)>-1&&o.selection.push(h),o&&o.viewState.expanded&&o.viewState.expanded.indexOf(i)>-1&&p.push(h),h}),m=0,b=D.values(a);m<b.length;m++){var v=b[m];u(v,function(e){return s.nodes.delete(e.element)})}for(var g=0,y=f;g<y.length;g++){var h=y[g];this.nodes.set(h.element,h)}return(i=e.children).splice.apply(i,[0,e.children.length].concat(f)),p},e.prototype.render=function(e,t){var n=e.children.map(function(e){return l(e,t)});this.tree.setChildren(e===this.root?null:e,n),this._onDidRender.fire()},e.prototype.dispose=function(){m.dispose(this.disposables)},e}();t.AsyncDataTree=E});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/tree/dataTree.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/dataTree",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),o=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/abstractTree"),n=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/objectTreeModel"),i=function(e){function t(t,r,o,n,i){void 0===i&&(i={});var s=e.call(this,t,r,o,i)||this;return s.dataSource=n,s.identityProvider=i.identityProvider,s}return r(t,e),t.prototype.createModel=function(e,t){return new n.ObjectTreeModel(e,t)},t}(o.AbstractTree);t.DataTree=i});
;/*!node_modules/monaco-editor/esm/vs/platform/list/browser/listService.js*/
define("node_modules/monaco-editor/esm/vs/platform/list/browser/listService",function(e,t){"use strict";function i(e,t){var i=e.createScoped(t.getHTMLElement());return D.bindTo(i),i}function o(e){return v.getMigratedSettingValue(e,t.horizontalScrollingKey,"workbench.tree.horizontalScrolling")}function n(e){return"alt"===e.getValue(t.multiSelectModifierSettingKey)}function r(e){return"doubleClick"!==e.getValue(t.openModeSettingKey)}function a(e,t,i){var o=[],n=g({},e);if(e.multipleSelectionSupport!==!1&&!e.multipleSelectionController){var r=new T(t);n.multipleSelectionController=r,o.push(r)}var a=new I(t,e.openController);if(n.openController=a,o.push(a),e.keyboardNavigationLabelProvider){var s=e.keyboardNavigationLabelProvider;n.keyboardNavigationLabelProvider={getKeyboardNavigationLabel:function(e){return s.getKeyboardNavigationLabel(e)},mightProducePrintableCharacter:function(e){return i.mightProducePrintableCharacter(e)}}}return[n,b.combinedDisposable(o)]}function s(){return W||(W=m.createStyleSheet()),W}function l(e,t){var i=!1;return function(o){if(i)return i=!1,!1;var n=t.softDispatch(o,e);return n&&n.enterChord?(i=!0,!1):(i=!1,!0)}}function c(e,i,n,c,u,d,h){t.WorkbenchListSupportsKeyboardNavigation.bindTo(n),t.didBindWorkbenchListAutomaticKeyboardNavigation||(t.WorkbenchListAutomaticKeyboardNavigation.bindTo(n),t.didBindWorkbenchListAutomaticKeyboardNavigation=!0);var p=function(){var e=n.getContextKeyValue(t.WorkbenchListAutomaticKeyboardNavigationKey);return e&&(e=u.getValue(t.automaticKeyboardNavigationSettingKey)),e},m=2===h.getAccessibilitySupport(),b=m?"simple":u.getValue(t.keyboardNavigationSettingKey),y="undefined"!=typeof i.horizontalScrolling?i.horizontalScrolling:o(u),v=r(u),S=a(i,u,d),K=S[0],C=S[1];return{getAutomaticKeyboardNavigation:p,disposable:C,options:g({keyboardSupport:!1,styleController:new f.DefaultStyleController(s())},x.computeStyles(c.getTheme(),x.defaultListStyles),K,{indent:u.getValue(z),automaticKeyboardNavigation:p(),simpleKeyboardNavigation:"simple"===b,filterOnType:"filter"===b,horizontalScrolling:y,openOnSingleClick:v,keyboardNavigationEventFilter:l(e,d)})}}Object.defineProperty(t,"__esModule",{value:!0});var u,d=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),g=this&&this.__assign||function(){return g=Object.assign||function(e){for(var t,i=1,o=arguments.length;o>i;i++){t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},g.apply(this,arguments)},h=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,a=3>r?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(3>r?n(a):r>3?n(t,i,a):n(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a},p=this&&this.__param||function(e,t){return function(i,o){t(i,o,e)}},m=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),f=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget"),b=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),y=e("node_modules/monaco-editor/esm/vs/nls"),v=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),S=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry"),K=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),C=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),k=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),w=e("node_modules/monaco-editor/esm/vs/platform/registry/common/platform"),x=e("node_modules/monaco-editor/esm/vs/platform/theme/common/styler"),O=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),N=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/objectTree"),_=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/asyncDataTree"),M=e("node_modules/monaco-editor/esm/vs/base/browser/ui/tree/dataTree"),L=e("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility");t.IListService=C.createDecorator("listService");var A=function(){function e(){this.lists=[],this._lastFocusedWidget=void 0}return Object.defineProperty(e.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var i=this;if(this.lists.some(function(t){return t.widget===e}))throw new Error("Cannot register the same widget multiple times");var o={widget:e,extraContextKeys:t};this.lists.push(o),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e);var n=b.combinedDisposable([e.onDidFocus(function(){return i._lastFocusedWidget=e}),b.toDisposable(function(){return i.lists.splice(i.lists.indexOf(o),1)}),e.onDidDispose(function(){i.lists=i.lists.filter(function(e){return e!==o}),i._lastFocusedWidget===e&&(i._lastFocusedWidget=void 0)})]);return n},e=h([p(0,K.IContextKeyService)],e)}();t.ListService=A;var D=new K.RawContextKey("listFocus",!0);t.WorkbenchListSupportsMultiSelectContextKey=new K.RawContextKey("listSupportsMultiselect",!0),t.WorkbenchListHasSelectionOrFocus=new K.RawContextKey("listHasSelectionOrFocus",!1),t.WorkbenchListDoubleSelection=new K.RawContextKey("listDoubleSelection",!1),t.WorkbenchListMultiSelection=new K.RawContextKey("listMultiSelection",!1),t.WorkbenchListSupportsKeyboardNavigation=new K.RawContextKey("listSupportsKeyboardNavigation",!0),t.WorkbenchListAutomaticKeyboardNavigationKey="listAutomaticKeyboardNavigation",t.WorkbenchListAutomaticKeyboardNavigation=new K.RawContextKey(t.WorkbenchListAutomaticKeyboardNavigationKey,!0),t.didBindWorkbenchListAutomaticKeyboardNavigation=!1,t.multiSelectModifierSettingKey="workbench.list.multiSelectModifier",t.openModeSettingKey="workbench.list.openMode",t.horizontalScrollingKey="workbench.list.horizontalScrolling",t.keyboardNavigationSettingKey="workbench.list.keyboardNavigation",t.automaticKeyboardNavigationSettingKey="workbench.list.automaticKeyboardNavigation";var W,z="workbench.tree.indent",T=function(e){function i(t){var i=e.call(this)||this;return i.configurationService=t,i.useAltAsMultipleSelectionModifier=n(t),i.registerListeners(),i}return d(i,e),i.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration(function(i){i.affectsConfiguration(t.multiSelectModifierSettingKey)&&(e.useAltAsMultipleSelectionModifier=n(e.configurationService))}))},i.prototype.isSelectionSingleChangeEvent=function(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:f.isSelectionSingleChangeEvent(e)},i.prototype.isSelectionRangeChangeEvent=function(e){return f.isSelectionRangeChangeEvent(e)},i}(b.Disposable),I=function(e){function i(t,i){var o=e.call(this)||this;return o.configurationService=t,o.existingOpenController=i,o.openOnSingleClick=r(t),o.registerListeners(),o}return d(i,e),i.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration(function(i){i.affectsConfiguration(t.openModeSettingKey)&&(e.openOnSingleClick=r(e.configurationService))}))},i.prototype.shouldOpen=function(e){if(e instanceof MouseEvent){var t=0===e.button,i=2===e.detail;return(!t||this.openOnSingleClick||i)&&(t||1===e.button)?this.existingOpenController?this.existingOpenController.shouldOpen(e):!0:!1}return this.existingOpenController?this.existingOpenController.shouldOpen(e):!0},i}(b.Disposable),F=function(e){function i(t,i,o,n,r,a,s,l,u,d){var g=this,h=c(t,n,r,s,l,u,d),p=h.options,m=h.getAutomaticKeyboardNavigation,f=h.disposable;return g=e.call(this,t,i,o,p)||this,g.disposables.push(f),g.internals=new R(g,p,m,r,a,s,l,d),g.disposables.push(g.internals),g}return d(i,e),i=h([p(4,K.IContextKeyService),p(5,t.IListService),p(6,O.IThemeService),p(7,v.IConfigurationService),p(8,k.IKeybindingService),p(9,L.IAccessibilityService)],i)}(N.ObjectTree);t.WorkbenchObjectTree=F;var P=function(e){function i(t,i,o,n,r,a,s,l,u,d,g){var h=this,p=c(t,r,a,l,u,d,g),m=p.options,f=p.getAutomaticKeyboardNavigation,b=p.disposable;return h=e.call(this,t,i,o,n,m)||this,h.disposables.push(b),h.internals=new R(h,m,f,a,s,l,u,g),h.disposables.push(h.internals),h}return d(i,e),i=h([p(5,K.IContextKeyService),p(6,t.IListService),p(7,O.IThemeService),p(8,v.IConfigurationService),p(9,k.IKeybindingService),p(10,L.IAccessibilityService)],i)}(M.DataTree);t.WorkbenchDataTree=P;var j=function(e){function i(t,i,o,n,r,a,s,l,u,d,g){var h=this,p=c(t,r,a,l,u,d,g),m=p.options,f=p.getAutomaticKeyboardNavigation,b=p.disposable;return h=e.call(this,t,i,o,n,m)||this,h.disposables.push(b),h.internals=new R(h,m,f,a,s,l,u,g),h.disposables.push(h.internals),h}return d(i,e),Object.defineProperty(i.prototype,"contextKeyService",{get:function(){return this.internals.contextKeyService},enumerable:!0,configurable:!0}),i=h([p(5,K.IContextKeyService),p(6,t.IListService),p(7,O.IThemeService),p(8,v.IConfigurationService),p(9,k.IKeybindingService),p(10,L.IAccessibilityService)],i)}(_.AsyncDataTree);t.WorkbenchAsyncDataTree=j;var R=function(){function e(e,o,a,s,l,c,u,d){var g=this;this.disposables=[],this.contextKeyService=i(s,e);var h=t.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService);h.set(!(o.multipleSelectionSupport===!1)),this.hasSelectionOrFocus=t.WorkbenchListHasSelectionOrFocus.bindTo(this.contextKeyService),this.hasDoubleSelection=t.WorkbenchListDoubleSelection.bindTo(this.contextKeyService),this.hasMultiSelection=t.WorkbenchListMultiSelection.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=n(u);var p=new Set;p.add(t.WorkbenchListAutomaticKeyboardNavigationKey);var m=function(){var i=2===d.getAccessibilitySupport(),o=i?"simple":u.getValue(t.keyboardNavigationSettingKey);e.updateOptions({simpleKeyboardNavigation:"simple"===o,filterOnType:"filter"===o})};this.disposables.push(this.contextKeyService,l.register(e),x.attachListStyler(e,c),e.onDidChangeSelection(function(){var t=e.getSelection(),i=e.getFocus();g.hasSelectionOrFocus.set(t.length>0||i.length>0),g.hasMultiSelection.set(t.length>1),g.hasDoubleSelection.set(2===t.length)}),e.onDidChangeFocus(function(){var t=e.getSelection(),i=e.getFocus();g.hasSelectionOrFocus.set(t.length>0||i.length>0)}),u.onDidChangeConfiguration(function(i){if(i.affectsConfiguration(t.openModeSettingKey)&&e.updateOptions({openOnSingleClick:r(u)}),i.affectsConfiguration(t.multiSelectModifierSettingKey)&&(g._useAltAsMultipleSelectionModifier=n(u)),i.affectsConfiguration(z)){var o=u.getValue(z);e.updateOptions({indent:o})}i.affectsConfiguration(t.keyboardNavigationSettingKey)&&m(),i.affectsConfiguration(t.automaticKeyboardNavigationSettingKey)&&e.updateOptions({automaticKeyboardNavigation:a()})}),this.contextKeyService.onDidChangeContext(function(t){t.affectsSome(p)&&e.updateOptions({automaticKeyboardNavigation:a()})}),d.onDidChangeAccessibilitySupport(function(){return m()}))}return e.prototype.dispose=function(){this.disposables=b.dispose(this.disposables)},e=h([p(3,K.IContextKeyService),p(4,t.IListService),p(5,O.IThemeService),p(6,v.IConfigurationService),p(7,L.IAccessibilityService)],e)}(),E=w.Registry.as(S.Extensions.Configuration);E.registerConfiguration({id:"workbench",order:7,title:y.localize("workbenchConfigurationTitle","Workbench"),type:"object",properties:(u={},u[t.multiSelectModifierSettingKey]={type:"string","enum":["ctrlCmd","alt"],enumDescriptions:[y.localize("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),y.localize("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],"default":"ctrlCmd",description:y.localize({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},u[t.openModeSettingKey]={type:"string","enum":["singleClick","doubleClick"],"default":"singleClick",description:y.localize({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},u[t.horizontalScrollingKey]={type:"boolean","default":!1,description:y.localize("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},u["workbench.tree.horizontalScrolling"]={type:"boolean","default":!1,description:y.localize("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:y.localize("deprecated","This setting is deprecated, please use '{0}' instead.",t.horizontalScrollingKey)},u[z]={type:"number","default":8,minimum:0,maximum:40,description:y.localize("tree indent setting","Controls tree indentation in pixels.")},u[t.keyboardNavigationSettingKey]={type:"string","enum":["simple","highlight","filter"],enumDescriptions:[y.localize("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),y.localize("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),y.localize("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],"default":"highlight",description:y.localize("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},u[t.automaticKeyboardNavigationSettingKey]={type:"boolean","default":!0,markdownDescription:y.localize("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},u)})});
;/*!node_modules/monaco-editor/esm/vs/platform/markers/common/markers.js*/
define("node_modules/monaco-editor/esm/vs/platform/markers/common/markers",function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),o=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),t=e("node_modules/monaco-editor/esm/vs/nls"),i=n.__importDefault(e("node_modules/monaco-editor/esm/vs/base/common/severity"));!function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(r.MarkerSeverity||(r.MarkerSeverity={})),function(e){function r(e,r){return r-e}function n(e){return a[e]||""}function o(r){switch(r){case i.default.Error:return e.Error;case i.default.Warning:return e.Warning;case i.default.Info:return e.Info;case i.default.Ignore:return e.Hint}}e.compare=r;var a=Object.create(null);a[e.Error]=t.localize("sev.error","Error"),a[e.Warning]=t.localize("sev.warning","Warning"),a[e.Info]=t.localize("sev.info","Info"),e.toString=n,e.fromSeverity=o}(r.MarkerSeverity||(r.MarkerSeverity={})),function(e){function n(e){var n=[o];return n.push(e.source?e.source.replace("¦","¦"):o),n.push(e.code?e.code.replace("¦","¦"):o),n.push(void 0!==e.severity&&null!==e.severity?r.MarkerSeverity.toString(e.severity):o),n.push(e.message?e.message.replace("¦","¦"):o),n.push(void 0!==e.startLineNumber&&null!==e.startLineNumber?e.startLineNumber.toString():o),n.push(void 0!==e.startColumn&&null!==e.startColumn?e.startColumn.toString():o),n.push(void 0!==e.endLineNumber&&null!==e.endLineNumber?e.endLineNumber.toString():o),n.push(void 0!==e.endColumn&&null!==e.endColumn?e.endColumn.toString():o),n.push(o),n.join("¦")}var o="";e.makeKey=n}(r.IMarkerData||(r.IMarkerData={})),r.IMarkerService=o.createDecorator("markerService")});
;/*!node_modules/monaco-editor/esm/vs/platform/markers/common/markerService.js*/
define("node_modules/monaco-editor/esm/vs/platform/markers/common/markerService",function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t,n=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),o=e("node_modules/monaco-editor/esm/vs/base/common/network"),s=e("node_modules/monaco-editor/esm/vs/base/common/types"),i=e("node_modules/monaco-editor/esm/vs/base/common/event"),a=e("node_modules/monaco-editor/esm/vs/platform/markers/common/markers");!function(e){function r(e,r,t){return e[r]?e[r][t]:void 0}function t(e,r,t,n){e[r]||(e[r]=Object.create(null)),e[r][t]=n}function n(e,r,t){return e[r]&&e[r][t]?(delete e[r][t],s.isEmptyObject(e[r])&&delete e[r],!0):!1}e.get=r,e.set=t,e.remove=n}(t||(t={}));var u=function(){function e(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}return e.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},e.prototype._update=function(e){if(this._data)for(var r=0,t=e;r<t.length;r++){var n=t[r],o=n.toString(),s=this._data[o];s&&this._substract(s);var i=this._resourceStats(n);this._add(i),this._data[o]=i}},e.prototype._resourceStats=function(e){var r={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===o.Schemas.inMemory||e.scheme===o.Schemas.walkThrough||e.scheme===o.Schemas.walkThroughSnippet)return r;for(var t=0,n=this._service.read({resource:e});t<n.length;t++){var s=n[t].severity;s===a.MarkerSeverity.Error?r.errors+=1:s===a.MarkerSeverity.Warning?r.warnings+=1:s===a.MarkerSeverity.Info?r.infos+=1:r.unknowns+=1}return r},e.prototype._substract=function(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns},e.prototype._add=function(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns},e}(),c=function(){function e(){this._onMarkerChanged=new i.Emitter,this._onMarkerChangedEvent=i.Event.debounce(this._onMarkerChanged.event,e._debouncer,0),this._byResource=Object.create(null),this._byOwner=Object.create(null),this._stats=new u(this)}return e.prototype.dispose=function(){this._stats.dispose()},Object.defineProperty(e.prototype,"onMarkerChanged",{get:function(){return this._onMarkerChangedEvent},enumerable:!0,configurable:!0}),e.prototype.remove=function(e,r){for(var t=0,n=r||[];t<n.length;t++){var o=n[t];this.changeOne(e,o,[])}},e.prototype.changeOne=function(r,o,s){if(n.isFalsyOrEmpty(s)){var i=t.remove(this._byResource,o.toString(),r),a=t.remove(this._byOwner,r,o.toString());if(i!==a)throw new Error("invalid marker service state");i&&a&&this._onMarkerChanged.fire([o])}else{for(var u=[],c=0,h=s;c<h.length;c++){var d=h[c],v=e._toMarker(r,o,d);v&&u.push(v)}t.set(this._byResource,o.toString(),r,u),t.set(this._byOwner,r,o.toString(),u),this._onMarkerChanged.fire([o])}},e._toMarker=function(e,r,t){var n=t.code,o=t.severity,s=t.message,i=t.source,a=t.startLineNumber,u=t.startColumn,c=t.endLineNumber,h=t.endColumn,d=t.relatedInformation,v=t.tags;return s?(a=a>0?a:1,u=u>0?u:1,c=c>=a?c:a,h=h>0?h:u,{resource:r,owner:e,code:n,severity:o,message:s,source:i,startLineNumber:a,startColumn:u,endLineNumber:c,endColumn:h,relatedInformation:d,tags:v}):void 0},e.prototype.read=function(r){void 0===r&&(r=Object.create(null));var n=r.owner,o=r.resource,s=r.severities,i=r.take;if((!i||0>i)&&(i=-1),n&&o){var a=t.get(this._byResource,o.toString(),n);if(a){for(var u=[],c=0,h=a;c<h.length;c++){var d=h[c];if(e._accept(d,s)){var v=u.push(d);if(i>0&&v===i)break}}return u}return[]}if(n||o){var f=n?this._byOwner[n]:o?this._byResource[o.toString()]:void 0;if(!f)return[];var u=[];for(var m in f)for(var _=0,p=f[m];_<p.length;_++){var a=p[_];if(e._accept(a,s)){var v=u.push(a);if(i>0&&v===i)return u}}return u}var u=[];for(var g in this._byResource)for(var l in this._byResource[g])for(var b=0,y=this._byResource[g][l];b<y.length;b++){var a=y[b];if(e._accept(a,s)){var v=u.push(a);if(i>0&&v===i)return u}}return u},e._accept=function(e,r){return void 0===r||(r&e.severity)===e.severity},e._debouncer=function(r,t){r||(e._dedupeMap=Object.create(null),r=[]);for(var n=0,o=t;n<o.length;n++){var s=o[n];void 0===e._dedupeMap[s.toString()]&&(e._dedupeMap[s.toString()]=!0,r.push(s))}return r},e}();r.MarkerService=c});
;/*!node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js*/
define("node_modules/monaco-editor/esm/vs/platform/progress/common/progress",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.IProgressService=r.createDecorator("progressService")});
;/*!node_modules/monaco-editor/esm/vs/platform/storage/common/storage.js*/
define("node_modules/monaco-editor/esm/vs/platform/storage/common/storage",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),r=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),n=e("node_modules/monaco-editor/esm/vs/base/common/event"),i=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=e("node_modules/monaco-editor/esm/vs/base/common/types");t.IStorageService=r.createDecorator("storageService");var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._serviceBrand=void 0,t._onDidChangeStorage=t._register(new n.Emitter),t.onWillSaveState=n.Event.None,t.globalCache=new Map,t.workspaceCache=new Map,t}return o(t,e),Object.defineProperty(t.prototype,"onDidChangeStorage",{get:function(){return this._onDidChangeStorage.event},enumerable:!0,configurable:!0}),t.prototype.getCache=function(e){return 0===e?this.globalCache:this.workspaceCache},t.prototype.get=function(e,t,o){var r=this.getCache(t).get(e);return a.isUndefinedOrNull(r)?o:r},t.prototype.getBoolean=function(e,t,o){var r=this.getCache(t).get(e);return a.isUndefinedOrNull(r)?o:"true"===r},t.prototype.store=function(e,t,o){if(a.isUndefinedOrNull(t))return this.remove(e,o);var r=String(t),n=this.getCache(o).get(e);return n===r?Promise.resolve():(this.getCache(o).set(e,r),this._onDidChangeStorage.fire({scope:o,key:e}),Promise.resolve())},t.prototype.remove=function(e,t){var o=this.getCache(t).delete(e);return o?(this._onDidChangeStorage.fire({scope:t,key:e}),Promise.resolve()):Promise.resolve()},t}(i.Disposable);t.InMemoryStorageService=s});
;/*!node_modules/monaco-editor/esm/vs/platform/actions/common/menuService.js*/
define("node_modules/monaco-editor/esm/vs/platform/actions/common/menuService",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,s=3>r?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(s=(3>r?i(s):r>3?i(t,n,s):i(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},o=this&&this.__param||function(e,t){return function(n,o){t(n,o,e)}},i=e("node_modules/monaco-editor/esm/vs/base/common/event"),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=e("node_modules/monaco-editor/esm/vs/platform/actions/common/actions"),c=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),m=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),a=function(){function e(e){this._commandService=e}return e.prototype.createMenu=function(e,t){return new u(e,this._commandService,t)},e=n([o(0,c.ICommandService)],e)}();t.MenuService=a;var u=function(){function e(e,t,n){var o=this;this._id=e,this._commandService=t,this._contextKeyService=n,this._onDidChange=new i.Emitter,this._disposables=[],this._build(),i.Event.debounce(i.Event.filter(s.MenuRegistry.onDidChangeMenu,function(e){return e===o._id}),function(){},50)(this._build,this,this._disposables),i.Event.debounce(this._contextKeyService.onDidChangeContext,function(e,t){return e||t.affectsSome(o._contextKeys)},50)(function(e){return e&&o._onDidChange.fire(void 0)},this,this._disposables)}return e.prototype._build=function(){this._menuGroups=[],this._contextKeys=new Set;var t,n=s.MenuRegistry.getMenuItems(this._id);n.sort(e._compareMenuItems);for(var o=0,i=n;o<i.length;o++){var r=i[o],c=r.group||"";t&&t[0]===c||(t=[c,[]],this._menuGroups.push(t)),t[1].push(r),e._fillInKbExprKeys(r.when,this._contextKeys),s.isIMenuItem(r)&&r.command.precondition&&e._fillInKbExprKeys(r.command.precondition,this._contextKeys),s.isIMenuItem(r)&&r.command.toggled&&e._fillInKbExprKeys(r.command.toggled,this._contextKeys)}this._onDidChange.fire(this)},e.prototype.dispose=function(){r.dispose(this._disposables),this._onDidChange.dispose()},e.prototype.getActions=function(e){for(var t=[],n=0,o=this._menuGroups;n<o.length;n++){for(var i=o[n],r=i[0],c=i[1],m=[],a=0,u=c;a<u.length;a++){var d=u[a];if(this._contextKeyService.contextMatchesRules(d.when)){var f=s.isIMenuItem(d)?new s.MenuItemAction(d.command,d.alt,e,this._contextKeyService,this._commandService):new s.SubmenuItemAction(d);m.push(f)}}m.length>0&&t.push([r,m])}return t},e._fillInKbExprKeys=function(e,t){if(e)for(var n=0,o=e.keys();n<o.length;n++){var i=o[n];t.add(i)}},e._compareMenuItems=function(e,t){var n=e.group,o=t.group;if(n!==o){if(!n)return 1;if(!o)return-1;if("navigation"===n)return-1;if("navigation"===o)return 1;var i=n.localeCompare(o);if(0!==i)return i}var r=e.order||0,s=t.order||0;if(s>r)return-1;if(r>s)return 1;var c="string"==typeof e.command.title?e.command.title:e.command.title.value,m="string"==typeof t.command.title?t.command.title:t.command.title.value;return c.localeCompare(m)},e=n([o(1,c.ICommandService),o(2,m.IContextKeyService)],e)}()});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/markersDecorationService.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/markersDecorationService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.IMarkerDecorationsService=r.createDecorator("markerDecorationsService")});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/markerDecorationsServiceImpl.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/markerDecorationsServiceImpl",function(e,r){"use strict";function o(e){return e.toString()}Object.defineProperty(r,"__esModule",{value:!0});var t=this&&this.__extends||function(){var e=function(r,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])})(r,o)};return function(r,o){function t(){this.constructor=r}e(r,o),r.prototype=null===o?Object.create(o):(t.prototype=o.prototype,new t)}}(),n=this&&this.__decorate||function(e,r,o,t){var n,i=arguments.length,a=3>i?r:null===t?t=Object.getOwnPropertyDescriptor(r,o):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,o,t);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(3>i?n(a):i>3?n(r,o,a):n(r,o))||a);return i>3&&a&&Object.defineProperty(r,o,a),a},i=this&&this.__param||function(e,r){return function(o,t){r(o,t,e)}},a=e("node_modules/monaco-editor/esm/vs/platform/markers/common/markers"),s=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),m=e("node_modules/monaco-editor/esm/vs/editor/common/model"),c=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),u=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),d=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),v=e("node_modules/monaco-editor/esm/vs/base/common/map"),_=e("node_modules/monaco-editor/esm/vs/base/common/network"),f=e("node_modules/monaco-editor/esm/vs/base/common/event"),g=e("node_modules/monaco-editor/esm/vs/base/common/types"),p=function(e){function r(r){var o=e.call(this)||this;return o.model=r,o._markersData=new Map,o._register(s.toDisposable(function(){o.model.deltaDecorations(v.keys(o._markersData),[]),o._markersData.clear()})),o}return t(r,e),r.prototype.update=function(e,r){for(var o=this.model.deltaDecorations(v.keys(this._markersData),r),t=0;t<o.length;t++)this._markersData.set(o[t],e[t])},r.prototype.getMarker=function(e){return this._markersData.get(e.id)},r}(s.Disposable),h=function(e){function r(r,o){var t=e.call(this)||this;return t._markerService=o,t._onDidChangeMarker=new f.Emitter,t._markerDecorations=new Map,r.getModels().forEach(function(e){return t._onModelAdded(e)}),t._register(r.onModelAdded(t._onModelAdded,t)),t._register(r.onModelRemoved(t._onModelRemoved,t)),t._register(t._markerService.onMarkerChanged(t._handleMarkerChange,t)),t}return t(r,e),r.prototype.getMarker=function(e,r){var t=this._markerDecorations.get(o(e.uri));return t?g.withUndefinedAsNull(t.getMarker(r)):null},r.prototype._handleMarkerChange=function(e){var r=this;e.forEach(function(e){var t=r._markerDecorations.get(o(e));t&&r._updateDecorations(t)})},r.prototype._onModelAdded=function(e){var r=new p(e);this._markerDecorations.set(o(e.uri),r),this._updateDecorations(r)},r.prototype._onModelRemoved=function(e){var r=this,t=this._markerDecorations.get(o(e.uri));t&&(t.dispose(),this._markerDecorations.delete(o(e.uri))),(e.uri.scheme===_.Schemas.inMemory||e.uri.scheme===_.Schemas.internal||e.uri.scheme===_.Schemas.vscode)&&this._markerService&&this._markerService.read({resource:e.uri}).map(function(e){return e.owner}).forEach(function(o){return r._markerService.remove(o,[e.uri])})},r.prototype._updateDecorations=function(e){var r=this,o=this._markerService.read({resource:e.model.uri,take:500}),t=o.map(function(o){return{range:r._createDecorationRange(e.model,o),options:r._createDecorationOption(o)}});e.update(o,t),this._onDidChangeMarker.fire(e.model)},r.prototype._createDecorationRange=function(e,r){var o=l.Range.lift(r);if(r.severity===a.MarkerSeverity.Hint&&(r.tags&&-1!==r.tags.indexOf(1)||(o=o.setEndPosition(o.startLineNumber,o.startColumn+2))),o=e.validateRange(o),o.isEmpty()){var t=e.getWordAtPosition(o.getStartPosition());if(t)o=new l.Range(o.startLineNumber,t.startColumn,o.endLineNumber,t.endColumn);else{var n=e.getLineLastNonWhitespaceColumn(o.startLineNumber)||e.getLineMaxColumn(o.startLineNumber);1===n||(o=o.endColumn>=n?new l.Range(o.startLineNumber,n-1,o.endLineNumber,n):new l.Range(o.startLineNumber,o.startColumn,o.endLineNumber,o.endColumn+1))}}else if(r.endColumn===Number.MAX_VALUE&&1===r.startColumn&&o.startLineNumber===o.endLineNumber){var i=e.getLineFirstNonWhitespaceColumn(r.startLineNumber);i<o.endColumn&&(o=new l.Range(o.startLineNumber,i,o.endLineNumber,o.endColumn),r.startColumn=i)}return o},r.prototype._createDecorationOption=function(e){var r,o,t=void 0,n=void 0;switch(e.severity){case a.MarkerSeverity.Hint:r=e.tags&&e.tags.indexOf(1)>=0?"squiggly-unnecessary":"squiggly-hint",o=0;break;case a.MarkerSeverity.Warning:r="squiggly-warning",t=c.themeColorFromId(u.overviewRulerWarning),o=20;break;case a.MarkerSeverity.Info:r="squiggly-info",t=c.themeColorFromId(u.overviewRulerInfo),o=10;break;case a.MarkerSeverity.Error:default:r="squiggly-error",t=c.themeColorFromId(u.overviewRulerError),o=30}return e.tags&&-1!==e.tags.indexOf(1)&&(n="squiggly-inline-unnecessary"),{stickiness:1,className:r,showIfCollapsed:!0,overviewRuler:{color:t,position:m.OverviewRulerLane.Right},zIndex:o,inlineClassName:n}},r=n([i(0,d.IModelService),i(1,a.IMarkerService)],r)}(s.Disposable);r.MarkerDecorationsService=h});
;/*!node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js*/
define("node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions",function(e,o){"use strict";function n(e,o,n){i.push({id:e,descriptor:new t.SyncDescriptor(o,[],n)})}Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/descriptors"),i=[];o.registerSingleton=n});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestMemory.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestMemory",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),r=this&&this.__decorate||function(e,t,o,r){var n,i=arguments.length,s=3>i?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(s=(3>i?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},n=this&&this.__param||function(e,t){return function(o,r){t(o,r,e)}},i=e("node_modules/monaco-editor/esm/vs/base/common/map"),s=e("node_modules/monaco-editor/esm/vs/platform/storage/common/storage"),c=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),a=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),u=e("node_modules/monaco-editor/esm/vs/base/common/async"),f=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),g=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),l=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions"),m=function(){function e(){}return e.prototype.select=function(e,t,o){if(0===o.length)return 0;for(var r=o[0].score,n=1;n<o.length;n++){var i=o[n],s=i.score,c=i.completion;if(s!==r)break;if(c.preselect)return n}return 0},e}();t.Memory=m;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.memorize=function(){},t.prototype.toJSON=function(){return void 0},t.prototype.fromJSON=function(){},t}(m);t.NoMemory=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._cache=new i.LRUCache(300,.66),t._seq=0,t}return o(t,e),t.prototype.memorize=function(e,t,o){var r=o.completion.label,n=e.getLanguageIdentifier().language+"/"+r;this._cache.set(n,{touch:this._seq++,type:o.completion.kind,insertText:o.completion.insertText})},t.prototype.select=function(t,o,r){var n=t.getWordUntilPosition(o).word;if(0!==n.length)return e.prototype.select.call(this,t,o,r);var i=t.getLineContent(o.lineNumber).substr(o.column-10,o.column-1);if(/\s$/.test(i))return e.prototype.select.call(this,t,o,r);for(var s=-1,c=-1,a=0;a<r.length;a++){var u=r[a].completion,f=t.getLanguageIdentifier().language+"/"+u.label,g=this._cache.get(f);g&&g.touch>c&&g.type===u.kind&&g.insertText===u.insertText&&(c=g.touch,s=a)}return-1===s?e.prototype.select.call(this,t,o,r):s},t.prototype.toJSON=function(){var e=[];return this._cache.forEach(function(t,o){e.push([o,t])}),e},t.prototype.fromJSON=function(e){this._cache.clear();for(var t=0,o=0,r=e;o<r.length;o++){var n=r[o],i=n[0],s=n[1];s.touch=t,s.type="number"==typeof s.type?s.type:c.completionKindFromString(s.type),this._cache.set(i,s)}this._seq=this._cache.size},t}(m);t.LRUMemory=h;var _=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._trie=i.TernarySearchTree.forStrings(),t._seq=0,t}return o(t,e),t.prototype.memorize=function(e,t,o){var r=e.getWordUntilPosition(t).word,n=e.getLanguageIdentifier().language+"/"+r;this._trie.set(n,{type:o.completion.kind,insertText:o.completion.insertText,touch:this._seq++})},t.prototype.select=function(t,o,r){var n=t.getWordUntilPosition(o).word;if(!n)return e.prototype.select.call(this,t,o,r);var i=t.getLanguageIdentifier().language+"/"+n,s=this._trie.get(i);if(s||(s=this._trie.findSubstr(i)),s)for(var c=0;c<r.length;c++){var a=r[c].completion,u=a.kind,f=a.insertText;if(u===s.type&&f===s.insertText)return c}return e.prototype.select.call(this,t,o,r)},t.prototype.toJSON=function(){var e=[];return this._trie.forEach(function(t,o){return e.push([o,t])}),e.sort(function(e,t){return-(e[1].touch-t[1].touch)}).forEach(function(e,t){return e[1].touch=t}),e.slice(0,200)},t.prototype.fromJSON=function(e){if(this._trie.clear(),e.length>0){this._seq=e[0][1].touch+1;for(var t=0,o=e;t<o.length;t++){var r=o[t],n=r[0],i=r[1];i.type="number"==typeof i.type?i.type:c.completionKindFromString(i.type),this._trie.set(n,i)}}},t}(m);t.PrefixMemory=_;var d=function(e){function t(t,o){var r=e.call(this)||this;r._storageService=t,r._configService=o,r._storagePrefix="suggest/memories";var n=function(){var e=r._configService.getValue("editor.suggestSelection"),t=r._configService.getValue("editor.suggest.shareSuggestSelections");r._update(e,t,!1)};return r._persistSoon=r._register(new u.RunOnceScheduler(function(){return r._saveState()},500)),r._register(t.onWillSaveState(function(){return r._saveState()})),r._register(r._configService.onDidChangeConfiguration(function(e){(e.affectsConfiguration("editor.suggestSelection")||e.affectsConfiguration("editor.suggest.shareSuggestSelections"))&&n()})),r._register(r._storageService.onDidChangeStorage(function(e){0===e.scope&&0===e.key.indexOf(r._storagePrefix)&&(document.hasFocus()||r._update(r._mode,r._shareMem,!0))})),n(),r}return o(t,e),t.prototype._update=function(e,t,o){if(o||this._mode!==e||this._shareMem!==t){this._shareMem=t,this._mode=e,this._strategy="recentlyUsedByPrefix"===e?new _:"recentlyUsed"===e?new h:new p;try{var r=t?0:1,n=this._storageService.get(this._storagePrefix+"/"+this._mode,r);n&&this._strategy.fromJSON(JSON.parse(n))}catch(i){}}},t.prototype.memorize=function(e,t,o){this._strategy.memorize(e,t,o),this._persistSoon.schedule()},t.prototype.select=function(e,t,o){return this._strategy.select(e,t,o)},t.prototype._saveState=function(){var e=JSON.stringify(this._strategy),t=this._shareMem?0:1;this._storageService.store(this._storagePrefix+"/"+this._mode,e,t)},t=r([n(0,s.IStorageService),n(1,g.IConfigurationService)],t)}(a.Disposable);t.SuggestMemoryService=d,t.ISuggestMemoryService=f.createDecorator("ISuggestMemories"),l.registerSingleton(t.ISuggestMemoryService,d,!0)});
;/*!node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibilityService.js*/
define("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibilityService",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),i=e("node_modules/monaco-editor/esm/vs/base/common/event"),n=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._accessibilitySupport=0,t._onDidChangeAccessibilitySupport=new i.Emitter,t.onDidChangeAccessibilitySupport=t._onDidChangeAccessibilitySupport.event,t}return o(t,e),t.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},t}(n.Disposable);t.BrowserAccessibilityService=r});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codeLensCache.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codeLensCache",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__decorate||function(e,t,o,n){var r,i=arguments.length,a=3>i?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(3>i?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},n=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}},r=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),i=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions"),a=e("node_modules/monaco-editor/esm/vs/base/common/map"),s=e("node_modules/monaco-editor/esm/vs/platform/storage/common/storage"),c=e("node_modules/monaco-editor/esm/vs/editor/common/core/range");t.ICodeLensCache=r.createDecorator("ICodeLensCache");var u=function(){function e(e,t){this.lineCount=e,this.data=t}return e}(),d=function(){function e(e){var t=this;this._fakeProvider=new(function(){function e(){}return e.prototype.provideCodeLenses=function(){throw new Error("not supported")},e}()),this._cache=new a.LRUCache(20,.75);var o="codelens/cache",n=e.get(o,1,"{}");this._deserialize(n);var r=e.onWillSaveState(function(){e.store(o,t._serialize(),1),r.dispose()})}return e.prototype.put=function(e,t){var o=this,n=new u(e.getLineCount(),t.map(function(e){return{symbol:e.symbol,provider:o._fakeProvider}}));this._cache.set(e.uri.toString(),n)},e.prototype.get=function(e){var t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0},e.prototype.delete=function(e){this._cache.delete(e.uri.toString())},e.prototype._serialize=function(){var e=Object.create(null);return this._cache.forEach(function(t,o){for(var n=new Set,r=0,i=t.data;r<i.length;r++){var s=i[r];n.add(s.symbol.range.startLineNumber)}e[o]={lineCount:t.lineCount,lines:a.values(n)}}),JSON.stringify(e)},e.prototype._deserialize=function(e){try{var t=JSON.parse(e);for(var o in t){for(var n=t[o],r=[],i=0,a=n.lines;i<a.length;i++){var s=a[i];r.push({provider:this._fakeProvider,symbol:{range:new c.Range(s,1,s,11)}})}this._cache.set(o,new u(n.lineCount,r))}}catch(d){}},e=o([n(0,s.IStorageService)],e)}();t.CodeLensCache=d,i.registerSingleton(t.ICodeLensCache,d)});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneServices",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=this&&this.__extends||function(){var e=function(o,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r])})(o,r)};return function(o,r){function n(){this.constructor=o}e(o,r),o.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),i=e("node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService"),t=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),c=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService"),s=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerServiceImpl"),m=e("node_modules/monaco-editor/esm/vs/editor/common/services/modeService"),a=e("node_modules/monaco-editor/esm/vs/editor/common/services/modeServiceImpl"),d=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),v=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelServiceImpl"),l=e("node_modules/monaco-editor/esm/vs/editor/common/services/resourceConfiguration"),u=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/simpleServices"),S=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeServiceImpl"),f=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneThemeServiceImpl"),p=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/standaloneThemeService"),_=e("node_modules/monaco-editor/esm/vs/platform/actions/common/actions"),g=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),w=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),I=e("node_modules/monaco-editor/esm/vs/platform/contextkey/browser/contextKeyService"),y=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),h=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextMenuService"),b=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView"),C=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextViewService"),k=e("node_modules/monaco-editor/esm/vs/platform/dialogs/common/dialogs"),x=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),M=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiationService"),L=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/serviceCollection"),E=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),T=e("node_modules/monaco-editor/esm/vs/platform/label/common/label"),P=e("node_modules/monaco-editor/esm/vs/platform/list/browser/listService"),D=e("node_modules/monaco-editor/esm/vs/platform/log/common/log"),O=e("node_modules/monaco-editor/esm/vs/platform/markers/common/markerService"),W=e("node_modules/monaco-editor/esm/vs/platform/markers/common/markers"),K=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),j=e("node_modules/monaco-editor/esm/vs/platform/progress/common/progress"),N=e("node_modules/monaco-editor/esm/vs/platform/storage/common/storage"),R=e("node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry"),V=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),A=e("node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace"),B=e("node_modules/monaco-editor/esm/vs/platform/actions/common/menuService"),z=e("node_modules/monaco-editor/esm/vs/editor/common/services/markersDecorationService"),U=e("node_modules/monaco-editor/esm/vs/editor/common/services/markerDecorationsServiceImpl"),q=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestMemory"),F=e("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility"),G=e("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibilityService"),H=e("node_modules/monaco-editor/esm/vs/platform/layout/browser/layoutService"),J=e("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codeLensCache");!function(e){function o(e,o){var r=new i(e,o);return _.push(r),r}function r(e){var o=new L.ServiceCollection;for(var r in e)e.hasOwnProperty(r)&&o.set(x.createDecorator(r),e[r]);_.forEach(function(r){return o.set(r.id,r.get(e))});var n=new M.InstantiationService(o,!0);return o.set(x.IInstantiationService,n),[o,n]}var n=new L.ServiceCollection,i=function(){function e(e,o){this._serviceId=e,this._factory=o,this._value=null}return Object.defineProperty(e.prototype,"id",{get:function(){return this._serviceId},enumerable:!0,configurable:!0}),e.prototype.get=function(e){if(!this._value){if(e&&(this._value=e[this._serviceId.toString()]),this._value||(this._value=this._factory(e)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");n.set(this._serviceId,this._value)}return this._value},e}();e.LazyStaticService=i;var _=[];e.init=r,e.instantiationService=o(x.IInstantiationService,function(){return new M.InstantiationService(n,!0)});var g=new u.SimpleConfigurationService;e.configurationService=o(w.IConfigurationService,function(){return g}),e.resourceConfigurationService=o(l.ITextResourceConfigurationService,function(){return new u.SimpleResourceConfigurationService(g)}),e.resourcePropertiesService=o(l.ITextResourcePropertiesService,function(){return new u.SimpleResourcePropertiesService(g)}),e.contextService=o(A.IWorkspaceContextService,function(){return new u.SimpleWorkspaceContextService}),e.labelService=o(T.ILabelService,function(){return new u.SimpleUriLabelService}),e.telemetryService=o(R.ITelemetryService,function(){return new u.StandaloneTelemetryService}),e.dialogService=o(k.IDialogService,function(){return new u.SimpleDialogService}),e.notificationService=o(K.INotificationService,function(){return new u.SimpleNotificationService}),e.accessibilityService=o(F.IAccessibilityService,function(){return new G.BrowserAccessibilityService}),e.markerService=o(W.IMarkerService,function(){return new O.MarkerService}),e.modeService=o(m.IModeService,function(){return new a.ModeServiceImpl}),e.modelService=o(d.IModelService,function(o){return new v.ModelServiceImpl(e.configurationService.get(o),e.resourcePropertiesService.get(o))}),e.markerDecorationsService=o(z.IMarkerDecorationsService,function(o){return new U.MarkerDecorationsService(e.modelService.get(o),e.markerService.get(o))}),e.standaloneThemeService=o(p.IStandaloneThemeService,function(){return new f.StandaloneThemeServiceImpl}),e.codeEditorService=o(t.ICodeEditorService,function(o){return new S.StandaloneCodeEditorServiceImpl(e.standaloneThemeService.get(o))}),e.progressService=o(j.IProgressService,function(){return new u.SimpleProgressService}),e.storageService=o(N.IStorageService,function(){return new N.InMemoryStorageService}),e.logService=o(D.ILogService,function(){return new D.NullLogService}),e.editorWorkerService=o(c.IEditorWorkerService,function(o){return new s.EditorWorkerServiceImpl(e.modelService.get(o),e.resourceConfigurationService.get(o),e.logService.get(o))}),e.suggestMemoryService=o(q.ISuggestMemoryService,function(o){return new q.SuggestMemoryService(e.storageService.get(o),e.configurationService.get(o))}),e.codeLensCacheService=o(J.ICodeLensCache,function(o){return new J.CodeLensCache(e.storageService.get(o))})}(o.StaticServices||(o.StaticServices={}));var Q=function(e){function n(r,n){var t=e.call(this)||this,c=o.StaticServices.init(n),s=c[0],m=c[1];t._serviceCollection=s,t._instantiationService=m;var a=t.get(w.IConfigurationService),v=t.get(K.INotificationService),l=t.get(R.ITelemetryService),S=t.get(V.IThemeService),f=function(e,o){var r=null;return n&&(r=n[e.toString()]),r||(r=o()),t._serviceCollection.set(e,r),r},p=f(y.IContextKeyService,function(){return t._register(new I.ContextKeyService(a))});f(P.IListService,function(){return new P.ListService(p)});var k=f(g.ICommandService,function(){return new u.StandaloneCommandService(t._instantiationService)}),x=f(E.IKeybindingService,function(){return t._register(new u.StandaloneKeybindingService(p,k,l,v,r))}),M=f(H.ILayoutService,function(){return new u.SimpleLayoutService(r)}),L=f(b.IContextViewService,function(){return t._register(new C.ContextViewService(M))});return f(b.IContextMenuService,function(){var e=new h.ContextMenuService(l,v,L,x,S);return e.configure({blockMouse:!1}),t._register(e)}),f(_.IMenuService,function(){return new B.MenuService(k)}),f(i.IBulkEditService,function(){return new u.SimpleBulkEditService(o.StaticServices.modelService.get(d.IModelService))}),t}return r(n,e),n.prototype.get=function(e){var o=this._serviceCollection.get(e);if(!o)throw new Error("Missing service "+e);return o},n.prototype.set=function(e,o){this._serviceCollection.set(e,o)},n.prototype.has=function(e){return this._serviceCollection.has(e)},n}(n.Disposable);o.DynamicStandaloneServices=Q});
;/*!node_modules/monaco-editor/esm/vs/platform/opener/common/opener.js*/
define("node_modules/monaco-editor/esm/vs/platform/opener/common/opener",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.IOpenerService=n.createDecorator("openerService"),o.NullOpenerService=Object.freeze({_serviceBrand:void 0,registerOpener:function(){return{dispose:function(){}}},open:function(){return Promise.resolve(!1)}})});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneEditor.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneEditor",function(e,o){"use strict";function t(e,o,t){var n=new j.DynamicStandaloneServices(e,o),r=null;n.has(N.ITextModelService)||(r=new K.SimpleEditorModelResolverService,n.set(N.ITextModelService,r)),n.has($.IOpenerService)||n.set($.IOpenerService,new O.OpenerService(n.get(w.ICodeEditorService),n.get(G.ICommandService)));var i=t(n);return r&&r.setEditor(i),i}function n(e,o,n){return t(e,n||{},function(t){return new q.StandaloneEditor(e,o,t,t.get(X.IInstantiationService),t.get(w.ICodeEditorService),t.get(G.ICommandService),t.get(J.IContextKeyService),t.get(Y.IKeybindingService),t.get(Q.IContextViewService),t.get(U.IStandaloneThemeService),t.get(Z.INotificationService),t.get(H.IConfigurationService),t.get(eo.IAccessibilityService))})}function r(e){return j.StaticServices.codeEditorService.get().onCodeEditorAdd(function(o){e(o)})}function i(e,o,n){return t(e,n||{},function(t){return new q.StandaloneDiffEditor(e,o,t,t.get(X.IInstantiationService),t.get(J.IContextKeyService),t.get(Y.IKeybindingService),t.get(Q.IContextViewService),t.get(F.IEditorWorkerService),t.get(w.ICodeEditorService),t.get(U.IStandaloneThemeService),t.get(Z.INotificationService),t.get(H.IConfigurationService))})}function d(e,o){return new L.DiffNavigator(e,o)}function c(e,o,t){return j.StaticServices.modelService.get().createModel(e,o,t)}function s(e,o,t){if(e=e||"",!o){var n=t?t.path:null,r=e.indexOf("\n"),i=e;return-1!==r&&(i=e.substring(0,r)),c(e,j.StaticServices.modeService.get().createByFilepathOrFirstLine(n,i),t)}return c(e,j.StaticServices.modeService.get().create(o),t)}function a(e,o){j.StaticServices.modelService.get().setMode(e,j.StaticServices.modeService.get().create(o))}function m(e,o,t){e&&j.StaticServices.markerService.get().changeOne(o,e.uri,t)}function l(e){return j.StaticServices.markerService.get().read(e)}function v(e){return j.StaticServices.modelService.get().getModel(e)}function u(){return j.StaticServices.modelService.get().getModels()}function S(e){return j.StaticServices.modelService.get().onModelAdded(e)}function g(e){return j.StaticServices.modelService.get().onModelRemoved(e)}function f(e){return j.StaticServices.modelService.get().onModelModeChanged(function(o){e({model:o.model,oldLanguage:o.oldModeId})})}function M(e){return A.createWebWorker(j.StaticServices.modelService.get(),e)}function p(e,o){return V.Colorizer.colorizeElement(j.StaticServices.standaloneThemeService.get(),j.StaticServices.modeService.get(),e,o)}function I(e,o,t){return V.Colorizer.colorize(j.StaticServices.modeService.get(),e,o,t)}function _(e,o,t){return void 0===t&&(t=4),V.Colorizer.colorizeModelLine(e,o,t)}function E(e){var o=R.TokenizationRegistry.get(e);return o?o:{getInitialState:function(){return P.NULL_STATE},tokenize:function(o,t,n){return P.nullTokenize(e,o,t,n)}}}function T(e,o){var t=j.StaticServices.modeService.get();t.triggerMode(o);for(var n=E(o),r=e.split(/\r\n|\r|\n/),i=[],d=n.getInitialState(),c=0,s=r.length;s>c;c++){var a=r[c],m=n.tokenize(a,d,0);i[c]=m.tokens,d=m.endState}return i}function C(e,o){j.StaticServices.standaloneThemeService.get().defineTheme(e,o)}function b(e){j.StaticServices.standaloneThemeService.get().setTheme(e)}function y(){oo.clearAllFontInfos()}function k(){return{create:n,onDidCreateEditor:r,createDiffEditor:i,createDiffNavigator:d,createModel:s,setModelLanguage:a,setModelMarkers:m,getModelMarkers:l,getModels:u,getModel:v,onDidCreateModel:S,onWillDisposeModel:g,onDidChangeModelLanguage:f,createWebWorker:M,colorizeElement:p,colorize:I,colorizeModelLine:_,tokenize:T,defineTheme:C,setTheme:b,remeasureFonts:y,ScrollbarVisibility:B.ScrollbarVisibility,WrappingIndent:B.WrappingIndent,OverviewRulerLane:B.OverviewRulerLane,EndOfLinePreference:B.EndOfLinePreference,DefaultEndOfLine:B.DefaultEndOfLine,EndOfLineSequence:B.EndOfLineSequence,TrackedRangeStickiness:B.TrackedRangeStickiness,CursorChangeReason:B.CursorChangeReason,MouseTargetType:B.MouseTargetType,TextEditorCursorStyle:B.TextEditorCursorStyle,TextEditorCursorBlinkingStyle:B.TextEditorCursorBlinkingStyle,ContentWidgetPositionPreference:B.ContentWidgetPositionPreference,OverlayWidgetPositionPreference:B.OverlayWidgetPositionPreference,RenderMinimap:B.RenderMinimap,ScrollType:B.ScrollType,RenderLineNumbersType:B.RenderLineNumbersType,InternalEditorOptions:z.InternalEditorOptions,BareFontInfo:x.BareFontInfo,FontInfo:x.FontInfo,TextModelResolvedOptions:W.TextModelResolvedOptions,FindMatch:W.FindMatch,EditorType:D.EditorType}}Object.defineProperty(o,"__esModule",{value:!0});var h=e("node_modules/tslib/tslib"),w=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),O=e("node_modules/monaco-editor/esm/vs/editor/browser/services/openerService"),L=e("node_modules/monaco-editor/esm/vs/editor/browser/widget/diffNavigator"),z=h.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions")),x=e("node_modules/monaco-editor/esm/vs/editor/common/config/fontInfo"),D=h.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/editorCommon")),W=e("node_modules/monaco-editor/esm/vs/editor/common/model"),R=h.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),P=e("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode"),F=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService"),N=e("node_modules/monaco-editor/esm/vs/editor/common/services/resolverService"),A=e("node_modules/monaco-editor/esm/vs/editor/common/services/webWorker"),B=h.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums")),V=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/colorizer"),K=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/simpleServices"),q=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeEditor"),j=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneServices"),U=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/standaloneThemeService"),G=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),H=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),J=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),Q=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView"),X=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),Y=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),Z=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),$=e("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),eo=e("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility"),oo=e("node_modules/monaco-editor/esm/vs/editor/browser/config/configuration");o.create=n,o.onDidCreateEditor=r,o.createDiffEditor=i,o.createDiffNavigator=d,o.createModel=s,o.setModelLanguage=a,o.setModelMarkers=m,o.getModelMarkers=l,o.getModel=v,o.getModels=u,o.onDidCreateModel=S,o.onWillDisposeModel=g,o.onDidChangeModelLanguage=f,o.createWebWorker=M,o.colorizeElement=p,o.colorize=I,o.colorizeModelLine=_,o.tokenize=T,o.defineTheme=C,o.setTheme=b,o.remeasureFonts=y,o.createMonacoEditorAPI=k});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchCompile.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchCompile",function(e,t){"use strict";function r(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(var r in t)if(t.hasOwnProperty(r)&&!e(t[r]))return!1;return!0}function n(e,t){return"boolean"==typeof e?e:t}function o(e,t){return"string"==typeof e?e:t}function a(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];t[o]=!0}return t}function i(e,t){void 0===t&&(t=!1),t&&(e=e.map(function(e){return e.toLowerCase()}));var r=a(e);return t?function(e){return void 0!==r[e.toLowerCase()]&&r.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==r[e]&&r.hasOwnProperty(e)}}function s(e,t){for(var r=0;t.indexOf("@")>=0&&5>r;)r++,t=t.replace(/@(\w+)/g,function(r,n){var o="";if("string"==typeof e[n])o=e[n];else{if(!(e[n]&&e[n]instanceof RegExp))throw void 0===e[n]?d.createError(e,"language definition does not contain attribute '"+n+"', used at: "+t):d.createError(e,"attribute reference '"+n+"' must be a string, used at: "+t);o=e[n].source}return d.empty(o)?"":"(?:"+o+")"});return new RegExp(t,e.ignoreCase?"i":"")}function u(e,t,r,n){if(0>n)return e;if(n<t.length)return t[n];if(n>=100){n-=100;var o=r.split(".");if(o.unshift(r),n<o.length)return o[n]}return null}function c(e,t,n,o){var a=-1,c=n,f=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);f&&(f[3]&&(a=parseInt(f[3]),f[2]&&(a+=100)),c=f[4]);var l="~",h=c;c&&0!==c.length?/^\w*$/.test(h)?l="==":(f=c.match(/^(@|!@|~|!~|==|!=)(.*)$/),f&&(l=f[1],h=f[2])):(l="!=",h="");var g;if("~"!==l&&"!~"!==l||!/^(\w|\|)*$/.test(h))if("@"===l||"!@"===l){var m=e[h];if(!m)throw d.createError(e,"the @ match target '"+h+"' is not defined, in rule: "+t);if(!r(function(e){return"string"==typeof e},m))throw d.createError(e,"the @ match target '"+h+"' must be an array of strings, in rule: "+t);var p=i(m,e.ignoreCase);g=function(e){return"@"===l?p(e):!p(e)}}else if("~"===l||"!~"===l)if(h.indexOf("$")<0){var b=s(e,"^"+h+"$");g=function(e){return"~"===l?b.test(e):!b.test(e)}}else g=function(t,r,n,o){var a=s(e,"^"+d.substituteMatches(e,h,r,n,o)+"$");return a.test(t)};else if(h.indexOf("$")<0){var k=d.fixCase(e,h);g=function(e){return"=="===l?e===k:e!==k}}else{var y=d.fixCase(e,h);g=function(t,r,n,o){var a=d.substituteMatches(e,y,r,n,o);return"=="===l?t===a:t!==a}}else{var v=i(h.split("|"),e.ignoreCase);g=function(e){return"~"===l?v(e):!v(e)}}return-1===a?{name:n,value:o,test:function(e,t,r,n){return g(e,e,t,r,n)}}:{name:n,value:o,test:function(e,t,r,n){var o=u(e,t,r,a);return g(o?o:"",e,t,r,n)}}}function f(e,t,r){if(r){if("string"==typeof r)return r;if(r.token||""===r.token){if("string"!=typeof r.token)throw d.createError(e,"a 'token' attribute must be of type string, in rule: "+t);var n={token:r.token};if(r.token.indexOf("$")>=0&&(n.tokenSubst=!0),"string"==typeof r.bracket)if("@open"===r.bracket)n.bracket=1;else{if("@close"!==r.bracket)throw d.createError(e,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+t);n.bracket=-1}if(r.next){if("string"!=typeof r.next)throw d.createError(e,"the next state must be a string value in rule: "+t);var o=r.next;if(!/^(@pop|@push|@popall)$/.test(o)&&("@"===o[0]&&(o=o.substr(1)),o.indexOf("$")<0&&!d.stateExists(e,d.substituteMatches(e,o,"",[],""))))throw d.createError(e,"the next state '"+r.next+"' is not defined in rule: "+t);n.next=o}return"number"==typeof r.goBack&&(n.goBack=r.goBack),"string"==typeof r.switchTo&&(n.switchTo=r.switchTo),"string"==typeof r.log&&(n.log=r.log),"string"==typeof r.nextEmbedded&&(n.nextEmbedded=r.nextEmbedded,e.usesEmbedded=!0),n}if(Array.isArray(r)){var a=[];for(var i in r)r.hasOwnProperty(i)&&(a[i]=f(e,t,r[i]));return{group:a}}if(r.cases){var s=[];for(var u in r.cases)if(r.cases.hasOwnProperty(u)){var l=f(e,t,r.cases[u]);s.push("@default"===u||"@"===u||""===u?{test:void 0,value:l,name:u}:"@eos"===u?{test:function(e,t,r,n){return n},value:l,name:u}:c(e,t,u,l))}var h=e.defaultToken;return{test:function(e,t,r,n){for(var o in s)if(s.hasOwnProperty(o)){var a=s[o],i=!a.test||a.test(e,t,r,n);if(i)return a.value}return h}}}throw d.createError(e,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+t)}return{token:""}}function l(e,t){function r(e,o,s){for(var u in s)if(s.hasOwnProperty(u)){var c=s[u],f=c.include;if(f){if("string"!=typeof f)throw d.createError(a,"an 'include' attribute must be a string at: "+e);if("@"===f[0]&&(f=f.substr(1)),!t.tokenizer[f])throw d.createError(a,"include target '"+f+"' is not defined at: "+e);r(e+"."+f,o,t.tokenizer[f])}else{var l=new g(e);if(Array.isArray(c)&&c.length>=1&&c.length<=3)if(l.setRegex(i,c[0]),c.length>=3)if("string"==typeof c[1])l.setAction(i,{token:c[1],next:c[2]});else{if("object"!=typeof c[1])throw d.createError(a,"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: "+e);var h=c[1];h.next=c[2],l.setAction(i,h)}else l.setAction(i,c[1]);else{if(!c.regex)throw d.createError(a,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);c.name&&"string"==typeof c.name&&(l.name=c.name),c.matchOnlyAtStart&&(l.matchOnlyAtLineStart=n(c.matchOnlyAtLineStart,!1)),l.setRegex(i,c.regex),l.setAction(i,c.action)}o.push(l)}}}if(!t||"object"!=typeof t)throw new Error("Monarch: expecting a language definition object");var a={};a.languageId=e,a.noThrow=!1,a.maxStack=100,a.start="string"==typeof t.start?t.start:null,a.ignoreCase=n(t.ignoreCase,!1),a.tokenPostfix=o(t.tokenPostfix,"."+a.languageId),a.defaultToken=o(t.defaultToken,"source"),a.usesEmbedded=!1;var i=t;if(i.languageId=e,i.ignoreCase=a.ignoreCase,i.noThrow=a.noThrow,i.usesEmbedded=a.usesEmbedded,i.stateNames=t.tokenizer,i.defaultToken=a.defaultToken,!t.tokenizer||"object"!=typeof t.tokenizer)throw d.createError(a,"a language definition must define the 'tokenizer' attribute as an object");a.tokenizer=[];for(var s in t.tokenizer)if(t.tokenizer.hasOwnProperty(s)){a.start||(a.start=s);var u=t.tokenizer[s];a.tokenizer[s]=new Array,r("tokenizer."+s,a.tokenizer[s],u)}if(a.usesEmbedded=i.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw d.createError(a,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];var c=[];for(var f in t.brackets)if(t.brackets.hasOwnProperty(f)){var l=t.brackets[f];if(l&&Array.isArray(l)&&3===l.length&&(l={token:l[2],open:l[0],close:l[1]}),l.open===l.close)throw d.createError(a,"open and close brackets in a 'brackets' attribute must be different: "+l.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof l.open||"string"!=typeof l.token||"string"!=typeof l.close)throw d.createError(a,"every element in the 'brackets' array must be a '{open,close,token}' object or array");c.push({token:l.token+a.tokenPostfix,open:d.fixCase(a,l.open),close:d.fixCase(a,l.close)})}return a.brackets=c,a.noThrow=!0,a}Object.defineProperty(t,"__esModule",{value:!0});var h=e("node_modules/tslib/tslib"),d=h.__importStar(e("node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchCommon")),g=function(){function e(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}return e.prototype.setRegex=function(e,t){var r;if("string"==typeof t)r=t;else{if(!(t instanceof RegExp))throw d.createError(e,"rules must start with a match string or regular expression: "+this.name);r=t.source}this.matchOnlyAtLineStart=r.length>0&&"^"===r[0],this.name=this.name+": "+r,this.regex=s(e,"^(?:"+(this.matchOnlyAtLineStart?r.substr(1):r)+")")},e.prototype.setAction=function(e,t){this.action=f(e,this.name,t)},e}();t.compile=l});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneLanguages.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneLanguages",function(e,r){"use strict";function t(e){A.ModesRegistry.registerLanguage(e)}function n(){var e=[];return e=e.concat(A.ModesRegistry.getLanguages())}function i(e){var r=M.StaticServices.modeService.get().getLanguageIdentifier(e);return r?r.id:0}function o(e,r){var t=M.StaticServices.modeService.get().onDidCreateMode(function(n){n.getId()===e&&(t.dispose(),r())});return t}function s(e,r){var t=M.StaticServices.modeService.get().getLanguageIdentifier(e);if(!t)throw new Error("Cannot set configuration for unknown language "+e);return F.LanguageConfigurationRegistry.register(t,r)}function a(e){return e.tokenizeEncoded}function g(e){return"function"==typeof e.then?!0:!1}function d(e,r){var t=M.StaticServices.modeService.get().getLanguageIdentifier(e);if(!t)throw new Error("Cannot set tokens provider for unknown language "+e);var n=function(e){return a(e)?new O(e):new q(M.StaticServices.standaloneThemeService.get(),t,e)};return g(r)?b.TokenizationRegistry.registerPromise(e,r.then(function(e){return n(e)})):b.TokenizationRegistry.register(e,n(r))}function u(e,r){var t=function(r){return N.createTokenizationSupport(M.StaticServices.modeService.get(),M.StaticServices.standaloneThemeService.get(),e,x.compile(e,r))};return g(r)?b.TokenizationRegistry.registerPromise(e,r.then(function(e){return t(e)})):b.TokenizationRegistry.register(e,t(r))}function c(e,r){return b.ReferenceProviderRegistry.register(e,r)}function m(e,r){return b.RenameProviderRegistry.register(e,r)}function v(e,r){return b.SignatureHelpProviderRegistry.register(e,r)}function l(e,r){return b.HoverProviderRegistry.register(e,{provideHover:function(e,t,n){var i=e.getWordAtPosition(t);return Promise.resolve(r.provideHover(e,t,n)).then(function(e){return e?(!e.range&&i&&(e.range=new E.Range(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn)),e.range||(e.range=new E.Range(t.lineNumber,t.column,t.lineNumber,t.column)),e):void 0})}})}function f(e,r){return b.DocumentSymbolProviderRegistry.register(e,r)}function P(e,r){return b.DocumentHighlightProviderRegistry.register(e,r)}function p(e,r){return b.DefinitionProviderRegistry.register(e,r)}function y(e,r){return b.ImplementationProviderRegistry.register(e,r)}function S(e,r){return b.TypeDefinitionProviderRegistry.register(e,r)}function R(e,r){return b.CodeLensProviderRegistry.register(e,r)}function h(e,r){return b.CodeActionProviderRegistry.register(e,{provideCodeActions:function(e,t,n,i){var o=M.StaticServices.markerService.get().read({resource:e.uri}).filter(function(e){return E.Range.areIntersectingOrTouching(e,t)});return r.provideCodeActions(e,t,{markers:o,only:n.only},i)}})}function k(e,r){return b.DocumentFormattingEditProviderRegistry.register(e,r)}function T(e,r){return b.DocumentRangeFormattingEditProviderRegistry.register(e,r)}function _(e,r){return b.OnTypeFormattingEditProviderRegistry.register(e,r)}function C(e,r){return b.LinkProviderRegistry.register(e,r)}function I(e,r){return b.CompletionProviderRegistry.register(e,r)}function L(e,r){return b.ColorProviderRegistry.register(e,r)}function D(e,r){return b.FoldingRangeProviderRegistry.register(e,r)}function w(){return{register:t,getLanguages:n,onLanguage:o,getEncodedLanguageId:i,setLanguageConfiguration:s,setTokensProvider:d,setMonarchTokensProvider:u,registerReferenceProvider:c,registerRenameProvider:m,registerCompletionItemProvider:I,registerSignatureHelpProvider:v,registerHoverProvider:l,registerDocumentSymbolProvider:f,registerDocumentHighlightProvider:P,registerDefinitionProvider:p,registerImplementationProvider:y,registerTypeDefinitionProvider:S,registerCodeLensProvider:R,registerCodeActionProvider:h,registerDocumentFormattingEditProvider:k,registerDocumentRangeFormattingEditProvider:T,registerOnTypeFormattingEditProvider:_,registerLinkProvider:C,registerColorProvider:L,registerFoldingRangeProvider:D,DocumentHighlightKind:K.DocumentHighlightKind,CompletionItemKind:K.CompletionItemKind,CompletionItemInsertTextRule:K.CompletionItemInsertTextRule,SymbolKind:K.SymbolKind,IndentAction:K.IndentAction,CompletionTriggerKind:K.CompletionTriggerKind,SignatureHelpTriggerKind:K.SignatureHelpTriggerKind,FoldingRangeKind:b.FoldingRangeKind}}Object.defineProperty(r,"__esModule",{value:!0});var z=e("node_modules/tslib/tslib"),E=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),H=e("node_modules/monaco-editor/esm/vs/editor/common/core/token"),b=z.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),F=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),A=e("node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry"),K=z.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneEnums")),M=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneServices"),x=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchCompile"),N=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/monarch/monarchLexer");r.register=t,r.getLanguages=n,r.getEncodedLanguageId=i,r.onLanguage=o,r.setLanguageConfiguration=s;var O=function(){function e(e){this._actual=e}return e.prototype.getInitialState=function(){return this._actual.getInitialState()},e.prototype.tokenize=function(){throw new Error("Not supported!")},e.prototype.tokenize2=function(e,r){var t=this._actual.tokenizeEncoded(e,r);return new H.TokenizationResult2(t.tokens,t.endState)},e}();r.EncodedTokenizationSupport2Adapter=O;var q=function(){function e(e,r,t){this._standaloneThemeService=e,this._languageIdentifier=r,this._actual=t}return e.prototype.getInitialState=function(){return this._actual.getInitialState()},e.prototype._toClassicTokens=function(e,r,t){for(var n=[],i=0,o=0,s=e.length;s>o;o++){var a=e[o],g=a.startIndex;0===o?g=0:i>g&&(g=i),n[o]=new H.Token(g+t,a.scopes,r),i=g}return n},e.prototype.tokenize=function(e,r,t){var n,i=this._actual.tokenize(e,r),o=this._toClassicTokens(i.tokens,this._languageIdentifier.language,t);return n=i.endState.equals(r)?r:i.endState,new H.TokenizationResult(o,n)},e.prototype._toBinaryTokens=function(e,r){for(var t=this._languageIdentifier.id,n=this._standaloneThemeService.getTheme().tokenTheme,i=[],o=0,s=0,a=0,g=e.length;g>a;a++){var d=e[a],u=n.match(t,d.scopes);if(!(o>0&&i[o-1]===u)){var c=d.startIndex;0===a?c=0:s>c&&(c=s),i[o++]=c+r,i[o++]=u,s=c}}for(var m=new Uint32Array(o),a=0;o>a;a++)m[a]=i[a];return m},e.prototype.tokenize2=function(e,r,t){var n,i=this._actual.tokenize(e,r),o=this._toBinaryTokens(i.tokens,t);return n=i.endState.equals(r)?r:i.endState,new H.TokenizationResult2(o,n)},e}();r.TokenizationSupport2Adapter=q,r.setTokensProvider=d,r.setMonarchTokensProvider=u,r.registerReferenceProvider=c,r.registerRenameProvider=m,r.registerSignatureHelpProvider=v,r.registerHoverProvider=l,r.registerDocumentSymbolProvider=f,r.registerDocumentHighlightProvider=P,r.registerDefinitionProvider=p,r.registerImplementationProvider=y,r.registerTypeDefinitionProvider=S,r.registerCodeLensProvider=R,r.registerCodeActionProvider=h,r.registerDocumentFormattingEditProvider=k,r.registerDocumentRangeFormattingEditProvider=T,r.registerOnTypeFormattingEditProvider=_,r.registerLinkProvider=C,r.registerCompletionItemProvider=I,r.registerColorProvider=L,r.registerFoldingRangeProvider=D,r.createMonacoLanguagesAPI=w});
;/*!node_modules/monaco-editor/esm/vs/editor/editor.api.js*/
define("node_modules/monaco-editor/esm/vs/editor/editor.api",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions"),r=e("node_modules/monaco-editor/esm/vs/editor/common/standalone/standaloneBase"),a=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneEditor"),i=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/standaloneLanguages"),s=self;n.EDITOR_DEFAULTS.wrappingIndent=0,n.EDITOR_DEFAULTS.viewInfo.glyphMargin=!1,n.EDITOR_DEFAULTS.autoIndent=!1;var t=r.createMonacoBaseAPI();t.editor=a.createMonacoEditorAPI(),t.languages=i.createMonacoLanguagesAPI(),o.CancellationTokenSource=t.CancellationTokenSource,o.Emitter=t.Emitter,o.KeyCode=t.KeyCode,o.KeyMod=t.KeyMod,o.Position=t.Position,o.Range=t.Range,o.Selection=t.Selection,o.SelectionDirection=t.SelectionDirection,o.MarkerSeverity=t.MarkerSeverity,o.MarkerTag=t.MarkerTag,o.Uri=t.Uri,o.Token=t.Token,o.editor=t.editor,o.languages=t.languages,s.monaco=t,"undefined"!=typeof s.require&&"function"==typeof s.require.config&&s.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})});
;/*!node_modules/monaco-editor/esm/vs/language/typescript/workerManager.js*/
define("node_modules/monaco-editor/esm/vs/language/typescript/workerManager",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{u(n.next(e))}catch(t){o(t)}}function a(e){try{u(n["throw"](e))}catch(t){o(t)}}function u(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(s,a)}u((n=n.apply(e,t||[])).next())})},n=this&&this.__generator||function(e,t){function r(e){return function(t){return n([e,t])}}function n(r){if(i)throw new TypeError("Generator is already executing.");for(;u;)try{if(i=1,o&&(s=2&r[0]?o["return"]:r[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,r[1])).done)return s;switch(o=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return u.label++,{value:r[1],done:!1};case 5:u.label++,o=r[1],r=[0];continue;case 7:r=u.ops.pop(),u.trys.pop();continue;default:if(s=u.trys,!(s=s.length>0&&s[s.length-1])&&(6===r[0]||2===r[0])){u=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]<s[3])){u.label=r[1];break}if(6===r[0]&&u.label<s[1]){u.label=s[1],s=r;break}if(s&&u.label<s[2]){u.label=s[2],u.ops.push(r);break}s[2]&&u.ops.pop(),u.trys.pop();continue}r=t.call(e,u)}catch(n){r=[6,n],o=0}finally{i=s=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}var i,o,s,a,u={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:r(0),"throw":r(1),"return":r(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},i=function(){function e(e,t){var r=this;this._modeId=e,this._defaults=t,this._worker=null,this._idleCheckInterval=setInterval(function(){return r._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return r._stopWorker()}),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange(function(){return r._updateExtraLibs()})}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()},e.prototype._updateExtraLibs=function(){return r(this,void 0,void 0,function(){var e,t;return n(this,function(r){switch(r.label){case 0:return this._worker?(e=++this._updateExtraLibsToken,[4,this._worker.getProxy()]):[2];case 1:return t=r.sent(),this._updateExtraLibsToken!==e?[2]:(t.updateExtraLibs(this._defaults.getExtraLibs()),[2])}})})},e.prototype._checkIfIdle=function(){if(this._worker){var e=this._defaults.getWorkerMaxIdleTime(),t=Date.now()-this._lastUsedTime;e>0&&t>e&&this._stopWorker()}},e.prototype._getClient=function(){var e=this;if(this._lastUsedTime=Date.now(),!this._client){this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs()}});var t=this._worker.getProxy();this._defaults.getEagerModelSync()&&(t=t.then(function(){return e._worker.withSyncedResources(monaco.editor.getModels().filter(function(t){return t.getModeId()===e._modeId}).map(function(e){return e.uri}))})),this._client=t}return this._client},e.prototype.getLanguageServiceWorker=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n;return this._getClient().then(function(e){n=e}).then(function(){return e._worker.withSyncedResources(t)}).then(function(){return n})},e}();t.WorkerManager=i});
;/*!node_modules/monaco-editor/esm/vs/language/typescript/languageFeatures.js*/
define("node_modules/monaco-editor/esm/vs/language/typescript/languageFeatures",function(e,t){"use strict";function n(e,t){if("string"==typeof e)return e;for(var n=e,r="",o=0;n;){if(o){r+=t;for(var i=0;o>i;i++)r+=" "}r+=n.messageText,o++,n=n.next}return r}function r(e){return e?e.map(function(e){return e.text}).join(""):""}Object.defineProperty(t,"__esModule",{value:!0});var o,i=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=monaco.Uri,s=monaco.Range;!function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(o||(o={}));var u=function(){function e(e){this._worker=e}return e.prototype._positionToOffset=function(e,t){var n=monaco.editor.getModel(e);return n.getOffsetAt(t)},e.prototype._offsetToPosition=function(e,t){var n=monaco.editor.getModel(e);return n.getPositionAt(t)},e.prototype._textSpanToRange=function(e,t){var n=this._offsetToPosition(e,t.start),r=this._offsetToPosition(e,t.start+t.length),o=n.lineNumber,i=n.column,a=r.lineNumber,s=r.column;return{startLineNumber:o,startColumn:i,endLineNumber:a,endColumn:s}},e}();t.Adapter=u;var c=function(e){function t(t,n,r){var o=e.call(this,r)||this;o._defaults=t,o._selector=n,o._disposables=[],o._listener=Object.create(null);var i=function(e){if(e.getModeId()===n){var t,r=e.onDidChangeContent(function(){clearTimeout(t),t=setTimeout(function(){return o._doValidate(e.uri)},500)});o._listener[e.uri.toString()]={dispose:function(){r.dispose(),clearTimeout(t)}},o._doValidate(e.uri)}},a=function(e){monaco.editor.setModelMarkers(e,o._selector,[]);var t=e.uri.toString();o._listener[t]&&(o._listener[t].dispose(),delete o._listener[t])};o._disposables.push(monaco.editor.onDidCreateModel(i)),o._disposables.push(monaco.editor.onWillDisposeModel(a)),o._disposables.push(monaco.editor.onDidChangeModelLanguage(function(e){a(e.model),i(e.model)})),o._disposables.push({dispose:function(){for(var e=0,t=monaco.editor.getModels();e<t.length;e++){var n=t[e];a(n)}}});var s=function(){for(var e=0,t=monaco.editor.getModels();e<t.length;e++){var n=t[e];a(n),i(n)}};return o._disposables.push(o._defaults.onDidChange(s)),o._disposables.push(o._defaults.onDidExtraLibsChange(s)),monaco.editor.getModels().forEach(i),o}return i(t,e),t.prototype.dispose=function(){this._disposables.forEach(function(e){return e&&e.dispose()}),this._disposables=[]},t.prototype._doValidate=function(e){var t=this;this._worker(e).then(function(n){if(!monaco.editor.getModel(e))return null;var r=[],o=t._defaults.getDiagnosticsOptions(),i=o.noSyntaxValidation,a=o.noSemanticValidation;return i||r.push(n.getSyntacticDiagnostics(e.toString())),a||r.push(n.getSemanticDiagnostics(e.toString())),Promise.all(r)}).then(function(n){if(!n||!monaco.editor.getModel(e))return null;var r=n.reduce(function(e,t){return t.concat(e)},[]).map(function(n){return t._convertDiagnostics(e,n)});monaco.editor.setModelMarkers(monaco.editor.getModel(e),t._selector,r)}).then(void 0,function(e){console.error(e)})},t.prototype._convertDiagnostics=function(e,t){var r=this._offsetToPosition(e,t.start),o=r.lineNumber,i=r.column,a=this._offsetToPosition(e,t.start+t.length),s=a.lineNumber,u=a.column;return{severity:monaco.MarkerSeverity.Error,startLineNumber:o,startColumn:i,endLineNumber:s,endColumn:u,message:n(t.messageText,"\n")}},t}(u);t.DiagnostcsAdapter=c;var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"triggerCharacters",{get:function(){return["."]},enumerable:!0,configurable:!0}),t.prototype.provideCompletionItems=function(e,n){var r=e.getWordUntilPosition(n),o=new s(n.lineNumber,r.startColumn,n.lineNumber,r.endColumn),i=e.uri,a=this._positionToOffset(i,n);return this._worker(i).then(function(e){return e.getCompletionsAtPosition(i.toString(),a)}).then(function(r){if(r){var a=r.entries.map(function(r){var a=o;if(r.replacementSpan){var u=e.getPositionAt(r.replacementSpan.start),c=e.getPositionAt(r.replacementSpan.start+r.replacementSpan.length);a=new s(u.lineNumber,u.column,c.lineNumber,c.column)}return{uri:i,position:n,range:a,label:r.name,insertText:r.name,sortText:r.sortText,kind:t.convertKind(r.kind)}});return{suggestions:a}}})},t.prototype.resolveCompletionItem=function(e,n,o){var i=this,a=o,s=a.uri,u=a.position;return this._worker(s).then(function(e){return e.getCompletionEntryDetails(s.toString(),i._positionToOffset(s,u),a.label)}).then(function(e){return e?{uri:s,position:u,label:e.name,kind:t.convertKind(e.kind),detail:r(e.displayParts),documentation:{value:r(e.documentation)}}:a})},t.convertKind=function(e){switch(e){case v.primitiveType:case v.keyword:return monaco.languages.CompletionItemKind.Keyword;case v.variable:case v.localVariable:return monaco.languages.CompletionItemKind.Variable;case v.memberVariable:case v.memberGetAccessor:case v.memberSetAccessor:return monaco.languages.CompletionItemKind.Field;case v.function:case v.memberFunction:case v.constructSignature:case v.callSignature:case v.indexSignature:return monaco.languages.CompletionItemKind.Function;case v.enum:return monaco.languages.CompletionItemKind.Enum;case v.module:return monaco.languages.CompletionItemKind.Module;case v.class:return monaco.languages.CompletionItemKind.Class;case v.interface:return monaco.languages.CompletionItemKind.Interface;case v.warning:return monaco.languages.CompletionItemKind.File}return monaco.languages.CompletionItemKind.Property},t}(u);t.SuggestAdapter=l;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.signatureHelpTriggerCharacters=["(",","],t}return i(t,e),t.prototype.provideSignatureHelp=function(e,t){var n=this,o=e.uri;return this._worker(o).then(function(e){return e.getSignatureHelpItems(o.toString(),n._positionToOffset(o,t))}).then(function(e){if(e){var t={activeSignature:e.selectedItemIndex,activeParameter:e.argumentIndex,signatures:[]};return e.items.forEach(function(e){var n={label:"",documentation:null,parameters:[]};n.label+=r(e.prefixDisplayParts),e.parameters.forEach(function(t,o,i){var a=r(t.displayParts),s={label:a,documentation:r(t.documentation)};n.label+=a,n.parameters.push(s),o<i.length-1&&(n.label+=r(e.separatorDisplayParts))}),n.label+=r(e.suffixDisplayParts),t.signatures.push(n)}),t}})},t}(u);t.SignatureHelpAdapter=m;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.provideHover=function(e,t){var n=this,o=e.uri;return this._worker(o).then(function(e){return e.getQuickInfoAtPosition(o.toString(),n._positionToOffset(o,t))}).then(function(e){if(e){var t=r(e.documentation),i=e.tags?e.tags.map(function(e){var t="*@"+e.name+"*";return e.text?t+(e.text.match(/\r\n|\n/g)?" \n"+e.text:" - "+e.text):t}).join(" \n\n"):"",a=r(e.displayParts);return{range:n._textSpanToRange(o,e.textSpan),contents:[{value:"```js\n"+a+"\n```\n"},{value:t+(i?"\n\n"+i:"")}]}}})},t}(u);t.QuickInfoAdapter=p;var g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.provideDocumentHighlights=function(e,t){var n=this,r=e.uri;return this._worker(r).then(function(e){return e.getOccurrencesAtPosition(r.toString(),n._positionToOffset(r,t))}).then(function(e){return e?e.map(function(e){return{range:n._textSpanToRange(r,e.textSpan),kind:e.isWriteAccess?monaco.languages.DocumentHighlightKind.Write:monaco.languages.DocumentHighlightKind.Text}}):void 0})},t}(u);t.OccurrencesAdapter=g;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.provideDefinition=function(e,t){var n=this,r=e.uri;return this._worker(r).then(function(e){return e.getDefinitionAtPosition(r.toString(),n._positionToOffset(r,t))}).then(function(e){if(e){for(var t=[],r=0,o=e;r<o.length;r++){var i=o[r],s=a.parse(i.fileName);monaco.editor.getModel(s)&&t.push({uri:s,range:n._textSpanToRange(s,i.textSpan)})}return t}})},t}(u);t.DefinitionAdapter=f;var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.provideReferences=function(e,t){var n=this,r=e.uri;return this._worker(r).then(function(e){return e.getReferencesAtPosition(r.toString(),n._positionToOffset(r,t))}).then(function(e){if(e){for(var t=[],r=0,o=e;r<o.length;r++){var i=o[r],s=a.parse(i.fileName);monaco.editor.getModel(s)&&t.push({uri:s,range:n._textSpanToRange(s,i.textSpan)})}return t}})},t}(u);t.ReferenceAdapter=d;var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.provideDocumentSymbols=function(e){var t=this,n=e.uri;return this._worker(n).then(function(e){return e.getNavigationBarItems(n.toString())}).then(function(e){if(e){var r=function(e,o,i){var a={name:o.text,detail:"",kind:b[o.kind]||monaco.languages.SymbolKind.Variable,range:t._textSpanToRange(n,o.spans[0]),selectionRange:t._textSpanToRange(n,o.spans[0]),containerName:i};if(o.childItems&&o.childItems.length>0)for(var s=0,u=o.childItems;s<u.length;s++){var c=u[s];r(e,c,a.name)}e.push(a)},o=[];return e.forEach(function(e){return r(o,e)}),o}})},t}(u);t.OutlineAdapter=h;var v=function(){function e(){}return e.unknown="",e.keyword="keyword",e.script="script",e.module="module",e.class="class",e.interface="interface",e.type="type",e.enum="enum",e.variable="var",e.localVariable="local var",e.function="function",e.localFunction="local function",e.memberFunction="method",e.memberGetAccessor="getter",e.memberSetAccessor="setter",e.memberVariable="property",e.constructorImplementation="constructor",e.callSignature="call",e.indexSignature="index",e.constructSignature="construct",e.parameter="parameter",e.typeParameter="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.const="const",e.let="let",e.warning="warning",e}();t.Kind=v;var b=Object.create(null);b[v.module]=monaco.languages.SymbolKind.Module,b[v.class]=monaco.languages.SymbolKind.Class,b[v.enum]=monaco.languages.SymbolKind.Enum,b[v.interface]=monaco.languages.SymbolKind.Interface,b[v.memberFunction]=monaco.languages.SymbolKind.Method,b[v.memberVariable]=monaco.languages.SymbolKind.Property,b[v.memberGetAccessor]=monaco.languages.SymbolKind.Property,b[v.memberSetAccessor]=monaco.languages.SymbolKind.Property,b[v.variable]=monaco.languages.SymbolKind.Variable,b[v.const]=monaco.languages.SymbolKind.Variable,b[v.localVariable]=monaco.languages.SymbolKind.Variable,b[v.variable]=monaco.languages.SymbolKind.Variable,b[v.function]=monaco.languages.SymbolKind.Function,b[v.localFunction]=monaco.languages.SymbolKind.Function;var y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t._convertOptions=function(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:o.Smart,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}},t.prototype._convertTextChanges=function(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}},t}(u);t.FormatHelper=y;var S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.provideDocumentRangeFormattingEdits=function(e,t,n){var r=this,o=e.uri;return this._worker(o).then(function(e){return e.getFormattingEditsForRange(o.toString(),r._positionToOffset(o,{lineNumber:t.startLineNumber,column:t.startColumn}),r._positionToOffset(o,{lineNumber:t.endLineNumber,column:t.endColumn}),y._convertOptions(n))}).then(function(e){return e?e.map(function(e){return r._convertTextChanges(o,e)}):void 0})},t}(y);t.FormatAdapter=S;var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"autoFormatTriggerCharacters",{get:function(){return[";","}","\n"]},enumerable:!0,configurable:!0}),t.prototype.provideOnTypeFormattingEdits=function(e,t,n,r){var o=this,i=e.uri;return this._worker(i).then(function(e){return e.getFormattingEditsAfterKeystroke(i.toString(),o._positionToOffset(i,t),n,y._convertOptions(r))}).then(function(e){return e?e.map(function(e){return o._convertTextChanges(i,e)}):void 0})},t}(y);t.FormatOnTypeAdapter=_});
;/*!node_modules/monaco-editor/esm/vs/language/typescript/tsMode.js*/
define("node_modules/monaco-editor/esm/vs/language/typescript/tsMode",function(e,r){"use strict";function n(e){s=i(e,"typescript")}function t(e){g=i(e,"javascript")}function o(){return new Promise(function(e,r){return g?void e(g):r("JavaScript not registered!")})}function a(){return new Promise(function(e,r){return s?void e(s):r("TypeScript not registered!")})}function i(e,r){var n=new c.WorkerManager(r,e),t=function(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return n.getLanguageServiceWorker.apply(n,[e].concat(r))};return monaco.languages.registerCompletionItemProvider(r,new d.SuggestAdapter(t)),monaco.languages.registerSignatureHelpProvider(r,new d.SignatureHelpAdapter(t)),monaco.languages.registerHoverProvider(r,new d.QuickInfoAdapter(t)),monaco.languages.registerDocumentHighlightProvider(r,new d.OccurrencesAdapter(t)),monaco.languages.registerDefinitionProvider(r,new d.DefinitionAdapter(t)),monaco.languages.registerReferenceProvider(r,new d.ReferenceAdapter(t)),monaco.languages.registerDocumentSymbolProvider(r,new d.OutlineAdapter(t)),monaco.languages.registerDocumentRangeFormattingEditProvider(r,new d.FormatAdapter(t)),monaco.languages.registerOnTypeFormattingEditProvider(r,new d.FormatOnTypeAdapter(t)),new d.DiagnostcsAdapter(e,r,t),t}Object.defineProperty(r,"__esModule",{value:!0});var g,s,u=e("node_modules/tslib/tslib"),c=e("node_modules/monaco-editor/esm/vs/language/typescript/workerManager"),d=u.__importStar(e("node_modules/monaco-editor/esm/vs/language/typescript/languageFeatures"));r.setupTypeScript=n,r.setupJavaScript=t,r.getJavaScriptWorker=o,r.getTypeScriptWorker=a});
;/*!node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution.js*/
define("node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution",function(e,t){"use strict";function n(){return r().then(function(e){return e.getTypeScriptWorker()})}function i(){return r().then(function(e){return e.getJavaScriptWorker()})}function o(){return{ModuleKind:c,JsxEmit:p,NewLineKind:d,ScriptTarget:l,ModuleResolutionKind:g,typescriptDefaults:f,javascriptDefaults:h,getTypeScriptWorker:n,getJavaScriptWorker:i}}function r(){return Promise.resolve().then(function(){return a(e("node_modules/monaco-editor/esm/vs/language/typescript/tsMode"))})}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0}),e("node_modules/monaco-editor/esm/vs/editor/editor.api");var s=monaco.Emitter,u=function(){function e(e,t){this._onDidChange=new s,this._onDidExtraLibsChange=new s,this._extraLibs=Object.create(null),this._workerMaxIdleTime=12e4,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!0,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var n=this;if("undefined"==typeof t&&(t="ts:extralib-"+Math.random().toString(36).substring(2,15)),this._extraLibs[t]&&this._extraLibs[t].content===e)return{dispose:function(){}};var i=1;return this._extraLibs[t]&&(i=this._extraLibs[t].version+1),this._extraLibs[t]={content:e,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=n._extraLibs[t];e&&e.version===i&&(delete n._extraLibs[t],n._fireOnDidExtraLibsChangeSoon())}}},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout(function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)},0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){this._workerMaxIdleTime=e},e.prototype.getWorkerMaxIdleTime=function(){return this._workerMaxIdleTime},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}();t.LanguageServiceDefaultsImpl=u;var c;!function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=6]="ESNext"}(c||(c={}));var p;!function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(p||(p={}));var d;!function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(d||(d={}));var l;!function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ESNext=6]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=6]="Latest"}(l||(l={}));var g;!function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(g||(g={}));var f=new u({allowNonTsExtensions:!0,target:l.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1}),h=new u({allowNonTsExtensions:!0,allowJs:!0,target:l.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1});monaco.languages.typescript=o(),monaco.languages.onLanguage("typescript",function(){return r().then(function(e){return e.setupTypeScript(f)})}),monaco.languages.onLanguage("javascript",function(){return r().then(function(e){return e.setupJavaScript(h)})})});
;/*!node_modules/monaco-editor/esm/vs/language/css/workerManager.js*/
define("node_modules/monaco-editor/esm/vs/language/css/workerManager",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=12e4,r=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval(function(){return t._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return t._stopWorker()})}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){if(this._worker){var e=Date.now()-this._lastUsedTime;e>n&&this._stopWorker()}},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r;return this._getClient().then(function(e){r=e}).then(function(){return e._worker.withSyncedResources(t)}).then(function(){return r})},e}();t.WorkerManager=r});
;/*!node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main.js*/
define("node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){function n(e,n){return{line:e,character:n}}function t(e){var n=e;return a.objectLiteral(n)&&a.number(n.line)&&a.number(n.character)}e.create=n,e.is=t}(n.Position||(n.Position={})),function(e){function t(e,t,i,r){if(a.number(e)&&a.number(t)&&a.number(i)&&a.number(r))return{start:n.Position.create(e,t),end:n.Position.create(i,r)};if(n.Position.is(e)&&n.Position.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+i+", "+r+"]")}function i(e){var t=e;return a.objectLiteral(t)&&n.Position.is(t.start)&&n.Position.is(t.end)}e.create=t,e.is=i}(n.Range||(n.Range={})),function(e){function t(e,n){return{uri:e,range:n}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.string(t.uri)||a.undefined(t.uri))}e.create=t,e.is=i}(n.Location||(n.Location={})),function(e){function t(e,n,t,i){return{targetUri:e,targetRange:n,targetSelectionRange:t,originSelectionRange:i}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.targetRange)&&a.string(t.targetUri)&&(n.Range.is(t.targetSelectionRange)||a.undefined(t.targetSelectionRange))&&(n.Range.is(t.originSelectionRange)||a.undefined(t.originSelectionRange))}e.create=t,e.is=i}(n.LocationLink||(n.LocationLink={})),function(e){function n(e,n,t,i){return{red:e,green:n,blue:t,alpha:i}}function t(e){var n=e;return a.number(n.red)&&a.number(n.green)&&a.number(n.blue)&&a.number(n.alpha)}e.create=n,e.is=t}(n.Color||(n.Color={})),function(e){function t(e,n){return{range:e,color:n}}function i(e){var t=e;return n.Range.is(t.range)&&n.Color.is(t.color)}e.create=t,e.is=i}(n.ColorInformation||(n.ColorInformation={})),function(e){function t(e,n,t){return{label:e,textEdit:n,additionalTextEdits:t}}function i(e){var t=e;return a.string(t.label)&&(a.undefined(t.textEdit)||n.TextEdit.is(t))&&(a.undefined(t.additionalTextEdits)||a.typedArray(t.additionalTextEdits,n.TextEdit.is))}e.create=t,e.is=i}(n.ColorPresentation||(n.ColorPresentation={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(n.FoldingRangeKind||(n.FoldingRangeKind={})),function(e){function n(e,n,t,i,r){var o={startLine:e,endLine:n};return a.defined(t)&&(o.startCharacter=t),a.defined(i)&&(o.endCharacter=i),a.defined(r)&&(o.kind=r),o}function t(e){var n=e;return a.number(n.startLine)&&a.number(n.startLine)&&(a.undefined(n.startCharacter)||a.number(n.startCharacter))&&(a.undefined(n.endCharacter)||a.number(n.endCharacter))&&(a.undefined(n.kind)||a.string(n.kind))}e.create=n,e.is=t}(n.FoldingRange||(n.FoldingRange={})),function(e){function t(e,n){return{location:e,message:n}}function i(e){var t=e;return a.defined(t)&&n.Location.is(t.location)&&a.string(t.message)}e.create=t,e.is=i}(n.DiagnosticRelatedInformation||(n.DiagnosticRelatedInformation={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(n.DiagnosticSeverity||(n.DiagnosticSeverity={})),function(e){function t(e,n,t,i,r,o){var u={range:e,message:n};return a.defined(t)&&(u.severity=t),a.defined(i)&&(u.code=i),a.defined(r)&&(u.source=r),a.defined(o)&&(u.relatedInformation=o),u}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&a.string(t.message)&&(a.number(t.severity)||a.undefined(t.severity))&&(a.number(t.code)||a.string(t.code)||a.undefined(t.code))&&(a.string(t.source)||a.undefined(t.source))&&(a.undefined(t.relatedInformation)||a.typedArray(t.relatedInformation,n.DiagnosticRelatedInformation.is))}e.create=t,e.is=i}(n.Diagnostic||(n.Diagnostic={})),function(e){function n(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];var r={title:e,command:n};return a.defined(t)&&t.length>0&&(r.arguments=t),r}function t(e){var n=e;return a.defined(n)&&a.string(n.title)&&a.string(n.command)}e.create=n,e.is=t}(n.Command||(n.Command={})),function(e){function t(e,n){return{range:e,newText:n}}function i(e,n){return{range:{start:e,end:e},newText:n}}function r(e){return{range:e,newText:""}}function o(e){var t=e;return a.objectLiteral(t)&&a.string(t.newText)&&n.Range.is(t.range)}e.replace=t,e.insert=i,e.del=r,e.is=o}(n.TextEdit||(n.TextEdit={})),function(e){function t(e,n){return{textDocument:e,edits:n}}function i(e){var t=e;return a.defined(t)&&n.VersionedTextDocumentIdentifier.is(t.textDocument)&&Array.isArray(t.edits)}e.create=t,e.is=i}(n.TextDocumentEdit||(n.TextDocumentEdit={})),function(e){function n(e,n){var t={kind:"create",uri:e};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(t.options=n),t}function t(e){var n=e;return n&&"create"===n.kind&&a.string(n.uri)&&(void 0===n.options||(void 0===n.options.overwrite||a.boolean(n.options.overwrite))&&(void 0===n.options.ignoreIfExists||a.boolean(n.options.ignoreIfExists)))}e.create=n,e.is=t}(n.CreateFile||(n.CreateFile={})),function(e){function n(e,n,t){var i={kind:"rename",oldUri:e,newUri:n};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(i.options=t),i}function t(e){var n=e;return n&&"rename"===n.kind&&a.string(n.oldUri)&&a.string(n.newUri)&&(void 0===n.options||(void 0===n.options.overwrite||a.boolean(n.options.overwrite))&&(void 0===n.options.ignoreIfExists||a.boolean(n.options.ignoreIfExists)))}e.create=n,e.is=t}(n.RenameFile||(n.RenameFile={})),function(e){function n(e,n){var t={kind:"delete",uri:e};return void 0===n||void 0===n.recursive&&void 0===n.ignoreIfNotExists||(t.options=n),t}function t(e){var n=e;return n&&"delete"===n.kind&&a.string(n.uri)&&(void 0===n.options||(void 0===n.options.recursive||a.boolean(n.options.recursive))&&(void 0===n.options.ignoreIfNotExists||a.boolean(n.options.ignoreIfNotExists)))}e.create=n,e.is=t}(n.DeleteFile||(n.DeleteFile={})),function(e){function t(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every(function(e){return a.string(e.kind)?n.CreateFile.is(e)||n.RenameFile.is(e)||n.DeleteFile.is(e):n.TextDocumentEdit.is(e)}))}e.is=t}(n.WorkspaceEdit||(n.WorkspaceEdit={}));var t=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(n.TextEdit.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(n.TextEdit.replace(e,t))},e.prototype.delete=function(e){this.edits.push(n.TextEdit.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),i=function(){function e(e){var i=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach(function(e){if(n.TextDocumentEdit.is(e)){var r=new t(e.edits);i._textEditChanges[e.textDocument.uri]=r}}):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new t(e.changes[n]);i._textEditChanges[n]=r}))}return Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(n.VersionedTextDocumentIdentifier.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i=e,r=this._textEditChanges[i.uri];if(!r){var o=[],a={textDocument:i,edits:o};this._workspaceEdit.documentChanges.push(a),r=new t(o),this._textEditChanges[i.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[e];if(!r){var o=[];this._workspaceEdit.changes[e]=o,r=new t(o),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.CreateFile.create(e,t))},e.prototype.renameFile=function(e,t,i){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.RenameFile.create(e,t,i))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.DeleteFile.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")},e}();n.WorkspaceChange=i,function(e){function n(e){return{uri:e}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)}e.create=n,e.is=t}(n.TextDocumentIdentifier||(n.TextDocumentIdentifier={})),function(e){function n(e,n){return{uri:e,version:n}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&(null===n.version||a.number(n.version))}e.create=n,e.is=t}(n.VersionedTextDocumentIdentifier||(n.VersionedTextDocumentIdentifier={})),function(e){function n(e,n,t,i){return{uri:e,languageId:n,version:t,text:i}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&a.string(n.languageId)&&a.number(n.version)&&a.string(n.text)}e.create=n,e.is=t}(n.TextDocumentItem||(n.TextDocumentItem={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(n.MarkupKind||(n.MarkupKind={})),function(e){function n(n){var t=n;return t===e.PlainText||t===e.Markdown}e.is=n}(n.MarkupKind||(n.MarkupKind={})),function(e){function t(e){var t=e;return a.objectLiteral(e)&&n.MarkupKind.is(t.kind)&&a.string(t.value)}e.is=t}(n.MarkupContent||(n.MarkupContent={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(n.CompletionItemKind||(n.CompletionItemKind={})),function(e){e.PlainText=1,e.Snippet=2}(n.InsertTextFormat||(n.InsertTextFormat={})),function(e){function n(e){return{label:e}}e.create=n}(n.CompletionItem||(n.CompletionItem={})),function(e){function n(e,n){return{items:e?e:[],isIncomplete:!!n}}e.create=n}(n.CompletionList||(n.CompletionList={})),function(e){function n(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function t(e){var n=e;return a.string(n)||a.objectLiteral(n)&&a.string(n.language)&&a.string(n.value)}e.fromPlainText=n,e.is=t}(n.MarkedString||(n.MarkedString={})),function(e){function t(e){var t=e;return!!t&&a.objectLiteral(t)&&(n.MarkupContent.is(t.contents)||n.MarkedString.is(t.contents)||a.typedArray(t.contents,n.MarkedString.is))&&(void 0===e.range||n.Range.is(e.range))}e.is=t}(n.Hover||(n.Hover={})),function(e){function n(e,n){return n?{label:e,documentation:n}:{label:e}}e.create=n}(n.ParameterInformation||(n.ParameterInformation={})),function(e){function n(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];var r={label:e};return a.defined(n)&&(r.documentation=n),r.parameters=a.defined(t)?t:[],r}e.create=n}(n.SignatureInformation||(n.SignatureInformation={})),function(e){e.Text=1,e.Read=2,e.Write=3}(n.DocumentHighlightKind||(n.DocumentHighlightKind={})),function(e){function n(e,n){var t={range:e};return a.number(n)&&(t.kind=n),t}e.create=n}(n.DocumentHighlight||(n.DocumentHighlight={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(n.SymbolKind||(n.SymbolKind={})),function(e){function n(e,n,t,i,r){var o={name:e,kind:n,location:{uri:i,range:t}};return r&&(o.containerName=r),o}e.create=n}(n.SymbolInformation||(n.SymbolInformation={}));var r=function(){function e(){}return e}();n.DocumentSymbol=r,function(e){function t(e,n,t,i,r,o){var a={name:e,detail:n,kind:t,range:i,selectionRange:r};return void 0!==o&&(a.children=o),a}function i(e){var t=e;return t&&a.string(t.name)&&a.number(t.kind)&&n.Range.is(t.range)&&n.Range.is(t.selectionRange)&&(void 0===t.detail||a.string(t.detail))&&(void 0===t.deprecated||a.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}e.create=t,e.is=i}(r||(n.DocumentSymbol=r={})),function(e){e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports"}(n.CodeActionKind||(n.CodeActionKind={})),function(e){function t(e,n){var t={diagnostics:e};return void 0!==n&&null!==n&&(t.only=n),t}function i(e){var t=e;return a.defined(t)&&a.typedArray(t.diagnostics,n.Diagnostic.is)&&(void 0===t.only||a.typedArray(t.only,a.string))}e.create=t,e.is=i}(n.CodeActionContext||(n.CodeActionContext={})),function(e){function t(e,t,i){var r={title:e};return n.Command.is(t)?r.command=t:r.edit=t,void 0!==i&&(r.kind=i),r}function i(e){var t=e;return!(!t||!a.string(t.title)||void 0!==t.diagnostics&&!a.typedArray(t.diagnostics,n.Diagnostic.is)||void 0!==t.kind&&!a.string(t.kind)||void 0===t.edit&&void 0===t.command||void 0!==t.command&&!n.Command.is(t.command)||void 0!==t.edit&&!n.WorkspaceEdit.is(t.edit))}e.create=t,e.is=i}(n.CodeAction||(n.CodeAction={})),function(e){function t(e,n){var t={range:e};return a.defined(n)&&(t.data=n),t}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.undefined(t.command)||n.Command.is(t.command))}e.create=t,e.is=i}(n.CodeLens||(n.CodeLens={})),function(e){function n(e,n){return{tabSize:e,insertSpaces:n}}function t(e){var n=e;return a.defined(n)&&a.number(n.tabSize)&&a.boolean(n.insertSpaces)}e.create=n,e.is=t}(n.FormattingOptions||(n.FormattingOptions={}));var o=function(){function e(){}return e}();n.DocumentLink=o,function(e){function t(e,n,t){return{range:e,target:n,data:t}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.undefined(t.target)||a.string(t.target))}e.create=t,e.is=i}(o||(n.DocumentLink=o={})),n.EOL=["\n","\r\n","\r"],function(e){function n(e,n,t,i){return new u(e,n,t,i)}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&(a.undefined(n.languageId)||a.string(n.languageId))&&a.number(n.lineCount)&&a.func(n.getText)&&a.func(n.positionAt)&&a.func(n.offsetAt)?!0:!1}function i(e,n){for(var t=e.getText(),i=r(n,function(e,n){var t=e.range.start.line-n.range.start.line;return 0===t?e.range.start.character-n.range.start.character:t}),o=t.length,a=i.length-1;a>=0;a--){var u=i[a],c=e.offsetAt(u.range.start),s=e.offsetAt(u.range.end);if(!(o>=s))throw new Error("Overlapping edit");t=t.substring(0,c)+u.newText+t.substring(s,t.length),o=c}return t}function r(e,n){if(e.length<=1)return e;var t=e.length/2|0,i=e.slice(0,t),o=e.slice(t);r(i,n),r(o,n);for(var a=0,u=0,c=0;a<i.length&&u<o.length;){var s=n(i[a],o[u]);e[c++]=0>=s?i[a++]:o[u++]}for(;a<i.length;)e[c++]=i[a++];for(;u<o.length;)e[c++]=o[u++];return e}e.create=n,e.is=t,e.applyEdits=i}(n.TextDocument||(n.TextDocument={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(n.TextDocumentSaveReason||(n.TextDocumentSaveReason={}));var a,u=function(){function e(e,n,t,i){this._uri=e,this._languageId=n,this._version=t,this._content=i,this._lineOffsets=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var n=this.offsetAt(e.start),t=this.offsetAt(e.end);return this._content.substring(n,t)}return this._content},e.prototype.update=function(e,n){this._content=e.text,this._version=n,this._lineOffsets=null},e.prototype.getLineOffsets=function(){if(null===this._lineOffsets){for(var e=[],n=this._content,t=!0,i=0;i<n.length;i++){t&&(e.push(i),t=!1);var r=n.charAt(i);t="\r"===r||"\n"===r,"\r"===r&&i+1<n.length&&"\n"===n.charAt(i+1)&&i++}t&&n.length>0&&e.push(n.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),i=0,r=t.length;if(0===r)return n.Position.create(0,e);for(;r>i;){var o=Math.floor((i+r)/2);t[o]>e?r=o:i=o+1}var a=i-1;return n.Position.create(a,e-t[a])},e.prototype.offsetAt=function(e){var n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;var t=n[e.line],i=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(t+e.character,i),t)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){function n(e){return"undefined"!=typeof e}function t(e){return"undefined"==typeof e}function i(e){return e===!0||e===!1}function r(e){return"[object String]"===s.call(e)}function o(e){return"[object Number]"===s.call(e)}function a(e){return"[object Function]"===s.call(e)}function u(e){return null!==e&&"object"==typeof e}function c(e,n){return Array.isArray(e)&&e.every(n)}var s=Object.prototype.toString;e.defined=n,e.undefined=t,e.boolean=i,e.string=r,e.number=o,e.func=a,e.objectLiteral=u,e.typedArray=c}(a||(a={}))});
;/*!node_modules/monaco-editor/esm/vs/language/css/languageFeatures.js*/
define("node_modules/monaco-editor/esm/vs/language/css/languageFeatures",function(e,n){"use strict";function t(e){switch(e){case y.DiagnosticSeverity.Error:return monaco.MarkerSeverity.Error;case y.DiagnosticSeverity.Warning:return monaco.MarkerSeverity.Warning;case y.DiagnosticSeverity.Information:return monaco.MarkerSeverity.Info;case y.DiagnosticSeverity.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function r(e,n){var r="number"==typeof n.code?String(n.code):n.code;return{severity:t(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:r,source:n.source}}function o(e){return e?{character:e.column-1,line:e.lineNumber-1}:void 0}function i(e){return e?{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}:void 0}function a(e){return e?new monaco.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1):void 0}function u(e){var n=monaco.languages.CompletionItemKind;switch(e){case y.CompletionItemKind.Text:return n.Text;case y.CompletionItemKind.Method:return n.Method;case y.CompletionItemKind.Function:return n.Function;case y.CompletionItemKind.Constructor:return n.Constructor;case y.CompletionItemKind.Field:return n.Field;case y.CompletionItemKind.Variable:return n.Variable;case y.CompletionItemKind.Class:return n.Class;case y.CompletionItemKind.Interface:return n.Interface;case y.CompletionItemKind.Module:return n.Module;case y.CompletionItemKind.Property:return n.Property;case y.CompletionItemKind.Unit:return n.Unit;case y.CompletionItemKind.Value:return n.Value;case y.CompletionItemKind.Enum:return n.Enum;case y.CompletionItemKind.Keyword:return n.Keyword;case y.CompletionItemKind.Snippet:return n.Snippet;case y.CompletionItemKind.Color:return n.Color;case y.CompletionItemKind.File:return n.File;case y.CompletionItemKind.Reference:return n.Reference}return n.Property}function c(e){return e?{range:a(e.range),text:e.newText}:void 0}function s(e){return e&&"object"==typeof e&&"string"==typeof e.kind}function d(e){return"string"==typeof e?{value:e}:s(e)?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}function l(e){return e?Array.isArray(e)?e.map(d):[d(e)]:void 0}function m(e){switch(e){case y.DocumentHighlightKind.Read:return monaco.languages.DocumentHighlightKind.Read;case y.DocumentHighlightKind.Write:return monaco.languages.DocumentHighlightKind.Write;case y.DocumentHighlightKind.Text:return monaco.languages.DocumentHighlightKind.Text}return monaco.languages.DocumentHighlightKind.Text}function g(e){return{uri:b.parse(e.uri),range:a(e.range)}}function p(e){if(!e||!e.changes)return void 0;var n=[];for(var t in e.changes){for(var r=[],o=0,i=e.changes[t];o<i.length;o++){var u=i[o];r.push({range:a(u.range),text:u.newText})}n.push({resource:b.parse(t),edits:r})}return{edits:n}}function f(e){var n=monaco.languages.SymbolKind;switch(e){case y.SymbolKind.File:return n.Array;case y.SymbolKind.Module:return n.Module;case y.SymbolKind.Namespace:return n.Namespace;case y.SymbolKind.Package:return n.Package;case y.SymbolKind.Class:return n.Class;case y.SymbolKind.Method:return n.Method;case y.SymbolKind.Property:return n.Property;case y.SymbolKind.Field:return n.Field;case y.SymbolKind.Constructor:return n.Constructor;case y.SymbolKind.Enum:return n.Enum;case y.SymbolKind.Interface:return n.Interface;case y.SymbolKind.Function:return n.Function;case y.SymbolKind.Variable:return n.Variable;case y.SymbolKind.Constant:return n.Constant;case y.SymbolKind.String:return n.String;case y.SymbolKind.Number:return n.Number;case y.SymbolKind.Boolean:return n.Boolean;case y.SymbolKind.Array:return n.Array}return n.Function}function h(e){switch(e){case y.FoldingRangeKind.Comment:return monaco.languages.FoldingRangeKind.Comment;case y.FoldingRangeKind.Imports:return monaco.languages.FoldingRangeKind.Imports;case y.FoldingRangeKind.Region:return monaco.languages.FoldingRangeKind.Region}return void 0}Object.defineProperty(n,"__esModule",{value:!0});var v=e("node_modules/tslib/tslib"),y=v.__importStar(e("node_modules/monaco-editor/esm/vs/language/css/_deps/vscode-languageserver-types/main")),b=monaco.Uri,C=monaco.Range,K=function(){function e(e,n,t){var r=this;this._languageId=e,this._worker=n,this._disposables=[],this._listener=Object.create(null);var o=function(e){var n=e.getModeId();if(n===r._languageId){var t;r._listener[e.uri.toString()]=e.onDidChangeContent(function(){clearTimeout(t),t=setTimeout(function(){return r._doValidate(e.uri,n)},500)}),r._doValidate(e.uri,n)}},i=function(e){monaco.editor.setModelMarkers(e,r._languageId,[]);var n=e.uri.toString(),t=r._listener[n];t&&(t.dispose(),delete r._listener[n])};this._disposables.push(monaco.editor.onDidCreateModel(o)),this._disposables.push(monaco.editor.onWillDisposeModel(i)),this._disposables.push(monaco.editor.onDidChangeModelLanguage(function(e){i(e.model),o(e.model)})),t.onDidChange(function(){monaco.editor.getModels().forEach(function(e){e.getModeId()===r._languageId&&(i(e),o(e))})}),this._disposables.push({dispose:function(){for(var e in r._listener)r._listener[e].dispose()}}),monaco.editor.getModels().forEach(o)}return e.prototype.dispose=function(){this._disposables.forEach(function(e){return e&&e.dispose()}),this._disposables=[]},e.prototype._doValidate=function(e,n){this._worker(e).then(function(n){return n.doValidation(e.toString())}).then(function(t){var o=t.map(function(n){return r(e,n)}),i=monaco.editor.getModel(e);i.getModeId()===n&&monaco.editor.setModelMarkers(i,n,o)}).then(void 0,function(e){console.error(e)})},e}();n.DiagnosticsAdapter=K;var S=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.doComplete(t.toString(),o(n))}).then(function(t){if(t){var r=e.getWordUntilPosition(n),o=new C(n.lineNumber,r.startColumn,n.lineNumber,r.endColumn),i=t.items.map(function(e){var n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:o,kind:u(e.kind)};return e.textEdit&&(n.range=a(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(c)),e.insertTextFormat===y.InsertTextFormat.Snippet&&(n.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),n});return{isIncomplete:t.isIncomplete,suggestions:i}}})},e}();n.CompletionAdapter=S;var _=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.doHover(t.toString(),o(n))}).then(function(e){return e?{range:a(e.range),contents:l(e.contents)}:void 0})},e}();n.HoverAdapter=_;var I=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.findDocumentHighlights(t.toString(),o(n))}).then(function(e){return e?e.map(function(e){return{range:a(e.range),kind:m(e.kind)}}):void 0})},e}();n.DocumentHighlightAdapter=I;var k=function(){function e(e){this._worker=e}return e.prototype.provideDefinition=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.findDefinition(t.toString(),o(n))}).then(function(e){return e?[g(e)]:void 0})},e}();n.DefinitionAdapter=k;var x=function(){function e(e){this._worker=e}return e.prototype.provideReferences=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.findReferences(t.toString(),o(n))}).then(function(e){return e?e.map(g):void 0})},e}();n.ReferenceAdapter=x;var w=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,n,t){var r=e.uri;return this._worker(r).then(function(e){return e.doRename(r.toString(),o(n),t)}).then(function(e){return p(e)})},e}();n.RenameAdapter=w;var D=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e){var n=e.uri;return this._worker(n).then(function(e){return e.findDocumentSymbols(n.toString())}).then(function(e){return e?e.map(function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:f(e.kind),range:a(e.location.range),selectionRange:a(e.location.range)}}):void 0})},e}();n.DocumentSymbolAdapter=D;var M=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e){var n=e.uri;return this._worker(n).then(function(e){return e.findDocumentColors(n.toString())}).then(function(e){return e?e.map(function(e){return{color:e.color,range:a(e.range)}}):void 0})},e.prototype.provideColorPresentations=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.getColorPresentations(t.toString(),n.color,i(n.range))}).then(function(e){return e?e.map(function(e){var n={label:e.label};return e.textEdit&&(n.textEdit=c(e.textEdit)),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(c)),n}):void 0})},e}();n.DocumentColorAdapter=M;var T=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.provideFoldingRanges(t.toString(),n)}).then(function(e){return e?e.map(function(e){var n={start:e.startLine+1,end:e.endLine+1};return"undefined"!=typeof e.kind&&(n.kind=h(e.kind)),n}):void 0})},e}();n.FoldingRangeAdapter=T});
;/*!node_modules/monaco-editor/esm/vs/language/css/cssMode.js*/
define("node_modules/monaco-editor/esm/vs/language/css/cssMode",function(e,o){"use strict";function r(e){var o=new a.WorkerManager(e),r=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return o.getLanguageServiceWorker.apply(o,[e].concat(r))},n=e.languageId;monaco.languages.registerCompletionItemProvider(n,new g.CompletionAdapter(r)),monaco.languages.registerHoverProvider(n,new g.HoverAdapter(r)),monaco.languages.registerDocumentHighlightProvider(n,new g.DocumentHighlightAdapter(r)),monaco.languages.registerDefinitionProvider(n,new g.DefinitionAdapter(r)),monaco.languages.registerReferenceProvider(n,new g.ReferenceAdapter(r)),monaco.languages.registerDocumentSymbolProvider(n,new g.DocumentSymbolAdapter(r)),monaco.languages.registerRenameProvider(n,new g.RenameAdapter(r)),monaco.languages.registerColorProvider(n,new g.DocumentColorAdapter(r)),monaco.languages.registerFoldingRangeProvider(n,new g.FoldingRangeAdapter(r)),new g.DiagnosticsAdapter(n,r,e)}Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),a=e("node_modules/monaco-editor/esm/vs/language/css/workerManager"),g=n.__importStar(e("node_modules/monaco-editor/esm/vs/language/css/languageFeatures"));o.setupMode=r});
;/*!node_modules/monaco-editor/esm/vs/language/css/monaco.contribution.js*/
define("node_modules/monaco-editor/esm/vs/language/css/monaco.contribution",function(e,n){"use strict";function o(){return{cssDefaults:u,lessDefaults:g,scssDefaults:c}}function t(){return Promise.resolve().then(function(){return r(e("node_modules/monaco-editor/esm/vs/language/css/cssMode"))})}var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0}),e("node_modules/monaco-editor/esm/vs/editor/editor.api");var i=monaco.Emitter,s=function(){function e(e,n){this._onDidChange=new i,this._languageId=e,this.setDiagnosticsOptions(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e}();n.LanguageServiceDefaultsImpl=s;var a={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore","float":"ignore",idSelector:"ignore"}},u=new s("css",a),c=new s("scss",a),g=new s("less",a);monaco.languages.css=o(),monaco.languages.onLanguage("less",function(){t().then(function(e){return e.setupMode(g)})}),monaco.languages.onLanguage("scss",function(){t().then(function(e){return e.setupMode(c)})}),monaco.languages.onLanguage("css",function(){t().then(function(e){return e.setupMode(u)})})});
;/*!node_modules/monaco-editor/esm/vs/language/json/workerManager.js*/
define("node_modules/monaco-editor/esm/vs/language/json/workerManager",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=12e4,r=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval(function(){return t._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return t._stopWorker()})}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){if(this._worker){var e=Date.now()-this._lastUsedTime;e>n&&this._stopWorker()}},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r;return this._getClient().then(function(e){r=e}).then(function(){return e._worker.withSyncedResources(t)}).then(function(){return r})},e}();t.WorkerManager=r});
;/*!node_modules/monaco-editor/esm/vs/language/json/_deps/vscode-languageserver-types/main.js*/
define("node_modules/monaco-editor/esm/vs/language/json/_deps/vscode-languageserver-types/main",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){function n(e,n){return{line:e,character:n}}function t(e){var n=e;return a.objectLiteral(n)&&a.number(n.line)&&a.number(n.character)}e.create=n,e.is=t}(n.Position||(n.Position={})),function(e){function t(e,t,i,r){if(a.number(e)&&a.number(t)&&a.number(i)&&a.number(r))return{start:n.Position.create(e,t),end:n.Position.create(i,r)};if(n.Position.is(e)&&n.Position.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+i+", "+r+"]")}function i(e){var t=e;return a.objectLiteral(t)&&n.Position.is(t.start)&&n.Position.is(t.end)}e.create=t,e.is=i}(n.Range||(n.Range={})),function(e){function t(e,n){return{uri:e,range:n}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.string(t.uri)||a.undefined(t.uri))}e.create=t,e.is=i}(n.Location||(n.Location={})),function(e){function t(e,n,t,i){return{targetUri:e,targetRange:n,targetSelectionRange:t,originSelectionRange:i}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.targetRange)&&a.string(t.targetUri)&&(n.Range.is(t.targetSelectionRange)||a.undefined(t.targetSelectionRange))&&(n.Range.is(t.originSelectionRange)||a.undefined(t.originSelectionRange))}e.create=t,e.is=i}(n.LocationLink||(n.LocationLink={})),function(e){function n(e,n,t,i){return{red:e,green:n,blue:t,alpha:i}}function t(e){var n=e;return a.number(n.red)&&a.number(n.green)&&a.number(n.blue)&&a.number(n.alpha)}e.create=n,e.is=t}(n.Color||(n.Color={})),function(e){function t(e,n){return{range:e,color:n}}function i(e){var t=e;return n.Range.is(t.range)&&n.Color.is(t.color)}e.create=t,e.is=i}(n.ColorInformation||(n.ColorInformation={})),function(e){function t(e,n,t){return{label:e,textEdit:n,additionalTextEdits:t}}function i(e){var t=e;return a.string(t.label)&&(a.undefined(t.textEdit)||n.TextEdit.is(t))&&(a.undefined(t.additionalTextEdits)||a.typedArray(t.additionalTextEdits,n.TextEdit.is))}e.create=t,e.is=i}(n.ColorPresentation||(n.ColorPresentation={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(n.FoldingRangeKind||(n.FoldingRangeKind={})),function(e){function n(e,n,t,i,r){var o={startLine:e,endLine:n};return a.defined(t)&&(o.startCharacter=t),a.defined(i)&&(o.endCharacter=i),a.defined(r)&&(o.kind=r),o}function t(e){var n=e;return a.number(n.startLine)&&a.number(n.startLine)&&(a.undefined(n.startCharacter)||a.number(n.startCharacter))&&(a.undefined(n.endCharacter)||a.number(n.endCharacter))&&(a.undefined(n.kind)||a.string(n.kind))}e.create=n,e.is=t}(n.FoldingRange||(n.FoldingRange={})),function(e){function t(e,n){return{location:e,message:n}}function i(e){var t=e;return a.defined(t)&&n.Location.is(t.location)&&a.string(t.message)}e.create=t,e.is=i}(n.DiagnosticRelatedInformation||(n.DiagnosticRelatedInformation={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(n.DiagnosticSeverity||(n.DiagnosticSeverity={})),function(e){function t(e,n,t,i,r,o){var u={range:e,message:n};return a.defined(t)&&(u.severity=t),a.defined(i)&&(u.code=i),a.defined(r)&&(u.source=r),a.defined(o)&&(u.relatedInformation=o),u}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&a.string(t.message)&&(a.number(t.severity)||a.undefined(t.severity))&&(a.number(t.code)||a.string(t.code)||a.undefined(t.code))&&(a.string(t.source)||a.undefined(t.source))&&(a.undefined(t.relatedInformation)||a.typedArray(t.relatedInformation,n.DiagnosticRelatedInformation.is))}e.create=t,e.is=i}(n.Diagnostic||(n.Diagnostic={})),function(e){function n(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];var r={title:e,command:n};return a.defined(t)&&t.length>0&&(r.arguments=t),r}function t(e){var n=e;return a.defined(n)&&a.string(n.title)&&a.string(n.command)}e.create=n,e.is=t}(n.Command||(n.Command={})),function(e){function t(e,n){return{range:e,newText:n}}function i(e,n){return{range:{start:e,end:e},newText:n}}function r(e){return{range:e,newText:""}}function o(e){var t=e;return a.objectLiteral(t)&&a.string(t.newText)&&n.Range.is(t.range)}e.replace=t,e.insert=i,e.del=r,e.is=o}(n.TextEdit||(n.TextEdit={})),function(e){function t(e,n){return{textDocument:e,edits:n}}function i(e){var t=e;return a.defined(t)&&n.VersionedTextDocumentIdentifier.is(t.textDocument)&&Array.isArray(t.edits)}e.create=t,e.is=i}(n.TextDocumentEdit||(n.TextDocumentEdit={})),function(e){function n(e,n){var t={kind:"create",uri:e};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(t.options=n),t}function t(e){var n=e;return n&&"create"===n.kind&&a.string(n.uri)&&(void 0===n.options||(void 0===n.options.overwrite||a.boolean(n.options.overwrite))&&(void 0===n.options.ignoreIfExists||a.boolean(n.options.ignoreIfExists)))}e.create=n,e.is=t}(n.CreateFile||(n.CreateFile={})),function(e){function n(e,n,t){var i={kind:"rename",oldUri:e,newUri:n};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(i.options=t),i}function t(e){var n=e;return n&&"rename"===n.kind&&a.string(n.oldUri)&&a.string(n.newUri)&&(void 0===n.options||(void 0===n.options.overwrite||a.boolean(n.options.overwrite))&&(void 0===n.options.ignoreIfExists||a.boolean(n.options.ignoreIfExists)))}e.create=n,e.is=t}(n.RenameFile||(n.RenameFile={})),function(e){function n(e,n){var t={kind:"delete",uri:e};return void 0===n||void 0===n.recursive&&void 0===n.ignoreIfNotExists||(t.options=n),t}function t(e){var n=e;return n&&"delete"===n.kind&&a.string(n.uri)&&(void 0===n.options||(void 0===n.options.recursive||a.boolean(n.options.recursive))&&(void 0===n.options.ignoreIfNotExists||a.boolean(n.options.ignoreIfNotExists)))}e.create=n,e.is=t}(n.DeleteFile||(n.DeleteFile={})),function(e){function t(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every(function(e){return a.string(e.kind)?n.CreateFile.is(e)||n.RenameFile.is(e)||n.DeleteFile.is(e):n.TextDocumentEdit.is(e)}))}e.is=t}(n.WorkspaceEdit||(n.WorkspaceEdit={}));var t=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(n.TextEdit.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(n.TextEdit.replace(e,t))},e.prototype.delete=function(e){this.edits.push(n.TextEdit.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),i=function(){function e(e){var i=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach(function(e){if(n.TextDocumentEdit.is(e)){var r=new t(e.edits);i._textEditChanges[e.textDocument.uri]=r}}):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new t(e.changes[n]);i._textEditChanges[n]=r}))}return Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(n.VersionedTextDocumentIdentifier.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i=e,r=this._textEditChanges[i.uri];if(!r){var o=[],a={textDocument:i,edits:o};this._workspaceEdit.documentChanges.push(a),r=new t(o),this._textEditChanges[i.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[e];if(!r){var o=[];this._workspaceEdit.changes[e]=o,r=new t(o),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.CreateFile.create(e,t))},e.prototype.renameFile=function(e,t,i){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.RenameFile.create(e,t,i))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.DeleteFile.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")},e}();n.WorkspaceChange=i,function(e){function n(e){return{uri:e}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)}e.create=n,e.is=t}(n.TextDocumentIdentifier||(n.TextDocumentIdentifier={})),function(e){function n(e,n){return{uri:e,version:n}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&(null===n.version||a.number(n.version))}e.create=n,e.is=t}(n.VersionedTextDocumentIdentifier||(n.VersionedTextDocumentIdentifier={})),function(e){function n(e,n,t,i){return{uri:e,languageId:n,version:t,text:i}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&a.string(n.languageId)&&a.number(n.version)&&a.string(n.text)}e.create=n,e.is=t}(n.TextDocumentItem||(n.TextDocumentItem={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(n.MarkupKind||(n.MarkupKind={})),function(e){function n(n){var t=n;return t===e.PlainText||t===e.Markdown}e.is=n}(n.MarkupKind||(n.MarkupKind={})),function(e){function t(e){var t=e;return a.objectLiteral(e)&&n.MarkupKind.is(t.kind)&&a.string(t.value)}e.is=t}(n.MarkupContent||(n.MarkupContent={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(n.CompletionItemKind||(n.CompletionItemKind={})),function(e){e.PlainText=1,e.Snippet=2}(n.InsertTextFormat||(n.InsertTextFormat={})),function(e){function n(e){return{label:e}}e.create=n}(n.CompletionItem||(n.CompletionItem={})),function(e){function n(e,n){return{items:e?e:[],isIncomplete:!!n}}e.create=n}(n.CompletionList||(n.CompletionList={})),function(e){function n(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function t(e){var n=e;return a.string(n)||a.objectLiteral(n)&&a.string(n.language)&&a.string(n.value)}e.fromPlainText=n,e.is=t}(n.MarkedString||(n.MarkedString={})),function(e){function t(e){var t=e;return!!t&&a.objectLiteral(t)&&(n.MarkupContent.is(t.contents)||n.MarkedString.is(t.contents)||a.typedArray(t.contents,n.MarkedString.is))&&(void 0===e.range||n.Range.is(e.range))}e.is=t}(n.Hover||(n.Hover={})),function(e){function n(e,n){return n?{label:e,documentation:n}:{label:e}}e.create=n}(n.ParameterInformation||(n.ParameterInformation={})),function(e){function n(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];var r={label:e};return a.defined(n)&&(r.documentation=n),r.parameters=a.defined(t)?t:[],r}e.create=n}(n.SignatureInformation||(n.SignatureInformation={})),function(e){e.Text=1,e.Read=2,e.Write=3}(n.DocumentHighlightKind||(n.DocumentHighlightKind={})),function(e){function n(e,n){var t={range:e};return a.number(n)&&(t.kind=n),t}e.create=n}(n.DocumentHighlight||(n.DocumentHighlight={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(n.SymbolKind||(n.SymbolKind={})),function(e){function n(e,n,t,i,r){var o={name:e,kind:n,location:{uri:i,range:t}};return r&&(o.containerName=r),o}e.create=n}(n.SymbolInformation||(n.SymbolInformation={}));var r=function(){function e(){}return e}();n.DocumentSymbol=r,function(e){function t(e,n,t,i,r,o){var a={name:e,detail:n,kind:t,range:i,selectionRange:r};return void 0!==o&&(a.children=o),a}function i(e){var t=e;return t&&a.string(t.name)&&a.number(t.kind)&&n.Range.is(t.range)&&n.Range.is(t.selectionRange)&&(void 0===t.detail||a.string(t.detail))&&(void 0===t.deprecated||a.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}e.create=t,e.is=i}(r||(n.DocumentSymbol=r={})),function(e){e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports"}(n.CodeActionKind||(n.CodeActionKind={})),function(e){function t(e,n){var t={diagnostics:e};return void 0!==n&&null!==n&&(t.only=n),t}function i(e){var t=e;return a.defined(t)&&a.typedArray(t.diagnostics,n.Diagnostic.is)&&(void 0===t.only||a.typedArray(t.only,a.string))}e.create=t,e.is=i}(n.CodeActionContext||(n.CodeActionContext={})),function(e){function t(e,t,i){var r={title:e};return n.Command.is(t)?r.command=t:r.edit=t,void 0!==i&&(r.kind=i),r}function i(e){var t=e;return!(!t||!a.string(t.title)||void 0!==t.diagnostics&&!a.typedArray(t.diagnostics,n.Diagnostic.is)||void 0!==t.kind&&!a.string(t.kind)||void 0===t.edit&&void 0===t.command||void 0!==t.command&&!n.Command.is(t.command)||void 0!==t.edit&&!n.WorkspaceEdit.is(t.edit))}e.create=t,e.is=i}(n.CodeAction||(n.CodeAction={})),function(e){function t(e,n){var t={range:e};return a.defined(n)&&(t.data=n),t}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.undefined(t.command)||n.Command.is(t.command))}e.create=t,e.is=i}(n.CodeLens||(n.CodeLens={})),function(e){function n(e,n){return{tabSize:e,insertSpaces:n}}function t(e){var n=e;return a.defined(n)&&a.number(n.tabSize)&&a.boolean(n.insertSpaces)}e.create=n,e.is=t}(n.FormattingOptions||(n.FormattingOptions={}));var o=function(){function e(){}return e}();n.DocumentLink=o,function(e){function t(e,n,t){return{range:e,target:n,data:t}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.undefined(t.target)||a.string(t.target))}e.create=t,e.is=i}(o||(n.DocumentLink=o={})),n.EOL=["\n","\r\n","\r"],function(e){function n(e,n,t,i){return new u(e,n,t,i)}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&(a.undefined(n.languageId)||a.string(n.languageId))&&a.number(n.lineCount)&&a.func(n.getText)&&a.func(n.positionAt)&&a.func(n.offsetAt)?!0:!1}function i(e,n){for(var t=e.getText(),i=r(n,function(e,n){var t=e.range.start.line-n.range.start.line;return 0===t?e.range.start.character-n.range.start.character:t}),o=t.length,a=i.length-1;a>=0;a--){var u=i[a],c=e.offsetAt(u.range.start),s=e.offsetAt(u.range.end);if(!(o>=s))throw new Error("Overlapping edit");t=t.substring(0,c)+u.newText+t.substring(s,t.length),o=c}return t}function r(e,n){if(e.length<=1)return e;var t=e.length/2|0,i=e.slice(0,t),o=e.slice(t);r(i,n),r(o,n);for(var a=0,u=0,c=0;a<i.length&&u<o.length;){var s=n(i[a],o[u]);e[c++]=0>=s?i[a++]:o[u++]}for(;a<i.length;)e[c++]=i[a++];for(;u<o.length;)e[c++]=o[u++];return e}e.create=n,e.is=t,e.applyEdits=i}(n.TextDocument||(n.TextDocument={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(n.TextDocumentSaveReason||(n.TextDocumentSaveReason={}));var a,u=function(){function e(e,n,t,i){this._uri=e,this._languageId=n,this._version=t,this._content=i,this._lineOffsets=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var n=this.offsetAt(e.start),t=this.offsetAt(e.end);return this._content.substring(n,t)}return this._content},e.prototype.update=function(e,n){this._content=e.text,this._version=n,this._lineOffsets=null},e.prototype.getLineOffsets=function(){if(null===this._lineOffsets){for(var e=[],n=this._content,t=!0,i=0;i<n.length;i++){t&&(e.push(i),t=!1);var r=n.charAt(i);t="\r"===r||"\n"===r,"\r"===r&&i+1<n.length&&"\n"===n.charAt(i+1)&&i++}t&&n.length>0&&e.push(n.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),i=0,r=t.length;if(0===r)return n.Position.create(0,e);for(;r>i;){var o=Math.floor((i+r)/2);t[o]>e?r=o:i=o+1}var a=i-1;return n.Position.create(a,e-t[a])},e.prototype.offsetAt=function(e){var n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;var t=n[e.line],i=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(t+e.character,i),t)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){function n(e){return"undefined"!=typeof e}function t(e){return"undefined"==typeof e}function i(e){return e===!0||e===!1}function r(e){return"[object String]"===s.call(e)}function o(e){return"[object Number]"===s.call(e)}function a(e){return"[object Function]"===s.call(e)}function u(e){return null!==e&&"object"==typeof e}function c(e,n){return Array.isArray(e)&&e.every(n)}var s=Object.prototype.toString;e.defined=n,e.undefined=t,e.boolean=i,e.string=r,e.number=o,e.func=a,e.objectLiteral=u,e.typedArray=c}(a||(a={}))});
;/*!node_modules/monaco-editor/esm/vs/language/json/languageFeatures.js*/
define("node_modules/monaco-editor/esm/vs/language/json/languageFeatures",function(e,n){"use strict";function t(e){switch(e){case h.DiagnosticSeverity.Error:return monaco.MarkerSeverity.Error;case h.DiagnosticSeverity.Warning:return monaco.MarkerSeverity.Warning;case h.DiagnosticSeverity.Information:return monaco.MarkerSeverity.Info;case h.DiagnosticSeverity.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function r(e,n){var r="number"==typeof n.code?String(n.code):n.code;return{severity:t(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:r,source:n.source}}function o(e){return e?{character:e.column-1,line:e.lineNumber-1}:void 0}function i(e){return e?{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}:void 0}function a(e){return e?new v(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1):void 0}function u(e){var n=monaco.languages.CompletionItemKind;switch(e){case h.CompletionItemKind.Text:return n.Text;case h.CompletionItemKind.Method:return n.Method;case h.CompletionItemKind.Function:return n.Function;case h.CompletionItemKind.Constructor:return n.Constructor;case h.CompletionItemKind.Field:return n.Field;case h.CompletionItemKind.Variable:return n.Variable;case h.CompletionItemKind.Class:return n.Class;case h.CompletionItemKind.Interface:return n.Interface;case h.CompletionItemKind.Module:return n.Module;case h.CompletionItemKind.Property:return n.Property;case h.CompletionItemKind.Unit:return n.Unit;case h.CompletionItemKind.Value:return n.Value;case h.CompletionItemKind.Enum:return n.Enum;case h.CompletionItemKind.Keyword:return n.Keyword;case h.CompletionItemKind.Snippet:return n.Snippet;case h.CompletionItemKind.Color:return n.Color;case h.CompletionItemKind.File:return n.File;case h.CompletionItemKind.Reference:return n.Reference}return n.Property}function s(e){return e?{range:a(e.range),text:e.newText}:void 0}function c(e){return e&&"object"==typeof e&&"string"==typeof e.kind}function d(e){return"string"==typeof e?{value:e}:c(e)?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}function l(e){return e?Array.isArray(e)?e.map(d):[d(e)]:void 0}function m(e){var n=monaco.languages.SymbolKind;switch(e){case h.SymbolKind.File:return n.Array;case h.SymbolKind.Module:return n.Module;case h.SymbolKind.Namespace:return n.Namespace;case h.SymbolKind.Package:return n.Package;case h.SymbolKind.Class:return n.Class;case h.SymbolKind.Method:return n.Method;case h.SymbolKind.Property:return n.Property;case h.SymbolKind.Field:return n.Field;case h.SymbolKind.Constructor:return n.Constructor;case h.SymbolKind.Enum:return n.Enum;case h.SymbolKind.Interface:return n.Interface;case h.SymbolKind.Function:return n.Function;case h.SymbolKind.Variable:return n.Variable;case h.SymbolKind.Constant:return n.Constant;case h.SymbolKind.String:return n.String;case h.SymbolKind.Number:return n.Number;case h.SymbolKind.Boolean:return n.Boolean;case h.SymbolKind.Array:return n.Array}return n.Function}function g(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}function p(e){switch(e){case h.FoldingRangeKind.Comment:return monaco.languages.FoldingRangeKind.Comment;case h.FoldingRangeKind.Imports:return monaco.languages.FoldingRangeKind.Imports;case h.FoldingRangeKind.Region:return monaco.languages.FoldingRangeKind.Region}return void 0}Object.defineProperty(n,"__esModule",{value:!0});var f=e("node_modules/tslib/tslib"),h=f.__importStar(e("node_modules/monaco-editor/esm/vs/language/json/_deps/vscode-languageserver-types/main")),v=(monaco.Uri,monaco.Range),y=function(){function e(e,n,t){var r=this;this._languageId=e,this._worker=n,this._disposables=[],this._listener=Object.create(null);var o=function(e){var n=e.getModeId();if(n===r._languageId){var t;r._listener[e.uri.toString()]=e.onDidChangeContent(function(){clearTimeout(t),t=setTimeout(function(){return r._doValidate(e.uri,n)},500)}),r._doValidate(e.uri,n)}},i=function(e){monaco.editor.setModelMarkers(e,r._languageId,[]);var n=e.uri.toString(),t=r._listener[n];t&&(t.dispose(),delete r._listener[n])};this._disposables.push(monaco.editor.onDidCreateModel(o)),this._disposables.push(monaco.editor.onWillDisposeModel(function(e){i(e),r._resetSchema(e.uri)})),this._disposables.push(monaco.editor.onDidChangeModelLanguage(function(e){i(e.model),o(e.model),r._resetSchema(e.model.uri)})),this._disposables.push(t.onDidChange(function(){monaco.editor.getModels().forEach(function(e){e.getModeId()===r._languageId&&(i(e),o(e))})})),this._disposables.push({dispose:function(){monaco.editor.getModels().forEach(i);for(var e in r._listener)r._listener[e].dispose()}}),monaco.editor.getModels().forEach(o)}return e.prototype.dispose=function(){this._disposables.forEach(function(e){return e&&e.dispose()}),this._disposables=[]},e.prototype._resetSchema=function(e){this._worker().then(function(n){n.resetSchema(e.toString())})},e.prototype._doValidate=function(e,n){this._worker(e).then(function(t){return t.doValidation(e.toString()).then(function(t){var o=t.map(function(n){return r(e,n)}),i=monaco.editor.getModel(e);i&&i.getModeId()===n&&monaco.editor.setModelMarkers(i,n,o)})}).then(void 0,function(e){console.error(e)})},e}();n.DiagnosticsAdapter=y;var b=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.doComplete(t.toString(),o(n))}).then(function(t){if(t){var r=e.getWordUntilPosition(n),o=new v(n.lineNumber,r.startColumn,n.lineNumber,r.endColumn),i=t.items.map(function(e){var n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:o,kind:u(e.kind)};return e.textEdit&&(n.range=a(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(s)),e.insertTextFormat===h.InsertTextFormat.Snippet&&(n.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),n});return{isIncomplete:t.isIncomplete,suggestions:i}}})},e}();n.CompletionAdapter=b;var S=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.doHover(t.toString(),o(n))}).then(function(e){return e?{range:a(e.range),contents:l(e.contents)}:void 0})},e}();n.HoverAdapter=S;var C=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e){var n=e.uri;return this._worker(n).then(function(e){return e.findDocumentSymbols(n.toString())}).then(function(e){return e?e.map(function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:m(e.kind),range:a(e.location.range),selectionRange:a(e.location.range)}}):void 0})},e}();n.DocumentSymbolAdapter=C;var _=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.format(t.toString(),null,g(n)).then(function(e){return e&&0!==e.length?e.map(s):void 0})})},e}();n.DocumentFormattingEditProvider=_;var K=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,n,t){var r=e.uri;return this._worker(r).then(function(e){return e.format(r.toString(),i(n),g(t)).then(function(e){return e&&0!==e.length?e.map(s):void 0})})},e}();n.DocumentRangeFormattingEditProvider=K;var I=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e){var n=e.uri;return this._worker(n).then(function(e){return e.findDocumentColors(n.toString())}).then(function(e){return e?e.map(function(e){return{color:e.color,range:a(e.range)}}):void 0})},e.prototype.provideColorPresentations=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.getColorPresentations(t.toString(),n.color,i(n.range))}).then(function(e){return e?e.map(function(e){var n={label:e.label};return e.textEdit&&(n.textEdit=s(e.textEdit)),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(s)),n}):void 0})},e}();n.DocumentColorAdapter=I;var k=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.provideFoldingRanges(t.toString(),n)}).then(function(e){return e?e.map(function(e){var n={start:e.startLine+1,end:e.endLine+1};return"undefined"!=typeof e.kind&&(n.kind=p(e.kind)),n}):void 0})},e}();n.FoldingRangeAdapter=k});
;/*!node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/scanner.js*/
define("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/scanner",function(e,r){"use strict";function t(e,r){function t(r,t){for(var n=0,a=0;r>n||!t;){var c=e.charCodeAt(d);if(c>=48&&57>=c)a=16*a+c-48;else if(c>=65&&70>=c)a=16*a+c-65+10;else{if(!(c>=97&&102>=c))break;a=16*a+c-97+10}d++,n++}return r>n&&(a=-1),a}function o(e){d=e,g="",l=0,b=16,A=0}function s(){var r=d;if(48===e.charCodeAt(d))d++;else for(d++;d<e.length&&c(e.charCodeAt(d));)d++;if(d<e.length&&46===e.charCodeAt(d)){if(d++,!(d<e.length&&c(e.charCodeAt(d))))return A=3,e.substring(r,d);for(d++;d<e.length&&c(e.charCodeAt(d));)d++}var t=d;if(d<e.length&&(69===e.charCodeAt(d)||101===e.charCodeAt(d)))if(d++,(d<e.length&&43===e.charCodeAt(d)||45===e.charCodeAt(d))&&d++,d<e.length&&c(e.charCodeAt(d))){for(d++;d<e.length&&c(e.charCodeAt(d));)d++;t=d}else A=3;return e.substring(r,t)}function u(){for(var r="",n=d;;){if(d>=C){r+=e.substring(n,d),A=2;break}var c=e.charCodeAt(d);if(34===c){r+=e.substring(n,d),d++;break}if(92!==c){if(c>=0&&31>=c){if(a(c)){r+=e.substring(n,d),A=2;break}A=6}d++}else{if(r+=e.substring(n,d),d++,d>=C){A=2;break}switch(c=e.charCodeAt(d++)){case 34:r+='"';break;case 92:r+="\\";break;case 47:r+="/";break;case 98:r+="\b";break;case 102:r+="\f";break;case 110:r+="\n";break;case 114:r+="\r";break;case 116:r+=" ";break;case 117:var o=t(4,!0);o>=0?r+=String.fromCharCode(o):A=4;break;default:A=5}n=d}}return r}function i(){if(g="",A=0,l=d,d>=C)return l=C,b=17;var r=e.charCodeAt(d);if(n(r)){do d++,g+=String.fromCharCode(r),r=e.charCodeAt(d);while(n(r));return b=15}if(a(r))return d++,g+=String.fromCharCode(r),13===r&&10===e.charCodeAt(d)&&(d++,g+="\n"),b=14;switch(r){case 123:return d++,b=1;case 125:return d++,b=2;case 91:return d++,b=3;case 93:return d++,b=4;case 58:return d++,b=6;case 44:return d++,b=5;case 34:return d++,g=u(),b=10;case 47:var t=d-1;if(47===e.charCodeAt(d+1)){for(d+=2;C>d&&!a(e.charCodeAt(d));)d++;return g=e.substring(t,d),b=12}if(42===e.charCodeAt(d+1)){d+=2;for(var o=C-1,i=!1;o>d;){var h=e.charCodeAt(d);if(42===h&&47===e.charCodeAt(d+1)){d+=2,i=!0;break}d++}return i||(d++,A=1),g=e.substring(t,d),b=13}return g+=String.fromCharCode(r),d++,b=16;case 45:if(g+=String.fromCharCode(r),d++,d===C||!c(e.charCodeAt(d)))return b=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return g+=s(),b=11;default:for(;C>d&&f(r);)d++,r=e.charCodeAt(d);if(l!==d){switch(g=e.substring(l,d)){case"true":return b=8;case"false":return b=9;case"null":return b=7}return b=16}return g+=String.fromCharCode(r),d++,b=16}}function f(e){if(n(e)||a(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function h(){var e;do e=i();while(e>=12&&15>=e);return e}void 0===r&&(r=!1);var d=0,C=e.length,g="",l=0,b=16,A=0;return{setPosition:o,getPosition:function(){return d},scan:r?h:i,getToken:function(){return b},getTokenValue:function(){return g},getTokenOffset:function(){return l},getTokenLength:function(){return d-l},getTokenError:function(){return A}}}function n(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&8203>=e||8239===e||8287===e||12288===e||65279===e}function a(e){return 10===e||13===e||8232===e||8233===e}function c(e){return e>=48&&57>=e}Object.defineProperty(r,"__esModule",{value:!0}),r.createScanner=t});
;/*!node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/format.js*/
define("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/format",function(e,r){"use strict";function n(e,r,n){function c(){return m+t(d,g+O)}function i(){var e=T.scan();for(p=!1;15===e||14===e;)p=p||14===e,e=T.scan();return _=16===e||0!==T.getTokenError(),e}function u(r,n,t){!_&&k>n&&t>h&&e.substring(n,t)!==r&&j.push({offset:n,length:t-n,content:r})}var g,l,v,h,k;if(r){for(h=r.offset,k=h+r.length,v=h;v>0&&!o(e,v-1);)v--;for(var b=k;b<e.length&&!o(e,b);)b++;l=e.substring(v,b),g=a(l,n)}else l=e,g=0,v=0,h=0,k=e.length;var d,m=s(n,e),p=!1,O=0;d=n.insertSpaces?t(" ",n.tabSize||4):" ";var T=f.createScanner(l,!1),_=!1,j=[],A=i();if(17!==A){var S=T.getTokenOffset()+v,L=t(d,g);u(L,v,S)}for(;17!==A;){for(var z=T.getTokenOffset()+T.getTokenLength()+v,E=i(),M="";!p&&(12===E||13===E);){var w=T.getTokenOffset()+v;u(" ",z,w),z=T.getTokenOffset()+T.getTokenLength()+v,M=12===E?c():"",E=i()}if(2===E)1!==A&&(O--,M=c());else if(4===E)3!==A&&(O--,M=c());else{switch(A){case 3:case 1:O++,M=c();break;case 5:case 12:M=c();break;case 13:M=p?c():" ";break;case 6:M=" ";break;case 10:if(6===E){M="";break}case 7:case 8:case 9:case 11:case 2:case 4:12===E||13===E?M=" ":5!==E&&17!==E&&(_=!0);break;case 16:_=!0}!p||12!==E&&13!==E||(M=c())}var x=T.getTokenOffset()+v;u(M,z,x),A=E}return j}function t(e,r){for(var n="",t=0;r>t;t++)n+=e;return n}function a(e,r){for(var n=0,t=0,a=r.tabSize||4;n<e.length;){var s=e.charAt(n);if(" "===s)t++;else{if(" "!==s)break;t+=a}n++}return Math.floor(t/a)}function s(e,r){for(var n=0;n<r.length;n++){var t=r.charAt(n);if("\r"===t)return n+1<r.length&&"\n"===r.charAt(n+1)?"\r\n":"\r";if("\n"===t)return"\n"}return e&&e.eol||"\n"}function o(e,r){return-1!=="\r\n".indexOf(e.charAt(r))}Object.defineProperty(r,"__esModule",{value:!0});var f=e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/scanner");r.format=n,r.isEOL=o});
;/*!node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/parser.js*/
define("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/parser",function(e,n){"use strict";function r(e,n){function r(e,n,r,t){a.value=e,a.offset=n,a.length=r,a.type=t,a.colonOffset=void 0,i=a}var t=[],o=new Object,i=void 0,a={value:{},offset:0,length:0,type:"object",parent:void 0},c=!1;try{s(e,{onObjectBegin:function(e){if(e>=n)throw o;i=void 0,c=n>e,t.push("")},onObjectProperty:function(e,i,a){if(i>n)throw o;if(r(e,i,a,"property"),t[t.length-1]=e,i+a>=n)throw o},onObjectEnd:function(e){if(e>=n)throw o;i=void 0,t.pop()},onArrayBegin:function(e){if(e>=n)throw o;i=void 0,t.push(0)},onArrayEnd:function(e){if(e>=n)throw o;i=void 0,t.pop()},onLiteralValue:function(e,t,i){if(t>n)throw o;if(r(e,t,i,p(e)),t+i>=n)throw o},onSeparator:function(e,r){if(r>=n)throw o;if(":"===e&&i&&"property"===i.type)i.colonOffset=r,c=!1,i=void 0;else if(","===e){var a=t[t.length-1];"number"==typeof a?t[t.length-1]=a+1:(c=!0,t[t.length-1]=""),i=void 0}}})}catch(f){if(f!==o)throw f}return{path:t,previousNode:i,isAtPropertyKey:c,matches:function(e){for(var n=0,r=0;n<e.length&&r<t.length;r++)if(e[n]===t[r]||"*"===e[n])n++;else if("**"!==e[n])return!1;return n===e.length}}}function t(e,n,r){function t(e){Array.isArray(i)?i.push(e):o&&(i[o]=e)}void 0===n&&(n=[]),void 0===r&&(r=h.DEFAULT);var o=null,i=[],a=[],c={onObjectBegin:function(){var e={};t(e),a.push(i),i=e,o=null},onObjectProperty:function(e){o=e},onObjectEnd:function(){i=a.pop()},onArrayBegin:function(){var e=[];t(e),a.push(i),i=e,o=null},onArrayEnd:function(){i=a.pop()},onLiteralValue:t,onError:function(e,r,t){n.push({error:e,offset:r,length:t})}};return s(e,c,r),i[0]}function o(e,n,r){function t(e){"property"===i.type&&(i.length=e-i.offset,i=i.parent)}function o(e){return i.children.push(e),e}void 0===n&&(n=[]),void 0===r&&(r=h.DEFAULT);var i={type:"array",offset:-1,length:-1,children:[],parent:void 0},a={onObjectBegin:function(e){i=o({type:"object",offset:e,length:-1,parent:i,children:[]})},onObjectProperty:function(e,n,r){i=o({type:"property",offset:n,length:-1,parent:i,children:[]}),i.children.push({type:"string",value:e,offset:n,length:r,parent:i})},onObjectEnd:function(e,n){i.length=e+n-i.offset,i=i.parent,t(e+n)},onArrayBegin:function(e){i=o({type:"array",offset:e,length:-1,parent:i,children:[]})},onArrayEnd:function(e,n){i.length=e+n-i.offset,i=i.parent,t(e+n)},onLiteralValue:function(e,n,r){o({type:p(e),offset:n,length:r,parent:i,value:e}),t(n+r)},onSeparator:function(e,n){"property"===i.type&&(":"===e?i.colonOffset=n:","===e&&t(n))},onError:function(e,r,t){n.push({error:e,offset:r,length:t})}};s(e,a,r);var c=i.children[0];return c&&delete c.parent,c}function i(e,n){if(!e)return void 0;for(var r=e,t=0,o=n;t<o.length;t++){var i=o[t];if("string"==typeof i){if("object"!==r.type||!Array.isArray(r.children))return void 0;for(var a=!1,c=0,f=r.children;c<f.length;c++){var u=f[c];if(Array.isArray(u.children)&&u.children[0].value===i){r=u.children[1],a=!0;break}}if(!a)return void 0}else{var s=i;if("array"!==r.type||0>s||!Array.isArray(r.children)||s>=r.children.length)return void 0;r=r.children[s]}}return r}function a(e){if(!e.parent||!e.parent.children)return[];var n=a(e.parent);if("property"===e.parent.type){var r=e.parent.children[0].value;n.push(r)}else if("array"===e.parent.type){var t=e.parent.children.indexOf(e);-1!==t&&n.push(t)}return n}function c(e){switch(e.type){case"array":return e.children.map(c);case"object":for(var n=Object.create(null),r=0,t=e.children;r<t.length;r++){var o=t[r],i=o.children[1];i&&(n[o.children[0].value]=c(i))}return n;case"null":case"string":case"number":case"boolean":return e.value;default:return void 0}}function f(e,n,r){return void 0===r&&(r=!1),n>=e.offset&&n<e.offset+e.length||r&&n===e.offset+e.length}function u(e,n,r){if(void 0===r&&(r=!1),f(e,n,r)){var t=e.children;if(Array.isArray(t))for(var o=0;o<t.length&&t[o].offset<=n;o++){var i=u(t[o],n,r);if(i)return i}return e}return void 0}function s(e,n,r){function t(e){return e?function(){return e(g.getTokenOffset(),g.getTokenLength())}:function(){return!0}}function o(e){return e?function(n){return e(n,g.getTokenOffset(),g.getTokenLength())}:function(){return!0}}function i(){for(;;){var e=g.scan();switch(g.getTokenError()){case 4:a(14);break;case 5:a(15);break;case 3:a(13);break;case 1:w||a(11);break;case 2:a(12);break;case 6:a(16)}switch(e){case 12:case 13:w?a(10):O();break;case 16:a(1);break;case 15:case 14:break;default:return e}}}function a(e,n,r){if(void 0===n&&(n=[]),void 0===r&&(r=[]),j(e),n.length+r.length>0)for(var t=g.getToken();17!==t;){if(-1!==n.indexOf(t)){i();break}if(-1!==r.indexOf(t))break;t=i()}}function c(e){var n=g.getTokenValue();return e?m(n):y(n),i(),!0}function f(){switch(g.getToken()){case 11:var e=0;try{e=JSON.parse(g.getTokenValue()),"number"!=typeof e&&(a(2),e=0)}catch(n){a(2)}m(e);break;case 7:m(null);break;case 8:m(!0);break;case 9:m(!1);break;default:return!1}return i(),!0}function u(){return 10!==g.getToken()?(a(3,[],[2,5]),!1):(c(!1),6===g.getToken()?(A(":"),i(),p()||a(4,[],[2,5])):a(5,[],[2,5]),!0)}function s(){v(),i();for(var e=!1;2!==g.getToken()&&17!==g.getToken();){if(5===g.getToken()){if(e||a(4,[],[]),A(","),i(),2===g.getToken()&&E)break}else e&&a(6,[],[]);u()||a(4,[],[2,5]),e=!0}return b(),2!==g.getToken()?a(7,[2],[]):i(),!0}function l(){k(),i();for(var e=!1;4!==g.getToken()&&17!==g.getToken();){if(5===g.getToken()){if(e||a(4,[],[]),A(","),i(),4===g.getToken()&&E)break}else e&&a(6,[],[]);p()||a(4,[],[4,5]),e=!0}return T(),4!==g.getToken()?a(8,[4],[]):i(),!0}function p(){switch(g.getToken()){case 3:return l();case 1:return s();case 10:return c(!0);default:return f()}}void 0===r&&(r=h.DEFAULT);var g=d.createScanner(e,!1),v=t(n.onObjectBegin),y=o(n.onObjectProperty),b=t(n.onObjectEnd),k=t(n.onArrayBegin),T=t(n.onArrayEnd),m=o(n.onLiteralValue),A=o(n.onSeparator),O=t(n.onComment),j=o(n.onError),w=r&&r.disallowComments,E=r&&r.allowTrailingComma;return i(),17===g.getToken()?!0:p()?(17!==g.getToken()&&a(9,[],[]),!0):(a(4,[],[]),!1)}function l(e,n){var r,t,o=d.createScanner(e),i=[],a=0;do switch(t=o.getPosition(),r=o.scan()){case 12:case 13:case 17:a!==t&&i.push(e.substring(a,t)),void 0!==n&&i.push(o.getTokenValue().replace(/[^\r\n]/g,n)),a=o.getPosition()}while(17!==r);return i.join("")}function p(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}Object.defineProperty(n,"__esModule",{value:!0});var h,d=e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/scanner");!function(e){e.DEFAULT={allowTrailingComma:!1}}(h||(h={})),n.getLocation=r,n.parse=t,n.parseTree=o,n.findNodeAtLocation=i,n.getNodePath=a,n.getNodeValue=c,n.contains=f,n.findNodeAtOffset=u,n.visit=s,n.stripComments=l});
;/*!node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/edit.js*/
define("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/edit",function(e,t){"use strict";function n(e,t,n){return r(e,t,void 0,n)}function r(e,t,n,r,f){for(var i,s=t.slice(),h=[],d=l.parseTree(e,h),a=void 0,c=void 0;s.length>0&&(c=s.pop(),a=l.findNodeAtLocation(d,s),void 0===a&&void 0!==n);)"string"==typeof c?(i={},i[c]=n,n=i):n=[n];if(a){if("object"===a.type&&"string"==typeof c&&Array.isArray(a.children)){var g=l.findNodeAtLocation(a,[c]);if(void 0!==g){if(void 0===n){if(!g.parent)throw new Error("Malformed AST");var p=a.children.indexOf(g.parent),v=void 0,u=g.parent.offset+g.parent.length;if(p>0){var y=a.children[p-1];v=y.offset+y.length}else if(v=a.offset+1,a.children.length>1){var m=a.children[1];u=m.offset}return o(e,{offset:v,length:u-v,content:""},r)}return o(e,{offset:g.offset,length:g.length,content:JSON.stringify(n)},r)}if(void 0===n)return[];var O=JSON.stringify(c)+": "+JSON.stringify(n),A=f?f(a.children.map(function(e){return e.children[0].value})):a.children.length,j=void 0;if(A>0){var y=a.children[A-1];j={offset:y.offset+y.length,length:0,content:","+O}}else j=0===a.children.length?{offset:a.offset+1,length:0,content:O}:{offset:a.offset+1,length:0,content:O+","};return o(e,j,r)}if("array"===a.type&&"number"==typeof c&&Array.isArray(a.children)){var w=c;if(-1===w){var O=""+JSON.stringify(n),j=void 0;if(0===a.children.length)j={offset:a.offset+1,length:0,content:O};else{var y=a.children[a.children.length-1];j={offset:y.offset+y.length,length:0,content:","+O}}return o(e,j,r)}if(void 0===n&&a.children.length>=0){var _=c,b=a.children[_],j=void 0;if(1===a.children.length)j={offset:a.offset+1,length:a.length-2,content:""};else if(a.children.length-1===_){var y=a.children[_-1],E=y.offset+y.length,N=a.offset+a.length;j={offset:E,length:N-2-E,content:""}}else j={offset:b.offset,length:a.children[_+1].offset-b.offset,content:""};return o(e,j,r)}throw new Error("Array modification not supported yet")}throw new Error("Can not add "+("number"!=typeof c?"index":"property")+" to parent of type "+a.type)}if(void 0===n)throw new Error("Can not delete in empty document");return o(e,{offset:d?d.offset:0,length:d?d.length:0,content:JSON.stringify(n)},r)}function o(e,t,n){var r=f(e,t),o=t.offset,i=t.offset+t.content.length;if(0===t.length||0===t.content.length){for(;o>0&&!s.isEOL(r,o-1);)o--;for(;i<r.length&&!s.isEOL(r,i);)i++}for(var l=s.format(r,{offset:o,length:i-o},n),h=l.length-1;h>=0;h--){var d=l[h];r=f(r,d),o=Math.min(o,d.offset),i=Math.max(i,d.offset+d.length),i+=d.content.length-d.length}var a=e.length-(r.length-i)-o;return[{offset:o,length:a,content:r.substring(o,i)}]}function f(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}function i(e,t){return-1!=="\r\n ".indexOf(e.charAt(t))}Object.defineProperty(t,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/format"),l=e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/parser");t.removeProperty=n,t.setProperty=r,t.applyEdit=f,t.isWS=i});
;/*!node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/main.js*/
define("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/main",function(e,r){"use strict";function n(e){switch(e){case 1:return"InvalidSymbol";case 2:return"InvalidNumberFormat";case 3:return"PropertyNameExpected";case 4:return"ValueExpected";case 5:return"ColonExpected";case 6:return"CommaExpected";case 7:return"CloseBraceExpected";case 8:return"CloseBracketExpected";case 9:return"EndOfFileExpected";case 10:return"InvalidCommentToken";case 11:return"UnexpectedEndOfComment";case 12:return"UnexpectedEndOfString";case 13:return"UnexpectedEndOfNumber";case 14:return"InvalidUnicode";case 15:return"InvalidEscapeCharacter";case 16:return"InvalidCharacter"}return"<unknown ParseErrorCode>"}function t(e,r,n){return d.format(e,r,n)}function o(e,r,n,t){return c.setProperty(e,r,n,t.formattingOptions,t.getInsertionIndex)}function a(e,r){for(var n=r.length-1;n>=0;n--)e=c.applyEdit(e,r[n]);return e}Object.defineProperty(r,"__esModule",{value:!0});var s=e("node_modules/tslib/tslib"),d=s.__importStar(e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/format")),c=s.__importStar(e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/edit")),i=s.__importStar(e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/scanner")),m=s.__importStar(e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/impl/parser"));r.createScanner=i.createScanner,r.getLocation=m.getLocation,r.parse=m.parse,r.parseTree=m.parseTree,r.findNodeAtLocation=m.findNodeAtLocation,r.findNodeAtOffset=m.findNodeAtOffset,r.getNodePath=m.getNodePath,r.getNodeValue=m.getNodeValue,r.visit=m.visit,r.stripComments=m.stripComments,r.printParseErrorCode=n,r.format=t,r.modify=o,r.applyEdits=a});
;/*!node_modules/monaco-editor/esm/vs/language/json/tokenization.js*/
define("node_modules/monaco-editor/esm/vs/language/json/tokenization",function(e,t){"use strict";function n(e){return{getInitialState:function(){return new r(null,null,!1)},tokenize:function(t,n,a,s){return o(e,t,n,a,s)}}}function o(e,n,o,a){void 0===a&&(a=0);var E=0,i=!1;switch(o.scanError){case 2:n='"'+n,E=1;break;case 1:n="/*"+n,E=2}var _,c,O=s.createScanner(n),N=o.lastWasColon;for(c={tokens:[],endState:o.clone()};;){var T=a+O.getPosition(),l="";if(_=O.scan(),17===_)break;if(T===a+O.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+n.substr(O.getPosition(),3));switch(i&&(T-=E),i=E>0,_){case 1:l=t.TOKEN_DELIM_OBJECT,N=!1;break;case 2:l=t.TOKEN_DELIM_OBJECT,N=!1;break;case 3:l=t.TOKEN_DELIM_ARRAY,N=!1;break;case 4:l=t.TOKEN_DELIM_ARRAY,N=!1;break;case 6:l=t.TOKEN_DELIM_COLON,N=!0;break;case 5:l=t.TOKEN_DELIM_COMMA,N=!1;break;case 8:case 9:l=t.TOKEN_VALUE_BOOLEAN,N=!1;break;case 7:l=t.TOKEN_VALUE_NULL,N=!1;break;case 10:l=N?t.TOKEN_VALUE_STRING:t.TOKEN_PROPERTY_NAME,N=!1;break;case 11:l=t.TOKEN_VALUE_NUMBER,N=!1}if(e)switch(_){case 12:l=t.TOKEN_COMMENT_LINE;break;case 13:l=t.TOKEN_COMMENT_BLOCK}c.endState=new r(o.getStateData(),O.getTokenError(),N),c.tokens.push({startIndex:T,scopes:l})}return c}Object.defineProperty(t,"__esModule",{value:!0});var a=e("node_modules/tslib/tslib"),s=a.__importStar(e("node_modules/monaco-editor/esm/vs/language/json/_deps/jsonc-parser/main"));t.createTokenizationSupport=n,t.TOKEN_DELIM_OBJECT="delimiter.bracket.json",t.TOKEN_DELIM_ARRAY="delimiter.array.json",t.TOKEN_DELIM_COLON="delimiter.colon.json",t.TOKEN_DELIM_COMMA="delimiter.comma.json",t.TOKEN_VALUE_BOOLEAN="keyword.json",t.TOKEN_VALUE_NULL="keyword.json",t.TOKEN_VALUE_STRING="string.value.json",t.TOKEN_VALUE_NUMBER="number.json",t.TOKEN_PROPERTY_NAME="string.key.json",t.TOKEN_COMMENT_BLOCK="comment.block.json",t.TOKEN_COMMENT_LINE="comment.line.json";var r=function(){function e(e,t,n){this._state=e,this.scanError=t,this.lastWasColon=n}return e.prototype.clone=function(){return new e(this._state,this.scanError,this.lastWasColon)},e.prototype.equals=function(t){return t===this?!0:t&&t instanceof e?this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon:!1},e.prototype.getStateData=function(){return this._state},e.prototype.setStateData=function(e){this._state=e},e}()});
;/*!node_modules/monaco-editor/esm/vs/language/json/jsonMode.js*/
define("node_modules/monaco-editor/esm/vs/language/json/jsonMode",function(e,o){"use strict";function n(e){var o=[],n=new a.WorkerManager(e);o.push(n);var r=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return n.getLanguageServiceWorker.apply(n,e)},i=e.languageId;o.push(monaco.languages.registerCompletionItemProvider(i,new t.CompletionAdapter(r))),o.push(monaco.languages.registerHoverProvider(i,new t.HoverAdapter(r))),o.push(monaco.languages.registerDocumentSymbolProvider(i,new t.DocumentSymbolAdapter(r))),o.push(monaco.languages.registerDocumentFormattingEditProvider(i,new t.DocumentFormattingEditProvider(r))),o.push(monaco.languages.registerDocumentRangeFormattingEditProvider(i,new t.DocumentRangeFormattingEditProvider(r))),o.push(new t.DiagnosticsAdapter(i,r,e)),o.push(monaco.languages.setTokensProvider(i,s.createTokenizationSupport(!0))),o.push(monaco.languages.setLanguageConfiguration(i,g)),o.push(monaco.languages.registerColorProvider(i,new t.DocumentColorAdapter(r))),o.push(monaco.languages.registerFoldingRangeProvider(i,new t.FoldingRangeAdapter(r)))}Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),a=e("node_modules/monaco-editor/esm/vs/language/json/workerManager"),t=r.__importStar(e("node_modules/monaco-editor/esm/vs/language/json/languageFeatures")),s=e("node_modules/monaco-editor/esm/vs/language/json/tokenization");o.setupMode=n;var g={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}});
;/*!node_modules/monaco-editor/esm/vs/language/json/monaco.contribution.js*/
define("node_modules/monaco-editor/esm/vs/language/json/monaco.contribution",function(e,n){"use strict";function t(){return{jsonDefaults:u}}function o(){return Promise.resolve().then(function(){return i(e("node_modules/monaco-editor/esm/vs/language/json/jsonMode"))})}var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0}),e("node_modules/monaco-editor/esm/vs/editor/editor.api");var s=monaco.Emitter,r=function(){function e(e,n){this._onDidChange=new s,this._languageId=e,this.setDiagnosticsOptions(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e}();n.LanguageServiceDefaultsImpl=r;var a={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},u=new r("json",a);monaco.languages.json=t(),monaco.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc"],aliases:["JSON","json"],mimetypes:["application/json"]}),monaco.languages.onLanguage("json",function(){o().then(function(e){return e.setupMode(u)})})});
;/*!node_modules/monaco-editor/esm/vs/language/html/workerManager.js*/
define("node_modules/monaco-editor/esm/vs/language/html/workerManager",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=12e4,n=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval(function(){return t._checkIfIdle()},3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return t._stopWorker()})}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){if(this._worker){var e=Date.now()-this._lastUsedTime;e>r&&this._stopWorker()}},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n;return this._getClient().then(function(e){n=e}).then(function(){return e._worker.withSyncedResources(t)}).then(function(){return n})},e}();t.WorkerManager=n});
;/*!node_modules/monaco-editor/esm/vs/language/html/_deps/vscode-languageserver-types/main.js*/
define("node_modules/monaco-editor/esm/vs/language/html/_deps/vscode-languageserver-types/main",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){function n(e,n){return{line:e,character:n}}function t(e){var n=e;return a.objectLiteral(n)&&a.number(n.line)&&a.number(n.character)}e.create=n,e.is=t}(n.Position||(n.Position={})),function(e){function t(e,t,i,r){if(a.number(e)&&a.number(t)&&a.number(i)&&a.number(r))return{start:n.Position.create(e,t),end:n.Position.create(i,r)};if(n.Position.is(e)&&n.Position.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+i+", "+r+"]")}function i(e){var t=e;return a.objectLiteral(t)&&n.Position.is(t.start)&&n.Position.is(t.end)}e.create=t,e.is=i}(n.Range||(n.Range={})),function(e){function t(e,n){return{uri:e,range:n}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.string(t.uri)||a.undefined(t.uri))}e.create=t,e.is=i}(n.Location||(n.Location={})),function(e){function t(e,n,t,i){return{targetUri:e,targetRange:n,targetSelectionRange:t,originSelectionRange:i}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.targetRange)&&a.string(t.targetUri)&&(n.Range.is(t.targetSelectionRange)||a.undefined(t.targetSelectionRange))&&(n.Range.is(t.originSelectionRange)||a.undefined(t.originSelectionRange))}e.create=t,e.is=i}(n.LocationLink||(n.LocationLink={})),function(e){function n(e,n,t,i){return{red:e,green:n,blue:t,alpha:i}}function t(e){var n=e;return a.number(n.red)&&a.number(n.green)&&a.number(n.blue)&&a.number(n.alpha)}e.create=n,e.is=t}(n.Color||(n.Color={})),function(e){function t(e,n){return{range:e,color:n}}function i(e){var t=e;return n.Range.is(t.range)&&n.Color.is(t.color)}e.create=t,e.is=i}(n.ColorInformation||(n.ColorInformation={})),function(e){function t(e,n,t){return{label:e,textEdit:n,additionalTextEdits:t}}function i(e){var t=e;return a.string(t.label)&&(a.undefined(t.textEdit)||n.TextEdit.is(t))&&(a.undefined(t.additionalTextEdits)||a.typedArray(t.additionalTextEdits,n.TextEdit.is))}e.create=t,e.is=i}(n.ColorPresentation||(n.ColorPresentation={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(n.FoldingRangeKind||(n.FoldingRangeKind={})),function(e){function n(e,n,t,i,r){var o={startLine:e,endLine:n};return a.defined(t)&&(o.startCharacter=t),a.defined(i)&&(o.endCharacter=i),a.defined(r)&&(o.kind=r),o}function t(e){var n=e;return a.number(n.startLine)&&a.number(n.startLine)&&(a.undefined(n.startCharacter)||a.number(n.startCharacter))&&(a.undefined(n.endCharacter)||a.number(n.endCharacter))&&(a.undefined(n.kind)||a.string(n.kind))}e.create=n,e.is=t}(n.FoldingRange||(n.FoldingRange={})),function(e){function t(e,n){return{location:e,message:n}}function i(e){var t=e;return a.defined(t)&&n.Location.is(t.location)&&a.string(t.message)}e.create=t,e.is=i}(n.DiagnosticRelatedInformation||(n.DiagnosticRelatedInformation={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(n.DiagnosticSeverity||(n.DiagnosticSeverity={})),function(e){function t(e,n,t,i,r,o){var u={range:e,message:n};return a.defined(t)&&(u.severity=t),a.defined(i)&&(u.code=i),a.defined(r)&&(u.source=r),a.defined(o)&&(u.relatedInformation=o),u}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&a.string(t.message)&&(a.number(t.severity)||a.undefined(t.severity))&&(a.number(t.code)||a.string(t.code)||a.undefined(t.code))&&(a.string(t.source)||a.undefined(t.source))&&(a.undefined(t.relatedInformation)||a.typedArray(t.relatedInformation,n.DiagnosticRelatedInformation.is))}e.create=t,e.is=i}(n.Diagnostic||(n.Diagnostic={})),function(e){function n(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];var r={title:e,command:n};return a.defined(t)&&t.length>0&&(r.arguments=t),r}function t(e){var n=e;return a.defined(n)&&a.string(n.title)&&a.string(n.command)}e.create=n,e.is=t}(n.Command||(n.Command={})),function(e){function t(e,n){return{range:e,newText:n}}function i(e,n){return{range:{start:e,end:e},newText:n}}function r(e){return{range:e,newText:""}}function o(e){var t=e;return a.objectLiteral(t)&&a.string(t.newText)&&n.Range.is(t.range)}e.replace=t,e.insert=i,e.del=r,e.is=o}(n.TextEdit||(n.TextEdit={})),function(e){function t(e,n){return{textDocument:e,edits:n}}function i(e){var t=e;return a.defined(t)&&n.VersionedTextDocumentIdentifier.is(t.textDocument)&&Array.isArray(t.edits)}e.create=t,e.is=i}(n.TextDocumentEdit||(n.TextDocumentEdit={})),function(e){function n(e,n){var t={kind:"create",uri:e};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(t.options=n),t}function t(e){var n=e;return n&&"create"===n.kind&&a.string(n.uri)&&(void 0===n.options||(void 0===n.options.overwrite||a.boolean(n.options.overwrite))&&(void 0===n.options.ignoreIfExists||a.boolean(n.options.ignoreIfExists)))}e.create=n,e.is=t}(n.CreateFile||(n.CreateFile={})),function(e){function n(e,n,t){var i={kind:"rename",oldUri:e,newUri:n};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(i.options=t),i}function t(e){var n=e;return n&&"rename"===n.kind&&a.string(n.oldUri)&&a.string(n.newUri)&&(void 0===n.options||(void 0===n.options.overwrite||a.boolean(n.options.overwrite))&&(void 0===n.options.ignoreIfExists||a.boolean(n.options.ignoreIfExists)))}e.create=n,e.is=t}(n.RenameFile||(n.RenameFile={})),function(e){function n(e,n){var t={kind:"delete",uri:e};return void 0===n||void 0===n.recursive&&void 0===n.ignoreIfNotExists||(t.options=n),t}function t(e){var n=e;return n&&"delete"===n.kind&&a.string(n.uri)&&(void 0===n.options||(void 0===n.options.recursive||a.boolean(n.options.recursive))&&(void 0===n.options.ignoreIfNotExists||a.boolean(n.options.ignoreIfNotExists)))}e.create=n,e.is=t}(n.DeleteFile||(n.DeleteFile={})),function(e){function t(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every(function(e){return a.string(e.kind)?n.CreateFile.is(e)||n.RenameFile.is(e)||n.DeleteFile.is(e):n.TextDocumentEdit.is(e)}))}e.is=t}(n.WorkspaceEdit||(n.WorkspaceEdit={}));var t=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(n.TextEdit.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(n.TextEdit.replace(e,t))},e.prototype.delete=function(e){this.edits.push(n.TextEdit.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),i=function(){function e(e){var i=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach(function(e){if(n.TextDocumentEdit.is(e)){var r=new t(e.edits);i._textEditChanges[e.textDocument.uri]=r}}):e.changes&&Object.keys(e.changes).forEach(function(n){var r=new t(e.changes[n]);i._textEditChanges[n]=r}))}return Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(n.VersionedTextDocumentIdentifier.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i=e,r=this._textEditChanges[i.uri];if(!r){var o=[],a={textDocument:i,edits:o};this._workspaceEdit.documentChanges.push(a),r=new t(o),this._textEditChanges[i.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[e];if(!r){var o=[];this._workspaceEdit.changes[e]=o,r=new t(o),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.CreateFile.create(e,t))},e.prototype.renameFile=function(e,t,i){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.RenameFile.create(e,t,i))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(n.DeleteFile.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")},e}();n.WorkspaceChange=i,function(e){function n(e){return{uri:e}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)}e.create=n,e.is=t}(n.TextDocumentIdentifier||(n.TextDocumentIdentifier={})),function(e){function n(e,n){return{uri:e,version:n}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&(null===n.version||a.number(n.version))}e.create=n,e.is=t}(n.VersionedTextDocumentIdentifier||(n.VersionedTextDocumentIdentifier={})),function(e){function n(e,n,t,i){return{uri:e,languageId:n,version:t,text:i}}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&a.string(n.languageId)&&a.number(n.version)&&a.string(n.text)}e.create=n,e.is=t}(n.TextDocumentItem||(n.TextDocumentItem={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(n.MarkupKind||(n.MarkupKind={})),function(e){function n(n){var t=n;return t===e.PlainText||t===e.Markdown}e.is=n}(n.MarkupKind||(n.MarkupKind={})),function(e){function t(e){var t=e;return a.objectLiteral(e)&&n.MarkupKind.is(t.kind)&&a.string(t.value)}e.is=t}(n.MarkupContent||(n.MarkupContent={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(n.CompletionItemKind||(n.CompletionItemKind={})),function(e){e.PlainText=1,e.Snippet=2}(n.InsertTextFormat||(n.InsertTextFormat={})),function(e){function n(e){return{label:e}}e.create=n}(n.CompletionItem||(n.CompletionItem={})),function(e){function n(e,n){return{items:e?e:[],isIncomplete:!!n}}e.create=n}(n.CompletionList||(n.CompletionList={})),function(e){function n(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}function t(e){var n=e;return a.string(n)||a.objectLiteral(n)&&a.string(n.language)&&a.string(n.value)}e.fromPlainText=n,e.is=t}(n.MarkedString||(n.MarkedString={})),function(e){function t(e){var t=e;return!!t&&a.objectLiteral(t)&&(n.MarkupContent.is(t.contents)||n.MarkedString.is(t.contents)||a.typedArray(t.contents,n.MarkedString.is))&&(void 0===e.range||n.Range.is(e.range))}e.is=t}(n.Hover||(n.Hover={})),function(e){function n(e,n){return n?{label:e,documentation:n}:{label:e}}e.create=n}(n.ParameterInformation||(n.ParameterInformation={})),function(e){function n(e,n){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];var r={label:e};return a.defined(n)&&(r.documentation=n),r.parameters=a.defined(t)?t:[],r}e.create=n}(n.SignatureInformation||(n.SignatureInformation={})),function(e){e.Text=1,e.Read=2,e.Write=3}(n.DocumentHighlightKind||(n.DocumentHighlightKind={})),function(e){function n(e,n){var t={range:e};return a.number(n)&&(t.kind=n),t}e.create=n}(n.DocumentHighlight||(n.DocumentHighlight={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(n.SymbolKind||(n.SymbolKind={})),function(e){function n(e,n,t,i,r){var o={name:e,kind:n,location:{uri:i,range:t}};return r&&(o.containerName=r),o}e.create=n}(n.SymbolInformation||(n.SymbolInformation={}));var r=function(){function e(){}return e}();n.DocumentSymbol=r,function(e){function t(e,n,t,i,r,o){var a={name:e,detail:n,kind:t,range:i,selectionRange:r};return void 0!==o&&(a.children=o),a}function i(e){var t=e;return t&&a.string(t.name)&&a.number(t.kind)&&n.Range.is(t.range)&&n.Range.is(t.selectionRange)&&(void 0===t.detail||a.string(t.detail))&&(void 0===t.deprecated||a.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}e.create=t,e.is=i}(r||(n.DocumentSymbol=r={})),function(e){e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports"}(n.CodeActionKind||(n.CodeActionKind={})),function(e){function t(e,n){var t={diagnostics:e};return void 0!==n&&null!==n&&(t.only=n),t}function i(e){var t=e;return a.defined(t)&&a.typedArray(t.diagnostics,n.Diagnostic.is)&&(void 0===t.only||a.typedArray(t.only,a.string))}e.create=t,e.is=i}(n.CodeActionContext||(n.CodeActionContext={})),function(e){function t(e,t,i){var r={title:e};return n.Command.is(t)?r.command=t:r.edit=t,void 0!==i&&(r.kind=i),r}function i(e){var t=e;return!(!t||!a.string(t.title)||void 0!==t.diagnostics&&!a.typedArray(t.diagnostics,n.Diagnostic.is)||void 0!==t.kind&&!a.string(t.kind)||void 0===t.edit&&void 0===t.command||void 0!==t.command&&!n.Command.is(t.command)||void 0!==t.edit&&!n.WorkspaceEdit.is(t.edit))}e.create=t,e.is=i}(n.CodeAction||(n.CodeAction={})),function(e){function t(e,n){var t={range:e};return a.defined(n)&&(t.data=n),t}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.undefined(t.command)||n.Command.is(t.command))}e.create=t,e.is=i}(n.CodeLens||(n.CodeLens={})),function(e){function n(e,n){return{tabSize:e,insertSpaces:n}}function t(e){var n=e;return a.defined(n)&&a.number(n.tabSize)&&a.boolean(n.insertSpaces)}e.create=n,e.is=t}(n.FormattingOptions||(n.FormattingOptions={}));var o=function(){function e(){}return e}();n.DocumentLink=o,function(e){function t(e,n,t){return{range:e,target:n,data:t}}function i(e){var t=e;return a.defined(t)&&n.Range.is(t.range)&&(a.undefined(t.target)||a.string(t.target))}e.create=t,e.is=i}(o||(n.DocumentLink=o={})),n.EOL=["\n","\r\n","\r"],function(e){function n(e,n,t,i){return new u(e,n,t,i)}function t(e){var n=e;return a.defined(n)&&a.string(n.uri)&&(a.undefined(n.languageId)||a.string(n.languageId))&&a.number(n.lineCount)&&a.func(n.getText)&&a.func(n.positionAt)&&a.func(n.offsetAt)?!0:!1}function i(e,n){for(var t=e.getText(),i=r(n,function(e,n){var t=e.range.start.line-n.range.start.line;return 0===t?e.range.start.character-n.range.start.character:t}),o=t.length,a=i.length-1;a>=0;a--){var u=i[a],c=e.offsetAt(u.range.start),s=e.offsetAt(u.range.end);if(!(o>=s))throw new Error("Overlapping edit");t=t.substring(0,c)+u.newText+t.substring(s,t.length),o=c}return t}function r(e,n){if(e.length<=1)return e;var t=e.length/2|0,i=e.slice(0,t),o=e.slice(t);r(i,n),r(o,n);for(var a=0,u=0,c=0;a<i.length&&u<o.length;){var s=n(i[a],o[u]);e[c++]=0>=s?i[a++]:o[u++]}for(;a<i.length;)e[c++]=i[a++];for(;u<o.length;)e[c++]=o[u++];return e}e.create=n,e.is=t,e.applyEdits=i}(n.TextDocument||(n.TextDocument={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(n.TextDocumentSaveReason||(n.TextDocumentSaveReason={}));var a,u=function(){function e(e,n,t,i){this._uri=e,this._languageId=n,this._version=t,this._content=i,this._lineOffsets=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var n=this.offsetAt(e.start),t=this.offsetAt(e.end);return this._content.substring(n,t)}return this._content},e.prototype.update=function(e,n){this._content=e.text,this._version=n,this._lineOffsets=null},e.prototype.getLineOffsets=function(){if(null===this._lineOffsets){for(var e=[],n=this._content,t=!0,i=0;i<n.length;i++){t&&(e.push(i),t=!1);var r=n.charAt(i);t="\r"===r||"\n"===r,"\r"===r&&i+1<n.length&&"\n"===n.charAt(i+1)&&i++}t&&n.length>0&&e.push(n.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),i=0,r=t.length;if(0===r)return n.Position.create(0,e);for(;r>i;){var o=Math.floor((i+r)/2);t[o]>e?r=o:i=o+1}var a=i-1;return n.Position.create(a,e-t[a])},e.prototype.offsetAt=function(e){var n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;var t=n[e.line],i=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(t+e.character,i),t)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){function n(e){return"undefined"!=typeof e}function t(e){return"undefined"==typeof e}function i(e){return e===!0||e===!1}function r(e){return"[object String]"===s.call(e)}function o(e){return"[object Number]"===s.call(e)}function a(e){return"[object Function]"===s.call(e)}function u(e){return null!==e&&"object"==typeof e}function c(e,n){return Array.isArray(e)&&e.every(n)}var s=Object.prototype.toString;e.defined=n,e.undefined=t,e.boolean=i,e.string=r,e.number=o,e.func=a,e.objectLiteral=u,e.typedArray=c}(a||(a={}))});
;/*!node_modules/monaco-editor/esm/vs/language/html/languageFeatures.js*/
define("node_modules/monaco-editor/esm/vs/language/html/languageFeatures",function(e,n){"use strict";function t(e){switch(e){case v.DiagnosticSeverity.Error:return monaco.MarkerSeverity.Error;case v.DiagnosticSeverity.Warning:return monaco.MarkerSeverity.Warning;case v.DiagnosticSeverity.Information:return monaco.MarkerSeverity.Info;case v.DiagnosticSeverity.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function r(e,n){var r="number"==typeof n.code?String(n.code):n.code;return{severity:t(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:r,source:n.source}}function o(e){return e?{character:e.column-1,line:e.lineNumber-1}:void 0}function i(e){return e?{start:o(e.getStartPosition()),end:o(e.getEndPosition())}:void 0}function a(e){return e?new y(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1):void 0}function u(e){var n=monaco.languages.CompletionItemKind;switch(e){case v.CompletionItemKind.Text:return n.Text;case v.CompletionItemKind.Method:return n.Method;case v.CompletionItemKind.Function:return n.Function;case v.CompletionItemKind.Constructor:return n.Constructor;case v.CompletionItemKind.Field:return n.Field;case v.CompletionItemKind.Variable:return n.Variable;case v.CompletionItemKind.Class:return n.Class;case v.CompletionItemKind.Interface:return n.Interface;case v.CompletionItemKind.Module:return n.Module;case v.CompletionItemKind.Property:return n.Property;case v.CompletionItemKind.Unit:return n.Unit;case v.CompletionItemKind.Value:return n.Value;case v.CompletionItemKind.Enum:return n.Enum;case v.CompletionItemKind.Keyword:return n.Keyword;case v.CompletionItemKind.Snippet:return n.Snippet;case v.CompletionItemKind.Color:return n.Color;case v.CompletionItemKind.File:return n.File;case v.CompletionItemKind.Reference:return n.Reference}return n.Property}function s(e){return e?{range:a(e.range),text:e.newText}:void 0}function c(e){return e&&"object"==typeof e&&"string"==typeof e.kind}function d(e){return"string"==typeof e?{value:e}:c(e)?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"}}function l(e){return e?Array.isArray(e)?e.map(d):[d(e)]:void 0}function m(e){var n=monaco.languages.DocumentHighlightKind;switch(e){case v.DocumentHighlightKind.Read:return n.Read;case v.DocumentHighlightKind.Write:return n.Write;case v.DocumentHighlightKind.Text:return n.Text}return n.Text}function g(e){var n=monaco.languages.SymbolKind;switch(e){case v.SymbolKind.File:return n.Array;case v.SymbolKind.Module:return n.Module;case v.SymbolKind.Namespace:return n.Namespace;case v.SymbolKind.Package:return n.Package;case v.SymbolKind.Class:return n.Class;case v.SymbolKind.Method:return n.Method;case v.SymbolKind.Property:return n.Property;case v.SymbolKind.Field:return n.Field;case v.SymbolKind.Constructor:return n.Constructor;case v.SymbolKind.Enum:return n.Enum;case v.SymbolKind.Interface:return n.Interface;case v.SymbolKind.Function:return n.Function;case v.SymbolKind.Variable:return n.Variable;case v.SymbolKind.Constant:return n.Constant;case v.SymbolKind.String:return n.String;case v.SymbolKind.Number:return n.Number;case v.SymbolKind.Boolean:return n.Boolean;case v.SymbolKind.Array:return n.Array}return n.Function}function p(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}function f(e){switch(e){case v.FoldingRangeKind.Comment:return monaco.languages.FoldingRangeKind.Comment;case v.FoldingRangeKind.Imports:return monaco.languages.FoldingRangeKind.Imports;case v.FoldingRangeKind.Region:return monaco.languages.FoldingRangeKind.Region}return void 0}Object.defineProperty(n,"__esModule",{value:!0});var h=e("node_modules/tslib/tslib"),v=h.__importStar(e("node_modules/monaco-editor/esm/vs/language/html/_deps/vscode-languageserver-types/main")),y=monaco.Range,b=function(){function e(e,n,t){var r=this;this._languageId=e,this._worker=n,this._disposables=[],this._listener=Object.create(null);var o=function(e){var n=e.getModeId();if(n===r._languageId){var t;r._listener[e.uri.toString()]=e.onDidChangeContent(function(){clearTimeout(t),t=setTimeout(function(){return r._doValidate(e.uri,n)},500)}),r._doValidate(e.uri,n)}},i=function(e){monaco.editor.setModelMarkers(e,r._languageId,[]);var n=e.uri.toString(),t=r._listener[n];t&&(t.dispose(),delete r._listener[n])};this._disposables.push(monaco.editor.onDidCreateModel(o)),this._disposables.push(monaco.editor.onWillDisposeModel(function(e){i(e)})),this._disposables.push(monaco.editor.onDidChangeModelLanguage(function(e){i(e.model),o(e.model)})),this._disposables.push(t.onDidChange(function(){monaco.editor.getModels().forEach(function(e){e.getModeId()===r._languageId&&(i(e),o(e))})})),this._disposables.push({dispose:function(){for(var e in r._listener)r._listener[e].dispose()}}),monaco.editor.getModels().forEach(o)}return e.prototype.dispose=function(){this._disposables.forEach(function(e){return e&&e.dispose()}),this._disposables=[]},e.prototype._doValidate=function(e,n){this._worker(e).then(function(t){return t.doValidation(e.toString()).then(function(t){var o=t.map(function(n){return r(e,n)});monaco.editor.setModelMarkers(monaco.editor.getModel(e),n,o)})}).then(void 0,function(e){console.error(e)})},e}();n.DiagnosticsAdapter=b;var S=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.doComplete(t.toString(),o(n))}).then(function(t){if(t){var r=e.getWordUntilPosition(n),o=new y(n.lineNumber,r.startColumn,n.lineNumber,r.endColumn),i=t.items.map(function(e){var n={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:o,kind:u(e.kind)};return e.textEdit&&(n.range=a(e.textEdit.range),n.insertText=e.textEdit.newText),e.additionalTextEdits&&(n.additionalTextEdits=e.additionalTextEdits.map(s)),e.insertTextFormat===v.InsertTextFormat.Snippet&&(n.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),n});return{isIncomplete:t.isIncomplete,suggestions:i}}})},e}();n.CompletionAdapter=S;var K=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.doHover(t.toString(),o(n))}).then(function(e){return e?{range:a(e.range),contents:l(e.contents)}:void 0})},e}();n.HoverAdapter=K;var _=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.findDocumentHighlights(t.toString(),o(n))}).then(function(e){return e?e.map(function(e){return{range:a(e.range),kind:m(e.kind)}}):void 0})},e}();n.DocumentHighlightAdapter=_;var C=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e){var n=e.uri;return this._worker(n).then(function(e){return e.findDocumentSymbols(n.toString())}).then(function(e){return e?e.map(function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:g(e.kind),range:a(e.location.range),selectionRange:a(e.location.range)}}):void 0})},e}();n.DocumentSymbolAdapter=C;var k=function(){function e(e){this._worker=e}return e.prototype.provideLinks=function(e){var n=e.uri;return this._worker(n).then(function(e){return e.findDocumentLinks(n.toString())}).then(function(e){return e?{links:e.map(function(e){return{range:a(e.range),url:e.target}})}:void 0})},e}();n.DocumentLinkAdapter=k;var I=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.format(t.toString(),null,p(n)).then(function(e){return e&&0!==e.length?e.map(s):void 0})})},e}();n.DocumentFormattingEditProvider=I;var w=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,n,t){var r=e.uri;return this._worker(r).then(function(e){return e.format(r.toString(),i(n),p(t)).then(function(e){return e&&0!==e.length?e.map(s):void 0})})},e}();n.DocumentRangeFormattingEditProvider=w;var F=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,n){var t=e.uri;return this._worker(t).then(function(e){return e.provideFoldingRanges(t.toString(),n)}).then(function(e){return e?e.map(function(e){var n={start:e.startLine+1,end:e.endLine+1};return"undefined"!=typeof e.kind&&(n.kind=f(e.kind)),n}):void 0})},e}();n.FoldingRangeAdapter=F});
;/*!node_modules/monaco-editor/esm/vs/language/html/htmlMode.js*/
define("node_modules/monaco-editor/esm/vs/language/html/htmlMode",function(e,o){"use strict";function n(e){var o=new a.WorkerManager(e),n=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return o.getLanguageServiceWorker.apply(o,e)},r=e.languageId;monaco.languages.registerCompletionItemProvider(r,new t.CompletionAdapter(n)),monaco.languages.registerHoverProvider(r,new t.HoverAdapter(n)),monaco.languages.registerDocumentHighlightProvider(r,new t.DocumentHighlightAdapter(n)),monaco.languages.registerLinkProvider(r,new t.DocumentLinkAdapter(n)),monaco.languages.registerFoldingRangeProvider(r,new t.FoldingRangeAdapter(n)),monaco.languages.registerDocumentSymbolProvider(r,new t.DocumentSymbolAdapter(n)),"html"===r&&(monaco.languages.registerDocumentFormattingEditProvider(r,new t.DocumentFormattingEditProvider(n)),monaco.languages.registerDocumentRangeFormattingEditProvider(r,new t.DocumentRangeFormattingEditProvider(n)),new t.DiagnosticsAdapter(r,n,e))}Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),a=e("node_modules/monaco-editor/esm/vs/language/html/workerManager"),t=r.__importStar(e("node_modules/monaco-editor/esm/vs/language/html/languageFeatures"));o.setupMode=n});
;/*!node_modules/monaco-editor/esm/vs/language/html/monaco.contribution.js*/
define("node_modules/monaco-editor/esm/vs/language/html/monaco.contribution",function(e,n){"use strict";function t(){return{htmlDefaults:f,razorDefaults:p,handlebarDefaults:h}}function o(){return Promise.resolve().then(function(){return r(e("node_modules/monaco-editor/esm/vs/language/html/htmlMode"))})}var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0}),e("node_modules/monaco-editor/esm/vs/editor/editor.api");var a=monaco.Emitter,i=function(){function e(e,n){this._onDidChange=new a,this._languageId=e,this.setOptions(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},e}();n.LanguageServiceDefaultsImpl=i;var u={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},s={format:u,suggest:{html5:!0,angular1:!0,ionic:!0}},l={format:u,suggest:{html5:!0}},c={format:u,suggest:{html5:!0,razor:!0}},g="html",d="handlebars",m="razor",f=new i(g,s),h=new i(d,l),p=new i(m,c);monaco.languages.html=t(),monaco.languages.onLanguage(g,function(){o().then(function(e){return e.setupMode(f)})}),monaco.languages.onLanguage(d,function(){o().then(function(e){return e.setupMode(h)})}),monaco.languages.onLanguage(m,function(){o().then(function(e){return e.setupMode(p)})})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/_.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution",function(n,e){"use strict";function a(n){var e=t[n].loader;return e().then(function(e){g.languages.setMonarchTokensProvider(n,e.language),g.languages.setLanguageConfiguration(n,e.conf)})}function o(n){return r[n]||(r[n]=a(n)),r[n]}function u(n){var e=n.id;t[e]=n,g.languages.register(n),g.languages.onLanguage(e,function(){o(e)})}Object.defineProperty(e,"__esModule",{value:!0});var g="undefined"==typeof monaco?self.monaco:monaco,t={},r={};e.loadLanguage=o,e.registerLanguage=u});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/bat/bat.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/bat/bat",function(e,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),s.conf={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},s.language={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/bat/bat.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/bat/bat.contribution",function(e,t){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return Promise.resolve().then(function(){return a(e("node_modules/monaco-editor/esm/vs/basic-languages/bat/bat"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},n.language={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{"this":"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.contribution",function(e,o){"use strict";var t=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(o[t]=e[t]);return o["default"]=e,o};Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");r.registerLanguage({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return Promise.resolve().then(function(){return t(e("node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},t.language={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.contribution",function(e,n){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");s.registerLanguage({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp"))})}}),s.registerLanguage({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},t.language={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@?[a-zA-Z_]\w*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@keywords":{token:"keyword.$0",next:"@qualified"},"@default":{token:"identifier",next:"@qualified"}}}],{include:"@whitespace"},[/}/,{cases:{"$S2==interpolatedstring":{token:"string.quote",next:"@pop"},"$S2==litinterpstring":{token:"string.quote",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.contribution",function(e,s){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(s[r]=e[r]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return Promise.resolve().then(function(){return r(e("node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/csp/csp",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conf={brackets:[],autoClosingPairs:[],surroundingPairs:[]},e.language={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,"string.quote"],[/connect-src/,"string.quote"],[/default-src/,"string.quote"],[/font-src/,"string.quote"],[/frame-src/,"string.quote"],[/img-src/,"string.quote"],[/manifest-src/,"string.quote"],[/media-src/,"string.quote"],[/object-src/,"string.quote"],[/script-src/,"string.quote"],[/style-src/,"string.quote"],[/worker-src/,"string.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],[/disown-opener/,"string.quote"],[/form-action/,"string.quote"],[/frame-ancestors/,"string.quote"],[/report-uri/,"string.quote"],[/report-to/,"string.quote"],[/upgrade-insecure-requests/,"string.quote"],[/block-all-mixed-content/,"string.quote"],[/require-sri-for/,"string.quote"],[/reflected-xss/,"string.quote"],[/referrer/,"string.quote"],[/policy-uri/,"string.quote"],[/'self'/,"string.quote"],[/'unsafe-inline'/,"string.quote"],[/'unsafe-eval'/,"string.quote"],[/'strict-dynamic'/,"string.quote"],[/'unsafe-hashed-attributes'/,"string.quote"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/csp/csp"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/css/css.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/css/css",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t.language={defaultToken:"",tokenPostfix:".css",ws:"[ \n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],"import":[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*\/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/css/css.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/css/css.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/css/css"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.conf={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o.language={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.contribution",function(e,o){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(o[r]=e[r]);return o["default"]=e,o};Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");i.registerLanguage({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return Promise.resolve().then(function(){return r(e("node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},n.language={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=><!~?:&|+\-*\^%;\.,\/]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/[uU]?[yslnLI]?/,floatsuffix:/[fFmM]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[<.*>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.contribution",function(e,s){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(s[r]=e[r]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return Promise.resolve().then(function(){return r(e("node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/go/go.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/go/go",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},n.language={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/go/go.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/go/go.contribution",function(e,o){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o["default"]=e,o};Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");r.registerLanguage({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/go/go"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/handlebars/handlebars.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/handlebars/handlebars",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof monaco?self.monaco:monaco,a=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+a.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+a.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:n.languages.IndentAction.Indent}}]},t.language={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/[#\/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/handlebars/handlebars.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/handlebars/handlebars.contribution",function(e,a){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a["default"]=e,a};Object.defineProperty(a,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");s.registerLanguage({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/handlebars/handlebars"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/html/html.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/html/html",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof monaco?self.monaco:monaco,i=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+i.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+i.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:n.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},t.language={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/html/html.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/html/html.contribution",function(t,e){"use strict";var s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var s in t)Object.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e["default"]=t,e};Object.defineProperty(e,"__esModule",{value:!0});var n=t("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return Promise.resolve().then(function(){return s(t("node_modules/monaco-editor/esm/vs/basic-languages/html/html"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/ini/ini.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/ini/ini",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},n.language={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/ini/ini.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/ini/ini.contribution",function(i,e){"use strict";var n=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var e={};if(null!=i)for(var n in i)Object.hasOwnProperty.call(i,n)&&(e[n]=i[n]);return e["default"]=i,e};Object.defineProperty(e,"__esModule",{value:!0});var o=i("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return Promise.resolve().then(function(){return n(i("node_modules/monaco-editor/esm/vs/basic-languages/ini/ini"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/java/java.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/java/java",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},t.language={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/java/java.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/java/java.contribution",function(e,a){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a["default"]=e,a};Object.defineProperty(a,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/java/java"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof monaco?self.monaco:monaco;t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:n.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:n.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:n.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:n.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},t.language={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","as","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","package","private","protected","public","readonly","require","global","return","set","static","super","switch","symbol","this","throw","true","try","type","typeof","unique","var","void","while","with","yield","async","await","of"],typeKeywords:["any","boolean","number","object","string","undefined"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|\/|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)/,"number.hex"],[/0[oO]?(@octaldigits)/,"number.octal"],[/0[bB](@binarydigits)/,"number.binary"],[/(@digits)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript",function(e,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});{var t=e("node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript");"undefined"==typeof monaco?self.monaco:monaco}a.conf=t.conf,a.language={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:t.language.operators,symbols:t.language.symbols,escapes:t.language.escapes,digits:t.language.digits,octaldigits:t.language.octaldigits,binarydigits:t.language.binarydigits,hexdigits:t.language.hexdigits,regexpctl:t.language.regexpctl,regexpesc:t.language.regexpesc,tokenizer:t.language.tokenizer}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution",function(e,a){"use strict";var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(a[s]=e[s]);return a["default"]=e,a};Object.defineProperty(a,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");i.registerLanguage({id:"javascript",extensions:[".js",".es6",".jsx"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return Promise.resolve().then(function(){return s(e("node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/kotlin/kotlin.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/kotlin/kotlin",function(e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},i.language={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/kotlin/kotlin.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/kotlin/kotlin.contribution",function(e,t){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/kotlin/kotlin"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/less/less.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/less/less",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t.language={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/less/less.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/less/less.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");t.registerLanguage({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/less/less"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/lua/lua.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/lua/lua",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.conf={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o.language={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["delimiter","","key","","delimiter"]],[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["@brackets","","key","","delimiter"]],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/--\[([=]*)\[/,"comment","@comment.$1"],[/--.*$/,"comment"]],comment:[[/[^\]]+/,"comment"],[/\]([=]*)\]/,{cases:{"$1==$S2":{token:"comment",next:"@pop"},"@default":"comment"}}],[/./,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/lua/lua.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/lua/lua.contribution",function(e,a){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a["default"]=e,a};Object.defineProperty(a,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/lua/lua"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")}}},t.language={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"variable.source",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)\s*>/,{token:"tag"}],[/<!--/,"comment","@comment"]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,"comment","@pop"],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],tag:[[/[ \t\r\n]+/,"white"],[/(type)(\s*=\s*)(")([^"]+)(")/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(type)(\s*=\s*)(')([^']+)(')/,["attribute.name.html","delimiter.html","string.html",{token:"string.html",switchTo:"@tag.$S2.$4"},"string.html"]],[/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name.html","delimiter.html","string.html"]],[/\w+/,"attribute.name.html"],[/\/>/,"tag","@pop"],[/>/,{cases:{"$S2==style":{token:"tag",switchTo:"embeddedStyle",nextEmbedded:"text/css"},"$S2==script":{cases:{$S3:{token:"tag",switchTo:"embeddedScript",nextEmbedded:"$S3"},"@default":{token:"tag",switchTo:"embeddedScript",nextEmbedded:"text/javascript"}}},"@default":{token:"tag",next:"@pop"}}}]],embeddedStyle:[[/[^<]+/,""],[/<\/style\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]],embeddedScript:[[/[^<]+/,""],[/<\/script\s*>/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/</,""]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown.contribution",function(e,n){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");r.registerLanguage({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/msdax/msdax.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/msdax/msdax",function(E,T){"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]}]},T.language={defaultToken:"",tokenPostfix:".msdax",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["VAR","RETURN","NOT","EVALUATE","DATATABLE","ORDER","BY","START","AT","DEFINE","MEASURE","ASC","DESC","IN","BOOLEAN","DOUBLE","INTEGER","DATETIME","CURRENCY","STRING"],functions:["CLOSINGBALANCEMONTH","CLOSINGBALANCEQUARTER","CLOSINGBALANCEYEAR","DATEADD","DATESBETWEEN","DATESINPERIOD","DATESMTD","DATESQTD","DATESYTD","ENDOFMONTH","ENDOFQUARTER","ENDOFYEAR","FIRSTDATE","FIRSTNONBLANK","LASTDATE","LASTNONBLANK","NEXTDAY","NEXTMONTH","NEXTQUARTER","NEXTYEAR","OPENINGBALANCEMONTH","OPENINGBALANCEQUARTER","OPENINGBALANCEYEAR","PARALLELPERIOD","PREVIOUSDAY","PREVIOUSMONTH","PREVIOUSQUARTER","PREVIOUSYEAR","SAMEPERIODLASTYEAR","STARTOFMONTH","STARTOFQUARTER","STARTOFYEAR","TOTALMTD","TOTALQTD","TOTALYTD","ADDCOLUMNS","ADDMISSINGITEMS","ALL","ALLEXCEPT","ALLNOBLANKROW","ALLSELECTED","CALCULATE","CALCULATETABLE","CALENDAR","CALENDARAUTO","CROSSFILTER","CROSSJOIN","CURRENTGROUP","DATATABLE","DETAILROWS","DISTINCT","EARLIER","EARLIEST","EXCEPT","FILTER","FILTERS","GENERATE","GENERATEALL","GROUPBY","IGNORE","INTERSECT","ISONORAFTER","KEEPFILTERS","LOOKUPVALUE","NATURALINNERJOIN","NATURALLEFTOUTERJOIN","RELATED","RELATEDTABLE","ROLLUP","ROLLUPADDISSUBTOTAL","ROLLUPGROUP","ROLLUPISSUBTOTAL","ROW","SAMPLE","SELECTCOLUMNS","SUBSTITUTEWITHINDEX","SUMMARIZE","SUMMARIZECOLUMNS","TOPN","TREATAS","UNION","USERELATIONSHIP","VALUES","SUM","SUMX","PATH","PATHCONTAINS","PATHITEM","PATHITEMREVERSE","PATHLENGTH","AVERAGE","AVERAGEA","AVERAGEX","COUNT","COUNTA","COUNTAX","COUNTBLANK","COUNTROWS","COUNTX","DISTINCTCOUNT","DIVIDE","GEOMEAN","GEOMEANX","MAX","MAXA","MAXX","MEDIAN","MEDIANX","MIN","MINA","MINX","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILEX.EXC","PERCENTILEX.INC","PRODUCT","PRODUCTX","RANK.EQ","RANKX","STDEV.P","STDEV.S","STDEVX.P","STDEVX.S","VAR.P","VAR.S","VARX.P","VARX.S","XIRR","XNPV","DATE","DATEDIFF","DATEVALUE","DAY","EDATE","EOMONTH","HOUR","MINUTE","MONTH","NOW","SECOND","TIME","TIMEVALUE","TODAY","WEEKDAY","WEEKNUM","YEAR","YEARFRAC","CONTAINS","CONTAINSROW","CUSTOMDATA","ERROR","HASONEFILTER","HASONEVALUE","ISBLANK","ISCROSSFILTERED","ISEMPTY","ISERROR","ISEVEN","ISFILTERED","ISLOGICAL","ISNONTEXT","ISNUMBER","ISODD","ISSUBTOTAL","ISTEXT","USERNAME","USERPRINCIPALNAME","AND","FALSE","IF","IFERROR","NOT","OR","SWITCH","TRUE","ABS","ACOS","ACOSH","ACOT","ACOTH","ASIN","ASINH","ATAN","ATANH","BETA.DIST","BETA.INV","CEILING","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","COMBIN","COMBINA","CONFIDENCE.NORM","CONFIDENCE.T","COS","COSH","COT","COTH","CURRENCY","DEGREES","EVEN","EXP","EXPON.DIST","FACT","FLOOR","GCD","INT","ISO.CEILING","LCM","LN","LOG","LOG10","MOD","MROUND","ODD","PERMUT","PI","POISSON.DIST","POWER","QUOTIENT","RADIANS","RAND","RANDBETWEEN","ROUND","ROUNDDOWN","ROUNDUP","SIGN","SIN","SINH","SQRT","SQRTPI","TAN","TANH","TRUNC","BLANK","CONCATENATE","CONCATENATEX","EXACT","FIND","FIXED","FORMAT","LEFT","LEN","LOWER","MID","REPLACE","REPT","RIGHT","SEARCH","SUBSTITUTE","TRIM","UNICHAR","UNICODE","UPPER","VALUE"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},[/[;,.]/,"delimiter"],[/[({})]/,"@brackets"],[/[a-z_][a-zA-Z0-9_]*/,{cases:{"@keywords":"keyword","@functions":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*\/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/\/\/+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*\/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N"/,{token:"string",next:"@string"}],[/"/,{token:"string",next:"@string"}]],string:[[/[^"]+/,"string"],[/""/,"string"],[/"/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/'/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^']+/,"identifier"],[/''/,"identifier"],[/'/,{token:"identifier.quote",next:"@pop"}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/msdax/msdax.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/msdax/msdax.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var a=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");a.registerLanguage({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/msdax/msdax"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/mysql/mysql.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/mysql/mysql",function(E,T){"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.conf={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},T.language={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ACCESSIBLE","ACCOUNT","ACTION","ADD","AFTER","AGAINST","AGGREGATE","ALGORITHM","ALL","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","AS","ASC","ASCII","ASENSITIVE","AT","AUTOEXTEND_SIZE","AUTO_INCREMENT","AVG","AVG_ROW_LENGTH","BACKUP","BEFORE","BEGIN","BETWEEN","BIGINT","BINARY","BINLOG","BIT","BLOB","BLOCK","BOOL","BOOLEAN","BOTH","BTREE","BY","BYTE","CACHE","CALL","CASCADE","CASCADED","CASE","CATALOG_NAME","CHAIN","CHANGE","CHANGED","CHANNEL","CHAR","CHARACTER","CHARSET","CHECK","CHECKSUM","CIPHER","CLASS_ORIGIN","CLIENT","CLOSE","COALESCE","CODE","COLLATE","COLLATION","COLUMN","COLUMNS","COLUMN_FORMAT","COLUMN_NAME","COMMENT","COMMIT","COMMITTED","COMPACT","COMPLETION","COMPRESSED","COMPRESSION","CONCURRENT","CONDITION","CONNECTION","CONSISTENT","CONSTRAINT","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONTAINS","CONTEXT","CONTINUE","CONVERT","CPU","CREATE","CROSS","CUBE","CURRENT","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURSOR","CURSOR_NAME","DATA","DATABASE","DATABASES","DATAFILE","DATE","DATETIME","DAY","DAY_HOUR","DAY_MICROSECOND","DAY_MINUTE","DAY_SECOND","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULT_AUTH","DEFINER","DELAYED","DELAY_KEY_WRITE","DELETE","DESC","DESCRIBE","DES_KEY_FILE","DETERMINISTIC","DIAGNOSTICS","DIRECTORY","DISABLE","DISCARD","DISK","DISTINCT","DISTINCTROW","DIV","DO","DOUBLE","DROP","DUAL","DUMPFILE","DUPLICATE","DYNAMIC","EACH","ELSE","ELSEIF","ENABLE","ENCLOSED","ENCRYPTION","END","ENDS","ENGINE","ENGINES","ENUM","ERROR","ERRORS","ESCAPE","ESCAPED","EVENT","EVENTS","EVERY","EXCHANGE","EXECUTE","EXISTS","EXIT","EXPANSION","EXPIRE","EXPLAIN","EXPORT","EXTENDED","EXTENT_SIZE","FALSE","FAST","FAULTS","FETCH","FIELDS","FILE","FILE_BLOCK_SIZE","FILTER","FIRST","FIXED","FLOAT","FLOAT4","FLOAT8","FLUSH","FOLLOWS","FOR","FORCE","FOREIGN","FORMAT","FOUND","FROM","FULL","FULLTEXT","FUNCTION","GENERAL","GENERATED","GEOMETRY","GEOMETRYCOLLECTION","GET","GET_FORMAT","GLOBAL","GRANT","GRANTS","GROUP","GROUP_REPLICATION","HANDLER","HASH","HAVING","HELP","HIGH_PRIORITY","HOST","HOSTS","HOUR","HOUR_MICROSECOND","HOUR_MINUTE","HOUR_SECOND","IDENTIFIED","IF","IGNORE","IGNORE_SERVER_IDS","IMPORT","INDEX","INDEXES","INFILE","INITIAL_SIZE","INNER","INOUT","INSENSITIVE","INSERT","INSERT_METHOD","INSTALL","INSTANCE","INT","INT1","INT2","INT3","INT4","INT8","INTEGER","INTERVAL","INTO","INVOKER","IO","IO_AFTER_GTIDS","IO_BEFORE_GTIDS","IO_THREAD","IPC","ISOLATION","ISSUER","ITERATE","JOIN","JSON","KEY","KEYS","KEY_BLOCK_SIZE","KILL","LANGUAGE","LAST","LEADING","LEAVE","LEAVES","LEFT","LESS","LEVEL","LIKE","LIMIT","LINEAR","LINES","LINESTRING","LIST","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCK","LOCKS","LOGFILE","LOGS","LONG","LONGBLOB","LONGTEXT","LOOP","LOW_PRIORITY","MASTER","MASTER_AUTO_POSITION","MASTER_BIND","MASTER_CONNECT_RETRY","MASTER_DELAY","MASTER_HEARTBEAT_PERIOD","MASTER_HOST","MASTER_LOG_FILE","MASTER_LOG_POS","MASTER_PASSWORD","MASTER_PORT","MASTER_RETRY_COUNT","MASTER_SERVER_ID","MASTER_SSL","MASTER_SSL_CA","MASTER_SSL_CAPATH","MASTER_SSL_CERT","MASTER_SSL_CIPHER","MASTER_SSL_CRL","MASTER_SSL_CRLPATH","MASTER_SSL_KEY","MASTER_SSL_VERIFY_SERVER_CERT","MASTER_TLS_VERSION","MASTER_USER","MATCH","MAXVALUE","MAX_CONNECTIONS_PER_HOUR","MAX_QUERIES_PER_HOUR","MAX_ROWS","MAX_SIZE","MAX_STATEMENT_TIME","MAX_UPDATES_PER_HOUR","MAX_USER_CONNECTIONS","MEDIUM","MEDIUMBLOB","MEDIUMINT","MEDIUMTEXT","MEMORY","MERGE","MESSAGE_TEXT","MICROSECOND","MIDDLEINT","MIGRATE","MINUTE","MINUTE_MICROSECOND","MINUTE_SECOND","MIN_ROWS","MOD","MODE","MODIFIES","MODIFY","MONTH","MULTILINESTRING","MULTIPOINT","MULTIPOLYGON","MUTEX","MYSQL_ERRNO","NAME","NAMES","NATIONAL","NATURAL","NCHAR","NDB","NDBCLUSTER","NEVER","NEW","NEXT","NO","NODEGROUP","NONBLOCKING","NONE","NO_WAIT","NO_WRITE_TO_BINLOG","NUMBER","NUMERIC","NVARCHAR","OFFSET","OLD_PASSWORD","ON","ONE","ONLY","OPEN","OPTIMIZE","OPTIMIZER_COSTS","OPTION","OPTIONALLY","OPTIONS","OR","ORDER","OUT","OUTER","OUTFILE","OWNER","PACK_KEYS","PAGE","PARSER","PARSE_GCOL_EXPR","PARTIAL","PARTITION","PARTITIONING","PARTITIONS","PASSWORD","PHASE","PLUGIN","PLUGINS","PLUGIN_DIR","POINT","POLYGON","PORT","PRECEDES","PRECISION","PREPARE","PRESERVE","PREV","PRIMARY","PRIVILEGES","PROCEDURE","PROCESSLIST","PROFILE","PROFILES","PROXY","PURGE","QUARTER","QUERY","QUICK","RANGE","READ","READS","READ_ONLY","READ_WRITE","REAL","REBUILD","RECOVER","REDOFILE","REDO_BUFFER_SIZE","REDUNDANT","REFERENCES","REGEXP","RELAY","RELAYLOG","RELAY_LOG_FILE","RELAY_LOG_POS","RELAY_THREAD","RELEASE","RELOAD","REMOVE","RENAME","REORGANIZE","REPAIR","REPEAT","REPEATABLE","REPLACE","REPLICATE_DO_DB","REPLICATE_DO_TABLE","REPLICATE_IGNORE_DB","REPLICATE_IGNORE_TABLE","REPLICATE_REWRITE_DB","REPLICATE_WILD_DO_TABLE","REPLICATE_WILD_IGNORE_TABLE","REPLICATION","REQUIRE","RESET","RESIGNAL","RESTORE","RESTRICT","RESUME","RETURN","RETURNED_SQLSTATE","RETURNS","REVERSE","REVOKE","RIGHT","RLIKE","ROLLBACK","ROLLUP","ROTATE","ROUTINE","ROW","ROWS","ROW_COUNT","ROW_FORMAT","RTREE","SAVEPOINT","SCHEDULE","SCHEMA","SCHEMAS","SCHEMA_NAME","SECOND","SECOND_MICROSECOND","SECURITY","SELECT","SENSITIVE","SEPARATOR","SERIAL","SERIALIZABLE","SERVER","SESSION","SET","SHARE","SHOW","SHUTDOWN","SIGNAL","SIGNED","SIMPLE","SLAVE","SLOW","SMALLINT","SNAPSHOT","SOCKET","SOME","SONAME","SOUNDS","SOURCE","SPATIAL","SPECIFIC","SQL","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQL_AFTER_GTIDS","SQL_AFTER_MTS_GAPS","SQL_BEFORE_GTIDS","SQL_BIG_RESULT","SQL_BUFFER_RESULT","SQL_CACHE","SQL_CALC_FOUND_ROWS","SQL_NO_CACHE","SQL_SMALL_RESULT","SQL_THREAD","SQL_TSI_DAY","SQL_TSI_HOUR","SQL_TSI_MINUTE","SQL_TSI_MONTH","SQL_TSI_QUARTER","SQL_TSI_SECOND","SQL_TSI_WEEK","SQL_TSI_YEAR","SSL","STACKED","START","STARTING","STARTS","STATS_AUTO_RECALC","STATS_PERSISTENT","STATS_SAMPLE_PAGES","STATUS","STOP","STORAGE","STORED","STRAIGHT_JOIN","STRING","SUBCLASS_ORIGIN","SUBJECT","SUBPARTITION","SUBPARTITIONS","SUPER","SUSPEND","SWAPS","SWITCHES","TABLE","TABLES","TABLESPACE","TABLE_CHECKSUM","TABLE_NAME","TEMPORARY","TEMPTABLE","TERMINATED","TEXT","THAN","THEN","TIME","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TINYBLOB","TINYINT","TINYTEXT","TO","TRAILING","TRANSACTION","TRIGGER","TRIGGERS","TRUE","TRUNCATE","TYPE","TYPES","UNCOMMITTED","UNDEFINED","UNDO","UNDOFILE","UNDO_BUFFER_SIZE","UNICODE","UNINSTALL","UNION","UNIQUE","UNKNOWN","UNLOCK","UNSIGNED","UNTIL","UPDATE","UPGRADE","USAGE","USE","USER","USER_RESOURCES","USE_FRM","USING","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARCHARACTER","VARIABLES","VARYING","VIEW","VIRTUAL","WAIT","WARNINGS","WEEK","WEIGHT_STRING","WHEN","WHERE","WHILE","WITH","WITHOUT","WORK","WRAPPER","WRITE","X509","XA","XID","XML","XOR","YEAR","YEAR_MONTH","ZEROFILL"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["ABS","ACOS","ADDDATE","ADDTIME","AES_DECRYPT","AES_ENCRYPT","ANY_VALUE","Area","AsBinary","AsWKB","ASCII","ASIN","AsText","AsWKT","ASYMMETRIC_DECRYPT","ASYMMETRIC_DERIVE","ASYMMETRIC_ENCRYPT","ASYMMETRIC_SIGN","ASYMMETRIC_VERIFY","ATAN","ATAN2","ATAN","AVG","BENCHMARK","BIN","BIT_AND","BIT_COUNT","BIT_LENGTH","BIT_OR","BIT_XOR","Buffer","CAST","CEIL","CEILING","Centroid","CHAR","CHAR_LENGTH","CHARACTER_LENGTH","CHARSET","COALESCE","COERCIBILITY","COLLATION","COMPRESS","CONCAT","CONCAT_WS","CONNECTION_ID","Contains","CONV","CONVERT","CONVERT_TZ","ConvexHull","COS","COT","COUNT","CRC32","CREATE_ASYMMETRIC_PRIV_KEY","CREATE_ASYMMETRIC_PUB_KEY","CREATE_DH_PARAMETERS","CREATE_DIGEST","Crosses","CURDATE","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURTIME","DATABASE","DATE","DATE_ADD","DATE_FORMAT","DATE_SUB","DATEDIFF","DAY","DAYNAME","DAYOFMONTH","DAYOFWEEK","DAYOFYEAR","DECODE","DEFAULT","DEGREES","DES_DECRYPT","DES_ENCRYPT","Dimension","Disjoint","Distance","ELT","ENCODE","ENCRYPT","EndPoint","Envelope","Equals","EXP","EXPORT_SET","ExteriorRing","EXTRACT","ExtractValue","FIELD","FIND_IN_SET","FLOOR","FORMAT","FOUND_ROWS","FROM_BASE64","FROM_DAYS","FROM_UNIXTIME","GeomCollFromText","GeometryCollectionFromText","GeomCollFromWKB","GeometryCollectionFromWKB","GeometryCollection","GeometryN","GeometryType","GeomFromText","GeometryFromText","GeomFromWKB","GeometryFromWKB","GET_FORMAT","GET_LOCK","GLength","GREATEST","GROUP_CONCAT","GTID_SUBSET","GTID_SUBTRACT","HEX","HOUR","IF","IFNULL","INET_ATON","INET_NTOA","INET6_ATON","INET6_NTOA","INSERT","INSTR","InteriorRingN","Intersects","INTERVAL","IS_FREE_LOCK","IS_IPV4","IS_IPV4_COMPAT","IS_IPV4_MAPPED","IS_IPV6","IS_USED_LOCK","IsClosed","IsEmpty","ISNULL","IsSimple","JSON_APPEND","JSON_ARRAY","JSON_ARRAY_APPEND","JSON_ARRAY_INSERT","JSON_CONTAINS","JSON_CONTAINS_PATH","JSON_DEPTH","JSON_EXTRACT","JSON_INSERT","JSON_KEYS","JSON_LENGTH","JSON_MERGE","JSON_MERGE_PRESERVE","JSON_OBJECT","JSON_QUOTE","JSON_REMOVE","JSON_REPLACE","JSON_SEARCH","JSON_SET","JSON_TYPE","JSON_UNQUOTE","JSON_VALID","LAST_INSERT_ID","LCASE","LEAST","LEFT","LENGTH","LineFromText","LineStringFromText","LineFromWKB","LineStringFromWKB","LineString","LN","LOAD_FILE","LOCALTIME","LOCALTIMESTAMP","LOCATE","LOG","LOG10","LOG2","LOWER","LPAD","LTRIM","MAKE_SET","MAKEDATE","MAKETIME","MASTER_POS_WAIT","MAX","MBRContains","MBRCoveredBy","MBRCovers","MBRDisjoint","MBREqual","MBREquals","MBRIntersects","MBROverlaps","MBRTouches","MBRWithin","MD5","MICROSECOND","MID","MIN","MINUTE","MLineFromText","MultiLineStringFromText","MLineFromWKB","MultiLineStringFromWKB","MOD","MONTH","MONTHNAME","MPointFromText","MultiPointFromText","MPointFromWKB","MultiPointFromWKB","MPolyFromText","MultiPolygonFromText","MPolyFromWKB","MultiPolygonFromWKB","MultiLineString","MultiPoint","MultiPolygon","NAME_CONST","NOT IN","NOW","NULLIF","NumGeometries","NumInteriorRings","NumPoints","OCT","OCTET_LENGTH","OLD_PASSWORD","ORD","Overlaps","PASSWORD","PERIOD_ADD","PERIOD_DIFF","PI","Point","PointFromText","PointFromWKB","PointN","PolyFromText","PolygonFromText","PolyFromWKB","PolygonFromWKB","Polygon","POSITION","POW","POWER","PROCEDURE ANALYSE","QUARTER","QUOTE","RADIANS","RAND","RANDOM_BYTES","RELEASE_ALL_LOCKS","RELEASE_LOCK","REPEAT","REPLACE","REVERSE","RIGHT","ROUND","ROW_COUNT","RPAD","RTRIM","SCHEMA","SEC_TO_TIME","SECOND","SESSION_USER","SHA1","SHA","SHA2","SIGN","SIN","SLEEP","SOUNDEX","SPACE","SQRT","SRID","ST_Area","ST_AsBinary","ST_AsWKB","ST_AsGeoJSON","ST_AsText","ST_AsWKT","ST_Buffer","ST_Buffer_Strategy","ST_Centroid","ST_Contains","ST_ConvexHull","ST_Crosses","ST_Difference","ST_Dimension","ST_Disjoint","ST_Distance","ST_Distance_Sphere","ST_EndPoint","ST_Envelope","ST_Equals","ST_ExteriorRing","ST_GeoHash","ST_GeomCollFromText","ST_GeometryCollectionFromText","ST_GeomCollFromTxt","ST_GeomCollFromWKB","ST_GeometryCollectionFromWKB","ST_GeometryN","ST_GeometryType","ST_GeomFromGeoJSON","ST_GeomFromText","ST_GeometryFromText","ST_GeomFromWKB","ST_GeometryFromWKB","ST_InteriorRingN","ST_Intersection","ST_Intersects","ST_IsClosed","ST_IsEmpty","ST_IsSimple","ST_IsValid","ST_LatFromGeoHash","ST_Length","ST_LineFromText","ST_LineStringFromText","ST_LineFromWKB","ST_LineStringFromWKB","ST_LongFromGeoHash","ST_MakeEnvelope","ST_MLineFromText","ST_MultiLineStringFromText","ST_MLineFromWKB","ST_MultiLineStringFromWKB","ST_MPointFromText","ST_MultiPointFromText","ST_MPointFromWKB","ST_MultiPointFromWKB","ST_MPolyFromText","ST_MultiPolygonFromText","ST_MPolyFromWKB","ST_MultiPolygonFromWKB","ST_NumGeometries","ST_NumInteriorRing","ST_NumInteriorRings","ST_NumPoints","ST_Overlaps","ST_PointFromGeoHash","ST_PointFromText","ST_PointFromWKB","ST_PointN","ST_PolyFromText","ST_PolygonFromText","ST_PolyFromWKB","ST_PolygonFromWKB","ST_Simplify","ST_SRID","ST_StartPoint","ST_SymDifference","ST_Touches","ST_Union","ST_Validate","ST_Within","ST_X","ST_Y","StartPoint","STD","STDDEV","STDDEV_POP","STDDEV_SAMP","STR_TO_DATE","STRCMP","SUBDATE","SUBSTR","SUBSTRING","SUBSTRING_INDEX","SUBTIME","SUM","SYSDATE","SYSTEM_USER","TAN","TIME","TIME_FORMAT","TIME_TO_SEC","TIMEDIFF","TIMESTAMP","TIMESTAMPADD","TIMESTAMPDIFF","TO_BASE64","TO_DAYS","TO_SECONDS","Touches","TRIM","TRUNCATE","UCASE","UNCOMPRESS","UNCOMPRESSED_LENGTH","UNHEX","UNIX_TIMESTAMP","UpdateXML","UPPER","USER","UTC_DATE","UTC_TIME","UTC_TIMESTAMP","UUID","UUID_SHORT","VALIDATE_PASSWORD_STRENGTH","VALUES","VAR_POP","VAR_SAMP","VARIANCE","VERSION","WAIT_FOR_EXECUTED_GTID_SET","WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS","WEEK","WEEKDAY","WEEKOFYEAR","WEIGHT_STRING","Within","X","Y","YEAR","YEARWEEK"],builtinVariables:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*\/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/#+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*\/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],complexIdentifiers:[[/`/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^`]+/,"identifier"],[/``/,"identifier"],[/`/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/mysql/mysql.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/mysql/mysql.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/mysql/mysql"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o.language={defaultToken:"",tokenPostfix:".objective-c",keywords:["#import","#include","#define","#else","#endif","#if","#ifdef","#ifndef","#ident","#undef","@class","@defs","@dynamic","@encode","@end","@implementation","@interface","@package","@private","@protected","@property","@protocol","@public","@selector","@synthesize","__declspec","assign","auto","BOOL","break","bycopy","byref","case","char","Class","const","copy","continue","default","do","double","else","enum","extern","FALSE","false","float","for","goto","if","in","int","id","inout","IMP","long","nil","nonatomic","NULL","oneway","out","private","public","protected","readwrite","readonly","register","return","SEL","self","short","signed","sizeof","static","struct","super","switch","typedef","TRUE","true","union","unsigned","volatile","void","while"],decpart:/\d(_?\d)*/,decimal:/0|@decpart/,tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()<>]/,"@brackets"],[/[a-zA-Z@#]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[<>=\\+\\-\\*\\\/\\^\\|\\~,]|and\\b|or\\b|not\\b]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[[/0[xX][0-9a-fA-F]*(_?[0-9a-fA-F])*/,"number.hex"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)[fF]*/,{cases:{"(\\d)*":"number",$0:"number.float"}}]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c.contribution",function(e,o){"use strict";var t=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(o[t]=e[t]);return o["default"]=e,o};Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");i.registerLanguage({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return Promise.resolve().then(function(){return t(e("node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/pascal/pascal.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/pascal/pascal",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["{","}"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\{\\$REGION(\\s\\'.*\\')?\\}"),end:new RegExp("^\\s*\\{\\$ENDREGION\\}")}}},t.language={defaultToken:"",tokenPostfix:".pascal",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["absolute","abstract","all","and_then","array","as","asm","attribute","begin","bindable","case","class","const","contains","default","div","else","end","except","exports","external","far","file","finalization","finally","forward","generic","goto","if","implements","import","in","index","inherited","initialization","interrupt","is","label","library","mod","module","name","near","not","object","of","on","only","operator","or_else","otherwise","override","package","packed","pow","private","program","protected","public","published","interface","implementation","qualified","read","record","resident","requires","resourcestring","restricted","segment","set","shl","shr","specialize","stored","then","threadvar","to","try","type","unit","uses","var","view","virtual","dynamic","overload","reintroduce","with","write","xor","true","false","procedure","function","constructor","destructor","property","break","continue","exit","abort","while","do","for","raise","repeat","until"],typeKeywords:["boolean","double","byte","integer","shortint","char","longint","float","string"],operators:["=",">","<","<=",">=","<>",":",":=","and","or","+","-","*","/","@","&","^","%"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\*\}]+/,"comment"],[/\}/,"comment","@pop"],[/[\{]/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\{/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/pascal/pascal.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/pascal/pascal.contribution",function(e,a){"use strict";var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(a[s]=e[s]);return a["default"]=e,a};Object.defineProperty(a,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return Promise.resolve().then(function(){return s(e("node_modules/monaco-editor/esm/vs/basic-languages/pascal/pascal"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/pgsql/pgsql.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/pgsql/pgsql",function(_,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conf={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},e.language={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["A","ABORT","ABS","ABSENT","ABSOLUTE","ACCESS","ACCORDING","ACTION","ADA","ADD","ADMIN","AFTER","AGGREGATE","ALL","ALLOCATE","ALSO","ALTER","ALWAYS","ANALYSE","ANALYZE","AND","ANY","ARE","ARRAY","ARRAY_AGG","ARRAY_MAX_CARDINALITY","AS","ASC","ASENSITIVE","ASSERTION","ASSIGNMENT","ASYMMETRIC","AT","ATOMIC","ATTRIBUTE","ATTRIBUTES","AUTHORIZATION","AVG","BACKWARD","BASE64","BEFORE","BEGIN","BEGIN_FRAME","BEGIN_PARTITION","BERNOULLI","BETWEEN","BIGINT","BINARY","BIT","BIT_LENGTH","BLOB","BLOCKED","BOM","BOOLEAN","BOTH","BREADTH","BY","C","CACHE","CALL","CALLED","CARDINALITY","CASCADE","CASCADED","CASE","CAST","CATALOG","CATALOG_NAME","CEIL","CEILING","CHAIN","CHAR","CHARACTER","CHARACTERISTICS","CHARACTERS","CHARACTER_LENGTH","CHARACTER_SET_CATALOG","CHARACTER_SET_NAME","CHARACTER_SET_SCHEMA","CHAR_LENGTH","CHECK","CHECKPOINT","CLASS","CLASS_ORIGIN","CLOB","CLOSE","CLUSTER","COALESCE","COBOL","COLLATE","COLLATION","COLLATION_CATALOG","COLLATION_NAME","COLLATION_SCHEMA","COLLECT","COLUMN","COLUMNS","COLUMN_NAME","COMMAND_FUNCTION","COMMAND_FUNCTION_CODE","COMMENT","COMMENTS","COMMIT","COMMITTED","CONCURRENTLY","CONDITION","CONDITION_NUMBER","CONFIGURATION","CONFLICT","CONNECT","CONNECTION","CONNECTION_NAME","CONSTRAINT","CONSTRAINTS","CONSTRAINT_CATALOG","CONSTRAINT_NAME","CONSTRAINT_SCHEMA","CONSTRUCTOR","CONTAINS","CONTENT","CONTINUE","CONTROL","CONVERSION","CONVERT","COPY","CORR","CORRESPONDING","COST","COUNT","COVAR_POP","COVAR_SAMP","CREATE","CROSS","CSV","CUBE","CUME_DIST","CURRENT","CURRENT_CATALOG","CURRENT_DATE","CURRENT_DEFAULT_TRANSFORM_GROUP","CURRENT_PATH","CURRENT_ROLE","CURRENT_ROW","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_TRANSFORM_GROUP_FOR_TYPE","CURRENT_USER","CURSOR","CURSOR_NAME","CYCLE","DATA","DATABASE","DATALINK","DATE","DATETIME_INTERVAL_CODE","DATETIME_INTERVAL_PRECISION","DAY","DB","DEALLOCATE","DEC","DECIMAL","DECLARE","DEFAULT","DEFAULTS","DEFERRABLE","DEFERRED","DEFINED","DEFINER","DEGREE","DELETE","DELIMITER","DELIMITERS","DENSE_RANK","DEPENDS","DEPTH","DEREF","DERIVED","DESC","DESCRIBE","DESCRIPTOR","DETERMINISTIC","DIAGNOSTICS","DICTIONARY","DISABLE","DISCARD","DISCONNECT","DISPATCH","DISTINCT","DLNEWCOPY","DLPREVIOUSCOPY","DLURLCOMPLETE","DLURLCOMPLETEONLY","DLURLCOMPLETEWRITE","DLURLPATH","DLURLPATHONLY","DLURLPATHWRITE","DLURLSCHEME","DLURLSERVER","DLVALUE","DO","DOCUMENT","DOMAIN","DOUBLE","DROP","DYNAMIC","DYNAMIC_FUNCTION","DYNAMIC_FUNCTION_CODE","EACH","ELEMENT","ELSE","EMPTY","ENABLE","ENCODING","ENCRYPTED","END","END-EXEC","END_FRAME","END_PARTITION","ENFORCED","ENUM","EQUALS","ESCAPE","EVENT","EVERY","EXCEPT","EXCEPTION","EXCLUDE","EXCLUDING","EXCLUSIVE","EXEC","EXECUTE","EXISTS","EXP","EXPLAIN","EXPRESSION","EXTENSION","EXTERNAL","EXTRACT","FALSE","FAMILY","FETCH","FILE","FILTER","FINAL","FIRST","FIRST_VALUE","FLAG","FLOAT","FLOOR","FOLLOWING","FOR","FORCE","FOREIGN","FORTRAN","FORWARD","FOUND","FRAME_ROW","FREE","FREEZE","FROM","FS","FULL","FUNCTION","FUNCTIONS","FUSION","G","GENERAL","GENERATED","GET","GLOBAL","GO","GOTO","GRANT","GRANTED","GREATEST","GROUP","GROUPING","GROUPS","HANDLER","HAVING","HEADER","HEX","HIERARCHY","HOLD","HOUR","ID","IDENTITY","IF","IGNORE","ILIKE","IMMEDIATE","IMMEDIATELY","IMMUTABLE","IMPLEMENTATION","IMPLICIT","IMPORT","IN","INCLUDING","INCREMENT","INDENT","INDEX","INDEXES","INDICATOR","INHERIT","INHERITS","INITIALLY","INLINE","INNER","INOUT","INPUT","INSENSITIVE","INSERT","INSTANCE","INSTANTIABLE","INSTEAD","INT","INTEGER","INTEGRITY","INTERSECT","INTERSECTION","INTERVAL","INTO","INVOKER","IS","ISNULL","ISOLATION","JOIN","K","KEY","KEY_MEMBER","KEY_TYPE","LABEL","LAG","LANGUAGE","LARGE","LAST","LAST_VALUE","LATERAL","LEAD","LEADING","LEAKPROOF","LEAST","LEFT","LENGTH","LEVEL","LIBRARY","LIKE","LIKE_REGEX","LIMIT","LINK","LISTEN","LN","LOAD","LOCAL","LOCALTIME","LOCALTIMESTAMP","LOCATION","LOCATOR","LOCK","LOCKED","LOGGED","LOWER","M","MAP","MAPPING","MATCH","MATCHED","MATERIALIZED","MAX","MAXVALUE","MAX_CARDINALITY","MEMBER","MERGE","MESSAGE_LENGTH","MESSAGE_OCTET_LENGTH","MESSAGE_TEXT","METHOD","MIN","MINUTE","MINVALUE","MOD","MODE","MODIFIES","MODULE","MONTH","MORE","MOVE","MULTISET","MUMPS","NAME","NAMES","NAMESPACE","NATIONAL","NATURAL","NCHAR","NCLOB","NESTING","NEW","NEXT","NFC","NFD","NFKC","NFKD","NIL","NO","NONE","NORMALIZE","NORMALIZED","NOT","NOTHING","NOTIFY","NOTNULL","NOWAIT","NTH_VALUE","NTILE","NULL","NULLABLE","NULLIF","NULLS","NUMBER","NUMERIC","OBJECT","OCCURRENCES_REGEX","OCTETS","OCTET_LENGTH","OF","OFF","OFFSET","OIDS","OLD","ON","ONLY","OPEN","OPERATOR","OPTION","OPTIONS","OR","ORDER","ORDERING","ORDINALITY","OTHERS","OUT","OUTER","OUTPUT","OVER","OVERLAPS","OVERLAY","OVERRIDING","OWNED","OWNER","P","PAD","PARALLEL","PARAMETER","PARAMETER_MODE","PARAMETER_NAME","PARAMETER_ORDINAL_POSITION","PARAMETER_SPECIFIC_CATALOG","PARAMETER_SPECIFIC_NAME","PARAMETER_SPECIFIC_SCHEMA","PARSER","PARTIAL","PARTITION","PASCAL","PASSING","PASSTHROUGH","PASSWORD","PATH","PERCENT","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","PERIOD","PERMISSION","PLACING","PLANS","PLI","POLICY","PORTION","POSITION","POSITION_REGEX","POWER","PRECEDES","PRECEDING","PRECISION","PREPARE","PREPARED","PRESERVE","PRIMARY","PRIOR","PRIVILEGES","PROCEDURAL","PROCEDURE","PROGRAM","PUBLIC","QUOTE","RANGE","RANK","READ","READS","REAL","REASSIGN","RECHECK","RECOVERY","RECURSIVE","REF","REFERENCES","REFERENCING","REFRESH","REGR_AVGX","REGR_AVGY","REGR_COUNT","REGR_INTERCEPT","REGR_R2","REGR_SLOPE","REGR_SXX","REGR_SXY","REGR_SYY","REINDEX","RELATIVE","RELEASE","RENAME","REPEATABLE","REPLACE","REPLICA","REQUIRING","RESET","RESPECT","RESTART","RESTORE","RESTRICT","RESULT","RETURN","RETURNED_CARDINALITY","RETURNED_LENGTH","RETURNED_OCTET_LENGTH","RETURNED_SQLSTATE","RETURNING","RETURNS","REVOKE","RIGHT","ROLE","ROLLBACK","ROLLUP","ROUTINE","ROUTINE_CATALOG","ROUTINE_NAME","ROUTINE_SCHEMA","ROW","ROWS","ROW_COUNT","ROW_NUMBER","RULE","SAVEPOINT","SCALE","SCHEMA","SCHEMA_NAME","SCOPE","SCOPE_CATALOG","SCOPE_NAME","SCOPE_SCHEMA","SCROLL","SEARCH","SECOND","SECTION","SECURITY","SELECT","SELECTIVE","SELF","SENSITIVE","SEQUENCE","SEQUENCES","SERIALIZABLE","SERVER","SERVER_NAME","SESSION","SESSION_USER","SET","SETOF","SETS","SHARE","SHOW","SIMILAR","SIMPLE","SIZE","SKIP","SMALLINT","SNAPSHOT","SOME","SOURCE","SPACE","SPECIFIC","SPECIFICTYPE","SPECIFIC_NAME","SQL","SQLCODE","SQLERROR","SQLEXCEPTION","SQLSTATE","SQLWARNING","SQRT","STABLE","STANDALONE","START","STATE","STATEMENT","STATIC","STATISTICS","STDDEV_POP","STDDEV_SAMP","STDIN","STDOUT","STORAGE","STRICT","STRIP","STRUCTURE","STYLE","SUBCLASS_ORIGIN","SUBMULTISET","SUBSTRING","SUBSTRING_REGEX","SUCCEEDS","SUM","SYMMETRIC","SYSID","SYSTEM","SYSTEM_TIME","SYSTEM_USER","T","TABLE","TABLES","TABLESAMPLE","TABLESPACE","TABLE_NAME","TEMP","TEMPLATE","TEMPORARY","TEXT","THEN","TIES","TIME","TIMESTAMP","TIMEZONE_HOUR","TIMEZONE_MINUTE","TO","TOKEN","TOP_LEVEL_COUNT","TRAILING","TRANSACTION","TRANSACTIONS_COMMITTED","TRANSACTIONS_ROLLED_BACK","TRANSACTION_ACTIVE","TRANSFORM","TRANSFORMS","TRANSLATE","TRANSLATE_REGEX","TRANSLATION","TREAT","TRIGGER","TRIGGER_CATALOG","TRIGGER_NAME","TRIGGER_SCHEMA","TRIM","TRIM_ARRAY","TRUE","TRUNCATE","TRUSTED","TYPE","TYPES","UESCAPE","UNBOUNDED","UNCOMMITTED","UNDER","UNENCRYPTED","UNION","UNIQUE","UNKNOWN","UNLINK","UNLISTEN","UNLOGGED","UNNAMED","UNNEST","UNTIL","UNTYPED","UPDATE","UPPER","URI","USAGE","USER","USER_DEFINED_TYPE_CATALOG","USER_DEFINED_TYPE_CODE","USER_DEFINED_TYPE_NAME","USER_DEFINED_TYPE_SCHEMA","USING","VACUUM","VALID","VALIDATE","VALIDATOR","VALUE","VALUES","VALUE_OF","VARBINARY","VARCHAR","VARIADIC","VARYING","VAR_POP","VAR_SAMP","VERBOSE","VERSION","VERSIONING","VIEW","VIEWS","VOLATILE","WHEN","WHENEVER","WHERE","WHITESPACE","WIDTH_BUCKET","WINDOW","WITH","WITHIN","WITHOUT","WORK","WRAPPER","WRITE","XML","XMLAGG","XMLATTRIBUTES","XMLBINARY","XMLCAST","XMLCOMMENT","XMLCONCAT","XMLDECLARATION","XMLDOCUMENT","XMLELEMENT","XMLEXISTS","XMLFOREST","XMLITERATE","XMLNAMESPACES","XMLPARSE","XMLPI","XMLQUERY","XMLROOT","XMLSCHEMA","XMLSERIALIZE","XMLTABLE","XMLTEXT","XMLVALIDATE","YEAR","YES","ZONE"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["abbrev","abs","acos","acosd","age","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","ascii","asin","asind","atan","atan2","atan2d","atand","avg","bit","bit_and","bit_length","bit_or","bool_and","bool_or","bound_box","box","brin_summarize_new_values","broadcast","btrim","cardinality","cbrt","ceil","ceiling","center","char_length","character_length","chr","circle","clock_timestamp","coalesce","col_description","concat","concat_ws","convert","convert_from","convert_to","corr","cos","cosd","cot","cotd","count","covar_pop","covar_samp","cume_dist","current_catalog","current_database","current_date","current_query","current_role","current_schema","current_schemas","current_setting","current_time","current_timestamp","current_user","currval","cursor_to_xml","date_part","date_trunc","decode","degrees","dense_rank","diameter","div","encode","enum_first","enum_last","enum_range","every","exp","extract","family","first_value","floor","format","format_type","generate_series","generate_subscripts","get_bit","get_byte","get_current_ts_config","gin_clean_pending_list","greatest","grouping","has_any_column_privilege","has_column_privilege","has_database_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_schema_privilege","has_sequence_privilege","has_server_privilege","has_table_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","initcap","isclosed","isempty","isfinite","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lag","last_value","lastval","lead","least","left","length","line","ln","localtime","localtimestamp","log","lower","lower_inc","lower_inf","lpad","lseg","ltrim","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","max","md5","min","mod","mode","netmask","network","nextval","now","npoints","nth_value","ntile","nullif","num_nonnulls","num_nulls","numnode","obj_description","octet_length","overlay","parse_ident","path","pclose","percent_rank","percentile_cont","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backend_pid","pg_backup_start_time","pg_blocking_pids","pg_cancel_backend","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_terminate_backend","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","pi","plainto_tsquery","point","polygon","popen","position","power","pqserverversion","query_to_xml","querytree","quote_ident","quote_literal","quote_nullable","radians","radius","random","range_merge","rank","regexp_matches","regexp_replace","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","repeat","replace","reverse","right","round","row_number","row_security_active","row_to_json","rpad","rtrim","scale","session_user","set_bit","set_byte","set_config","set_masklen","setseed","setval","setweight","shobj_description","sign","sin","sind","split_part","sprintf","sqrt","statement_timestamp","stddev","stddev_pop","stddev_samp","string_agg","string_to_array","strip","strpos","substr","substring","sum","table_to_xml","table_to_xml_and_xmlschema","tan","tand","text","timeofday","timezone","to_ascii","to_char","to_date","to_hex","to_json","to_number","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_timestamp","to_tsquery","to_tsvector","transaction_timestamp","translate","trim","trunc","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper","upper_inc","upper_inf","user","var_pop","var_samp","variance","version","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*\/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*\/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/pgsql/pgsql.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/pgsql/pgsql.contribution",function(e,s){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(s[o]=e[o]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/pgsql/pgsql"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/php/php.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/php/php",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},t.language={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[^<]+/]],doctype:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/php/php.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/php/php.contribution",function(e,n){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");t.registerLanguage({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/php/php"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},t.language={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=><!~?:&|+\-*\/\^%]+/,IDENTFST:/[a-zA-Z_]/,IDENTRST:/[a-zA-Z0-9_'$]/,symbolic:/[%&+-.\/:=@~`^|*!$#?<>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/\.@symbolic+/,action:{token:"identifier.sym"}},{regex:/\.@digit*@fexponent@FLOATSP*/,action:{token:"number.float"}},{regex:/\.@digit+/,action:{token:"number.float"}},{regex:/\$@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_dlr":{token:"keyword.dlr"},"@default":{token:"namespace"}}}},{regex:/\#@IDENTFST@IDENTRST*/,action:{cases:{"@keywords_srp":{token:"keyword.srp"},"@default":{token:"identifier"}}}},{regex:/%\(/,action:{token:"delimiter.parenthesis"}},{regex:/^%{(#|\^|\$)?/,action:{token:"keyword",next:"@lexing_EXTCODE",nextEmbedded:"text/javascript"}},{regex:/^%}/,action:{token:"keyword"}},{regex:/'\(/,action:{token:"delimiter.parenthesis"}},{regex:/'\[/,action:{token:"delimiter.bracket"}},{regex:/'\{/,action:{token:"delimiter.brace"}},[/(')(\\@ESCHAR|\\[xX]@xdigit+|\\@digit+)(')/,["string","string.escape","string"]],[/'[^\\']'/,"string"],[/"/,"string.quote","@lexing_DQUOTE"],{regex:/`\(/,action:"@brackets"},{regex:/\\/,action:{token:"punctuation"}},{regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:"keyword"}},{regex:/@IDENTFST@IDENTRST*[<!\[]?/,action:{cases:{"@keywords":{token:"keyword"},"@keywords_types":{token:"type"},"@default":{token:"identifier"}}}},{regex:/\/\/\/\//,action:{token:"comment",next:"@lexing_COMMENT_rest"}},{regex:/\/\/.*$/,action:{token:"comment"}},{regex:/\/\*/,action:{token:"comment",next:"@lexing_COMMENT_block_c"}},{regex:/-<|=</,action:{token:"keyword",next:"@lexing_EFFECT_commaseq0"}},{regex:/@symbolic+/,action:{cases:{"@operators":"keyword","@default":"operator"}}},{regex:/0[xX]@xdigit+(@hexiexp|@fexponent_bin)@FLOATSP*/,action:{token:"number.float"}},{regex:/0[xX]@xdigit+@INTSP*/,action:{token:"number.hex"}},{regex:/0[0-7]+(?![0-9])@INTSP*/,action:{token:"number.octal"}},{regex:/@digit+(@fexponent|@deciexp)@FLOATSP*/,action:{token:"number.float"}},{regex:/@digit@digitseq0@INTSP*/,action:{token:"number.decimal"}},{regex:/@digit+@INTSP*/,action:{token:"number"}}],lexing_COMMENT_block_ml:[[/[^\(\*]+/,"comment"],[/\(\*/,"comment","@push"],[/\(\*/,"comment.invalid"],[/\*\)/,"comment","@pop"],[/\*/,"comment"]],lexing_COMMENT_block_c:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],lexing_COMMENT_rest:[[/$/,"comment","@pop"],[/.*/,"comment"]],lexing_EFFECT_commaseq0:[{regex:/@IDENTFST@IDENTRST+|@digit+/,action:{cases:{"@keywords_effects":{token:"type.effect"},"@default":{token:"identifier"}}}},{regex:/,/,action:{token:"punctuation"}},{regex:/>/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats.contribution",function(e,s){"use strict";var t=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(s[t]=e[t]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return Promise.resolve().then(function(){return t(e("node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/powerquery/powerquery.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/powerquery/powerquery",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},t.language={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/powerquery/powerquery.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/powerquery/powerquery.contribution",function(e,r){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/powerquery/powerquery"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/powershell/powershell.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/powershell/powershell",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},n.language={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=><!~?&%|+\-*\/\^;\.,]+/,escapes:/`(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_][\w-]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/^:\w*/,"metatag"],[/\$(\{((global|local|private|script|using):)?[\w]+\}|((global|local|private|script|using):)?[\w]+)/,"variable"],[/<#/,"comment","@comment"],[/#.*$/,"comment"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/\@"/,"string",'@herestring."'],[/\@'/,"string","@herestring.'"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\$`]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/`./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/\$[\w]+$/,{cases:{'$S2=="':{token:"variable",next:"@popall"},"@default":{token:"string",next:"@popall"}}}],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}}}]],herestring:[[/^\s*(["'])@/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^\$`]+/,"string"],[/@escapes/,"string.escape"],[/`./,"string.escape.invalid"],[/\$[\w]+/,{cases:{'$S2=="':"variable","@default":"string"}}]],comment:[[/[^#\.]+/,"comment"],[/#>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/powershell/powershell.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/powershell/powershell.contribution",function(e,o){"use strict";var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(o[s]=e[s]);return o["default"]=e,o};Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");r.registerLanguage({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return Promise.resolve().then(function(){return s(e("node_modules/monaco-editor/esm/vs/basic-languages/powershell/powershell"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/pug/pug.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/pug/pug",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},t.language={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],blockText:[[/^\s+.*$/,{cases:{"($S2\\s+.*$)":{token:"$S3"},"@default":{token:"@rematch",next:"@popall"}}}],[/./,{token:"@rematch",next:"@popall"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]],string:[[/[^\\"'#]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,{cases:{"@eos":{token:"string.escape",next:"@popall"},"@default":"string.escape"}}],[/\\./,{cases:{"@eos":{token:"string.escape.invalid",next:"@popall"},"@default":"string.escape.invalid"}}],[/(#{)([^}]*)(})/,["interpolation.delimiter","interpolation","interpolation.delimiter"]],[/#/,"string"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":{token:"string"}}}]],value:[[/[^\\"']+/,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/\\./,{cases:{"@eos":{token:"attribute.value",next:"@popall"},"@default":"attribute.value"}}],[/["']/,{cases:{"$#==$S2":{token:"attribute.value",next:"@pop"},"@default":{token:"attribute.value"}}}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/pug/pug.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/pug/pug.contribution",function(e,n){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");r.registerLanguage({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/pug/pug"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/python/python.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/python/python",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var s="undefined"==typeof monaco?self.monaco:monaco;n.conf={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$"),action:{indentAction:s.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},n.language={defaultToken:"",tokenPostfix:".python",keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","print","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/python/python.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/python/python.contribution",function(e,n){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");t.registerLanguage({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/python/python"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/r/r.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/r/r",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.conf={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o.language={defaultToken:"",tokenPostfix:".r",roxygen:["@param","@return","@name","@rdname","@examples","@include","@docType","@S3method","@TODO","@aliases","@alias","@assignee","@author","@callGraphDepth","@callGraph","@callGraphPrimitives","@concept","@exportClass","@exportMethod","@exportPattern","@export","@formals","@format","@importClassesFrom","@importFrom","@importMethodsFrom","@import","@keywords","@method","@nord","@note","@references","@seealso","@setClass","@slot","@source","@title","@usage"],constants:["NULL","FALSE","TRUE","NA","Inf","NaN ","NA_integer_","NA_real_","NA_complex_","NA_character_ ","T","F","LETTERS","letters","month.abb","month.name","pi","R.version.string"],keywords:["break","next","return","if","else","for","in","repeat","while","array","category","character","complex","double","function","integer","list","logical","matrix","numeric","vector","data.frame","factor","library","require","attach","detach","source"],special:["\\n","\\r","\\t","\\b","\\a","\\f","\\v","\\'",'\\"',"\\\\"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@numbers"},{include:"@strings"},[/[{}\[\]()]/,"@brackets"],{include:"@operators"},[/#'/,"comment.doc","@roxygen"],[/(^#.*$)/,"comment"],[/\s+/,"white"],[/[,:;]/,"delimiter"],[/@[a-zA-Z]\w*/,"tag"],[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@constants":"constant","@default":"identifier"}}]],roxygen:[[/@\w+/,{cases:{"@roxygen":"tag","@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/\s+/,{cases:{"@eos":{token:"comment.doc",next:"@pop"},"@default":"comment.doc"}}],[/.*/,{token:"comment.doc",next:"@pop"}]],numbers:[[/0[xX][0-9a-fA-F]+/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?/,"number"]],operators:[[/<{1,2}-/,"operator"],[/->{1,2}/,"operator"],[/%[^%\s]+%/,"operator"],[/\*\*/,"operator"],[/%%/,"operator"],[/&&/,"operator"],[/\|\|/,"operator"],[/<</,"operator"],[/>>/,"operator"],[/[-+=&|!<>^~*\/:$]/,"operator"]],strings:[[/'/,"string.escape","@stringBody"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/'/,"string.escape","@popall"],[/./,"string"]],dblStringBody:[[/\\./,{cases:{"@special":"string","@default":"error-token"}}],[/"/,"string.escape","@popall"],[/./,"string"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/r/r.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/r/r.contribution",function(e,r){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"r",extensions:[".r",".rhistory",".rprofile",".rt"],aliases:["R","r"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/r/r"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/razor/razor.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/razor/razor",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="undefined"==typeof monaco?self.monaco:monaco,r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:o.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:o.languages.IndentAction.Indent}}]},t.language={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/razor/razor.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/razor/razor.contribution",function(e,r){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/razor/razor"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/redis/redis.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/redis/redis",function(E,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conf={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},e.language={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*\/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/redis/redis.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/redis/redis.contribution",function(e,r){"use strict";var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(r[s]=e[s]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");i.registerLanguage({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return Promise.resolve().then(function(){return s(e("node_modules/monaco-editor/esm/vs/basic-languages/redis/redis"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/redshift/redshift.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/redshift/redshift",function(e,_){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.conf={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},_.language={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*\/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*\/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/redshift/redshift.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/redshift/redshift.contribution",function(e,r){"use strict";var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(r[s]=e[s]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");t.registerLanguage({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return Promise.resolve().then(function(){return s(e("node_modules/monaco-editor/esm/vs/basic-languages/redshift/redshift"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp("^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$"),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},t.language={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=><!~?:&|+\-*\/\^%\.]+/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,decpart:/\d(_?\d)*/,decimal:/0|@decpart/,delim:/[^a-zA-Z0-9\s\n\r]/,heredelim:/(?:\w+|'[^']*'|"[^"]*"|`[^`]*`)/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[AzZbBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,tokenizer:{root:[[/^(\s*)([a-z_]\w*[!?=]?)/,["white",{cases:{"for|until|while":{token:"keyword.$2",next:"@dodecl.$2"},"@declarations":{token:"keyword.$2",next:"@root.$2"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}]],[/[a-z_]\w*[!?=]?/,{cases:{"if|unless|while|until":{token:"keyword.$0x",next:"@modifier.$0x"},"for":{token:"keyword.$2",next:"@dodecl.$2"},"@linedecls":{token:"keyword.$0",next:"@root.$0"},end:{token:"keyword.$S2",next:"@pop"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],[/[A-Z][\w]*[!?=]?/,"constructor.identifier"],[/\$[\w]*/,"global.constant"],[/@[\w]*/,"namespace.instance.identifier"],[/@@[\w]*/,"namespace.class.identifier"],[/<<[-~](@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/[ \t\r\n]+<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],[/^<<(@heredelim).*/,{token:"string.heredoc.delimiter",next:"@heredoc.$1"}],{include:"@whitespace"},[/"/,{token:"string.d.delim",next:'@dstring.d."'}],[/'/,{token:"string.sq.delim",next:"@sstring.sq"}],[/%([rsqxwW]|Q?)/,{token:"@rematch",next:"pstring"}],[/`/,{token:"string.x.delim",next:"@dstring.x.`"}],[/:(\w|[$@])\w*[!?=]?/,"string.s"],[/:"/,{token:"string.s.delim",next:'@dstring.s."'}],[/:'/,{token:"string.s.delim",next:"@sstring.s"}],[/\/(?=(\\\/|[^\/\n])+\/)/,{token:"regexp.delim",next:"@regexp"}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@keywordops":"keyword","@operators":"operator","@default":""}}],[/[;,]/,"delimiter"],[/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/,"number.hex"],[/0[_oO][0-7](_?[0-7])*/,"number.octal"],[/0[bB][01](_?[01])*/,"number.binary"],[/0[dD]@decpart/,"number"],[/@decimal((\.@decpart)?([eE][\-+]?@decpart)?)/,{cases:{$1:"number.float","@default":"number"}}]],dodecl:[[/^/,{token:"",switchTo:"@root.$S2"}],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},"do":{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],modifier:[[/^/,"","@pop"],[/[a-z_]\w*[!?=]?/,{cases:{end:{token:"keyword.$S2",next:"@pop"},"then|else|elsif|do":{token:"keyword",switchTo:"@root.$S2"},"@linedecls":{token:"@rematch",switchTo:"@root.$S2"},"@keywords":"keyword","@builtins":"predefined","@default":"identifier"}}],{include:"@root"}],sstring:[[/[^\\']+/,"string.$S2"],[/\\\\|\\'|\\$/,"string.$S2.escape"],[/\\./,"string.$S2.invalid"],[/'/,{token:"string.$S2.delim",next:"@pop"}]],dstring:[[/[^\\`"#]+/,"string.$S2"],[/#/,"string.$S2.escape","@interpolated"],[/\\$/,"string.$S2.escape"],[/@escapes/,"string.$S2.escape"],[/\\./,"string.$S2.escape.invalid"],[/[`"]/,{cases:{"$#==$S3":{token:"string.$S2.delim",next:"@pop"},"@default":"string.$S2"}}]],heredoc:[[/^(\s*)(@heredelim)$/,{cases:{"$2==$S2":["string.heredoc",{token:"string.heredoc.delimiter",next:"@pop"}],"@default":["string.heredoc","string.heredoc"]}}],[/.*/,"string.heredoc"]],interpolated:[[/\$\w*/,"global.constant","@pop"],[/@\w*/,"namespace.class.identifier","@pop"],[/@@\w*/,"namespace.instance.identifier","@pop"],[/[{]/,{token:"string.escape.curly",switchTo:"@interpolated_compound"}],["","","@pop"]],interpolated_compound:[[/[}]/,{token:"string.escape.curly",next:"@pop"}],{include:"@root"}],pregexp:[{include:"@whitespace"},[/[^\(\{\[\\]/,{cases:{"$#==$S3":{token:"regexp.delim",next:"@pop"},"$#==$S2":{token:"regexp.delim",next:"@push"},"~[)}\\]]":"@brackets.regexp.escape.control","~@regexpctl":"regexp.escape.control","@default":"regexp"}}],{include:"@regexcontrol"}],regexp:[{include:"@regexcontrol"},[/[^\\\/]/,"regexp"],["/[ixmp]*",{token:"regexp.delim"},"@pop"]],regexcontrol:[[/(\{)(\d+(?:,\d*)?)(\})/,["@brackets.regexp.escape.control","regexp.escape.control","@brackets.regexp.escape.control"]],[/(\[)(\^?)/,["@brackets.regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?[:=!])/,["@brackets.regexp.escape.control","regexp.escape.control"]],[/\(\?#/,{token:"regexp.escape.control",next:"@regexpcomment"}],[/[()]/,"@brackets.regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/#/,"regexp.escape","@interpolated"]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/\\$/,"regexp.escape"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,"@brackets.regexp.escape.control","@pop"]],regexpcomment:[[/[^)]+/,"comment"],[/\)/,{token:"regexp.escape.control",next:"@pop"}]],pstring:[[/%([qws])\(/,{token:"string.$1.delim",switchTo:"@qstring.$1.(.)"}],[/%([qws])\[/,{token:"string.$1.delim",switchTo:"@qstring.$1.[.]"}],[/%([qws])\{/,{token:"string.$1.delim",switchTo:"@qstring.$1.{.}"}],[/%([qws])</,{token:"string.$1.delim",switchTo:"@qstring.$1.<.>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r</,{token:"regexp.delim",switchTo:"@pregexp.<.>"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)</,{token:"string.$1.delim",switchTo:"@qqstring.$1.<.>"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.contribution",function(e,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile"],aliases:["Ruby","rb"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/rust/rust.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/rust/rust",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},t.language={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/rust/rust.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/rust/rust.contribution",function(e,r){"use strict";var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(r[s]=e[s]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");t.registerLanguage({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return Promise.resolve().then(function(){return s(e("node_modules/monaco-editor/esm/vs/basic-languages/rust/rust"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/sb/sb.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/sb/sb",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.conf={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},o.language={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/sb/sb.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/sb/sb.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/sb/sb"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/scss/scss.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/scss/scss",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t.language={defaultToken:"",tokenPostfix:".scss",ws:"[ \n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],"import":[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/scss/scss.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/scss/scss.contribution",function(s,e){"use strict";var n=this&&this.__importStar||function(s){if(s&&s.__esModule)return s;var e={};if(null!=s)for(var n in s)Object.hasOwnProperty.call(s,n)&&(e[n]=s[n]);return e["default"]=s,e};Object.defineProperty(e,"__esModule",{value:!0});var t=s("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");t.registerLanguage({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return Promise.resolve().then(function(){return n(s("node_modules/monaco-editor/esm/vs/basic-languages/scss/scss"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/solidity/solidity.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/solidity/solidity",function(x,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},e.language={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/solidity/solidity.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/solidity/solidity.contribution",function(e,o){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var i in e)Object.hasOwnProperty.call(e,i)&&(o[i]=e[i]);return o["default"]=e,o};Object.defineProperty(o,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");s.registerLanguage({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return Promise.resolve().then(function(){return i(e("node_modules/monaco-editor/esm/vs/basic-languages/solidity/solidity"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/sql/sql.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/sql/sql",function(E,T){"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.conf={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},T.language={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*\/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*\/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/sql/sql.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/sql/sql.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/sql/sql"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/st/st.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/st/st",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},n.language={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","configuration","end_configuration","tcp","end_tcp","recource","end_recource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","world","dworld","array","pointer","lworld"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(T|DT|TOD)#[0-9:-_shmyd]*/,"tag"],[/[A-Za-z]{1,6}#[0-9]*/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]*/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]*/,"predefined"],[/[A_Za-z]*(_TO_)[A_Za-z]*/,"predefined"],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[;.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/16#[0-9a-fA-F]+/,"number.hex"],[/2#[0-9_]+/,"number.binary"],[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/st/st.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/st/st.contribution",function(e,t){"use strict";var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return Promise.resolve().then(function(){return s(e("node_modules/monaco-editor/esm/vs/basic-languages/st/st"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/swift/swift.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/swift/swift",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.conf={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},o.language={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@autoclosure","@noescape","@noreturn","@NSApplicationMain","@NSCopying","@NSManaged","@objc","@UIApplicationMain","@noreturn","@availability","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet"],accessmodifiers:["public","private","internal"],keywords:["__COLUMN__","__FILE__","__FUNCTION__","__LINE__","as","as!","as?","associativity","break","case","catch","class","continue","convenience","default","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","final","for","func","get","guard","if","import","in","infix","init","inout","internal","is","lazy","left","let","mutating","nil","none","nonmutating","operator","optional","override","postfix","precedence","prefix","private","protocol","Protocol","public","repeat","required","return","right","self","Self","set","static","struct","subscript","super","switch","throw","throws","try","try!","Type","typealias","unowned","var","weak","where","while","willSet","FALSE","TRUE"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/swift/swift.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/swift/swift.contribution",function(e,t){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");s.registerLanguage({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return Promise.resolve().then(function(){return i(e("node_modules/monaco-editor/esm/vs/basic-languages/swift/swift"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/tcl/tcl.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/tcl/tcl",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},t.language={tokenPostfix:".tcl",specialFunctions:["set","unset","rename","variable","proc","coroutine","foreach","incr","append","lappend","linsert","lreplace"],mainFunctions:["if","then","elseif","else","case","switch","while","for","break","continue","return","package","namespace","catch","exit","eval","expr","uplevel","upvar"],builtinFunctions:["file","info","concat","join","lindex","list","llength","lrange","lsearch","lsort","split","array","parray","binary","format","regexp","regsub","scan","string","subst","dict","cd","clock","exec","glob","pid","pwd","close","eof","fblocked","fconfigure","fcopy","fileevent","flush","gets","open","puts","read","seek","socket","tell","interp","after","auto_execok","auto_load","auto_mkindex","auto_reset","bgerror","error","global","history","load","source","time","trace","unknown","unset","update","vwait","winfo","wm","bind","event","pack","place","grid","font","bell","clipboard","destroy","focus","grab","lower","option","raise","selection","send","tk","tkwait","tk_bisque","tk_focusNext","tk_focusPrev","tk_focusFollowsMouse","tk_popup","tk_setPalette"],symbols:/[=><!~?:&|+\-*\/\^%]+/,brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],escapes:/\\(?:[abfnrtv\\"'\[\]\{\};\$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,variables:/(?:\$+(?:(?:\:\:?)?[a-zA-Z_]\w*)+)/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@specialFunctions":{token:"keyword.flow",next:"@specialFunc"},"@mainFunctions":"keyword","@builtinFunctions":"variable","@default":"operator.scss"}}],[/\s+\-+(?!\d|\.)\w*|{\*}/,"metatag"],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,"operator"],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/\.(?!\d|\.)[\w\-]*/,"operator.sql"],[/\d+(\.\d+)?/,"number"],[/\d+/,"number"],[/;/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@dstring"}],[/'/,{token:"string.quote",bracket:"@open",next:"@sstring"}]],dstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],sstring:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\$+(?:\:\:)?\{/,{token:"identifier",next:"@nestedVariable"}],[/@variables/,"type.identifier"],[/[^\\$\[\]']+/,"string"],[/@escapes/,"string.escape"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/#.*\\$/,{token:"comment",next:"@newlineComment"}],[/#.*(?!\\)$/,"comment"]],newlineComment:[[/.*\\$/,"comment"],[/.*(?!\\)$/,{token:"comment",next:"@pop"}]],nestedVariable:[[/[^\{\}\$]+/,"type.identifier"],[/\}/,{token:"identifier",next:"@pop"}]],nestedCall:[[/\[/,{token:"@brackets",next:"@nestedCall"}],[/\]/,{token:"@brackets",next:"@pop"}],{include:"root"}],specialFunc:[[/"/,{token:"string",next:"@dstring"}],[/'/,{token:"string",next:"@sstring"}],[/(?:(?:\:\:?)?[a-zA-Z_]\w*)+/,{token:"type",next:"@pop"}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/tcl/tcl.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/tcl/tcl.contribution",function(e,t){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/tcl/tcl"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.contribution",function(e,t){"use strict";var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)Object.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t["default"]=e,t};Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");r.registerLanguage({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return Promise.resolve().then(function(){return s(e("node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/vb/vb.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/vb/vb",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},n.language={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)([a-zA-Z_]\w*)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/vb/vb.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/vb/vb.contribution",function(e,n){"use strict";var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n["default"]=e,n};Object.defineProperty(n,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");s.registerLanguage({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return Promise.resolve().then(function(){return o(e("node_modules/monaco-editor/esm/vs/basic-languages/vb/vb"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/xml/xml",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},t.language={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.contribution",function(e,i){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(i[n]=e[n]);return i["default"]=e,i};Object.defineProperty(i,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/xml/xml"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0}},n.language={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|.*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+$/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.contribution",function(e,a){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a["default"]=e,a};Object.defineProperty(a,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.conf={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},o.language={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},t.language={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.contribution",function(e,o){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(o[r]=e[r]);return o["default"]=e,o};Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return Promise.resolve().then(function(){return r(e("node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/shell/shell.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/shell/shell",function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.conf={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},r.language={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],symbols:/[=><!~?&|+\-*\/\^;\.,]+/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z]\w*/,{cases:{"@keywords":"keyword","@builtins":"type.identifier","@default":""}}],{include:"@strings"},{include:"@parameters"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/-+\w+/,"attribute.name"],[/@symbols/,"delimiter"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"],[/"/,"string","@dblStringBody"]],stringBody:[[/'/,"string","@popall"],[/./,"string"]],dblStringBody:[[/"/,"string","@popall"],[/./,"string"]],heredoc:[[/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,["constants","white","string.heredoc.delimiter","string.heredoc","string.heredoc.delimiter"]]],parameters:[[/\$\d+/,"variable.predefined"],[/\$\w+/,"variable"],[/\$[*@#?\-$!0_]/,"variable"],[/\$'/,"variable","@parameterBodyQuote"],[/\$"/,"variable","@parameterBodyDoubleQuote"],[/\$\(/,"variable","@parameterBodyParen"],[/\$\{/,"variable","@parameterBodyCurlyBrace"]],parameterBodyQuote:[[/[^#:%*@\-!_']+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[']/,"variable","@pop"]],parameterBodyDoubleQuote:[[/[^#:%*@\-!_"]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/["]/,"variable","@pop"]],parameterBodyParen:[[/[^#:%*@\-!_)]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[)]/,"variable","@pop"]],parameterBodyCurlyBrace:[[/[^#:%*@\-!_}]+/,"variable"],[/[#:%*@\-!_]/,"delimiter"],[/[}]/,"variable","@pop"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/shell/shell.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/shell/shell.contribution",function(e,s){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var s={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(s[n]=e[n]);return s["default"]=e,s};Object.defineProperty(s,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/shell/shell"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/perl/perl.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/perl/perl",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},t.language={defaultToken:"",tokenPostfix:".perl",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["__DATA__","else","lock","__END__","elsif","lt","__FILE__","eq","__LINE__","exp","ne","sub","__PACKAGE__","for","no","and","foreach","or","unless","cmp","ge","package","until","continue","gt","while","CORE","if","xor","do","le","__DIE__","__WARN__"],builtinFunctions:["-A","END","length","setpgrp","-B","endgrent","link","setpriority","-b","endhostent","listen","setprotoent","-C","endnetent","local","setpwent","-c","endprotoent","localtime","setservent","-d","endpwent","log","setsockopt","-e","endservent","lstat","shift","-f","eof","map","shmctl","-g","eval","mkdir","shmget","-k","exec","msgctl","shmread","-l","exists","msgget","shmwrite","-M","exit","msgrcv","shutdown","-O","fcntl","msgsnd","sin","-o","fileno","my","sleep","-p","flock","next","socket","-r","fork","not","socketpair","-R","format","oct","sort","-S","formline","open","splice","-s","getc","opendir","split","-T","getgrent","ord","sprintf","-t","getgrgid","our","sqrt","-u","getgrnam","pack","srand","-w","gethostbyaddr","pipe","stat","-W","gethostbyname","pop","state","-X","gethostent","pos","study","-x","getlogin","print","substr","-z","getnetbyaddr","printf","symlink","abs","getnetbyname","prototype","syscall","accept","getnetent","push","sysopen","alarm","getpeername","quotemeta","sysread","atan2","getpgrp","rand","sysseek","AUTOLOAD","getppid","read","system","BEGIN","getpriority","readdir","syswrite","bind","getprotobyname","readline","tell","binmode","getprotobynumber","readlink","telldir","bless","getprotoent","readpipe","tie","break","getpwent","recv","tied","caller","getpwnam","redo","time","chdir","getpwuid","ref","times","CHECK","getservbyname","rename","truncate","chmod","getservbyport","require","uc","chomp","getservent","reset","ucfirst","chop","getsockname","return","umask","chown","getsockopt","reverse","undef","chr","glob","rewinddir","UNITCHECK","chroot","gmtime","rindex","unlink","close","goto","rmdir","unpack","closedir","grep","say","unshift","connect","hex","scalar","untie","cos","index","seek","use","crypt","INIT","seekdir","utime","dbmclose","int","select","values","dbmopen","ioctl","semctl","vec","defined","join","semget","wait","delete","keys","semop","waitpid","DESTROY","kill","send","wantarray","die","last","setgrent","warn","dump","lc","sethostent","write","each","lcfirst","setnetent"],builtinFileHandlers:["ARGV","STDERR","STDOUT","ARGVOUT","STDIN","ENV"],builtinVariables:["$!","$^RE_TRIE_MAXBUF","$LAST_REGEXP_CODE_RESULT",'$"',"$^S","$LIST_SEPARATOR","$#","$^T","$MATCH","$$","$^TAINT","$MULTILINE_MATCHING","$%","$^UNICODE","$NR","$&","$^UTF8LOCALE","$OFMT","$'","$^V","$OFS","$(","$^W","$ORS","$)","$^WARNING_BITS","$OS_ERROR","$*","$^WIDE_SYSTEM_CALLS","$OSNAME","$+","$^X","$OUTPUT_AUTO_FLUSH","$,","$_","$OUTPUT_FIELD_SEPARATOR","$-","$`","$OUTPUT_RECORD_SEPARATOR","$.","$a","$PERL_VERSION","$/","$ACCUMULATOR","$PERLDB","$0","$ARG","$PID","$:","$ARGV","$POSTMATCH","$;","$b","$PREMATCH","$<","$BASETIME","$PROCESS_ID","$=","$CHILD_ERROR","$PROGRAM_NAME","$>","$COMPILING","$REAL_GROUP_ID","$?","$DEBUGGING","$REAL_USER_ID","$@","$EFFECTIVE_GROUP_ID","$RS","$[","$EFFECTIVE_USER_ID","$SUBSCRIPT_SEPARATOR","$\\","$EGID","$SUBSEP","$]","$ERRNO","$SYSTEM_FD_MAX","$^","$EUID","$UID","$^A","$EVAL_ERROR","$WARNING","$^C","$EXCEPTIONS_BEING_CAUGHT","$|","$^CHILD_ERROR_NATIVE","$EXECUTABLE_NAME","$~","$^D","$EXTENDED_OS_ERROR","%!","$^E","$FORMAT_FORMFEED","%^H","$^ENCODING","$FORMAT_LINE_BREAK_CHARACTERS","%ENV","$^F","$FORMAT_LINES_LEFT","%INC","$^H","$FORMAT_LINES_PER_PAGE","%OVERLOAD","$^I","$FORMAT_NAME","%SIG","$^L","$FORMAT_PAGE_NUMBER","@+","$^M","$FORMAT_TOP_NAME","@-","$^N","$GID","@_","$^O","$INPLACE_EDIT","@ARGV","$^OPEN","$INPUT_LINE_NUMBER","@INC","$^P","$INPUT_RECORD_SEPARATOR","@LAST_MATCH_START","$^R","$LAST_MATCH_END","$^RE_DEBUG_FLAGS","$LAST_PAREN_MATCH"],symbols:/[:+\-\^*$&%@=<>!?|\/~\.]/,quoteLikeOps:["qr","m","s","q","qq","qx","qw","tr","y"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/[a-zA-Z\-_][\w\-_]*/,{cases:{"@keywords":"keyword","@builtinFunctions":"type.identifier","@builtinFileHandlers":"variable.predefined","@quoteLikeOps":{token:"@rematch",next:"quotedConstructs"},"@default":""}}],[/[\$@%][*@#?\+\-\$!\w\\\^><~:;\.]+/,{cases:{"@builtinVariables":"variable.predefined","@default":"variable"}}],{include:"@strings"},{include:"@dblStrings"},{include:"@perldoc"},{include:"@heredoc"},[/[{}\[\]()]/,"@brackets"],[/[\/](?:(?:\[(?:\\]|[^\]])+\])|(?:\\\/|[^\]\/]))*[\/]\w*\s*(?=[).,;]|$)/,"regexp"],[/@symbols/,"operators"],{include:"@numbers"},[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"],[/(^#!.*$)/,"metatag"],[/(^#.*$)/,"comment"]],numbers:[[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"]],strings:[[/'/,"string","@stringBody"]],stringBody:[[/'/,"string","@popall"],[/\\'/,"string.escape"],[/./,"string"]],dblStrings:[[/"/,"string","@dblStringBody"]],dblStringBody:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],{include:"@variables"},[/./,"string"]],quotedConstructs:[[/(q|qw|tr|y)\s*\(/,{token:"string.delim",switchTo:"@qstring.(.)"}],[/(q|qw|tr|y)\s*\[/,{token:"string.delim",switchTo:"@qstring.[.]"}],[/(q|qw|tr|y)\s*\{/,{token:"string.delim",switchTo:"@qstring.{.}"}],[/(q|qw|tr|y)\s*</,{token:"string.delim",switchTo:"@qstring.<.>"}],[/(q|qw|tr|y)#/,{token:"string.delim",switchTo:"@qstring.#.#"}],[/(q|qw|tr|y)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(q|qw|tr|y)\s+(\w)/,{token:"string.delim",switchTo:"@qstring.$2.$2"}],[/(qr|m|s)\s*\(/,{token:"regexp.delim",switchTo:"@qregexp.(.)"}],[/(qr|m|s)\s*\[/,{token:"regexp.delim",switchTo:"@qregexp.[.]"}],[/(qr|m|s)\s*\{/,{token:"regexp.delim",switchTo:"@qregexp.{.}"}],[/(qr|m|s)\s*</,{token:"regexp.delim",switchTo:"@qregexp.<.>"}],[/(qr|m|s)#/,{token:"regexp.delim",switchTo:"@qregexp.#.#"}],[/(qr|m|s)\s*([^A-Za-z0-9_#\s])/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qr|m|s)\s+(\w)/,{token:"regexp.delim",switchTo:"@qregexp.$2.$2"}],[/(qq|qx)\s*\(/,{token:"string.delim",switchTo:"@qqstring.(.)"}],[/(qq|qx)\s*\[/,{token:"string.delim",switchTo:"@qqstring.[.]"}],[/(qq|qx)\s*\{/,{token:"string.delim",switchTo:"@qqstring.{.}"}],[/(qq|qx)\s*</,{token:"string.delim",switchTo:"@qqstring.<.>"}],[/(qq|qx)#/,{token:"string.delim",switchTo:"@qqstring.#.#"}],[/(qq|qx)\s*([^A-Za-z0-9#\s])/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}],[/(qq|qx)\s+(\w)/,{token:"string.delim",switchTo:"@qqstring.$2.$2"}]],qstring:[[/\\./,"string.escape"],[/./,{cases:{"$#==$S3":{token:"string.delim",next:"@pop"},"$#==$S2":{token:"string.delim",next:"@push"},"@default":"string"}}]],qregexp:[{include:"@variables"},[/\\./,"regexp.escape"],[/./,{cases:{"$#==$S3":{token:"regexp.delim",next:"@regexpModifiers"},"$#==$S2":{token:"regexp.delim",next:"@push"},"@default":"regexp"}}]],regexpModifiers:[[/[msixpodualngcer]+/,{token:"regexp.modifier",next:"@popall"}]],qqstring:[{include:"@variables"},{include:"@qstring"}],heredoc:[[/<<\s*['"`]?([\w\-]+)['"`]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/^([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],perldoc:[[/^=\w/,"comment.doc","@perldocBody"]],perldocBody:[[/^=cut\b/,"type.identifier","@popall"],[/./,"comment.doc"]],variables:[[/\$\w+/,"variable"],[/@\w+/,"variable"],[/%\w+/,"variable"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/perl/perl.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/perl/perl.contribution",function(e,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/perl/perl"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={comments:{lineComment:"#"}},t.language={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.contribution",function(e,i){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(i[n]=e[n]);return i["default"]=e,i};Object.defineProperty(i,"__esModule",{value:!0});var a=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");a.registerLanguage({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/apex/apex.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/apex/apex",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.conf={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}};var o=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],s=function(e){return e.charAt(0).toUpperCase()+e.substr(1)},n=[];o.forEach(function(e){n.push(e),n.push(e.toUpperCase()),n.push(s(e))}),t.language={defaultToken:"",tokenPostfix:".apex",keywords:n,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/apex/apex.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/apex/apex.contribution",function(e,a){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a["default"]=e,a};Object.defineProperty(a,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");o.registerLanguage({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return Promise.resolve().then(function(){return n(e("node_modules/monaco-editor/esm/vs/basic-languages/apex/apex"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.conf={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},n.language={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}}});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.contribution",function(e,r){"use strict";var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r["default"]=e,r};Object.defineProperty(r,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/basic-languages/_.contribution");n.registerLanguage({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return Promise.resolve().then(function(){return a(e("node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql"))})}})});
;/*!node_modules/monaco-editor/esm/vs/basic-languages/monaco.contribution.js*/
define("node_modules/monaco-editor/esm/vs/basic-languages/monaco.contribution",function(o,s){"use strict";Object.defineProperty(s,"__esModule",{value:!0}),o("node_modules/monaco-editor/esm/vs/editor/editor.api"),o("node_modules/monaco-editor/esm/vs/basic-languages/bat/bat.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/css/css.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/go/go.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/handlebars/handlebars.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/html/html.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/ini/ini.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/java/java.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/kotlin/kotlin.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/less/less.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/lua/lua.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/msdax/msdax.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/mysql/mysql.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/pascal/pascal.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/pgsql/pgsql.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/php/php.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/powerquery/powerquery.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/powershell/powershell.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/pug/pug.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/python/python.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/r/r.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/razor/razor.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/redis/redis.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/redshift/redshift.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/rust/rust.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/sb/sb.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/scss/scss.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/solidity/solidity.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/sql/sql.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/st/st.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/swift/swift.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/tcl/tcl.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/vb/vb.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/shell/shell.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/perl/perl.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/apex/apex.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.contribution")});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/bracketMatching/bracketMatching.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/bracketMatching/bracketMatching",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function r(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),n=o.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),i=t("node_modules/monaco-editor/esm/vs/base/common/async"),a=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),c=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),d=t("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),l=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),u=t("node_modules/monaco-editor/esm/vs/editor/common/model"),m=t("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),_=t("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),h=t("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),g=t("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),k=t("node_modules/monaco-editor/esm/vs/platform/actions/common/actions"),p=h.registerColor("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},n.localize("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets.")),f=function(t){function e(){return t.call(this,{id:"editor.action.jumpToBracket",label:n.localize("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:null,kbOpts:{kbExpr:l.EditorContextKeys.editorTextFocus,primary:3160,weight:100}})||this}return r(e,t),e.prototype.run=function(t,e){var o=b.get(e);o&&o.jumpToBracket()},e}(s.EditorAction),B=function(t){function e(){return t.call(this,{id:"editor.action.selectToBracket",label:n.localize("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:null})||this}return r(e,t),e.prototype.run=function(t,e){var o=b.get(e);o&&o.selectToBracket()},e}(s.EditorAction),v=function(){function t(t,e){this.position=t,this.brackets=e}return t}(),b=function(t){function e(e){var o=t.call(this)||this;return o._editor=e,o._lastBracketsData=[],o._lastVersionId=0,o._decorations=[],o._updateBracketsSoon=o._register(new i.RunOnceScheduler(function(){return o._updateBrackets()},50)),o._matchBrackets=o._editor.getConfiguration().contribInfo.matchBrackets,o._updateBracketsSoon.schedule(),o._register(e.onDidChangeCursorPosition(function(){o._matchBrackets&&o._updateBracketsSoon.schedule()})),o._register(e.onDidChangeModelContent(function(){o._updateBracketsSoon.schedule()})),o._register(e.onDidChangeModel(function(){o._lastBracketsData=[],o._decorations=[],o._updateBracketsSoon.schedule()})),o._register(e.onDidChangeModelLanguageConfiguration(function(){o._lastBracketsData=[],o._updateBracketsSoon.schedule()})),o._register(e.onDidChangeConfiguration(function(){o._matchBrackets=o._editor.getConfiguration().contribInfo.matchBrackets,!o._matchBrackets&&o._decorations.length>0&&(o._decorations=o._editor.deltaDecorations(o._decorations,[])),o._updateBracketsSoon.schedule()})),o}return r(e,t),e.get=function(t){return t.getContribution(e.ID)},e.prototype.getId=function(){return e.ID},e.prototype.jumpToBracket=function(){if(this._editor.hasModel()){var t=this._editor.getModel(),e=this._editor.getSelections().map(function(e){var o=e.getStartPosition(),r=t.matchBracket(o),n=null;if(r)r[0].containsPosition(o)?n=r[1].getStartPosition():r[1].containsPosition(o)&&(n=r[0].getStartPosition());else{var i=t.findNextBracket(o);i&&i.range&&(n=i.range.getStartPosition())}return n?new d.Selection(n.lineNumber,n.column,n.lineNumber,n.column):new d.Selection(o.lineNumber,o.column,o.lineNumber,o.column)});this._editor.setSelections(e),this._editor.revealRange(e[0])}},e.prototype.selectToBracket=function(){if(this._editor.hasModel()){var t=this._editor.getModel(),e=[];this._editor.getSelections().forEach(function(o){var r=o.getStartPosition(),n=t.matchBracket(r),i=null,a=null;if(!n){var s=t.findNextBracket(r);s&&s.range&&(n=t.matchBracket(s.range.getStartPosition()))}n&&(n[0].startLineNumber===n[1].startLineNumber?(i=n[1].startColumn<n[0].startColumn?n[1].getStartPosition():n[0].getStartPosition(),a=n[1].startColumn<n[0].startColumn?n[0].getEndPosition():n[1].getEndPosition()):(i=n[1].startLineNumber<n[0].startLineNumber?n[1].getStartPosition():n[0].getStartPosition(),a=n[1].startLineNumber<n[0].startLineNumber?n[0].getEndPosition():n[1].getEndPosition())),i&&a&&e.push(new d.Selection(i.lineNumber,i.column,a.lineNumber,a.column))}),e.length>0&&(this._editor.setSelections(e),this._editor.revealRange(e[0]))}},e.prototype._updateBrackets=function(){if(this._matchBrackets){this._recomputeBrackets();for(var t=[],o=0,r=0,n=this._lastBracketsData.length;n>r;r++){var i=this._lastBracketsData[r].brackets;i&&(t[o++]={range:i[0],options:e._DECORATION_OPTIONS},t[o++]={range:i[1],options:e._DECORATION_OPTIONS})}this._decorations=this._editor.deltaDecorations(this._decorations,t)}},e.prototype._recomputeBrackets=function(){if(!this._editor.hasModel())return this._lastBracketsData=[],void(this._lastVersionId=0);var t=this._editor.getModel(),e=t.getVersionId(),o=[];this._lastVersionId===e&&(o=this._lastBracketsData);for(var r=this._editor.getSelections(),n=[],i=0,a=0,s=r.length;s>a;a++){var d=r[a];d.isEmpty()&&(n[i++]=d.getStartPosition())}n.length>1&&n.sort(c.Position.compare);for(var l=[],u=0,m=0,_=o.length,a=0,s=n.length;s>a;a++){for(var h=n[a];_>m&&o[m].position.isBefore(h);)m++;if(_>m&&o[m].position.equals(h))l[u++]=o[m];else{var g=t.matchBracket(h);l[u++]=new v(h,g)}}this._lastBracketsData=l,this._lastVersionId=e},e.ID="editor.contrib.bracketMatchingController",e._DECORATION_OPTIONS=m.ModelDecorationOptions.register({stickiness:1,className:"bracket-match",overviewRuler:{color:g.themeColorFromId(p),position:u.OverviewRulerLane.Center}}),e}(a.Disposable);e.BracketMatchingController=b,s.registerEditorContribution(b),s.registerEditorAction(B),s.registerEditorAction(f),g.registerThemingParticipant(function(t,e){var o=t.getColor(_.editorBracketMatchBackground);o&&e.addRule(".monaco-editor .bracket-match { background-color: "+o+"; }");var r=t.getColor(_.editorBracketMatchBorder);r&&e.addRule(".monaco-editor .bracket-match { border: 1px solid "+r+"; }")}),k.MenuRegistry.appendMenuItem(16,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:n.localize({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/moveCaretCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/moveCaretCommand",function(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),i=function(){function t(t,n){this._selection=t,this._isMovingLeft=n}return t.prototype.getEditOperations=function(t,n){var i=this._selection;if(this._selectionId=n.trackSelection(i),i.startLineNumber===i.endLineNumber&&!(this._isMovingLeft&&0===i.startColumn||!this._isMovingLeft&&i.endColumn===t.getLineMaxColumn(i.startLineNumber))){var o,s,r,u=i.selectionStartLineNumber,a=t.getLineContent(u);this._isMovingLeft?(o=a.substring(0,i.startColumn-2),s=a.substring(i.startColumn-1,i.endColumn-1),r=a.substring(i.startColumn-2,i.startColumn-1)+a.substring(i.endColumn-1)):(o=a.substring(0,i.startColumn-1)+a.substring(i.endColumn-1,i.endColumn),s=a.substring(i.startColumn-1,i.endColumn-1),r=a.substring(i.endColumn));var d=o+s+r;n.addEditOperation(new e.Range(u,1,u,t.getLineMaxColumn(u)),null),n.addEditOperation(new e.Range(u,1,u,1),d),this._cutStartIndex=i.startColumn+(this._isMovingLeft?-1:1),this._cutEndIndex=this._cutStartIndex+i.endColumn-i.startColumn,this._moved=!0}},t.prototype.computeCursorState=function(t,n){var e=n.getTrackedSelection(this._selectionId);return this._moved&&(e=e.setStartPosition(e.startLineNumber,this._cutStartIndex),e=e.setEndPosition(e.startLineNumber,this._cutEndIndex)),e},t}();n.MoveCaretCommand=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/caretOperations.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/caretOperations",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function r(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),n=o.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),i=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),s=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),a=t("node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/moveCaretCommand"),c=function(t){function e(e,o){var r=t.call(this,o)||this;return r.left=e,r}return r(e,t),e.prototype.run=function(t,e){if(e.hasModel()){for(var o=[],r=e.getSelections(),n=0,i=r;n<i.length;n++){var s=i[n];o.push(new a.MoveCaretCommand(s,this.left))}e.pushUndoStop(),e.executeCommands(this.id,o),e.pushUndoStop()}},e}(i.EditorAction),d=function(t){function e(){return t.call(this,!0,{id:"editor.action.moveCarretLeftAction",label:n.localize("caret.moveLeft","Move Caret Left"),alias:"Move Caret Left",precondition:s.EditorContextKeys.writable})||this}return r(e,t),e}(c),u=function(t){function e(){return t.call(this,!1,{id:"editor.action.moveCarretRightAction",label:n.localize("caret.moveRight","Move Caret Right"),alias:"Move Caret Right",precondition:s.EditorContextKeys.writable})||this}return r(e,t),e}(c);i.registerEditorAction(d),i.registerEditorAction(u)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/transpose.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/transpose",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),i=t.__importStar(o("node_modules/monaco-editor/esm/vs/nls")),r=o("node_modules/monaco-editor/esm/vs/base/common/strings"),s=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),a=o("node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand"),m=o("node_modules/monaco-editor/esm/vs/editor/common/core/position"),d=o("node_modules/monaco-editor/esm/vs/editor/common/core/range"),c=o("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),u=function(o){function e(){return o.call(this,{id:"editor.action.transposeLetters",label:i.localize("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:c.EditorContextKeys.writable,kbOpts:{kbExpr:c.EditorContextKeys.textInputFocus,primary:0,mac:{primary:306},weight:100}})||this}return n(e,o),e.prototype.positionLeftOf=function(o,e){var t=o.column,n=o.lineNumber;return t>e.getLineMinColumn(n)?t-=r.isLowSurrogate(e.getLineContent(n).charCodeAt(t-2))?2:1:n>1&&(n-=1,t=e.getLineMaxColumn(n)),new m.Position(n,t)},e.prototype.positionRightOf=function(o,e){var t=o.column,n=o.lineNumber;return t<e.getLineMaxColumn(n)?t+=r.isHighSurrogate(e.getLineContent(n).charCodeAt(t-1))?2:1:n<e.getLineCount()&&(n+=1,t=0),new m.Position(n,t)},e.prototype.run=function(o,e){if(e.hasModel()){for(var t=e.getModel(),n=[],i=e.getSelections(),r=0,s=i;r<s.length;r++){var m=s[r];if(m.isEmpty()){var c=m.startLineNumber,u=m.startColumn,l=t.getLineMaxColumn(c);if(1!==c||1!==u&&(2!==u||2!==l)){var p=u===l?m.getPosition():this.positionRightOf(m.getPosition(),t),f=this.positionLeftOf(p,t),g=this.positionLeftOf(f,t),_=t.getValueInRange(d.Range.fromPositions(g,f)),h=t.getValueInRange(d.Range.fromPositions(f,p)),v=d.Range.fromPositions(g,p);n.push(new a.ReplaceCommand(v,h+_))}}}n.length>0&&(e.pushUndoStop(),e.executeCommands(this.id,n),e.pushUndoStop())}},e}(s.EditorAction);s.registerEditorAction(u)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/clipboard/clipboard.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/clipboard/clipboard",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=t("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var t=function(o,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(o,e)};return function(o,e){function i(){this.constructor=o}t(o,e),o.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}}(),r=e.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),n=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/browser")),s=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/platform")),c=t("node_modules/monaco-editor/esm/vs/editor/browser/controller/textAreaInput"),a=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),p=t("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),d=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),l="9_cutcopypaste",u=s.isNative||document.queryCommandSupported("cut"),m=s.isNative||document.queryCommandSupported("copy"),y=m&&!n.isEdgeOrIE,b=s.isNative||!n.isChrome&&document.queryCommandSupported("paste"),g=function(t){function o(o,e){var i=t.call(this,e)||this;return i.browserCommand=o,i}return i(o,t),o.prototype.runCommand=function(t,o){var e=t.get(p.ICodeEditorService).getFocusedCodeEditor();return e&&e.hasTextFocus()?void e.trigger("keyboard",this.id,o):void document.execCommand(this.browserCommand)},o.prototype.run=function(t,o){o.focus(),document.execCommand(this.browserCommand)},o}(a.EditorAction),h=function(t){function o(){var o=this,e={kbExpr:d.EditorContextKeys.textInputFocus,primary:2102,win:{primary:2102,secondary:[1044]},weight:100};return s.isNative||(e=null),o=t.call(this,"cut",{id:"editor.action.clipboardCutAction",label:r.localize("actions.clipboard.cutLabel","Cut"),alias:"Cut",precondition:d.EditorContextKeys.writable,kbOpts:e,menuOpts:{group:l,order:1},menubarOpts:{menuId:14,group:"2_ccp",title:r.localize({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1}})||this}return i(o,t),o.prototype.run=function(o,e){if(e.hasModel()){var i=e.getConfiguration().emptySelectionClipboard;(i||!e.getSelection().isEmpty())&&t.prototype.run.call(this,o,e)}},o}(g),C=function(t){function o(){var o=this,e={kbExpr:d.EditorContextKeys.textInputFocus,primary:2081,win:{primary:2081,secondary:[2067]},weight:100};return s.isNative||(e=null),o=t.call(this,"copy",{id:"editor.action.clipboardCopyAction",label:r.localize("actions.clipboard.copyLabel","Copy"),alias:"Copy",precondition:null,kbOpts:e,menuOpts:{group:l,order:2},menubarOpts:{menuId:14,group:"2_ccp",title:r.localize({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2}})||this}return i(o,t),o.prototype.run=function(o,e){if(e.hasModel()){var i=e.getConfiguration().emptySelectionClipboard;(i||!e.getSelection().isEmpty())&&(1===e.getSelections().length&&e.getSelection().isEmpty()&&0===e.getModel().getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber)||t.prototype.run.call(this,o,e))}},o}(g),f=function(t){function o(){var o=this,e={kbExpr:d.EditorContextKeys.textInputFocus,primary:2100,win:{primary:2100,secondary:[1043]},weight:100};return s.isNative||(e=null),o=t.call(this,"paste",{id:"editor.action.clipboardPasteAction",label:r.localize("actions.clipboard.pasteLabel","Paste"),alias:"Paste",precondition:d.EditorContextKeys.writable,kbOpts:e,menuOpts:{group:l,order:3},menubarOpts:{menuId:14,group:"2_ccp",title:r.localize({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:3}})||this}return i(o,t),o}(g),v=function(t){function o(){return t.call(this,"copy",{id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:r.localize("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:null,kbOpts:{kbExpr:d.EditorContextKeys.textInputFocus,primary:0,weight:100}})||this}return i(o,t),o.prototype.run=function(o,e){if(e.hasModel()){var i=e.getConfiguration().emptySelectionClipboard;(i||!e.getSelection().isEmpty())&&(c.CopyOptions.forceCopyWithSyntaxHighlighting=!0,t.prototype.run.call(this,o,e),c.CopyOptions.forceCopyWithSyntaxHighlighting=!1)}},o}(g);u&&a.registerEditorAction(h),m&&a.registerEditorAction(C),b&&a.registerEditorAction(f),y&&a.registerEditorAction(v)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/message/messageController.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/message/messageController",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function s(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(s.prototype=t.prototype,new s)}}(),i=this&&this.__decorate||function(e,o,t,s){var i,n=arguments.length,r=3>n?o:null===s?s=Object.getOwnPropertyDescriptor(o,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,o,t,s);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(r=(3>n?i(r):n>3?i(o,t,r):i(o,t))||r);return n>3&&r&&Object.defineProperty(o,t,r),r},n=this&&this.__param||function(e,o){return function(t,s){o(t,s,e)}},r=t.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),d=e("node_modules/monaco-editor/esm/vs/base/common/async"),a=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),m=e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria"),c=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),l=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),p=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),g=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),_=function(e){function o(t,s){var i=e.call(this)||this;return i._messageListeners=[],i._editor=t,i._visible=o.MESSAGE_VISIBLE.bindTo(s),i._register(i._editor.onDidAttemptReadOnlyEdit(function(){return i._onDidAttemptReadOnlyEdit()})),i}return s(o,e),o.get=function(e){return e.getContribution(o._id)},o.prototype.getId=function(){return o._id},o.prototype.dispose=function(){e.prototype.dispose.call(this),this._visible.reset()},o.prototype.showMessage=function(e,o){var t=this;m.alert(e),this._visible.set(!0),a.dispose(this._messageWidget),this._messageListeners=a.dispose(this._messageListeners),this._messageWidget=new f(this._editor,o,e),this._messageListeners.push(this._editor.onDidBlurEditorText(function(){return t.closeMessage()})),this._messageListeners.push(this._editor.onDidChangeCursorPosition(function(){return t.closeMessage()})),this._messageListeners.push(this._editor.onDidDispose(function(){return t.closeMessage()})),this._messageListeners.push(this._editor.onDidChangeModel(function(){return t.closeMessage()})),this._messageListeners.push(new d.TimeoutTimer(function(){return t.closeMessage()},3e3));var s;this._messageListeners.push(this._editor.onMouseMove(function(e){e.target.position&&(s?s.containsPosition(e.target.position)||t.closeMessage():s=new c.Range(o.lineNumber-3,1,e.target.position.lineNumber+3,1))}))},o.prototype.closeMessage=function(){this._visible.reset(),this._messageListeners=a.dispose(this._messageListeners),this._messageListeners.push(f.fadeOut(this._messageWidget))},o.prototype._onDidAttemptReadOnlyEdit=function(){this._editor.hasModel()&&this.showMessage(r.localize("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())},o._id="editor.contrib.messageController",o.MESSAGE_VISIBLE=new l.RawContextKey("messageVisible",!1),o=i([n(1,l.IContextKeyService)],o)}(a.Disposable);o.MessageController=_;var h=u.EditorCommand.bindToContribution(_.get);u.registerEditorCommand(new h({id:"leaveEditorMessage",precondition:_.MESSAGE_VISIBLE,handler:function(e){return e.closeMessage()},kbOpts:{weight:130,primary:9}}));var f=function(){function e(e,o,t){var s=o.lineNumber,i=o.column;this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(s,s,0),this._position={lineNumber:s,column:i-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");var n=document.createElement("div");n.classList.add("message"),n.textContent=t,this._domNode.appendChild(n);var r=document.createElement("div");r.classList.add("anchor"),this._domNode.appendChild(r),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}return e.fadeOut=function(e){var o,t=function(){e.dispose(),clearTimeout(o),e.getDomNode().removeEventListener("animationend",t)};return o=setTimeout(t,110),e.getDomNode().addEventListener("animationend",t),e.getDomNode().classList.add("fadeOut"),{dispose:t}},e.prototype.dispose=function(){this._editor.removeContentWidget(this)},e.prototype.getId=function(){return"messageoverlay"},e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return{position:this._position,preference:[1]}},e}();u.registerEditorContribution(_),p.registerThemingParticipant(function(e,o){var t=e.getColor(g.inputValidationInfoBorder);if(t){var s=e.type===p.HIGH_CONTRAST?2:1;o.addRule(".monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: "+t+"; }"),o.addRule(".monaco-editor .monaco-editor-overlaymessage .message { border: "+s+"px solid "+t+"; }")}var i=e.getColor(g.inputValidationInfoBackground);i&&o.addRule(".monaco-editor .monaco-editor-overlaymessage .message { background-color: "+i+"; }");var n=e.getColor(g.inputValidationInfoForeground);n&&o.addRule(".monaco-editor .monaco-editor-overlaymessage .message { color: "+n+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionTrigger.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionTrigger",function(e,n){"use strict";function o(e,n){return e.kind&&!e.kind.intersects(n)?!1:r.Source.contains(n)&&!e.includeSourceActions?!1:!0}function i(e,n){var o=n.kind?new r(n.kind):void 0;return!e.kind||o&&e.kind.contains(o)?!e.includeSourceActions&&o&&r.Source.contains(o)?!1:e.onlyIncludePreferredActions&&!n.isPreferred?!1:!0:!1}Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/strings"),r=function(){function e(e){this.value=e}return e.prototype.contains=function(n){return this.value===n.value||t.startsWith(n.value,this.value+e.sep)},e.prototype.intersects=function(e){return this.contains(e)||e.contains(this)},e.sep=".",e.Empty=new e(""),e.QuickFix=new e("quickfix"),e.Refactor=new e("refactor"),e.Source=new e("source"),e.SourceOrganizeImports=new e("source.organizeImports"),e.SourceFixAll=new e("source.fixAll"),e}();n.CodeActionKind=r,n.mayIncludeActionsOfKind=o,n.filtersAction=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeAction.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeAction",function(e,o){"use strict";function n(e,o,n,r){var s=n.filter||{},c={only:s.kind?s.kind.value:void 0,trigger:"manual"===n.type?2:1},a=new f.TextModelCancellationTokenSource(e,r),u=i(e,s),g=u.map(function(n){return Promise.resolve(n.provideCodeActions(e,o,c,a.token)).then(function(e){return a.token.isCancellationRequested||!Array.isArray(e)?[]:e.filter(function(e){return e&&l.filtersAction(s,e)})},function(e){if(d.isPromiseCanceledError(e))throw e;return d.onUnexpectedExternalError(e),[]})}),A=m.CodeActionProviderRegistry.onDidChange(function(){var o=m.CodeActionProviderRegistry.all(e);t.equals(o,u)||a.cancel()});return Promise.all(g).then(t.flatten).then(function(e){return new v(e)}).finally(function(){A.dispose(),a.dispose()})}function i(e,o){return m.CodeActionProviderRegistry.all(e).filter(function(e){return e.providedCodeActionKinds?e.providedCodeActionKinds.some(function(e){return l.mayIncludeActionsOfKind(o,new l.CodeActionKind(e))}):!0})}Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),r=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),d=e("node_modules/monaco-editor/esm/vs/base/common/errors"),s=e("node_modules/monaco-editor/esm/vs/base/common/uri"),c=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),u=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),l=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionTrigger"),f=e("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState"),v=function(){function e(o){this.actions=t.mergeSort(o,e.codeActionsComparator)}return e.codeActionsComparator=function(e,o){return t.isNonEmptyArray(e.diagnostics)?t.isNonEmptyArray(o.diagnostics)?e.diagnostics[0].message.localeCompare(o.diagnostics[0].message):-1:t.isNonEmptyArray(o.diagnostics)?1:0},Object.defineProperty(e.prototype,"hasAutoFix",{get:function(){return this.actions.some(function(e){return!!e.kind&&l.CodeActionKind.QuickFix.contains(new l.CodeActionKind(e.kind))&&!!e.isPreferred})},enumerable:!0,configurable:!0}),e}();o.CodeActionSet=v,o.getCodeActions=n,c.registerLanguageCommand("_executeCodeActionProvider",function(e,o){var i=o.resource,t=o.range,c=o.kind;if(!(i instanceof s.URI&&a.Range.isIRange(t)))throw d.illegalArgument();var m=e.get(u.IModelService).getModel(i);if(!m)throw d.illegalArgument();return n(m,m.validateRange(t),{type:"manual",filter:{includeSourceActions:!0,kind:c&&c.value?new l.CodeActionKind(c.value):void 0}},r.CancellationToken.None).then(function(e){return e.actions})})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionModel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/async"),i=e("node_modules/monaco-editor/esm/vs/base/common/event"),n=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),s=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),a=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),d=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeAction");t.SUPPORTED_CODE_ACTIONS=new a.RawContextKey("supportedCodeAction","");var c=function(){function e(e,t,i,n,r){var s=this;void 0===n&&(n=250),this._editor=e,this._markerService=t,this._signalChange=i,this._delay=n,this._progressService=r,this._disposables=[],this._autoTriggerTimer=new o.TimeoutTimer,this._disposables.push(this._markerService.onMarkerChanged(function(e){return s._onMarkerChanges(e)}),this._editor.onDidChangeCursorPosition(function(){return s._onCursorChange()}))}return e.prototype.dispose=function(){this._disposables=n.dispose(this._disposables),this._autoTriggerTimer.cancel()},e.prototype.trigger=function(e){var t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)},e.prototype._onMarkerChanges=function(e){var t=this,o=this._editor.getModel();o&&e.some(function(e){return e.toString()===o.uri.toString()})&&this._autoTriggerTimer.cancelAndSet(function(){t.trigger({type:"auto"})},this._delay)},e.prototype._onCursorChange=function(){var e=this;this._autoTriggerTimer.cancelAndSet(function(){e.trigger({type:"auto"})},this._delay)},e.prototype._getRangeOfMarker=function(e){var t=this._editor.getModel();if(!t)return void 0;for(var o=0,i=this._markerService.read({resource:t.uri});o<i.length;o++){var n=i[o];if(r.Range.intersectRanges(n,e))return r.Range.lift(n)}return void 0},e.prototype._getRangeOfSelectionUnlessWhitespaceEnclosed=function(e){if(!this._editor.hasModel())return void 0;var t=this._editor.getModel(),o=this._editor.getSelection();if(o.isEmpty()&&"auto"===e.type){var i=o.getPosition(),n=i.lineNumber,r=i.column,s=t.getLineContent(n);if(0===s.length)return void 0;if(1===r){if(/\s/.test(s[0]))return void 0}else if(r===t.getLineMaxColumn(n)){if(/\s/.test(s[s.length-1]))return void 0}else if(/\s/.test(s[r-2])&&/\s/.test(s[r-1]))return void 0}return o?o:void 0},e.prototype._createEventAndSignalChange=function(e,i){if(i){var n=this._editor.getModel();if(!n)return this._signalChange(t.CodeActionsState.Empty),Promise.resolve(void 0);var r=this._getRangeOfMarker(i),s=r?r.getStartPosition():i.getStartPosition(),a=o.createCancelablePromise(function(t){return d.getCodeActions(n,i,e,t)});return this._progressService&&"manual"===e.type&&this._progressService.showWhile(a,250),this._signalChange(new t.CodeActionsState.Triggered(e,i,s,a)),a}return this._signalChange(t.CodeActionsState.Empty),Promise.resolve(void 0)},e}();t.CodeActionOracle=c,function(e){e.Empty=new(function(){function e(){this.type=0}return e}());var t=function(){function e(e,t,o,i){this.trigger=e,this.rangeOrSelection=t,this.position=o,this.actions=i,this.type=1}return e}();e.Triggered=t}(t.CodeActionsState||(t.CodeActionsState={}));var h=function(){function e(e,o,n,r){var a=this;this._editor=e,this._markerService=o,this._progressService=r,this._state=t.CodeActionsState.Empty,this._onDidChangeState=new i.Emitter,this._disposables=[],this._supportedCodeActions=t.SUPPORTED_CODE_ACTIONS.bindTo(n),this._disposables.push(this._editor.onDidChangeModel(function(){return a._update()})),this._disposables.push(this._editor.onDidChangeModelLanguage(function(){return a._update()})),this._disposables.push(s.CodeActionProviderRegistry.onDidChange(function(){return a._update()})),this._update()}return e.prototype.dispose=function(){this._disposables=n.dispose(this._disposables),n.dispose(this._codeActionOracle)},Object.defineProperty(e.prototype,"onDidChangeState",{get:function(){return this._onDidChangeState.event},enumerable:!0,configurable:!0}),e.prototype._update=function(){var e=this;this._codeActionOracle&&(this._codeActionOracle.dispose(),this._codeActionOracle=void 0),1===this._state.type&&this._state.actions.cancel(),this.setState(t.CodeActionsState.Empty);var o=this._editor.getModel();if(o&&s.CodeActionProviderRegistry.has(o)&&!this._editor.getConfiguration().readOnly){for(var i=[],n=0,r=s.CodeActionProviderRegistry.all(o);n<r.length;n++){var a=r[n];Array.isArray(a.providedCodeActionKinds)&&i.push.apply(i,a.providedCodeActionKinds)}this._supportedCodeActions.set(i.join(" ")),this._codeActionOracle=new c(this._editor,this._markerService,function(t){return e.setState(t)},void 0,this._progressService),this._codeActionOracle.trigger({type:"auto"})}else this._supportedCodeActions.reset()},e.prototype.trigger=function(e){return this._codeActionOracle?this._codeActionOracle.trigger(e):Promise.resolve(void 0)},e.prototype.setState=function(e){e!==this._state&&(this._state=e,this._onDidChangeState.fire(e))},e}();t.CodeActionModel=h});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionWidget",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))(function(i,r){function c(e){try{u(n.next(e))}catch(t){r(t)}}function s(e){try{u(n["throw"](e))}catch(t){r(t)}}function u(e){e.done?i(e.value):new o(function(t){t(e.value)}).then(c,s)}u((n=n.apply(e,t||[])).next())})},n=this&&this.__generator||function(e,t){function o(e){return function(t){return n([e,t])}}function n(o){if(i)throw new TypeError("Generator is already executing.");for(;u;)try{if(i=1,r&&(c=2&o[0]?r["return"]:o[0]?r["throw"]||((c=r["return"])&&c.call(r),0):r.next)&&!(c=c.call(r,o[1])).done)return c;switch(r=0,c&&(o=[2&o[0],c.value]),o[0]){case 0:case 1:c=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,r=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(c=u.trys,!(c=c.length>0&&c[c.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!c||o[1]>c[0]&&o[1]<c[3])){u.label=o[1];break}if(6===o[0]&&u.label<c[1]){u.label=c[1],c=o;break}if(c&&u.label<c[2]){u.label=c[2],u.ops.push(o);break}c[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u)}catch(n){o=[6,n],r=0}finally{i=c=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var i,r,c,s,u={label:0,sent:function(){if(1&c[0])throw c[1];return c[1]},trys:[],ops:[]};return s={next:o(0),"throw":o(1),"return":o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s},i=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),r=e("node_modules/monaco-editor/esm/vs/base/common/actions"),c=e("node_modules/monaco-editor/esm/vs/base/common/errors"),s=e("node_modules/monaco-editor/esm/vs/base/common/event"),u=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),d=function(){function e(e,t,o){this._editor=e,this._contextMenuService=t,this._onApplyCodeAction=o,this._onDidExecuteCodeAction=new s.Emitter,this.onDidExecuteCodeAction=this._onDidExecuteCodeAction.event}return e.prototype.show=function(e,t){return o(this,void 0,void 0,function(){var o,i,r=this;return n(this,function(n){switch(n.label){case 0:return[4,e];case 1:return o=n.sent(),this._editor.getDomNode()?(this._visible=!0,i=o.actions.map(function(e){return r.codeActionToAction(e)}),this._contextMenuService.showContextMenu({getAnchor:function(){return u.Position.isIPosition(t)&&(t=r._toCoords(t)),t||{x:0,y:0}},getActions:function(){return i},onHide:function(){r._visible=!1,r._editor.focus()},autoSelectFirstItem:!0}),[2]):[2,Promise.reject(c.canceled())]}})})},e.prototype.codeActionToAction=function(e){var t=this,o=e.command?e.command.id:e.title,n=e.title;return new r.Action(o,n,void 0,!0,function(){return t._onApplyCodeAction(e).finally(function(){return t._onDidExecuteCodeAction.fire(void 0)})})},Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._visible},enumerable:!0,configurable:!0}),e.prototype._toCoords=function(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();var t=this._editor.getScrolledVisiblePosition(e),o=i.getDomNodePagePosition(this._editor.getDomNode()),n=o.left+t.left,r=o.top+t.top+t.height;return{x:n,y:r}},e}();t.CodeActionContextMenu=d});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/lightBulbWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/lightBulbWidget",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=t("node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor"),r=t("node_modules/monaco-editor/esm/vs/base/common/cancellation"),d=t("node_modules/monaco-editor/esm/vs/base/common/event"),u=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=t("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),c=t("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionModel"),l=function(t){function e(e){var o=t.call(this)||this;return o._onClick=o._register(new d.Emitter),o.onClick=o._onClick.event,o._state=c.CodeActionsState.Empty,o._futureFixes=new r.CancellationTokenSource,o._domNode=document.createElement("div"),o._domNode.className="lightbulb-glyph",o._editor=e,o._editor.addContentWidget(o),o._register(o._editor.onDidChangeModel(function(){return o._futureFixes.cancel()})),o._register(o._editor.onDidChangeModelLanguage(function(){return o._futureFixes.cancel()})),o._register(o._editor.onDidChangeModelContent(function(){var t=o._editor.getModel();(1!==o._state.type||!t||o._state.position.lineNumber>=t.getLineCount())&&o._futureFixes.cancel()})),o._register(n.addStandardDisposableListener(o._domNode,"click",function(t){if(1===o._state.type){o._editor.focus();var e=n.getDomNodePagePosition(o._domNode),i=e.top,s=e.height,r=o._editor.getConfiguration().lineHeight,d=Math.floor(r/3);o._position&&null!==o._position.position&&o._position.position.lineNumber<o._state.position.lineNumber&&(d+=r),o._onClick.fire({x:t.posx,y:i+s+d,state:o._state})}})),o._register(n.addDisposableListener(o._domNode,"mouseenter",function(t){if(1===(1&t.buttons)){o.hide();var e=new s.GlobalMouseMoveMonitor;e.startMonitoring(s.standardMouseMoveMerger,function(){},function(){e.dispose()})}})),o._register(o._editor.onDidChangeConfiguration(function(t){t.contribInfo&&!o._editor.getConfiguration().contribInfo.lightbulbEnabled&&o.hide()})),o}return i(e,t),e.prototype.dispose=function(){t.prototype.dispose.call(this),this._editor.removeContentWidget(this)},e.prototype.getId=function(){return"LightBulbWidget"},e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return this._position},e.prototype.tryShow=function(t){var e=this;1!==t.type||this._position&&(!t.position||this._position.position&&this._position.position.lineNumber!==t.position.lineNumber)?this.hide():this._futureFixes&&this._futureFixes.cancel(),this._futureFixes=new r.CancellationTokenSource;var o=this._futureFixes.token;if(this._state=t,this._state.type!==c.CodeActionsState.Empty.type){var i=this._state.rangeOrSelection;this._state.actions.then(function(t){!o.isCancellationRequested&&t.actions.length>0&&i?e._show(t):e.hide()}).catch(function(){e.hide()})}},Object.defineProperty(e.prototype,"title",{get:function(){return this._domNode.title},set:function(t){this._domNode.title=t},enumerable:!0,configurable:!0}),e.prototype._show=function(t){var o=this,i=this._editor.getConfiguration();if(i.contribInfo.lightbulbEnabled&&1===this._state.type){var s=this._state.position,r=s.lineNumber,d=s.column,u=this._editor.getModel();if(u){var c=u.getOptions().tabSize,l=u.getLineContent(r),_=a.TextModel.computeIndentLevel(l,c),p=i.fontInfo.spaceWidth*_>22,f=function(t){return t>2&&o._editor.getTopForLineNumber(t)===o._editor.getTopForLineNumber(t-1)},h=r;if(!p)if(r>1&&!f(r-1))h-=1;else if(f(r+1)){if(d*i.fontInfo.spaceWidth<22)return void this.hide()}else h+=1;this._position={position:{lineNumber:h,column:1},preference:e._posPref},n.toggleClass(this._domNode,"autofixable",t.hasAutoFix),this._editor.layoutContentWidget(this)}}},e.prototype.hide=function(){this._position=null,this._state=c.CodeActionsState.Empty,this._futureFixes.cancel(),this._editor.layoutContentWidget(this)},e._posPref=[0],e}(u.Disposable);e.LightBulbWidget=l});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionCommands.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionCommands",function(e,t){"use strict";function o(e){return x.ContextKeyExpr.regex(k.SUPPORTED_CODE_ACTIONS.keys()[0],new RegExp("(\\s|^)"+p.escapeRegExpCharacters(e.value)+"\\b"))}function i(e,t,o,i){return s(this,void 0,void 0,function(){return l(this,function(n){switch(n.label){case 0:return e.edit?[4,t.apply(e.edit,{editor:i})]:[3,2];case 1:n.sent(),n.label=2;case 2:return e.command?[4,o.executeCommand.apply(o,[e.command.id].concat(e.command.arguments||[]))]:[3,4];case 3:n.sent(),n.label=4;case 4:return[2]}})})}function n(e,t,o,i){if(e.hasModel()){var n=I.get(e);if(n){var r=e.getPosition();n.triggerFromEditorSelection(o,i).then(function(o){o&&o.actions.length||y.MessageController.get(e).showMessage(t,r)})}}}Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),c=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),d=this&&this.__decorate||function(e,t,o,i){var n,r=arguments.length,c=3>r?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(c=(3>r?n(c):r>3?n(t,o,c):n(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c},a=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},s=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))(function(n,r){function c(e){try{a(i.next(e))}catch(t){r(t)}}function d(e){try{a(i["throw"](e))}catch(t){r(t)}}function a(e){e.done?n(e.value):new o(function(t){t(e.value)}).then(c,d)}a((i=i.apply(e,t||[])).next())})},l=this&&this.__generator||function(e,t){function o(e){return function(t){return i([e,t])}}function i(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(c=2&o[0]?r["return"]:o[0]?r["throw"]||((c=r["return"])&&c.call(r),0):r.next)&&!(c=c.call(r,o[1])).done)return c;switch(r=0,c&&(o=[2&o[0],c.value]),o[0]){case 0:case 1:c=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(c=a.trys,!(c=c.length>0&&c[c.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!c||o[1]>c[0]&&o[1]<c[3])){a.label=o[1];break}if(6===o[0]&&a.label<c[1]){a.label=c[1],c=o;break}if(c&&a.label<c[2]){a.label=c[2],a.ops.push(o);break}c[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(i){o=[6,i],r=0}finally{n=c=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var n,r,c,d,a={label:0,sent:function(){if(1&c[0])throw c[1];return c[1]},trys:[],ops:[]};return d={next:o(0),"throw":o(1),"return":o(2)},"function"==typeof Symbol&&(d[Symbol.iterator]=function(){return this}),d},u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),p=e("node_modules/monaco-editor/esm/vs/base/common/strings"),m=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),f=e("node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService"),g=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),y=e("node_modules/monaco-editor/esm/vs/editor/contrib/message/messageController"),h=r.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),b=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),x=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),A=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView"),_=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),v=e("node_modules/monaco-editor/esm/vs/platform/markers/common/markers"),C=e("node_modules/monaco-editor/esm/vs/platform/progress/common/progress"),k=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionModel"),E=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionTrigger"),w=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionWidget"),K=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/lightBulbWidget"),S=e("node_modules/monaco-editor/esm/vs/base/common/errors"),I=function(e){function t(t,o,i,n,r,c,d,a){var s=e.call(this)||this;return s._commandService=c,s._keybindingService=d,s._bulkEditService=a,s._editor=t,s._model=new k.CodeActionModel(s._editor,o,i,n),s._codeActionContextMenu=new w.CodeActionContextMenu(t,r,function(e){return s._onApplyCodeAction(e)}),s._lightBulbWidget=s._register(new K.LightBulbWidget(t)),s._updateLightBulbTitle(),s._register(s._codeActionContextMenu.onDidExecuteCodeAction(function(){return s._model.trigger({type:"auto",filter:{}})})),s._register(s._lightBulbWidget.onClick(s._handleLightBulbSelect,s)),s._register(s._model.onDidChangeState(function(e){return s._onDidChangeCodeActionsState(e)})),s._register(s._keybindingService.onDidUpdateKeybindings(s._updateLightBulbTitle,s)),s}return c(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._model.dispose()},t.prototype._onDidChangeCodeActionsState=function(e){var t=this;this._activeRequest&&(this._activeRequest.cancel(),this._activeRequest=void 0),1===e.type?(this._activeRequest=e.actions,e.trigger.filter&&e.trigger.filter.kind?e.actions.then(function(o){return o.actions.length>0&&(1===e.trigger.autoApply||0===e.trigger.autoApply&&1===o.actions.length)?void t._onApplyCodeAction(o.actions[0]):void t._codeActionContextMenu.show(e.actions,e.position)}).catch(S.onUnexpectedError):"manual"===e.trigger.type?this._codeActionContextMenu.show(e.actions,e.position):this._codeActionContextMenu.isVisible?this._codeActionContextMenu.show(e.actions,e.position):this._lightBulbWidget.tryShow(e)):this._lightBulbWidget.hide()},t.prototype.getId=function(){return t.ID},t.prototype._handleLightBulbSelect=function(e){this._codeActionContextMenu.show(e.state.actions,e)},t.prototype.triggerFromEditorSelection=function(e,t){return this._model.trigger({type:"manual",filter:e,autoApply:t})},t.prototype._updateLightBulbTitle=function(){var e,t=this._keybindingService.lookupKeybinding(F.Id);e=t?h.localize("quickFixWithKb","Show Fixes ({0})",t.getLabel()):h.localize("quickFix","Show Fixes"),this._lightBulbWidget.title=e},t.prototype._onApplyCodeAction=function(e){return i(e,this._bulkEditService,this._commandService,this._editor)},t.ID="editor.contrib.quickFixController",t=d([a(1,v.IMarkerService),a(2,x.IContextKeyService),a(3,C.IProgressService),a(4,A.IContextMenuService),a(5,b.ICommandService),a(6,_.IKeybindingService),a(7,f.IBulkEditService)],t)}(u.Disposable);t.QuickFixController=I,t.applyCodeAction=i;var F=function(e){function t(){return e.call(this,{id:t.Id,label:h.localize("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix",precondition:x.ContextKeyExpr.and(g.EditorContextKeys.writable,g.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:2132,weight:100}})||this}return c(t,e),t.prototype.run=function(e,t){return n(t,h.localize("editor.action.quickFix.noneMessage","No code actions available"))},t.Id="editor.action.quickFix",t}(m.EditorAction);t.QuickFixAction=F;var z=function(){function e(e,t,o){this.kind=e,this.apply=t,this.preferred=o}return e.fromUser=function(t,o){return t&&"object"==typeof t?new e(e.getKindFromUser(t,o.kind),e.getApplyFromUser(t,o.apply),e.getPreferredUser(t)):new e(o.kind,o.apply,!1)},e.getApplyFromUser=function(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return 1;case"never":return 2;case"ifsingle":return 0;default:return t}},e.getKindFromUser=function(e,t){return"string"==typeof e.kind?new E.CodeActionKind(e.kind):t},e.getPreferredUser=function(e){return"boolean"==typeof e.preferred?e.preferred:!1},e}(),M=function(e){function t(){return e.call(this,{id:t.Id,precondition:x.ContextKeyExpr.and(g.EditorContextKeys.writable,g.EditorContextKeys.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:{type:"object",required:["kind"],properties:{kind:{type:"string"},apply:{type:"string","default":"ifSingle","enum":["first","ifSingle","never"]}}}}]}})||this}return c(t,e),t.prototype.runEditorCommand=function(e,t,o){var i=z.fromUser(o,{kind:E.CodeActionKind.Empty,apply:0});return n(t,h.localize("editor.action.quickFix.noneMessage","No code actions available"),{kind:i.kind,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)},t.Id="editor.action.codeAction",t}(m.EditorCommand);t.CodeActionCommand=M;var O=function(e){function t(){return e.call(this,{id:t.Id,label:h.localize("refactor.label","Refactor..."),alias:"Refactor",precondition:x.ContextKeyExpr.and(g.EditorContextKeys.writable,g.EditorContextKeys.hasCodeActionsProvider),kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},menuOpts:{group:"1_modification",order:2,when:x.ContextKeyExpr.and(g.EditorContextKeys.writable,o(E.CodeActionKind.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:{type:"object",properties:{kind:{type:"string"},apply:{type:"string","default":"never","enum":["first","ifSingle","never"]}}}}]}})||this}return c(t,e),t.prototype.run=function(e,t,o){var i=z.fromUser(o,{kind:E.CodeActionKind.Refactor,apply:2});return n(t,h.localize("editor.action.refactor.noneMessage","No refactorings available"),{kind:E.CodeActionKind.Refactor.contains(i.kind)?i.kind:E.CodeActionKind.Empty,onlyIncludePreferredActions:i.preferred},i.apply)},t.Id="editor.action.refactor",t}(m.EditorAction);t.RefactorAction=O;var P=function(e){function t(){return e.call(this,{id:t.Id,label:h.localize("source.label","Source Action..."),alias:"Source Action",precondition:x.ContextKeyExpr.and(g.EditorContextKeys.writable,g.EditorContextKeys.hasCodeActionsProvider),menuOpts:{group:"1_modification",order:2.1,when:x.ContextKeyExpr.and(g.EditorContextKeys.writable,o(E.CodeActionKind.Source))},description:{description:"Source Action...",args:[{name:"args",schema:{type:"object",properties:{kind:{type:"string"},apply:{type:"string","default":"never","enum":["first","ifSingle","never"]}}}}]}})||this}return c(t,e),t.prototype.run=function(e,t,o){var i=z.fromUser(o,{kind:E.CodeActionKind.Source,apply:2});return n(t,h.localize("editor.action.source.noneMessage","No source actions available"),{kind:E.CodeActionKind.Source.contains(i.kind)?i.kind:E.CodeActionKind.Empty,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)},t.Id="editor.action.sourceAction",t}(m.EditorAction);t.SourceAction=P;var R=function(e){function t(){return e.call(this,{id:t.Id,label:h.localize("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:x.ContextKeyExpr.and(g.EditorContextKeys.writable,o(E.CodeActionKind.SourceOrganizeImports)),kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1581,weight:100}})||this}return c(t,e),t.prototype.run=function(e,t){return n(t,h.localize("editor.action.organize.noneMessage","No organize imports action available"),{kind:E.CodeActionKind.SourceOrganizeImports,includeSourceActions:!0},0)},t.Id="editor.action.organizeImports",t}(m.EditorAction);t.OrganizeImportsAction=R;var B=function(e){function t(){return e.call(this,{id:t.Id,label:h.localize("fixAll.label","Fix All"),alias:"Fix All",precondition:x.ContextKeyExpr.and(g.EditorContextKeys.writable,o(E.CodeActionKind.SourceFixAll))})||this}return c(t,e),t.prototype.run=function(e,t){return n(t,h.localize("fixAll.noneMessage","No fix all action available"),{kind:E.CodeActionKind.SourceFixAll,includeSourceActions:!0},0)},t.Id="editor.action.fixAll",t}(m.EditorAction);t.FixAllAction=B;var U=function(e){function t(){return e.call(this,{id:t.Id,label:h.localize("autoFix.label","Auto Fix..."),alias:"Auto Fix",precondition:x.ContextKeyExpr.and(g.EditorContextKeys.writable,o(E.CodeActionKind.QuickFix)),kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})||this}return c(t,e),t.prototype.run=function(e,t){return n(t,h.localize("editor.action.autoFix.noneMessage","No auto fixes available"),{kind:E.CodeActionKind.QuickFix,onlyIncludePreferredActions:!0},0)},t.Id="editor.action.autoFix",t}(m.EditorAction);t.AutoFixAction=U});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionContributions.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionContributions",function(o,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var t=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),e=o("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionCommands");t.registerEditorContribution(e.QuickFixController),t.registerEditorAction(e.QuickFixAction),t.registerEditorAction(e.RefactorAction),t.registerEditorAction(e.SourceAction),t.registerEditorAction(e.OrganizeImportsAction),t.registerEditorAction(e.AutoFixAction),t.registerEditorAction(e.FixAllAction),t.registerEditorCommand(new e.CodeActionCommand)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelens.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelens",function(e,o){"use strict";function r(e,o){var r=[],s=d.CodeLensProviderRegistry.ordered(e),m=s.map(function(n){return Promise.resolve(n.provideCodeLenses(e,o)).then(function(e){if(Array.isArray(e))for(var o=0,s=e;o<s.length;o++){var t=s[o];r.push({symbol:t,provider:n})}}).catch(t.onUnexpectedExternalError)});return Promise.all(m).then(function(){return n.mergeSort(r,function(e,o){return e.symbol.range.startLineNumber<o.symbol.range.startLineNumber?-1:e.symbol.range.startLineNumber>o.symbol.range.startLineNumber?1:s.indexOf(e.provider)<s.indexOf(o.provider)?-1:s.indexOf(e.provider)>s.indexOf(o.provider)?1:e.symbol.range.startColumn<o.symbol.range.startColumn?-1:e.symbol.range.startColumn>o.symbol.range.startColumn?1:0})})}Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),s=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),t=e("node_modules/monaco-editor/esm/vs/base/common/errors"),m=e("node_modules/monaco-editor/esm/vs/base/common/uri"),i=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),d=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),a=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService");o.getCodeLensData=r,i.registerLanguageCommand("_executeCodeLensProvider",function(e,o){var n=o.resource,i=o.itemResolveCount;if(!(n instanceof m.URI))throw t.illegalArgument();var d=e.get(a.IModelService).getModel(n);if(!d)throw t.illegalArgument();var l=[];return r(d,s.CancellationToken.None).then(function(e){for(var o=[],r=function(e){"undefined"==typeof i||Boolean(e.symbol.command)?l.push(e.symbol):i-->0&&e.provider.resolveCodeLens&&o.push(Promise.resolve(e.provider.resolveCodeLens(d,e.symbol,s.CancellationToken.None)).then(function(o){return l.push(o||e.symbol)}))},n=0,t=e;n<t.length;n++){var m=t[n];r(m)}return Promise.all(o)}).then(function(){return l})})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelensWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelensWidget",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=t("node_modules/tslib/tslib"),i=e.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),n=t("node_modules/monaco-editor/esm/vs/base/common/arrays"),s=t("node_modules/monaco-editor/esm/vs/base/common/strings"),r=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d=t("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),a=t("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),h=t("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),m=t("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),c=function(){function t(t,o){this.afterLineNumber=t,this._onHeight=o,this.heightInLines=1,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}return t.prototype.onComputedHeight=function(t){void 0===this._lastHeight?this._lastHeight=t:this._lastHeight!==t&&(this._lastHeight=t,this._onHeight())},t}(),u=function(){function t(o,e,n){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._id="codeLensWidget"+ ++t._idPool,this._editor=o,this.setSymbolRange(e),this._domNode=document.createElement("span"),this._domNode.innerHTML="&nbsp;",i.addClass(this._domNode,"codelens-decoration"),this.updateHeight(),this.withCommands(n.map(function(t){return t.symbol}),!1)}return t.prototype.updateHeight=function(){var t=this._editor.getConfiguration(),o=t.fontInfo,e=t.lineHeight;this._domNode.style.height=Math.round(1.1*e)+"px",this._domNode.style.lineHeight=e+"px",this._domNode.style.fontSize=Math.round(.9*o.fontSize)+"px",this._domNode.style.paddingRight=Math.round(.45*o.fontSize)+"px",this._domNode.innerHTML="&nbsp;"},t.prototype.withCommands=function(t,o){this._commands.clear();var e=n.coalesce(t);if(n.isFalsyOrEmpty(e))return void(this._domNode.innerHTML="<span>no commands</span>");for(var r=[],d=0;d<e.length;d++){var a=e[d].command;if(a){var h=s.escape(a.title),m=void 0;a.id?(m="<a id="+d+">"+h+"</a>",this._commands.set(String(d),a)):m="<span>"+h+"</span>",r.push(m)}}var c=""===this._domNode.innerHTML||"&nbsp;"===this._domNode.innerHTML;this._domNode.innerHTML=r.join("<span>&nbsp;|&nbsp;</span>"),this._editor.layoutContentWidget(this),c&&o&&i.addClass(this._domNode,"fadein")},t.prototype.getCommand=function(t){return t.parentElement===this._domNode?this._commands.get(t.id):void 0},t.prototype.getId=function(){return this._id},t.prototype.getDomNode=function(){return this._domNode},t.prototype.setSymbolRange=function(t){if(this._editor.hasModel()){var o=t.startLineNumber,e=this._editor.getModel().getLineFirstNonWhitespaceColumn(o);this._widgetPosition={position:{lineNumber:o,column:e},preference:[1]}}},t.prototype.getPosition=function(){return this._widgetPosition},t.prototype.isVisible=function(){return this._domNode.hasAttribute("monaco-visible-content-widget")},t._idPool=0,t}(),_=function(){function t(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}return t.prototype.addDecoration=function(t,o){this._addDecorations.push(t),this._addDecorationsCallbacks.push(o)},t.prototype.removeDecoration=function(t){this._removeDecorations.push(t)},t.prototype.commit=function(t){for(var o=t.deltaDecorations(this._removeDecorations,this._addDecorations),e=0,i=o.length;i>e;e++)this._addDecorationsCallbacks[e](o[e])},t}();o.CodeLensHelper=_;var l=function(){function t(t,o,e,i,n){var s=this;this._editor=o,this._data=t,this._decorationIds=new Array(this._data.length);var a;this._data.forEach(function(t,o){e.addDecoration({range:t.symbol.range,options:d.ModelDecorationOptions.EMPTY},function(t){return s._decorationIds[o]=t}),a=a?r.Range.plusRange(a,t.symbol.range):r.Range.lift(t.symbol.range)}),a&&(this._contentWidget=new u(o,a,this._data),this._viewZone=new c(a.startLineNumber-1,n),this._viewZoneId=i.addZone(this._viewZone),this._editor.addContentWidget(this._contentWidget))}return t.prototype.dispose=function(t,o){for(;this._decorationIds.length;)t.removeDecoration(this._decorationIds.pop());o&&o.removeZone(this._viewZoneId),this._editor.removeContentWidget(this._contentWidget)},t.prototype.isValid=function(){var t=this;if(!this._editor.hasModel())return!1;var o=this._editor.getModel();return this._decorationIds.some(function(e,i){var n=o.getDecorationRange(e),s=t._data[i].symbol;return!(!n||r.Range.isEmpty(s.range)!==n.isEmpty())})},t.prototype.updateCodeLensSymbols=function(t,o){for(var e=this;this._decorationIds.length;)o.removeDecoration(this._decorationIds.pop());this._data=t,this._decorationIds=new Array(this._data.length),this._data.forEach(function(t,i){o.addDecoration({range:t.symbol.range,options:d.ModelDecorationOptions.EMPTY},function(t){return e._decorationIds[i]=t})})},t.prototype.computeIfNecessary=function(t){if(!this._contentWidget.isVisible())return null;for(var o=0;o<this._decorationIds.length;o++){var e=t.getDecorationRange(this._decorationIds[o]);e&&(this._data[o].symbol.range=e)}return this._data},t.prototype.updateCommands=function(t){this._contentWidget.withCommands(t,!0);for(var o=0;o<this._data.length;o++){var e=t[o];if(e){var i=this._data[o].symbol;i.command=e.command||i.command}}},t.prototype.updateHeight=function(){this._contentWidget.updateHeight()},t.prototype.getCommand=function(t){return this._contentWidget.getCommand(t)},t.prototype.getLineNumber=function(){if(this._editor.hasModel()){var t=this._editor.getModel().getDecorationRange(this._decorationIds[0]);if(t)return t.startLineNumber}return-1},t.prototype.update=function(t){if(this.isValid()&&this._editor.hasModel()){var o=this._editor.getModel().getDecorationRange(this._decorationIds[0]);o&&(this._viewZone.afterLineNumber=o.startLineNumber-1,t.layoutZone(this._viewZoneId),this._contentWidget.setSymbolRange(o),this._editor.layoutContentWidget(this._contentWidget))}},t}();o.CodeLens=l,m.registerThemingParticipant(function(t,o){var e=t.getColor(a.editorCodeLensForeground);e&&o.addRule(".monaco-editor .codelens-decoration { color: "+e+"; }");var i=t.getColor(h.editorActiveLinkForeground);i&&o.addRule(".monaco-editor .codelens-decoration > a:hover { color: "+i+" !important; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelensController.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelensController",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var s=this&&this.__decorate||function(e,o,s,n){var t,i=arguments.length,r=3>i?o:null===n?n=Object.getOwnPropertyDescriptor(o,s):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,o,s,n);else for(var l=e.length-1;l>=0;l--)(t=e[l])&&(r=(3>i?t(r):i>3?t(o,s,r):t(o,s))||r);return i>3&&r&&Object.defineProperty(o,s,r),r},n=this&&this.__param||function(e,o){return function(s,n){o(s,n,e)}},t=e("node_modules/monaco-editor/esm/vs/base/common/async"),i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=e("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState"),d=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),c=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),a=e("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelens"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelensWidget"),u=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),m=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codeLensCache"),p=function(){function e(e,o,s,n){var t=this;this._editor=e,this._commandService=o,this._notificationService=s,this._codeLensCache=n,this._isEnabled=this._editor.getConfiguration().contribInfo.codeLens,this._globalToDispose=[],this._localToDispose=[],this._lenses=[],this._currentFindCodeLensSymbolsPromise=null,this._modelChangeCounter=0,this._globalToDispose.push(this._editor.onDidChangeModel(function(){return t._onModelChange()})),this._globalToDispose.push(this._editor.onDidChangeModelLanguage(function(){return t._onModelChange()})),this._globalToDispose.push(this._editor.onDidChangeConfiguration(function(){var e=t._isEnabled;t._isEnabled=t._editor.getConfiguration().contribInfo.codeLens,e!==t._isEnabled&&t._onModelChange()})),this._globalToDispose.push(c.CodeLensProviderRegistry.onDidChange(this._onModelChange,this)),this._onModelChange()}return e.prototype.dispose=function(){this._localDispose(),this._globalToDispose=r.dispose(this._globalToDispose)},e.prototype._localDispose=function(){this._currentFindCodeLensSymbolsPromise&&(this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=null,this._modelChangeCounter++),this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=null),this._localToDispose=r.dispose(this._localToDispose)},e.prototype.getId=function(){return e.ID},e.prototype._onModelChange=function(){var e=this;this._localDispose();var o=this._editor.getModel();if(o&&this._isEnabled){var s=this._codeLensCache.get(o);if(s&&this._renderCodeLensSymbols(s),!c.CodeLensProviderRegistry.has(o))return void(s&&this._localToDispose.push(t.disposableTimeout(function(){var n=e._codeLensCache.get(o);s===n&&(e._codeLensCache.delete(o),e._onModelChange())},3e4)));for(var n=0,d=c.CodeLensProviderRegistry.all(o);n<d.length;n++){var u=d[n];if("function"==typeof u.onDidChange){var m=u.onDidChange(function(){return _.schedule()});this._localToDispose.push(m)}}this._detectVisibleLenses=new t.RunOnceScheduler(function(){e._onViewportChanged()},250);var _=new t.RunOnceScheduler(function(){var s=++e._modelChangeCounter;e._currentFindCodeLensSymbolsPromise&&e._currentFindCodeLensSymbolsPromise.cancel(),e._currentFindCodeLensSymbolsPromise=t.createCancelablePromise(function(e){return a.getCodeLensData(o,e)}),e._currentFindCodeLensSymbolsPromise.then(function(n){s===e._modelChangeCounter&&(e._codeLensCache.put(o,n),e._renderCodeLensSymbols(n),e._detectVisibleLenses.schedule())},i.onUnexpectedError)},250);this._localToDispose.push(_),this._localToDispose.push(this._detectVisibleLenses),this._localToDispose.push(this._editor.onDidChangeModelContent(function(){e._editor.changeDecorations(function(o){e._editor.changeViewZones(function(s){var n=[],t=-1;e._lenses.forEach(function(e){e.isValid()&&t!==e.getLineNumber()?(e.update(s),t=e.getLineNumber()):n.push(e)});var i=new h.CodeLensHelper;n.forEach(function(o){o.dispose(i,s),e._lenses.splice(e._lenses.indexOf(o),1)}),i.commit(o)})}),e._detectVisibleLenses.schedule(),_.schedule()})),this._localToDispose.push(this._editor.onDidScrollChange(function(o){o.scrollTopChanged&&e._lenses.length>0&&e._detectVisibleLenses.schedule()})),this._localToDispose.push(this._editor.onDidLayoutChange(function(){e._detectVisibleLenses.schedule()})),this._localToDispose.push(r.toDisposable(function(){if(e._editor.getModel()){var o=l.StableEditorScrollState.capture(e._editor);e._editor.changeDecorations(function(o){e._editor.changeViewZones(function(s){e._disposeAllLenses(o,s)})}),o.restore(e._editor)}else e._disposeAllLenses(void 0,void 0)})),this._localToDispose.push(this._editor.onDidChangeConfiguration(function(o){if(o.fontInfo)for(var s=0,n=e._lenses;s<n.length;s++){var t=n[s];t.updateHeight()}})),this._localToDispose.push(this._editor.onMouseUp(function(o){var s;if(9===o.target.type&&o.target.element&&"A"===o.target.element.tagName)for(var n=0,t=e._lenses;n<t.length;n++){var i=t[n],r=i.getCommand(o.target.element);if(r){(s=e._commandService).executeCommand.apply(s,[r.id].concat(r.arguments||[])).catch(function(o){return e._notificationService.error(o)});break}}})),_.schedule()}},e.prototype._disposeAllLenses=function(e,o){var s=new h.CodeLensHelper;this._lenses.forEach(function(e){return e.dispose(s,o)}),e&&s.commit(e),this._lenses=[]},e.prototype._renderCodeLensSymbols=function(e){var o=this;if(this._editor.hasModel()){for(var s,n=this._editor.getModel().getLineCount(),t=[],i=0,r=e;i<r.length;i++){var d=r[i],c=d.symbol.range.startLineNumber;1>c||c>n||(s&&s[s.length-1].symbol.range.startLineNumber===c?s.push(d):(s=[d],t.push(s)))}var a=l.StableEditorScrollState.capture(this._editor);this._editor.changeDecorations(function(e){o._editor.changeViewZones(function(s){for(var n=0,i=0,r=new h.CodeLensHelper;i<t.length&&n<o._lenses.length;){var l=t[i][0].symbol.range.startLineNumber,d=o._lenses[n].getLineNumber();l>d?(o._lenses[n].dispose(r,s),o._lenses.splice(n,1)):d===l?(o._lenses[n].updateCodeLensSymbols(t[i],r),i++,n++):(o._lenses.splice(n,0,new h.CodeLens(t[i],o._editor,r,s,function(){return o._detectVisibleLenses.schedule()})),n++,i++)}for(;n<o._lenses.length;)o._lenses[n].dispose(r,s),o._lenses.splice(n,1);for(;i<t.length;)o._lenses.push(new h.CodeLens(t[i],o._editor,r,s,function(){return o._detectVisibleLenses.schedule()})),i++;r.commit(e)})}),a.restore(this._editor)}},e.prototype._onViewportChanged=function(){var e=this;this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=null);var o=this._editor.getModel();if(o){var s=[],n=[];this._lenses.forEach(function(e){var t=e.computeIfNecessary(o);t&&(s.push(t),n.push(e))}),0!==s.length&&(this._currentResolveCodeLensSymbolsPromise=t.createCancelablePromise(function(e){var t=s.map(function(s,t){var r=new Array(s.length),l=s.map(function(s,n){return s.symbol.command||"function"!=typeof s.provider.resolveCodeLens?(r[n]=s.symbol,Promise.resolve(void 0)):Promise.resolve(s.provider.resolveCodeLens(o,s.symbol,e)).then(function(e){r[n]=e},i.onUnexpectedExternalError)});return Promise.all(l).then(function(){n[t].updateCommands(r)})});return Promise.all(t)}),this._currentResolveCodeLensSymbolsPromise.then(function(){e._currentResolveCodeLensSymbolsPromise=null}).catch(function(o){e._currentResolveCodeLensSymbolsPromise=null,i.onUnexpectedError(o)}))}},e.ID="css.editor.codeLens",e=s([n(1,u.ICommandService),n(2,m.INotificationService),n(3,_.ICodeLensCache)],e)}();o.CodeLensContribution=p,d.registerEditorContribution(p)});
;/*!node_modules/monaco-editor/esm/vs/base/common/hash.js*/
define("node_modules/monaco-editor/esm/vs/base/common/hash",function(e,n){"use strict";function r(e,n){switch(void 0===n&&(n=0),typeof e){case"object":return null===e?t(349,n):Array.isArray(e)?c(e,n):s(e,n);case"string":return o(e,n);case"boolean":return u(e,n);case"number":return t(e,n);case"undefined":return t(0,937);default:return t(0,617)}}function t(e,n){return(n<<5)-n+e|0}function u(e,n){return t(e?433:863,n)}function o(e,n){n=t(149417,n);for(var r=0,u=e.length;u>r;r++)n=t(e.charCodeAt(r),n);return n}function c(e,n){return n=t(104579,n),e.reduce(function(e,n){return r(n,e)},n)}function s(e,n){return n=t(181387,n),Object.keys(e).sort().reduce(function(n,t){return n=o(t,n),r(e[t],n)},n)}Object.defineProperty(n,"__esModule",{value:!0}),n.hash=r});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/color.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/color",function(e,o){"use strict";function r(e,o){var r=[],n=c.ColorProviderRegistry.ordered(e).reverse(),t=n.map(function(n){return Promise.resolve(n.provideDocumentColors(e,o)).then(function(e){if(Array.isArray(e))for(var o=0,t=e;o<t.length;o++){var i=t[o];r.push({colorInfo:i,provider:n})}})});return Promise.all(t).then(function(){return r})}function n(e,o,r,n){return Promise.resolve(r.provideColorPresentations(e,o,n))}Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),s=e("node_modules/monaco-editor/esm/vs/base/common/uri"),a=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),c=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),d=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService");o.getColors=r,o.getColorPresentations=n,a.registerLanguageCommand("_executeDocumentColorProvider",function(e,o){var r=o.resource;if(!(r instanceof s.URI))throw i.illegalArgument();var n=e.get(d.IModelService).getModel(r);if(!n)throw i.illegalArgument();var a=[],l=c.ColorProviderRegistry.ordered(n).reverse(),m=l.map(function(e){return Promise.resolve(e.provideDocumentColors(n,t.CancellationToken.None)).then(function(e){if(Array.isArray(e))for(var o=0,r=e;o<r.length;o++){var n=r[o];a.push({range:n.range,color:[n.color.red,n.color.green,n.color.blue,n.color.alpha]})}})});return Promise.all(m).then(function(){return a})}),a.registerLanguageCommand("_executeColorPresentationProvider",function(e,o){var r=o.resource,n=o.color,a=o.range;if(!(r instanceof s.URI&&Array.isArray(n)&&4===n.length&&l.Range.isIRange(a)))throw i.illegalArgument();var m=n[0],u=n[1],v=n[2],g=n[3],f=e.get(d.IModelService).getModel(r);if(!f)throw i.illegalArgument();var h={range:a,color:{red:m,green:u,blue:v,alpha:g}},P=[],p=c.ColorProviderRegistry.ordered(f).reverse(),C=p.map(function(e){return Promise.resolve(e.provideColorPresentations(f,h,t.CancellationToken.None)).then(function(e){Array.isArray(e)&&P.push.apply(P,e)})});return Promise.all(C).then(function(){return P})})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorDetector.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorDetector",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=this&&this.__decorate||function(o,e,t,r){var i,n=arguments.length,s=3>n?e:null===r?r=Object.getOwnPropertyDescriptor(e,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(o,e,t,r);else for(var a=o.length-1;a>=0;a--)(i=o[a])&&(s=(3>n?i(s):n>3?i(e,t,s):i(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},r=this&&this.__param||function(o,e){return function(t,r){e(t,r,o)}},i=o("node_modules/monaco-editor/esm/vs/base/common/async"),n=o("node_modules/monaco-editor/esm/vs/base/common/color"),s=o("node_modules/monaco-editor/esm/vs/base/common/errors"),a=o("node_modules/monaco-editor/esm/vs/base/common/hash"),c=o("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),l=o("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),u=o("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=o("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),h=o("node_modules/monaco-editor/esm/vs/editor/common/modes"),_=o("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/color"),p=o("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),g=500,f=function(){function o(o,e,t){var r=this;this._editor=o,this._codeEditorService=e,this._configurationService=t,this._globalToDispose=[],this._localToDispose=[],this._decorationsIds=[],this._colorDatas=new Map,this._colorDecoratorIds=[],this._decorationsTypes={},this._globalToDispose.push(o.onDidChangeModel(function(){r._isEnabled=r.isEnabled(),r.onModelChanged()})),this._globalToDispose.push(o.onDidChangeModelLanguage(function(){return r.onModelChanged()})),this._globalToDispose.push(h.ColorProviderRegistry.onDidChange(function(){return r.onModelChanged()})),this._globalToDispose.push(o.onDidChangeConfiguration(function(){var o=r._isEnabled;r._isEnabled=r.isEnabled(),o!==r._isEnabled&&(r._isEnabled?r.onModelChanged():r.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}return o.prototype.isEnabled=function(){var o=this._editor.getModel();if(!o)return!1;var e=o.getLanguageIdentifier(),t=this._configurationService.getValue(e.language);if(t){var r=t.colorDecorators;if(r&&void 0!==r.enable&&!r.enable)return r.enable}return this._editor.getConfiguration().contribInfo.colorDecorators},o.prototype.getId=function(){return o.ID},o.get=function(o){return o.getContribution(this.ID)},o.prototype.dispose=function(){this.stop(),this.removeAllDecorations(),this._globalToDispose=c.dispose(this._globalToDispose)},o.prototype.onModelChanged=function(){var e=this;if(this.stop(),this._isEnabled){var t=this._editor.getModel();t&&h.ColorProviderRegistry.has(t)&&(this._localToDispose.push(this._editor.onDidChangeModelContent(function(){e._timeoutTimer||(e._timeoutTimer=new i.TimeoutTimer,e._timeoutTimer.cancelAndSet(function(){e._timeoutTimer=null,e.beginCompute()},o.RECOMPUTE_TIME))})),this.beginCompute())}},o.prototype.beginCompute=function(){var o=this;this._computePromise=i.createCancelablePromise(function(e){var t=o._editor.getModel();return t?_.getColors(t,e):Promise.resolve([])}),this._computePromise.then(function(e){o.updateDecorations(e),o.updateColorDecorators(e),o._computePromise=null},s.onUnexpectedError)},o.prototype.stop=function(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose=c.dispose(this._localToDispose)},o.prototype.updateDecorations=function(o){var e=this,t=o.map(function(o){return{range:{startLineNumber:o.colorInfo.range.startLineNumber,startColumn:o.colorInfo.range.startColumn,endLineNumber:o.colorInfo.range.endLineNumber,endColumn:o.colorInfo.range.endColumn},options:m.ModelDecorationOptions.EMPTY}});this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach(function(t,r){return e._colorDatas.set(t,o[r])})},o.prototype.updateColorDecorators=function(o){for(var e=[],t={},r=0;r<o.length&&e.length<g;r++){var i=o[r].colorInfo.color,s=i.red,c=i.green,d=i.blue,l=i.alpha,u=new n.RGBA(Math.round(255*s),Math.round(255*c),Math.round(255*d),l),m=a.hash(u).toString(16),h="rgba("+u.r+", "+u.g+", "+u.b+", "+u.a+")",_="colorBox-"+m;this._decorationsTypes[_]||t[_]||this._codeEditorService.registerDecorationType(_,{before:{contentText:" ",border:"solid 0.1em #000",margin:"0.1em 0.2em 0 0.2em",width:"0.8em",height:"0.8em",backgroundColor:h},dark:{before:{border:"solid 0.1em #eee"}}}),t[_]=!0,e.push({range:{startLineNumber:o[r].colorInfo.range.startLineNumber,startColumn:o[r].colorInfo.range.startColumn,endLineNumber:o[r].colorInfo.range.endLineNumber,endColumn:o[r].colorInfo.range.endColumn},options:this._codeEditorService.resolveDecorationOptions(_,!0)})}for(var p in this._decorationsTypes)t[p]||this._codeEditorService.removeDecorationType(p);this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,e)},o.prototype.removeAllDecorations=function(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]);for(var o in this._decorationsTypes)this._codeEditorService.removeDecorationType(o)},o.prototype.getColorData=function(o){var e=this,t=this._editor.getModel();if(!t)return null;var r=t.getDecorationsInRange(u.Range.fromPositions(o,o)).filter(function(o){return e._colorDatas.has(o.id)});return 0===r.length?null:this._colorDatas.get(r[0].id)},o.ID="editor.contrib.colorDetector",o.RECOMPUTE_TIME=1e3,o=t([r(1,l.ICodeEditorService),r(2,p.IConfigurationService)],o)}();e.ColorDetector=f,d.registerEditorContribution(f)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/comment/blockCommentCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/comment/blockCommentCommand",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),a=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),m=function(){function e(e){this._selection=e,this._usedEndToken=null}return e._haystackHasNeedleAtOffset=function(e,n,t){if(0>t)return!1;var o=n.length,r=e.length;if(t+o>r)return!1;for(var i=0;o>i;i++){var a=e.charCodeAt(t+i),m=n.charCodeAt(i);if(a!==m&&!(a>=65&&90>=a&&a+32===m||m>=65&&90>=m&&m+32===a))return!1}return!0},e.prototype._createOperationsForBlockComment=function(n,t,o,i,a){var m=n.startLineNumber,s=n.startColumn,d=n.endLineNumber,u=n.endColumn,l=i.getLineContent(m),c=i.getLineContent(d),g=l.lastIndexOf(t,s-1+t.length),C=c.indexOf(o,u-1-o.length);if(-1!==g&&-1!==C)if(m===d){var h=l.substring(g+t.length,C);h.indexOf(o)>=0&&(g=-1,C=-1)}else{var p=l.substring(g+t.length),f=c.substring(0,C);(p.indexOf(o)>=0||f.indexOf(o)>=0)&&(g=-1,C=-1)}var b;-1!==g&&-1!==C?(g+t.length<l.length&&32===l.charCodeAt(g+t.length)&&(t+=" "),C>0&&32===c.charCodeAt(C-1)&&(o=" "+o,C-=1),b=e._createRemoveBlockCommentOperations(new r.Range(m,g+t.length+1,d,C+1),t,o)):(b=e._createAddBlockCommentOperations(n,t,o),this._usedEndToken=1===b.length?o:null);for(var v=0,k=b;v<k.length;v++){var O=k[v];a.addTrackedEditOperation(O.range,O.text)}},e._createRemoveBlockCommentOperations=function(e,n,o){var i=[];return r.Range.isEmpty(e)?i.push(t.EditOperation.delete(new r.Range(e.startLineNumber,e.startColumn-n.length,e.endLineNumber,e.endColumn+o.length))):(i.push(t.EditOperation.delete(new r.Range(e.startLineNumber,e.startColumn-n.length,e.startLineNumber,e.startColumn))),i.push(t.EditOperation.delete(new r.Range(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+o.length)))),i},e._createAddBlockCommentOperations=function(e,n,i){var a=[];return r.Range.isEmpty(e)?a.push(t.EditOperation.replace(new r.Range(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),n+" "+i)):(a.push(t.EditOperation.insert(new o.Position(e.startLineNumber,e.startColumn),n+" ")),a.push(t.EditOperation.insert(new o.Position(e.endLineNumber,e.endColumn)," "+i))),a},e.prototype.getEditOperations=function(e,n){var t=this._selection.startLineNumber,o=this._selection.startColumn;e.tokenizeIfCheap(t);var r=e.getLanguageIdAtPosition(t,o),i=a.LanguageConfigurationRegistry.getComments(r);i&&i.blockCommentStartToken&&i.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,i.blockCommentStartToken,i.blockCommentEndToken,e,n)},e.prototype.computeCursorState=function(e,n){var t=n.getInverseEditOperations();if(2===t.length){var o=t[0],r=t[1];return new i.Selection(o.range.endLineNumber,o.range.endColumn,r.range.startLineNumber,r.range.startColumn)}var a=t[0].range,m=this._usedEndToken?-this._usedEndToken.length-1:0;return new i.Selection(a.endLineNumber,a.endColumn+m,a.endLineNumber,a.endColumn+m)},e}();n.BlockCommentCommand=m});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/comment/lineCommentCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/comment/lineCommentCommand",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),o=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),a=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),l=e("node_modules/monaco-editor/esm/vs/editor/contrib/comment/blockCommentCommand"),d=function(){function e(e,t,n){this._selection=e,this._tabSize=t,this._type=n,this._deltaColumn=0}return e._gatherPreflightCommentStrings=function(e,t,n){e.tokenizeIfCheap(t);var o=e.getLanguageIdAtPosition(t,1),i=a.LanguageConfigurationRegistry.getComments(o),r=i?i.lineCommentToken:null;if(!r)return null;for(var m=[],s=0,l=n-t+1;l>s;s++)m[s]={ignore:!1,commentStr:r,commentStrOffset:0,commentStrLength:r.length};return m},e._analyzeLines=function(e,t,n,i){var r,m=!0;r=0===e?!0:1===e?!1:!0;for(var s=0,a=n.length;a>s;s++){var d=n[s],u=i+s,c=t.getLineContent(u),g=o.firstNonWhitespaceIndex(c);if(-1!==g){if(m=!1,d.ignore=!1,d.commentStrOffset=g,r&&!l.BlockCommentCommand._haystackHasNeedleAtOffset(c,d.commentStr,g)&&(0===e?r=!1:1===e||(d.ignore=!0)),r){var C=g+d.commentStrLength;C<c.length&&32===c.charCodeAt(C)&&(d.commentStrLength+=1)}}else d.ignore=0===e?!0:1===e?!0:!0,d.commentStrOffset=c.length}if(0===e&&m){r=!1;for(var s=0,a=n.length;a>s;s++)n[s].ignore=!1}return{supported:!0,shouldRemoveComments:r,lines:n}},e._gatherPreflightData=function(t,n,o,i){var r=e._gatherPreflightCommentStrings(n,o,i);return null===r?{supported:!1}:e._analyzeLines(t,n,r,o)},e.prototype._executeLineComments=function(t,n,o,i){var m;o.shouldRemoveComments?m=e._createRemoveLineCommentsOperations(o.lines,i.startLineNumber):(e._normalizeInsertionPoint(t,o.lines,i.startLineNumber,this._tabSize),m=e._createAddLineCommentsOperations(o.lines,i.startLineNumber));for(var s=new r.Position(i.positionLineNumber,i.positionColumn),a=0,l=m.length;l>a;a++)if(n.addEditOperation(m[a].range,m[a].text),m[a].range.isEmpty()&&m[a].range.getStartPosition().equals(s)){var d=t.getLineContent(s.lineNumber);d.length+1===s.column&&(this._deltaColumn=(m[a].text||"").length)}this._selectionId=n.trackSelection(i)},e.prototype._attemptRemoveBlockComment=function(e,t,n,o){var i=t.startLineNumber,r=t.endLineNumber,s=o.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn),a=e.getLineContent(i).lastIndexOf(n,s-1),d=e.getLineContent(r).indexOf(o,t.endColumn-1-n.length);return-1!==a&&-1===d&&(d=e.getLineContent(i).indexOf(o,a+n.length),r=i),-1===a&&-1!==d&&(a=e.getLineContent(r).lastIndexOf(n,d),i=r),!t.isEmpty()||-1!==a&&-1!==d||(a=e.getLineContent(i).indexOf(n),-1!==a&&(d=e.getLineContent(i).indexOf(o,a+n.length))),-1!==a&&32===e.getLineContent(i).charCodeAt(a+n.length)&&(n+=" "),-1!==d&&32===e.getLineContent(r).charCodeAt(d-1)&&(o=" "+o,d-=1),-1!==a&&-1!==d?l.BlockCommentCommand._createRemoveBlockCommentOperations(new m.Range(i,a+n.length+1,r,d+1),n,o):null},e.prototype._executeBlockComment=function(e,t,n){e.tokenizeIfCheap(n.startLineNumber);var i=e.getLanguageIdAtPosition(n.startLineNumber,1),r=a.LanguageConfigurationRegistry.getComments(i);if(r&&r.blockCommentStartToken&&r.blockCommentEndToken){var s=r.blockCommentStartToken,d=r.blockCommentEndToken,u=this._attemptRemoveBlockComment(e,n,s,d);if(!u){if(n.isEmpty()){var c=e.getLineContent(n.startLineNumber),g=o.firstNonWhitespaceIndex(c);-1===g&&(g=c.length),u=l.BlockCommentCommand._createAddBlockCommentOperations(new m.Range(n.startLineNumber,g+1,n.startLineNumber,c.length+1),s,d)}else u=l.BlockCommentCommand._createAddBlockCommentOperations(new m.Range(n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),s,d);1===u.length&&(this._deltaColumn=s.length+1)}this._selectionId=t.trackSelection(n);for(var C=0,f=u;C<f.length;C++){var h=f[C];t.addEditOperation(h.range,h.text)}}},e.prototype.getEditOperations=function(t,n){var o=this._selection;this._moveEndPositionDown=!1,o.startLineNumber<o.endLineNumber&&1===o.endColumn&&(this._moveEndPositionDown=!0,o=o.setEndPosition(o.endLineNumber-1,t.getLineMaxColumn(o.endLineNumber-1)));var i=e._gatherPreflightData(this._type,t,o.startLineNumber,o.endLineNumber);return i.supported?this._executeLineComments(t,n,i,o):this._executeBlockComment(t,n,o)},e.prototype.computeCursorState=function(e,t){var n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),new s.Selection(n.selectionStartLineNumber,n.selectionStartColumn+this._deltaColumn,n.positionLineNumber,n.positionColumn+this._deltaColumn)},e._createRemoveLineCommentsOperations=function(e,t){for(var n=[],o=0,r=e.length;r>o;o++){var s=e[o];s.ignore||n.push(i.EditOperation.delete(new m.Range(t+o,s.commentStrOffset+1,t+o,s.commentStrOffset+s.commentStrLength+1)))}return n},e._createAddLineCommentsOperations=function(e,t){for(var n=[],o=0,m=e.length;m>o;o++){var s=e[o];s.ignore||n.push(i.EditOperation.insert(new r.Position(t+o,s.commentStrOffset+1),s.commentStr+" "))}return n},e.nextVisibleColumn=function(e,t,n,o){return n?e+(t-e%t):e+o},e._normalizeInsertionPoint=function(t,n,o,i){for(var r,m,s=Number.MAX_VALUE,a=0,l=n.length;l>a;a++)if(!n[a].ignore){for(var d=t.getLineContent(o+a),u=0,c=0,g=n[a].commentStrOffset;s>u&&g>c;c++)u=e.nextVisibleColumn(u,i,9===d.charCodeAt(c),1);s>u&&(s=u)}s=Math.floor(s/i)*i;for(var a=0,l=n.length;l>a;a++)if(!n[a].ignore){var d=t.getLineContent(o+a),u=0;for(r=0,m=n[a].commentStrOffset;s>u&&m>r;r++)u=e.nextVisibleColumn(u,i,9===d.charCodeAt(r),1);n[a].commentStrOffset=u>s?r-1:r}},e}();t.LineCommentCommand=d});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/comment/comment.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/comment/comment",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),i=t.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),r=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),m=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),s=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),d=e("node_modules/monaco-editor/esm/vs/editor/contrib/comment/blockCommentCommand"),c=e("node_modules/monaco-editor/esm/vs/editor/contrib/comment/lineCommentCommand"),l=function(e){function o(o,t){var n=e.call(this,t)||this;return n._type=o,n}return n(o,e),o.prototype.run=function(e,o){if(o.hasModel()){for(var t=o.getModel(),n=[],i=o.getSelections(),r=t.getOptions(),m=0,s=i;m<s.length;m++){var d=s[m];n.push(new c.LineCommentCommand(d,r.tabSize,this._type))}o.pushUndoStop(),o.executeCommands(this.id,n),o.pushUndoStop()}},o}(m.EditorAction),a=function(e){function o(){return e.call(this,0,{id:"editor.action.commentLine",label:i.localize("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:2133,weight:100},menubarOpts:{menuId:14,group:"5_insert",title:i.localize({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})||this}return n(o,e),o}(l),u=function(e){function o(){return e.call(this,1,{id:"editor.action.addCommentLine",label:i.localize("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:r.KeyChord(2089,2081),weight:100}})||this}return n(o,e),o}(l),p=function(e){function o(){return e.call(this,2,{id:"editor.action.removeCommentLine",label:i.localize("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:r.KeyChord(2089,2099),weight:100}})||this}return n(o,e),o}(l),C=function(e){function o(){return e.call(this,{id:"editor.action.blockComment",label:i.localize("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menubarOpts:{menuId:14,group:"5_insert",title:i.localize({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})||this}return n(o,e),o.prototype.run=function(e,o){if(o.hasModel()){for(var t=[],n=o.getSelections(),i=0,r=n;i<r.length;i++){var m=r[i];t.push(new d.BlockCommentCommand(m))}o.pushUndoStop(),o.executeCommands(this.id,t),o.pushUndoStop()}},o}(m.EditorAction);m.registerEditorAction(a),m.registerEditorAction(u),m.registerEditorAction(p),m.registerEditorAction(C)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/contextmenu/contextmenu.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/contextmenu/contextmenu",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=3>r?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(s=(3>r?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}},s=o.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),c=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),u=t("node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar"),d=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),h=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),a=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),_=t("node_modules/monaco-editor/esm/vs/platform/actions/common/actions"),p=t("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),f=t("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView"),l=t("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),g=function(){function t(t,e,o,n,i,r){var s=this;this._contextMenuService=e,this._contextViewService=o,this._contextKeyService=n,this._keybindingService=i,this._menuService=r,this._toDispose=[],this._contextMenuIsBeingShownCount=0,this._editor=t,this._toDispose.push(this._editor.onContextMenu(function(t){return s._onContextMenu(t)})),this._toDispose.push(this._editor.onMouseWheel(function(){s._contextMenuIsBeingShownCount>0&&s._contextViewService.hideContextView()})),this._toDispose.push(this._editor.onKeyDown(function(t){58===t.keyCode&&(t.preventDefault(),t.stopPropagation(),s.showContextMenu())}))}return t.get=function(e){return e.getContribution(t.ID)},t.prototype._onContextMenu=function(t){if(this._editor.hasModel()){if(!this._editor.getConfiguration().contribInfo.contextmenu)return this._editor.focus(),void(t.target.position&&!this._editor.getSelection().containsPosition(t.target.position)&&this._editor.setPosition(t.target.position));if(12!==t.target.type&&(t.event.preventDefault(),6===t.target.type||7===t.target.type||1===t.target.type)){this._editor.focus(),t.target.position&&!this._editor.getSelection().containsPosition(t.target.position)&&this._editor.setPosition(t.target.position);var e=null;1!==t.target.type&&(e={x:t.event.posx-1,width:2,y:t.event.posy-1,height:2}),this.showContextMenu(e)}}},t.prototype.showContextMenu=function(t){if(this._editor.getConfiguration().contribInfo.contextmenu&&this._editor.hasModel()){if(!this._contextMenuService)return void this._editor.focus();var e=this._getMenuActions(this._editor.getModel());e.length>0&&this._doShowContextMenu(e,t)}},t.prototype._getMenuActions=function(t){var e=[],o=this._menuService.createMenu(7,this._contextKeyService),n=o.getActions({arg:t.uri});o.dispose();for(var i=0,r=n;i<r.length;i++){var s=r[i],c=s[1];e.push.apply(e,c),e.push(new u.Separator)}return e.pop(),e},t.prototype._doShowContextMenu=function(t,e){var o=this;if(void 0===e&&(e=null),this._editor.hasModel()){var n=this._editor.getConfiguration().contribInfo.hover;if(this._editor.updateOptions({hover:{enabled:!1}}),!e){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();var i=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),r=c.getDomNodePagePosition(this._editor.getDomNode()),s=r.left+i.left,d=r.top+i.top+i.height;e={x:s,y:d}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({getAnchor:function(){return e},getActions:function(){return t},getActionItem:function(t){var e=o._keybindingFor(t);if(e)return new u.ActionItem(t,t,{label:!0,keybinding:e.getLabel(),isMenu:!0});var n=t;return"function"==typeof n.getActionItem?n.getActionItem():new u.ActionItem(t,t,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:function(t){return o._keybindingFor(t)},onHide:function(){o._contextMenuIsBeingShownCount--,o._editor.focus(),o._editor.updateOptions({hover:n})}})}},t.prototype._keybindingFor=function(t){return this._keybindingService.lookupKeybinding(t.id)},t.prototype.getId=function(){return t.ID},t.prototype.dispose=function(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose=d.dispose(this._toDispose)},t.ID="editor.contrib.contextmenu",t=i([r(1,f.IContextMenuService),r(2,f.IContextViewService),r(3,p.IContextKeyService),r(4,l.IKeybindingService),r(5,_.IMenuService)],t)}();e.ContextMenuController=g;var m=function(t){function e(){return t.call(this,{id:"editor.action.showContextMenu",label:s.localize("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:null,kbOpts:{kbExpr:a.EditorContextKeys.textInputFocus,primary:1092,weight:100}})||this}return n(e,t),e.prototype.run=function(t,e){var o=g.get(e);o.showContextMenu()},e}(h.EditorAction);h.registerEditorContribution(g),h.registerEditorAction(m)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/cursorUndo/cursorUndo.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/cursorUndo/cursorUndo",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=t("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var t=function(o,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(o,e)};return function(o,e){function n(){this.constructor=o}t(o,e),o.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),r=e.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),i=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),u=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),d=function(){function t(t){this.selections=t}return t.prototype.equals=function(t){var o=this.selections.length,e=t.selections.length;if(o!==e)return!1;for(var n=0;o>n;n++)if(!this.selections[n].equalsSelection(t.selections[n]))return!1;return!0},t}(),c=function(t){function o(o){var e=t.call(this)||this;return e._editor=o,e._isCursorUndo=!1,e._undoStack=[],e._prevState=e._readState(),e._register(o.onDidChangeModel(function(){e._undoStack=[],e._prevState=null})),e._register(o.onDidChangeModelContent(function(){e._undoStack=[],e._prevState=null})),e._register(o.onDidChangeCursorSelection(function(){!e._isCursorUndo&&e._prevState&&(e._undoStack.push(e._prevState),e._undoStack.length>50&&e._undoStack.shift()),e._prevState=e._readState()})),e}return n(o,t),o.get=function(t){return t.getContribution(o.ID)},o.prototype._readState=function(){return this._editor.hasModel()?new d(this._editor.getSelections()):null},o.prototype.getId=function(){return o.ID},o.prototype.cursorUndo=function(){if(this._editor.hasModel())for(var t=new d(this._editor.getSelections());this._undoStack.length>0;){var o=this._undoStack.pop();if(!o.equals(t))return this._isCursorUndo=!0,this._editor.setSelections(o.selections),this._editor.revealRangeInCenterIfOutsideViewport(o.selections[0],0),void(this._isCursorUndo=!1)}},o.ID="editor.contrib.cursorUndoController",o}(i.Disposable);o.CursorUndoController=c;var l=function(t){function o(){return t.call(this,{id:"cursorUndo",label:r.localize("cursor.undo","Soft Undo"),alias:"Soft Undo",precondition:null,kbOpts:{kbExpr:u.EditorContextKeys.textInputFocus,primary:2099,weight:100}})||this}return n(o,t),o.prototype.run=function(t,o){c.get(o).cursorUndo()},o}(s.EditorAction);o.CursorUndo=l,s.registerEditorContribution(c),s.registerEditorAction(l)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/dnd/dragAndDropCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/dnd/dragAndDropCommand",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),n=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),o=function(){function t(t,e,i){this.selection=t,this.targetPosition=e,this.copy=i}return t.prototype.getEditOperations=function(t,e){var o=t.getValueInRange(this.selection);return this.copy||e.addEditOperation(this.selection,null),e.addEditOperation(new n.Range(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),o),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?void(this.targetSelection=new i.Selection(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn)):this.targetPosition.lineNumber>this.selection.endLineNumber?void(this.targetSelection=new i.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn)):this.targetPosition.lineNumber<this.selection.endLineNumber?void(this.targetSelection=new i.Selection(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber+this.selection.endLineNumber-this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn)):void(this.targetSelection=this.selection.endColumn<=this.targetPosition.column?new i.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column-this.selection.endColumn+this.selection.startColumn:this.targetPosition.column-this.selection.endColumn+this.selection.startColumn,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column:this.selection.endColumn):new i.Selection(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column+this.selection.endColumn-this.selection.startColumn)):void(this.targetSelection=this.selection)},t.prototype.computeCursorState=function(){return this.targetSelection},t}();e.DragAndDropCommand=o});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/dnd/dnd.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/dnd/dnd",function(o,t){"use strict";function e(o){return n.isMacintosh?o.altKey:o.ctrlKey}Object.defineProperty(t,"__esModule",{value:!0});var i=o("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),n=o("node_modules/monaco-editor/esm/vs/base/common/platform"),r=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),s=o("node_modules/monaco-editor/esm/vs/editor/common/core/position"),d=o("node_modules/monaco-editor/esm/vs/editor/common/core/range"),u=o("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),h=o("node_modules/monaco-editor/esm/vs/editor/contrib/dnd/dragAndDropCommand"),_=o("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),c=function(){function o(o){var t=this;this._editor=o,this._toUnhook=[],this._toUnhook.push(this._editor.onMouseDown(function(o){return t._onEditorMouseDown(o)})),this._toUnhook.push(this._editor.onMouseUp(function(o){return t._onEditorMouseUp(o)})),this._toUnhook.push(this._editor.onMouseDrag(function(o){return t._onEditorMouseDrag(o)})),this._toUnhook.push(this._editor.onMouseDrop(function(o){return t._onEditorMouseDrop(o)})),this._toUnhook.push(this._editor.onKeyDown(function(o){return t.onEditorKeyDown(o)})),this._toUnhook.push(this._editor.onKeyUp(function(o){return t.onEditorKeyUp(o)})),this._toUnhook.push(this._editor.onDidBlurEditorWidget(function(){return t.onEditorBlur()})),this._dndDecorationIds=[],this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}return o.prototype.onEditorBlur=function(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1},o.prototype.onEditorKeyDown=function(o){this._editor.getConfiguration().dragAndDrop&&(e(o)&&(this._modifierPressed=!0),this._mouseDown&&e(o)&&this._editor.updateOptions({mouseStyle:"copy"}))},o.prototype.onEditorKeyUp=function(t){this._editor.getConfiguration().dragAndDrop&&(e(t)&&(this._modifierPressed=!1),this._mouseDown&&t.keyCode===o.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))},o.prototype._onEditorMouseDown=function(){this._mouseDown=!0},o.prototype._onEditorMouseUp=function(){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})},o.prototype._onEditorMouseDrag=function(o){var t=o.target;if(null===this._dragSelection){var i=this._editor.getSelections()||[],n=i.filter(function(o){return t.position&&o.containsPosition(t.position)});if(1!==n.length)return;this._dragSelection=n[0]}this._editor.updateOptions(e(o.event)?{mouseStyle:"copy"}:{mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))},o.prototype._onEditorMouseDrop=function(t){if(t.target&&(this._hitContent(t.target)||this._hitMargin(t.target))&&t.target.position){var i=new s.Position(t.target.position.lineNumber,t.target.position.column);if(null===this._dragSelection){var n=null;if(t.event.shiftKey){var r=this._editor.getSelection();if(r){var d=r.selectionStartLineNumber,_=r.selectionStartColumn;n=[new u.Selection(d,_,i.lineNumber,i.column)]}}else n=(this._editor.getSelections()||[]).map(function(o){return o.containsPosition(i)?new u.Selection(i.lineNumber,i.column,i.lineNumber,i.column):o});this._editor.setSelections(n||[],"mouse")}else(!this._dragSelection.containsPosition(i)||(e(t.event)||this._modifierPressed)&&(this._dragSelection.getEndPosition().equals(i)||this._dragSelection.getStartPosition().equals(i)))&&(this._editor.pushUndoStop(),this._editor.executeCommand(o.ID,new h.DragAndDropCommand(this._dragSelection,i,e(t.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1},o.prototype.showAt=function(t){var e=[{range:new d.Range(t.lineNumber,t.column,t.lineNumber,t.column),options:o._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,e),this._editor.revealPosition(t,1)},o.prototype._removeDecoration=function(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])},o.prototype._hitContent=function(o){return 6===o.type||7===o.type},o.prototype._hitMargin=function(o){return 2===o.type||3===o.type||4===o.type},o.prototype.getId=function(){return o.ID},o.prototype.dispose=function(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,this._toUnhook=i.dispose(this._toUnhook)},o.ID="editor.contrib.dragAndDrop",o.TRIGGER_KEY_VALUE=n.isMacintosh?6:5,o._DECORATION_OPTIONS=_.ModelDecorationOptions.register({className:"dnd-target"}),o}();t.DragAndDropController=c,r.registerEditorContribution(c)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/find/findDecorations.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/find/findDecorations",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),i=e("node_modules/monaco-editor/esm/vs/editor/common/model"),n=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),r=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),a=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),s=function(){function e(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}return e.prototype.dispose=function(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.reset=function(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.getCount=function(){return this._decorations.length},e.prototype.getFindScope=function(){return this._findScopeDecorationId?this._editor.getModel().getDecorationRange(this._findScopeDecorationId):null},e.prototype.getStartPosition=function(){return this._startPosition},e.prototype.setStartPosition=function(e){this._startPosition=e,this.setCurrentFindMatch(null)},e.prototype._getDecorationIndex=function(e){var o=this._decorations.indexOf(e);return o>=0?o+1:1},e.prototype.getCurrentMatchesPosition=function(o){for(var t=this._editor.getModel().getDecorationsInRange(o),i=0,n=t;i<n.length;i++){var r=n[i],a=r.options;if(a===e._FIND_MATCH_DECORATION||a===e._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(r.id)}return 1},e.prototype.setCurrentFindMatch=function(o){var i=this,n=null,r=0;if(o)for(var a=0,s=this._decorations.length;s>a;a++){var d=this._editor.getModel().getDecorationRange(this._decorations[a]);if(o.equalsRange(d)){n=this._decorations[a],r=a+1;break}}return(null!==this._highlightedDecorationId||null!==n)&&this._editor.changeDecorations(function(o){if(null!==i._highlightedDecorationId&&(o.changeDecorationOptions(i._highlightedDecorationId,e._FIND_MATCH_DECORATION),i._highlightedDecorationId=null),null!==n&&(i._highlightedDecorationId=n,o.changeDecorationOptions(i._highlightedDecorationId,e._CURRENT_FIND_MATCH_DECORATION)),null!==i._rangeHighlightDecorationId&&(o.removeDecoration(i._rangeHighlightDecorationId),i._rangeHighlightDecorationId=null),null!==n){var r=i._editor.getModel().getDecorationRange(n);if(r.startLineNumber!==r.endLineNumber&&1===r.endColumn){var a=r.endLineNumber-1,s=i._editor.getModel().getLineMaxColumn(a);r=new t.Range(r.startLineNumber,r.startColumn,a,s)}i._rangeHighlightDecorationId=o.addDecoration(r,e._RANGE_HIGHLIGHT_DECORATION)}}),r},e.prototype.set=function(o,i){var n=this;this._editor.changeDecorations(function(r){var a=e._FIND_MATCH_DECORATION,s=[];if(o.length>1e3){a=e._FIND_MATCH_NO_OVERVIEW_DECORATION;for(var d=n._editor.getModel().getLineCount(),c=n._editor.getLayoutInfo().height,l=c/d,h=Math.max(2,Math.ceil(3/l)),_=o[0].range.startLineNumber,g=o[0].range.endLineNumber,u=1,D=o.length;D>u;u++){var m=o[u].range;g+h>=m.startLineNumber?m.endLineNumber>g&&(g=m.endLineNumber):(s.push({range:new t.Range(_,1,g,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),_=m.startLineNumber,g=m.endLineNumber)}s.push({range:new t.Range(_,1,g,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}for(var I=new Array(o.length),u=0,D=o.length;D>u;u++)I[u]={range:o[u].range,options:a};n._decorations=r.deltaDecorations(n._decorations,I),n._overviewRulerApproximateDecorations=r.deltaDecorations(n._overviewRulerApproximateDecorations,s),n._rangeHighlightDecorationId&&(r.removeDecoration(n._rangeHighlightDecorationId),n._rangeHighlightDecorationId=null),n._findScopeDecorationId&&(r.removeDecoration(n._findScopeDecorationId),n._findScopeDecorationId=null),i&&(n._findScopeDecorationId=r.addDecoration(i,e._FIND_SCOPE_DECORATION))})},e.prototype.matchBeforePosition=function(e){if(0===this._decorations.length)return null;for(var o=this._decorations.length-1;o>=0;o--){var t=this._decorations[o],i=this._editor.getModel().getDecorationRange(t);if(i&&!(i.endLineNumber>e.lineNumber)){if(i.endLineNumber<e.lineNumber)return i;if(!(i.endColumn>e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])},e.prototype.matchAfterPosition=function(e){if(0===this._decorations.length)return null;for(var o=0,t=this._decorations.length;t>o;o++){var i=this._decorations[o],n=this._editor.getModel().getDecorationRange(i);if(n&&!(n.startLineNumber<e.lineNumber)){if(n.startLineNumber>e.lineNumber)return n;if(!(n.startColumn<e.column))return n}}return this._editor.getModel().getDecorationRange(this._decorations[0])},e.prototype._allDecorations=function(){var e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationId&&e.push(this._findScopeDecorationId),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e},e._CURRENT_FIND_MATCH_DECORATION=n.ModelDecorationOptions.register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:a.themeColorFromId(r.overviewRulerFindMatchForeground),position:i.OverviewRulerLane.Center}}),e._FIND_MATCH_DECORATION=n.ModelDecorationOptions.register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:a.themeColorFromId(r.overviewRulerFindMatchForeground),position:i.OverviewRulerLane.Center}}),e._FIND_MATCH_NO_OVERVIEW_DECORATION=n.ModelDecorationOptions.register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),e._FIND_MATCH_ONLY_OVERVIEW_DECORATION=n.ModelDecorationOptions.register({stickiness:1,overviewRuler:{color:a.themeColorFromId(r.overviewRulerFindMatchForeground),position:i.OverviewRulerLane.Center}}),e._RANGE_HIGHLIGHT_DECORATION=n.ModelDecorationOptions.register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),e._FIND_SCOPE_DECORATION=n.ModelDecorationOptions.register({className:"findScope",isWholeLine:!0}),e}();o.FindDecorations=s});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/find/replaceAllCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/find/replaceAllCommand",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),r=function(){function e(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n}return e.prototype.getEditOperations=function(e,t){if(this._ranges.length>0){for(var r=[],o=0;o<this._ranges.length;o++)r.push({range:this._ranges[o],text:this._replaceStrings[o]});r.sort(function(e,t){return n.Range.compareRangesUsingStarts(e.range,t.range)});for(var a=[],i=r[0],o=1;o<r.length;o++)i.range.endLineNumber===r[o].range.startLineNumber&&i.range.endColumn===r[o].range.startColumn?(i.range=i.range.plusRange(r[o].range),i.text=i.text+r[o].text):(a.push(i),i=r[o]);a.push(i);for(var s=0,c=a;s<c.length;s++){var d=c[s];t.addEditOperation(d.range,d.text)}}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)},e.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)},e}();t.ReplaceAllCommand=r});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/find/replacePattern.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/find/replacePattern",function(t,e){"use strict";function i(t){if(!t||0===t.length)return new a(null);for(var e=new s(t),i=0,n=t.length;n>i;i++){var r=t.charCodeAt(i);if(92!==r){if(36===r){if(i++,i>=n)break;var c=t.charCodeAt(i);if(36===c){e.emitUnchanged(i-1),e.emitStatic("$",i+1);continue}if(48===c||38===c){e.emitUnchanged(i-1),e.emitMatchIndex(0,i+1);continue}if(c>=49&&57>=c){var u=c-48;if(n>i+1){var h=t.charCodeAt(i+1);if(h>=48&&57>=h){i++,u=10*u+(h-48),e.emitUnchanged(i-2),e.emitMatchIndex(u,i+1);continue}}e.emitUnchanged(i-1),e.emitMatchIndex(u,i+1);continue}}}else{if(i++,i>=n)break;var c=t.charCodeAt(i);switch(c){case 92:e.emitUnchanged(i-1),e.emitStatic("\\",i+1);break;case 110:e.emitUnchanged(i-1),e.emitStatic("\n",i+1);break;case 116:e.emitUnchanged(i-1),e.emitStatic(" ",i+1)}}}return e.finalize()}Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.staticValue=t,this.kind=0}return t}(),r=function(){function t(t){this.pieces=t,this.kind=1}return t}(),a=function(){function t(t){this._state=t&&0!==t.length?1===t.length&&null!==t[0].staticValue?new n(t[0].staticValue):new r(t):new n("")}return t.fromStaticValue=function(e){return new t([c.staticValue(e)])},Object.defineProperty(t.prototype,"hasReplacementPatterns",{get:function(){return 1===this._state.kind},enumerable:!0,configurable:!0}),t.prototype.buildReplaceString=function(e){if(0===this._state.kind)return this._state.staticValue;for(var i="",n=0,r=this._state.pieces.length;r>n;n++){var a=this._state.pieces[n];i+=null===a.staticValue?t._substitute(a.matchIndex,e):a.staticValue}return i},t._substitute=function(t,e){if(null===e)return"";if(0===t)return e[0];for(var i="";t>0;){if(t<e.length){var n=e[t]||"";return n+i}i=String(t%10)+i,t=Math.floor(t/10)}return"$"+i},t}();e.ReplacePattern=a;var c=function(){function t(t,e){this.staticValue=t,this.matchIndex=e}return t.staticValue=function(e){return new t(e,-1)},t.matchIndex=function(e){return new t(null,e)},t}();e.ReplacePiece=c;var s=function(){function t(t){this._source=t,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}return t.prototype.emitUnchanged=function(t){this._emitStatic(this._source.substring(this._lastCharIndex,t)),this._lastCharIndex=t},t.prototype.emitStatic=function(t,e){this._emitStatic(t),this._lastCharIndex=e},t.prototype._emitStatic=function(t){0!==t.length&&(this._currentStaticPiece+=t)},t.prototype.emitMatchIndex=function(t,e){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=c.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=c.matchIndex(t),this._lastCharIndex=e},t.prototype.finalize=function(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=c.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new a(this._result)},t}();e.parseReplaceString=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/find/findModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/find/findModel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/base/common/async"),o=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),n=e("node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),c=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/findDecorations"),d=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/replaceAllCommand"),l=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/replacePattern"),g=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey");t.CONTEXT_FIND_WIDGET_VISIBLE=new g.RawContextKey("findWidgetVisible",!1),t.CONTEXT_FIND_INPUT_FOCUSED=new g.RawContextKey("findInputFocussed",!1),t.CONTEXT_REPLACE_INPUT_FOCUSED=new g.RawContextKey("replaceInputFocussed",!1),t.ToggleCaseSensitiveKeybinding={primary:545,mac:{primary:2593}},t.ToggleWholeWordKeybinding={primary:565,mac:{primary:2613}},t.ToggleRegexKeybinding={primary:560,mac:{primary:2608}},t.ToggleSearchScopeKeybinding={primary:554,mac:{primary:2602}},t.FIND_IDS={StartFindAction:"actions.find",StartFindWithSelection:"actions.findWithSelection",NextMatchFindAction:"editor.action.nextMatchFindAction",PreviousMatchFindAction:"editor.action.previousMatchFindAction",NextSelectionMatchFindAction:"editor.action.nextSelectionMatchFindAction",PreviousSelectionMatchFindAction:"editor.action.previousSelectionMatchFindAction",StartFindReplaceAction:"editor.action.startFindReplaceAction",CloseFindWidgetCommand:"closeFindWidget",ToggleCaseSensitiveCommand:"toggleFindCaseSensitive",ToggleWholeWordCommand:"toggleFindWholeWord",ToggleRegexCommand:"toggleFindRegex",ToggleSearchScopeCommand:"toggleFindInSelection",ReplaceOneAction:"editor.action.replaceOne",ReplaceAllAction:"editor.action.replaceAll",SelectAllMatchesAction:"editor.action.selectAllMatches"},t.MATCHES_LIMIT=19999;var _=240,u=function(){function e(e,t){var o=this;this._editor=e,this._state=t,this._toDispose=[],this._isDisposed=!1,this._startSearchingTimer=new i.TimeoutTimer,this._decorations=new h.FindDecorations(e),this._toDispose.push(this._decorations),this._updateDecorationsScheduler=new i.RunOnceScheduler(function(){return o.research(!1)},100),this._toDispose.push(this._updateDecorationsScheduler),this._toDispose.push(this._editor.onDidChangeCursorPosition(function(e){(3===e.reason||5===e.reason||6===e.reason)&&o._decorations.setStartPosition(o._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.push(this._editor.onDidChangeModelContent(function(e){o._ignoreModelContentChanged||(e.isFlush&&o._decorations.reset(),o._decorations.setStartPosition(o._editor.getPosition()),o._updateDecorationsScheduler.schedule())})),this._toDispose.push(this._state.onFindReplaceStateChange(function(e){return o._onStateChanged(e)})),this.research(!1,this._state.searchScope)}return e.prototype.dispose=function(){this._isDisposed=!0,o.dispose(this._startSearchingTimer),this._toDispose=o.dispose(this._toDispose)},e.prototype._onStateChanged=function(e){var t=this;if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){var i=this._editor.getModel();i.isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(function(){e.searchScope?t.research(e.moveCursor,t._state.searchScope):t.research(e.moveCursor)},_)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}},e._getSearchRange=function(e,t){return t?t:e.getFullModelRange()},e.prototype.research=function(e,i){var o=null;o="undefined"!=typeof i?i:this._decorations.getFindScope(),null!==o&&o.startLineNumber!==o.endLineNumber&&(o=1===o.endColumn?new r.Range(o.startLineNumber,1,o.endLineNumber-1,this._editor.getModel().getLineMaxColumn(o.endLineNumber-1)):new r.Range(o.startLineNumber,1,o.endLineNumber,this._editor.getModel().getLineMaxColumn(o.endLineNumber)));var n=this._findMatches(o,!1,t.MATCHES_LIMIT);this._decorations.set(n,o),this._state.changeMatchInfo(this._decorations.getCurrentMatchesPosition(this._editor.getSelection()),this._decorations.getCount(),void 0),e&&this._moveToNextMatch(this._decorations.getStartPosition())},e.prototype._hasMatches=function(){return this._state.matchesCount>0},e.prototype._cannotFind=function(){if(!this._hasMatches()){var e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1},e.prototype._setCurrentFindMatch=function(e){var t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)},e.prototype._prevSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),i=e.lineNumber,o=e.column,n=this._editor.getModel();return t||1===o?(1===i?i=n.getLineCount():i--,o=n.getLineMaxColumn(i)):o--,new s.Position(i,o)},e.prototype._moveToPrevMatch=function(i,o){if(void 0===o&&(o=!1),this._decorations.getCount()<t.MATCHES_LIMIT){var n=this._decorations.matchBeforePosition(i);return n&&n.isEmpty()&&n.getStartPosition().equals(i)&&(i=this._prevSearchPosition(i),n=this._decorations.matchBeforePosition(i)),void(n&&this._setCurrentFindMatch(n))}if(!this._cannotFind()){var r=this._decorations.getFindScope(),a=e._getSearchRange(this._editor.getModel(),r);a.getEndPosition().isBefore(i)&&(i=a.getEndPosition()),i.isBefore(a.getStartPosition())&&(i=a.getEndPosition());var c=i.lineNumber,h=i.column,d=this._editor.getModel(),l=new s.Position(c,h),g=d.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1);if(g&&g.range.isEmpty()&&g.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),g=d.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1)),g)return o||a.containsRange(g.range)?void this._setCurrentFindMatch(g.range):this._moveToPrevMatch(g.range.getStartPosition(),!0)}},e.prototype.moveToPrevMatch=function(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())},e.prototype._nextSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),i=e.lineNumber,o=e.column,n=this._editor.getModel();return t||o===n.getLineMaxColumn(i)?(i===n.getLineCount()?i=1:i++,o=1):o++,new s.Position(i,o)},e.prototype._moveToNextMatch=function(e){if(this._decorations.getCount()<t.MATCHES_LIMIT){var i=this._decorations.matchAfterPosition(e);return i&&i.isEmpty()&&i.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),i=this._decorations.matchAfterPosition(e)),void(i&&this._setCurrentFindMatch(i))}var o=this._getNextMatch(e,!1,!0);o&&this._setCurrentFindMatch(o.range)},e.prototype._getNextMatch=function(t,i,o,n){if(void 0===n&&(n=!1),this._cannotFind())return null;var r=this._decorations.getFindScope(),a=e._getSearchRange(this._editor.getModel(),r);a.getEndPosition().isBefore(t)&&(t=a.getStartPosition()),t.isBefore(a.getStartPosition())&&(t=a.getStartPosition());var c=t.lineNumber,h=t.column,d=this._editor.getModel(),l=new s.Position(c,h),g=d.findNextMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,i);return o&&g&&g.range.isEmpty()&&g.range.getStartPosition().equals(l)&&(l=this._nextSearchPosition(l),g=d.findNextMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,i)),g?n||a.containsRange(g.range)?g:this._getNextMatch(g.range.getEndPosition(),i,o,!0):null},e.prototype.moveToNextMatch=function(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())},e.prototype._getReplacePattern=function(){return this._state.isRegex?l.parseReplaceString(this._state.replaceString):l.ReplacePattern.fromStaticValue(this._state.replaceString)},e.prototype.replace=function(){if(this._hasMatches()){var e=this._getReplacePattern(),t=this._editor.getSelection(),i=this._getNextMatch(t.getStartPosition(),e.hasReplacementPatterns,!1);if(i)if(t.equalsRange(i.range)){var o=e.buildReplaceString(i.matches),r=new n.ReplaceCommand(t,o);this._executeEditorCommand("replace",r),this._decorations.setStartPosition(new s.Position(t.startLineNumber,t.startColumn+o.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(i.range)}},e.prototype._findMatches=function(t,i,o){var n=e._getSearchRange(this._editor.getModel(),t);return this._editor.getModel().findMatches(this._state.searchString,n,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null,i,o)},e.prototype.replaceAll=function(){if(this._hasMatches()){var e=this._decorations.getFindScope();null===e&&this._state.matchesCount>=t.MATCHES_LIMIT?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}},e.prototype._largeReplaceAll=function(){var e=new c.SearchParams(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getConfiguration().wordSeparators:null),t=e.parseSearchRequest();if(t){var i=t.regex;if(!i.multiline){var o="m";i.ignoreCase&&(o+="i"),i.global&&(o+="g"),i=new RegExp(i.source,o)}var s,r=this._editor.getModel(),a=r.getValue(1),h=r.getFullModelRange(),d=this._getReplacePattern();s=d.hasReplacementPatterns?a.replace(i,function(){return d.buildReplaceString(arguments)}):a.replace(i,d.buildReplaceString(null));var l=new n.ReplaceCommandThatPreservesSelection(h,s,this._editor.getSelection());this._executeEditorCommand("replaceAll",l)}},e.prototype._regularReplaceAll=function(e){for(var t=this._getReplacePattern(),i=this._findMatches(e,t.hasReplacementPatterns,1073741824),o=[],n=0,s=i.length;s>n;n++)o[n]=t.buildReplaceString(i[n].matches);var r=new d.ReplaceAllCommand(this._editor.getSelection(),i.map(function(e){return e.range}),o);this._executeEditorCommand("replaceAll",r)},e.prototype.selectAllMatches=function(){if(this._hasMatches()){for(var e=this._decorations.getFindScope(),t=this._findMatches(e,!1,1073741824),i=t.map(function(e){return new a.Selection(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)}),o=this._editor.getSelection(),n=0,s=i.length;s>n;n++){var r=i[n];if(r.equalsRange(o)){i=[o].concat(i.slice(0,n)).concat(i.slice(n+1));break}}this._editor.setSelections(i)}},e.prototype._executeEditorCommand=function(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}},e}();t.FindModelBoundToEditorModel=u});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/checkbox/checkbox.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/checkbox/checkbox",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),r=e("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),d=e("node_modules/monaco-editor/esm/vs/base/common/color"),c=e("node_modules/monaco-editor/esm/vs/base/common/event"),s=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/objects")),a={inputActiveOptionBorder:d.Color.fromHex("#007ACC")},u=function(e){function t(t){var o=e.call(this)||this;return o._onChange=o._register(new c.Emitter),o._onKeyDown=o._register(new c.Emitter),o._opts=s.deepClone(t),s.mixin(o._opts,a,!1),o._checked=o._opts.isChecked,o.domNode=document.createElement("div"),o.domNode.title=o._opts.title,o.domNode.className="monaco-custom-checkbox "+(o._opts.actionClassName||"")+" "+(o._checked?"checked":"unchecked"),o.domNode.tabIndex=0,o.domNode.setAttribute("role","checkbox"),o.domNode.setAttribute("aria-checked",String(o._checked)),o.domNode.setAttribute("aria-label",o._opts.title),o.applyStyles(),o.onclick(o.domNode,function(e){o.checked=!o._checked,o._onChange.fire(!1),e.preventDefault()}),o.onkeydown(o.domNode,function(e){return 10===e.keyCode||3===e.keyCode?(o.checked=!o._checked,o._onChange.fire(!0),void e.preventDefault()):void o._onKeyDown.fire(e)}),o}return n(t,e),Object.defineProperty(t.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onKeyDown",{get:function(){return this._onKeyDown.event},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.domNode.focus()},Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this._checked?this.domNode.classList.add("checked"):this.domNode.classList.remove("checked"),this.applyStyles()},enumerable:!0,configurable:!0}),t.prototype.width=function(){return 22},t.prototype.style=function(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),this.applyStyles()},t.prototype.applyStyles=function(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent")},t.prototype.enable=function(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))},t.prototype.disable=function(){i.removeTabIndexAndUpdateFocus(this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))},t}(r.Widget);t.Checkbox=u});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/findInputCheckboxes.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/findInputCheckboxes",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=e("node_modules/monaco-editor/esm/vs/base/browser/ui/checkbox/checkbox"),r=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),c=r.localize("caseDescription","Match Case"),s=r.localize("wordsDescription","Match Whole Word"),a=r.localize("regexDescription","Use Regular Expression"),u=function(e){function t(t){return e.call(this,{actionClassName:"monaco-case-sensitive",title:c+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder})||this}return i(t,e),t}(n.Checkbox);t.CaseSensitiveCheckbox=u;var d=function(e){function t(t){return e.call(this,{actionClassName:"monaco-whole-word",title:s+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder})||this}return i(t,e),t}(n.Checkbox);t.WholeWordsCheckbox=d;var l=function(e){function t(t){return e.call(this,{actionClassName:"monaco-regex",title:a+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder})||this}return i(t,e),t}(n.Checkbox);t.RegexCheckbox=l});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/find/findOptionsWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/find/findOptionsWidget",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function i(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),n=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),r=e("node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/findInputCheckboxes"),d=e("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),s=e("node_modules/monaco-editor/esm/vs/base/common/async"),a=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/findModel"),c=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),l=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),p=function(e){function o(o,t,i,d){var l=e.call(this)||this;l._hideSoon=l._register(new s.RunOnceScheduler(function(){return l._hide()},2e3)),l._isVisible=!1,l._editor=o,l._state=t,l._keybindingService=i,l._domNode=document.createElement("div"),l._domNode.className="findOptionsWidget",l._domNode.style.display="none",l._domNode.style.top="10px",l._domNode.setAttribute("role","presentation"),l._domNode.setAttribute("aria-hidden","true");var p=d.getTheme().getColor(c.inputActiveOptionBorder);return l.caseSensitive=l._register(new r.CaseSensitiveCheckbox({appendTitle:l._keybindingLabelFor(a.FIND_IDS.ToggleCaseSensitiveCommand),isChecked:l._state.matchCase,inputActiveOptionBorder:p})),l._domNode.appendChild(l.caseSensitive.domNode),l._register(l.caseSensitive.onChange(function(){l._state.change({matchCase:l.caseSensitive.checked},!1)})),l.wholeWords=l._register(new r.WholeWordsCheckbox({appendTitle:l._keybindingLabelFor(a.FIND_IDS.ToggleWholeWordCommand),isChecked:l._state.wholeWord,inputActiveOptionBorder:p})),l._domNode.appendChild(l.wholeWords.domNode),l._register(l.wholeWords.onChange(function(){l._state.change({wholeWord:l.wholeWords.checked},!1)})),l.regex=l._register(new r.RegexCheckbox({appendTitle:l._keybindingLabelFor(a.FIND_IDS.ToggleRegexCommand),isChecked:l._state.isRegex,inputActiveOptionBorder:p})),l._domNode.appendChild(l.regex.domNode),l._register(l.regex.onChange(function(){l._state.change({isRegex:l.regex.checked},!1)})),l._editor.addOverlayWidget(l),l._register(l._state.onFindReplaceStateChange(function(e){var o=!1;e.isRegex&&(l.regex.checked=l._state.isRegex,o=!0),e.wholeWord&&(l.wholeWords.checked=l._state.wholeWord,o=!0),e.matchCase&&(l.caseSensitive.checked=l._state.matchCase,o=!0),!l._state.isRevealed&&o&&l._revealTemporarily()})),l._register(n.addDisposableNonBubblingMouseOutListener(l._domNode,function(){return l._onMouseOut()})),l._register(n.addDisposableListener(l._domNode,"mouseover",function(){return l._onMouseOver()})),l._applyTheme(d.getTheme()),l._register(d.onThemeChange(l._applyTheme.bind(l))),l}return i(o,e),o.prototype._keybindingLabelFor=function(e){var o=this._keybindingService.lookupKeybinding(e);return o?" ("+o.getLabel()+")":""},o.prototype.dispose=function(){this._editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},o.prototype.getId=function(){return o.ID},o.prototype.getDomNode=function(){return this._domNode},o.prototype.getPosition=function(){return{preference:0}},o.prototype.highlightFindOptions=function(){this._revealTemporarily()},o.prototype._revealTemporarily=function(){this._show(),this._hideSoon.schedule()},o.prototype._onMouseOut=function(){this._hideSoon.schedule()},o.prototype._onMouseOver=function(){this._hideSoon.cancel()},o.prototype._show=function(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")},o.prototype._hide=function(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")},o.prototype._applyTheme=function(e){var o={inputActiveOptionBorder:e.getColor(c.inputActiveOptionBorder)};this.caseSensitive.style(o),this.wholeWords.style(o),this.regex.style(o)},o.ID="editor.contrib.findOptionsWidget",o}(d.Widget);o.FindOptionsWidget=p,l.registerThemingParticipant(function(e,o){var t=e.getColor(c.editorWidgetBackground);t&&o.addRule(".monaco-editor .findOptionsWidget { background-color: "+t+"; }");var i=e.getColor(c.widgetShadow);i&&o.addRule(".monaco-editor .findOptionsWidget { box-shadow: 0 2px 8px "+i+"; }");var n=e.getColor(c.contrastBorder);n&&o.addRule(".monaco-editor .findOptionsWidget { border: 2px solid "+n+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/find/findState.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/find/findState",function(e,t){"use strict";function r(e,t){return 1===e?!0:2===e?!1:t}Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/base/common/event"),n=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),o=function(){function e(){this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._onFindReplaceStateChange=new i.Emitter}return Object.defineProperty(e.prototype,"searchString",{get:function(){return this._searchString},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"replaceString",{get:function(){return this._replaceString},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isRevealed",{get:function(){return this._isRevealed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isReplaceRevealed",{get:function(){return this._isReplaceRevealed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isRegex",{get:function(){return r(this._isRegexOverride,this._isRegex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wholeWord",{get:function(){return r(this._wholeWordOverride,this._wholeWord)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchCase",{get:function(){return r(this._matchCaseOverride,this._matchCase)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"actualIsRegex",{get:function(){return this._isRegex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"actualWholeWord",{get:function(){return this._wholeWord},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"actualMatchCase",{get:function(){return this._matchCase},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"searchScope",{get:function(){return this._searchScope},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchesPosition",{get:function(){return this._matchesPosition},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchesCount",{get:function(){return this._matchesCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"currentMatch",{get:function(){return this._currentMatch},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onFindReplaceStateChange",{get:function(){return this._onFindReplaceStateChange.event},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){},e.prototype.changeMatchInfo=function(e,t,r){var i={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},o=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,i.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,i.matchesCount=!0,o=!0),"undefined"!=typeof r&&(n.Range.equalsRange(this._currentMatch,r)||(this._currentMatch=r,i.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(i)},e.prototype.change=function(e,t,r){void 0===r&&(r=!0);var i={moveCursor:t,updateHistory:r,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},o=!1,a=this.isRegex,s=this.wholeWord,c=this.matchCase;"undefined"!=typeof e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,i.searchString=!0,o=!0),"undefined"!=typeof e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,i.replaceString=!0,o=!0),"undefined"!=typeof e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,i.isRevealed=!0,o=!0),"undefined"!=typeof e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,i.isReplaceRevealed=!0,o=!0),"undefined"!=typeof e.isRegex&&(this._isRegex=e.isRegex),"undefined"!=typeof e.wholeWord&&(this._wholeWord=e.wholeWord),"undefined"!=typeof e.matchCase&&(this._matchCase=e.matchCase),"undefined"!=typeof e.searchScope&&(n.Range.equalsRange(this._searchScope,e.searchScope)||(this._searchScope=e.searchScope,i.searchScope=!0,o=!0)),this._isRegexOverride="undefined"!=typeof e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride="undefined"!=typeof e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride="undefined"!=typeof e.matchCaseOverride?e.matchCaseOverride:0,a!==this.isRegex&&(o=!0,i.isRegex=!0),s!==this.wholeWord&&(o=!0,i.wholeWord=!0),c!==this.matchCase&&(o=!0,i.matchCase=!0),o&&this._onFindReplaceStateChange.fire(i)},e}();t.FindReplaceState=o});
;/*!node_modules/monaco-editor/esm/vs/base/common/idGenerator.js*/
define("node_modules/monaco-editor/esm/vs/base/common/idGenerator",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e){this._prefix=e,this._lastId=0}return e.prototype.nextId=function(){return this._prefix+ ++this._lastId},e}();t.IdGenerator=n,t.defaultGenerator=new n("id#")});
;/*!node_modules/monaco-editor/esm/vs/base/common/htmlContent.js*/
define("node_modules/monaco-editor/esm/vs/base/common/htmlContent",function(e,n){"use strict";function r(e){return t(e)?!e.value:Array.isArray(e)?e.every(r):!0}function t(e){return e instanceof a?!0:e&&"object"==typeof e?"string"==typeof e.value&&("boolean"==typeof e.isTrusted||void 0===e.isTrusted):!1}function o(e,n){return e||n?e&&n?Array.isArray(e)&&Array.isArray(n)?u.equals(e,n,i):t(e)&&t(n)?i(e,n):!1:!1:!0}function i(e,n){return e===n?!0:e&&n?e.value===n.value&&e.isTrusted===n.isTrusted:!1}function s(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):e}Object.defineProperty(n,"__esModule",{value:!0});var u=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),a=function(){function e(e){void 0===e&&(e=""),this.value=e}return e.prototype.appendText=function(e){return this.value+=e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&"),this},e.prototype.appendCodeblock=function(e,n){return this.value+="\n```",this.value+=e,this.value+="\n",this.value+=n,this.value+="\n```\n",this},e}();n.MarkdownString=a,n.isEmptyMarkdownString=r,n.isMarkdownString=t,n.markedStringsEquals=o,n.removeMarkdownEscapes=s});
;/*!node_modules/monaco-editor/esm/vs/base/common/marked/marked.js*/
define("node_modules/monaco-editor/esm/vs/base/common/marked/marked",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n;(function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b.defaults,this.rules=k.normal,this.options.pedantic?this.rules=k.pedantic:this.options.gfm&&(this.rules=this.options.tables?k.tables:k.gfm)}function t(e,t){if(this.options=t||b.defaults,this.links=e,this.rules=x.normal,this.renderer=this.options.renderer||new r,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=x.pedantic:this.options.gfm&&(this.rules=this.options.breaks?x.breaks:x.gfm)}function r(e){this.options=e||b.defaults}function s(){}function i(e){this.tokens=[],this.token=null,this.options=e||b.defaults,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new l}function l(){this.seen={}}function o(e,t){if(t){if(o.escapeTest.test(e))return e.replace(o.escapeReplace,function(e){return o.replacements[e]})}else if(o.escapeTestNoEncode.test(e))return e.replace(o.escapeReplaceNoEncode,function(e){return o.replacements[e]});return e}function a(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?String.fromCharCode("x"===t.charAt(1)?parseInt(t.substring(2),16):+t.substring(1)):""})}function h(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function p(e,t,n){if(e){try{var r=decodeURIComponent(a(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(s){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!y.test(n)&&(n=u(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(s){return null}return n}function u(e,t){return _[" "+e]||(_[" "+e]=/^[^:]+:\/*[^\/]*$/.test(e)?e+"/":d(e,"/",!0)),e=_[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function c(){}function g(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function f(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,s=t;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}),r=n.split(/ \|/),s=0;if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;s<r.length;s++)r[s]=r[s].trim().replace(/\\\|/g,"|");return r}function d(e,t,n){if(0===e.length)return"";for(var r=0;r<e.length;){var s=e.charAt(e.length-r-1);if(s!==t||n){if(s===t||!n)break;r++}else r++}return e.substr(0,e.length-r)}function m(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,0>n))return r;return-1}function b(t,n,r){if("undefined"==typeof t||null===t)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof t)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected");if(r||"function"==typeof n){r||(r=n,n=null),n=g({},b.defaults,n||{});var s,l,a=n.highlight,h=0;try{s=e.lex(t,n)}catch(p){return r(p)}l=s.length;var u=function(e){if(e)return n.highlight=a,r(e);var t;try{t=i.parse(s,n)}catch(l){e=l}return n.highlight=a,e?r(e):r(null,t)};if(!a||a.length<3)return u();if(delete n.highlight,!l)return u();for(;h<s.length;h++)!function(e){return"code"!==e.type?--l||u():a(e.text,e.lang,function(t,n){return t?u(t):null==n||n===e.text?--l||u():(e.text=n,e.escaped=!0,void(--l||u()))})}(s[h])}else try{return n&&(n=g({},b.defaults,n)),i.parse(e.lex(t,n),n)}catch(p){if(p.message+="\nPlease report this to https://github.com/markedjs/marked.",(n||b.defaults).silent)return"<p>An error occurred:</p><pre>"+o(p.message+"",!0)+"</pre>";throw p}}var k={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:c,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:c,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*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\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:c,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};k._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,k._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,k.def=h(k.def).replace("label",k._label).replace("title",k._title).getRegex(),k.bullet=/(?:[*+-]|\d{1,9}\.)/,k.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,k.item=h(k.item,"gm").replace(/bull/g,k.bullet).getRegex(),k.list=h(k.list).replace(/bull/g,k.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+k.def.source+")").getRegex(),k._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",k._comment=/<!--(?!-?>)[\s\S]*?-->/,k.html=h(k.html,"i").replace("comment",k._comment).replace("tag",k._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),k.paragraph=h(k.paragraph).replace("hr",k.hr).replace("heading",k.heading).replace("lheading",k.lheading).replace("tag",k._tag).getRegex(),k.blockquote=h(k.blockquote).replace("paragraph",k.paragraph).getRegex(),k.normal=g({},k),k.gfm=g({},k.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),k.gfm.paragraph=h(k.paragraph).replace("(?!","(?!"+k.gfm.fences.source.replace("\\1","\\2")+"|"+k.list.source.replace("\\1","\\3")+"|").getRegex(),k.tables=g({},k.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),k.pedantic=g({},k.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",k._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+|$)/}),e.rules=k,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,s,i,l,o,a,h,p,u,c,g,m,b,x,_;e;)if((s=this.rules.newline.exec(e))&&(e=e.substring(s[0].length),s[0].length>1&&this.tokens.push({type:"space"})),s=this.rules.code.exec(e))e=e.substring(s[0].length),s=s[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?s:d(s,"\n")});else if(s=this.rules.fences.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"code",lang:s[2]?s[2].trim():s[2],text:s[3]||""});else if(s=this.rules.heading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:s[1].length,text:s[2]});else if((s=this.rules.nptable.exec(e))&&(o={type:"table",header:f(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]},o.header.length===o.align.length)){for(e=e.substring(s[0].length),c=0;c<o.align.length;c++)o.align[c]=/^ *-+: *$/.test(o.align[c])?"right":/^ *:-+: *$/.test(o.align[c])?"center":/^ *:-+ *$/.test(o.align[c])?"left":null;for(c=0;c<o.cells.length;c++)o.cells[c]=f(o.cells[c],o.header.length);this.tokens.push(o)}else if(s=this.rules.hr.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"hr"});else if(s=this.rules.blockquote.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"blockquote_start"}),s=s[0].replace(/^ *> ?/gm,""),this.token(s,t),this.tokens.push({type:"blockquote_end"});else if(s=this.rules.list.exec(e)){for(e=e.substring(s[0].length),i=s[2],b=i.length>1,a={type:"list_start",ordered:b,start:b?+i:"",loose:!1},this.tokens.push(a),s=s[0].match(this.rules.item),h=[],n=!1,m=s.length,c=0;m>c;c++)o=s[c],u=o.length,o=o.replace(/^ *([*+-]|\d+\.) */,""),~o.indexOf("\n ")&&(u-=o.length,o=this.options.pedantic?o.replace(/^ {1,4}/gm,""):o.replace(new RegExp("^ {1,"+u+"}","gm"),"")),c!==m-1&&(l=k.bullet.exec(s[c+1])[0],(i.length>1?1===l.length:l.length>1||this.options.smartLists&&l!==i)&&(e=s.slice(c+1).join("\n")+e,c=m-1)),r=n||/\n\n(?!\s*$)/.test(o),c!==m-1&&(n="\n"===o.charAt(o.length-1),r||(r=n)),r&&(a.loose=!0),x=/^\[[ xX]\] /.test(o),_=void 0,x&&(_=" "!==o[1],o=o.replace(/^\[[ xX]\] +/,"")),p={type:"list_item_start",task:x,checked:_,loose:r},h.push(p),this.tokens.push(p),this.token(o,!1),this.tokens.push({type:"list_item_end"});if(a.loose)for(m=h.length,c=0;m>c;c++)h[c].loose=!0;this.tokens.push({type:"list_end"})}else if(s=this.rules.html.exec(e))e=e.substring(s[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===s[1]||"script"===s[1]||"style"===s[1]),text:s[0]});else if(t&&(s=this.rules.def.exec(e)))e=e.substring(s[0].length),s[3]&&(s[3]=s[3].substring(1,s[3].length-1)),g=s[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[g]||(this.tokens.links[g]={href:s[2],title:s[3]});else if((s=this.rules.table.exec(e))&&(o={type:"table",header:f(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]},o.header.length===o.align.length)){for(e=e.substring(s[0].length),c=0;c<o.align.length;c++)o.align[c]=/^ *-+: *$/.test(o.align[c])?"right":/^ *:-+: *$/.test(o.align[c])?"center":/^ *:-+ *$/.test(o.align[c])?"left":null;for(c=0;c<o.cells.length;c++)o.cells[c]=f(o.cells[c].replace(/^ *\| *| *\| *$/g,""),o.header.length);this.tokens.push(o)}else if(s=this.rules.lheading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:"="===s[2]?1:2,text:s[1]});else if(t&&(s=this.rules.paragraph.exec(e)))e=e.substring(s[0].length),this.tokens.push({type:"paragraph",text:"\n"===s[1].charAt(s[1].length-1)?s[1].slice(0,-1):s[1]});else if(s=this.rules.text.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"text",text:s[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var x={escape:/^\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:c,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\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:c,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};x._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",x.em=h(x.em).replace(/punctuation/g,x._punctuation).getRegex(),x._escapes=/\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/g,x._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,x._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])?)+(?![-_])/,x.autolink=h(x.autolink).replace("scheme",x._scheme).replace("email",x._email).getRegex(),x._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,x.tag=h(x.tag).replace("comment",k._comment).replace("attribute",x._attribute).getRegex(),x._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,x._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,x._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,x.link=h(x.link).replace("label",x._label).replace("href",x._href).replace("title",x._title).getRegex(),x.reflink=h(x.reflink).replace("label",x._label).getRegex(),x.normal=g({},x),x.pedantic=g({},x.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",x._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",x._label).getRegex()}),x.gfm=g({},x.normal,{escape:h(x.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]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),x.gfm.url=h(x.gfm.url,"i").replace("email",x.gfm._extended_email).getRegex(),x.breaks=g({},x.gfm,{br:h(x.br).replace("{2,}","*").getRegex(),text:h(x.gfm.text).replace(/\{2,\}/g,"*").getRegex()}),t.rules=x,t.output=function(e,n,r){var s=new t(n,r);return s.output(e)},t.prototype.output=function(e){for(var n,r,s,i,l,a,h="";e;)if(l=this.rules.escape.exec(e))e=e.substring(l[0].length),h+=o(l[1]);else if(l=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(l[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(l[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(l[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(l[0])&&(this.inRawBlock=!1),e=e.substring(l[0].length),h+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):o(l[0]):l[0];else if(l=this.rules.link.exec(e)){var p=m(l[2],"()");if(p>-1){var u=l[0].length-(l[2].length-p)-(l[3]||"").length;l[2]=l[2].substring(0,p),l[0]=l[0].substring(0,u).trim(),l[3]=""}e=e.substring(l[0].length),this.inLink=!0,s=l[2],this.options.pedantic?(n=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s),n?(s=n[1],i=n[3]):i=""):i=l[3]?l[3].slice(1,-1):"",s=s.trim().replace(/^<([\s\S]*)>$/,"$1"),h+=this.outputLink(l,{href:t.escapes(s),title:t.escapes(i)}),this.inLink=!1}else if((l=this.rules.reflink.exec(e))||(l=this.rules.nolink.exec(e))){if(e=e.substring(l[0].length),n=(l[2]||l[1]).replace(/\s+/g," "),n=this.links[n.toLowerCase()],!n||!n.href){h+=l[0].charAt(0),e=l[0].substring(1)+e;continue}this.inLink=!0,h+=this.outputLink(l,n),this.inLink=!1}else if(l=this.rules.strong.exec(e))e=e.substring(l[0].length),h+=this.renderer.strong(this.output(l[4]||l[3]||l[2]||l[1]));else if(l=this.rules.em.exec(e))e=e.substring(l[0].length),h+=this.renderer.em(this.output(l[6]||l[5]||l[4]||l[3]||l[2]||l[1]));else if(l=this.rules.code.exec(e))e=e.substring(l[0].length),h+=this.renderer.codespan(o(l[2].trim(),!0));else if(l=this.rules.br.exec(e))e=e.substring(l[0].length),h+=this.renderer.br();else if(l=this.rules.del.exec(e))e=e.substring(l[0].length),h+=this.renderer.del(this.output(l[1]));else if(l=this.rules.autolink.exec(e))e=e.substring(l[0].length),"@"===l[2]?(r=o(this.mangle(l[1])),s="mailto:"+r):(r=o(l[1]),s=r),h+=this.renderer.link(s,null,r);else if(this.inLink||!(l=this.rules.url.exec(e))){if(l=this.rules.text.exec(e))e=e.substring(l[0].length),h+=this.renderer.text(this.inRawBlock?l[0]:o(this.smartypants(l[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===l[2])r=o(l[0]),s="mailto:"+r;else{do a=l[0],l[0]=this.rules._backpedal.exec(l[0])[0];while(a!==l[0]);r=o(l[0]),s="www."===l[1]?"http://"+r:r}e=e.substring(l[0].length),h+=this.renderer.link(s,null,r)}return h},t.escapes=function(e){return e?e.replace(t.rules._escapes,"$1"):e},t.prototype.outputLink=function(e,t){var n=t.href,r=t.title?o(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,o(e[1]))},t.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},t.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,s=0;r>s;s++)t=e.charCodeAt(s),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},r.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var s=this.options.highlight(e,r);null!=s&&s!==e&&(n=!0,e=s)}return r?'<pre><code class="'+this.options.langPrefix+o(r,!0)+'">'+(n?e:o(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:o(e,!0))+"</code></pre>"},r.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},r.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},r.prototype.list=function(e,t,n){var r=t?"ol":"ul",s=t&&1!==n?' start="'+n+'"':"";return"<"+r+s+">\n"+e+"</"+r+">\n"},r.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},r.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},r.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},r.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},r.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},r.prototype.strong=function(e){return"<strong>"+e+"</strong>"},r.prototype.em=function(e){return"<em>"+e+"</em>"},r.prototype.codespan=function(e){return"<code>"+e+"</code>"},r.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},r.prototype.del=function(e){return"<del>"+e+"</del>"},r.prototype.link=function(e,t,n){if(e=p(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<a href="'+o(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"},r.prototype.image=function(e,t,n){if(e=p(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},r.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},i.parse=function(e,t){var n=new i(t);return n.parse(e)},i.prototype.parse=function(e){this.inline=new t(e.links,this.options),this.inlineText=new t(e.links,g({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var n="";this.next();)n+=this.tok();return n},i.prototype.next=function(){return this.token=this.tokens.pop()},i.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},i.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},i.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,a(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 e,t,n,r,s="",i="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(s+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});i+=this.renderer.tablerow(n)}return this.renderer.table(s,i);case"blockquote_start":for(i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":i="";for(var l=this.token.ordered,o=this.token.start;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,l,o);case"list_item_start":i="";var h=this.token.loose,p=this.token.checked,u=this.token.task;for(this.token.task&&(i+=this.renderer.checkbox(p));"list_item_end"!==this.next().type;)i+=h||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(i,u,p);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var c='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(c);console.log(c)}},l.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,.\/:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do this.seen[n]++,t=n+"-"+this.seen[n];while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},o.escapeTest=/[&<>"']/,o.escapeReplace=/[&<>"']/g,o.replacements={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},o.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,o.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var _={},y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;c.exec=c,b.options=b.setOptions=function(e){return g(b.defaults,e),b},b.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new r,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},b.defaults=b.getDefaults(),b.Parser=i,b.parser=i.parse,b.Renderer=r,b.TextRenderer=s,b.Lexer=e,b.lexer=e.lex,b.InlineLexer=t,b.inlineLexer=t.output,b.Slugger=l,b.parse=b,n=b}).call(this),t.marked=n,t.Parser=n.Parser,t.parser=n.parser,t.Renderer=n.Renderer,t.TextRenderer=n.TextRenderer,t.Lexer=n.Lexer,t.lexer=n.lexer,t.InlineLexer=n.InlineLexer,t.inlineLexer=n.inlineLexer,t.parse=n.parse});
;/*!node_modules/monaco-editor/esm/vs/base/browser/htmlContentRenderer.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/htmlContentRenderer",function(e,n){"use strict";function t(e){var n=e.inline?"span":"div",t=document.createElement(n);return e.className&&(t.className=e.className),t}function r(e,n){void 0===n&&(n={});var r=t(n);return r.textContent=e,r}function o(e,n){void 0===n&&(n={});var r=t(n);return i(r,c(e),n.actionHandler),r}function a(e,n){void 0===n&&(n={});var r,o=t(n),a=function(n){var t;try{t=b.parse(decodeURIComponent(n))}catch(r){}return t?(t=g.cloneAndChange(t,function(n){return e.uris&&e.uris[n]?y.URI.revive(e.uris[n]):void 0}),encodeURIComponent(JSON.stringify(t))):n},i=function(n){var t=e.uris&&e.uris[n];if(!t)return n;var r=y.URI.revive(t);return r.query&&(r=r.with({query:a(r.query)})),t&&(n=r.toString(!0)),n},c=new Promise(function(e){return r=e}),s=new v.Renderer;s.image=function(e,n,t){e=i(e);var r=[];if(e){var o=e.split("|").map(function(e){return e.trim()});e=o[0];var a=o[1];if(a){var c=/height=(\d+)/.exec(a),s=/width=(\d+)/.exec(a),d=c?c[1]:"",u=s?s[1]:"",l=isFinite(parseInt(u)),m=isFinite(parseInt(d));l&&r.push('width="'+u+'"'),m&&r.push('height="'+d+'"')}}var p=[];return e&&p.push('src="'+e+'"'),t&&p.push('alt="'+t+'"'),n&&p.push('title="'+n+'"'),r.length&&(p=p.concat(r)),"<img "+p.join(" ")+">"},s.link=function(n,t,r){return n===r&&(r=h.removeMarkdownEscapes(r)),n=i(n),t=h.removeMarkdownEscapes(t),n=h.removeMarkdownEscapes(n),!n||n.match(/^data:|javascript:/i)||n.match(/^command:/i)&&!e.isTrusted||n.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?r:(n=n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),'<a href="#" data-href="'+n+'" title="'+(t||n)+'">'+r+"</a>")},s.paragraph=function(e){return"<p>"+e+"</p>"},n.codeBlockRenderer&&(s.code=function(e,t){var r=n.codeBlockRenderer(t,e),a=m.defaultGenerator.nextId(),i=Promise.all([r,c]).then(function(e){var n=e[0],t=o.querySelector('div[data-code="'+a+'"]');t&&(t.innerHTML=n)}).catch(function(){});return n.codeBlockRenderCallback&&i.then(n.codeBlockRenderCallback),'<div class="code" data-code="'+a+'">'+p.escape(e)+"</div>"}),n.actionHandler&&n.actionHandler.disposeables.push(l.addStandardDisposableListener(o,"click",function(e){var t=e.target;if("A"===t.tagName||(t=t.parentElement,t&&"A"===t.tagName))try{var r=t.dataset.href;r&&n.actionHandler.callback(r,e)}catch(o){f.onUnexpectedError(o)}finally{e.preventDefault()}}));var d={sanitize:!0,renderer:s};return o.innerHTML=v.parse(e.value,d),r(),o}function i(e,n,t){var r;if(2===n.type)r=document.createTextNode(n.content||"");else if(3===n.type)r=document.createElement("b");else if(4===n.type)r=document.createElement("i");else if(5===n.type&&t){var o=document.createElement("a");o.href="#",t.disposeables.push(l.addStandardDisposableListener(o,"click",function(e){t.callback(String(n.index),e)})),r=o}else 7===n.type?r=document.createElement("br"):1===n.type&&(r=e);r&&e!==r&&e.appendChild(r),r&&Array.isArray(n.children)&&n.children.forEach(function(e){i(r,e,t)})}function c(e){for(var n={type:1,children:[]},t=0,r=n,o=[],a=new k(e);!a.eos();){var i=a.next(),c="\\"===i&&0!==d(a.peek());if(c&&(i=a.next()),!c&&s(i)&&i===a.peek()){a.advance(),2===r.type&&(r=o.pop());var u=d(i);if(r.type===u||5===r.type&&6===u)r=o.pop();else{var l={type:u,children:[]};5===u&&(l.index=t,t++),r.children.push(l),o.push(r),r=l}}else if("\n"===i)2===r.type&&(r=o.pop()),r.children.push({type:7});else if(2!==r.type){var m={type:2,content:i};r.children.push(m),o.push(r),r=m}else r.content+=i}return 2===r.type&&(r=o.pop()),o.length,n}function s(e){return 0!==d(e)}function d(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}Object.defineProperty(n,"__esModule",{value:!0});var u=e("node_modules/tslib/tslib"),l=u.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),m=e("node_modules/monaco-editor/esm/vs/base/common/idGenerator"),p=e("node_modules/monaco-editor/esm/vs/base/common/strings"),h=e("node_modules/monaco-editor/esm/vs/base/common/htmlContent"),v=u.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/marked/marked")),f=e("node_modules/monaco-editor/esm/vs/base/common/errors"),y=e("node_modules/monaco-editor/esm/vs/base/common/uri"),b=e("node_modules/monaco-editor/esm/vs/base/common/marshalling"),g=e("node_modules/monaco-editor/esm/vs/base/common/objects");n.renderText=r,n.renderFormattedText=o,n.renderMarkdown=a;var k=function(){function e(e){this.source=e,this.index=0}return e.prototype.eos=function(){return this.index>=this.source.length},e.prototype.next=function(){var e=this.peek();return this.advance(),e},e.prototype.peek=function(){return this.source[this.index]},e.prototype.advance=function(){this.index++},e}()});
;/*!node_modules/monaco-editor/esm/vs/base/common/history.js*/
define("node_modules/monaco-editor/esm/vs/base/common/history",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/monaco-editor/esm/vs/base/common/iterator"),n=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=10),this._initialize(t),this._limit=e,this._onChange()}return t.prototype.add=function(t){this._history.delete(t),this._history.add(t),this._onChange()},t.prototype.next=function(){return this._navigator.next()},t.prototype.previous=function(){return this._navigator.previous()},t.prototype.current=function(){return this._navigator.current()},t.prototype.parent=function(){return null},t.prototype.first=function(){return this._navigator.first()},t.prototype.last=function(){return this._navigator.last()},t.prototype.has=function(t){return this._history.has(t)},t.prototype._onChange=function(){this._reduceToLimit(),this._navigator=new i.ArrayNavigator(this._elements,0,this._elements.length,this._elements.length)},t.prototype._reduceToLimit=function(){var t=this._elements;t.length>this._limit&&this._initialize(t.slice(t.length-this._limit))},t.prototype._initialize=function(t){this._history=new Set;for(var e=0,i=t;e<i.length;e++){var n=i[e];this._history.add(n)}},Object.defineProperty(t.prototype,"_elements",{get:function(){var t=[];return this._history.forEach(function(e){return t.push(e)}),t},enumerable:!0,configurable:!0}),t}();e.HistoryNavigator=n});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/inputbox/inputBox.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/inputbox/inputBox",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=o.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),r=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/browser")),s=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),a=t("node_modules/monaco-editor/esm/vs/base/browser/htmlContentRenderer"),u=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria")),l=t("node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar"),d=t("node_modules/monaco-editor/esm/vs/base/common/event"),p=t("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),h=t("node_modules/monaco-editor/esm/vs/base/common/color"),c=t("node_modules/monaco-editor/esm/vs/base/common/objects"),g=t("node_modules/monaco-editor/esm/vs/base/common/history"),m=s.$,f={inputBackground:h.Color.fromHex("#3C3C3C"),inputForeground:h.Color.fromHex("#CCCCCC"),inputValidationInfoBorder:h.Color.fromHex("#55AAFF"),inputValidationInfoBackground:h.Color.fromHex("#063B49"),inputValidationWarningBorder:h.Color.fromHex("#B89500"),inputValidationWarningBackground:h.Color.fromHex("#352A05"),inputValidationErrorBorder:h.Color.fromHex("#BE1100"),inputValidationErrorBackground:h.Color.fromHex("#5A1D1D")},y=function(t){function e(e,o,i){var n=t.call(this)||this;n.state="idle",n._onDidChange=n._register(new d.Emitter),n.onDidChange=n._onDidChange.event,n._onDidHeightChange=n._register(new d.Emitter),n.contextViewProvider=o,n.options=i||Object.create(null),c.mixin(n.options,f,!1),n.message=null,n.cachedHeight=null,n.placeholder=n.options.placeholder||"",n.ariaLabel=n.options.ariaLabel||"",n.inputBackground=n.options.inputBackground,n.inputForeground=n.options.inputForeground,n.inputBorder=n.options.inputBorder,n.inputValidationInfoBorder=n.options.inputValidationInfoBorder,n.inputValidationInfoBackground=n.options.inputValidationInfoBackground,n.inputValidationInfoForeground=n.options.inputValidationInfoForeground,n.inputValidationWarningBorder=n.options.inputValidationWarningBorder,n.inputValidationWarningBackground=n.options.inputValidationWarningBackground,n.inputValidationWarningForeground=n.options.inputValidationWarningForeground,n.inputValidationErrorBorder=n.options.inputValidationErrorBorder,n.inputValidationErrorBackground=n.options.inputValidationErrorBackground,n.inputValidationErrorForeground=n.options.inputValidationErrorForeground,n.options.validationOptions&&(n.validation=n.options.validationOptions.validation),n.element=s.append(e,m(".monaco-inputbox.idle"));var a=n.options.flexibleHeight?"textarea":"input",u=s.append(n.element,m(".wrapper"));return n.input=s.append(u,m(a+".input")),n.input.setAttribute("autocorrect","off"),n.input.setAttribute("autocapitalize","off"),n.input.setAttribute("spellcheck","false"),n.onfocus(n.input,function(){return s.addClass(n.element,"synthetic-focus")}),n.onblur(n.input,function(){return s.removeClass(n.element,"synthetic-focus")}),n.options.flexibleHeight?(n.mirror=s.append(u,m("div.mirror")),n.mirror.innerHTML="&nbsp;"):(n.input.type=n.options.type||"text",n.input.setAttribute("wrap","off")),n.ariaLabel&&n.input.setAttribute("aria-label",n.ariaLabel),n.placeholder&&n.setPlaceHolder(n.placeholder),n.oninput(n.input,function(){return n.onValueChange()}),n.onblur(n.input,function(){return n.onBlur()}),n.onfocus(n.input,function(){return n.onFocus()}),n.placeholder&&r.isIE&&n.onclick(n.input,function(t){s.EventHelper.stop(t,!0),n.input.focus()}),setTimeout(function(){n.input&&n.updateMirror()},0),n.options.actions&&(n.actionbar=n._register(new l.ActionBar(n.element)),n.actionbar.push(n.options.actions,{icon:!0,label:!1})),n.applyStyles(),n}return i(e,t),e.prototype.onBlur=function(){this._hideMessage()},e.prototype.onFocus=function(){this._showMessage()},e.prototype.setPlaceHolder=function(t){this.input&&(this.input.setAttribute("placeholder",t),this.input.title=t)},e.prototype.setAriaLabel=function(t){this.ariaLabel=t,this.input&&(t?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label"))},Object.defineProperty(e.prototype,"mirrorElement",{get:function(){return this.mirror},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputElement",{get:function(){return this.input},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.input.value},set:function(t){this.input.value!==t&&(this.input.value=t,this.onValueChange())},enumerable:!0,configurable:!0}),e.prototype.focus=function(){this.input.focus()},e.prototype.blur=function(){this.input.blur()},e.prototype.hasFocus=function(){return document.activeElement===this.input},e.prototype.select=function(t){void 0===t&&(t=null),this.input.select(),t&&this.input.setSelectionRange(t.start,t.end)},e.prototype.enable=function(){this.input.removeAttribute("disabled")},e.prototype.disable=function(){this.input.disabled=!0,this._hideMessage()},e.prototype.setEnabled=function(t){t?this.enable():this.disable()},Object.defineProperty(e.prototype,"width",{get:function(){return s.getTotalWidth(this.input)},set:function(t){this.input.style.width=t+"px",this.mirror&&(this.mirror.style.width=t+"px")},enumerable:!0,configurable:!0}),e.prototype.showMessage=function(t,e){this.message=t,s.removeClass(this.element,"idle"),s.removeClass(this.element,"info"),s.removeClass(this.element,"warning"),s.removeClass(this.element,"error"),s.addClass(this.element,this.classForType(t.type));var o=this.stylesForType(this.message.type);this.element.style.border=o.border?"1px solid "+o.border:null;var i;i=3===t.type?n.localize("alertErrorMessage","Error: {0}",t.content):2===t.type?n.localize("alertWarningMessage","Warning: {0}",t.content):n.localize("alertInfoMessage","Info: {0}",t.content),u.alert(i),(this.hasFocus()||e)&&this._showMessage()},e.prototype.hideMessage=function(){this.message=null,s.removeClass(this.element,"info"),s.removeClass(this.element,"warning"),s.removeClass(this.element,"error"),s.addClass(this.element,"idle"),this._hideMessage(),this.applyStyles()},e.prototype.validate=function(){var t=null;return this.validation&&(t=this.validation(this.value),t?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(t)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!t},e.prototype.stylesForType=function(t){switch(t){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}},e.prototype.classForType=function(t){switch(t){case 1:return"info";case 2:return"warning";default:return"error"}},e.prototype._showMessage=function(){var t=this;if(this.contextViewProvider&&this.message){var e,o=function(){return e.style.width=s.getTotalWidth(t.element)+"px"};this.state="open",this.contextViewProvider.showContextView({getAnchor:function(){return t.element},anchorAlignment:1,render:function(i){if(!t.message)return null;e=s.append(i,m(".monaco-inputbox-container")),o();var n={inline:!0,className:"monaco-inputbox-message"},r=t.message.formatContent?a.renderFormattedText(t.message.content,n):a.renderText(t.message.content,n);s.addClass(r,t.classForType(t.message.type));var u=t.stylesForType(t.message.type);return r.style.backgroundColor=u.background?u.background.toString():null,r.style.color=u.foreground?u.foreground.toString():null,r.style.border=u.border?"1px solid "+u.border:null,s.append(e,r),null},layout:o})}},e.prototype._hideMessage=function(){this.contextViewProvider&&"open"===this.state&&(this.state="idle",this.contextViewProvider.hideContextView())},e.prototype.onValueChange=function(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()},e.prototype.updateMirror=function(){if(this.mirror){var t=this.value||this.placeholder,e=t.charCodeAt(t.length-1),o=10===e?" ":"",i=t+o;i?this.mirror.textContent=t+o:this.mirror.innerHTML="&nbsp;",this.layout()}},e.prototype.style=function(t){this.inputBackground=t.inputBackground,this.inputForeground=t.inputForeground,this.inputBorder=t.inputBorder,this.inputValidationInfoBackground=t.inputValidationInfoBackground,this.inputValidationInfoForeground=t.inputValidationInfoForeground,this.inputValidationInfoBorder=t.inputValidationInfoBorder,this.inputValidationWarningBackground=t.inputValidationWarningBackground,this.inputValidationWarningForeground=t.inputValidationWarningForeground,this.inputValidationWarningBorder=t.inputValidationWarningBorder,this.inputValidationErrorBackground=t.inputValidationErrorBackground,this.inputValidationErrorForeground=t.inputValidationErrorForeground,this.inputValidationErrorBorder=t.inputValidationErrorBorder,this.applyStyles()},e.prototype.applyStyles=function(){if(this.element){var t=this.inputBackground?this.inputBackground.toString():null,e=this.inputForeground?this.inputForeground.toString():null,o=this.inputBorder?this.inputBorder.toString():null;this.element.style.backgroundColor=t,this.element.style.color=e,this.input.style.backgroundColor=t,this.input.style.color=e,this.element.style.borderWidth=o?"1px":null,this.element.style.borderStyle=o?"solid":null,this.element.style.borderColor=o}},e.prototype.layout=function(){if(this.mirror){var t=this.cachedHeight;this.cachedHeight=s.getTotalHeight(this.mirror),t!==this.cachedHeight&&(this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedHeight))}},e.prototype.dispose=function(){this._hideMessage(),this.element=null,this.input=null,this.contextViewProvider=void 0,this.message=null,this.validation=void 0,this.state=null,this.actionbar=void 0,t.prototype.dispose.call(this)},e}(p.Widget);e.InputBox=y;var b=function(t){function e(e,o,i){var n=t.call(this,e,o,i)||this;return n.history=new g.HistoryNavigator(i.history,100),n}return i(e,t),e.prototype.addToHistory=function(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)},e.prototype.showNextValue=function(){this.history.has(this.value)||this.addToHistory();var t=this.getNextValue();t&&(t=t===this.value?this.getNextValue():t),t&&(this.value=t,u.status(this.value))},e.prototype.showPreviousValue=function(){this.history.has(this.value)||this.addToHistory();var t=this.getPreviousValue();t&&(t=t===this.value?this.getPreviousValue():t),t&&(this.value=t,u.status(this.value))},e.prototype.getCurrentValue=function(){var t=this.history.current();return t||(t=this.history.last(),this.history.next()),t},e.prototype.getPreviousValue=function(){return this.history.previous()||this.history.first()},e.prototype.getNextValue=function(){return this.history.next()||this.history.last()},e}(y);e.HistoryInputBox=b});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/findInput.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/findInput",function(i,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=i("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var i=function(n,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var t in n)n.hasOwnProperty(t)&&(i[t]=n[t])})(n,t)};return function(n,t){function o(){this.constructor=n}i(n,t),n.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}}(),e=t.__importStar(i("node_modules/monaco-editor/esm/vs/nls")),r=t.__importStar(i("node_modules/monaco-editor/esm/vs/base/browser/dom")),a=i("node_modules/monaco-editor/esm/vs/base/browser/ui/inputbox/inputBox"),d=i("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),s=i("node_modules/monaco-editor/esm/vs/base/common/event"),u=i("node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/findInputCheckboxes"),p=e.localize("defaultLabel","input"),l=function(i){function n(n,t,o,e){var r=i.call(this)||this;return r._showOptionButtons=o,r.fixFocusOnOptionClickEnabled=!0,r._onDidOptionChange=r._register(new s.Emitter),r.onDidOptionChange=r._onDidOptionChange.event,r._onKeyDown=r._register(new s.Emitter),r.onKeyDown=r._onKeyDown.event,r._onMouseDown=r._register(new s.Emitter),r.onMouseDown=r._onMouseDown.event,r._onInput=r._register(new s.Emitter),r._onKeyUp=r._register(new s.Emitter),r._onCaseSensitiveKeyDown=r._register(new s.Emitter),r.onCaseSensitiveKeyDown=r._onCaseSensitiveKeyDown.event,r._onRegexKeyDown=r._register(new s.Emitter),r._lastHighlightFindOptions=0,r.contextViewProvider=t,r.placeholder=e.placeholder||"",r.validation=e.validation,r.label=e.label||p,r.inputActiveOptionBorder=e.inputActiveOptionBorder,r.inputBackground=e.inputBackground,r.inputForeground=e.inputForeground,r.inputBorder=e.inputBorder,r.inputValidationInfoBorder=e.inputValidationInfoBorder,r.inputValidationInfoBackground=e.inputValidationInfoBackground,r.inputValidationInfoForeground=e.inputValidationInfoForeground,r.inputValidationWarningBorder=e.inputValidationWarningBorder,r.inputValidationWarningBackground=e.inputValidationWarningBackground,r.inputValidationWarningForeground=e.inputValidationWarningForeground,r.inputValidationErrorBorder=e.inputValidationErrorBorder,r.inputValidationErrorBackground=e.inputValidationErrorBackground,r.inputValidationErrorForeground=e.inputValidationErrorForeground,r.buildDomNode(e.appendCaseSensitiveLabel||"",e.appendWholeWordsLabel||"",e.appendRegexLabel||"",e.history||[],!!e.flexibleHeight),n&&n.appendChild(r.domNode),r.onkeydown(r.inputBox.inputElement,function(i){return r._onKeyDown.fire(i)}),r.onkeyup(r.inputBox.inputElement,function(i){return r._onKeyUp.fire(i)}),r.oninput(r.inputBox.inputElement,function(){return r._onInput.fire()}),r.onmousedown(r.inputBox.inputElement,function(i){return r._onMouseDown.fire(i)}),r}return o(n,i),n.prototype.enable=function(){r.removeClass(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()},n.prototype.disable=function(){r.addClass(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()},n.prototype.setFocusInputOnOptionClick=function(i){this.fixFocusOnOptionClickEnabled=i},n.prototype.setEnabled=function(i){i?this.enable():this.disable()},n.prototype.getValue=function(){return this.inputBox.value},n.prototype.setValue=function(i){this.inputBox.value!==i&&(this.inputBox.value=i)},n.prototype.style=function(i){this.inputActiveOptionBorder=i.inputActiveOptionBorder,this.inputBackground=i.inputBackground,this.inputForeground=i.inputForeground,this.inputBorder=i.inputBorder,this.inputValidationInfoBackground=i.inputValidationInfoBackground,this.inputValidationInfoForeground=i.inputValidationInfoForeground,this.inputValidationInfoBorder=i.inputValidationInfoBorder,this.inputValidationWarningBackground=i.inputValidationWarningBackground,this.inputValidationWarningForeground=i.inputValidationWarningForeground,this.inputValidationWarningBorder=i.inputValidationWarningBorder,this.inputValidationErrorBackground=i.inputValidationErrorBackground,this.inputValidationErrorForeground=i.inputValidationErrorForeground,this.inputValidationErrorBorder=i.inputValidationErrorBorder,this.applyStyles()},n.prototype.applyStyles=function(){if(this.domNode){var i={inputActiveOptionBorder:this.inputActiveOptionBorder};this.regex.style(i),this.wholeWords.style(i),this.caseSensitive.style(i);var n={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(n)}},n.prototype.select=function(){this.inputBox.select()},n.prototype.focus=function(){this.inputBox.focus()},n.prototype.getCaseSensitive=function(){return this.caseSensitive.checked},n.prototype.setCaseSensitive=function(i){this.caseSensitive.checked=i},n.prototype.getWholeWords=function(){return this.wholeWords.checked},n.prototype.setWholeWords=function(i){this.wholeWords.checked=i},n.prototype.getRegex=function(){return this.regex.checked},n.prototype.setRegex=function(i){this.regex.checked=i,this.validate()},n.prototype.focusOnCaseSensitive=function(){this.caseSensitive.focus()},n.prototype.highlightFindOptions=function(){r.removeClass(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,r.addClass(this.domNode,"highlight-"+this._lastHighlightFindOptions)},n.prototype.buildDomNode=function(i,n,t,o,e){var d=this;if(this.domNode=document.createElement("div"),r.addClass(this.domNode,"monaco-findInput"),this.inputBox=this._register(new a.HistoryInputBox(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:o,flexibleHeight:e})),this.regex=this._register(new u.RegexCheckbox({appendTitle:t,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder})),this._register(this.regex.onChange(function(i){d._onDidOptionChange.fire(i),!i&&d.fixFocusOnOptionClickEnabled&&d.inputBox.focus(),d.validate()})),this._register(this.regex.onKeyDown(function(i){d._onRegexKeyDown.fire(i)})),this.wholeWords=this._register(new u.WholeWordsCheckbox({appendTitle:n,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder})),this._register(this.wholeWords.onChange(function(i){d._onDidOptionChange.fire(i),!i&&d.fixFocusOnOptionClickEnabled&&d.inputBox.focus(),d.validate()})),this.caseSensitive=this._register(new u.CaseSensitiveCheckbox({appendTitle:i,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder})),this._register(this.caseSensitive.onChange(function(i){d._onDidOptionChange.fire(i),!i&&d.fixFocusOnOptionClickEnabled&&d.inputBox.focus(),d.validate()})),this._register(this.caseSensitive.onKeyDown(function(i){d._onCaseSensitiveKeyDown.fire(i)})),this._showOptionButtons){var s=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width()+"px";this.inputBox.inputElement.style.paddingRight=s,this.inputBox.mirrorElement&&(this.inputBox.mirrorElement.style.paddingRight=s)}var p=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode];this.onkeydown(this.domNode,function(i){if(i.equals(15)||i.equals(17)||i.equals(9)){var n=p.indexOf(document.activeElement);if(n>=0){var t=-1;i.equals(17)?t=(n+1)%p.length:i.equals(15)&&(t=0===n?p.length-1:n-1),i.equals(9)?p[n].blur():t>=0&&p[t].focus(),r.EventHelper.stop(i,!0)}}});var l=document.createElement("div");l.className="controls",l.style.display=this._showOptionButtons?"block":"none",l.appendChild(this.caseSensitive.domNode),l.appendChild(this.wholeWords.domNode),l.appendChild(this.regex.domNode),this.domNode.appendChild(l)},n.prototype.validate=function(){this.inputBox&&this.inputBox.validate()},n.prototype.clearMessage=function(){this.inputBox&&this.inputBox.hideMessage()},n.prototype.dispose=function(){i.prototype.dispose.call(this)},n}(d.Widget);n.FindInput=l});
;/*!node_modules/monaco-editor/esm/vs/platform/browser/contextScopedHistoryWidget.js*/
define("node_modules/monaco-editor/esm/vs/platform/browser/contextScopedHistoryWidget",function(t,e){"use strict";function n(t,e,n){new d.RawContextKey(n,e).bindTo(t)}function o(t,e){return t.createScoped(e.target)}function i(t,e){return t.getContext(document.activeElement).getValue(e)}function r(t,i){var r=o(t,i);n(r,i,e.HistoryNavigationWidgetContext);var a=new d.RawContextKey(e.HistoryNavigationEnablementContext,!0).bindTo(r);return{scopedContextKeyService:r,historyNavigationEnablement:a}}Object.defineProperty(e,"__esModule",{value:!0});var a=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=this&&this.__decorate||function(t,e,n,o){var i,r=arguments.length,a=3>r?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,o);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(3>r?i(a):r>3?i(e,n,a):i(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a},c=this&&this.__param||function(t,e){return function(n,o){e(n,o,t)}},d=t("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),u=t("node_modules/monaco-editor/esm/vs/base/browser/ui/inputbox/inputBox"),y=t("node_modules/monaco-editor/esm/vs/base/browser/ui/findinput/findInput"),g=t("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry");e.HistoryNavigationWidgetContext="historyNavigationWidget",e.HistoryNavigationEnablementContext="historyNavigationEnabled",e.createAndBindHistoryNavigationWidgetScopedContextKeyService=r;var v=function(t){function e(e,n,o,i){var a=t.call(this,e,n,o)||this;return a._register(r(i,{target:a.element,historyNavigator:a}).scopedContextKeyService),a}return a(e,t),e=s([c(3,d.IContextKeyService)],e)}(u.HistoryInputBox);e.ContextScopedHistoryInputBox=v;var x=function(t){function e(e,n,o,i,a){void 0===a&&(a=!1);var s=t.call(this,e,n,a,o)||this;return s._register(r(i,{target:s.inputBox.element,historyNavigator:s.inputBox}).scopedContextKeyService),s}return a(e,t),e=s([c(3,d.IContextKeyService)],e)}(y.FindInput);e.ContextScopedFindInput=x,g.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:d.ContextKeyExpr.and(new d.ContextKeyDefinedExpr(e.HistoryNavigationWidgetContext),new d.ContextKeyEqualsExpr(e.HistoryNavigationEnablementContext,!0)),primary:16,secondary:[528],handler:function(t){var n=i(t.get(d.IContextKeyService),e.HistoryNavigationWidgetContext);if(n){var o=n.historyNavigator;o.showPreviousValue()}}}),g.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:new d.ContextKeyAndExpr([new d.ContextKeyDefinedExpr(e.HistoryNavigationWidgetContext),new d.ContextKeyEqualsExpr(e.HistoryNavigationEnablementContext,!0)]),primary:18,secondary:[530],handler:function(t){var n=i(t.get(d.IContextKeyService),e.HistoryNavigationWidgetContext);if(n){var o=n.historyNavigator;o.showNextValue()}}})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/find/findWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/find/findWidget",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=i.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),s=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),r=e("node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash"),d=e("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),a=e("node_modules/monaco-editor/esm/vs/base/common/async"),l=e("node_modules/monaco-editor/esm/vs/base/common/errors"),c=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),u=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),h=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/findModel"),g=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),m=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),f=e("node_modules/monaco-editor/esm/vs/platform/browser/contextScopedHistoryWidget"),b=n.localize("label.find","Find"),v=n.localize("placeholder.find","Find"),C=n.localize("label.previousMatchButton","Previous match"),I=n.localize("label.nextMatchButton","Next match"),y=n.localize("label.toggleSelectionFind","Find in selection"),x=n.localize("label.closeButton","Close"),S=n.localize("label.replace","Replace"),N=n.localize("placeholder.replace","Replace"),w=n.localize("label.replaceButton","Replace"),E=n.localize("label.replaceAllButton","Replace All"),B=n.localize("label.toggleReplaceButton","Toggle Replace mode"),F=n.localize("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",_.MATCHES_LIMIT),R=n.localize("label.matchesLocation","{0} of {1}"),D=n.localize("label.noResults","No Results"),V=411,T=275,k=T-54,W=k,Z=69,L=17+(Z+3+1)+92+2,M=34,P=64,A=function(){function e(e){this.afterLineNumber=e,this.heightInPx=M,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}return e}();t.FindWidgetViewZone=A;var O=function(e){function t(t,i,o,n,r,d,l){var u=e.call(this)||this;return u._codeEditor=t,u._controller=i,u._state=o,u._contextViewProvider=n,u._keybindingService=r,u._contextKeyService=d,u._isVisible=!1,u._isReplaceVisible=!1,u._ignoreChangeEvent=!1,u._updateHistoryDelayer=new a.Delayer(500),u._register(c.toDisposable(function(){return u._updateHistoryDelayer.cancel()})),u._register(u._state.onFindReplaceStateChange(function(e){return u._onStateChanged(e)})),u._buildDomNode(),u._updateButtons(),u._tryUpdateWidgetWidth(),u._register(u._codeEditor.onDidChangeConfiguration(function(e){if(e.readOnly&&(u._codeEditor.getConfiguration().readOnly&&u._state.change({isReplaceRevealed:!1},!1),u._updateButtons()),e.layoutInfo&&u._tryUpdateWidgetWidth(),e.accessibilitySupport&&u.updateAccessibilitySupport(),e.contribInfo){var t=u._codeEditor.getConfiguration().contribInfo.find.addExtraSpaceOnTop;t&&!u._viewZone&&(u._viewZone=new A(0),u._showViewZone()),!t&&u._viewZone&&u._removeViewZone()}})),u.updateAccessibilitySupport(),u._register(u._codeEditor.onDidChangeCursorSelection(function(){u._isVisible&&u._updateToggleSelectionFindButton()})),u._register(u._codeEditor.onDidFocusEditorWidget(function(){if(u._isVisible){var e=u._controller.getGlobalBufferTerm();e&&e!==u._state.searchString&&(u._state.change({searchString:e},!0),u._findInput.select())}})),u._findInputFocused=_.CONTEXT_FIND_INPUT_FOCUSED.bindTo(d),u._findFocusTracker=u._register(s.trackFocus(u._findInput.inputBox.inputElement)),u._register(u._findFocusTracker.onDidFocus(function(){u._findInputFocused.set(!0),u._updateSearchScope()})),u._register(u._findFocusTracker.onDidBlur(function(){u._findInputFocused.set(!1)})),u._replaceInputFocused=_.CONTEXT_REPLACE_INPUT_FOCUSED.bindTo(d),u._replaceFocusTracker=u._register(s.trackFocus(u._replaceInputBox.inputElement)),u._register(u._replaceFocusTracker.onDidFocus(function(){u._replaceInputFocused.set(!0),u._updateSearchScope()})),u._register(u._replaceFocusTracker.onDidBlur(function(){u._replaceInputFocused.set(!1)})),u._codeEditor.addOverlayWidget(u),u._codeEditor.getConfiguration().contribInfo.find.addExtraSpaceOnTop&&(u._viewZone=new A(0)),u._applyTheme(l.getTheme()),u._register(l.onThemeChange(u._applyTheme.bind(u))),u._register(u._codeEditor.onDidChangeModel(function(){u._isVisible&&void 0!==u._viewZoneId&&u._codeEditor.changeViewZones(function(e){u._viewZoneId&&e.removeZone(u._viewZoneId),u._viewZoneId=void 0})})),u._register(u._codeEditor.onDidScrollChange(function(e){return e.scrollTopChanged?void u._layoutViewZone():void setTimeout(function(){u._layoutViewZone()},0)})),u}return o(t,e),t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return this._isVisible?{preference:0}:null},t.prototype._onStateChanged=function(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getConfiguration().readOnly||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInputBox.width=this._findInput.inputBox.width,this._updateButtons()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.searchScope&&(this._toggleSelectionFind.checked=this._state.searchScope?!0:!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){var t=this._state.searchString.length>0&&0===this._state.matchesCount;s.toggleClass(this._domNode,"no-results",t),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory()},t.prototype._delayedUpdateHistory=function(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))},t.prototype._updateHistory=function(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInputBox.addToHistory()},t.prototype._updateMatchesCount=function(){this._matchesCount.style.minWidth=Z+"px",this._matchesCount.title=this._state.matchesCount>=_.MATCHES_LIMIT?F:"",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild);var e;if(this._state.matchesCount>0){var t=String(this._state.matchesCount);this._state.matchesCount>=_.MATCHES_LIMIT&&(t+="+");var i=String(this._state.matchesPosition);"0"===i&&(i="?"),e=h.format(R,i,t)}else e=D;this._matchesCount.appendChild(document.createTextNode(e)),Z=Math.max(Z,this._matchesCount.clientWidth)},t.prototype._updateToggleSelectionFindButton=function(){var e=this._codeEditor.getSelection(),t=e?e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn:!1,i=this._toggleSelectionFind.checked;this._toggleSelectionFind.setEnabled(this._isVisible&&(i||t))},t.prototype._updateButtons=function(){this._findInput.setEnabled(this._isVisible),this._replaceInputBox.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var e=this._state.searchString.length>0,t=this._state.matchesCount?!0:!1;this._prevBtn.setEnabled(this._isVisible&&e&&t),this._nextBtn.setEnabled(this._isVisible&&e&&t),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),s.toggleClass(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("collapse",!this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("expand",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);var i=!this._codeEditor.getConfiguration().readOnly;this._toggleReplaceBtn.setEnabled(this._isVisible&&i)},t.prototype._reveal=function(){var e=this;if(!this._isVisible){this._isVisible=!0;var t=this._codeEditor.getSelection(),i=t?t.startLineNumber!==t.endLineNumber||t.startColumn!==t.endColumn:!1;this._toggleSelectionFind.checked=i&&this._codeEditor.getConfiguration().contribInfo.find.autoFindInSelection?!0:!1,this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout(function(){s.addClass(e._domNode,"visible"),e._domNode.setAttribute("aria-hidden","false")},0),setTimeout(function(){e._findInput.validate()},200),this._codeEditor.layoutOverlayWidget(this);var o=!0;if(this._codeEditor.getConfiguration().contribInfo.find.seedSearchStringFromSelection&&t){var n=this._codeEditor.getDomNode();if(n){var r=s.getDomNodePagePosition(n),d=this._codeEditor.getScrolledVisiblePosition(t.getStartPosition()),a=r.left+(d?d.left:0),l=d?d.top:0;if(this._viewZone&&l<this._viewZone.heightInPx){t.endLineNumber>t.startLineNumber&&(o=!1);var c=s.getTopLeftOffset(this._domNode).left;a>c&&(o=!1);var u=this._codeEditor.getScrolledVisiblePosition(t.getEndPosition()),h=r.left+(u?u.left:0);h>c&&(o=!1)}}}this._showViewZone(o)}},t.prototype._hide=function(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),s.removeClass(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())},t.prototype._layoutViewZone=function(){var e=this,t=this._codeEditor.getConfiguration().contribInfo.find.addExtraSpaceOnTop;if(!t)return void this._removeViewZone();if(this._isVisible){var i=this._viewZone;void 0===this._viewZoneId&&i&&this._codeEditor.changeViewZones(function(t){i.heightInPx=e._state.isReplaceRevealed?P:M,e._viewZoneId=t.addZone(i),e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()+i.heightInPx)})}},t.prototype._showViewZone=function(e){var t=this;void 0===e&&(e=!0);var i=this._viewZone;this._isVisible&&i&&this._codeEditor.changeViewZones(function(o){var n=M;void 0!==t._viewZoneId?(t._state.isReplaceRevealed?(i.heightInPx=P,n=P-M):(i.heightInPx=M,n=M-P),o.removeZone(t._viewZoneId)):i.heightInPx=M,t._viewZoneId=o.addZone(i),e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+n)})},t.prototype._removeViewZone=function(){var e=this;this._codeEditor.changeViewZones(function(t){void 0!==e._viewZoneId&&(t.removeZone(e._viewZoneId),e._viewZoneId=void 0,e._viewZone&&(e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()-e._viewZone.heightInPx),e._viewZone=void 0))})},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(g.inputActiveOptionBorder),inputBackground:e.getColor(g.inputBackground),inputForeground:e.getColor(g.inputForeground),inputBorder:e.getColor(g.inputBorder),inputValidationInfoBackground:e.getColor(g.inputValidationInfoBackground),inputValidationInfoForeground:e.getColor(g.inputValidationInfoForeground),inputValidationInfoBorder:e.getColor(g.inputValidationInfoBorder),inputValidationWarningBackground:e.getColor(g.inputValidationWarningBackground),inputValidationWarningForeground:e.getColor(g.inputValidationWarningForeground),inputValidationWarningBorder:e.getColor(g.inputValidationWarningBorder),inputValidationErrorBackground:e.getColor(g.inputValidationErrorBackground),inputValidationErrorForeground:e.getColor(g.inputValidationErrorForeground),inputValidationErrorBorder:e.getColor(g.inputValidationErrorBorder)};this._findInput.style(t),this._replaceInputBox.style(t)},t.prototype._tryUpdateWidgetWidth=function(){if(this._isVisible){var e=this._codeEditor.getConfiguration().layoutInfo.width,t=this._codeEditor.getConfiguration().layoutInfo.minimapWidth,i=!1,o=!1,n=!1;if(this._resized){var r=s.getTotalWidth(this._domNode);if(r>V)return this._domNode.style.maxWidth=e-28-t-15+"px",void(this._replaceInputBox.inputElement.style.width=s.getTotalWidth(this._findInput.inputBox.inputElement)+"px")}if(V+28+t>=e&&(o=!0),V+28+t-Z>=e&&(n=!0),V+28+t-Z>=e+50&&(i=!0),s.toggleClass(this._domNode,"collapsed-find-widget",i),s.toggleClass(this._domNode,"narrow-find-widget",n),s.toggleClass(this._domNode,"reduced-find-widget",o),n||i||(this._domNode.style.maxWidth=e-28-t-15+"px"),this._resized){var d=s.getTotalWidth(this._findInput.inputBox.inputElement);d>0&&(this._replaceInputBox.inputElement.style.width=d+"px")}}},t.prototype.focusFindInput=function(){this._findInput.select(),this._findInput.focus()},t.prototype.focusReplaceInput=function(){this._replaceInputBox.select(),this._replaceInputBox.focus()},t.prototype.highlightFindOptions=function(){this._findInput.highlightFindOptions()},t.prototype._updateSearchScope=function(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){var e=this._codeEditor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));var t=this._state.currentMatch;e.startLineNumber!==e.endLineNumber&&(p.Range.equalsRange(e,t)||this._state.change({searchScope:e},!0))}},t.prototype._onFindInputMouseDown=function(e){e.middleButton&&e.stopPropagation()},t.prototype._onFindInputKeyDown=function(e){return e.equals(3)?(this._codeEditor.getAction(_.FIND_IDS.NextMatchFindAction).run().then(void 0,l.onUnexpectedError),void e.preventDefault()):e.equals(1027)?(this._codeEditor.getAction(_.FIND_IDS.PreviousMatchFindAction).run().then(void 0,l.onUnexpectedError),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInputBox.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):void 0},t.prototype._onReplaceInputKeyDown=function(e){return e.equals(3)?(this._controller.replace(),void e.preventDefault()):e.equals(2051)?(this._controller.replaceAll(),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):void 0},t.prototype.getHorizontalSashTop=function(){return 0},t.prototype.getHorizontalSashLeft=function(){return 0},t.prototype.getHorizontalSashWidth=function(){return 500},t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype._buildFindPart=function(){var e=this;this._findInput=this._register(new f.ContextScopedFindInput(null,this._contextViewProvider,{width:k,label:b,placeholder:v,appendCaseSensitiveLabel:this._keybindingLabelFor(_.FIND_IDS.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(_.FIND_IDS.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(_.FIND_IDS.ToggleRegexCommand),validation:function(t){if(0===t.length||!e._findInput.getRegex())return null;try{return new RegExp(t),null}catch(i){return{content:i.message}}}},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(function(t){return e._onFindInputKeyDown(t)})),this._register(this._findInput.inputBox.onDidChange(function(){e._ignoreChangeEvent||e._state.change({searchString:e._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(function(){e._state.change({isRegex:e._findInput.getRegex(),wholeWord:e._findInput.getWholeWords(),matchCase:e._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(function(t){t.equals(1026)&&e._isReplaceVisible&&(e._replaceInputBox.focus(),t.preventDefault())})),u.isLinux&&this._register(this._findInput.onMouseDown(function(t){return e._onFindInputMouseDown(t)})),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new H({label:C+this._keybindingLabelFor(_.FIND_IDS.PreviousMatchFindAction),className:"previous",onTrigger:function(){e._codeEditor.getAction(_.FIND_IDS.PreviousMatchFindAction).run().then(void 0,l.onUnexpectedError)}})),this._nextBtn=this._register(new H({label:I+this._keybindingLabelFor(_.FIND_IDS.NextMatchFindAction),className:"next",onTrigger:function(){e._codeEditor.getAction(_.FIND_IDS.NextMatchFindAction).run().then(void 0,l.onUnexpectedError)}}));var t=document.createElement("div");return t.className="find-part",t.appendChild(this._findInput.domNode),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new z({parent:t,title:y+this._keybindingLabelFor(_.FIND_IDS.ToggleSearchScopeCommand),onChange:function(){if(e._toggleSelectionFind.checked){if(e._codeEditor.hasModel()){var t=e._codeEditor.getSelection();1===t.endColumn&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,e._codeEditor.getModel().getLineMaxColumn(t.endLineNumber-1))),t.isEmpty()||e._state.change({searchScope:t},!0)}}else e._state.change({searchScope:null},!0)}})),this._closeBtn=this._register(new H({label:x+this._keybindingLabelFor(_.FIND_IDS.CloseFindWidgetCommand),className:"close-fw",onTrigger:function(){e._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceBtn.isEnabled()?e._replaceBtn.focus():e._codeEditor.focus(),t.preventDefault())}})),t.appendChild(this._closeBtn.domNode),t},t.prototype._buildReplacePart=function(){var e=this,t=document.createElement("div");t.className="replace-input",t.style.width=W+"px",this._replaceInputBox=this._register(new f.ContextScopedHistoryInputBox(t,void 0,{ariaLabel:S,placeholder:N,history:[]},this._contextKeyService)),this._register(s.addStandardDisposableListener(this._replaceInputBox.inputElement,"keydown",function(t){return e._onReplaceInputKeyDown(t)})),this._register(this._replaceInputBox.onDidChange(function(){e._state.change({replaceString:e._replaceInputBox.value},!1)})),this._replaceBtn=this._register(new H({label:w+this._keybindingLabelFor(_.FIND_IDS.ReplaceOneAction),className:"replace",onTrigger:function(){e._controller.replace()},onKeyDown:function(t){t.equals(1026)&&(e._closeBtn.focus(),t.preventDefault())}})),this._replaceAllBtn=this._register(new H({label:E+this._keybindingLabelFor(_.FIND_IDS.ReplaceAllAction),className:"replace-all",onTrigger:function(){e._controller.replaceAll()}}));var i=document.createElement("div");return i.className="replace-part",i.appendChild(t),i.appendChild(this._replaceBtn.domNode),i.appendChild(this._replaceAllBtn.domNode),i},t.prototype._buildDomNode=function(){var e=this,t=this._buildFindPart(),i=this._buildReplacePart();this._toggleReplaceBtn=this._register(new H({label:B,className:"toggle left",onTrigger:function(){e._state.change({isReplaceRevealed:!e._isReplaceVisible},!1),e._isReplaceVisible&&(e._replaceInputBox.width=e._findInput.inputBox.width),e._showViewZone()}})),this._toggleReplaceBtn.toggleClass("expand",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("collapse",!this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width=V+"px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(t),this._domNode.appendChild(i),this._buildSash()},t.prototype._buildSash=function(){var e=this;this._resizeSash=new r.Sash(this._domNode,this,{orientation:0}),this._resized=!1;var t=V;this._register(this._resizeSash.onDidStart(function(){t=s.getTotalWidth(e._domNode)})),this._register(this._resizeSash.onDidChange(function(i){e._resized=!0;var o=t+i.startX-i.currentX;if(!(V>o)){var n=o-L,r=parseFloat(s.getComputedStyle(e._domNode).maxWidth)||0;o>r||(e._domNode.style.width=o+"px",e._isReplaceVisible&&(e._replaceInputBox.width=n))}}))},t.prototype.updateAccessibilitySupport=function(){var e=this._codeEditor.getConfiguration().accessibilitySupport;this._findInput.setFocusInputOnOptionClick(2!==e)},t.ID="editor.contrib.findWidget",t}(d.Widget);t.FindWidget=O;var z=function(e){function t(i){var o=e.call(this)||this;return o._opts=i,o._domNode=document.createElement("div"),o._domNode.className="monaco-checkbox",o._domNode.title=o._opts.title,o._domNode.tabIndex=0,o._checkbox=document.createElement("input"),o._checkbox.type="checkbox",o._checkbox.className="checkbox",o._checkbox.id="checkbox-"+t._COUNTER++,o._checkbox.tabIndex=-1,o._label=document.createElement("label"),o._label.className="label",o._label.htmlFor=o._checkbox.id,o._label.tabIndex=-1,o._domNode.appendChild(o._checkbox),o._domNode.appendChild(o._label),o._opts.parent.appendChild(o._domNode),o.onchange(o._checkbox,function(){o._opts.onChange()}),o}return o(t,e),Object.defineProperty(t.prototype,"domNode",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checkbox.checked},set:function(e){this._checkbox.checked=e},enumerable:!0,configurable:!0}),t.prototype.enable=function(){this._checkbox.removeAttribute("disabled")},t.prototype.disable=function(){this._checkbox.disabled=!0},t.prototype.setEnabled=function(e){e?(this.enable(),this.domNode.tabIndex=0):(this.disable(),this.domNode.tabIndex=-1)},t._COUNTER=0,t}(d.Widget),H=function(e){function t(t){var i=e.call(this)||this;return i._opts=t,i._domNode=document.createElement("div"),i._domNode.title=i._opts.label,i._domNode.tabIndex=0,i._domNode.className="button "+i._opts.className,i._domNode.setAttribute("role","button"),i._domNode.setAttribute("aria-label",i._opts.label),i.onclick(i._domNode,function(e){i._opts.onTrigger(),e.preventDefault()}),i.onkeydown(i._domNode,function(e){return e.equals(10)||e.equals(3)?(i._opts.onTrigger(),void e.preventDefault()):void(i._opts.onKeyDown&&i._opts.onKeyDown(e))}),i}return o(t,e),Object.defineProperty(t.prototype,"domNode",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),t.prototype.isEnabled=function(){return this._domNode.tabIndex>=0},t.prototype.focus=function(){this._domNode.focus()},t.prototype.setEnabled=function(e){s.toggleClass(this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1},t.prototype.setExpanded=function(e){this._domNode.setAttribute("aria-expanded",String(!!e))},t.prototype.toggleClass=function(e,t){s.toggleClass(this._domNode,e,t)},t}(d.Widget);t.SimpleButton=H,m.registerThemingParticipant(function(e,t){var i=function(e,i){i&&t.addRule(".monaco-editor "+e+" { background-color: "+i+"; }")};i(".findMatch",e.getColor(g.editorFindMatchHighlight)),i(".currentFindMatch",e.getColor(g.editorFindMatch)),i(".findScope",e.getColor(g.editorFindRangeHighlight));var o=e.getColor(g.editorWidgetBackground);i(".find-widget",o);var n=e.getColor(g.widgetShadow);n&&t.addRule(".monaco-editor .find-widget { box-shadow: 0 2px 8px "+n+"; }");var s=e.getColor(g.editorFindMatchHighlightBorder);s&&t.addRule(".monaco-editor .findMatch { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+s+"; box-sizing: border-box; }");var r=e.getColor(g.editorFindMatchBorder);r&&t.addRule(".monaco-editor .currentFindMatch { border: 2px solid "+r+"; padding: 1px; box-sizing: border-box; }");var d=e.getColor(g.editorFindRangeHighlightBorder);d&&t.addRule(".monaco-editor .findScope { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+d+"; }");var a=e.getColor(g.contrastBorder);a&&t.addRule(".monaco-editor .find-widget { border: 2px solid "+a+"; }");var l=e.getColor(g.errorForeground);l&&t.addRule(".monaco-editor .find-widget.no-results .matchesCount { color: "+l+"; }");var c=e.getColor(g.editorWidgetResizeBorder);if(c)t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+c+"; width: 3px !important; margin-left: -4px;}");else{var u=e.getColor(g.editorWidgetBorder);u&&t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+u+"; width: 3px !important; margin-left: -4px;}")}var h=e.getColor(g.inputActiveOptionBorder);h&&t.addRule(".monaco-editor .find-widget .monaco-checkbox .checkbox:checked + .label { border: 1px solid "+h.toString()+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js*/
define("node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation");o.IClipboardService=i.createDecorator("clipboardService")});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/find/findController",function(e,t){"use strict";function i(e){if(!e.hasModel())return null;var t=e.getSelection();if(t.startLineNumber===t.endLineNumber)if(t.isEmpty()){var i=e.getModel().getWordAtPosition(t.getStartPosition());if(i)return i.word}else if(e.getModel().getValueLengthInRange(t)<x)return e.getModel().getValueInRange(t);return null}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),r=this&&this.__decorate||function(e,t,i,o){var n,r=arguments.length,s=3>r?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(3>r?n(s):r>3?n(t,i,s):n(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s},s=this&&this.__param||function(e,t){return function(i,o){t(i,o,e)}},a=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),c=e("node_modules/monaco-editor/esm/vs/base/common/async"),d=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),h=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),u=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),g=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/findModel"),p=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/findOptionsWidget"),m=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/findState"),S=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/findWidget"),_=e("node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService"),f=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),b=e("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView"),v=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),y=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),F=e("node_modules/monaco-editor/esm/vs/platform/storage/common/storage"),C=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),x=524288;t.getSelectionSearchString=i;var I=function(e){function t(t,i,o,n){var r=e.call(this)||this;return r._editor=t,r._findWidgetVisible=g.CONTEXT_FIND_WIDGET_VISIBLE.bindTo(i),r._contextKeyService=i,r._storageService=o,r._clipboardService=n,r._updateHistoryDelayer=new c.Delayer(500),r._state=r._register(new m.FindReplaceState),r.loadQueryState(),r._register(r._state.onFindReplaceStateChange(function(e){return r._onStateChanged(e)})),r._model=null,r._register(r._editor.onDidChangeModel(function(){var e=r._editor.getModel()&&r._state.isRevealed;r.disposeModel(),r._state.change({searchScope:null,matchCase:r._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:r._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:r._storageService.getBoolean("editor.isRegex",1,!1)},!1),e&&r._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1})})),r}return n(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){this.disposeModel(),e.prototype.dispose.call(this)},t.prototype.disposeModel=function(){this._model&&(this._model.dispose(),this._model=null)},t.prototype.getId=function(){return t.ID},t.prototype._onStateChanged=function(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)},t.prototype.saveQueryState=function(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1)},t.prototype.loadQueryState=function(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex)},!1)},t.prototype.isFindInputFocused=function(){return!!g.CONTEXT_FIND_INPUT_FOCUSED.getValue(this._contextKeyService)},t.prototype.getState=function(){return this._state},t.prototype.closeFindWidget=function(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()},t.prototype.toggleCaseSensitive=function(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleWholeWords=function(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleRegex=function(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleSearchScope=function(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){var e=this._editor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()||this._state.change({searchScope:e},!0)}},t.prototype.setSearchString=function(e){this._state.isRegex&&(e=l.escapeRegExpCharacters(e)),this._state.change({searchString:e},!1)},t.prototype.highlightFindOptions=function(){},t.prototype._start=function(e){if(this.disposeModel(),this._editor.hasModel()){var t={isRevealed:!0};if(e.seedSearchStringFromSelection){var o=i(this._editor);o&&(t.searchString=this._state.isRegex?l.escapeRegExpCharacters(o):o)}if(!t.searchString&&e.seedSearchStringFromGlobalClipboard){var o=this.getGlobalBufferTerm();o&&(t.searchString=o)}if(e.forceRevealReplace?t.isReplaceRevealed=!0:this._findWidgetVisible.get()||(t.isReplaceRevealed=!1),e.updateSearchScope){var n=this._editor.getSelection();n.isEmpty()||(t.searchScope=n)}this._state.change(t,!1),this._model||(this._model=new g.FindModelBoundToEditorModel(this._editor,this._state))}},t.prototype.start=function(e){this._start(e)},t.prototype.moveToNextMatch=function(){return this._model?(this._model.moveToNextMatch(),!0):!1},t.prototype.moveToPrevMatch=function(){return this._model?(this._model.moveToPrevMatch(),!0):!1},t.prototype.replace=function(){return this._model?(this._model.replace(),!0):!1},t.prototype.replaceAll=function(){return this._model?(this._model.replaceAll(),!0):!1},t.prototype.selectAllMatches=function(){return this._model?(this._model.selectAllMatches(),this._editor.focus(),!0):!1},t.prototype.getGlobalBufferTerm=function(){return this._editor.getConfiguration().contribInfo.find.globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""},t.prototype.setGlobalBufferTerm=function(e){this._editor.getConfiguration().contribInfo.find.globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)},t.ID="editor.contrib.findController",t=r([s(1,f.IContextKeyService),s(2,F.IStorageService),s(3,_.IClipboardService)],t)}(d.Disposable);t.CommonFindController=I;var E=function(e){function t(t,i,o,n,r,s,a){var c=e.call(this,t,o,s,a)||this;return c._contextViewService=i,c._keybindingService=n,c._themeService=r,c}return n(t,e),t.prototype._start=function(t){this._widget||this._createFindWidget(),!this._widget.getPosition()&&this._editor.getConfiguration().contribInfo.find.autoFindInSelection&&(t.updateSearchScope=!0),e.prototype._start.call(this,t),2===t.shouldFocus?this._widget.focusReplaceInput():1===t.shouldFocus&&this._widget.focusFindInput()},t.prototype.highlightFindOptions=function(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()},t.prototype._createFindWidget=function(){this._widget=this._register(new S.FindWidget(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService)),this._findOptionsWidget=this._register(new p.FindOptionsWidget(this._editor,this._state,this._keybindingService,this._themeService))},t=r([s(1,b.IContextViewService),s(2,f.IContextKeyService),s(3,y.IKeybindingService),s(4,C.IThemeService),s(5,F.IStorageService),s(6,v.optional(_.IClipboardService))],t)}(I);t.FindController=E;var R=function(e){function t(){return e.call(this,{id:g.FIND_IDS.StartFindAction,label:a.localize("startFindAction","Find"),alias:"Find",precondition:null,kbOpts:{kbExpr:null,primary:2084,weight:100},menubarOpts:{menuId:14,group:"3_find",title:a.localize({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})||this}return n(t,e),t.prototype.run=function(e,t){var i=I.get(t);i&&i.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getConfiguration().contribInfo.find.seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getConfiguration().contribInfo.find.globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1})},t}(h.EditorAction);t.StartFindAction=R;var w=function(e){function t(){return e.call(this,{id:g.FIND_IDS.StartFindWithSelection,label:a.localize("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:null,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})||this}return n(t,e),t.prototype.run=function(e,t){var i=I.get(t);i&&(i.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1}),i.setGlobalBufferTerm(i.getState().searchString))},t}(h.EditorAction);t.StartFindWithSelectionAction=w;var T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.run=function(e,t){var i=I.get(t);i&&!this._run(i)&&(i.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===i.getState().searchString.length&&t.getConfiguration().contribInfo.find.seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(i))},t}(h.EditorAction);t.MatchFindAction=T;var A=function(e){function t(){return e.call(this,{id:g.FIND_IDS.NextMatchFindAction,label:a.localize("findNextMatchAction","Find Next"),alias:"Find Next",precondition:null,kbOpts:{kbExpr:u.EditorContextKeys.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})||this}return n(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(T);t.NextMatchFindAction=A;var W=function(e){function t(){return e.call(this,{id:g.FIND_IDS.PreviousMatchFindAction,label:a.localize("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:null,kbOpts:{kbExpr:u.EditorContextKeys.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})||this}return n(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(T);t.PreviousMatchFindAction=W;var M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.run=function(e,t){var o=I.get(t);if(o){var n=i(t);n&&o.setSearchString(n),this._run(o)||(o.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getConfiguration().contribInfo.find.seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(o))}},t}(h.EditorAction);t.SelectionMatchFindAction=M;var D=function(e){function t(){return e.call(this,{id:g.FIND_IDS.NextSelectionMatchFindAction,label:a.localize("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:null,kbOpts:{kbExpr:u.EditorContextKeys.focus,primary:2109,weight:100}})||this}return n(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(M);t.NextSelectionMatchFindAction=D;var N=function(e){function t(){return e.call(this,{id:g.FIND_IDS.PreviousSelectionMatchFindAction,label:a.localize("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:null,kbOpts:{kbExpr:u.EditorContextKeys.focus,primary:3133,weight:100}})||this}return n(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(M);t.PreviousSelectionMatchFindAction=N;var O=function(e){function t(){return e.call(this,{id:g.FIND_IDS.StartFindReplaceAction,label:a.localize("startReplace","Replace"),alias:"Replace",precondition:null,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menubarOpts:{menuId:14,group:"3_find",title:a.localize({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})||this}return n(t,e),t.prototype.run=function(e,t){if(t.hasModel()&&!t.getConfiguration().readOnly){var i=I.get(t),o=t.getSelection(),n=i.isFindInputFocused(),r=!o.isEmpty()&&o.startLineNumber===o.endLineNumber&&t.getConfiguration().contribInfo.find.seedSearchStringFromSelection&&!n,s=n||r?2:1;i&&i.start({forceRevealReplace:!0,seedSearchStringFromSelection:r,seedSearchStringFromGlobalClipboard:t.getConfiguration().contribInfo.find.seedSearchStringFromSelection,shouldFocus:s,shouldAnimate:!0,updateSearchScope:!1})}},t}(h.EditorAction);t.StartFindReplaceAction=O,h.registerEditorContribution(E),h.registerEditorAction(R),h.registerEditorAction(w),h.registerEditorAction(A),h.registerEditorAction(W),h.registerEditorAction(D),h.registerEditorAction(N),h.registerEditorAction(O);var k=h.EditorCommand.bindToContribution(I.get);h.registerEditorCommand(new k({id:g.FIND_IDS.CloseFindWidgetCommand,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:function(e){return e.closeFindWidget()},kbOpts:{weight:105,kbExpr:u.EditorContextKeys.focus,primary:9,secondary:[1033]}})),h.registerEditorCommand(new k({id:g.FIND_IDS.ToggleCaseSensitiveCommand,precondition:null,handler:function(e){return e.toggleCaseSensitive()},kbOpts:{weight:105,kbExpr:u.EditorContextKeys.focus,primary:g.ToggleCaseSensitiveKeybinding.primary,mac:g.ToggleCaseSensitiveKeybinding.mac,win:g.ToggleCaseSensitiveKeybinding.win,linux:g.ToggleCaseSensitiveKeybinding.linux}})),h.registerEditorCommand(new k({id:g.FIND_IDS.ToggleWholeWordCommand,precondition:null,handler:function(e){return e.toggleWholeWords()},kbOpts:{weight:105,kbExpr:u.EditorContextKeys.focus,primary:g.ToggleWholeWordKeybinding.primary,mac:g.ToggleWholeWordKeybinding.mac,win:g.ToggleWholeWordKeybinding.win,linux:g.ToggleWholeWordKeybinding.linux}})),h.registerEditorCommand(new k({id:g.FIND_IDS.ToggleRegexCommand,precondition:null,handler:function(e){return e.toggleRegex()},kbOpts:{weight:105,kbExpr:u.EditorContextKeys.focus,primary:g.ToggleRegexKeybinding.primary,mac:g.ToggleRegexKeybinding.mac,win:g.ToggleRegexKeybinding.win,linux:g.ToggleRegexKeybinding.linux}})),h.registerEditorCommand(new k({id:g.FIND_IDS.ToggleSearchScopeCommand,precondition:null,handler:function(e){return e.toggleSearchScope()},kbOpts:{weight:105,kbExpr:u.EditorContextKeys.focus,primary:g.ToggleSearchScopeKeybinding.primary,mac:g.ToggleSearchScopeKeybinding.mac,win:g.ToggleSearchScopeKeybinding.win,linux:g.ToggleSearchScopeKeybinding.linux}})),h.registerEditorCommand(new k({id:g.FIND_IDS.ReplaceOneAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:u.EditorContextKeys.focus,primary:3094}})),h.registerEditorCommand(new k({id:g.FIND_IDS.ReplaceAllAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:u.EditorContextKeys.focus,primary:2563}})),h.registerEditorCommand(new k({id:g.FIND_IDS.SelectAllMatchesAction,precondition:g.CONTEXT_FIND_WIDGET_VISIBLE,handler:function(e){return e.selectAllMatches()},kbOpts:{weight:105,kbExpr:u.EditorContextKeys.focus,primary:515}}))});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingRanges.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingRanges",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_FOLDING_REGIONS=65535,t.MAX_LINE_NUMBER=16777215;var n=4278190080,r=function(){function e(e,n,r){if(e.length!==n.length||e.length>t.MAX_FOLDING_REGIONS)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=n,this._collapseStates=new Uint32Array(Math.ceil(e.length/32)),this._types=r}return e.prototype.ensureParentIndices=function(){var e=this;if(!this._parentsComputed){this._parentsComputed=!0;for(var n=[],r=function(t,r){var i=n[n.length-1];return e.getStartLineNumber(i)<=t&&e.getEndLineNumber(i)>=r},i=0,o=this._startIndexes.length;o>i;i++){var s=this._startIndexes[i],u=this._endIndexes[i];if(s>t.MAX_LINE_NUMBER||u>t.MAX_LINE_NUMBER)throw new Error("startLineNumber or endLineNumber must not exceed "+t.MAX_LINE_NUMBER);for(;n.length>0&&!r(s,u);)n.pop();var a=n.length>0?n[n.length-1]:-1;n.push(i),this._startIndexes[i]=s+((255&a)<<24),this._endIndexes[i]=u+((65280&a)<<16)}}},Object.defineProperty(e.prototype,"length",{get:function(){return this._startIndexes.length},enumerable:!0,configurable:!0}),e.prototype.getStartLineNumber=function(e){return this._startIndexes[e]&t.MAX_LINE_NUMBER},e.prototype.getEndLineNumber=function(e){return this._endIndexes[e]&t.MAX_LINE_NUMBER},e.prototype.getType=function(e){return this._types?this._types[e]:void 0},e.prototype.hasTypes=function(){return!!this._types},e.prototype.isCollapsed=function(e){var t=e/32|0,n=e%32;return 0!==(this._collapseStates[t]&1<<n)},e.prototype.setCollapsed=function(e,t){var n=e/32|0,r=e%32,i=this._collapseStates[n];this._collapseStates[n]=t?i|1<<r:i&~(1<<r)},e.prototype.toRegion=function(e){return new i(this,e)},e.prototype.getParentIndex=function(e){this.ensureParentIndices();var r=((this._startIndexes[e]&n)>>>24)+((this._endIndexes[e]&n)>>>16);return r===t.MAX_FOLDING_REGIONS?-1:r},e.prototype.contains=function(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t},e.prototype.findIndex=function(e){var t=0,n=this._startIndexes.length;if(0===n)return-1;for(;n>t;){var r=Math.floor((t+n)/2);e<this.getStartLineNumber(r)?n=r:t=r+1}return t-1},e.prototype.findRange=function(e){var t=this.findIndex(e);if(t>=0){var n=this.getEndLineNumber(t);if(n>=e)return t;for(t=this.getParentIndex(t);-1!==t;){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1},e.prototype.toString=function(){for(var e=[],t=0;t<this.length;t++)e[t]="["+(this.isCollapsed(t)?"+":"-")+"] "+this.getStartLineNumber(t)+"/"+this.getEndLineNumber(t);return e.join(", ")},e}();t.FoldingRegions=r;var i=function(){function e(e,t){this.ranges=e,this.index=t}return Object.defineProperty(e.prototype,"startLineNumber",{get:function(){return this.ranges.getStartLineNumber(this.index)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLineNumber",{get:function(){return this.ranges.getEndLineNumber(this.index)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"regionIndex",{get:function(){return this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentIndex",{get:function(){return this.ranges.getParentIndex(this.index)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCollapsed",{get:function(){return this.ranges.isCollapsed(this.index)},enumerable:!0,configurable:!0}),e.prototype.containedBy=function(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber},e.prototype.containsLine=function(e){return this.startLineNumber<=e&&e<=this.endLineNumber},e}();t.FoldingRegion=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingModel",function(e,t){"use strict";function n(e,t,n,o){void 0===n&&(n=Number.MAX_VALUE);var i=[];if(o&&o.length>0)for(var r=0,s=o;r<s.length;r++){var a=s[r],l=e.getRegionAtLine(a);if(l&&(l.isCollapsed!==t&&i.push(l),n>1)){var g=e.getRegionsInside(l,function(e,o){return e.isCollapsed!==t&&n>o});i.push.apply(i,g)}}else{var g=e.getRegionsInside(null,function(e,o){return e.isCollapsed!==t&&n>o});i.push.apply(i,g)}e.toggleCollapseState(i)}function o(e,t,n,o){for(var i=[],r=0,s=o;r<s.length;r++){var a=s[r],l=e.getAllRegionsAtLine(a,function(e,o){return e.isCollapsed!==t&&n>=o});i.push.apply(i,l)}e.toggleCollapseState(i)}function i(e,t,n,o){var i=function(e,i){return i===t&&e.isCollapsed!==n&&!o.some(function(t){return e.containsLine(t)})},r=e.getRegionsInside(null,i);e.toggleCollapseState(r)}function r(e,t,n){for(var o=e.textModel,i=e.regions,r=[],s=i.length-1;s>=0;s--)if(n!==i.isCollapsed(s)){var a=i.getStartLineNumber(s);t.test(o.getLineContent(a))&&r.push(i.toRegion(s))}e.toggleCollapseState(r)}function s(e,t,n){for(var o=e.regions,i=[],r=o.length-1;r>=0;r--)n!==o.isCollapsed(r)&&t===o.getType(r)&&i.push(o.toRegion(r));e.toggleCollapseState(i)}Object.defineProperty(t,"__esModule",{value:!0});var a=e("node_modules/monaco-editor/esm/vs/base/common/event"),l=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingRanges"),g=function(){function e(e,t){this._updateEventEmitter=new a.Emitter,this._textModel=e,this._decorationProvider=t,this._regions=new l.FoldingRegions(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}return Object.defineProperty(e.prototype,"regions",{get:function(){return this._regions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._updateEventEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textModel",{get:function(){return this._textModel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isInitialized",{get:function(){return this._isInitialized},enumerable:!0,configurable:!0}),e.prototype.toggleCollapseState=function(e){var t=this;if(e.length){var n={};this._decorationProvider.changeDecorations(function(o){for(var i=0,r=e;i<r.length;i++){var s=r[i],a=s.regionIndex,l=t._editorDecorationIds[a];if(l&&!n[l]){n[l]=!0;var g=!t._regions.isCollapsed(a);t._regions.setCollapsed(a,g),o.changeDecorationOptions(l,t._decorationProvider.getDecorationOption(g))}}}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}},e.prototype.update=function(e,t){var n=this;void 0===t&&(t=[]);for(var o=[],i=function(e,n){for(var o=0,i=t;o<i.length;o++){var r=i[o];if(r>e&&n>=r)return!0}return!1},r=function(t,r){var s=e.getStartLineNumber(t);r&&i(s,e.getEndLineNumber(t))&&(r=!1),e.setCollapsed(t,r);var a=n._textModel.getLineMaxColumn(s),l={startLineNumber:s,startColumn:a,endLineNumber:s,endColumn:a};o.push({range:l,options:n._decorationProvider.getDecorationOption(r)})},s=0,a=function(){for(;s<n._regions.length;){var e=n._regions.isCollapsed(s);if(s++,e)return s-1}return-1},l=0,g=a();-1!==g&&l<e.length;){var d=this._textModel.getDecorationRange(this._editorDecorationIds[g]);if(d){var u=d.startLineNumber;if(this._textModel.getLineMaxColumn(u)===d.startColumn)for(;l<e.length;){var p=e.getStartLineNumber(l);if(!(u>=p))break;r(l,u===p),l++}}g=a()}for(;l<e.length;)r(l,!1),l++;this._editorDecorationIds=this._decorationProvider.deltaDecorations(this._editorDecorationIds,o),this._regions=e,this._isInitialized=!0,this._updateEventEmitter.fire({model:this})},e.prototype.getMemento=function(){for(var e=[],t=0;t<this._regions.length;t++)if(this._regions.isCollapsed(t)){var n=this._textModel.getDecorationRange(this._editorDecorationIds[t]);if(n){var o=n.startLineNumber,i=n.endLineNumber+this._regions.getEndLineNumber(t)-this._regions.getStartLineNumber(t);e.push({startLineNumber:o,endLineNumber:i})}}return e.length>0?e:void 0},e.prototype.applyMemento=function(e){if(Array.isArray(e)){for(var t=[],n=0,o=e;n<o.length;n++){var i=o[n],r=this.getRegionAtLine(i.startLineNumber);r&&!r.isCollapsed&&t.push(r)}this.toggleCollapseState(t)}},e.prototype.dispose=function(){this._decorationProvider.deltaDecorations(this._editorDecorationIds,[])},e.prototype.getAllRegionsAtLine=function(e,t){var n=[];if(this._regions)for(var o=this._regions.findRange(e),i=1;o>=0;){var r=this._regions.toRegion(o);(!t||t(r,i))&&n.push(r),i++,o=r.parentIndex}return n},e.prototype.getRegionAtLine=function(e){if(this._regions){var t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null},e.prototype.getRegionsInside=function(e,t){var n=[],o=e?e.regionIndex+1:0,i=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length)for(var r=[],s=o,a=this._regions.length;a>s;s++){var l=this._regions.toRegion(s);if(!(this._regions.getStartLineNumber(s)<i))break;for(;r.length>0&&!l.containedBy(r[r.length-1]);)r.pop();r.push(l),t(l,r.length)&&n.push(l)}else for(var s=o,a=this._regions.length;a>s;s++){var l=this._regions.toRegion(s);if(!(this._regions.getStartLineNumber(s)<i))break;(!t||t(l))&&n.push(l)}return n},e}();t.FoldingModel=g,t.setCollapseStateLevelsDown=n,t.setCollapseStateLevelsUp=o,t.setCollapseStateAtLevel=i,t.setCollapseStateForMatchingLines=r,t.setCollapseStateForType=s});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingDecorations.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingDecorations",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),i=function(){function o(o){this.editor=o,this.autoHideFoldingControls=!0}return o.prototype.getDecorationOption=function(e){return e?o.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?o.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:o.EXPANDED_VISUAL_DECORATION},o.prototype.deltaDecorations=function(o,e){return this.editor.deltaDecorations(o,e)},o.prototype.changeDecorations=function(o){return this.editor.changeDecorations(o)},o.COLLAPSED_VISUAL_DECORATION=t.ModelDecorationOptions.register({stickiness:1,afterContentClassName:"inline-folded",linesDecorationsClassName:"folding collapsed"}),o.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=t.ModelDecorationOptions.register({stickiness:1,linesDecorationsClassName:"folding"}),o.EXPANDED_VISUAL_DECORATION=t.ModelDecorationOptions.register({stickiness:1,linesDecorationsClassName:"folding alwaysShowFoldIcons"}),o}();e.FoldingDecorationProvider=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/folding/hiddenRangeModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/folding/hiddenRangeModel",function(e,n){"use strict";function t(e,n){return e>=n.startLineNumber&&e<=n.endLineNumber}function i(e,n){var t=d.findFirstInSorted(e,function(e){return n<e.startLineNumber})-1;return t>=0&&e[t].endLineNumber>=n?e[t]:null}Object.defineProperty(n,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/base/common/event"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),s=function(){function e(e){var n=this;this._updateEventEmitter=new r.Emitter,this._foldingModel=e,this._foldingModelListener=e.onDidChange(function(){return n.updateHiddenRanges()}),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._updateEventEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenRanges",{get:function(){return this._hiddenRanges},enumerable:!0,configurable:!0}),e.prototype.updateHiddenRanges=function(){for(var e=!1,n=[],t=0,i=0,r=Number.MAX_VALUE,d=-1,s=this._foldingModel.regions;t<s.length;t++)if(s.isCollapsed(t)){var u=s.getStartLineNumber(t)+1,a=s.getEndLineNumber(t);u>=r&&d>=a||(!e&&i<this._hiddenRanges.length&&this._hiddenRanges[i].startLineNumber===u&&this._hiddenRanges[i].endLineNumber===a?(n.push(this._hiddenRanges[i]),i++):(e=!0,n.push(new o.Range(u,1,a,1))),r=u,d=a)}(e||i<this._hiddenRanges.length)&&this.applyHiddenRanges(n)},e.prototype.applyMemento=function(e){if(!Array.isArray(e)||0===e.length)return!1;for(var n=[],t=0,i=e;t<i.length;t++){var r=i[t];if(!r.startLineNumber||!r.endLineNumber)return!1;n.push(new o.Range(r.startLineNumber+1,1,r.endLineNumber,1))}return this.applyHiddenRanges(n),!0},e.prototype.getMemento=function(){return this._hiddenRanges.map(function(e){return{startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber}})},e.prototype.applyHiddenRanges=function(e){this._hiddenRanges=e,this._updateEventEmitter.fire(e)},e.prototype.hasRanges=function(){return this._hiddenRanges.length>0},e.prototype.isHidden=function(e){return null!==i(this._hiddenRanges,e)},e.prototype.adjustSelections=function(e){for(var n=this,r=!1,o=this._foldingModel.textModel,d=null,s=function(e){return d&&t(e,d)||(d=i(n._hiddenRanges,e)),d?d.startLineNumber-1:null},u=0,a=e.length;a>u;u++){var h=e[u],g=s(h.startLineNumber);g&&(h=h.setStartPosition(g,o.getLineMaxColumn(g)),r=!0);var l=s(h.endLineNumber);l&&(h=h.setEndPosition(l,o.getLineMaxColumn(l)),r=!0),e[u]=h}return r},e.prototype.dispose=function(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)},e}();n.HiddenRangeModel=s});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/folding/indentRangeProvider.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/folding/indentRangeProvider",function(e,n){"use strict";function t(e,n,t,i){void 0===i&&(i=s);var o=e.getOptions().tabSize,d=new a(i),g=void 0;t&&(g=new RegExp("("+t.start.source+")|(?:"+t.end.source+")"));var l=[];l.push({indent:-1,line:e.getLineCount()+1,marker:!1});for(var h=e.getLineCount();h>0;h--){var c=e.getLineContent(h),u=r.TextModel.computeIndentLevel(c,o),_=l[l.length-1];if(-1!==u){var f=void 0;if(g&&(f=c.match(g))){if(!f[1]){l.push({indent:-2,line:h,marker:!0});continue}for(var m=l.length-1;m>0&&!l[m].marker;)m--;if(m>0){l.length=m+1,_=l[m],d.insertFirst(h,_.line,u),_.marker=!1,_.indent=u,_.line=h;continue}}if(_.indent>u){do l.pop(),_=l[l.length-1];while(_.indent>u);var v=_.line-1;v-h>=1&&d.insertFirst(h,v,u)}_.indent===u?_.line=h:l.push({indent:u,line:h,marker:!1})}else n&&!_.marker&&(_.line=h)}return d.toIndentRanges(e)}Object.defineProperty(n,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingRanges"),r=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),o=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),s=5e3;n.ID_INDENT_PROVIDER="indent";var d=function(){function e(e){this.editorModel=e,this.id=n.ID_INDENT_PROVIDER}return e.prototype.dispose=function(){},e.prototype.compute=function(){var e=o.LanguageConfigurationRegistry.getFoldingRules(this.editorModel.getLanguageIdentifier().id),n=e&&!!e.offSide,i=e&&e.markers;return Promise.resolve(t(this.editorModel,n,i))},e}();n.IndentRangeProvider=d;var a=function(){function e(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}return e.prototype.insertFirst=function(e,n,t){if(!(e>i.MAX_LINE_NUMBER||n>i.MAX_LINE_NUMBER)){var r=this._length;this._startIndexes[r]=e,this._endIndexes[r]=n,this._length++,1e3>t&&(this._indentOccurrences[t]=(this._indentOccurrences[t]||0)+1)}},e.prototype.toIndentRanges=function(e){if(this._length<=this._foldingRangesLimit){for(var n=new Uint32Array(this._length),t=new Uint32Array(this._length),o=this._length-1,s=0;o>=0;o--,s++)n[s]=this._startIndexes[o],t[s]=this._endIndexes[o];return new i.FoldingRegions(n,t)}for(var d=0,a=this._indentOccurrences.length,o=0;o<this._indentOccurrences.length;o++){var g=this._indentOccurrences[o];if(g){if(g+d>this._foldingRangesLimit){a=o;break}d+=g}}for(var l=e.getOptions().tabSize,n=new Uint32Array(this._foldingRangesLimit),t=new Uint32Array(this._foldingRangesLimit),o=this._length-1,s=0;o>=0;o--){var h=this._startIndexes[o],c=e.getLineContent(h),u=r.TextModel.computeIndentLevel(c,l);(a>u||u===a&&d++<this._foldingRangesLimit)&&(n[s]=h,t[s]=this._endIndexes[o],s++)}return new i.FoldingRegions(n,t)},e}();n.RangesCollector=a,n.computeRanges=t});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/folding/syntaxRangeProvider.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/folding/syntaxRangeProvider",function(t,n){"use strict";function e(t,n,e){var i=null,r=t.map(function(t,r){return Promise.resolve(t.provideFoldingRanges(n,d,e)).then(function(t){if(!e.isCancellationRequested&&Array.isArray(t)){Array.isArray(i)||(i=[]);for(var s=n.getLineCount(),o=0,d=t;o<d.length;o++){var a=d[o];a.start>0&&a.end>a.start&&a.end<=s&&i.push({start:a.start,end:a.end,rank:r,kind:a.kind})}}},s.onUnexpectedExternalError)});return Promise.all(r).then(function(){return i})}function i(t,n){for(var e=t.sort(function(t,n){var e=t.start-n.start;return 0===e&&(e=t.rank-n.rank),e}),i=new h(n),s=void 0,r=[],o=0,d=e;o<d.length;o++){var a=d[o];if(s){if(a.start>s.start)if(a.end<=s.end)r.push(s),s=a,i.add(a.start,a.end,a.kind&&a.kind.value,r.length);else{if(a.start>s.end){do s=r.pop();while(s&&a.start>s.end);s&&r.push(s),s=a}i.add(a.start,a.end,a.kind&&a.kind.value,r.length)}}else s=a,i.add(a.start,a.end,a.kind&&a.kind.value,r.length)}return i.toIndentRanges()}Object.defineProperty(n,"__esModule",{value:!0});var s=t("node_modules/monaco-editor/esm/vs/base/common/errors"),r=t("node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingRanges"),o=5e3,d={};n.ID_SYNTAX_PROVIDER="syntax";var a=function(){function t(t,e,i){void 0===i&&(i=o),this.editorModel=t,this.providers=e,this.limit=i,this.id=n.ID_SYNTAX_PROVIDER}return t.prototype.compute=function(t){var n=this;return e(this.providers,this.editorModel,t).then(function(t){if(t){var e=i(t,n.limit);return e}return null})},t.prototype.dispose=function(){},t}();n.SyntaxRangeProvider=a;var h=function(){function t(t){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=t}return t.prototype.add=function(t,n,e,i){if(!(t>r.MAX_LINE_NUMBER||n>r.MAX_LINE_NUMBER)){var s=this._length;this._startIndexes[s]=t,this._endIndexes[s]=n,this._nestingLevels[s]=i,this._types[s]=e,this._length++,30>i&&(this._nestingLevelCounts[i]=(this._nestingLevelCounts[i]||0)+1)}},t.prototype.toIndentRanges=function(){if(this._length<=this._foldingRangesLimit){for(var t=new Uint32Array(this._length),n=new Uint32Array(this._length),e=0;e<this._length;e++)t[e]=this._startIndexes[e],n[e]=this._endIndexes[e];return new r.FoldingRegions(t,n,this._types)}for(var i=0,s=this._nestingLevelCounts.length,e=0;e<this._nestingLevelCounts.length;e++){var o=this._nestingLevelCounts[e];if(o){if(o+i>this._foldingRangesLimit){s=e;break}i+=o}}for(var t=new Uint32Array(this._foldingRangesLimit),n=new Uint32Array(this._foldingRangesLimit),d=[],e=0,a=0;e<this._length;e++){var h=this._nestingLevels[e];(s>h||h===s&&i++<this._foldingRangesLimit)&&(t[a]=this._startIndexes[e],n[a]=this._endIndexes[e],d[a]=this._types[e],a++)}return new r.FoldingRegions(t,n,d)},t}();n.RangesCollector=h,n.sanitizeRanges=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/folding/intializingRangeProvider.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/folding/intializingRangeProvider",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/syntaxRangeProvider");t.ID_INIT_PROVIDER="init";var o=function(){function e(e,i,o,n){if(this.editorModel=e,this.id=t.ID_INIT_PROVIDER,i.length){var r=function(t){return{range:{startLineNumber:t.startLineNumber,startColumn:0,endLineNumber:t.endLineNumber,endColumn:e.getLineLength(t.endLineNumber)},options:{stickiness:1}}};this.decorationIds=e.deltaDecorations([],i.map(r)),this.timeout=setTimeout(o,n)}}return e.prototype.dispose=function(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"==typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)},e.prototype.compute=function(){var e=[];if(this.decorationIds)for(var t=0,o=this.decorationIds;t<o.length;t++){var n=o[t],r=this.editorModel.getDecorationRange(n);r&&e.push({start:r.startLineNumber,end:r.endLineNumber,rank:1})}return Promise.resolve(i.sanitizeRanges(e,Number.MAX_VALUE))},e}();t.InitializingRangeProvider=o});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding",function(e,o){"use strict";function t(e){if(!s.isUndefined(e)){if(!s.isObject(e))return!1;var o=e;if(!s.isUndefined(o.levels)&&!s.isNumber(o.levels))return!1;if(!s.isUndefined(o.direction)&&!s.isString(o.direction))return!1;if(!(s.isUndefined(o.selectionLines)||s.isArray(o.selectionLines)&&o.selectionLines.every(s.isNumber)))return!1}return!0}Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),r=n.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),s=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/types")),l=e("node_modules/monaco-editor/esm/vs/base/common/strings"),d=e("node_modules/monaco-editor/esm/vs/base/common/async"),a=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),g=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),c=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingModel"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/foldingDecorations"),f=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),p=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/hiddenRangeModel"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),v=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/indentRangeProvider"),y=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),C=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/syntaxRangeProvider"),b=e("node_modules/monaco-editor/esm/vs/editor/contrib/folding/intializingRangeProvider"),R=e("node_modules/monaco-editor/esm/vs/base/common/errors");o.ID="editor.contrib.folding";var M=function(){function e(e){var o=this;this.editor=e,this._isEnabled=this.editor.getConfiguration().contribInfo.folding,this._autoHideFoldingControls="mouseover"===this.editor.getConfiguration().contribInfo.showFoldingControls,this._useFoldingProviders="indentation"!==this.editor.getConfiguration().contribInfo.foldingStrategy,this.globalToDispose=[],this.localToDispose=[],this.foldingDecorationProvider=new h.FoldingDecorationProvider(e),this.foldingDecorationProvider.autoHideFoldingControls=this._autoHideFoldingControls,this.globalToDispose.push(this.editor.onDidChangeModel(function(){return o.onModelChanged()})),this.globalToDispose.push(this.editor.onDidChangeConfiguration(function(e){if(e.contribInfo){var t=o._isEnabled;o._isEnabled=o.editor.getConfiguration().contribInfo.folding,t!==o._isEnabled&&o.onModelChanged();var n=o._autoHideFoldingControls;o._autoHideFoldingControls="mouseover"===o.editor.getConfiguration().contribInfo.showFoldingControls,n!==o._autoHideFoldingControls&&(o.foldingDecorationProvider.autoHideFoldingControls=o._autoHideFoldingControls,o.onModelContentChanged());var i=o._useFoldingProviders;o._useFoldingProviders="indentation"!==o.editor.getConfiguration().contribInfo.foldingStrategy,i!==o._useFoldingProviders&&o.onFoldingStrategyChanged()}})),this.globalToDispose.push({dispose:function(){return u.dispose(o.localToDispose)}}),this.onModelChanged()}return e.get=function(e){return e.getContribution(o.ID)},e.prototype.getId=function(){return o.ID},e.prototype.dispose=function(){this.globalToDispose=u.dispose(this.globalToDispose)},e.prototype.saveViewState=function(){var e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){var o=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),t=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:o,lineCount:e.getLineCount(),provider:t}}return void 0},e.prototype.restoreViewState=function(e){var o=this.editor.getModel();if(o&&this._isEnabled&&!o.isTooLargeForTokenization()&&this.hiddenRangeModel&&e&&e.collapsedRegions&&e.lineCount===o.getLineCount()){(e.provider===C.ID_SYNTAX_PROVIDER||e.provider===b.ID_INIT_PROVIDER)&&(this.foldingStateMemento=e);var t=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(t)){var n=this.getFoldingModel();n&&n.then(function(e){e&&e.applyMemento(t)}).then(void 0,R.onUnexpectedError)}}},e.prototype.onModelChanged=function(){var e=this;this.localToDispose=u.dispose(this.localToDispose);var o=this.editor.getModel();this._isEnabled&&o&&!o.isTooLargeForTokenization()&&(this.foldingModel=new c.FoldingModel(o,this.foldingDecorationProvider),this.localToDispose.push(this.foldingModel),this.hiddenRangeModel=new p.HiddenRangeModel(this.foldingModel),this.localToDispose.push(this.hiddenRangeModel),this.localToDispose.push(this.hiddenRangeModel.onDidChange(function(o){return e.onHiddenRangesChanges(o)})),this.updateScheduler=new d.Delayer(200),this.cursorChangedScheduler=new d.RunOnceScheduler(function(){return e.revealCursor()},200),this.localToDispose.push(this.cursorChangedScheduler),this.localToDispose.push(y.FoldingRangeProviderRegistry.onDidChange(function(){return e.onFoldingStrategyChanged()})),this.localToDispose.push(this.editor.onDidChangeModelLanguageConfiguration(function(){return e.onFoldingStrategyChanged()})),this.localToDispose.push(this.editor.onDidChangeModelContent(function(){return e.onModelContentChanged()})),this.localToDispose.push(this.editor.onDidChangeCursorPosition(function(){return e.onCursorPositionChanged()})),this.localToDispose.push(this.editor.onMouseDown(function(o){return e.onEditorMouseDown(o)})),this.localToDispose.push(this.editor.onMouseUp(function(o){return e.onEditorMouseUp(o)})),this.localToDispose.push({dispose:function(){e.foldingRegionPromise&&(e.foldingRegionPromise.cancel(),e.foldingRegionPromise=null),e.updateScheduler&&e.updateScheduler.cancel(),e.updateScheduler=null,e.foldingModel=null,e.foldingModelPromise=null,e.hiddenRangeModel=null,e.cursorChangedScheduler=null,e.foldingStateMemento=null,e.rangeProvider&&e.rangeProvider.dispose(),e.rangeProvider=null}}),this.onModelContentChanged())},e.prototype.onFoldingStrategyChanged=function(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()},e.prototype.getRangeProvider=function(e){var o=this;if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new v.IndentRangeProvider(e),this._useFoldingProviders&&this.foldingModel){var t=y.FoldingRangeProviderRegistry.ordered(this.foldingModel.textModel);if(0===t.length&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions){var n=this.rangeProvider=new b.InitializingRangeProvider(e,this.foldingStateMemento.collapsedRegions,function(){o.foldingStateMemento=null,o.onFoldingStrategyChanged()},3e4);return n}t.length>0&&(this.rangeProvider=new C.SyntaxRangeProvider(e,t))}return this.foldingStateMemento=null,this.rangeProvider},e.prototype.getFoldingModel=function(){return this.foldingModelPromise},e.prototype.onModelContentChanged=function(){var e=this;this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(function(){var o=e.foldingModel;if(!o)return null;var t=e.foldingRegionPromise=d.createCancelablePromise(function(t){return e.getRangeProvider(o.textModel).compute(t)});return t.then(function(n){if(n&&t===e.foldingRegionPromise){var i=e.editor.getSelections(),r=i?i.map(function(e){return e.startLineNumber}):[];o.update(n,r)}return o})}).then(void 0,function(e){return R.onUnexpectedError(e),null}))},e.prototype.onHiddenRangesChanges=function(e){if(this.hiddenRangeModel&&e.length){var o=this.editor.getSelections();o&&this.hiddenRangeModel.adjustSelections(o)&&this.editor.setSelections(o)}this.editor.setHiddenAreas(e)},e.prototype.onCursorPositionChanged=function(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()},e.prototype.revealCursor=function(){var e=this,o=this.getFoldingModel();o&&o.then(function(o){if(o){var t=e.editor.getSelections();if(t&&t.length>0){for(var n=[],i=function(t){var i=t.selectionStartLineNumber;e.hiddenRangeModel&&e.hiddenRangeModel.isHidden(i)&&n.push.apply(n,o.getAllRegionsAtLine(i,function(e){return e.isCollapsed&&i>e.startLineNumber}))},r=0,s=t;r<s.length;r++){var l=s[r];i(l)}n.length&&(o.toggleCollapseState(n),e.reveal(t[0].getPosition()))}}}).then(void 0,R.onUnexpectedError)},e.prototype.onEditorMouseDown=function(e){if(this.mouseDownInfo=null,this.hiddenRangeModel&&e.target&&e.target.range&&(e.event.leftButton||e.event.middleButton)){var o=e.target.range,t=!1;switch(e.target.type){case 4:var n=e.target.detail,i=e.target.element.offsetLeft,r=n.offsetX-i;if(5>r)return;t=!0;break;case 7:if(this.hiddenRangeModel.hasRanges()){var s=e.target.detail;if(!s.isAfterLines)break}return;case 6:if(this.hiddenRangeModel.hasRanges()){var l=this.editor.getModel();if(l&&o.startColumn===l.getLineMaxColumn(o.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:o.startLineNumber,iconClicked:t}}},e.prototype.onEditorMouseUp=function(e){var o=this,t=this.getFoldingModel();if(t&&this.mouseDownInfo&&e.target){var n=this.mouseDownInfo.lineNumber,i=this.mouseDownInfo.iconClicked,r=e.target.range;if(r&&r.startLineNumber===n){if(i){if(4!==e.target.type)return}else{var s=this.editor.getModel();if(!s||r.startColumn!==s.getLineMaxColumn(n))return}t.then(function(t){if(t){var r=t.getRegionAtLine(n);if(r&&r.startLineNumber===n){var s=r.isCollapsed;if(i||s){var l=[r];(e.event.middleButton||e.event.shiftKey)&&l.push.apply(l,t.getRegionsInside(r,function(e){return e.isCollapsed===s})),t.toggleCollapseState(l),o.reveal({lineNumber:n,column:1})}}}}).then(void 0,R.onUnexpectedError)}}},e.prototype.reveal=function(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)},e}();o.FoldingController=M;var F=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return i(o,e),o.prototype.runEditorCommand=function(e,o,t){var n=this,i=M.get(o);if(i){var r=i.getFoldingModel();return r?(this.reportTelemetry(e,o),r.then(function(e){if(e){n.invoke(i,e,o,t);var r=o.getSelection();r&&i.reveal(r.getStartPosition())}})):void 0}},o.prototype.getSelectedLines=function(e){var o=e.getSelections();return o?o.map(function(e){return e.startLineNumber}):[]},o.prototype.getLineNumbers=function(e,o){return e&&e.selectionLines?e.selectionLines.map(function(e){return e+1}):this.getSelectedLines(o)},o.prototype.run=function(){},o}(g.EditorAction),S=function(e){function o(){return e.call(this,{id:"editor.unfold",label:r.localize("unfoldAction.label","Unfold"),alias:"Unfold",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:"Property-value pairs that can be passed through this argument:\n * 'levels': Number of levels to unfold. If not set, defaults to 1.\n * 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n * 'selectionLines': The start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n ",constraint:t,schema:{type:"object",properties:{levels:{type:"number","default":1},direction:{type:"string","enum":["up","down"],"default":"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})||this}return i(o,e),o.prototype.invoke=function(e,o,t,n){var i=n&&n.levels||1,r=this.getLineNumbers(n,t);n&&"up"===n.direction?c.setCollapseStateLevelsUp(o,!1,i,r):c.setCollapseStateLevelsDown(o,!1,i,r)},o}(F),L=function(e){function o(){return e.call(this,{id:"editor.unfoldRecursively",label:r.localize("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:a.KeyChord(2089,2137),weight:100}})||this}return i(o,e),o.prototype.invoke=function(e,o,t){c.setCollapseStateLevelsDown(o,!1,Number.MAX_VALUE,this.getSelectedLines(t))},o}(F),D=function(e){function o(){return e.call(this,{id:"editor.fold",label:r.localize("foldAction.label","Fold"),alias:"Fold",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:"Property-value pairs that can be passed through this argument:\n * 'levels': Number of levels to fold. Defaults to 1.\n * 'direction': If 'up', folds given number of levels up otherwise folds down.\n * 'selectionLines': The start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n ",constraint:t,schema:{type:"object",properties:{levels:{type:"number","default":1},direction:{type:"string","enum":["up","down"],"default":"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})||this}return i(o,e),o.prototype.invoke=function(e,o,t,n){var i=n&&n.levels||1,r=this.getLineNumbers(n,t);n&&"up"===n.direction?c.setCollapseStateLevelsUp(o,!0,i,r):c.setCollapseStateLevelsDown(o,!0,i,r)},o}(F),P=function(e){function o(){return e.call(this,{id:"editor.foldRecursively",label:r.localize("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:a.KeyChord(2089,2135),weight:100}})||this}return i(o,e),o.prototype.invoke=function(e,o,t){var n=this.getSelectedLines(t);c.setCollapseStateLevelsDown(o,!0,Number.MAX_VALUE,n)},o}(F),_=function(e){function o(){return e.call(this,{id:"editor.foldAllBlockComments",label:r.localize("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:a.KeyChord(2089,2133),weight:100}})||this}return i(o,e),o.prototype.invoke=function(e,o,t){if(o.regions.hasTypes())c.setCollapseStateForType(o,y.FoldingRangeKind.Comment.value,!0);else{var n=t.getModel();if(!n)return;var i=m.LanguageConfigurationRegistry.getComments(n.getLanguageIdentifier().id);if(i&&i.blockCommentStartToken){var r=new RegExp("^\\s*"+l.escapeRegExpCharacters(i.blockCommentStartToken));c.setCollapseStateForMatchingLines(o,r,!0)}}},o}(F),E=function(e){function o(){return e.call(this,{id:"editor.foldAllMarkerRegions",label:r.localize("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:a.KeyChord(2089,2077),weight:100}})||this}return i(o,e),o.prototype.invoke=function(e,o,t){if(o.regions.hasTypes())c.setCollapseStateForType(o,y.FoldingRangeKind.Region.value,!0);else{var n=t.getModel();if(!n)return;var i=m.LanguageConfigurationRegistry.getFoldingRules(n.getLanguageIdentifier().id);if(i&&i.markers&&i.markers.start){var r=new RegExp(i.markers.start);c.setCollapseStateForMatchingLines(o,r,!0)}}},o}(F),k=function(e){function o(){return e.call(this,{id:"editor.unfoldAllMarkerRegions",label:r.localize("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:a.KeyChord(2089,2078),weight:100}})||this}return i(o,e),o.prototype.invoke=function(e,o,t){if(o.regions.hasTypes())c.setCollapseStateForType(o,y.FoldingRangeKind.Region.value,!1);else{var n=t.getModel();if(!n)return;var i=m.LanguageConfigurationRegistry.getFoldingRules(n.getLanguageIdentifier().id);if(i&&i.markers&&i.markers.start){var r=new RegExp(i.markers.start);c.setCollapseStateForMatchingLines(o,r,!1)}}},o}(F),w=function(e){function o(){return e.call(this,{id:"editor.foldAll",label:r.localize("foldAllAction.label","Fold All"),alias:"Fold All",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:a.KeyChord(2089,2069),weight:100}})||this}return i(o,e),o.prototype.invoke=function(e,o){c.setCollapseStateLevelsDown(o,!0)},o}(F),A=function(e){function o(){return e.call(this,{id:"editor.unfoldAll",label:r.localize("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:a.KeyChord(2089,2088),weight:100}})||this}return i(o,e),o.prototype.invoke=function(e,o){c.setCollapseStateLevelsDown(o,!1)},o}(F),T=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return i(o,e),o.prototype.getFoldingLevel=function(){return parseInt(this.id.substr(o.ID_PREFIX.length))},o.prototype.invoke=function(e,o,t){c.setCollapseStateAtLevel(o,this.getFoldingLevel(),!0,this.getSelectedLines(t))},o.ID_PREFIX="editor.foldLevel",o.ID=function(e){return o.ID_PREFIX+e},o}(F);g.registerEditorContribution(M),g.registerEditorAction(S),g.registerEditorAction(L),g.registerEditorAction(D),g.registerEditorAction(P),g.registerEditorAction(w),g.registerEditorAction(A),g.registerEditorAction(_),g.registerEditorAction(E),g.registerEditorAction(k);for(var x=1;7>=x;x++)g.registerInstantiatedEditorAction(new T({id:T.ID(x),label:r.localize("foldLevelAction.label","Fold Level {0}",x),alias:"Fold Level "+x,precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:a.KeyChord(2089,2048|21+x),weight:100}}))});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/fontZoom/fontZoom.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/fontZoom/fontZoom",function(o,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=o("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,t){o.__proto__=t}||function(o,t){for(var e in t)t.hasOwnProperty(e)&&(o[e]=t[e])})(t,e)};return function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}}(),i=e.__importStar(o("node_modules/monaco-editor/esm/vs/nls")),r=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),d=o("node_modules/monaco-editor/esm/vs/editor/common/config/editorZoom"),l=function(o){function t(){return o.call(this,{id:"editor.action.fontZoomIn",label:i.localize("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:null})||this}return n(t,o),t.prototype.run=function(){d.EditorZoom.setZoomLevel(d.EditorZoom.getZoomLevel()+1)},t}(r.EditorAction),c=function(o){function t(){return o.call(this,{id:"editor.action.fontZoomOut",label:i.localize("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:null})||this}return n(t,o),t.prototype.run=function(){d.EditorZoom.setZoomLevel(d.EditorZoom.getZoomLevel()-1)},t}(r.EditorAction),s=function(o){function t(){return o.call(this,{id:"editor.action.fontZoomReset",label:i.localize("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:null})||this}return n(t,o),t.prototype.run=function(){d.EditorZoom.setZoomLevel(0)},t}(r.EditorAction);r.registerEditorAction(l),r.registerEditorAction(c),r.registerEditorAction(s)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/format/formattingEdit.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/format/formattingEdit",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),n=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),r=function(){function e(){}return e._handleEolEdits=function(e,t){for(var o=void 0,n=[],r=0,i=t;r<i.length;r++){var d=i[r];"number"==typeof d.eol&&(o=d.eol),d.range&&"string"==typeof d.text&&n.push(d)}return"number"==typeof o&&e.hasModel()&&e.getModel().pushEOL(o),n},e._isFullModelReplaceEdit=function(e,t){if(!e.hasModel())return!1;var o=e.getModel(),n=o.validateRange(t.range),r=o.getFullModelRange();return r.equalsRange(n)},e.execute=function(t,r){t.pushUndoStop();var i=e._handleEolEdits(t,r);1===i.length&&e._isFullModelReplaceEdit(t,i[0])?t.executeEdits("formatEditsCommand",i.map(function(e){return o.EditOperation.replace(n.Range.lift(e.range),e.text)})):t.executeEdits("formatEditsCommand",i.map(function(e){return o.EditOperation.replaceMove(n.Range.lift(e.range),e.text)})),t.pushUndoStop()},e}();t.FormattingEdit=r});
;/*!node_modules/monaco-editor/esm/vs/platform/extensions/common/extensions.js*/
define("node_modules/monaco-editor/esm/vs/platform/extensions/common/extensions",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=function(){function e(e){this.value=e,this._lower=e.toLowerCase()}return e.toKey=function(e){return"string"==typeof e?e.toLowerCase():e._lower},e}();o.ExtensionIdentifier=n});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/format/format.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/format/format",function(e,t){"use strict";function n(e){if(e=e.filter(function(e){return e.range}),e.length){for(var t=e[0].range,n=1;n<e.length;n++)t=I.Range.plusRange(t,e[n].range);var o=t.startLineNumber,r=t.endLineNumber;v.alert(o===r?1===e.length?C.localize("hint11","Made 1 formatting edit on line {0}",o):C.localize("hintn1","Made {0} formatting edits on line {1}",e.length,o):1===e.length?C.localize("hint1n","Made 1 formatting edit between lines {0} and {1}",o,r):C.localize("hintnn","Made {0} formatting edits between lines {1} and {2}",e.length,o,r))}}function o(e){for(var t=[],n=new Set,o=R.DocumentFormattingEditProviderRegistry.ordered(e),r=0,i=o;r<i.length;r++){var a=i[r];t.push(a),a.extensionId&&n.add(P.ExtensionIdentifier.toKey(a.extensionId))}for(var s=R.DocumentRangeFormattingEditProviderRegistry.ordered(e),u=function(e){if(e.extensionId){if(n.has(P.ExtensionIdentifier.toKey(e.extensionId)))return"continue";n.add(P.ExtensionIdentifier.toKey(e.extensionId))}t.push({displayName:e.displayName,extensionId:e.extensionId,provideDocumentFormattingEdits:function(t,n,o){return e.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),n,o)}})},c=0,d=s;c<d.length;c++){var a=d[c];u(a)}return t}function r(e,t,n,o,r){return m(this,void 0,void 0,function(){var a,s,u,c;return g(this,function(d){switch(d.label){case 0:return a=e.get(k.IInstantiationService),s=w.isCodeEditor(t)?t.getModel():t,u=R.DocumentRangeFormattingEditProviderRegistry.ordered(s),[4,N.select(u,s,o)];case 1:return c=d.sent(),c?[4,a.invokeFunction(i,c,t,n,r)]:[3,3];case 2:d.sent(),d.label=3;case 3:return[2]}})})}function i(e,t,o,r,i){return m(this,void 0,void 0,function(){var a,s,u,c,d,l,m,v,f;return g(this,function(g){switch(g.label){case 0:return a=e.get(M.IEditorWorkerService),w.isCodeEditor(o)?(s=o.getModel(),c=new E.EditorState(o,5),u=function(){return c.validate(o)}):(s=o,d=o.getVersionId(),u=function(){return d===o.getVersionId()}),[4,t.provideDocumentRangeFormattingEdits(s,r,s.getFormattingOptions(),i)];case 1:return l=g.sent(),[4,a.computeMoreMinimalEdits(s.uri,l)];case 2:return m=g.sent(),u()?m&&0!==m.length?(w.isCodeEditor(o)?(F.FormattingEdit.execute(o,m),n(m),o.pushUndoStop(),o.focus(),o.revealPositionInCenterIfOutsideViewport(o.getPosition(),1)):(v=m[0].range,f=new _.Selection(v.startLineNumber,v.startColumn,v.endLineNumber,v.endColumn),s.pushEditOperations([f],m.map(function(e){return{text:e.text,range:I.Range.lift(e.range),forceMoveMarkers:!0}}),function(e){for(var t=0,n=e;t<n.length;t++){var o=n[t].range;if(I.Range.areIntersectingOrTouching(o,f))return[new _.Selection(o.startLineNumber,o.startColumn,o.endLineNumber,o.endColumn)]}return null})),[2,!0]):[2,!1]:[2,!0]}})})}function a(e,t,n,r){return m(this,void 0,void 0,function(){var i,a,u,c;return g(this,function(d){switch(d.label){case 0:return i=e.get(k.IInstantiationService),a=w.isCodeEditor(t)?t.getModel():t,u=o(a),[4,N.select(u,a,n)];case 1:return c=d.sent(),c?[4,i.invokeFunction(s,c,t,n,r)]:[3,3];case 2:d.sent(),d.label=3;case 3:return[2]}})})}function s(e,t,o,r,i){return m(this,void 0,void 0,function(){var a,s,u,c,d,l,m;return g(this,function(g){switch(g.label){case 0:return a=e.get(M.IEditorWorkerService),w.isCodeEditor(o)?(s=o.getModel(),u=new E.EditorStateCancellationTokenSource(o,5,i)):(s=o,u=new E.TextModelCancellationTokenSource(o,i)),[4,t.provideDocumentFormattingEdits(s,s.getFormattingOptions(),u.token)];case 1:return c=g.sent(),[4,a.computeMoreMinimalEdits(s.uri,c)];case 2:return d=g.sent(),u.token.isCancellationRequested?[2,!0]:d&&0!==d.length?(w.isCodeEditor(o)?(F.FormattingEdit.execute(o,d),2!==r&&(n(d),o.pushUndoStop(),o.focus(),o.revealPositionInCenterIfOutsideViewport(o.getPosition(),1))):(l=d[0].range,m=new _.Selection(l.startLineNumber,l.startColumn,l.endLineNumber,l.endColumn),s.pushEditOperations([m],d.map(function(e){return{text:e.text,range:I.Range.lift(e.range),forceMoveMarkers:!0}}),function(e){for(var t=0,n=e;t<n.length;t++){var o=n[t].range;if(I.Range.areIntersectingOrTouching(o,m))return[new _.Selection(o.startLineNumber,o.startColumn,o.endLineNumber,o.endColumn)]}return null})),[2,!0]):[2,!1]}})})}function u(e,t,n,o,r){return m(this,void 0,void 0,function(){var i,a,s,u,c;return g(this,function(d){switch(d.label){case 0:i=R.DocumentRangeFormattingEditProviderRegistry.ordered(t),a=0,s=i,d.label=1;case 1:return a<s.length?(u=s[a],[4,Promise.resolve(u.provideDocumentRangeFormattingEdits(t,n,o,r)).catch(p.onUnexpectedExternalError)]):[3,5];case 2:return c=d.sent(),f.isNonEmptyArray(c)?[4,e.computeMoreMinimalEdits(t.uri,c)]:[3,4];case 3:return[2,d.sent()];case 4:return a++,[3,1];case 5:return[2,void 0]}})})}function c(e,t,n,r){return m(this,void 0,void 0,function(){var i,a,s,u,c;return g(this,function(d){switch(d.label){case 0:i=o(t),a=0,s=i,d.label=1;case 1:return a<s.length?(u=s[a],[4,Promise.resolve(u.provideDocumentFormattingEdits(t,n,r)).catch(p.onUnexpectedExternalError)]):[3,5];case 2:return c=d.sent(),f.isNonEmptyArray(c)?[4,e.computeMoreMinimalEdits(t.uri,c)]:[3,4];case 3:return[2,d.sent()];case 4:return a++,[3,1];case 5:return[2,void 0]}})})}function d(e,t,n,o,r){var i=R.OnTypeFormattingEditProviderRegistry.ordered(t);return 0===i.length?Promise.resolve(void 0):i[0].autoFormatTriggerCharacters.indexOf(o)<0?Promise.resolve(void 0):Promise.resolve(i[0].provideOnTypeFormattingEdits(t,n,o,r,h.CancellationToken.None)).catch(p.onUnexpectedExternalError).then(function(n){return e.computeMoreMinimalEdits(t.uri,n)})}Object.defineProperty(t,"__esModule",{value:!0});var l=e("node_modules/tslib/tslib"),m=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function a(e){try{u(o.next(e))}catch(t){i(t)}}function s(e){try{u(o["throw"](e))}catch(t){i(t)}}function u(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(a,s)}u((o=o.apply(e,t||[])).next())})},g=this&&this.__generator||function(e,t){function n(e){return function(t){return o([e,t])}}function o(n){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,i&&(a=2&n[0]?i["return"]:n[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,n[1])).done)return a;switch(i=0,a&&(n=[2&n[0],a.value]),n[0]){case 0:case 1:a=n;break;case 4:return u.label++,{value:n[1],done:!1};case 5:u.label++,i=n[1],n=[0];continue;case 7:n=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){u=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]<a[3])){u.label=n[1];break}if(6===n[0]&&u.label<a[1]){u.label=a[1],a=n;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(n);break}a[2]&&u.ops.pop(),u.trys.pop();continue}n=t.call(e,u)}catch(o){n=[6,o],i=0}finally{r=a=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var r,i,a,s,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:n(0),"throw":n(1),"return":n(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s},v=e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria"),f=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),h=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),p=e("node_modules/monaco-editor/esm/vs/base/common/errors"),b=e("node_modules/monaco-editor/esm/vs/base/common/uri"),E=e("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState"),w=e("node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser"),x=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),y=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),I=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),_=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),R=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),M=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService"),S=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),F=e("node_modules/monaco-editor/esm/vs/editor/contrib/format/formattingEdit"),C=l.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),P=e("node_modules/monaco-editor/esm/vs/platform/extensions/common/extensions"),k=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),D=e("node_modules/monaco-editor/esm/vs/base/common/linkedList");t.alertFormattingEdits=n,t.getRealAndSyntheticDocumentFormattersOrdered=o;var N=function(){function e(){}return e.select=function(t,n,o){return m(this,void 0,void 0,function(){var r;return g(this,function(i){switch(i.label){case 0:return 0===t.length?[2,void 0]:(r=e._selectors.iterator().next().value,r?[4,r(t,n,o)]:[3,2]);case 1:return[2,i.sent()];case 2:return[2,t[0]]}})})},e._selectors=new D.LinkedList,e}();t.FormattingConflicts=N,t.formatDocumentRangeWithSelectedProvider=r,t.formatDocumentRangeWithProvider=i,t.formatDocumentWithSelectedProvider=a,t.formatDocumentWithProvider=s,t.getDocumentRangeFormattingEditsUntilResult=u,t.getDocumentFormattingEditsUntilResult=c,t.getOnTypeFormattingEdits=d,x.registerLanguageCommand("_executeFormatRangeProvider",function(e,t){var n=t.resource,o=t.range,r=t.options;if(!(n instanceof b.URI&&I.Range.isIRange(o)))throw p.illegalArgument();var i=e.get(S.IModelService).getModel(n);if(!i)throw p.illegalArgument("resource");return u(e.get(M.IEditorWorkerService),i,I.Range.lift(o),r,h.CancellationToken.None)}),x.registerLanguageCommand("_executeFormatDocumentProvider",function(e,t){var n=t.resource,o=t.options;if(!(n instanceof b.URI))throw p.illegalArgument("resource");var r=e.get(S.IModelService).getModel(n);if(!r)throw p.illegalArgument("resource");return c(e.get(M.IEditorWorkerService),r,o,h.CancellationToken.None)}),x.registerLanguageCommand("_executeFormatOnTypeProvider",function(e,t){var n=t.resource,o=t.position,r=t.ch,i=t.options;if(!(n instanceof b.URI&&y.Position.isIPosition(o)&&"string"==typeof r))throw p.illegalArgument();var a=e.get(S.IModelService).getModel(n);if(!a)throw p.illegalArgument("resource");return d(e.get(M.IEditorWorkerService),a,y.Position.lift(o),r,i)})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/format/formatActions.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/format/formatActions",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,s=3>r?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(3>r?i(s):r>3?i(e,o,s):i(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},r=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}},s=this&&this.__awaiter||function(t,e,o,n){return new(o||(o=Promise))(function(i,r){function s(t){try{c(n.next(t))}catch(e){r(e)}}function a(t){try{c(n["throw"](t))}catch(e){r(e)}}function c(t){t.done?i(t.value):new o(function(e){e(t.value)}).then(s,a)}c((n=n.apply(t,e||[])).next())})},a=this&&this.__generator||function(t,e){function o(t){return function(e){return n([t,e])}}function n(o){if(i)throw new TypeError("Generator is already executing.");for(;c;)try{if(i=1,r&&(s=2&o[0]?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;switch(r=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return c.label++,{value:o[1],done:!1};case 5:c.label++,r=o[1],o=[0];continue;case 7:o=c.ops.pop(),c.trys.pop();continue;default:if(s=c.trys,!(s=s.length>0&&s[s.length-1])&&(6===o[0]||2===o[0])){c=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){c.label=o[1];break}if(6===o[0]&&c.label<s[1]){c.label=s[1],s=o;break}if(s&&c.label<s[2]){c.label=s[2],c.ops.push(o);break}s[2]&&c.ops.pop(),c.trys.pop();continue}o=e.call(t,c)}catch(n){o=[6,n],r=0}finally{i=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var i,r,s,a,c={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:o(0),"throw":o(1),"return":o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},c=this,d=t("node_modules/monaco-editor/esm/vs/base/common/arrays"),l=t("node_modules/monaco-editor/esm/vs/base/common/cancellation"),u=t("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),m=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),h=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),p=t("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),f=t("node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier"),g=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),_=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),v=t("node_modules/monaco-editor/esm/vs/editor/common/modes"),y=t("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService"),b=t("node_modules/monaco-editor/esm/vs/editor/contrib/format/format"),C=t("node_modules/monaco-editor/esm/vs/editor/contrib/format/formattingEdit"),D=o.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),O=t("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),E=t("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),x=t("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),S=t("node_modules/monaco-editor/esm/vs/base/common/errors"),w=function(){function t(t,e){var o=this;this._workerService=e,this._callOnDispose=[],this._callOnModel=[],this._editor=t,this._callOnDispose.push(t.onDidChangeConfiguration(function(){return o._update()})),this._callOnDispose.push(t.onDidChangeModel(function(){return o._update()})),this._callOnDispose.push(t.onDidChangeModelLanguage(function(){return o._update()})),this._callOnDispose.push(v.OnTypeFormattingEditProviderRegistry.onDidChange(this._update,this))}return t.prototype.getId=function(){return t.ID},t.prototype.dispose=function(){this._callOnDispose=m.dispose(this._callOnDispose),this._callOnModel=m.dispose(this._callOnModel)},t.prototype._update=function(){var t=this;if(this._callOnModel=m.dispose(this._callOnModel),this._editor.getConfiguration().contribInfo.formatOnType&&this._editor.hasModel()){var e=this._editor.getModel(),o=v.OnTypeFormattingEditProviderRegistry.ordered(e)[0];if(o&&o.autoFormatTriggerCharacters){for(var n=new f.CharacterSet,i=0,r=o.autoFormatTriggerCharacters;i<r.length;i++){var s=r[i];n.add(s.charCodeAt(0))}this._callOnModel.push(this._editor.onDidType(function(e){var o=e.charCodeAt(e.length-1);n.has(o)&&t._trigger(String.fromCharCode(o))}))}}},t.prototype._trigger=function(t){var e=this;if(this._editor.hasModel()&&!(this._editor.getSelections().length>1)){var o=this._editor.getModel(),n=this._editor.getPosition(),i=!1,r=this._editor.onDidChangeModelContent(function(t){if(t.isFlush)return i=!0,void r.dispose();for(var e=0,o=t.changes.length;o>e;e++){var s=t.changes[e];if(s.range.endLineNumber<=n.lineNumber)return i=!0,void r.dispose()}});b.getOnTypeFormattingEdits(this._workerService,o,n,t,o.getFormattingOptions()).then(function(t){r.dispose(),i||d.isNonEmptyArray(t)&&(C.FormattingEdit.execute(e._editor,t),b.alertFormattingEdits(t))},function(t){throw r.dispose(),t})}},t.ID="editor.contrib.autoFormat",t=i([r(1,y.IEditorWorkerService)],t)}(),M=function(){function t(t,e){var o=this;this.editor=t,this._instantiationService=e,this._callOnDispose=[],this._callOnModel=[],this._callOnDispose.push(t.onDidChangeConfiguration(function(){return o._update()})),this._callOnDispose.push(t.onDidChangeModel(function(){return o._update()})),this._callOnDispose.push(t.onDidChangeModelLanguage(function(){return o._update()})),this._callOnDispose.push(v.DocumentRangeFormattingEditProviderRegistry.onDidChange(this._update,this))}return t.prototype.getId=function(){return t.ID},t.prototype.dispose=function(){this._callOnDispose=m.dispose(this._callOnDispose),this._callOnModel=m.dispose(this._callOnModel)},t.prototype._update=function(){var t=this;this._callOnModel=m.dispose(this._callOnModel),this.editor.getConfiguration().contribInfo.formatOnPaste&&this.editor.hasModel()&&v.DocumentRangeFormattingEditProviderRegistry.has(this.editor.getModel())&&this._callOnModel.push(this.editor.onDidPaste(function(e){return t._trigger(e)}))},t.prototype._trigger=function(t){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(b.formatDocumentRangeWithSelectedProvider,this.editor,t,2,l.CancellationToken.None).catch(S.onUnexpectedError))},t.ID="editor.contrib.formatOnPaste",t=i([r(1,x.IInstantiationService)],t)}(),F=function(t){function e(){return t.call(this,{id:"editor.action.formatDocument",label:D.localize("formatDocument.label","Format Document"),alias:"Format Document",precondition:E.ContextKeyExpr.and(_.EditorContextKeys.writable,_.EditorContextKeys.hasDocumentFormattingProvider),kbOpts:{kbExpr:E.ContextKeyExpr.and(_.EditorContextKeys.editorTextFocus,_.EditorContextKeys.hasDocumentFormattingProvider),primary:1572,linux:{primary:3111},weight:100},menuOpts:{when:_.EditorContextKeys.hasDocumentFormattingProvider,group:"1_modification",order:1.3}})||this}return n(e,t),e.prototype.run=function(t,e){return s(this,void 0,void 0,function(){var o;return a(this,function(n){switch(n.label){case 0:return e.hasModel()?(o=t.get(x.IInstantiationService),[4,o.invokeFunction(b.formatDocumentWithSelectedProvider,e,1,l.CancellationToken.None)]):[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e}(h.EditorAction),P=function(t){function e(){return t.call(this,{id:"editor.action.formatSelection",label:D.localize("formatSelection.label","Format Selection"),alias:"Format Code",precondition:E.ContextKeyExpr.and(_.EditorContextKeys.writable,_.EditorContextKeys.hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:E.ContextKeyExpr.and(_.EditorContextKeys.editorTextFocus,_.EditorContextKeys.hasDocumentSelectionFormattingProvider),primary:u.KeyChord(2089,2084),weight:100},menuOpts:{when:E.ContextKeyExpr.and(_.EditorContextKeys.hasDocumentSelectionFormattingProvider,_.EditorContextKeys.hasNonEmptySelection),group:"1_modification",order:1.31}})||this}return n(e,t),e.prototype.run=function(t,e){return s(this,void 0,void 0,function(){var o,n,i;return a(this,function(r){switch(r.label){case 0:return e.hasModel()?(o=t.get(x.IInstantiationService),n=e.getModel(),i=e.getSelection(),i.isEmpty()&&(i=new g.Range(i.startLineNumber,1,i.startLineNumber,n.getLineMaxColumn(i.startLineNumber))),[4,o.invokeFunction(b.formatDocumentRangeWithSelectedProvider,e,i,1,l.CancellationToken.None)]):[2];case 1:return r.sent(),[2]}})})},e}(h.EditorAction);h.registerEditorContribution(w),h.registerEditorContribution(M),h.registerEditorAction(F),h.registerEditorAction(P),O.CommandsRegistry.registerCommand("editor.action.format",function(t){return s(c,void 0,void 0,function(){var e,o;return a(this,function(n){switch(n.label){case 0:return e=t.get(p.ICodeEditorService).getFocusedCodeEditor(),e&&e.hasModel()?(o=t.get(O.ICommandService),e.getSelection().isEmpty()?[4,o.executeCommand("editor.action.formatDocument")]:[3,2]):[2];case 1:return n.sent(),[3,4];case 2:return[4,o.executeCommand("editor.action.formatSelection")];case 3:n.sent(),n.label=4;case 4:return[2]}})})})});
;/*!node_modules/monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function i(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),n=this&&this.__decorate||function(o,e,t,i){var n,r=arguments.length,s=3>r?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(o,e,t,i);else for(var c=o.length-1;c>=0;c--)(n=o[c])&&(s=(3>r?n(s):r>3?n(e,t,s):n(e,t))||s);return r>3&&s&&Object.defineProperty(e,t,s),s},r=this&&this.__param||function(o,e){return function(t,i){e(t,i,o)}},s=t.__importStar(o("node_modules/monaco-editor/esm/vs/base/common/objects")),c=o("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),d=o("node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget"),a=o("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),m=o("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),p=o("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),u=o("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),f=o("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),l=o("node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility"),_=function(o){function e(e,t,i,n,r,s,c,d,a,m){var p=o.call(this,e,i.getRawConfiguration(),{},n,r,s,c,d,a,m)||this;return p._parentEditor=i,p._overwriteOptions=t,o.prototype.updateOptions.call(p,p._overwriteOptions),p._register(i.onDidChangeConfiguration(function(o){return p._onParentConfigurationChanged(o)})),p}return i(e,o),e.prototype.getParentEditor=function(){return this._parentEditor},e.prototype._onParentConfigurationChanged=function(){o.prototype.updateOptions.call(this,this._parentEditor.getRawConfiguration()),o.prototype.updateOptions.call(this,this._overwriteOptions)},e.prototype.updateOptions=function(e){s.mixin(this._overwriteOptions,e,!0),o.prototype.updateOptions.call(this,this._overwriteOptions)},e=n([r(3,p.IInstantiationService),r(4,c.ICodeEditorService),r(5,a.ICommandService),r(6,m.IContextKeyService),r(7,f.IThemeService),r(8,u.INotificationService),r(9,l.IAccessibilityService)],e)}(d.CodeEditorWidget);e.EmbeddedCodeEditorWidget=_});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/zoneWidget/zoneWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/zoneWidget/zoneWidget",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),i=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),n=t("node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash"),s=t("node_modules/monaco-editor/esm/vs/base/common/color"),r=t("node_modules/monaco-editor/esm/vs/base/common/idGenerator"),h=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=o.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/objects")),d=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),l=t("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),p=new s.Color(new s.RGBA(0,122,204)),u={showArrow:!0,showFrame:!0,className:"",frameColor:p,arrowColor:p,keepEditorSelection:!1},c="vs.editor.contrib.zoneWidget",m=function(){function t(t,e,o,i,n,s){this.domNode=t,this.afterLineNumber=e,this.afterColumn=o,this.heightInLines=i,this._onDomNodeTop=n,this._onComputedHeight=s}return t.prototype.onDomNodeTop=function(t){this._onDomNodeTop(t)},t.prototype.onComputedHeight=function(t){this._onComputedHeight(t)},t}();e.ViewZoneDelegate=m;var _=function(){function t(t,e){this._id=t,this._domNode=e}return t.prototype.getId=function(){return this._id},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return null},t}();e.OverlayWidgetDelegate=_;var g=function(){function t(e){this._editor=e,this._ruleName=t._IdGenerator.nextId(),this._decorations=[]}return t.prototype.dispose=function(){this.hide(),i.removeCSSRulesContainingSelector(this._ruleName)},Object.defineProperty(t.prototype,"color",{set:function(t){this._color!==t&&(this._color=t,this._updateStyle())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{set:function(t){this._height!==t&&(this._height=t,this._updateStyle())},enumerable:!0,configurable:!0}),t.prototype._updateStyle=function(){i.removeCSSRulesContainingSelector(this._ruleName),i.createCSSRule(".monaco-editor "+this._ruleName,"border-style: solid; border-color: transparent; border-bottom-color: "+this._color+"; border-width: "+this._height+"px; bottom: -"+this._height+"px; margin-left: -"+this._height+"px; ")},t.prototype.show=function(t){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:d.Range.fromPositions(t),options:{className:this._ruleName,stickiness:1}}])},t.prototype.hide=function(){this._editor.deltaDecorations(this._decorations,[])},t._IdGenerator=new r.IdGenerator(".arrow-decoration-"),t}(),v=function(){function t(t,e){var o=this;void 0===e&&(e={}),this._positionMarkerId=[],this._disposables=[],this._isShowing=!1,this.editor=t,this.options=a.deepClone(e),a.mixin(this.options,u,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.push(this.editor.onDidLayoutChange(function(t){var e=o._getWidth(t);o.domNode.style.width=e+"px",o.domNode.style.left=o._getLeft(t)+"px",o._onWidth(e)}))}return t.prototype.dispose=function(){var t=this;h.dispose(this._disposables),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(function(e){t._viewZone&&e.removeZone(t._viewZone.id),t._viewZone=null}),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[]},t.prototype.create=function(){i.addClass(this.domNode,"zone-widget"),this.options.className&&i.addClass(this.domNode,this.options.className),this.container=document.createElement("div"),i.addClass(this.container,"zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new g(this.editor),this._disposables.push(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()},t.prototype.style=function(t){t.frameColor&&(this.options.frameColor=t.frameColor),t.arrowColor&&(this.options.arrowColor=t.arrowColor),this._applyStyles()},t.prototype._applyStyles=function(){if(this.container&&this.options.frameColor){var t=this.options.frameColor.toString();this.container.style.borderTopColor=t,this.container.style.borderBottomColor=t}if(this._arrow&&this.options.arrowColor){var e=this.options.arrowColor.toString();this._arrow.color=e}},t.prototype._getWidth=function(t){return t.width-t.minimapWidth-t.verticalScrollbarWidth},t.prototype._getLeft=function(t){return t.minimapWidth>0&&0===t.minimapLeft?t.minimapWidth:0},t.prototype._onViewZoneTop=function(t){this.domNode.style.top=t+"px"},t.prototype._onViewZoneHeight=function(t){this.domNode.style.height=t+"px";var e=t-this._decoratingElementsHeight();this.container.style.height=e+"px";var o=this.editor.getLayoutInfo();this._doLayout(e,this._getWidth(o)),this._resizeSash.layout()},Object.defineProperty(t.prototype,"position",{get:function(){var t=this._positionMarkerId[0];if(!t)return void 0;var e=this.editor.getModel();if(!e)return void 0;var o=e.getDecorationRange(t);return o?o.getStartPosition():void 0},enumerable:!0,configurable:!0}),t.prototype.show=function(t,e){var o=d.Range.isIRange(t)?t:new d.Range(t.lineNumber,t.column,t.lineNumber,t.column);this._isShowing=!0,this._showImpl(o,e),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:o,options:l.ModelDecorationOptions.EMPTY}])},t.prototype.hide=function(){var t=this;this._viewZone&&(this.editor.changeViewZones(function(e){t._viewZone&&e.removeZone(t._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()},t.prototype._decoratingElementsHeight=function(){var t=this.editor.getConfiguration().lineHeight,e=0;if(this.options.showArrow){var o=Math.round(t/3);e+=2*o}if(this.options.showFrame){var i=Math.round(t/9);e+=2*i}return e},t.prototype._showImpl=function(t,e){var o=this,i={lineNumber:t.startLineNumber,column:t.startColumn},n=this.editor.getLayoutInfo(),s=this._getWidth(n);this.domNode.style.width=s+"px",this.domNode.style.left=this._getLeft(n)+"px";var r=document.createElement("div");r.style.overflow="hidden";var h=this.editor.getConfiguration().lineHeight,a=this.editor.getLayoutInfo().height/h*.8;e>=a&&(e=a);var d=0,l=0;if(this.options.showArrow&&(d=Math.round(h/3),this._arrow.height=d,this._arrow.show(i)),this.options.showFrame&&(l=Math.round(h/9)),this.editor.changeViewZones(function(t){o._viewZone&&t.removeZone(o._viewZone.id),o._overlayWidget&&(o.editor.removeOverlayWidget(o._overlayWidget),o._overlayWidget=null),o.domNode.style.top="-1000px",o._viewZone=new m(r,i.lineNumber,i.column,e,function(t){return o._onViewZoneTop(t)},function(t){return o._onViewZoneHeight(t)}),o._viewZone.id=t.addZone(o._viewZone),o._overlayWidget=new _(c+o._viewZone.id,o.domNode),o.editor.addOverlayWidget(o._overlayWidget)}),this.options.showFrame){var p=this.options.frameWidth?this.options.frameWidth:l;this.container.style.borderTopWidth=p+"px",this.container.style.borderBottomWidth=p+"px"}var u=e*h-this._decoratingElementsHeight();this.container.style.top=d+"px",this.container.style.height=u+"px",this.container.style.overflow="hidden",this._doLayout(u,s),this.options.keepEditorSelection||this.editor.setSelection(t);var g=this.editor.getModel();if(g){var v=Math.min(g.getLineCount(),Math.max(1,t.endLineNumber+1));this.revealLine(v)}},t.prototype.revealLine=function(t){this.editor.revealLine(t,0)},t.prototype.setCssClass=function(t,e){e&&this.container.classList.remove(e),i.addClass(this.container,t)},t.prototype._onWidth=function(){},t.prototype._doLayout=function(){},t.prototype._relayout=function(t){var e=this;this._viewZone&&this._viewZone.heightInLines!==t&&this.editor.changeViewZones(function(o){e._viewZone&&(e._viewZone.heightInLines=t,o.layoutZone(e._viewZone.id))})},t.prototype._initSash=function(){var t=this;this._resizeSash=new n.Sash(this.domNode,this,{orientation:1}),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0);var e;this._disposables.push(this._resizeSash.onDidStart(function(o){t._viewZone&&(e={startY:o.startY,heightInLines:t._viewZone.heightInLines})})),this._disposables.push(this._resizeSash.onDidEnd(function(){e=void 0})),this._disposables.push(this._resizeSash.onDidChange(function(o){if(e){var i=(o.currentY-e.startY)/t.editor.getConfiguration().lineHeight,n=0>i?Math.ceil(i):Math.floor(i),s=e.heightInLines+n;s>5&&35>s&&t._relayout(s)}}))},t.prototype.getHorizontalSashLeft=function(){return 0},t.prototype.getHorizontalSashTop=function(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2},t.prototype.getHorizontalSashWidth=function(){var t=this.editor.getLayoutInfo();return t.width-t.minimapWidth},t}();e.ZoneWidget=v});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/peekViewWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/peekViewWidget",function(e,o){"use strict";function t(e){var o=e.get(p.ICodeEditorService).getFocusedCodeEditor();return o instanceof h.EmbeddedCodeEditorWidget?o.getParentEditor():o}Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function i(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),r=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=e("node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar"),d=e("node_modules/monaco-editor/esm/vs/base/common/actions"),a=e("node_modules/monaco-editor/esm/vs/base/common/color"),c=e("node_modules/monaco-editor/esm/vs/base/common/event"),l=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/objects")),m=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),p=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),h=e("node_modules/monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/zoneWidget/zoneWidget"),g=i.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),u=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),y=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),f=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions");o.IPeekViewService=y.createDecorator("IPeekViewService"),f.registerSingleton(o.IPeekViewService,function(){function e(){this._widgets=new Map}return e.prototype.addExclusiveWidget=function(e,o){var t=this,i=this._widgets.get(e);i&&(i.listener.dispose(),i.widget.dispose());var n=function(){var i=t._widgets.get(e);i&&i.widget===o&&(i.listener.dispose(),t._widgets.delete(e))};this._widgets.set(e,{widget:o,listener:o.onDidClose(n)})},e}()),function(e){e.inPeekEditor=new u.RawContextKey("inReferenceSearchEditor",!0),e.notInPeekEditor=e.inPeekEditor.toNegated()}(o.PeekContext||(o.PeekContext={})),o.getOuterEditor=t;var v={headerBackgroundColor:a.Color.white,primaryHeadingColor:a.Color.fromHex("#333333"),secondaryHeadingColor:a.Color.fromHex("#6c6c6cb3")},C=function(e){function o(o,t){void 0===t&&(t={});var i=e.call(this,o,t)||this;return i._onDidClose=new c.Emitter,l.mixin(i.options,v,!1),i}return n(o,e),o.prototype.dispose=function(){e.prototype.dispose.call(this),this._onDidClose.fire(this)},Object.defineProperty(o.prototype,"onDidClose",{get:function(){return this._onDidClose.event},enumerable:!0,configurable:!0}),o.prototype.style=function(o){var t=this.options;o.headerBackgroundColor&&(t.headerBackgroundColor=o.headerBackgroundColor),o.primaryHeadingColor&&(t.primaryHeadingColor=o.primaryHeadingColor),o.secondaryHeadingColor&&(t.secondaryHeadingColor=o.secondaryHeadingColor),e.prototype.style.call(this,o)},o.prototype._applyStyles=function(){e.prototype._applyStyles.call(this);var o=this.options;this._headElement&&o.headerBackgroundColor&&(this._headElement.style.backgroundColor=o.headerBackgroundColor.toString()),this._primaryHeading&&o.primaryHeadingColor&&(this._primaryHeading.style.color=o.primaryHeadingColor.toString()),this._secondaryHeading&&o.secondaryHeadingColor&&(this._secondaryHeading.style.color=o.secondaryHeadingColor.toString()),this._bodyElement&&o.frameColor&&(this._bodyElement.style.borderColor=o.frameColor.toString())},o.prototype._fillContainer=function(e){this.setCssClass("peekview-widget"),this._headElement=r.$(".head"),this._bodyElement=r.$(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)},o.prototype._fillHead=function(){var e=this,o=r.$(".peekview-title");r.append(this._headElement,o),r.addStandardDisposableListener(o,"click",function(o){return e._onTitleClick(o)}),this._headingIcon=r.$("span"),this._primaryHeading=r.$("span.filename"),this._secondaryHeading=r.$("span.dirname"),this._metaHeading=r.$("span.meta"),r.append(o,this._headingIcon,this._primaryHeading,this._secondaryHeading,this._metaHeading);var t=r.$(".peekview-actions");r.append(this._headElement,t);var i=this._getActionBarOptions();this._actionbarWidget=new s.ActionBar(t,i),this._disposables.push(this._actionbarWidget),this._actionbarWidget.push(new d.Action("peekview.close",g.localize("label.close","Close"),"close-peekview-action",!0,function(){return e.dispose(),Promise.resolve()}),{label:!1,icon:!0})},o.prototype._getActionBarOptions=function(){return{}},o.prototype._onTitleClick=function(){},o.prototype.setTitleIcon=function(e){this._headingIcon.className=e?"icon "+e:""},o.prototype.setTitle=function(e,o){this._primaryHeading.innerHTML=m.escape(e),this._primaryHeading.setAttribute("aria-label",e),o?this._secondaryHeading.innerHTML=m.escape(o):r.clearNode(this._secondaryHeading)},o.prototype.setMetaTitle=function(e){e?this._metaHeading.innerHTML=m.escape(e):r.clearNode(this._metaHeading)},o.prototype._doLayout=function(e,o){if(!this._isShowing&&0>e)return void this.dispose();var t=Math.ceil(1.2*this.editor.getConfiguration().lineHeight),i=e-(t+2);this._doLayoutHead(t,o),this._doLayoutBody(i,o)},o.prototype._doLayoutHead=function(e){this._headElement.style.height=e+"px",this._headElement.style.lineHeight=this._headElement.style.height},o.prototype._doLayoutBody=function(e){this._bodyElement.style.height=e+"px"},o}(_.ZoneWidget);o.PeekViewWidget=C});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesModel",function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),t=e("node_modules/monaco-editor/esm/vs/nls"),i=e("node_modules/monaco-editor/esm/vs/base/common/event"),o=e("node_modules/monaco-editor/esm/vs/base/common/resources"),s=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),a=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),u=e("node_modules/monaco-editor/esm/vs/base/common/idGenerator"),c=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),l=function(){function e(e,r,n){this.parent=e,this._range=r,this.isProviderFirst=n,this._onRefChanged=new i.Emitter,this.onRefChanged=this._onRefChanged.event,this.id=u.defaultGenerator.nextId()}return Object.defineProperty(e.prototype,"uri",{get:function(){return this.parent.uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return this._range},set:function(e){this._range=e,this._onRefChanged.fire(this)},enumerable:!0,configurable:!0}),e.prototype.getAriaMessage=function(){return t.localize("aria.oneReference","symbol in {0} on line {1} at column {2}",o.basename(this.uri),this.range.startLineNumber,this.range.startColumn)},e}();r.OneReference=l;var f=function(){function e(e){this._modelReference=e}return e.prototype.dispose=function(){s.dispose(this._modelReference)},e.prototype.preview=function(e,r){void 0===r&&(r=8);var n=this._modelReference.object.textEditorModel;if(!n)return void 0;var t=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,s=e.endColumn,u=n.getWordUntilPosition({lineNumber:t,column:i-r}),l=new c.Range(t,u.startColumn,t,i),f=new c.Range(o,s,o,Number.MAX_VALUE),h={before:n.getValueInRange(l).replace(/^\s+/,a.empty),inside:n.getValueInRange(e),after:n.getValueInRange(f).replace(/\s+$/,a.empty)};return h},e}();r.FilePreview=f;var h=function(){function e(e,r){this._parent=e,this._uri=r,this._children=[]}return Object.defineProperty(e.prototype,"id",{get:function(){return this._uri.toString()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._children},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preview",{get:function(){return this._preview},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"failure",{get:function(){return this._loadFailure},enumerable:!0,configurable:!0}),e.prototype.getAriaMessage=function(){var e=this.children.length;return 1===e?t.localize("aria.fileReferences.1","1 symbol in {0}, full path {1}",o.basename(this.uri),this.uri.fsPath):t.localize("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,o.basename(this.uri),this.uri.fsPath)},e.prototype.resolve=function(e){var r=this;return Promise.resolve(this._resolved?this:e.createModelReference(this._uri).then(function(e){var n=e.object;if(!n)throw e.dispose(),new Error;return r._preview=new f(e),r._resolved=!0,r},function(e){return r._children=[],r._resolved=!0,r._loadFailure=e,r}))},e.prototype.dispose=function(){this._preview&&(this._preview.dispose(),this._preview=void 0)},e}();r.FileReferences=h;var p=function(){function e(r){var n=this;this.groups=[],this.references=[],this._onDidChangeReferenceRange=new i.Emitter,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._disposables=[];var t=r[0];r.sort(e._compareReferences);for(var o,s=0,a=r;s<a.length;s++){var u=a[s];if(o&&o.uri.toString()===u.uri.toString()||(o=new h(this,u.uri),this.groups.push(o)),0===o.children.length||!c.Range.equalsRange(u.range,o.children[o.children.length-1].range)){var f=new l(o,u.targetSelectionRange||u.range,t===u);this._disposables.push(f.onRefChanged(function(e){return n._onDidChangeReferenceRange.fire(e)})),this.references.push(f),o.children.push(f)}}}return Object.defineProperty(e.prototype,"empty",{get:function(){return 0===this.groups.length},enumerable:!0,configurable:!0}),e.prototype.getAriaMessage=function(){return this.empty?t.localize("aria.result.0","No results found"):1===this.references.length?t.localize("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?t.localize("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):t.localize("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)},e.prototype.nextOrPreviousReference=function(e,r){var n=e.parent,t=n.children.indexOf(e),i=n.children.length,o=n.parent.groups.length;return 1===o||r&&i>t+1||!r&&t>0?(t=r?(t+1)%i:(t+i-1)%i,n.children[t]):(t=n.parent.groups.indexOf(n),r?(t=(t+1)%o,n.parent.groups[t].children[0]):(t=(t+o-1)%o,n.parent.groups[t].children[n.parent.groups[t].children.length-1]))},e.prototype.nearestReference=function(e,r){var n=this.references.map(function(n,t){return{idx:t,prefixLen:a.commonPrefixLength(n.uri.toString(),e.toString()),offsetDist:100*Math.abs(n.range.startLineNumber-r.lineNumber)+Math.abs(n.range.startColumn-r.column)}}).sort(function(e,r){return e.prefixLen>r.prefixLen?-1:e.prefixLen<r.prefixLen?1:e.offsetDist<r.offsetDist?-1:e.offsetDist>r.offsetDist?1:0})[0];return n?this.references[n.idx]:void 0},e.prototype.firstReference=function(){for(var e=0,r=this.references;e<r.length;e++){var n=r[e];if(n.isProviderFirst)return n}return this.references[0]},e.prototype.dispose=function(){s.dispose(this.groups),s.dispose(this._disposables),this.groups.length=0,this._disposables.length=0},e._compareReferences=function(e,r){var n=e.uri.toString(),t=r.uri.toString();return t>n?-1:n>t?1:c.Range.compareRangesUsingStarts(e.range,r.range)},e}();r.ReferencesModel=p});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/octiconLabel/octiconLabel.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/octiconLabel/octiconLabel",function(e,o){"use strict";function n(e){return s.escape(e)}Object.defineProperty(o,"__esModule",{value:!0});var s=e("node_modules/monaco-editor/esm/vs/base/common/strings");o.renderOcticons=n});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=e("node_modules/tslib/tslib"),i=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/objects")),n=e("node_modules/monaco-editor/esm/vs/base/browser/ui/octiconLabel/octiconLabel"),o=e("node_modules/monaco-editor/esm/vs/base/common/strings"),r=function(){function e(e,t){this.supportOcticons=t,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",this.didEverRender=!1,e.appendChild(this.domNode)}return Object.defineProperty(e.prototype,"element",{get:function(){return this.domNode},enumerable:!0,configurable:!0}),e.prototype.set=function(t,s,n,o){void 0===s&&(s=[]),void 0===n&&(n=""),t||(t=""),o&&(t=e.escapeNewLines(t,s)),this.didEverRender&&this.text===t&&this.title===n&&i.equals(this.highlights,s)||(Array.isArray(s)||(s=[]),this.text=t,this.title=n,this.highlights=s,this.render())},e.prototype.render=function(){for(var e="",t=0,s=0,i=this.highlights;s<i.length;s++){var r=i[s];if(r.end!==r.start){if(t<r.start){e+="<span>";var d=this.text.substring(t,r.start);e+=this.supportOcticons?n.renderOcticons(d):o.escape(d),e+="</span>",t=r.end}e+='<span class="highlight">';var a=this.text.substring(r.start,r.end);e+=this.supportOcticons?n.renderOcticons(a):o.escape(a),e+="</span>",t=r.end}}if(t<this.text.length){e+="<span>";var a=this.text.substring(t);e+=this.supportOcticons?n.renderOcticons(a):o.escape(a),e+="</span>"}this.domNode.innerHTML=e,this.domNode.title=this.title,this.didEverRender=!0},e.escapeNewLines=function(e,t){var s=0,i=0;return e.replace(/\r\n|\r|\n/g,function(e,n){i="\r\n"===e?-1:0,n+=s;for(var o=0,r=t;o<r.length;o++){var d=r[o];d.end<=n||(d.start>=n&&(d.start+=i),d.end>=n&&(d.end+=i))}return s+=i,"⏎"})},e}();t.HighlightedLabel=r});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=e("node_modules/monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel"),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=function(){function e(e){this._element=e}return Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textContent",{set:function(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{set:function(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{set:function(e){this.disposed||e===this._title||(this._title=e,this._title?this._element.title=e:this._element.removeAttribute("title"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"empty",{set:function(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":null)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.disposed=!0},e}(),a=function(e){function t(t,i){var o=e.call(this)||this;return o.domNode=o._register(new l(n.append(t,n.$(".monaco-icon-label")))),o.labelDescriptionContainer=o._register(new l(n.append(o.domNode.element,n.$(".monaco-icon-label-description-container")))),o.labelNode=i&&i.supportHighlights?new s.HighlightedLabel(n.append(o.labelDescriptionContainer.element,n.$("a.label-name")),!i.donotSupportOcticons):o._register(new l(n.append(o.labelDescriptionContainer.element,n.$("a.label-name")))),o.descriptionNodeFactory=i&&i.supportDescriptionHighlights?function(){return new s.HighlightedLabel(n.append(o.labelDescriptionContainer.element,n.$("span.label-description")),!i.donotSupportOcticons)}:function(){return o._register(new l(n.append(o.labelDescriptionContainer.element,n.$("span.label-description"))))},o}return o(t,e),t.prototype.setLabel=function(e,t,i){var o=["monaco-icon-label"];i&&(i.extraClasses&&o.push.apply(o,i.extraClasses),i.italic&&o.push("italic")),this.domNode.className=o.join(" "),this.domNode.title=i&&i.title?i.title:"",this.labelNode instanceof s.HighlightedLabel?this.labelNode.set(e||"",i?i.matches:void 0,i&&i.title?i.title:void 0,i&&i.labelEscapeNewLines):this.labelNode.textContent=e||"",(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof s.HighlightedLabel?(this.descriptionNode.set(t||"",i?i.descriptionMatches:void 0),i&&i.descriptionTitle?this.descriptionNode.element.title=i.descriptionTitle:this.descriptionNode.element.removeAttribute("title")):(this.descriptionNode.textContent=t||"",this.descriptionNode.title=i&&i.descriptionTitle?i.descriptionTitle:"",this.descriptionNode.empty=!t))},t}(r.Disposable);t.IconLabel=a});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/countBadge/countBadge.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/countBadge/countBadge",function(t,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var e=t("node_modules/monaco-editor/esm/vs/base/browser/dom"),n=t("node_modules/monaco-editor/esm/vs/base/common/strings"),s=t("node_modules/monaco-editor/esm/vs/base/common/color"),r=t("node_modules/monaco-editor/esm/vs/base/common/objects"),i={badgeBackground:s.Color.fromHex("#4D4D4D"),badgeForeground:s.Color.fromHex("#FFFFFF")},d=function(){function t(t,o){this.options=o||Object.create(null),r.mixin(this.options,i,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=e.append(t,e.$(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}return t.prototype.setCount=function(t){this.count=t,this.render()},t.prototype.setTitleFormat=function(t){this.titleFormat=t,this.render()},t.prototype.render=function(){this.element.textContent=n.format(this.countFormat,this.count),this.element.title=n.format(this.titleFormat,this.count),this.applyStyles()},t.prototype.style=function(t){this.badgeBackground=t.badgeBackground,this.badgeForeground=t.badgeForeground,this.badgeBorder=t.badgeBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.element){var t=this.badgeBackground?this.badgeBackground.toString():null,o=this.badgeForeground?this.badgeForeground.toString():null,e=this.badgeBorder?this.badgeBorder.toString():null;this.element.style.backgroundColor=t,this.element.style.color=o,this.element.style.borderWidth=e?"1px":null,this.element.style.borderStyle=e?"solid":null,this.element.style.borderColor=e}},t}();o.CountBadge=d});
;/*!node_modules/monaco-editor/esm/vs/base/common/labels.js*/
define("node_modules/monaco-editor/esm/vs/base/common/labels",function(e,o){"use strict";function r(e,o,r){if("string"==typeof e&&(e=a.URI.file(e)),r){var s=r.getWorkspaceFolder(e);if(s){var l=r.getWorkspace().folders.length>1,f=void 0;if(f=c.isEqual(s.uri,e)?"":c.relativePath(s.uri,e),l){var v=s&&s.name?s.name:c.basename(s.uri);f=f?v+" • "+f:v}return f}}if(e.scheme!==u.Schemas.file&&e.scheme!==u.Schemas.untitled)return e.with({query:null,fragment:null}).toString(!0);if(n(e.fsPath))return m.normalize(t(e.fsPath));var h=m.normalize(e.fsPath);return!d.isWindows&&o&&(h=i(h,o.userHome)),h}function s(e){if(!e)return void 0;"string"==typeof e&&(e=a.URI.file(e));var o=c.basename(e)||(e.scheme===u.Schemas.file?e.fsPath:e.path);return n(o)?t(o):o}function n(e){return!(!d.isWindows||!e||":"!==e[1])}function t(e){return n(e)?e.charAt(0).toUpperCase()+e.slice(1):e}function i(e,o){if(d.isWindows||!e||!o)return e;var r=f.original===o?f.normalized:void 0;return r||(r=""+l.rtrim(o,m.posix.sep)+m.posix.sep,f={original:o,normalized:r}),(d.isLinux?l.startsWith(e,r):l.startsWithIgnoreCase(e,r))&&(e="~/"+e.substr(r.length)),e}Object.defineProperty(o,"__esModule",{value:!0});var a=e("node_modules/monaco-editor/esm/vs/base/common/uri"),m=e("node_modules/monaco-editor/esm/vs/base/common/path"),l=e("node_modules/monaco-editor/esm/vs/base/common/strings"),u=e("node_modules/monaco-editor/esm/vs/base/common/network"),d=e("node_modules/monaco-editor/esm/vs/base/common/platform"),c=e("node_modules/monaco-editor/esm/vs/base/common/resources");o.getPathLabel=r,o.getBaseLabel=s,o.normalizeDriveLetter=t;var f=Object.create(null);o.tildify=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesTree.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesTree",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__decorate||function(e,t,n,r){var o,i=arguments.length,s=3>i?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(3>i?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},s=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesModel"),a=e("node_modules/monaco-editor/esm/vs/editor/common/services/resolverService"),c=e("node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel"),d=e("node_modules/monaco-editor/esm/vs/base/browser/ui/countBadge/countBadge"),l=e("node_modules/monaco-editor/esm/vs/platform/label/common/label"),u=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),f=e("node_modules/monaco-editor/esm/vs/platform/theme/common/styler"),m=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),p=e("node_modules/monaco-editor/esm/vs/nls"),h=e("node_modules/monaco-editor/esm/vs/base/common/labels"),v=e("node_modules/monaco-editor/esm/vs/base/common/resources"),b=e("node_modules/monaco-editor/esm/vs/base/common/strings"),_=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),g=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),y=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),R=e("node_modules/monaco-editor/esm/vs/base/common/filters"),S=function(){function e(e){this._resolverService=e}return e.prototype.hasChildren=function(e){return e instanceof s.ReferencesModel?!0:e instanceof s.FileReferences&&!e.failure?!0:!1},e.prototype.getChildren=function(e){if(e instanceof s.ReferencesModel)return e.groups;if(e instanceof s.FileReferences)return e.resolve(this._resolverService).then(function(e){return e.children});throw new Error("bad tree")},e=o([i(0,a.ITextModelService)],e)}();t.DataSource=S;var C=function(){function e(){}return e.prototype.getHeight=function(){return 23},e.prototype.getTemplateId=function(e){return e instanceof s.FileReferences?M.id:T.id},e}();t.Delegate=C;var L=function(){function e(e){this._keybindingService=e}return e.prototype.getKeyboardNavigationLabel=function(e){return v.basename(e.uri)},e.prototype.mightProducePrintableCharacter=function(e){return this._keybindingService.mightProducePrintableCharacter(e)},e=o([i(0,y.IKeybindingService)],e)}();t.StringRepresentationProvider=L;var w=function(){function e(){}return e.prototype.getId=function(e){return e.id},e}();t.IdentityProvider=w;var I=function(e){function t(t,n,r){var o=e.call(this)||this;o._uriLabel=n;var i=document.createElement("div");return m.addClass(i,"reference-file"),o.file=o._register(new c.IconLabel(i,{supportHighlights:!0})),o.badge=new d.CountBadge(m.append(i,m.$(".count"))),o._register(f.attachBadgeStyler(o.badge,r)),t.appendChild(i),o}return r(t,e),t.prototype.set=function(e,t){var n=v.dirname(e.uri);this.file.setLabel(h.getBaseLabel(e.uri),this._uriLabel.getUriLabel(n,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t});var r=e.children.length;this.badge.setCount(r),this.badge.setTitleFormat(e.failure?p.localize("referencesFailre","Failed to resolve file."):r>1?p.localize("referencesCount","{0} references",r):p.localize("referenceCount","{0} reference",r))},t=o([i(1,l.ILabelService),i(2,u.IThemeService)],t)}(_.Disposable),M=function(){function e(t){this._instantiationService=t,this.templateId=e.id}return e.prototype.renderTemplate=function(e){return this._instantiationService.createInstance(I,e)},e.prototype.renderElement=function(e,t,n){n.set(e.element,R.createMatches(e.filterData))},e.prototype.disposeTemplate=function(e){e.dispose()},e.id="FileReferencesRenderer",e=o([i(0,g.IInstantiationService)],e)}();t.FileReferencesRenderer=M;var P=function(){function e(e){var t=document.createElement("div");this.before=document.createElement("span"),this.inside=document.createElement("span"),this.after=document.createElement("span"),m.addClass(this.inside,"referenceMatch"),m.addClass(t,"reference"),t.appendChild(this.before),t.appendChild(this.inside),t.appendChild(this.after),e.appendChild(t)}return e.prototype.set=function(e){var t=e.parent.preview,n=t&&t.preview(e.range);if(n){var r=n.before,o=n.inside,i=n.after;this.before.innerHTML=b.escape(r),this.inside.innerHTML=b.escape(o),this.after.innerHTML=b.escape(i)}},e}(),T=function(){function e(){this.templateId=e.id}return e.prototype.renderTemplate=function(e){return new P(e)},e.prototype.renderElement=function(e,t,n){n.set(e.element)},e.prototype.disposeTemplate=function(){},e.id="OneReferenceRenderer",e}();t.OneReferenceRenderer=T;var O=function(){function e(){}return e.prototype.getAriaLabel=function(e){return e instanceof s.FileReferences?e.getAriaMessage():e instanceof s.OneReference?e.getAriaMessage():null},e}();t.AriaProvider=O});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/splitview/splitview.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/splitview/splitview",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,s=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,i){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function s(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}(),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),o=e("node_modules/monaco-editor/esm/vs/base/common/event"),a=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/types")),h=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),m=e("node_modules/monaco-editor/esm/vs/base/common/numbers"),u=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),v=e("node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash"),p=e("node_modules/monaco-editor/esm/vs/base/common/color"),l=e("node_modules/monaco-editor/esm/vs/base/browser/event"),c={separatorBorder:p.Color.transparent};!function(e){e[e.Idle=0]="Idle",e[e.Busy=1]="Busy"}(i||(i={})),function(e){function t(e){return{type:"split",index:e}}e.Distribute={type:"distribute"},e.Split=t}(t.Sizing||(t.Sizing={}));var d=function(e){function t(t,s){void 0===s&&(s={});var n=e.call(this)||this;return n.size=0,n.contentSize=0,n.proportions=void 0,n.viewItems=[],n.sashItems=[],n.state=i.Idle,n._onDidSashChange=n._register(new o.Emitter),n.onDidSashChange=n._onDidSashChange.event,n._onDidSashReset=n._register(new o.Emitter),n.orientation=a.isUndefined(s.orientation)?0:s.orientation,n.inverseAltBehavior=!!s.inverseAltBehavior,n.proportionalLayout=a.isUndefined(s.proportionalLayout)?!0:!!s.proportionalLayout,n.el=document.createElement("div"),h.addClass(n.el,"monaco-split-view2"),h.addClass(n.el,0===n.orientation?"vertical":"horizontal"),t.appendChild(n.el),n.sashContainer=h.append(n.el,h.$(".sash-container")),n.viewContainer=h.append(n.el,h.$(".split-view-container")),n.style(s.styles||c),n}return n(t,e),Object.defineProperty(t.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(e){for(var t=0,i=this.sashItems;t<i.length;t++){var s=i[t];s.sash.orthogonalStartSash=e}this._orthogonalStartSash=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalEndSash",{get:function(){return this._orthogonalEndSash},set:function(e){for(var t=0,i=this.sashItems;t<i.length;t++){var s=i[t];s.sash.orthogonalEndSash=e}this._orthogonalEndSash=e},enumerable:!0,configurable:!0}),t.prototype.style=function(e){e.separatorBorder.isTransparent()?(h.removeClass(this.el,"separator-border"),this.el.style.removeProperty("--separator-border")):(h.addClass(this.el,"separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))},t.prototype.addView=function(e,t,s){var n=this;if(void 0===s&&(s=this.viewItems.length),this.state!==i.Idle)throw new Error("Cant modify splitview");this.state=i.Busy;var a=h.$(".split-view-view");s===this.viewItems.length?this.viewContainer.appendChild(a):this.viewContainer.insertBefore(a,this.viewContainer.children.item(s));var m,p=e.onDidChange(function(e){return n.onViewChange(w,e)}),l=r.toDisposable(function(){return n.viewContainer.removeChild(a)}),c=r.combinedDisposable([p,l]),d=0===this.orientation?function(){return w.container.style.height=w.size+"px"}:function(){return w.container.style.width=w.size+"px"},f=function(){d(),w.view.layout(w.size,n.orientation)};m="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:e.minimumSize;var w={view:e,container:a,size:m,layout:f,disposable:c};if(this.viewItems.splice(s,0,w),this.viewItems.length>1){var I=0===this.orientation?1:0,S=0===this.orientation?{getHorizontalSashTop:function(e){return n.getSashPosition(e)}}:{getVerticalSashLeft:function(e){return n.getSashPosition(e)}},z=new v.Sash(this.sashContainer,S,{orientation:I,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),y=0===this.orientation?function(e){return{sash:z,start:e.startY,current:e.currentY,alt:e.altKey}}:function(e){return{sash:z,start:e.startX,current:e.currentX,alt:e.altKey}},g=o.Event.map(z.onDidStart,y),b=g(this.onSashStart,this),_=o.Event.map(z.onDidChange,y),E=_(this.onSashChange,this),x=o.Event.map(z.onDidEnd,function(){return u.firstIndex(n.sashItems,function(e){return e.sash===z})}),C=x(this.onSashEnd,this),D=z.onDidReset(function(){return n._onDidSashReset.fire(u.firstIndex(n.sashItems,function(e){return e.sash===z}))}),V=r.combinedDisposable([b,E,C,D,z]),N={sash:z,disposable:V};this.sashItems.splice(s-1,0,N)}a.appendChild(e.element);var T;"number"!=typeof t&&"split"===t.type&&(T=t.index),this.relayout(s,T),this.state=i.Idle,"number"!=typeof t&&"distribute"===t.type&&this.distributeViewSizes()},t.prototype.relayout=function(e,t){var i=this.viewItems.reduce(function(e,t){return e+t.size},0),s="number"==typeof e?[e]:void 0,n="number"==typeof t?[t]:void 0;this.resize(this.viewItems.length-1,this.size-i,void 0,s,n),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()},t.prototype.layout=function(e){var t=this,i=Math.max(this.size,this.contentSize);if(this.size=e,this.proportions)for(var s=0;s<this.viewItems.length;s++){var n=this.viewItems[s];n.size=m.clamp(Math.round(this.proportions[s]*e),n.view.minimumSize,n.view.maximumSize)}else{var r=u.range(this.viewItems.length),o=r.filter(function(e){return 1===t.viewItems[e].view.priority}),a=r.filter(function(e){return 2===t.viewItems[e].view.priority});this.resize(this.viewItems.length-1,e-i,void 0,o,a)}this.distributeEmptySpace(),this.layoutViews()},t.prototype.saveProportions=function(){var e=this;this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(function(t){return t.size/e.contentSize}))},t.prototype.onSashStart=function(e){var t=this,i=e.sash,s=e.start,n=e.alt,o=u.firstIndex(this.sashItems,function(e){return e.sash===i}),a=r.combinedDisposable([l.domEvent(document.body,"keydown")(function(e){return h(t.sashDragState.current,e.altKey)}),l.domEvent(document.body,"keyup")(function(){return h(t.sashDragState.current,!1)})]),h=function(e,i){var s=t.viewItems.map(function(e){return e.size}),n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;if(t.inverseAltBehavior&&(i=!i),i){var h=o===t.sashItems.length-1;if(h){var m=t.viewItems[o];n=(m.view.minimumSize-m.size)/2,r=(m.view.maximumSize-m.size)/2}else{var m=t.viewItems[o+1];n=(m.size-m.view.maximumSize)/2,r=(m.size-m.view.minimumSize)/2}}t.sashDragState={start:e,current:e,index:o,sizes:s,minDelta:n,maxDelta:r,alt:i,disposable:a}};h(s,n)},t.prototype.onSashChange=function(e){var t=e.current,i=this.sashDragState,s=i.index,n=i.start,r=i.sizes,o=i.alt,a=i.minDelta,h=i.maxDelta;this.sashDragState.current=t;var m=t-n,u=this.resize(s,m,r,void 0,void 0,a,h);if(o){var v=s===this.sashItems.length-1,p=this.viewItems.map(function(e){return e.size}),l=v?s:s+1,c=this.viewItems[l],d=c.size-c.view.maximumSize,f=c.size-c.view.minimumSize,w=v?s-1:s+1;this.resize(w,-u,p,void 0,void 0,d,f)}this.distributeEmptySpace(),this.layoutViews()},t.prototype.onSashEnd=function(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions()},t.prototype.onViewChange=function(e,t){var i=this.viewItems.indexOf(e);0>i||i>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=m.clamp(t,e.view.minimumSize,e.view.maximumSize),this.inverseAltBehavior&&i>0?(this.resize(i-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout(i,void 0)))},t.prototype.resizeView=function(e,t){var s=this;if(this.state!==i.Idle)throw new Error("Cant modify splitview");if(this.state=i.Busy,!(0>e||e>=this.viewItems.length)){var n=this.viewItems[e];t=Math.round(t),t=m.clamp(t,n.view.minimumSize,n.view.maximumSize);var r=t-n.size;if(0!==r&&e<this.viewItems.length-1){var o=u.range(e+1,this.viewItems.length),a=o.reduce(function(e,t){return e+(s.viewItems[t].size-s.viewItems[t].view.minimumSize)},0),h=o.reduce(function(e,t){return e+(s.viewItems[t].view.maximumSize-s.viewItems[t].size)},0),v=m.clamp(r,-h,a);this.resize(e,v),r-=v}if(0!==r&&e>0){var p=u.range(e-1,-1),l=p.reduce(function(e,t){return e+(s.viewItems[t].size-s.viewItems[t].view.minimumSize)},0),c=p.reduce(function(e,t){return e+(s.viewItems[t].view.maximumSize-s.viewItems[t].size)},0),d=m.clamp(-r,-l,c);this.resize(e-1,d)}this.distributeEmptySpace(),this.layoutViews(),this.saveProportions(),this.state=i.Idle}},t.prototype.distributeViewSizes=function(){for(var e=Math.floor(this.size/this.viewItems.length),t=0;t<this.viewItems.length-1;t++)this.resizeView(t,e)},t.prototype.getViewSize=function(e){return 0>e||e>=this.viewItems.length?-1:this.viewItems[e].size},t.prototype.resize=function(e,t,i,s,n,r,o){var a=this;if(void 0===i&&(i=this.viewItems.map(function(e){return e.size})),void 0===r&&(r=Number.NEGATIVE_INFINITY),void 0===o&&(o=Number.POSITIVE_INFINITY),0>e||e>=this.viewItems.length)return 0;var h=u.range(e,-1),v=u.range(e+1,this.viewItems.length);if(n)for(var p=0,l=n;p<l.length;p++){var c=l[p];u.pushToStart(h,c),u.pushToStart(v,c)}if(s)for(var d=0,f=s;d<f.length;d++){var w=f[d];u.pushToEnd(h,w),u.pushToEnd(v,w)}var I=h.map(function(e){return a.viewItems[e]}),S=h.map(function(e){return i[e]}),z=v.map(function(e){return a.viewItems[e]}),y=v.map(function(e){return i[e]}),g=h.reduce(function(e,t){return e+(a.viewItems[t].view.minimumSize-i[t])},0),b=h.reduce(function(e,t){return e+(a.viewItems[t].view.maximumSize-i[t])},0),_=0===v.length?Number.POSITIVE_INFINITY:v.reduce(function(e,t){return e+(i[t]-a.viewItems[t].view.minimumSize)},0),E=0===v.length?Number.NEGATIVE_INFINITY:v.reduce(function(e,t){return e+(i[t]-a.viewItems[t].view.maximumSize)},0),x=Math.max(g,E,r),C=Math.min(_,b,o);t=m.clamp(t,x,C);for(var D=0,V=t;D<I.length;D++){var N=I[D],T=m.clamp(S[D]+V,N.view.minimumSize,N.view.maximumSize),P=T-S[D];V-=P,N.size=T}for(var D=0,B=t;D<z.length;D++){var N=z[D],T=m.clamp(y[D]-B,N.view.minimumSize,N.view.maximumSize),P=T-y[D];B+=P,N.size=T}return t},t.prototype.distributeEmptySpace=function(){for(var e=this.viewItems.reduce(function(e,t){return e+t.size},0),t=this.size-e,i=this.viewItems.length-1;0!==t&&i>=0;i--){var s=this.viewItems[i],n=m.clamp(s.size+t,s.view.minimumSize,s.view.maximumSize),r=n-s.size;t-=r,s.size=n}},t.prototype.layoutViews=function(){this.contentSize=this.viewItems.reduce(function(e,t){return e+t.size},0),this.viewItems.forEach(function(e){return e.layout()}),this.sashItems.forEach(function(e){return e.sash.layout()});var e=!1,t=this.viewItems.map(function(t){return e=t.size-t.view.minimumSize>0||e});e=!1;var i=this.viewItems.map(function(t){return e=t.view.maximumSize-t.size>0||e}),s=this.viewItems.slice().reverse();e=!1;var n=s.map(function(t){return e=t.size-t.view.minimumSize>0||e}).reverse();e=!1;var r=s.map(function(t){return e=t.view.maximumSize-t.size>0||e}).reverse();this.sashItems.forEach(function(e,s){var o=!(t[s]&&r[s+1]),a=!(i[s]&&n[s+1]);e.sash.state=o&&a?0:o&&!a?1:!o&&a?2:3})},t.prototype.getSashPosition=function(e){for(var t=0,i=0;i<this.sashItems.length;i++)if(t+=this.viewItems[i].size,this.sashItems[i].sash===e)return t;return 0},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.viewItems.forEach(function(e){return e.disposable.dispose()}),this.viewItems=[],this.sashItems.forEach(function(e){return e.disposable.dispose()}),this.sashItems=[]},t}(r.Disposable);t.SplitView=d});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesWidget",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),r=this&&this.__decorate||function(e,t,o,i){var r,n=arguments.length,s=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(3>n?r(s):n>3?r(t,o,s):r(t,o))||s);return n>3&&s&&Object.defineProperty(t,o,s),s},n=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},s=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))(function(r,n){function s(e){try{l(i.next(e))}catch(t){n(t)}}function a(e){try{l(i["throw"](e))}catch(t){n(t)}}function l(e){e.done?r(e.value):new o(function(t){t(e.value)}).then(s,a)}l((i=i.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){function o(e){return function(t){return i([e,t])}}function i(o){if(r)throw new TypeError("Generator is already executing.");for(;l;)try{if(r=1,n&&(s=2&o[0]?n["return"]:o[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,o[1])).done)return s;switch(n=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,n=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(s=l.trys,!(s=s.length>0&&s[s.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){l.label=o[1];break}if(6===o[0]&&l.label<s[1]){l.label=s[1],s=o;break}if(s&&l.label<s[2]){l.label=s[2],l.ops.push(o);break}s[2]&&l.ops.pop(),l.trys.pop();continue}o=t.call(e,l)}catch(i){o=[6,i],n=0}finally{r=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var r,n,s,a,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:o(0),"throw":o(1),"return":o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},l=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),c=e("node_modules/monaco-editor/esm/vs/base/common/color"),d=e("node_modules/monaco-editor/esm/vs/base/common/event"),h=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),u=e("node_modules/monaco-editor/esm/vs/base/common/network"),p=e("node_modules/monaco-editor/esm/vs/base/common/resources"),g=e("node_modules/monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),f=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),w=e("node_modules/monaco-editor/esm/vs/editor/common/services/resolverService"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesTree"),v=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),k=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),b=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),y=e("node_modules/monaco-editor/esm/vs/platform/label/common/label"),C=e("node_modules/monaco-editor/esm/vs/platform/list/browser/listService"),R=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),V=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),S=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/peekViewWidget"),M=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesModel"),F=e("node_modules/monaco-editor/esm/vs/base/browser/ui/splitview/splitview"),D=function(){function e(e,t){var o=this;this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=[],this._callOnModelChange=[],this._callOnDispose.push(this._editor.onDidChangeModel(function(){return o._onModelChanged()})),this._onModelChanged()}return e.prototype.dispose=function(){this._callOnModelChange=h.dispose(this._callOnModelChange),this._callOnDispose=h.dispose(this._callOnDispose),this.removeDecorations()},e.prototype._onModelChanged=function(){this._callOnModelChange=h.dispose(this._callOnModelChange);var e=this._editor.getModel();if(e)for(var t=0,o=this._model.groups;t<o.length;t++){var i=o[t];if(i.uri.toString()===e.uri.toString())return void this._addDecorations(i)}},e.prototype._addDecorations=function(t){var o=this;if(this._editor.hasModel()){this._callOnModelChange.push(this._editor.getModel().onDidChangeDecorations(function(){return o._onDecorationChanged()}));for(var i=[],r=[],n=0,s=t.children.length;s>n;n++){var a=t.children[n];this._decorationIgnoreSet.has(a.id)||(i.push({range:a.range,options:e.DecorationOptions}),r.push(n))}for(var l=this._editor.deltaDecorations([],i),n=0;n<l.length;n++)this._decorations.set(l[n],t.children[r[n]])}},e.prototype._onDecorationChanged=function(){var e=this,t=[],o=this._editor.getModel();if(o){this._decorations.forEach(function(i,r){var n=o.getDecorationRange(r);if(n){var s=!1;if(!m.Range.equalsRange(n,i.range)){if(m.Range.spansMultipleLines(n))s=!0;else{var a=i.range.endColumn-i.range.startColumn,l=n.endColumn-n.startColumn;a!==l&&(s=!0)}s?(e._decorationIgnoreSet.add(i.id),t.push(r)):i.range=n}}});for(var i=0,r=t.length;r>i;i++)this._decorations.delete(t[i]);this._editor.deltaDecorations(t,[])}},e.prototype.removeDecorations=function(){var e=[];this._decorations.forEach(function(t,o){e.push(o)}),this._editor.deltaDecorations(e,[]),this._decorations.clear()},e.DecorationOptions=f.ModelDecorationOptions.register({stickiness:1,className:"reference-decoration"}),e}(),E=function(){function e(){}return e.fromJSON=function(e){var t,o;try{var i=JSON.parse(e);t=i.ratio,o=i.heightInLines}catch(r){}return{ratio:t||.7,heightInLines:o||18}},e}();t.LayoutData=E,t.ctxReferenceWidgetSearchTreeFocused=new k.RawContextKey("referenceSearchTreeFocused",!0);var z=function(e){function o(t,o,i,r,n,s,a,l){var c=e.call(this,t,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0})||this;return c._defaultTreeKeyboardSupport=o,c.layoutData=i,c._textModelResolverService=n,c._instantiationService=s,c._peekViewService=a,c._uriLabel=l,c._disposeOnNewModel=[],c._callOnDispose=[],c._onDidSelectReference=new d.Emitter,c._dim={height:0,width:0},c._applyTheme(r.getTheme()),c._callOnDispose.push(r.onThemeChange(c._applyTheme.bind(c))),c._peekViewService.addExclusiveWidget(t,c),c.create(),c}return i(o,e),o.prototype.dispose=function(){this.setModel(void 0),this._callOnDispose=h.dispose(this._callOnDispose),h.dispose(this._preview,this._previewNotAvailableMessage,this._tree,this._previewModelReference),this._splitView.dispose(),e.prototype.dispose.call(this)},o.prototype._applyTheme=function(e){var o=e.getColor(t.peekViewBorder)||c.Color.transparent;this.style({arrowColor:o,frameColor:o,headerBackgroundColor:e.getColor(t.peekViewTitleBackground)||c.Color.transparent,primaryHeadingColor:e.getColor(t.peekViewTitleForeground),secondaryHeadingColor:e.getColor(t.peekViewTitleInfoForeground)})},Object.defineProperty(o.prototype,"onDidSelectReference",{get:function(){return this._onDidSelectReference.event},enumerable:!0,configurable:!0}),o.prototype.show=function(t){this.editor.revealRangeInCenterIfOutsideViewport(t,0),e.prototype.show.call(this,t,this.layoutData.heightInLines||18)},o.prototype.focus=function(){this._tree.domFocus()},o.prototype._onTitleClick=function(e){this._preview&&this._preview.getModel()&&this._onDidSelectReference.fire({element:this._getFocusedReference(),kind:e.ctrlKey||e.metaKey||e.altKey?"side":"open",source:"title"})},o.prototype._fillBody=function(e){var o=this;this.setCssClass("reference-zone-widget"),this._messageContainer=l.append(e,l.$("div.messages")),l.hide(this._messageContainer),this._splitView=new F.SplitView(e,{orientation:1}),this._previewContainer=l.append(e,l.$("div.preview.inline"));var i={scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:"auto",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}};this._preview=this._instantiationService.createInstance(g.EmbeddedCodeEditorWidget,this._previewContainer,i,this.editor),l.hide(this._previewContainer),this._previewNotAvailableMessage=f.TextModel.createFromString(v.localize("missingPreviewMessage","no preview available")),this._treeContainer=l.append(e,l.$("div.ref-tree.inline"));var r={ariaLabel:v.localize("treeAriaLabel","References"),keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new _.AriaProvider,keyboardNavigationLabelProvider:this._instantiationService.createInstance(_.StringRepresentationProvider),identityProvider:new _.IdentityProvider};this._tree=this._instantiationService.createInstance(C.WorkbenchAsyncDataTree,this._treeContainer,new _.Delegate,[this._instantiationService.createInstance(_.FileReferencesRenderer),this._instantiationService.createInstance(_.OneReferenceRenderer)],this._instantiationService.createInstance(_.DataSource),r),t.ctxReferenceWidgetSearchTreeFocused.bindTo(this._tree.contextKeyService),this._splitView.addView({onDidChange:d.Event.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:function(e){o._preview.layout({height:o._dim.height,width:e})}},F.Sizing.Distribute),this._splitView.addView({onDidChange:d.Event.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:function(e){o._treeContainer.style.height=o._dim.height+"px",o._treeContainer.style.width=e+"px",o._tree.layout(o._dim.height,e)}},F.Sizing.Distribute),this._splitView.onDidSashChange(function(){o._dim.width&&(o.layoutData.ratio=o._splitView.getViewSize(0)/o._dim.width)},void 0,this._disposables);var n=function(e,t){e instanceof M.OneReference&&("show"===t&&o._revealReference(e,!1),o._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidChangeFocus(function(e){n(e.elements[0],"show")}),this._tree.onDidChangeSelection(function(e){var t=!1,o=!1;e.browserEvent instanceof KeyboardEvent&&(o=!0),t?n(e.elements[0],"side"):o?n(e.elements[0],"goto"):n(e.elements[0],"show")}),this._tree.onDidOpen(function(e){var t=e.browserEvent instanceof MouseEvent&&(e.browserEvent.ctrlKey||e.browserEvent.metaKey||e.browserEvent.altKey),o=!e.browserEvent||e.browserEvent instanceof MouseEvent&&2===e.browserEvent.detail;t?n(e.elements[0],"side"):o?n(e.elements[0],"goto"):n(e.elements[0],"show")}),l.hide(this._treeContainer)},o.prototype._onWidth=function(e){this._dim&&this._doLayoutBody(this._dim.height,e)},o.prototype._doLayoutBody=function(t,o){e.prototype._doLayoutBody.call(this,t,o),this._dim={height:t,width:o},this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(o),this._splitView.resizeView(0,o*this.layoutData.ratio)},o.prototype.setSelection=function(e){var t=this;return this._revealReference(e,!0).then(function(){t._model&&(t._tree.setSelection([e]),t._tree.setFocus([e]))})},o.prototype.setModel=function(e){return this._disposeOnNewModel=h.dispose(this._disposeOnNewModel),this._model=e,this._model?this._onNewModel():Promise.resolve()},o.prototype._onNewModel=function(){var e=this;return this._model?this._model.empty?(this.setTitle(""),this._messageContainer.innerHTML=v.localize("noResults","No results"),l.show(this._messageContainer),Promise.resolve(void 0)):(l.hide(this._messageContainer),this._decorationsManager=new D(this._preview,this._model),this._disposeOnNewModel.push(this._decorationsManager),this._disposeOnNewModel.push(this._model.onDidChangeReferenceRange(function(t){return e._tree.rerender(t)})),this._disposeOnNewModel.push(this._preview.onMouseDown(function(t){var o=t.event,i=t.target;if(2===o.detail){var r=e._getFocusedReference();r&&e._onDidSelectReference.fire({element:{uri:r.uri,range:i.range},kind:o.ctrlKey||o.metaKey||o.altKey?"side":"open",source:"editor"})}})),l.addClass(this.container,"results-loaded"),l.show(this._treeContainer),l.show(this._previewContainer),this._splitView.layout(this._dim.width),this.focus(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)},o.prototype._getFocusedReference=function(){var e=this._tree.getFocus()[0];return e instanceof M.OneReference?e:e instanceof M.FileReferences&&e.children.length>0?e.children[0]:void 0},o.prototype._revealReference=function(e,t){return s(this,void 0,void 0,function(){var o,i,r,n,s;return a(this,function(a){switch(a.label){case 0:return this._revealedReference===e?[2]:(this._revealedReference=e,e.uri.scheme!==u.Schemas.inMemory?this.setTitle(p.basenameOrAuthority(e.uri),this._uriLabel.getUriLabel(p.dirname(e.uri))):this.setTitle(v.localize("peekView.alternateTitle","References")),o=this._textModelResolverService.createModelReference(e.uri),this._tree.getInput()!==e.parent?[3,1]:(this._tree.reveal(e),[3,3]));case 1:return t&&this._tree.reveal(e.parent),[4,this._tree.expand(e.parent)];case 2:a.sent(),this._tree.reveal(e),a.label=3;case 3:return[4,o];case 4:return i=a.sent(),this._model?(h.dispose(this._previewModelReference),r=i.object,r?(n=this._preview.getModel()===r.textEditorModel?0:1,s=m.Range.lift(e.range).collapseToStart(),this._previewModelReference=i,this._preview.setModel(r.textEditorModel),this._preview.setSelection(s),this._preview.revealRangeInCenter(s,n)):(this._preview.setModel(this._previewNotAvailableMessage),i.dispose()),[2]):(i.dispose(),[2])}})})},o=r([n(3,V.IThemeService),n(4,w.ITextModelService),n(5,b.IInstantiationService),n(6,S.IPeekViewService),n(7,y.ILabelService)],o)}(S.PeekViewWidget);t.ReferenceWidget=z,t.peekViewTitleBackground=R.registerColor("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},v.localize("peekViewTitleBackground","Background color of the peek view title area.")),t.peekViewTitleForeground=R.registerColor("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},v.localize("peekViewTitleForeground","Color of the peek view title.")),t.peekViewTitleInfoForeground=R.registerColor("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#6c6c6cb3",hc:"#FFFFFF99"},v.localize("peekViewTitleInfoForeground","Color of the peek view title info.")),t.peekViewBorder=R.registerColor("peekView.border",{dark:"#007acc",light:"#007acc",hc:R.contrastBorder},v.localize("peekViewBorder","Color of the peek view borders and arrow.")),t.peekViewResultsBackground=R.registerColor("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:c.Color.black},v.localize("peekViewResultsBackground","Background color of the peek view result list.")),t.peekViewResultsMatchForeground=R.registerColor("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:c.Color.white},v.localize("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),t.peekViewResultsFileForeground=R.registerColor("peekViewResult.fileForeground",{dark:c.Color.white,light:"#1E1E1E",hc:c.Color.white},v.localize("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),t.peekViewResultsSelectionBackground=R.registerColor("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},v.localize("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),t.peekViewResultsSelectionForeground=R.registerColor("peekViewResult.selectionForeground",{dark:c.Color.white,light:"#6C6C6C",hc:c.Color.white},v.localize("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),t.peekViewEditorBackground=R.registerColor("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:c.Color.black},v.localize("peekViewEditorBackground","Background color of the peek view editor.")),t.peekViewEditorGutterBackground=R.registerColor("peekViewEditorGutter.background",{dark:t.peekViewEditorBackground,light:t.peekViewEditorBackground,hc:t.peekViewEditorBackground},v.localize("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),t.peekViewResultsMatchHighlight=R.registerColor("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},v.localize("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),t.peekViewEditorMatchHighlight=R.registerColor("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},v.localize("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),t.peekViewEditorMatchHighlightBorder=R.registerColor("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:R.activeContrastBorder},v.localize("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor.")),V.registerThemingParticipant(function(e,o){var i=e.getColor(t.peekViewResultsMatchHighlight);i&&o.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch { background-color: "+i+"; }");var r=e.getColor(t.peekViewEditorMatchHighlight);r&&o.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: "+r+"; }");var n=e.getColor(t.peekViewEditorMatchHighlightBorder);n&&o.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid "+n+"; box-sizing: border-box; }");var s=e.getColor(R.activeContrastBorder);s&&o.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch { border: 1px dotted "+s+"; box-sizing: border-box; }");var a=e.getColor(t.peekViewResultsBackground);a&&o.addRule(".monaco-editor .reference-zone-widget .ref-tree { background-color: "+a+"; }");var l=e.getColor(t.peekViewResultsMatchForeground);l&&o.addRule(".monaco-editor .reference-zone-widget .ref-tree { color: "+l+"; }");var c=e.getColor(t.peekViewResultsFileForeground);c&&o.addRule(".monaco-editor .reference-zone-widget .ref-tree .reference-file { color: "+c+"; }");var d=e.getColor(t.peekViewResultsSelectionBackground);d&&o.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: "+d+"; }");var h=e.getColor(t.peekViewResultsSelectionForeground);h&&o.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: "+h+" !important; }");var u=e.getColor(t.peekViewEditorBackground);u&&o.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {"+(" background-color: "+u+";")+"}");var p=e.getColor(t.peekViewEditorGutterBackground);p&&o.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .margin {"+(" background-color: "+p+";")+"}")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesController.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesController",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),i=this&&this.__decorate||function(e,t,o,i){var n,r=arguments.length,s=3>r?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(s=(3>r?n(s):r>3?n(t,o,s):n(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},n=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},r=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))(function(n,r){function s(e){try{d(i.next(e))}catch(t){r(t)}}function c(e){try{d(i["throw"](e))}catch(t){r(t)}}function d(e){e.done?n(e.value):new o(function(t){t(e.value)}).then(s,c)}d((i=i.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){function o(e){return function(t){return i([e,t])}}function i(o){if(n)throw new TypeError("Generator is already executing.");for(;d;)try{if(n=1,r&&(s=2&o[0]?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;switch(r=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return d.label++,{value:o[1],done:!1};case 5:d.label++,r=o[1],o=[0];continue;case 7:o=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!(s=s.length>0&&s[s.length-1])&&(6===o[0]||2===o[0])){d=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){d.label=o[1];break}if(6===o[0]&&d.label<s[1]){d.label=s[1],s=o;break}if(s&&d.label<s[2]){d.label=s[2],d.ops.push(o);break}s[2]&&d.ops.pop(),d.trys.pop();continue}o=t.call(e,d)}catch(i){o=[6,i],r=0}finally{n=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var n,r,s,c,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return c={next:o(0),"throw":o(1),"return":o(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c},c=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),d=e("node_modules/monaco-editor/esm/vs/base/common/errors"),a=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),l=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),u=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),h=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),_=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),f=e("node_modules/monaco-editor/esm/vs/platform/storage/common/storage"),g=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesWidget"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),v=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification");t.ctxReferenceSearchVisible=new h.RawContextKey("referenceSearchVisible",!1);var b=function(){function e(e,o,i,n,r,s,c,d){this._defaultTreeKeyboardSupport=e,this._editorService=n,this._notificationService=r,this._instantiationService=s,this._storageService=c,this._configurationService=d,this._requestIdPool=0,this._disposables=[],this._ignoreModelChangeEvent=!1,this._editor=o,this._referenceSearchVisible=t.ctxReferenceSearchVisible.bindTo(i)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.getId=function(){return e.ID},e.prototype.dispose=function(){this._referenceSearchVisible.reset(),a.dispose(this._disposables),this._widget&&(a.dispose(this._widget),this._widget=null),this._model&&(a.dispose(this._model),this._model=null)},e.prototype.toggleWidget=function(e,t,o){var i,n=this;if(this._widget&&(i=this._widget.position),this.closeWidget(),!i||!e.containsPosition(i)){this._referenceSearchVisible.set(!0),this._disposables.push(this._editor.onDidChangeModelLanguage(function(){n.closeWidget()})),this._disposables.push(this._editor.onDidChangeModel(function(){n._ignoreModelChangeEvent||n.closeWidget()}));var r="peekViewLayout",s=g.LayoutData.fromJSON(this._storageService.get(r,0,"{}"));this._widget=this._instantiationService.createInstance(g.ReferenceWidget,this._editor,this._defaultTreeKeyboardSupport,s),this._widget.setTitle(c.localize("labelLoading","Loading...")),this._widget.show(e),this._disposables.push(this._widget.onDidClose(function(){t.cancel(),n._widget&&(n._storageService.store(r,JSON.stringify(n._widget.layoutData),0),n._widget=null),n.closeWidget()})),this._disposables.push(this._widget.onDidSelectReference(function(e){var t=e.element,i=e.kind;switch(i){case"open":if("editor"===e.source&&n._configurationService.getValue("editor.stablePeek"))break;case"side":t&&n.openReference(t,"side"===i);break;case"goto":t&&(o.onGoto?o.onGoto(t):n._gotoReference(t))}}));var d=++this._requestIdPool;t.then(function(t){return d===n._requestIdPool&&n._widget?(n._model&&n._model.dispose(),n._model=t,n._widget.setModel(n._model).then(function(){if(n._widget&&n._model&&n._editor.hasModel()){n._widget.setMetaTitle(o.getMetaTitle(n._model));var t=n._editor.getModel().uri,i=new p.Position(e.startLineNumber,e.startColumn),r=n._model.nearestReference(t,i);if(r)return n._widget.setSelection(r)}return void 0})):void 0},function(e){n._notificationService.error(e)})}},e.prototype.goToNextOrPreviousReference=function(e){return r(this,void 0,void 0,function(){var t,o,i,n;return s(this,function(r){switch(r.label){case 0:return this._editor.hasModel()&&this._model&&this._widget&&(t=this._widget.position)&&(o=this._model.nearestReference(this._editor.getModel().uri,t))?(i=this._model.nextOrPreviousReference(o,e),n=this._editor.hasTextFocus(),[4,this._widget.setSelection(i)]):[2];case 1:return r.sent(),[4,this._gotoReference(i)];case 2:return r.sent(),n&&this._editor.focus(),[2]}})})},e.prototype.closeWidget=function(){this._widget&&(a.dispose(this._widget),this._widget=null),this._referenceSearchVisible.reset(),this._disposables=a.dispose(this._disposables),this._model&&(a.dispose(this._model),this._model=null),this._editor.focus(),this._requestIdPool+=1},e.prototype._gotoReference=function(e){var t=this;this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;var o=m.Range.lift(e.range).collapseToStart();return this._editorService.openCodeEditor({resource:e.uri,options:{selection:o}},this._editor).then(function(e){return t._ignoreModelChangeEvent=!1,e&&e===t._editor?void(t._widget&&(t._widget.show(o),t._widget.focus())):void t.closeWidget()},function(e){t._ignoreModelChangeEvent=!1,d.onUnexpectedError(e)})},e.prototype.openReference=function(e,t){t||this.closeWidget();var o=e.uri,i=e.range;this._editorService.openCodeEditor({resource:o,options:{selection:i}},this._editor,t)},e.ID="editor.contrib.referencesController",e=i([n(2,h.IContextKeyService),n(3,l.ICodeEditorService),n(4,v.INotificationService),n(5,u.IInstantiationService),n(6,f.IStorageService),n(7,_.IConfigurationService)],e)}();t.ReferencesController=b});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinition.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinition",function(e,n){"use strict";function o(e,n,o,t){var i=o.ordered(e),r=i.map(function(o){return Promise.resolve(t(o,e,n)).then(void 0,function(e){return void d.onUnexpectedExternalError(e)})});return Promise.all(r).then(u.flatten).then(u.coalesce)}function t(e,n,t){return o(e,n,m.DefinitionProviderRegistry,function(e,n,o){return e.provideDefinition(n,o,t)})}function i(e,n,t){return o(e,n,m.DeclarationProviderRegistry,function(e,n,o){return e.provideDeclaration(n,o,t)})}function r(e,n,t){return o(e,n,m.ImplementationProviderRegistry,function(e,n,o){return e.provideImplementation(n,o,t)})}function a(e,n,t){return o(e,n,m.TypeDefinitionProviderRegistry,function(e,n,o){return e.provideTypeDefinition(n,o,t)})}Object.defineProperty(n,"__esModule",{value:!0});var u=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),s=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),d=e("node_modules/monaco-editor/esm/vs/base/common/errors"),c=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes");n.getDefinitionsAtPosition=t,n.getDeclarationsAtPosition=i,n.getImplementationsAtPosition=r,n.getTypeDefinitionsAtPosition=a,c.registerDefaultLanguageCommand("_executeDefinitionProvider",function(e,n){return t(e,n,s.CancellationToken.None)}),c.registerDefaultLanguageCommand("_executeDeclarationProvider",function(e,n){return i(e,n,s.CancellationToken.None)}),c.registerDefaultLanguageCommand("_executeImplementationProvider",function(e,n){return r(e,n,s.CancellationToken.None)}),c.registerDefaultLanguageCommand("_executeTypeDefinitionProvider",function(e,n){return a(e,n,s.CancellationToken.None)})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinitionCommands.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinitionCommands",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),i=this&&this.__awaiter||function(e,o,t,n){return new(t||(t=Promise))(function(i,r){function a(e){try{d(n.next(e))}catch(o){r(o)}}function s(e){try{d(n["throw"](e))}catch(o){r(o)}}function d(e){e.done?i(e.value):new t(function(o){o(e.value)}).then(a,s)}d((n=n.apply(e,o||[])).next())})},r=this&&this.__generator||function(e,o){function t(e){return function(o){return n([e,o])}}function n(t){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,r&&(a=2&t[0]?r["return"]:t[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,t[1])).done)return a;switch(r=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return d.label++,{value:t[1],done:!1};case 5:d.label++,r=t[1],t=[0];continue;case 7:t=d.ops.pop(),d.trys.pop();continue;default:if(a=d.trys,!(a=a.length>0&&a[a.length-1])&&(6===t[0]||2===t[0])){d=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){d.label=t[1];break}if(6===t[0]&&d.label<a[1]){d.label=a[1],a=t;break}if(a&&d.label<a[2]){d.label=a[2],d.ops.push(t);break}a[2]&&d.ops.pop(),d.trys.pop();continue}t=o.call(e,d)}catch(n){t=[6,n],r=0}finally{i=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}var i,r,a,s,d={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s},a=e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria"),s=e("node_modules/monaco-editor/esm/vs/base/common/async"),d=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),c=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),l=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),p=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),f=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),g=e("node_modules/monaco-editor/esm/vs/editor/contrib/message/messageController"),y=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/peekViewWidget"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesController"),v=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesModel"),b=t.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),_=e("node_modules/monaco-editor/esm/vs/platform/actions/common/actions"),E=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),D=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),x=e("node_modules/monaco-editor/esm/vs/platform/progress/common/progress"),T=e("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinition"),C=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),k=e("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState"),w=function(){function e(e,o,t,n){void 0===e&&(e=!1),void 0===o&&(o=!1),void 0===t&&(t=!0),void 0===n&&(n=!0),this.openToSide=e,this.openInPeek=o,this.filterCurrent=t,this.showMessage=n}return e}();o.DefinitionActionConfig=w;var I=function(e){function o(o,t){var n=e.call(this,t)||this;return n._configuration=o,n}return n(o,e),o.prototype.run=function(e,o){var t=this;if(!o.hasModel())return Promise.resolve(void 0);var n=e.get(D.INotificationService),a=e.get(u.ICodeEditorService),s=e.get(x.IProgressService),d=o.getModel(),c=o.getPosition(),l=new k.EditorStateCancellationTokenSource(o,5),p=this._getTargetLocationForPosition(d,c,l.token).then(function(e){return i(t,void 0,void 0,function(){var t,n,i,s,u,p,f,y;return r(this,function(){if(l.token.isCancellationRequested||d.isDisposed()||o.getModel()!==d)return[2];for(t=-1,n=[],i=0,s=e;i<s.length;i++)u=s[i],u&&u.range&&(p=n.push(u),this._configuration.filterCurrent&&u.uri.toString()===d.uri.toString()&&m.Range.containsPosition(u.range,c)&&-1===t&&(t=p-1));return 0!==n.length?1===n.length&&-1!==t?(y=n[0],[2,this._openReference(o,a,y,!1).then(function(){return void 0})]):[2,this._onResult(a,o,new v.ReferencesModel(n))]:(this._configuration.showMessage&&(f=d.getWordAtPosition(c),g.MessageController.get(o).showMessage(this._getNoResultFoundMessage(f),c)),[2])})})},function(e){n.error(e)}).finally(function(){l.dispose()});return s.showWhile(p,250),p},o.prototype._getTargetLocationForPosition=function(e,o,t){return T.getDefinitionsAtPosition(e,o,t)},o.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.localize("noResultWord","No definition found for '{0}'",e.word):b.localize("generic.noResults","No definition found")},o.prototype._getMetaTitle=function(e){return e.references.length>1?b.localize("meta.title"," {0} definitions",e.references.length):""},o.prototype._onResult=function(e,o,t){return i(this,void 0,void 0,function(){var n,i,s,d;return r(this,function(r){switch(r.label){case 0:return n=t.getAriaMessage(),a.alert(n),i=o.getConfiguration().contribInfo.gotoLocation,this._configuration.openInPeek||"peek"===i.multiple&&t.references.length>1?(this._openInPeek(e,o,t),[3,3]):[3,1];case 1:return o.hasModel()?(s=t.firstReference(),s?[4,this._openReference(o,e,s,this._configuration.openToSide)]:[2]):[3,3];case 2:d=r.sent(),d&&t.references.length>1&&"gotoAndPeek"===i.multiple?this._openInPeek(e,d,t):t.dispose(),r.label=3;case 3:return[2]}})})},o.prototype._openReference=function(e,o,t,n){var i=void 0;return f.isLocationLink(t)&&(i=t.targetSelectionRange),i||(i=t.range),o.openCodeEditor({resource:t.uri,options:{selection:m.Range.collapseToStart(i),revealIfOpened:!0,revealInCenterIfOutsideViewport:!0}},e,n)},o.prototype._openInPeek=function(e,o,t){var n=this,i=h.ReferencesController.get(o);i&&o.hasModel()?i.toggleWidget(o.getSelection(),s.createCancelablePromise(function(){return Promise.resolve(t)}),{getMetaTitle:function(e){return n._getMetaTitle(e)},onGoto:function(t){return i.closeWidget(),n._openReference(o,e,t,!1)}}):t.dispose()},o}(l.EditorAction);o.DefinitionAction=I;var P=c.isWeb?2118:70,A=function(e){function o(){var t=e.call(this,new w,{id:o.id,label:b.localize("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasDefinitionProvider,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.EditorContextKeys.editorTextFocus,primary:P,weight:100},menuOpts:{group:"navigation",order:1.1}})||this;return C.CommandsRegistry.registerCommandAlias("editor.action.goToDeclaration",o.id),t}return n(o,e),o.id="editor.action.revealDefinition",o}(I);o.GoToDefinitionAction=A;var K=function(e){function o(){var t=e.call(this,new w(!0),{id:o.id,label:b.localize("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasDefinitionProvider,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.EditorContextKeys.editorTextFocus,primary:d.KeyChord(2089,P),weight:100}})||this;return C.CommandsRegistry.registerCommandAlias("editor.action.openDeclarationToTheSide",o.id),t}return n(o,e),o.id="editor.action.revealDefinitionAside",o}(I);o.OpenDefinitionToSideAction=K;var R=function(e){function o(){var t=e.call(this,new w(void 0,!0,!1),{id:o.id,label:b.localize("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasDefinitionProvider,y.PeekContext.notInPeekEditor,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.EditorContextKeys.editorTextFocus,primary:582,linux:{primary:3140},weight:100},menuOpts:{group:"navigation",order:1.2}})||this;return C.CommandsRegistry.registerCommandAlias("editor.action.previewDeclaration",o.id),t}return n(o,e),o.id="editor.action.peekDefinition",o}(I);o.PeekDefinitionAction=R;var M=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return n(o,e),o.prototype._getTargetLocationForPosition=function(e,o,t){return T.getDeclarationsAtPosition(e,o,t)},o.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.localize("decl.noResultWord","No declaration found for '{0}'",e.word):b.localize("decl.generic.noResults","No declaration found")},o.prototype._getMetaTitle=function(e){return e.references.length>1?b.localize("decl.meta.title"," {0} declarations",e.references.length):""},o}(I);o.DeclarationAction=M;var z=function(e){function o(){return e.call(this,new w,{id:o.id,label:b.localize("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasDeclarationProvider,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),menuOpts:{group:"navigation",order:1.3}})||this}return n(o,e),o.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.localize("decl.noResultWord","No declaration found for '{0}'",e.word):b.localize("decl.generic.noResults","No declaration found")},o.prototype._getMetaTitle=function(e){return e.references.length>1?b.localize("decl.meta.title"," {0} declarations",e.references.length):""},o.id="editor.action.revealDeclaration",o}(M);o.GoToDeclarationAction=z;var N=function(e){function o(){return e.call(this,new w(void 0,!0,!1),{id:"editor.action.peekDeclaration",label:b.localize("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasDeclarationProvider,y.PeekContext.notInPeekEditor,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),menuOpts:{group:"navigation",order:1.31}})||this}return n(o,e),o}(M);o.PeekDeclarationAction=N;var S=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return n(o,e),o.prototype._getTargetLocationForPosition=function(e,o,t){return T.getImplementationsAtPosition(e,o,t)},o.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.localize("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):b.localize("goToImplementation.generic.noResults","No implementation found")},o.prototype._getMetaTitle=function(e){return e.references.length>1?b.localize("meta.implementations.title"," {0} implementations",e.references.length):""},o}(I);o.ImplementationAction=S;var O=function(e){function o(){return e.call(this,new w,{id:o.ID,label:b.localize("actions.goToImplementation.label","Go to Implementation"),alias:"Go to Implementation",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasImplementationProvider,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.EditorContextKeys.editorTextFocus,primary:2118,weight:100}})||this}return n(o,e),o.ID="editor.action.goToImplementation",o}(S);o.GoToImplementationAction=O;var G=function(e){function o(){return e.call(this,new w(!1,!0,!1),{id:o.ID,label:b.localize("actions.peekImplementation.label","Peek Implementation"),alias:"Peek Implementation",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasImplementationProvider,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.EditorContextKeys.editorTextFocus,primary:3142,weight:100}})||this}return n(o,e),o.ID="editor.action.peekImplementation",o}(S);o.PeekImplementationAction=G;var F=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return n(o,e),o.prototype._getTargetLocationForPosition=function(e,o,t){return T.getTypeDefinitionsAtPosition(e,o,t)},o.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.localize("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):b.localize("goToTypeDefinition.generic.noResults","No type definition found")},o.prototype._getMetaTitle=function(e){return e.references.length>1?b.localize("meta.typeDefinitions.title"," {0} type definitions",e.references.length):""},o}(I);o.TypeDefinitionAction=F;var W=function(e){function o(){return e.call(this,new w,{id:o.ID,label:b.localize("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasTypeDefinitionProvider,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.EditorContextKeys.editorTextFocus,primary:0,weight:100},menuOpts:{group:"navigation",order:1.4}})||this}return n(o,e),o.ID="editor.action.goToTypeDefinition",o}(F);o.GoToTypeDefinitionAction=W;var L=function(e){function o(){return e.call(this,new w(!1,!0,!1),{id:o.ID,label:b.localize("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:E.ContextKeyExpr.and(p.EditorContextKeys.hasTypeDefinitionProvider,p.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.EditorContextKeys.editorTextFocus,primary:0,weight:100}})||this}return n(o,e),o.ID="editor.action.peekTypeDefinition",o}(F);o.PeekTypeDefinitionAction=L,l.registerEditorAction(A),l.registerEditorAction(K),l.registerEditorAction(R),l.registerEditorAction(z),l.registerEditorAction(N),l.registerEditorAction(O),l.registerEditorAction(G),l.registerEditorAction(W),l.registerEditorAction(L),_.MenuRegistry.appendMenuItem(16,{group:"4_symbol_nav",command:{id:"editor.action.goToDeclaration",title:b.localize({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},order:2}),_.MenuRegistry.appendMenuItem(16,{group:"4_symbol_nav",command:{id:"editor.action.goToTypeDefinition",title:b.localize({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},order:3}),_.MenuRegistry.appendMenuItem(16,{group:"4_symbol_nav",command:{id:"editor.action.goToImplementation",title:b.localize({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementation")},order:4})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/clickLinkGesture.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/clickLinkGesture",function(e,o){"use strict";function t(e,o){return!!e[o]}function r(e){return"altKey"===e?g.isMacintosh?new l(57,"metaKey",6,"altKey"):new l(5,"ctrlKey",6,"altKey"):g.isMacintosh?new l(6,"altKey",57,"metaKey"):new l(6,"altKey",5,"ctrlKey")}Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function r(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),s=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=e("node_modules/monaco-editor/esm/vs/base/common/event"),g=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),a=function(){function e(e,o){this.target=e.target,this.hasTriggerModifier=t(e.event,o.triggerModifier),this.hasSideBySideModifier=t(e.event,o.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=s.isIE||e.event.detail<=1}return e}();o.ClickLinkMouseEvent=a;var c=function(){function e(e,o){this.keyCodeIsTriggerKey=e.keyCode===o.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===o.triggerSideBySideKey,this.hasTriggerModifier=t(e,o.triggerModifier)}return e}();o.ClickLinkKeyboardEvent=c;var l=function(){function e(e,o,t,r){this.triggerKey=e,this.triggerModifier=o,this.triggerSideBySideKey=t,this.triggerSideBySideModifier=r}return e.prototype.equals=function(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier},e}();o.ClickLinkOptions=l;var f=function(e){function o(o){var t=e.call(this)||this;return t._onMouseMoveOrRelevantKeyDown=t._register(new d.Emitter),t.onMouseMoveOrRelevantKeyDown=t._onMouseMoveOrRelevantKeyDown.event,t._onExecute=t._register(new d.Emitter),t.onExecute=t._onExecute.event,t._onCancel=t._register(new d.Emitter),t.onCancel=t._onCancel.event,t._editor=o,t._opts=r(t._editor.getConfiguration().multiCursorModifier),t.lastMouseMoveEvent=null,t.hasTriggerKeyOnMouseDown=!1,t._register(t._editor.onDidChangeConfiguration(function(e){if(e.multiCursorModifier){var o=r(t._editor.getConfiguration().multiCursorModifier);if(t._opts.equals(o))return;t._opts=o,t.lastMouseMoveEvent=null,t.hasTriggerKeyOnMouseDown=!1,t._onCancel.fire()}})),t._register(t._editor.onMouseMove(function(e){return t.onEditorMouseMove(new a(e,t._opts))})),t._register(t._editor.onMouseDown(function(e){return t.onEditorMouseDown(new a(e,t._opts))})),t._register(t._editor.onMouseUp(function(e){return t.onEditorMouseUp(new a(e,t._opts))})),t._register(t._editor.onKeyDown(function(e){return t.onEditorKeyDown(new c(e,t._opts))})),t._register(t._editor.onKeyUp(function(e){return t.onEditorKeyUp(new c(e,t._opts))})),t._register(t._editor.onMouseDrag(function(){return t.resetHandler()})),t._register(t._editor.onDidChangeCursorSelection(function(e){return t.onDidChangeCursorSelection(e)})),t._register(t._editor.onDidChangeModel(function(){return t.resetHandler()})),t._register(t._editor.onDidChangeModelContent(function(){return t.resetHandler()})),t._register(t._editor.onDidScrollChange(function(e){(e.scrollTopChanged||e.scrollLeftChanged)&&t.resetHandler()})),t}return n(o,e),o.prototype.onDidChangeCursorSelection=function(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this.resetHandler()},o.prototype.onEditorMouseMove=function(e){this.lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])},o.prototype.onEditorMouseDown=function(e){this.hasTriggerKeyOnMouseDown=e.hasTriggerModifier},o.prototype.onEditorMouseUp=function(e){this.hasTriggerKeyOnMouseDown&&this._onExecute.fire(e)},o.prototype.onEditorKeyDown=function(e){this.lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this.lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()},o.prototype.onEditorKeyUp=function(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()},o.prototype.resetHandler=function(){this.lastMouseMoveEvent=null,this.hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()},o}(u.Disposable);o.ClickLinkGesture=f});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinitionMouse.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinitionMouse",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),n=this&&this.__decorate||function(e,o,t,n){var i,r=arguments.length,s=3>r?o:null===n?n=Object.getOwnPropertyDescriptor(o,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,t,n);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(s=(3>r?i(s):r>3?i(o,t,s):i(o,t))||s);return r>3&&s&&Object.defineProperty(o,t,s),s},i=this&&this.__param||function(e,o){return function(t,n){o(t,n,e)}},r=t.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),s=e("node_modules/monaco-editor/esm/vs/base/common/async"),d=e("node_modules/monaco-editor/esm/vs/base/common/errors"),a=e("node_modules/monaco-editor/esm/vs/base/common/htmlContent"),u=e("node_modules/monaco-editor/esm/vs/editor/common/services/modeService"),c=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),l=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinition"),v=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),g=e("node_modules/monaco-editor/esm/vs/editor/common/services/resolverService"),f=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),p=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),_=e("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState"),b=e("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinitionCommands"),M=e("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/clickLinkGesture"),R=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),w=e("node_modules/monaco-editor/esm/vs/base/common/types"),C=function(){function e(e,o,t){var n=this;this.textModelResolverService=o,this.modeService=t,this.toUnhook=[],this.decorations=[],this.editor=e,this.previousPromise=null;var i=new M.ClickLinkGesture(e);this.toUnhook.push(i),this.toUnhook.push(i.onMouseMoveOrRelevantKeyDown(function(e){var o=e[0],t=e[1];n.startFindDefinition(o,w.withNullAsUndefined(t))})),this.toUnhook.push(i.onExecute(function(e){n.isEnabled(e)&&n.gotoDefinition(e.target,e.hasSideBySideModifier).then(function(){n.removeDecorations()},function(e){n.removeDecorations(),d.onUnexpectedError(e)})})),this.toUnhook.push(i.onCancel(function(){n.removeDecorations(),n.currentWordUnderMouse=null}))}return e.prototype.startFindDefinition=function(e,o){var t=this;if(!(9===e.target.type&&this.decorations.length>0)){if(!this.editor.hasModel()||!this.isEnabled(e,o))return this.currentWordUnderMouse=null,void this.removeDecorations();var n=e.target.position?this.editor.getModel().getWordAtPosition(e.target.position):null;if(!n)return this.currentWordUnderMouse=null,void this.removeDecorations();var i=e.target.position;if(!this.currentWordUnderMouse||this.currentWordUnderMouse.startColumn!==n.startColumn||this.currentWordUnderMouse.endColumn!==n.endColumn||this.currentWordUnderMouse.word!==n.word){this.currentWordUnderMouse=n;var u=new _.EditorState(this.editor,15);this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=s.createCancelablePromise(function(o){return t.findDefinition(e.target,o)}),this.previousPromise.then(function(e){if(!e||!e.length||!u.validate(t.editor))return void t.removeDecorations();if(e.length>1)t.addDecoration(new c.Range(i.lineNumber,n.startColumn,i.lineNumber,n.endColumn),(new a.MarkdownString).appendText(r.localize("multipleResults","Click to show {0} definitions.",e.length)));else{var o=e[0];if(!o.uri)return;t.textModelResolverService.createModelReference(o.uri).then(function(e){if(!e.object||!e.object.textEditorModel)return void e.dispose();var r=e.object.textEditorModel,s=o.range.startLineNumber;if(1>s||s>r.getLineCount())return void e.dispose();var d,u=t.getPreviewValue(r,s);d=o.originSelectionRange?c.Range.lift(o.originSelectionRange):new c.Range(i.lineNumber,n.startColumn,i.lineNumber,n.endColumn);var m=t.modeService.getModeIdByFilepathOrFirstLine(r.uri.fsPath);t.addDecoration(d,(new a.MarkdownString).appendCodeblock(m?m:"",u)),e.dispose()})}}).then(void 0,d.onUnexpectedError)}}},e.prototype.getPreviewValue=function(o,t){var n=this.getPreviewRangeBasedOnBrackets(o,t),i=n.endLineNumber-n.startLineNumber;i>=e.MAX_SOURCE_PREVIEW_LINES&&(n=this.getPreviewRangeBasedOnIndentation(o,t));var r=this.stripIndentationFromPreviewRange(o,t,n);return r},e.prototype.stripIndentationFromPreviewRange=function(e,o,t){for(var n=e.getLineFirstNonWhitespaceColumn(o),i=n,r=o+1;r<t.endLineNumber;r++){var s=e.getLineFirstNonWhitespaceColumn(r);i=Math.min(i,s)}var d=e.getValueInRange(t).replace(new RegExp("^\\s{"+(i-1)+"}","gm"),"").trim();return d},e.prototype.getPreviewRangeBasedOnIndentation=function(o,t){for(var n=o.getLineFirstNonWhitespaceColumn(t),i=Math.min(o.getLineCount(),t+e.MAX_SOURCE_PREVIEW_LINES),r=t+1;i>r;r++){var s=o.getLineFirstNonWhitespaceColumn(r);if(n===s)break}return new c.Range(t,1,r+1,1)},e.prototype.getPreviewRangeBasedOnBrackets=function(o,t){for(var n=Math.min(o.getLineCount(),t+e.MAX_SOURCE_PREVIEW_LINES),i=[],r=!0,s=o.findNextBracket(new R.Position(t,1));null!==s;){if(0===i.length)i.push(s);else{var d=i[i.length-1];if(d.open===s.open&&d.isOpen&&!s.isOpen?i.pop():i.push(s),0===i.length){if(!r)return new c.Range(t,1,s.range.endLineNumber+1,1);r=!1}}var a=o.getLineMaxColumn(t),u=s.range.endLineNumber,m=s.range.endColumn;if(a===s.range.endColumn&&(u++,m=1),u>n)return new c.Range(t,1,n+1,1);s=o.findNextBracket(new R.Position(u,m))}return new c.Range(t,1,n+1,1)},e.prototype.addDecoration=function(e,o){var t={range:e,options:{inlineClassName:"goto-definition-link",hoverMessage:o}};this.decorations=this.editor.deltaDecorations(this.decorations,[t])},e.prototype.removeDecorations=function(){this.decorations.length>0&&(this.decorations=this.editor.deltaDecorations(this.decorations,[]))},e.prototype.isEnabled=function(e,o){return this.editor.hasModel()&&e.isNoneOrSingleMouseDown&&6===e.target.type&&(e.hasTriggerModifier||(o?o.keyCodeIsTriggerKey:!1))&&m.DefinitionProviderRegistry.has(this.editor.getModel())},e.prototype.findDefinition=function(e,o){var t=this.editor.getModel();return t?h.getDefinitionsAtPosition(t,e.position,o):Promise.resolve(null)},e.prototype.gotoDefinition=function(e,o){var t=this;this.editor.setPosition(e.position);var n=new b.DefinitionAction(new b.DefinitionActionConfig(o,!1,!0,!1),{alias:"",label:"",id:"",precondition:null});return this.editor.invokeWithinContext(function(e){return n.run(e,t.editor)})},e.prototype.getId=function(){return e.ID},e.prototype.dispose=function(){this.toUnhook=v.dispose(this.toUnhook)},e.ID="editor.contrib.gotodefinitionwithmouse",e.MAX_SOURCE_PREVIEW_LINES=8,e=n([i(1,g.ITextModelService),i(2,u.IModeService)],e)}();l.registerEditorContribution(C),f.registerThemingParticipant(function(e,o){var t=e.getColor(p.editorActiveLinkForeground);t&&o.addRule(".monaco-editor .goto-definition-link { color: "+t+" !important; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoErrorWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoErrorWidget",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),i=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),n=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),a=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=e("node_modules/monaco-editor/esm/vs/platform/markers/common/markers"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),c=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),h=e("node_modules/monaco-editor/esm/vs/base/common/color"),m=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),p=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),g=e("node_modules/monaco-editor/esm/vs/base/common/labels"),u=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),_=e("node_modules/monaco-editor/esm/vs/base/common/event"),v=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/peekViewWidget"),f=e("node_modules/monaco-editor/esm/vs/base/common/resources"),y=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesWidget"),k=function(){function e(e,t,o){var r=this;this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=[],this._editor=t;var i=document.createElement("div");i.className="descriptioncontainer",i.setAttribute("aria-live","assertive"),i.setAttribute("role","alert"),this._messageBlock=document.createElement("div"),n.addClass(this._messageBlock,"message"),i.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),i.appendChild(this._relatedBlock),this._disposables.push(n.addStandardDisposableListener(this._relatedBlock,"click",function(e){e.preventDefault();var t=r._relatedDiagnostics.get(e.target);t&&o(t)})),this._scrollable=new p.ScrollableElement(i,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.push(this._scrollable.onScroll(function(e){i.style.left="-"+e.scrollLeft+"px",i.style.top="-"+e.scrollTop+"px"})),this._disposables.push(this._scrollable)}return e.prototype.dispose=function(){a.dispose(this._disposables)},e.prototype.update=function(e){var t=e.source,o=e.message,r=e.relatedInformation,i=e.code,a=o.split(/\r\n|\r|\n/g);this._lines=a.length,this._longestLineLength=0;for(var s=0,l=a;s<l.length;s++){var d=l[s];this._longestLineLength=Math.max(d.length,this._longestLineLength)}n.clearNode(this._messageBlock),this._editor.applyFontInfo(this._messageBlock);for(var c=this._messageBlock,h=0,m=a;h<m.length;h++){var d=m[h];c=document.createElement("div"),c.innerText=d,""===d&&(c.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(c)}if(t||i){var p=document.createElement("span");if(n.addClass(p,"details"),c.appendChild(p),t){var _=document.createElement("span");_.innerText=t,n.addClass(_,"source"),p.appendChild(_)}if(i){var v=document.createElement("span");v.innerText="("+i+")",n.addClass(v,"code"),p.appendChild(v)}}if(n.clearNode(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),u.isNonEmptyArray(r)){var f=this._relatedBlock.appendChild(document.createElement("div"));f.style.paddingTop=Math.floor(.66*this._editor.getConfiguration().lineHeight)+"px",this._lines+=1;for(var y=0,k=r;y<k.length;y++){var b=k[y],C=document.createElement("div"),w=document.createElement("a");n.addClass(w,"filename"),w.innerHTML=g.getBaseLabel(b.resource)+"("+b.startLineNumber+", "+b.startColumn+"): ",w.title=g.getPathLabel(b.resource,void 0),this._relatedDiagnostics.set(w,b);var M=document.createElement("span");M.innerText=b.message,C.appendChild(w),C.appendChild(M),this._lines+=1,f.appendChild(C)}}var S=this._editor.getConfiguration().fontInfo,E=Math.ceil(S.typicalFullwidthCharacterWidth*this._longestLineLength*.75),B=S.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:E,scrollHeight:B})},e.prototype.layout=function(e,t){this._scrollable.getDomNode().style.height=e+"px",this._scrollable.getDomNode().style.width=t+"px",this._scrollable.setScrollDimensions({width:t,height:e})},e.prototype.getHeightInLines=function(){return Math.min(17,this._lines)},e}(),b=function(e){function o(t,o,r){var i=e.call(this,t,{showArrow:!0,showFrame:!0,isAccessible:!0})||this;return i.actions=o,i._themeService=r,i._callOnDispose=[],i._onDidSelectRelatedInformation=new _.Emitter,i.onDidSelectRelatedInformation=i._onDidSelectRelatedInformation.event,i._severity=s.MarkerSeverity.Warning,i._backgroundColor=h.Color.white,i._applyTheme(r.getTheme()),i._callOnDispose.push(r.onThemeChange(i._applyTheme.bind(i))),i.create(),i}return r(o,e),o.prototype._applyTheme=function(e){this._backgroundColor=e.getColor(t.editorMarkerNavigationBackground);var o=t.editorMarkerNavigationError;this._severity===s.MarkerSeverity.Warning?o=t.editorMarkerNavigationWarning:this._severity===s.MarkerSeverity.Info&&(o=t.editorMarkerNavigationInfo);var r=e.getColor(o);this.style({arrowColor:r,frameColor:r,headerBackgroundColor:this._backgroundColor,primaryHeadingColor:e.getColor(y.peekViewTitleForeground),secondaryHeadingColor:e.getColor(y.peekViewTitleInfoForeground)})},o.prototype._applyStyles=function(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),e.prototype._applyStyles.call(this)},o.prototype.dispose=function(){this._callOnDispose=a.dispose(this._callOnDispose),e.prototype.dispose.call(this)},o.prototype.focus=function(){this._parentContainer.focus()},o.prototype._fillHead=function(t){e.prototype._fillHead.call(this,t),this._actionbarWidget.push(this.actions,{label:!1,icon:!0})},o.prototype._getActionBarOptions=function(){return{orientation:1}},o.prototype._fillBody=function(e){var t=this;this._parentContainer=e,n.addClass(e,"marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new k(this._container,this.editor,function(e){return t._onDidSelectRelatedInformation.fire(e)}),this._disposables.push(this._message)},o.prototype.show=function(){throw new Error("call showAtMarker")},o.prototype.showAtMarker=function(t,o,r){this._container.classList.remove("stale"),this._message.update(t),this._severity=t.severity,this._applyTheme(this._themeService.getTheme());var n=l.Range.lift(t),a=this.editor.getPosition(),d=a&&n.containsPosition(a)?a:n.getStartPosition();e.prototype.show.call(this,d,this.computeRequiredHeight());var c=this.editor.getModel();if(c){var h=r>1?i.localize("problems","{0} of {1} problems",o,r):i.localize("change","{0} of {1} problem",o,r);this.setTitle(f.basename(c.uri),h)}var m="error";this._severity===s.MarkerSeverity.Warning?m="warning":this._severity===s.MarkerSeverity.Info&&(m="info"),this.setTitleIcon(m),this.editor.revealPositionInCenter(d,0),1!==this.editor.getConfiguration().accessibilitySupport&&this.focus()},o.prototype.updateMarker=function(e){this._container.classList.remove("stale"),this._message.update(e)},o.prototype.showStale=function(){this._container.classList.add("stale"),this._relayout()},o.prototype._doLayoutBody=function(t,o){e.prototype._doLayoutBody.call(this,t,o),this._heightInPixel=t,this._message.layout(t,o),this._container.style.height=t+"px"},o.prototype._onWidth=function(e){this._message.layout(this._heightInPixel,e)},o.prototype._relayout=function(){e.prototype._relayout.call(this,this.computeRequiredHeight())},o.prototype.computeRequiredHeight=function(){return 3+this._message.getHeightInLines()},o}(v.PeekViewWidget);t.MarkerNavigationWidget=b;var C=d.oneOf(m.editorErrorForeground,m.editorErrorBorder),w=d.oneOf(m.editorWarningForeground,m.editorWarningBorder),M=d.oneOf(m.editorInfoForeground,m.editorInfoBorder);t.editorMarkerNavigationError=d.registerColor("editorMarkerNavigationError.background",{dark:C,light:C,hc:C},i.localize("editorMarkerNavigationError","Editor marker navigation widget error color.")),t.editorMarkerNavigationWarning=d.registerColor("editorMarkerNavigationWarning.background",{dark:w,light:w,hc:w},i.localize("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),t.editorMarkerNavigationInfo=d.registerColor("editorMarkerNavigationInfo.background",{dark:M,light:M,hc:M},i.localize("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),t.editorMarkerNavigationBackground=d.registerColor("editorMarkerNavigation.background",{dark:"#2D2D30",light:h.Color.white,hc:"#0C141F"},i.localize("editorMarkerNavigationBackground","Editor marker navigation widget background.")),c.registerThemingParticipant(function(e,t){var o=e.getColor(d.textLinkForeground);o&&t.addRule(".monaco-editor .marker-widget a { color: "+o+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),i=this&&this.__decorate||function(e,t,r,o){var i,n=arguments.length,s=3>n?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(3>n?i(s):n>3?i(t,r,s):i(t,r))||s);return n>3&&s&&Object.defineProperty(t,r,s),s},n=this&&this.__param||function(e,t){return function(r,o){t(r,o,e)}},s=this&&this.__awaiter||function(e,t,r,o){return new(r||(r=Promise))(function(i,n){function s(e){try{d(o.next(e))}catch(t){n(t)}}function a(e){try{d(o["throw"](e))}catch(t){n(t)}}function d(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(s,a)}d((o=o.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){function r(e){return function(t){return o([e,t])}}function o(r){if(i)throw new TypeError("Generator is already executing.");for(;d;)try{if(i=1,n&&(s=2&r[0]?n["return"]:r[0]?n["throw"]||((s=n["return"])&&s.call(n),0):n.next)&&!(s=s.call(n,r[1])).done)return s;switch(n=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return d.label++,{value:r[1],done:!1};case 5:d.label++,n=r[1],r=[0];continue;case 7:r=d.ops.pop(),d.trys.pop();continue;default:if(s=d.trys,!(s=s.length>0&&s[s.length-1])&&(6===r[0]||2===r[0])){d=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]<s[3])){d.label=r[1];break}if(6===r[0]&&d.label<s[1]){d.label=s[1],s=r;break}if(s&&d.label<s[2]){d.label=s[2],d.ops.push(r);break}s[2]&&d.ops.pop(),d.trys.pop();continue}r=t.call(e,d)}catch(o){r=[6,o],n=0}finally{i=s=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}var i,n,s,a,d={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:r(0),"throw":r(1),"return":r(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},d=r.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),c=e("node_modules/monaco-editor/esm/vs/base/common/event"),l=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),u=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),h=e("node_modules/monaco-editor/esm/vs/platform/markers/common/markers"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),_=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),p=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),g=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),f=e("node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoErrorWidget"),v=e("node_modules/monaco-editor/esm/vs/base/common/strings"),k=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),b=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),x=e("node_modules/monaco-editor/esm/vs/base/common/errors"),y=e("node_modules/monaco-editor/esm/vs/platform/actions/common/actions"),C=e("node_modules/monaco-editor/esm/vs/base/common/actions"),M=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),I=function(){function e(e,t){var r=this;this._editor=e,this._markers=[],this._nextIdx=-1,this._toUnbind=[],this._ignoreSelectionChange=!1,this._onCurrentMarkerChanged=new c.Emitter,this._onMarkerSetChanged=new c.Emitter,this.setMarkers(t),this._toUnbind.push(this._editor.onDidDispose(function(){return r.dispose()})),this._toUnbind.push(this._editor.onDidChangeCursorPosition(function(){r._ignoreSelectionChange||r.currentMarker&&r._editor.getPosition()&&m.Range.containsPosition(r.currentMarker,r._editor.getPosition())||(r._nextIdx=-1)}))}return Object.defineProperty(e.prototype,"onCurrentMarkerChanged",{get:function(){return this._onCurrentMarkerChanged.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMarkerSetChanged",{get:function(){return this._onMarkerSetChanged.event},enumerable:!0,configurable:!0}),e.prototype.setMarkers=function(e){var t=this._nextIdx>=0?this._markers[this._nextIdx]:void 0;this._markers=e||[],this._markers.sort(E.compareMarker),this._nextIdx=t?Math.max(-1,k.binarySearch(this._markers,t,E.compareMarker)):-1,this._onMarkerSetChanged.fire(this)},e.prototype.withoutWatchingEditorPosition=function(e){this._ignoreSelectionChange=!0;try{e()}finally{this._ignoreSelectionChange=!1}},e.prototype._initIdx=function(e){for(var t=!1,r=this._editor.getPosition(),o=0;o<this._markers.length;o++){var i=m.Range.lift(this._markers[o]);if(i.isEmpty()&&this._editor.getModel()){var n=this._editor.getModel().getWordAtPosition(i.getStartPosition());n&&(i=new m.Range(i.startLineNumber,n.startColumn,i.startLineNumber,n.endColumn))}if(r&&(i.containsPosition(r)||r.isBeforeOrEqual(i.getStartPosition()))){this._nextIdx=o,t=!0;break}}t||(this._nextIdx=e?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)},Object.defineProperty(e.prototype,"currentMarker",{get:function(){return this.canNavigate()?this._markers[this._nextIdx]:void 0},set:function(e){var t=this._nextIdx;this._nextIdx=-1,e&&(this._nextIdx=this.indexOf(e)),this._nextIdx!==t&&this._onCurrentMarkerChanged.fire(e)},enumerable:!0,configurable:!0}),e.prototype.move=function(e,t){if(!this.canNavigate())return this._onCurrentMarkerChanged.fire(void 0),!t;var r=this._nextIdx,o=!1;if(-1===this._nextIdx?this._initIdx(e):e?t||this._nextIdx+1<this._markers.length?this._nextIdx=(this._nextIdx+1)%this._markers.length:o=!0:e||(t||this._nextIdx>0?this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length:o=!0),r!==this._nextIdx){var i=this._markers[this._nextIdx];this._onCurrentMarkerChanged.fire(i)}return o},e.prototype.canNavigate=function(){return this._markers.length>0},e.prototype.findMarkerAtPosition=function(e){for(var t=0,r=this._markers;t<r.length;t++){var o=r[t];if(m.Range.containsPosition(o,e))return o}return void 0},Object.defineProperty(e.prototype,"total",{get:function(){return this._markers.length},enumerable:!0,configurable:!0}),e.prototype.indexOf=function(e){return 1+this._markers.indexOf(e)},e.prototype.dispose=function(){this._toUnbind=l.dispose(this._toUnbind)},e}(),w=function(){function e(e,t,r,o,i,n){this._markerService=t,this._contextKeyService=r,this._themeService=o,this._editorService=i,this._keybindingService=n,this._model=null,this._widget=null,this._disposeOnClose=[],this._editor=e,this._widgetVisible=A.bindTo(this._contextKeyService)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.getId=function(){return e.ID},e.prototype.dispose=function(){this._cleanUp()},e.prototype._cleanUp=function(){this._widgetVisible.reset(),this._disposeOnClose=l.dispose(this._disposeOnClose),this._widget=null,this._model=null},e.prototype.getOrCreateModel=function(){var e,t=this;if(this._model)return this._model;var r=this._getMarkers();this._model=new I(this._editor,r),this._markerService.onMarkerChanged(this._onMarkerChanged,this,this._disposeOnClose);var o=this._keybindingService.lookupKeybinding(P.ID),i=this._keybindingService.lookupKeybinding(S.ID),n=[new C.Action(P.ID,P.LABEL+(o?" ("+o.getLabel()+")":""),"show-previous-problem chevron-up",this._model.canNavigate(),function(){return s(t,void 0,void 0,function(){return a(this,function(){return this._model&&this._model.move(!1,!0),[2]})})}),new C.Action(S.ID,S.LABEL+(i?" ("+i.getLabel()+")":""),"show-next-problem chevron-down",this._model.canNavigate(),function(){return s(t,void 0,void 0,function(){return a(this,function(){return this._model&&this._model.move(!0,!0),[2]})})})];return this._widget=new f.MarkerNavigationWidget(this._editor,n,this._themeService),this._widgetVisible.set(!0),this._widget.onDidClose(function(){return t._cleanUp()},this,this._disposeOnClose),this._disposeOnClose.push(this._model),this._disposeOnClose.push(this._widget),(e=this._disposeOnClose).push.apply(e,n),this._disposeOnClose.push(this._widget.onDidSelectRelatedInformation(function(e){t._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:m.Range.lift(e).collapseToStart()}},t._editor).then(void 0,x.onUnexpectedError),t.closeMarkersNavigation(!1)})),this._disposeOnClose.push(this._editor.onDidChangeModel(function(){return t._cleanUp()})),this._disposeOnClose.push(this._model.onCurrentMarkerChanged(function(e){e&&t._model?t._model.withoutWatchingEditorPosition(function(){t._widget&&t._model&&t._widget.showAtMarker(e,t._model.indexOf(e),t._model.total)}):t._cleanUp()})),this._disposeOnClose.push(this._model.onMarkerSetChanged(function(){if(t._widget&&t._widget.position&&t._model){var e=t._model.findMarkerAtPosition(t._widget.position);e?t._widget.updateMarker(e):t._widget.showStale()}})),this._model},e.prototype.closeMarkersNavigation=function(e){void 0===e&&(e=!0),this._cleanUp(),e&&this._editor.focus()},e.prototype.show=function(e){var t=this.getOrCreateModel();t.currentMarker=e},e.prototype._onMarkerChanged=function(e){var t=this._editor.getModel();t&&this._model&&e.some(function(e){return t.uri.toString()===e.toString()})&&this._model.setMarkers(this._getMarkers())},e.prototype._getMarkers=function(){var e=this._editor.getModel();return e?this._markerService.read({resource:e.uri,severities:h.MarkerSeverity.Error|h.MarkerSeverity.Warning|h.MarkerSeverity.Info}):[]},e.ID="editor.contrib.markerController",e=i([n(1,h.IMarkerService),n(2,u.IContextKeyService),n(3,p.IThemeService),n(4,b.ICodeEditorService),n(5,M.IKeybindingService)],e)}();t.MarkerController=w;var E=function(e){function t(t,r,o){var i=e.call(this,o)||this;return i._isNext=t,i._multiFile=r,i}return o(t,e),t.prototype.run=function(e,r){var o=this,i=e.get(h.IMarkerService),n=e.get(b.ICodeEditorService),s=w.get(r);if(!s)return Promise.resolve(void 0);var a=s.getOrCreateModel(),d=a.move(this._isNext,!this._multiFile);if(!d||!this._multiFile)return Promise.resolve(void 0);var c=i.read({severities:h.MarkerSeverity.Error|h.MarkerSeverity.Warning|h.MarkerSeverity.Info}).sort(t.compareMarker);if(0===c.length)return Promise.resolve(void 0);var l=r.getModel();if(!l)return Promise.resolve(void 0);var u=a.currentMarker||{resource:l.uri,severity:h.MarkerSeverity.Error,startLineNumber:1,startColumn:1,endLineNumber:1,endColumn:1},m=k.binarySearch(c,u,t.compareMarker);0>m?(m=~m,m%=c.length):m=this._isNext?(m+1)%c.length:(m+c.length-1)%c.length;var _=c[m];return _.resource.toString()===l.uri.toString()?(a.move(this._isNext,!0),Promise.resolve(void 0)):(s.closeMarkersNavigation(),n.openCodeEditor({resource:_.resource,options:{pinned:!1,revealIfOpened:!0,revealInCenterIfOutsideViewport:!0,selection:_}},r).then(function(e){return e?e.getAction(o.id).run():void 0}))},t.compareMarker=function(e,t){var r=v.compare(e.resource.toString(),t.resource.toString());return 0===r&&(r=h.MarkerSeverity.compare(e.severity,t.severity)),0===r&&(r=m.Range.compareRangesUsingStarts(e,t)),r},t}(_.EditorAction),S=function(e){function t(){return e.call(this,!0,!1,{id:t.ID,label:t.LABEL,alias:"Go to Next Error or Warning",precondition:g.EditorContextKeys.writable,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:578,weight:100}})||this}return o(t,e),t.ID="editor.action.marker.next",t.LABEL=d.localize("markerAction.next.label","Go to Next Problem (Error, Warning, Info)"),t}(E);t.NextMarkerAction=S;var P=function(e){function t(){return e.call(this,!1,!1,{id:t.ID,label:t.LABEL,alias:"Go to Previous Error or Warning",precondition:g.EditorContextKeys.writable,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1602,weight:100}})||this}return o(t,e),t.ID="editor.action.marker.prev",t.LABEL=d.localize("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),t}(E),O=function(e){function t(){return e.call(this,!0,!0,{id:"editor.action.marker.nextInFiles",label:d.localize("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Error or Warning in Files",precondition:g.EditorContextKeys.writable,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:66,weight:100}})||this}return o(t,e),t}(E),N=function(e){function t(){return e.call(this,!1,!0,{id:"editor.action.marker.prevInFiles",label:d.localize("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Error or Warning in Files",precondition:g.EditorContextKeys.writable,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:1090,weight:100}})||this}return o(t,e),t}(E);_.registerEditorContribution(w),_.registerEditorAction(S),_.registerEditorAction(P),_.registerEditorAction(O),_.registerEditorAction(N);var A=new u.RawContextKey("markersNavigationVisible",!1),D=_.EditorCommand.bindToContribution(w.get);_.registerEditorCommand(new D({id:"closeMarkersNavigation",precondition:A,handler:function(e){return e.closeMarkersNavigation()},kbOpts:{weight:150,kbExpr:g.EditorContextKeys.focus,primary:9,secondary:[1033]}})),y.MenuRegistry.appendMenuItem(16,{group:"6_problem_nav",command:{id:"editor.action.marker.nextInFiles",title:d.localize({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem")},order:1}),y.MenuRegistry.appendMenuItem(16,{group:"6_problem_nav",command:{id:"editor.action.marker.prevInFiles",title:d.localize({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem")},order:2})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorPickerModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorPickerModel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/common/event"),n=function(){function e(e,t,n){this.presentationIndex=n,this._onColorFlushed=new o.Emitter,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new o.Emitter,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new o.Emitter,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}return Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"presentation",{get:function(){return this.colorPresentations[this.presentationIndex]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"colorPresentations",{get:function(){return this._colorPresentations},set:function(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)},enumerable:!0,configurable:!0}),e.prototype.selectNextColorPresentation=function(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)},e.prototype.guessColorPresentation=function(e,t){for(var o=0;o<this.colorPresentations.length;o++)if(t===this.colorPresentations[o].label){this.presentationIndex=o,this._onDidChangePresentation.fire(this.presentation);break}},e.prototype.flushColor=function(){this._onColorFlushed.fire(this._color)},e}();t.ColorPickerModel=n});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorPickerWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorPickerWidget",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function i(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),n=o("node_modules/monaco-editor/esm/vs/base/browser/browser"),r=t.__importStar(o("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=o("node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor"),a=o("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),d=o("node_modules/monaco-editor/esm/vs/base/common/color"),l=o("node_modules/monaco-editor/esm/vs/base/common/event"),h=o("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),u=o("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),c=o("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),p=r.$,m=function(o){function e(e,t,i){var n=o.call(this)||this;n.model=t,n.domNode=p(".colorpicker-header"),r.append(e,n.domNode),n.pickedColorNode=r.append(n.domNode,p(".picked-color"));var s=r.append(n.domNode,p(".original-color"));return s.style.backgroundColor=d.Color.Format.CSS.format(n.model.originalColor),n.backgroundColor=i.getTheme().getColor(u.editorHoverBackground)||d.Color.white,n._register(c.registerThemingParticipant(function(o){n.backgroundColor=o.getColor(u.editorHoverBackground)||d.Color.white})),n._register(r.addDisposableListener(n.pickedColorNode,r.EventType.CLICK,function(){return n.model.selectNextColorPresentation()})),n._register(r.addDisposableListener(s,r.EventType.CLICK,function(){n.model.color=n.model.originalColor,n.model.flushColor()})),n._register(t.onDidChangeColor(n.onDidChangeColor,n)),n._register(t.onDidChangePresentation(n.onDidChangePresentation,n)),n.pickedColorNode.style.backgroundColor=d.Color.Format.CSS.format(t.color),r.toggleClass(n.pickedColorNode,"light",t.color.rgba.a<.5?n.backgroundColor.isLighter():t.color.isLighter()),n}return i(e,o),e.prototype.onDidChangeColor=function(o){this.pickedColorNode.style.backgroundColor=d.Color.Format.CSS.format(o),r.toggleClass(this.pickedColorNode,"light",o.rgba.a<.5?this.backgroundColor.isLighter():o.isLighter()),this.onDidChangePresentation()},e.prototype.onDidChangePresentation=function(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""},e}(h.Disposable);e.ColorPickerHeader=m;var g=function(o){function e(e,t,i){var n=o.call(this)||this;return n.model=t,n.pixelRatio=i,n.domNode=p(".colorpicker-body"),r.append(e,n.domNode),n.saturationBox=new C(n.domNode,n.model,n.pixelRatio),n._register(n.saturationBox),n._register(n.saturationBox.onDidChange(n.onDidSaturationValueChange,n)),n._register(n.saturationBox.onColorFlushed(n.flushColor,n)),n.opacityStrip=new v(n.domNode,n.model),n._register(n.opacityStrip),n._register(n.opacityStrip.onDidChange(n.onDidOpacityChange,n)),n._register(n.opacityStrip.onColorFlushed(n.flushColor,n)),n.hueStrip=new y(n.domNode,n.model),n._register(n.hueStrip),n._register(n.hueStrip.onDidChange(n.onDidHueChange,n)),n._register(n.hueStrip.onColorFlushed(n.flushColor,n)),n}return i(e,o),e.prototype.flushColor=function(){this.model.flushColor()},e.prototype.onDidSaturationValueChange=function(o){var e=o.s,t=o.v,i=this.model.color.hsva;this.model.color=new d.Color(new d.HSVA(i.h,e,t,i.a))},e.prototype.onDidOpacityChange=function(o){var e=this.model.color.hsva;this.model.color=new d.Color(new d.HSVA(e.h,e.s,e.v,o))},e.prototype.onDidHueChange=function(o){var e=this.model.color.hsva,t=360*(1-o);this.model.color=new d.Color(new d.HSVA(360===t?0:t,e.s,e.v,e.a))},e.prototype.layout=function(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()},e}(h.Disposable);e.ColorPickerBody=g;var C=function(o){function e(e,t,i){var n=o.call(this)||this;return n.model=t,n.pixelRatio=i,n._onDidChange=new l.Emitter,n.onDidChange=n._onDidChange.event,n._onColorFlushed=new l.Emitter,n.onColorFlushed=n._onColorFlushed.event,n.domNode=p(".saturation-wrap"),r.append(e,n.domNode),n.canvas=document.createElement("canvas"),n.canvas.className="saturation-box",r.append(n.domNode,n.canvas),n.selection=p(".saturation-selection"),r.append(n.domNode,n.selection),n.layout(),n._register(r.addDisposableListener(n.domNode,r.EventType.MOUSE_DOWN,function(o){return n.onMouseDown(o)})),n._register(n.model.onDidChangeColor(n.onDidChangeColor,n)),n.monitor=null,n}return i(e,o),e.prototype.onMouseDown=function(o){var e=this;this.monitor=this._register(new s.GlobalMouseMoveMonitor);var t=r.getDomNodePagePosition(this.domNode);o.target!==this.selection&&this.onDidChangePosition(o.offsetX,o.offsetY),this.monitor.startMonitoring(s.standardMouseMoveMerger,function(o){return e.onDidChangePosition(o.posx-t.left,o.posy-t.top)},function(){return null});var i=r.addDisposableListener(document,r.EventType.MOUSE_UP,function(){e._onColorFlushed.fire(),i.dispose(),e.monitor&&(e.monitor.stopMonitoring(!0),e.monitor=null)},!0)},e.prototype.onDidChangePosition=function(o,e){var t=Math.max(0,Math.min(1,o/this.width)),i=Math.max(0,Math.min(1,1-e/this.height));this.paintSelection(t,i),this._onDidChange.fire({s:t,v:i})},e.prototype.layout=function(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();var o=this.model.color.hsva;this.paintSelection(o.s,o.v)},e.prototype.paint=function(){var o=this.model.color.hsva,e=new d.Color(new d.HSVA(o.h,1,1,1)),t=this.canvas.getContext("2d"),i=t.createLinearGradient(0,0,this.canvas.width,0);i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)");var n=t.createLinearGradient(0,0,0,this.canvas.height);n.addColorStop(0,"rgba(0, 0, 0, 0)"),n.addColorStop(1,"rgba(0, 0, 0, 1)"),t.rect(0,0,this.canvas.width,this.canvas.height),t.fillStyle=d.Color.Format.CSS.format(e),t.fill(),t.fillStyle=i,t.fill(),t.fillStyle=n,t.fill()},e.prototype.paintSelection=function(o,e){this.selection.style.left=o*this.width+"px",this.selection.style.top=this.height-e*this.height+"px"},e.prototype.onDidChangeColor=function(){this.monitor&&this.monitor.isMonitoring()||this.paint()},e}(h.Disposable),f=function(o){function e(e,t){var i=o.call(this)||this;return i.model=t,i._onDidChange=new l.Emitter,i.onDidChange=i._onDidChange.event,i._onColorFlushed=new l.Emitter,i.onColorFlushed=i._onColorFlushed.event,i.domNode=r.append(e,p(".strip")),i.overlay=r.append(i.domNode,p(".overlay")),i.slider=r.append(i.domNode,p(".slider")),i.slider.style.top="0px",i._register(r.addDisposableListener(i.domNode,r.EventType.MOUSE_DOWN,function(o){return i.onMouseDown(o)})),i.layout(),i}return i(e,o),e.prototype.layout=function(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;var o=this.getValue(this.model.color);this.updateSliderPosition(o)},e.prototype.onMouseDown=function(o){var e=this,t=this._register(new s.GlobalMouseMoveMonitor),i=r.getDomNodePagePosition(this.domNode);r.addClass(this.domNode,"grabbing"),o.target!==this.slider&&this.onDidChangeTop(o.offsetY),t.startMonitoring(s.standardMouseMoveMerger,function(o){return e.onDidChangeTop(o.posy-i.top)},function(){return null});var n=r.addDisposableListener(document,r.EventType.MOUSE_UP,function(){e._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),r.removeClass(e.domNode,"grabbing")},!0)},e.prototype.onDidChangeTop=function(o){var e=Math.max(0,Math.min(1,1-o/this.height));this.updateSliderPosition(e),this._onDidChange.fire(e)},e.prototype.updateSliderPosition=function(o){this.slider.style.top=(1-o)*this.height+"px"},e}(h.Disposable),v=function(o){function e(e,t){var i=o.call(this,e,t)||this;return r.addClass(i.domNode,"opacity-strip"),i._register(t.onDidChangeColor(i.onDidChangeColor,i)),i.onDidChangeColor(i.model.color),i}return i(e,o),e.prototype.onDidChangeColor=function(o){var e=o.rgba,t=e.r,i=e.g,n=e.b,r=new d.Color(new d.RGBA(t,i,n,1)),s=new d.Color(new d.RGBA(t,i,n,0));this.overlay.style.background="linear-gradient(to bottom, "+r+" 0%, "+s+" 100%)"},e.prototype.getValue=function(o){return o.hsva.a},e}(f),y=function(o){function e(e,t){var i=o.call(this,e,t)||this;return r.addClass(i.domNode,"hue-strip"),i}return i(e,o),e.prototype.getValue=function(o){return 1-o.hsva.h/360},e}(f),_=function(o){function e(e,t,i,r){var s=o.call(this)||this;s.model=t,s.pixelRatio=i,s._register(n.onDidChangeZoomLevel(function(){return s.layout()}));var a=p(".colorpicker-widget");e.appendChild(a);var d=new m(a,s.model,r);return s.body=new g(a,s.model,s.pixelRatio),s._register(d),s._register(s.body),s}return i(e,o),e.prototype.layout=function(){this.body.layout()},e}(a.Widget);e.ColorPickerWidget=_});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/hover/getHover.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/hover/getHover",function(e,o){"use strict";function n(e,o,n){var d=m.HoverProviderRegistry.ordered(e),i=d.map(function(t){return Promise.resolve(t.provideHover(e,o,n)).then(function(e){return e&&r(e)?e:void 0},function(e){return void s.onUnexpectedExternalError(e)})});return Promise.all(i).then(t.coalesce)}function r(e){var o="undefined"!=typeof e.range,n="undefined"!=typeof e.contents&&e.contents&&e.contents.length>0;return o&&n}Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),d=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),s=e("node_modules/monaco-editor/esm/vs/base/common/errors"),i=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes");o.getHover=n,i.registerDefaultLanguageCommand("_executeHoverProvider",function(e,o){return n(e,o,d.CancellationToken.None)})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/hover/hoverOperation.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/hover/hoverOperation",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/monaco-editor/esm/vs/base/common/async"),s=t("node_modules/monaco-editor/esm/vs/base/common/errors"),i=function(){function t(t,e,s,i,n){var r=this;this._computer=t,this._state=0,this._hoverTime=n,this._firstWaitScheduler=new o.RunOnceScheduler(function(){return r._triggerAsyncComputation()},0),this._secondWaitScheduler=new o.RunOnceScheduler(function(){return r._triggerSyncComputation()},0),this._loadingMessageScheduler=new o.RunOnceScheduler(function(){return r._showLoadingMessage()},0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=e,this._errorCallback=s,this._progressCallback=i}return t.prototype.setHoverTime=function(t){this._hoverTime=t},t.prototype._firstWaitTime=function(){return this._hoverTime/2},t.prototype._secondWaitTime=function(){return this._hoverTime/2},t.prototype._loadingMessageTime=function(){return 3*this._hoverTime},t.prototype._triggerAsyncComputation=function(){var t=this;this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=o.createCancelablePromise(function(e){return t._computer.computeAsync(e)}),this._asyncComputationPromise.then(function(e){t._asyncComputationPromiseDone=!0,t._withAsyncResult(e)},function(e){return t._onError(e)})):this._asyncComputationPromiseDone=!0},t.prototype._triggerSyncComputation=function(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))},t.prototype._showLoadingMessage=function(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())},t.prototype._withAsyncResult=function(t){t&&this._computer.onResult(t,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))},t.prototype._onComplete=function(t){this._completeCallback&&this._completeCallback(t)},t.prototype._onError=function(t){this._errorCallback?this._errorCallback(t):s.onUnexpectedError(t)},t.prototype._onProgress=function(t){this._progressCallback&&this._progressCallback(t)},t.prototype.start=function(t){if(0===t)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}},t.prototype.cancel=function(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0},t}();e.HoverOperation=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/hover/hoverWidgets.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/hover/hoverWidgets",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function i(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),i=t("node_modules/monaco-editor/esm/vs/base/browser/dom"),n=t("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),s=t("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),r=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=function(t){function e(e,o){var i=t.call(this)||this;return i.disposables=[],i.allowEditorOverflow=!0,i._id=e,i._editor=o,i._isVisible=!1,i._containerDomNode=document.createElement("div"),i._containerDomNode.className="monaco-editor-hover hidden",i._containerDomNode.tabIndex=0,i._domNode=document.createElement("div"),i._domNode.className="monaco-editor-hover-content",i.scrollbar=new n.DomScrollableElement(i._domNode,{}),i.disposables.push(i.scrollbar),i._containerDomNode.appendChild(i.scrollbar.getDomNode()),i.onkeydown(i._containerDomNode,function(t){t.equals(9)&&i.hide()}),i._register(i._editor.onDidChangeConfiguration(function(t){t.fontInfo&&i.updateFont()})),i._editor.onDidLayoutChange(function(){return i.layout()}),i.layout(),i._editor.addContentWidget(i),i._showAtPosition=null,i._showAtRange=null,i}return o(e,t),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._isVisible},set:function(t){this._isVisible=t,i.toggleClass(this._containerDomNode,"hidden",!this._isVisible)},enumerable:!0,configurable:!0}),e.prototype.getId=function(){return this._id},e.prototype.getDomNode=function(){return this._containerDomNode},e.prototype.showAt=function(t,e,o){this._showAtPosition=t,this._showAtRange=e,this.isVisible=!0,this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=o,o&&this._containerDomNode.focus()},e.prototype.hide=function(){this.isVisible&&(this.isVisible=!1,this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus())},e.prototype.getPosition=function(){return this.isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null},e.prototype.dispose=function(){this._editor.removeContentWidget(this),this.disposables=r.dispose(this.disposables),t.prototype.dispose.call(this)},e.prototype.updateFont=function(){var t=this,e=Array.prototype.slice.call(this._domNode.getElementsByClassName("code"));e.forEach(function(e){return t._editor.applyFontInfo(e)})},e.prototype.updateContents=function(t){this._domNode.textContent="",this._domNode.appendChild(t),this.updateFont(),this._editor.layoutContentWidget(this),this.onContentsChange()},e.prototype.onContentsChange=function(){this.scrollbar.scanDomNode()},e.prototype.layout=function(){var t=Math.max(this._editor.getLayoutInfo().height/4,250),e=this._editor.getConfiguration().fontInfo,o=e.fontSize,i=e.lineHeight;this._domNode.style.fontSize=o+"px",this._domNode.style.lineHeight=i+"px",this._domNode.style.maxHeight=t+"px",this._domNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"},e}(s.Widget);e.ContentHoverWidget=d;var a=function(t){function e(e,o){var i=t.call(this)||this;return i._id=e,i._editor=o,i._isVisible=!1,i._domNode=document.createElement("div"),i._domNode.className="monaco-editor-hover hidden",i._domNode.setAttribute("aria-hidden","true"),i._domNode.setAttribute("role","presentation"),i._showAtLineNumber=-1,i._register(i._editor.onDidChangeConfiguration(function(t){t.fontInfo&&i.updateFont()})),i._editor.addOverlayWidget(i),i}return o(e,t),Object.defineProperty(e.prototype,"isVisible",{get:function(){return this._isVisible},set:function(t){this._isVisible=t,i.toggleClass(this._domNode,"hidden",!this._isVisible)},enumerable:!0,configurable:!0}),e.prototype.getId=function(){return this._id},e.prototype.getDomNode=function(){return this._domNode},e.prototype.showAt=function(t){this._showAtLineNumber=t,this.isVisible||(this.isVisible=!0);var e=this._editor.getLayoutInfo(),o=this._editor.getTopForLineNumber(this._showAtLineNumber),i=this._editor.getScrollTop(),n=this._editor.getConfiguration().lineHeight,s=this._domNode.clientHeight,r=o-i-(s-n)/2;this._domNode.style.left=e.glyphMarginLeft+e.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(r),0)+"px"},e.prototype.hide=function(){this.isVisible&&(this.isVisible=!1)},e.prototype.getPosition=function(){return null},e.prototype.dispose=function(){this._editor.removeOverlayWidget(this),t.prototype.dispose.call(this)},e.prototype.updateFont=function(){var t=this,e=Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),o=Array.prototype.slice.call(this._domNode.getElementsByClassName("code"));e.concat(o).forEach(function(e){return t._editor.applyFontInfo(e)})},e.prototype.updateContents=function(t){this._domNode.textContent="",this._domNode.appendChild(t),this.updateFont()},e}(s.Widget);e.GlyphHoverWidget=a});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=this&&this.__decorate||function(e,o,n,t){var r,i=arguments.length,d=3>i?o:null===t?t=Object.getOwnPropertyDescriptor(o,n):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,o,n,t);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(d=(3>i?r(d):i>3?r(o,n,d):r(o,n))||d);return i>3&&d&&Object.defineProperty(o,n,d),d},t=this&&this.__param||function(e,o){return function(n,t){o(n,t,e)}},r=e("node_modules/monaco-editor/esm/vs/base/browser/htmlContentRenderer"),i=e("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),d=e("node_modules/monaco-editor/esm/vs/editor/common/services/modeService"),s=e("node_modules/monaco-editor/esm/vs/base/common/uri"),c=e("node_modules/monaco-editor/esm/vs/base/common/errors"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes/textToHtmlTokenizer"),a=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),l=e("node_modules/monaco-editor/esm/vs/base/common/event"),u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),f=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),v=function(){function e(e,o,n){void 0===n&&(n=i.NullOpenerService),this._editor=e,this._modeService=o,this._openerService=n,this._onDidRenderCodeBlock=new l.Emitter,this.onDidRenderCodeBlock=this._onDidRenderCodeBlock.event}return e.prototype.getOptions=function(e){var o=this;return{codeBlockRenderer:function(e,n){var t=null;if(e)t=o._modeService.getModeIdForLanguageName(e);else{var r=o._editor.getModel();r&&(t=r.getLanguageIdentifier().language)}return o._modeService.triggerMode(t||""),Promise.resolve(!0).then(function(){var e=f.TokenizationRegistry.getPromise(t||"");return e?e.then(function(e){return m.tokenizeToString(n,e)}):m.tokenizeToString(n,void 0)}).then(function(e){return'<span style="font-family: '+o._editor.getConfiguration().fontInfo.fontFamily+'">'+e+"</span>"})},codeBlockRenderCallback:function(){return o._onDidRenderCodeBlock.fire()},actionHandler:{callback:function(e){var n;try{n=s.URI.parse(e)}catch(t){}n&&o._openerService&&o._openerService.open(n).catch(c.onUnexpectedError)},disposeables:e}}},e.prototype.render=function(e){var o,n=[];return o=e?r.renderMarkdown(e,this.getOptions(n)):document.createElement("span"),{element:o,dispose:function(){return u.dispose(n)}}},e=n([t(1,d.IModeService),t(2,a.optional(i.IOpenerService))],e)}();o.MarkdownRenderer=v});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/hover/modesContentHover.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/hover/modesContentHover",function(e,o){"use strict";function t(e,o){if(!e&&o||e&&!o||e.length!==o.length)return!1;for(var t=0;t<e.length;t++){var n=e[t],r=o[t];if(n instanceof W&&r instanceof W)return P.IMarkerData.makeKey(n.marker)===P.IMarkerData.makeKey(r.marker);if(n instanceof F||r instanceof F)return!1;if(n instanceof W||r instanceof W)return!1;if(!u.markedStringsEquals(n.contents,r.contents))return!1}return!0}Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),i=this&&this.__awaiter||function(e,o,t,n){return new(t||(t=Promise))(function(r,i){function s(e){try{c(n.next(e))}catch(o){i(o)}}function a(e){try{c(n["throw"](e))}catch(o){i(o)}}function c(e){e.done?r(e.value):new t(function(o){o(e.value)}).then(s,a)}c((n=n.apply(e,o||[])).next())})},s=this&&this.__generator||function(e,o){function t(e){return function(o){return n([e,o])}}function n(t){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,i&&(s=2&t[0]?i["return"]:t[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,t[1])).done)return s;switch(i=0,s&&(t=[2&t[0],s.value]),t[0]){case 0:case 1:s=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,i=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(s=c.trys,!(s=s.length>0&&s[s.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3])){c.label=t[1];break}if(6===t[0]&&c.label<s[1]){c.label=s[1],s=t;break}if(s&&c.label<s[2]){c.label=s[2],c.ops.push(t);break}s[2]&&c.ops.pop(),c.trys.pop();continue}t=o.call(e,c)}catch(n){t=[6,n],i=0}finally{r=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}var r,i,s,a,c={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:t(0),"throw":t(1),"return":t(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},a=n.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),c=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),d=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),l=e("node_modules/monaco-editor/esm/vs/base/common/color"),u=e("node_modules/monaco-editor/esm/vs/base/common/htmlContent"),m=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),h=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),g=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),v=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/color"),f=e("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorDetector"),b=e("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorPickerModel"),y=e("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorPickerWidget"),k=e("node_modules/monaco-editor/esm/vs/editor/contrib/hover/getHover"),C=e("node_modules/monaco-editor/esm/vs/editor/contrib/hover/hoverOperation"),w=e("node_modules/monaco-editor/esm/vs/editor/contrib/hover/hoverWidgets"),D=e("node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer"),M=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),P=e("node_modules/monaco-editor/esm/vs/platform/markers/common/markers"),S=e("node_modules/monaco-editor/esm/vs/base/common/resources"),x=e("node_modules/monaco-editor/esm/vs/base/common/errors"),N=e("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),R=e("node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError"),A=e("node_modules/monaco-editor/esm/vs/base/common/async"),E=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeAction"),L=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionCommands"),O=e("node_modules/monaco-editor/esm/vs/base/common/actions"),I=e("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionTrigger"),T=e("node_modules/monaco-editor/esm/vs/base/common/types"),H=c.$,F=function(){function e(e,o,t){this.range=e,this.color=o,this.provider=t}return e}(),W=function(){function e(e,o){this.range=e,this.marker=o}return e}(),U=function(){function e(e,o){this._markerDecorationsService=o,this._editor=e,this._range=null}return e.prototype.setRange=function(e){this._range=e,this._result=[]},e.prototype.clearResult=function(){this._result=[]},e.prototype.computeAsync=function(e){if(!this._editor.hasModel()||!this._range)return Promise.resolve([]);var o=this._editor.getModel();return v.HoverProviderRegistry.has(o)?k.getHover(o,new h.Position(this._range.startLineNumber,this._range.startColumn),e):Promise.resolve([])},e.prototype.computeSync=function(){var e=this;if(!this._editor.hasModel()||!this._range)return[];var o=this._editor.getModel(),t=this._range.startLineNumber;if(t>this._editor.getModel().getLineCount())return[];var n=f.ColorDetector.get(this._editor),r=o.getLineMaxColumn(t),i=this._editor.getLineDecorations(t),s=!1,a=this._range,c=i.map(function(i){var c=i.range.startLineNumber===t?i.range.startColumn:1,d=i.range.endLineNumber===t?i.range.endColumn:r;if(c>a.startColumn||a.endColumn>d)return null;var l=new p.Range(a.startLineNumber,c,a.startLineNumber,d),m=e._markerDecorationsService.getMarker(o,i);if(m)return new W(l,m);var h=n.getColorData(i.range.getStartPosition());if(!s&&h){s=!0;var g=h.colorInfo,v=g.color,_=g.range;return new F(_,v,h.provider)}if(u.isEmptyMarkdownString(i.options.hoverMessage))return null;var f=i.options.hoverMessage?M.asArray(i.options.hoverMessage):[];return{contents:f,range:l}});return M.coalesce(c)},e.prototype.onResult=function(e,o){this._result=o?e.concat(this._result.sort(function(e,o){return e instanceof F?-1:o instanceof F?1:0})):this._result.concat(e)},e.prototype.getResult=function(){return this._result.slice(0)},e.prototype.getResultWithLoadingMessage=function(){return this._result.slice(0).concat([this._getLoadingMessage()])},e.prototype._getLoadingMessage=function(){return{range:T.withNullAsUndefined(this._range),contents:[(new u.MarkdownString).appendText(a.localize("modesContentHover.loading","Loading..."))]}},e}(),K=function(e){function o(t,n,r,i,s,a,d,l,u){void 0===u&&(u=N.NullOpenerService);var h=e.call(this,o.ID,t)||this;return h._themeService=r,h._keybindingService=i,h._contextMenuService=s,h._bulkEditService=a,h._commandService=d,h._modeService=l,h._openerService=u,h.renderDisposable=m.Disposable.None,h._messages=[],h._lastRange=null,h._computer=new U(h._editor,n),h._highlightDecorations=[],h._isChangingDecorations=!1,h._hoverOperation=new C.HoverOperation(h._computer,function(e){return h._withResult(e,!0)},null,function(e){return h._withResult(e,!1)},h._editor.getConfiguration().contribInfo.hover.delay),h._register(c.addStandardDisposableListener(h.getDomNode(),c.EventType.FOCUS,function(){h._colorPicker&&c.addClass(h.getDomNode(),"colorpicker-hover")})),h._register(c.addStandardDisposableListener(h.getDomNode(),c.EventType.BLUR,function(){c.removeClass(h.getDomNode(),"colorpicker-hover")})),h._register(t.onDidChangeConfiguration(function(){h._hoverOperation.setHoverTime(h._editor.getConfiguration().contribInfo.hover.delay)})),h}return r(o,e),o.prototype.dispose=function(){this.renderDisposable.dispose(),this.renderDisposable=m.Disposable.None,this._hoverOperation.cancel(),e.prototype.dispose.call(this)},o.prototype.onModelDecorationsChanged=function(){this._isChangingDecorations||this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))},o.prototype.startShowingAt=function(e,o,n){if(!this._lastRange||!this._lastRange.equalsRange(e)){if(this._hoverOperation.cancel(),this.isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===e.startLineNumber){for(var r=[],i=0,s=this._messages.length;s>i;i++){var a=this._messages[i],c=a.range;c&&c.startColumn<=e.startColumn&&c.endColumn>=e.endColumn&&r.push(a)}if(r.length>0){if(t(r,this._messages))return;this._renderMessages(e,r)}else this.hide()}else this.hide();this._lastRange=e,this._computer.setRange(e),this._shouldFocus=n,this._hoverOperation.start(o)}},o.prototype.hide=function(){this._lastRange=null,this._hoverOperation.cancel(),e.prototype.hide.call(this),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this.renderDisposable.dispose(),this.renderDisposable=m.Disposable.None,this._colorPicker=null},o.prototype.isColorPickerVisible=function(){return this._colorPicker?!0:!1},o.prototype._withResult=function(e,o){this._messages=e,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):o&&this.hide()},o.prototype._renderMessages=function(e,t){var n=this;this.renderDisposable.dispose(),this._colorPicker=null;var r=Number.MAX_VALUE,i=t[0].range?p.Range.lift(t[0].range):null,s=document.createDocumentFragment(),a=!0,g=!1,v=[],f=[];if(t.forEach(function(e){if(e.range)if(r=Math.min(r,e.range.startColumn),i=i?p.Range.plusRange(i,e.range):p.Range.lift(e.range),e instanceof F){g=!0;var o=e.color,t=o.red,h=o.green,k=o.blue,C=o.alpha,w=new l.RGBA(255*t,255*h,255*k,C),M=new l.Color(w);if(!n._editor.hasModel())return;var P=n._editor.getModel(),S=new p.Range(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn),x={range:e.range,color:e.color},N=new b.ColorPickerModel(M,[],0),R=new y.ColorPickerWidget(s,N,n._editor.getConfiguration().pixelRatio,n._themeService);_.getColorPresentations(P,x,e.provider,d.CancellationToken.None).then(function(o){if(N.colorPresentations=o||[],n._editor.hasModel()){var t=n._editor.getModel().getValueInRange(e.range);N.guessColorPresentation(M,t);var r=function(){var e,o;N.presentation.textEdit?(e=[N.presentation.textEdit],o=new p.Range(N.presentation.textEdit.range.startLineNumber,N.presentation.textEdit.range.startColumn,N.presentation.textEdit.range.endLineNumber,N.presentation.textEdit.range.endColumn),o=o.setEndPosition(o.endLineNumber,o.startColumn+N.presentation.textEdit.text.length)):(e=[{identifier:null,range:S,text:N.presentation.label,forceMoveMarkers:!1}],o=S.setEndPosition(S.endLineNumber,S.startColumn+N.presentation.label.length)),n._editor.pushUndoStop(),n._editor.executeEdits("colorpicker",e),N.presentation.additionalTextEdits&&(e=N.presentation.additionalTextEdits.slice(),n._editor.executeEdits("colorpicker",e),n.hide()),n._editor.pushUndoStop(),S=o},i=function(o){return _.getColorPresentations(P,{range:S,color:{red:o.rgba.r/255,green:o.rgba.g/255,blue:o.rgba.b/255,alpha:o.rgba.a}},e.provider,d.CancellationToken.None).then(function(e){N.colorPresentations=e||[]})},a=N.onColorFlushed(function(e){i(e).then(r)}),c=N.onDidChangeColor(i);n._colorPicker=R,n.showAt(S.getStartPosition(),S,n._shouldFocus),n.updateContents(s),n._colorPicker.layout(),n.renderDisposable=m.combinedDisposable([a,c,R].concat(v))}})}else e instanceof W?(f.push(e),a=!1):e.contents.filter(function(e){return!u.isEmptyMarkdownString(e)}).forEach(function(e){var o=H("div.hover-row.markdown-hover"),t=c.append(o,H("div.hover-contents")),r=new D.MarkdownRenderer(n._editor,n._modeService,n._openerService);v.push(r.onDidRenderCodeBlock(function(){t.className="hover-contents code-hover-contents",n.onContentsChange()}));var i=r.render(e);t.appendChild(i.element),s.appendChild(o),v.push(i),a=!1})}),f.length){f.forEach(function(e){return s.appendChild(n.renderMarkerHover(e))});var k=1===f.length?f[0]:f.sort(function(e,o){return P.MarkerSeverity.compare(e.marker.severity,o.marker.severity)})[0];s.appendChild(this.renderMarkerStatusbar(k))}g||a||(this.showAt(new h.Position(e.startLineNumber,r),i,this._shouldFocus),this.updateContents(s)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,i?[{range:i,options:o._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1},o.prototype.renderMarkerHover=function(e){var o=this,t=H("div.hover-row"),n=c.append(t,H("div.marker.hover-contents")),r=e.marker,i=r.source,s=r.message,a=r.code,d=r.relatedInformation;this._editor.applyFontInfo(n);var l=c.append(n,H("span"));if(l.style.whiteSpace="pre-wrap",l.innerText=s,i||a){var u=c.append(n,H("span"));u.style.opacity="0.6",u.style.paddingLeft="6px",u.innerText=i&&a?i+"("+a+")":i?i:"("+a+")"}if(M.isNonEmptyArray(d))for(var m=function(e,t,r,i){var s=c.append(n,H("div"));s.style.marginTop="8px";var a=c.append(s,H("a"));a.innerText=S.basename(t)+"("+r+", "+i+"): ",a.style.cursor="pointer",a.onclick=function(e){e.stopPropagation(),e.preventDefault(),o._openerService&&o._openerService.open(t.with({fragment:r+","+i})).catch(x.onUnexpectedError)};var d=c.append(s,H("span"));d.innerText=e,h._editor.applyFontInfo(d)},h=this,p=0,g=d;p<g.length;p++){var v=g[p],_=v.message,f=v.resource,b=v.startLineNumber,y=v.startColumn;m(_,f,b,y)}return t},o.prototype.renderMarkerStatusbar=function(e){var o=this,t=H("div.hover-row.status-bar"),n=[],r=c.append(t,H("div.actions"));return n.push(this.renderAction(r,{label:a.localize("quick fixes","Quick Fix..."),commandId:L.QuickFixAction.Id,run:function(t){return i(o,void 0,void 0,function(){var o,r,i;return s(this,function(s){switch(s.label){case 0:return o=this.getCodeActions(e.marker),n.push(m.toDisposable(function(){return o.cancel()})),[4,o];case 1:return r=s.sent(),i=c.getDomNodePagePosition(t),this._contextMenuService.showContextMenu({getAnchor:function(){return{x:i.left+6,y:i.top+i.height+6}},getActions:function(){return r}}),[2]}})})}})),(e.marker.severity===P.MarkerSeverity.Error||e.marker.severity===P.MarkerSeverity.Warning||e.marker.severity===P.MarkerSeverity.Info)&&n.push(this.renderAction(r,{label:a.localize("peek problem","Peek Problem"),commandId:R.NextMarkerAction.ID,run:function(){o.hide(),R.MarkerController.get(o._editor).show(e.marker),o._editor.focus()}})),this.renderDisposable=m.combinedDisposable(n),t},o.prototype.getCodeActions=function(e){var o=this;return A.createCancelablePromise(function(t){return i(o,void 0,void 0,function(){var o,n=this;return s(this,function(r){switch(r.label){case 0:return[4,E.getCodeActions(this._editor.getModel(),new p.Range(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),{type:"manual",filter:{kind:I.CodeActionKind.QuickFix}},t)];case 1:return o=r.sent(),o.actions.length?[2,o.actions.map(function(e){return new O.Action(e.command?e.command.id:e.title,e.title,void 0,!0,function(){return L.applyCodeAction(e,n._bulkEditService,n._commandService)})})]:[2,[new O.Action("",a.localize("editor.action.quickFix.noneMessage","No code actions available"))]]}})})})},o.prototype.renderAction=function(e,o){var t=c.append(e,H("div.action-container")),n=c.append(t,H("a.action"));o.iconClass&&c.append(n,H("span.icon."+o.iconClass));var r=c.append(n,H("span"));r.textContent=o.label;var i=this._keybindingService.lookupKeybinding(o.commandId);return i&&(r.title=o.label+" ("+i.getLabel()+")"),c.addDisposableListener(t,c.EventType.CLICK,function(e){e.stopPropagation(),e.preventDefault(),o.run(t)})},o.ID="editor.contrib.modesContentHoverWidget",o._DECORATION_OPTIONS=g.ModelDecorationOptions.register({className:"hoverHighlight"}),o}(w.ContentHoverWidget);o.ModesContentHoverWidget=K});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/hover/modesGlyphHover.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/hover/modesGlyphHover",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),r=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),n=e("node_modules/monaco-editor/esm/vs/base/common/htmlContent"),s=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),i=e("node_modules/monaco-editor/esm/vs/editor/contrib/hover/hoverOperation"),a=e("node_modules/monaco-editor/esm/vs/editor/contrib/hover/hoverWidgets"),u=e("node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer"),d=e("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),c=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),p=function(){function e(e){this._editor=e,this._lineNumber=-1}return e.prototype.setLineNumber=function(e){this._lineNumber=e,this._result=[]},e.prototype.clearResult=function(){this._result=[]},e.prototype.computeSync=function(){var e=function(e){return{value:e}},t=this._editor.getLineDecorations(this._lineNumber),o=[];if(!t)return o;for(var r=0,s=t;r<s.length;r++){var i=s[r];if(i.options.glyphMarginClassName){var a=i.options.glyphMarginHoverMessage;a&&!n.isEmptyMarkdownString(a)&&o.push.apply(o,c.asArray(a).map(e))}}return o},e.prototype.onResult=function(e){this._result=this._result.concat(e)},e.prototype.getResult=function(){return this._result},e.prototype.getResultWithLoadingMessage=function(){return this.getResult()},e}(),h=function(e){function t(o,r,n){void 0===n&&(n=d.NullOpenerService);var s=e.call(this,t.ID,o)||this;return s._lastLineNumber=-1,s._markdownRenderer=new u.MarkdownRenderer(s._editor,r,n),s._computer=new p(s._editor),s._hoverOperation=new i.HoverOperation(s._computer,function(e){return s._withResult(e)},void 0,function(e){return s._withResult(e)},300),s}return o(t,e),t.prototype.dispose=function(){this._renderDisposeables=s.dispose(this._renderDisposeables),this._hoverOperation.cancel(),e.prototype.dispose.call(this)},t.prototype.onModelDecorationsChanged=function(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))},t.prototype.startShowingAt=function(e){this._lastLineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=e,this._computer.setLineNumber(e),this._hoverOperation.start(0))},t.prototype.hide=function(){this._lastLineNumber=-1,this._hoverOperation.cancel(),e.prototype.hide.call(this)},t.prototype._withResult=function(e){this._messages=e,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()},t.prototype._renderMessages=function(e,t){var o=this;s.dispose(this._renderDisposeables),this._renderDisposeables=[];var n=document.createDocumentFragment();t.forEach(function(e){var t=o._markdownRenderer.render(e.value);o._renderDisposeables.push(t),n.appendChild(r.$("div.hover-row",void 0,t.element))}),this.updateContents(n),this.showAt(e)},t.ID="editor.contrib.modesGlyphHoverWidget",t}(a.GlyphHoverWidget);t.ModesGlyphHoverWidget=h});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function i(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),r=this&&this.__decorate||function(o,e,t,i){var r,n=arguments.length,s=3>n?e:null===i?i=Object.getOwnPropertyDescriptor(e,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(o,e,t,i);else for(var d=o.length-1;d>=0;d--)(r=o[d])&&(s=(3>n?r(s):n>3?r(e,t,s):r(e,t))||s);return n>3&&s&&Object.defineProperty(e,t,s),s},n=this&&this.__param||function(o,e){return function(t,i){e(t,i,o)}},s=t.__importStar(o("node_modules/monaco-editor/esm/vs/nls")),d=o("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),h=o("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),c=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),a=o("node_modules/monaco-editor/esm/vs/editor/common/core/range"),u=o("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),l=o("node_modules/monaco-editor/esm/vs/editor/common/services/modeService"),m=o("node_modules/monaco-editor/esm/vs/editor/contrib/hover/modesContentHover"),_=o("node_modules/monaco-editor/esm/vs/editor/contrib/hover/modesGlyphHover"),g=o("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),v=o("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),p=o("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),f=o("node_modules/monaco-editor/esm/vs/editor/common/services/markersDecorationService"),y=o("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),b=o("node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView"),k=o("node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService"),C=o("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),S=function(){function o(o,e,t,i,r,n,s,d,h){var c=this;this._editor=o,this._openerService=e,this._modeService=t,this._markerDecorationsService=i,this._keybindingService=r,this._contextMenuService=n,this._bulkEditService=s,this._commandService=d,this._themeService=h,this._toUnhook=[],this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(function(o){o.contribInfo&&(c._hideWidgets(),c._unhookEvents(),c._hookEvents())})}return Object.defineProperty(o.prototype,"contentWidget",{get:function(){return this._contentWidget||this._createHoverWidget(),this._contentWidget},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"glyphWidget",{get:function(){return this._glyphWidget||this._createHoverWidget(),this._glyphWidget},enumerable:!0,configurable:!0}),o.get=function(e){return e.getContribution(o.ID)},o.prototype._hookEvents=function(){var o=this,e=function(){return o._hideWidgets()},t=this._editor.getConfiguration().contribInfo.hover;this._isHoverEnabled=t.enabled,this._isHoverSticky=t.sticky,this._isHoverEnabled?(this._toUnhook.push(this._editor.onMouseDown(function(e){return o._onEditorMouseDown(e)})),this._toUnhook.push(this._editor.onMouseUp(function(e){return o._onEditorMouseUp(e)})),this._toUnhook.push(this._editor.onMouseMove(function(e){return o._onEditorMouseMove(e)})),this._toUnhook.push(this._editor.onKeyDown(function(e){return o._onKeyDown(e)})),this._toUnhook.push(this._editor.onDidChangeModelDecorations(function(){return o._onModelDecorationsChanged()}))):this._toUnhook.push(this._editor.onMouseMove(e)),this._toUnhook.push(this._editor.onMouseLeave(e)),this._toUnhook.push(this._editor.onDidChangeModel(e)),this._toUnhook.push(this._editor.onDidScrollChange(function(e){return o._onEditorScrollChanged(e)}))},o.prototype._unhookEvents=function(){this._toUnhook=h.dispose(this._toUnhook)},o.prototype._onModelDecorationsChanged=function(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()},o.prototype._onEditorScrollChanged=function(o){(o.scrollTopChanged||o.scrollLeftChanged)&&this._hideWidgets()},o.prototype._onEditorMouseDown=function(o){this._isMouseDown=!0;var e=o.target.type;return 9===e&&o.target.detail===m.ModesContentHoverWidget.ID?void(this._hoverClicked=!0):void((12!==e||o.target.detail!==_.ModesGlyphHoverWidget.ID)&&(12!==e&&o.target.detail!==_.ModesGlyphHoverWidget.ID&&(this._hoverClicked=!1),this._hideWidgets()))},o.prototype._onEditorMouseUp=function(){this._isMouseDown=!1},o.prototype._onEditorMouseMove=function(o){var e=o.target.type;if(!(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible()||this._isHoverSticky&&9===e&&o.target.detail===m.ModesContentHoverWidget.ID||this._isHoverSticky&&12===e&&o.target.detail===_.ModesGlyphHoverWidget.ID)){if(7===e){var t=this._editor.getConfiguration().fontInfo.typicalHalfwidthCharacterWidth/2,i=o.target.detail;i&&!i.isAfterLines&&"number"==typeof i.horizontalDistanceToText&&i.horizontalDistanceToText<t&&(e=6)}6===e?(this.glyphWidget.hide(),this._isHoverEnabled&&o.target.range&&this.contentWidget.startShowingAt(o.target.range,0,!1)):2===e?(this.contentWidget.hide(),this._isHoverEnabled&&o.target.position&&this.glyphWidget.startShowingAt(o.target.position.lineNumber)):this._hideWidgets()}},o.prototype._onKeyDown=function(o){5!==o.keyCode&&6!==o.keyCode&&57!==o.keyCode&&4!==o.keyCode&&this._hideWidgets()},o.prototype._hideWidgets=function(){!this._contentWidget||this._isMouseDown&&this._hoverClicked&&this._contentWidget.isColorPickerVisible()||(this._glyphWidget.hide(),this._contentWidget.hide())},o.prototype._createHoverWidget=function(){this._contentWidget=new m.ModesContentHoverWidget(this._editor,this._markerDecorationsService,this._themeService,this._keybindingService,this._contextMenuService,this._bulkEditService,this._commandService,this._modeService,this._openerService),this._glyphWidget=new _.ModesGlyphHoverWidget(this._editor,this._modeService,this._openerService)},o.prototype.showContentHover=function(o,e,t){this.contentWidget.startShowingAt(o,e,t)},o.prototype.getId=function(){return o.ID},o.prototype.dispose=function(){this._unhookEvents(),this._didChangeConfigurationHandler.dispose(),this._glyphWidget&&this._glyphWidget.dispose(),this._contentWidget&&this._contentWidget.dispose()},o.ID="editor.contrib.hover",o=r([n(1,g.IOpenerService),n(2,l.IModeService),n(3,f.IMarkerDecorationsService),n(4,y.IKeybindingService),n(5,b.IContextMenuService),n(6,k.IBulkEditService),n(7,C.ICommandService),n(8,p.IThemeService)],o)}();e.ModesHoverController=S;var W=function(o){function e(){return o.call(this,{id:"editor.action.showHover",label:s.localize({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:null,kbOpts:{kbExpr:u.EditorContextKeys.editorTextFocus,primary:d.KeyChord(2089,2087),weight:100}})||this}return i(e,o),e.prototype.run=function(o,e){if(e.hasModel()){var t=S.get(e);if(t){var i=e.getPosition(),r=new a.Range(i.lineNumber,i.column,i.lineNumber,i.column),n=2===e.getConfiguration().accessibilitySupport;t.showContentHover(r,1,n)}}},e}(c.EditorAction);c.registerEditorContribution(S),c.registerEditorAction(W),p.registerThemingParticipant(function(o,e){var t=o.getColor(v.editorHoverHighlight);t&&e.addRule(".monaco-editor .hoverHighlight { background-color: "+t+"; }");var i=o.getColor(v.editorHoverBackground);i&&e.addRule(".monaco-editor .monaco-editor-hover { background-color: "+i+"; }");var r=o.getColor(v.editorHoverBorder);r&&(e.addRule(".monaco-editor .monaco-editor-hover { border: 1px solid "+r+"; }"),e.addRule(".monaco-editor .monaco-editor-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid "+r.transparent(.5)+"; }"),e.addRule(".monaco-editor .monaco-editor-hover hr { border-top: 1px solid "+r.transparent(.5)+"; }"),e.addRule(".monaco-editor .monaco-editor-hover hr { border-bottom: 0px solid "+r.transparent(.5)+"; }"));var n=o.getColor(v.textLinkForeground);n&&e.addRule(".monaco-editor .monaco-editor-hover a { color: "+n+"; }");var s=o.getColor(v.editorHoverStatusBarBackground);s&&e.addRule(".monaco-editor .monaco-editor-hover .hover-row .actions { background-color: "+s+"; }");var d=o.getColor(v.textCodeBlockBackground);d&&e.addRule(".monaco-editor .monaco-editor-hover code { background-color: "+d+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplaceCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplaceCommand",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),i=function(){function e(e,n,t){this._editRange=e,this._originalSelection=n,this._text=t}return e.prototype.getEditOperations=function(e,n){n.addTrackedEditOperation(this._editRange,this._text)},e.prototype.computeCursorState=function(e,n){var i=n.getInverseEditOperations(),o=i[0].range;return this._originalSelection.isEmpty()?new t.Selection(o.endLineNumber,Math.min(this._originalSelection.positionColumn,o.endColumn),o.endLineNumber,Math.min(this._originalSelection.positionColumn,o.endColumn)):new t.Selection(o.endLineNumber,o.endColumn-this._text.length,o.endLineNumber,o.endColumn)},e}();n.InPlaceReplaceCommand=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function r(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),n=this&&this.__decorate||function(e,o,t,r){var n,i=arguments.length,c=3>i?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(c=(3>i?n(c):i>3?n(o,t,c):n(o,t))||c);return i>3&&c&&Object.defineProperty(o,t,c),c},i=this&&this.__param||function(e,o){return function(t,r){o(t,r,e)}},c=t.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),s=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),l=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),u=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService"),m=e("node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplaceCommand"),p=e("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState"),v=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),h=e("node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry"),f=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),b=e("node_modules/monaco-editor/esm/vs/base/common/async"),_=e("node_modules/monaco-editor/esm/vs/base/common/errors"),R=function(){function e(e,o){this.decorationIds=[],this.editor=e,this.editorWorkerService=o}return e.get=function(o){return o.getContribution(e.ID)},e.prototype.dispose=function(){},e.prototype.getId=function(){return e.ID},e.prototype.run=function(o,t){var r=this;this.currentRequest&&this.currentRequest.cancel();var n=this.editor.getSelection(),i=this.editor.getModel();if(!i||!n)return void 0;var c=n;if(c.startLineNumber!==c.endLineNumber)return void 0;var s=new p.EditorState(this.editor,5),l=i.uri;return this.editorWorkerService.canNavigateValueSet(l)?(this.currentRequest=b.createCancelablePromise(function(){return r.editorWorkerService.navigateValueSet(l,c,t)}),this.currentRequest.then(function(t){if(t&&t.range&&t.value&&s.validate(r.editor)){var n=a.Range.lift(t.range),i=t.range,l=t.value.length-(c.endColumn-c.startColumn);i={startLineNumber:i.startLineNumber,startColumn:i.startColumn,endLineNumber:i.endLineNumber,endColumn:i.startColumn+t.value.length},l>1&&(c=new d.Selection(c.startLineNumber,c.startColumn,c.endLineNumber,c.endColumn+l-1));var u=new m.InPlaceReplaceCommand(n,c,t.value);r.editor.pushUndoStop(),r.editor.executeCommand(o,u),r.editor.pushUndoStop(),r.decorationIds=r.editor.deltaDecorations(r.decorationIds,[{range:i,options:e.DECORATION}]),r.decorationRemover&&r.decorationRemover.cancel(),r.decorationRemover=b.timeout(350),r.decorationRemover.then(function(){return r.decorationIds=r.editor.deltaDecorations(r.decorationIds,[])}).catch(_.onUnexpectedError)}}).catch(_.onUnexpectedError)):Promise.resolve(void 0)},e.ID="editor.contrib.inPlaceReplaceController",e.DECORATION=f.ModelDecorationOptions.register({className:"valueSetReplacement"}),e=n([i(1,u.IEditorWorkerService)],e)}(),g=function(e){function o(){return e.call(this,{id:"editor.action.inPlaceReplace.up",label:c.localize("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3154,weight:100}})||this}return r(o,e),o.prototype.run=function(e,o){var t=R.get(o);return t?t.run(this.id,!0):Promise.resolve(void 0)},o}(l.EditorAction),y=function(e){function o(){return e.call(this,{id:"editor.action.inPlaceReplace.down",label:c.localize("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:s.EditorContextKeys.writable,kbOpts:{kbExpr:s.EditorContextKeys.editorTextFocus,primary:3156,weight:100}})||this}return r(o,e),o.prototype.run=function(e,o){var t=R.get(o);return t?t.run(this.id,!1):Promise.resolve(void 0)},o}(l.EditorAction);l.registerEditorContribution(R),l.registerEditorAction(g),l.registerEditorAction(y),v.registerThemingParticipant(function(e,o){var t=e.getColor(h.editorBracketMatchBorder);t&&o.addRule(".monaco-editor.vs .valueSetReplacement { outline: solid 2px "+t+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/common/commands/trimTrailingWhitespaceCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/commands/trimTrailingWhitespaceCommand",function(e,t){"use strict";function n(e,t){t.sort(function(e,t){return e.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber});for(var n=t.length-2;n>=0;n--)t[n].lineNumber===t[n+1].lineNumber&&t.splice(n,1);for(var o=[],m=0,c=0,a=t.length,l=1,u=e.getLineCount();u>=l;l++){var d=e.getLineContent(l),g=d.length+1,h=0;if(!(a>c&&t[c].lineNumber===l&&(h=t[c].column,c++,h===g))&&0!==d.length){var p=i.lastNonWhitespaceIndex(d),f=0;if(-1===p)f=1;else{if(p===d.length-1)continue;f=p+2}f=Math.max(h,f),o[m++]=r.EditOperation.delete(new s.Range(l,f,l,g))}}return o}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),i=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=function(){function e(e,t){this.selection=e,this.cursors=t}return e.prototype.getEditOperations=function(e,t){for(var o=n(e,this.cursors),i=0,r=o.length;r>i;i++){var s=o[i];t.addEditOperation(s.range,s.text)}this.selectionId=t.trackSelection(this.selection)},e.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this.selectionId)},e}();t.TrimTrailingWhitespaceCommand=m,t.trimTrailingWhitespace=n});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/copyLinesCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/copyLinesCommand",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),o=function(){function e(e,n){this._selection=e,this._isCopyingDown=n}return e.prototype.getEditOperations=function(e,n){var i=this._selection;this._startLineNumberDelta=0,this._endLineNumberDelta=0,i.startLineNumber<i.endLineNumber&&1===i.endColumn&&(this._endLineNumberDelta=1,i=i.setEndPosition(i.endLineNumber-1,e.getLineMaxColumn(i.endLineNumber-1)));for(var o=[],r=i.startLineNumber;r<=i.endLineNumber;r++)o.push(e.getLineContent(r));var s=o.join("\n");""===s&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._isCopyingDown?n.addEditOperation(new t.Range(i.startLineNumber,1,i.startLineNumber,1),s+"\n"):n.addEditOperation(new t.Range(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),"\n"+s),this._selectionId=n.trackSelection(i),this._selectionDirection=this._selection.getDirection()},e.prototype.computeCursorState=function(e,n){var t=n.getTrackedSelection(this._selectionId);if(0!==this._startLineNumberDelta||0!==this._endLineNumberDelta){var o=t.startLineNumber,r=t.startColumn,s=t.endLineNumber,a=t.endColumn;0!==this._startLineNumberDelta&&(o+=this._startLineNumberDelta,r=1),0!==this._endLineNumberDelta&&(s+=this._endLineNumberDelta,a=1),t=i.Selection.createWithDirection(o,r,s,a,this._selectionDirection)}return t},e}();n.CopyLinesCommand=o});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/indentation/indentUtils.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/indentation/indentUtils",function(e,n){"use strict";function t(e,n){for(var t=0,r=0;r<e.length;r++)" "===e.charAt(r)?t+=n:t++;return t}function r(e,n,t){e=0>e?0:e;var r="";if(!t){var o=Math.floor(e/n);e%=n;for(var i=0;o>i;i++)r+=" "}for(var i=0;e>i;i++)r+=" ";return r}Object.defineProperty(n,"__esModule",{value:!0}),n.getSpaceCnt=t,n.generateIndent=r});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/moveLinesCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/moveLinesCommand",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),i=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),o=e("node_modules/monaco-editor/esm/vs/editor/common/commands/shiftCommand"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),d=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration"),s=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),u=t.__importStar(e("node_modules/monaco-editor/esm/vs/editor/contrib/indentation/indentUtils")),g=function(){function e(e,n,t){this._selection=e,this._isMovingDown=n,this._autoIndent=t,this._moveEndLineSelectionShrink=!1}return e.prototype.getEditOperations=function(e,n){var t=e.getLineCount();if(!(this._isMovingDown&&this._selection.endLineNumber===t||!this._isMovingDown&&1===this._selection.startLineNumber)){this._moveEndPositionDown=!1;var o=this._selection;o.startLineNumber<o.endLineNumber&&1===o.endColumn&&(this._moveEndPositionDown=!0,o=o.setEndPosition(o.endLineNumber-1,e.getLineMaxColumn(o.endLineNumber-1)));var d=e.getOptions(),g=d.tabSize,m=d.indentSize,L=d.insertSpaces,l=this.buildIndentConverter(g,m,L),c={getLineTokens:function(n){return e.getLineTokens(n)},getLanguageIdentifier:function(){return e.getLanguageIdentifier()},getLanguageIdAtPosition:function(n,t){return e.getLanguageIdAtPosition(n,t)},getLineContent:null};if(o.startLineNumber===o.endLineNumber&&1===e.getLineMaxColumn(o.startLineNumber)){var f=o.startLineNumber,h=this._isMovingDown?f+1:f-1;1===e.getLineMaxColumn(h)?n.addEditOperation(new r.Range(1,1,1,1),null):(n.addEditOperation(new r.Range(f,1,f,1),e.getLineContent(h)),n.addEditOperation(new r.Range(h,1,h,e.getLineMaxColumn(h)),null)),o=new a.Selection(h,1,h,1)}else{var v,p=void 0;if(this._isMovingDown){v=o.endLineNumber+1,p=e.getLineContent(v),n.addEditOperation(new r.Range(v-1,e.getLineMaxColumn(v-1),v,e.getLineMaxColumn(v)),null);var C=p;if(this.shouldAutoIndent(e,o)){var b=this.matchEnterRule(e,l,g,v,o.startLineNumber-1);if(null!==b){var N=i.getLeadingWhitespace(e.getLineContent(v)),I=b+u.getSpaceCnt(N,g),_=u.generateIndent(I,g,L);C=_+this.trimLeft(p)}else{c.getLineContent=function(n){return e.getLineContent(n===o.startLineNumber?v:n)};var E=s.LanguageConfigurationRegistry.getGoodIndentForLine(c,e.getLanguageIdAtPosition(v,1),o.startLineNumber,l);if(null!==E){var N=i.getLeadingWhitespace(e.getLineContent(v)),I=u.getSpaceCnt(E,g),S=u.getSpaceCnt(N,g);if(I!==S){var _=u.generateIndent(I,g,L);C=_+this.trimLeft(p)}}}n.addEditOperation(new r.Range(o.startLineNumber,1,o.startLineNumber,1),C+"\n");var M=this.matchEnterRule(e,l,g,o.startLineNumber,o.startLineNumber,C);if(null!==M)0!==M&&this.getIndentEditsOfMovingBlock(e,n,o,g,L,M);else{c.getLineContent=function(n){return n===o.startLineNumber?C:e.getLineContent(n>=o.startLineNumber+1&&n<=o.endLineNumber+1?n-1:n)};var R=s.LanguageConfigurationRegistry.getGoodIndentForLine(c,e.getLanguageIdAtPosition(v,1),o.startLineNumber+1,l);if(null!==R){var N=i.getLeadingWhitespace(e.getLineContent(o.startLineNumber)),I=u.getSpaceCnt(R,g),S=u.getSpaceCnt(N,g);if(I!==S){var O=I-S;this.getIndentEditsOfMovingBlock(e,n,o,g,L,O)}}}}else n.addEditOperation(new r.Range(o.startLineNumber,1,o.startLineNumber,1),C+"\n")}else if(v=o.startLineNumber-1,p=e.getLineContent(v),n.addEditOperation(new r.Range(v,1,v+1,1),null),n.addEditOperation(new r.Range(o.endLineNumber,e.getLineMaxColumn(o.endLineNumber),o.endLineNumber,e.getLineMaxColumn(o.endLineNumber)),"\n"+p),this.shouldAutoIndent(e,o)){c.getLineContent=function(n){return e.getLineContent(n===v?o.startLineNumber:n)};var M=this.matchEnterRule(e,l,g,o.startLineNumber,o.startLineNumber-2);if(null!==M)0!==M&&this.getIndentEditsOfMovingBlock(e,n,o,g,L,M);else{var A=s.LanguageConfigurationRegistry.getGoodIndentForLine(c,e.getLanguageIdAtPosition(o.startLineNumber,1),v,l);if(null!==A){var w=i.getLeadingWhitespace(e.getLineContent(o.startLineNumber)),I=u.getSpaceCnt(A,g),S=u.getSpaceCnt(w,g);if(I!==S){var O=I-S;this.getIndentEditsOfMovingBlock(e,n,o,g,L,O)}}}}}this._selectionId=n.trackSelection(o)}},e.prototype.buildIndentConverter=function(e,n,t){return{shiftIndent:function(i){return o.ShiftCommand.shiftIndent(i,i.length+1,e,n,t)},unshiftIndent:function(i){return o.ShiftCommand.unshiftIndent(i,i.length+1,e,n,t)}}},e.prototype.matchEnterRule=function(e,n,t,o,a,g){for(var m=a;m>=1;){var L=void 0;L=m===a&&void 0!==g?g:e.getLineContent(m);var l=i.lastNonWhitespaceIndex(L);if(l>=0)break;m--}if(1>m||o>e.getLineCount())return null;var c=e.getLineMaxColumn(m),f=s.LanguageConfigurationRegistry.getEnterAction(e,new r.Range(m,c,m,c));if(f){var h=f.indentation,v=f.enterAction;v.indentAction===d.IndentAction.None?h=f.indentation+v.appendText:v.indentAction===d.IndentAction.Indent?h=f.indentation+v.appendText:v.indentAction===d.IndentAction.IndentOutdent?h=f.indentation:v.indentAction===d.IndentAction.Outdent&&(h=n.unshiftIndent(f.indentation)+v.appendText);var p=e.getLineContent(o);if(this.trimLeft(p).indexOf(this.trimLeft(h))>=0){var C=i.getLeadingWhitespace(e.getLineContent(o)),b=i.getLeadingWhitespace(h),N=s.LanguageConfigurationRegistry.getIndentMetadata(e,o);null!==N&&2&N&&(b=n.unshiftIndent(b));var I=u.getSpaceCnt(b,t),_=u.getSpaceCnt(C,t);return I-_}}return null},e.prototype.trimLeft=function(e){return e.replace(/^\s+/,"")},e.prototype.shouldAutoIndent=function(e,n){if(!this._autoIndent)return!1;if(!e.isCheapToTokenize(n.startLineNumber))return!1;var t=e.getLanguageIdAtPosition(n.startLineNumber,1),i=e.getLanguageIdAtPosition(n.endLineNumber,1);return t!==i?!1:null===s.LanguageConfigurationRegistry.getIndentRulesSupport(t)?!1:!0},e.prototype.getIndentEditsOfMovingBlock=function(e,n,t,o,a,d){for(var s=t.startLineNumber;s<=t.endLineNumber;s++){var g=e.getLineContent(s),m=i.getLeadingWhitespace(g),L=u.getSpaceCnt(m,o),l=L+d,c=u.generateIndent(l,o,a);c!==m&&(n.addEditOperation(new r.Range(s,1,s,m.length+1),c),s===t.endLineNumber&&t.endColumn<=m.length+1&&""===c&&(this._moveEndLineSelectionShrink=!0))}},e.prototype.computeCursorState=function(e,n){var t=n.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(t=t.setEndPosition(t.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&t.startLineNumber<t.endLineNumber&&(t=t.setEndPosition(t.endLineNumber,2)),t},e}();n.MoveLinesCommand=g});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/sortLinesCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/sortLinesCommand",function(e,n){"use strict";function t(e,n,t){var r=n.startLineNumber,o=n.endLineNumber;if(1===n.endColumn&&o--,r>=o)return null;for(var i=[],s=r;o>=s;s++)i.push(e.getLineContent(s));var u=i.slice(0);return u.sort(function(e,n){return e.toLowerCase().localeCompare(n.toLowerCase())}),t===!0&&(u=u.reverse()),{startLineNumber:r,endLineNumber:o,before:i,after:u}}function r(e,n,r){var s=t(e,n,r);return s?o.EditOperation.replace(new i.Range(s.startLineNumber,1,s.endLineNumber,e.getLineMaxColumn(s.endLineNumber)),s.after.join("\n")):null}Object.defineProperty(n,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),i=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),s=function(){function e(e,n){this.selection=e,this.descending=n}return e.prototype.getEditOperations=function(e,n){var t=r(e,this.selection,this.descending);t&&n.addEditOperation(t.range,t.text),this.selectionId=n.trackSelection(this.selection)},e.prototype.computeCursorState=function(e,n){return n.getTrackedSelection(this.selectionId)},e.canRun=function(e,n,r){if(null===e)return!1;var o=t(e,n,r);if(!o)return!1;for(var i=0,s=o.before.length;s>i;i++)if(o.before[i]!==o.after[i])return!0;return!1},e}();n.SortLinesCommand=s});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=n.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),r=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),s=e("node_modules/monaco-editor/esm/vs/editor/browser/controller/coreCommands"),a=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),l=e("node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand"),u=e("node_modules/monaco-editor/esm/vs/editor/common/commands/trimTrailingWhitespaceCommand"),c=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorTypeOperations"),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),g=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),h=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),f=e("node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/copyLinesCommand"),b=e("node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/moveLinesCommand"),L=e("node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/sortLinesCommand"),C=function(e){function t(t,n){var o=e.call(this,n)||this;return o.down=t,o}return o(t,e),t.prototype.run=function(e,t){for(var n=[],o=t.getSelections()||[],i=0,r=o;i<r.length;i++){var s=r[i];n.push(new f.CopyLinesCommand(s,this.down))}t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()},t}(a.EditorAction),v=function(e){function t(){return e.call(this,!1,{id:"editor.action.copyLinesUpAction",label:i.localize("lines.copyUp","Copy Line Up"),alias:"Copy Line Up",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:1552,linux:{primary:3600},weight:100},menubarOpts:{menuId:22,group:"2_line",title:i.localize({key:"miCopyLinesUp",comment:["&& denotes a mnemonic"]},"&&Copy Line Up"),order:1}})||this}return o(t,e),t}(C),y=function(e){function t(){return e.call(this,!0,{id:"editor.action.copyLinesDownAction",label:i.localize("lines.copyDown","Copy Line Down"),alias:"Copy Line Down",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:1554,linux:{primary:3602},weight:100},menubarOpts:{menuId:22,group:"2_line",title:i.localize({key:"miCopyLinesDown",comment:["&& denotes a mnemonic"]},"Co&&py Line Down"),order:2}})||this}return o(t,e),t}(C),E=function(e){function t(t,n){var o=e.call(this,n)||this;return o.down=t,o}return o(t,e),t.prototype.run=function(e,t){for(var n=[],o=t.getSelections()||[],i=t.getConfiguration().autoIndent,r=0,s=o;r<s.length;r++){var a=s[r];n.push(new b.MoveLinesCommand(a,this.down,i))}t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()},t}(a.EditorAction),x=function(e){function t(){return e.call(this,!1,{id:"editor.action.moveLinesUpAction",label:i.localize("lines.moveUp","Move Line Up"),alias:"Move Line Up",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:528,linux:{primary:528},weight:100},menubarOpts:{menuId:22,group:"2_line",title:i.localize({key:"miMoveLinesUp",comment:["&& denotes a mnemonic"]},"Mo&&ve Line Up"),order:3}})||this}return o(t,e),t}(E),w=function(e){function t(){return e.call(this,!0,{id:"editor.action.moveLinesDownAction",label:i.localize("lines.moveDown","Move Line Down"),alias:"Move Line Down",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:530,linux:{primary:530},weight:100},menubarOpts:{menuId:22,group:"2_line",title:i.localize({key:"miMoveLinesDown",comment:["&& denotes a mnemonic"]},"Move &&Line Down"),order:4}})||this}return o(t,e),t}(E),A=function(e){function t(t,n){var o=e.call(this,n)||this;return o.descending=t,o}return o(t,e),t.prototype.run=function(e,t){for(var n=t.getSelections()||[],o=0,i=n;o<i.length;o++){var r=i[o];if(!L.SortLinesCommand.canRun(t.getModel(),r,this.descending))return}for(var s=[],a=0,l=n.length;l>a;a++)s[a]=new L.SortLinesCommand(n[a],this.descending);t.pushUndoStop(),t.executeCommands(this.id,s),t.pushUndoStop()},t}(a.EditorAction);t.AbstractSortLinesAction=A;var N=function(e){function t(){return e.call(this,!1,{id:"editor.action.sortLinesAscending",label:i.localize("lines.sortAscending","Sort Lines Ascending"),alias:"Sort Lines Ascending",precondition:h.EditorContextKeys.writable})||this}return o(t,e),t}(A);t.SortLinesAscendingAction=N;var S=function(e){function t(){return e.call(this,!0,{id:"editor.action.sortLinesDescending",label:i.localize("lines.sortDescending","Sort Lines Descending"),alias:"Sort Lines Descending",precondition:h.EditorContextKeys.writable})||this}return o(t,e),t}(A);t.SortLinesDescendingAction=S;var T=function(e){function t(){return e.call(this,{id:t.ID,label:i.localize("lines.trimTrailingWhitespace","Trim Trailing Whitespace"),alias:"Trim Trailing Whitespace",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:r.KeyChord(2089,2102),weight:100}})||this}return o(t,e),t.prototype.run=function(e,t,n){var o=[];"auto-save"===n.reason&&(o=(t.getSelections()||[]).map(function(e){return new m.Position(e.positionLineNumber,e.positionColumn)}));var i=t.getSelection();if(null!==i){var r=new u.TrimTrailingWhitespaceCommand(i,o);t.pushUndoStop(),t.executeCommands(this.id,[r]),t.pushUndoStop()}},t.ID="editor.action.trimTrailingWhitespace",t}(a.EditorAction);t.TrimTrailingWhitespaceAction=T;var _=function(e){function t(){return e.call(this,{id:"editor.action.deleteLines",label:i.localize("lines.delete","Delete Line"),alias:"Delete Line",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.textInputFocus,primary:3113,weight:100}})||this}return o(t,e),t.prototype.run=function(e,t){if(t.hasModel()){var n=this._getLinesToRemove(t),o=t.getModel();if(1!==o.getLineCount()||1!==o.getLineMaxColumn(1)){for(var i=0,r=[],s=[],a=0,l=n.length;l>a;a++){var u=n[a],c=u.startLineNumber,m=u.endLineNumber,p=1,h=o.getLineMaxColumn(m);m<o.getLineCount()?(m+=1,h=1):c>1&&(c-=1,p=o.getLineMaxColumn(c)),r.push(d.EditOperation.replace(new g.Selection(c,p,m,h),"")),s.push(new g.Selection(c-i,u.positionColumn,c-i,u.positionColumn)),i+=u.endLineNumber-u.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,r,s),t.pushUndoStop()}}},t.prototype._getLinesToRemove=function(e){var t=e.getSelections().map(function(e){var t=e.endLineNumber;return e.startLineNumber<e.endLineNumber&&1===e.endColumn&&(t-=1),{startLineNumber:e.startLineNumber,selectionStartColumn:e.selectionStartColumn,endLineNumber:t,positionColumn:e.positionColumn}});t.sort(function(e,t){return e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber});for(var n=[],o=t[0],i=1;i<t.length;i++)o.endLineNumber+1>=t[i].startLineNumber?o.endLineNumber=t[i].endLineNumber:(n.push(o),o=t[i]);return n.push(o),n},t}(a.EditorAction);t.DeleteLinesAction=_;var U=function(e){function t(){return e.call(this,{id:"editor.action.indentLines",label:i.localize("lines.indent","Indent Line"),alias:"Indent Line",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:2137,weight:100}})||this}return o(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,c.TypeOperations.indent(n.context.config,t.getModel(),t.getSelections())),t.pushUndoStop())},t}(a.EditorAction);t.IndentLinesAction=U;var O=function(e){function t(){return e.call(this,{id:"editor.action.outdentLines",label:i.localize("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:2135,weight:100}})||this}return o(t,e),t.prototype.run=function(e,t){s.CoreEditingCommands.Outdent.runEditorCommand(e,t,null)},t}(a.EditorAction),R=function(e){function t(){return e.call(this,{id:"editor.action.insertLineBefore",label:i.localize("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:3075,weight:100}})||this}return o(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,c.TypeOperations.lineInsertBefore(n.context.config,t.getModel(),t.getSelections())))},t}(a.EditorAction);t.InsertLineBeforeAction=R;var K=function(e){function t(){return e.call(this,{id:"editor.action.insertLineAfter",label:i.localize("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:2051,weight:100}})||this}return o(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,c.TypeOperations.lineInsertAfter(n.context.config,t.getModel(),t.getSelections())))},t}(a.EditorAction);t.InsertLineAfterAction=K;var M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getSelection(),o=this._getRangesToDelete(t),i=[],r=0,s=o.length-1;s>r;r++){var a=o[r],l=o[r+1];null===p.Range.intersectRanges(a,l)?i.push(a):o[r+1]=p.Range.plusRange(a,l)}i.push(o[o.length-1]);var u=this._getEndCursorState(n,i),c=i.map(function(e){return d.EditOperation.replace(e,"")});t.pushUndoStop(),t.executeEdits(this.id,c,u),t.pushUndoStop()}},t}(a.EditorAction);t.AbstractDeleteAllToBoundaryAction=M;var D=function(e){function t(){return e.call(this,{id:"deleteAllLeft",label:i.localize("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.textInputFocus,primary:0,mac:{primary:2049},weight:100}})||this}return o(t,e),t.prototype._getEndCursorState=function(e,t){var n=null,o=[],i=0;return t.forEach(function(t){var r;if(1===t.endColumn&&i>0){var s=t.startLineNumber-i;r=new g.Selection(s,t.startColumn,s,t.startColumn)}else r=new g.Selection(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);i+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?n=r:o.push(r)}),n&&o.unshift(n),o},t.prototype._getRangesToDelete=function(e){var t=e.getSelections();if(null===t)return[];var n=t,o=e.getModel();return null===o?[]:(n.sort(p.Range.compareRangesUsingStarts),n=n.map(function(e){if(e.isEmpty()){if(1===e.startColumn){var t=Math.max(1,e.startLineNumber-1),n=1===e.startLineNumber?1:o.getLineContent(t).length+1;return new p.Range(t,n,e.startLineNumber,1)}return new p.Range(e.startLineNumber,1,e.startLineNumber,e.startColumn)}return e}))},t}(M);t.DeleteAllLeftAction=D;var k=function(e){function t(){return e.call(this,{id:"deleteAllRight",label:i.localize("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})||this}return o(t,e),t.prototype._getEndCursorState=function(e,t){for(var n=null,o=[],i=0,r=t.length,s=0;r>i;i++){var a=t[i],l=new g.Selection(a.startLineNumber-s,a.startColumn,a.startLineNumber-s,a.startColumn);a.intersectRanges(e)?n=l:o.push(l)}return n&&o.unshift(n),o},t.prototype._getRangesToDelete=function(e){var t=e.getModel();if(null===t)return[];var n=e.getSelections();if(null===n)return[];var o=n.map(function(e){if(e.isEmpty()){var n=t.getLineMaxColumn(e.startLineNumber);return e.startColumn===n?new p.Range(e.startLineNumber,e.startColumn,e.startLineNumber+1,1):new p.Range(e.startLineNumber,e.startColumn,e.startLineNumber,n)}return e});return o.sort(p.Range.compareRangesUsingStarts),o},t}(M);t.DeleteAllRightAction=k;var I=function(e){function t(){return e.call(this,{id:"editor.action.joinLines",label:i.localize("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:h.EditorContextKeys.writable,kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:0,mac:{primary:296},weight:100}})||this}return o(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var o=t.getSelection();if(null!==o){n.sort(p.Range.compareRangesUsingStarts);var i=[],r=n.reduce(function(e,t){return e.isEmpty()?e.endLineNumber===t.startLineNumber?(o.equalsSelection(e)&&(o=t),t):t.startLineNumber>e.endLineNumber+1?(i.push(e),t):new g.Selection(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(i.push(e),t):new g.Selection(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn)});i.push(r);var s=t.getModel();if(null!==s){for(var a=[],l=[],u=o,c=0,m=0,h=i.length;h>m;m++){var f=i[m],b=f.startLineNumber,L=1,C=0,v=void 0,y=void 0,E=s.getLineContent(f.endLineNumber).length-f.endColumn;if(f.isEmpty()||f.startLineNumber===f.endLineNumber){var x=f.getStartPosition();x.lineNumber<s.getLineCount()?(v=b+1,y=s.getLineMaxColumn(v)):(v=x.lineNumber,y=s.getLineMaxColumn(x.lineNumber))}else v=f.endLineNumber,y=s.getLineMaxColumn(v);for(var w=s.getLineContent(b),A=b+1;v>=A;A++){var N=s.getLineContent(A),S=s.getLineFirstNonWhitespaceColumn(A);if(S>=1){var T=!0;""===w&&(T=!1),!T||" "!==w.charAt(w.length-1)&&" "!==w.charAt(w.length-1)||(T=!1,w=w.replace(/[\s\uFEFF\xA0]+$/g," "));var _=N.substr(S-1);w+=(T?" ":"")+_,C=T?_.length+1:_.length}else C=0}var U=new p.Range(b,L,v,y);if(!U.isEmpty()){var O=void 0;f.isEmpty()?(a.push(d.EditOperation.replace(U,w)),O=new g.Selection(U.startLineNumber-c,w.length-C+1,b-c,w.length-C+1)):f.startLineNumber===f.endLineNumber?(a.push(d.EditOperation.replace(U,w)),O=new g.Selection(f.startLineNumber-c,f.startColumn,f.endLineNumber-c,f.endColumn)):(a.push(d.EditOperation.replace(U,w)),O=new g.Selection(f.startLineNumber-c,f.startColumn,f.startLineNumber-c,w.length-E)),null!==p.Range.intersectRanges(U,o)?u=O:l.push(O)}c+=U.endLineNumber-U.startLineNumber}l.unshift(u),t.pushUndoStop(),t.executeEdits(this.id,a,l),t.pushUndoStop()}}}},t}(a.EditorAction);t.JoinLinesAction=I;var z=function(e){function t(){return e.call(this,{id:"editor.action.transpose",label:i.localize("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:h.EditorContextKeys.writable})||this}return o(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var o=t.getModel();if(null!==o){for(var i=[],r=0,s=n.length;s>r;r++){var a=n[r];if(a.isEmpty()){var u=a.getStartPosition(),c=o.getLineMaxColumn(u.lineNumber);if(u.column>=c){if(u.lineNumber===o.getLineCount())continue;var d=new p.Range(u.lineNumber,Math.max(1,u.column-1),u.lineNumber+1,1),m=o.getValueInRange(d).split("").reverse().join("");i.push(new l.ReplaceCommand(new g.Selection(u.lineNumber,Math.max(1,u.column-1),u.lineNumber+1,1),m))}else{var d=new p.Range(u.lineNumber,Math.max(1,u.column-1),u.lineNumber,u.column+1),m=o.getValueInRange(d).split("").reverse().join("");i.push(new l.ReplaceCommandThatPreservesSelection(d,m,new g.Selection(u.lineNumber,u.column+1,u.lineNumber,u.column+1)))}}}t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}},t}(a.EditorAction);t.TransposeAction=z;var F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var o=t.getModel();if(null!==o){for(var i=t.getConfiguration().wordSeparators,r=[],s=0,a=n.length;a>s;s++){var u=n[s];if(u.isEmpty()){var c=u.getStartPosition(),d=o.getWordAtPosition(c);if(!d)continue;var m=new p.Range(c.lineNumber,d.startColumn,c.lineNumber,d.endColumn),h=o.getValueInRange(m);r.push(new l.ReplaceCommandThatPreservesSelection(m,this._modifyText(h,i),new g.Selection(c.lineNumber,c.column,c.lineNumber,c.column)))}else{var h=o.getValueInRange(u);r.push(new l.ReplaceCommandThatPreservesSelection(u,this._modifyText(h,i),u))}}t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}}},t}(a.EditorAction);t.AbstractCaseAction=F;var P=function(e){function t(){return e.call(this,{id:"editor.action.transformToUppercase",label:i.localize("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:h.EditorContextKeys.writable})||this}return o(t,e),t.prototype._modifyText=function(e){return e.toLocaleUpperCase()},t}(F);t.UpperCaseAction=P;var W=function(e){function t(){return e.call(this,{id:"editor.action.transformToLowercase",label:i.localize("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:h.EditorContextKeys.writable})||this}return o(t,e),t.prototype._modifyText=function(e){return e.toLocaleLowerCase()},t}(F);t.LowerCaseAction=W;var j=function(e){function t(){return e.call(this,{id:"editor.action.transformToTitlecase",label:i.localize("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:h.EditorContextKeys.writable})||this}return o(t,e),t.prototype._modifyText=function(e,t){for(var n="\r\n "+t,o=n.split(""),i="",r=!0,s=0;s<e.length;s++){var a=e[s];o.indexOf(a)>=0?(r=!0,i+=a):r?(r=!1,i+=a.toLocaleUpperCase()):i+=a.toLocaleLowerCase()}return i},t}(F);t.TitleCaseAction=j,a.registerEditorAction(v),a.registerEditorAction(y),a.registerEditorAction(x),a.registerEditorAction(w),a.registerEditorAction(N),a.registerEditorAction(S),a.registerEditorAction(T),a.registerEditorAction(_),a.registerEditorAction(U),a.registerEditorAction(O),a.registerEditorAction(R),a.registerEditorAction(K),a.registerEditorAction(D),a.registerEditorAction(k),a.registerEditorAction(I),a.registerEditorAction(z),a.registerEditorAction(P),a.registerEditorAction(W),a.registerEditorAction(j)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/links/getLinks.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/links/getLinks",function(e,n){"use strict";function r(e,n){var r=[],o=m.LinkProviderRegistry.ordered(e).reverse().map(function(o,t){return Promise.resolve(o.provideLinks(e,n)).then(function(e){e&&(r[t]=[e,o])},c.onUnexpectedExternalError)});return Promise.all(o).then(function(){return new _(h.coalesce(r))})}Object.defineProperty(n,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(n,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])})(n,r)};return function(n,r){function o(){this.constructor=n}e(n,r),n.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),t=this&&this.__awaiter||function(e,n,r,o){return new(r||(r=Promise))(function(t,i){function s(e){try{c(o.next(e))}catch(n){i(n)}}function u(e){try{c(o["throw"](e))}catch(n){i(n)}}function c(e){e.done?t(e.value):new r(function(n){n(e.value)}).then(s,u)}c((o=o.apply(e,n||[])).next())})},i=this&&this.__generator||function(e,n){function r(e){return function(n){return o([e,n])}}function o(r){if(t)throw new TypeError("Generator is already executing.");for(;c;)try{if(t=1,i&&(s=2&r[0]?i["return"]:r[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,r[1])).done)return s;switch(i=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return c.label++,{value:r[1],done:!1};case 5:c.label++,i=r[1],r=[0];continue;case 7:r=c.ops.pop(),c.trys.pop();continue;default:if(s=c.trys,!(s=s.length>0&&s[s.length-1])&&(6===r[0]||2===r[0])){c=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]<s[3])){c.label=r[1];break}if(6===r[0]&&c.label<s[1]){c.label=s[1],s=r;break}if(s&&c.label<s[2]){c.label=s[2],c.ops.push(r);break}s[2]&&c.ops.pop(),c.trys.pop();continue}r=n.call(e,c)}catch(o){r=[6,o],i=0}finally{t=s=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}var t,i,s,u,c={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return u={next:r(0),"throw":r(1),"return":r(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},s=this,u=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),c=e("node_modules/monaco-editor/esm/vs/base/common/errors"),a=e("node_modules/monaco-editor/esm/vs/base/common/uri"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),f=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),d=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),p=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),h=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),v=function(){function e(e,n){this._link=e,this._provider=n}return e.prototype.toJSON=function(){return{range:this.range,url:this.url}},Object.defineProperty(e.prototype,"range",{get:function(){return this._link.range},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._link.url},enumerable:!0,configurable:!0}),e.prototype.resolve=function(e){var n=this;if(this._link.url)try{return Promise.resolve("string"==typeof this._link.url?a.URI.parse(this._link.url):this._link.url)}catch(r){return Promise.reject(new Error("invalid"))}return"function"==typeof this._provider.resolveLink?Promise.resolve(this._provider.resolveLink(this._link,e)).then(function(r){return n._link=r||n._link,n._link.url?n.resolve(e):Promise.reject(new Error("missing"))}):Promise.reject(new Error("missing"))},e}();n.Link=v;var _=function(e){function n(r){for(var o=e.call(this)||this,t=[],i=function(e,r){var o=e.links.map(function(e){return new v(e,r)});t=n._union(t,o),p.isDisposable(r)&&s._register(r)},s=this,u=0,c=r;u<c.length;u++){var a=c[u],l=a[0],m=a[1];i(l,m)}return o.links=t,o}return o(n,e),n._union=function(e,n){var r,o,t,i,s=[];for(r=0,t=0,o=e.length,i=n.length;o>r&&i>t;){var u=e[r],c=n[t];if(l.Range.areIntersectingOrTouching(u.range,c.range))r++;else{var a=l.Range.compareRangesUsingStarts(u.range,c.range);0>a?(s.push(u),r++):(s.push(c),t++)}}for(;o>r;r++)s.push(e[r]);for(;i>t;t++)s.push(n[t]);return s},n}(p.Disposable);n.LinksList=_,n.getLinks=r,d.CommandsRegistry.registerCommand("_executeLinkProvider",function(e){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return t(s,void 0,void 0,function(){var o,t,s,c;return i(this,function(i){switch(i.label){case 0:return o=n[0],o instanceof a.URI?(t=e.get(f.IModelService).getModel(o),t?[4,r(t,u.CancellationToken.None)]:[2,[]]):[2,[]];case 1:return(s=i.sent())?(c=s.links.slice(0),s.dispose(),[2,c]):[2,[]]}})})})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/links/links.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/links/links",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=3>r?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(s=(3>r?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},r=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}},s=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))(function(i,r){function s(e){try{a(n.next(e))}catch(t){r(t)}}function c(e){try{a(n["throw"](e))}catch(t){r(t)}}function a(e){e.done?i(e.value):new o(function(t){t(e.value)}).then(s,c)}a((n=n.apply(e,t||[])).next())})},c=this&&this.__generator||function(e,t){function o(e){return function(t){return n([e,t])}}function n(o){if(i)throw new TypeError("Generator is already executing.");for(;a;)try{if(i=1,r&&(s=2&o[0]?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;switch(r=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(s=a.trys,!(s=s.length>0&&s[s.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){a.label=o[1];break}if(6===o[0]&&a.label<s[1]){a.label=s[1],s=o;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(o);break}s[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(n){o=[6,n],r=0}finally{i=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var i,r,s,c,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return c={next:o(0),"throw":o(1),"return":o(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c},a=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),l=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/async")),u=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),d=e("node_modules/monaco-editor/esm/vs/base/common/errors"),m=e("node_modules/monaco-editor/esm/vs/base/common/htmlContent"),p=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),h=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),f=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),v=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),g=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),k=e("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/clickLinkGesture"),b=e("node_modules/monaco-editor/esm/vs/editor/contrib/links/getLinks"),C=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),M=e("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),y=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),O=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),_=(new m.MarkdownString).appendText(h.isMacintosh?a.localize("links.navigate.mac","Cmd + click to follow link"):a.localize("links.navigate","Ctrl + click to follow link")),L=(new m.MarkdownString).appendText(h.isMacintosh?a.localize("links.command.mac","Cmd + click to execute command"):a.localize("links.command","Ctrl + click to execute command")),D=(new m.MarkdownString).appendText(h.isMacintosh?a.localize("links.navigate.al.mac","Option + click to follow link"):a.localize("links.navigate.al","Alt + click to follow link")),w=(new m.MarkdownString).appendText(h.isMacintosh?a.localize("links.command.al.mac","Option + click to execute command"):a.localize("links.command.al","Alt + click to execute command")),R={meta:v.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link",hoverMessage:_}),metaActive:v.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active",hoverMessage:_}),alt:v.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link",hoverMessage:D}),altActive:v.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active",hoverMessage:D}),altCommand:v.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link",hoverMessage:w}),altCommandActive:v.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active",hoverMessage:w}),metaCommand:v.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link",hoverMessage:L}),metaCommandActive:v.ModelDecorationOptions.register({stickiness:1,collapseOnReplaceEdit:!0,inlineClassName:"detected-link-active",hoverMessage:L})},E=function(){function e(e,t){this.link=e,this.decorationId=t}return e.decoration=function(t,o){return{range:t.range,options:e._getOptions(t,o,!1)}},e._getOptions=function(e,t,o){return e.url&&/^command:/i.test(e.url.toString())?t?o?R.metaCommandActive:R.metaCommand:o?R.altCommandActive:R.altCommand:t?o?R.metaActive:R.meta:o?R.altActive:R.alt},e.prototype.activate=function(t,o){t.changeDecorationOptions(this.decorationId,e._getOptions(this.link,o,!0))},e.prototype.deactivate=function(t,o){t.changeDecorationOptions(this.decorationId,e._getOptions(this.link,o,!1))},e}(),T=function(){function e(e,t,o){var n=this;this.editor=e,this.openerService=t,this.notificationService=o,this.listenersToRemove=[];var i=new k.ClickLinkGesture(e);this.listenersToRemove.push(i),this.listenersToRemove.push(i.onMouseMoveOrRelevantKeyDown(function(e){var t=e[0],o=e[1];n._onEditorMouseMove(t,o)})),this.listenersToRemove.push(i.onExecute(function(e){n.onEditorMouseUp(e)})),this.listenersToRemove.push(i.onCancel(function(){n.cleanUpActiveLinkDecoration()})),this.enabled=e.getConfiguration().contribInfo.links,this.listenersToRemove.push(e.onDidChangeConfiguration(function(){var t=e.getConfiguration().contribInfo.links;n.enabled!==t&&(n.enabled=t,n.updateDecorations([]),n.stop(),n.beginCompute())})),this.listenersToRemove.push(e.onDidChangeModelContent(function(){return n.onChange()})),this.listenersToRemove.push(e.onDidChangeModel(function(){return n.onModelChanged()})),this.listenersToRemove.push(e.onDidChangeModelLanguage(function(){return n.onModelModeChanged()})),this.listenersToRemove.push(g.LinkProviderRegistry.onDidChange(function(){return n.onModelModeChanged()})),this.timeout=new l.TimeoutTimer,this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null,this.beginCompute()}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.getId=function(){return e.ID},e.prototype.onModelChanged=function(){this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.beginCompute()},e.prototype.onModelModeChanged=function(){this.stop(),this.beginCompute()},e.prototype.onChange=function(){var t=this;this.timeout.setIfNotSet(function(){return t.beginCompute()},e.RECOMPUTE_TIME)},e.prototype.beginCompute=function(){return s(this,void 0,void 0,function(){var e,t,o;return c(this,function(n){switch(n.label){case 0:if(!this.editor.hasModel()||!this.enabled)return[2];if(e=this.editor.getModel(),!g.LinkProviderRegistry.has(e))return[2];this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=l.createCancelablePromise(function(t){return b.getLinks(e,t)}),n.label=1;case 1:return n.trys.push([1,3,4,5]),t=this,[4,this.computePromise];case 2:return t.activeLinksList=n.sent(),this.updateDecorations(this.activeLinksList.links),[3,5];case 3:return o=n.sent(),d.onUnexpectedError(o),[3,5];case 4:return this.computePromise=null,[7];case 5:return[2]}})})},e.prototype.updateDecorations=function(e){for(var t="altKey"===this.editor.getConfiguration().multiCursorModifier,o=[],n=Object.keys(this.currentOccurrences),i=0,r=n.length;r>i;i++){var s=n[i],c=this.currentOccurrences[s];o.push(c.decorationId)}var a=[];if(e)for(var l=0,u=e;l<u.length;l++){var d=u[l];a.push(E.decoration(d,t))}var m=this.editor.deltaDecorations(o,a);this.currentOccurrences={},this.activeLinkDecorationId=null;for(var i=0,r=m.length;r>i;i++){var c=new E(e[i],m[i]);this.currentOccurrences[c.decorationId]=c}},e.prototype._onEditorMouseMove=function(e,t){var o=this,n="altKey"===this.editor.getConfiguration().multiCursorModifier;if(this.isEnabled(e,t)){this.cleanUpActiveLinkDecoration();var i=this.getLinkOccurrence(e.target.position);i&&this.editor.changeDecorations(function(e){i.activate(e,n),o.activeLinkDecorationId=i.decorationId})}else this.cleanUpActiveLinkDecoration()},e.prototype.cleanUpActiveLinkDecoration=function(){var e="altKey"===this.editor.getConfiguration().multiCursorModifier;if(this.activeLinkDecorationId){var t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(function(o){t.deactivate(o,e)}),this.activeLinkDecorationId=null}},e.prototype.onEditorMouseUp=function(e){if(this.isEnabled(e)){var t=this.getLinkOccurrence(e.target.position);t&&this.openLinkOccurrence(t,e.hasSideBySideModifier)}},e.prototype.openLinkOccurrence=function(e,t){var o=this;if(this.openerService){var n=e.link;n.resolve(u.CancellationToken.None).then(function(e){return o.openerService.open(e,{openToSide:t})},function(e){"invalid"===e?o.notificationService.warn(a.localize("invalid.url","Failed to open this link because it is not well-formed: {0}",n.url.toString())):"missing"===e?o.notificationService.warn(a.localize("missing.url","Failed to open this link because its target is missing.")):d.onUnexpectedError(e)})}},e.prototype.getLinkOccurrence=function(e){if(!this.editor.hasModel()||!e)return null;for(var t=this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0),o=0,n=t;o<n.length;o++){var i=n[o],r=this.currentOccurrences[i.id];if(r)return r}return null},e.prototype.isEnabled=function(e,t){return Boolean(6===e.target.type&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))},e.prototype.stop=function(){this.timeout.cancel(),this.activeLinksList&&this.activeLinksList.dispose(),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)},e.prototype.dispose=function(){this.listenersToRemove=p.dispose(this.listenersToRemove),this.stop(),this.timeout.dispose()},e.ID="editor.linkDetector",e.RECOMPUTE_TIME=1e3,e=i([r(1,M.IOpenerService),r(2,C.INotificationService)],e)}(),I=function(e){function t(){return e.call(this,{id:"editor.action.openLink",label:a.localize("label","Open Link"),alias:"Open Link",precondition:null})||this}return n(t,e),t.prototype.run=function(e,t){var o=T.get(t);if(o&&t.hasModel())for(var n=t.getSelections(),i=0,r=n;i<r.length;i++){var s=r[i],c=o.getLinkOccurrence(s.getEndPosition());c&&o.openLinkOccurrence(c,!1)}},t}(f.EditorAction);f.registerEditorContribution(T),f.registerEditorAction(I),O.registerThemingParticipant(function(e,t){var o=e.getColor(y.editorActiveLinkForeground);o&&t.addRule(".monaco-editor .detected-link-active { color: "+o+" !important; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/multicursor/multicursor.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/multicursor/multicursor",function(e,t){"use strict";function o(e,t,o){for(var n=i(e,t[0],!o),r=1,s=t.length;s>r;r++){var l=t[r];if(l.isEmpty())return!1;var a=i(e,l,!o);if(n!==a)return!1}return!0}function i(e,t,o){var i=e.getValueInRange(t);return o?i.toLowerCase():i}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),s=n.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),l=e("node_modules/monaco-editor/esm/vs/base/common/async"),a=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),c=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),u=e("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorMoveCommands"),h=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),g=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),p=e("node_modules/monaco-editor/esm/vs/editor/common/model"),f=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),v=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/find/findController"),S=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),C=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),M=function(e){function t(){return e.call(this,{id:"editor.action.insertCursorAbove",label:s.localize("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:null,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menubarOpts:{menuId:22,group:"3_multi",title:s.localize({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})||this}return r(t,e),t.prototype.run=function(e,t,o){if(t.hasModel()){var i=o&&o.logicalLine===!0,n=t._getCursors(),r=n.context;r.config.readOnly||(r.model.pushStackElement(),n.setStates(o.source,3,u.CursorMoveCommands.addCursorUp(r,n.getAll(),i)),n.reveal(!0,1,0))}},t}(d.EditorAction);t.InsertCursorAbove=M;var y=function(e){function t(){return e.call(this,{id:"editor.action.insertCursorBelow",label:s.localize("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:null,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menubarOpts:{menuId:22,group:"3_multi",title:s.localize({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})||this}return r(t,e),t.prototype.run=function(e,t,o){if(t.hasModel()){var i=o&&o.logicalLine===!0,n=t._getCursors(),r=n.context;r.config.readOnly||(r.model.pushStackElement(),n.setStates(o.source,3,u.CursorMoveCommands.addCursorDown(r,n.getAll(),i)),n.reveal(!0,2,0))}},t}(d.EditorAction);t.InsertCursorBelow=y;var b=function(e){function t(){return e.call(this,{id:"editor.action.insertCursorAtEndOfEachLineSelected",label:s.localize("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:null,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:1575,weight:100},menubarOpts:{menuId:22,group:"3_multi",title:s.localize({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})||this}return r(t,e),t.prototype.getCursorsForSelection=function(e,t,o){if(!e.isEmpty()){for(var i=e.startLineNumber;i<e.endLineNumber;i++){var n=t.getLineMaxColumn(i);o.push(new m.Selection(i,n,i,n))}e.endColumn>1&&o.push(new m.Selection(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn))}},t.prototype.run=function(e,t){var o=this;if(t.hasModel()){var i=t.getModel(),n=t.getSelections(),r=[];n.forEach(function(e){return o.getCursorsForSelection(e,i,r)}),r.length>0&&t.setSelections(r)}},t}(d.EditorAction),T=function(e){function t(){return e.call(this,{id:"editor.action.addCursorsToBottom",label:s.localize("mutlicursor.addCursorsToBottom","Add Cursors To Bottom"),alias:"Add Cursors To Bottom",precondition:null})||this}return r(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var o=t.getSelections(),i=t.getModel().getLineCount(),n=[],r=o[0].startLineNumber;i>=r;r++)n.push(new m.Selection(r,o[0].startColumn,r,o[0].endColumn));n.length>0&&t.setSelections(n)}},t}(d.EditorAction),E=function(e){function t(){return e.call(this,{id:"editor.action.addCursorsToTop",label:s.localize("mutlicursor.addCursorsToTop","Add Cursors To Top"),alias:"Add Cursors To Top",precondition:null})||this}return r(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var o=t.getSelections(),i=[],n=o[0].startLineNumber;n>=1;n--)i.push(new m.Selection(n,o[0].startColumn,n,o[0].endColumn));i.length>0&&t.setSelections(i)}},t}(d.EditorAction),A=function(){function e(e,t,o){this.selections=e,this.revealRange=t,this.revealScrollType=o}return e}();t.MultiCursorSessionResult=A;var x=function(){function e(e,t,o,i,n,r,s){this._editor=e,this.findController=t,this.isDisconnectedFromFindController=o,this.searchText=i,this.wholeWord=n,this.matchCase=r,this.currentMatch=s}return e.create=function(t,o){if(!t.hasModel())return null;var i=o.getState();if(!t.hasTextFocus()&&i.isRevealed&&i.searchString.length>0)return new e(t,o,!1,i.searchString,i.wholeWord,i.matchCase,null);var n,r,s=!1,l=t.getSelections();1===l.length&&l[0].isEmpty()?(s=!0,n=!0,r=!0):(n=i.wholeWord,r=i.matchCase);var a,c=t.getSelection(),d=null;if(c.isEmpty()){var u=t.getModel().getWordAtPosition(c.getStartPosition());if(!u)return null;a=u.word,d=new m.Selection(c.startLineNumber,u.startColumn,c.startLineNumber,u.endColumn)}else a=t.getModel().getValueInRange(c).replace(/\r\n/g,"\n");return new e(t,o,s,a,n,r,d)},e.prototype.addSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var e=this._getNextMatch();if(!e)return null;var t=this._editor.getSelections();return new A(t.concat(e),e,0)},e.prototype.moveSelectionToNextFindMatch=function(){if(!this._editor.hasModel())return null;var e=this._getNextMatch();if(!e)return null;var t=this._editor.getSelections();return new A(t.slice(0,t.length-1).concat(e),e,0)},e.prototype._getNextMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();var t=this._editor.getSelections(),o=t[t.length-1],i=this._editor.getModel().findNextMatch(this.searchText,o.getEndPosition(),!1,this.matchCase,this.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1);return i?new m.Selection(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null},e.prototype.addSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var e=this._getPreviousMatch();if(!e)return null;var t=this._editor.getSelections();return new A(t.concat(e),e,0)},e.prototype.moveSelectionToPreviousFindMatch=function(){if(!this._editor.hasModel())return null;var e=this._getPreviousMatch();if(!e)return null;var t=this._editor.getSelections();return new A(t.slice(0,t.length-1).concat(e),e,0)},e.prototype._getPreviousMatch=function(){if(!this._editor.hasModel())return null;if(this.currentMatch){var e=this.currentMatch;return this.currentMatch=null,e}this.findController.highlightFindOptions();var t=this._editor.getSelections(),o=t[t.length-1],i=this._editor.getModel().findPreviousMatch(this.searchText,o.getStartPosition(),!1,this.matchCase,this.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1);return i?new m.Selection(i.range.startLineNumber,i.range.startColumn,i.range.endLineNumber,i.range.endColumn):null},e.prototype.selectAll=function(){return this._editor.hasModel()?(this.findController.highlightFindOptions(),this._editor.getModel().findMatches(this.searchText,!0,!1,this.matchCase,this.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1,1073741824)):[]},e}();t.MultiCursorSession=x;var w=function(e){function t(t){var o=e.call(this)||this;return o._editor=t,o._ignoreSelectionChange=!1,o._session=null,o._sessionDispose=[],o}return r(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){this._endSession(),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t.ID},t.prototype._beginSessionIfNeeded=function(e){var t=this;if(!this._session){var o=x.create(this._editor,e);if(!o)return;this._session=o;var i={searchString:this._session.searchText};this._session.isDisconnectedFromFindController&&(i.wholeWordOverride=1,i.matchCaseOverride=1,i.isRegexOverride=2),e.getState().change(i,!1),this._sessionDispose=[this._editor.onDidChangeCursorSelection(function(){t._ignoreSelectionChange||t._endSession()}),this._editor.onDidBlurEditorText(function(){t._endSession()}),e.getState().onFindReplaceStateChange(function(e){(e.matchCase||e.wholeWord)&&t._endSession()})]}},t.prototype._endSession=function(){if(this._sessionDispose=c.dispose(this._sessionDispose),this._session&&this._session.isDisconnectedFromFindController){var e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0};this._session.findController.getState().change(e,!1)}this._session=null},t.prototype._setSelections=function(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1},t.prototype._expandEmptyToWord=function(e,t){if(!t.isEmpty())return t;var o=e.getWordAtPosition(t.getStartPosition());return o?new m.Selection(t.startLineNumber,o.startColumn,t.startLineNumber,o.endColumn):t},t.prototype._applySessionResult=function(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))},t.prototype.getSession=function(){return this._session},t.prototype.addSelectionToNextFindMatch=function(e){if(this._editor.hasModel()){if(!this._session){var t=this._editor.getSelections();if(t.length>1){var i=e.getState(),n=i.matchCase,r=o(this._editor.getModel(),t,n);if(!r){for(var s=this._editor.getModel(),l=[],a=0,c=t.length;c>a;a++)l[a]=this._expandEmptyToWord(s,t[a]);return void this._editor.setSelections(l)}}}this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToNextFindMatch())}},t.prototype.addSelectionToPreviousFindMatch=function(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.addSelectionToPreviousFindMatch())},t.prototype.moveSelectionToNextFindMatch=function(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToNextFindMatch())},t.prototype.moveSelectionToPreviousFindMatch=function(e){this._beginSessionIfNeeded(e),this._session&&this._applySessionResult(this._session.moveSelectionToPreviousFindMatch())},t.prototype.selectAll=function(e){if(this._editor.hasModel()){var t=null,o=e.getState();if(o.isRevealed&&o.searchString.length>0&&o.isRegex)t=this._editor.getModel().findMatches(o.searchString,!0,o.isRegex,o.matchCase,o.wholeWord?this._editor.getConfiguration().wordSeparators:null,!1,1073741824);else{if(this._beginSessionIfNeeded(e),!this._session)return;t=this._session.selectAll()}if(t.length>0){for(var i=this._editor.getSelection(),n=0,r=t.length;r>n;n++){var s=t[n],l=s.range.intersectRanges(i);if(l){t[n]=t[0],t[0]=s;break}}this._setSelections(t.map(function(e){return new m.Selection(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)}))}}},t.ID="editor.contrib.multiCursorController",t}(c.Disposable);t.MultiCursorSelectionController=w;var F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.run=function(e,t){var o=w.get(t);if(o){var i=_.CommonFindController.get(t);i&&this._run(o,i)}},t}(d.EditorAction);t.MultiCursorSelectionControllerAction=F;var N=function(e){function t(){return e.call(this,{id:"editor.action.addSelectionToNextFindMatch",label:s.localize("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:null,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:2082,weight:100},menubarOpts:{menuId:22,group:"3_multi",title:s.localize({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})||this}return r(t,e),t.prototype._run=function(e,t){e.addSelectionToNextFindMatch(t)},t}(F);t.AddSelectionToNextFindMatchAction=N;var O=function(e){function t(){return e.call(this,{id:"editor.action.addSelectionToPreviousFindMatch",label:s.localize("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:null,menubarOpts:{menuId:22,group:"3_multi",title:s.localize({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})||this}return r(t,e),t.prototype._run=function(e,t){e.addSelectionToPreviousFindMatch(t)},t}(F);t.AddSelectionToPreviousFindMatchAction=O;var I=function(e){function t(){return e.call(this,{id:"editor.action.moveSelectionToNextFindMatch",label:s.localize("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:null,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:a.KeyChord(2089,2082),weight:100}})||this}return r(t,e),t.prototype._run=function(e,t){e.moveSelectionToNextFindMatch(t)},t}(F);t.MoveSelectionToNextFindMatchAction=I;var L=function(e){function t(){return e.call(this,{id:"editor.action.moveSelectionToPreviousFindMatch",label:s.localize("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:null})||this}return r(t,e),t.prototype._run=function(e,t){e.moveSelectionToPreviousFindMatch(t)},t}(F);t.MoveSelectionToPreviousFindMatchAction=L;var R=function(e){function t(){return e.call(this,{id:"editor.action.selectHighlights",label:s.localize("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:null,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:3114,weight:100},menubarOpts:{menuId:22,group:"3_multi",title:s.localize({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})||this}return r(t,e),t.prototype._run=function(e,t){e.selectAll(t)},t}(F);t.SelectHighlightsAction=R;var P=function(e){function t(){return e.call(this,{id:"editor.action.changeAll",label:s.localize("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:g.EditorContextKeys.writable,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:2108,weight:100},menuOpts:{group:"1_modification",order:1.2}})||this}return r(t,e),t.prototype._run=function(e,t){e.selectAll(t)},t}(F);t.CompatChangeAll=P;var k=function(){function e(e,t,o){this.searchText=e,this.matchCase=t,this.wordSeparators=o}return e.softEquals=function(e,t){return e||t?e&&t?e.searchText===t.searchText&&e.matchCase===t.matchCase&&e.wordSeparators===t.wordSeparators:!1:!0},e}(),D=function(e){function t(t){var o=e.call(this)||this;return o.editor=t,o._isEnabled=t.getConfiguration().contribInfo.selectionHighlight,o.decorations=[],o.updateSoon=o._register(new l.RunOnceScheduler(function(){return o._update()},300)),o.state=null,o._register(t.onDidChangeConfiguration(function(){o._isEnabled=t.getConfiguration().contribInfo.selectionHighlight})),o._register(t.onDidChangeCursorSelection(function(e){o._isEnabled&&(e.selection.isEmpty()?3===e.reason?(o.state&&o._setState(null),o.updateSoon.schedule()):o._setState(null):o._update())})),o._register(t.onDidChangeModel(function(){o._setState(null)})),o._register(_.CommonFindController.get(t).getState().onFindReplaceStateChange(function(){o._update()})),o}return r(t,e),t.prototype.getId=function(){return t.ID},t.prototype._update=function(){this._setState(t._createState(this._isEnabled,this.editor))},t._createState=function(e,t){if(!e)return null;if(!t.hasModel())return null;var i=t.getSelection();if(i.startLineNumber!==i.endLineNumber)return null;var n=w.get(t);if(!n)return null;var r=_.CommonFindController.get(t);if(!r)return null;var s=n.getSession(r);if(!s){var l=t.getSelections();if(l.length>1){var a=r.getState(),c=a.matchCase,d=o(t.getModel(),l,c);if(!d)return null}s=x.create(t,r)}if(!s)return null;if(s.currentMatch)return null;if(/^[ \t]+$/.test(s.searchText))return null;if(s.searchText.length>200)return null;var u=r.getState(),h=u.matchCase;if(u.isRevealed){var m=u.searchString;h||(m=m.toLowerCase());var g=s.searchText;if(h||(g=g.toLowerCase()),m===g&&s.matchCase===u.matchCase&&s.wholeWord===u.wholeWord&&!u.isRegex)return null}return new k(s.searchText,s.matchCase,s.wholeWord?t.getConfiguration().wordSeparators:null)},t.prototype._setState=function(e){if(k.softEquals(this.state,e))return void(this.state=e);if(this.state=e,!this.state)return void(this.decorations=this.editor.deltaDecorations(this.decorations,[]));if(this.editor.hasModel()){var o=this.editor.getModel();if(!o.isTooLargeForTokenization()){var i=v.DocumentHighlightProviderRegistry.has(o),n=o.findMatches(this.state.searchText,!0,!1,this.state.matchCase,this.state.wordSeparators,!1).map(function(e){return e.range});n.sort(h.Range.compareRangesUsingStarts);var r=this.editor.getSelections();r.sort(h.Range.compareRangesUsingStarts);for(var s=[],l=0,a=0,c=n.length,d=r.length;c>l;){var u=n[l];if(a>=d)s.push(u),l++;else{var m=h.Range.compareRangesUsingStarts(u,r[a]);0>m?((r[a].isEmpty()||!h.Range.areIntersecting(u,r[a]))&&s.push(u),l++):m>0?a++:(l++,a++)}}var g=s.map(function(e){return{range:e,options:i?t._SELECTION_HIGHLIGHT:t._SELECTION_HIGHLIGHT_OVERVIEW}});this.decorations=this.editor.deltaDecorations(this.decorations,g)}}},t.prototype.dispose=function(){this._setState(null),e.prototype.dispose.call(this)},t.ID="editor.contrib.selectionHighlighter",t._SELECTION_HIGHLIGHT_OVERVIEW=f.ModelDecorationOptions.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:C.themeColorFromId(S.overviewRulerSelectionHighlightForeground),position:p.OverviewRulerLane.Center}}),t._SELECTION_HIGHLIGHT=f.ModelDecorationOptions.register({stickiness:1,className:"selectionHighlight"}),t}(c.Disposable);t.SelectionHighlighter=D,d.registerEditorContribution(w),d.registerEditorContribution(D),d.registerEditorAction(M),d.registerEditorAction(y),d.registerEditorAction(b),d.registerEditorAction(N),d.registerEditorAction(O),d.registerEditorAction(I),d.registerEditorAction(L),d.registerEditorAction(R),d.registerEditorAction(P),d.registerEditorAction(T),d.registerEditorAction(E)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/provideSignatureHelp.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/provideSignatureHelp",function(e,o){"use strict";function r(e,o,r,t){var s=a.SignatureHelpProviderRegistry.ordered(e);return n.first(s.map(function(n){return function(){return Promise.resolve(n.provideSignatureHelp(e,o,t,r)).catch(i.onUnexpectedExternalError)}}))}Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),n=e("node_modules/monaco-editor/esm/vs/base/common/async"),i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),s=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),a=t.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),d=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),m=e("node_modules/monaco-editor/esm/vs/base/common/cancellation");o.Context={Visible:new d.RawContextKey("parameterHintsVisible",!1),MultipleSignatures:new d.RawContextKey("parameterHintsMultipleSignatures",!1)},o.provideSignatureHelp=r,s.registerDefaultLanguageCommand("_executeSignatureHelpProvider",function(e,o,t){return r(e,o,{triggerKind:a.SignatureHelpTriggerKind.Invoke,isRetrigger:!1,triggerCharacter:t.triggerCharacter},m.CancellationToken.None)})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHintsModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHintsModel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,i=arguments.length;i>r;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(this,arguments)},s=e("node_modules/monaco-editor/esm/vs/base/common/async"),a=e("node_modules/monaco-editor/esm/vs/base/common/errors"),g=e("node_modules/monaco-editor/esm/vs/base/common/event"),h=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier"),c=i.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),u=e("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/provideSignatureHelp");!function(e){e.Default=new(function(){function e(){this.type=0}return e}());var t=function(){function e(e){this.request=e,this.type=2}return e}();e.Pending=t;var r=function(){function e(e){this.hints=e,this.type=1}return e}();e.Active=r}(r||(r={}));var l=function(e){function t(i,n){void 0===n&&(n=t.DEFAULT_DELAY);var o=e.call(this)||this;return o._onChangedHints=o._register(new g.Emitter),o.onChangedHints=o._onChangedHints.event,o._state=r.Default,o.triggerChars=new d.CharacterSet,o.retriggerChars=new d.CharacterSet,o.triggerId=0,o.editor=i,o.enabled=!1,o.throttledDelayer=new s.Delayer(n),o._register(o.editor.onDidChangeConfiguration(function(){return o.onEditorConfigurationChange()})),o._register(o.editor.onDidChangeModel(function(){return o.onModelChanged()})),o._register(o.editor.onDidChangeModelLanguage(function(){return o.onModelChanged()})),o._register(o.editor.onDidChangeCursorSelection(function(e){return o.onCursorChange(e)})),o._register(o.editor.onDidChangeModelContent(function(){return o.onModelContentChange()})),o._register(c.SignatureHelpProviderRegistry.onDidChange(o.onModelChanged,o)),o._register(o.editor.onDidType(function(e){return o.onDidType(e)})),o.onEditorConfigurationChange(),o.onModelChanged(),o}return n(t,e),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){2===this._state.type&&this._state.request.cancel(),this._state=e},enumerable:!0,configurable:!0}),t.prototype.cancel=function(e){void 0===e&&(e=!1),this.state=r.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)},t.prototype.trigger=function(e,t){var r=this,i=this.editor.getModel();if(i&&c.SignatureHelpProviderRegistry.has(i)){var n=++this.triggerId;this.throttledDelayer.trigger(function(){return r.doTrigger({triggerKind:e.triggerKind,triggerCharacter:e.triggerCharacter,isRetrigger:1===r.state.type||2===r.state.type,activeSignatureHelp:1===r.state.type?r.state.hints:void 0},n)},t).then(void 0,a.onUnexpectedError)}},t.prototype.next=function(){if(1===this.state.type){var e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,r=t%e===e-1,i=this.editor.getConfiguration().contribInfo.parameterHints.cycle;return(2>e||r)&&!i?void this.cancel():void this.updateActiveSignature(r&&i?0:t+1)}},t.prototype.previous=function(){if(1===this.state.type){var e=this.state.hints.signatures.length,t=this.state.hints.activeSignature,r=0===t,i=this.editor.getConfiguration().contribInfo.parameterHints.cycle;return(2>e||r)&&!i?void this.cancel():void this.updateActiveSignature(r&&i?e-1:t-1)}},t.prototype.updateActiveSignature=function(e){1===this.state.type&&(this.state=new r.Active(o({},this.state.hints,{activeSignature:e})),this._onChangedHints.fire(this.state.hints))},t.prototype.doTrigger=function(e,t){var i=this;if(this.cancel(!0),!this.editor.hasModel())return Promise.resolve(!1);var n=this.editor.getModel(),o=this.editor.getPosition();return this.state=new r.Pending(s.createCancelablePromise(function(t){return u.provideSignatureHelp(n,o,e,t)})),this.state.request.then(function(e){return t!==i.triggerId?!1:e&&e.signatures&&0!==e.signatures.length?(i.state=new r.Active(e),i._onChangedHints.fire(i.state.hints),!0):(i.cancel(),!1)}).catch(function(e){return t===i.triggerId&&(i.state=r.Default),a.onUnexpectedError(e),!1})},Object.defineProperty(t.prototype,"isTriggered",{get:function(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()},enumerable:!0,configurable:!0}),t.prototype.onModelChanged=function(){this.cancel(),this.triggerChars=new d.CharacterSet,this.retriggerChars=new d.CharacterSet;var e=this.editor.getModel();if(e)for(var t=0,r=c.SignatureHelpProviderRegistry.ordered(e);t<r.length;t++){for(var i=r[t],n=0,o=i.signatureHelpTriggerCharacters||[];n<o.length;n++){var s=o[n];this.triggerChars.add(s.charCodeAt(0)),this.retriggerChars.add(s.charCodeAt(0))}for(var a=0,g=i.signatureHelpRetriggerCharacters||[];a<g.length;a++){var s=g[a];this.retriggerChars.add(s.charCodeAt(0))}}},t.prototype.onDidType=function(e){if(this.enabled){var t=e.length-1,r=e.charCodeAt(t);(this.triggerChars.has(r)||this.isTriggered&&this.retriggerChars.has(r))&&this.trigger({triggerKind:c.SignatureHelpTriggerKind.TriggerCharacter,triggerCharacter:e.charAt(t)})}},t.prototype.onCursorChange=function(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:c.SignatureHelpTriggerKind.ContentChange})},t.prototype.onModelContentChange=function(){this.isTriggered&&this.trigger({triggerKind:c.SignatureHelpTriggerKind.ContentChange})},t.prototype.onEditorConfigurationChange=function(){this.enabled=this.editor.getConfiguration().contribInfo.parameterHints.enabled,this.enabled||this.cancel()},t.prototype.dispose=function(){this.cancel(!0),e.prototype.dispose.call(this)},t.DEFAULT_DELAY=120,t}(h.Disposable);t.ParameterHintsModel=l});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHintsWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHintsWidget",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),i=this&&this.__decorate||function(e,t,o,i){var s,n=arguments.length,r=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(3>n?s(r):n>3?s(t,o,r):s(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r},s=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},n=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),r=e("node_modules/monaco-editor/esm/vs/base/browser/event"),a=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria")),d=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),l=e("node_modules/monaco-editor/esm/vs/base/common/event"),m=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),p=e("node_modules/monaco-editor/esm/vs/editor/common/services/modeService"),c=e("node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/provideSignatureHelp"),u=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),b=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),g=e("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),v=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),f=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),y=e("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHintsModel"),C=n.$,x=function(){function e(e,t,o,i){var s=this;this.editor=e,this.allowEditorOverflow=!0,this.markdownRenderer=new c.MarkdownRenderer(e,i,o),this.model=new y.ParameterHintsModel(e),this.keyVisible=h.Context.Visible.bindTo(t),this.keyMultipleSignatures=h.Context.MultipleSignatures.bindTo(t),this.visible=!1,this.disposables=[],this.disposables.push(this.model.onChangedHints(function(e){e?(s.show(),s.render(e)):s.hide()}))}return e.prototype.createParamaterHintDOMNodes=function(){var e=this;this.element=C(".editor-widget.parameter-hints-widget");var t=n.append(this.element,C(".wrapper"));t.tabIndex=-1;var o=n.append(t,C(".buttons")),i=n.append(o,C(".button.previous")),s=n.append(o,C(".button.next")),a=r.stop(r.domEvent(i,"click"));a(this.previous,this,this.disposables);var m=r.stop(r.domEvent(s,"click"));m(this.next,this,this.disposables),this.overloads=n.append(t,C(".overloads"));var p=C(".body");this.scrollbar=new d.DomScrollableElement(p,{}),this.disposables.push(this.scrollbar),t.appendChild(this.scrollbar.getDomNode()),this.signature=n.append(p,C(".signature")),this.docs=n.append(p,C(".docs")),this.editor.addContentWidget(this),this.hide(),this.element.style.userSelect="text",this.disposables.push(this.editor.onDidChangeCursorSelection(function(){e.visible&&e.editor.layoutContentWidget(e)}));var c=function(){var t=e.editor.getConfiguration().fontInfo;e.element.style.fontSize=t.fontSize+"px"};c(),l.Event.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(function(e){return e.fontInfo}).on(c,null,this.disposables),this.disposables.push(this.editor.onDidLayoutChange(function(){return e.updateMaxHeight()})),this.updateMaxHeight()},e.prototype.show=function(){var e=this;this.model&&!this.visible&&(this.element||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(function(){return n.addClass(e.element,"visible")},100),this.editor.layoutContentWidget(this))},e.prototype.hide=function(){this.model&&this.visible&&(this.element||this.createParamaterHintDOMNodes(),this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,n.removeClass(this.element,"visible"),this.editor.layoutContentWidget(this))},e.prototype.getPosition=function(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null},e.prototype.render=function(e){var t=e.signatures.length>1;n.toggleClass(this.element,"multiple",t),this.keyMultipleSignatures.set(t),this.signature.innerHTML="",this.docs.innerHTML="";var o=e.signatures[e.activeSignature];if(o){var i=n.append(this.signature,C(".code")),s=o.parameters.length>0,r=this.editor.getConfiguration().fontInfo;if(i.style.fontSize=r.fontSize+"px",i.style.fontFamily=r.fontFamily,s)this.renderParameters(i,o,e.activeParameter);else{var d=n.append(i,C("span"));d.textContent=o.label}m.dispose(this.renderDisposeables),this.renderDisposeables=[];var l=o.parameters[e.activeParameter];if(l&&l.documentation){var p=C("span.documentation");if("string"==typeof l.documentation)p.textContent=l.documentation;else{var c=this.markdownRenderer.render(l.documentation);n.addClass(c.element,"markdown-docs"),this.renderDisposeables.push(c),p.appendChild(c.element)}n.append(this.docs,C("p",{},p))}if(n.toggleClass(this.signature,"has-docs",!!o.documentation),void 0===o.documentation);else if("string"==typeof o.documentation)n.append(this.docs,C("p",{},o.documentation));else{var c=this.markdownRenderer.render(o.documentation);n.addClass(c.element,"markdown-docs"),this.renderDisposeables.push(c),n.append(this.docs,c.element)}var h=String(e.activeSignature+1);if(e.signatures.length<10&&(h+="/"+e.signatures.length),this.overloads.textContent=h,l){var b=this.getParameterLabel(o,e.activeParameter);this.announcedLabel!==b&&(a.alert(u.localize("hint","{0}, hint",b)),this.announcedLabel=b)}this.editor.layoutContentWidget(this),this.scrollbar.scanDomNode()}},e.prototype.renderParameters=function(e,t,o){var i=this.getParameterLabelOffsets(t,o),s=i[0],r=i[1],a=document.createElement("span");a.textContent=t.label.substring(0,s);var d=document.createElement("span");d.textContent=t.label.substring(s,r),d.className="parameter active";var l=document.createElement("span");l.textContent=t.label.substring(r),n.append(e,a,d,l)},e.prototype.getParameterLabel=function(e,t){var o=e.parameters[t];return"string"==typeof o.label?o.label:e.label.substring(o.label[0],o.label[1])},e.prototype.getParameterLabelOffsets=function(e,t){var o=e.parameters[t];if(o){if(Array.isArray(o.label))return o.label;var i=e.label.lastIndexOf(o.label);return i>=0?[i,i+o.label.length]:[0,0]}return[0,0]},e.prototype.next=function(){this.model&&(this.editor.focus(),this.model.next())},e.prototype.previous=function(){this.model&&(this.editor.focus(),this.model.previous())},e.prototype.cancel=function(){this.model&&this.model.cancel()},e.prototype.getDomNode=function(){return this.element},e.prototype.getId=function(){return e.ID},e.prototype.trigger=function(e){this.model&&this.model.trigger(e,0)},e.prototype.updateMaxHeight=function(){var e=Math.max(this.editor.getLayoutInfo().height/4,250);this.element.style.maxHeight=e+"px"},e.prototype.dispose=function(){this.disposables=m.dispose(this.disposables),this.renderDisposeables=m.dispose(this.renderDisposeables),this.model&&(this.model.dispose(),this.model=null)},e.ID="editor.widget.parameterHintsWidget",e=i([s(1,b.IContextKeyService),s(2,g.IOpenerService),s(3,p.IModeService)],e)}();t.ParameterHintsWidget=x,f.registerThemingParticipant(function(e,t){var o=e.getColor(v.editorHoverBorder);if(o){var i=e.type===f.HIGH_CONTRAST?2:1;t.addRule(".monaco-editor .parameter-hints-widget { border: "+i+"px solid "+o+"; }"),t.addRule(".monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid "+o.transparent(.5)+"; }"),t.addRule(".monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid "+o.transparent(.5)+"; }")}var s=e.getColor(v.editorHoverBackground);s&&t.addRule(".monaco-editor .parameter-hints-widget { background-color: "+s+"; }");var n=e.getColor(v.textLinkForeground);n&&t.addRule(".monaco-editor .parameter-hints-widget a { color: "+n+"; }");var r=e.getColor(v.textCodeBlockBackground);r&&t.addRule(".monaco-editor .parameter-hints-widget code { background-color: "+r+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=t("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function r(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),n=this&&this.__decorate||function(t,e,o,r){var n,i=arguments.length,s=3>i?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(3>i?n(s):i>3?n(e,o,s):n(e,o))||s);return i>3&&s&&Object.defineProperty(e,o,s),s},i=this&&this.__param||function(t,e){return function(o,r){e(o,r,t)}},s=o.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),a=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=t("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),c=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),m=t("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),u=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),p=t("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHintsWidget"),l=t("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/provideSignatureHelp"),g=o.__importStar(t("node_modules/monaco-editor/esm/vs/editor/common/modes")),f=function(){function t(t,e){this.editor=t,this.widget=e.createInstance(p.ParameterHintsWidget,this.editor)}return t.get=function(e){return e.getContribution(t.ID)},t.prototype.getId=function(){return t.ID},t.prototype.cancel=function(){this.widget.cancel()},t.prototype.previous=function(){this.widget.previous()},t.prototype.next=function(){this.widget.next()},t.prototype.trigger=function(t){this.widget.trigger(t)},t.prototype.dispose=function(){a.dispose(this.widget)},t.ID="editor.controller.parameterHints",t=n([i(1,d.IInstantiationService)],t)}(),y=function(t){function e(){return t.call(this,{id:"editor.action.triggerParameterHints",label:s.localize("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:c.EditorContextKeys.hasSignatureHelpProvider,kbOpts:{kbExpr:c.EditorContextKeys.editorTextFocus,primary:3082,weight:100}})||this}return r(e,t),e.prototype.run=function(t,e){var o=f.get(e);o&&o.trigger({triggerKind:g.SignatureHelpTriggerKind.Invoke})},e}(u.EditorAction);e.TriggerParameterHintsAction=y,u.registerEditorContribution(f),u.registerEditorAction(y);var _=175,b=u.EditorCommand.bindToContribution(f.get);u.registerEditorCommand(new b({id:"closeParameterHints",precondition:l.Context.Visible,handler:function(t){return t.cancel()},kbOpts:{weight:_,kbExpr:c.EditorContextKeys.focus,primary:9,secondary:[1033]}})),u.registerEditorCommand(new b({id:"showPrevParameterHint",precondition:m.ContextKeyExpr.and(l.Context.Visible,l.Context.MultipleSignatures),handler:function(t){return t.previous()},kbOpts:{weight:_,kbExpr:c.EditorContextKeys.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),u.registerEditorCommand(new b({id:"showNextParameterHint",precondition:m.ContextKeyExpr.and(l.Context.Visible,l.Context.MultipleSignatures),handler:function(t){return t.next()},kbOpts:{weight:_,kbExpr:c.EditorContextKeys.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referenceSearch.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referenceSearch",function(e,o){"use strict";function r(e){t(e,function(e){return e.closeWidget()})}function n(e){var o=e.get(_.IListService),r=o.lastFocusedList&&o.lastFocusedList.getFocus();r instanceof R.OneReference&&t(e,function(e){return e.openReference(r,!0)})}function t(e,o){var r=v.getOuterEditor(e);if(r){var n=y.ReferencesController.get(r);n&&o(n)}}function i(e,o,r){var n=h.ReferenceProviderRegistry.ordered(e).map(function(n){return Promise.resolve(n.provideReferences(e,o,{includeDeclaration:!0},r)).then(function(e){return Array.isArray(e)?e:void 0},function(e){C.onUnexpectedExternalError(e)})});return Promise.all(n).then(function(e){for(var o=[],r=0,n=e;r<n.length;r++){var t=n[r];t&&o.push.apply(o,t)}return o})}Object.defineProperty(o,"__esModule",{value:!0});var d=e("node_modules/tslib/tslib"),c=this&&this.__extends||function(){var e=function(o,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r])})(o,r)};return function(o,r){function n(){this.constructor=o}e(o,r),o.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=this&&this.__decorate||function(e,o,r,n){var t,i=arguments.length,d=3>i?o:null===n?n=Object.getOwnPropertyDescriptor(o,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,o,r,n);else for(var c=e.length-1;c>=0;c--)(t=e[c])&&(d=(3>i?t(d):i>3?t(o,r,d):t(o,r))||d);return i>3&&d&&Object.defineProperty(o,r,d),d},a=this&&this.__param||function(e,o){return function(r,n){o(r,n,e)}},m=d.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),l=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),u=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry"),f=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),g=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),h=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),v=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/peekViewWidget"),y=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesController"),R=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesModel"),b=e("node_modules/monaco-editor/esm/vs/base/common/async"),C=e("node_modules/monaco-editor/esm/vs/base/common/errors"),w=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),E=e("node_modules/monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget"),x=e("node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser"),_=e("node_modules/monaco-editor/esm/vs/platform/list/browser/listService"),P=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesWidget"),S=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),K=e("node_modules/monaco-editor/esm/vs/base/common/uri"),k=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),O=e("node_modules/monaco-editor/esm/vs/base/common/cancellation");o.defaultReferenceSearchOptions={getMetaTitle:function(e){return e.references.length>1?m.localize("meta.titleReference"," {0} references",e.references.length):""}};var A=function(){function e(e,o){e instanceof E.EmbeddedCodeEditorWidget&&v.PeekContext.inPeekEditor.bindTo(o)}return e.prototype.dispose=function(){},e.prototype.getId=function(){return e.ID},e.ID="editor.contrib.referenceController",e=s([a(1,l.IContextKeyService)],e)}();o.ReferenceController=A;var T=function(e){function r(){return e.call(this,{id:"editor.action.referenceSearch.trigger",label:m.localize("references.action.label","Peek References"),alias:"Find All References",precondition:l.ContextKeyExpr.and(w.EditorContextKeys.hasReferenceProvider,v.PeekContext.notInPeekEditor,w.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:w.EditorContextKeys.editorTextFocus,primary:1094,weight:100},menuOpts:{group:"navigation",order:1.5}})||this}return c(r,e),r.prototype.run=function(e,r){var n=y.ReferencesController.get(r);if(n&&r.hasModel()){var t=r.getSelection(),d=r.getModel(),c=b.createCancelablePromise(function(e){return i(d,t.getStartPosition(),e).then(function(e){return new R.ReferencesModel(e)})});n.toggleWidget(t,c,o.defaultReferenceSearchOptions)}},r}(g.EditorAction);o.ReferenceAction=T,g.registerEditorContribution(A),g.registerEditorAction(T);var I=function(e,r,n){if(!(r instanceof K.URI))throw new Error("illegal argument, uri");if(!n)throw new Error("illegal argument, position");var t=e.get(k.ICodeEditorService);return t.openCodeEditor({resource:r},t.getFocusedCodeEditor()).then(function(e){if(!x.isCodeEditor(e)||!e.hasModel())return void 0;var r=y.ReferencesController.get(e);if(!r)return void 0;var t=b.createCancelablePromise(function(o){return i(e.getModel(),f.Position.lift(n),o).then(function(e){return new R.ReferencesModel(e)})}),d=new p.Range(n.lineNumber,n.column,n.lineNumber,n.column);return Promise.resolve(r.toggleWidget(d,t,o.defaultReferenceSearchOptions))})},N=function(e,r,n,t){if(!(r instanceof K.URI))throw new Error("illegal argument, uri expected");if(!t)throw new Error("missing references");var i=e.get(k.ICodeEditorService);return i.openCodeEditor({resource:r},i.getFocusedCodeEditor()).then(function(e){if(!x.isCodeEditor(e))return void 0;var r=y.ReferencesController.get(e);return r?r.toggleWidget(new p.Range(n.lineNumber,n.column,n.lineNumber,n.column),b.createCancelablePromise(function(){return Promise.resolve(new R.ReferencesModel(t))}),o.defaultReferenceSearchOptions):void 0})};S.CommandsRegistry.registerCommand({id:"editor.action.findReferences",handler:I}),S.CommandsRegistry.registerCommand({id:"editor.action.showReferences",handler:N,description:{description:"Show references at a position in a file",args:[{name:"uri",description:"The text document in which to show references",constraint:K.URI},{name:"position",description:"The position at which to show",constraint:f.Position.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array}]}}),u.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToNextReference",weight:250,primary:62,when:y.ctxReferenceSearchVisible,handler:function(e){t(e,function(e){e.goToNextOrPreviousReference(!0)})}}),u.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToNextReferenceFromEmbeddedEditor",weight:150,primary:62,when:v.PeekContext.inPeekEditor,handler:function(e){t(e,function(e){e.goToNextOrPreviousReference(!0)})}}),u.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:250,primary:1086,when:y.ctxReferenceSearchVisible,handler:function(e){t(e,function(e){e.goToNextOrPreviousReference(!1)})}}),u.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"goToPreviousReferenceFromEmbeddedEditor",weight:150,primary:1086,when:v.PeekContext.inPeekEditor,handler:function(e){t(e,function(e){e.goToNextOrPreviousReference(!1)})}}),u.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:l.ContextKeyExpr.and(y.ctxReferenceSearchVisible,l.ContextKeyExpr.not("config.editor.stablePeek")),handler:r}),u.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"closeReferenceSearchEditor",weight:-1,primary:9,secondary:[1033],when:l.ContextKeyExpr.and(v.PeekContext.inPeekEditor,l.ContextKeyExpr.not("config.editor.stablePeek")),handler:r}),u.KeybindingsRegistry.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:l.ContextKeyExpr.and(y.ctxReferenceSearchVisible,P.ctxReferenceWidgetSearchTreeFocused),handler:n}),o.provideReferences=i,g.registerDefaultLanguageCommand("_executeReferenceProvider",function(e,o){return i(e,o,O.CancellationToken.None)})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/rename/renameInputField.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/rename/renameInputField",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),n=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),o=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),s=t("node_modules/monaco-editor/esm/vs/nls"),r=t("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),u=t("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry");e.CONTEXT_RENAME_INPUT_VISIBLE=new r.RawContextKey("renameInputVisible",!1);var l=function(){function t(t,i,n){var o=this;this.themeService=i,this._disposables=[],this.allowEditorOverflow=!0,this._currentAcceptInput=null,this._currentCancelInput=null,this._visibleContextKey=e.CONTEXT_RENAME_INPUT_VISIBLE.bindTo(n),this._editor=t,this._editor.addContentWidget(this),this._disposables.push(t.onDidChangeConfiguration(function(t){t.fontInfo&&o.updateFont()})),this._disposables.push(i.onThemeChange(function(t){return o.onThemeChange(t)}))}return t.prototype.onThemeChange=function(t){this.updateStyles(t)},t.prototype.dispose=function(){this._disposables=i.dispose(this._disposables),this._editor.removeContentWidget(this)},t.prototype.getId=function(){return"__renameInputWidget"},t.prototype.getDomNode=function(){return this._domNode||(this._inputField=document.createElement("input"),this._inputField.className="rename-input",this._inputField.type="text",this._inputField.setAttribute("aria-label",s.localize("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode=document.createElement("div"),this._domNode.style.height=this._editor.getConfiguration().lineHeight+"px",this._domNode.className="monaco-editor rename-box",this._domNode.appendChild(this._inputField),this.updateFont(),this.updateStyles(this.themeService.getTheme())),this._domNode},t.prototype.updateStyles=function(t){if(this._inputField){var e=t.getColor(u.inputBackground),i=t.getColor(u.inputForeground),n=t.getColor(u.widgetShadow),o=t.getColor(u.inputBorder);this._inputField.style.backgroundColor=e?e.toString():null,this._inputField.style.color=i?i.toString():null,this._inputField.style.borderWidth=o?"1px":"0px",this._inputField.style.borderStyle=o?"solid":"none",this._inputField.style.borderColor=o?o.toString():"none",this._domNode.style.boxShadow=n?" 0 2px 8px "+n:null}},t.prototype.updateFont=function(){if(this._inputField){var t=this._editor.getConfiguration().fontInfo;this._inputField.style.fontFamily=t.fontFamily,this._inputField.style.fontWeight=t.fontWeight,this._inputField.style.fontSize=t.fontSize+"px"}},t.prototype.getPosition=function(){return this._visible?{position:this._position,preference:[2,1]}:null},t.prototype.acceptInput=function(){this._currentAcceptInput&&this._currentAcceptInput()},t.prototype.cancelInput=function(t){this._currentCancelInput&&this._currentCancelInput(t)},t.prototype.getInput=function(t,e,s,r){var u=this;this._position=new n.Position(t.startLineNumber,t.startColumn),this._inputField.value=e,this._inputField.setAttribute("selectionStart",s.toString()),this._inputField.setAttribute("selectionEnd",r.toString()),this._inputField.size=Math.max(1.1*(t.endColumn-t.startColumn),20);var l=[],d=function(){i.dispose(l),u._hide()};return new Promise(function(i){u._currentCancelInput=function(t){return u._currentAcceptInput=null,u._currentCancelInput=null,i(t),!0},u._currentAcceptInput=function(){return 0===u._inputField.value.trim().length||u._inputField.value===e?void u.cancelInput(!0):(u._currentAcceptInput=null,u._currentCancelInput=null,void i(u._inputField.value))};var n=function(){var e=u._editor.getPosition();e&&o.Range.containsPosition(t,e)||u.cancelInput(!0)};l.push(u._editor.onDidChangeCursorSelection(n)),l.push(u._editor.onDidBlurEditorWidget(function(){return u.cancelInput(!1)})),u._show()}).then(function(t){return d(),t},function(t){return d(),Promise.reject(t)})},t.prototype._show=function(){var t=this;this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(function(){t._inputField.focus(),t._inputField.setSelectionRange(parseInt(t._inputField.getAttribute("selectionStart")),parseInt(t._inputField.getAttribute("selectionEnd")))},100)},t.prototype._hide=function(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)},t}();e.RenameInputField=l});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename",function(e,t){"use strict";function o(e,t,o){return a(this,void 0,void 0,function(){return c(this,function(){return[2,new k(e,t).provideRenameEdits(o,0,[],x.CancellationToken.None)]})})}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var r,i=arguments.length,s=3>i?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(3>i?r(s):i>3?r(t,o,s):r(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},s=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}},a=this&&this.__awaiter||function(e,t,o,n){return new(o||(o=Promise))(function(r,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):new o(function(t){t(e.value)}).then(s,a)}c((n=n.apply(e,t||[])).next())})},c=this&&this.__generator||function(e,t){function o(e){return function(t){return n([e,t])}}function n(o){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,i&&(s=2&o[0]?i["return"]:o[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,o[1])).done)return s;switch(i=0,s&&(o=[2&o[0],s.value]),o[0]){case 0:case 1:s=o;break;case 4:return c.label++,{value:o[1],done:!1};case 5:c.label++,i=o[1],o=[0];continue;case 7:o=c.ops.pop(),c.trys.pop();continue;default:if(s=c.trys,!(s=s.length>0&&s[s.length-1])&&(6===o[0]||2===o[0])){c=0;continue}if(3===o[0]&&(!s||o[1]>s[0]&&o[1]<s[3])){c.label=o[1];break}if(6===o[0]&&c.label<s[1]){c.label=s[1],s=o;break}if(s&&c.label<s[2]){c.label=s[2],c.ops.push(o);break}s[2]&&c.ops.pop(),c.trys.pop();continue}o=t.call(e,c)}catch(n){o=[6,n],i=0}finally{r=s=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var r,i,s,a,c={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:o(0),"throw":o(1),"return":o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},d=n.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),u=e("node_modules/monaco-editor/esm/vs/base/common/errors"),m=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),l=e("node_modules/monaco-editor/esm/vs/platform/progress/common/progress"),p=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),h=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),v=e("node_modules/monaco-editor/esm/vs/editor/contrib/rename/renameInputField"),f=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),_=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),g=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),y=e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria"),b=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),R=e("node_modules/monaco-editor/esm/vs/editor/contrib/message/messageController"),C=e("node_modules/monaco-editor/esm/vs/editor/browser/core/editorState"),w=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),E=e("node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService"),I=e("node_modules/monaco-editor/esm/vs/base/common/uri"),S=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),x=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),P=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),M=e("node_modules/monaco-editor/esm/vs/base/common/async"),k=function(){function e(e,t){this.model=e,this.position=t,this._providers=_.RenameProviderRegistry.ordered(e)}return e.prototype.hasProvider=function(){return this._providers.length>0},e.prototype.resolveRenameLocation=function(e){return a(this,void 0,void 0,function(){var t,o,n;return c(this,function(r){switch(r.label){case 0:return t=this._providers[0],t?t.resolveRenameLocation?[4,t.resolveRenameLocation(this.model,this.position,e)]:[3,2]:[2,void 0];case 1:o=r.sent(),r.label=2;case 2:return!o&&(n=this.model.getWordAtPosition(this.position))?[2,{range:new b.Range(this.position.lineNumber,n.startColumn,this.position.lineNumber,n.endColumn),text:n.word}]:[2,o]}})})},e.prototype.provideRenameEdits=function(e,t,o,n){return a(this,void 0,void 0,function(){var r,i;return c(this,function(s){switch(s.label){case 0:return r=this._providers[t],r?[4,r.provideRenameEdits(this.model,this.position,e,n)]:[2,{edits:[],rejectReason:o.join("\n")}];case 1:return i=s.sent(),i?i.rejectReason?[2,this.provideRenameEdits(e,t+1,o.concat(i.rejectReason),n)]:[2,i]:[2,this.provideRenameEdits(e,t+1,o.concat(d.localize("no result","No result.")),n)]}})})},e}();t.rename=o;var j=function(e){function t(t,o,n,r,i,s){var a=e.call(this)||this;return a.editor=t,a._notificationService=o,a._bulkEditService=n,a._progressService=r,a._contextKeyService=i,a._themeService=s,a._renameOperationIdPool=1,a._register(a.editor.onDidChangeModel(function(){return a.onModelChanged()})),a._register(a.editor.onDidChangeModelLanguage(function(){return a.onModelChanged()})),a._register(a.editor.onDidChangeCursorSelection(function(){return a.onModelChanged()})),a}return r(t,e),t.get=function(e){return e.getContribution(t.ID)},Object.defineProperty(t.prototype,"renameInputField",{get:function(){return this._renameInputField||(this._renameInputField=this._register(new v.RenameInputField(this.editor,this._themeService,this._contextKeyService))),this._renameInputField},enumerable:!0,configurable:!0}),t.prototype.getId=function(){return t.ID},t.prototype.run=function(){return a(this,void 0,void 0,function(){var e,t=this;return c(this,function(){return this._activeRename&&this._activeRename.operation.cancel(),e=this._renameOperationIdPool++,this._activeRename={id:e,operation:M.createCancelablePromise(function(o){return t.doRename(o,e)})},[2,this._activeRename.operation]})})},t.prototype.doRename=function(e,t){return a(this,void 0,void 0,function(){var o,n,r,i,s,a,u,m,l=this;return c(this,function(c){switch(c.label){case 0:if(!this.editor.hasModel())return[2,void 0];if(o=this.editor.getPosition(),n=new k(this.editor.getModel(),o),!n.hasProvider())return[2,void 0];c.label=1;case 1:return c.trys.push([1,3,,4]),i=n.resolveRenameLocation(e),this._progressService.showWhile(i,250),[4,i];case 2:return r=c.sent(),[3,4];case 3:return s=c.sent(),R.MessageController.get(this.editor).showMessage(s||d.localize("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),o),[2,void 0];case 4:return r?r.rejectReason?(R.MessageController.get(this.editor).showMessage(r.rejectReason,o),[2,void 0]):this._activeRename&&this._activeRename.id===t?(a=this.editor.getSelection(),u=0,m=r.text.length,b.Range.isEmpty(a)||b.Range.spansMultipleLines(a)||!b.Range.containsRange(r.range,a)||(u=Math.max(0,a.startColumn-r.range.startColumn),m=Math.min(r.range.endColumn,a.endColumn)-r.range.startColumn),[2,this.renameInputField.getInput(r.range,r.text,u,m).then(function(t){if("boolean"==typeof t)return void(t&&l.editor.focus());l.editor.focus();var o=new C.EditorState(l.editor,15),i=Promise.resolve(n.provideRenameEdits(t,0,[],e).then(function(e){return l.editor.hasModel()?e.rejectReason?void(o.validate(l.editor)?R.MessageController.get(l.editor).showMessage(e.rejectReason,l.editor.getPosition()):l._notificationService.info(e.rejectReason)):l._bulkEditService.apply(e,{editor:l.editor}).then(function(e){e.ariaSummary&&y.alert(d.localize("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",r.text,t,e.ariaSummary))}):void 0},function(e){return l._notificationService.error(d.localize("rename.failed","Rename failed to execute.")),Promise.reject(e)}));return l._progressService.showWhile(i,250),i})]):[2,void 0]:[2,void 0]}})})},t.prototype.acceptRenameInput=function(){this._renameInputField&&this._renameInputField.acceptInput()},t.prototype.cancelRenameInput=function(){this._renameInputField&&this._renameInputField.cancelInput(!0)},t.prototype.onModelChanged=function(){this._activeRename&&(this._activeRename.operation.cancel(),this._activeRename=void 0)},t.ID="editor.contrib.renameController",t=i([s(1,w.INotificationService),s(2,E.IBulkEditService),s(3,l.IProgressService),s(4,m.IContextKeyService),s(5,f.IThemeService)],t)}(P.Disposable),O=function(e){function t(){return e.call(this,{id:"editor.action.rename",label:d.localize("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:m.ContextKeyExpr.and(h.EditorContextKeys.writable,h.EditorContextKeys.hasRenameProvider),kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:60,weight:100},menuOpts:{group:"1_modification",order:1.1}})||this}return r(t,e),t.prototype.runCommand=function(t,o){var n=this,r=t.get(S.ICodeEditorService),i=Array.isArray(o)&&o||[void 0,void 0],s=i[0],a=i[1];return I.URI.isUri(s)&&g.Position.isIPosition(a)?r.openCodeEditor({resource:s},r.getActiveCodeEditor()).then(function(e){e&&(e.setPosition(a),e.invokeWithinContext(function(t){return n.reportTelemetry(t,e),n.run(t,e)}))},u.onUnexpectedError):e.prototype.runCommand.call(this,t,o)},t.prototype.run=function(e,t){var o=j.get(t);return o?o.run():Promise.resolve()},t}(p.EditorAction);t.RenameAction=O,p.registerEditorContribution(j),p.registerEditorAction(O);var F=p.EditorCommand.bindToContribution(j.get);p.registerEditorCommand(new F({id:"acceptRenameInput",precondition:v.CONTEXT_RENAME_INPUT_VISIBLE,handler:function(e){return e.acceptRenameInput()},kbOpts:{weight:199,kbExpr:h.EditorContextKeys.focus,primary:3}})),p.registerEditorCommand(new F({id:"cancelRenameInput",precondition:v.CONTEXT_RENAME_INPUT_VISIBLE,handler:function(e){return e.cancelRenameInput()},kbOpts:{weight:199,kbExpr:h.EditorContextKeys.focus,primary:9,secondary:[1033]}})),p.registerDefaultLanguageCommand("_executeDocumentRenameProvider",function(e,t,n){var r=n.newName;if("string"!=typeof r)throw u.illegalArgument("newName");return o(e,t,r)})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/wordSelections.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/wordSelections",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),r=e("node_modules/monaco-editor/esm/vs/base/common/strings"),o=function(){function e(){}return e.prototype.provideSelectionRanges=function(e,n){for(var t=[],r=0,o=n;r<o.length;r++){var i=o[r],a=[];t.push(a),this._addInWordRanges(a,e,i),this._addWordRanges(a,e,i),this._addWhitespaceLine(a,e,i),a.push({range:e.getFullModelRange(),kind:"statement.all"})}return t},e.prototype._addInWordRanges=function(e,n,o){var i=n.getWordAtPosition(o);if(i){for(var a=i.word,s=i.startColumn,d=o.column-s,u=d,m=d,l=0;u>=0;u--){var c=a.charCodeAt(u);if(95===c||45===c)break;if(r.isLowerAsciiLetter(c)&&r.isUpperAsciiLetter(l))break;l=c}for(u+=1;m<a.length;m++){var c=a.charCodeAt(m);if(r.isUpperAsciiLetter(c)&&r.isLowerAsciiLetter(l))break;if(95===c||45===c)break;l=c}m>u&&e.push({range:new t.Range(o.lineNumber,s+u,o.lineNumber,s+m),kind:"statement.word.part"})}},e.prototype._addWordRanges=function(e,n,r){var o=n.getWordAtPosition(r);o&&e.push({range:new t.Range(r.lineNumber,o.startColumn,r.lineNumber,o.endColumn),kind:"statement.word"})},e.prototype._addWhitespaceLine=function(e,n,r){n.getLineLength(r.lineNumber)>0&&0===n.getLineFirstNonWhitespaceColumn(r.lineNumber)&&0===n.getLineLastNonWhitespaceColumn(r.lineNumber)&&e.push({range:new t.Range(r.lineNumber,1,r.lineNumber,n.getLineMaxColumn(r.lineNumber)),kind:"statement.line"})},e}();n.WordSelectionRangeProvider=o});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/bracketSelections.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/bracketSelections",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r["throw"](e))}catch(t){o(t)}}function u(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){function n(e){return function(t){return r([e,t])}}function r(n){if(i)throw new TypeError("Generator is already executing.");for(;u;)try{if(i=1,o&&(a=2&n[0]?o["return"]:n[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;switch(o=0,a&&(n=[2&n[0],a.value]),n[0]){case 0:case 1:a=n;break;case 4:return u.label++,{value:n[1],done:!1};case 5:u.label++,o=n[1],n=[0];continue;case 7:n=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){u=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]<a[3])){u.label=n[1];break}if(6===n[0]&&u.label<a[1]){u.label=a[1],a=n;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(n);break}a[2]&&u.ops.pop(),u.trys.pop();continue}n=t.call(e,u)}catch(r){n=[6,r],o=0}finally{i=a=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var i,o,a,s,u={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:n(0),"throw":n(1),"return":n(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s},i=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),o=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),a=e("node_modules/monaco-editor/esm/vs/base/common/linkedList"),s=function(){function e(){}return e.prototype.provideSelectionRanges=function(t,i){return n(this,void 0,void 0,function(){var n,o,a,s,u;return r(this,function(c){switch(c.label){case 0:n=[],o=function(i){var o,a;return r(this,function(r){switch(r.label){case 0:return o=[],n.push(o),a=new Map,[4,new Promise(function(n){return e._bracketsRightYield(n,0,t,i,a)})];case 1:return r.sent(),[4,new Promise(function(n){return e._bracketsLeftYield(n,0,t,i,a,o)})];case 2:return r.sent(),[2]}})},a=0,s=i,c.label=1;case 1:return a<s.length?(u=s[a],[5,o(u)]):[3,4];case 2:c.sent(),c.label=3;case 3:return a++,[3,1];case 4:return[2,n]}})})},e._bracketsRightYield=function(t,n,r,i,o){for(var s=new Map,u=Date.now();;){if(n>=e._maxRounds){t();break}if(!i){t();break}var c=r.findNextBracket(i);if(!c){t();break}var l=Date.now()-u;if(l>e._maxDuration){setTimeout(function(){return e._bracketsRightYield(t,n+1,r,i,o)});break}var f=c.close;if(c.isOpen){var d=s.has(f)?s.get(f):0;s.set(f,d+1)}else{var d=s.has(f)?s.get(f):0;if(d-=1,s.set(f,Math.max(0,d)),0>d){var m=o.get(f);m||(m=new a.LinkedList,o.set(f,m)),m.push(c.range)}}i=c.range.getEndPosition()}},e._bracketsLeftYield=function(t,n,r,i,a,s){for(var u=new Map,c=Date.now();;){if(n>=e._maxRounds&&0===a.size){t();break}if(!i){t();break}var l=r.findPrevBracket(i);if(!l){t();break}var f=Date.now()-c;if(f>e._maxDuration){setTimeout(function(){return e._bracketsLeftYield(t,n+1,r,i,a,s)});break}var d=l.close;if(l.isOpen){var m=u.has(d)?u.get(d):0;if(m-=1,u.set(d,Math.max(0,m)),0>m){var g=a.get(d);if(g){var h=g.shift();0===g.size&&a.delete(d);var b=o.Range.fromPositions(l.range.getEndPosition(),h.getStartPosition()),v=o.Range.fromPositions(l.range.getStartPosition(),h.getEndPosition());s.push({range:b,kind:"statement.brackets"}),s.push({range:v,kind:"statement.brackets.full"}),e._addBracketLeading(r,v,s)}}}else{var m=u.has(d)?u.get(d):0;u.set(d,m+1)}i=l.range.getStartPosition()}},e._addBracketLeading=function(e,t,n){if(t.startLineNumber!==t.endLineNumber){var r=t.startLineNumber,a=e.getLineFirstNonWhitespaceColumn(r);0!==a&&a!==t.startColumn&&(n.push({range:o.Range.fromPositions(new i.Position(r,a),t.getEndPosition()),kind:"statement.brackets.leading"}),n.push({range:o.Range.fromPositions(new i.Position(r,1),t.getEndPosition()),kind:"statement.brackets.leading.full"}));var s=r-1;if(s>0){var u=e.getLineFirstNonWhitespaceColumn(s);u===t.startColumn&&u!==e.getLineLastNonWhitespaceColumn(s)&&(n.push({range:o.Range.fromPositions(new i.Position(s,u),t.getEndPosition()),kind:"statement.brackets.leading"}),n.push({range:o.Range.fromPositions(new i.Position(s,1),t.getEndPosition()),kind:"statement.brackets.leading.full"}))}}},e._maxDuration=30,e._maxRounds=2,e}();t.BracketSelectionRangeProvider=s});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/smartSelect.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/smartSelect",function(e,t){"use strict";function n(e,t,n){var o=g.SelectionRangeRegistry.all(e);1===o.length&&o.unshift(new v.BracketSelectionRangeProvider);for(var r=[],i=[],s=0,c=o;s<c.length;s++){var l=c[s];r.push(Promise.resolve(l.provideSelectionRanges(e,t,n)).then(function(e){if(a.isNonEmptyArray(e)&&e.length===t.length)for(var n=0;n<t.length;n++){i[n]||(i[n]=[]);for(var o=0,r=e[n];o<r.length;o++){var s=r[o];d.Range.isIRange(s.range)&&d.Range.containsPosition(s.range,t[n])&&i[n].push(d.Range.lift(s.range))}}},b.onUnexpectedExternalError))}return Promise.all(r).then(function(){return i.map(function(t){if(0===t.length)return[];t.sort(function(e,t){return u.Position.isBefore(e.getStartPosition(),t.getStartPosition())?1:u.Position.isBefore(t.getStartPosition(),e.getStartPosition())?-1:u.Position.isBefore(e.getEndPosition(),t.getEndPosition())?-1:u.Position.isBefore(t.getEndPosition(),e.getEndPosition())?1:0});for(var n,o=[],r=0,i=t;r<i.length;r++){var s=i[r];(!n||d.Range.containsRange(s,n)&&!d.Range.equalsRange(s,n))&&(o.push(s),n=s)}for(var a=[o[0]],c=1;c<o.length;c++){var l=o[c-1],m=o[c];if(m.startLineNumber!==l.startLineNumber||m.endLineNumber!==l.endLineNumber){var f=new d.Range(l.startLineNumber,e.getLineFirstNonWhitespaceColumn(l.startLineNumber),l.endLineNumber,e.getLineLastNonWhitespaceColumn(l.endLineNumber));f.containsRange(l)&&!f.equalsRange(l)&&a.push(f);var g=new d.Range(l.startLineNumber,1,l.endLineNumber,e.getLineMaxColumn(l.endLineNumber));g.containsRange(l)&&!g.equalsRange(f)&&a.push(g)}a.push(m)}return a})})}Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))(function(r,i){function s(e){try{c(o.next(e))}catch(t){i(t)}}function a(e){try{c(o["throw"](e))}catch(t){i(t)}}function c(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(s,a)}c((o=o.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){function n(e){return function(t){return o([e,t])}}function o(n){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,i&&(s=2&n[0]?i["return"]:n[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,n[1])).done)return s;switch(i=0,s&&(n=[2&n[0],s.value]),n[0]){case 0:case 1:s=n;break;case 4:return c.label++,{value:n[1],done:!1};case 5:c.label++,i=n[1],n=[0];continue;case 7:n=c.ops.pop(),c.trys.pop();continue;default:if(s=c.trys,!(s=s.length>0&&s[s.length-1])&&(6===n[0]||2===n[0])){c=0;continue}if(3===n[0]&&(!s||n[1]>s[0]&&n[1]<s[3])){c.label=n[1];break}if(6===n[0]&&c.label<s[1]){c.label=s[1],s=n;break}if(s&&c.label<s[2]){c.label=s[2],c.ops.push(n);break}s[2]&&c.ops.pop(),c.trys.pop();continue}n=t.call(e,c)}catch(o){n=[6,o],i=0}finally{r=s=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var r,i,s,a,c={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:n(0),"throw":n(1),"return":n(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a},a=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/arrays")),c=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),l=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),u=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),f=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),g=o.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),h=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),p=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/wordSelections"),v=e("node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/bracketSelections"),S=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),b=e("node_modules/monaco-editor/esm/vs/base/common/errors"),y=function(){function e(e,t){this.index=e,this.ranges=t}return e.prototype.mov=function(t){var n=this.index+(t?1:-1);if(0>n||n>=this.ranges.length)return this;var o=new e(n,this.ranges);return o.ranges[n].equalsRange(this.ranges[this.index])?o.mov(t):o},e}(),P=function(){function e(e){this._ignoreSelection=!1,this._editor=e}return e.get=function(t){return t.getContribution(e._id)},e.prototype.dispose=function(){p.dispose(this._selectionListener)},e.prototype.getId=function(){return e._id},e.prototype.run=function(e){var t=this;if(this._editor.hasModel()){var o=this._editor.getSelections(),r=this._editor.getModel();if(g.SelectionRangeRegistry.has(r)){var i=Promise.resolve(void 0);return this._state||(i=n(r,o.map(function(e){return e.getPosition()}),c.CancellationToken.None).then(function(e){if(a.isNonEmptyArray(e)&&e.length===o.length&&t._editor.hasModel()&&a.equals(t._editor.getSelections(),o,function(e,t){return e.equalsSelection(t)})){for(var n=function(t){e[t]=e[t].filter(function(e){return e.containsPosition(o[t].getStartPosition())&&e.containsPosition(o[t].getEndPosition())}),e[t].unshift(o[t])},r=0;r<e.length;r++)n(r);t._state=e.map(function(e){return new y(0,e)}),p.dispose(t._selectionListener),t._selectionListener=t._editor.onDidChangeCursorPosition(function(){t._ignoreSelection||(p.dispose(t._selectionListener),t._state=void 0)})}})),i.then(function(){if(t._state){t._state=t._state.map(function(t){return t.mov(e)});var n=t._state.map(function(e){return m.Selection.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition())});t._ignoreSelection=!0;try{t._editor.setSelections(n)}finally{t._ignoreSelection=!1}}})}}},e._id="editor.contrib.smartSelectController",e}(),x=function(e){function t(t,n){var o=e.call(this,n)||this;return o._forward=t,o}return r(t,e),t.prototype.run=function(e,t){return i(this,void 0,void 0,function(){var e;return s(this,function(n){switch(n.label){case 0:return e=P.get(t),e?[4,e.run(this._forward)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},t}(l.EditorAction),w=function(e){function t(){return e.call(this,!0,{id:"editor.action.smartSelect.expand",label:h.localize("smartSelect.expand","Expand Selection"),alias:"Expand Selection",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:1553,mac:{primary:3345},weight:100},menubarOpts:{menuId:22,group:"1_basic",title:h.localize({key:"miSmartSelectGrow",comment:["&& denotes a mnemonic"]},"&&Expand Selection"),order:2}})||this}return r(t,e),t}(x);S.CommandsRegistry.registerCommandAlias("editor.action.smartSelect.grow","editor.action.smartSelect.expand");var R=function(e){function t(){return e.call(this,!1,{id:"editor.action.smartSelect.shrink",label:h.localize("smartSelect.shrink","Shrink Selection"),alias:"Shrink Selection",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.editorTextFocus,primary:1551,mac:{primary:3343},weight:100},menubarOpts:{menuId:22,group:"1_basic",title:h.localize({key:"miSmartSelectShrink",comment:["&& denotes a mnemonic"]},"&&Shrink Selection"),order:3}})||this}return r(t,e),t}(x);l.registerEditorContribution(P),l.registerEditorAction(w),l.registerEditorAction(R),g.SelectionRangeRegistry.register("*",new _.WordSelectionRangeProvider),t.provideSelectionRanges=n,l.registerDefaultLanguageCommand("_executeSelectionRangeProvider",function(e,t,o){return n(e,o.positions,c.CancellationToken.None)})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest",function(e,o){"use strict";function t(){return b}function n(e,o,t,n,i){void 0===t&&(t=x.default),void 0===n&&(n={triggerKind:0}),void 0===i&&(i=v.CancellationToken.None);var r=[],s=e.getWordUntilPosition(o),u=new h.Range(o.lineNumber,s.startColumn,o.lineNumber,s.endColumn);o=o.clone();var c=p.CompletionProviderRegistry.orderedGroups(e);!t.kindFilter.has(25)&&b&&c.unshift([b]);var a=!1,g=c.map(function(s){return function(){return Promise.all(s.map(function(s){return t.providerFilter.size>0&&!t.providerFilter.has(s)?void 0:Promise.resolve(s.provideCompletionItems(e,o,n,i)).then(function(n){var i=r.length;if(n)for(var l=0,c=n.suggestions||[];l<c.length;l++){var m=c[l];t.kindFilter.has(m.kind)||(m.range||(m.range=u),r.push(new C(o,m,n,s,e)))}i!==r.length&&s!==b&&(a=!0)},d.onUnexpectedExternalError)}))}}),f=m.first(g,function(){return a||i.isCancellationRequested}).then(function(){return i.isCancellationRequested?Promise.reject(d.canceled()):r.sort(l(t.snippetSortOrder))});return f}function i(e,o){if(e.sortTextLow&&o.sortTextLow){if(e.sortTextLow<o.sortTextLow)return-1;if(e.sortTextLow>o.sortTextLow)return 1}return e.completion.label<o.completion.label?-1:e.completion.label>o.completion.label?1:e.completion.kind-o.completion.kind}function r(e,o){if(e.completion.kind!==o.completion.kind){if(25===e.completion.kind)return-1;if(25===o.completion.kind)return 1}return i(e,o)}function s(e,o){if(e.completion.kind!==o.completion.kind){if(25===e.completion.kind)return 1;if(25===o.completion.kind)return-1}return i(e,o)}function l(e){return S.get(e)}function u(e,o){setTimeout(function(){var t;(t=k.onlyOnceSuggestions).push.apply(t,o),e.getContribution("editor.contrib.suggestController").triggerSuggest((new Set).add(k))},0)}Object.defineProperty(o,"__esModule",{value:!0});var c=e("node_modules/tslib/tslib"),m=e("node_modules/monaco-editor/esm/vs/base/common/async"),a=e("node_modules/monaco-editor/esm/vs/base/common/objects"),d=e("node_modules/monaco-editor/esm/vs/base/common/errors"),g=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),p=c.__importStar(e("node_modules/monaco-editor/esm/vs/editor/common/modes")),f=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),v=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),h=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),w=e("node_modules/monaco-editor/esm/vs/base/common/filters");o.Context={Visible:new f.RawContextKey("suggestWidgetVisible",!1),MultipleSuggestions:new f.RawContextKey("suggestWidgetMultipleSuggestions",!1),MakesTextEdit:new f.RawContextKey("suggestionMakesTextEdit",!0),AcceptSuggestionsOnEnter:new f.RawContextKey("acceptSuggestionOnEnter",!0)};var C=function(){function e(e,o,t,n,i){this.position=e,this.completion=o,this.container=t,this.provider=n,this.score=w.FuzzyScore.Default,this.distance=0,this.labelLow=o.label.toLowerCase(),this.sortTextLow=o.sortText&&o.sortText.toLowerCase(),this.filterTextLow=o.filterText&&o.filterText.toLowerCase();var r=n.resolveCompletionItem;if("function"!=typeof r)this.resolve=function(){return Promise.resolve()};else{var s;this.resolve=function(t){if(!s){var l=!1;s=Promise.resolve(r.call(n,i,e,o,t)).then(function(e){a.assign(o,e),l=!0},function(e){d.isPromiseCanceledError(e)&&(s=void 0)}),t.onCancellationRequested(function(){l||(s=void 0)})}return s}}}return e}();o.CompletionItem=C;var x=function(){function e(e,o,t){void 0===e&&(e=2),void 0===o&&(o=new Set),void 0===t&&(t=new Set),this.snippetSortOrder=e,this.kindFilter=o,this.providerFilter=t}return e.default=new e,e}();o.CompletionOptions=x;var b;o.getSnippetSuggestSupport=t,o.provideSuggestionItems=n;var S=new Map;S.set(0,r),S.set(2,s),S.set(1,i),o.getSuggestionComparator=l,g.registerDefaultLanguageCommand("_executeCompletionItemProvider",function(e,o,t){var i={incomplete:!1,suggestions:[]},r=[],s=t.maxItemsToResolve||0;return n(e,o).then(function(e){for(var o=0,t=e;o<t.length;o++){var n=t[o];r.length<s&&r.push(n.resolve(v.CancellationToken.None)),i.incomplete=i.incomplete||n.container.incomplete,i.suggestions.push(n.completion)}}).then(function(){return Promise.all(r)}).then(function(){return i})});var k=new(function(){function e(){this.onlyOnceSuggestions=[]}return e.prototype.provideCompletionItems=function(){var e=this.onlyOnceSuggestions.slice(0),o={suggestions:e};return this.onlyOnceSuggestions.length=0,o},e}());p.CompletionProviderRegistry.register("*",k),o.showSimpleSuggestions=u});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser",function(t,e){"use strict";function n(t,e){for(var n=t.slice();n.length>0;){var r=n.shift(),i=e(r);if(!i)break;n.unshift.apply(n,r.children)}}Object.defineProperty(e,"__esModule",{value:!0});var r,i=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(){function t(){this.text("")}return t.isDigitCharacter=function(t){return t>=48&&57>=t},t.isVariableCharacter=function(t){return 95===t||t>=97&&122>=t||t>=65&&90>=t},t.prototype.text=function(t){this.value=t,this.pos=0},t.prototype.tokenText=function(t){return this.value.substr(t.pos,t.len)},t.prototype.next=function(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};var e,n=this.pos,r=0,i=this.value.charCodeAt(n);if(e=t._table[i],"number"==typeof e)return this.pos+=1,{type:e,pos:n,len:1};if(t.isDigitCharacter(i)){e=8;do r+=1,i=this.value.charCodeAt(n+r);while(t.isDigitCharacter(i));return this.pos+=r,{type:e,pos:n,len:r}}if(t.isVariableCharacter(i)){e=9;do i=this.value.charCodeAt(n+ ++r);while(t.isVariableCharacter(i)||t.isDigitCharacter(i));return this.pos+=r,{type:e,pos:n,len:r}}e=10;do r+=1,i=this.value.charCodeAt(n+r);while(!isNaN(i)&&"undefined"==typeof t._table[i]&&!t.isDigitCharacter(i)&&!t.isVariableCharacter(i));return this.pos+=r,{type:e,pos:n,len:r}},t._table=(r={},r[36]=0,r[58]=1,r[44]=2,r[123]=3,r[125]=4,r[92]=5,r[47]=6,r[124]=7,r[43]=11,r[45]=12,r[63]=13,r),t}();e.Scanner=o;var a=function(){function t(){this._children=[]}return t.prototype.appendChild=function(t){return t instanceof s&&this._children[this._children.length-1]instanceof s?this._children[this._children.length-1].value+=t.value:(t.parent=this,this._children.push(t)),this},t.prototype.replace=function(t,e){var n=t.parent,r=n.children.indexOf(t),i=n.children.slice(0);i.splice.apply(i,[r,1].concat(e)),n._children=i,function o(t,e){for(var n=0,r=t;n<r.length;n++){var i=r[n];i.parent=e,o(i.children,i)}}(e,n)},Object.defineProperty(t.prototype,"children",{get:function(){return this._children},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"snippet",{get:function(){for(var t=this;;){if(!t)return void 0;if(t instanceof d)return t;t=t.parent}},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.children.reduce(function(t,e){return t+e.toString()},"")},t.prototype.len=function(){return 0},t}();e.Marker=a;var s=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n}return i(e,t),e.prototype.toString=function(){return this.value},e.prototype.len=function(){return this.value.length},e.prototype.clone=function(){return new e(this.value)},e}(a);e.Text=s;var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(a);e.TransformableMarker=p;var c=function(t){function e(e){var n=t.call(this)||this;return n.index=e,n}return i(e,t),e.compareByIndex=function(t,e){return t.index===e.index?0:t.isFinalTabstop?1:e.isFinalTabstop?-1:t.index<e.index?-1:t.index>e.index?1:0},Object.defineProperty(e.prototype,"isFinalTabstop",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"choice",{get:function(){return 1===this._children.length&&this._children[0]instanceof h?this._children[0]:void 0},enumerable:!0,configurable:!0}),e.prototype.clone=function(){var t=new e(this.index);return this.transform&&(t.transform=this.transform.clone()),t._children=this.children.map(function(t){return t.clone()}),t},e}(p);e.Placeholder=c;var h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=[],e}return i(e,t),e.prototype.appendChild=function(t){return t instanceof s&&(t.parent=this,this.options.push(t)),this},e.prototype.toString=function(){return this.options[0].value},e.prototype.len=function(){return this.options[0].len()},e.prototype.clone=function(){var t=new e;return this.options.forEach(t.appendChild,t),t},e}(a);e.Choice=h;var u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.resolve=function(t){var e=this,n=!1,r=t.replace(this.regexp,function(){return n=!0,e._replace(Array.prototype.slice.call(arguments,0,-2))});return!n&&this._children.some(function(t){return t instanceof l&&Boolean(t.elseValue)})&&(r=this._replace([])),r},e.prototype._replace=function(t){for(var e="",n=0,r=this._children;n<r.length;n++){var i=r[n];if(i instanceof l){var o=t[i.index]||"";o=i.resolve(o),e+=o}else e+=i.toString()}return e},e.prototype.toString=function(){return""},e.prototype.clone=function(){var t=new e;return t.regexp=new RegExp(this.regexp.source,""+(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),t._children=this.children.map(function(t){return t.clone()}),t},e}(a);e.Transform=u;var l=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.index=e,o.shorthandName=n,o.ifValue=r,o.elseValue=i,o}return i(e,t),e.prototype.resolve=function(t){return"upcase"===this.shorthandName?t?t.toLocaleUpperCase():"":"downcase"===this.shorthandName?t?t.toLocaleLowerCase():"":"capitalize"===this.shorthandName?t?t[0].toLocaleUpperCase()+t.substr(1):"":"pascalcase"===this.shorthandName?t?this._toPascalCase(t):"":Boolean(t)&&"string"==typeof this.ifValue?this.ifValue:Boolean(t)||"string"!=typeof this.elseValue?t||"":this.elseValue},e.prototype._toPascalCase=function(t){var e=t.match(/[a-z]+/gi);return e?e.map(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}).join(""):t},e.prototype.clone=function(){var t=new e(this.index,this.shorthandName,this.ifValue,this.elseValue);return t},e}(a);e.FormatString=l;var f=function(t){function e(e){var n=t.call(this)||this;return n.name=e,n}return i(e,t),e.prototype.resolve=function(t){var e=t.resolve(this);return this.transform&&(e=this.transform.resolve(e||"")),void 0!==e?(this._children=[new s(e)],!0):!1},e.prototype.clone=function(){var t=new e(this.name);return this.transform&&(t.transform=this.transform.clone()),t._children=this.children.map(function(t){return t.clone()}),t},e}(p);e.Variable=f;var d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),Object.defineProperty(e.prototype,"placeholderInfo",{get:function(){if(!this._placeholders){var t,e=[];this.walk(function(n){return n instanceof c&&(e.push(n),t=!t||t.index<n.index?n:t),!0}),this._placeholders={all:e,last:t}}return this._placeholders},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholders",{get:function(){var t=this.placeholderInfo.all;return t},enumerable:!0,configurable:!0}),e.prototype.offset=function(t){var e=0,n=!1;return this.walk(function(r){return r===t?(n=!0,!1):(e+=r.len(),!0)}),n?e:-1},e.prototype.fullLen=function(t){var e=0;return n([t],function(t){return e+=t.len(),!0}),e},e.prototype.enclosingPlaceholders=function(t){for(var e=[],n=t.parent;n;)n instanceof c&&e.push(n),n=n.parent;return e},e.prototype.resolveVariables=function(t){var e=this;return this.walk(function(n){return n instanceof f&&n.resolve(t)&&(e._placeholders=void 0),!0}),this},e.prototype.appendChild=function(e){return this._placeholders=void 0,t.prototype.appendChild.call(this,e)},e.prototype.replace=function(e,n){return this._placeholders=void 0,t.prototype.replace.call(this,e,n)},e.prototype.clone=function(){var t=new e;return this._children=this.children.map(function(t){return t.clone()}),t},e.prototype.walk=function(t){n(this.children,t)},e}(a);e.TextmateSnippet=d;var _=function(){function t(){this._scanner=new o}return t.escape=function(t){return t.replace(/\$|}|\\/g,"\\$&")},t.prototype.parse=function(t,e,n){this._scanner.text(t),this._token=this._scanner.next();for(var r=new d;this._parse(r););var i=new Map,o=[],a=0;r.walk(function(t){return t instanceof c&&(a+=1,t.isFinalTabstop?i.set(0,void 0):!i.has(t.index)&&t.children.length>0?i.set(t.index,t.children):o.push(t)),!0});for(var s=0,p=o;s<p.length;s++){var h=p[s],u=i.get(h.index);if(u){var l=new c(h.index);l.transform=h.transform;for(var f=0,_=u;f<_.length;f++){var v=_[f];l.appendChild(v.clone())}r.replace(h,[l])}}return n||(n=a>0&&e),!i.has(0)&&n&&r.appendChild(new c(0)),r},t.prototype._accept=function(t,e){if(void 0===t||this._token.type===t){var n=e?this._scanner.tokenText(this._token):!0;return this._token=this._scanner.next(),n}return!1},t.prototype._backTo=function(t){return this._scanner.pos=t.pos+t.len,this._token=t,!1},t.prototype._until=function(t){if(14===this._token.type)return!1;for(var e=this._token;this._token.type!==t;)if(this._token=this._scanner.next(),14===this._token.type)return!1;var n=this._scanner.value.substring(e.pos,this._token.pos);return this._token=this._scanner.next(),n},t.prototype._parse=function(t){return this._parseEscaped(t)||this._parseTabstopOrVariableName(t)||this._parseComplexPlaceholder(t)||this._parseComplexVariable(t)||this._parseAnything(t)},t.prototype._parseEscaped=function(t){var e;return(e=this._accept(5,!0))?(e=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||e,t.appendChild(new s(e)),!0):!1},t.prototype._parseTabstopOrVariableName=function(t){var e,n=this._token,r=this._accept(0)&&(e=this._accept(9,!0)||this._accept(8,!0));return r?(t.appendChild(/^\d+$/.test(e)?new c(Number(e)):new f(e)),!0):this._backTo(n)},t.prototype._parseComplexPlaceholder=function(t){var e,n=this._token,r=this._accept(0)&&this._accept(3)&&(e=this._accept(8,!0));if(!r)return this._backTo(n);var i=new c(Number(e));if(this._accept(1))for(;;){if(this._accept(4))return t.appendChild(i),!0;if(!this._parse(i))return t.appendChild(new s("${"+e+":")),i.children.forEach(t.appendChild,t),!0}else{if(!(i.index>0&&this._accept(7)))return this._accept(6)?this._parseTransform(i)?(t.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(t.appendChild(i),!0):this._backTo(n);for(var o=new h;;){if(this._parseChoiceElement(o)){if(this._accept(2))continue;if(this._accept(7)&&(i.appendChild(o),this._accept(4)))return t.appendChild(i),!0}return this._backTo(n),!1}}},t.prototype._parseChoiceElement=function(t){for(var e=this._token,n=[];;){if(2===this._token.type||7===this._token.type)break;var r=void 0;if(r=(r=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||r:this._accept(void 0,!0),!r)return this._backTo(e),!1;n.push(r)}return 0===n.length?(this._backTo(e),!1):(t.appendChild(new s(n.join(""))),!0)},t.prototype._parseComplexVariable=function(t){var e,n=this._token,r=this._accept(0)&&this._accept(3)&&(e=this._accept(9,!0));if(!r)return this._backTo(n);var i=new f(e);if(!this._accept(1))return this._accept(6)?this._parseTransform(i)?(t.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(t.appendChild(i),!0):this._backTo(n);for(;;){if(this._accept(4))return t.appendChild(i),!0;if(!this._parse(i))return t.appendChild(new s("${"+e+":")),i.children.forEach(t.appendChild,t),!0}},t.prototype._parseTransform=function(t){for(var e=new u,n="",r="";;){if(this._accept(6))break;var i=void 0;if(i=this._accept(5,!0))i=this._accept(6,!0)||i,n+=i;else{if(14===this._token.type)return!1;n+=this._accept(void 0,!0)}}for(;;){if(this._accept(6))break;var i=void 0;if(i=this._accept(5,!0))i=this._accept(5,!0)||this._accept(6,!0)||i,e.appendChild(new s(i));else if(!this._parseFormatString(e)&&!this._parseAnything(e))return!1}for(;;){if(this._accept(4))break;{if(14===this._token.type)return!1;r+=this._accept(void 0,!0)}}try{e.regexp=new RegExp(n,r)}catch(o){return!1}return t.transform=e,!0},t.prototype._parseFormatString=function(t){var e=this._token;if(!this._accept(0))return!1;var n=!1;this._accept(3)&&(n=!0);var r=this._accept(8,!0);if(!r)return this._backTo(e),!1;if(!n)return t.appendChild(new l(Number(r))),!0;if(this._accept(4))return t.appendChild(new l(Number(r))),!0;if(!this._accept(1))return this._backTo(e),!1;if(this._accept(6)){var i=this._accept(9,!0);return i&&this._accept(4)?(t.appendChild(new l(Number(r),i)),!0):(this._backTo(e),!1)}if(this._accept(11)){var o=this._until(4);if(o)return t.appendChild(new l(Number(r),void 0,o,void 0)),!0}else if(this._accept(12)){var a=this._until(4);if(a)return t.appendChild(new l(Number(r),void 0,void 0,a)),!0}else if(this._accept(13)){var o=this._until(1);if(o){var a=this._until(4);if(a)return t.appendChild(new l(Number(r),void 0,o,a)),!0}}else{var a=this._until(4);if(a)return t.appendChild(new l(Number(r),void 0,void 0,a)),!0}return this._backTo(e),!1},t.prototype._parseAnything=function(t){return 14!==this._token.type?(t.appendChild(new s(this._scanner.tokenText(this._token))),this._accept(void 0),!0):!1},t}();e.SnippetParser=_});
;/*!node_modules/monaco-editor/esm/vs/platform/workspaces/common/workspaces.js*/
define("node_modules/monaco-editor/esm/vs/platform/workspaces/common/workspaces",function(e,o){"use strict";function n(e){return e instanceof r.URI}function i(e){return e.configuration?{configPath:e.configuration,id:e.id}:1===e.folders.length?e.folders[0].uri:void 0}Object.defineProperty(o,"__esModule",{value:!0});var r=e("node_modules/monaco-editor/esm/vs/base/common/uri");o.WORKSPACE_EXTENSION="code-workspace",o.isSingleFolderWorkspaceIdentifier=n,o.toWorkspaceIdentifier=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetVariables.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetVariables",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),r=t.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),i=e("node_modules/monaco-editor/esm/vs/base/common/path"),n=e("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser"),a=e("node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry"),l=e("node_modules/monaco-editor/esm/vs/base/common/strings"),s=e("node_modules/monaco-editor/esm/vs/platform/workspaces/common/workspaces"),c=function(){function e(e){this._delegates=e}return e.prototype.resolve=function(e){for(var o=0,t=this._delegates;o<t.length;o++){var r=t[o],i=r.resolve(e);if(void 0!==i)return i}return void 0},e}();o.CompositeSnippetVariableResolver=c;var u=function(){function e(e,o){this._model=e,this._selection=o}return e.prototype.resolve=function(e){var o=e.name;if("SELECTION"===o||"TM_SELECTED_TEXT"===o){var t=this._model.getValueInRange(this._selection)||void 0;if(t&&this._selection.startLineNumber!==this._selection.endLineNumber&&e.snippet){var r=this._model.getLineContent(this._selection.startLineNumber),i=l.getLeadingWhitespace(r,0,this._selection.startColumn-1),a=i;e.snippet.walk(function(o){return o===e?!1:(o instanceof n.Text&&(a=l.getLeadingWhitespace(o.value.split(/\r\n|\r|\n/).pop())),!0)});var s=l.commonPrefixLength(a,i);t=t.replace(/(\r\n|\r|\n)(.*)/g,function(e,o,t){return""+o+a.substr(s)+t})}return t}if("TM_CURRENT_LINE"===o)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===o){var c=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return c&&c.word||void 0}return"TM_LINE_INDEX"===o?String(this._selection.positionLineNumber-1):"TM_LINE_NUMBER"===o?String(this._selection.positionLineNumber):void 0},e}();o.SelectionBasedVariableResolver=u;var d=function(){function e(e){this._model=e}return e.prototype.resolve=function(e){var o=e.name;if("TM_FILENAME"===o)return i.basename(this._model.uri.fsPath);if("TM_FILENAME_BASE"===o){var t=i.basename(this._model.uri.fsPath),r=t.lastIndexOf(".");return 0>=r?t:t.slice(0,r)}if("TM_DIRECTORY"===o){var n=i.dirname(this._model.uri.fsPath);return"."!==n?n:""}return"TM_FILEPATH"===o?this._model.uri.fsPath:void 0},e}();o.ModelBasedVariableResolver=d;var m=function(){function e(e,o,t){this._clipboardService=e,this._selectionIdx=o,this._selectionCount=t}return e.prototype.resolve=function(e){if("CLIPBOARD"!==e.name||!this._clipboardService)return void 0;var o=this._clipboardService.readText();if(!o)return void 0;var t=o.split(/\r\n|\n|\r/).filter(function(e){return!l.isFalsyOrWhitespace(e)});return t.length===this._selectionCount?t[this._selectionIdx]:o},e}();o.ClipboardBasedVariableResolver=m;var h=function(){function e(e){this._model=e}return e.prototype.resolve=function(e){var o=e.name,t=this._model.getLanguageIdentifier(),r=a.LanguageConfigurationRegistry.getComments(t.id);return r?"LINE_COMMENT"===o?r.lineCommentToken||void 0:"BLOCK_COMMENT_START"===o?r.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===o?r.blockCommentEndToken||void 0:void 0:void 0},e}();o.CommentBasedVariableResolver=h;var _=function(){function e(){}return e.prototype.resolve=function(o){var t=o.name;return"CURRENT_YEAR"===t?String((new Date).getFullYear()):"CURRENT_YEAR_SHORT"===t?String((new Date).getFullYear()).slice(-2):"CURRENT_MONTH"===t?l.pad((new Date).getMonth().valueOf()+1,2):"CURRENT_DATE"===t?l.pad((new Date).getDate().valueOf(),2):"CURRENT_HOUR"===t?l.pad((new Date).getHours().valueOf(),2):"CURRENT_MINUTE"===t?l.pad((new Date).getMinutes().valueOf(),2):"CURRENT_SECOND"===t?l.pad((new Date).getSeconds().valueOf(),2):"CURRENT_DAY_NAME"===t?e.dayNames[(new Date).getDay()]:"CURRENT_DAY_NAME_SHORT"===t?e.dayNamesShort[(new Date).getDay()]:"CURRENT_MONTH_NAME"===t?e.monthNames[(new Date).getMonth()]:"CURRENT_MONTH_NAME_SHORT"===t?e.monthNamesShort[(new Date).getMonth()]:void 0},e.dayNames=[r.localize("Sunday","Sunday"),r.localize("Monday","Monday"),r.localize("Tuesday","Tuesday"),r.localize("Wednesday","Wednesday"),r.localize("Thursday","Thursday"),r.localize("Friday","Friday"),r.localize("Saturday","Saturday")],e.dayNamesShort=[r.localize("SundayShort","Sun"),r.localize("MondayShort","Mon"),r.localize("TuesdayShort","Tue"),r.localize("WednesdayShort","Wed"),r.localize("ThursdayShort","Thu"),r.localize("FridayShort","Fri"),r.localize("SaturdayShort","Sat")],e.monthNames=[r.localize("January","January"),r.localize("February","February"),r.localize("March","March"),r.localize("April","April"),r.localize("May","May"),r.localize("June","June"),r.localize("July","July"),r.localize("August","August"),r.localize("September","September"),r.localize("October","October"),r.localize("November","November"),r.localize("December","December")],e.monthNamesShort=[r.localize("JanuaryShort","Jan"),r.localize("FebruaryShort","Feb"),r.localize("MarchShort","Mar"),r.localize("AprilShort","Apr"),r.localize("MayShort","May"),r.localize("JuneShort","Jun"),r.localize("JulyShort","Jul"),r.localize("AugustShort","Aug"),r.localize("SeptemberShort","Sep"),r.localize("OctoberShort","Oct"),r.localize("NovemberShort","Nov"),r.localize("DecemberShort","Dec")],e}();o.TimeBasedVariableResolver=_;var v=function(){function e(e){this._workspaceService=e}return e.prototype.resolve=function(e){if("WORKSPACE_NAME"!==e.name||!this._workspaceService)return void 0;var o=s.toWorkspaceIdentifier(this._workspaceService.getWorkspace());if(!o)return void 0;if(s.isSingleFolderWorkspaceIdentifier(o))return i.basename(o.path);var t=i.basename(o.configPath.path);return l.endsWith(t,s.WORKSPACE_EXTENSION)&&(t=t.substr(0,t.length-s.WORKSPACE_EXTENSION.length-1)),t},e}();o.WorkspaceBasedVariableResolver=v});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetSession.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetSession",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),i=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),n=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=e("node_modules/monaco-editor/esm/vs/base/common/strings"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),p=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),c=e("node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService"),d=e("node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace"),h=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),u=e("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser"),g=e("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetVariables"),m=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),_=o.__importStar(e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"));m.registerThemingParticipant(function(e,t){function o(t){var o=e.getColor(t);return o?o.toString():"transparent"}t.addRule(".monaco-editor .snippet-placeholder { background-color: "+o(_.snippetTabstopHighlightBackground)+"; outline-color: "+o(_.snippetTabstopHighlightBorder)+"; }"),t.addRule(".monaco-editor .finish-snippet-placeholder { background-color: "+o(_.snippetFinalTabstopHighlightBackground)+"; outline-color: "+o(_.snippetFinalTabstopHighlightBorder)+"; }")});var f=function(){function e(e,t,o){this._nestingLevel=1,this._editor=e,this._snippet=t,this._offset=o,this._placeholderGroups=i.groupBy(t.placeholders,u.Placeholder.compareByIndex),this._placeholderGroupsIdx=-1}return e.prototype.dispose=function(){if(this._placeholderDecorations){var e=[];this._placeholderDecorations.forEach(function(t){return e.push(t)}),this._editor.deltaDecorations(e,[])}this._placeholderGroups.length=0},e.prototype._initDecorations=function(){var t=this;if(!this._placeholderDecorations){this._placeholderDecorations=new Map;var o=this._editor.getModel();this._editor.changeDecorations(function(i){for(var n=0,r=t._snippet.placeholders;n<r.length;n++){var s=r[n],l=t._snippet.offset(s),p=t._snippet.fullLen(s),c=a.Range.fromPositions(o.getPositionAt(t._offset+l),o.getPositionAt(t._offset+l+p)),d=s.isFinalTabstop?e._decor.inactiveFinal:e._decor.inactive,h=i.addDecoration(c,d);t._placeholderDecorations.set(s,h)}})}},e.prototype.move=function(t){var o=this;if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){for(var i=[],n=0,r=this._placeholderGroups[this._placeholderGroupsIdx];n<r.length;n++){var a=r[n];if(a.transform){var p=this._placeholderDecorations.get(a),c=this._editor.getModel().getDecorationRange(p),d=this._editor.getModel().getValueInRange(c);i.push(s.EditOperation.replaceMove(c,a.transform.resolve(d)))}}i.length>0&&this._editor.executeEdits("snippet.placeholderTransform",i)}var h=!1;t===!0&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,h=!0):t===!1&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,h=!0);var u=this._editor.getModel().changeDecorations(function(t){for(var i=new Set,n=[],r=0,s=o._placeholderGroups[o._placeholderGroupsIdx];r<s.length;r++){var a=s[r],p=o._placeholderDecorations.get(a),c=o._editor.getModel().getDecorationRange(p);n.push(new l.Selection(c.startLineNumber,c.startColumn,c.endLineNumber,c.endColumn)),h=h&&c.isEmpty()&&a.toString().length>0,t.changeDecorationOptions(p,a.isFinalTabstop?e._decor.activeFinal:e._decor.active),i.add(a);for(var d=0,u=o._snippet.enclosingPlaceholders(a);d<u.length;d++){var g=u[d],m=o._placeholderDecorations.get(g);t.changeDecorationOptions(m,g.isFinalTabstop?e._decor.activeFinal:e._decor.active),i.add(g)}}return o._placeholderDecorations.forEach(function(o,n){i.has(n)||t.changeDecorationOptions(o,n.isFinalTabstop?e._decor.inactiveFinal:e._decor.inactive)}),n});return h?this.move(t):u},Object.defineProperty(e.prototype,"isAtFirstPlaceholder",{get:function(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAtLastPlaceholder",{get:function(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPlaceholder",{get:function(){return this._snippet.placeholders.length>0},enumerable:!0,configurable:!0}),e.prototype.computePossibleSelections=function(){for(var e=new Map,t=0,o=this._placeholderGroups;t<o.length;t++)for(var i=o[t],n=void 0,r=0,s=i;r<s.length;r++){var a=s[r];if(a.isFinalTabstop)break;n||(n=[],e.set(a.index,n));var l=this._placeholderDecorations.get(a),p=this._editor.getModel().getDecorationRange(l);if(!p){e.delete(a.index);break}n.push(p)}return e},Object.defineProperty(e.prototype,"choice",{get:function(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice},enumerable:!0,configurable:!0}),e.prototype.merge=function(t){var o=this,n=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations(function(r){for(var s=0,l=o._placeholderGroups[o._placeholderGroupsIdx];s<l.length;s++){var p=l[s],c=t.shift();console.assert(!c._placeholderDecorations);for(var d=c._snippet.placeholderInfo.last.index,h=0,g=c._snippet.placeholderInfo.all;h<g.length;h++){var m=g[h];m.index=m.isFinalTabstop?p.index+(d+1)/o._nestingLevel:p.index+m.index/o._nestingLevel}o._snippet.replace(p,c._snippet.children);var _=o._placeholderDecorations.get(p);r.removeDecoration(_),o._placeholderDecorations.delete(p);for(var f=0,v=c._snippet.placeholders;f<v.length;f++){var b=v[f],S=c._snippet.offset(b),P=c._snippet.fullLen(b),y=a.Range.fromPositions(n.getPositionAt(c._offset+S),n.getPositionAt(c._offset+S+P)),D=r.addDecoration(y,e._decor.inactive);o._placeholderDecorations.set(b,D)}}o._placeholderGroups=i.groupBy(o._snippet.placeholders,u.Placeholder.compareByIndex)})},e._decor={active:p.ModelDecorationOptions.register({stickiness:0,className:"snippet-placeholder"}),inactive:p.ModelDecorationOptions.register({stickiness:1,className:"snippet-placeholder"}),activeFinal:p.ModelDecorationOptions.register({stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:p.ModelDecorationOptions.register({stickiness:1,className:"finish-snippet-placeholder"})},e}();t.OneSnippet=f;var v=function(){function e(e,t,o,i,n){void 0===o&&(o=0),void 0===i&&(i=0),void 0===n&&(n=!0),this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._overwriteBefore=o,this._overwriteAfter=i,this._adjustWhitespace=n}return e.adjustWhitespace=function(e,t,o){var i=e.getLineContent(t.lineNumber),n=r.getLeadingWhitespace(i,0,t.column-1);o.walk(function(t){if(t instanceof u.Text&&!(t.parent instanceof u.Choice)){for(var o=t.value.split(/\r\n|\r|\n/),i=1;i<o.length;i++){var s=r.getLeadingWhitespace(o[i]);o[i]=e.normalizeIndentation(n+s)+o[i].substr(s.length)}var a=o.join(e.getEOL());a!==t.value&&t.parent.replace(t,[new u.Text(a)])}return!0})},e.adjustSelection=function(e,t,o,i){if(0!==o||0!==i){var n=t.positionLineNumber,r=t.positionColumn,s=r-o,a=r+i,p=e.validateRange({startLineNumber:n,startColumn:s,endLineNumber:n,endColumn:a});t=l.Selection.createWithDirection(p.startLineNumber,p.startColumn,p.endLineNumber,p.endColumn,t.getDirection())}return t},e.createEditsAndSnippets=function(t,o,i,n,r,l){var p=[],m=[];if(!t.hasModel())return{edits:p,snippets:m};for(var _=t.getModel(),v=new g.ModelBasedVariableResolver(_),b=t.invokeWithinContext(function(e){return e.get(c.IClipboardService,h.optional)}),S=t.invokeWithinContext(function(e){return e.get(d.IWorkspaceContextService,h.optional)}),P=0,y=_.getValueInRange(e.adjustSelection(_,t.getSelection(),i,0)),D=_.getValueInRange(e.adjustSelection(_,t.getSelection(),0,n)),R=_.getLineFirstNonWhitespaceColumn(t.getSelection().positionLineNumber),x=t.getSelections().map(function(e,t){return{selection:e,idx:t}}).sort(function(e,t){return a.Range.compareRangesUsingStarts(e.selection,t.selection)}),I=0,L=x;I<L.length;I++){var M=L[I],O=M.selection,w=M.idx,G=e.adjustSelection(_,O,i,0),C=e.adjustSelection(_,O,0,n);y!==_.getValueInRange(G)&&(G=O),D!==_.getValueInRange(C)&&(C=O);var j=O.setStartPosition(G.startLineNumber,G.startColumn).setEndPosition(C.endLineNumber,C.endColumn),F=(new u.SnippetParser).parse(o,!0,r),k=j.getStartPosition();(l||w>0&&R!==_.getLineFirstNonWhitespaceColumn(O.positionLineNumber))&&e.adjustWhitespace(_,k,F),F.resolveVariables(new g.CompositeSnippetVariableResolver([v,new g.ClipboardBasedVariableResolver(b,w,x.length),new g.SelectionBasedVariableResolver(_,O),new g.CommentBasedVariableResolver(_),new g.TimeBasedVariableResolver,new g.WorkspaceBasedVariableResolver(S)]));var E=_.getOffsetAt(k)+P;P+=F.toString().length-_.getValueLengthInRange(j),p[w]=s.EditOperation.replace(j,F.toString()),m[w]=new f(t,F,E)}return{edits:p,snippets:m}},e.prototype.dispose=function(){n.dispose(this._snippets)},e.prototype._logInfo=function(){return'template="'+this._template+'", merged_templates="'+this._templateMerges.join(" -> ")+'"'},e.prototype.insert=function(){var t=this;if(this._editor.hasModel()){var o=this._editor.getModel(),i=e.createEditsAndSnippets(this._editor,this._template,this._overwriteBefore,this._overwriteAfter,!1,this._adjustWhitespace),n=i.edits,r=i.snippets;this._snippets=r;var s=o.pushEditOperations(this._editor.getSelections(),n,function(e){return t._snippets[0].hasPlaceholder?t._move(!0):e.map(function(e){return l.Selection.fromPositions(e.range.getEndPosition())})});this._editor.setSelections(s),this._editor.revealRange(s[0])}},e.prototype.merge=function(t,o,i,n){var r=this;if(void 0===o&&(o=0),void 0===i&&(i=0),void 0===n&&(n=!0),this._editor.hasModel()){this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,t]);var s=e.createEditsAndSnippets(this._editor,t,o,i,!0,n),a=s.edits,p=s.snippets;this._editor.setSelections(this._editor.getModel().pushEditOperations(this._editor.getSelections(),a,function(e){for(var t=0,o=r._snippets;t<o.length;t++){var i=o[t];i.merge(p)}return console.assert(0===p.length),r._snippets[0].hasPlaceholder?r._move(void 0):e.map(function(e){return l.Selection.fromPositions(e.range.getEndPosition())})}))}},e.prototype.next=function(){var e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())},e.prototype.prev=function(){var e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())},e.prototype._move=function(e){for(var t=[],o=0,i=this._snippets;o<i.length;o++){var n=i[o],r=n.move(e);t.push.apply(t,r)}return t},Object.defineProperty(e.prototype,"isAtFirstPlaceholder",{get:function(){return this._snippets[0].isAtFirstPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAtLastPlaceholder",{get:function(){return this._snippets[0].isAtLastPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPlaceholder",{get:function(){return this._snippets[0].hasPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"choice",{get:function(){return this._snippets[0].choice},enumerable:!0,configurable:!0}),e.prototype.isSelectionWithinPlaceholders=function(){if(!this.hasPlaceholder)return!1;var e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;for(var t=new Map,o=function(o){var i=o.computePossibleSelections();return 0===t.size&&i.forEach(function(o,i){o.sort(a.Range.compareRangesUsingStarts);for(var n=0,r=e;n<r.length;n++){var s=r[n];if(o[0].containsRange(s)){t.set(i,[]);break}}}),0===t.size?{value:!1}:void t.forEach(function(e,t){e.push.apply(e,i.get(t))})},i=0,n=this._snippets;i<n.length;i++){var r=n[i],s=o(r);if("object"==typeof s)return s.value}return e.sort(a.Range.compareRangesUsingStarts),t.forEach(function(o,i){if(o.length!==e.length)return void t.delete(i);o.sort(a.Range.compareRangesUsingStarts);for(var n=0;n<o.length;n++)if(!o[n].containsRange(e[n]))return void t.delete(i)}),t.size>0},e}();t.SnippetSession=v});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__decorate||function(e,t,o,i){var s,n=arguments.length,r=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(s=e[d])&&(r=(3>n?s(r):n>3?s(t,o,r):s(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r},i=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},s=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),n=e("node_modules/monaco-editor/esm/vs/base/common/strings"),r=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),a=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest"),c=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),l=e("node_modules/monaco-editor/esm/vs/platform/log/common/log"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetSession"),u=function(){function e(t,o,i){this._editor=t,this._logService=o,this._snippetListener=[],this._inSnippet=e.InSnippetMode.bindTo(i),this._hasNextTabstop=e.HasNextTabstop.bindTo(i),this._hasPrevTabstop=e.HasPrevTabstop.bindTo(i)}return e.get=function(e){return e.getContribution("snippetController2")},e.prototype.dispose=function(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),s.dispose(this._session)},e.prototype.getId=function(){return"snippetController2"},e.prototype.insert=function(e,t,o,i,s,n){void 0===t&&(t=0),void 0===o&&(o=0),void 0===i&&(i=!0),void 0===s&&(s=!0),void 0===n&&(n=!0);try{this._doInsert(e,t,o,i,s,n)}catch(r){this.cancel(),this._logService.error(r),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"<no_session>")}},e.prototype._doInsert=function(e,t,o,i,n,r){var d=this;void 0===t&&(t=0),void 0===o&&(o=0),void 0===i&&(i=!0),void 0===n&&(n=!0),void 0===r&&(r=!0),this._editor.hasModel()&&(this._snippetListener=s.dispose(this._snippetListener),i&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t,o,r):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new _.SnippetSession(this._editor,e,t,o,r),this._session.insert()),n&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener=[this._editor.onDidChangeModelContent(function(e){return e.isFlush&&d.cancel()}),this._editor.onDidChangeModel(function(){return d.cancel()}),this._editor.onDidChangeCursorSelection(function(){return d._updateState()})])},e.prototype._updateState=function(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}},e.prototype._handleChoice=function(){var e=this;if(!this._session||!this._editor.hasModel())return void(this._currentChoice=void 0);var t=this._session.choice;if(!t)return void(this._currentChoice=void 0);if(this._currentChoice!==t){this._currentChoice=t,this._editor.setSelections(this._editor.getSelections().map(function(e){return p.Selection.fromPositions(e.getStartPosition())}));var o=t.options[0];h.showSimpleSuggestions(this._editor,t.options.map(function(t,i){return{kind:13,label:t.value,insertText:t.value,sortText:n.repeat("a",i+1),range:d.Range.fromPositions(e._editor.getPosition(),e._editor.getPosition().delta(0,o.value.length))}}))}},e.prototype.finish=function(){for(;this._inSnippet.get();)this.next()},e.prototype.cancel=function(e){void 0===e&&(e=!1),this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),s.dispose(this._snippetListener),s.dispose(this._session),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])},e.prototype.prev=function(){this._session&&this._session.prev(),this._updateState()},e.prototype.next=function(){this._session&&this._session.next(),this._updateState()},e.prototype.isInSnippet=function(){return Boolean(this._inSnippet.get())},e.InSnippetMode=new c.RawContextKey("inSnippetMode",!1),e.HasNextTabstop=new c.RawContextKey("hasNextTabstop",!1),e.HasPrevTabstop=new c.RawContextKey("hasPrevTabstop",!1),e=o([i(1,l.ILogService),i(2,c.IContextKeyService)],e)}();t.SnippetController2=u,r.registerEditorContribution(u);var m=r.EditorCommand.bindToContribution(u.get);r.registerEditorCommand(new m({id:"jumpToNextSnippetPlaceholder",precondition:c.ContextKeyExpr.and(u.InSnippetMode,u.HasNextTabstop),handler:function(e){return e.next()},kbOpts:{weight:130,kbExpr:a.EditorContextKeys.editorTextFocus,primary:2}})),r.registerEditorCommand(new m({id:"jumpToPrevSnippetPlaceholder",precondition:c.ContextKeyExpr.and(u.InSnippetMode,u.HasPrevTabstop),handler:function(e){return e.prev()},kbOpts:{weight:130,kbExpr:a.EditorContextKeys.editorTextFocus,primary:1026}})),r.registerEditorCommand(new m({id:"leaveSnippet",precondition:u.InSnippetMode,handler:function(e){return e.cancel(!0)},kbOpts:{weight:130,kbExpr:a.EditorContextKeys.editorTextFocus,primary:9,secondary:[1033]}})),r.registerEditorCommand(new m({id:"acceptSnippet",precondition:u.InSnippetMode,handler:function(e){return e.finish()}}))});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestAlternatives.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestAlternatives",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=this&&this.__decorate||function(e,t,i,o){var n,s=arguments.length,r=3>s?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(r=(3>s?n(r):s>3?n(t,i,r):n(t,i))||r);return s>3&&r&&Object.defineProperty(t,i,r),r},o=this&&this.__param||function(e,t){return function(i,o){t(i,o,e)}},n=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),r=function(){function e(t,i){this._editor=t,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(i)}return e.prototype.dispose=function(){this.reset()},e.prototype.reset=function(){this._ckOtherSuggestions.reset(),n.dispose(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1},e.prototype.set=function(t,i){var o=this,n=t.model,s=t.index;if(0===n.items.length)return void this.reset();var r=e._moveIndex(!0,n,s);return r===s?void this.reset():(this._acceptNext=i,this._model=n,this._index=s,this._listener=this._editor.onDidChangeCursorPosition(function(){o._ignore||o.reset()}),void this._ckOtherSuggestions.set(!0))},e._moveIndex=function(e,t,i){for(var o=i;;){if(o=(o+t.items.length+(e?1:-1))%t.items.length,o===i)break;if(!t.items[o].completion.additionalTextEdits)break}return o},e.prototype.next=function(){this._move(!0)},e.prototype.prev=function(){this._move(!1)},e.prototype._move=function(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}},e.OtherSuggestions=new s.RawContextKey("hasOtherSuggestions",!1),e=i([o(1,s.IContextKeyService)],e)}();t.SuggestAlternatives=r});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/completionModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/completionModel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/base/common/filters"),o=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),n=e("node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions"),s=function(){function e(){}return e}();t.LineContext=s;var r=function(){function e(t,i,o,s,r){void 0===r&&(r=n.EDITOR_DEFAULTS.contribInfo.suggest),this._snippetCompareFn=e._compareCompletionItems,this._items=t,this._column=i,this._wordDistance=s,this._options=r,this._refilterKind=1,this._lineContext=o,"top"===r.snippets?this._snippetCompareFn=e._compareCompletionItemsSnippetsUp:"bottom"===r.snippets&&(this._snippetCompareFn=e._compareCompletionItemsSnippetsDown)}return e.prototype.dispose=function(){for(var e=new Set,t=0,i=this._items;t<i.length;t++){var n=i[t].container;e.has(n)||(e.add(n),o.isDisposable(n)&&n.dispose())}},Object.defineProperty(e.prototype,"lineContext",{get:function(){return this._lineContext},set:function(e){(this._lineContext.leadingLineContent!==e.leadingLineContent||this._lineContext.characterCountDelta!==e.characterCountDelta)&&(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._ensureCachedState(),this._filteredItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incomplete",{get:function(){return this._ensureCachedState(),this._isIncomplete},enumerable:!0,configurable:!0}),e.prototype.adopt=function(e){for(var t=new Array,i=0;i<this._items.length;)e.has(this._items[i].provider)?i++:(t.push(this._items[i]),this._items[i]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,t},Object.defineProperty(e.prototype,"stats",{get:function(){return this._ensureCachedState(),this._stats},enumerable:!0,configurable:!0}),e.prototype._ensureCachedState=function(){0!==this._refilterKind&&this._createCachedState()},e.prototype._createCachedState=function(){this._isIncomplete=new Set,this._stats={suggestionCount:0,snippetCount:0,textCount:0};for(var e=this._lineContext,t=e.leadingLineContent,o=e.characterCountDelta,n="",s="",r=1===this._refilterKind?this._items:this._filteredItems,c=[],a=!this._options.filterGraceful||r.length>2e3?i.fuzzyScore:i.fuzzyScoreGracefulAggressive,l=0;l<r.length;l++){var p=r[l];p.container.incomplete&&this._isIncomplete.add(p.provider);var m=p.position.column-p.completion.range.startColumn,u=m+o-(p.position.column-this._column);if(n.length!==u&&(n=0===u?"":t.slice(-u),s=n.toLowerCase()),p.word=n,0===u)p.score=i.FuzzyScore.Default;else{for(var d=0;m>d;){var h=n.charCodeAt(d);if(32!==h&&9!==h)break;d+=1}if(d>=u)p.score=i.FuzzyScore.Default;else if("string"==typeof p.completion.filterText){var f=a(n,s,d,p.completion.filterText,p.filterTextLow,0,!1);if(!f)continue;p.score=i.anyScore(n,s,0,p.completion.label,p.labelLow,0),p.score[0]=f[0]}else{var f=a(n,s,d,p.completion.label,p.labelLow,0,!1);if(!f)continue;p.score=f}}switch(p.idx=l,p.distance=this._wordDistance.distance(p.position,p.completion),c.push(p),this._stats.suggestionCount++,p.completion.kind){case 25:this._stats.snippetCount++;break;case 18:this._stats.textCount++}}this._filteredItems=c.sort(this._snippetCompareFn),this._refilterKind=0},e._compareCompletionItems=function(e,t){return e.score[0]>t.score[0]?-1:e.score[0]<t.score[0]?1:e.distance<t.distance?-1:e.distance>t.distance?1:e.idx<t.idx?-1:e.idx>t.idx?1:0},e._compareCompletionItemsSnippetsDown=function(t,i){if(t.completion.kind!==i.completion.kind){if(25===t.completion.kind)return 1;if(25===i.completion.kind)return-1}return e._compareCompletionItems(t,i)},e._compareCompletionItemsSnippetsUp=function(t,i){if(t.completion.kind!==i.completion.kind){if(25===t.completion.kind)return-1;if(25===i.completion.kind)return 1}return e._compareCompletionItems(t,i)},e}();t.CompletionModel=r});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/wordDistance.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/wordDistance",function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=this&&this.__extends||function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function o(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}}(),o=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),r=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),i=e("node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/bracketSelections"),s=function(){function e(){}return e.create=function(n,s){if(!s.getConfiguration().contribInfo.suggest.localityBonus)return Promise.resolve(e.None);if(!s.hasModel())return Promise.resolve(e.None);var a=s.getModel(),u=s.getPosition();return n.canComputeWordRanges(a.uri)?(new i.BracketSelectionRangeProvider).provideSelectionRanges(a,[u]).then(function(i){return i&&0!==i.length&&0!==i[0].length?n.computeWordRanges(a.uri,i[0][0].range).then(function(n){return new(function(e){function a(){return null!==e&&e.apply(this,arguments)||this}return t(a,e),a.prototype.distance=function(e,t){if(!n||!u.equals(s.getPosition()))return 0;if(17===t.kind)return 2<<20;var a=t.label,c=n[a];if(o.isFalsyOrEmpty(c))return 2<<20;for(var f=o.binarySearch(c,r.Range.fromPositions(e),r.Range.compareRangesUsingStarts),l=f>=0?c[f]:c[Math.max(0,~f-1)],d=i.length,g=0,m=i[0];g<m.length;g++){var p=m[g];if(!r.Range.containsRange(p.range,l))break;d-=1}return d},a}(e))}):e.None}):Promise.resolve(e.None)},e.None=new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return t(n,e),n.prototype.distance=function(){return 0},n}(e)),e}();n.WordDistance=s});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestModel.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestModel",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),o=e("node_modules/monaco-editor/esm/vs/base/common/async"),n=e("node_modules/monaco-editor/esm/vs/base/common/errors"),s=e("node_modules/monaco-editor/esm/vs/base/common/event"),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),d=e("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),a=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),g=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/completionModel"),c=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2"),u=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),l=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/wordDistance"),_=function(){function e(e,t,i,o){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=i,this.shy=o}return e.shouldAutoTrigger=function(e){if(!e.hasModel())return!1;var t=e.getModel(),i=e.getPosition();t.tokenizeIfCheap(i.lineNumber);var o=t.getWordAtPosition(i);return o?o.endColumn!==i.column?!1:isNaN(Number(o.word))?!0:!1:!1},e}();t.LineContext=_;var m=function(){function e(e,t){var i=this;this._editor=e,this._editorWorker=t,this._toDispose=[],this._triggerQuickSuggest=new o.TimeoutTimer,this._triggerRefilter=new o.TimeoutTimer,this._state=0,this._onDidCancel=new s.Emitter,this._onDidTrigger=new s.Emitter,this._onDidSuggest=new s.Emitter,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._currentSelection=this._editor.getSelection()||new d.Selection(1,1,1,1),this._toDispose.push(this._editor.onDidChangeModel(function(){i._updateTriggerCharacters(),i.cancel()})),this._toDispose.push(this._editor.onDidChangeModelLanguage(function(){i._updateTriggerCharacters(),i.cancel()})),this._toDispose.push(this._editor.onDidChangeConfiguration(function(){i._updateTriggerCharacters(),i._updateQuickSuggest()})),this._toDispose.push(a.CompletionProviderRegistry.onDidChange(function(){i._updateTriggerCharacters(),i._updateActiveSuggestSession()})),this._toDispose.push(this._editor.onDidChangeCursorSelection(function(e){i._onCursorChange(e)}));var n=!1;this._toDispose.push(this._editor.onCompositionStart(function(){n=!0})),this._toDispose.push(this._editor.onCompositionEnd(function(){n=!1,i._refilterCompletionItems()})),this._toDispose.push(this._editor.onDidChangeModelContent(function(){n||i._refilterCompletionItems()})),this._updateTriggerCharacters(),this._updateQuickSuggest()}return e.prototype.dispose=function(){r.dispose([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerCharacterListener,this._triggerQuickSuggest,this._triggerRefilter]),this._toDispose=r.dispose(this._toDispose),r.dispose(this._completionModel),this.cancel()},e.prototype._updateQuickSuggest=function(){this._quickSuggestDelay=this._editor.getConfiguration().contribInfo.quickSuggestionsDelay,(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)},e.prototype._updateTriggerCharacters=function(){var e=this;if(r.dispose(this._triggerCharacterListener),!this._editor.getConfiguration().readOnly&&this._editor.hasModel()&&this._editor.getConfiguration().contribInfo.suggestOnTriggerCharacters){for(var t=Object.create(null),i=0,o=a.CompletionProviderRegistry.all(this._editor.getModel());i<o.length;i++)for(var n=o[i],s=0,d=n.triggerCharacters||[];s<d.length;s++){var g=d[s],h=t[g];h||(h=t[g]=new Set,h.add(c.getSnippetSuggestSupport())),h.add(n)}this._triggerCharacterListener=this._editor.onDidType(function(i){var o=i.charAt(i.length-1),n=t[o];if(n){var s=e._completionModel?e._completionModel.adopt(n):void 0;e.trigger({auto:!0,shy:!1,triggerCharacter:o},Boolean(e._completionModel),n,s)}})}},Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){void 0===e&&(e=!1),0!==this._state&&(this._triggerRefilter.cancel(),this._triggerQuickSuggest.cancel(),this._requestToken&&(this._requestToken.cancel(),this._requestToken=void 0),this._state=0,r.dispose(this._completionModel),this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))},e.prototype._updateActiveSuggestSession=function(){0!==this._state&&(this._editor.hasModel()&&a.CompletionProviderRegistry.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())},e.prototype._onCursorChange=function(e){var t=this;if(this._editor.hasModel()){var i=this._editor.getModel(),o=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source)return void(0!==this._state&&this.cancel());if(a.CompletionProviderRegistry.has(i)&&0===this._state){if(this._editor.getConfiguration().contribInfo.quickSuggestions===!1)return;if(!o.containsRange(this._currentSelection)&&!o.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))return;if(this._editor.getConfiguration().contribInfo.suggest.snippetsPreventQuickSuggestions&&h.SnippetController2.get(this._editor).isInSnippet())return;this.cancel(),this._triggerQuickSuggest.cancelAndSet(function(){if(_.shouldAutoTrigger(t._editor)&&t._editor.hasModel()){var e=t._editor.getModel(),i=t._editor.getPosition(),o=t._editor.getConfiguration().contribInfo.quickSuggestions;if(o!==!1){if(o===!0);else{e.tokenizeIfCheap(i.lineNumber);var n=e.getLineTokens(i.lineNumber),s=n.getStandardTokenType(n.findTokenIndexAtOffset(Math.max(i.column-1-1,0))),r=o.other&&0===s||o.comments&&1===s||o.strings&&2===s;if(!r)return}t.trigger({auto:!0,shy:!1})}}},this._quickSuggestDelay)}}},e.prototype._refilterCompletionItems=function(){var e=this;0!==this._state&&this._editor.hasModel()&&this._triggerRefilter.cancelAndSet(function(){if(e._editor.hasModel()){var t=e._editor.getModel(),i=e._editor.getPosition(),o=new _(t,i,2===e._state,!1);e._onNewContext(o)}},0)},e.prototype.trigger=function(e,t,o,s){var d=this;if(void 0===t&&(t=!1),this._editor.hasModel()){var h=this._editor.getModel(),m=e.auto,p=new _(h,this._editor.getPosition(),m,e.shy);this.cancel(t),this._state=m?2:1,this._onDidTrigger.fire({auto:m,shy:e.shy}),this._context=p;var f;f=e.triggerCharacter?{triggerKind:1,triggerCharacter:e.triggerCharacter}:o&&o.size>0?{triggerKind:2}:{triggerKind:0},this._requestToken=new u.CancellationTokenSource;var C=this._editor.getConfiguration().contribInfo,v=new Set,S=1;switch(C.suggest.snippets){case"top":S=0;break;case"bottom":S=2;break;case"none":v.add(25)}for(var y in C.suggest.filteredTypes){var D=a.completionKindFromString(y,!0);"undefined"!=typeof D&&C.suggest.filteredTypes[y]===!1&&v.add(D)}var M=l.WordDistance.create(this._editorWorker,this._editor),b=c.provideSuggestionItems(h,this._editor.getPosition(),new c.CompletionOptions(S,v,o),f,this._requestToken.token);Promise.all([b,M]).then(function(t){var o=t[0],n=t[1];if(r.dispose(d._requestToken),0!==d._state&&d._editor.hasModel()){var a=d._editor.getModel();if(i.isNonEmptyArray(s)){var h=c.getSuggestionComparator(S);o=o.concat(s).sort(h)}var u=new _(a,d._editor.getPosition(),m,e.shy);r.dispose(d._completionModel),d._completionModel=new g.CompletionModel(o,d._context.column,{leadingLineContent:u.leadingLineContent,characterCountDelta:u.column-d._context.column},n,d._editor.getConfiguration().contribInfo.suggest),d._onNewContext(u)}}).catch(n.onUnexpectedError)}},e.prototype._onNewContext=function(e){if(this._context){if(e.lineNumber!==this._context.lineNumber)return void this.cancel();if(e.leadingWord.startColumn<this._context.leadingWord.startColumn)return void this.cancel();if(e.column<this._context.column)return void(e.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel());if(this._completionModel)if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){var t=this._completionModel.incomplete,i=this._completionModel.adopt(t);this.trigger({auto:2===this._state,shy:!1},!0,t,i)}else{var o=this._completionModel.lineContext,n=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(_.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<e.leadingWord.startColumn)return void this.trigger({auto:this._context.auto,shy:!1},!0);if(this._context.auto)return void this.cancel();if(this._completionModel.lineContext=o,n=this._completionModel.items.length>0,n&&0===e.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:n})}}},e}();t.SuggestModel=m});
;/*!node_modules/monaco-editor/esm/vs/platform/files/common/files.js*/
define("node_modules/monaco-editor/esm/vs/platform/files/common/files",function(e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(e){e[e.FILE=0]="FILE",e[e.FOLDER=1]="FOLDER",e[e.ROOT_FOLDER=2]="ROOT_FOLDER"}(i.FileKind||(i.FileKind={}))});
;/*!node_modules/monaco-editor/esm/vs/editor/common/services/getIconClasses.js*/
define("node_modules/monaco-editor/esm/vs/editor/common/services/getIconClasses",function(e,o){"use strict";function a(e,o,a,r){var d=r===l.FileKind.ROOT_FOLDER?["rootfolder-icon"]:r===l.FileKind.FOLDER?["folder-icon"]:["file-icon"];if(a){var c,m=void 0;if(a.scheme===n.Schemas.data){var u=t.DataUri.parseMetaData(a);c=u.get(t.DataUri.META_DATA_LABEL),m=c}else c=i(t.basenameOrAuthority(a).toLowerCase()),m=a.path.toLowerCase();if(r===l.FileKind.FOLDER)d.push(c+"-name-folder-icon");else{if(c){d.push(c+"-name-file-icon");for(var f=c.split("."),g=1;g<f.length;g++)d.push(f.slice(g).join(".")+"-ext-file-icon");d.push("ext-file-icon")}var v=s(e,o,a);v=v||(m?o.getModeIdByFilepathOrFirstLine(m):null),v&&d.push(i(v)+"-lang-file-icon")}}return d}function s(e,o,a){var s=null;if(a){var i=null;if(a.scheme===n.Schemas.data){var l=t.DataUri.parseMetaData(a),d=l.get(t.DataUri.META_DATA_MIME);d&&(i=o.getModeId(d))}else{var c=e.getModel(a);c&&(i=c.getLanguageIdentifier().language)}i&&i!==r.PLAINTEXT_MODE_ID&&(s=i)}return s}function i(e){return e.replace(/\s/g,"\\$&")}Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/monaco-editor/esm/vs/base/common/network"),t=e("node_modules/monaco-editor/esm/vs/base/common/resources"),r=e("node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry"),l=e("node_modules/monaco-editor/esm/vs/platform/files/common/files");o.getIconClasses=a,o.getConfiguredLangId=s,o.cssEscape=i});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestWidget",function(e,t){"use strict";function o(e,t){return e.completion.label.match(N)?(t[0]=e.completion.label,!0):"string"==typeof e.completion.documentation&&e.completion.documentation.match(N)?(t[0]=e.completion.documentation,!0):!1}function i(e){if(!e)return!1;var t=e.completion;return t.documentation?!0:t.detail&&t.detail!==t.label}Object.defineProperty(t,"__esModule",{value:!0});var s=e("node_modules/tslib/tslib"),n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++){t=arguments[o];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},n.apply(this,arguments)},r=this&&this.__decorate||function(e,t,o,i){var s,n=arguments.length,r=3>n?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(3>n?s(r):n>3?s(t,o,r):s(t,o))||r);return n>3&&r&&Object.defineProperty(t,o,r),r},l=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},d=s.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),a=e("node_modules/monaco-editor/esm/vs/base/common/filters"),h=s.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),c=e("node_modules/monaco-editor/esm/vs/base/common/event"),g=e("node_modules/monaco-editor/esm/vs/base/common/errors"),u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),m=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),p=e("node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget"),f=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),b=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),v=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),y=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest"),S=e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria"),C=e("node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry"),D=e("node_modules/monaco-editor/esm/vs/platform/theme/common/styler"),w=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),I=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),E=e("node_modules/monaco-editor/esm/vs/platform/storage/common/storage"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer"),F=e("node_modules/monaco-editor/esm/vs/editor/common/services/modeService"),W=e("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),T=e("node_modules/monaco-editor/esm/vs/base/common/async"),x=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),L=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),k=e("node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel"),P=e("node_modules/monaco-editor/esm/vs/editor/common/services/getIconClasses"),B=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),H=e("node_modules/monaco-editor/esm/vs/base/common/uri"),M=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),A=e("node_modules/monaco-editor/esm/vs/platform/files/common/files"),O=!1;t.editorSuggestWidgetBackground=I.registerColor("editorSuggestWidget.background",{dark:I.editorWidgetBackground,light:I.editorWidgetBackground,hc:I.editorWidgetBackground},d.localize("editorSuggestWidgetBackground","Background color of the suggest widget.")),t.editorSuggestWidgetBorder=I.registerColor("editorSuggestWidget.border",{dark:I.editorWidgetBorder,light:I.editorWidgetBorder,hc:I.editorWidgetBorder},d.localize("editorSuggestWidgetBorder","Border color of the suggest widget.")),t.editorSuggestWidgetForeground=I.registerColor("editorSuggestWidget.foreground",{dark:I.editorForeground,light:I.editorForeground,hc:I.editorForeground},d.localize("editorSuggestWidgetForeground","Foreground color of the suggest widget.")),t.editorSuggestWidgetSelectedBackground=I.registerColor("editorSuggestWidget.selectedBackground",{dark:I.listFocusBackground,light:I.listFocusBackground,hc:I.listFocusBackground},d.localize("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")),t.editorSuggestWidgetHighlightForeground=I.registerColor("editorSuggestWidget.highlightForeground",{dark:I.listHighlightForeground,light:I.listHighlightForeground,hc:I.listHighlightForeground},d.localize("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget."));var N=/^(#([\da-f]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))$/i,R=function(){function e(e,t,o,i,s,n){this.widget=e,this.editor=t,this.triggerKeybindingLabel=o,this._modelService=i,this._modeService=s,this._themeService=n}return Object.defineProperty(e.prototype,"templateId",{get:function(){return"suggestion"},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){var t=this,o=Object.create(null);o.disposables=[],o.root=e,m.addClass(o.root,"show-file-icons"),o.icon=m.append(e,m.$(".icon")),o.colorspan=m.append(o.icon,m.$("span.colorspan"));var i=m.append(e,m.$(".contents")),s=m.append(i,m.$(".main"));o.iconLabel=new k.IconLabel(s,{supportHighlights:!0}),o.disposables.push(o.iconLabel),o.typeLabel=m.append(s,m.$("span.type-label")),o.readMore=m.append(s,m.$("span.readMore")),o.readMore.title=d.localize("readMore","Read More...{0}",this.triggerKeybindingLabel);var n=function(){var e=t.editor.getConfiguration(),i=e.fontInfo.fontFamily,n=e.contribInfo.suggestFontSize||e.fontInfo.fontSize,r=e.contribInfo.suggestLineHeight||e.fontInfo.lineHeight,l=e.fontInfo.fontWeight,d=n+"px",a=r+"px";o.root.style.fontSize=d,o.root.style.fontWeight=l,s.style.fontFamily=i,s.style.lineHeight=a,o.icon.style.height=a,o.icon.style.width=a,o.readMore.style.height=a,o.readMore.style.width=a};return n(),c.Event.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(function(e){return e.fontInfo||e.contribInfo}).on(n,null,o.disposables),o},e.prototype.renderElement=function(e,t,s){var n=this,r=s,l=e.completion;r.icon.className="icon "+L.completionKindToCssClass(l.kind),r.colorspan.style.backgroundColor="";var d={labelEscapeNewLines:!0,matches:a.createMatches(e.score)},h=[];19===l.kind&&o(e,h)?(r.icon.className="icon customcolor",r.colorspan.style.backgroundColor=h[0]):20===l.kind&&this._themeService.getIconTheme().hasFileIcons?(r.icon.className="icon hide",d.extraClasses=[].concat(P.getIconClasses(this._modelService,this._modeService,H.URI.from({scheme:"fake",path:l.label}),A.FileKind.FILE),P.getIconClasses(this._modelService,this._modeService,H.URI.from({scheme:"fake",path:l.detail}),A.FileKind.FILE))):23===l.kind&&this._themeService.getIconTheme().hasFolderIcons?(r.icon.className="icon hide",d.extraClasses=[].concat(P.getIconClasses(this._modelService,this._modeService,H.URI.from({scheme:"fake",path:l.label}),A.FileKind.FOLDER),P.getIconClasses(this._modelService,this._modeService,H.URI.from({scheme:"fake",path:l.detail}),A.FileKind.FOLDER))):(r.icon.className="icon hide",d.extraClasses=["suggest-icon "+L.completionKindToCssClass(l.kind)]),r.iconLabel.setLabel(l.label,void 0,d),r.typeLabel.textContent=(l.detail||"").replace(/\n.*$/m,""),i(e)?(m.show(r.readMore),r.readMore.onmousedown=function(e){e.stopPropagation(),e.preventDefault()},r.readMore.onclick=function(e){e.stopPropagation(),e.preventDefault(),n.widget.toggleDetails()}):(m.hide(r.readMore),r.readMore.onmousedown=null,r.readMore.onclick=null)},e.prototype.disposeTemplate=function(e){e.disposables=u.dispose(e.disposables)},e=r([l(3,B.IModelService),l(4,F.IModeService),l(5,w.IThemeService)],e)}(),z=function(){function e(e,t,o,i,s){var n=this;this.widget=t,this.editor=o,this.markdownRenderer=i,this.triggerKeybindingLabel=s,this.borderWidth=1,this.disposables=[],this.el=m.append(e,m.$(".details")),this.disposables.push(u.toDisposable(function(){return e.removeChild(n.el)})),this.body=m.$(".body"),this.scrollbar=new f.DomScrollableElement(this.body,{}),m.append(this.el,this.scrollbar.getDomNode()),this.disposables.push(this.scrollbar),this.header=m.append(this.body,m.$(".header")),this.close=m.append(this.header,m.$("span.close")),this.close.title=d.localize("readLess","Read less...{0}",this.triggerKeybindingLabel),this.type=m.append(this.header,m.$("p.type")),this.docs=m.append(this.body,m.$("p.docs")),this.ariaLabel=null,this.configureFont(),c.Event.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(function(e){return e.fontInfo}).on(this.configureFont,this,this.disposables),i.onDidRenderCodeBlock(function(){return n.scrollbar.scanDomNode()},this,this.disposables)}return Object.defineProperty(e.prototype,"element",{get:function(){return this.el},enumerable:!0,configurable:!0}),e.prototype.render=function(e){var t=this;if(this.renderDisposeable=u.dispose(this.renderDisposeable),!e||!i(e))return this.type.textContent="",this.docs.textContent="",m.addClass(this.el,"no-docs"),void(this.ariaLabel=null);if(m.removeClass(this.el,"no-docs"),"string"==typeof e.completion.documentation)m.removeClass(this.docs,"markdown-docs"),this.docs.textContent=e.completion.documentation;else{m.addClass(this.docs,"markdown-docs"),this.docs.innerHTML="";var o=this.markdownRenderer.render(e.completion.documentation);this.renderDisposeable=o,this.docs.appendChild(o.element)}e.completion.detail?(this.type.innerText=e.completion.detail,m.show(this.type)):(this.type.innerText="",m.hide(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+2*this.borderWidth+"px",this.close.onmousedown=function(e){e.preventDefault(),e.stopPropagation()},this.close.onclick=function(e){e.preventDefault(),e.stopPropagation(),t.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode(),this.ariaLabel=h.format("{0}{1}",e.completion.detail||"",e.completion.documentation?"string"==typeof e.completion.documentation?e.completion.documentation:e.completion.documentation.value:"")},e.prototype.getAriaLabel=function(){return this.ariaLabel},e.prototype.scrollDown=function(e){void 0===e&&(e=8),this.body.scrollTop+=e},e.prototype.scrollUp=function(e){void 0===e&&(e=8),this.body.scrollTop-=e},e.prototype.scrollTop=function(){this.body.scrollTop=0},e.prototype.scrollBottom=function(){this.body.scrollTop=this.body.scrollHeight},e.prototype.pageDown=function(){this.scrollDown(80)},e.prototype.pageUp=function(){this.scrollUp(80)},e.prototype.setBorderWidth=function(e){this.borderWidth=e},e.prototype.configureFont=function(){var e=this.editor.getConfiguration(),t=e.fontInfo.fontFamily,o=e.contribInfo.suggestFontSize||e.fontInfo.fontSize,i=e.contribInfo.suggestLineHeight||e.fontInfo.lineHeight,s=e.fontInfo.fontWeight,n=o+"px",r=i+"px";this.el.style.fontSize=n,this.el.style.fontWeight=s,this.type.style.fontFamily=t,this.close.style.height=r,this.close.style.width=r},e.prototype.dispose=function(){this.disposables=u.dispose(this.disposables),this.renderDisposeable=u.dispose(this.renderDisposeable)},e}(),$=function(){function e(e,o,i,s,n,r,l,d,a){var h=this;this.editor=e,this.telemetryService=o,this.allowEditorOverflow=!0,this.ignoreFocusEvents=!1,this.editorBlurTimeout=new T.TimeoutTimer,this.showTimeout=new T.TimeoutTimer,this.onDidSelectEmitter=new c.Emitter,this.onDidFocusEmitter=new c.Emitter,this.onDidHideEmitter=new c.Emitter,this.onDidShowEmitter=new c.Emitter,this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1;var g=r.lookupKeybinding("editor.action.triggerSuggest"),u=g?" ("+g.getLabel()+")":"",f=new _.MarkdownRenderer(e,l,d);this.isAuto=!1,this.focusedItem=null,this.storageService=n,this.element=m.$(".editor-widget.suggest-widget"),this.messageElement=m.append(this.element,m.$(".message")),this.listElement=m.append(this.element,m.$(".tree")),this.details=new z(this.element,this,this.editor,f,u);var b=function(){return m.toggleClass(h.element,"no-icons",!h.editor.getConfiguration().contribInfo.suggest.showIcons)};b();var v=a.createInstance(R,this,this.editor,u);this.list=new p.List(this.listElement,this,[v],{useShadows:!1,openController:{shouldOpen:function(){return!1}},mouseSupport:!1}),this.toDispose=[D.attachListStyler(this.list,s,{listInactiveFocusBackground:t.editorSuggestWidgetSelectedBackground,listInactiveFocusOutline:I.activeContrastBorder}),s.onThemeChange(function(e){return h.onThemeChange(e)}),e.onDidLayoutChange(function(){return h.onEditorLayoutChange()}),this.list.onMouseDown(function(e){return h.onListMouseDown(e)}),this.list.onSelectionChange(function(e){return h.onListSelection(e)}),this.list.onFocusChange(function(e){return h.onListFocus(e)}),this.editor.onDidChangeCursorSelection(function(){return h.onCursorSelectionChanged()}),this.editor.onDidChangeConfiguration(function(e){return e.contribInfo&&b()})],this.suggestWidgetVisible=y.Context.Visible.bindTo(i),this.suggestWidgetMultipleSuggestions=y.Context.MultipleSuggestions.bindTo(i),this.editor.addContentWidget(this),this.setState(0),this.onThemeChange(s.getTheme())}return e.prototype.onCursorSelectionChanged=function(){0!==this.state&&this.editor.layoutContentWidget(this)},e.prototype.onEditorLayoutChange=function(){3!==this.state&&5!==this.state||!this.expandDocsSettingFromStorage()||this.expandSideOrBelow()},e.prototype.onListMouseDown=function(e){"undefined"!=typeof e.element&&"undefined"!=typeof e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this.select(e.element,e.index))},e.prototype.onListSelection=function(e){e.elements.length&&this.select(e.elements[0],e.indexes[0])},e.prototype.select=function(e,t){var o=this,i=this.completionModel;i&&e.resolve(x.CancellationToken.None).then(function(){o.onDidSelectEmitter.fire({item:e,index:t,model:i}),o.editor.focus()})},e.prototype._getSuggestionAriaAlertLabel=function(e){return this.expandDocsSettingFromStorage()?d.localize("ariaCurrenttSuggestionReadDetails","Item {0}, docs: {1}",e.completion.label,this.details.getAriaLabel()):e.completion.label},e.prototype._ariaAlert=function(e){this._lastAriaAlertLabel!==e&&(this._lastAriaAlertLabel=e,this._lastAriaAlertLabel&&S.alert(this._lastAriaAlertLabel,!0))},e.prototype.onThemeChange=function(e){var o=e.getColor(t.editorSuggestWidgetBackground);o&&(this.listElement.style.backgroundColor=o.toString(),this.details.element.style.backgroundColor=o.toString(),this.messageElement.style.backgroundColor=o.toString());var i=e.getColor(t.editorSuggestWidgetBorder);i&&(this.listElement.style.borderColor=i.toString(),this.details.element.style.borderColor=i.toString(),this.messageElement.style.borderColor=i.toString(),this.detailsBorderColor=i.toString());var s=e.getColor(I.focusBorder);s&&(this.detailsFocusBorderColor=s.toString()),this.details.setBorderWidth("hc"===e.type?2:1)},e.prototype.onListFocus=function(e){var t=this;if(!this.ignoreFocusEvents){if(!e.elements.length)return this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),void this._ariaAlert(null);if(this.completionModel){var o=e.elements[0],i=e.indexes[0];this.firstFocusInCurrentList=!this.focusedItem,o!==this.focusedItem&&(this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=o,this.list.reveal(i),this.currentSuggestionDetails=T.createCancelablePromise(function(e){return o.resolve(e)}),this.currentSuggestionDetails.then(function(){t.list.length<i||(t.ignoreFocusEvents=!0,t.list.splice(i,1,[o]),t.list.setFocus([i]),t.ignoreFocusEvents=!1,t.expandDocsSettingFromStorage()?t.showDetails():m.removeClass(t.element,"docs-side"),t._ariaAlert(t._getSuggestionAriaAlertLabel(o)))}).catch(g.onUnexpectedError).then(function(){t.focusedItem===o&&(t.currentSuggestionDetails=null)})),this.onDidFocusEmitter.fire({item:o,index:i,model:this.completionModel})}}},e.prototype.setState=function(t){if(this.element){var o=this.state!==t;switch(this.state=t,m.toggleClass(this.element,"frozen",4===t),t){case 0:m.hide(this.messageElement,this.details.element,this.listElement),this.hide(),this.listHeight=0,o&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=e.LOADING_MESSAGE,m.hide(this.listElement,this.details.element),m.show(this.messageElement),m.removeClass(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,m.hide(this.listElement,this.details.element),m.show(this.messageElement),m.removeClass(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 3:m.hide(this.messageElement),m.show(this.listElement),this.show();break;case 4:m.hide(this.messageElement),m.show(this.listElement),this.show();break;case 5:m.hide(this.messageElement),m.show(this.details.element,this.listElement),this.show(),this._ariaAlert(this.details.getAriaLabel())}}},e.prototype.showTriggered=function(e,t){var o=this;0===this.state&&(this.isAuto=!!e,this.isAuto||(this.loadingTimeout=setTimeout(function(){o.loadingTimeout=null,o.setState(1)},t)))},e.prototype.showSuggestions=function(e,t,o,i){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout&&(clearTimeout(this.loadingTimeout),this.loadingTimeout=null),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==e&&(this.completionModel=e),o&&2!==this.state&&0!==this.state)return void this.setState(4);var s=this.completionModel.items.length,r=0===s;if(this.suggestWidgetMultipleSuggestions.set(s>1),r)this.setState(i?0:2),this.completionModel=null;else{if(3!==this.state){var l=this.completionModel.stats;l.wasAutomaticallyTriggered=!!i,this.telemetryService.publicLog("suggestWidget",n({},l,this.editor.getTelemetryData()))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),this.setState(o?4:3),this.list.reveal(t,0),this.list.setFocus([t]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}},e.prototype.selectNextPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}},e.prototype.selectNext=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}},e.prototype.selectLast=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}},e.prototype.selectPreviousPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}},e.prototype.selectPrevious=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}},e.prototype.selectFirst=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}},e.prototype.getFocusedItem=function(){return 0!==this.state&&2!==this.state&&1!==this.state&&this.completionModel?{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}:void 0},e.prototype.toggleDetailsFocus=function(){5===this.state?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):3===this.state&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog("suggestWidget:toggleDetailsFocus",this.editor.getTelemetryData())},e.prototype.toggleDetails=function(){if(i(this.list.getFocusedElements()[0]))if(this.expandDocsSettingFromStorage())this.updateExpandDocsSetting(!1),m.hide(this.details.element),m.removeClass(this.element,"docs-side"),m.removeClass(this.element,"docs-below"),this.editor.layoutContentWidget(this),this.telemetryService.publicLog("suggestWidget:collapseDetails",this.editor.getTelemetryData());else{if(3!==this.state&&5!==this.state&&4!==this.state)return;this.updateExpandDocsSetting(!0),this.showDetails(),this._ariaAlert(this.details.getAriaLabel()),this.telemetryService.publicLog("suggestWidget:expandDetails",this.editor.getTelemetryData())}},e.prototype.showDetails=function(){this.expandSideOrBelow(),m.show(this.details.element),this.details.render(this.list.getFocusedElements()[0]),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()},e.prototype.show=function(){var e=this,t=this.updateListHeight();t!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=t),this.suggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet(function(){m.addClass(e.element,"visible"),e.onDidShowEmitter.fire(e)},100)},e.prototype.hide=function(){this.suggestWidgetVisible.reset(),this.suggestWidgetMultipleSuggestions.reset(),m.removeClass(this.element,"visible")},e.prototype.hideWidget=function(){clearTimeout(this.loadingTimeout),this.setState(0),this.onDidHideEmitter.fire(this)},e.prototype.getPosition=function(){if(0===this.state)return null;var e=[2,1];return this.preferDocPositionTop&&(e=[1]),{position:this.editor.getPosition(),preference:e}},e.prototype.getDomNode=function(){return this.element},e.prototype.getId=function(){return e.ID},e.prototype.updateListHeight=function(){var e=0;if(2===this.state||1===this.state)e=this.unfocusedHeight;else{var t=this.list.contentHeight/this.unfocusedHeight,o=this.editor.getConfiguration().contribInfo.suggest.maxVisibleSuggestions;e=Math.min(t,o)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=e+"px",this.list.layout(e),e},e.prototype.adjustDocsPosition=function(){if(this.editor.hasModel()){var e=this.editor.getConfiguration().fontInfo.lineHeight,t=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),o=m.getDomNodePagePosition(this.editor.getDomNode()),i=o.left+t.left,s=o.top+t.top+t.height,n=m.getDomNodePagePosition(this.element),r=n.left,l=n.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetY<l&&!this.preferDocPositionTop)return this.preferDocPositionTop=!0,void this.adjustDocsPosition();this.docsPositionPreviousWidgetY=l,r<i-this.listWidth?m.addClass(this.element,"list-right"):m.removeClass(this.element,"list-right"),m.hasClass(this.element,"docs-side")&&s-e>l&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")}},e.prototype.expandSideOrBelow=function(){if(!i(this.focusedItem)&&this.firstFocusInCurrentList)return m.removeClass(this.element,"docs-side"),void m.removeClass(this.element,"docs-below");var e=this.element.style.maxWidth.match(/(\d+)px/);!e||Number(e[1])<this.maxWidgetWidth?(m.addClass(this.element,"docs-below"),m.removeClass(this.element,"docs-side")):i(this.focusedItem)&&(m.addClass(this.element,"docs-side"),m.removeClass(this.element,"docs-below"))},Object.defineProperty(e.prototype,"maxWidgetHeight",{get:function(){return this.unfocusedHeight*this.editor.getConfiguration().contribInfo.suggest.maxVisibleSuggestions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unfocusedHeight",{get:function(){var e=this.editor.getConfiguration();return e.contribInfo.suggestLineHeight||e.fontInfo.lineHeight},enumerable:!0,configurable:!0}),e.prototype.getHeight=function(){return this.unfocusedHeight},e.prototype.getTemplateId=function(){return"suggestion"},e.prototype.expandDocsSettingFromStorage=function(){return this.storageService.getBoolean("expandSuggestionDocs",0,O)},e.prototype.updateExpandDocsSetting=function(e){this.storageService.store("expandSuggestionDocs",e,0)},e.prototype.dispose=function(){this.state=null,this.currentSuggestionDetails=null,this.focusedItem=null,this.element=null,this.messageElement=null,this.listElement=null,this.details.dispose(),this.details=null,this.list.dispose(),this.list=null,this.toDispose=u.dispose(this.toDispose),this.loadingTimeout&&(clearTimeout(this.loadingTimeout),this.loadingTimeout=null),this.editorBlurTimeout.dispose(),this.showTimeout.dispose()},e.ID="editor.widget.suggestWidget",e.LOADING_MESSAGE=d.localize("suggestWidget.loading","Loading..."),e.NO_SUGGESTIONS_MESSAGE=d.localize("suggestWidget.noSuggestions","No suggestions."),e=r([l(1,C.ITelemetryService),l(2,v.IContextKeyService),l(3,w.IThemeService),l(4,E.IStorageService),l(5,b.IKeybindingService),l(6,F.IModeService),l(7,W.IOpenerService),l(8,M.IInstantiationService)],e)}();t.SuggestWidget=$,w.registerThemingParticipant(function(e,o){var i=e.getColor(t.editorSuggestWidgetHighlightForeground);i&&o.addRule(".monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: "+i+"; }");var s=e.getColor(t.editorSuggestWidgetForeground);s&&o.addRule(".monaco-editor .suggest-widget { color: "+s+"; }");var n=e.getColor(I.textLinkForeground);n&&o.addRule(".monaco-editor .suggest-widget a { color: "+n+"; }");var r=e.getColor(I.textCodeBlockBackground);r&&o.addRule(".monaco-editor .suggest-widget code { background-color: "+r+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/wordContextKey.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/wordContextKey",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__decorate||function(e,t,o,n){var i,r=arguments.length,s=3>r?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(i=e[d])&&(s=(3>r?i(s):r>3?i(t,o,s):i(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},n=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}},i=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),r=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),s=function(){function e(t,o){var n=this;this._editor=t,this._ckAtEnd=e.AtEnd.bindTo(o),this._confListener=this._editor.onDidChangeConfiguration(function(e){return e.contribInfo&&n._update()}),this._update()}return e.prototype.dispose=function(){r.dispose(this._confListener,this._selectionListener),this._ckAtEnd.reset()},e.prototype._update=function(){var e=this,t="on"===this._editor.getConfiguration().contribInfo.tabCompletion;if(this._enabled!==t)if(this._enabled=t,this._enabled){var o=function(){if(!e._editor.hasModel())return void e._ckAtEnd.set(!1);var t=e._editor.getModel(),o=e._editor.getSelection(),n=t.getWordAtPosition(o.getStartPosition());return n?void e._ckAtEnd.set(n.endColumn===o.getStartPosition().column):void e._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(o),o()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)},e.AtEnd=new i.RawContextKey("atEndOfWord",!1),e=o([n(1,i.IContextKeyService)],e)}();t.WordContextKey=s});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},n.apply(this,arguments)},r=this&&this.__decorate||function(e,t,o,i){var n,r=arguments.length,s=3>r?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(s=(3>r?n(s):r>3?n(t,o,s):n(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},s=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}},d=e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria"),a=e("node_modules/monaco-editor/esm/vs/base/common/arrays"),c=e("node_modules/monaco-editor/esm/vs/base/common/errors"),g=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/editOperation"),m=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),p=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),h=e("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2"),_=e("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser"),x=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestMemory"),f=o.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),v=e("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),y=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),C=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),S=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest"),b=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestAlternatives"),E=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestModel"),w=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestWidget"),I=e("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/wordContextKey"),D=e("node_modules/monaco-editor/esm/vs/base/common/event"),k=e("node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService"),P=e("node_modules/monaco-editor/esm/vs/base/common/async"),V=e("node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier"),K=e("node_modules/monaco-editor/esm/vs/base/common/types"),O=function(){function e(e,t,o){var i=this;this._disposables=[],this._disposables.push(t.onDidShow(function(){return i._onItem(t.getFocusedItem())})),this._disposables.push(t.onDidFocus(this._onItem,this)),this._disposables.push(t.onDidHide(this.reset,this)),this._disposables.push(e.onWillType(function(t){if(i._active){var n=t.charCodeAt(t.length-1);i._active.acceptCharacters.has(n)&&e.getConfiguration().contribInfo.acceptSuggestionOnCommitCharacter&&o(i._active.item)}}))}return e.prototype._onItem=function(e){if(!e||!a.isNonEmptyArray(e.item.completion.commitCharacters))return void this.reset();for(var t=new V.CharacterSet,o=0,i=e.item.completion.commitCharacters;o<i.length;o++){var n=i[o];n.length>0&&t.add(n.charCodeAt(0))}this._active={acceptCharacters:t,item:e}},e.prototype.reset=function(){this._active=void 0},e.prototype.dispose=function(){g.dispose(this._disposables)},e}(),N=function(){function e(e,t,o,i,n,r){var s=this;this._editor=e,this._memoryService=o,this._commandService=i,this._contextKeyService=n,this._instantiationService=r,this._toDispose=[],this._sticky=!1,this._model=new E.SuggestModel(this._editor,t),this._widget=new P.IdleValue(function(){var e=s._instantiationService.createInstance(w.SuggestWidget,s._editor);s._toDispose.push(e),s._toDispose.push(e.onDidSelect(function(e){return s._onDidSelectItem(e,!1,!0)},s));var t=new O(s._editor,e,function(e){return s._onDidSelectItem(e,!1,!0)});s._toDispose.push(t,s._model.onDidSuggest(function(e){0===e.completionModel.items.length&&t.reset()}));var o=S.Context.MakesTextEdit.bindTo(s._contextKeyService);return s._toDispose.push(e.onDidFocus(function(e){var t=e.item,i=s._editor.getPosition(),n=t.completion.range.startColumn,r=i.column,d=!0;if(!("smart"!==s._editor.getConfiguration().contribInfo.acceptSuggestionOnEnter||2!==s._model.state||t.completion.command||t.completion.additionalTextEdits||4&t.completion.insertTextRules||r-n!==t.completion.insertText.length)){var a=s._editor.getModel().getValueInRange({startLineNumber:i.lineNumber,startColumn:n,endLineNumber:i.lineNumber,endColumn:r});d=a!==t.completion.insertText}o.set(d)})),s._toDispose.push({dispose:function(){o.reset()}}),e}),this._alternatives=new P.IdleValue(function(){var e=new b.SuggestAlternatives(s._editor,s._contextKeyService);return s._toDispose.push(e),e}),this._toDispose.push(r.createInstance(I.WordContextKey,e)),this._toDispose.push(this._model.onDidTrigger(function(e){s._widget.getValue().showTriggered(e.auto,e.shy?250:50)})),this._toDispose.push(this._model.onDidSuggest(function(e){if(!e.shy){var t=s._memoryService.select(s._editor.getModel(),s._editor.getPosition(),e.completionModel.items);s._widget.getValue().showSuggestions(e.completionModel,t,e.isFrozen,e.auto)}})),this._toDispose.push(this._model.onDidCancel(function(e){s._widget&&!e.retrigger&&s._widget.getValue().hideWidget()})),this._toDispose.push(this._editor.onDidBlurEditorWidget(function(){s._sticky||s._model.cancel()}));var d=S.Context.AcceptSuggestionsOnEnter.bindTo(n),a=function(){var e=s._editor.getConfiguration().contribInfo.acceptSuggestionOnEnter;d.set("on"===e||"smart"===e)};this._toDispose.push(this._editor.onDidChangeConfiguration(function(){return a()})),a()}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.getId=function(){return e.ID},e.prototype.dispose=function(){this._toDispose=g.dispose(this._toDispose),this._widget.dispose(),this._model&&this._model.dispose()},e.prototype._onDidSelectItem=function(e,t,o){var i,n=this;if(!e||!e.item)return this._alternatives.getValue().reset(),void this._model.cancel();if(this._editor.hasModel()){var r=this._editor.getModel(),s=r.getAlternativeVersionId(),d=e.item,a=d.completion,g=d.position,u=this._editor.getPosition().column,p=u-g.column;o&&this._editor.pushUndoStop(),Array.isArray(a.additionalTextEdits)&&this._editor.executeEdits("suggestController.additionalTextEdits",a.additionalTextEdits.map(function(e){return l.EditOperation.replace(m.Range.lift(e.range),e.text)})),this._memoryService.memorize(r,this._editor.getPosition(),e.item);var x=a.insertText;4&a.insertTextRules||(x=_.SnippetParser.escape(x));var f=g.column-a.range.startColumn,v=a.range.endColumn-g.column;h.SnippetController2.get(this._editor).insert(x,f+p,v,!1,!1,!(1&a.insertTextRules)),o&&this._editor.pushUndoStop(),a.command?a.command.id===T.id?this._model.trigger({auto:!0,shy:!1},!0):((i=this._commandService).executeCommand.apply(i,[a.command.id].concat(a.command.arguments?a.command.arguments.slice():[])).catch(c.onUnexpectedError),this._model.cancel()):this._model.cancel(),t&&this._alternatives.getValue().set(e,function(e){for(;r.canUndo();){s!==r.getAlternativeVersionId()&&r.undo(),n._onDidSelectItem(e,!1,!1);break}}),this._alertCompletionItem(e.item)}},e.prototype._alertCompletionItem=function(e){var t=e.completion;if(a.isNonEmptyArray(t.additionalTextEdits)){var o=f.localize("arai.alert.snippet","Accepting '{0}' made {1} additional edits",t.label,t.additionalTextEdits.length);d.alert(o)}},e.prototype.triggerSuggest=function(e){this._editor.hasModel()&&(this._model.trigger({auto:!1,shy:!1},!1,e),this._editor.revealLine(this._editor.getPosition().lineNumber,0),this._editor.focus())},e.prototype.triggerSuggestAndAcceptBest=function(e){var t=this;if(this._editor.hasModel()){var o=this._editor.getPosition(),i=function(){o.equals(t._editor.getPosition())&&t._commandService.executeCommand(e.fallback)},n=function(e){if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;var o=t._editor.getPosition(),i=e.completion.range.startColumn,n=o.column;if(n-i!==e.completion.insertText.length)return!0;var r=t._editor.getModel().getValueInRange({startLineNumber:o.lineNumber,startColumn:i,endLineNumber:o.lineNumber,endColumn:n});return r!==e.completion.insertText};D.Event.once(this._model.onDidTrigger)(function(){var e=[];D.Event.any(t._model.onDidTrigger,t._model.onDidCancel)(function(){g.dispose(e),i()},void 0,e),t._model.onDidSuggest(function(o){var r=o.completionModel;if(g.dispose(e),0===r.items.length)return void i();var s=t._memoryService.select(t._editor.getModel(),t._editor.getPosition(),r.items),d=r.items[s];return n(d)?(t._editor.pushUndoStop(),void t._onDidSelectItem({index:s,item:d,model:r},!0,!1)):void i()},void 0,e)}),this._model.trigger({auto:!1,shy:!0}),this._editor.revealLine(o.lineNumber,0),this._editor.focus()}},e.prototype.acceptSelectedSuggestion=function(e){if(this._widget){var t=this._widget.getValue().getFocusedItem();this._onDidSelectItem(t,!!e,!0)}},e.prototype.acceptNextSuggestion=function(){this._alternatives.getValue().next()},e.prototype.acceptPrevSuggestion=function(){this._alternatives.getValue().prev()},e.prototype.cancelSuggestWidget=function(){this._widget&&(this._model.cancel(),this._widget.getValue().hideWidget())},e.prototype.selectNextSuggestion=function(){this._widget&&this._widget.getValue().selectNext()},e.prototype.selectNextPageSuggestion=function(){this._widget&&this._widget.getValue().selectNextPage()},e.prototype.selectLastSuggestion=function(){this._widget&&this._widget.getValue().selectLast()},e.prototype.selectPrevSuggestion=function(){this._widget&&this._widget.getValue().selectPrevious()},e.prototype.selectPrevPageSuggestion=function(){this._widget&&this._widget.getValue().selectPreviousPage()},e.prototype.selectFirstSuggestion=function(){this._widget&&this._widget.getValue().selectFirst()},e.prototype.toggleSuggestionDetails=function(){this._widget&&this._widget.getValue().toggleDetails()},e.prototype.toggleSuggestionFocus=function(){this._widget&&this._widget.getValue().toggleDetailsFocus()},e.ID="editor.contrib.suggestController",e=r([s(1,k.IEditorWorkerService),s(2,x.ISuggestMemoryService),s(3,v.ICommandService),s(4,y.IContextKeyService),s(5,C.IInstantiationService)],e)}();t.SuggestController=N;var T=function(e){function t(){return e.call(this,{id:t.id,label:f.localize("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:y.ContextKeyExpr.and(p.EditorContextKeys.writable,p.EditorContextKeys.hasCompletionItemProvider),kbOpts:{kbExpr:p.EditorContextKeys.textInputFocus,primary:2058,mac:{primary:266},weight:100}})||this}return i(t,e),t.prototype.run=function(e,t){var o=N.get(t);o&&o.triggerSuggest()},t.id="editor.action.triggerSuggest",t}(u.EditorAction);t.TriggerSuggestAction=T,u.registerEditorContribution(N),u.registerEditorAction(T);var M=190,A=u.EditorCommand.bindToContribution(N.get);u.registerEditorCommand(new A({id:"acceptSelectedSuggestion",precondition:S.Context.Visible,handler:function(e){return e.acceptSelectedSuggestion(!0)},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:2}})),u.registerEditorCommand(new A({id:"acceptSelectedSuggestionOnEnter",precondition:S.Context.Visible,handler:function(e){return e.acceptSelectedSuggestion(!1)},kbOpts:{weight:M,kbExpr:y.ContextKeyExpr.and(p.EditorContextKeys.textInputFocus,S.Context.AcceptSuggestionsOnEnter,S.Context.MakesTextEdit),primary:3}})),u.registerEditorCommand(new A({id:"hideSuggestWidget",precondition:S.Context.Visible,handler:function(e){return e.cancelSuggestWidget()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:9,secondary:[1033]}})),u.registerEditorCommand(new A({id:"selectNextSuggestion",precondition:y.ContextKeyExpr.and(S.Context.Visible,S.Context.MultipleSuggestions),handler:function(e){return e.selectNextSuggestion()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),u.registerEditorCommand(new A({id:"selectNextPageSuggestion",precondition:y.ContextKeyExpr.and(S.Context.Visible,S.Context.MultipleSuggestions),handler:function(e){return e.selectNextPageSuggestion()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:12,secondary:[2060]}})),u.registerEditorCommand(new A({id:"selectLastSuggestion",precondition:y.ContextKeyExpr.and(S.Context.Visible,S.Context.MultipleSuggestions),handler:function(e){return e.selectLastSuggestion()}})),u.registerEditorCommand(new A({id:"selectPrevSuggestion",precondition:y.ContextKeyExpr.and(S.Context.Visible,S.Context.MultipleSuggestions),handler:function(e){return e.selectPrevSuggestion()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),u.registerEditorCommand(new A({id:"selectPrevPageSuggestion",precondition:y.ContextKeyExpr.and(S.Context.Visible,S.Context.MultipleSuggestions),handler:function(e){return e.selectPrevPageSuggestion()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:11,secondary:[2059]}})),u.registerEditorCommand(new A({id:"selectFirstSuggestion",precondition:y.ContextKeyExpr.and(S.Context.Visible,S.Context.MultipleSuggestions),handler:function(e){return e.selectFirstSuggestion()}})),u.registerEditorCommand(new A({id:"toggleSuggestionDetails",precondition:S.Context.Visible,handler:function(e){return e.toggleSuggestionDetails()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:2058,mac:{primary:266}}})),u.registerEditorCommand(new A({id:"toggleSuggestionFocus",precondition:S.Context.Visible,handler:function(e){return e.toggleSuggestionFocus()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:2570,mac:{primary:778}}})),u.registerEditorCommand(new A({id:"insertBestCompletion",precondition:y.ContextKeyExpr.and(y.ContextKeyExpr.equals("config.editor.tabCompletion","on"),I.WordContextKey.AtEnd,S.Context.Visible.toNegated(),b.SuggestAlternatives.OtherSuggestions.toNegated(),h.SnippetController2.InSnippetMode.toNegated()),handler:function(e,t){e.triggerSuggestAndAcceptBest(K.isObject(t)?n({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:M,primary:2}})),u.registerEditorCommand(new A({id:"insertNextSuggestion",precondition:y.ContextKeyExpr.and(y.ContextKeyExpr.equals("config.editor.tabCompletion","on"),b.SuggestAlternatives.OtherSuggestions,S.Context.Visible.toNegated(),h.SnippetController2.InSnippetMode.toNegated()),handler:function(e){return e.acceptNextSuggestion()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:2}})),u.registerEditorCommand(new A({id:"insertPrevSuggestion",precondition:y.ContextKeyExpr.and(y.ContextKeyExpr.equals("config.editor.tabCompletion","on"),b.SuggestAlternatives.OtherSuggestions,S.Context.Visible.toNegated(),h.SnippetController2.InSnippetMode.toNegated()),handler:function(e){return e.acceptPrevSuggestion()},kbOpts:{weight:M,kbExpr:p.EditorContextKeys.textInputFocus,primary:1026}}))});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/tokenization/tokenization.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/tokenization/tokenization",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),i=t.__importStar(o("node_modules/monaco-editor/esm/vs/nls")),r=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),s=o("node_modules/monaco-editor/esm/vs/base/common/stopwatch"),c=function(o){function e(){return o.call(this,{id:"editor.action.forceRetokenize",label:i.localize("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:null})||this}return n(e,o),e.prototype.run=function(o,e){if(e.hasModel()){var t=e.getModel();t.flushTokens();var n=new s.StopWatch(!0);t.forceTokenization(t.getLineCount()),n.stop(),console.log("tokenization took "+n.elapsed())}},e}(r.EditorAction);r.registerEditorAction(c)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),r=t.__importStar(o("node_modules/monaco-editor/esm/vs/nls")),s=o("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria"),i=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),c=o("node_modules/monaco-editor/esm/vs/editor/common/config/commonEditorConfig"),a=function(o){function e(){return o.call(this,{id:e.ID,label:r.localize({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:null,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})||this}return n(e,o),e.prototype.run=function(){var o=c.TabFocus.getTabFocusMode(),e=!o;c.TabFocus.setTabFocusMode(e),s.alert(e?r.localize("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element"):r.localize("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))},e.ID="editor.action.toggleTabFocusMode",e}(i.EditorAction);e.ToggleTabFocusModeAction=a,i.registerEditorAction(a)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter",function(e,o){"use strict";function t(e,o,t){var r=_.DocumentHighlightProviderRegistry.ordered(e);return g.first(r.map(function(r){return function(){return Promise.resolve(r.provideDocumentHighlights(e,o,t)).then(void 0,c.onUnexpectedExternalError)}}),d.isNonEmptyArray)}function r(e,o,t){return _.DocumentHighlightProviderRegistry.has(e)?new R(e,o,t):new k(e,o,t)}Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function r(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),s=this&&this.__decorate||function(e,o,t,r){var i,n=arguments.length,s=3>n?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,t,r);else for(var h=e.length-1;h>=0;h--)(i=e[h])&&(s=(3>n?i(s):n>3?i(o,t,s):i(o,t))||s);return n>3&&s&&Object.defineProperty(o,t,s),s},h=this&&this.__param||function(e,o){return function(t,r){o(t,r,e)}},l=i.__importStar(e("node_modules/monaco-editor/esm/vs/nls")),d=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/arrays")),g=e("node_modules/monaco-editor/esm/vs/base/common/async"),a=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),c=e("node_modules/monaco-editor/esm/vs/base/common/errors"),u=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),m=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),p=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),v=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),f=e("node_modules/monaco-editor/esm/vs/editor/common/model"),w=e("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),_=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),H=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),C=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),y=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService");o.editorWordHighlight=C.registerColor("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},l.localize("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),o.editorWordHighlightStrong=C.registerColor("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},l.localize("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),o.editorWordHighlightBorder=C.registerColor("editor.wordHighlightBorder",{light:null,dark:null,hc:C.activeContrastBorder},l.localize("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),o.editorWordHighlightStrongBorder=C.registerColor("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:C.activeContrastBorder},l.localize("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),o.overviewRulerWordHighlightForeground=C.registerColor("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},l.localize("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),o.overviewRulerWordHighlightStrongForeground=C.registerColor("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},l.localize("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),o.ctxHasWordHighlights=new H.RawContextKey("hasWordHighlights",!1),o.getOccurrencesAtPosition=t;var b=function(){function e(e,o,t){var r=this;this._wordRange=this._getCurrentWordRange(e,o),this.result=g.createCancelablePromise(function(i){return r._compute(e,o,t,i)})}return e.prototype._getCurrentWordRange=function(e,o){var t=e.getWordAtPosition(o.getPosition());return t?new p.Range(o.startLineNumber,t.startColumn,o.startLineNumber,t.endColumn):null},e.prototype.isValid=function(e,o,t){for(var r=o.startLineNumber,i=o.startColumn,n=o.endColumn,s=this._getCurrentWordRange(e,o),h=Boolean(this._wordRange&&this._wordRange.equalsRange(s)),l=0,d=t.length;!h&&d>l;l++){var g=e.getDecorationRange(t[l]);g&&g.startLineNumber===r&&g.startColumn<=i&&g.endColumn>=n&&(h=!0)}return h},e.prototype.cancel=function(){this.result.cancel()},e}(),R=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return n(o,e),o.prototype._compute=function(e,o,r,i){return t(e,o.getPosition(),i).then(function(e){return e||[]})},o}(b),k=function(e){function o(o,t,r){var i=e.call(this,o,t,r)||this;return i._selectionIsEmpty=t.isEmpty(),i}return n(o,e),o.prototype._compute=function(e,o,t,r){return g.timeout(250,r).then(function(){if(!o.isEmpty())return[];var r=e.getWordAtPosition(o.getPosition());if(!r)return[];var i=e.findMatches(r.word,!0,!1,!0,t,!1);return i.map(function(e){return{range:e.range,kind:_.DocumentHighlightKind.Text}})})},o.prototype.isValid=function(o,t,r){var i=t.isEmpty();return this._selectionIsEmpty!==i?!1:e.prototype.isValid.call(this,o,t,r)},o}(b);m.registerDefaultLanguageCommand("_executeDocumentHighlights",function(e,o){return t(e,o,a.CancellationToken.None)});var T=function(){function e(e,t){var r=this;this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this._hasWordHighlights=o.ctxHasWordHighlights.bindTo(t),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getConfiguration().contribInfo.occurrencesHighlight,this.model=this.editor.getModel(),this.toUnhook=[],this.toUnhook.push(e.onDidChangeCursorPosition(function(e){r._ignorePositionChangeEvent||r.occurrencesHighlight&&r._onPositionChanged(e)})),this.toUnhook.push(e.onDidChangeModelContent(function(){r._stopAll()})),this.toUnhook.push(e.onDidChangeConfiguration(function(){var e=r.editor.getConfiguration().contribInfo.occurrencesHighlight;r.occurrencesHighlight!==e&&(r.occurrencesHighlight=e,r._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}return e.prototype.hasDecorations=function(){return this._decorationIds.length>0},e.prototype.restore=function(){this.occurrencesHighlight&&this._run()},e.prototype._getSortedHighlights=function(){var e=this;return d.coalesce(this._decorationIds.map(function(o){return e.model.getDecorationRange(o)}).sort(p.Range.compareRangesUsingStarts))},e.prototype.moveNext=function(){var e=this,o=this._getSortedHighlights(),t=d.firstIndex(o,function(o){return o.containsPosition(e.editor.getPosition())}),r=(t+1)%o.length,i=o[r];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(i.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(i)}finally{this._ignorePositionChangeEvent=!1}},e.prototype.moveBack=function(){var e=this,o=this._getSortedHighlights(),t=d.firstIndex(o,function(o){return o.containsPosition(e.editor.getPosition())}),r=(t-1+o.length)%o.length,i=o[r];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(i.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(i)}finally{this._ignorePositionChangeEvent=!1}},e.prototype._removeDecorations=function(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))},e.prototype._stopAll=function(){this._removeDecorations(),-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),null!==this.workerRequest&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)},e.prototype._onPositionChanged=function(e){return this.occurrencesHighlight?3!==e.reason?void this._stopAll():void this._run():void this._stopAll()},e.prototype._run=function(){var e=this,o=this.editor.getSelection();if(o.startLineNumber!==o.endLineNumber)return void this._stopAll();var t=o.startLineNumber,i=o.startColumn,n=o.endColumn,s=this.model.getWordAtPosition({lineNumber:t,column:i});if(!s||s.startColumn>i||s.endColumn<n)return void this._stopAll();var h=this.workerRequest&&this.workerRequest.isValid(this.model,o,this._decorationIds);if(this.lastCursorPositionChangeTime=(new Date).getTime(),h)this.workerRequestCompleted&&-1!==this.renderDecorationsTimer&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1,this._beginRenderDecorations());else{this._stopAll();var l=++this.workerRequestTokenId;this.workerRequestCompleted=!1,this.workerRequest=r(this.model,this.editor.getSelection(),this.editor.getConfiguration().wordSeparators),this.workerRequest.result.then(function(o){l===e.workerRequestTokenId&&(e.workerRequestCompleted=!0,e.workerRequestValue=o||[],e._beginRenderDecorations())},c.onUnexpectedError)}},e.prototype._beginRenderDecorations=function(){var e=this,o=(new Date).getTime(),t=this.lastCursorPositionChangeTime+250;o>=t?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(function(){e.renderDecorations()},t-o)},e.prototype.renderDecorations=function(){this.renderDecorationsTimer=-1;for(var o=[],t=0,r=this.workerRequestValue.length;r>t;t++){var i=this.workerRequestValue[t];o.push({range:i.range,options:e._getDecorationOptions(i.kind)})}this._decorationIds=this.editor.deltaDecorations(this._decorationIds,o),this._hasWordHighlights.set(this.hasDecorations())},e._getDecorationOptions=function(e){return e===_.DocumentHighlightKind.Write?this._WRITE_OPTIONS:e===_.DocumentHighlightKind.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS},e.prototype.dispose=function(){this._stopAll(),this.toUnhook=u.dispose(this.toUnhook)},e._WRITE_OPTIONS=w.ModelDecorationOptions.register({stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:y.themeColorFromId(o.overviewRulerWordHighlightStrongForeground),position:f.OverviewRulerLane.Center}}),e._TEXT_OPTIONS=w.ModelDecorationOptions.register({stickiness:1,className:"selectionHighlight",overviewRuler:{color:y.themeColorFromId(C.overviewRulerSelectionHighlightForeground),position:f.OverviewRulerLane.Center}}),e._REGULAR_OPTIONS=w.ModelDecorationOptions.register({stickiness:1,className:"wordHighlight",overviewRuler:{color:y.themeColorFromId(o.overviewRulerWordHighlightForeground),position:f.OverviewRulerLane.Center}}),e}(),D=function(e){function o(o,t){var r=e.call(this)||this,i=function(){o.hasModel()&&(r.wordHighligher=new T(o,t))};return r._register(o.onDidChangeModel(function(){r.wordHighligher&&(r.wordHighligher.dispose(),r.wordHighligher=null),i()})),i(),r}return n(o,e),o.get=function(e){return e.getContribution(o.ID)},o.prototype.getId=function(){return o.ID},o.prototype.saveViewState=function(){return this.wordHighligher&&this.wordHighligher.hasDecorations()?!0:!1},o.prototype.moveNext=function(){this.wordHighligher&&this.wordHighligher.moveNext()},o.prototype.moveBack=function(){this.wordHighligher&&this.wordHighligher.moveBack()},o.prototype.restoreViewState=function(e){this.wordHighligher&&e&&this.wordHighligher.restore()},o.prototype.dispose=function(){this.wordHighligher&&(this.wordHighligher.dispose(),this.wordHighligher=null),e.prototype.dispose.call(this)},o.ID="editor.contrib.wordHighlighter",o=s([h(1,H.IContextKeyService)],o)}(u.Disposable),x=function(e){function o(o,t){var r=e.call(this,t)||this;return r._isNext=o,r}return n(o,e),o.prototype.run=function(e,o){var t=D.get(o);t&&(this._isNext?t.moveNext():t.moveBack())},o}(m.EditorAction),P=function(e){function t(){return e.call(this,!0,{id:"editor.action.wordHighlight.next",label:l.localize("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:o.ctxHasWordHighlights,kbOpts:{kbExpr:v.EditorContextKeys.editorTextFocus,primary:65,weight:100}})||this}return n(t,e),t}(x),S=function(e){function t(){return e.call(this,!1,{id:"editor.action.wordHighlight.prev",label:l.localize("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:o.ctxHasWordHighlights,kbOpts:{kbExpr:v.EditorContextKeys.editorTextFocus,primary:1089,weight:100}})||this}return n(t,e),t}(x),I=function(e){function t(){return e.call(this,{id:"editor.action.wordHighlight.trigger",label:l.localize("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:o.ctxHasWordHighlights.toNegated(),kbOpts:{kbExpr:v.EditorContextKeys.editorTextFocus,primary:0,weight:100}})||this}return n(t,e),t.prototype.run=function(e,o){var t=D.get(o);t&&t.restoreViewState(!0)},t}(m.EditorAction);m.registerEditorContribution(D),m.registerEditorAction(P),m.registerEditorAction(S),m.registerEditorAction(I),y.registerThemingParticipant(function(e,t){var r=e.getColor(C.editorSelectionHighlight);r&&(t.addRule(".monaco-editor .focused .selectionHighlight { background-color: "+r+"; }"),t.addRule(".monaco-editor .selectionHighlight { background-color: "+r.transparent(.5)+"; }"));var i=e.getColor(o.editorWordHighlight);i&&t.addRule(".monaco-editor .wordHighlight { background-color: "+i+"; }");var n=e.getColor(o.editorWordHighlightStrong);n&&t.addRule(".monaco-editor .wordHighlightStrong { background-color: "+n+"; }");var s=e.getColor(C.editorSelectionHighlightBorder);s&&t.addRule(".monaco-editor .selectionHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+s+"; box-sizing: border-box; }");var h=e.getColor(o.editorWordHighlightBorder);h&&t.addRule(".monaco-editor .wordHighlight { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+h+"; box-sizing: border-box; }");var l=e.getColor(o.editorWordHighlightStrongBorder);l&&t.addRule(".monaco-editor .wordHighlightStrong { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+l+"; box-sizing: border-box; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function r(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),r=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),n=t("node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand"),i=t("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon"),d=t("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorWordOperations"),a=t("node_modules/monaco-editor/esm/vs/editor/common/controller/wordCharacterClassifier"),s=t("node_modules/monaco-editor/esm/vs/editor/common/core/position"),u=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),c=t("node_modules/monaco-editor/esm/vs/editor/common/core/selection"),l=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),m=function(t){function e(e){var o=t.call(this,e)||this;return o._inSelectionMode=e.inSelectionMode,o._wordNavigationType=e.wordNavigationType,o}return o(e,t),e.prototype.runEditorCommand=function(t,e){var o=this;if(e.hasModel()){var r=e.getConfiguration(),n=a.getMapForWordSeparators(r.wordSeparators),d=e.getModel(),u=e.getSelections(),c=u.map(function(t){var e=new s.Position(t.positionLineNumber,t.positionColumn),r=o._move(n,d,e,o._wordNavigationType);return o._moveTo(t,r,o._inSelectionMode)});if(e._getCursors().setStates("moveWordCommand",0,c.map(function(t){return i.CursorState.fromModelSelection(t)})),1===c.length){var l=new s.Position(c[0].positionLineNumber,c[0].positionColumn);e.revealPosition(l,0)}}},e.prototype._moveTo=function(t,e,o){return o?new c.Selection(t.selectionStartLineNumber,t.selectionStartColumn,e.lineNumber,e.column):new c.Selection(e.lineNumber,e.column,e.lineNumber,e.column)},e}(r.EditorCommand);e.MoveWordCommand=m;var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._move=function(t,e,o,r){return d.WordOperations.moveWordLeft(t,e,o,r)},e}(m);e.WordLeftCommand=p;var f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._move=function(t,e,o,r){return d.WordOperations.moveWordRight(t,e,o,r)},e}(m);e.WordRightCommand=f;var h=function(t){function e(){return t.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:null,kbOpts:{kbExpr:l.EditorContextKeys.textInputFocus,primary:2063,mac:{primary:527},weight:100}})||this}return o(e,t),e}(p);e.CursorWordStartLeft=h;var g=function(t){function e(){return t.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:null})||this}return o(e,t),e}(p);e.CursorWordEndLeft=g;var v=function(t){function e(){return t.call(this,{inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:null})||this}return o(e,t),e}(p);e.CursorWordLeft=v;var w=function(t){function e(){return t.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:null,kbOpts:{kbExpr:l.EditorContextKeys.textInputFocus,primary:3087,mac:{primary:1551},weight:100}})||this}return o(e,t),e}(p);e.CursorWordStartLeftSelect=w;var C=function(t){function e(){return t.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:null})||this}return o(e,t),e}(p);e.CursorWordEndLeftSelect=C;var y=function(t){function e(){return t.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordLeftSelect",precondition:null})||this}return o(e,t),e}(p);e.CursorWordLeftSelect=y;var S=function(t){function e(){return t.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:null})||this}return o(e,t),e}(f);e.CursorWordStartRight=S;var W=function(t){function e(){return t.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:null,kbOpts:{kbExpr:l.EditorContextKeys.textInputFocus,primary:2065,mac:{primary:529},weight:100}})||this}return o(e,t),e}(f);e.CursorWordEndRight=W;var E=function(t){function e(){return t.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:null})||this}return o(e,t),e}(f);e.CursorWordRight=E;var _=function(t){function e(){return t.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:null})||this}return o(e,t),e}(f);e.CursorWordStartRightSelect=_;var N=function(t){function e(){return t.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:null,kbOpts:{kbExpr:l.EditorContextKeys.textInputFocus,primary:3089,mac:{primary:1553},weight:100}})||this}return o(e,t),e}(f);e.CursorWordEndRightSelect=N;var b=function(t){function e(){return t.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:null})||this}return o(e,t),e}(f);e.CursorWordRightSelect=b;var x=function(t){function e(e){var o=t.call(this,e)||this;return o._whitespaceHeuristics=e.whitespaceHeuristics,o._wordNavigationType=e.wordNavigationType,o}return o(e,t),e.prototype.runEditorCommand=function(t,e){var o=this;if(e.hasModel()){var r=e.getConfiguration(),i=a.getMapForWordSeparators(r.wordSeparators),d=e.getModel(),s=e.getSelections(),u=s.map(function(t){var e=o._delete(i,d,t,o._whitespaceHeuristics,o._wordNavigationType);return new n.ReplaceCommand(e,"")});e.pushUndoStop(),e.executeCommands(this.id,u),e.pushUndoStop()}},e}(r.EditorCommand);e.DeleteWordCommand=x;var L=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._delete=function(t,e,o,r,n){var i=d.WordOperations.deleteWordLeft(t,e,o,r,n);return i?i:new u.Range(1,1,1,1)},e}(x);e.DeleteWordLeftCommand=L;var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._delete=function(t,e,o,r,n){var i=d.WordOperations.deleteWordRight(t,e,o,r,n);if(i)return i;var a=e.getLineCount(),s=e.getLineMaxColumn(a);return new u.Range(a,s,a,s)},e}(x);e.DeleteWordRightCommand=T;var M=function(t){function e(){return t.call(this,{whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:l.EditorContextKeys.writable})||this}return o(e,t),e}(L);e.DeleteWordStartLeft=M;var R=function(t){function e(){return t.call(this,{whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:l.EditorContextKeys.writable})||this}return o(e,t),e}(L);e.DeleteWordEndLeft=R;var O=function(t){function e(){return t.call(this,{whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:l.EditorContextKeys.writable,kbOpts:{kbExpr:l.EditorContextKeys.textInputFocus,primary:2049,mac:{primary:513},weight:100}})||this}return o(e,t),e}(L);e.DeleteWordLeft=O;var K=function(t){function e(){return t.call(this,{whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:l.EditorContextKeys.writable})||this}return o(e,t),e}(T);e.DeleteWordStartRight=K;var k=function(t){function e(){return t.call(this,{whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:l.EditorContextKeys.writable})||this}return o(e,t),e}(T);e.DeleteWordEndRight=k;var D=function(t){function e(){return t.call(this,{whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:l.EditorContextKeys.writable,kbOpts:{kbExpr:l.EditorContextKeys.textInputFocus,primary:2068,mac:{primary:532},weight:100}})||this}return o(e,t),e}(T);e.DeleteWordRight=D,r.registerEditorCommand(new h),r.registerEditorCommand(new g),r.registerEditorCommand(new v),r.registerEditorCommand(new w),r.registerEditorCommand(new C),r.registerEditorCommand(new y),r.registerEditorCommand(new S),r.registerEditorCommand(new W),r.registerEditorCommand(new E),r.registerEditorCommand(new _),r.registerEditorCommand(new N),r.registerEditorCommand(new b),r.registerEditorCommand(new M),r.registerEditorCommand(new R),r.registerEditorCommand(new O),r.registerEditorCommand(new K),r.registerEditorCommand(new k),r.registerEditorCommand(new D)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations",function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=this&&this.__extends||function(){var t=function(r,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)r.hasOwnProperty(e)&&(t[e]=r[e])})(r,e)};return function(r,e){function o(){this.constructor=r}t(r,e),r.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}(),o=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),n=t("node_modules/monaco-editor/esm/vs/editor/common/controller/cursorWordOperations"),i=t("node_modules/monaco-editor/esm/vs/editor/common/core/range"),a=t("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),d=t("node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations"),s=t("node_modules/monaco-editor/esm/vs/platform/commands/common/commands"),c=function(t){function r(){return t.call(this,{whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordPartLeft",precondition:a.EditorContextKeys.writable,kbOpts:{kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:769},weight:100}})||this}return e(r,t),r.prototype._delete=function(t,r,e,o){var a=n.WordPartOperations.deleteWordPartLeft(t,r,e,o);return a?a:new i.Range(1,1,1,1)},r}(d.DeleteWordCommand);r.DeleteWordPartLeft=c;var u=function(t){function r(){return t.call(this,{whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordPartRight",precondition:a.EditorContextKeys.writable,kbOpts:{kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:788},weight:100}})||this}return e(r,t),r.prototype._delete=function(t,r,e,o){var a=n.WordPartOperations.deleteWordPartRight(t,r,e,o);if(a)return a;var d=r.getLineCount(),s=r.getLineMaxColumn(d);return new i.Range(d,s,d,s)},r}(d.DeleteWordCommand);r.DeleteWordPartRight=u;var m=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r.prototype._move=function(t,r,e){return n.WordPartOperations.moveWordPartLeft(t,r,e)},r}(d.MoveWordCommand);r.WordPartLeftCommand=m;var p=function(t){function r(){return t.call(this,{inSelectionMode:!1,wordNavigationType:0,id:"cursorWordPartLeft",precondition:null,kbOpts:{kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:783},weight:100}})||this}return e(r,t),r}(m);r.CursorWordPartLeft=p,s.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeft","cursorWordPartLeft");var l=function(t){function r(){return t.call(this,{inSelectionMode:!0,wordNavigationType:0,id:"cursorWordPartLeftSelect",precondition:null,kbOpts:{kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1807},weight:100}})||this}return e(r,t),r}(m);r.CursorWordPartLeftSelect=l,s.CommandsRegistry.registerCommandAlias("cursorWordPartStartLeftSelect","cursorWordPartLeftSelect");var f=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return e(r,t),r.prototype._move=function(t,r,e){return n.WordPartOperations.moveWordPartRight(t,r,e)},r}(d.MoveWordCommand);r.WordPartRightCommand=f;var y=function(t){function r(){return t.call(this,{inSelectionMode:!1,wordNavigationType:2,id:"cursorWordPartRight",precondition:null,kbOpts:{kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:785},weight:100}})||this}return e(r,t),r}(f);r.CursorWordPartRight=y;var g=function(t){function r(){return t.call(this,{inSelectionMode:!0,wordNavigationType:2,id:"cursorWordPartRightSelect",precondition:null,kbOpts:{kbExpr:a.EditorContextKeys.textInputFocus,primary:0,mac:{primary:1809},weight:100}})||this}return e(r,t),r}(f);r.CursorWordPartRightSelect=g,o.registerEditorCommand(new c),o.registerEditorCommand(new u),o.registerEditorCommand(new p),o.registerEditorCommand(new l),o.registerEditorCommand(new y),o.registerEditorCommand(new g)});
;/*!node_modules/monaco-editor/esm/vs/editor/editor.all.js*/
define("node_modules/monaco-editor/esm/vs/editor/editor.all",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o("node_modules/monaco-editor/esm/vs/editor/browser/controller/coreCommands"),o("node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget"),o("node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditorWidget"),o("node_modules/monaco-editor/esm/vs/editor/browser/widget/diffNavigator"),o("node_modules/monaco-editor/esm/vs/editor/contrib/bracketMatching/bracketMatching"),o("node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/caretOperations"),o("node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/transpose"),o("node_modules/monaco-editor/esm/vs/editor/contrib/clipboard/clipboard"),o("node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeActionContributions"),o("node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelensController"),o("node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/colorDetector"),o("node_modules/monaco-editor/esm/vs/editor/contrib/comment/comment"),o("node_modules/monaco-editor/esm/vs/editor/contrib/contextmenu/contextmenu"),o("node_modules/monaco-editor/esm/vs/editor/contrib/cursorUndo/cursorUndo"),o("node_modules/monaco-editor/esm/vs/editor/contrib/dnd/dnd"),o("node_modules/monaco-editor/esm/vs/editor/contrib/find/findController"),o("node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding"),o("node_modules/monaco-editor/esm/vs/editor/contrib/fontZoom/fontZoom"),o("node_modules/monaco-editor/esm/vs/editor/contrib/format/formatActions"),o("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinitionCommands"),o("node_modules/monaco-editor/esm/vs/editor/contrib/goToDefinition/goToDefinitionMouse"),o("node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError"),o("node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover"),o("node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace"),o("node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations"),o("node_modules/monaco-editor/esm/vs/editor/contrib/links/links"),o("node_modules/monaco-editor/esm/vs/editor/contrib/multicursor/multicursor"),o("node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints"),o("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referenceSearch"),o("node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename"),o("node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/smartSelect"),o("node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2"),o("node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController"),o("node_modules/monaco-editor/esm/vs/editor/contrib/tokenization/tokenization"),o("node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode"),o("node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter"),o("node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations"),o("node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations"),o("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings")});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp",function(e,o){"use strict";function t(e,o){return e&&0!==e.length?1===e.length?o?_.format(w.AccessibilityHelpNLS.singleSelectionRange,e[0].positionLineNumber,e[0].positionColumn,o):_.format(w.AccessibilityHelpNLS.singleSelection,e[0].positionLineNumber,e[0].positionColumn):o?_.format(w.AccessibilityHelpNLS.multiSelectionRange,e.length,o):e.length>0?_.format(w.AccessibilityHelpNLS.multiSelection,e.length):"":w.AccessibilityHelpNLS.noSelection}Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function i(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}}(),s=this&&this.__decorate||function(e,o,t,i){var n,s=arguments.length,r=3>s?o:null===i?i=Object.getOwnPropertyDescriptor(o,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,o,t,i);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(r=(3>s?n(r):s>3?n(o,t,r):n(o,t))||r);return s>3&&r&&Object.defineProperty(o,t,r),r},r=this&&this.__param||function(e,o){return function(t,i){o(t,i,e)}},d=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),c=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),a=e("node_modules/monaco-editor/esm/vs/base/browser/fastDomNode"),l=e("node_modules/monaco-editor/esm/vs/base/browser/htmlContentRenderer"),m=e("node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria"),u=e("node_modules/monaco-editor/esm/vs/base/browser/ui/widget"),p=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),b=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),_=i.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),h=e("node_modules/monaco-editor/esm/vs/base/common/uri"),y=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),f=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),g=e("node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode"),N=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),v=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),S=e("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),H=e("node_modules/monaco-editor/esm/vs/platform/opener/common/opener"),D=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),A=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),w=e("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings"),L=new N.RawContextKey("accessibilityHelpWidgetVisible",!1),C=function(e){function o(o,t){var i=e.call(this)||this;return i._editor=o,i._widget=i._register(t.createInstance(I,i._editor)),i}return n(o,e),o.get=function(e){return e.getContribution(o.ID)},o.prototype.getId=function(){return o.ID},o.prototype.show=function(){this._widget.show()},o.prototype.hide=function(){this._widget.hide()},o.ID="editor.contrib.accessibilityHelpController",o=s([r(1,v.IInstantiationService)],o)}(p.Disposable),I=function(e){function o(o,t,i,n){var s=e.call(this)||this;return s._contextKeyService=t,s._keybindingService=i,s._openerService=n,s._editor=o,s._isVisibleKey=L.bindTo(s._contextKeyService),s._domNode=a.createFastDomNode(document.createElement("div")),s._domNode.setClassName("accessibilityHelpWidget"),s._domNode.setDisplay("none"),s._domNode.setAttribute("role","dialog"),s._domNode.setAttribute("aria-hidden","true"),s._contentDomNode=a.createFastDomNode(document.createElement("div")),s._contentDomNode.setAttribute("role","document"),s._domNode.appendChild(s._contentDomNode),s._isVisible=!1,s._register(s._editor.onDidLayoutChange(function(){s._isVisible&&s._layout()})),s._register(c.addStandardDisposableListener(s._contentDomNode.domNode,"keydown",function(e){if(s._isVisible&&(e.equals(2083)&&(m.alert(w.AccessibilityHelpNLS.emergencyConfOn),s._editor.updateOptions({accessibilitySupport:"on"}),c.clearNode(s._contentDomNode.domNode),s._buildContent(),s._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){m.alert(w.AccessibilityHelpNLS.openingDocs);var o=s._editor.getRawConfiguration().accessibilityHelpUrl;"undefined"==typeof o&&(o="https://go.microsoft.com/fwlink/?linkid=852450"),s._openerService.open(h.URI.parse(o)),e.preventDefault(),e.stopPropagation()}})),s.onblur(s._contentDomNode.domNode,function(){s.hide()}),s._editor.addOverlayWidget(s),s}return n(o,e),o.prototype.dispose=function(){this._editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},o.prototype.getId=function(){return o.ID},o.prototype.getDomNode=function(){return this._domNode.domNode},o.prototype.getPosition=function(){return{preference:null}},o.prototype.show=function(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())},o.prototype._descriptionForCommand=function(e,o,t){var i=this._keybindingService.lookupKeybinding(e);return i?_.format(o,i.getAriaLabel()):_.format(t,e)},o.prototype._buildContent=function(){var e=this._editor.getConfiguration(),o=this._editor.getSelections(),i=0;if(o){var n=this._editor.getModel();n&&o.forEach(function(e){i+=n.getValueLengthInRange(e)})}var s=t(o,i);s+=e.wrappingInfo.inDiffEditor?e.readOnly?w.AccessibilityHelpNLS.readonlyDiffEditor:w.AccessibilityHelpNLS.editableDiffEditor:e.readOnly?w.AccessibilityHelpNLS.readonlyEditor:w.AccessibilityHelpNLS.editableEditor;var r=b.isMacintosh?w.AccessibilityHelpNLS.changeConfigToOnMac:w.AccessibilityHelpNLS.changeConfigToOnWinLinux;switch(e.accessibilitySupport){case 0:s+="\n\n - "+r;break;case 2:s+="\n\n - "+w.AccessibilityHelpNLS.auto_on;break;case 1:s+="\n\n - "+w.AccessibilityHelpNLS.auto_off,s+=" "+r}s+=e.tabFocusMode?"\n\n - "+this._descriptionForCommand(g.ToggleTabFocusModeAction.ID,w.AccessibilityHelpNLS.tabFocusModeOnMsg,w.AccessibilityHelpNLS.tabFocusModeOnMsgNoKb):"\n\n - "+this._descriptionForCommand(g.ToggleTabFocusModeAction.ID,w.AccessibilityHelpNLS.tabFocusModeOffMsg,w.AccessibilityHelpNLS.tabFocusModeOffMsgNoKb);var d=b.isMacintosh?w.AccessibilityHelpNLS.openDocMac:w.AccessibilityHelpNLS.openDocWinLinux;s+="\n\n - "+d,s+="\n\n"+w.AccessibilityHelpNLS.outroMsg,this._contentDomNode.domNode.appendChild(l.renderFormattedText(s)),this._contentDomNode.domNode.setAttribute("aria-label",s)},o.prototype.hide=function(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,c.clearNode(this._contentDomNode.domNode),this._editor.focus())},o.prototype._layout=function(){var e=this._editor.getLayoutInfo(),t=Math.max(5,Math.min(o.WIDTH,e.width-40)),i=Math.max(5,Math.min(o.HEIGHT,e.height-40));this._domNode.setWidth(t),this._domNode.setHeight(i);var n=Math.round((e.height-i)/2);this._domNode.setTop(n);var s=Math.round((e.width-t)/2);this._domNode.setLeft(s)},o.ID="editor.contrib.accessibilityHelpWidget",o.WIDTH=500,o.HEIGHT=300,o=s([r(1,N.IContextKeyService),r(2,S.IKeybindingService),r(3,H.IOpenerService)],o)}(u.Widget),M=function(e){function o(){return e.call(this,{id:"editor.action.showAccessibilityHelp",label:w.AccessibilityHelpNLS.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:null,kbOpts:{kbExpr:f.EditorContextKeys.focus,primary:d.isIE?2107:571,weight:100}})||this}return n(o,e),o.prototype.run=function(e,o){var t=C.get(o);t&&t.show()},o}(y.EditorAction);y.registerEditorContribution(C),y.registerEditorAction(M);var x=y.EditorCommand.bindToContribution(C.get);y.registerEditorCommand(new x({id:"closeAccessibilityHelp",precondition:L,handler:function(e){return e.hide()},kbOpts:{weight:200,kbExpr:f.EditorContextKeys.focus,primary:9,secondary:[1033]}})),A.registerThemingParticipant(function(e,o){var t=e.getColor(D.editorWidgetBackground);t&&o.addRule(".monaco-editor .accessibilityHelpWidget { background-color: "+t+"; }");var i=e.getColor(D.widgetShadow);i&&o.addRule(".monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px "+i+"; }");var n=e.getColor(D.contrastBorder);n&&o.addRule(".monaco-editor .accessibilityHelpWidget { border: 2px solid "+n+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard",function(o,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=o("node_modules/tslib/tslib"),i=e.__importStar(o("node_modules/monaco-editor/esm/vs/base/browser/browser")),s=e.__importStar(o("node_modules/monaco-editor/esm/vs/base/browser/dom")),d=o("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),n=function(){function o(o){var t=this;this.editor=o,this.toDispose=[],i.isIPad&&(this.toDispose.push(o.onDidChangeConfiguration(function(){return t.update()})),this.update())}return o.prototype.update=function(){var o=!this.editor.getConfiguration().readOnly;!this.widget&&o?this.widget=new a(this.editor):this.widget&&!o&&(this.widget.dispose(),this.widget=null)},o.prototype.getId=function(){return o.ID},o.prototype.dispose=function(){this.toDispose=d.dispose(this.toDispose),this.widget&&(this.widget.dispose(),this.widget=null)},o.ID="editor.contrib.iPadShowKeyboard",o}();t.IPadShowKeyboard=n;var a=function(){function o(o){var t=this;this.editor=o,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._toDispose=[],this._toDispose.push(s.addDisposableListener(this._domNode,"touchstart",function(){t.editor.focus()})),this._toDispose.push(s.addDisposableListener(this._domNode,"focus",function(){t.editor.focus()})),this.editor.addOverlayWidget(this)}return o.prototype.dispose=function(){this.editor.removeOverlayWidget(this),this._toDispose=d.dispose(this._toDispose)},o.prototype.getId=function(){return o.ID},o.prototype.getDomNode=function(){return this._domNode},o.prototype.getPosition=function(){return{preference:1}},o.ID="editor.contrib.ShowKeyboardWidget",o}();r.registerEditorContribution(n)});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens",function(e,t){"use strict";function o(e){for(var t="",o=0,n=e.length;n>o;o++){var r=e.charCodeAt(o);switch(r){case 9:t+="&rarr;";break;case 32:t+="&middot;";break;case 60:t+="&lt;";break;case 62:t+="&gt;";break;case 38:t+="&amp;";break;default:t+=String.fromCharCode(r)}}return t}function n(e){var t=l.TokenizationRegistry.get(e.language);return t?t:{getInitialState:function(){return m.NULL_STATE},tokenize:function(t,o,n){return m.nullTokenize(e.language,t,o,n)},tokenize2:function(t,o,n){return m.nullTokenize2(e.id,t,o,n)}}}Object.defineProperty(t,"__esModule",{value:!0});var r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),i=this&&this.__decorate||function(e,t,o,n){var r,i=arguments.length,a=3>i?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(3>i?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},a=this&&this.__param||function(e,t){return function(o,n){t(o,n,e)}},s=e("node_modules/monaco-editor/esm/vs/base/common/color"),d=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),c=e("node_modules/monaco-editor/esm/vs/base/common/strings"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),l=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode"),g=e("node_modules/monaco-editor/esm/vs/editor/common/services/modeService"),p=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/standaloneThemeService"),f=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),_=e("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),h=e("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings"),k=function(e){function t(t,o,n){var r=e.call(this)||this;return r._editor=t,r._modeService=n,r._widget=null,r._register(r._editor.onDidChangeModel(function(){return r.stop()})),r._register(r._editor.onDidChangeModelLanguage(function(){return r.stop()})),r._register(l.TokenizationRegistry.onDidChange(function(){return r.stop()})),r}return r(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.getId=function(){return t.ID},t.prototype.dispose=function(){this.stop(),e.prototype.dispose.call(this)},t.prototype.launch=function(){this._widget||this._editor.hasModel()&&(this._widget=new y(this._editor,this._modeService))},t.prototype.stop=function(){this._widget&&(this._widget.dispose(),this._widget=null)},t.ID="editor.contrib.inspectTokens",t=i([a(1,p.IStandaloneThemeService),a(2,g.IModeService)],t)}(d.Disposable),v=function(e){function t(){return e.call(this,{id:"editor.action.inspectTokens",label:h.InspectTokensNLS.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:null})||this}return r(t,e),t.prototype.run=function(e,t){var o=k.get(t);o&&o.launch()},t}(u.EditorAction),y=function(e){function t(t,o){var r=e.call(this)||this;return r.allowEditorOverflow=!0,r._editor=t,r._modeService=o,r._model=r._editor.getModel(),r._domNode=document.createElement("div"),r._domNode.className="tokens-inspect-widget",r._tokenizationSupport=n(r._model.getLanguageIdentifier()),r._compute(r._editor.getPosition()),r._register(r._editor.onDidChangeCursorPosition(function(){return r._compute(r._editor.getPosition())})),r._editor.addContentWidget(r),r}return r(t,e),t.prototype.dispose=function(){this._editor.removeContentWidget(this),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t._ID},t.prototype._compute=function(e){for(var t=this._getTokensAtLine(e.lineNumber),n=0,r=t.tokens1.length-1;r>=0;r--){var i=t.tokens1[r];if(e.column-1>=i.offset){n=r;break}}for(var a=0,r=t.tokens2.length>>>1;r>=0;r--)if(e.column-1>=t.tokens2[r<<1]){a=r;break}var d="",u=this._model.getLineContent(e.lineNumber),l="";if(n<t.tokens1.length){var m=t.tokens1[n].offset,g=n+1<t.tokens1.length?t.tokens1[n+1].offset:u.length;l=u.substring(m,g)}d+='<h2 class="tm-token">'+o(l)+'<span class="tm-token-length">('+l.length+" "+(1===l.length?"char":"chars")+")</span></h2>",d+='<hr class="tokens-inspect-separator" style="clear:both"/>';var p=this._decodeMetadata(t.tokens2[(a<<1)+1]);d+='<table class="tm-metadata-table"><tbody>',d+='<tr><td class="tm-metadata-key">language</td><td class="tm-metadata-value">'+c.escape(p.languageIdentifier.language)+"</td>",d+='<tr><td class="tm-metadata-key">token type</td><td class="tm-metadata-value">'+this._tokenTypeToString(p.tokenType)+"</td>",d+='<tr><td class="tm-metadata-key">font style</td><td class="tm-metadata-value">'+this._fontStyleToString(p.fontStyle)+"</td>",d+='<tr><td class="tm-metadata-key">foreground</td><td class="tm-metadata-value">'+s.Color.Format.CSS.formatHex(p.foreground)+"</td>",d+='<tr><td class="tm-metadata-key">background</td><td class="tm-metadata-value">'+s.Color.Format.CSS.formatHex(p.background)+"</td>",d+="</tbody></table>",d+='<hr class="tokens-inspect-separator"/>',n<t.tokens1.length&&(d+='<span class="tm-token-type">'+c.escape(t.tokens1[n].type)+"</span>"),this._domNode.innerHTML=d,this._editor.layoutContentWidget(this)},t.prototype._decodeMetadata=function(e){var t=l.TokenizationRegistry.getColorMap(),o=l.TokenMetadata.getLanguageId(e),n=l.TokenMetadata.getTokenType(e),r=l.TokenMetadata.getFontStyle(e),i=l.TokenMetadata.getForeground(e),a=l.TokenMetadata.getBackground(e);return{languageIdentifier:this._modeService.getLanguageIdentifier(o),tokenType:n,fontStyle:r,foreground:t[i],background:t[a]}},t.prototype._tokenTypeToString=function(e){switch(e){case 0:return"Other";case 1:return"Comment";case 2:return"String";case 4:return"RegEx"}return"??"},t.prototype._fontStyleToString=function(e){var t="";return 1&e&&(t+="italic "),2&e&&(t+="bold "),4&e&&(t+="underline "),0===t.length&&(t="---"),t},t.prototype._getTokensAtLine=function(e){var t=this._getStateBeforeLine(e),o=this._tokenizationSupport.tokenize(this._model.getLineContent(e),t,0),n=this._tokenizationSupport.tokenize2(this._model.getLineContent(e),t,0);return{startState:t,tokens1:o.tokens,tokens2:n.tokens,endState:o.endState}},t.prototype._getStateBeforeLine=function(e){for(var t=this._tokenizationSupport.getInitialState(),o=1;e>o;o++){var n=this._tokenizationSupport.tokenize(this._model.getLineContent(o),t,0);t=n.endState}return t},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return{position:this._editor.getPosition(),preference:[2,1]}},t._ID="editor.contrib.inspectTokensWidget",t}(d.Disposable);u.registerEditorContribution(k),u.registerEditorAction(v),_.registerThemingParticipant(function(e,t){var o=e.getColor(f.editorHoverBorder);if(o){var n=e.type===_.HIGH_CONTRAST?2:1;t.addRule(".monaco-editor .tokens-inspect-widget { border: "+n+"px solid "+o+"; }"),t.addRule(".monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: "+o+"; }")}var r=e.getColor(f.editorHoverBackground);r&&t.addRule(".monaco-editor .tokens-inspect-widget { background-color: "+r+"; }")})});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/keybindingLabel/keybindingLabel.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/keybindingLabel/keybindingLabel",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),t=e("node_modules/monaco-editor/esm/vs/base/common/objects"),i=e("node_modules/monaco-editor/esm/vs/base/common/keybindingLabels"),r=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),s=e("node_modules/monaco-editor/esm/vs/nls"),d=r.$,a=function(){function e(e,o,n){this.os=o,this.options=n,this.domNode=r.append(e,d(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}return e.prototype.set=function(o,n){this.didEverRender&&this.keybinding===o&&e.areSame(this.matches,n)||(this.keybinding=o,this.matches=n,this.render())},e.prototype.render=function(){if(r.clearNode(this.domNode),this.keybinding){var e=this.keybinding.getParts(),o=e[0],n=e[1];o&&this.renderPart(this.domNode,o,this.matches?this.matches.firstPart:null),n&&(r.append(this.domNode,d("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,n,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0},e.prototype.renderPart=function(e,o,n){var t=i.UILabelProvider.modifierLabels[this.os];o.ctrlKey&&this.renderKey(e,t.ctrlKey,Boolean(n&&n.ctrlKey),t.separator),o.shiftKey&&this.renderKey(e,t.shiftKey,Boolean(n&&n.shiftKey),t.separator),o.altKey&&this.renderKey(e,t.altKey,Boolean(n&&n.altKey),t.separator),o.metaKey&&this.renderKey(e,t.metaKey,Boolean(n&&n.metaKey),t.separator);var r=o.keyLabel;r&&this.renderKey(e,r,Boolean(n&&n.keyCode),"")},e.prototype.renderKey=function(e,o,n,t){r.append(e,d("span.monaco-keybinding-key"+(n?".highlight":""),void 0,o)),t&&r.append(e,d("span.monaco-keybinding-key-separator",void 0,t))},e.prototype.renderUnbound=function(e){r.append(e,d("span.monaco-keybinding-key",void 0,s.localize("unbound","Unbound")))},e.areSame=function(e,o){return e===o||!e&&!o?!0:!!e&&!!o&&t.equals(e.firstPart,o.firstPart)&&t.equals(e.chordPart,o.chordPart)},e}();o.KeybindingLabel=a});
;/*!node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenModel.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenModel",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=t("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=n.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),i=n.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/types")),s=t("node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel"),l=t("node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar"),a=t("node_modules/monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel"),u=n.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),p=t("node_modules/monaco-editor/esm/vs/base/browser/ui/keybindingLabel/keybindingLabel"),c=t("node_modules/monaco-editor/esm/vs/base/common/platform"),d=t("node_modules/monaco-editor/esm/vs/base/common/arrays"),h=0,g=function(){function t(t){void 0===t&&(t=[]),this.id=(h++).toString(),this.labelHighlights=t,this.descriptionHighlights=[]}return t.prototype.getId=function(){return this.id},t.prototype.getLabel=function(){return null},t.prototype.getLabelOptions=function(){return null},t.prototype.getAriaLabel=function(){return d.coalesce([this.getLabel(),this.getDescription(),this.getDetail()]).join(", ")},t.prototype.getDetail=function(){return null},t.prototype.getIcon=function(){return null},t.prototype.getDescription=function(){return null},t.prototype.getTooltip=function(){return null},t.prototype.getDescriptionTooltip=function(){return null},t.prototype.getKeybinding=function(){return null},t.prototype.isHidden=function(){return this.hidden},t.prototype.setHighlights=function(t,e,n){this.labelHighlights=t,this.descriptionHighlights=e,this.detailHighlights=n},t.prototype.getHighlights=function(){return[this.labelHighlights,this.descriptionHighlights,this.detailHighlights]},t.prototype.run=function(){return!1},t}();e.QuickOpenEntry=g;var y=function(t){function e(e,n,o){var r=t.call(this)||this;return r.entry=e,r.groupLabel=n,r.withBorder=o,r}return o(e,t),e.prototype.getGroupLabel=function(){return this.groupLabel},e.prototype.setGroupLabel=function(t){this.groupLabel=t},e.prototype.showBorder=function(){return!!this.withBorder},e.prototype.setShowBorder=function(t){this.withBorder=t},e.prototype.getLabel=function(){return this.entry?this.entry.getLabel():t.prototype.getLabel.call(this)},e.prototype.getLabelOptions=function(){return this.entry?this.entry.getLabelOptions():t.prototype.getLabelOptions.call(this)},e.prototype.getAriaLabel=function(){return this.entry?this.entry.getAriaLabel():t.prototype.getAriaLabel.call(this)},e.prototype.getDetail=function(){return this.entry?this.entry.getDetail():t.prototype.getDetail.call(this)},e.prototype.getIcon=function(){return this.entry?this.entry.getIcon():t.prototype.getIcon.call(this)},e.prototype.getDescription=function(){return this.entry?this.entry.getDescription():t.prototype.getDescription.call(this)},e.prototype.getHighlights=function(){return this.entry?this.entry.getHighlights():t.prototype.getHighlights.call(this)},e.prototype.isHidden=function(){return this.entry?this.entry.isHidden():t.prototype.isHidden.call(this)},e.prototype.setHighlights=function(e,n,o){this.entry?this.entry.setHighlights(e,n,o):t.prototype.setHighlights.call(this,e,n,o)},e.prototype.run=function(e,n){return this.entry?this.entry.run(e,n):t.prototype.run.call(this,e,n)},e}(g);e.QuickOpenEntryGroup=y;var b=function(){function t(){}return t.prototype.hasActions=function(){return!1},t.prototype.getActions=function(){return null},t}(),f="quickOpenEntry",m="quickOpenEntryGroup",v=function(){function t(t,e){void 0===t&&(t=new b),this.actionProvider=t,this.actionRunner=e}return t.prototype.getHeight=function(t){return t.getDetail()?44:22},t.prototype.getTemplateId=function(t){return t instanceof y?m:f},t.prototype.renderTemplate=function(t,e){var n=document.createElement("div");u.addClass(n,"sub-content"),e.appendChild(n);var o=u.$(".quick-open-row"),r=u.$(".quick-open-row"),i=u.$(".quick-open-entry",void 0,o,r);n.appendChild(i);var d=document.createElement("span");o.appendChild(d);var h=new s.IconLabel(o,{supportHighlights:!0,supportDescriptionHighlights:!0}),g=document.createElement("span");o.appendChild(g),u.addClass(g,"quick-open-entry-keybinding");var y=new p.KeybindingLabel(g,c.OS),b=document.createElement("div");r.appendChild(b),u.addClass(b,"quick-open-entry-meta");var f,v=new a.HighlightedLabel(b,!0);t===m&&(f=document.createElement("div"),u.addClass(f,"results-group"),e.appendChild(f)),u.addClass(e,"actions");var _=document.createElement("div");u.addClass(_,"primary-action-bar"),e.appendChild(_);var L=new l.ActionBar(_,{actionRunner:this.actionRunner});return{container:e,entry:i,icon:d,label:h,detail:v,keybinding:y,group:f,actionBar:L}},t.prototype.renderElement=function(t,e,n,o){this.actionProvider.hasActions(null,t)?u.addClass(n.container,"has-actions"):u.removeClass(n.container,"has-actions"),n.actionBar.context=t;var r=this.actionProvider.getActions(null,t);if(n.actionBar.isEmpty()&&r&&r.length>0?n.actionBar.push(r,{icon:!0,label:!1}):n.actionBar.isEmpty()||r&&0!==r.length||n.actionBar.clear(),t instanceof y&&t.getGroupLabel()?u.addClass(n.container,"has-group-label"):u.removeClass(n.container,"has-group-label"),t instanceof y){var s=t,l=n;s.showBorder()?(u.addClass(l.container,"results-group-separator"),o.pickerGroupBorder&&(l.container.style.borderTopColor=o.pickerGroupBorder.toString())):(u.removeClass(l.container,"results-group-separator"),l.container.style.borderTopColor=null);var a=s.getGroupLabel()||"";l.group&&(l.group.textContent=a,o.pickerGroupForeground&&(l.group.style.color=o.pickerGroupForeground.toString()))}if(t instanceof g){var p=t.getHighlights(),c=p[0],d=p[1],h=p[2],b=t.getIcon()?"quick-open-entry-icon "+t.getIcon():"";n.icon.className=b;var f=t.getLabelOptions()||Object.create(null);f.matches=c||[],f.title=i.withNullAsUndefined(t.getTooltip()),f.descriptionTitle=t.getDescriptionTooltip()||i.withNullAsUndefined(t.getDescription()),f.descriptionMatches=d||[],n.label.setLabel(i.withNullAsUndefined(t.getLabel()),i.withNullAsUndefined(t.getDescription()),f),n.detail.set(i.withNullAsUndefined(t.getDetail()),h),n.keybinding.set(t.getKeybinding())}},t.prototype.disposeTemplate=function(t,e){e.actionBar.dispose(),e.actionBar=null,e.container=null,e.entry=null,e.keybinding=null,e.detail=null,e.group=null,e.icon=null,e.label.dispose(),e.label=null},t}(),_=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=new b),this._entries=t,this._dataSource=this,this._renderer=new v(e),this._filter=this,this._runner=this,this._accessibilityProvider=this}return Object.defineProperty(t.prototype,"entries",{get:function(){return this._entries},set:function(t){this._entries=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataSource",{get:function(){return this._dataSource},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderer",{get:function(){return this._renderer},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"runner",{get:function(){return this._runner},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"accessibilityProvider",{get:function(){return this._accessibilityProvider},enumerable:!0,configurable:!0}),t.prototype.getId=function(t){return t.getId()},t.prototype.getLabel=function(t){return t.getLabel()},t.prototype.getAriaLabel=function(t){var e=t.getAriaLabel();return e?r.localize("quickOpenAriaLabelEntry","{0}, picker",t.getAriaLabel()):r.localize("quickOpenAriaLabel","picker")},t.prototype.isVisible=function(t){return!t.isHidden()},t.prototype.run=function(t,e,n){return t.run(e,n)},t}();e.QuickOpenModel=_});
;/*!node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenViewer.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenViewer",function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t=e("node_modules/monaco-editor/esm/vs/base/common/types"),o=function(){function e(e){this.modelProvider=t.isFunction(e.getModel)?e:{getModel:function(){return e}}}return e.prototype.getId=function(e,r){if(!r)return null;var t=this.modelProvider.getModel();return t===r?"__root__":t.dataSource.getId(r)},e.prototype.hasChildren=function(e,r){var t=this.modelProvider.getModel();return!!(t&&t===r&&t.entries.length>0)},e.prototype.getChildren=function(e,r){var t=this.modelProvider.getModel();return Promise.resolve(t===r?t.entries:[])},e.prototype.getParent=function(){return Promise.resolve(null)},e}();r.DataSource=o;var i=function(){function e(e){this.modelProvider=e}return e.prototype.getAriaLabel=function(e,r){var t=this.modelProvider.getModel();return t.accessibilityProvider?t.accessibilityProvider.getAriaLabel(r):null},e.prototype.getPosInSet=function(e,r){var t=this.modelProvider.getModel(),o=0;if(t.filter)for(var i=0,n=t.entries;i<n.length;i++){var d=n[i];if(t.filter.isVisible(d)&&o++,d===r)break}else o=t.entries.indexOf(r)+1;return String(o)},e.prototype.getSetSize=function(){var e=this.modelProvider.getModel(),r=0;if(e.filter)for(var t=0,o=e.entries;t<o.length;t++){var i=o[t];e.filter.isVisible(i)&&r++}else r=e.entries.length;return String(r)},e}();r.AccessibilityProvider=i;var n=function(){function e(e){this.modelProvider=e}return e.prototype.isVisible=function(e,r){var t=this.modelProvider.getModel();return t.filter?t.filter.isVisible(r):!0},e}();r.Filter=n;var d=function(){function e(e,r){this.modelProvider=e,this.styles=r}return e.prototype.updateStyles=function(e){this.styles=e},e.prototype.getHeight=function(e,r){var t=this.modelProvider.getModel();return t.renderer.getHeight(r)},e.prototype.getTemplateId=function(e,r){var t=this.modelProvider.getModel();return t.renderer.getTemplateId(r)},e.prototype.renderTemplate=function(e,r,t){var o=this.modelProvider.getModel();return o.renderer.renderTemplate(r,t,this.styles)},e.prototype.renderElement=function(e,r,t,o){var i=this.modelProvider.getModel();i.renderer.renderElement(r,t,o,this.styles)},e.prototype.disposeTemplate=function(e,r,t){var o=this.modelProvider.getModel();o.renderer.disposeTemplate(r,t)},e}();r.Renderer=d});
;/*!node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeDefaults.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeDefaults",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),n=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),r=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/errors")),i=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),c=e("node_modules/monaco-editor/esm/vs/base/common/keyCodes"),a=function(){function e(){this._arr=[]}return e.prototype.set=function(e,o){this._arr.push({keybinding:c.createKeybinding(e,n.OS),callback:o})},e.prototype.dispatch=function(e){for(var o=this._arr.length-1;o>=0;o--){var t=this._arr[o];if(e.toChord().equals(t.keybinding))return t.callback}return null},e}();o.KeybindingDispatcher=a;var s=function(){function e(e){var o=this;void 0===e&&(e={clickBehavior:0,keyboardSupport:!0,openMode:0}),this.options=e,this.downKeyBindingDispatcher=new a,this.upKeyBindingDispatcher=new a,("boolean"!=typeof e.keyboardSupport||e.keyboardSupport)&&(this.downKeyBindingDispatcher.set(16,function(e,t){return o.onUp(e,t)}),this.downKeyBindingDispatcher.set(18,function(e,t){return o.onDown(e,t)}),this.downKeyBindingDispatcher.set(15,function(e,t){return o.onLeft(e,t)}),this.downKeyBindingDispatcher.set(17,function(e,t){return o.onRight(e,t)}),n.isMacintosh&&(this.downKeyBindingDispatcher.set(2064,function(e,t){return o.onLeft(e,t)}),this.downKeyBindingDispatcher.set(300,function(e,t){return o.onDown(e,t)}),this.downKeyBindingDispatcher.set(302,function(e,t){return o.onUp(e,t)})),this.downKeyBindingDispatcher.set(11,function(e,t){return o.onPageUp(e,t)}),this.downKeyBindingDispatcher.set(12,function(e,t){return o.onPageDown(e,t)}),this.downKeyBindingDispatcher.set(14,function(e,t){return o.onHome(e,t)}),this.downKeyBindingDispatcher.set(13,function(e,t){return o.onEnd(e,t)}),this.downKeyBindingDispatcher.set(10,function(e,t){return o.onSpace(e,t)}),this.downKeyBindingDispatcher.set(9,function(e,t){return o.onEscape(e,t)}),this.upKeyBindingDispatcher.set(3,this.onEnter.bind(this)),this.upKeyBindingDispatcher.set(2051,this.onEnter.bind(this)))}return e.prototype.onMouseDown=function(e,o,t,n){if(void 0===n&&(n="mouse"),0===this.options.clickBehavior&&(t.leftButton||t.middleButton)){if(t.target){if(t.target.tagName&&"input"===t.target.tagName.toLowerCase())return!1;if(i.findParentWithClass(t.target,"scrollbar","monaco-tree"))return!1;if(i.findParentWithClass(t.target,"monaco-action-bar","row"))return!1}return this.onLeftClick(e,o,t,n)}return!1},e.prototype.onClick=function(e,o,t){var r=n.isMacintosh;return r&&t.ctrlKey?(t.preventDefault(),t.stopPropagation(),!1):t.target&&t.target.tagName&&"input"===t.target.tagName.toLowerCase()?!1:0===this.options.clickBehavior&&(t.leftButton||t.middleButton)?!1:this.onLeftClick(e,o,t)},e.prototype.onLeftClick=function(e,o,t,n){void 0===n&&(n="mouse");var i=t,c={origin:n,originalEvent:t,didClickOnTwistie:this.isClickOnTwistie(i)};if(e.getInput()===o)e.clearFocus(c),e.clearSelection(c);else{var a=t&&i.browserEvent&&"mousedown"===i.browserEvent.type&&1===i.browserEvent.detail;a||t.preventDefault(),t.stopPropagation(),e.domFocus(),e.setSelection([o],c),e.setFocus(o,c),this.shouldToggleExpansion(o,i,n)&&(e.isExpanded(o)?e.collapse(o).then(void 0,r.onUnexpectedError):e.expand(o).then(void 0,r.onUnexpectedError))}return!0},e.prototype.shouldToggleExpansion=function(e,o,t){var n="mouse"===t&&2===o.detail;return this.openOnSingleClick||n||this.isClickOnTwistie(o)},Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return 0===this.options.openMode},enumerable:!0,configurable:!0}),e.prototype.isClickOnTwistie=function(e){var o=e.target;if(!i.hasClass(o,"content"))return!1;var t=window.getComputedStyle(o,":before");if("none"===t.backgroundImage||"none"===t.display)return!1;var n=parseInt(t.width)+parseInt(t.paddingRight);return e.browserEvent.offsetX<=n},e.prototype.onContextMenu=function(e,o,t){return t.target&&t.target.tagName&&"input"===t.target.tagName.toLowerCase()?!1:(t&&(t.preventDefault(),t.stopPropagation()),!1)},e.prototype.onTap=function(e,o,t){var n=t.initialTarget;return n&&n.tagName&&"input"===n.tagName.toLowerCase()?!1:this.onLeftClick(e,o,t,"touch")},e.prototype.onKeyDown=function(e,o){return this.onKey(this.downKeyBindingDispatcher,e,o)},e.prototype.onKeyUp=function(e,o){return this.onKey(this.upKeyBindingDispatcher,e,o)},e.prototype.onKey=function(e,o,t){var n=e.dispatch(t.toKeybinding());return n&&n(o,t)?(t.preventDefault(),t.stopPropagation(),!0):!1},e.prototype.onUp=function(e,o){var t={origin:"keyboard",originalEvent:o};return e.getHighlight()?e.clearHighlight(t):(e.focusPrevious(1,t),e.reveal(e.getFocus()).then(void 0,r.onUnexpectedError)),!0},e.prototype.onPageUp=function(e,o){var t={origin:"keyboard",originalEvent:o};return e.getHighlight()?e.clearHighlight(t):(e.focusPreviousPage(t),e.reveal(e.getFocus()).then(void 0,r.onUnexpectedError)),!0},e.prototype.onDown=function(e,o){var t={origin:"keyboard",originalEvent:o};return e.getHighlight()?e.clearHighlight(t):(e.focusNext(1,t),e.reveal(e.getFocus()).then(void 0,r.onUnexpectedError)),!0},e.prototype.onPageDown=function(e,o){var t={origin:"keyboard",originalEvent:o};return e.getHighlight()?e.clearHighlight(t):(e.focusNextPage(t),e.reveal(e.getFocus()).then(void 0,r.onUnexpectedError)),!0},e.prototype.onHome=function(e,o){var t={origin:"keyboard",originalEvent:o};return e.getHighlight()?e.clearHighlight(t):(e.focusFirst(t),e.reveal(e.getFocus()).then(void 0,r.onUnexpectedError)),!0},e.prototype.onEnd=function(e,o){var t={origin:"keyboard",originalEvent:o};return e.getHighlight()?e.clearHighlight(t):(e.focusLast(t),e.reveal(e.getFocus()).then(void 0,r.onUnexpectedError)),!0},e.prototype.onLeft=function(e,o){var t={origin:"keyboard",originalEvent:o};if(e.getHighlight())e.clearHighlight(t);else{var n=e.getFocus();e.collapse(n).then(function(o){return n&&!o?(e.focusParent(t),e.reveal(e.getFocus())):void 0}).then(void 0,r.onUnexpectedError)}return!0},e.prototype.onRight=function(e,o){var t={origin:"keyboard",originalEvent:o};if(e.getHighlight())e.clearHighlight(t);else{var n=e.getFocus();e.expand(n).then(function(o){return n&&!o?(e.focusFirstChild(t),e.reveal(e.getFocus())):void 0}).then(void 0,r.onUnexpectedError)}return!0},e.prototype.onEnter=function(e,o){var t={origin:"keyboard",originalEvent:o};if(e.getHighlight())return!1;var n=e.getFocus();return n&&e.setSelection([n],t),!0},e.prototype.onSpace=function(e){if(e.getHighlight())return!1;var o=e.getFocus();return o&&e.toggleExpansion(o),!0},e.prototype.onEscape=function(e,o){var t={origin:"keyboard",originalEvent:o};return e.getHighlight()?(e.clearHighlight(t),!0):e.getSelection().length?(e.clearSelection(t),!0):e.getFocus()?(e.clearFocus(t),!0):!1},e}();o.DefaultController=s;var u=function(){function e(){}return e.prototype.getDragURI=function(){return null},e.prototype.onDragStart=function(){},e.prototype.onDragOver=function(){return null},e.prototype.drop=function(){},e}();o.DefaultDragAndDrop=u;var l=function(){function e(){}return e.prototype.isVisible=function(){return!0},e}();o.DefaultFilter=l;var d=function(){function e(){}return e.prototype.getAriaLabel=function(){return null},e}();o.DefaultAccessibilityProvider=d;var g=function(){function e(e,o){this.styleElement=e,this.selectorSuffix=o}return e.prototype.style=function(e){var o=this.selectorSuffix?"."+this.selectorSuffix:"",t=[];e.listFocusBackground&&t.push(".monaco-tree"+o+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { background-color: "+e.listFocusBackground+"; }"),e.listFocusForeground&&t.push(".monaco-tree"+o+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { color: "+e.listFocusForeground+"; }"),e.listActiveSelectionBackground&&t.push(".monaco-tree"+o+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+e.listActiveSelectionBackground+"; }"),e.listActiveSelectionForeground&&t.push(".monaco-tree"+o+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+e.listActiveSelectionForeground+"; }"),e.listFocusAndSelectionBackground&&t.push("\n .monaco-tree-drag-image,\n .monaco-tree"+o+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { background-color: "+e.listFocusAndSelectionBackground+"; }\n "),e.listFocusAndSelectionForeground&&t.push("\n .monaco-tree-drag-image,\n .monaco-tree"+o+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { color: "+e.listFocusAndSelectionForeground+"; }\n "),e.listInactiveSelectionBackground&&t.push(".monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+e.listInactiveSelectionBackground+"; }"),e.listInactiveSelectionForeground&&t.push(".monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+e.listInactiveSelectionForeground+"; }"),e.listHoverBackground&&t.push(".monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { background-color: "+e.listHoverBackground+"; }"),e.listHoverForeground&&t.push(".monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { color: "+e.listHoverForeground+"; }"),e.listDropBackground&&t.push("\n .monaco-tree"+o+" .monaco-tree-wrapper.drop-target,\n .monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row.drop-target { background-color: "+e.listDropBackground+" !important; color: inherit !important; }\n "),e.listFocusOutline&&t.push("\n .monaco-tree-drag-image { border: 1px solid "+e.listFocusOutline+"; background: #000; }\n .monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row { border: 1px solid transparent; }\n .monaco-tree"+o+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { border: 1px dotted "+e.listFocusOutline+"; }\n .monaco-tree"+o+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { border: 1px solid "+e.listFocusOutline+"; }\n .monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { border: 1px solid "+e.listFocusOutline+"; }\n .monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { border: 1px dashed "+e.listFocusOutline+"; }\n .monaco-tree"+o+" .monaco-tree-wrapper.drop-target,\n .monaco-tree"+o+" .monaco-tree-rows > .monaco-tree-row.drop-target { border: 1px dashed "+e.listFocusOutline+"; }\n ");var n=t.join("\n");n!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=n)},e}();o.DefaultTreestyler=g});
;/*!node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeModel.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeModel",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/tslib/tslib"),s=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}(),n=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/assert")),o=t("node_modules/monaco-editor/esm/vs/base/common/errors"),r=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),h=t("node_modules/monaco-editor/esm/vs/base/common/event"),d=function(){function t(t){this._onDispose=new h.Emitter,this.onDispose=this._onDispose.event,this._item=t}return Object.defineProperty(t.prototype,"item",{get:function(){return this._item},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._onDispose&&(this._onDispose.fire(),this._onDispose.dispose(),this._onDispose=void 0)},t}();e.LockData=d;var l=function(){function t(){this.locks=Object.create({})}return t.prototype.isLocked=function(t){return!!this.locks[t.id]},t.prototype.run=function(t,e){var i=this,s=this.getLock(t);if(s)return new Promise(function(n,o){h.Event.once(s.onDispose)(function(){return i.run(t,e).then(n,o)})});var n;return new Promise(function(s,o){if(t.isDisposed())return o(new Error("Item is disposed."));var r=i.locks[t.id]=new d(t);return n=e().then(function(e){return delete i.locks[t.id],r.dispose(),e}).then(s,o)})},t.prototype.getLock=function(t){var e;for(e in this.locks){var i=this.locks[e];if(t.intersects(i.item))return i}return null},t}();e.Lock=l;var a=function(){function t(){this._isDisposed=!1,this._onDidRevealItem=new h.EventMultiplexer,this.onDidRevealItem=this._onDidRevealItem.event,this._onExpandItem=new h.EventMultiplexer,this.onExpandItem=this._onExpandItem.event,this._onDidExpandItem=new h.EventMultiplexer,this.onDidExpandItem=this._onDidExpandItem.event,this._onCollapseItem=new h.EventMultiplexer,this.onCollapseItem=this._onCollapseItem.event,this._onDidCollapseItem=new h.EventMultiplexer,this.onDidCollapseItem=this._onDidCollapseItem.event,this._onDidAddTraitItem=new h.EventMultiplexer,this.onDidAddTraitItem=this._onDidAddTraitItem.event,this._onDidRemoveTraitItem=new h.EventMultiplexer,this.onDidRemoveTraitItem=this._onDidRemoveTraitItem.event,this._onDidRefreshItem=new h.EventMultiplexer,this.onDidRefreshItem=this._onDidRefreshItem.event,this._onRefreshItemChildren=new h.EventMultiplexer,this.onRefreshItemChildren=this._onRefreshItemChildren.event,this._onDidRefreshItemChildren=new h.EventMultiplexer,this.onDidRefreshItemChildren=this._onDidRefreshItemChildren.event,this._onDidDisposeItem=new h.EventMultiplexer,this.onDidDisposeItem=this._onDidDisposeItem.event,this.items={}}return t.prototype.register=function(t){n.ok(!this.isRegistered(t.id),"item already registered: "+t.id);var e=r.combinedDisposable([this._onDidRevealItem.add(t.onDidReveal),this._onExpandItem.add(t.onExpand),this._onDidExpandItem.add(t.onDidExpand),this._onCollapseItem.add(t.onCollapse),this._onDidCollapseItem.add(t.onDidCollapse),this._onDidAddTraitItem.add(t.onDidAddTrait),this._onDidRemoveTraitItem.add(t.onDidRemoveTrait),this._onDidRefreshItem.add(t.onDidRefresh),this._onRefreshItemChildren.add(t.onRefreshChildren),this._onDidRefreshItemChildren.add(t.onDidRefreshChildren),this._onDidDisposeItem.add(t.onDidDispose)]);this.items[t.id]={item:t,disposable:e}},t.prototype.deregister=function(t){n.ok(this.isRegistered(t.id),"item not registered: "+t.id),this.items[t.id].disposable.dispose(),delete this.items[t.id]},t.prototype.isRegistered=function(t){return this.items.hasOwnProperty(t)},t.prototype.getItem=function(t){var e=this.items[t];return e?e.item:null},t.prototype.dispose=function(){this.items=null,this._onDidRevealItem.dispose(),this._onExpandItem.dispose(),this._onDidExpandItem.dispose(),this._onCollapseItem.dispose(),this._onDidCollapseItem.dispose(),this._onDidAddTraitItem.dispose(),this._onDidRemoveTraitItem.dispose(),this._onDidRefreshItem.dispose(),this._onRefreshItemChildren.dispose(),this._onDidRefreshItemChildren.dispose(),this._isDisposed=!0},t.prototype.isDisposed=function(){return this._isDisposed},t}();e.ItemRegistry=a;var p=function(){function t(t,e,i,s,n){this._onDidCreate=new h.Emitter,this._onDidReveal=new h.Emitter,this.onDidReveal=this._onDidReveal.event,this._onExpand=new h.Emitter,this.onExpand=this._onExpand.event,this._onDidExpand=new h.Emitter,this.onDidExpand=this._onDidExpand.event,this._onCollapse=new h.Emitter,this.onCollapse=this._onCollapse.event,this._onDidCollapse=new h.Emitter,this.onDidCollapse=this._onDidCollapse.event,this._onDidAddTrait=new h.Emitter,this.onDidAddTrait=this._onDidAddTrait.event,this._onDidRemoveTrait=new h.Emitter,this.onDidRemoveTrait=this._onDidRemoveTrait.event,this._onDidRefresh=new h.Emitter,this.onDidRefresh=this._onDidRefresh.event,this._onRefreshChildren=new h.Emitter,this.onRefreshChildren=this._onRefreshChildren.event,this._onDidRefreshChildren=new h.Emitter,this.onDidRefreshChildren=this._onDidRefreshChildren.event,this._onDidDispose=new h.Emitter,this.onDidDispose=this._onDidDispose.event,this.registry=e,this.context=i,this.lock=s,this.element=n,this.id=t,this.registry.register(this),this.doesHaveChildren=this.context.dataSource.hasChildren(this.context.tree,this.element),this.needsChildrenRefresh=!0,this.parent=null,this.previous=null,this.next=null,this.firstChild=null,this.lastChild=null,this.traits={},this.depth=0,this.expanded=!(!this.context.dataSource.shouldAutoexpand||!this.context.dataSource.shouldAutoexpand(this.context.tree,n)),this._onDidCreate.fire(this),this.visible=this._isVisible(),this.height=this._getHeight(),this._isDisposed=!1}return t.prototype.getElement=function(){return this.element},t.prototype.hasChildren=function(){return this.doesHaveChildren},t.prototype.getDepth=function(){return this.depth},t.prototype.isVisible=function(){return this.visible},t.prototype.setVisible=function(t){this.visible=t},t.prototype.isExpanded=function(){return this.expanded},t.prototype._setExpanded=function(t){this.expanded=t},t.prototype.reveal=function(t){void 0===t&&(t=null);var e={item:this,relativeTop:t};this._onDidReveal.fire(e)},t.prototype.expand=function(){var t=this;if(this.isExpanded()||!this.doesHaveChildren||this.lock.isLocked(this))return Promise.resolve(!1);var e=this.lock.run(this,function(){if(t.isExpanded()||!t.doesHaveChildren)return Promise.resolve(!1);var e,i={item:t};return t._onExpand.fire(i),e=t.needsChildrenRefresh?t.refreshChildren(!1,!0,!0):Promise.resolve(null),e.then(function(){return t._setExpanded(!0),t._onDidExpand.fire(i),!0})});return e.then(function(e){return t.isDisposed()?!1:t.context.options.autoExpandSingleChildren&&e&&null!==t.firstChild&&t.firstChild===t.lastChild&&t.firstChild.isVisible()?t.firstChild.expand().then(function(){return!0}):e})},t.prototype.collapse=function(t){var e=this;if(void 0===t&&(t=!1),t){var i=Promise.resolve(null);return this.forEachChild(function(t){i=i.then(function(){return t.collapse(!0)})}),i.then(function(){return e.collapse(!1)})}return!this.isExpanded()||this.lock.isLocked(this)?Promise.resolve(!1):this.lock.run(this,function(){var t={item:e};return e._onCollapse.fire(t),e._setExpanded(!1),e._onDidCollapse.fire(t),Promise.resolve(!0)})},t.prototype.addTrait=function(t){var e={item:this,trait:t};this.traits[t]=!0,this._onDidAddTrait.fire(e)},t.prototype.removeTrait=function(t){var e={item:this,trait:t};delete this.traits[t],this._onDidRemoveTrait.fire(e)},t.prototype.hasTrait=function(t){return this.traits[t]||!1},t.prototype.getAllTraits=function(){var t,e=[];for(t in this.traits)this.traits.hasOwnProperty(t)&&this.traits[t]&&e.push(t);return e},t.prototype.getHeight=function(){return this.height},t.prototype.refreshChildren=function(e,i,s){var n=this;if(void 0===i&&(i=!1),void 0===s&&(s=!1),!s&&!this.isExpanded()){var r=function(t){t.needsChildrenRefresh=!0,t.forEachChild(r)};return r(this),Promise.resolve(this)}this.needsChildrenRefresh=!1;var h=function(){var s={item:n,isNested:i};n._onRefreshChildren.fire(s);var r;r=n.doesHaveChildren?n.context.dataSource.getChildren(n.context.tree,n.element):Promise.resolve([]);var h=r.then(function(i){if(n.isDisposed()||n.registry.isDisposed())return Promise.resolve(null);if(!Array.isArray(i))return Promise.reject(new Error("Please return an array of children."));i=i?i.slice(0):[],i=n.sort(i);for(var s={};null!==n.firstChild;)s[n.firstChild.id]=n.firstChild,n.removeChild(n.firstChild);for(var o=0,r=i.length;r>o;o++){var h=i[o],d=n.context.dataSource.getId(n.context.tree,h),l=s[d]||new t(d,n.registry,n.context,n.lock,h);l.element=h,e&&(l.needsChildrenRefresh=e),delete s[d],n.addChild(l)}for(var a in s)s.hasOwnProperty(a)&&s[a].dispose();return Promise.all(e?n.mapEachChild(function(t){return t.doRefresh(e,!0)}):n.mapEachChild(function(t){return t.isExpanded()&&t.needsChildrenRefresh?t.doRefresh(e,!0):(t.updateVisibility(),Promise.resolve(null))}))});return h.then(void 0,o.onUnexpectedError).then(function(){return n._onDidRefreshChildren.fire(s)})};return i?h():this.lock.run(this,h)},t.prototype.doRefresh=function(t,e){return void 0===e&&(e=!1),this.doesHaveChildren=this.context.dataSource.hasChildren(this.context.tree,this.element),this.height=this._getHeight(),this.updateVisibility(),this._onDidRefresh.fire(this),this.refreshChildren(t,e)},t.prototype.updateVisibility=function(){this.setVisible(this._isVisible())},t.prototype.refresh=function(t){return this.doRefresh(t)},t.prototype.getNavigator=function(){return new f(this)},t.prototype.intersects=function(t){return this.isAncestorOf(t)||t.isAncestorOf(this)},t.prototype.isAncestorOf=function(t){for(var e=t;e;){if(e.id===this.id)return!0;e=e.parent}return!1},t.prototype.addChild=function(t,e){void 0===e&&(e=this.lastChild);var i=null===this.firstChild,s=null===e,n=e===this.lastChild;if(i)this.firstChild=this.lastChild=t,t.next=t.previous=null;else if(s){if(!this.firstChild)throw new Error("Invalid tree state");this.firstChild.previous=t,t.next=this.firstChild,t.previous=null,this.firstChild=t}else if(n){if(!this.lastChild)throw new Error("Invalid tree state");this.lastChild.next=t,t.next=null,t.previous=this.lastChild,this.lastChild=t}else{if(t.previous=e,!e)throw new Error("Invalid tree state");if(t.next=e.next,!e.next)throw new Error("Invalid tree state");e.next.previous=t,e.next=t}t.parent=this,t.depth=this.depth+1},t.prototype.removeChild=function(t){var e=this.firstChild===t,i=this.lastChild===t;if(e&&i)this.firstChild=this.lastChild=null;else if(e){if(!t.next)throw new Error("Invalid tree state");t.next.previous=null,this.firstChild=t.next}else if(i){if(!t.previous)throw new Error("Invalid tree state");t.previous.next=null,this.lastChild=t.previous}else{if(!t.next)throw new Error("Invalid tree state");if(t.next.previous=t.previous,!t.previous)throw new Error("Invalid tree state");t.previous.next=t.next}t.parent=null,t.depth=0/0},t.prototype.forEachChild=function(t){for(var e,i=this.firstChild;i;)e=i.next,t(i),i=e},t.prototype.mapEachChild=function(t){var e=[];return this.forEachChild(function(i){e.push(t(i))}),e},t.prototype.sort=function(t){var e=this,i=this.context.sorter;return i?t.sort(function(t,s){return i.compare(e.context.tree,t,s)}):t},t.prototype._getHeight=function(){return this.context.renderer?this.context.renderer.getHeight(this.context.tree,this.element):0},t.prototype._isVisible=function(){return this.context.filter?this.context.filter.isVisible(this.context.tree,this.element):!1},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.dispose=function(){this.forEachChild(function(t){return t.dispose()}),this.parent=null,this.previous=null,this.next=null,this.firstChild=null,this.lastChild=null,this._onDidDispose.fire(this),this.registry.deregister(this),this._onDidCreate.dispose(),this._onDidReveal.dispose(),this._onExpand.dispose(),this._onDidExpand.dispose(),this._onCollapse.dispose(),this._onDidCollapse.dispose(),this._onDidAddTrait.dispose(),this._onDidRemoveTrait.dispose(),this._onDidRefresh.dispose(),this._onRefreshChildren.dispose(),this._onDidRefreshChildren.dispose(),this._onDidDispose.dispose(),this._isDisposed=!0},t}();e.Item=p;var u=function(t){function e(e,i,s,n,o){return t.call(this,e,i,s,n,o)||this}return s(e,t),e.prototype.isVisible=function(){return!1},e.prototype.setVisible=function(){},e.prototype.isExpanded=function(){return!0},e.prototype._setExpanded=function(){},e.prototype._getHeight=function(){return 0},e.prototype._isVisible=function(){return!1},e}(p),f=function(){function t(t,e){void 0===e&&(e=!0),this.item=t,this.start=e?t:null}return t.lastDescendantOf=function(e){return e?e instanceof u?t.lastDescendantOf(e.lastChild):e.isVisible()?e.isExpanded()&&null!==e.lastChild?t.lastDescendantOf(e.lastChild):e:t.lastDescendantOf(e.previous):null},t.prototype.current=function(){return this.item||null},t.prototype.next=function(){if(this.item)do if((this.item instanceof u||this.item.isVisible()&&this.item.isExpanded())&&this.item.firstChild)this.item=this.item.firstChild;else if(this.item===this.start)this.item=null;else{for(;this.item&&this.item!==this.start&&!this.item.next;)this.item=this.item.parent;this.item===this.start&&(this.item=null),this.item=this.item?this.item.next:null}while(this.item&&!this.item.isVisible());return this.item||null},t.prototype.previous=function(){if(this.item)do{var e=t.lastDescendantOf(this.item.previous);this.item=e?e:this.item.parent&&this.item.parent!==this.start&&this.item.parent.isVisible()?this.item.parent:null}while(this.item&&!this.item.isVisible());return this.item||null},t.prototype.parent=function(){if(this.item){var t=this.item.parent;this.item=t&&t!==this.start&&t.isVisible()?t:null}return this.item||null},t.prototype.first=function(){return this.item=this.start,this.next(),this.item||null},t.prototype.last=function(){return t.lastDescendantOf(this.start)},t}();e.TreeNavigator=f;var m=function(){function t(t){this._onSetInput=new h.Emitter,this.onSetInput=this._onSetInput.event,this._onDidSetInput=new h.Emitter,this.onDidSetInput=this._onDidSetInput.event,this._onRefresh=new h.Emitter,this.onRefresh=this._onRefresh.event,this._onDidRefresh=new h.Emitter,this.onDidRefresh=this._onDidRefresh.event,this._onDidHighlight=new h.Emitter,this.onDidHighlight=this._onDidHighlight.event,this._onDidSelect=new h.Emitter,this.onDidSelect=this._onDidSelect.event,this._onDidFocus=new h.Emitter,this.onDidFocus=this._onDidFocus.event,this._onDidRevealItem=new h.Relay,this.onDidRevealItem=this._onDidRevealItem.event,this._onExpandItem=new h.Relay,this.onExpandItem=this._onExpandItem.event,this._onDidExpandItem=new h.Relay,this.onDidExpandItem=this._onDidExpandItem.event,this._onCollapseItem=new h.Relay,this.onCollapseItem=this._onCollapseItem.event,this._onDidCollapseItem=new h.Relay,this.onDidCollapseItem=this._onDidCollapseItem.event,this._onDidAddTraitItem=new h.Relay,this.onDidAddTraitItem=this._onDidAddTraitItem.event,this._onDidRemoveTraitItem=new h.Relay,this.onDidRemoveTraitItem=this._onDidRemoveTraitItem.event,this._onDidRefreshItem=new h.Relay,this.onDidRefreshItem=this._onDidRefreshItem.event,this._onRefreshItemChildren=new h.Relay,this.onRefreshItemChildren=this._onRefreshItemChildren.event,this._onDidRefreshItemChildren=new h.Relay,this.onDidRefreshItemChildren=this._onDidRefreshItemChildren.event,this._onDidDisposeItem=new h.Relay,this.context=t,this.input=null,this.traitsToItems={}}return t.prototype.setInput=function(t){var e=this,i={item:this.input};this._onSetInput.fire(i),this.setSelection([]),this.setFocus(),this.setHighlight(),this.lock=new l,this.input&&this.input.dispose(),this.registry&&(this.registry.dispose(),this.registryDisposable.dispose()),this.registry=new a,this._onDidRevealItem.input=this.registry.onDidRevealItem,this._onExpandItem.input=this.registry.onExpandItem,this._onDidExpandItem.input=this.registry.onDidExpandItem,this._onCollapseItem.input=this.registry.onCollapseItem,this._onDidCollapseItem.input=this.registry.onDidCollapseItem,this._onDidAddTraitItem.input=this.registry.onDidAddTraitItem,this._onDidRemoveTraitItem.input=this.registry.onDidRemoveTraitItem,this._onDidRefreshItem.input=this.registry.onDidRefreshItem,this._onRefreshItemChildren.input=this.registry.onRefreshItemChildren,this._onDidRefreshItemChildren.input=this.registry.onDidRefreshItemChildren,this._onDidDisposeItem.input=this.registry.onDidDisposeItem,this.registryDisposable=this.registry.onDidDisposeItem(function(t){return t.getAllTraits().forEach(function(i){return delete e.traitsToItems[i][t.id]})});var s=this.context.dataSource.getId(this.context.tree,t);return this.input=new u(s,this.registry,this.context,this.lock,t),i={item:this.input},this._onDidSetInput.fire(i),this.refresh(this.input)},t.prototype.getInput=function(){return this.input?this.input.getElement():null},t.prototype.refresh=function(t,e){var i=this;void 0===t&&(t=null),void 0===e&&(e=!0);var s=this.getItem(t);if(!s)return Promise.resolve(null);var n={item:s,recursive:e};return this._onRefresh.fire(n),s.refresh(e).then(function(){i._onDidRefresh.fire(n)})},t.prototype.expand=function(t){var e=this.getItem(t);return e?e.expand():Promise.resolve(!1)},t.prototype.collapse=function(t,e){void 0===e&&(e=!1);var i=this.getItem(t);return i?i.collapse(e):Promise.resolve(!1)},t.prototype.toggleExpansion=function(t,e){return void 0===e&&(e=!1),this.isExpanded(t)?this.collapse(t,e):this.expand(t)},t.prototype.isExpanded=function(t){var e=this.getItem(t);return e?e.isExpanded():!1},t.prototype.reveal=function(t,e){var i=this;return void 0===e&&(e=null),this.resolveUnknownParentChain(t).then(function(t){var e=Promise.resolve(null);return t.forEach(function(t){e=e.then(function(){return i.expand(t)})}),e}).then(function(){var s=i.getItem(t);return s?s.reveal(e):void 0})},t.prototype.resolveUnknownParentChain=function(t){var e=this;return this.context.dataSource.getParent(this.context.tree,t).then(function(t){return t?e.resolveUnknownParentChain(t).then(function(e){return e.push(t),e}):Promise.resolve([])})},t.prototype.setHighlight=function(t,e){this.setTraits("highlighted",t?[t]:[]);var i={highlight:this.getHighlight(),payload:e};this._onDidHighlight.fire(i)},t.prototype.getHighlight=function(t){void 0===t&&(t=!1);var e=this.getElementsWithTrait("highlighted",t);return 0===e.length?null:e[0]},t.prototype.setSelection=function(t,e){this.setTraits("selected",t);var i={selection:this.getSelection(),payload:e};this._onDidSelect.fire(i)},t.prototype.getSelection=function(t){return void 0===t&&(t=!1),this.getElementsWithTrait("selected",t)},t.prototype.setFocus=function(t,e){this.setTraits("focused",t?[t]:[]);var i={focus:this.getFocus(),payload:e};this._onDidFocus.fire(i)},t.prototype.getFocus=function(t){void 0===t&&(t=!1);var e=this.getElementsWithTrait("focused",t);return 0===e.length?null:e[0]},t.prototype.focusNext=function(t,e){void 0===t&&(t=1);for(var i,s=this.getFocus()||this.input,n=this.getNavigator(s,!1),o=0;t>o&&(i=n.next(),i);o++)s=i;this.setFocus(s,e)},t.prototype.focusPrevious=function(t,e){void 0===t&&(t=1);for(var i,s=this.getFocus()||this.input,n=this.getNavigator(s,!1),o=0;t>o&&(i=n.previous(),i);o++)s=i;this.setFocus(s,e)},t.prototype.focusParent=function(t){var e=this.getFocus()||this.input,i=this.getNavigator(e,!1),s=i.parent();s&&this.setFocus(s,t)},t.prototype.focusFirstChild=function(t){var e=this.getItem(this.getFocus()||this.input),i=this.getNavigator(e,!1),s=i.next(),n=i.parent();n===e&&this.setFocus(s,t)},t.prototype.focusFirst=function(t,e){this.focusNth(0,t,e)},t.prototype.focusNth=function(t,e,i){for(var s=this.getParent(i),n=this.getNavigator(s),o=n.first(),r=0;t>r;r++)o=n.next();o&&this.setFocus(o,e)},t.prototype.focusLast=function(t,e){var i,s=this.getParent(e);if(e&&s)i=s.lastChild;else{var n=this.getNavigator(s);i=n.last()}i&&this.setFocus(i,t)},t.prototype.getParent=function(t){if(t){var e=this.getItem(t);if(e&&e.parent)return e.parent}return this.getItem(this.input)},t.prototype.getNavigator=function(t,e){return void 0===t&&(t=null),void 0===e&&(e=!0),new f(this.getItem(t),e)},t.prototype.getItem=function(t){return void 0===t&&(t=null),null===t?this.input:t instanceof p?t:this.registry.getItem("string"==typeof t?t:this.context.dataSource.getId(this.context.tree,t))},t.prototype.removeTraits=function(t,e){var i,s,n=this.traitsToItems[t]||{};if(0===e.length){for(s in n)n.hasOwnProperty(s)&&(i=n[s],i.removeTrait(t));delete this.traitsToItems[t]}else for(var o=0,r=e.length;r>o;o++)i=this.getItem(e[o]),i&&(i.removeTrait(t),delete n[i.id])},t.prototype.setTraits=function(t,e){if(0===e.length)this.removeTraits(t,e);else{for(var i={},s=void 0,n=0,o=e.length;o>n;n++)s=this.getItem(e[n]),s&&(i[s.id]=s);var r=this.traitsToItems[t]||{},h=[],d=void 0;for(d in r)r.hasOwnProperty(d)&&(i.hasOwnProperty(d)?delete i[d]:h.push(r[d]));for(var n=0,o=h.length;o>n;n++)s=h[n],s.removeTrait(t),delete r[s.id];for(d in i)i.hasOwnProperty(d)&&(s=i[d],s.addTrait(t),r[d]=s);this.traitsToItems[t]=r}},t.prototype.getElementsWithTrait=function(t,e){var i,s=[],n=this.traitsToItems[t]||{};for(i in n)n.hasOwnProperty(i)&&(n[i].isVisible()||e)&&s.push(n[i].getElement());return s},t.prototype.dispose=function(){this.registry&&(this.registry.dispose(),this.registry=null),this._onSetInput.dispose(),this._onDidSetInput.dispose(),this._onRefresh.dispose(),this._onDidRefresh.dispose(),this._onDidHighlight.dispose(),this._onDidSelect.dispose(),this._onDidFocus.dispose(),this._onDidRevealItem.dispose(),this._onExpandItem.dispose(),this._onDidExpandItem.dispose(),this._onCollapseItem.dispose(),this._onDidCollapseItem.dispose(),this._onDidAddTraitItem.dispose(),this._onDidRemoveTraitItem.dispose(),this._onDidRefreshItem.dispose(),this._onRefreshItemChildren.dispose(),this._onDidRefreshItemChildren.dispose(),this._onDidDisposeItem.dispose()},t}();e.TreeModel=m});
;/*!node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeDnd.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeDnd",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.elements=t}return t.prototype.update=function(){},t.prototype.getData=function(){return this.elements},t}();e.ElementsDragAndDropData=n;var s=function(){function t(t){this.elements=t}return t.prototype.update=function(){},t.prototype.getData=function(){return this.elements},t}();e.ExternalElementsDragAndDropData=s;var r=function(){function t(){this.types=[],this.files=[]}return t.prototype.update=function(t){t.types&&(this.types=[],Array.prototype.push.apply(this.types,t.types)),t.files&&(this.files=[],Array.prototype.push.apply(this.files,t.files),this.files=this.files.filter(function(t){return t.size||t.type}))},t.prototype.getData=function(){return{types:this.types,files:this.files}},t}();e.DesktopDragAndDropData=r});
;/*!node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeViewModel.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeViewModel",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/monaco-editor/esm/vs/base/common/iterator"),h=function(){function t(){this.heightMap=[],this.indexes={}}return t.prototype.getContentHeight=function(){var t=this.heightMap[this.heightMap.length-1];return t?t.top+t.height:0},t.prototype.onInsertItems=function(t,e){void 0===e&&(e=null);var i,h,o,n,s=null,r=0;if(null===e)h=0,n=0;else{if(h=this.indexes[e]+1,i=this.heightMap[h-1],!i)return void console.error("view item doesnt exist");n=i.top+i.height}for(var p=this.heightMap.splice.bind(this.heightMap,h,0),l=[];s=t.next();)i=this.createViewItem(s),i.top=n+r,this.indexes[s.id]=h++,l.push(i),r+=i.height;for(p.apply(this.heightMap,l),o=h;o<this.heightMap.length;o++)i=this.heightMap[o],i.top+=r,this.indexes[i.model.id]=o;for(o=l.length-1;o>=0;o--)this.onInsertItem(l[o]);for(o=this.heightMap.length-1;o>=h;o--)this.onRefreshItem(this.heightMap[o]);return r},t.prototype.onInsertItem=function(){},t.prototype.onRemoveItems=function(t){for(var e,i=null,h=null,o=0,n=0;i=t.next();){if(o=this.indexes[i],e=this.heightMap[o],!e)return void console.error("view item doesnt exist");n-=e.height,delete this.indexes[i],this.onRemoveItem(e),null===h&&(h=o)}if(0!==n&&null!==h)for(this.heightMap.splice(h,o-h+1),o=h;o<this.heightMap.length;o++)e=this.heightMap[o],e.top+=n,this.indexes[e.model.id]=o,this.onRefreshItem(e)},t.prototype.onRemoveItem=function(){},t.prototype.onRefreshItemSet=function(t){var e=this,h=t.sort(function(t,i){return e.indexes[t.id]-e.indexes[i.id]});this.onRefreshItems(new i.ArrayIterator(h))},t.prototype.onRefreshItems=function(t){for(var e,i,h,o=null,n=null,s=0;o=t.next();){for(h=this.indexes[o.id];0!==s&&null!==n&&h>n;n++)e=this.heightMap[n],e.top+=s,this.onRefreshItem(e);e=this.heightMap[h],i=o.getHeight(),e.top+=s,s+=i-e.height,e.height=i,this.onRefreshItem(e,!0),n=h+1}if(0!==s&&null!==n)for(;n<this.heightMap.length;n++)e=this.heightMap[n],e.top+=s,this.onRefreshItem(e)},t.prototype.onRefreshItem=function(t,e){void 0===e&&(e=!1)},t.prototype.indexAt=function(t){for(var e,i,h=0,o=this.heightMap.length;o>h;)if(e=Math.floor((h+o)/2),i=this.heightMap[e],t<i.top)o=e;else{if(!(t>=i.top+i.height))return e;if(h===e)break;h=e}return this.heightMap.length},t.prototype.indexAfter=function(t){return Math.min(this.indexAt(t)+1,this.heightMap.length)},t.prototype.itemAtIndex=function(t){return this.heightMap[t]},t.prototype.itemAfter=function(t){return this.heightMap[this.indexes[t.model.id]+1]||null},t.prototype.createViewItem=function(){throw new Error("not implemented")},t.prototype.dispose=function(){this.heightMap=[],this.indexes={}},t}();e.HeightMap=h});
;/*!node_modules/monaco-editor/esm/vs/base/parts/tree/browser/tree.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/tree",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),o=function(){function t(t,e,n){this._posx=t,this._posy=e,this._target=n}return t.prototype.preventDefault=function(){},t.prototype.stopPropagation=function(){},Object.defineProperty(t.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),t}();e.ContextMenuEvent=o;var r=function(t){function e(e){var n=t.call(this,e.posx,e.posy,e.target)||this;return n.originalEvent=e,n}return n(e,t),e.prototype.preventDefault=function(){this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},e}(o);e.MouseContextMenuEvent=r;var i=function(t){function e(e,n,o){var r=t.call(this,e,n,o.target)||this;return r.originalEvent=o,r}return n(e,t),e.prototype.preventDefault=function(){this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},e}(o);e.KeyboardContextMenuEvent=i});
;/*!node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeView.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeView",function(e,t){"use strict";function o(e){try{e.parentElement.removeChild(e)}catch(t){}}function r(e,t){return e||t?e&&t?e.accept!==t.accept?!1:e.bubble!==t.bubble?!1:e.effect!==t.effect?!1:!0:!1:!0}Object.defineProperty(t,"__esModule",{value:!0});var n=e("node_modules/tslib/tslib"),i=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),s=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/platform")),a=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/browser")),l=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/lifecycle")),d=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/dom")),h=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/diff/diff")),c=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/touch")),p=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),u=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent")),m=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent")),g=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeDnd")),f=e("node_modules/monaco-editor/esm/vs/base/common/iterator"),D=e("node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement"),v=e("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeViewModel"),y=n.__importStar(e("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/tree")),w=e("node_modules/monaco-editor/esm/vs/base/common/event"),b=e("node_modules/monaco-editor/esm/vs/base/browser/dnd"),I=e("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeDefaults"),x=e("node_modules/monaco-editor/esm/vs/base/common/async"),T=function(){function e(e){this.context=e,this._cache={"":[]}}return e.prototype.alloc=function(e){var t=this.cache(e).pop();if(!t){var o=document.createElement("div");o.className="content";var r=document.createElement("div");r.appendChild(o);var n=null;try{n=this.context.renderer.renderTemplate(this.context.tree,e,o)}catch(i){console.error("Tree usage error: exception while rendering template"),console.error(i)}t={element:r,templateId:e,templateData:n}}return t},e.prototype.release=function(e,t){o(t.element),this.cache(e).push(t)},e.prototype.cache=function(e){return this._cache[e]||(this._cache[e]=[])},e.prototype.garbageCollect=function(){var e=this;this._cache&&Object.keys(this._cache).forEach(function(t){e._cache[t].forEach(function(o){e.context.renderer.disposeTemplate(e.context.tree,t,o.templateData),o.element=null,o.templateData=null}),delete e._cache[t]})},e.prototype.dispose=function(){this.garbageCollect(),this._cache=null},e}();t.RowCache=T;var S=function(){function e(e,t){var o=this;this.width=0,this.unbindDragStart=l.Disposable.None,this.context=e,this.model=t,this.id=this.model.id,this.row=null,this.top=0,this.height=t.getHeight(),this._styles={},t.getAllTraits().forEach(function(e){return o._styles[e]=!0}),t.isExpanded()&&this.addClass("expanded")}return Object.defineProperty(e.prototype,"expanded",{set:function(e){e?this.addClass("expanded"):this.removeClass("expanded")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loading",{set:function(e){e?this.addClass("loading"):this.removeClass("loading")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this._draggable},set:function(e){this._draggable=e,this.render(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropTarget",{set:function(e){e?this.addClass("drop-target"):this.removeClass("drop-target")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.row&&this.row.element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"templateId",{get:function(){return this._templateId||(this._templateId=this.context.renderer.getTemplateId&&this.context.renderer.getTemplateId(this.context.tree,this.model.getElement()))},enumerable:!0,configurable:!0}),e.prototype.addClass=function(e){this._styles[e]=!0,this.render(!0)},e.prototype.removeClass=function(e){delete this._styles[e],this.render(!0)},e.prototype.render=function(e){var t=this;if(void 0===e&&(e=!1),this.model&&this.element){var o=["monaco-tree-row"];o.push.apply(o,Object.keys(this._styles)),this.model.hasChildren()&&o.push("has-children"),this.element.className=o.join(" "),this.element.draggable=this.draggable,this.element.style.height=this.height+"px",this.element.setAttribute("role","treeitem");var r=this.context.accessibilityProvider,n=r.getAriaLabel(this.context.tree,this.model.getElement());if(n&&this.element.setAttribute("aria-label",n),r.getPosInSet&&r.getSetSize&&(this.element.setAttribute("aria-setsize",r.getSetSize()),this.element.setAttribute("aria-posinset",r.getPosInSet(this.context.tree,this.model.getElement()))),this.model.hasTrait("focused")){var i=p.safeBtoa(this.model.id);this.element.setAttribute("aria-selected","true"),this.element.setAttribute("id",i)}else this.element.setAttribute("aria-selected","false"),this.element.removeAttribute("id");this.model.hasChildren()?this.element.setAttribute("aria-expanded",String(!!this._styles.expanded)):this.element.removeAttribute("aria-expanded"),this.element.setAttribute("aria-level",String(this.model.getDepth())),this.context.options.paddingOnRow?this.element.style.paddingLeft=this.context.options.twistiePixels+(this.model.getDepth()-1)*this.context.options.indentPixels+"px":(this.element.style.paddingLeft=(this.model.getDepth()-1)*this.context.options.indentPixels+"px",this.row.element.firstElementChild.style.paddingLeft=this.context.options.twistiePixels+"px");var s=this.context.dnd.getDragURI(this.context.tree,this.model.getElement());if(s!==this.uri&&(this.unbindDragStart&&this.unbindDragStart.dispose(),s?(this.uri=s,this.draggable=!0,this.unbindDragStart=d.addDisposableListener(this.element,"dragstart",function(e){t.onDragStart(e)})):this.uri=null),!e&&this.element){var a=0;if(this.context.horizontalScrolling){var l=window.getComputedStyle(this.element);a=parseFloat(l.paddingLeft)}this.context.horizontalScrolling&&(this.element.style.width="fit-content");try{this.context.renderer.renderElement(this.context.tree,this.model.getElement(),this.templateId,this.row.templateData)}catch(h){console.error("Tree usage error: exception while rendering element"),console.error(h)}this.context.horizontalScrolling&&(this.width=d.getContentWidth(this.element)+a,this.element.style.width="")}}},e.prototype.insertInDOM=function(e,t){if(this.row||(this.row=this.context.cache.alloc(this.templateId),this.element[C.BINDING]=this),!this.element.parentElement){if(null===t)e.appendChild(this.element);else try{e.insertBefore(this.element,t)}catch(o){console.warn("Failed to locate previous tree element"),e.appendChild(this.element)}this.render()}},e.prototype.removeFromDOM=function(){this.row&&(this.unbindDragStart.dispose(),this.uri=null,this.element[C.BINDING]=null,this.context.cache.release(this.templateId,this.row),this.row=null)},e.prototype.dispose=function(){this.row=null},e}();t.ViewItem=S;var E=function(e){function t(t,o,r){var n=e.call(this,t,o)||this;return n.row={element:r,templateData:null,templateId:null},n}return i(t,e),t.prototype.render=function(){if(this.model&&this.element){var e=["monaco-tree-wrapper"];e.push.apply(e,Object.keys(this._styles)),this.model.hasChildren()&&e.push("has-children"),this.element.className=e.join(" ")}},t.prototype.insertInDOM=function(){},t.prototype.removeFromDOM=function(){},t}(S),C=function(e){function t(o,r){var n=e.call(this)||this;n.model=null,n.lastClickTimeStamp=0,n.contentWidthUpdateDelayer=new x.Delayer(50),n.isRefreshing=!1,n.refreshingPreviousChildrenIds={},n.currentDragAndDropData=null,n.currentDropTarget=null,n.currentDropTargets=null,n.currentDropDisposable=l.Disposable.None,n.dragAndDropScrollInterval=null,n.dragAndDropScrollTimeout=null,n.dragAndDropMouseY=null,n.onHiddenScrollTop=null,n._onDOMFocus=new w.Emitter,n._onDOMBlur=new w.Emitter,n._onDidScroll=new w.Emitter,t.counter++,n.instance=t.counter;var i="undefined"==typeof o.options.horizontalScrollMode?2:o.options.horizontalScrollMode;n.horizontalScrolling=2!==i,n.context={dataSource:o.dataSource,renderer:o.renderer,controller:o.controller,dnd:o.dnd,filter:o.filter,sorter:o.sorter,tree:o.tree,accessibilityProvider:o.accessibilityProvider,options:o.options,cache:new T(o),horizontalScrolling:n.horizontalScrolling},n.modelListeners=[],n.viewListeners=[],n.items={},n.domNode=document.createElement("div"),n.domNode.className="monaco-tree no-focused-item monaco-tree-instance-"+n.instance,n.domNode.tabIndex=o.options.preventRootFocus?-1:0,n.styleElement=d.createStyleSheet(n.domNode),n.treeStyler=o.styler||new I.DefaultTreestyler(n.styleElement,"monaco-tree-instance-"+n.instance),n.domNode.setAttribute("role","tree"),n.context.options.ariaLabel&&n.domNode.setAttribute("aria-label",n.context.options.ariaLabel),n.context.options.alwaysFocused&&d.addClass(n.domNode,"focused"),n.context.options.paddingOnRow||d.addClass(n.domNode,"no-row-padding"),n.wrapper=document.createElement("div"),n.wrapper.className="monaco-tree-wrapper",n.scrollableElement=new D.ScrollableElement(n.wrapper,{alwaysConsumeMouseWheel:!0,horizontal:i,vertical:"undefined"!=typeof o.options.verticalScrollMode?o.options.verticalScrollMode:1,useShadows:o.options.useShadows}),n.scrollableElement.onScroll(function(e){n.render(e.scrollTop,e.height,e.scrollLeft,e.width,e.scrollWidth),n._onDidScroll.fire()}),a.isIE?(n.wrapper.style.msTouchAction="none",n.wrapper.style.msContentZooming="none"):c.Gesture.addTarget(n.wrapper),n.rowsContainer=document.createElement("div"),n.rowsContainer.className="monaco-tree-rows",o.options.showTwistie&&(n.rowsContainer.className+=" show-twisties");var s=d.trackFocus(n.domNode);return n.viewListeners.push(s.onDidFocus(function(){return n.onFocus()})),n.viewListeners.push(s.onDidBlur(function(){return n.onBlur()})),n.viewListeners.push(s),n.viewListeners.push(d.addDisposableListener(n.domNode,"keydown",function(e){return n.onKeyDown(e)})),n.viewListeners.push(d.addDisposableListener(n.domNode,"keyup",function(e){return n.onKeyUp(e)})),n.viewListeners.push(d.addDisposableListener(n.domNode,"mousedown",function(e){return n.onMouseDown(e)})),n.viewListeners.push(d.addDisposableListener(n.domNode,"mouseup",function(e){return n.onMouseUp(e)})),n.viewListeners.push(d.addDisposableListener(n.wrapper,"auxclick",function(e){e&&1===e.button&&n.onMouseMiddleClick(e)})),n.viewListeners.push(d.addDisposableListener(n.wrapper,"click",function(e){return n.onClick(e)})),n.viewListeners.push(d.addDisposableListener(n.domNode,"contextmenu",function(e){return n.onContextMenu(e)})),n.viewListeners.push(d.addDisposableListener(n.wrapper,c.EventType.Tap,function(e){return n.onTap(e)})),n.viewListeners.push(d.addDisposableListener(n.wrapper,c.EventType.Change,function(e){return n.onTouchChange(e)})),a.isIE&&(n.viewListeners.push(d.addDisposableListener(n.wrapper,"MSPointerDown",function(e){return n.onMsPointerDown(e)})),n.viewListeners.push(d.addDisposableListener(n.wrapper,"MSGestureTap",function(e){return n.onMsGestureTap(e)})),n.viewListeners.push(d.addDisposableThrottledListener(n.wrapper,"MSGestureChange",function(e){return n.onThrottledMsGestureChange(e)},function(e,t){t.stopPropagation(),t.preventDefault();var o={translationY:t.translationY,translationX:t.translationX};return e&&(o.translationY+=e.translationY,o.translationX+=e.translationX),o}))),n.viewListeners.push(d.addDisposableListener(window,"dragover",function(e){return n.onDragOver(e)})),n.viewListeners.push(d.addDisposableListener(n.wrapper,"drop",function(e){return n.onDrop(e)})),n.viewListeners.push(d.addDisposableListener(window,"dragend",function(e){return n.onDragEnd(e)})),n.viewListeners.push(d.addDisposableListener(window,"dragleave",function(e){return n.onDragOver(e)})),n.wrapper.appendChild(n.rowsContainer),n.domNode.appendChild(n.scrollableElement.getDomNode()),r.appendChild(n.domNode),n.lastRenderTop=0,n.lastRenderHeight=0,n.didJustPressContextMenuKey=!1,n.currentDropTarget=null,n.currentDropTargets=[],n.shouldInvalidateDropReaction=!1,n.dragAndDropScrollInterval=null,n.dragAndDropScrollTimeout=null,n.onRowsChanged(),n.layout(),n.setupMSGesture(),n.applyStyles(o.options),n}return i(t,e),Object.defineProperty(t.prototype,"onDOMFocus",{get:function(){return this._onDOMFocus.event},enumerable:!0,configurable:!0}),t.prototype.applyStyles=function(e){this.treeStyler.style(e)},t.prototype.createViewItem=function(e){return new S(this.context,e)},t.prototype.getHTMLElement=function(){return this.domNode},t.prototype.focus=function(){this.domNode.focus()},t.prototype.isFocused=function(){return document.activeElement===this.domNode},t.prototype.blur=function(){this.domNode.blur()},t.prototype.setupMSGesture=function(){var e=this;window.MSGesture&&(this.msGesture=new MSGesture,setTimeout(function(){return e.msGesture.target=e.wrapper},100))},t.prototype.isTreeVisible=function(){return null===this.onHiddenScrollTop},t.prototype.layout=function(e,t){this.isTreeVisible()&&(this.viewHeight=e||d.getContentHeight(this.wrapper),this.scrollHeight=this.getContentHeight(),this.horizontalScrolling&&(this.viewWidth=t||d.getContentWidth(this.wrapper)))},t.prototype.render=function(e,t,o,r,n){var i,s,a=e,l=e+t,d=this.lastRenderTop+this.lastRenderHeight;for(i=this.indexAfter(l)-1,s=this.indexAt(Math.max(d,a));i>=s;i--)this.insertItemInDOM(this.itemAtIndex(i));for(i=Math.min(this.indexAt(this.lastRenderTop),this.indexAfter(l))-1,s=this.indexAt(a);i>=s;i--)this.insertItemInDOM(this.itemAtIndex(i));for(i=this.indexAt(this.lastRenderTop),s=Math.min(this.indexAt(a),this.indexAfter(d));s>i;i++)this.removeItemFromDOM(this.itemAtIndex(i));for(i=Math.max(this.indexAfter(l),this.indexAt(this.lastRenderTop)),s=this.indexAfter(d);s>i;i++)this.removeItemFromDOM(this.itemAtIndex(i));var h=this.itemAtIndex(this.indexAt(a));h&&(this.rowsContainer.style.top=h.top-a+"px"),this.horizontalScrolling&&(this.rowsContainer.style.left=-o+"px",this.rowsContainer.style.width=Math.max(n,r)+"px"),this.lastRenderTop=a,this.lastRenderHeight=l-a},t.prototype.setModel=function(e){this.releaseModel(),this.model=e,this.model.onRefresh(this.onRefreshing,this,this.modelListeners),this.model.onDidRefresh(this.onRefreshed,this,this.modelListeners),this.model.onSetInput(this.onClearingInput,this,this.modelListeners),this.model.onDidSetInput(this.onSetInput,this,this.modelListeners),this.model.onDidFocus(this.onModelFocusChange,this,this.modelListeners),this.model.onRefreshItemChildren(this.onItemChildrenRefreshing,this,this.modelListeners),this.model.onDidRefreshItemChildren(this.onItemChildrenRefreshed,this,this.modelListeners),this.model.onDidRefreshItem(this.onItemRefresh,this,this.modelListeners),this.model.onExpandItem(this.onItemExpanding,this,this.modelListeners),this.model.onDidExpandItem(this.onItemExpanded,this,this.modelListeners),this.model.onCollapseItem(this.onItemCollapsing,this,this.modelListeners),this.model.onDidRevealItem(this.onItemReveal,this,this.modelListeners),this.model.onDidAddTraitItem(this.onItemAddTrait,this,this.modelListeners),this.model.onDidRemoveTraitItem(this.onItemRemoveTrait,this,this.modelListeners)},t.prototype.onRefreshing=function(){this.isRefreshing=!0},t.prototype.onRefreshed=function(){this.isRefreshing=!1,this.onRowsChanged()},t.prototype.onRowsChanged=function(e){void 0===e&&(e=this.scrollTop),this.isRefreshing||(this.scrollTop=e,this.updateScrollWidth())},t.prototype.updateScrollWidth=function(){var e=this;this.horizontalScrolling&&this.contentWidthUpdateDelayer.trigger(function(){for(var t=Object.keys(e.items),o=0,r=0,n=t;r<n.length;r++){var i=n[r];o=Math.max(o,e.items[i].width)}e.scrollWidth=o+10})},t.prototype.focusNextPage=function(e){var t=this,o=this.indexAt(this.scrollTop+this.viewHeight);o=0===o?0:o-1;var r=this.itemAtIndex(o).model.getElement(),n=this.model.getFocus();if(n!==r)this.model.setFocus(r,e);else{var i=this.scrollTop;this.scrollTop+=this.viewHeight,this.scrollTop!==i&&setTimeout(function(){t.focusNextPage(e)},0)}},t.prototype.focusPreviousPage=function(e){var t,o=this;t=0===this.scrollTop?this.indexAt(this.scrollTop):this.indexAfter(this.scrollTop-1);var r=this.itemAtIndex(t).model.getElement(),n=this.model.getFocus();if(n!==r)this.model.setFocus(r,e);else{var i=this.scrollTop;this.scrollTop-=this.viewHeight,this.scrollTop!==i&&setTimeout(function(){o.focusPreviousPage(e)},0)}},Object.defineProperty(t.prototype,"viewHeight",{get:function(){var e=this.scrollableElement.getScrollDimensions();return e.height},set:function(e){this.scrollableElement.setScrollDimensions({height:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollHeight",{set:function(e){e+=this.horizontalScrolling?10:0,this.scrollableElement.setScrollDimensions({scrollHeight:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewWidth",{get:function(){var e=this.scrollableElement.getScrollDimensions();return e.width},set:function(e){this.scrollableElement.setScrollDimensions({width:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollWidth",{set:function(e){this.scrollableElement.setScrollDimensions({scrollWidth:e})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollTop",{get:function(){var e=this.scrollableElement.getScrollPosition();return e.scrollTop},set:function(e){var t=this.getContentHeight()+(this.horizontalScrolling?10:0);this.scrollableElement.setScrollDimensions({scrollHeight:t}),this.scrollableElement.setScrollPosition({scrollTop:e})},enumerable:!0,configurable:!0}),t.prototype.onClearingInput=function(e){var t=e.item;t&&(this.onRemoveItems(new f.MappedIterator(t.getNavigator(),function(e){return e&&e.id})),this.onRowsChanged())},t.prototype.onSetInput=function(e){this.context.cache.garbageCollect(),this.inputItem=new E(this.context,e.item,this.wrapper)},t.prototype.onItemChildrenRefreshing=function(e){var o=e.item,r=this.items[o.id];if(r&&this.context.options.showLoading&&(r.loadingTimer=setTimeout(function(){r.loadingTimer=0,r.loading=!0},t.LOADING_DECORATION_DELAY)),!e.isNested){for(var n=[],i=o.getNavigator(),s=void 0;s=i.next();)n.push(s.id);this.refreshingPreviousChildrenIds[o.id]=n}},t.prototype.onItemChildrenRefreshed=function(e){var t=this,o=e.item,r=this.items[o.id];if(r&&(r.loadingTimer&&(clearTimeout(r.loadingTimer),r.loadingTimer=0),r.loading=!1),!e.isNested){for(var n=this.refreshingPreviousChildrenIds[o.id],i=[],s=o.getNavigator(),a=void 0;a=s.next();)i.push(a);var l=Math.abs(n.length-i.length)>1e3,d=[],c=!1;if(!l){var p=new h.LcsDiff({getLength:function(){return n.length},getElementAtIndex:function(e){return n[e]}},{getLength:function(){return i.length},getElementAtIndex:function(e){return i[e].id}},null);d=p.ComputeDiff(!1),c=d.some(function(e){if(e.modifiedLength>0)for(var o=e.modifiedStart,r=e.modifiedStart+e.modifiedLength;r>o;o++)if(t.items.hasOwnProperty(i[o].id))return!0;return!1})}if(!l&&!c&&d.length<50)for(var u=0,m=d;u<m.length;u++){var g=m[u];if(g.originalLength>0&&this.onRemoveItems(new f.ArrayIterator(n,g.originalStart,g.originalStart+g.originalLength)),g.modifiedLength>0){var D=i[g.modifiedStart-1]||o;D=D.getDepth()>0?D:null,this.onInsertItems(new f.ArrayIterator(i,g.modifiedStart,g.modifiedStart+g.modifiedLength),D?D.id:null)}}else(l||d.length)&&(this.onRemoveItems(new f.ArrayIterator(n)),this.onInsertItems(new f.ArrayIterator(i),o.getDepth()>0?o.id:null));(l||d.length)&&this.onRowsChanged()}},t.prototype.onItemRefresh=function(e){this.onItemsRefresh([e])},t.prototype.onItemsRefresh=function(e){var t=this;this.onRefreshItemSet(e.filter(function(e){return t.items.hasOwnProperty(e.id)})),this.onRowsChanged()},t.prototype.onItemExpanding=function(e){var t=this.items[e.item.id];t&&(t.expanded=!0)},t.prototype.onItemExpanded=function(e){var t=e.item,o=this.items[t.id];if(o){o.expanded=!0;var r=this.onInsertItems(t.getNavigator(),t.id)||0,n=this.scrollTop;o.top+o.height<=this.scrollTop&&(n+=r),this.onRowsChanged(n)}},t.prototype.onItemCollapsing=function(e){var t=e.item,o=this.items[t.id];o&&(o.expanded=!1,this.onRemoveItems(new f.MappedIterator(t.getNavigator(),function(e){return e&&e.id})),this.onRowsChanged())},t.prototype.onItemReveal=function(e){var t=e.item,o=e.relativeTop,r=this.items[t.id];if(r)if(null!==o){o=0>o?0:o,o=o>1?1:o;var n=r.height-this.viewHeight;this.scrollTop=n*o+r.top}else{var i=r.top+r.height,s=this.scrollTop+this.viewHeight;r.top<this.scrollTop?this.scrollTop=r.top:i>=s&&(this.scrollTop=i-this.viewHeight)}},t.prototype.onItemAddTrait=function(e){var t=e.item,o=e.trait,r=this.items[t.id];r&&r.addClass(o),"highlighted"===o&&(d.addClass(this.domNode,o),r&&(this.highlightedItemWasDraggable=!!r.draggable,r.draggable&&(r.draggable=!1)))},t.prototype.onItemRemoveTrait=function(e){var t=e.item,o=e.trait,r=this.items[t.id];r&&r.removeClass(o),"highlighted"===o&&(d.removeClass(this.domNode,o),this.highlightedItemWasDraggable&&(r.draggable=!0),this.highlightedItemWasDraggable=!1)},t.prototype.onModelFocusChange=function(){var e=this.model&&this.model.getFocus();d.toggleClass(this.domNode,"no-focused-item",!e),e?this.domNode.setAttribute("aria-activedescendant",p.safeBtoa(this.context.dataSource.getId(this.context.tree,e))):this.domNode.removeAttribute("aria-activedescendant")},t.prototype.onInsertItem=function(e){var t=this;e.onDragStart=function(o){t.onDragStart(e,o)},e.needsRender=!0,this.refreshViewItem(e),this.items[e.id]=e},t.prototype.onRefreshItem=function(e,t){void 0===t&&(t=!1),e.needsRender=e.needsRender||t,this.refreshViewItem(e)},t.prototype.onRemoveItem=function(e){this.removeItemFromDOM(e),e.dispose(),delete this.items[e.id]},t.prototype.refreshViewItem=function(e){e.render(),this.shouldBeRendered(e)?this.insertItemInDOM(e):this.removeItemFromDOM(e)},t.prototype.onClick=function(e){if(!this.lastPointerType||"mouse"===this.lastPointerType){var t=new u.StandardMouseEvent(e),o=this.getItemAround(t.target);o&&(a.isIE&&Date.now()-this.lastClickTimeStamp<300&&(t.detail=2),this.lastClickTimeStamp=Date.now(),this.context.controller.onClick(this.context.tree,o.model.getElement(),t))}},t.prototype.onMouseMiddleClick=function(e){if(this.context.controller.onMouseMiddleClick){var t=new u.StandardMouseEvent(e),o=this.getItemAround(t.target);o&&this.context.controller.onMouseMiddleClick(this.context.tree,o.model.getElement(),t)}},t.prototype.onMouseDown=function(e){if(this.didJustPressContextMenuKey=!1,this.context.controller.onMouseDown&&(!this.lastPointerType||"mouse"===this.lastPointerType)){var t=new u.StandardMouseEvent(e);if(!(t.ctrlKey&&s.isNative&&s.isMacintosh)){var o=this.getItemAround(t.target);o&&this.context.controller.onMouseDown(this.context.tree,o.model.getElement(),t)}}},t.prototype.onMouseUp=function(e){if(this.context.controller.onMouseUp&&(!this.lastPointerType||"mouse"===this.lastPointerType)){var t=new u.StandardMouseEvent(e);if(!(t.ctrlKey&&s.isNative&&s.isMacintosh)){var o=this.getItemAround(t.target);o&&this.context.controller.onMouseUp(this.context.tree,o.model.getElement(),t)}}},t.prototype.onTap=function(e){var t=this.getItemAround(e.initialTarget);t&&this.context.controller.onTap(this.context.tree,t.model.getElement(),e)},t.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},t.prototype.onContextMenu=function(e){var t,o;if(e instanceof KeyboardEvent||this.didJustPressContextMenuKey){this.didJustPressContextMenuKey=!1;var r=new m.StandardKeyboardEvent(e);o=this.model.getFocus();var n=void 0;if(o){var i=this.context.dataSource.getId(this.context.tree,o),s=this.items[i];n=d.getDomNodePagePosition(s.element)}else o=this.model.getInput(),n=d.getDomNodePagePosition(this.inputItem.element);t=new y.KeyboardContextMenuEvent(n.left+n.width,n.top,r)}else{var a=new u.StandardMouseEvent(e),l=this.getItemAround(a.target);if(!l)return;o=l.model.getElement(),t=new y.MouseContextMenuEvent(a)}this.context.controller.onContextMenu(this.context.tree,o,t)},t.prototype.onKeyDown=function(e){var t=new m.StandardKeyboardEvent(e);this.didJustPressContextMenuKey=58===t.keyCode||t.shiftKey&&68===t.keyCode,t.target&&t.target.tagName&&"input"===t.target.tagName.toLowerCase()||(this.didJustPressContextMenuKey&&(t.preventDefault(),t.stopPropagation()),this.context.controller.onKeyDown(this.context.tree,t))},t.prototype.onKeyUp=function(e){this.didJustPressContextMenuKey&&this.onContextMenu(e),this.didJustPressContextMenuKey=!1,this.context.controller.onKeyUp(this.context.tree,new m.StandardKeyboardEvent(e))},t.prototype.onDragStart=function(e,t){if(!this.model.getHighlight()){var o,r=e.model.getElement(),n=this.model.getSelection();if(o=n.indexOf(r)>-1?n:[r],t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setData(b.DataTransfers.RESOURCES,JSON.stringify([e.uri])),t.dataTransfer.setDragImage){var i=void 0;i=this.context.dnd.getDragLabel?this.context.dnd.getDragLabel(this.context.tree,o):String(o.length);var s=document.createElement("div");s.className="monaco-tree-drag-image",s.textContent=i,document.body.appendChild(s),t.dataTransfer.setDragImage(s,-10,-10),setTimeout(function(){return document.body.removeChild(s)},0)}this.currentDragAndDropData=new g.ElementsDragAndDropData(o),b.StaticDND.CurrentDragAndDropData=new g.ExternalElementsDragAndDropData(o),this.context.dnd.onDragStart(this.context.tree,this.currentDragAndDropData,new u.DragMouseEvent(t))}},t.prototype.setupDragAndDropScrollInterval=function(){var e=this,t=d.getTopLeftOffset(this.wrapper).top;this.dragAndDropScrollInterval||(this.dragAndDropScrollInterval=window.setInterval(function(){if(null!==e.dragAndDropMouseY){var o=e.dragAndDropMouseY-t,r=0,n=e.viewHeight-35;35>o?r=Math.max(-14,.2*(o-35)):o>n&&(r=Math.min(14,.2*(o-n))),e.scrollTop+=r}},10),this.cancelDragAndDropScrollTimeout(),this.dragAndDropScrollTimeout=window.setTimeout(function(){e.cancelDragAndDropScrollInterval(),e.dragAndDropScrollTimeout=null},1e3))},t.prototype.cancelDragAndDropScrollInterval=function(){this.dragAndDropScrollInterval&&(window.clearInterval(this.dragAndDropScrollInterval),this.dragAndDropScrollInterval=null),this.cancelDragAndDropScrollTimeout()},t.prototype.cancelDragAndDropScrollTimeout=function(){this.dragAndDropScrollTimeout&&(window.clearTimeout(this.dragAndDropScrollTimeout),this.dragAndDropScrollTimeout=null)},t.prototype.onDragOver=function(e){var t=this;e.preventDefault();var o=new u.DragMouseEvent(e),n=this.getItemAround(o.target);if(!n||0===o.posx&&0===o.posy&&o.browserEvent.type===d.EventType.DRAG_LEAVE)return this.currentDropTarget&&(this.currentDropTargets.forEach(function(e){return e.dropTarget=!1}),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.cancelDragAndDropScrollInterval(),this.currentDropTarget=null,this.currentDropElement=null,this.dragAndDropMouseY=null,!1;if(this.setupDragAndDropScrollInterval(),this.dragAndDropMouseY=o.posy,!this.currentDragAndDropData)if(b.StaticDND.CurrentDragAndDropData)this.currentDragAndDropData=b.StaticDND.CurrentDragAndDropData;else{if(!o.dataTransfer.types)return!1;this.currentDragAndDropData=new g.DesktopDragAndDropData}this.currentDragAndDropData.update(o.browserEvent.dataTransfer);var i,s,a=n.model;do{if(i=a?a.getElement():this.model.getInput(),s=this.context.dnd.onDragOver(this.context.tree,this.currentDragAndDropData,i,o),!s||1!==s.bubble)break;a=a&&a.parent}while(a);if(!a)return this.currentDropElement=null,!1;var h=s&&s.accept;h?(this.currentDropElement=a.getElement(),o.preventDefault(),o.dataTransfer.dropEffect=0===s.effect?"copy":"move"):this.currentDropElement=null;var c=a.id===this.inputItem.id?this.inputItem:this.items[a.id];if((this.shouldInvalidateDropReaction||this.currentDropTarget!==c||!r(this.currentDropElementReaction,s))&&(this.shouldInvalidateDropReaction=!1,this.currentDropTarget&&(this.currentDropTargets.forEach(function(e){return e.dropTarget=!1}),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.currentDropTarget=c,this.currentDropElementReaction=s,h)){if(this.currentDropTarget&&(this.currentDropTarget.dropTarget=!0,this.currentDropTargets.push(this.currentDropTarget)),0===s.bubble)for(var p=a.getNavigator(),m=void 0;m=p.next();)n=this.items[m.id],n&&(n.dropTarget=!0,this.currentDropTargets.push(n));if(s.autoExpand){var f=x.timeout(500);this.currentDropDisposable=l.toDisposable(function(){return f.cancel()}),f.then(function(){return t.context.tree.expand(t.currentDropElement)}).then(function(){return t.shouldInvalidateDropReaction=!0})}}return!0},t.prototype.onDrop=function(e){if(this.currentDropElement){var t=new u.DragMouseEvent(e);t.preventDefault(),this.currentDragAndDropData.update(t.browserEvent.dataTransfer),this.context.dnd.drop(this.context.tree,this.currentDragAndDropData,this.currentDropElement,t),this.onDragEnd(e)}this.cancelDragAndDropScrollInterval()},t.prototype.onDragEnd=function(){this.currentDropTarget&&(this.currentDropTargets.forEach(function(e){return e.dropTarget=!1}),this.currentDropTargets=[]),this.currentDropDisposable.dispose(),this.cancelDragAndDropScrollInterval(),this.currentDragAndDropData=null,b.StaticDND.CurrentDragAndDropData=void 0,this.currentDropElement=null,this.currentDropTarget=null,this.dragAndDropMouseY=null},t.prototype.onFocus=function(){this.context.options.alwaysFocused||d.addClass(this.domNode,"focused"),this._onDOMFocus.fire()},t.prototype.onBlur=function(){this.context.options.alwaysFocused||d.removeClass(this.domNode,"focused"),this.domNode.removeAttribute("aria-activedescendant"),this._onDOMBlur.fire()},t.prototype.onMsPointerDown=function(e){if(this.msGesture){var t=e.pointerType;return t===(e.MSPOINTER_TYPE_MOUSE||"mouse")?void(this.lastPointerType="mouse"):void(t===(e.MSPOINTER_TYPE_TOUCH||"touch")&&(this.lastPointerType="touch",e.stopPropagation(),e.preventDefault(),this.msGesture.addPointer(e.pointerId)))}},t.prototype.onThrottledMsGestureChange=function(e){this.scrollTop-=e.translationY},t.prototype.onMsGestureTap=function(e){e.initialTarget=document.elementFromPoint(e.clientX,e.clientY),this.onTap(e)},t.prototype.insertItemInDOM=function(e){var t=null,o=this.itemAfter(e);o&&o.element&&(t=o.element),e.insertInDOM(this.rowsContainer,t)},t.prototype.removeItemFromDOM=function(e){e&&e.removeFromDOM()},t.prototype.shouldBeRendered=function(e){return e.top<this.lastRenderTop+this.lastRenderHeight&&e.top+e.height>this.lastRenderTop},t.prototype.getItemAround=function(e){var o=this.inputItem,r=e;do{if(r[t.BINDING]&&(o=r[t.BINDING]),r===this.wrapper||r===this.domNode)return o;if(r===this.scrollableElement.getDomNode()||r===document.body)return void 0}while(r=r.parentElement);return void 0},t.prototype.releaseModel=function(){this.model&&(this.modelListeners=l.dispose(this.modelListeners),this.model=null)},t.prototype.dispose=function(){var t=this;this.scrollableElement.dispose(),this.releaseModel(),this.viewListeners=l.dispose(this.viewListeners),this._onDOMFocus.dispose(),this._onDOMBlur.dispose(),this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.items&&Object.keys(this.items).forEach(function(e){return t.items[e].removeFromDOM()}),this.context.cache&&this.context.cache.dispose(),e.prototype.dispose.call(this)},t.BINDING="monaco-tree-row",t.LOADING_DECORATION_DELAY=800,t.counter=0,t}(v.HeightMap);t.TreeView=C});
;/*!node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeImpl.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeImpl",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),i=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeDefaults")),s=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeModel")),n=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeView")),r=e("node_modules/monaco-editor/esm/vs/base/common/event"),l=e("node_modules/monaco-editor/esm/vs/base/common/color"),u=e("node_modules/monaco-editor/esm/vs/base/common/objects"),d=function(){function e(e,o,t){if(void 0===t&&(t={}),this.tree=e,this.configuration=o,this.options=t,!o.dataSource)throw new Error("You must provide a Data Source to the tree.");this.dataSource=o.dataSource,this.renderer=o.renderer,this.controller=o.controller||new i.DefaultController({clickBehavior:1,keyboardSupport:"boolean"!=typeof t.keyboardSupport||t.keyboardSupport}),this.dnd=o.dnd||new i.DefaultDragAndDrop,this.filter=o.filter||new i.DefaultFilter,this.sorter=o.sorter,this.accessibilityProvider=o.accessibilityProvider||new i.DefaultAccessibilityProvider,this.styler=o.styler}return e}();o.TreeContext=d;var c={listFocusBackground:l.Color.fromHex("#073655"),listActiveSelectionBackground:l.Color.fromHex("#0E639C"),listActiveSelectionForeground:l.Color.fromHex("#FFFFFF"),listFocusAndSelectionBackground:l.Color.fromHex("#094771"),listFocusAndSelectionForeground:l.Color.fromHex("#FFFFFF"),listInactiveSelectionBackground:l.Color.fromHex("#3F3F46"),listHoverBackground:l.Color.fromHex("#2A2D2E"),listDropBackground:l.Color.fromHex("#383B3D")},h=function(){function e(e,o,t){void 0===t&&(t={}),this._onDidChangeFocus=new r.Relay,this.onDidChangeFocus=this._onDidChangeFocus.event,this._onDidChangeSelection=new r.Relay,this.onDidChangeSelection=this._onDidChangeSelection.event,this._onHighlightChange=new r.Relay,this._onDidExpandItem=new r.Relay,this._onDidCollapseItem=new r.Relay,this._onDispose=new r.Emitter,this.onDidDispose=this._onDispose.event,this.container=e,u.mixin(t,c,!1),t.twistiePixels="number"==typeof t.twistiePixels?t.twistiePixels:32,t.showTwistie=t.showTwistie===!1?!1:!0,t.indentPixels="number"==typeof t.indentPixels?t.indentPixels:12,t.alwaysFocused=t.alwaysFocused===!0?!0:!1,t.useShadows=t.useShadows===!1?!1:!0,t.paddingOnRow=t.paddingOnRow===!1?!1:!0,t.showLoading=t.showLoading===!1?!1:!0,this.context=new d(this,o,t),this.model=new s.TreeModel(this.context),this.view=new n.TreeView(this.context,this.container),this.view.setModel(this.model),this._onDidChangeFocus.input=this.model.onDidFocus,this._onDidChangeSelection.input=this.model.onDidSelect,this._onHighlightChange.input=this.model.onDidHighlight,this._onDidExpandItem.input=this.model.onDidExpandItem,this._onDidCollapseItem.input=this.model.onDidCollapseItem}return e.prototype.style=function(e){this.view.applyStyles(e)},Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view&&this.view.onDOMFocus},enumerable:!0,configurable:!0}),e.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},e.prototype.layout=function(e,o){this.view.layout(e,o)},e.prototype.domFocus=function(){this.view.focus()},e.prototype.isDOMFocused=function(){return this.view.isFocused()},e.prototype.domBlur=function(){this.view.blur()},e.prototype.setInput=function(e){return this.model.setInput(e)},e.prototype.getInput=function(){return this.model.getInput()},e.prototype.expand=function(e){return this.model.expand(e)},e.prototype.collapse=function(e,o){return void 0===o&&(o=!1),this.model.collapse(e,o)},e.prototype.toggleExpansion=function(e,o){return void 0===o&&(o=!1),this.model.toggleExpansion(e,o)},e.prototype.isExpanded=function(e){return this.model.isExpanded(e)},e.prototype.reveal=function(e,o){return void 0===o&&(o=null),this.model.reveal(e,o)},e.prototype.getHighlight=function(){return this.model.getHighlight()},e.prototype.clearHighlight=function(e){this.model.setHighlight(null,e)},e.prototype.setSelection=function(e,o){this.model.setSelection(e,o)},e.prototype.getSelection=function(){return this.model.getSelection()},e.prototype.clearSelection=function(e){this.model.setSelection([],e)},e.prototype.setFocus=function(e,o){this.model.setFocus(e,o)},e.prototype.getFocus=function(){return this.model.getFocus()},e.prototype.focusNext=function(e,o){this.model.focusNext(e,o)},e.prototype.focusPrevious=function(e,o){this.model.focusPrevious(e,o)},e.prototype.focusParent=function(e){this.model.focusParent(e)},e.prototype.focusFirstChild=function(e){this.model.focusFirstChild(e)},e.prototype.focusFirst=function(e,o){this.model.focusFirst(e,o)},e.prototype.focusNth=function(e,o){this.model.focusNth(e,o)},e.prototype.focusLast=function(e,o){this.model.focusLast(e,o)},e.prototype.focusNextPage=function(e){this.view.focusNextPage(e)},e.prototype.focusPreviousPage=function(e){this.view.focusPreviousPage(e)},e.prototype.clearFocus=function(e){this.model.setFocus(null,e)},e.prototype.dispose=function(){this._onDispose.fire(),null!==this.model&&(this.model.dispose(),this.model=null),null!==this.view&&(this.view.dispose(),this.view=null),this._onDidChangeFocus.dispose(),this._onDidChangeSelection.dispose(),this._onHighlightChange.dispose(),this._onDidExpandItem.dispose(),this._onDidCollapseItem.dispose(),this._onDispose.dispose()},e}();o.Tree=h});
;/*!node_modules/monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar.js*/
define("node_modules/monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function s(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(s.prototype=o.prototype,new s)}}(),s=e("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),r=e("node_modules/monaco-editor/esm/vs/base/common/color"),n=e("node_modules/monaco-editor/esm/vs/base/common/objects"),i=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),a=e("node_modules/monaco-editor/esm/vs/base/common/async"),c="done",d="active",l="infinite",u="discrete",p="monaco-progress-container",h="progress-bit",m={progressBarBackground:r.Color.fromHex("#0E70C0")},f=function(e){function t(t,o){var s=e.call(this)||this;return s.options=o||Object.create(null),n.mixin(s.options,m,!1),s.workedVal=0,s.progressBarBackground=s.options.progressBarBackground,s._register(s.showDelayedScheduler=new a.RunOnceScheduler(function(){return i.show(s.element)},0)),s.create(t),s}return o(t,e),t.prototype.create=function(e){this.element=document.createElement("div"),i.addClass(this.element,p),e.appendChild(this.element),this.bit=document.createElement("div"),i.addClass(this.bit,h),this.element.appendChild(this.bit),this.applyStyles()},t.prototype.off=function(){this.bit.style.width="inherit",this.bit.style.opacity="1",i.removeClasses(this.element,d,l,u),this.workedVal=0,this.totalWork=void 0},t.prototype.stop=function(){return this.doDone(!1)},t.prototype.doDone=function(e){var t=this;return i.addClass(this.element,c),i.hasClass(this.element,l)?(this.bit.style.opacity="0",e?setTimeout(function(){return t.off()},200):this.off()):(this.bit.style.width="inherit",e?setTimeout(function(){return t.off()},200):this.off()),this},t.prototype.hide=function(){i.hide(this.element),this.showDelayedScheduler.cancel()},t.prototype.style=function(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()},t.prototype.applyStyles=function(){if(this.bit){var e=this.progressBarBackground?this.progressBarBackground.toString():null;this.bit.style.backgroundColor=e}},t}(s.Disposable);t.ProgressBar=f});
;/*!node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenWidget.js*/
define("node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenWidget",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t("node_modules/tslib/tslib"),o=this&&this.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=i.__importStar(t("node_modules/monaco-editor/esm/vs/nls")),s=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/platform")),r=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/common/types")),a=t("node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenViewer"),u=t("node_modules/monaco-editor/esm/vs/base/browser/ui/inputbox/inputBox"),l=t("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeImpl"),h=t("node_modules/monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar"),d=t("node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent"),p=t("node_modules/monaco-editor/esm/vs/base/parts/tree/browser/treeDefaults"),c=i.__importStar(t("node_modules/monaco-editor/esm/vs/base/browser/dom")),g=t("node_modules/monaco-editor/esm/vs/base/common/lifecycle"),y=t("node_modules/monaco-editor/esm/vs/base/common/color"),m=t("node_modules/monaco-editor/esm/vs/base/common/objects"),f=t("node_modules/monaco-editor/esm/vs/base/browser/mouseEvent"),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onContextMenu=function(e,i,o){return s.isMacintosh?this.onLeftClick(e,i,o):t.prototype.onContextMenu.call(this,e,i,o)},e}(p.DefaultController);e.QuickOpenController=v;var b={background:y.Color.fromHex("#1E1E1E"),foreground:y.Color.fromHex("#CCCCCC"),pickerGroupForeground:y.Color.fromHex("#0097FB"),pickerGroupBorder:y.Color.fromHex("#3F3F46"),widgetShadow:y.Color.fromHex("#000000"),progressBarBackground:y.Color.fromHex("#0E70C0")},k=n.localize("quickOpenAriaLabel","Quick picker. Type to narrow down results."),C=function(t){function e(e,i,o){var n=t.call(this)||this;return n.isDisposed=!1,n.container=e,n.callbacks=i,n.options=o,n.styles=o||Object.create(null),m.mixin(n.styles,b,!1),n.model=null,n}return o(e,t),e.prototype.getModel=function(){return this.model},e.prototype.create=function(){var t=this;this.element=document.createElement("div"),c.addClass(this.element,"monaco-quick-open-widget"),this.container.appendChild(this.element),this._register(c.addDisposableListener(this.element,c.EventType.CONTEXT_MENU,function(t){return c.EventHelper.stop(t,!0)})),this._register(c.addDisposableListener(this.element,c.EventType.FOCUS,function(){return t.gainingFocus()},!0)),this._register(c.addDisposableListener(this.element,c.EventType.BLUR,function(e){return t.loosingFocus(e)},!0)),this._register(c.addDisposableListener(this.element,c.EventType.KEY_DOWN,function(e){var i=new d.StandardKeyboardEvent(e);if(9===i.keyCode)c.EventHelper.stop(e,!0),t.hide(2);else if(2===i.keyCode&&!i.altKey&&!i.ctrlKey&&!i.metaKey){var o=e.currentTarget.querySelectorAll("input, .monaco-tree, .monaco-tree-row.focused .action-label.icon");i.shiftKey&&i.target===o[0]?(c.EventHelper.stop(e,!0),o[o.length-1].focus()):i.shiftKey||i.target!==o[o.length-1]||(c.EventHelper.stop(e,!0),o[0].focus())}})),this.progressBar=this._register(new h.ProgressBar(this.element,{progressBarBackground:this.styles.progressBarBackground})),this.progressBar.hide(),this.inputContainer=document.createElement("div"),c.addClass(this.inputContainer,"quick-open-input"),this.element.appendChild(this.inputContainer),this.inputBox=this._register(new u.InputBox(this.inputContainer,void 0,{placeholder:this.options.inputPlaceHolder||"",ariaLabel:k,inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder})),this.inputElement=this.inputBox.inputElement,this.inputElement.setAttribute("role","combobox"),this.inputElement.setAttribute("aria-haspopup","false"),this.inputElement.setAttribute("aria-autocomplete","list"),this._register(c.addDisposableListener(this.inputBox.inputElement,c.EventType.INPUT,function(){return t.onType()})),this._register(c.addDisposableListener(this.inputBox.inputElement,c.EventType.KEY_DOWN,function(e){var i=new d.StandardKeyboardEvent(e),o=t.shouldOpenInBackground(i);if(2!==i.keyCode)if(18===i.keyCode||16===i.keyCode||12===i.keyCode||11===i.keyCode)c.EventHelper.stop(e,!0),t.navigateInTree(i.keyCode,i.shiftKey),t.inputBox.inputElement.selectionStart===t.inputBox.inputElement.selectionEnd&&(t.inputBox.inputElement.selectionStart=t.inputBox.value.length);else if(3===i.keyCode||o){c.EventHelper.stop(e,!0);var n=t.tree.getFocus();n&&t.elementSelected(n,e,o?2:1)}})),this.resultCount=document.createElement("div"),c.addClass(this.resultCount,"quick-open-result-count"),this.resultCount.setAttribute("aria-live","polite"),this.resultCount.setAttribute("aria-atomic","true"),this.element.appendChild(this.resultCount),this.treeContainer=document.createElement("div"),c.addClass(this.treeContainer,"quick-open-tree"),this.element.appendChild(this.treeContainer);var e=this.options.treeCreator||function(t,e,i){return new l.Tree(t,e,i)};return this.tree=this._register(e(this.treeContainer,{dataSource:new a.DataSource(this),controller:new v({clickBehavior:1,keyboardSupport:this.options.keyboardSupport}),renderer:this.renderer=new a.Renderer(this,this.styles),filter:new a.Filter(this),accessibilityProvider:new a.AccessibilityProvider(this)},{twistiePixels:11,indentPixels:0,alwaysFocused:!0,verticalScrollMode:3,horizontalScrollMode:2,ariaLabel:n.localize("treeAriaLabel","Quick Picker"),keyboardSupport:this.options.keyboardSupport,preventRootFocus:!1})),this.treeElement=this.tree.getHTMLElement(),this._register(this.tree.onDidChangeFocus(function(e){t.elementFocused(e.focus,e)})),this._register(this.tree.onDidChangeSelection(function(e){if(e.selection&&e.selection.length>0){var i=e.payload&&e.payload.originalEvent instanceof f.StandardMouseEvent?e.payload.originalEvent:void 0,o=i?t.shouldOpenInBackground(i):!1;t.elementSelected(e.selection[0],e,o?2:1)}})),this._register(c.addDisposableListener(this.treeContainer,c.EventType.KEY_DOWN,function(e){var i=new d.StandardKeyboardEvent(e);t.quickNavigateConfiguration&&(18===i.keyCode||16===i.keyCode||12===i.keyCode||11===i.keyCode)&&(c.EventHelper.stop(e,!0),t.navigateInTree(i.keyCode))})),this._register(c.addDisposableListener(this.treeContainer,c.EventType.KEY_UP,function(e){var i=new d.StandardKeyboardEvent(e),o=i.keyCode;if(t.quickNavigateConfiguration){var n=t.quickNavigateConfiguration.keybindings,s=3===o||n.some(function(t){var e=t.getParts(),n=e[0],s=e[1];return s?!1:n.shiftKey&&4===o?i.ctrlKey||i.altKey||i.metaKey?!1:!0:n.altKey&&6===o?!0:n.ctrlKey&&5===o?!0:n.metaKey&&57===o?!0:!1});if(s){var r=t.tree.getFocus();r&&t.elementSelected(r,e)}}})),this.layoutDimensions&&this.layout(this.layoutDimensions),this.applyStyles(),this._register(c.addDisposableListener(this.treeContainer,c.EventType.KEY_DOWN,function(e){var i=new d.StandardKeyboardEvent(e);t.quickNavigateConfiguration||(18===i.keyCode||16===i.keyCode||12===i.keyCode||11===i.keyCode)&&(c.EventHelper.stop(e,!0),t.navigateInTree(i.keyCode,i.shiftKey),t.treeElement.focus())})),this.element},e.prototype.style=function(t){this.styles=t,this.applyStyles()},e.prototype.applyStyles=function(){if(this.element){var t=this.styles.foreground?this.styles.foreground.toString():null,e=this.styles.background?this.styles.background.toString():null,i=this.styles.borderColor?this.styles.borderColor.toString():null,o=this.styles.widgetShadow?this.styles.widgetShadow.toString():null;this.element.style.color=t,this.element.style.backgroundColor=e,this.element.style.borderColor=i,this.element.style.borderWidth=i?"1px":null,this.element.style.borderStyle=i?"solid":null,this.element.style.boxShadow=o?"0 5px 8px "+o:null}this.progressBar&&this.progressBar.style({progressBarBackground:this.styles.progressBarBackground}),this.inputBox&&this.inputBox.style({inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder}),this.tree&&!this.options.treeCreator&&this.tree.style(this.styles),this.renderer&&this.renderer.updateStyles(this.styles)},e.prototype.shouldOpenInBackground=function(t){if(t instanceof d.StandardKeyboardEvent){if(17!==t.keyCode)return!1;if(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return!1;var e=this.inputBox.inputElement;return e.selectionEnd===this.inputBox.value.length&&e.selectionStart===e.selectionEnd}return t.middleButton},e.prototype.onType=function(){var t=this.inputBox.value;this.helpText&&(t?c.hide(this.helpText):c.show(this.helpText)),this.callbacks.onType(t)},e.prototype.navigateInTree=function(t,e){var i=this.tree.getInput(),o=i?i.entries:[],n=this.tree.getFocus();switch(t){case 18:this.tree.focusNext();break;case 16:this.tree.focusPrevious();break;case 12:this.tree.focusNextPage();break;case 11:this.tree.focusPreviousPage();break;case 2:e?this.tree.focusPrevious():this.tree.focusNext()}var s=this.tree.getFocus();o.length>1&&n===s&&(16===t||2===t&&e?this.tree.focusLast():(18===t||2===t&&!e)&&this.tree.focusFirst()),s=this.tree.getFocus(),s&&this.tree.reveal(s)},e.prototype.elementFocused=function(t,e){if(t&&this.isVisible()){var i=this.treeElement.getAttribute("aria-activedescendant");i?this.inputElement.setAttribute("aria-activedescendant",i):this.inputElement.removeAttribute("aria-activedescendant");var o={event:e,keymods:this.extractKeyMods(e),quickNavigateConfiguration:this.quickNavigateConfiguration};this.model.runner.run(t,0,o)}},e.prototype.elementSelected=function(t,e,i){var o=!0;if(this.isVisible()){var n=i||1,s={event:e,keymods:this.extractKeyMods(e),quickNavigateConfiguration:this.quickNavigateConfiguration};o=this.model.runner.run(t,n,s)}o&&this.hide(0)},e.prototype.extractKeyMods=function(t){return{ctrlCmd:t&&(t.ctrlKey||t.metaKey||t.payload&&t.payload.originalEvent&&(t.payload.originalEvent.ctrlKey||t.payload.originalEvent.metaKey)),alt:t&&(t.altKey||t.payload&&t.payload.originalEvent&&t.payload.originalEvent.altKey)}},e.prototype.show=function(t,e){this.visible=!0,this.isLoosingFocus=!1,this.quickNavigateConfiguration=e?e.quickNavigateConfiguration:void 0,this.quickNavigateConfiguration?(c.hide(this.inputContainer),c.show(this.element),this.tree.domFocus()):(c.show(this.inputContainer),c.show(this.element),this.inputBox.focus()),this.helpText&&(this.quickNavigateConfiguration||r.isString(t)?c.hide(this.helpText):c.show(this.helpText)),r.isString(t)?this.doShowWithPrefix(t):(e&&e.value&&this.restoreLastInput(e.value),this.doShowWithInput(t,e&&e.autoFocus?e.autoFocus:{})),e&&e.inputSelection&&!this.quickNavigateConfiguration&&this.inputBox.select(e.inputSelection),this.callbacks.onShow&&this.callbacks.onShow()},e.prototype.restoreLastInput=function(t){this.inputBox.value=t,this.inputBox.select(),this.callbacks.onType(t)},e.prototype.doShowWithPrefix=function(t){this.inputBox.value=t,this.callbacks.onType(t)},e.prototype.doShowWithInput=function(t,e){this.setInput(t,e)},e.prototype.setInputAndLayout=function(t,e){var i=this;this.treeContainer.style.height=this.getHeight(t)+"px",this.tree.setInput(null).then(function(){return i.model=t,i.inputElement.setAttribute("aria-haspopup",String(t&&t.entries&&t.entries.length>0)),i.tree.setInput(t)}).then(function(){i.tree.layout();var o=t?t.entries.filter(function(e){return i.isElementVisible(t,e)}):[];i.updateResultCount(o.length),o.length&&i.autoFocus(t,o,e)})},e.prototype.isElementVisible=function(t,e){return t.filter?t.filter.isVisible(e):!0},e.prototype.autoFocus=function(t,e,i){if(void 0===i&&(i={}),i.autoFocusPrefixMatch){for(var o=void 0,n=void 0,s=i.autoFocusPrefixMatch,r=s.toLowerCase(),a=0,u=e;a<u.length;a++){var l=u[a],h=t.dataSource.getLabel(l)||"";if(o||0!==h.indexOf(s)?n||0!==h.toLowerCase().indexOf(r)||(n=l):o=l,o&&n)break}var d=o||n;if(d)return this.tree.setFocus(d),void this.tree.reveal(d,.5)}i.autoFocusFirstEntry?(this.tree.focusFirst(),this.tree.reveal(this.tree.getFocus())):"number"==typeof i.autoFocusIndex?e.length>i.autoFocusIndex&&(this.tree.focusNth(i.autoFocusIndex),this.tree.reveal(this.tree.getFocus())):i.autoFocusSecondEntry?e.length>1&&this.tree.focusNth(1):i.autoFocusLastEntry&&e.length>1&&this.tree.focusLast()},e.prototype.getHeight=function(t){var i=this,o=t.renderer;if(!t){var n=o.getHeight(null);return this.options.minItemsToShow?this.options.minItemsToShow*n:0}var s,r=0;this.layoutDimensions&&this.layoutDimensions.height&&(s=.4*(this.layoutDimensions.height-50)),(!s||s>e.MAX_ITEMS_HEIGHT)&&(s=e.MAX_ITEMS_HEIGHT);for(var a=t.entries.filter(function(e){return i.isElementVisible(t,e)}),u=this.options.maxItemsToShow||a.length,l=0;u>l&&l<a.length;l++){var h=o.getHeight(a[l]);if(!(s>=r+h))break;r+=h}return r},e.prototype.updateResultCount=function(t){this.resultCount.textContent=n.localize({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results",t)},e.prototype.hide=function(t){this.isVisible()&&(this.visible=!1,c.hide(this.element),this.element.blur(),this.inputBox.value="",this.tree.setInput(null),this.inputElement.setAttribute("aria-haspopup","false"),this.treeContainer.style.height=(this.options.minItemsToShow?22*this.options.minItemsToShow:0)+"px",this.progressBar.stop().hide(),this.tree.isDOMFocused()?this.tree.domBlur():this.inputBox.hasFocus()&&this.inputBox.blur(),0===t?this.callbacks.onOk():this.callbacks.onCancel(),this.callbacks.onHide&&this.callbacks.onHide(t))},e.prototype.setInput=function(t,e,i){this.isVisible()&&(this.getInput()&&this.onInputChanging(),this.setInputAndLayout(t,e),this.inputBox&&this.inputBox.setAriaLabel(i||k))},e.prototype.onInputChanging=function(){var t=this;this.inputChangingTimeoutHandle&&(clearTimeout(this.inputChangingTimeoutHandle),this.inputChangingTimeoutHandle=null),c.addClass(this.element,"content-changing"),this.inputChangingTimeoutHandle=setTimeout(function(){c.removeClass(t.element,"content-changing")},500)},e.prototype.getInput=function(){return this.tree.getInput()},e.prototype.isVisible=function(){return this.visible},e.prototype.layout=function(t){this.layoutDimensions=t;var i=Math.min(.62*this.layoutDimensions.width,e.MAX_WIDTH);this.element&&(this.element.style.width=i+"px",this.element.style.marginLeft="-"+i/2+"px",this.inputContainer.style.width=i-12+"px")},e.prototype.gainingFocus=function(){this.isLoosingFocus=!1},e.prototype.loosingFocus=function(t){var e=this;if(this.isVisible()){var i=t.relatedTarget;(this.quickNavigateConfiguration||!c.isAncestor(i,this.element))&&(this.isLoosingFocus=!0,setTimeout(function(){if(e.isLoosingFocus&&!e.isDisposed){var t=e.callbacks.onFocusLost&&e.callbacks.onFocusLost();t||e.hide(1)}},0))}},e.prototype.dispose=function(){t.prototype.dispose.call(this),this.isDisposed=!0},e.MAX_WIDTH=600,e.MAX_ITEMS_HEIGHT=440,e}(g.Disposable);e.QuickOpenWidget=C});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOpenEditorWidget.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOpenEditorWidget",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/monaco-editor/esm/vs/base/browser/dom"),i=e("node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenWidget"),n=e("node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry"),r=e("node_modules/monaco-editor/esm/vs/platform/theme/common/styler"),d=function(){function e(e,t,o,i,n,r){this.codeEditor=e,this.themeService=r,this.create(t,o,i,n)}return e.prototype.create=function(e,t,o,d){this.domNode=document.createElement("div"),this.quickOpenWidget=new i.QuickOpenWidget(this.domNode,{onOk:e,onCancel:t,onType:o},{inputPlaceHolder:void 0,inputAriaLabel:d.inputAriaLabel,keyboardSupport:!0}),this.styler=r.attachQuickOpenStyler(this.quickOpenWidget,this.themeService,{pickerGroupForeground:n.foreground}),this.quickOpenWidget.create(),this.codeEditor.addOverlayWidget(this)},e.prototype.setInput=function(e,t){this.quickOpenWidget.setInput(e,t)},e.prototype.getId=function(){return e.ID},e.prototype.getDomNode=function(){return this.domNode},e.prototype.destroy=function(){this.codeEditor.removeOverlayWidget(this),this.quickOpenWidget.dispose(),this.styler.dispose()},e.prototype.show=function(e){this.visible=!0;var t=this.codeEditor.getLayoutInfo();t&&this.quickOpenWidget.layout(new o.Dimension(t.width,t.height)),this.quickOpenWidget.show(e),this.codeEditor.layoutOverlayWidget(this)},e.prototype.getPosition=function(){return this.visible?{preference:2}:null},e.ID="editor.contrib.quickOpenEditorWidget",e}();t.QuickOpenEditorWidget=d});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/editorQuickOpen.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/editorQuickOpen",function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=this&&this.__extends||function(){var t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),n=this&&this.__decorate||function(t,e,o,n){var i,r=arguments.length,c=3>r?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,o,n);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(c=(3>r?i(c):r>3?i(e,o,c):i(e,o))||c);return r>3&&c&&Object.defineProperty(e,o,c),c},i=this&&this.__param||function(t,e){return function(o,n){e(o,n,t)}},r=t("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),c=t("node_modules/monaco-editor/esm/vs/editor/common/model/textModel"),s=t("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOpenEditorWidget"),u=t("node_modules/monaco-editor/esm/vs/platform/theme/common/themeService"),d=function(){function t(t,e){this.themeService=e,this.editor=t}return t.get=function(e){return e.getContribution(t.ID)},t.prototype.getId=function(){return t.ID},t.prototype.dispose=function(){this.widget&&(this.widget.destroy(),this.widget=null)},t.prototype.run=function(t){var e=this;this.widget&&(this.widget.destroy(),this.widget=null);var o=function(t){e.clearDecorations(),t&&e.lastKnownEditorSelection&&(e.editor.setSelection(e.lastKnownEditorSelection),e.editor.revealRangeInCenterIfOutsideViewport(e.lastKnownEditorSelection,0)),e.lastKnownEditorSelection=null,document.activeElement!==document.body&&t||e.editor.focus()};this.widget=new s.QuickOpenEditorWidget(this.editor,function(){return o(!1)},function(){return o(!0)},function(o){e.widget.setInput(t.getModel(o),t.getAutoFocus(o))},{inputAriaLabel:t.inputAriaLabel},this.themeService),this.lastKnownEditorSelection||(this.lastKnownEditorSelection=this.editor.getSelection()),this.widget.show("")},t.prototype.decorateLine=function(e,o){var n=[];this.rangeHighlightDecorationId&&(n.push(this.rangeHighlightDecorationId),this.rangeHighlightDecorationId=null);var i=[{range:e,options:t._RANGE_HIGHLIGHT_DECORATION}],r=o.deltaDecorations(n,i);this.rangeHighlightDecorationId=r[0]},t.prototype.clearDecorations=function(){this.rangeHighlightDecorationId&&(this.editor.deltaDecorations([this.rangeHighlightDecorationId],[]),this.rangeHighlightDecorationId=null)},t.ID="editor.controller.quickOpenController",t._RANGE_HIGHLIGHT_DECORATION=c.ModelDecorationOptions.register({className:"rangeHighlight",isWholeLine:!0}),t=n([i(1,u.IThemeService)],t)}();e.QuickOpenController=d;var a=function(t){function e(e,o){var n=t.call(this,o)||this;return n._inputAriaLabel=e,n}return o(e,t),e.prototype.getController=function(t){return d.get(t)},e.prototype._show=function(t,e){t.run({inputAriaLabel:this._inputAriaLabel,getModel:function(t){return e.getModel(t)},getAutoFocus:function(t){return e.getAutoFocus(t)}})},e}(r.EditorAction);e.BaseEditorQuickOpenAction=a,r.registerEditorContribution(d)});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/gotoLine.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/gotoLine",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=e("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),i=t.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),r=e("node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenModel"),s=e("node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser"),u=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),a=e("node_modules/monaco-editor/esm/vs/editor/common/core/position"),l=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),d=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),c=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/editorQuickOpen"),m=e("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings"),p=function(e){function o(o,t,n){var i=e.call(this)||this;return i.editor=t,i.decorator=n,i.parseResult=i.parseInput(o),i}return n(o,e),o.prototype.parseInput=function(e){var o,t=e.split(",").map(function(e){return parseInt(e,10)}).filter(function(e){return!isNaN(e)});o=0===t.length?new a.Position(-1,-1):1===t.length?new a.Position(t[0],1):new a.Position(t[0],t[1]);var n;if(s.isCodeEditor(this.editor))n=this.editor.getModel();else{var r=this.editor.getModel();n=r?r.modified:null}var u,l=n?n.validatePosition(o).equals(o):!1;return u=l?o.column&&o.column>1?i.format(m.GoToLineNLS.gotoLineLabelValidLineAndColumn,o.lineNumber,o.column):i.format(m.GoToLineNLS.gotoLineLabelValidLine,o.lineNumber):o.lineNumber<1||o.lineNumber>(n?n.getLineCount():0)?i.format(m.GoToLineNLS.gotoLineLabelEmptyWithLineLimit,n?n.getLineCount():0):i.format(m.GoToLineNLS.gotoLineLabelEmptyWithLineAndColumnLimit,n?n.getLineMaxColumn(o.lineNumber):0),{position:o,isValid:l,label:u}},o.prototype.getLabel=function(){return this.parseResult.label},o.prototype.getAriaLabel=function(){var e=this.editor.getPosition(),o=e?e.lineNumber:0;return i.format(m.GoToLineNLS.gotoLineAriaLabel,o,this.parseResult.label)},o.prototype.run=function(e){return 1===e?this.runOpen():this.runPreview()},o.prototype.runOpen=function(){if(!this.parseResult.isValid)return!1;var e=this.toSelection();return this.editor.setSelection(e),this.editor.revealRangeInCenter(e,0),this.editor.focus(),!0},o.prototype.runPreview=function(){if(!this.parseResult.isValid)return this.decorator.clearDecorations(),!1;var e=this.toSelection();return this.editor.revealRangeInCenter(e,0),this.decorator.decorateLine(e,this.editor),!1},o.prototype.toSelection=function(){return new l.Range(this.parseResult.position.lineNumber,this.parseResult.position.column,this.parseResult.position.lineNumber,this.parseResult.position.column)},o}(r.QuickOpenEntry);o.GotoLineEntry=p;var L=function(e){function o(){return e.call(this,m.GoToLineNLS.gotoLineActionInput,{id:"editor.action.gotoLine",label:m.GoToLineNLS.gotoLineActionLabel,alias:"Go to Line...",precondition:null,kbOpts:{kbExpr:d.EditorContextKeys.focus,primary:2085,mac:{primary:293},weight:100}})||this}return n(o,e),o.prototype.run=function(e,o){var t=this;this._show(this.getController(o),{getModel:function(e){return new r.QuickOpenModel([new p(e,o,t.getController(o))])},getAutoFocus:function(e){return{autoFocusFirstEntry:e.length>0}}})},o}(c.BaseEditorQuickOpenAction);o.GotoLineAction=L,u.registerEditorAction(L)});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o("node_modules/tslib/tslib"),n=this&&this.__extends||function(){var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var t in e)e.hasOwnProperty(t)&&(o[t]=e[t])})(e,t)};return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),r=t.__importStar(o("node_modules/monaco-editor/esm/vs/base/common/strings")),i=t.__importStar(o("node_modules/monaco-editor/esm/vs/base/browser/browser")),s=o("node_modules/monaco-editor/esm/vs/base/common/errors"),a=o("node_modules/monaco-editor/esm/vs/base/common/filters"),c=o("node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenModel"),u=o("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),d=o("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),m=o("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/editorQuickOpen"),l=o("node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding"),p=o("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings"),b=function(o){function e(e,t,n,r,i){var s=o.call(this)||this;return s.key=e,s.keyAriaLabel=t,s.setHighlights(n),s.action=r,s.editor=i,s}return n(e,o),e.prototype.getLabel=function(){return this.action.label},e.prototype.getAriaLabel=function(){return this.keyAriaLabel?r.format(p.QuickCommandNLS.ariaLabelEntryWithKey,this.getLabel(),this.keyAriaLabel):r.format(p.QuickCommandNLS.ariaLabelEntry,this.getLabel())},e.prototype.getGroupLabel=function(){return this.key},e.prototype.run=function(o){var e=this;return 1===o?(setTimeout(function(){e.editor.focus();try{var o=e.action.run()||Promise.resolve();o.then(void 0,s.onUnexpectedError)}catch(t){s.onUnexpectedError(t)}},50),!0):!1},e}(c.QuickOpenEntryGroup);e.EditorActionCommandEntry=b;var f=function(o){function e(){return o.call(this,p.QuickCommandNLS.quickCommandActionInput,{id:"editor.action.quickCommand",label:p.QuickCommandNLS.quickCommandActionLabel,alias:"Command Palette",precondition:null,kbOpts:{kbExpr:d.EditorContextKeys.focus,primary:i.isIE?571:59,weight:100},menuOpts:{group:"z_commands",order:1}})||this}return n(e,o),e.prototype.run=function(o,e){var t=this,n=o.get(l.IKeybindingService);this._show(this.getController(e),{getModel:function(o){return new c.QuickOpenModel(t._editorActionsToEntries(n,e,o))},getAutoFocus:function(o){return{autoFocusFirstEntry:!0,autoFocusPrefixMatch:o}}})},e.prototype._sort=function(o,e){var t=(o.getLabel()||"").toLowerCase(),n=(e.getLabel()||"").toLowerCase();return t.localeCompare(n)},e.prototype._editorActionsToEntries=function(o,e,t){for(var n=e.getSupportedActions(),r=[],i=0,s=n;i<s.length;i++){var c=s[i],u=o.lookupKeybinding(c.id);if(c.label){var d=a.matchesFuzzy(t,c.label);d&&r.push(new b(u?u.getLabel()||"":"",u?u.getAriaLabel()||"":"",d,c,e))}}return r=r.sort(this._sort)},e}(m.BaseEditorQuickOpenAction);e.QuickCommandAction=f,u.registerEditorAction(f)});
;/*!node_modules/monaco-editor/esm/vs/editor/contrib/quickOpen/quickOpen.js*/
define("node_modules/monaco-editor/esm/vs/editor/contrib/quickOpen/quickOpen",function(e,o){"use strict";function n(e,o,n){var c=[],s=m.DocumentSymbolProviderRegistry.all(e).map(function(o){return Promise.resolve(o.provideDocumentSymbols(e,n)).then(function(e){Array.isArray(e)&&c.push.apply(c,e)},function(e){i.onUnexpectedExternalError(e)})});return Promise.all(s).then(function(){var e=[];return n.isCancellationRequested?e:(o?t(e,c,""):e=c,e.sort(r),e)})}function r(e,o){return s.Range.compareRangesUsingStarts(e.range,o.range)}function t(e,o,n){for(var r=0,i=o;r<i.length;r++){var c=i[r];e.push({kind:c.kind,name:c.name,detail:c.detail,containerName:c.containerName||n,range:c.range,selectionRange:c.selectionRange,children:void 0}),c.children&&t(e,c.children,c.name)}}Object.defineProperty(o,"__esModule",{value:!0});var i=e("node_modules/monaco-editor/esm/vs/base/common/errors"),c=e("node_modules/monaco-editor/esm/vs/base/common/uri"),s=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),a=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),d=e("node_modules/monaco-editor/esm/vs/editor/common/services/modelService"),l=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),u=e("node_modules/monaco-editor/esm/vs/editor/common/services/resolverService");o.getDocumentSymbols=n,a.registerLanguageCommand("_executeDocumentSymbolProvider",function(e,o){var r=o.resource;if(!(r instanceof c.URI))throw i.illegalArgument("resource");var t=e.get(d.IModelService).getModel(r);return t?n(t,!1,l.CancellationToken.None):e.get(u.ITextModelService).createModelReference(r).then(function(e){return new Promise(function(o,r){try{var t=n(e.object.textEditorModel,!1,l.CancellationToken.None);o(t)}catch(i){r(i)}}).finally(function(){e.dispose()})})})});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOutline.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOutline",function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=e("node_modules/tslib/tslib"),r=this&&this.__extends||function(){var e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])})(t,o)};return function(t,o){function r(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}}(),n=e("node_modules/monaco-editor/esm/vs/base/common/cancellation"),i=e("node_modules/monaco-editor/esm/vs/base/common/filters"),s=o.__importStar(e("node_modules/monaco-editor/esm/vs/base/common/strings")),u=e("node_modules/monaco-editor/esm/vs/base/parts/quickopen/browser/quickOpenModel"),a=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),c=e("node_modules/monaco-editor/esm/vs/editor/common/core/range"),l=e("node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys"),m=e("node_modules/monaco-editor/esm/vs/editor/common/modes"),d=e("node_modules/monaco-editor/esm/vs/editor/contrib/quickOpen/quickOpen"),p=e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/editorQuickOpen"),f=e("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings"),h=":",g=function(e){function t(t,o,r,n,i,s,u){var a=e.call(this)||this;return a.name=t,a.type=o,a.description=r,a.range=n,a.setHighlights(i),a.editor=s,a.decorator=u,a}return r(t,e),t.prototype.getLabel=function(){return this.name},t.prototype.getAriaLabel=function(){return s.format(f.QuickOutlineNLS.entryAriaLabel,this.name)},t.prototype.getIcon=function(){return this.type},t.prototype.getDescription=function(){return this.description},t.prototype.getType=function(){return this.type},t.prototype.getRange=function(){return this.range},t.prototype.run=function(e,t){return 1===e?this.runOpen(t):this.runPreview()},t.prototype.runOpen=function(){var e=this.toSelection();return this.editor.setSelection(e),this.editor.revealRangeInCenter(e,0),this.editor.focus(),!0},t.prototype.runPreview=function(){var e=this.toSelection();return this.editor.revealRangeInCenter(e,0),this.decorator.decorateLine(this.range,this.editor),!1},t.prototype.toSelection=function(){return new c.Range(this.range.startLineNumber,this.range.startColumn||1,this.range.startLineNumber,this.range.startColumn||1)},t}(u.QuickOpenEntryGroup);t.SymbolEntry=g;var y=function(e){function t(){return e.call(this,f.QuickOutlineNLS.quickOutlineActionInput,{id:"editor.action.quickOutline",label:f.QuickOutlineNLS.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:l.EditorContextKeys.hasDocumentSymbolProvider,kbOpts:{kbExpr:l.EditorContextKeys.focus,primary:3117,weight:100},menuOpts:{group:"navigation",order:3}})||this}return r(t,e),t.prototype.run=function(e,t){var o=this;if(!t.hasModel())return void 0;var r=t.getModel();return m.DocumentSymbolProviderRegistry.has(r)?d.getDocumentSymbols(r,!0,n.CancellationToken.None).then(function(e){0!==e.length&&o._run(t,e)}):void 0},t.prototype._run=function(e,t){var o=this;this._show(this.getController(e),{getModel:function(r){return new u.QuickOpenModel(o.toQuickOpenEntries(e,t,r))},getAutoFocus:function(e){return 0===e.indexOf(h)&&(e=e.substr(h.length)),{autoFocusPrefixMatch:e,autoFocusFirstEntry:!!e}}})},t.prototype.symbolEntry=function(e,t,o,r,n,i,s){return new g(e,t,o,c.Range.lift(r),n,i,s)},t.prototype.toQuickOpenEntries=function(e,t,o){var r=this.getController(e),n=[],u=o;0===o.indexOf(h)&&(u=u.substr(h.length));for(var a=0,c=t;a<c.length;a++){var l=c[a],d=s.trim(l.name),p=i.matchesFuzzy(u,d);if(p){var g=null;l.containerName&&(g=l.containerName),n.push(this.symbolEntry(d,m.symbolKindToCssClass(l.kind),g,l.range,p,e,r))}}if(o&&(n=n.sort(0===o.indexOf(h)?this.sortScoped.bind(this,o.toLowerCase()):this.sortNormal.bind(this,o.toLowerCase()))),n.length>0&&0===o.indexOf(h)){for(var y=null,b=null,_=0,v=0;v<n.length;v++){var O=n[v];y!==O.getType()?(b&&b.setGroupLabel(this.typeToLabel(y||"",_)),y=O.getType(),b=O,_=1,O.setShowBorder(v>0)):_++}b&&b.setGroupLabel(this.typeToLabel(y||"",_))}else n.length>0&&n[0].setGroupLabel(s.format(f.QuickOutlineNLS._symbols_,n.length));return n},t.prototype.typeToLabel=function(e,t){switch(e){case"module":return s.format(f.QuickOutlineNLS._modules_,t);case"class":return s.format(f.QuickOutlineNLS._class_,t);case"interface":return s.format(f.QuickOutlineNLS._interface_,t);case"method":return s.format(f.QuickOutlineNLS._method_,t);case"function":return s.format(f.QuickOutlineNLS._function_,t);case"property":return s.format(f.QuickOutlineNLS._property_,t);case"variable":return s.format(f.QuickOutlineNLS._variable_,t);case"var":return s.format(f.QuickOutlineNLS._variable2_,t);case"constructor":return s.format(f.QuickOutlineNLS._constructor_,t);case"call":return s.format(f.QuickOutlineNLS._call_,t)}return e},t.prototype.sortNormal=function(e,t,o){var r=t.getLabel().toLowerCase(),n=o.getLabel().toLowerCase(),i=r.localeCompare(n);if(0!==i)return i;var s=t.getRange(),u=o.getRange();return s.startLineNumber-u.startLineNumber},t.prototype.sortScoped=function(e,t,o){e=e.substr(h.length);var r=t.getType(),n=o.getType(),i=r.localeCompare(n);if(0!==i)return i;if(e){var s=t.getLabel().toLowerCase(),u=o.getLabel().toLowerCase(),a=s.localeCompare(u);if(0!==a)return a}var c=t.getRange(),l=o.getRange();return c.startLineNumber-l.startLineNumber},t}(p.BaseEditorQuickOpenAction);t.QuickOutlineAction=y,a.registerEditorAction(y)});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),n=this&&this.__decorate||function(e,o,t,n){var r,i=arguments.length,c=3>i?o:null===n?n=Object.getOwnPropertyDescriptor(o,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,o,t,n);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(c=(3>i?r(c):i>3?r(o,t,c):r(o,t))||c);return i>3&&c&&Object.defineProperty(o,t,c),c},r=this&&this.__param||function(e,o){return function(t,n){o(t,n,e)}},i=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),c=e("node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService"),s=e("node_modules/monaco-editor/esm/vs/editor/contrib/referenceSearch/referencesController"),a=e("node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration"),d=e("node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey"),m=e("node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation"),f=e("node_modules/monaco-editor/esm/vs/platform/notification/common/notification"),u=e("node_modules/monaco-editor/esm/vs/platform/storage/common/storage"),l=function(e){function o(o,t,n,r,i,c,s){return e.call(this,!0,o,t,n,r,i,c,s)||this}return t(o,e),o=n([r(1,d.IContextKeyService),r(2,c.ICodeEditorService),r(3,f.INotificationService),r(4,m.IInstantiationService),r(5,u.IStorageService),r(6,a.IConfigurationService)],o)}(s.ReferencesController);o.StandaloneReferencesController=l,i.registerEditorContribution(l)});
;/*!node_modules/monaco-editor/esm/vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast.js*/
define("node_modules/monaco-editor/esm/vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var t=this&&this.__extends||function(){var e=function(o,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,o){e.__proto__=o}||function(e,o){for(var t in o)o.hasOwnProperty(t)&&(e[t]=o[t])})(o,t)};return function(o,t){function n(){this.constructor=o}e(o,t),o.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),n=e("node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions"),r=e("node_modules/monaco-editor/esm/vs/editor/standalone/common/standaloneThemeService"),i=e("node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings"),s=function(e){function o(){var o=e.call(this,{id:"editor.action.toggleHighContrast",label:i.ToggleHighContrastNLS.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:null})||this;return o._originalThemeName=null,o}return t(o,e),o.prototype.run=function(e){var o=e.get(r.IStandaloneThemeService);this._originalThemeName?(o.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=o.getTheme().themeName,o.setTheme("hc-black"))},o}(n.EditorAction);n.registerEditorAction(s)});
;/*!node_modules/monaco-editor/esm/vs/editor/edcore.main.js*/
define("node_modules/monaco-editor/esm/vs/editor/edcore.main",function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var d=e("node_modules/tslib/tslib");e("node_modules/monaco-editor/esm/vs/editor/editor.all"),e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp"),e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard"),e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens"),e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/gotoLine"),e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand"),e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOutline"),e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch"),e("node_modules/monaco-editor/esm/vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast"),d.__exportStar(e("node_modules/monaco-editor/esm/vs/editor/editor.api"),o)});
;/*!node_modules/monaco-editor/esm/vs/editor/editor.main.js*/
define("node_modules/monaco-editor/esm/vs/editor/editor.main",function(o,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o("node_modules/tslib/tslib");o("node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution"),o("node_modules/monaco-editor/esm/vs/language/css/monaco.contribution"),o("node_modules/monaco-editor/esm/vs/language/json/monaco.contribution"),o("node_modules/monaco-editor/esm/vs/language/html/monaco.contribution"),o("node_modules/monaco-editor/esm/vs/basic-languages/monaco.contribution"),n.__exportStar(o("node_modules/monaco-editor/esm/vs/editor/edcore.main"),e)});