@rsdoctor/client 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/resource/css/{826.2794f707.css → 194.1804ae86.css} +1 -1
- package/dist/resource/js/194.d2040614.js +460 -0
- package/dist/resource/js/305.db5ffcb8.js +1 -0
- package/dist/resource/js/685.3bf6ad94.js +1 -0
- package/dist/resource/js/async/239.4c9191f2.js +1 -0
- package/dist/resource/js/async/432.f6d39e14.js +1 -0
- package/dist/resource/js/async/544.76f5144b.js +1 -0
- package/dist/resource/js/async/811.bb04bb18.js +1 -0
- package/dist/resource/js/async/849.d365c7fe.js +1 -0
- package/dist/resource/js/index.16d3c9d0.js +156 -0
- package/dist/resource/js/monaco-0.a40ddf4d.js +43 -0
- package/dist/resource/js/monaco-1.0676ed2b.js +1 -0
- package/dist/resource/js/monaco-10.7cd039ee.js +1 -0
- package/dist/resource/js/monaco-11.3f14898b.js +20 -0
- package/dist/resource/js/monaco-12.e68db2ff.js +18 -0
- package/dist/resource/js/monaco-13.cceae518.js +366 -0
- package/dist/resource/js/monaco-14.5dba9425.js +9 -0
- package/dist/resource/js/monaco-15.e51863e9.js +42 -0
- package/dist/resource/js/monaco-16.38520ce0.js +8 -0
- package/dist/resource/js/monaco-17.75efb769.js +1 -0
- package/dist/resource/js/monaco-2.1823f63a.js +14 -0
- package/dist/resource/js/monaco-3.6e08cdb6.js +3 -0
- package/dist/resource/js/monaco-4.68e498cb.js +3 -0
- package/dist/resource/js/monaco-5.d8235650.js +1 -0
- package/dist/resource/js/monaco-6.02bb134b.js +301 -0
- package/dist/resource/js/monaco-7.b4dff9d1.js +1 -0
- package/dist/resource/js/monaco-8.4a315821.js +1 -0
- package/dist/resource/js/monaco-9.f5f2a132.js +6 -0
- package/package.json +8 -7
- package/dist/resource/js/305.c739e0ad.js +0 -1
- package/dist/resource/js/685.cfc0d5a4.js +0 -1
- package/dist/resource/js/826.5dba3977.js +0 -460
- package/dist/resource/js/async/239.bd71915c.js +0 -1
- package/dist/resource/js/async/432.627e7428.js +0 -1
- package/dist/resource/js/async/544.a3528983.js +0 -1
- package/dist/resource/js/async/811.aeb19dcb.js +0 -1
- package/dist/resource/js/async/849.38fafa21.js +0 -1
- package/dist/resource/js/index.fdcaa546.js +0 -156
- package/dist/resource/js/monaco-0.92c812de.js +0 -20
- package/dist/resource/js/monaco-1.e42b60cc.js +0 -18
- package/dist/resource/js/monaco-10.4b1f76d7.js +0 -1
- package/dist/resource/js/monaco-11.3626543b.js +0 -3
- package/dist/resource/js/monaco-12.9d08b924.js +0 -4
- package/dist/resource/js/monaco-13.3d40eb04.js +0 -1
- package/dist/resource/js/monaco-14.371c9801.js +0 -43
- package/dist/resource/js/monaco-15.d73381b5.js +0 -366
- package/dist/resource/js/monaco-16.e11e3d10.js +0 -42
- package/dist/resource/js/monaco-17.f5db5e54.js +0 -8
- package/dist/resource/js/monaco-2.79f0bbbe.js +0 -1
- package/dist/resource/js/monaco-3.6eef79c7.js +0 -14
- package/dist/resource/js/monaco-4.b9b35171.js +0 -301
- package/dist/resource/js/monaco-5.0a6c00b3.js +0 -9
- package/dist/resource/js/monaco-6.042b95c8.js +0 -3
- package/dist/resource/js/monaco-7.69f7178e.js +0 -3
- package/dist/resource/js/monaco-8.480cca31.js +0 -1
- package/dist/resource/js/monaco-9.d55eba30.js +0 -1
- /package/dist/resource/css/{index.be7fc0b3.css → index.39e8e144.css} +0 -0
- /package/dist/resource/font/{codicon.44bc17fa.ttf → codicon.81ea7998.ttf} +0 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_rsdoctor_client=self.webpackChunk_rsdoctor_client||[]).push([["159"],{7979:function(){},41965:function(){},49448:function(){},16896:function(){},41828:function(){},66832:function(e,t,i){i.d(t,{F:function(){return h},e:function(){return u}});var n=i(55952),s=i(58036),r=i(94260),o=i(73644),a=i(37764),l=i(79221);i(41150);var d=i(94479);let c=n.$,h={keybindingLabelBackground:void 0,keybindingLabelForeground:void 0,keybindingLabelBorder:void 0,keybindingLabelBottomBorder:void 0,keybindingLabelShadow:void 0};class u extends a.JT{constructor(e,t,i){super(),this.os=t,this.keyElements=new Set,this.options=i||Object.create(null);let o=this.options.keybindingLabelForeground;this.domNode=n.R3(e,c(".monaco-keybinding")),o&&(this.domNode.style.color=o),this.hover=this._register((0,s.B)().setupUpdatableHover((0,r.tM)("mouse"),this.domNode,"")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){if(!(this.didEverRender&&this.keybinding===e&&u.areSame(this.matches,t)))this.keybinding=e,this.matches=t,this.render()}render(){var e;if(this.clear(),this.keybinding){let t=this.keybinding.getChords();t[0]&&this.renderChord(this.domNode,t[0],this.matches?this.matches.firstPart:null);for(let e=1;e<t.length;e++)n.R3(this.domNode,c("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderChord(this.domNode,t[e],this.matches?this.matches.chordPart:null);let i=null!==(e=this.options.disableTitle)&&void 0!==e&&e?void 0:this.keybinding.getAriaLabel()||void 0;this.hover.update(i),this.domNode.setAttribute("aria-label",i||"")}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.didEverRender=!0}clear(){n.PO(this.domNode),this.keyElements.clear()}renderChord(e,t,i){let n=o.xo.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,n.ctrlKey,!!(null==i?void 0:i.ctrlKey),n.separator),t.shiftKey&&this.renderKey(e,n.shiftKey,!!(null==i?void 0:i.shiftKey),n.separator),t.altKey&&this.renderKey(e,n.altKey,!!(null==i?void 0:i.altKey),n.separator),t.metaKey&&this.renderKey(e,n.metaKey,!!(null==i?void 0:i.metaKey),n.separator);let s=t.keyLabel;s&&this.renderKey(e,s,!!(null==i?void 0:i.keyCode),"")}renderKey(e,t,i,s){n.R3(e,this.createKeyElement(t,i?".highlight":"")),s&&n.R3(e,c("span.monaco-keybinding-key-separator",void 0,s))}renderUnbound(e){n.R3(e,this.createKeyElement((0,d.NC)("unbound","Unbound")))}createKeyElement(e,t=""){let i=c("span.monaco-keybinding-key"+t,void 0,e);return this.keyElements.add(i),this.options.keybindingLabelBackground&&(i.style.backgroundColor=this.options.keybindingLabelBackground),this.options.keybindingLabelBorder&&(i.style.borderColor=this.options.keybindingLabelBorder),this.options.keybindingLabelBottomBorder&&(i.style.borderBottomColor=this.options.keybindingLabelBottomBorder),this.options.keybindingLabelShadow&&(i.style.boxShadow=`inset 0 -1px 0 ${this.options.keybindingLabelShadow}`),i}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&(0,l.fS)(e.firstPart,t.firstPart)&&(0,l.fS)(e.chordPart,t.chordPart)}}},26791:function(e,t,i){i.d(t,{i:function(){return u}});var n=i(55952),s=i(58036),r=i(94260),o=i(70432),a=i(73250),l=i(98212),d=i(37764);i(17220);class c{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=c.TemplateId,this.renderedTemplates=new Set;let n=new Map(t.map(e=>[e.templateId,e]));for(let t of(this.renderers=[],e)){let e=n.get(t.templateId);if(!e)throw Error(`Table cell renderer for template id ${t.templateId} not found.`);this.renderers.push(e)}}renderTemplate(e){let t=(0,n.R3)(e,(0,n.$)(".monaco-table-tr")),i=[],s=[];for(let e=0;e<this.columns.length;e++){let r=this.renderers[e],o=(0,n.R3)(t,(0,n.$)(".monaco-table-td",{"data-col-index":e}));o.style.width=`${this.getColumnSize(e)}px`,i.push(o),s.push(r.renderTemplate(o))}let r={container:e,cellContainers:i,cellTemplateData:s};return this.renderedTemplates.add(r),r}renderElement(e,t,i,n){for(let s=0;s<this.columns.length;s++){let r=this.columns[s].project(e);this.renderers[s].renderElement(r,t,i.cellTemplateData[s],n)}}disposeElement(e,t,i,n){for(let s=0;s<this.columns.length;s++){let r=this.renderers[s];if(r.disposeElement){let o=this.columns[s].project(e);r.disposeElement(o,t,i.cellTemplateData[s],n)}}}disposeTemplate(e){for(let t=0;t<this.columns.length;t++)this.renderers[t].disposeTemplate(e.cellTemplateData[t]);(0,n.PO)(e.container),this.renderedTemplates.delete(e)}layoutColumn(e,t){for(let{cellContainers:i}of this.renderedTemplates)i[e].style.width=`${t}px`}}c.TemplateId="row";class h extends d.JT{get minimumSize(){var e;return null!==(e=this.column.minimumWidth)&&void 0!==e?e:120}get maximumSize(){var e;return null!==(e=this.column.maximumWidth)&&void 0!==e?e:Number.POSITIVE_INFINITY}get onDidChange(){var e;return null!==(e=this.column.onDidChangeWidthConstraints)&&void 0!==e?e:l.ju.None}constructor(e,t){super(),this.column=e,this.index=t,this._onDidLayout=new l.Q5,this.onDidLayout=this._onDidLayout.event,this.element=(0,n.$)(".monaco-table-th",{"data-col-index":t},e.label),e.tooltip&&this._register((0,s.B)().setupUpdatableHover((0,r.tM)("mouse"),this.element,e.tooltip))}layout(e){this._onDidLayout.fire([this.index,e])}}class u{get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onDidScroll(){return this.list.onDidScroll}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get scrollTop(){return this.list.scrollTop}set scrollTop(e){this.list.scrollTop=e}get scrollHeight(){return this.list.scrollHeight}get renderHeight(){return this.list.renderHeight}get onDidDispose(){return this.list.onDidDispose}constructor(e,t,i,s,r,g){var p;this.virtualDelegate=i,this.domId=`table_id_${++u.InstanceCount}`,this.disposables=new d.SL,this.cachedWidth=0,this.cachedHeight=0,this.domNode=(0,n.R3)(t,(0,n.$)(`.monaco-table.${this.domId}`));let m=s.map((e,t)=>this.disposables.add(new h(e,t))),_={size:m.reduce((e,t)=>e+t.column.weight,0),views:m.map(e=>({size:e.column.weight,view:e}))};this.splitview=this.disposables.add(new a.z(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:_})),this.splitview.el.style.height=`${i.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${i.headerRowHeight}px`;let f=new c(s,r,e=>this.splitview.getViewSize(e));this.list=this.disposables.add(new o.aV(e,this.domNode,(p=i,{getHeight:e=>p.getHeight(e),getTemplateId:()=>c.TemplateId}),[f],g)),l.ju.any(...m.map(e=>e.onDidLayout))(([e,t])=>f.layoutColumn(e,t),null,this.disposables),this.splitview.onDidSashReset(e=>{let t=s.reduce((e,t)=>e+t.weight,0),i=s[e].weight/t*this.cachedWidth;this.splitview.resizeView(e,i)},null,this.disposables),this.styleElement=(0,n.dS)(this.domNode),this.style(o.uZ)}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){let t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {
|
|
2
|
+
top: ${this.virtualDelegate.headerRowHeight+1}px;
|
|
3
|
+
height: calc(100% - ${this.virtualDelegate.headerRowHeight}px);
|
|
4
|
+
}`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}u.InstanceCount=0},8364:function(e,t,i){i.d(t,{H:function(){return l},h:function(){return h}});var n=i(74394),s=i(88853),r=i(33348),o=i(59287),a=i(55278);class l extends n.CH{get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}constructor(e,t,i,n,s={}){super(e,t,i,n,s),this.user=e}setChildren(e,t=a.$.empty(),i){this.model.setChildren(e,t,i)}rerender(e){if(void 0===e){this.view.rerender();return}this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new r.F(e,t,i)}}class d{get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}constructor(e,t,i){this._compressedTreeNodeProvider=e,this.stickyScrollDelegate=t,this.renderer=i,this.templateId=i.templateId,i.onDidChangeTwistieState&&(this.onDidChangeTwistieState=i.onDidChangeTwistieState)}renderTemplate(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){let s=this.stickyScrollDelegate.getCompressedNode(e);!s&&(s=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element)),1===s.element.elements.length?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,n)):(i.compressedTreeNode=s,this.renderer.renderCompressedElements(s,t,i.data,n))}disposeElement(e,t,i,n){var s,r,o,a;i.compressedTreeNode?null===(r=(s=this.renderer).disposeCompressedElements)||void 0===r||r.call(s,i.compressedTreeNode,t,i.data,n):null===(a=(o=this.renderer).disposeElement)||void 0===a||a.call(o,e,t,i.data,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}!function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);r>3&&o&&Object.defineProperty(t,i,o)}([o.H],d.prototype,"compressedTreeNodeProvider",null);class c{constructor(e){this.modelProvider=e,this.compressedStickyNodes=new Map}getCompressedNode(e){return this.compressedStickyNodes.get(e)}constrainStickyScrollNodes(e,t,i){if(this.compressedStickyNodes.clear(),0===e.length)return[];for(let n=0;n<e.length;n++){let s=e[n],r=s.position+s.height;if(n+1<e.length&&r+e[n+1].height>i||n>=t-1&&t<e.length){let t=e.slice(0,n),i=e.slice(n);return[...t,this.compressStickyNodes(i)]}}return e}compressStickyNodes(e){if(0===e.length)throw Error("Can't compress empty sticky nodes");let t=this.modelProvider();if(!t.isCompressionEnabled())return e[0];let i=[];for(let n=0;n<e.length;n++){let s=e[n],r=t.getCompressedTreeNode(s.node.element);if(r.element){if(0!==n&&r.element.incompressible)break;i.push(...r.element.elements)}}if(i.length<2)return e[0];let n=e[e.length-1],s={...n.node,children:[],element:{elements:i,incompressible:!1}},r=new Proxy(e[0].node,{}),o={node:r,startIndex:e[0].startIndex,endIndex:n.endIndex,position:e[0].position,height:e[0].height};return this.compressedStickyNodes.set(r,s),o}}class h extends l{constructor(e,t,i,n,s={}){var r,o;let a=()=>this,l=new c(()=>this.model);super(e,t,i,n.map(e=>new d(a,l,e)),{...(r=a,(o=s)&&{...o,keyboardNavigationLabelProvider:o.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(e){let t;try{t=r().getCompressedTreeNode(e)}catch(t){return o.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e)}return 1===t.element.elements.length?o.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e):o.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}}),stickyScrollDelegate:l})}setChildren(e,t=a.$.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new s.UE(e,t,i)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}},95173:function(e,t,i){var n,s,r,o;i.d(t,{VA:function(){return l},ac:function(){return a},kn:function(){return n},sD:function(){return s}}),(r=n||(n={}))[r.Expanded=0]="Expanded",r[r.Collapsed=1]="Collapsed",r[r.PreserveOrExpanded=2]="PreserveOrExpanded",r[r.PreserveOrCollapsed=3]="PreserveOrCollapsed",(o=s||(s={}))[o.Unknown=0]="Unknown",o[o.Twistie=1]="Twistie",o[o.Element=2]="Element",o[o.Filter=3]="Filter";class a extends Error{constructor(e,t){super(`TreeError [${e}] ${t}`)}}class l{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return!t&&(t=this.fn(e),this._map.set(e,t)),t}}},63950:function(e,t,i){let n;i.d(t,{E:function(){return o},H:function(){return r}});var s=i(84376);function r(){return s.OB&&!!s.OB.VSCODE_DEV}function o(e){if(!r())return{dispose(){}};{let t=function(){!n&&(n=new Set);let e=globalThis;return!e.$hotReload_applyNewExports&&(e.$hotReload_applyNewExports=e=>{let t={config:{mode:void 0},...e};for(let e of n){let i=e(t);if(i)return i}}),n}();return t.add(e),{dispose(){t.delete(e)}}}}r()&&o(({oldExports:e,newSrc:t,config:i})=>{if("patch-prototype"===i.mode)return t=>{var i,n;for(let s in t){let r=t[s];if(console.log(`[hot-reload] Patching prototype methods of '${s}'`,{exportedItem:r}),"function"==typeof r&&r.prototype){let o=e[s];if(o){for(let e of Object.getOwnPropertyNames(r.prototype)){let t=Object.getOwnPropertyDescriptor(r.prototype,e),a=Object.getOwnPropertyDescriptor(o.prototype,e);(null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString())!==(null===(n=null==a?void 0:a.value)||void 0===n?void 0:n.toString())&&console.log(`[hot-reload] Patching prototype method '${s}.${e}'`),Object.defineProperty(o.prototype,e,t)}t[s]=o}}}return!0}})},49062:function(e,t,i){i.d(t,{Pz:function(){return r},Qc:function(){return o}});var n=i(85544),s=i(98084);function r(e){return JSON.stringify(e,a)}function o(e){let t=JSON.parse(e);return t=function e(t,i=0){if(!t||i>200)return t;if("object"==typeof t){switch(t.$mid){case 1:return s.o.revive(t);case 2:return new RegExp(t.source,t.flags);case 17:return new Date(t.source)}if(t instanceof n.KN||t instanceof Uint8Array)return t;if(Array.isArray(t))for(let n=0;n<t.length;++n)t[n]=e(t[n],i+1);else for(let n in t)Object.hasOwnProperty.call(t,n)&&(t[n]=e(t[n],i+1))}return t}(t)}function a(e,t){return t instanceof RegExp?{$mid:2,source:t.source,flags:t.flags}:t}},48411:function(e,t,i){function n(e){let t=function(e){if(s=0,o(e,a,4352),s>0)return r.subarray(0,s);if(o(e,l,4449),s>0)return r.subarray(0,s);if(o(e,d,4520),s>0)return r.subarray(0,s);if(o(e,c,12593),s)return r.subarray(0,s);if(e>=44032&&e<=55203){let t=e-44032,i=t%588,n=Math.floor(t/588),h=Math.floor(i/28),u=i%28-1;if(n<a.length?o(n,a,0):4352+n-12593<c.length&&o(4352+n,c,12593),h<l.length?o(h,l,0):4449+h-12593<c.length&&o(4449+h-12593,c,12593),u>=0&&(u<d.length?o(u,d,0):4520+u-12593<c.length&&o(4520+u-12593,c,12593)),s>0)return r.subarray(0,s)}}(e);if(t&&t.length>0)return new Uint32Array(t)}i.d(t,{C:function(){return n}});let s=0,r=new Uint32Array(10);function o(e,t,i){e>=i&&e<i+t.length&&function(e){if(0!==e)r[s++]=255&e,e>>8&&(r[s++]=e>>8&255),e>>16&&(r[s++]=e>>16&255)}(t[e-i])}let a=new Uint8Array([114,82,115,101,69,102,97,113,81,116,84,100,119,87,99,122,120,118,103]),l=new Uint16Array([107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108]),d=new Uint16Array([114,82,29810,115,30579,26483,101,102,29286,24934,29030,29798,30822,30310,26470,97,113,29809,116,84,100,119,99,122,120,118,103]),c=new Uint16Array([114,82,29810,115,30579,26483,101,69,102,29286,24934,29030,29798,30822,30310,26470,97,113,81,29809,116,84,100,119,87,99,122,120,118,103,107,111,105,79,106,112,117,80,104,27496,28520,27752,121,110,27246,28782,27758,98,109,27757,108])},30363:function(e,t,i){i.d(t,{f:function(){return n}});class n{constructor(e,t=0,i=e.length,n=t-1){this.items=e,this.start=t,this.end=i,this.index=n}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}},25907:function(e,t,i){i.d(t,{G:function(){return s}});let n=globalThis.performance&&"function"==typeof globalThis.performance.now;class s{static create(e){return new s(e)}constructor(e){this._now=n&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return -1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}},38960:function(e,t,i){i.r(t),i.d(t,{conf:function(){return n},language:function(){return s}});var n={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},s={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","lines","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","match","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","no-scrolling","no-sign","no-title","no-topofpage","no-zero","node","nodes","non-unicode","non-unique","not","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","or","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replace","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","table","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","translate","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abap_system_timezone","abap_user_timezone","access","action","adabas","adjust_numbers","allow_precision_loss","allowed","amdp","applicationuser","as_geo_json","as400","associations","balance","behavior","breakup","bulk","cds","cds_client","check_before_save","child","clients","corr","corr_spearman","cross","cycles","datn_add_days","datn_add_months","datn_days_between","dats_from_datn","dats_tims_to_tstmp","dats_to_datn","db2","db6","ddl","dense_rank","depth","deterministic","discarding","entities","entity","error","failed","finalize","first_value","fltp_to_dec","following","fractional","full","graph","grouping","hierarchy","hierarchy_ancestors","hierarchy_ancestors_aggregate","hierarchy_descendants","hierarchy_descendants_aggregate","hierarchy_siblings","incremental","indicators","lag","last_value","lead","leaves","like_regexpr","link","locale_sap","lock","locks","many","mapped","matched","measures","median","mssqlnt","multiple","nodetype","ntile","nulls","occurrences_regexpr","one","operations","oracle","orphans","over","parent","parents","partition","pcre","period","pfcg_mapping","preceding","privileged","product","projection","rank","redirected","replace_regexpr","reported","response","responses","root","row","row_number","sap_system_date","save","schema","session","sets","shortdump","siblings","spantree","start","stddev","string_agg","subtotal","sybase","tims_from_timn","tims_to_timn","to_blob","to_clob","total","trace-entry","tstmp_to_dats","tstmp_to_dst","tstmp_to_tims","tstmpl_from_utcl","tstmpl_to_utcl","unbounded","utcl_add_seconds","utcl_current","utcl_seconds_between","uuid","var","verbatim"],builtinFunctions:["abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","ipow","line_exists","line_index","log","log10","matches","nmax","nmin","numofchar","repeat","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","accp","char","clnt","cuky","curr","datn","dats","d16d","d16n","d16r","d34d","d34n","d34r","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","geom_ewkb","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","timn","tims","unit","utcl","df16_scl","df34_scl","prec","varc","abap_bool","abap_false","abap_true","abap_undefined","me","screen","space","super","sy","syst","table_line","*sys*"],builtinMethods:["class_constructor","constructor"],derivedTypes:["%CID","%CID_REF","%CONTROL","%DATA","%ELEMENT","%FAIL","%KEY","%MSG","%PARAM","%PID","%PID_ASSOC","%PID_PARENT","%_HINTS"],cdsLanguage:["@AbapAnnotation","@AbapCatalog","@AccessControl","@API","@ClientDependent","@ClientHandling","@CompatibilityContract","@DataAging","@EndUserText","@Environment","@LanguageDependency","@MappingRole","@Metadata","@MetadataExtension","@ObjectModel","@Scope","@Semantics","$EXTENSION","$SELF"],selectors:["->","->*","=>","~","~*"],operators:[" +"," -","/","*","**","div","mod","=","#","@","+=","-=","*=","/=","**=","&&=","?=","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","<"," >","<=",">=","<>","><","=<","=>","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","le","lt","na","nb","ne","np","ns","*/","*:","--","/*","//"],symbols:/[=><!~?&+\-*\/\^%#@]+/,tokenizer:{root:[[/[a-z_\/$%@]([\w\/$%]|-(?!>))*/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@cdsLanguage":"annotation","@derivedTypes":"type","@builtinFunctions":"type","@builtinMethods":"type","@operators":"key","@default":"identifier"}}],[/<[\w]+>/,"identifier"],[/##[\w|_]+/,"comment"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@selectors":"tag","@operators":"key","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}}},31363:function(e,t,i){(0,i(88814).H)({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,70798))})},43247:function(e,t,i){(0,i(88814).H)({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,44085))})},85916:function(e,t,i){i.r(t),i.d(t,{conf:function(){return n},language:function(){return s}});var n={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:'"',close:'"'}],autoClosingPairs:[{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["comment"]},{open:'"""',close:'"""'},{open:"`",close:"`",notIn:["string","comment"]},{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"<<",close:">>"}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},s={defaultToken:"source",tokenPostfix:".elixir",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"<<",close:">>",token:"delimiter.angle.special"}],declarationKeywords:["def","defp","defn","defnp","defguard","defguardp","defmacro","defmacrop","defdelegate","defcallback","defmacrocallback","defmodule","defprotocol","defexception","defimpl","defstruct"],operatorKeywords:["and","in","not","or","when"],namespaceKeywords:["alias","import","require","use"],otherKeywords:["after","case","catch","cond","do","else","end","fn","for","if","quote","raise","receive","rescue","super","throw","try","unless","unquote_splicing","unquote","with"],constants:["true","false","nil"],nameBuiltin:["__MODULE__","__DIR__","__ENV__","__CALLER__","__STACKTRACE__"],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:"@whitespace"},{include:"@comments"},{include:"@keywordsShorthand"},{include:"@numbers"},{include:"@identifiers"},{include:"@strings"},{include:"@atoms"},{include:"@sigils"},{include:"@attributes"},{include:"@symbols"}],whitespace:[[/\s+/,"white"]],comments:[[/(#)(.*)/,["comment.punctuation","comment"]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,["constant","constant.punctuation","white"]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:"constant.delimiter",next:"@doubleQuotedStringKeyword"}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:"constant.delimiter",next:"@singleQuotedStringKeyword"}]],doubleQuotedStringKeyword:[[/":/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringKeyword:[[/':/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],numbers:[[/0b@binary/,"number.binary"],[/0o@octal/,"number.octal"],[/0x@hex/,"number.hex"],[/@decimal\.@decimal([eE]-?@decimal)?/,"number.float"],[/@decimal/,"number"]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,["keyword.declaration","white",{cases:{unquote:"keyword","@default":"function"}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":"keyword.declaration","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@default":"function.call"}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,["type.identifier","white","operator","white","function.call"]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,["constant.punctuation","constant","white","operator","white","function.call"]],[/(\|>)(\s*)(@variableName)/,["operator","white",{cases:{"@otherKeywords":"keyword","@default":"function.call"}}]],[/(&)(\s*)(@variableName)/,["operator","white","function.call"]],[/@variableName/,{cases:{"@declarationKeywords":"keyword.declaration","@operatorKeywords":"keyword.operator","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@constants":"constant.language","@nameBuiltin":"variable.language","_.*":"comment.unused","@default":"identifier"}}],[/@moduleName/,"type.identifier"]],strings:[[/"""/,{token:"string.delimiter",next:"@doubleQuotedHeredoc"}],[/'''/,{token:"string.delimiter",next:"@singleQuotedHeredoc"}],[/"/,{token:"string.delimiter",next:"@doubleQuotedString"}],[/'/,{token:"string.delimiter",next:"@singleQuotedString"}]],doubleQuotedHeredoc:[[/"""/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedHeredoc:[[/'''/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],doubleQuotedString:[[/"/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedString:[[/'/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],atoms:[[/(:)(@atomName)/,["constant.punctuation","constant"]],[/:"/,{token:"constant.delimiter",next:"@doubleQuotedStringAtom"}],[/:'/,{token:"constant.delimiter",next:"@singleQuotedStringAtom"}]],doubleQuotedStringAtom:[[/"/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringAtom:[[/'/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.interpol"}],[/~([A-Z]+)@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.noInterpol"}]],sigil:[[/~([a-z]|[A-Z]+)\{/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.{.}"}],[/~([a-z]|[A-Z]+)\[/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.[.]"}],[/~([a-z]|[A-Z]+)\(/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.(.)"}],[/~([a-z]|[A-Z]+)\</,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.<.>"}],[/~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.$2.$2"}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContentInterpol"}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,"string"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContent"}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContentInterpol"}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,"regexp"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContent"}],"sigilStart.interpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContentInterpol"}],"sigilStart.noInterpol":[[/~([a-z]|[A-Z]+)@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,"sigil"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContent"}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:"comment.block.documentation",next:"@doubleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?'''/,{token:"comment.block.documentation",next:"@singleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?"/,{token:"comment.block.documentation",next:"@doubleQuotedStringDocstring"}],[/\@(module|type)?doc (~[sS])?'/,{token:"comment.block.documentation",next:"@singleQuotedStringDocstring"}],[/\@(module|type)?doc false/,"comment.block.documentation"],[/\@(@variableName)/,"variable"]],doubleQuotedHeredocDocstring:[[/"""/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedHeredocDocstring:[[/'''/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],doubleQuotedStringDocstring:[[/"/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedStringDocstring:[[/'/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],symbols:[[/\?(\\.|[^\\\s])/,"number.constant"],[/&\d+/,"operator"],[/<<<|>>>/,"operator"],[/[()\[\]\{\}]|<<|>>/,"@brackets"],[/\.\.\./,"identifier"],[/=>/,"punctuation"],[/@operator/,"operator"],[/[:;,.%]/,"punctuation"]],stringContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringContent"}],stringContent:[[/./,"string"]],stringConstantContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringConstantContent"}],stringConstantContent:[[/./,"constant"]],regexpContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@regexpContent"}],regexpContent:[[/(\s)(#)(\s.*)$/,["white","comment.punctuation","comment"]],[/./,"regexp"]],sigilContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@sigilContent"}],sigilContent:[[/./,"sigil"]],docstringContent:[[/./,"comment.block.documentation"]],escapeChar:[[/@escape/,"constant.character.escape"]],interpolation:[[/#{/,{token:"delimiter.bracket.embed",next:"@interpolationContinue"}]],interpolationContinue:[[/}/,{token:"delimiter.bracket.embed",next:"@pop"}],{include:"@root"}]}}},82174:function(e,t,i){var n=i(88814);(0,n.H)({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,75574)).then(e=>e.TagAutoInterpolationDollar)}),(0,n.H)({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,75574)).then(e=>e.TagAngleInterpolationDollar)}),(0,n.H)({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,75574)).then(e=>e.TagBracketInterpolationDollar)}),(0,n.H)({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,75574)).then(e=>e.TagAngleInterpolationBracket)}),(0,n.H)({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,75574)).then(e=>e.TagBracketInterpolationBracket)}),(0,n.H)({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,75574)).then(e=>e.TagAutoInterpolationDollar)}),(0,n.H)({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,75574)).then(e=>e.TagAutoInterpolationBracket)})},14456:function(e,t,i){(0,i(88814).H)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,71052))})},99236:function(e,t,i){(0,i(88814).H)({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,95189))})},71385:function(e,t,i){let n,s;i.r(t),i.d(t,{conf:function(){return g},language:function(){return p}});var r=i(76761),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,c=(e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of l(t))!d.call(e,s)&&s!==i&&o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},h={};c(h,n=r,"default"),s&&c(s,n,"default");var u=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],g={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:RegExp(`<(?!(?:${u.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:h.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(?!(?:${u.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:h.languages.IndentAction.Indent}}]},p={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\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:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{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:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}},86720:function(e,t,i){(0,i(88814).H)({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,48141))})},92391:function(e,t,i){(0,i(88814).H)({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,36180))})},60211:function(e,t,i){(0,i(88814).H)({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,46826))})},67228:function(e,t,i){(0,i(88814).H)({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,4314))})},86170:function(e,t,i){(0,i(88814).H)({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,85279))})},66261:function(e,t,i){(0,i(88814).H)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,56981))})},14690:function(e,t,i){i.r(t),i.d(t,{conf:function(){return n},language:function(){return s}});var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],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:{offSide:!1,markers:{start:RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},s={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},table:{token:"keyword.$2",next:"@table"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]],table:[{include:"@whitespace"},[/[()]/,"@brackets"],[/[:;]/,"delimiter"],[/[01\-*?xXbBrRfFpPnN]/,"variable.predefined"],["endtable","keyword.endtable","@pop"]]}}},11521:function(e,t,i){i.r(t),i.d(t,{conf:function(){return n},language:function(){return _}});var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"}]};function s(e){let t=[],i=e.split(/\t+|\r+|\n+| +/);for(let e=0;e<i.length;++e)i[e].length>0&&t.push(i[e]);return t}var r=s("true false"),o=s(`
|
|
5
|
+
alias
|
|
6
|
+
break
|
|
7
|
+
case
|
|
8
|
+
const
|
|
9
|
+
const_assert
|
|
10
|
+
continue
|
|
11
|
+
continuing
|
|
12
|
+
default
|
|
13
|
+
diagnostic
|
|
14
|
+
discard
|
|
15
|
+
else
|
|
16
|
+
enable
|
|
17
|
+
fn
|
|
18
|
+
for
|
|
19
|
+
if
|
|
20
|
+
let
|
|
21
|
+
loop
|
|
22
|
+
override
|
|
23
|
+
requires
|
|
24
|
+
return
|
|
25
|
+
struct
|
|
26
|
+
switch
|
|
27
|
+
var
|
|
28
|
+
while
|
|
29
|
+
`),a=s(`
|
|
30
|
+
NULL
|
|
31
|
+
Self
|
|
32
|
+
abstract
|
|
33
|
+
active
|
|
34
|
+
alignas
|
|
35
|
+
alignof
|
|
36
|
+
as
|
|
37
|
+
asm
|
|
38
|
+
asm_fragment
|
|
39
|
+
async
|
|
40
|
+
attribute
|
|
41
|
+
auto
|
|
42
|
+
await
|
|
43
|
+
become
|
|
44
|
+
binding_array
|
|
45
|
+
cast
|
|
46
|
+
catch
|
|
47
|
+
class
|
|
48
|
+
co_await
|
|
49
|
+
co_return
|
|
50
|
+
co_yield
|
|
51
|
+
coherent
|
|
52
|
+
column_major
|
|
53
|
+
common
|
|
54
|
+
compile
|
|
55
|
+
compile_fragment
|
|
56
|
+
concept
|
|
57
|
+
const_cast
|
|
58
|
+
consteval
|
|
59
|
+
constexpr
|
|
60
|
+
constinit
|
|
61
|
+
crate
|
|
62
|
+
debugger
|
|
63
|
+
decltype
|
|
64
|
+
delete
|
|
65
|
+
demote
|
|
66
|
+
demote_to_helper
|
|
67
|
+
do
|
|
68
|
+
dynamic_cast
|
|
69
|
+
enum
|
|
70
|
+
explicit
|
|
71
|
+
export
|
|
72
|
+
extends
|
|
73
|
+
extern
|
|
74
|
+
external
|
|
75
|
+
fallthrough
|
|
76
|
+
filter
|
|
77
|
+
final
|
|
78
|
+
finally
|
|
79
|
+
friend
|
|
80
|
+
from
|
|
81
|
+
fxgroup
|
|
82
|
+
get
|
|
83
|
+
goto
|
|
84
|
+
groupshared
|
|
85
|
+
highp
|
|
86
|
+
impl
|
|
87
|
+
implements
|
|
88
|
+
import
|
|
89
|
+
inline
|
|
90
|
+
instanceof
|
|
91
|
+
interface
|
|
92
|
+
layout
|
|
93
|
+
lowp
|
|
94
|
+
macro
|
|
95
|
+
macro_rules
|
|
96
|
+
match
|
|
97
|
+
mediump
|
|
98
|
+
meta
|
|
99
|
+
mod
|
|
100
|
+
module
|
|
101
|
+
move
|
|
102
|
+
mut
|
|
103
|
+
mutable
|
|
104
|
+
namespace
|
|
105
|
+
new
|
|
106
|
+
nil
|
|
107
|
+
noexcept
|
|
108
|
+
noinline
|
|
109
|
+
nointerpolation
|
|
110
|
+
noperspective
|
|
111
|
+
null
|
|
112
|
+
nullptr
|
|
113
|
+
of
|
|
114
|
+
operator
|
|
115
|
+
package
|
|
116
|
+
packoffset
|
|
117
|
+
partition
|
|
118
|
+
pass
|
|
119
|
+
patch
|
|
120
|
+
pixelfragment
|
|
121
|
+
precise
|
|
122
|
+
precision
|
|
123
|
+
premerge
|
|
124
|
+
priv
|
|
125
|
+
protected
|
|
126
|
+
pub
|
|
127
|
+
public
|
|
128
|
+
readonly
|
|
129
|
+
ref
|
|
130
|
+
regardless
|
|
131
|
+
register
|
|
132
|
+
reinterpret_cast
|
|
133
|
+
require
|
|
134
|
+
resource
|
|
135
|
+
restrict
|
|
136
|
+
self
|
|
137
|
+
set
|
|
138
|
+
shared
|
|
139
|
+
sizeof
|
|
140
|
+
smooth
|
|
141
|
+
snorm
|
|
142
|
+
static
|
|
143
|
+
static_assert
|
|
144
|
+
static_cast
|
|
145
|
+
std
|
|
146
|
+
subroutine
|
|
147
|
+
super
|
|
148
|
+
target
|
|
149
|
+
template
|
|
150
|
+
this
|
|
151
|
+
thread_local
|
|
152
|
+
throw
|
|
153
|
+
trait
|
|
154
|
+
try
|
|
155
|
+
type
|
|
156
|
+
typedef
|
|
157
|
+
typeid
|
|
158
|
+
typename
|
|
159
|
+
typeof
|
|
160
|
+
union
|
|
161
|
+
unless
|
|
162
|
+
unorm
|
|
163
|
+
unsafe
|
|
164
|
+
unsized
|
|
165
|
+
use
|
|
166
|
+
using
|
|
167
|
+
varying
|
|
168
|
+
virtual
|
|
169
|
+
volatile
|
|
170
|
+
wgsl
|
|
171
|
+
where
|
|
172
|
+
with
|
|
173
|
+
writeonly
|
|
174
|
+
yield
|
|
175
|
+
`),l=s(`
|
|
176
|
+
read write read_write
|
|
177
|
+
function private workgroup uniform storage
|
|
178
|
+
perspective linear flat
|
|
179
|
+
center centroid sample
|
|
180
|
+
vertex_index instance_index position front_facing frag_depth
|
|
181
|
+
local_invocation_id local_invocation_index
|
|
182
|
+
global_invocation_id workgroup_id num_workgroups
|
|
183
|
+
sample_index sample_mask
|
|
184
|
+
rgba8unorm
|
|
185
|
+
rgba8snorm
|
|
186
|
+
rgba8uint
|
|
187
|
+
rgba8sint
|
|
188
|
+
rgba16uint
|
|
189
|
+
rgba16sint
|
|
190
|
+
rgba16float
|
|
191
|
+
r32uint
|
|
192
|
+
r32sint
|
|
193
|
+
r32float
|
|
194
|
+
rg32uint
|
|
195
|
+
rg32sint
|
|
196
|
+
rg32float
|
|
197
|
+
rgba32uint
|
|
198
|
+
rgba32sint
|
|
199
|
+
rgba32float
|
|
200
|
+
bgra8unorm
|
|
201
|
+
`),d=s(`
|
|
202
|
+
bool
|
|
203
|
+
f16
|
|
204
|
+
f32
|
|
205
|
+
i32
|
|
206
|
+
sampler sampler_comparison
|
|
207
|
+
texture_depth_2d
|
|
208
|
+
texture_depth_2d_array
|
|
209
|
+
texture_depth_cube
|
|
210
|
+
texture_depth_cube_array
|
|
211
|
+
texture_depth_multisampled_2d
|
|
212
|
+
texture_external
|
|
213
|
+
texture_external
|
|
214
|
+
u32
|
|
215
|
+
`),c=s(`
|
|
216
|
+
array
|
|
217
|
+
atomic
|
|
218
|
+
mat2x2
|
|
219
|
+
mat2x3
|
|
220
|
+
mat2x4
|
|
221
|
+
mat3x2
|
|
222
|
+
mat3x3
|
|
223
|
+
mat3x4
|
|
224
|
+
mat4x2
|
|
225
|
+
mat4x3
|
|
226
|
+
mat4x4
|
|
227
|
+
ptr
|
|
228
|
+
texture_1d
|
|
229
|
+
texture_2d
|
|
230
|
+
texture_2d_array
|
|
231
|
+
texture_3d
|
|
232
|
+
texture_cube
|
|
233
|
+
texture_cube_array
|
|
234
|
+
texture_multisampled_2d
|
|
235
|
+
texture_storage_1d
|
|
236
|
+
texture_storage_2d
|
|
237
|
+
texture_storage_2d_array
|
|
238
|
+
texture_storage_3d
|
|
239
|
+
vec2
|
|
240
|
+
vec3
|
|
241
|
+
vec4
|
|
242
|
+
`),h=s(`
|
|
243
|
+
vec2i vec3i vec4i
|
|
244
|
+
vec2u vec3u vec4u
|
|
245
|
+
vec2f vec3f vec4f
|
|
246
|
+
vec2h vec3h vec4h
|
|
247
|
+
mat2x2f mat2x3f mat2x4f
|
|
248
|
+
mat3x2f mat3x3f mat3x4f
|
|
249
|
+
mat4x2f mat4x3f mat4x4f
|
|
250
|
+
mat2x2h mat2x3h mat2x4h
|
|
251
|
+
mat3x2h mat3x3h mat3x4h
|
|
252
|
+
mat4x2h mat4x3h mat4x4h
|
|
253
|
+
`),u=s(`
|
|
254
|
+
bitcast all any select arrayLength abs acos acosh asin asinh atan atanh atan2
|
|
255
|
+
ceil clamp cos cosh countLeadingZeros countOneBits countTrailingZeros cross
|
|
256
|
+
degrees determinant distance dot exp exp2 extractBits faceForward firstLeadingBit
|
|
257
|
+
firstTrailingBit floor fma fract frexp inverseBits inverseSqrt ldexp length
|
|
258
|
+
log log2 max min mix modf normalize pow quantizeToF16 radians reflect refract
|
|
259
|
+
reverseBits round saturate sign sin sinh smoothstep sqrt step tan tanh transpose
|
|
260
|
+
trunc dpdx dpdxCoarse dpdxFine dpdy dpdyCoarse dpdyFine fwidth fwidthCoarse fwidthFine
|
|
261
|
+
textureDimensions textureGather textureGatherCompare textureLoad textureNumLayers
|
|
262
|
+
textureNumLevels textureNumSamples textureSample textureSampleBias textureSampleCompare
|
|
263
|
+
textureSampleCompareLevel textureSampleGrad textureSampleLevel textureSampleBaseClampToEdge
|
|
264
|
+
textureStore atomicLoad atomicStore atomicAdd atomicSub atomicMax atomicMin
|
|
265
|
+
atomicAnd atomicOr atomicXor atomicExchange atomicCompareExchangeWeak pack4x8snorm
|
|
266
|
+
pack4x8unorm pack2x16snorm pack2x16unorm pack2x16float unpack4x8snorm unpack4x8unorm
|
|
267
|
+
unpack2x16snorm unpack2x16unorm unpack2x16float storageBarrier workgroupBarrier
|
|
268
|
+
workgroupUniformLoad
|
|
269
|
+
`),g=s(`
|
|
270
|
+
&
|
|
271
|
+
&&
|
|
272
|
+
->
|
|
273
|
+
/
|
|
274
|
+
=
|
|
275
|
+
==
|
|
276
|
+
!=
|
|
277
|
+
>
|
|
278
|
+
>=
|
|
279
|
+
<
|
|
280
|
+
<=
|
|
281
|
+
%
|
|
282
|
+
-
|
|
283
|
+
--
|
|
284
|
+
+
|
|
285
|
+
++
|
|
286
|
+
|
|
|
287
|
+
||
|
|
288
|
+
*
|
|
289
|
+
<<
|
|
290
|
+
>>
|
|
291
|
+
+=
|
|
292
|
+
-=
|
|
293
|
+
*=
|
|
294
|
+
/=
|
|
295
|
+
%=
|
|
296
|
+
&=
|
|
297
|
+
|=
|
|
298
|
+
^=
|
|
299
|
+
>>=
|
|
300
|
+
<<=
|
|
301
|
+
`),p=/[_\p{XID_Start}]\p{XID_Continue}*/u,m="variable.predefined",_={tokenPostfix:".wgsl",defaultToken:"invalid",unicode:!0,atoms:r,keywords:o,reserved:a,predeclared_enums:l,predeclared_types:d,predeclared_type_generators:c,predeclared_type_aliases:h,predeclared_intrinsics:u,operators:g,symbols:/[!%&*+\-\.\/:;<=>^|_~,]+/,tokenizer:{root:[[/enable|requires|diagnostic/,"keyword","@directive"],[p,{cases:{"@atoms":m,"@keywords":"keyword","@reserved":"invalid","@predeclared_enums":m,"@predeclared_types":m,"@predeclared_type_generators":m,"@predeclared_type_aliases":m,"@predeclared_intrinsics":m,"@default":"identifier"}}],{include:"@commentOrSpace"},{include:"@numbers"},[/[{}()\[\]]/,"@brackets"],["@","annotation","@attribute"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/./,"invalid"]],commentOrSpace:[[/\s+/,"white"],[/\/\*/,"comment","@blockComment"],[/\/\/.*$/,"comment"]],blockComment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],attribute:[{include:"@commentOrSpace"},[/\w+/,"annotation","@pop"]],directive:[{include:"@commentOrSpace"},[/[()]/,"@brackets"],[/,/,"delimiter"],[p,"meta.content"],[/;/,"delimiter","@pop"]],numbers:[[/0[fh]/,"number.float"],[/[1-9][0-9]*[fh]/,"number.float"],[/[0-9]*\.[0-9]+([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?/,"number.float"],[/[0-9]+[eE][+-]?[0-9]+[fh]?/,"number.float"],[/0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*(?:[pP][+-]?[0-9]+[fh]?)?/,"number.hex"],[/0[xX][0-9a-fA-F]+[pP][+-]?[0-9]+[fh]?/,"number.hex"],[/0[xX][0-9a-fA-F]+[iu]?/,"number.hex"],[/[1-9][0-9]*[iu]?/,"number"],[/0[iu]?/,"number"]]}}},51311:function(e,t,i){i.d(t,{a:function(){return p}});var n=i(3390),s=i(55952),r=i(19711),o=i(91867),a=i(37764),l=i(97147),d=i(34685),c=i(76682),h=i(92011);class u extends d.S{constructor(e,t,i){super(e,t,i),this._register(r.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(s.nm(this.viewHelper.linesContentDomNode,r.t.Tap,e=>this.onTap(e))),this._register(s.nm(this.viewHelper.linesContentDomNode,r.t.Change,e=>this.onChange(e))),this._register(s.nm(this.viewHelper.linesContentDomNode,r.t.Contextmenu,e=>this._onContextMenu(new h.gy(e,!1,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(s.nm(this.viewHelper.linesContentDomNode,"pointerdown",e=>{let t=e.pointerType;if("mouse"===t){this._lastPointerType="mouse";return}"touch"===t?this._lastPointerType="touch":this._lastPointerType="pen"}));let n=new h.tC(this.viewHelper.viewDomNode);this._register(n.onPointerMove(this.viewHelper.viewDomNode,e=>this._onMouseMove(e))),this._register(n.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,(e,t)=>this._onMouseDown(e,t)))}onTap(e){if(!!e.initialTarget&&!!this.viewHelper.linesContentDomNode.contains(e.initialTarget))e.preventDefault(),this.viewHelper.focusTextArea(),this._dispatchGesture(e,!1)}onChange(e){"touch"===this._lastPointerType&&this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY),"pen"===this._lastPointerType&&this._dispatchGesture(e,!0)}_dispatchGesture(e,t){let i=this._createMouseTarget(new h.gy(e,!1,this.viewHelper.viewDomNode),!1);i.position&&this.viewController.dispatchMouse({position:i.position,mouseColumn:i.position.column,startedOnLineNumbers:!1,revealType:1,mouseDownCount:e.tapCount,inSelectionMode:t,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1,onInjectedText:6===i.type&&null!==i.detail.injectedText})}_onMouseDown(e,t){if("touch"!==e.browserEvent.pointerType)super._onMouseDown(e,t)}}class g extends d.S{constructor(e,t,i){super(e,t,i),this._register(r.o.addTarget(this.viewHelper.linesContentDomNode)),this._register(s.nm(this.viewHelper.linesContentDomNode,r.t.Tap,e=>this.onTap(e))),this._register(s.nm(this.viewHelper.linesContentDomNode,r.t.Change,e=>this.onChange(e))),this._register(s.nm(this.viewHelper.linesContentDomNode,r.t.Contextmenu,e=>this._onContextMenu(new h.gy(e,!1,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();let t=this._createMouseTarget(new h.gy(e,!1,this.viewHelper.viewDomNode),!1);if(t.position){let e=document.createEvent("CustomEvent");e.initEvent(c.pd.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position,1)}}onChange(e){this._context.viewModel.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)}}class p extends a.JT{constructor(e,t,i){super(),(l.gn||l.Dt&&l.tq)&&n.D.pointerEvents?this.handler=this._register(new u(e,t,i)):o.E.TouchEvent?this.handler=this._register(new g(e,t,i)):this.handler=this._register(new d.S(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}},19811:function(e,t,i){i.d(t,{al:function(){return r},ee:function(){return a},un:function(){return o}});var n=i(71482),s=i(83112);let r=!1;class o{constructor(e,t,i,n,s){this.value=e,this.selectionStart=t,this.selectionEnd=i,this.selection=n,this.newlineCountBeforeSelection=s}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(e,t){let i,n=e.getValue(),s=e.getSelectionStart(),r=e.getSelectionEnd();if(t){let e=n.substring(0,s);e===t.value.substring(0,t.selectionStart)&&(i=t.newlineCountBeforeSelection)}return new o(n,s,r,null,i)}collapseSelection(){return this.selectionStart===this.value.length?this:new o(this.value,this.value.length,this.value.length,null,void 0)}writeToTextArea(e,t,i){r&&console.log(`writeToTextArea ${e}: ${this.toString()}`),t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){var t,i,n,s,r,o,a,l;if(e<=this.selectionStart){let n=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(null!==(i=null===(t=this.selection)||void 0===t?void 0:t.getStartPosition())&&void 0!==i?i:null,n,-1)}if(e>=this.selectionEnd){let t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(null!==(s=null===(n=this.selection)||void 0===n?void 0:n.getEndPosition())&&void 0!==s?s:null,t,1)}let d=this.value.substring(this.selectionStart,e);if(-1===d.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(null!==(o=null===(r=this.selection)||void 0===r?void 0:r.getStartPosition())&&void 0!==o?o:null,d,1);let c=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(null!==(l=null===(a=this.selection)||void 0===a?void 0:a.getEndPosition())&&void 0!==l?l:null,c,-1)}_finishDeduceEditorPosition(e,t,i){let n=0,s=-1;for(;-1!==(s=t.indexOf("\n",s+1));)n++;return[e,i*t.length,n]}static deduceInput(e,t,i){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};r&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`));let s=Math.min(n.Mh(e.value,t.value),e.selectionStart,t.selectionStart),o=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd,t.value.length-t.selectionEnd),a=e.value.substring(s,e.value.length-o),l=t.value.substring(s,t.value.length-o),d=e.selectionStart-s,c=e.selectionEnd-s,h=t.selectionStart-s,u=t.selectionEnd-s;if(r&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${a}>, selectionStart: ${d}, selectionEnd: ${c}`),console.log(`AFTER DIFFING CURRENT STATE: <${l}>, selectionStart: ${h}, selectionEnd: ${u}`)),h===u){let t=e.selectionStart-s;return r&&console.log(`REMOVE PREVIOUS: ${t} chars`),{text:l,replacePrevCharCnt:t,replaceNextCharCnt:0,positionDelta:0}}return{text:l,replacePrevCharCnt:c-d,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(e,t){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(r&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${e.toString()}`),console.log(`CURRENT STATE: ${t.toString()}`)),e.value===t.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:t.selectionEnd-e.selectionEnd};let i=Math.min(n.Mh(e.value,t.value),e.selectionEnd),s=Math.min(n.P1(e.value,t.value),e.value.length-e.selectionEnd),o=e.value.substring(i,e.value.length-s),a=t.value.substring(i,t.value.length-s),l=e.selectionStart-i,d=e.selectionEnd-i,c=t.selectionStart-i,h=t.selectionEnd-i;return r&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${o}>, selectionStart: ${l}, selectionEnd: ${d}`),console.log(`AFTER DIFFING CURRENT STATE: <${a}>, selectionStart: ${c}, selectionEnd: ${h}`)),{text:a,replacePrevCharCnt:d,replaceNextCharCnt:o.length-d,positionDelta:h-a.length}}}o.EMPTY=new o("",0,0,null,void 0);class a{static _getPageOfLine(e,t){return Math.floor((e-1)/t)}static _getRangeForPage(e,t){let i=e*t;return new s.e(i+1,1,i+t+1,1)}static fromEditorSelection(e,t,i,n){let r;let l=a._getPageOfLine(t.startLineNumber,i),d=a._getRangeForPage(l,i),c=a._getPageOfLine(t.endLineNumber,i),h=a._getRangeForPage(c,i),u=d.intersectRanges(new s.e(1,1,t.startLineNumber,t.startColumn));if(n&&e.getValueLengthInRange(u,1)>500){let t=e.modifyPosition(u.getEndPosition(),-500);u=s.e.fromPositions(t,u.getEndPosition())}let g=e.getValueInRange(u,1),p=e.getLineCount(),m=e.getLineMaxColumn(p),_=h.intersectRanges(new s.e(t.endLineNumber,t.endColumn,p,m));if(n&&e.getValueLengthInRange(_,1)>500){let t=e.modifyPosition(_.getStartPosition(),500);_=s.e.fromPositions(_.getStartPosition(),t)}let f=e.getValueInRange(_,1);if(l===c||l+1===c)r=e.getValueInRange(t,1);else{let i=d.intersectRanges(t),n=h.intersectRanges(t);r=e.getValueInRange(i,1)+String.fromCharCode(8230)+e.getValueInRange(n,1)}return n&&r.length>1e3&&(r=r.substring(0,500)+String.fromCharCode(8230)+r.substring(r.length-500,r.length)),new o(g+r+f,g.length,g.length+r.length,t,u.endLineNumber-u.startLineNumber)}}},64909:function(e,t,i){i.d(t,{CL:function(){return s},Pi:function(){return o},QI:function(){return r}});var n=i(68201);function s(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===n.g.ICodeEditor}function r(e){return!!e&&"function"==typeof e.getEditorType&&e.getEditorType()===n.g.IDiffEditor}function o(e){var t;if(s(e))return e;if(r(e))return e.getModifiedEditor();return(t=e)&&"object"==typeof t&&"function"==typeof t.onDidChangeActiveEditor&&s(e.activeCodeEditor)?e.activeCodeEditor:null}},96722:function(e,t,i){var n=i(91114),s=i(29149),r=i(94590),o=i(59955),a=i(81844),l=i(95449),d=i(40453),c=i(37764),h=i(55952),u=i(81171),g=i(12084),p=i(44279),m=i(55111),_=i(91867),f=i(50216),b=i(42436),v=i(1966),y=function(e,t){return function(i,n){t(i,n,e)}};let w=class extends c.JT{constructor(e,t,i,n,s){super(),this._instantiationService=e,this._keybindingService=i,this._layoutService=n,this._accessibilityService=s,t.onDidShowContextMenu(()=>this.hideHover()),this._contextViewHandler=this._register(new f.a(this._layoutService))}showHover(e,t,i){var n,s,r,o;if(k(this._currentHoverOptions)===k(e)||this._currentHover&&(null===(s=null===(n=this._currentHoverOptions)||void 0===n?void 0:n.persistence)||void 0===s?void 0:s.sticky))return;this._currentHoverOptions=e,this._lastHoverOptions=e;let a=e.trapFocus||this._accessibilityService.isScreenReaderOptimized(),l=(0,h.vY)();!i&&(a&&l?this._lastFocusedElementBeforeOpen=l:this._lastFocusedElementBeforeOpen=void 0);let u=new c.SL,g=this._instantiationService.createInstance(d.c,e);if((null===(r=e.persistence)||void 0===r?void 0:r.sticky)&&(g.isLocked=!0),g.onDispose(()=>{var t,i;(null===(t=this._currentHover)||void 0===t?void 0:t.domNode)&&(0,h.b5)(this._currentHover.domNode)&&(null===(i=this._lastFocusedElementBeforeOpen)||void 0===i||i.focus()),this._currentHoverOptions===e&&(this._currentHoverOptions=void 0),u.dispose()},void 0,u),!e.container){let t=e.target instanceof HTMLElement?e.target:e.target.targetElements[0];e.container=this._layoutService.getContainer((0,h.Jj)(t))}if(this._contextViewHandler.showContextView(new S(g,t),e.container),g.onRequestLayout(()=>this._contextViewHandler.layout(),void 0,u),null===(o=e.persistence)||void 0===o?void 0:o.sticky)u.add((0,h.nm)((0,h.Jj)(e.container).document,h.tw.MOUSE_DOWN,e=>{!(0,h.jg)(e.target,g.domNode)&&this.doHideHover()}));else{if("targetElements"in e.target)for(let t of e.target.targetElements)u.add((0,h.nm)(t,h.tw.CLICK,()=>this.hideHover()));else u.add((0,h.nm)(e.target,h.tw.CLICK,()=>this.hideHover()));let t=(0,h.vY)();if(t){let i=(0,h.Jj)(t).document;u.add((0,h.nm)(t,h.tw.KEY_DOWN,t=>{var i;return this._keyDown(t,g,!!(null===(i=e.persistence)||void 0===i?void 0:i.hideOnKeyDown))})),u.add((0,h.nm)(i,h.tw.KEY_DOWN,t=>{var i;return this._keyDown(t,g,!!(null===(i=e.persistence)||void 0===i?void 0:i.hideOnKeyDown))})),u.add((0,h.nm)(t,h.tw.KEY_UP,e=>this._keyUp(e,g))),u.add((0,h.nm)(i,h.tw.KEY_UP,e=>this._keyUp(e,g)))}}if("IntersectionObserver"in _.E){let t=new IntersectionObserver(e=>this._intersectionChange(e,g),{threshold:0}),i="targetElements"in e.target?e.target.targetElements[0]:e.target;t.observe(i),u.add((0,c.OF)(()=>t.disconnect()))}return this._currentHover=g,g}hideHover(){var e;if((null===(e=this._currentHover)||void 0===e?!void 0:!e.isLocked)&&!!this._currentHoverOptions)this.doHideHover()}doHideHover(){this._currentHover=void 0,this._currentHoverOptions=void 0,this._contextViewHandler.hideContextView()}_intersectionChange(e,t){!e[e.length-1].isIntersecting&&t.dispose()}showAndFocusLastHover(){if(!!this._lastHoverOptions)this.showHover(this._lastHoverOptions,!0,!0)}_keyDown(e,t,i){var n,s;if("Alt"===e.key){t.isLocked=!0;return}let r=new g.y(e);if(!this._keybindingService.resolveKeyboardEvent(r).getSingleModifierDispatchChords().some(e=>!!e)&&0===this._keybindingService.softDispatch(r,r.target).kind)i&&(!(null===(n=this._currentHoverOptions)||void 0===n?void 0:n.trapFocus)||"Tab"!==e.key)&&(this.hideHover(),null===(s=this._lastFocusedElementBeforeOpen)||void 0===s||s.focus())}_keyUp(e,t){var i;"Alt"===e.key&&(t.isLocked=!1,!t.isMouseIn&&(this.hideHover(),null===(i=this._lastFocusedElementBeforeOpen)||void 0===i||i.focus()))}setupUpdatableHover(e,t,i,n){let s,r,o;t.setAttribute("custom-hover","true"),""!==t.title&&(console.warn("HTML element already has a title attribute, which will conflict with the custom hover. Please remove the title attribute."),console.trace("Stack trace:",t.title),t.title="");let a=(t,i)=>{var n;let o=void 0!==r;t&&(null==r||r.dispose(),r=void 0),i&&(null==s||s.dispose(),s=void 0),o&&(null===(n=e.onDidHideHover)||void 0===n||n.call(e),r=void 0)},l=(s,o,a)=>new v._F(async()=>{(!r||r.isDisposed)&&(r=new b.k(e,a||t,s>0),await r.update("function"==typeof i?i():i,o,n))},s),d=!1,u=(0,h.nm)(t,h.tw.MOUSE_DOWN,()=>{d=!0,a(!0,!0)},!0),g=(0,h.nm)(t,h.tw.MOUSE_UP,()=>{d=!1},!0),p=(0,h.nm)(t,h.tw.MOUSE_LEAVE,e=>{d=!1,a(!1,e.fromElement===t)},!0),m=(0,h.nm)(t,h.tw.MOUSE_OVER,i=>{if(s)return;let n=new c.SL,r={targetElements:[t],dispose:()=>{}};if((void 0===e.placement||"mouse"===e.placement)&&n.add((0,h.nm)(t,h.tw.MOUSE_MOVE,e=>{r.x=e.x+10,e.target instanceof HTMLElement&&x(e.target,t)!==t&&a(!0,!0)},!0)),s=n,!(i.target instanceof HTMLElement)||x(i.target,t)===t)n.add(l(e.delay,!1,r))},!0),_=t.tagName.toLowerCase();return"input"!==_&&"textarea"!==_&&(o=(0,h.nm)(t,h.tw.FOCUS,()=>{if(d||s)return;let i=new c.SL;i.add((0,h.nm)(t,h.tw.BLUR,()=>a(!0,!0),!0)),i.add(l(e.delay,!1,{targetElements:[t],dispose:()=>{}})),s=i},!0)),{show:e=>{a(!1,!0),l(0,e)},hide:()=>{a(!0,!0)},update:async(e,t)=>{i=e,await (null==r?void 0:r.update(i,void 0,t))},dispose:()=>{m.dispose(),p.dispose(),u.dispose(),g.dispose(),null==o||o.dispose(),a(!0,!0)}}}};function k(e){var t;if(void 0!==e)return null!==(t=null==e?void 0:e.id)&&void 0!==t?t:e}w=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}([y(0,l.TG),y(1,a.i),y(2,u.d),y(3,m.F),y(4,p.F)],w);class S{get anchorPosition(){return this._hover.anchor}constructor(e,t=!1){this._hover=e,this._focus=t,this.layer=1}render(e){return this._hover.render(e),this._focus&&this._hover.focus(),this._hover}getAnchor(){return{x:this._hover.x,y:this._hover.y}}layout(){this._hover.layout()}}function x(e,t){for(t=null!=t?t:(0,h.Jj)(e).document.body;!e.hasAttribute("custom-hover")&&e!==t;)e=e.parentElement;return e}(0,n.z)(o.Bs,w,1),(0,s.Ic)((e,t)=>{let i=e.getColor(r.CNo);i&&(t.addRule(`.monaco-workbench .workbench-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-workbench .workbench-hover hr { border-top: 1px solid ${i.transparent(.5)}; }`))})},11535:function(e,t,i){i.d(t,{BX:function(){return h},gM:function(){return u}}),i(69812);var n=i(31759),s=i(85351),r=i(47983),o=i(29149),a=i(98681),l=i(91989),d=i(70668);class c extends n.i{constructor(e){super(),this._context=e;let t=this._context.configuration.options,i=t.get(145);this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new a.Y(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1,t=new Set;for(let e of this._selections)t.add(e.positionLineNumber);let i=Array.from(t);i.sort((e,t)=>e-t),!r.fS(this._cursorLineNumbers,i)&&(this._cursorLineNumbers=i,e=!0);let n=this._selections.every(e=>e.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){let t=this._context.configuration.options,i=t.get(145);return this._renderLineHighlight=t.get(96),this._renderLineHighlightOnlyWhenFocus=t.get(97),this._wordWrap=i.isViewportWrapping,this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(!this._shouldRenderThis()){this._renderData=null;return}let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=[];for(let e=t;e<=i;e++)n[e-t]="";if(this._wordWrap){let s=this._renderOne(e,!1);for(let e of this._cursorLineNumbers){let r=this._context.viewModel.coordinatesConverter,o=r.convertViewPositionToModelPosition(new d.L(e,1)).lineNumber,a=r.convertModelPositionToViewPosition(new d.L(o,1)).lineNumber,l=r.convertModelPositionToViewPosition(new d.L(o,this._context.viewModel.model.getLineMaxColumn(o))).lineNumber,c=Math.max(a,t),h=Math.min(l,i);for(let e=c;e<=h;e++)n[e-t]=s}}let s=this._renderOne(e,!0);for(let e of this._cursorLineNumbers){if(!(e<t)&&!(e>i))n[e-t]=s}this._renderData=n}render(e,t){if(!this._renderData)return"";let i=t-e;return i>=this._renderData.length?"":this._renderData[i]}_shouldRenderInMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderInContent(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class h extends c{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-both":"")+(t?" current-line-exact":"");return`<div class="${i}" style="width:${Math.max(e.scrollWidth,this._contentWidth)}px;"></div>`}_shouldRenderThis(){return this._shouldRenderInContent()}_shouldRenderOther(){return this._shouldRenderInMargin()}}class u extends c{_renderOne(e,t){let i="current-line"+(this._shouldRenderInMargin()?" current-line-margin":"")+(this._shouldRenderOther()?" current-line-margin-both":"")+(this._shouldRenderInMargin()&&t?" current-line-exact-margin":"");return`<div class="${i}" style="width:${this._contentLeft}px"></div>`}_shouldRenderThis(){return!0}_shouldRenderOther(){return this._shouldRenderInContent()}}(0,o.Ic)((e,t)=>{let i=e.getColor(s.Kh);if(i&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${i}; border: none; }`)),!i||i.isTransparent()||e.defines(s.Mm)){let i=e.getColor(s.Mm);i&&(t.addRule(`.monaco-editor .view-overlays .current-line-exact { border: 2px solid ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-exact-margin { border: 2px solid ${i}; }`),(0,l.c3)(e.type)&&(t.addRule(".monaco-editor .view-overlays .current-line-exact { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-exact-margin { border-width: 1px; }")))}})},86659:function(e,t,i){i.d(t,{U:function(){return s}}),i(71756);var n=i(52441);class s extends n.$U{constructor(e){super(),this._context=e;let t=this._context.configuration.options.get(145);this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){let t=this._context.configuration.options.get(145);return this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){var t,i;let s=e.getDecorationsInViewport(),r=[],o=0;for(let e=0,a=s.length;e<a;e++){let a=s[e],l=a.options.linesDecorationsClassName,d=a.options.zIndex;l&&(r[o++]=new n.tv(a.range.startLineNumber,a.range.endLineNumber,l,null!==(t=a.options.linesDecorationsTooltip)&&void 0!==t?t:null,d));let c=a.options.firstLineDecorationClassName;c&&(r[o++]=new n.tv(a.range.startLineNumber,a.range.startLineNumber,c,null!==(i=a.options.linesDecorationsTooltip)&&void 0!==i?i:null,d))}return r}prepareRender(e){let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=this._render(t,i,this._getDecorations(e)),s=this._decorationsLeft.toString(),r='" style="left:'+s+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',o=[];for(let e=t;e<=i;e++){let i=e-t,s=n[i].getDecorations(),a="";for(let e of s){let t='<div class="cldr '+e.className;null!==e.tooltip&&(t+='" title="'+e.tooltip),t+=r,a+=t}o[i]=a}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}},50121:function(e,t,i){i.d(t,{X:function(){return s}}),i(67454);var n=i(52441);class s extends n.$U{constructor(e){super(),this._context=e,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getDecorations(e){let t=e.getDecorationsInViewport(),i=[],s=0;for(let e=0,r=t.length;e<r;e++){let r=t[e],o=r.options.marginClassName,a=r.options.zIndex;o&&(i[s++]=new n.tv(r.range.startLineNumber,r.range.endLineNumber,o,null,a))}return i}prepareRender(e){let t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=this._render(t,i,this._getDecorations(e)),s=[];for(let e=t;e<=i;e++){let i=e-t,r=n[i].getDecorations(),o="";for(let e of r)o+='<div class="cmdr '+e.className+'" style=""></div>';s[i]=o}this._renderResult=s}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}},60183:function(e,t,i){i.d(t,{r:function(){return l}});var n=i(37764),s=i(56136),r=i(6520),o=i(96118),a=i(68919);class l extends n.JT{constructor(e,t,i,n){super(),this._editors=e,this._diffModel=t,this._options=i,this._decorations=(0,s.nK)(this,e=>{var t;let i=null===(t=this._diffModel.read(e))||void 0===t?void 0:t.diff.read(e);if(!i)return null;let n=this._diffModel.read(e).movedTextToCompare.read(e),s=this._options.renderIndicators.read(e),a=this._options.showEmptyDecorations.read(e),l=[],d=[];if(!n)for(let e of i.mappings)if(!e.lineRangeMapping.original.isEmpty&&l.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:s?o.iq:o.i_}),!e.lineRangeMapping.modified.isEmpty&&d.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:s?o.vv:o.rd}),e.lineRangeMapping.modified.isEmpty||e.lineRangeMapping.original.isEmpty)!e.lineRangeMapping.original.isEmpty&&l.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:o.W3}),!e.lineRangeMapping.modified.isEmpty&&d.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:o.Jv});else for(let t of e.lineRangeMapping.innerChanges||[])e.lineRangeMapping.original.contains(t.originalRange.startLineNumber)&&l.push({range:t.originalRange,options:t.originalRange.isEmpty()&&a?o.$F:o.rq}),e.lineRangeMapping.modified.contains(t.modifiedRange.startLineNumber)&&d.push({range:t.modifiedRange,options:t.modifiedRange.isEmpty()&&a?o.n_:o.LE});if(n)for(let e of n.changes){let t=e.original.toInclusiveRange();t&&l.push({range:t,options:s?o.iq:o.i_});let i=e.modified.toInclusiveRange();for(let t of(i&&d.push({range:i,options:s?o.vv:o.rd}),e.innerChanges||[]))l.push({range:t.originalRange,options:o.rq}),d.push({range:t.modifiedRange,options:o.LE})}let c=this._diffModel.read(e).activeMovedText.read(e);for(let e of i.movedTexts)l.push({range:e.lineRangeMapping.original.toInclusiveRange(),options:{description:"moved",blockClassName:"movedOriginal"+(e===c?" currentMove":""),blockPadding:[r.Q.movedCodeBlockPadding,0,r.Q.movedCodeBlockPadding,r.Q.movedCodeBlockPadding]}}),d.push({range:e.lineRangeMapping.modified.toInclusiveRange(),options:{description:"moved",blockClassName:"movedModified"+(e===c?" currentMove":""),blockPadding:[4,0,4,4]}});return{originalDecorations:l,modifiedDecorations:d}}),this._register((0,a.RP)(this._editors.original,this._decorations.map(e=>(null==e?void 0:e.originalDecorations)||[]))),this._register((0,a.RP)(this._editors.modified,this._decorations.map(e=>(null==e?void 0:e.modifiedDecorations)||[])))}}},8773:function(e,t,i){i.d(t,{i:function(){return l},z:function(){return a}});var n=i(45802),s=i(17202),r=i(83112),o=i(65910);class a{static fromRangeInclusive(e){return new a(e.startLineNumber,e.endLineNumber+1)}static joinMany(e){if(0===e.length)return[];let t=new l(e[0].slice());for(let i=1;i<e.length;i++)t=t.getUnion(new l(e[i].slice()));return t.ranges}static join(e){if(0===e.length)throw new n.he("lineRanges cannot be empty");let t=e[0].startLineNumber,i=e[0].endLineNumberExclusive;for(let n=1;n<e.length;n++)t=Math.min(t,e[n].startLineNumber),i=Math.max(i,e[n].endLineNumberExclusive);return new a(t,i)}static ofLength(e,t){return new a(e,e+t)}static deserialize(e){return new a(e[0],e[1])}constructor(e,t){if(e>t)throw new n.he(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new a(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new a(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new a(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(e){let t=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(t<=i)return new a(t,i)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new r.e(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new r.e(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){let t=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)t.push(e(i));return t}forEach(e){for(let t=this.startLineNumber;t<this.endLineNumberExclusive;t++)e(t)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}toOffsetRange(){return new s.q(this.startLineNumber-1,this.endLineNumberExclusive-1)}}class l{constructor(e=[]){this._normalizedRanges=e}get ranges(){return this._normalizedRanges}addRange(e){if(0===e.length)return;let t=(0,o.J_)(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=(0,o.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)this._normalizedRanges.splice(t,0,e);else if(t===i-1){let i=this._normalizedRanges[t];this._normalizedRanges[t]=i.join(e)}else{let n=this._normalizedRanges[t].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(t,i-t,n)}}contains(e){let t=(0,o.ti)(this._normalizedRanges,t=>t.startLineNumber<=e);return!!t&&t.endLineNumberExclusive>e}intersects(e){let t=(0,o.ti)(this._normalizedRanges,t=>t.startLineNumber<e.endLineNumberExclusive);return!!t&&t.endLineNumberExclusive>e.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;let t=[],i=0,n=0,s=null;for(;i<this._normalizedRanges.length||n<e._normalizedRanges.length;){let r=null;if(i<this._normalizedRanges.length&&n<e._normalizedRanges.length){let t=this._normalizedRanges[i],s=e._normalizedRanges[n];t.startLineNumber<s.startLineNumber?(r=t,i++):(r=s,n++)}else i<this._normalizedRanges.length?(r=this._normalizedRanges[i],i++):(r=e._normalizedRanges[n],n++);null===s?s=r:s.endLineNumberExclusive>=r.startLineNumber?s=new a(s.startLineNumber,Math.max(s.endLineNumberExclusive,r.endLineNumberExclusive)):(t.push(s),s=r)}return null!==s&&t.push(s),new l(t)}subtractFrom(e){let t=(0,o.J_)(this._normalizedRanges,t=>t.endLineNumberExclusive>=e.startLineNumber),i=(0,o.Jw)(this._normalizedRanges,t=>t.startLineNumber<=e.endLineNumberExclusive)+1;if(t===i)return new l([e]);let n=[],s=e.startLineNumber;for(let e=t;e<i;e++){let t=this._normalizedRanges[e];t.startLineNumber>s&&n.push(new a(s,t.startLineNumber)),s=t.endLineNumberExclusive}return s<e.endLineNumberExclusive&&n.push(new a(s,e.endLineNumberExclusive)),new l(n)}toString(){return this._normalizedRanges.map(e=>e.toString()).join(", ")}getIntersection(e){let t=[],i=0,n=0;for(;i<this._normalizedRanges.length&&n<e._normalizedRanges.length;){let s=this._normalizedRanges[i],r=e._normalizedRanges[n],o=s.intersect(r);o&&!o.isEmpty&&t.push(o),s.endLineNumberExclusive<r.endLineNumberExclusive?i++:n++}return new l(t)}getWithDelta(e){return new l(this._normalizedRanges.map(t=>t.delta(e)))}}},27985:function(e,t,i){i.d(t,{O:function(){return r}});var n=i(17202),s=i(2945);class r{constructor(e){this.text=e,this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let t=0;t<e.length;t++)"\n"===e.charAt(t)&&this.lineStartOffsetByLineIdx.push(t+1)}getOffset(e){return this.lineStartOffsetByLineIdx[e.lineNumber-1]+e.column-1}getOffsetRange(e){return new n.q(this.getOffset(e.getStartPosition()),this.getOffset(e.getEndPosition()))}get textLength(){let e=this.lineStartOffsetByLineIdx.length-1;return new s.A(e,this.text.length-this.lineStartOffsetByLineIdx[e])}}},80059:function(e,t,i){i.d(t,{b:function(){return a},q:function(){return o}});var n=i(85544),s=i(34086);function r(e){return e.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class o{get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}constructor(e,t,i,n){this.oldPosition=e,this.oldText=t,this.newPosition=i,this.newText=n}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${r(this.newText)}")`:0===this.newText.length?`(delete@${this.oldPosition} "${r(this.oldText)}")`:`(replace@${this.oldPosition} "${r(this.oldText)}" with "${r(this.newText)}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,i){let s=t.length;n.T4(e,s,i),i+=4;for(let r=0;r<s;r++)n.oq(e,t.charCodeAt(r),i),i+=2;return i}static _readString(e,t){let i=n.Ag(e,t);return t+=4,(0,s.kH)(e,t,i)}writeSize(){return 8+o._writeStringSize(this.oldText)+o._writeStringSize(this.newText)}write(e,t){return n.T4(e,this.oldPosition,t),t+=4,n.T4(e,this.newPosition,t),t+=4,t=o._writeString(e,this.oldText,t),t=o._writeString(e,this.newText,t)}static read(e,t,i){let s=n.Ag(e,t);t+=4;let r=n.Ag(e,t);t+=4;let a=o._readString(e,t);t+=o._writeStringSize(a);let l=o._readString(e,t);return t+=o._writeStringSize(l),i.push(new o(s,a,r,l)),t}}function a(e,t){return null===e||0===e.length?t:new l(e,t).compress()}class l{constructor(e,t){this._prevEdits=e,this._currEdits=t,this._result=[],this._resultLen=0,this._prevLen=this._prevEdits.length,this._prevDeltaOffset=0,this._currLen=this._currEdits.length,this._currDeltaOffset=0}compress(){let e=0,t=0,i=this._getPrev(e),n=this._getCurr(t);for(;e<this._prevLen||t<this._currLen;){let s,r;if(null===i){this._acceptCurr(n),n=this._getCurr(++t);continue}if(null===n){this._acceptPrev(i),i=this._getPrev(++e);continue}if(n.oldEnd<=i.newPosition){this._acceptCurr(n),n=this._getCurr(++t);continue}if(i.newEnd<=n.oldPosition){this._acceptPrev(i),i=this._getPrev(++e);continue}if(n.oldPosition<i.newPosition){let[e,t]=l._splitCurr(n,i.newPosition-n.oldPosition);this._acceptCurr(e),n=t;continue}if(i.newPosition<n.oldPosition){let[e,t]=l._splitPrev(i,n.oldPosition-i.newPosition);this._acceptPrev(e),i=t;continue}if(n.oldEnd===i.newEnd)s=i,r=n,i=this._getPrev(++e),n=this._getCurr(++t);else if(n.oldEnd<i.newEnd){let[e,o]=l._splitPrev(i,n.oldLength);s=e,r=n,i=o,n=this._getCurr(++t)}else{let[t,o]=l._splitCurr(n,i.newLength);s=i,r=t,i=this._getPrev(++e),n=o}this._result[this._resultLen++]=new o(s.oldPosition,s.oldText,r.newPosition,r.newText),this._prevDeltaOffset+=s.newLength-s.oldLength,this._currDeltaOffset+=r.newLength-r.oldLength}let s=l._merge(this._result);return l._removeNoOps(s)}_acceptCurr(e){this._result[this._resultLen++]=l._rebaseCurr(this._prevDeltaOffset,e),this._currDeltaOffset+=e.newLength-e.oldLength}_getCurr(e){return e<this._currLen?this._currEdits[e]:null}_acceptPrev(e){this._result[this._resultLen++]=l._rebasePrev(this._currDeltaOffset,e),this._prevDeltaOffset+=e.newLength-e.oldLength}_getPrev(e){return e<this._prevLen?this._prevEdits[e]:null}static _rebaseCurr(e,t){return new o(t.oldPosition-e,t.oldText,t.newPosition,t.newText)}static _rebasePrev(e,t){return new o(t.oldPosition,t.oldText,t.newPosition+e,t.newText)}static _splitPrev(e,t){let i=e.newText.substr(0,t),n=e.newText.substr(t);return[new o(e.oldPosition,e.oldText,e.newPosition,i),new o(e.oldEnd,"",e.newPosition+t,n)]}static _splitCurr(e,t){let i=e.oldText.substr(0,t),n=e.oldText.substr(t);return[new o(e.oldPosition,i,e.newPosition,e.newText),new o(e.oldPosition+t,n,e.newEnd,"")]}static _merge(e){if(0===e.length)return e;let t=[],i=0,n=e[0];for(let s=1;s<e.length;s++){let r=e[s];n.oldEnd===r.oldPosition?n=new o(n.oldPosition,n.oldText+r.oldText,n.newPosition,n.newText+r.newText):(t[i++]=n,n=r)}return t[i++]=n,t}static _removeNoOps(e){if(0===e.length)return e;let t=[],i=0;for(let n=0;n<e.length;n++){let s=e[n];if(s.oldText!==s.newText)t[i++]=s}return t}}},94554:function(e,t,i){i.d(t,{D:function(){return n}});let n={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}}},38810:function(e,t,i){i.d(t,{k:function(){return r}});var n=i(17202),s=i(21111);class r{compute(e,t,i=s.n0.instance){if(0===e.length||0===t.length)return s.KU.trivial(e,t);function r(i,n){for(;i<e.length&&n<t.length&&e.getElement(i)===t.getElement(n);)i++,n++;return i}let d=0,c=new a;c.set(0,r(0,0));let h=new l;h.set(0,0===c.get(0)?null:new o(null,0,0,c.get(0)));let u=0;e:for(;;){if(d++,!i.isValid())return s.KU.trivialTimedOut(e,t);let n=-Math.min(d,t.length+d%2),a=Math.min(d,e.length+d%2);for(u=n;u<=a;u+=2){let i=0,s=u===a?-1:c.get(u+1),l=u===n?-1:c.get(u-1)+1;i++;let d=Math.min(Math.max(s,l),e.length),g=d-u;if(i++,d>e.length||g>t.length)continue;let p=r(d,g);c.set(u,p);let m=d===s?h.get(u+1):h.get(u-1);if(h.set(u,p!==d?new o(m,d,g,p-d):m),c.get(u)===e.length&&c.get(u)-u===t.length)break e}}let g=h.get(u),p=[],m=e.length,_=t.length;for(;;){let e=g?g.x+g.length:0,t=g?g.y+g.length:0;if((e!==m||t!==_)&&p.push(new s.i8(new n.q(e,m),new n.q(t,_))),!g)break;m=g.x,_=g.y,g=g.prev}return p.reverse(),new s.KU(p,!1)}}class o{constructor(e,t,i,n){this.prev=e,this.x=t,this.y=i,this.length=n}}class a{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){let e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){let e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class l{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}},39207:function(e,t,i){i.d(t,{c:function(){return l}});var n=i(98212),s=i(37764),r=i(42733),o=i(11689);class a{constructor(e,t,i,n){this.uri=e,this.languageId=t,this.notebookUri=i,this.notebookType=n}equals(e){var t,i;return this.notebookType===e.notebookType&&this.languageId===e.languageId&&this.uri.toString()===e.uri.toString()&&(null===(t=this.notebookUri)||void 0===t?void 0:t.toString())===(null===(i=e.notebookUri)||void 0===i?void 0:i.toString())}}class l{constructor(e){this._notebookInfoResolver=e,this._clock=0,this._entries=[],this._onDidChange=new n.Q5,this.onDidChange=this._onDidChange.event}register(e,t){let i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),(0,s.OF)(()=>{if(i){let e=this._entries.indexOf(i);e>=0&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i=void 0)}})}has(e){return this.all(e).length>0}all(e){if(!e)return[];this._updateScores(e);let t=[];for(let e of this._entries)e._score>0&&t.push(e.provider);return t}ordered(e){let t=[];return this._orderedForEach(e,e=>t.push(e.provider)),t}orderedGroups(e){let t,i;let n=[];return this._orderedForEach(e,e=>{t&&i===e._score?t.push(e.provider):(i=e._score,t=[e.provider],n.push(t))}),n}_orderedForEach(e,t){for(let i of(this._updateScores(e),this._entries))i._score>0&&t(i)}_updateScores(e){var t,i;let n=null===(t=this._notebookInfoResolver)||void 0===t?void 0:t.call(this,e.uri),s=n?new a(e.uri,e.getLanguageId(),n.uri,n.type):new a(e.uri,e.getLanguageId(),void 0,void 0);if(null===(i=this._lastCandidate)||void 0===i?!void 0:!i.equals(s)){for(let t of(this._lastCandidate=s,this._entries))if(t._score=(0,o.G)(t.selector,s.uri,s.languageId,(0,r.pt)(e),s.notebookUri,s.notebookType),function e(t){return"string"!=typeof t&&(Array.isArray(t)?t.every(e):!!t.exclusive)}(t.selector)&&t._score>0){for(let e of this._entries)e._score=0;t._score=1e3;break}this._entries.sort(l._compareByScoreAndTime)}}static _compareByScoreAndTime(e,t){return e._score<t._score?1:e._score>t._score?-1:d(e.selector)&&!d(t.selector)?1:!d(e.selector)&&d(t.selector)?-1:e._time<t._time?1:e._time>t._time?-1:0}}function d(e){return"string"!=typeof e&&(Array.isArray(e)?e.some(d):!!e.isBuiltin)}},11689:function(e,t,i){i.d(t,{G:function(){return function e(t,i,r,o,a,l){if(Array.isArray(t)){let n=0;for(let s of t){let t=e(s,i,r,o,a,l);if(10===t)return t;t>n&&(n=t)}return n}if("string"==typeof t)return o?"*"===t?5:t===r?10:0:0;if(!t)return 0;else{let{language:e,pattern:d,scheme:c,hasAccessToAllModels:h,notebookType:u}=t;if(!o&&!h)return 0;u&&a&&(i=a);let g=0;if(c){if(c===i.scheme)g=10;else{if("*"!==c)return 0;g=5}}if(e){if(e===r)g=10;else{if("*"!==e)return 0;g=Math.max(g,5)}}if(u){if(u===l)g=10;else{if("*"!==u||void 0===l)return 0;g=Math.max(g,5)}}if(d){let e;if(!((e="string"==typeof d?d:{...d,base:(0,s.Fv)(d.base)})===i.fsPath||(0,n.EQ)(e,i.fsPath)))return 0;g=10}return g}}}});var n=i(7388),s=i(3225)},7361:function(e,t,i){i.d(t,{e:function(){return c}});var n=i(52640);function s(e){let t=[];for(let i of e){let e=Number(i);(e||0===e&&""!==i.replace(/\s/g,""))&&t.push(e)}return t}function r(e,t,i,n){return{red:e/255,blue:i/255,green:t/255,alpha:n}}function o(e,t){let i=t.index,n=t[0].length;if(!i)return;let s=e.positionAt(i);return{startLineNumber:s.lineNumber,startColumn:s.column,endLineNumber:s.lineNumber,endColumn:s.column+n}}function a(e,t,i){if(!e||1!==t.length)return;let n=s(t[0].values());return{range:e,color:r(n[0],n[1],n[2],i?n[3]:1)}}function l(e,t,i){if(!e||1!==t.length)return;let o=s(t[0].values()),a=new n.Il(new n.Oz(o[0],o[1]/100,o[2]/100,i?o[3]:1));return{range:e,color:r(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function d(e,t){return"string"==typeof e?[...e.matchAll(t)]:e.findMatches(t)}function c(e){return e&&"function"==typeof e.getValue&&"function"==typeof e.positionAt?function(e){let t=[],i=d(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let s of i){let i;let c=s.filter(e=>void 0!==e),h=c[1],u=c[2];if(!!u){if("rgb"===h){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;i=a(o(e,s),d(u,t),!1)}else if("rgba"===h){let t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=a(o(e,s),d(u,t),!0)}else if("hsl"===h){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;i=l(o(e,s),d(u,t),!1)}else if("hsla"===h){let t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;i=l(o(e,s),d(u,t),!0)}else"#"===h&&(i=function(e,t){if(!e)return;let i=n.Il.Format.CSS.parseHex(t);if(!!i)return{range:e,color:r(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}(o(e,s),h+u));i&&t.push(i)}}return t}(e):[]}},71458:function(e,t,i){i.d(t,{A:function(){return r}});var n=i(73071),s=i(38386);function r(e,t,i,r){let o;let a=(0,s.n2)(t,i.startLineNumber,i.startColumn),l=r.getLanguageConfiguration(a.languageId);if(!l)return null;let d=a.getLineContent(),c=d.substr(0,i.startColumn-1-a.firstCharOffset);o=i.isEmpty()?d.substr(i.startColumn-1-a.firstCharOffset):(0,s.n2)(t,i.endLineNumber,i.endColumn).getLineContent().substr(i.endColumn-1-a.firstCharOffset);let h="";if(i.startLineNumber>1&&0===a.firstCharOffset){let e=(0,s.n2)(t,i.startLineNumber-1);e.languageId===a.languageId&&(h=e.getLineContent())}let u=l.onEnter(e,h,c,o);if(!u)return null;let g=u.indentAction,p=u.appendText,m=u.removeText||0;p?g===n.wU.Indent&&(p=" "+p):p=g===n.wU.Indent||g===n.wU.IndentOutdent?" ":"";let _=(0,s.u0)(t,i.startLineNumber,i.startColumn);return m&&(_=_.substring(0,_.length-m)),{indentAction:g,appendText:p,removeText:m,indentation:_}}},9114:function(e,t,i){i.d(t,{Dy:function(){return o},Ri:function(){return r},TJ:function(){return s}});var n=i(64141);let s=new class{clone(){return this}equals(e){return this===e}};function r(e,t){return new n.hG([new n.WU(0,"",e)],t)}function o(e,t){let i=new Uint32Array(2);return i[0]=0,i[1]=(e<<0|33587200)>>>0,new n.DI(i,null===t?s:t)}},16516:function(e,t,i){i.d(t,{O:function(){return o}});var n=i(47983),s=i(55892),r=i(53986);class o{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(let t of this._richEditBrackets.brackets)for(let i of t.close){let t=i.charAt(i.length-1);e.push(t)}return(0,n.EB)(e)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;let n=t.findTokenIndexAtOffset(i-1);if((0,s.Bu)(t.getStandardTokenType(n)))return null;let o=this._richEditBrackets.reversedRegex,a=t.getLineContent().substring(0,i-1)+e,l=r.Vr.findPrevBracketInRange(o,1,a,0,a.length);if(!l)return null;let d=a.substring(l.startColumn-1,l.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[d])return null;let c=t.getActualLineContentBefore(l.startColumn-1);return/^\s*$/.test(c)?{matchOpenBracket:d}:null}}},75531:function(e,t,i){i.d(t,{P:function(){return b}});var n=i(47983),s=i(1966),r=i(45802),o=i(98212),a=i(37764),l=i(37013),d=i(8773),c=i(70668),h=i(56810),u=i(64141),g=i(68774),p=i(86120),m=i(2723),_=i(16126),f=i(74303);class b extends g.U{constructor(e,t,i,n,s,r){super(),this._languageService=e,this._languageConfigurationService=t,this._textModel=i,this._bracketPairsTextModelPart=n,this._languageId=s,this._attachedViews=r,this._semanticTokens=new f.u(this._languageService.languageIdCodec),this._onDidChangeLanguage=this._register(new o.Q5),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new o.Q5),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new o.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this.grammarTokens=this._register(new v(this._languageService.languageIdCodec,this._textModel,()=>this._languageId,this._attachedViews)),this._register(this._languageConfigurationService.onDidChange(e=>{e.affects(this._languageId)&&this._onDidChangeLanguageConfiguration.fire({})})),this._register(this.grammarTokens.onDidChangeTokens(e=>{this._emitModelTokensChangedEvent(e)})),this._register(this.grammarTokens.onDidChangeBackgroundTokenizationState(e=>{this._bracketPairsTextModelPart.handleDidChangeBackgroundTokenizationState()}))}handleDidChangeContent(e){if(e.isFlush)this._semanticTokens.flush();else if(!e.isEolChange)for(let t of e.changes){let[e,i,n]=(0,l.Q)(t.text);this._semanticTokens.acceptEdit(t.range,e,i,n,t.text.length>0?t.text.charCodeAt(0):0)}this.grammarTokens.handleDidChangeContent(e)}handleDidChangeAttached(){this.grammarTokens.handleDidChangeAttached()}getLineTokens(e){this.validateLineNumber(e);let t=this.grammarTokens.getLineTokens(e);return this._semanticTokens.addSparseTokens(e,t)}_emitModelTokensChangedEvent(e){!this._textModel._isDisposing()&&(this._bracketPairsTextModelPart.handleDidChangeTokens(e),this._onDidChangeTokens.fire(e))}validateLineNumber(e){if(e<1||e>this._textModel.getLineCount())throw new r.he("Illegal value for lineNumber")}get hasTokens(){return this.grammarTokens.hasTokens}resetTokenization(){this.grammarTokens.resetTokenization()}get backgroundTokenizationState(){return this.grammarTokens.backgroundTokenizationState}forceTokenization(e){this.validateLineNumber(e),this.grammarTokens.forceTokenization(e)}hasAccurateTokensForLine(e){return this.validateLineNumber(e),this.grammarTokens.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return this.validateLineNumber(e),this.grammarTokens.isCheapToTokenize(e)}tokenizeIfCheap(e){this.validateLineNumber(e),this.grammarTokens.tokenizeIfCheap(e)}getTokenTypeIfInsertingCharacter(e,t,i){return this.grammarTokens.getTokenTypeIfInsertingCharacter(e,t,i)}tokenizeLineWithEdit(e,t,i){return this.grammarTokens.tokenizeLineWithEdit(e,t,i)}setSemanticTokens(e,t){this._semanticTokens.set(e,t),this._emitModelTokensChangedEvent({semanticTokensApplied:null!==e,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]})}hasCompleteSemanticTokens(){return this._semanticTokens.isComplete()}hasSomeSemanticTokens(){return!this._semanticTokens.isEmpty()}setPartialSemanticTokens(e,t){if(this.hasCompleteSemanticTokens())return;let i=this._textModel.validateRange(this._semanticTokens.setPartial(e,t));this._emitModelTokensChangedEvent({semanticTokensApplied:!0,ranges:[{fromLineNumber:i.startLineNumber,toLineNumber:i.endLineNumber}]})}getWordAtPosition(e){this.assertNotDisposed();let t=this._textModel.validatePosition(e),i=this._textModel.getLineContent(t.lineNumber),n=this.getLineTokens(t.lineNumber),s=n.findTokenIndexAtOffset(t.column-1),[r,o]=b._findLanguageBoundaries(n,s),a=(0,h.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(s)).getWordDefinition(),i.substring(r,o),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a;if(s>0&&r===t.column-1){let[r,o]=b._findLanguageBoundaries(n,s-1),a=(0,h.t2)(t.column,this.getLanguageConfiguration(n.getLanguageId(s-1)).getWordDefinition(),i.substring(r,o),r);if(a&&a.startColumn<=e.column&&e.column<=a.endColumn)return a}return null}getLanguageConfiguration(e){return this._languageConfigurationService.getLanguageConfiguration(e)}static _findLanguageBoundaries(e,t){let i=e.getLanguageId(t),n=0;for(let s=t;s>=0&&e.getLanguageId(s)===i;s--)n=e.getStartOffset(s);let s=e.getLineContent().length;for(let n=t,r=e.getCount();n<r&&e.getLanguageId(n)===i;n++)s=e.getEndOffset(n);return[n,s]}getWordUntilPosition(e){let 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}}getLanguageId(){return this._languageId}getLanguageIdAtPosition(e,t){let i=this._textModel.validatePosition(new c.L(e,t)),n=this.getLineTokens(i.lineNumber);return n.getLanguageId(n.findTokenIndexAtOffset(i.column-1))}setLanguageId(e,t="api"){if(this._languageId===e)return;let i={oldLanguage:this._languageId,newLanguage:e,source:t};this._languageId=e,this._bracketPairsTextModelPart.handleDidChangeLanguage(i),this.grammarTokens.resetTokenization(),this._onDidChangeLanguage.fire(i),this._onDidChangeLanguageConfiguration.fire({})}}class v extends a.JT{get backgroundTokenizationState(){return this._backgroundTokenizationState}constructor(e,t,i,n){super(),this._languageIdCodec=e,this._textModel=t,this.getLanguageId=i,this._tokenizer=null,this._defaultBackgroundTokenizer=null,this._backgroundTokenizer=this._register(new a.XK),this._tokens=new _.l(this._languageIdCodec),this._debugBackgroundTokenizer=this._register(new a.XK),this._backgroundTokenizationState=1,this._onDidChangeBackgroundTokenizationState=this._register(new o.Q5),this.onDidChangeBackgroundTokenizationState=this._onDidChangeBackgroundTokenizationState.event,this._onDidChangeTokens=this._register(new o.Q5),this.onDidChangeTokens=this._onDidChangeTokens.event,this._attachedViewStates=this._register(new a.b2),this._register(u.RW.onDidChange(e=>{let t=this.getLanguageId();if(-1!==e.changedLanguages.indexOf(t))this.resetTokenization()})),this.resetTokenization(),this._register(n.onDidChangeVisibleRanges(({view:e,state:t})=>{if(t){let i=this._attachedViewStates.get(e);!i&&(i=new y(()=>this.refreshRanges(i.lineRanges)),this._attachedViewStates.set(e,i)),i.handleStateChange(t)}else this._attachedViewStates.deleteAndDispose(e)}))}resetTokenization(e=!0){var t;this._tokens.flush(),null===(t=this._debugBackgroundTokens)||void 0===t||t.flush(),this._debugBackgroundStates&&(this._debugBackgroundStates=new p.qN(this._textModel.getLineCount())),e&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:[{fromLineNumber:1,toLineNumber:this._textModel.getLineCount()}]});let[i,n]=(()=>{let e;if(this._textModel.isTooLargeForTokenization())return[null,null];let t=u.RW.get(this.getLanguageId());if(!t)return[null,null];try{e=t.getInitialState()}catch(e){return(0,r.dL)(e),[null,null]}return[t,e]})();if(i&&n?this._tokenizer=new p.Nc(this._textModel.getLineCount(),i,this._textModel,this._languageIdCodec):this._tokenizer=null,this._backgroundTokenizer.clear(),this._defaultBackgroundTokenizer=null,this._tokenizer){let e={setTokens:e=>{this.setTokens(e)},backgroundTokenizationFinished:()=>{if(2!==this._backgroundTokenizationState)this._backgroundTokenizationState=2,this._onDidChangeBackgroundTokenizationState.fire()},setEndState:(e,t)=>{var i;if(!this._tokenizer)return;let n=this._tokenizer.store.getFirstInvalidEndStateLineNumber();null!==n&&e>=n&&(null===(i=this._tokenizer)||void 0===i||i.store.setEndState(e,t))}};i&&i.createBackgroundTokenizer&&!i.backgroundTokenizerShouldOnlyVerifyTokens&&(this._backgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,e)),!this._backgroundTokenizer.value&&!this._textModel.isTooLargeForTokenization()&&(this._backgroundTokenizer.value=this._defaultBackgroundTokenizer=new p.AX(this._tokenizer,e),this._defaultBackgroundTokenizer.handleChanges()),(null==i?void 0:i.backgroundTokenizerShouldOnlyVerifyTokens)&&i.createBackgroundTokenizer?(this._debugBackgroundTokens=new _.l(this._languageIdCodec),this._debugBackgroundStates=new p.qN(this._textModel.getLineCount()),this._debugBackgroundTokenizer.clear(),this._debugBackgroundTokenizer.value=i.createBackgroundTokenizer(this._textModel,{setTokens:e=>{var t;null===(t=this._debugBackgroundTokens)||void 0===t||t.setMultilineTokens(e,this._textModel)},backgroundTokenizationFinished(){},setEndState:(e,t)=>{var i;null===(i=this._debugBackgroundStates)||void 0===i||i.setEndState(e,t)}})):(this._debugBackgroundTokens=void 0,this._debugBackgroundStates=void 0,this._debugBackgroundTokenizer.value=void 0)}this.refreshAllVisibleLineTokens()}handleDidChangeAttached(){var e;null===(e=this._defaultBackgroundTokenizer)||void 0===e||e.handleChanges()}handleDidChangeContent(e){var t,i,n;if(e.isFlush)this.resetTokenization(!1);else if(!e.isEolChange){for(let i of e.changes){let[e,n]=(0,l.Q)(i.text);this._tokens.acceptEdit(i.range,e,n),null===(t=this._debugBackgroundTokens)||void 0===t||t.acceptEdit(i.range,e,n)}null===(i=this._debugBackgroundStates)||void 0===i||i.acceptChanges(e.changes),this._tokenizer&&this._tokenizer.store.acceptChanges(e.changes),null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.handleChanges()}}setTokens(e){let{changes:t}=this._tokens.setMultilineTokens(e,this._textModel);return t.length>0&&this._onDidChangeTokens.fire({semanticTokensApplied:!1,ranges:t}),{changes:t}}refreshAllVisibleLineTokens(){let e=d.z.joinMany([...this._attachedViewStates].map(([e,t])=>t.lineRanges));this.refreshRanges(e)}refreshRanges(e){for(let t of e)this.refreshRange(t.startLineNumber,t.endLineNumberExclusive-1)}refreshRange(e,t){var i,n;if(!this._tokenizer)return;e=Math.max(1,Math.min(this._textModel.getLineCount(),e)),t=Math.min(this._textModel.getLineCount(),t);let s=new m.N,{heuristicTokens:r}=this._tokenizer.tokenizeHeuristically(s,e,t),o=this.setTokens(s.finalize());if(r)for(let e of o.changes)null===(i=this._backgroundTokenizer.value)||void 0===i||i.requestTokens(e.fromLineNumber,e.toLineNumber+1);null===(n=this._defaultBackgroundTokenizer)||void 0===n||n.checkFinished()}forceTokenization(e){var t,i;let n=new m.N;null===(t=this._tokenizer)||void 0===t||t.updateTokensUntilLine(n,e),this.setTokens(n.finalize()),null===(i=this._defaultBackgroundTokenizer)||void 0===i||i.checkFinished()}hasAccurateTokensForLine(e){return!this._tokenizer||this._tokenizer.hasAccurateTokensForLine(e)}isCheapToTokenize(e){return!this._tokenizer||this._tokenizer.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){var t;let i=this._textModel.getLineContent(e),n=this._tokens.getTokens(this._textModel.getLanguageId(),e-1,i);if(this._debugBackgroundTokens&&this._debugBackgroundStates&&this._tokenizer&&this._debugBackgroundStates.getFirstInvalidEndStateLineNumberOrMax()>e&&this._tokenizer.store.getFirstInvalidEndStateLineNumberOrMax()>e){let s=this._debugBackgroundTokens.getTokens(this._textModel.getLanguageId(),e-1,i);!n.equals(s)&&(null===(t=this._debugBackgroundTokenizer.value)||void 0===t?void 0:t.reportMismatchingTokens)&&this._debugBackgroundTokenizer.value.reportMismatchingTokens(e)}return n}getTokenTypeIfInsertingCharacter(e,t,i){if(!this._tokenizer)return 0;let n=this._textModel.validatePosition(new c.L(e,t));return this.forceTokenization(n.lineNumber),this._tokenizer.getTokenTypeIfInsertingCharacter(n,i)}tokenizeLineWithEdit(e,t,i){if(!this._tokenizer)return null;let n=this._textModel.validatePosition(e);return this.forceTokenization(n.lineNumber),this._tokenizer.tokenizeLineWithEdit(n,t,i)}get hasTokens(){return this._tokens.hasTokens}}class y extends a.JT{get lineRanges(){return this._lineRanges}constructor(e){super(),this._refreshTokens=e,this.runner=this._register(new s.pY(()=>this.update(),50)),this._computedLineRanges=[],this._lineRanges=[]}update(){if(!(0,n.fS)(this._computedLineRanges,this._lineRanges,(e,t)=>e.equals(t)))this._computedLineRanges=this._lineRanges,this._refreshTokens()}handleStateChange(e){this._lineRanges=e.visibleLineRanges,e.stabilized?(this.runner.cancel(),this.update()):this.runner.schedule()}}},93804:function(e,t,i){i.d(t,{A:function(){return g}});var n,s=i(53255),r=i(7005),o=i(45065),a=i(62042),l=i(91114),d=i(95449),c=i(80853),h=i(6438),u=function(e,t){return function(i,n){t(i,n,e)}};let g=(0,d.yh)("ILanguageFeatureDebounceService");!function(e){let t=new WeakMap,i=0;e.of=function(e){let n=t.get(e);return void 0===n&&(n=++i,t.set(e,n)),n}}(n||(n={}));class p{constructor(e){this._default=e}get(e){return this._default}update(e,t){return this._default}default(){return this._default}}class m{constructor(e,t,i,n,s,o){this._logService=e,this._name=t,this._registry=i,this._default=n,this._min=s,this._max=o,this._cache=new r.z6(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((e,t)=>(0,s.SP)(n.of(t),e),0)}get(e){let t=this._key(e),i=this._cache.get(t);return i?(0,o.uZ)(i.value,this._min,this._max):this.default()}update(e,t){let i=this._key(e),n=this._cache.get(i);!n&&(n=new o.N(6),this._cache.set(i,n));let s=(0,o.uZ)(n.update(t),this._min,this._max);return!(0,h.xn)(e.uri,"output")&&this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${s}ms`),s}_overall(){let e=new o.nM;for(let[,t]of this._cache)e.update(t.value);return e.value}default(){let e=0|this._overall()||this._default;return(0,o.uZ)(e,this._min,this._max)}}let _=class{constructor(e,t){this._logService=e,this._data=new Map,this._isDev=t.isExtensionDevelopment||!t.isBuilt}for(e,t,i){var s,r,o;let a=null!==(s=null==i?void 0:i.min)&&void 0!==s?s:50,l=null!==(r=null==i?void 0:i.max)&&void 0!==r?r:a**2,d=null!==(o=null==i?void 0:i.key)&&void 0!==o?o:void 0,c=`${n.of(e)},${a}${d?","+d:""}`,h=this._data.get(c);return!h&&(this._isDev?(this._logService.debug(`[DEBOUNCE: ${t}] is disabled in developed mode`),h=new p(1.5*a)):h=new m(this._logService,t,e,0|this._overallAverage()||1.5*a,a,l),this._data.set(c,h)),h}_overallAverage(){let e=new o.nM;for(let t of this._data.values())e.update(t.default());return e.value}};_=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}([u(0,c.VZ),u(1,a.Y)],_),(0,l.z)(g,_,1)},76891:function(e,t,i){i.d(t,{p:function(){return n}});let n=(0,i(95449).yh)("ILanguageFeaturesService")},55700:function(e,t,i){i.d(t,{T:function(){return d}});var n=i(98212),s=i(37764),r=i(38230),o=i(47983),a=i(64141),l=i(85829);class d extends s.JT{constructor(e=!1){super(),this._onDidRequestBasicLanguageFeatures=this._register(new n.Q5),this.onDidRequestBasicLanguageFeatures=this._onDidRequestBasicLanguageFeatures.event,this._onDidRequestRichLanguageFeatures=this._register(new n.Q5),this.onDidRequestRichLanguageFeatures=this._onDidRequestRichLanguageFeatures.event,this._onDidChange=this._register(new n.Q5({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,this._requestedBasicLanguages=new Set,this._requestedRichLanguages=new Set,d.instanceCount++,this._registry=this._register(new r.t(!0,e)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){d.instanceCount--,super.dispose()}isRegisteredLanguageId(e){return this._registry.isRegisteredLanguageId(e)}getLanguageIdByLanguageName(e){return this._registry.getLanguageIdByLanguageName(e)}getLanguageIdByMimeType(e){return this._registry.getLanguageIdByMimeType(e)}guessLanguageIdByFilepathOrFirstLine(e,t){let i=this._registry.guessLanguageIdByFilepathOrFirstLine(e,t);return(0,o.Xh)(i,null)}createById(e){return new c(this.onDidChange,()=>this._createAndGetLanguageIdentifier(e))}createByFilepathOrFirstLine(e,t){return new c(this.onDidChange,()=>{let i=this.guessLanguageIdByFilepathOrFirstLine(e,t);return this._createAndGetLanguageIdentifier(i)})}_createAndGetLanguageIdentifier(e){return(!e||!this.isRegisteredLanguageId(e))&&(e=l.bd),e}requestBasicLanguageFeatures(e){!this._requestedBasicLanguages.has(e)&&(this._requestedBasicLanguages.add(e),this._onDidRequestBasicLanguageFeatures.fire(e))}requestRichLanguageFeatures(e){!this._requestedRichLanguages.has(e)&&(this._requestedRichLanguages.add(e),this.requestBasicLanguageFeatures(e),a.RW.getOrCreate(e),this._onDidRequestRichLanguageFeatures.fire(e))}}d.instanceCount=0;class c{constructor(e,t){this._onDidChangeLanguages=e,this._selector=t,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return!this._listener&&(this._listener=this._onDidChangeLanguages(()=>this._evaluate())),!this._emitter&&(this._emitter=new n.Q5({onDidRemoveLastListener:()=>{this._dispose()}})),this._emitter.event}_evaluate(){var e;let t=this._selector();if(t!==this.languageId)this.languageId=t,null===(e=this._emitter)||void 0===e||e.fire(this.languageId)}}},5705:function(e,t,i){var n,s;i.d(t,{UO:function(){return r},s6:function(){return n},vW:function(){return o}}),(s=n||(n={}))[s.Disabled=0]="Disabled",s[s.EnabledForActive=1]="EnabledForActive",s[s.Enabled=2]="Enabled";class r{constructor(e,t,i,n,s,r){if(this.visibleColumn=e,this.column=t,this.className=i,this.horizontalLine=n,this.forWrappedLinesAfterColumn=s,this.forWrappedLinesBeforeOrAtColumn=r,-1!==e==(-1!==t))throw Error()}}class o{constructor(e,t){this.top=e,this.endColumn=t}}},89821:function(e,t,i){i.d(t,{A:function(){return s}});var n=i(54532);class s{static createEmpty(e,t){let i=s.defaultTokenMetadata,n=new Uint32Array(2);return n[0]=e.length,n[1]=i,new s(n,e,t)}constructor(e,t,i){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t,this._languageIdCodec=i}equals(e){return e instanceof s&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;let n=t<<1,s=n+(i<<1);for(let t=n;t<s;t++)if(this._tokens[t]!==e._tokens[t])return!1;return!0}getLineContent(){return this._text}getCount(){return this._tokensCount}getStartOffset(e){return e>0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[(e<<1)+1]}getLanguageId(e){let t=this._tokens[(e<<1)+1],i=n.N.getLanguageId(t);return this._languageIdCodec.decodeLanguageId(i)}getStandardTokenType(e){let t=this._tokens[(e<<1)+1];return n.N.getTokenType(t)}getForeground(e){let t=this._tokens[(e<<1)+1];return n.N.getForeground(t)}getClassName(e){let t=this._tokens[(e<<1)+1];return n.N.getClassNameFromMetadata(t)}getInlineStyle(e,t){let i=this._tokens[(e<<1)+1];return n.N.getInlineStyleFromMetadata(i,t)}getPresentation(e){let t=this._tokens[(e<<1)+1];return n.N.getPresentationFromMetadata(t)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return s.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,t,i){return new r(this,e,t,i)}static convertToEndOffset(e,t){let i=(e.length>>>1)-1;for(let t=0;t<i;t++)e[t<<1]=e[t+1<<1];e[i<<1]=t}static findIndexInTokensArray(e,t){if(e.length<=2)return 0;let i=0,n=(e.length>>>1)-1;for(;i<n;){let s=i+Math.floor((n-i)/2),r=e[s<<1];if(r===t)return s+1;r<t?i=s+1:r>t&&(n=s)}return i}withInserted(e){if(0===e.length)return this;let t=0,i=0,n="",r=[],o=0;for(;;){let s=t<this._tokensCount?this._tokens[t<<1]:-1,a=i<e.length?e[i]:null;if(-1!==s&&(null===a||s<=a.offset)){n+=this._text.substring(o,s);let e=this._tokens[(t<<1)+1];r.push(n.length,e),t++,o=s}else if(a){if(a.offset>o){n+=this._text.substring(o,a.offset);let e=this._tokens[(t<<1)+1];r.push(n.length,e),o=a.offset}n+=a.text,r.push(n.length,a.tokenMetadata),i++}else break}return new s(new Uint32Array(r),n,this._languageIdCodec)}}s.defaultTokenMetadata=33587200;class r{constructor(e,t,i,n){this._source=e,this._startOffset=t,this._endOffset=i,this._deltaOffset=n,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let t=this._firstTokenIndex,n=e.getCount();t<n&&!(e.getStartOffset(t)>=i);t++){;this._tokensCount++}}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof r&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){let t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}},59801:function(e,t,i){i.d(t,{A:function(){return s}});var n=i(17228);class s{constructor(e,t,i){this.configuration=e,this.theme=new n.b(t),this.viewModel=i,this.viewLayout=i.viewLayout}addEventHandler(e){this.viewModel.addViewEventHandler(e)}removeEventHandler(e){this.viewModel.removeViewEventHandler(e)}}},64839:function(e,t,i){var n=i(5623),s=i(55952),r=i(97147),o=i(76682),a=i(36809),l=i(87294),d=i(8109),c=i(5702),h=i(94479),u=i(95316),g=i(15266),p=i(77667);let m="9_cutcopypaste",_=r.tY||document.queryCommandSupported("cut"),f=r.tY||document.queryCommandSupported("copy"),b=void 0!==navigator.clipboard&&!n.vU||document.queryCommandSupported("paste");function v(e){return e.register(),e}let y=_?v(new a.AJ({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:r.tY?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:u.eH.EditorContext,group:m,title:h.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1},{menuId:u.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.cutLabel","Cut"),order:1},{menuId:u.eH.SimpleEditorContext,group:m,title:h.NC("actions.clipboard.cutLabel","Cut"),when:d.u.writable,order:1}]})):void 0,w=f?v(new a.AJ({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:r.tY?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:u.eH.EditorContext,group:m,title:h.NC("actions.clipboard.copyLabel","Copy"),order:2},{menuId:u.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.copyLabel","Copy"),order:1},{menuId:u.eH.SimpleEditorContext,group:m,title:h.NC("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;u.BH.appendMenuItem(u.eH.MenubarEditMenu,{submenu:u.eH.MenubarCopy,title:h.vv("copy as","Copy As"),group:"2_ccp",order:3}),u.BH.appendMenuItem(u.eH.EditorContext,{submenu:u.eH.EditorContextCopy,title:h.vv("copy as","Copy As"),group:m,order:3}),u.BH.appendMenuItem(u.eH.EditorContext,{submenu:u.eH.EditorContextShare,title:h.vv("share","Share"),group:"11_share",order:-1,when:p.Ao.and(p.Ao.notEquals("resourceScheme","output"),d.u.editorTextFocus)}),u.BH.appendMenuItem(u.eH.EditorTitleContext,{submenu:u.eH.EditorTitleContextShare,title:h.vv("share","Share"),group:"11_share",order:-1}),u.BH.appendMenuItem(u.eH.ExplorerContext,{submenu:u.eH.ExplorerContextShare,title:h.vv("share","Share"),group:"11_share",order:-1});let k=b?v(new a.AJ({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:r.tY?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:u.eH.MenubarEditMenu,group:"2_ccp",title:h.NC({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:u.eH.EditorContext,group:m,title:h.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4},{menuId:u.eH.CommandPalette,group:"",title:h.NC("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:u.eH.SimpleEditorContext,group:m,title:h.NC("actions.clipboard.pasteLabel","Paste"),when:d.u.writable,order:4}]})):void 0;class S extends a.R6{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:h.NC("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:d.u.textInputFocus,primary:0,weight:100}})}run(e,t){if(!(!t.hasModel()||!t.getOption(37)&&t.getSelection().isEmpty()))o.RA.forceCopyWithSyntaxHighlighting=!0,t.focus(),t.getContainerDomNode().ownerDocument.execCommand("copy"),o.RA.forceCopyWithSyntaxHighlighting=!1}}function x(e,t){if(!!e)e.addImplementation(1e4,"code-editor",(e,i)=>{let n=e.get(l.$).getFocusedCodeEditor();if(n&&n.hasTextFocus()){let e=n.getOption(37),i=n.getSelection();return!!(i&&i.isEmpty())&&!e||(n.getContainerDomNode().ownerDocument.execCommand(t),!0)}return!1}),e.addImplementation(0,"generic-dom",(e,i)=>((0,s.uP)().execCommand(t),!0))}x(y,"cut"),x(w,"copy"),k&&(k.addImplementation(1e4,"code-editor",(e,t)=>{var i,n;let s=e.get(l.$),a=e.get(g.p),d=s.getFocusedCodeEditor();if(d&&d.hasTextFocus())return d.getContainerDomNode().ownerDocument.execCommand("paste")?null!==(n=null===(i=c.bO.get(d))||void 0===i?void 0:i.finishedPaste())&&void 0!==n?n:Promise.resolve():!r.$L||(async()=>{let e=await a.readText();if(""!==e){let t=o.Nl.INSTANCE.get(e),i=!1,n=null,s=null;t&&(i=d.getOption(37)&&!!t.isFromEmptySelection,n=void 0!==t.multicursorText?t.multicursorText:null,s=t.mode),d.trigger("keyboard","paste",{text:e,pasteOnNewLine:i,multicursorText:n,mode:s})}})();return!1}),k.addImplementation(0,"generic-dom",(e,t)=>((0,s.uP)().execCommand("paste"),!0))),f&&(0,a.Qr)(S)},88282:function(e,t,i){i.d(t,{b:function(){return h},f:function(){return u}});var n=i(66735),s=i(45802),r=i(37764),o=i(67414),a=i(98084),l=i(96468),d=i(249),c=i(76891);class h{constructor(){this.lenses=[],this._disposables=new r.SL}dispose(){this._disposables.dispose()}get isDisposed(){return this._disposables.isDisposed}add(e,t){for(let i of(this._disposables.add(e),e.lenses))this.lenses.push({symbol:i,provider:t})}}async function u(e,t,i){let n=e.ordered(t),r=new Map,o=new h,a=n.map(async(e,n)=>{r.set(e,n);try{let n=await Promise.resolve(e.provideCodeLenses(t,i));n&&o.add(n,e)}catch(e){(0,s.Cp)(e)}});return await Promise.all(a),o.lenses=o.lenses.sort((e,t)=>{if(e.symbol.range.startLineNumber<t.symbol.range.startLineNumber)return -1;if(e.symbol.range.startLineNumber>t.symbol.range.startLineNumber)return 1;if(r.get(e.provider)<r.get(t.provider))return -1;else if(r.get(e.provider)>r.get(t.provider))return 1;else if(e.symbol.range.startColumn<t.symbol.range.startColumn)return -1;else if(e.symbol.range.startColumn>t.symbol.range.startColumn)return 1;else return 0}),o}d.P.registerCommand("_executeCodeLensProvider",function(e,...t){let[i,d]=t;(0,o.p_)(a.o.isUri(i)),(0,o.p_)("number"==typeof d||!d);let{codeLensProvider:h}=e.get(c.p),g=e.get(l.q).getModel(i);if(!g)throw(0,s.b1)();let p=[],m=new r.SL;return u(h,g,n.Ts.None).then(e=>{m.add(e);let t=[];for(let i of e.lenses)null==d||i.symbol.command?p.push(i.symbol):d-- >0&&i.provider.resolveCodeLens&&t.push(Promise.resolve(i.provider.resolveCodeLens(g,i.symbol,n.Ts.None)).then(e=>p.push(e||i.symbol)));return Promise.all(t)}).then(()=>p).finally(()=>{setTimeout(()=>m.dispose(),100)})})},31411:function(e,t,i){i.d(t,{E:function(){return u},R:function(){return g}});var n=i(66735),s=i(45802),r=i(98084),o=i(83112),a=i(96468),l=i(249),d=i(76891),c=i(29009),h=i(756);async function u(e,t,i,n=!0){return f(new p,e,t,i,n)}function g(e,t,i,n){return Promise.resolve(i.provideColorPresentations(e,t,n))}class p{constructor(){}async compute(e,t,i,n){let s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(let t of s)n.push({colorInfo:t,provider:e});return Array.isArray(s)}}class m{constructor(){}async compute(e,t,i,n){let s=await e.provideDocumentColors(t,i);if(Array.isArray(s))for(let e of s)n.push({range:e.range,color:[e.color.red,e.color.green,e.color.blue,e.color.alpha]});return Array.isArray(s)}}class _{constructor(e){this.colorInfo=e}async compute(e,t,i,s){let r=await e.provideColorPresentations(t,this.colorInfo,n.Ts.None);return Array.isArray(r)&&s.push(...r),Array.isArray(r)}}async function f(e,t,i,n,r){let o,a=!1,l=[],d=t.ordered(i);for(let t=d.length-1;t>=0;t--){let r=d[t];if(r instanceof c.G)o=r;else try{await e.compute(r,i,n,l)&&(a=!0)}catch(e){(0,s.Cp)(e)}}return a?l:o&&r?(await e.compute(o,i,n,l),l):[]}function b(e,t){let{colorProvider:i}=e.get(d.p),n=e.get(a.q).getModel(t);if(!n)throw(0,s.b1)();return{model:n,colorProviderRegistry:i,isDefaultColorDecoratorsEnabled:e.get(h.Ui).getValue("editor.defaultColorDecorators",{resource:t})}}l.P.registerCommand("_executeDocumentColorProvider",function(e,...t){let[i]=t;if(!(i instanceof r.o))throw(0,s.b1)();let{model:o,colorProviderRegistry:a,isDefaultColorDecoratorsEnabled:l}=b(e,i);return f(new m,a,o,n.Ts.None,l)}),l.P.registerCommand("_executeColorPresentationProvider",function(e,...t){let[i,a]=t,{uri:l,range:d}=a;if(!(l instanceof r.o)||!Array.isArray(i)||4!==i.length||!o.e.isIRange(d))throw(0,s.b1)();let{model:c,colorProviderRegistry:h,isDefaultColorDecoratorsEnabled:u}=b(e,l),[g,p,m,v]=i;return f(new _({range:d,color:{red:g,green:p,blue:m,alpha:v}}),h,c,n.Ts.None,u)})},36966:function(e,t,i){var n=i(85376),s=i(36809),r=i(83112),o=i(8109),a=i(38386),l=i(54389),d=i(42001),c=i(94479),h=i(95316);class u extends s.R6{constructor(e,t){super(t),this._type=e}run(e,t){let i=e.get(a.c_);if(!t.hasModel())return;let n=t.getModel(),s=[],o=n.getOptions(),l=t.getOption(23),c=t.getSelections().map((e,t)=>({selection:e,index:t,ignoreFirstLine:!1}));c.sort((e,t)=>r.e.compareRangesUsingStarts(e.selection,t.selection));let h=c[0];for(let e=1;e<c.length;e++){let t=c[e];h.selection.endLineNumber===t.selection.startLineNumber&&(h.index<t.index?t.ignoreFirstLine=!0:(h.ignoreFirstLine=!0,h=t))}for(let e of c)s.push(new d.o(i,e.selection,o.indentSize,this._type,l.insertSpace,l.ignoreEmptyLines,e.ignoreFirstLine));t.pushUndoStop(),t.executeCommands(this.id,s),t.pushUndoStop()}}class g extends s.R6{constructor(){super({id:"editor.action.blockComment",label:c.NC("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:o.u.writable,kbOpts:{kbExpr:o.u.editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:h.eH.MenubarEditMenu,group:"5_insert",title:c.NC({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})}run(e,t){let i=e.get(a.c_);if(!t.hasModel())return;let n=t.getOption(23),s=[];for(let e of t.getSelections())s.push(new l.K(e,n.insertSpace,i));t.pushUndoStop(),t.executeCommands(this.id,s),t.pushUndoStop()}}(0,s.Qr)(class e extends u{constructor(){super(0,{id:"editor.action.commentLine",label:c.NC("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:o.u.writable,kbOpts:{kbExpr:o.u.editorTextFocus,primary:2138,weight:100},menuOpts:{menuId:h.eH.MenubarEditMenu,group:"5_insert",title:c.NC({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})}}),(0,s.Qr)(class e extends u{constructor(){super(1,{id:"editor.action.addCommentLine",label:c.NC("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:o.u.writable,kbOpts:{kbExpr:o.u.editorTextFocus,primary:(0,n.gx)(2089,2081),weight:100}})}}),(0,s.Qr)(class e extends u{constructor(){super(2,{id:"editor.action.removeCommentLine",label:c.NC("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:o.u.writable,kbOpts:{kbExpr:o.u.editorTextFocus,primary:(0,n.gx)(2089,2099),weight:100}})}}),(0,s.Qr)(g)},540:function(e,t,i){i.d(t,{pR:function(){return D}});var n,s=i(1966),r=i(37764),o=i(71482),a=i(36809),l=i(85351),d=i(8109),c=i(42733),h=i(52305),u=i(95100),g=i(56186),p=i(1535),m=i(94479),_=i(95316),f=i(15266),b=i(77667),v=i(81844),y=i(81171),w=i(97717),k=i(84587),S=i(88739),x=i(29149),C=i(59955),L=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o},T=function(e,t){return function(i,n){t(i,n,e)}};function N(e,t="single",i=!1){if(!e.hasModel())return null;let n=e.getSelection();if("single"===t&&n.startLineNumber===n.endLineNumber||"multiple"===t){if(n.isEmpty()){let t=e.getConfiguredWordAtPosition(n.getStartPosition());if(t&&!1===i)return t.word}else if(524288>e.getModel().getValueLengthInRange(n))return e.getModel().getValueInRange(n)}return null}let D=n=class extends r.JT{get editor(){return this._editor}static get(e){return e.getContribution(n.ID)}constructor(e,t,i,n,r,o){super(),this._editor=e,this._findWidgetVisible=h.a_.bindTo(t),this._contextKeyService=t,this._storageService=i,this._clipboardService=n,this._notificationService=r,this._hoverService=o,this._updateHistoryDelayer=new s.vp(500),this._state=this._register(new g.P),this.loadQueryState(),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{let e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(41).loop})}))}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(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)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,1)}loadQueryState(){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),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!h.qm.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),!this._state.isRevealed&&this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),!this._state.isRevealed&&this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),!this._state.isRevealed&&this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),!this._state.isRevealed&&this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();(e=e.map(e=>(1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty())?null:e).filter(e=>!!e)).length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=o.ec(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=!1){}async _start(e,t){if(this.disposeModel(),!this._editor.hasModel())return;let i={...t,isRevealed:!0};if("single"===e.seedSearchStringFromSelection){let t=N(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection);t&&(this._state.isRegex?i.searchString=o.ec(t):i.searchString=t)}else if("multiple"===e.seedSearchStringFromSelection&&!e.updateSearchScope){let t=N(this._editor,e.seedSearchStringFromSelection);t&&(i.searchString=t)}if(!i.searchString&&e.seedSearchStringFromGlobalClipboard){let e=await this.getGlobalBufferTerm();if(!this._editor.hasModel())return;e&&(i.searchString=e)}if(e.forceRevealReplace||i.isReplaceRevealed?i.isReplaceRevealed=!0:!this._findWidgetVisible.get()&&(i.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),!this._model&&(this._model=new h.Xu(this._editor,this._state))}start(e,t){return this._start(e,t)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}goToMatch(e){return!!this._model&&(this._model.moveToMatch(e),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){var e;if(this._model)return(null===(e=this._editor.getModel())||void 0===e?void 0:e.isTooLargeForHeapOperation())?(this._notificationService.warn(m.NC("too.large.for.replaceall","The file is too large to perform a replace all operation.")),!1):(this._model.replaceAll(),!0);return!1}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}async getGlobalBufferTerm(){return this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}setGlobalBufferTerm(e){this._editor.getOption(41).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}};D.ID="editor.contrib.findController",D=n=L([T(1,b.i6),T(2,S.Uy),T(3,f.p),T(4,w.lT),T(5,C.Bs)],D);let E=class extends D{constructor(e,t,i,n,s,r,o,a,l){super(e,i,o,a,r,l),this._contextViewService=t,this._keybindingService=n,this._themeService=s,this._widget=null,this._findOptionsWidget=null}async _start(e,t){!this._widget&&this._createFindWidget();let i=this._editor.getSelection(),n=!1;switch(this._editor.getOption(41).autoFindInSelection){case"always":n=!0;break;case"never":n=!1;break;case"multiline":n=!!i&&i.startLineNumber!==i.endLineNumber}e.updateSearchScope=e.updateSearchScope||n,await super._start(e,t),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}highlightFindOptions(e=!1){!this._widget&&this._createFindWidget(),this._state.isRevealed&&!e?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()}_createFindWidget(){this._widget=this._register(new p.V4(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService,this._hoverService)),this._findOptionsWidget=this._register(new u.D(this._editor,this._state,this._keybindingService))}};E=L([T(1,v.u),T(2,b.i6),T(3,y.d),T(4,x.XE),T(5,w.lT),T(6,S.Uy),T(7,f.p),T(8,C.Bs)],E),(0,a.rn)(new a.jY({id:h.kR.StartFindAction,label:m.NC("startFindAction","Find"),alias:"Find",precondition:b.Ao.or(d.u.focus,b.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:_.eH.MenubarEditMenu,group:"3_find",title:m.NC({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})).addImplementation(0,(e,t,i)=>{let n=D.get(t);return!!n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(41).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})});let I={description:"Open a new In-Editor Find Widget.",args:[{name:"Open a new In-Editor Find Widget args",schema:{properties:{searchString:{type:"string"},replaceString:{type:"string"},isRegex:{type:"boolean"},matchWholeWord:{type:"boolean"},isCaseSensitive:{type:"boolean"},preserveCase:{type:"boolean"},findInSelection:{type:"boolean"}}}}]};class R extends a.R6{constructor(){super({id:h.kR.StartFindWithArgs,label:m.NC("startFindWithArgsAction","Find With Arguments"),alias:"Find With Arguments",precondition:void 0,kbOpts:{kbExpr:null,primary:0,weight:100},metadata:I})}async run(e,t,i){let n=D.get(t);if(n){let e=i?{searchString:i.searchString,replaceString:i.replaceString,isReplaceRevealed:void 0!==i.replaceString,isRegex:i.isRegex,wholeWord:i.matchWholeWord,matchCase:i.isCaseSensitive,preserveCase:i.preserveCase}:{};await n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:1,shouldAnimate:!0,updateSearchScope:(null==i?void 0:i.findInSelection)||!1,loop:t.getOption(41).loop},e),n.setGlobalBufferTerm(n.getState().searchString)}}}class P extends a.R6{constructor(){super({id:h.kR.StartFindWithSelection,label:m.NC("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}async run(e,t){let i=D.get(t);i&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),i.setGlobalBufferTerm(i.getState().searchString))}}class M extends a.R6{async run(e,t){let i=D.get(t);i&&!this._run(i)&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===i.getState().searchString.length&&"never"!==t.getOption(41).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}class A extends a.R6{constructor(){super({id:h.kR.GoToMatchFindAction,label:m.NC("findMatchAction.goToMatch","Go to Match..."),alias:"Go to Match...",precondition:h.a_}),this._highlightDecorations=[]}run(e,t,i){let n=D.get(t);if(!n)return;let s=n.getState().matchesCount;if(s<1){e.get(w.lT).notify({severity:w.zb.Warning,message:m.NC("findMatchAction.noResults","No matches. Try searching for something else.")});return}let r=e.get(k.eJ).createInputBox();r.placeholder=m.NC("findMatchAction.inputPlaceHolder","Type a number to go to a specific match (between 1 and {0})",s);let o=e=>{let t=parseInt(e);if(isNaN(t))return;let i=n.getState().matchesCount;return t>0&&t<=i?t-1:t<0&&t>=-i?i+t:void 0},a=e=>{let i=o(e);if("number"==typeof i){r.validationMessage=void 0,n.goToMatch(i);let e=n.getState().currentMatch;e&&this.addDecorations(t,e)}else r.validationMessage=m.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount),this.clearDecorations(t)};r.onDidChangeValue(e=>{a(e)}),r.onDidAccept(()=>{let e=o(r.value);"number"==typeof e?(n.goToMatch(e),r.hide()):r.validationMessage=m.NC("findMatchAction.inputValidationMessage","Please type a number between 1 and {0}",n.getState().matchesCount)}),r.onDidHide(()=>{this.clearDecorations(t),r.dispose()}),r.show()}clearDecorations(e){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[])})}addDecorations(e,t){e.changeDecorations(e=>{this._highlightDecorations=e.deltaDecorations(this._highlightDecorations,[{range:t,options:{description:"find-match-quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"find-match-quick-access-range-highlight-overview",overviewRuler:{color:(0,x.EN)(l.m9),position:c.sh.Full}}}])})}}class F extends a.R6{async run(e,t){let i=D.get(t);if(!i)return;let n=N(t,"single",!1);n&&i.setSearchString(n),!this._run(i)&&(await i.start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop}),this._run(i))}}(0,a.rn)(new a.jY({id:h.kR.StartFindReplaceAction,label:m.NC("startReplace","Replace"),alias:"Replace",precondition:b.Ao.or(d.u.focus,b.Ao.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:_.eH.MenubarEditMenu,group:"3_find",title:m.NC({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})).addImplementation(0,(e,t,i)=>{if(!t.hasModel()||t.getOption(91))return!1;let n=D.get(t);if(!n)return!1;let s=t.getSelection(),r=n.isFindInputFocused(),o=!s.isEmpty()&&s.startLineNumber===s.endLineNumber&&"never"!==t.getOption(41).seedSearchStringFromSelection&&!r;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:o?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(41).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(41).seedSearchStringFromSelection,shouldFocus:r||o?2:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(41).loop})}),(0,a._K)(D.ID,E,0),(0,a.Qr)(R),(0,a.Qr)(P),(0,a.Qr)(class e extends M{constructor(){super({id:h.kR.NextMatchFindAction,label:m.NC("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:b.Ao.and(d.u.focus,h.qm),primary:3,weight:100}]})}_run(e){return!!e.moveToNextMatch()&&(e.editor.pushUndoStop(),!0)}}),(0,a.Qr)(class e extends M{constructor(){super({id:h.kR.PreviousMatchFindAction,label:m.NC("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:d.u.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:b.Ao.and(d.u.focus,h.qm),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}),(0,a.Qr)(A),(0,a.Qr)(class e extends F{constructor(){super({id:h.kR.NextSelectionMatchFindAction,label:m.NC("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}),(0,a.Qr)(class e extends F{constructor(){super({id:h.kR.PreviousSelectionMatchFindAction,label:m.NC("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:d.u.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}});let O=a._l.bindToContribution(D.get);(0,a.fK)(new O({id:h.kR.CloseFindWidgetCommand,precondition:h.a_,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:b.Ao.and(d.u.focus,b.Ao.not("isComposing")),primary:9,secondary:[1033]}})),(0,a.fK)(new O({id:h.kR.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.Dt.primary,mac:h.Dt.mac,win:h.Dt.win,linux:h.Dt.linux}})),(0,a.fK)(new O({id:h.kR.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.CP.primary,mac:h.CP.mac,win:h.CP.win,linux:h.CP.linux}})),(0,a.fK)(new O({id:h.kR.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.LM.primary,mac:h.LM.mac,win:h.LM.win,linux:h.LM.linux}})),(0,a.fK)(new O({id:h.kR.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.M9.primary,mac:h.M9.mac,win:h.M9.win,linux:h.M9.linux}})),(0,a.fK)(new O({id:h.kR.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:h.mt.primary,mac:h.mt.mac,win:h.mt.win,linux:h.mt.linux}})),(0,a.fK)(new O({id:h.kR.ReplaceOneAction,precondition:h.a_,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:3094}})),(0,a.fK)(new O({id:h.kR.ReplaceOneAction,precondition:h.a_,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:b.Ao.and(d.u.focus,h.P$),primary:3}})),(0,a.fK)(new O({id:h.kR.ReplaceAllAction,precondition:h.a_,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:2563}})),(0,a.fK)(new O({id:h.kR.ReplaceAllAction,precondition:h.a_,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:b.Ao.and(d.u.focus,h.P$),primary:void 0,mac:{primary:2051}}})),(0,a.fK)(new O({id:h.kR.SelectAllMatchesAction,precondition:h.a_,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:d.u.focus,primary:515}}))},33177:function(e,t,i){i.d(t,{H:function(){return l}});var n=i(1966),s=i(45802),r=i(98212),o=i(37764);class a{constructor(e,t,i){this.value=e,this.isComplete=t,this.hasLoadingMessage=i}}class l extends o.JT{constructor(e,t){super(),this._editor=e,this._computer=t,this._onResult=this._register(new r.Q5),this.onResult=this._onResult.event,this._firstWaitScheduler=this._register(new n.pY(()=>this._triggerAsyncComputation(),0)),this._secondWaitScheduler=this._register(new n.pY(()=>this._triggerSyncComputation(),0)),this._loadingMessageScheduler=this._register(new n.pY(()=>this._triggerLoadingMessage(),0)),this._state=0,this._asyncIterable=null,this._asyncIterableDone=!1,this._result=[]}dispose(){this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),super.dispose()}get _hoverTime(){return this._editor.getOption(60).delay}get _firstWaitTime(){return this._hoverTime/2}get _secondWaitTime(){return this._hoverTime-this._firstWaitTime}get _loadingMessageTime(){return 3*this._hoverTime}_setState(e,t=!0){this._state=e,t&&this._fireResult()}_triggerAsyncComputation(){this._setState(2),this._secondWaitScheduler.schedule(this._secondWaitTime),this._computer.computeAsync?(this._asyncIterableDone=!1,this._asyncIterable=(0,n.zS)(e=>this._computer.computeAsync(e)),(async()=>{try{for await(let e of this._asyncIterable)e&&(this._result.push(e),this._fireResult());this._asyncIterableDone=!0,(3===this._state||4===this._state)&&this._setState(0)}catch(e){(0,s.dL)(e)}})()):this._asyncIterableDone=!0}_triggerSyncComputation(){this._computer.computeSync&&(this._result=this._result.concat(this._computer.computeSync())),this._setState(this._asyncIterableDone?0:3)}_triggerLoadingMessage(){3===this._state&&this._setState(4)}_fireResult(){if(1===this._state||2===this._state)return;let e=0===this._state,t=4===this._state;this._onResult.fire(new a(this._result.slice(0),e,t))}start(e){if(0===e)0===this._state&&(this._setState(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()}}cancel(){this._firstWaitScheduler.cancel(),this._secondWaitScheduler.cancel(),this._loadingMessageScheduler.cancel(),this._asyncIterable&&(this._asyncIterable.cancel(),this._asyncIterable=null),this._result=[],this._setState(0,!1)}}},5632:function(e,t,i){i.d(t,{y:function(){return o}});var n=i(47983),s=i(4157),r=i(42733);class o{get lineNumber(){return this._lineNumber}set lineNumber(e){this._lineNumber=e}get lane(){return this._laneOrLine}set lane(e){this._laneOrLine=e}constructor(e){this._editor=e,this._lineNumber=-1,this._laneOrLine=r.U.Center}computeSync(){var e,t;let i=e=>({value:e}),o=this._editor.getLineDecorations(this._lineNumber),a=[],l="lineNo"===this._laneOrLine;if(!o)return a;for(let d of o){let o=null!==(t=null===(e=d.options.glyphMargin)||void 0===e?void 0:e.position)&&void 0!==t?t:r.U.Center;if(!l&&o!==this._laneOrLine)continue;let c=l?d.options.lineNumberHoverMessage:d.options.glyphMarginHoverMessage;if(!(!c||(0,s.CP)(c)))a.push(...(0,n._2)(c).map(i))}return a}}},70609:function(e,t,i){i.d(t,{K:function(){return H},f:function(){return F}});var n,s=i(55952),r=i(47983),o=i(1966),a=i(66735),l=i(45802),d=i(37764),c=i(7005),h=i(67414),u=i(98084),g=i(92011),p=i(46785),m=i(97295),_=i(89172),f=i(83112),b=i(64141),v=i(42733),y=i(84144),w=i(93804),k=i(76891),S=i(51413),x=i(32678),C=i(96826),L=i(86098),T=i(249),N=i(91114),D=i(95449),E=i(97717),I=i(94590),R=i(29149),P=function(e,t){return function(i,n){t(i,n,e)}};class M{constructor(){this._entries=new c.z6(50)}get(e){let t=M._key(e);return this._entries.get(t)}set(e,t){let i=M._key(e);this._entries.set(i,t)}static _key(e){return`${e.uri.toString()}/${e.getVersionId()}`}}let A=(0,D.yh)("IInlayHintsCache");(0,N.z)(A,M,1);class F{constructor(e,t){this.item=e,this.index=t}get part(){let e=this.item.hint.label;return"string"==typeof e?{label:e}:e[this.index]}}class O{constructor(e,t){this.part=e,this.hasTriggerModifier=t}}let H=n=class{static get(e){var t;return null!==(t=e.getContribution(n.ID))&&void 0!==t?t:void 0}constructor(e,t,i,n,s,r,o){this._editor=e,this._languageFeaturesService=t,this._inlayHintsCache=n,this._commandService=s,this._notificationService=r,this._instaService=o,this._disposables=new d.SL,this._sessionDisposables=new d.SL,this._decorationsMetadata=new Map,this._ruleFactory=new g.t7(this._editor),this._activeRenderMode=0,this._debounceInfo=i.for(t.inlayHintsProvider,"InlayHint",{min:25}),this._disposables.add(t.inlayHintsProvider.onDidChange(()=>this._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(141)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){let e;this._sessionDisposables.clear(),this._removeAllDecorations();let t=this._editor.getOption(141);if("off"===t.enabled)return;let i=this._editor.getModel();if(!i||!this._languageFeaturesService.inlayHintsProvider.has(i))return;if("on"===t.enabled)this._activeRenderMode=0;else{let e,i;"onUnlessPressed"===t.enabled?(e=0,i=1):(e=1,i=0),this._activeRenderMode=e,this._sessionDisposables.add(s._q.getInstance().event(t=>{if(!this._editor.hasModel())return;let n=t.altKey&&t.ctrlKey&&!(t.shiftKey||t.metaKey)?i:e;if(n!==this._activeRenderMode){this._activeRenderMode=n;let e=this._editor.getModel(),t=this._copyInlayHintsWithCurrentAnchor(e);this._updateHintsDecorators([e.getFullModelRange()],t),c.schedule(0)}}))}let n=this._inlayHintsCache.get(i);n&&this._updateHintsDecorators([i.getFullModelRange()],n),this._sessionDisposables.add((0,d.OF)(()=>{!i.isDisposed()&&this._cacheHintsForFastRestore(i)}));let r=new Set,c=new o.pY(async()=>{let t=Date.now();null==e||e.dispose(!0),e=new a.AU;let n=i.onWillDispose(()=>null==e?void 0:e.cancel());try{let n=e.token,s=await C.Q3.create(this._languageFeaturesService.inlayHintsProvider,i,this._getHintsRanges(),n);if(c.delay=this._debounceInfo.update(i,Date.now()-t),n.isCancellationRequested){s.dispose();return}for(let e of s.provider)"function"==typeof e.onDidChangeInlayHints&&!r.has(e)&&(r.add(e),this._sessionDisposables.add(e.onDidChangeInlayHints(()=>{!c.isScheduled()&&c.schedule()})));this._sessionDisposables.add(s),this._updateHintsDecorators(s.ranges,s.items),this._cacheHintsForFastRestore(i)}catch(e){(0,l.dL)(e)}finally{e.dispose(),n.dispose()}},this._debounceInfo.get(i));this._sessionDisposables.add(c),this._sessionDisposables.add((0,d.OF)(()=>null==e?void 0:e.dispose(!0))),c.schedule(0),this._sessionDisposables.add(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||!c.isScheduled())&&c.schedule()})),this._sessionDisposables.add(this._editor.onDidChangeModelContent(t=>{null==e||e.cancel();let i=Math.max(c.delay,1250);c.schedule(i)})),this._sessionDisposables.add(this._installDblClickGesture(()=>c.schedule(0))),this._sessionDisposables.add(this._installLinkGesture()),this._sessionDisposables.add(this._installContextMenu())}_installLinkGesture(){let e=new d.SL,t=e.add(new x.yN(this._editor)),i=new d.SL;return e.add(i),e.add(t.onMouseMoveOrRelevantKeyDown(e=>{let[t]=e,n=this._getInlayHintLabelPart(t),s=this._editor.getModel();if(!n||!s){i.clear();return}let r=new a.AU;i.add((0,d.OF)(()=>r.dispose(!0))),n.item.resolve(r.token),this._activeInlayHintPart=n.part.command||n.part.location?new O(n,t.hasTriggerModifier):void 0;let o=s.validatePosition(n.item.hint.position).lineNumber,l=new f.e(o,1,o,s.getLineMaxColumn(o)),c=this._getInlineHintsForRange(l);this._updateHintsDecorators([l],c),i.add((0,d.OF)(()=>{this._activeInlayHintPart=void 0,this._updateHintsDecorators([l],c)}))})),e.add(t.onCancel(()=>i.clear())),e.add(t.onExecute(async e=>{let t=this._getInlayHintLabelPart(e);if(t){let i=t.part;i.location?this._instaService.invokeFunction(L.K,e,this._editor,i.location):b.mY.is(i.command)&&await this._invokeCommand(i.command,t.item)}})),e}_getInlineHintsForRange(e){let t=new Set;for(let i of this._decorationsMetadata.values())e.containsRange(i.item.anchor.range)&&t.add(i.item);return Array.from(t)}_installDblClickGesture(e){return this._editor.onMouseUp(async t=>{if(2!==t.event.detail)return;let i=this._getInlayHintLabelPart(t);if(!!i){if(t.event.preventDefault(),await i.item.resolve(a.Ts.None),(0,r.Of)(i.item.hint.textEdits)){let t=i.item.hint.textEdits.map(e=>_.h.replace(f.e.lift(e.range),e.text));this._editor.executeEdits("inlayHint.default",t),e()}}})}_installContextMenu(){return this._editor.onContextMenu(async e=>{if(!(e.event.target instanceof HTMLElement))return;let t=this._getInlayHintLabelPart(e);t&&await this._instaService.invokeFunction(L.u,this._editor,e.event.target,t)})}_getInlayHintLabelPart(e){var t;if(6!==e.target.type)return;let i=null===(t=e.target.detail.injectedText)||void 0===t?void 0:t.options;if(i instanceof y.HS&&(null==i?void 0:i.attachedData)instanceof F)return i.attachedData}async _invokeCommand(e,t){var i;try{await this._commandService.executeCommand(e.id,...null!==(i=e.arguments)&&void 0!==i?i:[])}catch(e){this._notificationService.notify({severity:E.zb.Error,source:t.provider.displayName,message:e})}}_cacheHintsForFastRestore(e){let t=this._copyInlayHintsWithCurrentAnchor(e);this._inlayHintsCache.set(e,t)}_copyInlayHintsWithCurrentAnchor(e){let t=new Map;for(let[i,n]of this._decorationsMetadata){if(t.has(n.item))continue;let s=e.getDecorationRange(i);if(s){let e=new C.UQ(s,n.item.anchor.direction),i=n.item.with({anchor:e});t.set(n.item,i)}}return Array.from(t.values())}_getHintsRanges(){let e=this._editor.getModel(),t=this._editor.getVisibleRangesPlusViewportAboveBelow(),i=[];for(let n of t.sort(f.e.compareRangesUsingStarts)){let t=e.validateRange(new f.e(n.startLineNumber-30,n.startColumn,n.endLineNumber+30,n.endColumn));0!==i.length&&f.e.areIntersectingOrTouching(i[i.length-1],t)?i[i.length-1]=f.e.plusRange(i[i.length-1],t):i.push(t)}return i}_updateHintsDecorators(e,t){var i,s;let o=[],a=(e,t,i,n,s)=>{let r={content:i,inlineClassNameAffectsLetterSpacing:!0,inlineClassName:t.className,cursorStops:n,attachedData:s};o.push({item:e,classNameRef:t,decoration:{range:e.anchor.range,options:{description:"InlayHint",showIfCollapsed:e.anchor.range.isEmpty(),collapseOnReplaceEdit:!e.anchor.range.isEmpty(),stickiness:0,[e.anchor.direction]:0===this._activeRenderMode?r:void 0}}})},l=(e,t)=>{a(e,this._ruleFactory.createClassNameRef({width:`${d/3|0}px`,display:"inline-block"}),"\u200A",t?v.RM.Right:v.RM.None)},{fontSize:d,fontFamily:c,padding:h,isUniform:u}=this._getLayoutInfo(),g="--code-editorInlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(g,c);let _={line:0,totalLen:0};for(let e of t){if(_.line!==e.anchor.range.startLineNumber&&(_={line:e.anchor.range.startLineNumber,totalLen:0}),_.totalLen>n._MAX_LABEL_LEN)continue;e.hint.paddingLeft&&l(e,!1);let t="string"==typeof e.hint.label?[{label:e.hint.label}]:e.hint.label;for(let s=0;s<t.length;s++){let o=t[s],l=0===s,c=s===t.length-1,p={fontSize:`${d}px`,fontFamily:`var(${g}), ${m.hL.fontFamily}`,verticalAlign:u?"baseline":"middle",unicodeBidi:"isolate"};(0,r.Of)(e.hint.textEdits)&&(p.cursor="default"),this._fillInColors(p,e.hint),(o.command||o.location)&&(null===(i=this._activeInlayHintPart)||void 0===i?void 0:i.part.item)===e&&this._activeInlayHintPart.part.index===s&&(p.textDecoration="underline",this._activeInlayHintPart.hasTriggerModifier&&(p.color=(0,R.EN)(I._Yy),p.cursor="pointer")),h&&(l&&c?(p.padding=`1px ${0|Math.max(1,d/4)}px`,p.borderRadius=`${d/4|0}px`):l?(p.padding=`1px 0 1px ${0|Math.max(1,d/4)}px`,p.borderRadius=`${d/4|0}px 0 0 ${d/4|0}px`):c?(p.padding=`1px ${0|Math.max(1,d/4)}px 1px 0`,p.borderRadius=`0 ${d/4|0}px ${d/4|0}px 0`):p.padding="1px 0 1px 0");let f=o.label;_.totalLen+=f.length;let b=!1,y=_.totalLen-n._MAX_LABEL_LEN;if(y>0&&(f=f.slice(0,-y)+"\u2026",b=!0),a(e,this._ruleFactory.createClassNameRef(p),function(e){return e.replace(/[ \t]/g,"\xa0")}(f),c&&!e.hint.paddingRight?v.RM.Right:v.RM.None,new F(e,s)),b)break}if(e.hint.paddingRight&&l(e,!0),o.length>n._MAX_DECORATORS)break}let f=[];for(let[t,i]of this._decorationsMetadata){let n=null===(s=this._editor.getModel())||void 0===s?void 0:s.getDecorationRange(t);n&&e.some(e=>e.containsRange(n))&&(f.push(t),i.classNameRef.dispose(),this._decorationsMetadata.delete(t))}let b=p.Z.capture(this._editor);this._editor.changeDecorations(e=>{let t=e.deltaDecorations(f,o.map(e=>e.decoration));for(let e=0;e<t.length;e++){let i=o[e];this._decorationsMetadata.set(t[e],i)}}),b.restore(this._editor)}_fillInColors(e,t){t.kind===b.gl.Parameter?(e.backgroundColor=(0,R.EN)(I.phM),e.color=(0,R.EN)(I.HCL)):t.kind===b.gl.Type?(e.backgroundColor=(0,R.EN)(I.bKB),e.color=(0,R.EN)(I.hX8)):(e.backgroundColor=(0,R.EN)(I.PpC),e.color=(0,R.EN)(I.VVv))}_getLayoutInfo(){let e=this._editor.getOption(141),t=e.padding,i=this._editor.getOption(52),n=this._editor.getOption(49),s=e.fontSize;(!s||s<5||s>i)&&(s=i);let r=e.fontFamily||n,o=!t&&r===n&&s===i;return{fontSize:s,fontFamily:r,padding:t,isUniform:o}}_removeAllDecorations(){for(let e of(this._editor.removeDecorations(Array.from(this._decorationsMetadata.keys())),this._decorationsMetadata.values()))e.classNameRef.dispose();this._decorationsMetadata.clear()}};H.ID="editor.contrib.InlayHints",H._MAX_DECORATORS=1500,H._MAX_LABEL_LEN=43,H=n=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}([P(1,k.p),P(2,w.A),P(3,A),P(4,T.H),P(5,E.lT),P(6,D.TG)],H);T.P.registerCommand("_executeInlayHintProvider",async(e,...t)=>{let[i,n]=t;(0,h.p_)(u.o.isUri(i)),(0,h.p_)(f.e.isIRange(n));let{inlayHintsProvider:s}=e.get(k.p),r=await e.get(S.S).createModelReference(i);try{let e=await C.Q3.create(s,r.object.textEditorModel,[f.e.lift(n)],a.Ts.None),t=e.items.map(e=>e.hint);return setTimeout(()=>e.dispose(),0),t}finally{r.dispose()}})},28998:function(e,t,i){i.d(t,{Np:function(){return s},OW:function(){return r},Ou:function(){return n}});let n="editor.action.inlineSuggest.commit",s="editor.action.inlineSuggest.showPrevious",r="editor.action.inlineSuggest.showNext"},32319:function(e,t,i){i.d(t,{K5:function(){return r},KJ:function(){return o},n0:function(){return n},vw:function(){return s}});let n="editor.action.inlineEdit.accept",s="editor.action.inlineEdit.reject",r="editor.action.inlineEdit.jumpTo",o="editor.action.inlineEdit.jumpBack"},59871:function(e,t,i){var n=i(36809),s=i(79977),r=i(8109),o=i(94479);class a extends n.R6{constructor(){super({id:"expandLineSelection",label:o.NC("expandLineSelection","Expand Line Selection"),alias:"Expand Line Selection",precondition:void 0,kbOpts:{weight:0,kbExpr:r.u.textInputFocus,primary:2090}})}run(e,t,i){if(i=i||{},!t.hasModel())return;let n=t._getViewModel();n.model.pushStackElement(),n.setCursorStates(i.source,3,s.P.expandLineSelection(n,n.getCursorStates())),n.revealAllCursors(i.source,!0)}}(0,n.Qr)(a)},97573:function(e,t,i){i.d(t,{h:function(){return r}});var n=i(83112),s=i(98681);class r{constructor(e,t,i){this._selection=e,this._isCopyingDown=t,this._noop=i||!1,this._selectionDirection=0,this._selectionId=null,this._startLineNumberDelta=0,this._endLineNumberDelta=0}getEditOperations(e,t){let 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)));let s=[];for(let t=i.startLineNumber;t<=i.endLineNumber;t++)s.push(e.getLineContent(t));let r=s.join("\n");""===r&&this._isCopyingDown&&(this._startLineNumberDelta++,this._endLineNumberDelta++),this._noop?t.addEditOperation(new n.e(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber+1,1),i.endLineNumber===e.getLineCount()?"":"\n"):this._isCopyingDown?t.addEditOperation(new n.e(i.startLineNumber,1,i.startLineNumber,1),r+"\n"):t.addEditOperation(new n.e(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),"\n"+r),this._selectionId=t.trackSelection(i),this._selectionDirection=this._selection.getDirection()}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);if(0!==this._startLineNumberDelta||0!==this._endLineNumberDelta){let e=i.startLineNumber,t=i.startColumn,n=i.endLineNumber,r=i.endColumn;0!==this._startLineNumberDelta&&(e+=this._startLineNumberDelta,t=1),0!==this._endLineNumberDelta&&(n+=this._endLineNumberDelta,r=1),i=s.Y.createWithDirection(e,t,n,r,this._selectionDirection)}return i}}},20425:function(e,t,i){i.d(t,{Fh:function(){return f}});var n,s=i(1966),r=i(37764),o=i(7005),a=i(59604),l=i(64141),d=i(756),c=i(91114),h=i(95449),u=i(88739),g=function(e,t){return function(i,n){t(i,n,e)}};class p{constructor(e){this.name=e}select(e,t,i){if(0===i.length)return 0;let n=i[0].score[0];for(let e=0;e<i.length;e++){let{score:t,completion:s}=i[e];if(t[0]!==n)break;if(s.preselect)return e}return 0}}class m extends p{constructor(){super("first")}memorize(e,t,i){}toJSON(){}fromJSON(){}}let _=n=class{constructor(e,t){this._storageService=e,this._configService=t,this._disposables=new r.SL,this._persistSoon=new s.pY(()=>this._saveState(),500),this._disposables.add(e.onWillSaveState(e=>{e.reason===u.fk.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,i){this._withStrategy(e,t).memorize(e,t,i),this._persistSoon.schedule()}select(e,t,i){return this._withStrategy(e,t).select(e,t,i)}_withStrategy(e,t){var i;let s=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:e.getLanguageIdAtPosition(t.lineNumber,t.column),resource:e.uri});if((null===(i=this._strategy)||void 0===i?void 0:i.name)!==s){this._saveState();let e=n._strategyCtors.get(s)||m;this._strategy=new e;try{let e=this._configService.getValue("editor.suggest.shareSuggestSelections"),t=this._storageService.get(`${n._storagePrefix}/${s}`,e?0:1);t&&this._strategy.fromJSON(JSON.parse(t))}catch(e){}}return this._strategy}_saveState(){if(this._strategy){let e=this._configService.getValue("editor.suggest.shareSuggestSelections"),t=JSON.stringify(this._strategy);this._storageService.store(`${n._storagePrefix}/${this._strategy.name}`,t,e?0:1,1)}}};_._strategyCtors=new Map([["recentlyUsedByPrefix",class e extends p{constructor(){super("recentlyUsedByPrefix"),this._trie=a.Id.forStrings(),this._seq=0}memorize(e,t,i){let{word:n}=e.getWordUntilPosition(t),s=`${e.getLanguageId()}/${n}`;this._trie.set(s,{type:i.completion.kind,insertText:i.completion.insertText,touch:this._seq++})}select(e,t,i){let{word:n}=e.getWordUntilPosition(t);if(!n)return super.select(e,t,i);let s=`${e.getLanguageId()}/${n}`,r=this._trie.get(s);if(!r&&(r=this._trie.findSubstr(s)),r)for(let e=0;e<i.length;e++){let{kind:t,insertText:n}=i[e].completion;if(t===r.type&&n===r.insertText)return e}return super.select(e,t,i)}toJSON(){let e=[];return this._trie.forEach((t,i)=>e.push([i,t])),e.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),e.length>0)for(let[t,i]of(this._seq=e[0][1].touch+1,e))i.type="number"==typeof i.type?i.type:l.gX.fromString(i.type),this._trie.set(t,i)}}],["recentlyUsed",class e extends p{constructor(){super("recentlyUsed"),this._cache=new o.z6(300,.66),this._seq=0}memorize(e,t,i){let n=`${e.getLanguageId()}/${i.textLabel}`;this._cache.set(n,{touch:this._seq++,type:i.completion.kind,insertText:i.completion.insertText})}select(e,t,i){if(0===i.length)return 0;let n=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(n))return super.select(e,t,i);let s=i[0].score[0],r=-1,o=-1,a=-1;for(let t=0;t<i.length&&i[t].score[0]===s;t++){;let n=`${e.getLanguageId()}/${i[t].textLabel}`,s=this._cache.peek(n);if(s&&s.touch>a&&s.type===i[t].completion.kind&&s.insertText===i[t].completion.insertText&&(a=s.touch,o=t),i[t].completion.preselect&&-1===r)return t}return -1!==o?o:-1!==r?r:0}toJSON(){return this._cache.toJSON()}fromJSON(e){this._cache.clear();for(let[t,i]of e)i.touch=0,i.type="number"==typeof i.type?i.type:l.gX.fromString(i.type),this._cache.set(t,i);this._seq=this._cache.size}}],["first",m]]),_._storagePrefix="suggest/memories",_=n=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}([g(0,u.Uy),g(1,d.Ui)],_);let f=(0,h.yh)("ISuggestMemories");(0,c.z)(f,_,1)},58389:function(e,t,i){i.d(t,{XZ:function(){return I}});var n,s=i(55952);i(16046);var r=i(70432),o=i(1966),a=i(45802),l=i(98212),d=i(37764),c=i(45065),h=i(71482);i(82855);var u=i(82001),g=i(44584);i(95482);var p=i(94479),m=i(77667),_=i(95449),f=i(88739),b=i(94590),v=i(91989),y=i(29149),w=i(67233),k=i(59542),S=i(47750),x=i(61320),C=i(1163),L=i(74471),T=function(e,t){return function(i,n){t(i,n,e)}};(0,b.P6G)("editorSuggestWidget.background",{dark:b.D0T,light:b.D0T,hcDark:b.D0T,hcLight:b.D0T},p.NC("editorSuggestWidgetBackground","Background color of the suggest widget.")),(0,b.P6G)("editorSuggestWidget.border",{dark:b.D1_,light:b.D1_,hcDark:b.D1_,hcLight:b.D1_},p.NC("editorSuggestWidgetBorder","Border color of the suggest widget."));let N=(0,b.P6G)("editorSuggestWidget.foreground",{dark:b.NOs,light:b.NOs,hcDark:b.NOs,hcLight:b.NOs},p.NC("editorSuggestWidgetForeground","Foreground color of the suggest widget."));(0,b.P6G)("editorSuggestWidget.selectedForeground",{dark:b.NPS,light:b.NPS,hcDark:b.NPS,hcLight:b.NPS},p.NC("editorSuggestWidgetSelectedForeground","Foreground color of the selected entry in the suggest widget.")),(0,b.P6G)("editorSuggestWidget.selectedIconForeground",{dark:b.cbQ,light:b.cbQ,hcDark:b.cbQ,hcLight:b.cbQ},p.NC("editorSuggestWidgetSelectedIconForeground","Icon foreground color of the selected entry in the suggest widget."));let D=(0,b.P6G)("editorSuggestWidget.selectedBackground",{dark:b.Vqd,light:b.Vqd,hcDark:b.Vqd,hcLight:b.Vqd},p.NC("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget."));(0,b.P6G)("editorSuggestWidget.highlightForeground",{dark:b.Gwp,light:b.Gwp,hcDark:b.Gwp,hcLight:b.Gwp},p.NC("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),(0,b.P6G)("editorSuggestWidget.focusHighlightForeground",{dark:b.PX0,light:b.PX0,hcDark:b.PX0,hcLight:b.PX0},p.NC("editorSuggestWidgetFocusHighlightForeground","Color of the match highlights in the suggest widget when an item is focused.")),(0,b.P6G)("editorSuggestWidgetStatus.foreground",{dark:(0,b.ZnX)(N,.5),light:(0,b.ZnX)(N,.5),hcDark:(0,b.ZnX)(N,.5),hcLight:(0,b.ZnX)(N,.5)},p.NC("editorSuggestWidgetStatusForeground","Foreground color of the suggest widget status."));class E{constructor(e,t){this._service=e,this._key=`suggestWidget.size/${t.getEditorType()}/${t instanceof u.H}`}restore(){var e;let t=null!==(e=this._service.get(this._key,0))&&void 0!==e?e:"";try{let e=JSON.parse(t);if(s.Ro.is(e))return s.Ro.lift(e)}catch(e){}}store(e){this._service.store(this._key,JSON.stringify(e),0,1)}reset(){this._service.remove(this._key,0)}}let I=n=class{constructor(e,t,i,n,a){let c;this.editor=e,this._storageService=t,this._state=0,this._isAuto=!1,this._pendingLayout=new d.XK,this._pendingShowDetails=new d.XK,this._ignoreFocusEvents=!1,this._forceRenderingAbove=!1,this._explainMode=!1,this._showTimeout=new o._F,this._disposables=new d.SL,this._onDidSelect=new l.K3,this._onDidFocus=new l.K3,this._onDidHide=new l.Q5,this._onDidShow=new l.Q5,this.onDidSelect=this._onDidSelect.event,this.onDidFocus=this._onDidFocus.event,this.onDidHide=this._onDidHide.event,this.onDidShow=this._onDidShow.event,this._onDetailsKeydown=new l.Q5,this.onDetailsKeyDown=this._onDetailsKeydown.event,this.element=new w.f,this.element.domNode.classList.add("editor-widget","suggest-widget"),this._contentWidget=new R(this,e),this._persistedSize=new E(t,e);class u{constructor(e,t,i=!1,n=!1){this.persistedSize=e,this.currentSize=t,this.persistHeight=i,this.persistWidth=n}}this._disposables.add(this.element.onDidWillResize(()=>{this._contentWidget.lockPreference(),c=new u(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(e=>{var t,i,n,r;if(this._resize(e.dimension.width,e.dimension.height),c&&(c.persistHeight=c.persistHeight||!!e.north||!!e.south,c.persistWidth=c.persistWidth||!!e.east||!!e.west),!!e.done){if(c){let{itemHeight:e,defaultSize:o}=this.getLayoutInfo(),a=Math.round(e/2),{width:l,height:d}=this.element.size;(!c.persistHeight||Math.abs(c.currentSize.height-d)<=a)&&(d=null!==(i=null===(t=c.persistedSize)||void 0===t?void 0:t.height)&&void 0!==i?i:o.height),(!c.persistWidth||Math.abs(c.currentSize.width-l)<=a)&&(l=null!==(r=null===(n=c.persistedSize)||void 0===n?void 0:n.width)&&void 0!==r?r:o.width),this._persistedSize.store(new s.Ro(l,d))}this._contentWidget.unlockPreference(),c=void 0}})),this._messageElement=s.R3(this.element.domNode,s.$(".message")),this._listElement=s.R3(this.element.domNode,s.$(".tree"));let m=this._disposables.add(a.createInstance(S.Re,this.editor));m.onDidClose(this.toggleDetails,this,this._disposables),this._details=new S.mh(m,this.editor);let _=()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(118).showIcons);_();let f=a.createInstance(x.z,this.editor);this._disposables.add(f),this._disposables.add(f.onDidToggleDetails(()=>this.toggleDetails())),this._list=new r.aV("SuggestWidget",this._listElement,{getHeight:e=>this.getLayoutInfo().itemHeight,getTemplateId:e=>"suggestion"},[f],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,multipleSelectionSupport:!1,accessibilityProvider:{getRole:()=>"option",getWidgetAriaLabel:()=>p.NC("suggest","Suggest"),getWidgetRole:()=>"listbox",getAriaLabel:e=>{let t=e.textLabel;if("string"!=typeof e.completion.label){let{detail:i,description:n}=e.completion.label;i&&n?t=p.NC("label.full","{0} {1}, {2}",t,i,n):i?t=p.NC("label.detail","{0} {1}",t,i):n&&(t=p.NC("label.desc","{0}, {1}",t,n))}if(!e.isResolved||!this._isDetailsVisible())return t;let{documentation:i,detail:n}=e.completion,s=h.WU("{0}{1}",n||"",i?"string"==typeof i?i:i.value:"");return p.NC("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",t,s)}}}),this._list.style((0,C.TU)({listInactiveFocusBackground:D,listInactiveFocusOutline:b.xL1})),this._status=a.createInstance(g.I,this.element.domNode,k.GI);let v=()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(118).showStatusBar);v(),this._disposables.add(n.onDidColorThemeChange(e=>this._onThemeChange(e))),this._onThemeChange(n.getColorTheme()),this._disposables.add(this._list.onMouseDown(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onTap(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onDidChangeSelection(e=>this._onListSelection(e))),this._disposables.add(this._list.onDidChangeFocus(e=>this._onListFocus(e))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(118)&&(v(),_()),this._completionModel&&(e.hasChanged(50)||e.hasChanged(119)||e.hasChanged(120))&&this._list.splice(0,this._list.length,this._completionModel.items)})),this._ctxSuggestWidgetVisible=k._y.Visible.bindTo(i),this._ctxSuggestWidgetDetailsVisible=k._y.DetailsVisible.bindTo(i),this._ctxSuggestWidgetMultipleSuggestions=k._y.MultipleSuggestions.bindTo(i),this._ctxSuggestWidgetHasFocusedSuggestion=k._y.HasFocusedSuggestion.bindTo(i),this._disposables.add(s.mu(this._details.widget.domNode,"keydown",e=>{this._onDetailsKeydown.fire(e)})),this._disposables.add(this.editor.onMouseDown(e=>this._onEditorMouseDown(e)))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._pendingLayout.dispose(),this._pendingShowDetails.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){0!==this._state&&this._contentWidget.layout()}_onListMouseDownOrTap(e){if(void 0!==e.element&&void 0!==e.index)e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index)}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){let i=this._completionModel;i&&(this._onDidSelect.fire({item:e,index:t,model:i}),this.editor.focus())}_onThemeChange(e){this._details.widget.borderWidth=(0,v.c3)(e.type)?2:1}_onListFocus(e){var t;if(this._ignoreFocusEvents)return;if(!e.elements.length){this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0}),this._ctxSuggestWidgetHasFocusedSuggestion.set(!1);return}if(!this._completionModel)return;this._ctxSuggestWidgetHasFocusedSuggestion.set(!0);let i=e.elements[0],n=e.indexes[0];i!==this._focusedItem&&(null===(t=this._currentSuggestionDetails)||void 0===t||t.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=i,this._list.reveal(n),this._currentSuggestionDetails=(0,o.PG)(async e=>{let t=(0,o.Vg)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250),n=e.onCancellationRequested(()=>t.dispose());try{return await i.resolve(e)}finally{t.dispose(),n.dispose()}}),this._currentSuggestionDetails.then(()=>{if(!(n>=this._list.length)&&i===this._list.element(n))this._ignoreFocusEvents=!0,this._list.splice(n,1,[i]),this._list.setFocus([n]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:(0,x.i)(n)})}).catch(a.dL)),this._onDidFocus.fire({item:i,index:n,model:this._completionModel})}_setState(e){if(this._state!==e)switch(this._state=e,this.element.domNode.classList.toggle("frozen",4===e),this.element.domNode.classList.remove("message"),e){case 0:s.Cp(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._ctxSuggestWidgetHasFocusedSuggestion.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=n.LOADING_MESSAGE,s.Cp(this._listElement,this._status.element),s.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,L.i7)(n.LOADING_MESSAGE);break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=n.NO_SUGGESTIONS_MESSAGE,s.Cp(this._listElement,this._status.element),s.$Z(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0,(0,L.i7)(n.NO_SUGGESTIONS_MESSAGE);break;case 3:case 4:s.Cp(this._messageElement),s.$Z(this._listElement,this._status.element),this._show();break;case 5:s.Cp(this._messageElement),s.$Z(this._listElement,this._status.element),this._details.show(),this._show()}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(e,t){if(0===this._state)this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,!this._isAuto&&(this._loadingTimeout=(0,o.Vg)(()=>this._setState(1),t))}showSuggestions(e,t,i,n,r){var o,a;if(this._contentWidget.setPosition(this.editor.getPosition()),null===(o=this._loadingTimeout)||void 0===o||o.dispose(),null===(a=this._currentSuggestionDetails)||void 0===a||a.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),i&&2!==this._state&&0!==this._state){this._setState(4);return}let l=this._completionModel.items.length;if(this._ctxSuggestWidgetMultipleSuggestions.set(l>1),0===l){this._setState(n?0:2),this._completionModel=void 0;return}this._focusedItem=void 0,this._onDidFocus.pause(),this._onDidSelect.pause();try{this._list.splice(0,this._list.length,this._completionModel.items),this._setState(i?4:3),this._list.reveal(t,0),this._list.setFocus(r?[]:[t])}finally{this._onDidFocus.resume(),this._onDidSelect.resume()}this._pendingLayout.value=s.lI(s.Jj(this.element.domNode),()=>{this._pendingLayout.clear(),this._layout(this.element.size),this._details.widget.domNode.classList.remove("focused")})}focusSelected(){this._list.length>0&&this._list.setFocus([0])}selectNextPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageDown(),!0;case 1:return!this._isAuto;default:return this._list.focusNextPage(),!0}}selectNext(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusNext(1,!0),!0}}selectLast(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollBottom(),!0;case 1:return!this._isAuto;default:return this._list.focusLast(),!0}}selectPreviousPage(){switch(this._state){case 0:return!1;case 5:return this._details.widget.pageUp(),!0;case 1:return!this._isAuto;default:return this._list.focusPreviousPage(),!0}}selectPrevious(){switch(this._state){case 0:return!1;case 1:return!this._isAuto;default:return this._list.focusPrevious(1,!0),!1}}selectFirst(){switch(this._state){case 0:return!1;case 5:return this._details.widget.scrollTop(),!0;case 1:return!this._isAuto;default:return this._list.focusFirst(),!0}}getFocusedItem(){if(0!==this._state&&2!==this._state&&1!==this._state&&this._completionModel&&this._list.getFocus().length>0)return{item:this._list.getFocusedElements()[0],index:this._list.getFocus()[0],model:this._completionModel}}toggleDetailsFocus(){5===this._state?(this._setState(3),this._details.widget.domNode.classList.remove("focused")):3===this._state&&this._isDetailsVisible()&&(this._setState(5),this._details.widget.domNode.classList.add("focused"))}toggleDetails(){this._isDetailsVisible()?(this._pendingShowDetails.clear(),this._ctxSuggestWidgetDetailsVisible.set(!1),this._setDetailsVisible(!1),this._details.hide(),this.element.domNode.classList.remove("shows-details")):((0,S.nJ)(this._list.getFocusedElements()[0])||this._explainMode)&&(3===this._state||5===this._state||4===this._state)&&(this._ctxSuggestWidgetDetailsVisible.set(!0),this._setDetailsVisible(!0),this.showDetails(!1))}showDetails(e){this._pendingShowDetails.value=s.lI(s.Jj(this.element.domNode),()=>{this._pendingShowDetails.clear(),this._details.show(),e?this._details.widget.renderLoading():this._details.widget.renderItem(this._list.getFocusedElements()[0],this._explainMode),this._details.widget.isEmpty?this._details.hide():(this._positionDetails(),this.element.domNode.classList.add("shows-details")),this.editor.focus()})}toggleExplainMode(){this._list.getFocusedElements()[0]&&(this._explainMode=!this._explainMode,this._isDetailsVisible()?this.showDetails(!1):this.toggleDetails())}resetPersistedSize(){this._persistedSize.reset()}hideWidget(){var e;this._pendingLayout.clear(),this._pendingShowDetails.clear(),null===(e=this._loadingTimeout)||void 0===e||e.dispose(),this._setState(0),this._onDidHide.fire(this),this.element.clearSashHoverState();let t=this._persistedSize.restore(),i=Math.ceil(4.3*this.getLayoutInfo().itemHeight);t&&t.height<i&&this._persistedSize.store(t.with(void 0,i))}isFrozen(){return 4===this._state}_afterRender(e){if(null===e){this._isDetailsVisible()&&this._details.hide();return}if(2!==this._state&&1!==this._state)this._isDetailsVisible()&&!this._details.widget.isEmpty&&this._details.show(),this._positionDetails()}_layout(e){var t,i,n;if(!this.editor.hasModel()||!this.editor.getDomNode())return;let r=s.D6(this.element.domNode.ownerDocument.body),o=this.getLayoutInfo();!e&&(e=o.defaultSize);let a=e.height,l=e.width;if(this._status.element.style.height=`${o.itemHeight}px`,2===this._state||1===this._state)a=o.itemHeight+o.borderHeight,l=o.defaultSize.width/2,this.element.enableSashes(!1,!1,!1,!1),this.element.minSize=this.element.maxSize=new s.Ro(l,a),this._contentWidget.setPreference(2);else{let d=r.width-o.borderHeight-2*o.horizontalPadding;l>d&&(l=d);let c=this._completionModel?this._completionModel.stats.pLabelLen*o.typicalHalfwidthCharacterWidth:l,h=o.statusBarHeight+this._list.contentHeight+o.borderHeight,u=o.itemHeight+o.statusBarHeight,g=s.i(this.editor.getDomNode()),p=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),m=g.top+p.top+p.height,_=Math.min(r.height-m-o.verticalPadding,h),f=g.top+p.top-o.verticalPadding,b=Math.min(f,h),v=Math.min(Math.max(b,_)+o.borderHeight,h);a===(null===(t=this._cappedHeight)||void 0===t?void 0:t.capped)&&(a=this._cappedHeight.wanted),a<u&&(a=u),a>v&&(a=v);a>_||this._forceRenderingAbove&&f>150?(this._contentWidget.setPreference(1),this.element.enableSashes(!0,!0,!1,!1),v=b):(this._contentWidget.setPreference(2),this.element.enableSashes(!1,!0,!0,!1),v=_),this.element.preferredSize=new s.Ro(c,o.defaultSize.height),this.element.maxSize=new s.Ro(d,v),this.element.minSize=new s.Ro(220,u),this._cappedHeight=a===h?{wanted:null!==(n=null===(i=this._cappedHeight)||void 0===i?void 0:i.wanted)&&void 0!==n?n:e.height,capped:a}:void 0}this._resize(l,a)}_resize(e,t){let{width:i,height:n}=this.element.maxSize;e=Math.min(i,e),t=Math.min(n,t);let{statusBarHeight:s}=this.getLayoutInfo();this._list.layout(t-s,e),this._listElement.style.height=`${t-s}px`,this.element.layout(t,e),this._contentWidget.layout(),this._positionDetails()}_positionDetails(){var e;this._isDetailsVisible()&&this._details.placeAtAnchor(this.element.domNode,(null===(e=this._contentWidget.getPosition())||void 0===e?void 0:e.preference[0])===2)}getLayoutInfo(){let e=this.editor.getOption(50),t=(0,c.uZ)(this.editor.getOption(120)||e.lineHeight,8,1e3),i=this.editor.getOption(118).showStatusBar&&2!==this._state&&1!==this._state?t:0,n=this._details.widget.borderWidth,r=2*n;return{itemHeight:t,statusBarHeight:i,borderWidth:n,borderHeight:r,typicalHalfwidthCharacterWidth:e.typicalHalfwidthCharacterWidth,verticalPadding:22,horizontalPadding:14,defaultSize:new s.Ro(430,i+12*t+r)}}_isDetailsVisible(){return this._storageService.getBoolean("expandSuggestionDocs",0,!1)}_setDetailsVisible(e){this._storageService.store("expandSuggestionDocs",e,0,0)}forceRenderingAbove(){!this._forceRenderingAbove&&(this._forceRenderingAbove=!0,this._layout(this._persistedSize.restore()))}stopForceRenderingAbove(){this._forceRenderingAbove=!1}};I.LOADING_MESSAGE=p.NC("suggestWidget.loading","Loading..."),I.NO_SUGGESTIONS_MESSAGE=p.NC("suggestWidget.noSuggestions","No suggestions."),I=n=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}([T(1,f.Uy),T(2,m.i6),T(3,y.XE),T(4,_.TG)],I);class R{constructor(e,t){this._widget=e,this._editor=t,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._preferenceLocked=!1,this._added=!1,this._hidden=!1}dispose(){this._added&&(this._added=!1,this._editor.removeContentWidget(this))}getId(){return"editor.widget.suggestWidget"}getDomNode(){return this._widget.element.domNode}show(){this._hidden=!1,!this._added&&(this._added=!0,this._editor.addContentWidget(this))}hide(){!this._hidden&&(this._hidden=!0,this.layout())}layout(){this._editor.layoutContentWidget(this)}getPosition(){return!this._hidden&&this._position&&this._preference?{position:this._position,preference:[this._preference]}:null}beforeRender(){let{height:e,width:t}=this._widget.element.size,{borderWidth:i,horizontalPadding:n}=this._widget.getLayoutInfo();return new s.Ro(t+2*i+n,e+2*i)}afterRender(e){this._widget._afterRender(e)}setPreference(e){!this._preferenceLocked&&(this._preference=e)}lockPreference(){this._preferenceLocked=!0}unlockPreference(){this._preferenceLocked=!1}setPosition(e){this._position=e}}},76953:function(e,t,i){i.d(t,{I:function(){return _}});var n=i(55952),s=i(475),r=i(52640),o=i(26906),a=i(37764),l=i(79221);i(56184);var d=i(83112),c=i(84144);let h=new r.Il(new r.VS(0,122,204)),u={showArrow:!0,showFrame:!0,className:"",frameColor:h,arrowColor:h,keepEditorSelection:!1};class g{constructor(e,t,i,n,s,r,o,a){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this.showInHiddenAreas=o,this.ordinal=a,this._onDomNodeTop=s,this._onComputedHeight=r}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class p{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class m{constructor(e){this._editor=e,this._ruleName=m._IdGenerator.nextId(),this._decorations=this._editor.createDecorationsCollection(),this._color=null,this._height=-1}dispose(){this.hide(),n.uN(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){n.uN(this._ruleName),n.fk(`.monaco-editor ${this._ruleName}`,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px !important; margin-left: -${this._height}px; `)}show(e){1===e.column&&(e={lineNumber:e.lineNumber,column:2}),this._decorations.set([{range:d.e.fromPositions(e),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._decorations.clear()}}m._IdGenerator=new o.R(".arrow-decoration-");class _{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._viewZone=null,this._disposables=new a.SL,this.container=null,this._isShowing=!1,this.editor=e,this._positionMarkerId=this.editor.createDecorationsCollection(),this.options=l.I8(t),l.jB(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.add(this.editor.onDidLayoutChange(e=>{let t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this._positionMarkerId.clear(),this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new m(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){if(this.container&&this.options.frameColor){let e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){let e=this.options.arrowColor.toString();this._arrow.color=e}}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return e.minimap.minimapWidth>0&&0===e.minimap.minimapLeft?e.minimap.minimapWidth:0}_onViewZoneTop(e){this.domNode.style.top=e+"px"}_onViewZoneHeight(e){var t;if(this.domNode.style.height=`${e}px`,this.container){let t=e-this._decoratingElementsHeight();this.container.style.height=`${t}px`;let i=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(i))}null===(t=this._resizeSash)||void 0===t||t.layout()}get position(){let e=this._positionMarkerId.getRange(0);if(!!e)return e.getStartPosition()}show(e,t){let i=d.e.isIRange(e)?d.e.lift(e):d.e.fromPositions(e);this._isShowing=!0,this._showImpl(i,t),this._isShowing=!1,this._positionMarkerId.set([{range:i,options:c.qx.EMPTY}])}hide(){var e;this._viewZone&&(this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),null===(e=this._arrow)||void 0===e||e.hide(),this._positionMarkerId.clear()}_decoratingElementsHeight(){let e=this.editor.getOption(67),t=0;return this.options.showArrow&&(t+=2*Math.round(e/3)),this.options.showFrame&&(t+=2*Math.round(e/9)),t}_showImpl(e,t){let i=e.getStartPosition(),n=this.editor.getLayoutInfo(),s=this._getWidth(n);this.domNode.style.width=`${s}px`,this.domNode.style.left=this._getLeft(n)+"px";let r=document.createElement("div");r.style.overflow="hidden";let o=this.editor.getOption(67);if(!this.options.allowUnlimitedHeight){let e=Math.max(12,this.editor.getLayoutInfo().height/o*.8);t=Math.min(t,e)}let a=0,l=0;if(this._arrow&&this.options.showArrow&&(a=Math.round(o/3),this._arrow.height=a,this._arrow.show(i)),this.options.showFrame&&(l=Math.round(o/9)),this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new g(r,i.lineNumber,i.column,t,e=>this._onViewZoneTop(e),e=>this._onViewZoneHeight(e),this.options.showInHiddenAreas,this.options.ordinal),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new p("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){let e=this.options.frameWidth?this.options.frameWidth:l;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}let c=t*o-this._decoratingElementsHeight();this.container&&(this.container.style.top=a+"px",this.container.style.height=c+"px",this.container.style.overflow="hidden"),this._doLayout(c,s),!this.options.keepEditorSelection&&this.editor.setSelection(e);let h=this.editor.getModel();if(h){let t=h.validateRange(new d.e(e.startLineNumber,1,e.endLineNumber+1,1));this.revealRange(t,t.startLineNumber===h.getLineCount())}}revealRange(e,t){t?this.editor.revealLineNearTop(e.endLineNumber,0):this.editor.revealRange(e,0)}setCssClass(e,t){if(!!this.container)t&&this.container.classList.remove(t),this.container.classList.add(e)}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){let e;if(!this._resizeSash)this._resizeSash=this._disposables.add(new s.g(this.domNode,this,{orientation:1})),!this.options.isResizeable&&(this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{if(e){let i=(t.currentY-e.startY)/this.editor.getOption(67),n=i<0?Math.ceil(i):Math.floor(i),s=e.heightInLines+n;s>5&&s<35&&this._relayout(s)}}))}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){let e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}},10244:function(e,t,i){let n,s;var r=i(76761),o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,c=(e,t,i,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of l(t))!d.call(e,s)&&s!==i&&o(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},h={};c(h,n=r,"default"),s&&c(s,n,"default");var u=class{constructor(e,t,i){this._onDidChange=new h.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}},g={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"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},p={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},m=new u("css",g,p),_=new u("scss",g,p),f=new u("less",g,p);function b(){return Promise.all([i.e("670"),i.e("624"),i.e("889"),i.e("786"),i.e("531"),i.e("242"),i.e("159"),i.e("86"),i.e("790"),i.e("387"),i.e("488"),i.e("25"),i.e("297"),i.e("606"),i.e("310"),i.e("471"),i.e("389"),i.e("374")]).then(i.bind(i,38797))}h.languages.css={cssDefaults:m,lessDefaults:f,scssDefaults:_},h.languages.onLanguage("less",()=>{b().then(e=>e.setupMode(f))}),h.languages.onLanguage("scss",()=>{b().then(e=>e.setupMode(_))}),h.languages.onLanguage("css",()=>{b().then(e=>e.setupMode(m))})},19309:function(e,t,i){i.d(t,{v:function(){return n},x:function(){return s}});let n=(0,i(95449).yh)("openerService");function s(e){let t;let i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},6545:function(e,t,i){i.d(t,{y:function(){return b}});var n=i(66735),s=i(98212),r=i(77667),o=i(95449),a=i(55111),l=i(19309),d=i(17693),c=i(1163),h=i(94590),u=i(29149),g=i(24574),p=i(65150),m=i(756),_=i(55952),f=function(e,t){return function(i,n){t(i,n,e)}};let b=class extends u.bB{get controller(){return!this._controller&&(this._controller=this._register(this.createController())),this._controller}get hasController(){return!!this._controller}get quickAccess(){return!this._quickAccess&&(this._quickAccess=this._register(this.instantiationService.createInstance(d.C))),this._quickAccess}constructor(e,t,i,n,r){super(i),this.instantiationService=e,this.contextKeyService=t,this.layoutService=n,this.configurationService=r,this._onShow=this._register(new s.Q5),this._onHide=this._register(new s.Q5),this.contexts=new Map}createController(e=this.layoutService,t){let i={idPrefix:"quickInput_",container:e.activeContainer,ignoreFocusOut:()=>!1,backKeybindingLabel:()=>void 0,setContextKey:e=>this.setContextKey(e),linkOpenerDelegate:e=>{this.instantiationService.invokeFunction(t=>{t.get(l.v).open(e,{allowCommands:!0,fromUserGesture:!0})})},returnFocus:()=>e.focus(),styles:this.computeStyles(),hoverDelegate:this._register(this.instantiationService.createInstance(g.Mu))},n=this._register(this.instantiationService.createInstance(p.O,{...i,...t}));return n.layout(e.activeContainerDimension,e.activeContainerOffset.quickPickTop),this._register(e.onDidLayoutActiveContainer(t=>{(0,_.Jj)(e.activeContainer)===(0,_.Jj)(n.container)&&n.layout(t,e.activeContainerOffset.quickPickTop)})),this._register(e.onDidChangeActiveContainer(()=>{if(!n.isVisible())n.layout(e.activeContainerDimension,e.activeContainerOffset.quickPickTop)})),this._register(n.onShow(()=>{this.resetContextKeys(),this._onShow.fire()})),this._register(n.onHide(()=>{this.resetContextKeys(),this._onHide.fire()})),n}setContextKey(e){let t;if(e&&!(t=this.contexts.get(e))&&(t=new r.uy(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t)),!(t&&t.get()))this.resetContextKeys(),null==t||t.set(!0)}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},i=n.Ts.None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}createInputBox(){return this.controller.createInputBox()}updateStyles(){this.hasController&&this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:{quickInputBackground:(0,h.n_1)(h.zKr),quickInputForeground:(0,h.n_1)(h.tZ6),quickInputTitleBackground:(0,h.n_1)(h.loF),widgetBorder:(0,h.n_1)(h.A42),widgetShadow:(0,h.n_1)(h.rh)},inputBox:c.Hc,toggle:c.pl,countBadge:c.ku,button:c.wG,progressBar:c.b5,keybindingLabel:c.eO,list:(0,c.TU)({listBackground:h.zKr,listFocusBackground:h.Vqd,listFocusForeground:h.NPS,listInactiveFocusForeground:h.NPS,listInactiveSelectionIconForeground:h.cbQ,listInactiveFocusBackground:h.Vqd,listFocusOutline:h.xL1,listInactiveFocusOutline:h.xL1}),pickerGroup:{pickerGroupBorder:(0,h.n_1)(h.opG),pickerGroupForeground:(0,h.n_1)(h.kJk)}}}};b=function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}([f(0,o.TG),f(1,r.i6),f(2,u.XE),f(3,a.F),f(4,m.Ui)],b)},91346:function(e,t,i){i.d(t,{AW:function(){return B},BQ:function(){return F},C3:function(){return v},EP:function(){return _},ES:function(){return P},Fg:function(){return x},GO:function(){return E},GY:function(){return I},K1:function(){return W},OZ:function(){return k},PR:function(){return h},Pv:function(){return g},RV:function(){return f},SU:function(){return A},XE:function(){return u},XV:function(){return S},YI:function(){return m},_g:function(){return C},_l:function(){return p},_t:function(){return w},a9:function(){return L},b7:function(){return D},dt:function(){return c},iF:function(){return N},j5:function(){return T},lW:function(){return z},nd:function(){return O},oQ:function(){return H},p:function(){return y},qB:function(){return R},sE:function(){return l},tk:function(){return b},xE:function(){return M},zJ:function(){return d}});var n=i(94479),s=i(52640),r=i(19957),o=i(45570),a=i(55475);let l=(0,r.P6)("input.background",{dark:"#3C3C3C",light:s.Il.white,hcDark:s.Il.black,hcLight:s.Il.white},n.NC("inputBoxBackground","Input box background.")),d=(0,r.P6)("input.foreground",{dark:o.dR,light:o.dR,hcDark:o.dR,hcLight:o.dR},n.NC("inputBoxForeground","Input box foreground.")),c=(0,r.P6)("input.border",{dark:null,light:null,hcDark:o.lR,hcLight:o.lR},n.NC("inputBoxBorder","Input box border.")),h=(0,r.P6)("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hcDark:o.lR,hcLight:o.lR},n.NC("inputBoxActiveOptionBorder","Border color of activated options in input fields."));(0,r.P6)("inputOption.hoverBackground",{dark:"#5a5d5e80",light:"#b8b8b850",hcDark:null,hcLight:null},n.NC("inputOption.hoverBackground","Background color of activated options in input fields."));let u=(0,r.P6)("inputOption.activeBackground",{dark:(0,r.Zn)(o.R8,.4),light:(0,r.Zn)(o.R8,.2),hcDark:s.Il.transparent,hcLight:s.Il.transparent},n.NC("inputOption.activeBackground","Background hover color of options in input fields.")),g=(0,r.P6)("inputOption.activeForeground",{dark:s.Il.white,light:s.Il.black,hcDark:o.dR,hcLight:o.dR},n.NC("inputOption.activeForeground","Foreground color of activated options in input fields."));(0,r.P6)("input.placeholderForeground",{light:(0,r.Zn)(o.dR,.5),dark:(0,r.Zn)(o.dR,.5),hcDark:(0,r.Zn)(o.dR,.7),hcLight:(0,r.Zn)(o.dR,.7)},n.NC("inputPlaceholderForeground","Input box foreground color for placeholder text."));let p=(0,r.P6)("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hcDark:s.Il.black,hcLight:s.Il.white},n.NC("inputValidationInfoBackground","Input validation background color for information severity.")),m=(0,r.P6)("inputValidation.infoForeground",{dark:null,light:null,hcDark:null,hcLight:o.dR},n.NC("inputValidationInfoForeground","Input validation foreground color for information severity.")),_=(0,r.P6)("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hcDark:o.lR,hcLight:o.lR},n.NC("inputValidationInfoBorder","Input validation border color for information severity.")),f=(0,r.P6)("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hcDark:s.Il.black,hcLight:s.Il.white},n.NC("inputValidationWarningBackground","Input validation background color for warning severity.")),b=(0,r.P6)("inputValidation.warningForeground",{dark:null,light:null,hcDark:null,hcLight:o.dR},n.NC("inputValidationWarningForeground","Input validation foreground color for warning severity.")),v=(0,r.P6)("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hcDark:o.lR,hcLight:o.lR},n.NC("inputValidationWarningBorder","Input validation border color for warning severity.")),y=(0,r.P6)("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hcDark:s.Il.black,hcLight:s.Il.white},n.NC("inputValidationErrorBackground","Input validation background color for error severity.")),w=(0,r.P6)("inputValidation.errorForeground",{dark:null,light:null,hcDark:null,hcLight:o.dR},n.NC("inputValidationErrorForeground","Input validation foreground color for error severity.")),k=(0,r.P6)("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hcDark:o.lR,hcLight:o.lR},n.NC("inputValidationErrorBorder","Input validation border color for error severity.")),S=(0,r.P6)("dropdown.background",{dark:"#3C3C3C",light:s.Il.white,hcDark:s.Il.black,hcLight:s.Il.white},n.NC("dropdownBackground","Dropdown background.")),x=(0,r.P6)("dropdown.listBackground",{dark:null,light:null,hcDark:s.Il.black,hcLight:s.Il.white},n.NC("dropdownListBackground","Dropdown list background.")),C=(0,r.P6)("dropdown.foreground",{dark:"#F0F0F0",light:o.dR,hcDark:s.Il.white,hcLight:o.dR},n.NC("dropdownForeground","Dropdown foreground.")),L=(0,r.P6)("dropdown.border",{dark:S,light:"#CECECE",hcDark:o.lR,hcLight:o.lR},n.NC("dropdownBorder","Dropdown border.")),T=(0,r.P6)("button.foreground",{dark:s.Il.white,light:s.Il.white,hcDark:s.Il.white,hcLight:s.Il.white},n.NC("buttonForeground","Button foreground color.")),N=(0,r.P6)("button.separator",{dark:(0,r.Zn)(T,.4),light:(0,r.Zn)(T,.4),hcDark:(0,r.Zn)(T,.4),hcLight:(0,r.Zn)(T,.4)},n.NC("buttonSeparator","Button separator color.")),D=(0,r.P6)("button.background",{dark:"#0E639C",light:"#007ACC",hcDark:null,hcLight:"#0F4A85"},n.NC("buttonBackground","Button background color.")),E=(0,r.P6)("button.hoverBackground",{dark:(0,r.$n)(D,.2),light:(0,r._j)(D,.2),hcDark:D,hcLight:D},n.NC("buttonHoverBackground","Button background color when hovering.")),I=(0,r.P6)("button.border",{dark:o.lR,light:o.lR,hcDark:o.lR,hcLight:o.lR},n.NC("buttonBorder","Button border color.")),R=(0,r.P6)("button.secondaryForeground",{dark:s.Il.white,light:s.Il.white,hcDark:s.Il.white,hcLight:o.dR},n.NC("buttonSecondaryForeground","Secondary button foreground color.")),P=(0,r.P6)("button.secondaryBackground",{dark:"#3A3D41",light:"#5F6A79",hcDark:null,hcLight:s.Il.white},n.NC("buttonSecondaryBackground","Secondary button background color.")),M=(0,r.P6)("button.secondaryHoverBackground",{dark:(0,r.$n)(P,.2),light:(0,r._j)(P,.2),hcDark:null,hcLight:null},n.NC("buttonSecondaryHoverBackground","Secondary button background color when hovering.")),A=(0,r.P6)("checkbox.background",{dark:S,light:S,hcDark:S,hcLight:S},n.NC("checkbox.background","Background color of checkbox widget."));(0,r.P6)("checkbox.selectBackground",{dark:a.D0,light:a.D0,hcDark:a.D0,hcLight:a.D0},n.NC("checkbox.select.background","Background color of checkbox widget when the element it's in is selected."));let F=(0,r.P6)("checkbox.foreground",{dark:C,light:C,hcDark:C,hcLight:C},n.NC("checkbox.foreground","Foreground color of checkbox widget.")),O=(0,r.P6)("checkbox.border",{dark:L,light:L,hcDark:L,hcLight:L},n.NC("checkbox.border","Border color of checkbox widget."));(0,r.P6)("checkbox.selectBorder",{dark:o.XZ,light:o.XZ,hcDark:o.XZ,hcLight:o.XZ},n.NC("checkbox.select.border","Border color of checkbox widget when the element it's in is selected."));let H=(0,r.P6)("keybindingLabel.background",{dark:new s.Il(new s.VS(128,128,128,.17)),light:new s.Il(new s.VS(221,221,221,.4)),hcDark:s.Il.transparent,hcLight:s.Il.transparent},n.NC("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),z=(0,r.P6)("keybindingLabel.foreground",{dark:s.Il.fromHex("#CCCCCC"),light:s.Il.fromHex("#555555"),hcDark:s.Il.white,hcLight:o.dR},n.NC("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),B=(0,r.P6)("keybindingLabel.border",{dark:new s.Il(new s.VS(51,51,51,.6)),light:new s.Il(new s.VS(204,204,204,.4)),hcDark:new s.Il(new s.VS(111,195,223)),hcLight:o.lR},n.NC("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),W=(0,r.P6)("keybindingLabel.bottomBorder",{dark:new s.Il(new s.VS(68,68,68,.6)),light:new s.Il(new s.VS(187,187,187,.4)),hcDark:new s.Il(new s.VS(111,195,223)),hcLight:o.dR},n.NC("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut."))}}]);
|