0;)m+=v?" ":" ",L--;break;case 60:m+="<";break;case 62:m+=">";break;case 38:m+="&";break;case 0:m+="";break;case 65279:case 8232:m+="\uFFFD";break;case 13:m+="";break;case 32:m+=v?" ":" ";break;default:m+=String.fromCharCode(E)}}if(w+=''+m+"",d>_||p>=_)break}return w+="",w}function O(H,x){for(var u='',y=H.split(/\r\n|\r|\n/),_=x.getInitialState(),f=0,v=y.length;f0&&(u+="
");var p=x.tokenize2(w,_,0);re.a.convertToEndOffset(p.tokens,w.length);for(var c=new re.a(p.tokens,w),s=c.inflate(),l=0,d=0,m=s.getCount();d'+T.o(w.substring(l,L))+"",l=L}_=p.endState}return u+="
",u}},TT2d:function(Lt,j,e){},Tcc1:function(Lt,j,e){"use strict";e.d(j,"a",function(){return T}),e.d(j,"b",function(){return re}),e.d(j,"c",function(){return J});var T=function(){function I(U,z,O){this.offset=U|0,this.type=z,this.language=O}return I.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},I}(),re=function(){function I(U,z){this.tokens=U,this.endState=z}return I}(),J=function(){function I(U,z){this.tokens=U,this.endState=z}return I}()},UCkY:function(Lt,j,e){},URDS:function(Lt,j,e){(function(T){/*!
Copyright (c) 2014 Taylor Hakes
Copyright (c) 2014 Forbes Lindesay
*/(function(re,J){J()})(this,function(){"use strict";function re(v){var w=this.constructor;return this.then(function(p){return w.resolve(v()).then(function(){return p})},function(p){return w.resolve(v()).then(function(){return w.reject(p)})})}var J=setTimeout;function I(){}function U(v,w){return function(){v.apply(w,arguments)}}function z(v){if(!(this instanceof z))throw new TypeError("Promises must be constructed via new");if(typeof v!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],_(v,this)}function O(v,w){for(;v._state===3;)v=v._value;if(v._state===0){v._deferreds.push(w);return}v._handled=!0,z._immediateFn(function(){var p=v._state===1?w.onFulfilled:w.onRejected;if(p===null){(v._state===1?H:x)(w.promise,v._value);return}var c;try{c=p(v._value)}catch(s){x(w.promise,s);return}H(w.promise,c)})}function H(v,w){try{if(w===v)throw new TypeError("A promise cannot be resolved with itself.");if(w&&(typeof w=="object"||typeof w=="function")){var p=w.then;if(w instanceof z){v._state=3,v._value=w,u(v);return}else if(typeof p=="function"){_(U(p,w),v);return}}v._state=1,v._value=w,u(v)}catch(c){x(v,c)}}function x(v,w){v._state=2,v._value=w,u(v)}function u(v){v._state===2&&v._deferreds.length===0&&z._immediateFn(function(){v._handled||z._unhandledRejectionFn(v._value)});for(var w=0,p=v._deferreds.length;w'})}},Vtyv:function(Lt,j,e){},VvMK:function(Lt,j,e){},Vxe3:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("codeEditorService")},W9cx:function(Lt,j,e){"use strict";e.d(j,"a",function(){return O}),e.d(j,"b",function(){return H}),e.d(j,"c",function(){return x});var T=e("bY76"),re=e("Cg/j"),J=e("pmY6"),I=e("N0LK"),U=function(u,y,_,f){function v(w){return w instanceof _?w:new _(function(p){p(w)})}return new(_||(_=Promise))(function(w,p){function c(d){try{l(f.next(d))}catch(m){p(m)}}function s(d){try{l(f.throw(d))}catch(m){p(m)}}function l(d){d.done?w(d.value):v(d.value).then(c,s)}l((f=f.apply(u,y||[])).next())})},z=function(u,y){var _={label:0,sent:function(){if(w[0]&1)throw w[1];return w[1]},trys:[],ops:[]},f,v,w,p;return p={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function c(l){return function(d){return s([l,d])}}function s(l){if(f)throw new TypeError("Generator is already executing.");for(;_;)try{if(f=1,v&&(w=l[0]&2?v.return:l[0]?v.throw||((w=v.return)&&w.call(v),0):v.next)&&!(w=w.call(v,l[1])).done)return w;(v=0,w)&&(l=[l[0]&2,w.value]);switch(l[0]){case 0:case 1:w=l;break;case 4:return _.label++,{value:l[1],done:!1};case 5:_.label++,v=l[1],l=[0];continue;case 7:l=_.ops.pop(),_.trys.pop();continue;default:if(!(w=_.trys,w=w.length>0&&w[w.length-1])&&(l[0]===6||l[0]===2)){_=0;continue}if(l[0]===3&&(!w||l[1]>w[0]&&l[1]0&&X[X.length-1])&&(me[0]===6||me[0]===2)){ae=0;continue}if(me[0]===3&&(!X||me[1]>X[0]&&me[1]0&&ue.indexOf(Fe)===0){for(var ve=null,Q=null,C=0,F=0;F0)):C++}Q&&Q.setGroupLabel(this.typeToLabel(ve||"",C))}else he.length>0&&he[0].setGroupLabel(z.r(Me.e._symbols_,he.length));return he},ee.prototype.typeToLabel=function(ae,q){switch(ae){case"module":return z.r(Me.e._modules_,q);case"class":return z.r(Me.e._class_,q);case"interface":return z.r(Me.e._interface_,q);case"method":return z.r(Me.e._method_,q);case"function":return z.r(Me.e._function_,q);case"property":return z.r(Me.e._property_,q);case"variable":return z.r(Me.e._variable_,q);case"var":return z.r(Me.e._variable2_,q);case"constructor":return z.r(Me.e._constructor_,q);case"call":return z.r(Me.e._call_,q)}return ae},ee.prototype.sortNormal=function(ae,q,ue){var X=q.getLabel().toLowerCase(),he=ue.getLabel().toLowerCase(),je=X.localeCompare(he);if(je!==0)return je;var Xe=q.getRange(),me=ue.getRange();return Xe.startLineNumber-me.startLineNumber},ee.prototype.sortScoped=function(ae,q,ue){ae=ae.substr(Fe.length);var X=q.getType(),he=ue.getType(),je=X.localeCompare(he);if(je!==0)return je;if(ae){var Xe=q.getLabel().toLowerCase(),me=ue.getLabel().toLowerCase(),ge=Xe.localeCompare(me);if(ge!==0)return ge}var we=q.getRange(),Re=ue.getRange();return we.startLineNumber-Re.startLineNumber},ee}(Ce.a);Object(H.f)(Pe)},WqXY:function(Lt,j,e){"use strict";e.d(j,"c",function(){return w}),e.d(j,"d",function(){return p}),e.d(j,"b",function(){return c}),e.d(j,"a",function(){return l});var T=e("yEoX"),re=e.n(T),J=e("MNsG"),I=e("3/fG"),U=e("pmY6"),z=e("8HAY"),O=e("EffR"),H=e("746U"),x=e("pg8w"),u=e("uDWl"),y=e("MI8n"),_=e("ZQ78"),f=e("D3Dy"),v=function(){var d=function(E,L){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,k){A.__proto__=k}||function(A,k){for(var R in k)k.hasOwnProperty(R)&&(A[R]=k[R])},d(E,L)};return function(m,E){d(m,E);function L(){this.constructor=m}m.prototype=E===null?Object.create(E):(L.prototype=E.prototype,new L)}}(),w=function(d){v(m,d);function m(E,L,A){var k=d.call(this)||this;return k.options=A,k._context=E||k,k._action=L,L instanceof z.a&&k._register(L.onDidChange(function(R){if(!k.element)return;k.handleActionChangeEvent(R)})),k}return m.prototype.handleActionChangeEvent=function(E){E.enabled!==void 0&&this.updateEnabled(),E.checked!==void 0&&this.updateChecked(),E.class!==void 0&&this.updateClass(),E.label!==void 0&&(this.updateLabel(),this.updateTooltip()),E.tooltip!==void 0&&this.updateTooltip()},Object.defineProperty(m.prototype,"actionRunner",{get:function(){return this._actionRunner||(this._actionRunner=this._register(new z.b)),this._actionRunner},set:function(L){this._actionRunner=L},enumerable:!0,configurable:!0}),m.prototype.getAction=function(){return this._action},m.prototype.isEnabled=function(){return this._action.enabled},m.prototype.setActionContext=function(E){this._context=E},m.prototype.render=function(E){var L=this,A=this.element=E;this._register(x.b.addTarget(E));var k=this.options&&this.options.draggable;k&&(E.draggable=!0,f.h&&this._register(O.j(E,O.d.DRAG_START,function(R){var $;return($=R.dataTransfer)===null||$===void 0?void 0:$.setData(_.a.TEXT,L._action.label)}))),this._register(O.j(A,x.a.Tap,function(R){return L.onClick(R)})),this._register(O.j(A,O.d.MOUSE_DOWN,function(R){k||O.c.stop(R,!0),L._action.enabled&&R.button===0&&O.f(A,"active")})),this._register(O.j(A,O.d.CLICK,function(R){O.c.stop(R,!0),L.options&&L.options.isMenu?L.onClick(R):J.i(function(){return L.onClick(R)})})),this._register(O.j(A,O.d.DBLCLICK,function(R){O.c.stop(R,!0)})),[O.d.MOUSE_UP,O.d.MOUSE_OUT].forEach(function(R){L._register(O.j(A,R,function($){O.c.stop($),O.P(A,"active")}))})},m.prototype.onClick=function(E){O.c.stop(E,!0);var L;H.l(this._context)?L=E:(L=this._context,H.i(L)&&(L.event=E)),this.actionRunner.run(this._action,L)},m.prototype.focus=function(){this.element&&(this.element.focus(),O.f(this.element,"focused"))},m.prototype.blur=function(){this.element&&(this.element.blur(),O.P(this.element,"focused"))},m.prototype.updateEnabled=function(){},m.prototype.updateLabel=function(){},m.prototype.updateTooltip=function(){},m.prototype.updateClass=function(){},m.prototype.updateChecked=function(){},m.prototype.dispose=function(){this.element&&(O.R(this.element),this.element=void 0),d.prototype.dispose.call(this)},m}(U.a),p=function(d){v(m,d);function m(E){var L=d.call(this,m.ID,E,E?"separator text":"separator")||this;return L.checked=!1,L.enabled=!1,L}return m.ID="vs.actions.separator",m}(z.a),c=function(d){v(m,d);function m(E,L,A){A===void 0&&(A={});var k=d.call(this,E,L,A)||this;return k.options=A,k.options.icon=A.icon!==void 0?A.icon:!1,k.options.label=A.label!==void 0?A.label:!0,k.cssClass="",k}return m.prototype.render=function(E){d.prototype.render.call(this,E),this.element&&(this.label=O.q(this.element,O.a("a.action-label"))),this.label&&(this._action.id===p.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(O.q(this.element,O.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},m.prototype.focus=function(){d.prototype.focus.call(this),this.label&&this.label.focus()},m.prototype.updateLabel=function(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)},m.prototype.updateTooltip=function(){var E=null;this.getAction().tooltip?E=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(E=this.getAction().label,this.options.keybinding&&(E=I.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",E,this.options.keybinding))),E&&this.label&&(this.label.title=E)},m.prototype.updateClass=function(){this.cssClass&&this.label&&O.Q(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(O.f(this.label,"codicon"),this.cssClass&&O.g(this.label,this.cssClass)),this.updateEnabled()):this.label&&O.P(this.label,"codicon")},m.prototype.updateEnabled=function(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),O.P(this.label,"disabled"),this.label.tabIndex=0),this.element&&O.P(this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),O.f(this.label,"disabled"),O.S(this.label)),this.element&&O.f(this.element,"disabled"))},m.prototype.updateChecked=function(){this.label&&(this.getAction().checked?O.f(this.label,"checked"):O.P(this.label,"checked"))},m}(w),s={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},l=function(d){v(m,d);function m(E,L){L===void 0&&(L=s);var A=d.call(this)||this;A._onDidBlur=A._register(new y.a),A.onDidBlur=A._onDidBlur.event,A._onDidCancel=A._register(new y.a),A.onDidCancel=A._onDidCancel.event,A._onDidRun=A._register(new y.a),A.onDidRun=A._onDidRun.event,A._onDidBeforeRun=A._register(new y.a),A.onDidBeforeRun=A._onDidBeforeRun.event,A.options=L,A._context=L.context,A.options.triggerKeys||(A.options.triggerKeys=s.triggerKeys),A.options.actionRunner?A._actionRunner=A.options.actionRunner:(A._actionRunner=new z.b,A._register(A._actionRunner)),A._register(A._actionRunner.onDidRun(function($){return A._onDidRun.fire($)})),A._register(A._actionRunner.onDidBeforeRun(function($){return A._onDidBeforeRun.fire($)})),A.viewItems=[],A.focusedItem=void 0,A.domNode=document.createElement("div"),A.domNode.className="monaco-action-bar",L.animated!==!1&&O.f(A.domNode,"animated");var k,R;switch(A.options.orientation){case 0:k=15,R=17;break;case 1:k=17,R=15,A.domNode.className+=" reverse";break;case 2:k=16,R=18,A.domNode.className+=" vertical";break;case 3:k=18,R=16,A.domNode.className+=" vertical reverse";break}return A._register(O.j(A.domNode,O.d.KEY_DOWN,function($){var ie=new u.a($),W=!0;ie.equals(k)?A.focusPrevious():ie.equals(R)?A.focusNext():ie.equals(9)?A.cancel():A.isTriggerKeyEvent(ie)?A.options.triggerKeys&&A.options.triggerKeys.keyDown&&A.doTrigger(ie):W=!1,W&&(ie.preventDefault(),ie.stopPropagation())})),A._register(O.j(A.domNode,O.d.KEY_UP,function($){var ie=new u.a($);A.isTriggerKeyEvent(ie)?(A.options.triggerKeys&&!A.options.triggerKeys.keyDown&&A.doTrigger(ie),ie.preventDefault(),ie.stopPropagation()):(ie.equals(2)||ie.equals(1024|2))&&A.updateFocusedItem()})),A.focusTracker=A._register(O.Z(A.domNode)),A._register(A.focusTracker.onDidBlur(function(){(document.activeElement===A.domNode||!O.K(document.activeElement,A.domNode))&&(A._onDidBlur.fire(),A.focusedItem=void 0)})),A._register(A.focusTracker.onDidFocus(function(){return A.updateFocusedItem()})),A.actionsList=document.createElement("ul"),A.actionsList.className="actions-container",A.actionsList.setAttribute("role","toolbar"),A.options.ariaLabel&&A.actionsList.setAttribute("aria-label",A.options.ariaLabel),A.domNode.appendChild(A.actionsList),E.appendChild(A.domNode),A}return m.prototype.isTriggerKeyEvent=function(E){var L=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach(function(A){L=L||E.equals(A)}),L},m.prototype.updateFocusedItem=function(){for(var E=0;E=A.actionsList.children.length?(A.actionsList.appendChild(ie),A.viewItems.push(W)):(A.actionsList.insertBefore(ie,A.actionsList.children[R]),A.viewItems.splice(R,0,W),R++)})},m.prototype.clear=function(){this.viewItems=Object(U.f)(this.viewItems),O.t(this.actionsList)},m.prototype.isEmpty=function(){return this.viewItems.length===0},m.prototype.focus=function(E){var L=!1,A=void 0;E===void 0?L=!0:typeof E=="number"?A=E:typeof E=="boolean"&&(L=E),L&&typeof this.focusedItem=="undefined"?(this.focusedItem=this.viewItems.length-1,this.focusNext()):(A!==void 0&&(this.focusedItem=A),this.updateFocus())},m.prototype.focusNext=function(){typeof this.focusedItem=="undefined"&&(this.focusedItem=this.viewItems.length-1);var E=this.focusedItem,L;do this.focusedItem=(this.focusedItem+1)%this.viewItems.length,L=this.viewItems[this.focusedItem];while(this.focusedItem!==E&&!L.isEnabled());this.focusedItem===E&&!L.isEnabled()&&(this.focusedItem=void 0),this.updateFocus()},m.prototype.focusPrevious=function(){typeof this.focusedItem=="undefined"&&(this.focusedItem=0);var E=this.focusedItem,L;do this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.viewItems.length-1),L=this.viewItems[this.focusedItem];while(this.focusedItem!==E&&!L.isEnabled());this.focusedItem===E&&!L.isEnabled()&&(this.focusedItem=void 0),this.updateFocus(!0)},m.prototype.updateFocus=function(E,L){typeof this.focusedItem=="undefined"&&this.actionsList.focus({preventScroll:L});for(var A=0;A0&&ve[ve.length-1])&&(se[0]===6||se[0]===2)){we=0;continue}if(se[0]===3&&(!ve||se[1]>ve[0]&&se[1]0&&ve[ve.length-1])&&(se[0]===6||se[0]===2)){we=0;continue}if(se[0]===3&&(!ve||se[1]>ve[0]&&se[1]=0;C--)(Q=me[C])&&(ve=(Ee<3?Q(ve):Ee>3?Q(ge,we,ve):Q(ge,we))||ve);return Ee>3&&ve&&Object.defineProperty(ge,we,ve),ve},Pe=function(me,ge){return function(we,Re){ge(we,Re,me)}},ne=O.a,ee=function(me){Fe(ge,me);function ge(we,Re,Ee,ve){var Q=me.call(this)||this;return Q.editor=we,Q.renderDisposeables=Q._register(new re.b),Q.visible=!1,Q.announcedLabel=null,Q.allowEditorOverflow=!0,Q.markdownRenderer=Q._register(new v.a(we,ve,Ee)),Q.model=Q._register(new Ce(we)),Q.keyVisible=m.Visible.bindTo(Re),Q.keyMultipleSignatures=m.MultipleSignatures.bindTo(Re),Q._register(Q.model.onChangedHints(function(C){C?(Q.show(),Q.render(C)):Q.hide()})),Q}return ge.prototype.createParamaterHintDOMNodes=function(){var we=this,Re=ne(".editor-widget.parameter-hints-widget"),Ee=O.q(Re,ne(".wrapper"));Ee.tabIndex=-1;var ve=O.q(Ee,ne(".controls")),Q=O.q(ve,ne(".button.codicon.codicon-chevron-up")),C=O.q(ve,ne(".overloads")),F=O.q(ve,ne(".button.codicon.codicon-chevron-down")),se=Object(H.b)(Object(H.a)(Q,"click"));this._register(se(this.previous,this));var oe=Object(H.b)(Object(H.a)(F,"click"));this._register(oe(this.next,this));var be=ne(".body"),De=new u.a(be,{});this._register(De),Ee.appendChild(De.getDomNode());var Se=O.q(be,ne(".signature")),Ve=O.q(be,ne(".docs"));Re.style.userSelect="text",this.domNodes={element:Re,signature:Se,overloads:C,docs:Ve,scrollbar:De},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(function(it){we.visible&&we.editor.layoutContentWidget(we)}));var Qe=function(){if(!we.domNodes)return;var pt=we.editor.getOption(34);we.domNodes.element.style.fontSize=pt.fontSize+"px"};Qe(),this._register(y.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(function(it){return it.hasChanged(34)}).on(Qe,null)),this._register(this.editor.onDidLayoutChange(function(it){return we.updateMaxHeight()})),this.updateMaxHeight()},ge.prototype.show=function(){var we=this;if(this.visible)return;this.domNodes||this.createParamaterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(function(){we.domNodes&&O.f(we.domNodes.element,"visible")},100),this.editor.layoutContentWidget(this)},ge.prototype.hide=function(){if(!this.visible)return;this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&O.P(this.domNodes.element,"visible"),this.editor.layoutContentWidget(this)},ge.prototype.getPosition=function(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null},ge.prototype.render=function(we){if(!this.domNodes)return;var Re=we.signatures.length>1;O.Y(this.domNodes.element,"multiple",Re),this.keyMultipleSignatures.set(Re),this.domNodes.signature.innerHTML="",this.domNodes.docs.innerHTML="";var Ee=we.signatures[we.activeSignature];if(!Ee)return;var ve=O.q(this.domNodes.signature,ne(".code")),Q=Ee.parameters.length>0,C=this.editor.getOption(34);if(ve.style.fontSize=C.fontSize+"px",ve.style.fontFamily=C.fontFamily,Q)this.renderParameters(ve,Ee,we.activeParameter);else{var F=O.q(ve,ne("span"));F.textContent=Ee.label}this.renderDisposeables.clear();var se=Ee.parameters[we.activeParameter];if(se&&se.documentation){var oe=ne("span.documentation");if(typeof se.documentation=="string")oe.textContent=se.documentation;else{var be=this.markdownRenderer.render(se.documentation);O.f(be.element,"markdown-docs"),this.renderDisposeables.add(be),oe.appendChild(be.element)}O.q(this.domNodes.docs,ne("p",{},oe))}if(!(Ee.documentation===void 0))if(typeof Ee.documentation=="string")O.q(this.domNodes.docs,ne("p",{},Ee.documentation));else{var be=this.markdownRenderer.render(Ee.documentation);O.f(be.element,"markdown-docs"),this.renderDisposeables.add(be),O.q(this.domNodes.docs,be.element)}var De=this.hasDocs(Ee,se);if(O.Y(this.domNodes.signature,"has-docs",De),O.Y(this.domNodes.docs,"empty",!De),this.domNodes.overloads.textContent=Object(Te.F)(we.activeSignature+1,we.signatures.length.toString().length)+"/"+we.signatures.length,se){var Se=this.getParameterLabel(Ee,we.activeParameter);this.announcedLabel!==Se&&(x.a(T.a("hint","{0}, hint",Se)),this.announcedLabel=Se)}this.editor.layoutContentWidget(this),this.domNodes.scrollbar.scanDomNode()},ge.prototype.hasDocs=function(we,Re){return Re&&typeof Re.documentation=="string"&&Re.documentation.length>0||(Re&&typeof Re.documentation=="object"&&Re.documentation.value.length>0||typeof we.documentation=="string"&&we.documentation.length>0)?!0:typeof we.documentation=="object"&&we.documentation.value.length>0},ge.prototype.renderParameters=function(we,Re,Ee){var ve=this.getParameterLabelOffsets(Re,Ee),Q=ve[0],C=ve[1],F=document.createElement("span");F.textContent=Re.label.substring(0,Q);var se=document.createElement("span");se.textContent=Re.label.substring(Q,C),se.className="parameter active";var oe=document.createElement("span");oe.textContent=Re.label.substring(C),O.q(we,F,se,oe)},ge.prototype.getParameterLabel=function(we,Re){var Ee=we.parameters[Re];return typeof Ee.label=="string"?Ee.label:we.label.substring(Ee.label[0],Ee.label[1])},ge.prototype.getParameterLabelOffsets=function(we,Re){var Ee=we.parameters[Re];if(Ee){if(Array.isArray(Ee.label))return Ee.label;var ve=we.label.lastIndexOf(Ee.label);return ve>=0?[ve,ve+Ee.label.length]:[0,0]}else return[0,0]},ge.prototype.next=function(){this.editor.focus(),this.model.next()},ge.prototype.previous=function(){this.editor.focus(),this.model.previous()},ge.prototype.cancel=function(){this.model.cancel()},ge.prototype.getDomNode=function(){return this.domNodes||this.createParamaterHintDOMNodes(),this.domNodes.element},ge.prototype.getId=function(){return ge.ID},ge.prototype.trigger=function(we){this.model.trigger(we,0)},ge.prototype.updateMaxHeight=function(){if(!this.domNodes)return;var we=Math.max(this.editor.getLayoutInfo().height/4,250),Re=we+"px";this.domNodes.element.style.maxHeight=Re;var Ee=this.domNodes.element.getElementsByClassName("wrapper");Ee.length&&(Ee[0].style.maxHeight=Re)},ge.ID="editor.widget.parameterHintsWidget",ge=Ue([Pe(1,U.c),Pe(2,L.a),Pe(3,f.a)],ge),ge}(re.a);Object(k.e)(function(me,ge){var we=me.getColor(A.B);if(we){var Re=me.type===k.b?2:1;ge.addRule(".monaco-editor .parameter-hints-widget { border: "+Re+"px solid "+we+"; }"),ge.addRule(".monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid "+we.transparent(.5)+"; }"),ge.addRule(".monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid "+we.transparent(.5)+"; }")}var Ee=me.getColor(A.A);Ee&&ge.addRule(".monaco-editor .parameter-hints-widget { background-color: "+Ee+"; }");var ve=me.getColor(A.ec);ve&&ge.addRule(".monaco-editor .parameter-hints-widget a { color: "+ve+"; }");var Q=me.getColor(A.C);Q&&ge.addRule(".monaco-editor .parameter-hints-widget { color: "+Q+"; }");var C=me.getColor(A.dc);C&&ge.addRule(".monaco-editor .parameter-hints-widget code { background-color: "+C+"; }")});var ae=function(){var me=function(we,Re){return me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ee,ve){Ee.__proto__=ve}||function(Ee,ve){for(var Q in ve)ve.hasOwnProperty(Q)&&(Ee[Q]=ve[Q])},me(we,Re)};return function(ge,we){me(ge,we);function Re(){this.constructor=ge}ge.prototype=we===null?Object.create(we):(Re.prototype=we.prototype,new Re)}}(),q=function(me,ge,we,Re){var Ee=arguments.length,ve=Ee<3?ge:Re===null?Re=Object.getOwnPropertyDescriptor(ge,we):Re,Q;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ve=Reflect.decorate(me,ge,we,Re);else for(var C=me.length-1;C>=0;C--)(Q=me[C])&&(ve=(Ee<3?Q(ve):Ee>3?Q(ge,we,ve):Q(ge,we))||ve);return Ee>3&&ve&&Object.defineProperty(ge,we,ve),ve},ue=function(me,ge){return function(we,Re){ge(we,Re,me)}},X=function(me){ae(ge,me);function ge(we,Re){var Ee=me.call(this)||this;return Ee.editor=we,Ee.widget=Ee._register(Re.createInstance(ee,Ee.editor)),Ee}return ge.get=function(we){return we.getContribution(ge.ID)},ge.prototype.cancel=function(){this.widget.cancel()},ge.prototype.previous=function(){this.widget.previous()},ge.prototype.next=function(){this.widget.next()},ge.prototype.trigger=function(we){this.widget.trigger(we)},ge.ID="editor.controller.parameterHints",ge=q([ue(1,J.a)],ge),ge}(re.a),he=function(me){ae(ge,me);function ge(){return me.call(this,{id:"editor.action.triggerParameterHints",label:T.a("parameterHints.trigger.label","Trigger Parameter Hints"),alias:"Trigger Parameter Hints",precondition:I.a.hasSignatureHelpProvider,kbOpts:{kbExpr:I.a.editorTextFocus,primary:2048|1024|10,weight:100}})||this}return ge.prototype.run=function(we,Re){var Ee=X.get(Re);Ee&&Ee.trigger({triggerKind:c.y.Invoke})},ge}(z.b);Object(z.h)(X.ID,X),Object(z.f)(he);var je=100+75,Xe=z.c.bindToContribution(X.get);Object(z.g)(new Xe({id:"closeParameterHints",precondition:m.Visible,handler:function(ge){return ge.cancel()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:9,secondary:[1024|9]}})),Object(z.g)(new Xe({id:"showPrevParameterHint",precondition:U.a.and(m.Visible,m.MultipleSignatures),handler:function(ge){return ge.previous()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:16,secondary:[512|16],mac:{primary:16,secondary:[512|16,256|46]}}})),Object(z.g)(new Xe({id:"showNextParameterHint",precondition:U.a.and(m.Visible,m.MultipleSignatures),handler:function(ge){return ge.next()},kbOpts:{weight:je,kbExpr:I.a.focus,primary:18,secondary:[512|18],mac:{primary:18,secondary:[512|18,256|44]}}}))},"X+cX":function(Lt,j,e){"use strict";e.d(j,"i",function(){return I}),e.d(j,"f",function(){return U}),e.d(j,"j",function(){return z}),e.d(j,"a",function(){return O}),e.d(j,"l",function(){return H}),e.d(j,"g",function(){return x}),e.d(j,"h",function(){return u}),e.d(j,"e",function(){return y}),e.d(j,"c",function(){return _}),e.d(j,"d",function(){return f}),e.d(j,"k",function(){return v}),e.d(j,"b",function(){return w});var T=e("JQT/"),re=e("/cxE"),J=e("pmY6");function I(p){return p&&typeof p.then=="function"}function U(p){var c=new T.b,s=p(c.token),l=new Promise(function(d,m){c.token.onCancellationRequested(function(){m(re.a())}),Promise.resolve(s).then(function(E){c.dispose(),d(E)},function(E){c.dispose(),m(E)})});return new(function(){function d(){}return d.prototype.cancel=function(){c.cancel()},d.prototype.then=function(m,E){return l.then(m,E)},d.prototype.catch=function(m){return this.then(void 0,m)},d.prototype.finally=function(m){return l.finally(m)},d}())}function z(p,c,s){return Promise.race([p,new Promise(function(l){return c.onCancellationRequested(function(){return l(s)})})])}var O=function(){function p(c){this.defaultDelay=c,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}return p.prototype.trigger=function(c,s){var l=this;return s===void 0&&(s=this.defaultDelay),this.task=c,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(function(d,m){l.doResolve=d,l.doReject=m}).then(function(){if(l.completionPromise=null,l.doResolve=null,l.task){var d=l.task;return l.task=null,d()}return})),this.timeout=setTimeout(function(){l.timeout=null,l.doResolve&&l.doResolve(null)},s),this.completionPromise},p.prototype.isTriggered=function(){return this.timeout!==null},p.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(re.a()),this.completionPromise=null)},p.prototype.cancelTimeout=function(){this.timeout!==null&&(clearTimeout(this.timeout),this.timeout=null)},p.prototype.dispose=function(){this.cancelTimeout()},p}();function H(p,c){return c?new Promise(function(s,l){var d=setTimeout(s,p);c.onCancellationRequested(function(){clearTimeout(d),l(re.a())})}):U(function(s){return H(p,s)})}function x(p,c){c===void 0&&(c=0);var s=setTimeout(p,c);return Object(J.h)(function(){return clearTimeout(s)})}function u(p,c,s){c===void 0&&(c=function(L){return!!L}),s===void 0&&(s=null);var l=0,d=p.length,m=function E(){if(l>=d)return Promise.resolve(s);var L=p[l++],A=Promise.resolve(L());return A.then(function(k){return c(k)?Promise.resolve(k):E()})};return m()}var y=function(){function p(c,s){this._token=-1,typeof c=="function"&&typeof s=="number"&&this.setIfNotSet(c,s)}return p.prototype.dispose=function(){this.cancel()},p.prototype.cancel=function(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)},p.prototype.cancelAndSet=function(c,s){var l=this;this.cancel(),this._token=setTimeout(function(){l._token=-1,c()},s)},p.prototype.setIfNotSet=function(c,s){var l=this;if(this._token!==-1)return;this._token=setTimeout(function(){l._token=-1,c()},s)},p}(),_=function(){function p(){this._token=-1}return p.prototype.dispose=function(){this.cancel()},p.prototype.cancel=function(){this._token!==-1&&(clearInterval(this._token),this._token=-1)},p.prototype.cancelAndSet=function(c,s){this.cancel(),this._token=setInterval(function(){c()},s)},p}(),f=function(){function p(c,s){this.timeoutToken=-1,this.runner=c,this.timeout=s,this.timeoutHandler=this.onTimeout.bind(this)}return p.prototype.dispose=function(){this.cancel(),this.runner=null},p.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},p.prototype.schedule=function(c){c===void 0&&(c=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,c)},p.prototype.isScheduled=function(){return this.timeoutToken!==-1},p.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},p.prototype.doRun=function(){this.runner&&this.runner()},p}(),v;(function(){if(typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"){var p=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});v=function(s){var l=setTimeout(function(){return s(p)}),d=!1;return{dispose:function(){if(d)return;d=!0,clearTimeout(l)}}}}else v=function(s,l){var d=requestIdleCallback(s,typeof l=="number"?{timeout:l}:void 0),m=!1;return{dispose:function(){if(m)return;m=!0,cancelIdleCallback(d)}}}})();var w=function(){function p(c){var s=this;this._didRun=!1,this._executor=function(){try{s._value=c()}catch(l){s._error=l}finally{s._didRun=!0}},this._handle=v(function(){return s._executor()})}return p.prototype.dispose=function(){this._handle.dispose()},p.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value},p}()},XNtB:function(Lt,j,e){},XQgg:function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return e.e(186).then(e.bind(null,"/0xJ"))}})},XSiN:function(Lt,j,e){"use strict";e.d(j,"b",function(){return U}),e.d(j,"a",function(){return z}),e.d(j,"c",function(){return O});var T=e("D3Dy"),re=e("51f4"),J=e("MNsG"),I=function(){var H=function(u,y){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},H(u,y)};return function(x,u){H(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),U=function(){function H(x){this.timestamp=Date.now(),this.browserEvent=x,this.leftButton=x.button===0,this.middleButton=x.button===1,this.rightButton=x.button===2,this.buttons=x.buttons,this.target=x.target,this.detail=x.detail||1,x.type==="dblclick"&&(this.detail=2),this.ctrlKey=x.ctrlKey,this.shiftKey=x.shiftKey,this.altKey=x.altKey,this.metaKey=x.metaKey,typeof x.pageX=="number"?(this.posx=x.pageX,this.posy=x.pageY):(this.posx=x.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=x.clientY+document.body.scrollTop+document.documentElement.scrollTop);var u=re.a.getPositionOfChildWindowRelativeToAncestorWindow(self,x.view);this.posx-=u.left,this.posy-=u.top}return H.prototype.preventDefault=function(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},H.prototype.stopPropagation=function(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},H}(),z=function(H){I(x,H);function x(u){var y=H.call(this,u)||this;return y.dataTransfer=u.dataTransfer,y}return x}(U),O=function(){function H(x,u,y){if(u===void 0&&(u=0),y===void 0&&(y=0),this.browserEvent=x||null,this.target=x?x.target||x.targetNode||x.srcElement:null,this.deltaY=y,this.deltaX=u,x){var _=x,f=x;if(typeof _.wheelDeltaY!="undefined")this.deltaY=_.wheelDeltaY/120;else if(typeof f.VERTICAL_AXIS!="undefined"&&f.axis===f.VERTICAL_AXIS)this.deltaY=-f.detail/3;else if(x.type==="wheel"){var v=x;v.deltaMode===v.DOM_DELTA_LINE?this.deltaY=-x.deltaY:this.deltaY=-x.deltaY/40}if(typeof _.wheelDeltaX!="undefined")T.k&&J.h?this.deltaX=-(_.wheelDeltaX/120):this.deltaX=_.wheelDeltaX/120;else if(typeof f.HORIZONTAL_AXIS!="undefined"&&f.axis===f.HORIZONTAL_AXIS)this.deltaX=-x.detail/3;else if(x.type==="wheel"){var v=x;v.deltaMode===v.DOM_DELTA_LINE?this.deltaX=-x.deltaX:this.deltaX=-x.deltaX/40}this.deltaY===0&&this.deltaX===0&&x.wheelDelta&&(this.deltaY=x.wheelDelta/120)}}return H.prototype.preventDefault=function(){this.browserEvent&&(this.browserEvent.preventDefault&&this.browserEvent.preventDefault())},H.prototype.stopPropagation=function(){this.browserEvent&&(this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation())},H}()},XXBq:function(Lt,j,e){},XXUj:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("telemetryService")},XtJs:function(Lt,j,e){"use strict";e.r(j),e.d(j,"getOccurrencesAtPosition",function(){return R});var T=e("3/fG"),re=e("6OMU"),J=e("X+cX"),I=e("JQT/"),U=e("/cxE"),z=e("pmY6"),O=e("sswD"),H=e("aokT"),x=e("wQH0"),u=e("M1Kb"),y=e("tX9W"),_=e("twdY"),f=e("T8No"),v=e("MD5Z"),w=e("t9D7"),p=function(){var Pe=function(ee,ae){return Pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(q,ue){q.__proto__=ue}||function(q,ue){for(var X in ue)ue.hasOwnProperty(X)&&(q[X]=ue[X])},Pe(ee,ae)};return function(ne,ee){Pe(ne,ee);function ae(){this.constructor=ne}ne.prototype=ee===null?Object.create(ee):(ae.prototype=ee.prototype,new ae)}}(),c=function(Pe,ne,ee,ae){var q=arguments.length,ue=q<3?ne:ae===null?ae=Object.getOwnPropertyDescriptor(ne,ee):ae,X;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ue=Reflect.decorate(Pe,ne,ee,ae);else for(var he=Pe.length-1;he>=0;he--)(X=Pe[he])&&(ue=(q<3?X(ue):q>3?X(ne,ee,ue):X(ne,ee))||ue);return q>3&&ue&&Object.defineProperty(ne,ee,ue),ue},s=function(Pe,ne){return function(ee,ae){ne(ee,ae,Pe)}},l=Object(v.Tb)("editor.wordHighlightBackground",{dark:"#575757B8",light:"#57575740",hc:null},T.a("wordHighlight","Background color of a symbol during read-access, like reading a variable. The color must not be opaque so as not to hide underlying decorations."),!0),d=Object(v.Tb)("editor.wordHighlightStrongBackground",{dark:"#004972B8",light:"#0e639c40",hc:null},T.a("wordHighlightStrong","Background color of a symbol during write-access, like writing to a variable. The color must not be opaque so as not to hide underlying decorations."),!0),m=Object(v.Tb)("editor.wordHighlightBorder",{light:null,dark:null,hc:v.b},T.a("wordHighlightBorder","Border color of a symbol during read-access, like reading a variable.")),E=Object(v.Tb)("editor.wordHighlightStrongBorder",{light:null,dark:null,hc:v.b},T.a("wordHighlightStrongBorder","Border color of a symbol during write-access, like writing to a variable.")),L=Object(v.Tb)("editorOverviewRuler.wordHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},T.a("overviewRulerWordHighlightForeground","Overview ruler marker color for symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),A=Object(v.Tb)("editorOverviewRuler.wordHighlightStrongForeground",{dark:"#C0A0C0CC",light:"#C0A0C0CC",hc:"#C0A0C0CC"},T.a("overviewRulerWordHighlightStrongForeground","Overview ruler marker color for write-access symbol highlights. The color must not be opaque so as not to hide underlying decorations."),!0),k=new f.d("hasWordHighlights",!1);function R(Pe,ne,ee){var ae=_.i.ordered(Pe);return Object(J.h)(ae.map(function(q){return function(){return Promise.resolve(q.provideDocumentHighlights(Pe,ne,ee)).then(void 0,U.f)}}),re.q)}var $=function(){function Pe(ne,ee,ae){var q=this;this._wordRange=this._getCurrentWordRange(ne,ee),this.result=Object(J.f)(function(ue){return q._compute(ne,ee,ae,ue)})}return Pe.prototype._getCurrentWordRange=function(ne,ee){var ae=ne.getWordAtPosition(ee.getPosition());return ae?new H.a(ee.startLineNumber,ae.startColumn,ee.startLineNumber,ae.endColumn):null},Pe.prototype.isValid=function(ne,ee,ae){for(var q=ee.startLineNumber,ue=ee.startColumn,X=ee.endColumn,he=this._getCurrentWordRange(ne,ee),je=Boolean(this._wordRange&&this._wordRange.equalsRange(he)),Xe=0,me=ae.length;!je&&Xe=X&&(je=!0))}return je},Pe.prototype.cancel=function(){this.result.cancel()},Pe}(),ie=function(Pe){p(ne,Pe);function ne(){return Pe!==null&&Pe.apply(this,arguments)||this}return ne.prototype._compute=function(ee,ae,q,ue){return R(ee,ae.getPosition(),ue).then(function(X){return X||[]})},ne}($),W=function(Pe){p(ne,Pe);function ne(ee,ae,q){var ue=Pe.call(this,ee,ae,q)||this;return ue._selectionIsEmpty=ae.isEmpty(),ue}return ne.prototype._compute=function(ee,ae,q,ue){return Object(J.l)(250,ue).then(function(){if(!ae.isEmpty())return[];var X=ee.getWordAtPosition(ae.getPosition());if(!X)return[];var he=ee.findMatches(X.word,!0,!1,!0,q,!1);return he.map(function(je){return{range:je.range,kind:_.h.Text}})})},ne.prototype.isValid=function(ee,ae,q){var ue=ae.isEmpty();return this._selectionIsEmpty!==ue?!1:Pe.prototype.isValid.call(this,ee,ae,q)},ne}($);function B(Pe,ne,ee){return _.i.has(Pe)?new ie(Pe,ne,ee):new W(Pe,ne,ee)}Object(O.k)("_executeDocumentHighlights",function(Pe,ne){return R(Pe,ne,I.a.None)});var le=function(){function Pe(ne,ee){var ae=this;this.toUnhook=new z.b,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=ne,this._hasWordHighlights=k.bindTo(ee),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(61),this.model=this.editor.getModel(),this.toUnhook.add(ne.onDidChangeCursorPosition(function(q){if(ae._ignorePositionChangeEvent)return;if(!ae.occurrencesHighlight)return;ae._onPositionChanged(q)})),this.toUnhook.add(ne.onDidChangeModelContent(function(q){ae._stopAll()})),this.toUnhook.add(ne.onDidChangeConfiguration(function(q){var ue=ae.editor.getOption(61);ae.occurrencesHighlight!==ue&&(ae.occurrencesHighlight=ue,ae._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}return Pe.prototype.hasDecorations=function(){return this._decorationIds.length>0},Pe.prototype.restore=function(){if(!this.occurrencesHighlight)return;this._run()},Pe.prototype._getSortedHighlights=function(){var ne=this;return re.d(this._decorationIds.map(function(ee){return ne.model.getDecorationRange(ee)}).sort(H.a.compareRangesUsingStarts))},Pe.prototype.moveNext=function(){var ne=this,ee=this._getSortedHighlights(),ae=re.k(ee,function(X){return X.containsPosition(ne.editor.getPosition())}),q=(ae+1)%ee.length,ue=ee[q];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(ue.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(ue)}finally{this._ignorePositionChangeEvent=!1}},Pe.prototype.moveBack=function(){var ne=this,ee=this._getSortedHighlights(),ae=re.k(ee,function(X){return X.containsPosition(ne.editor.getPosition())}),q=(ae-1+ee.length)%ee.length,ue=ee[q];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(ue.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(ue)}finally{this._ignorePositionChangeEvent=!1}},Pe.prototype._removeDecorations=function(){this._decorationIds.length>0&&(this._decorationIds=this.editor.deltaDecorations(this._decorationIds,[]),this._hasWordHighlights.set(!1))},Pe.prototype._stopAll=function(){this._removeDecorations(),this.renderDecorationsTimer!==-1&&(clearTimeout(this.renderDecorationsTimer),this.renderDecorationsTimer=-1),this.workerRequest!==null&&(this.workerRequest.cancel(),this.workerRequest=null),this.workerRequestCompleted||(this.workerRequestTokenId++,this.workerRequestCompleted=!0)},Pe.prototype._onPositionChanged=function(ne){if(!this.occurrencesHighlight){this._stopAll();return}if(ne.reason!==3){this._stopAll();return}this._run()},Pe.prototype._run=function(){var ne=this,ee=this.editor.getSelection();if(ee.startLineNumber!==ee.endLineNumber){this._stopAll();return}var ae=ee.startLineNumber,q=ee.startColumn,ue=ee.endColumn,X=this.model.getWordAtPosition({lineNumber:ae,column:q});if(!X||X.startColumn>q||X.endColumn=ae?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(function(){ne.renderDecorations()},ae-ee)},Pe.prototype.renderDecorations=function(){this.renderDecorationsTimer=-1;for(var ne=[],ee=0,ae=this.workerRequestValue.length;ee0&&_[_.length-1])&&(p[0]===6||p[0]===2)){x=0;continue}if(p[0]===3&&(!_||p[1]>_[0]&&p[1]<_[3])){x.label=p[1];break}if(p[0]===6&&x.label<_[1]){x.label=_[1],_=p;break}if(_&&x.label<_[2]){x.label=_[2],x.ops.push(p);break}_[2]&&x.ops.pop(),x.trys.pop();continue}p=H.call(O,x)}catch(c){p=[6,c],y=0}finally{u=_=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},z=function(){function O(){}return O.prototype.provideSelectionRanges=function(H,x){return I(this,void 0,void 0,function(){var u,y,_,f,v;return U(this,function(w){switch(w.label){case 0:u=[],y=function(c){var s,l;return U(this,function(d){switch(d.label){case 0:return s=[],u.push(s),l=new Map,[4,new Promise(function(m){return O._bracketsRightYield(m,0,H,c,l)})];case 1:return d.sent(),[4,new Promise(function(m){return O._bracketsLeftYield(m,0,H,c,l,s)})];case 2:return d.sent(),[2]}})},_=0,f=x,w.label=1;case 1:return _=O._maxRounds){H();break}if(!y){H();break}var w=u.findNextBracket(y);if(!w){H();break}var p=Date.now()-v;if(p>O._maxDuration){setTimeout(function(){return O._bracketsRightYield(H,x+1,u,y,_)});break}var c=w.close[0];if(w.isOpen){var s=f.has(c)?f.get(c):0;f.set(c,s+1)}else{var s=f.has(c)?f.get(c):0;if(s-=1,f.set(c,Math.max(0,s)),s<0){var l=_.get(c);l||(l=new J.a,_.set(c,l)),l.push(w.range)}}y=w.range.getEndPosition()}},O._bracketsLeftYield=function(H,x,u,y,_,f){for(var v=new Map,w=Date.now();;){if(x>=O._maxRounds&&_.size===0){H();break}if(!y){H();break}var p=u.findPrevBracket(y);if(!p){H();break}var c=Date.now()-w;if(c>O._maxDuration){setTimeout(function(){return O._bracketsLeftYield(H,x+1,u,y,_,f)});break}var s=p.close[0];if(p.isOpen){var l=v.has(s)?v.get(s):0;if(l-=1,v.set(s,Math.max(0,l)),l<0){var d=_.get(s);if(d){var m=d.shift();d.size===0&&_.delete(s);var E=re.a.fromPositions(p.range.getEndPosition(),m.getStartPosition()),L=re.a.fromPositions(p.range.getStartPosition(),m.getEndPosition());f.push({range:E}),f.push({range:L}),O._addBracketLeading(u,L,f)}}}else{var l=v.has(s)?v.get(s):0;v.set(s,l+1)}y=p.range.getStartPosition()}},O._addBracketLeading=function(H,x,u){if(x.startLineNumber===x.endLineNumber)return;var y=x.startLineNumber,_=H.getLineFirstNonWhitespaceColumn(y);_!==0&&_!==x.startColumn&&(u.push({range:re.a.fromPositions(new T.a(y,_),x.getEndPosition())}),u.push({range:re.a.fromPositions(new T.a(y,1),x.getEndPosition())}));var f=y-1;if(f>0){var v=H.getLineFirstNonWhitespaceColumn(f);v===x.startColumn&&v!==H.getLineLastNonWhitespaceColumn(f)&&(u.push({range:re.a.fromPositions(new T.a(f,v),x.getEndPosition())}),u.push({range:re.a.fromPositions(new T.a(f,1),x.getEndPosition())}))}},O._maxDuration=30,O._maxRounds=2,O}()},ZCR3:function(Lt,j,e){"use strict";e.d(j,"a",function(){return J});var T=0;function re(){var I="$memoize"+T++,U=void 0,z=function(H,x,u){var y=null,_=null;if(typeof u.value=="function"?(y="value",_=u.value,_.length!==0&&console.warn("Memoize should only be used in functions with zero parameters")):typeof u.get=="function"&&(y="get",_=u.get),!_)throw new Error("not supported");var f=I+":"+x;u[y]=function(){for(var v=[],w=0;wz||I===z&&U>O?(this.startLineNumber=z,this.startColumn=O,this.endLineNumber=I,this.endColumn=U):(this.startLineNumber=I,this.startColumn=U,this.endLineNumber=z,this.endColumn=O)}return J.prototype.isEmpty=function(){return J.isEmpty(this)},J.isEmpty=function(I){return I.startLineNumber===I.endLineNumber&&I.startColumn===I.endColumn},J.prototype.containsPosition=function(I){return J.containsPosition(this,I)},J.containsPosition=function(I,U){return U.lineNumberI.endLineNumber||U.lineNumber===I.startLineNumber&&U.columnI.endColumn)},J.prototype.containsRange=function(I){return J.containsRange(this,I)},J.containsRange=function(I,U){return U.startLineNumberI.endLineNumber||U.endLineNumber>I.endLineNumber||U.startLineNumber===I.startLineNumber&&U.startColumnI.endColumn)},J.prototype.strictContainsRange=function(I){return J.strictContainsRange(this,I)},J.strictContainsRange=function(I,U){return U.startLineNumberI.endLineNumber||U.endLineNumber>I.endLineNumber||U.startLineNumber===I.startLineNumber&&U.startColumn<=I.startColumn)?!1:!(U.endLineNumber===I.endLineNumber&&U.endColumn>=I.endColumn)},J.prototype.plusRange=function(I){return J.plusRange(this,I)},J.plusRange=function(I,U){var z,O,H,x;return U.startLineNumberI.endLineNumber?(H=U.endLineNumber,x=U.endColumn):U.endLineNumber===I.endLineNumber?(H=U.endLineNumber,x=Math.max(U.endColumn,I.endColumn)):(H=I.endLineNumber,x=I.endColumn),new J(z,O,H,x)},J.prototype.intersectRanges=function(I){return J.intersectRanges(this,I)},J.intersectRanges=function(I,U){var z=I.startLineNumber,O=I.startColumn,H=I.endLineNumber,x=I.endColumn,u=U.startLineNumber,y=U.startColumn,_=U.endLineNumber,f=U.endColumn;return z_?(H=_,x=f):H===_&&(x=Math.min(x,f)),z>H||z===H&&O>x?null:new J(z,O,H,x)},J.prototype.equalsRange=function(I){return J.equalsRange(this,I)},J.equalsRange=function(I,U){return!!I&&!!U&&I.startLineNumber===U.startLineNumber&&I.startColumn===U.startColumn&&I.endLineNumber===U.endLineNumber&&I.endColumn===U.endColumn},J.prototype.getEndPosition=function(){return new T.a(this.endLineNumber,this.endColumn)},J.prototype.getStartPosition=function(){return new T.a(this.startLineNumber,this.startColumn)},J.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},J.prototype.setEndPosition=function(I,U){return new J(this.startLineNumber,this.startColumn,I,U)},J.prototype.setStartPosition=function(I,U){return new J(I,U,this.endLineNumber,this.endColumn)},J.prototype.collapseToStart=function(){return J.collapseToStart(this)},J.collapseToStart=function(I){return new J(I.startLineNumber,I.startColumn,I.startLineNumber,I.startColumn)},J.fromPositions=function(I,U){return U===void 0&&(U=I),new J(I.lineNumber,I.column,U.lineNumber,U.column)},J.lift=function(I){return I?new J(I.startLineNumber,I.startColumn,I.endLineNumber,I.endColumn):null},J.isIRange=function(I){return I&&typeof I.startLineNumber=="number"&&typeof I.startColumn=="number"&&typeof I.endLineNumber=="number"&&typeof I.endColumn=="number"},J.areIntersectingOrTouching=function(I,U){return I.endLineNumberI.startLineNumber},J}()},bY76:function(Lt,j,e){"use strict";e.d(j,"a",function(){return f});var T=e("MNsG"),re=function(){var A=function(R,$){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,W){ie.__proto__=W}||function(ie,W){for(var B in W)W.hasOwnProperty(B)&&(ie[B]=W[B])},A(R,$)};return function(k,R){A(k,R);function $(){this.constructor=k}k.prototype=R===null?Object.create(R):($.prototype=R.prototype,new $)}}(),J,I=/^\w[\w\d+.-]*$/,U=/^\//,z=/^\/\//;function O(A,k){if(!A.scheme&&k)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+A.authority+'", path: "'+A.path+'", query: "'+A.query+'", fragment: "'+A.fragment+'"}');if(A.scheme&&!I.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!U.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(z.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function H(A,k){return!A&&!k?"file":A}function x(A,k){switch(A){case"https":case"http":case"file":k?k[0]!==y&&(k=y+k):k=y;break}return k}var u="",y="/",_=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,f=function(){function A(k,R,$,ie,W,B){B===void 0&&(B=!1),typeof k=="object"?(this.scheme=k.scheme||u,this.authority=k.authority||u,this.path=k.path||u,this.query=k.query||u,this.fragment=k.fragment||u):(this.scheme=H(k,B),this.authority=R||u,this.path=x(this.scheme,$||u),this.query=ie||u,this.fragment=W||u,O(this,B))}return A.isUri=function(k){return k instanceof A?!0:k?typeof k.authority=="string"&&typeof k.fragment=="string"&&typeof k.path=="string"&&typeof k.query=="string"&&typeof k.scheme=="string"&&typeof k.fsPath=="function"&&typeof k.with=="function"&&typeof k.toString=="function":!1},Object.defineProperty(A.prototype,"fsPath",{get:function(){return l(this)},enumerable:!0,configurable:!0}),A.prototype.with=function(k){if(!k)return this;var R=k.scheme,$=k.authority,ie=k.path,W=k.query,B=k.fragment;return R===void 0?R=this.scheme:R===null&&(R=u),$===void 0?$=this.authority:$===null&&($=u),ie===void 0?ie=this.path:ie===null&&(ie=u),W===void 0?W=this.query:W===null&&(W=u),B===void 0?B=this.fragment:B===null&&(B=u),R===this.scheme&&$===this.authority&&ie===this.path&&W===this.query&&B===this.fragment?this:new w(R,$,ie,W,B)},A.parse=function(k,R){R===void 0&&(R=!1);var $=_.exec(k);return $?new w($[2]||u,L($[4]||u),L($[5]||u),L($[7]||u),L($[9]||u),R):new w(u,u,u,u,u)},A.file=function(k){var R=u;if(T.h&&(k=k.replace(/\\/g,y)),k[0]===y&&k[1]===y){var $=k.indexOf(y,2);$===-1?(R=k.substring(2),k=y):(R=k.substring(2,$),k=k.substring($)||y)}return new w("file",R,k,u,u)},A.from=function(k){return new w(k.scheme,k.authority,k.path,k.query,k.fragment)},A.prototype.toString=function(k){return k===void 0&&(k=!1),d(this,k)},A.prototype.toJSON=function(){return this},A.revive=function(k){if(k){if(k instanceof A)return k;var R=new w(k);return R._formatted=k.external,R._fsPath=k._sep===v?k.fsPath:null,R}else return k},A}(),v=T.h?1:void 0,w=function(A){re(k,A);function k(){var R=A!==null&&A.apply(this,arguments)||this;return R._formatted=null,R._fsPath=null,R}return Object.defineProperty(k.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=l(this)),this._fsPath},enumerable:!0,configurable:!0}),k.prototype.toString=function(R){return R===void 0&&(R=!1),R?d(this,!0):(this._formatted||(this._formatted=d(this,!1)),this._formatted)},k.prototype.toJSON=function(){var R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=v),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R},k}(f),p=(J={},J[58]="%3A",J[47]="%2F",J[63]="%3F",J[35]="%23",J[91]="%5B",J[93]="%5D",J[64]="%40",J[33]="%21",J[36]="%24",J[38]="%26",J[39]="%27",J[40]="%28",J[41]="%29",J[42]="%2A",J[43]="%2B",J[44]="%2C",J[59]="%3B",J[61]="%3D",J[32]="%20",J);function c(A,k){for(var R=void 0,$=-1,ie=0;ie=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===45||W===46||W===95||W===126||k&&W===47)$!==-1&&(R+=encodeURIComponent(A.substring($,ie)),$=-1),R!==void 0&&(R+=A.charAt(ie));else{R===void 0&&(R=A.substr(0,ie));var B=p[W];B!==void 0?($!==-1&&(R+=encodeURIComponent(A.substring($,ie)),$=-1),R+=B):$===-1&&($=ie)}}return $!==-1&&(R+=encodeURIComponent(A.substring($))),R!==void 0?R:A}function s(A){for(var k=void 0,R=0;R1&&A.scheme==="file"?k="//"+A.authority+A.path:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?k=A.path[1].toLowerCase()+A.path.substr(2):k=A.path,T.h&&(k=k.replace(/\//g,"\\")),k}function d(A,k){var R=k?s:c,$="",ie=A.scheme,W=A.authority,B=A.path,le=A.query,Ce=A.fragment;if(ie&&($+=ie,$+=":"),(W||ie==="file")&&($+=y,$+=y),W){var Me=W.indexOf("@");if(Me!==-1){var Te=W.substr(0,Me);W=W.substr(Me+1),Me=Te.indexOf(":"),Me===-1?$+=R(Te,!1):($+=R(Te.substr(0,Me),!1),$+=":",$+=R(Te.substr(Me+1),!1)),$+="@"}W=W.toLowerCase(),Me=W.indexOf(":"),Me===-1?$+=R(W,!1):($+=R(W.substr(0,Me),!1),$+=W.substr(Me))}if(B){if(B.length>=3&&B.charCodeAt(0)===47&&B.charCodeAt(2)===58){var Fe=B.charCodeAt(1);Fe>=65&&Fe<=90&&(B="/"+String.fromCharCode(Fe+32)+":"+B.substr(3))}else if(B.length>=2&&B.charCodeAt(1)===58){var Fe=B.charCodeAt(0);Fe>=65&&Fe<=90&&(B=String.fromCharCode(Fe+32)+":"+B.substr(2))}$+=R(B,!0)}return le&&($+="?",$+=R(le,!1)),Ce&&($+="#",$+=k?Ce:c(Ce,!1)),$}function m(A){try{return decodeURIComponent(A)}catch(k){return A.length>3?A.substr(0,3)+m(A.substr(3)):A}}var E=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function L(A){return A.match(E)?A.replace(E,function(k){return m(k)}):A}},ba9Q:function(Lt,j,e){"use strict";e.r(j);var T=e("3/fG"),re=e("sswD"),J=e("LCkn"),I=e("aokT"),U=e("wQH0"),z=e("+Fos"),O=function(){var x=function(y,_){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,v){f.__proto__=v}||function(f,v){for(var w in v)v.hasOwnProperty(w)&&(f[w]=v[w])},x(y,_)};return function(u,y){x(u,y);function _(){this.constructor=u}u.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}(),H=function(x){O(u,x);function u(){return x.call(this,{id:"editor.action.transposeLetters",label:T.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:U.a.writable,kbOpts:{kbExpr:U.a.textInputFocus,primary:0,mac:{primary:256|50},weight:100}})||this}return u.prototype.run=function(y,_){if(!_.hasModel())return;for(var f=_.getModel(),v=[],w=_.getSelections(),p=0,c=w;p0&&(_.pushUndoStop(),_.executeCommands(this.id,v),_.pushUndoStop())},u}(re.b);Object(re.f)(H)},baJR:function(Lt,j,e){"use strict";e.d(j,"b",function(){return U}),e.d(j,"c",function(){return z}),e.d(j,"a",function(){return O}),e.d(j,"d",function(){return x}),e.d(j,"e",function(){return y});var T=e("N0LK"),re=e("erNZ"),J=e("dBaI"),I=function(){function l(d,m){this.endIndex=d,this.type=m}return l}(),U=function(){function l(d,m){this.startOffset=d,this.endOffset=m}return l.prototype.equals=function(d){return this.startOffset===d.startOffset&&this.endOffset===d.endOffset},l}(),z=function(){function l(d,m,E,L,A,k,R,$,ie,W,B,le,Ce,Me,Te,Fe,Ue,Pe){this.useMonospaceOptimizations=d,this.canUseHalfwidthRightwardsArrow=m,this.lineContent=E,this.continuesWithWrappedLine=L,this.isBasicASCII=A,this.containsRTL=k,this.fauxIndentLength=R,this.lineTokens=$,this.lineDecorations=ie,this.tabSize=W,this.startVisibleColumn=B,this.spaceWidth=le,this.middotWidth=Ce,this.stopRenderingLineAfter=Me,this.renderWhitespace=Te==="all"?3:Te==="boundary"?1:Te==="selection"?2:0,this.renderControlCharacters=Fe,this.fontLigatures=Ue,this.selectionsOnLine=Pe&&Pe.sort(function(ne,ee){return ne.startOffset>>16},l.getCharIndex=function(d){return(d&65535)>>>0},l.prototype.setPartData=function(d,m,E,L){var A=(m<<16|E<<0)>>>0;this._data[d]=A,this._absoluteOffsets[d]=L+E},l.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},l.prototype.charOffsetToPartData=function(d){return this.length===0?0:d<0?this._data[0]:d>=this.length?this._data[this.length-1]:this._data[d]},l.prototype.partDataToCharOffset=function(d,m,E){if(this.length===0)return 0;for(var L=(d<<16|E<<0)>>>0,A=0,k=this.length-1;A+1>>1,$=this._data[R];if($===L)return R;$>L?k=R:A=R}if(A===k)return A;var ie=this._data[A],W=this._data[k];if(ie===L)return A;if(W===L)return k;var B=l.getPartIndex(ie),le=l.getCharIndex(ie),Ce=l.getPartIndex(W),Me;B!==Ce?Me=m:Me=l.getCharIndex(W);var Te=E-le,Fe=Me-E;return Te<=Fe?A:k},l}(),H=function(){function l(d,m,E){this.characterMapping=d,this.containsRTL=m,this.containsForeignElements=E}return l}();function x(l,d){if(l.lineContent.length===0){var m=0,E="\xA0";if(l.lineDecorations.length>0){for(var L=[],A=[],k=0,R=l.lineDecorations.length;k0?'':"",W=A.length>0?'':"";E=""+ie+W+""}}return d.appendASCIIString(E),new H(new O(0,0),!1,m)}return s(f(l),d)}var u=function(){function l(d,m,E,L){this.characterMapping=d,this.html=m,this.containsRTL=E,this.containsForeignElements=L}return l}();function y(l){var d=Object(re.a)(1e4),m=x(l,d);return new u(m.characterMapping,d.build(),m.containsRTL,m.containsForeignElements)}var _=function(){function l(d,m,E,L,A,k,R,$,ie,W,B,le,Ce,Me,Te){this.fontIsMonospace=d,this.canUseHalfwidthRightwardsArrow=m,this.lineContent=E,this.len=L,this.isOverflowing=A,this.parts=k,this.containsForeignElements=R,this.fauxIndentLength=$,this.tabSize=ie,this.startVisibleColumn=W,this.containsRTL=B,this.spaceWidth=le,this.middotWidth=Ce,this.renderWhitespace=Me,this.renderControlCharacters=Te}return l}();function f(l){var d=l.useMonospaceOptimizations,m=l.lineContent,E,L;l.stopRenderingLineAfter!==-1&&l.stopRenderingLineAfter0){for(var R=0,$=l.lineDecorations.length;R<$;R++){var ie=l.lineDecorations[R];ie.type===3||ie.type===1?k|=1:ie.type===2&&(k|=2)}A=c(m,L,A,l.lineDecorations)}return l.containsRTL||(A=w(m,A,!l.isBasicASCII||l.fontLigatures)),new _(d,l.canUseHalfwidthRightwardsArrow,m,L,E,A,k,l.fauxIndentLength,l.tabSize,l.startVisibleColumn,l.containsRTL,l.spaceWidth,l.middotWidth,l.renderWhitespace,l.renderControlCharacters)}function v(l,d,m){var E=[],L=0;d>0&&(E[L++]=new I(d,""));for(var A=0,k=l.getCount();A=m){E[L++]=new I(m,$);break}E[L++]=new I(R,$)}return E}function w(l,d,m){var E=0,L=[],A=0;if(m)for(var k=0,R=d.length;k=50&&(L[A++]=new I(B+1,W),le=B+1,B=-1);le!==ie&&(L[A++]=new I(ie,W))}else L[A++]=$;E=ie}else for(var k=0,R=d.length;k50){for(var W=$.type,Te=Math.ceil(Me/50),Ce=1;Ce=ee.endOffset&&(ne++,ee=$&&$[ne]);var X=void 0;if(qUe)X=!0;else if(ue===9)X=!0;else if(ue===32)if(ie)if(Pe)X=!0;else{var he=q+1q),Pe?(!X||!R&&ae>=A)&&(W[B++]=new I(q,"vs-whitespace"),ae=ae%A):(q===Me||X&&q>L)&&(W[B++]=new I(q,Ce),ae=ae%A),ue===9?ae=A:T.y(ue)?ae+=2:ae++,Pe=X,q===Me&&(le++,le0?l.charCodeAt(d-1):0,me=d>1?l.charCodeAt(d-2):0,ge=Xe===32&&me!==32&&me!==9;ge||(je=!0)}else je=!0;return W[B++]=new I(d,je?"vs-whitespace":Ce),W}function c(l,d,m,E){E.sort(J.a.compare);for(var L=J.b.normalize(l,E),A=L.length,k=0,R=[],$=0,ie=0,W=0,B=m.length;Wie&&(ie=Te.startOffset,R[$++]=new I(ie,Me)),Te.endOffset+1<=Ce)ie=Te.endOffset+1,R[$++]=new I(ie,Me+" "+Te.className),k++;else{ie=Ce,R[$++]=new I(ie,Me+" "+Te.className);break}}Ce>ie&&(ie=Ce,R[$++]=new I(ie,Me))}var Fe=m[m.length-1].endIndex;if(kCe?11825:183,Pe=new O(k+1,$.length),ne=0,ee=B,ae=0,q=0,ue=0;d.appendASCIIString("");for(var X=0,he=$.length;X=0;if(ae=0,d.appendASCIIString('1?d.write1(8594):d.write1(65515);for(var F=2;F<=Q;F++)d.write1(160)}else Q=1,d.write1(Ue);ae+=Q,ne>=ie&&(ee+=Q)}q=we}else{var we=0;for(le&&d.appendASCIIString(' dir="ltr"'),d.appendASCII(62);ne=ie&&(ee+=Q)}q=we}d.appendASCIIString("")}return Pe.setPartData(k,$.length-1,ae,ue),R&&d.appendASCIIString("…"),d.appendASCIIString(""),new H(Pe,le,L)}},bexQ:function(Lt,j,e){"use strict";e.d(j,"a",function(){return re});var T=e("Cg/j"),re=Object(T.c)("keybindingService")},bfR1:function(Lt,j,e){"use strict";e.r(j);var T=e("3/fG"),re=e("sswD"),J=e("Yr1X"),I=function(){var H=function(u,y){return H=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,f){_.__proto__=f}||function(_,f){for(var v in f)f.hasOwnProperty(v)&&(_[v]=f[v])},H(u,y)};return function(x,u){H(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),U=function(H){I(x,H);function x(){return H.call(this,{id:"editor.action.fontZoomIn",label:T.a("EditorFontZoomIn.label","Editor Font Zoom In"),alias:"Editor Font Zoom In",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(J.a.getZoomLevel()+1)},x}(re.b),z=function(H){I(x,H);function x(){return H.call(this,{id:"editor.action.fontZoomOut",label:T.a("EditorFontZoomOut.label","Editor Font Zoom Out"),alias:"Editor Font Zoom Out",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(J.a.getZoomLevel()-1)},x}(re.b),O=function(H){I(x,H);function x(){return H.call(this,{id:"editor.action.fontZoomReset",label:T.a("EditorFontZoomReset.label","Editor Font Zoom Reset"),alias:"Editor Font Zoom Reset",precondition:void 0})||this}return x.prototype.run=function(u,y){J.a.setZoomLevel(0)},x}(re.b);Object(re.f)(U),Object(re.f)(z),Object(re.f)(O)},bk7F:function(Lt,j,e){"use strict";e.r(j),e.d(j,"BracketMatchingController",function(){return E});var T=e("8ATB"),re=e.n(T),J=e("3/fG"),I=e("X+cX"),U=e("pmY6"),z=e("sswD"),O=e("cGHE"),H=e("aokT"),x=e("gCVg"),u=e("wQH0"),y=e("M1Kb"),_=e("tX9W"),f=e("kYye"),v=e("MD5Z"),w=e("t9D7"),p=e("fjLI"),c=function(){var L=function(k,R){return L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($,ie){$.__proto__=ie}||function($,ie){for(var W in ie)ie.hasOwnProperty(W)&&($[W]=ie[W])},L(k,R)};return function(A,k){L(A,k);function R(){this.constructor=A}A.prototype=k===null?Object.create(k):(R.prototype=k.prototype,new R)}}(),s=Object(v.Tb)("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},J.a("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets.")),l=function(L){c(A,L);function A(){return L.call(this,{id:"editor.action.jumpToBracket",label:J.a("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:u.a.editorTextFocus,primary:2048|1024|88,weight:100}})||this}return A.prototype.run=function(k,R){var $=E.get(R);if(!$)return;$.jumpToBracket()},A}(z.b),d=function(L){c(A,L);function A(){return L.call(this,{id:"editor.action.selectToBracket",label:J.a("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})||this}return A.prototype.run=function(k,R,$){var ie=E.get(R);if(!ie)return;var W=!0;$&&$.selectBrackets===!1&&(W=!1),ie.selectToBracket(W)},A}(z.b),m=function(){function L(A,k,R){this.position=A,this.brackets=k,this.options=R}return L}(),E=function(L){c(A,L);function A(k){var R=L.call(this)||this;return R._editor=k,R._lastBracketsData=[],R._lastVersionId=0,R._decorations=[],R._updateBracketsSoon=R._register(new I.d(function(){return R._updateBrackets()},50)),R._matchBrackets=R._editor.getOption(53),R._updateBracketsSoon.schedule(),R._register(k.onDidChangeCursorPosition(function($){if(R._matchBrackets==="never")return;R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModelContent(function($){R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModel(function($){R._lastBracketsData=[],R._decorations=[],R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeModelLanguageConfiguration(function($){R._lastBracketsData=[],R._updateBracketsSoon.schedule()})),R._register(k.onDidChangeConfiguration(function($){$.hasChanged(53)&&(R._matchBrackets=R._editor.getOption(53),R._decorations=R._editor.deltaDecorations(R._decorations,[]),R._lastBracketsData=[],R._lastVersionId=0,R._updateBracketsSoon.schedule())})),R}return A.get=function(k){return k.getContribution(A.ID)},A.prototype.jumpToBracket=function(){if(!this._editor.hasModel())return;var k=this._editor.getModel(),R=this._editor.getSelections().map(function($){var ie=$.getStartPosition(),W=k.matchBracket(ie),B=null;if(W)W[0].containsPosition(ie)?B=W[1].getStartPosition():W[1].containsPosition(ie)&&(B=W[0].getStartPosition());else{var le=k.findEnclosingBrackets(ie);if(le)B=le[0].getStartPosition();else{var Ce=k.findNextBracket(ie);Ce&&Ce.range&&(B=Ce.range.getStartPosition())}}return B?new x.a(B.lineNumber,B.column,B.lineNumber,B.column):new x.a(ie.lineNumber,ie.column,ie.lineNumber,ie.column)});this._editor.setSelections(R),this._editor.revealRange(R[0])},A.prototype.selectToBracket=function(k){if(!this._editor.hasModel())return;var R=this._editor.getModel(),$=[];this._editor.getSelections().forEach(function(ie){var W=ie.getStartPosition(),B=R.matchBracket(W);if(!B&&(B=R.findEnclosingBrackets(W),!B)){var le=R.findNextBracket(W);le&&le.range&&(B=R.matchBracket(le.range.getStartPosition()))}var Ce=null,Me=null;if(B){B.sort(H.a.compareRangesUsingStarts);var Te=B[0],Fe=B[1];Ce=k?Te.getStartPosition():Te.getEndPosition(),Me=k?Fe.getEndPosition():Fe.getStartPosition()}Ce&&Me&&$.push(new x.a(Ce.lineNumber,Ce.column,Me.lineNumber,Me.column))}),$.length>0&&(this._editor.setSelections($),this._editor.revealRange($[0]))},A.prototype._updateBrackets=function(){if(this._matchBrackets==="never")return;this._recomputeBrackets();for(var k=[],R=0,$=0,ie=this._lastBracketsData;$100){this._lastBracketsData=[],this._lastVersionId=0;return}var R=this._editor.getModel(),$=R.getVersionId(),ie=[];this._lastVersionId===$&&(ie=this._lastBracketsData);for(var W=[],B=0,le=0,Ce=k.length;le1&&W.sort(O.a.compare);for(var Te=[],Fe=0,Ue=0,Pe=ie.length,le=0,Ce=W.length;le0&&F[F.length-1])&&(De[0]===6||De[0]===2)){ve=0;continue}if(De[0]===3&&(!F||De[1]>F[0]&&De[1]=0;oe--)(se=Re[oe])&&(F=(C<3?se(F):C>3?se(Ee,ve,F):se(Ee,ve))||F);return C>3&&F&&Object.defineProperty(Ee,ve,F),F},X=function(Re,Ee){return function(ve,Q){Ee(ve,Q,Re)}},he=function(Re,Ee,ve,Q){function C(F){return F instanceof ve?F:new ve(function(se){se(F)})}return new(ve||(ve=Promise))(function(F,se){function oe(Se){try{De(Q.next(Se))}catch(Ve){se(Ve)}}function be(Se){try{De(Q.throw(Se))}catch(Ve){se(Ve)}}function De(Se){Se.done?F(Se.value):C(Se.value).then(oe,be)}De((Q=Q.apply(Re,Ee||[])).next())})},je=function(Re,Ee){var ve={label:0,sent:function(){if(F[0]&1)throw F[1];return F[1]},trys:[],ops:[]},Q,C,F,se;return se={next:oe(0),throw:oe(1),return:oe(2)},typeof Symbol=="function"&&(se[Symbol.iterator]=function(){return this}),se;function oe(De){return function(Se){return be([De,Se])}}function be(De){if(Q)throw new TypeError("Generator is already executing.");for(;ve;)try{if(Q=1,C&&(F=De[0]&2?C.return:De[0]?C.throw||((F=C.return)&&F.call(C),0):C.next)&&!(F=F.call(C,De[1])).done)return F;(C=0,F)&&(De=[De[0]&2,F.value]);switch(De[0]){case 0:case 1:F=De;break;case 4:return ve.label++,{value:De[1],done:!1};case 5:ve.label++,C=De[1],De=[0];continue;case 7:De=ve.ops.pop(),ve.trys.pop();continue;default:if(!(F=ve.trys,F=F.length>0&&F[F.length-1])&&(De[0]===6||De[0]===2)){ve=0;continue}if(De[0]===3&&(!F||De[1]>F[0]&&De[1]1)return;var Q=this._editor.getModel(),C=this._editor.getPosition(),F=!1,se=this._editor.onDidChangeModelContent(function(oe){if(oe.isFlush){F=!0,se.dispose();return}for(var be=0,De=oe.changes.length;be