diff --git a/editor/code/dist/extension.js b/editor/code/dist/extension.js index 8250de5..74348ce 100644 --- a/editor/code/dist/extension.js +++ b/editor/code/dist/extension.js @@ -1,49 +1,18557 @@ -"use strict";var Yy=Object.create;var Ki=Object.defineProperty;var Zy=Object.getOwnPropertyDescriptor;var ev=Object.getOwnPropertyNames;var tv=Object.getPrototypeOf,nv=Object.prototype.hasOwnProperty;var k=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),rv=(n,e)=>{for(var t in e)Ki(n,t,{get:e[t],enumerable:!0})},bd=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ev(e))!nv.call(n,i)&&i!==t&&Ki(n,i,{get:()=>e[i],enumerable:!(r=Zy(e,i))||r.enumerable});return n};var iv=(n,e,t)=>(t=n!=null?Yy(tv(n)):{},bd(e||!n||!n.__esModule?Ki(t,"default",{value:n,enumerable:!0}):t,n)),sv=n=>bd(Ki({},"__esModule",{value:!0}),n);var Gt=k(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.asPromise=ze.thenable=ze.typedArray=ze.stringArray=ze.array=ze.func=ze.error=ze.number=ze.string=ze.boolean=void 0;function dv(n){return n===!0||n===!1}ze.boolean=dv;function Od(n){return typeof n=="string"||n instanceof String}ze.string=Od;function fv(n){return typeof n=="number"||n instanceof Number}ze.number=fv;function hv(n){return n instanceof Error}ze.error=hv;function Fd(n){return typeof n=="function"}ze.func=Fd;function Nd(n){return Array.isArray(n)}ze.array=Nd;function pv(n){return Nd(n)&&n.every(e=>Od(e))}ze.stringArray=pv;function gv(n,e){return Array.isArray(n)&&n.every(e)}ze.typedArray=gv;function Md(n){return n&&Fd(n.then)}ze.thenable=Md;function mv(n){return n instanceof Promise?n:Md(n)?new Promise((e,t)=>{n.then(r=>e(r),r=>t(r))}):Promise.resolve(n)}ze.asPromise=mv});var wr=k(pt=>{"use strict";Object.defineProperty(pt,"__esModule",{value:!0});pt.stringArray=pt.array=pt.func=pt.error=pt.number=pt.string=pt.boolean=void 0;function yv(n){return n===!0||n===!1}pt.boolean=yv;function Ld(n){return typeof n=="string"||n instanceof String}pt.string=Ld;function vv(n){return typeof n=="number"||n instanceof Number}pt.number=vv;function Cv(n){return n instanceof Error}pt.error=Cv;function _v(n){return typeof n=="function"}pt.func=_v;function Ad(n){return Array.isArray(n)}pt.array=Ad;function bv(n){return Ad(n)&&n.every(e=>Ld(e))}pt.stringArray=bv});var ga=k(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});J.Message=J.NotificationType9=J.NotificationType8=J.NotificationType7=J.NotificationType6=J.NotificationType5=J.NotificationType4=J.NotificationType3=J.NotificationType2=J.NotificationType1=J.NotificationType0=J.NotificationType=J.RequestType9=J.RequestType8=J.RequestType7=J.RequestType6=J.RequestType5=J.RequestType4=J.RequestType3=J.RequestType2=J.RequestType1=J.RequestType=J.RequestType0=J.AbstractMessageSignature=J.ParameterStructures=J.ResponseError=J.ErrorCodes=void 0;var or=wr(),zo;(function(n){n.ParseError=-32700,n.InvalidRequest=-32600,n.MethodNotFound=-32601,n.InvalidParams=-32602,n.InternalError=-32603,n.jsonrpcReservedErrorRangeStart=-32099,n.serverErrorStart=-32099,n.MessageWriteError=-32099,n.MessageReadError=-32098,n.PendingResponseRejected=-32097,n.ConnectionInactive=-32096,n.ServerNotInitialized=-32002,n.UnknownErrorCode=-32001,n.jsonrpcReservedErrorRangeEnd=-32e3,n.serverErrorEnd=-32e3})(zo||(J.ErrorCodes=zo={}));var Vo=class n extends Error{constructor(e,t,r){super(t),this.code=or.number(e)?e:zo.UnknownErrorCode,this.data=r,Object.setPrototypeOf(this,n.prototype)}toJson(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),e}};J.ResponseError=Vo;var qt=class n{constructor(e){this.kind=e}static is(e){return e===n.auto||e===n.byName||e===n.byPosition}toString(){return this.kind}};J.ParameterStructures=qt;qt.auto=new qt("auto");qt.byPosition=new qt("byPosition");qt.byName=new qt("byName");var Oe=class{constructor(e,t){this.method=e,this.numberOfParams=t}get parameterStructures(){return qt.auto}};J.AbstractMessageSignature=Oe;var Bo=class extends Oe{constructor(e){super(e,0)}};J.RequestType0=Bo;var Go=class extends Oe{constructor(e,t=qt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};J.RequestType=Go;var Xo=class extends Oe{constructor(e,t=qt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};J.RequestType1=Xo;var Jo=class extends Oe{constructor(e){super(e,2)}};J.RequestType2=Jo;var Qo=class extends Oe{constructor(e){super(e,3)}};J.RequestType3=Qo;var Yo=class extends Oe{constructor(e){super(e,4)}};J.RequestType4=Yo;var Zo=class extends Oe{constructor(e){super(e,5)}};J.RequestType5=Zo;var ea=class extends Oe{constructor(e){super(e,6)}};J.RequestType6=ea;var ta=class extends Oe{constructor(e){super(e,7)}};J.RequestType7=ta;var na=class extends Oe{constructor(e){super(e,8)}};J.RequestType8=na;var ra=class extends Oe{constructor(e){super(e,9)}};J.RequestType9=ra;var ia=class extends Oe{constructor(e,t=qt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};J.NotificationType=ia;var sa=class extends Oe{constructor(e){super(e,0)}};J.NotificationType0=sa;var oa=class extends Oe{constructor(e,t=qt.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};J.NotificationType1=oa;var aa=class extends Oe{constructor(e){super(e,2)}};J.NotificationType2=aa;var ca=class extends Oe{constructor(e){super(e,3)}};J.NotificationType3=ca;var ua=class extends Oe{constructor(e){super(e,4)}};J.NotificationType4=ua;var la=class extends Oe{constructor(e){super(e,5)}};J.NotificationType5=la;var da=class extends Oe{constructor(e){super(e,6)}};J.NotificationType6=da;var fa=class extends Oe{constructor(e){super(e,7)}};J.NotificationType7=fa;var ha=class extends Oe{constructor(e){super(e,8)}};J.NotificationType8=ha;var pa=class extends Oe{constructor(e){super(e,9)}};J.NotificationType9=pa;var jd;(function(n){function e(i){let s=i;return s&&or.string(s.method)&&(or.string(s.id)||or.number(s.id))}n.isRequest=e;function t(i){let s=i;return s&&or.string(s.method)&&i.id===void 0}n.isNotification=t;function r(i){let s=i;return s&&(s.result!==void 0||!!s.error)&&(or.string(s.id)||or.number(s.id)||s.id===null)}n.isResponse=r})(jd||(J.Message=jd={}))});var ya=k(Kn=>{"use strict";var $d;Object.defineProperty(Kn,"__esModule",{value:!0});Kn.LRUCache=Kn.LinkedMap=Kn.Touch=void 0;var gt;(function(n){n.None=0,n.First=1,n.AsOld=n.First,n.Last=2,n.AsNew=n.Last})(gt||(Kn.Touch=gt={}));var Xi=class{constructor(){this[$d]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,t=gt.None){let r=this._map.get(e);if(r)return t!==gt.None&&this.touch(r,t),r.value}set(e,t,r=gt.None){let i=this._map.get(e);if(i)i.value=t,r!==gt.None&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case gt.None:this.addItemLast(i);break;case gt.First:this.addItemFirst(i);break;case gt.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let r=this._state,i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==r)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:t.key,done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}values(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:t.value,done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}entries(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(t){let i={value:[t.key,t.value],done:!1};return t=t.next,i}else return{value:void 0,done:!0}}};return r}[($d=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this._head,r=this.size;for(;t&&r>e;)this._map.delete(t.key),t=t.next,r--;this._head=t,this._size=r,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,r=e.previous;if(!t||!r)throw new Error("Invalid list");t.previous=r,r.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(t!==gt.First&&t!==gt.Last)){if(t===gt.First){if(e===this._head)return;let r=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(r.previous=i,i.next=r),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===gt.Last){if(e===this._tail)return;let r=e.next,i=e.previous;e===this._head?(r.previous=void 0,this._head=r):(r.previous=i,i.next=r),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,r)=>{e.push([r,t])}),e}fromJSON(e){this.clear();for(let[t,r]of e)this.set(t,r)}};Kn.LinkedMap=Xi;var ma=class extends Xi{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=gt.AsNew){return super.get(e,t)}peek(e){return super.get(e,gt.None)}set(e,t){return super.set(e,t,gt.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};Kn.LRUCache=ma});var Ud=k(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.Disposable=void 0;var Hd;(function(n){function e(t){return{dispose:t}}n.create=e})(Hd||(Ji.Disposable=Hd={}))});var zn=k(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});var va;function Ca(){if(va===void 0)throw new Error("No runtime abstraction layer installed");return va}(function(n){function e(t){if(t===void 0)throw new Error("No runtime abstraction layer provided");va=t}n.install=e})(Ca||(Ca={}));_a.default=Ca});var Sr=k(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.Emitter=Rr.Event=void 0;var Dv=zn(),Wd;(function(n){let e={dispose(){}};n.None=function(){return e}})(Wd||(Rr.Event=Wd={}));var ba=class{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i{this._callbacks||(this._callbacks=new ba),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);let i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=n._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};Rr.Emitter=Qi;Qi._noop=function(){}});var es=k(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.CancellationTokenSource=Tr.CancellationToken=void 0;var wv=zn(),Rv=wr(),Da=Sr(),Yi;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Da.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Da.Event.None});function e(t){let r=t;return r&&(r===n.None||r===n.Cancelled||Rv.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(Yi||(Tr.CancellationToken=Yi={}));var Sv=Object.freeze(function(n,e){let t=(0,wv.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}}),Zi=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Sv:(this._emitter||(this._emitter=new Da.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},wa=class{get token(){return this._token||(this._token=new Zi),this._token}cancel(){this._token?this._token.cancel():this._token=Yi.Cancelled}dispose(){this._token?this._token instanceof Zi&&this._token.dispose():this._token=Yi.None}};Tr.CancellationTokenSource=wa});var Kd=k(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.SharedArrayReceiverStrategy=Pr.SharedArraySenderStrategy=void 0;var Tv=es(),si;(function(n){n.Continue=0,n.Cancelled=1})(si||(si={}));var Ra=class{constructor(){this.buffers=new Map}enableCancellation(e){if(e.id===null)return;let t=new SharedArrayBuffer(4),r=new Int32Array(t,0,1);r[0]=si.Continue,this.buffers.set(e.id,t),e.$cancellationData=t}async sendCancellation(e,t){let r=this.buffers.get(t);if(r===void 0)return;let i=new Int32Array(r,0,1);Atomics.store(i,0,si.Cancelled)}cleanup(e){this.buffers.delete(e)}dispose(){this.buffers.clear()}};Pr.SharedArraySenderStrategy=Ra;var Sa=class{constructor(e){this.data=new Int32Array(e,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===si.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},Ta=class{constructor(e){this.token=new Sa(e)}cancel(){}dispose(){}},Pa=class{constructor(){this.kind="request"}createCancellationTokenSource(e){let t=e.$cancellationData;return t===void 0?new Tv.CancellationTokenSource:new Ta(t)}};Pr.SharedArrayReceiverStrategy=Pa});var qa=k(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.Semaphore=void 0;var Pv=zn(),Ea=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,r)=>{this._waiting.push({thunk:e,resolve:t,reject:r}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,Pv.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let t=e.thunk();t instanceof Promise?t.then(r=>{this._active--,e.resolve(r),this.runNext()},r=>{this._active--,e.reject(r),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}};ts.Semaphore=Ea});var Vd=k(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.ReadableStreamMessageReader=Vn.AbstractMessageReader=Vn.MessageReader=void 0;var xa=zn(),Er=wr(),ka=Sr(),Ev=qa(),zd;(function(n){function e(t){let r=t;return r&&Er.func(r.listen)&&Er.func(r.dispose)&&Er.func(r.onError)&&Er.func(r.onClose)&&Er.func(r.onPartialMessage)}n.is=e})(zd||(Vn.MessageReader=zd={}));var ns=class{constructor(){this.errorEmitter=new ka.Emitter,this.closeEmitter=new ka.Emitter,this.partialMessageEmitter=new ka.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${Er.string(e.message)?e.message:"unknown"}`)}};Vn.AbstractMessageReader=ns;var Ia;(function(n){function e(t){let r,i,s,o=new Map,a,u=new Map;if(t===void 0||typeof t=="string")r=t??"utf-8";else{if(r=t.charset??"utf-8",t.contentDecoder!==void 0&&(s=t.contentDecoder,o.set(s.name,s)),t.contentDecoders!==void 0)for(let h of t.contentDecoders)o.set(h.name,h);if(t.contentTypeDecoder!==void 0&&(a=t.contentTypeDecoder,u.set(a.name,a)),t.contentTypeDecoders!==void 0)for(let h of t.contentTypeDecoders)u.set(h.name,h)}return a===void 0&&(a=(0,xa.default)().applicationJson.decoder,u.set(a.name,a)),{charset:r,contentDecoder:s,contentDecoders:o,contentTypeDecoder:a,contentTypeDecoders:u}}n.fromOptions=e})(Ia||(Ia={}));var Oa=class extends ns{constructor(e,t){super(),this.readable=e,this.options=Ia.fromOptions(t),this.buffer=(0,xa.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new Ev.Semaphore(1)}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let t=this.readable.onData(r=>{this.onData(r)});return this.readable.onError(r=>this.fireError(r)),this.readable.onClose(()=>this.fireClose()),t}onData(e){try{for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let r=this.buffer.tryReadHeaders(!0);if(!r)return;let i=r.get("content-length");if(!i){this.fireError(new Error(`Header must provide a Content-Length property. -${JSON.stringify(Object.fromEntries(r))}`));return}let s=parseInt(i);if(isNaN(s)){this.fireError(new Error(`Content-Length value must be a number. Got ${i}`));return}this.nextMessageLength=s}let t=this.buffer.tryReadBody(this.nextMessageLength);if(t===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let r=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(t):t,i=await this.options.contentTypeDecoder.decode(r,this.options);this.callback(i)}).catch(r=>{this.fireError(r)})}}catch(t){this.fireError(t)}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,xa.default)().timer.setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};Vn.ReadableStreamMessageReader=Oa});var Qd=k(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.WriteableStreamMessageWriter=Bn.AbstractMessageWriter=Bn.MessageWriter=void 0;var Bd=zn(),oi=wr(),qv=qa(),Gd=Sr(),kv="Content-Length: ",Xd=`\r -`,Jd;(function(n){function e(t){let r=t;return r&&oi.func(r.dispose)&&oi.func(r.onClose)&&oi.func(r.onError)&&oi.func(r.write)}n.is=e})(Jd||(Bn.MessageWriter=Jd={}));var rs=class{constructor(){this.errorEmitter=new Gd.Emitter,this.closeEmitter=new Gd.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,t,r){this.errorEmitter.fire([this.asError(e),t,r])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error(`Writer received error. Reason: ${oi.string(e.message)?e.message:"unknown"}`)}};Bn.AbstractMessageWriter=rs;var Fa;(function(n){function e(t){return t===void 0||typeof t=="string"?{charset:t??"utf-8",contentTypeEncoder:(0,Bd.default)().applicationJson.encoder}:{charset:t.charset??"utf-8",contentEncoder:t.contentEncoder,contentTypeEncoder:t.contentTypeEncoder??(0,Bd.default)().applicationJson.encoder}}n.fromOptions=e})(Fa||(Fa={}));var Na=class extends rs{constructor(e,t){super(),this.writable=e,this.options=Fa.fromOptions(t),this.errorCount=0,this.writeSemaphore=new qv.Semaphore(1),this.writable.onError(r=>this.fireError(r)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(r=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(r):r).then(r=>{let i=[];return i.push(kv,r.byteLength.toString(),Xd),i.push(Xd),this.doWrite(e,i,r)},r=>{throw this.fireError(r),r}))}async doWrite(e,t,r){try{return await this.writable.write(t.join(""),"ascii"),this.writable.write(r)}catch(i){return this.handleError(i,e),Promise.reject(i)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){this.writable.end()}};Bn.WriteableStreamMessageWriter=Na});var Yd=k(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.AbstractMessageBuffer=void 0;var xv=13,Iv=10,Ov=`\r -`,Ma=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let t=typeof e=="string"?this.fromString(e,this._encoding):e;this._chunks.push(t),this._totalLength+=t.byteLength}tryReadHeaders(e=!1){if(this._chunks.length===0)return;let t=0,r=0,i=0,s=0;e:for(;rthis._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){let s=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(s)}if(this._chunks[0].byteLength>e){let s=this._chunks[0],o=this.asNative(s,e);return this._chunks[0]=s.slice(e),this._totalLength-=e,o}let t=this.allocNative(e),r=0,i=0;for(;e>0;){let s=this._chunks[i];if(s.byteLength>e){let o=s.slice(0,e);t.set(o,r),r+=e,this._chunks[i]=s.slice(e),this._totalLength-=e,e-=e}else t.set(s,r),r+=s.byteLength,this._chunks.shift(),this._totalLength-=s.byteLength,e-=s.byteLength}return t}};is.AbstractMessageBuffer=Ma});var rf=k(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.createMessageConnection=re.ConnectionOptions=re.MessageStrategy=re.CancellationStrategy=re.CancellationSenderStrategy=re.CancellationReceiverStrategy=re.RequestCancellationReceiverStrategy=re.IdCancellationReceiverStrategy=re.ConnectionStrategy=re.ConnectionError=re.ConnectionErrors=re.LogTraceNotification=re.SetTraceNotification=re.TraceFormat=re.TraceValues=re.Trace=re.NullLogger=re.ProgressType=re.ProgressToken=void 0;var Zd=zn(),je=wr(),Q=ga(),ef=ya(),ai=Sr(),La=es(),li;(function(n){n.type=new Q.NotificationType("$/cancelRequest")})(li||(li={}));var Aa;(function(n){function e(t){return typeof t=="string"||typeof t=="number"}n.is=e})(Aa||(re.ProgressToken=Aa={}));var ci;(function(n){n.type=new Q.NotificationType("$/progress")})(ci||(ci={}));var ja=class{constructor(){}};re.ProgressType=ja;var $a;(function(n){function e(t){return je.func(t)}n.is=e})($a||($a={}));re.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var be;(function(n){n[n.Off=0]="Off",n[n.Messages=1]="Messages",n[n.Compact=2]="Compact",n[n.Verbose=3]="Verbose"})(be||(re.Trace=be={}));var tf;(function(n){n.Off="off",n.Messages="messages",n.Compact="compact",n.Verbose="verbose"})(tf||(re.TraceValues=tf={}));(function(n){function e(r){if(!je.string(r))return n.Off;switch(r=r.toLowerCase(),r){case"off":return n.Off;case"messages":return n.Messages;case"compact":return n.Compact;case"verbose":return n.Verbose;default:return n.Off}}n.fromString=e;function t(r){switch(r){case n.Off:return"off";case n.Messages:return"messages";case n.Compact:return"compact";case n.Verbose:return"verbose";default:return"off"}}n.toString=t})(be||(re.Trace=be={}));var jt;(function(n){n.Text="text",n.JSON="json"})(jt||(re.TraceFormat=jt={}));(function(n){function e(t){return je.string(t)?(t=t.toLowerCase(),t==="json"?n.JSON:n.Text):n.Text}n.fromString=e})(jt||(re.TraceFormat=jt={}));var Ha;(function(n){n.type=new Q.NotificationType("$/setTrace")})(Ha||(re.SetTraceNotification=Ha={}));var ss;(function(n){n.type=new Q.NotificationType("$/logTrace")})(ss||(re.LogTraceNotification=ss={}));var ui;(function(n){n[n.Closed=1]="Closed",n[n.Disposed=2]="Disposed",n[n.AlreadyListening=3]="AlreadyListening"})(ui||(re.ConnectionErrors=ui={}));var qr=class n extends Error{constructor(e,t){super(t),this.code=e,Object.setPrototypeOf(this,n.prototype)}};re.ConnectionError=qr;var Ua;(function(n){function e(t){let r=t;return r&&je.func(r.cancelUndispatched)}n.is=e})(Ua||(re.ConnectionStrategy=Ua={}));var os;(function(n){function e(t){let r=t;return r&&(r.kind===void 0||r.kind==="id")&&je.func(r.createCancellationTokenSource)&&(r.dispose===void 0||je.func(r.dispose))}n.is=e})(os||(re.IdCancellationReceiverStrategy=os={}));var Wa;(function(n){function e(t){let r=t;return r&&r.kind==="request"&&je.func(r.createCancellationTokenSource)&&(r.dispose===void 0||je.func(r.dispose))}n.is=e})(Wa||(re.RequestCancellationReceiverStrategy=Wa={}));var as;(function(n){n.Message=Object.freeze({createCancellationTokenSource(t){return new La.CancellationTokenSource}});function e(t){return os.is(t)||Wa.is(t)}n.is=e})(as||(re.CancellationReceiverStrategy=as={}));var cs;(function(n){n.Message=Object.freeze({sendCancellation(t,r){return t.sendNotification(li.type,{id:r})},cleanup(t){}});function e(t){let r=t;return r&&je.func(r.sendCancellation)&&je.func(r.cleanup)}n.is=e})(cs||(re.CancellationSenderStrategy=cs={}));var us;(function(n){n.Message=Object.freeze({receiver:as.Message,sender:cs.Message});function e(t){let r=t;return r&&as.is(r.receiver)&&cs.is(r.sender)}n.is=e})(us||(re.CancellationStrategy=us={}));var ls;(function(n){function e(t){let r=t;return r&&je.func(r.handleMessage)}n.is=e})(ls||(re.MessageStrategy=ls={}));var nf;(function(n){function e(t){let r=t;return r&&(us.is(r.cancellationStrategy)||Ua.is(r.connectionStrategy)||ls.is(r.messageStrategy))}n.is=e})(nf||(re.ConnectionOptions=nf={}));var cn;(function(n){n[n.New=1]="New",n[n.Listening=2]="Listening",n[n.Closed=3]="Closed",n[n.Disposed=4]="Disposed"})(cn||(cn={}));function Fv(n,e,t,r){let i=t!==void 0?t:re.NullLogger,s=0,o=0,a=0,u="2.0",h,p=new Map,v,m=new Map,R=new Map,y,P=new ef.LinkedMap,q=new Map,N=new Set,L=new Map,M=be.Off,H=jt.Text,X,le=cn.New,B=new ai.Emitter,Z=new ai.Emitter,ae=new ai.Emitter,Ge=new ai.Emitter,We=new ai.Emitter,Je=r&&r.cancellationStrategy?r.cancellationStrategy:us.Message;function zt(_){if(_===null)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+_.toString()}function _t(_){return _===null?"res-unknown-"+(++a).toString():"res-"+_.toString()}function ot(){return"not-"+(++o).toString()}function at(_,I){Q.Message.isRequest(I)?_.set(zt(I.id),I):Q.Message.isResponse(I)?_.set(_t(I.id),I):_.set(ot(),I)}function tn(_){}function pn(){return le===cn.Listening}function xe(){return le===cn.Closed}function Tt(){return le===cn.Disposed}function bt(){(le===cn.New||le===cn.Listening)&&(le=cn.Closed,Z.fire(void 0))}function ct(_){B.fire([_,void 0,void 0])}function jn(_){B.fire(_)}n.onClose(bt),n.onError(ct),e.onClose(bt),e.onError(jn);function gn(){y||P.size===0||(y=(0,Zd.default)().timer.setImmediate(()=>{y=void 0,Pn()}))}function mn(_){Q.Message.isRequest(_)?yn(_):Q.Message.isNotification(_)?rn(_):Q.Message.isResponse(_)?nn(_):vn(_)}function Pn(){if(P.size===0)return;let _=P.shift();try{let I=r?.messageStrategy;ls.is(I)?I.handleMessage(_,mn):mn(_)}finally{gn()}}let $n=_=>{try{if(Q.Message.isNotification(_)&&_.method===li.type.method){let I=_.params.id,$=zt(I),W=P.get($);if(Q.Message.isRequest(W)){let ge=r?.connectionStrategy,we=ge&&ge.cancelUndispatched?ge.cancelUndispatched(W,tn):void 0;if(we&&(we.error!==void 0||we.result!==void 0)){P.delete($),L.delete(I),we.id=W.id,Vt(we,_.method,Date.now()),e.write(we).catch(()=>i.error("Sending response for canceled message failed."));return}}let ye=L.get(I);if(ye!==void 0){ye.cancel(),Bt(_);return}else N.add(I)}at(P,_)}finally{gn()}};function yn(_){if(Tt())return;function I(oe,Ce,de){let Pe={jsonrpc:u,id:_.id};oe instanceof Q.ResponseError?Pe.error=oe.toJson():Pe.result=oe===void 0?null:oe,Vt(Pe,Ce,de),e.write(Pe).catch(()=>i.error("Sending response failed."))}function $(oe,Ce,de){let Pe={jsonrpc:u,id:_.id,error:oe.toJson()};Vt(Pe,Ce,de),e.write(Pe).catch(()=>i.error("Sending response failed."))}function W(oe,Ce,de){oe===void 0&&(oe=null);let Pe={jsonrpc:u,id:_.id,result:oe};Vt(Pe,Ce,de),e.write(Pe).catch(()=>i.error("Sending response failed."))}Hn(_);let ye=p.get(_.method),ge,we;ye&&(ge=ye.type,we=ye.handler);let Te=Date.now();if(we||h){let oe=_.id??String(Date.now()),Ce=os.is(Je.receiver)?Je.receiver.createCancellationTokenSource(oe):Je.receiver.createCancellationTokenSource(_);_.id!==null&&N.has(_.id)&&Ce.cancel(),_.id!==null&&L.set(oe,Ce);try{let de;if(we)if(_.params===void 0){if(ge!==void 0&&ge.numberOfParams!==0){$(new Q.ResponseError(Q.ErrorCodes.InvalidParams,`Request ${_.method} defines ${ge.numberOfParams} params but received none.`),_.method,Te);return}de=we(Ce.token)}else if(Array.isArray(_.params)){if(ge!==void 0&&ge.parameterStructures===Q.ParameterStructures.byName){$(new Q.ResponseError(Q.ErrorCodes.InvalidParams,`Request ${_.method} defines parameters by name but received parameters by position`),_.method,Te);return}de=we(..._.params,Ce.token)}else{if(ge!==void 0&&ge.parameterStructures===Q.ParameterStructures.byPosition){$(new Q.ResponseError(Q.ErrorCodes.InvalidParams,`Request ${_.method} defines parameters by position but received parameters by name`),_.method,Te);return}de=we(_.params,Ce.token)}else h&&(de=h(_.method,_.params,Ce.token));let Pe=de;de?Pe.then?Pe.then(Ke=>{L.delete(oe),I(Ke,_.method,Te)},Ke=>{L.delete(oe),Ke instanceof Q.ResponseError?$(Ke,_.method,Te):Ke&&je.string(Ke.message)?$(new Q.ResponseError(Q.ErrorCodes.InternalError,`Request ${_.method} failed with message: ${Ke.message}`),_.method,Te):$(new Q.ResponseError(Q.ErrorCodes.InternalError,`Request ${_.method} failed unexpectedly without providing any details.`),_.method,Te)}):(L.delete(oe),I(de,_.method,Te)):(L.delete(oe),W(de,_.method,Te))}catch(de){L.delete(oe),de instanceof Q.ResponseError?I(de,_.method,Te):de&&je.string(de.message)?$(new Q.ResponseError(Q.ErrorCodes.InternalError,`Request ${_.method} failed with message: ${de.message}`),_.method,Te):$(new Q.ResponseError(Q.ErrorCodes.InternalError,`Request ${_.method} failed unexpectedly without providing any details.`),_.method,Te)}}else $(new Q.ResponseError(Q.ErrorCodes.MethodNotFound,`Unhandled method ${_.method}`),_.method,Te)}function nn(_){if(!Tt())if(_.id===null)_.error?i.error(`Received response message without id: Error is: -${JSON.stringify(_.error,void 0,4)}`):i.error("Received response message without id. No further error information provided.");else{let I=_.id,$=q.get(I);if(Cn(_,$),$!==void 0){q.delete(I);try{if(_.error){let W=_.error;$.reject(new Q.ResponseError(W.code,W.message,W.data))}else if(_.result!==void 0)$.resolve(_.result);else throw new Error("Should never happen.")}catch(W){W.message?i.error(`Response handler '${$.method}' failed with message: ${W.message}`):i.error(`Response handler '${$.method}' failed unexpectedly.`)}}}}function rn(_){if(Tt())return;let I,$;if(_.method===li.type.method){let W=_.params.id;N.delete(W),Bt(_);return}else{let W=m.get(_.method);W&&($=W.handler,I=W.type)}if($||v)try{if(Bt(_),$)if(_.params===void 0)I!==void 0&&I.numberOfParams!==0&&I.parameterStructures!==Q.ParameterStructures.byName&&i.error(`Notification ${_.method} defines ${I.numberOfParams} params but received none.`),$();else if(Array.isArray(_.params)){let W=_.params;_.method===ci.type.method&&W.length===2&&Aa.is(W[0])?$({token:W[0],value:W[1]}):(I!==void 0&&(I.parameterStructures===Q.ParameterStructures.byName&&i.error(`Notification ${_.method} defines parameters by name but received parameters by position`),I.numberOfParams!==_.params.length&&i.error(`Notification ${_.method} defines ${I.numberOfParams} params but received ${W.length} arguments`)),$(...W))}else I!==void 0&&I.parameterStructures===Q.ParameterStructures.byPosition&&i.error(`Notification ${_.method} defines parameters by position but received parameters by name`),$(_.params);else v&&v(_.method,_.params)}catch(W){W.message?i.error(`Notification handler '${_.method}' failed with message: ${W.message}`):i.error(`Notification handler '${_.method}' failed unexpectedly.`)}else ae.fire(_)}function vn(_){if(!_){i.error("Received empty message.");return}i.error(`Received message which is neither a response nor a notification message: -${JSON.stringify(_,null,4)}`);let I=_;if(je.string(I.id)||je.number(I.id)){let $=I.id,W=q.get($);W&&W.reject(new Error("The received response has neither a result nor an error property."))}}function Qe(_){if(_!=null)switch(M){case be.Verbose:return JSON.stringify(_,null,4);case be.Compact:return JSON.stringify(_);default:return}}function En(_){if(!(M===be.Off||!X))if(H===jt.Text){let I;(M===be.Verbose||M===be.Compact)&&_.params&&(I=`Params: ${Qe(_.params)} +"use strict"; +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __commonJS = (cb, mod) => function __require() { + return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; +}; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, + mod +)); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -`),X.log(`Sending request '${_.method} - (${_.id})'.`,I)}else Xe("send-request",_)}function sn(_){if(!(M===be.Off||!X))if(H===jt.Text){let I;(M===be.Verbose||M===be.Compact)&&(_.params?I=`Params: ${Qe(_.params)} +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/is.js +var require_is = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/is.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.asPromise = exports2.thenable = exports2.typedArray = exports2.stringArray = exports2.array = exports2.func = exports2.error = exports2.number = exports2.string = exports2.boolean = void 0; + function boolean(value) { + return value === true || value === false; + } + exports2.boolean = boolean; + function string(value) { + return typeof value === "string" || value instanceof String; + } + exports2.string = string; + function number(value) { + return typeof value === "number" || value instanceof Number; + } + exports2.number = number; + function error(value) { + return value instanceof Error; + } + exports2.error = error; + function func(value) { + return typeof value === "function"; + } + exports2.func = func; + function array(value) { + return Array.isArray(value); + } + exports2.array = array; + function stringArray(value) { + return array(value) && value.every((elem) => string(elem)); + } + exports2.stringArray = stringArray; + function typedArray(value, check) { + return Array.isArray(value) && value.every(check); + } + exports2.typedArray = typedArray; + function thenable(value) { + return value && func(value.then); + } + exports2.thenable = thenable; + function asPromise(value) { + if (value instanceof Promise) { + return value; + } else if (thenable(value)) { + return new Promise((resolve, reject) => { + value.then((resolved) => resolve(resolved), (error2) => reject(error2)); + }); + } else { + return Promise.resolve(value); + } + } + exports2.asPromise = asPromise; + } +}); -`:I=`No parameters provided. +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.js +var require_is2 = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.stringArray = exports2.array = exports2.func = exports2.error = exports2.number = exports2.string = exports2.boolean = void 0; + function boolean(value) { + return value === true || value === false; + } + exports2.boolean = boolean; + function string(value) { + return typeof value === "string" || value instanceof String; + } + exports2.string = string; + function number(value) { + return typeof value === "number" || value instanceof Number; + } + exports2.number = number; + function error(value) { + return value instanceof Error; + } + exports2.error = error; + function func(value) { + return typeof value === "function"; + } + exports2.func = func; + function array(value) { + return Array.isArray(value); + } + exports2.array = array; + function stringArray(value) { + return array(value) && value.every((elem) => string(elem)); + } + exports2.stringArray = stringArray; + } +}); -`),X.log(`Sending notification '${_.method}'.`,I)}else Xe("send-notification",_)}function Vt(_,I,$){if(!(M===be.Off||!X))if(H===jt.Text){let W;(M===be.Verbose||M===be.Compact)&&(_.error&&_.error.data?W=`Error data: ${Qe(_.error.data)} +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.js +var require_messages = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.Message = exports2.NotificationType9 = exports2.NotificationType8 = exports2.NotificationType7 = exports2.NotificationType6 = exports2.NotificationType5 = exports2.NotificationType4 = exports2.NotificationType3 = exports2.NotificationType2 = exports2.NotificationType1 = exports2.NotificationType0 = exports2.NotificationType = exports2.RequestType9 = exports2.RequestType8 = exports2.RequestType7 = exports2.RequestType6 = exports2.RequestType5 = exports2.RequestType4 = exports2.RequestType3 = exports2.RequestType2 = exports2.RequestType1 = exports2.RequestType = exports2.RequestType0 = exports2.AbstractMessageSignature = exports2.ParameterStructures = exports2.ResponseError = exports2.ErrorCodes = void 0; + var is = require_is2(); + var ErrorCodes; + (function(ErrorCodes2) { + ErrorCodes2.ParseError = -32700; + ErrorCodes2.InvalidRequest = -32600; + ErrorCodes2.MethodNotFound = -32601; + ErrorCodes2.InvalidParams = -32602; + ErrorCodes2.InternalError = -32603; + ErrorCodes2.jsonrpcReservedErrorRangeStart = -32099; + ErrorCodes2.serverErrorStart = -32099; + ErrorCodes2.MessageWriteError = -32099; + ErrorCodes2.MessageReadError = -32098; + ErrorCodes2.PendingResponseRejected = -32097; + ErrorCodes2.ConnectionInactive = -32096; + ErrorCodes2.ServerNotInitialized = -32002; + ErrorCodes2.UnknownErrorCode = -32001; + ErrorCodes2.jsonrpcReservedErrorRangeEnd = -32e3; + ErrorCodes2.serverErrorEnd = -32e3; + })(ErrorCodes || (exports2.ErrorCodes = ErrorCodes = {})); + var ResponseError = class _ResponseError extends Error { + constructor(code, message, data) { + super(message); + this.code = is.number(code) ? code : ErrorCodes.UnknownErrorCode; + this.data = data; + Object.setPrototypeOf(this, _ResponseError.prototype); + } + toJson() { + const result = { + code: this.code, + message: this.message + }; + if (this.data !== void 0) { + result.data = this.data; + } + return result; + } + }; + exports2.ResponseError = ResponseError; + var ParameterStructures = class _ParameterStructures { + constructor(kind) { + this.kind = kind; + } + static is(value) { + return value === _ParameterStructures.auto || value === _ParameterStructures.byName || value === _ParameterStructures.byPosition; + } + toString() { + return this.kind; + } + }; + exports2.ParameterStructures = ParameterStructures; + ParameterStructures.auto = new ParameterStructures("auto"); + ParameterStructures.byPosition = new ParameterStructures("byPosition"); + ParameterStructures.byName = new ParameterStructures("byName"); + var AbstractMessageSignature = class { + constructor(method, numberOfParams) { + this.method = method; + this.numberOfParams = numberOfParams; + } + get parameterStructures() { + return ParameterStructures.auto; + } + }; + exports2.AbstractMessageSignature = AbstractMessageSignature; + var RequestType0 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 0); + } + }; + exports2.RequestType0 = RequestType0; + var RequestType = class extends AbstractMessageSignature { + constructor(method, _parameterStructures = ParameterStructures.auto) { + super(method, 1); + this._parameterStructures = _parameterStructures; + } + get parameterStructures() { + return this._parameterStructures; + } + }; + exports2.RequestType = RequestType; + var RequestType1 = class extends AbstractMessageSignature { + constructor(method, _parameterStructures = ParameterStructures.auto) { + super(method, 1); + this._parameterStructures = _parameterStructures; + } + get parameterStructures() { + return this._parameterStructures; + } + }; + exports2.RequestType1 = RequestType1; + var RequestType2 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 2); + } + }; + exports2.RequestType2 = RequestType2; + var RequestType3 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 3); + } + }; + exports2.RequestType3 = RequestType3; + var RequestType4 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 4); + } + }; + exports2.RequestType4 = RequestType4; + var RequestType5 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 5); + } + }; + exports2.RequestType5 = RequestType5; + var RequestType6 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 6); + } + }; + exports2.RequestType6 = RequestType6; + var RequestType7 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 7); + } + }; + exports2.RequestType7 = RequestType7; + var RequestType8 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 8); + } + }; + exports2.RequestType8 = RequestType8; + var RequestType9 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 9); + } + }; + exports2.RequestType9 = RequestType9; + var NotificationType = class extends AbstractMessageSignature { + constructor(method, _parameterStructures = ParameterStructures.auto) { + super(method, 1); + this._parameterStructures = _parameterStructures; + } + get parameterStructures() { + return this._parameterStructures; + } + }; + exports2.NotificationType = NotificationType; + var NotificationType0 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 0); + } + }; + exports2.NotificationType0 = NotificationType0; + var NotificationType1 = class extends AbstractMessageSignature { + constructor(method, _parameterStructures = ParameterStructures.auto) { + super(method, 1); + this._parameterStructures = _parameterStructures; + } + get parameterStructures() { + return this._parameterStructures; + } + }; + exports2.NotificationType1 = NotificationType1; + var NotificationType2 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 2); + } + }; + exports2.NotificationType2 = NotificationType2; + var NotificationType3 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 3); + } + }; + exports2.NotificationType3 = NotificationType3; + var NotificationType4 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 4); + } + }; + exports2.NotificationType4 = NotificationType4; + var NotificationType5 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 5); + } + }; + exports2.NotificationType5 = NotificationType5; + var NotificationType6 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 6); + } + }; + exports2.NotificationType6 = NotificationType6; + var NotificationType7 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 7); + } + }; + exports2.NotificationType7 = NotificationType7; + var NotificationType8 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 8); + } + }; + exports2.NotificationType8 = NotificationType8; + var NotificationType9 = class extends AbstractMessageSignature { + constructor(method) { + super(method, 9); + } + }; + exports2.NotificationType9 = NotificationType9; + var Message; + (function(Message2) { + function isRequest(message) { + const candidate = message; + return candidate && is.string(candidate.method) && (is.string(candidate.id) || is.number(candidate.id)); + } + Message2.isRequest = isRequest; + function isNotification(message) { + const candidate = message; + return candidate && is.string(candidate.method) && message.id === void 0; + } + Message2.isNotification = isNotification; + function isResponse(message) { + const candidate = message; + return candidate && (candidate.result !== void 0 || !!candidate.error) && (is.string(candidate.id) || is.number(candidate.id) || candidate.id === null); + } + Message2.isResponse = isResponse; + })(Message || (exports2.Message = Message = {})); + } +}); -`:_.result?W=`Result: ${Qe(_.result)} +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +var require_linkedMap = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.js"(exports2) { + "use strict"; + var _a; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.LRUCache = exports2.LinkedMap = exports2.Touch = void 0; + var Touch; + (function(Touch2) { + Touch2.None = 0; + Touch2.First = 1; + Touch2.AsOld = Touch2.First; + Touch2.Last = 2; + Touch2.AsNew = Touch2.Last; + })(Touch || (exports2.Touch = Touch = {})); + var LinkedMap = class { + constructor() { + this[_a] = "LinkedMap"; + this._map = /* @__PURE__ */ new Map(); + this._head = void 0; + this._tail = void 0; + this._size = 0; + this._state = 0; + } + clear() { + this._map.clear(); + this._head = void 0; + this._tail = void 0; + this._size = 0; + this._state++; + } + isEmpty() { + return !this._head && !this._tail; + } + get size() { + return this._size; + } + get first() { + return this._head?.value; + } + get last() { + return this._tail?.value; + } + has(key) { + return this._map.has(key); + } + get(key, touch = Touch.None) { + const item = this._map.get(key); + if (!item) { + return void 0; + } + if (touch !== Touch.None) { + this.touch(item, touch); + } + return item.value; + } + set(key, value, touch = Touch.None) { + let item = this._map.get(key); + if (item) { + item.value = value; + if (touch !== Touch.None) { + this.touch(item, touch); + } + } else { + item = { key, value, next: void 0, previous: void 0 }; + switch (touch) { + case Touch.None: + this.addItemLast(item); + break; + case Touch.First: + this.addItemFirst(item); + break; + case Touch.Last: + this.addItemLast(item); + break; + default: + this.addItemLast(item); + break; + } + this._map.set(key, item); + this._size++; + } + return this; + } + delete(key) { + return !!this.remove(key); + } + remove(key) { + const item = this._map.get(key); + if (!item) { + return void 0; + } + this._map.delete(key); + this.removeItem(item); + this._size--; + return item.value; + } + shift() { + if (!this._head && !this._tail) { + return void 0; + } + if (!this._head || !this._tail) { + throw new Error("Invalid list"); + } + const item = this._head; + this._map.delete(item.key); + this.removeItem(item); + this._size--; + return item.value; + } + forEach(callbackfn, thisArg) { + const state = this._state; + let current = this._head; + while (current) { + if (thisArg) { + callbackfn.bind(thisArg)(current.value, current.key, this); + } else { + callbackfn(current.value, current.key, this); + } + if (this._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + current = current.next; + } + } + keys() { + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]: () => { + return iterator; + }, + next: () => { + if (this._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: current.key, done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + values() { + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]: () => { + return iterator; + }, + next: () => { + if (this._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: current.value, done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + entries() { + const state = this._state; + let current = this._head; + const iterator = { + [Symbol.iterator]: () => { + return iterator; + }, + next: () => { + if (this._state !== state) { + throw new Error(`LinkedMap got modified during iteration.`); + } + if (current) { + const result = { value: [current.key, current.value], done: false }; + current = current.next; + return result; + } else { + return { value: void 0, done: true }; + } + } + }; + return iterator; + } + [(_a = Symbol.toStringTag, Symbol.iterator)]() { + return this.entries(); + } + trimOld(newSize) { + if (newSize >= this.size) { + return; + } + if (newSize === 0) { + this.clear(); + return; + } + let current = this._head; + let currentSize = this.size; + while (current && currentSize > newSize) { + this._map.delete(current.key); + current = current.next; + currentSize--; + } + this._head = current; + this._size = currentSize; + if (current) { + current.previous = void 0; + } + this._state++; + } + addItemFirst(item) { + if (!this._head && !this._tail) { + this._tail = item; + } else if (!this._head) { + throw new Error("Invalid list"); + } else { + item.next = this._head; + this._head.previous = item; + } + this._head = item; + this._state++; + } + addItemLast(item) { + if (!this._head && !this._tail) { + this._head = item; + } else if (!this._tail) { + throw new Error("Invalid list"); + } else { + item.previous = this._tail; + this._tail.next = item; + } + this._tail = item; + this._state++; + } + removeItem(item) { + if (item === this._head && item === this._tail) { + this._head = void 0; + this._tail = void 0; + } else if (item === this._head) { + if (!item.next) { + throw new Error("Invalid list"); + } + item.next.previous = void 0; + this._head = item.next; + } else if (item === this._tail) { + if (!item.previous) { + throw new Error("Invalid list"); + } + item.previous.next = void 0; + this._tail = item.previous; + } else { + const next = item.next; + const previous = item.previous; + if (!next || !previous) { + throw new Error("Invalid list"); + } + next.previous = previous; + previous.next = next; + } + item.next = void 0; + item.previous = void 0; + this._state++; + } + touch(item, touch) { + if (!this._head || !this._tail) { + throw new Error("Invalid list"); + } + if (touch !== Touch.First && touch !== Touch.Last) { + return; + } + if (touch === Touch.First) { + if (item === this._head) { + return; + } + const next = item.next; + const previous = item.previous; + if (item === this._tail) { + previous.next = void 0; + this._tail = previous; + } else { + next.previous = previous; + previous.next = next; + } + item.previous = void 0; + item.next = this._head; + this._head.previous = item; + this._head = item; + this._state++; + } else if (touch === Touch.Last) { + if (item === this._tail) { + return; + } + const next = item.next; + const previous = item.previous; + if (item === this._head) { + next.previous = void 0; + this._head = next; + } else { + next.previous = previous; + previous.next = next; + } + item.next = void 0; + item.previous = this._tail; + this._tail.next = item; + this._tail = item; + this._state++; + } + } + toJSON() { + const data = []; + this.forEach((value, key) => { + data.push([key, value]); + }); + return data; + } + fromJSON(data) { + this.clear(); + for (const [key, value] of data) { + this.set(key, value); + } + } + }; + exports2.LinkedMap = LinkedMap; + var LRUCache = class extends LinkedMap { + constructor(limit, ratio = 1) { + super(); + this._limit = limit; + this._ratio = Math.min(Math.max(0, ratio), 1); + } + get limit() { + return this._limit; + } + set limit(limit) { + this._limit = limit; + this.checkTrim(); + } + get ratio() { + return this._ratio; + } + set ratio(ratio) { + this._ratio = Math.min(Math.max(0, ratio), 1); + this.checkTrim(); + } + get(key, touch = Touch.AsNew) { + return super.get(key, touch); + } + peek(key) { + return super.get(key, Touch.None); + } + set(key, value) { + super.set(key, value, Touch.Last); + this.checkTrim(); + return this; + } + checkTrim() { + if (this.size > this._limit) { + this.trimOld(Math.round(this._limit * this._ratio)); + } + } + }; + exports2.LRUCache = LRUCache; + } +}); -`:_.error===void 0&&(W=`No result returned. +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.js +var require_disposable = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.Disposable = void 0; + var Disposable; + (function(Disposable2) { + function create(func) { + return { + dispose: func + }; + } + Disposable2.create = create; + })(Disposable || (exports2.Disposable = Disposable = {})); + } +}); -`)),X.log(`Sending response '${I} - (${_.id})'. Processing request took ${Date.now()-$}ms`,W)}else Xe("send-response",_)}function Hn(_){if(!(M===be.Off||!X))if(H===jt.Text){let I;(M===be.Verbose||M===be.Compact)&&_.params&&(I=`Params: ${Qe(_.params)} +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.js +var require_ral = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var _ral; + function RAL() { + if (_ral === void 0) { + throw new Error(`No runtime abstraction layer installed`); + } + return _ral; + } + (function(RAL2) { + function install(ral) { + if (ral === void 0) { + throw new Error(`No runtime abstraction layer provided`); + } + _ral = ral; + } + RAL2.install = install; + })(RAL || (RAL = {})); + exports2.default = RAL; + } +}); -`),X.log(`Received request '${_.method} - (${_.id})'.`,I)}else Xe("receive-request",_)}function Bt(_){if(!(M===be.Off||!X||_.method===ss.type.method))if(H===jt.Text){let I;(M===be.Verbose||M===be.Compact)&&(_.params?I=`Params: ${Qe(_.params)} +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.js +var require_events = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.Emitter = exports2.Event = void 0; + var ral_1 = require_ral(); + var Event; + (function(Event2) { + const _disposable = { dispose() { + } }; + Event2.None = function() { + return _disposable; + }; + })(Event || (exports2.Event = Event = {})); + var CallbackList = class { + add(callback, context = null, bucket) { + if (!this._callbacks) { + this._callbacks = []; + this._contexts = []; + } + this._callbacks.push(callback); + this._contexts.push(context); + if (Array.isArray(bucket)) { + bucket.push({ dispose: () => this.remove(callback, context) }); + } + } + remove(callback, context = null) { + if (!this._callbacks) { + return; + } + let foundCallbackWithDifferentContext = false; + for (let i = 0, len = this._callbacks.length; i < len; i++) { + if (this._callbacks[i] === callback) { + if (this._contexts[i] === context) { + this._callbacks.splice(i, 1); + this._contexts.splice(i, 1); + return; + } else { + foundCallbackWithDifferentContext = true; + } + } + } + if (foundCallbackWithDifferentContext) { + throw new Error("When adding a listener with a context, you should remove it with the same context"); + } + } + invoke(...args) { + if (!this._callbacks) { + return []; + } + const ret = [], callbacks = this._callbacks.slice(0), contexts = this._contexts.slice(0); + for (let i = 0, len = callbacks.length; i < len; i++) { + try { + ret.push(callbacks[i].apply(contexts[i], args)); + } catch (e) { + (0, ral_1.default)().console.error(e); + } + } + return ret; + } + isEmpty() { + return !this._callbacks || this._callbacks.length === 0; + } + dispose() { + this._callbacks = void 0; + this._contexts = void 0; + } + }; + var Emitter = class _Emitter { + constructor(_options) { + this._options = _options; + } + /** + * For the public to allow to subscribe + * to events from this Emitter + */ + get event() { + if (!this._event) { + this._event = (listener, thisArgs, disposables) => { + if (!this._callbacks) { + this._callbacks = new CallbackList(); + } + if (this._options && this._options.onFirstListenerAdd && this._callbacks.isEmpty()) { + this._options.onFirstListenerAdd(this); + } + this._callbacks.add(listener, thisArgs); + const result = { + dispose: () => { + if (!this._callbacks) { + return; + } + this._callbacks.remove(listener, thisArgs); + result.dispose = _Emitter._noop; + if (this._options && this._options.onLastListenerRemove && this._callbacks.isEmpty()) { + this._options.onLastListenerRemove(this); + } + } + }; + if (Array.isArray(disposables)) { + disposables.push(result); + } + return result; + }; + } + return this._event; + } + /** + * To be kept private to fire an event to + * subscribers + */ + fire(event) { + if (this._callbacks) { + this._callbacks.invoke.call(this._callbacks, event); + } + } + dispose() { + if (this._callbacks) { + this._callbacks.dispose(); + this._callbacks = void 0; + } + } + }; + exports2.Emitter = Emitter; + Emitter._noop = function() { + }; + } +}); -`:I=`No parameters provided. +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.js +var require_cancellation = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.CancellationTokenSource = exports2.CancellationToken = void 0; + var ral_1 = require_ral(); + var Is = require_is2(); + var events_1 = require_events(); + var CancellationToken; + (function(CancellationToken2) { + CancellationToken2.None = Object.freeze({ + isCancellationRequested: false, + onCancellationRequested: events_1.Event.None + }); + CancellationToken2.Cancelled = Object.freeze({ + isCancellationRequested: true, + onCancellationRequested: events_1.Event.None + }); + function is(value) { + const candidate = value; + return candidate && (candidate === CancellationToken2.None || candidate === CancellationToken2.Cancelled || Is.boolean(candidate.isCancellationRequested) && !!candidate.onCancellationRequested); + } + CancellationToken2.is = is; + })(CancellationToken || (exports2.CancellationToken = CancellationToken = {})); + var shortcutEvent = Object.freeze(function(callback, context) { + const handle = (0, ral_1.default)().timer.setTimeout(callback.bind(context), 0); + return { dispose() { + handle.dispose(); + } }; + }); + var MutableToken = class { + constructor() { + this._isCancelled = false; + } + cancel() { + if (!this._isCancelled) { + this._isCancelled = true; + if (this._emitter) { + this._emitter.fire(void 0); + this.dispose(); + } + } + } + get isCancellationRequested() { + return this._isCancelled; + } + get onCancellationRequested() { + if (this._isCancelled) { + return shortcutEvent; + } + if (!this._emitter) { + this._emitter = new events_1.Emitter(); + } + return this._emitter.event; + } + dispose() { + if (this._emitter) { + this._emitter.dispose(); + this._emitter = void 0; + } + } + }; + var CancellationTokenSource = class { + get token() { + if (!this._token) { + this._token = new MutableToken(); + } + return this._token; + } + cancel() { + if (!this._token) { + this._token = CancellationToken.Cancelled; + } else { + this._token.cancel(); + } + } + dispose() { + if (!this._token) { + this._token = CancellationToken.None; + } else if (this._token instanceof MutableToken) { + this._token.dispose(); + } + } + }; + exports2.CancellationTokenSource = CancellationTokenSource; + } +}); -`),X.log(`Received notification '${_.method}'.`,I)}else Xe("receive-notification",_)}function Cn(_,I){if(!(M===be.Off||!X))if(H===jt.Text){let $;if((M===be.Verbose||M===be.Compact)&&(_.error&&_.error.data?$=`Error data: ${Qe(_.error.data)} +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +var require_sharedArrayCancellation = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.SharedArrayReceiverStrategy = exports2.SharedArraySenderStrategy = void 0; + var cancellation_1 = require_cancellation(); + var CancellationState; + (function(CancellationState2) { + CancellationState2.Continue = 0; + CancellationState2.Cancelled = 1; + })(CancellationState || (CancellationState = {})); + var SharedArraySenderStrategy = class { + constructor() { + this.buffers = /* @__PURE__ */ new Map(); + } + enableCancellation(request) { + if (request.id === null) { + return; + } + const buffer = new SharedArrayBuffer(4); + const data = new Int32Array(buffer, 0, 1); + data[0] = CancellationState.Continue; + this.buffers.set(request.id, buffer); + request.$cancellationData = buffer; + } + async sendCancellation(_conn, id) { + const buffer = this.buffers.get(id); + if (buffer === void 0) { + return; + } + const data = new Int32Array(buffer, 0, 1); + Atomics.store(data, 0, CancellationState.Cancelled); + } + cleanup(id) { + this.buffers.delete(id); + } + dispose() { + this.buffers.clear(); + } + }; + exports2.SharedArraySenderStrategy = SharedArraySenderStrategy; + var SharedArrayBufferCancellationToken = class { + constructor(buffer) { + this.data = new Int32Array(buffer, 0, 1); + } + get isCancellationRequested() { + return Atomics.load(this.data, 0) === CancellationState.Cancelled; + } + get onCancellationRequested() { + throw new Error(`Cancellation over SharedArrayBuffer doesn't support cancellation events`); + } + }; + var SharedArrayBufferCancellationTokenSource = class { + constructor(buffer) { + this.token = new SharedArrayBufferCancellationToken(buffer); + } + cancel() { + } + dispose() { + } + }; + var SharedArrayReceiverStrategy = class { + constructor() { + this.kind = "request"; + } + createCancellationTokenSource(request) { + const buffer = request.$cancellationData; + if (buffer === void 0) { + return new cancellation_1.CancellationTokenSource(); + } + return new SharedArrayBufferCancellationTokenSource(buffer); + } + }; + exports2.SharedArrayReceiverStrategy = SharedArrayReceiverStrategy; + } +}); -`:_.result?$=`Result: ${Qe(_.result)} +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.js +var require_semaphore = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.Semaphore = void 0; + var ral_1 = require_ral(); + var Semaphore = class { + constructor(capacity = 1) { + if (capacity <= 0) { + throw new Error("Capacity must be greater than 0"); + } + this._capacity = capacity; + this._active = 0; + this._waiting = []; + } + lock(thunk) { + return new Promise((resolve, reject) => { + this._waiting.push({ thunk, resolve, reject }); + this.runNext(); + }); + } + get active() { + return this._active; + } + runNext() { + if (this._waiting.length === 0 || this._active === this._capacity) { + return; + } + (0, ral_1.default)().timer.setImmediate(() => this.doRunNext()); + } + doRunNext() { + if (this._waiting.length === 0 || this._active === this._capacity) { + return; + } + const next = this._waiting.shift(); + this._active++; + if (this._active > this._capacity) { + throw new Error(`To many thunks active`); + } + try { + const result = next.thunk(); + if (result instanceof Promise) { + result.then((value) => { + this._active--; + next.resolve(value); + this.runNext(); + }, (err) => { + this._active--; + next.reject(err); + this.runNext(); + }); + } else { + this._active--; + next.resolve(result); + this.runNext(); + } + } catch (err) { + this._active--; + next.reject(err); + this.runNext(); + } + } + }; + exports2.Semaphore = Semaphore; + } +}); -`:_.error===void 0&&($=`No result returned. +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.js +var require_messageReader = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ReadableStreamMessageReader = exports2.AbstractMessageReader = exports2.MessageReader = void 0; + var ral_1 = require_ral(); + var Is = require_is2(); + var events_1 = require_events(); + var semaphore_1 = require_semaphore(); + var MessageReader; + (function(MessageReader2) { + function is(value) { + let candidate = value; + return candidate && Is.func(candidate.listen) && Is.func(candidate.dispose) && Is.func(candidate.onError) && Is.func(candidate.onClose) && Is.func(candidate.onPartialMessage); + } + MessageReader2.is = is; + })(MessageReader || (exports2.MessageReader = MessageReader = {})); + var AbstractMessageReader = class { + constructor() { + this.errorEmitter = new events_1.Emitter(); + this.closeEmitter = new events_1.Emitter(); + this.partialMessageEmitter = new events_1.Emitter(); + } + dispose() { + this.errorEmitter.dispose(); + this.closeEmitter.dispose(); + } + get onError() { + return this.errorEmitter.event; + } + fireError(error) { + this.errorEmitter.fire(this.asError(error)); + } + get onClose() { + return this.closeEmitter.event; + } + fireClose() { + this.closeEmitter.fire(void 0); + } + get onPartialMessage() { + return this.partialMessageEmitter.event; + } + firePartialMessage(info) { + this.partialMessageEmitter.fire(info); + } + asError(error) { + if (error instanceof Error) { + return error; + } else { + return new Error(`Reader received error. Reason: ${Is.string(error.message) ? error.message : "unknown"}`); + } + } + }; + exports2.AbstractMessageReader = AbstractMessageReader; + var ResolvedMessageReaderOptions; + (function(ResolvedMessageReaderOptions2) { + function fromOptions(options) { + let charset; + let result; + let contentDecoder; + const contentDecoders = /* @__PURE__ */ new Map(); + let contentTypeDecoder; + const contentTypeDecoders = /* @__PURE__ */ new Map(); + if (options === void 0 || typeof options === "string") { + charset = options ?? "utf-8"; + } else { + charset = options.charset ?? "utf-8"; + if (options.contentDecoder !== void 0) { + contentDecoder = options.contentDecoder; + contentDecoders.set(contentDecoder.name, contentDecoder); + } + if (options.contentDecoders !== void 0) { + for (const decoder of options.contentDecoders) { + contentDecoders.set(decoder.name, decoder); + } + } + if (options.contentTypeDecoder !== void 0) { + contentTypeDecoder = options.contentTypeDecoder; + contentTypeDecoders.set(contentTypeDecoder.name, contentTypeDecoder); + } + if (options.contentTypeDecoders !== void 0) { + for (const decoder of options.contentTypeDecoders) { + contentTypeDecoders.set(decoder.name, decoder); + } + } + } + if (contentTypeDecoder === void 0) { + contentTypeDecoder = (0, ral_1.default)().applicationJson.decoder; + contentTypeDecoders.set(contentTypeDecoder.name, contentTypeDecoder); + } + return { charset, contentDecoder, contentDecoders, contentTypeDecoder, contentTypeDecoders }; + } + ResolvedMessageReaderOptions2.fromOptions = fromOptions; + })(ResolvedMessageReaderOptions || (ResolvedMessageReaderOptions = {})); + var ReadableStreamMessageReader = class extends AbstractMessageReader { + constructor(readable, options) { + super(); + this.readable = readable; + this.options = ResolvedMessageReaderOptions.fromOptions(options); + this.buffer = (0, ral_1.default)().messageBuffer.create(this.options.charset); + this._partialMessageTimeout = 1e4; + this.nextMessageLength = -1; + this.messageToken = 0; + this.readSemaphore = new semaphore_1.Semaphore(1); + } + set partialMessageTimeout(timeout2) { + this._partialMessageTimeout = timeout2; + } + get partialMessageTimeout() { + return this._partialMessageTimeout; + } + listen(callback) { + this.nextMessageLength = -1; + this.messageToken = 0; + this.partialMessageTimer = void 0; + this.callback = callback; + const result = this.readable.onData((data) => { + this.onData(data); + }); + this.readable.onError((error) => this.fireError(error)); + this.readable.onClose(() => this.fireClose()); + return result; + } + onData(data) { + try { + this.buffer.append(data); + while (true) { + if (this.nextMessageLength === -1) { + const headers = this.buffer.tryReadHeaders(true); + if (!headers) { + return; + } + const contentLength = headers.get("content-length"); + if (!contentLength) { + this.fireError(new Error(`Header must provide a Content-Length property. +${JSON.stringify(Object.fromEntries(headers))}`)); + return; + } + const length = parseInt(contentLength); + if (isNaN(length)) { + this.fireError(new Error(`Content-Length value must be a number. Got ${contentLength}`)); + return; + } + this.nextMessageLength = length; + } + const body = this.buffer.tryReadBody(this.nextMessageLength); + if (body === void 0) { + this.setPartialMessageTimer(); + return; + } + this.clearPartialMessageTimer(); + this.nextMessageLength = -1; + this.readSemaphore.lock(async () => { + const bytes = this.options.contentDecoder !== void 0 ? await this.options.contentDecoder.decode(body) : body; + const message = await this.options.contentTypeDecoder.decode(bytes, this.options); + this.callback(message); + }).catch((error) => { + this.fireError(error); + }); + } + } catch (error) { + this.fireError(error); + } + } + clearPartialMessageTimer() { + if (this.partialMessageTimer) { + this.partialMessageTimer.dispose(); + this.partialMessageTimer = void 0; + } + } + setPartialMessageTimer() { + this.clearPartialMessageTimer(); + if (this._partialMessageTimeout <= 0) { + return; + } + this.partialMessageTimer = (0, ral_1.default)().timer.setTimeout((token, timeout2) => { + this.partialMessageTimer = void 0; + if (token === this.messageToken) { + this.firePartialMessage({ messageToken: token, waitingTime: timeout2 }); + this.setPartialMessageTimer(); + } + }, this._partialMessageTimeout, this.messageToken, this._partialMessageTimeout); + } + }; + exports2.ReadableStreamMessageReader = ReadableStreamMessageReader; + } +}); -`)),I){let W=_.error?` Request failed: ${_.error.message} (${_.error.code}).`:"";X.log(`Received response '${I.method} - (${_.id})' in ${Date.now()-I.timerStart}ms.${W}`,$)}else X.log(`Received response ${_.id} without active response promise.`,$)}else Xe("receive-response",_)}function Xe(_,I){if(!X||M===be.Off)return;let $={isLSPMessage:!0,type:_,message:I,timestamp:Date.now()};X.log($)}function ht(){if(xe())throw new qr(ui.Closed,"Connection is closed.");if(Tt())throw new qr(ui.Disposed,"Connection is disposed.")}function ut(){if(pn())throw new qr(ui.AlreadyListening,"Connection is already listening")}function Lt(){if(!pn())throw new Error("Call listen() first.")}function Pt(_){return _===void 0?null:_}function _n(_){if(_!==null)return _}function qn(_){return _!=null&&!Array.isArray(_)&&typeof _=="object"}function on(_,I){switch(_){case Q.ParameterStructures.auto:return qn(I)?_n(I):[Pt(I)];case Q.ParameterStructures.byName:if(!qn(I))throw new Error("Received parameters by name but param is not an object literal.");return _n(I);case Q.ParameterStructures.byPosition:return[Pt(I)];default:throw new Error(`Unknown parameter structure ${_.toString()}`)}}function kn(_,I){let $,W=_.numberOfParams;switch(W){case 0:$=void 0;break;case 1:$=on(_.parameterStructures,I[0]);break;default:$=[];for(let ye=0;ye{ht();let $,W;if(je.string(_)){$=_;let ge=I[0],we=0,Te=Q.ParameterStructures.auto;Q.ParameterStructures.is(ge)&&(we=1,Te=ge);let oe=I.length,Ce=oe-we;switch(Ce){case 0:W=void 0;break;case 1:W=on(Te,I[we]);break;default:if(Te===Q.ParameterStructures.byName)throw new Error(`Received ${Ce} parameters for 'by Name' notification parameter structure.`);W=I.slice(we,oe).map(de=>Pt(de));break}}else{let ge=I;$=_.method,W=kn(_,ge)}let ye={jsonrpc:u,method:$,params:W};return sn(ye),e.write(ye).catch(ge=>{throw i.error("Sending notification failed."),ge})},onNotification:(_,I)=>{ht();let $;return je.func(_)?v=_:I&&(je.string(_)?($=_,m.set(_,{type:void 0,handler:I})):($=_.method,m.set(_.method,{type:_,handler:I}))),{dispose:()=>{$!==void 0?m.delete($):v=void 0}}},onProgress:(_,I,$)=>{if(R.has(I))throw new Error(`Progress handler for token ${I} already registered`);return R.set(I,$),{dispose:()=>{R.delete(I)}}},sendProgress:(_,I,$)=>Dt.sendNotification(ci.type,{token:I,value:$}),onUnhandledProgress:Ge.event,sendRequest:(_,...I)=>{ht(),Lt();let $,W,ye;if(je.string(_)){$=_;let oe=I[0],Ce=I[I.length-1],de=0,Pe=Q.ParameterStructures.auto;Q.ParameterStructures.is(oe)&&(de=1,Pe=oe);let Ke=I.length;La.CancellationToken.is(Ce)&&(Ke=Ke-1,ye=Ce);let tt=Ke-de;switch(tt){case 0:W=void 0;break;case 1:W=on(Pe,I[de]);break;default:if(Pe===Q.ParameterStructures.byName)throw new Error(`Received ${tt} parameters for 'by Name' request parameter structure.`);W=I.slice(de,Ke).map(Un=>Pt(Un));break}}else{let oe=I;$=_.method,W=kn(_,oe);let Ce=_.numberOfParams;ye=La.CancellationToken.is(oe[Ce])?oe[Ce]:void 0}let ge=s++,we;ye&&(we=ye.onCancellationRequested(()=>{let oe=Je.sender.sendCancellation(Dt,ge);return oe===void 0?(i.log(`Received no promise from cancellation strategy when cancelling id ${ge}`),Promise.resolve()):oe.catch(()=>{i.log(`Sending cancellation messages for id ${ge} failed`)})}));let Te={jsonrpc:u,id:ge,method:$,params:W};return En(Te),typeof Je.sender.enableCancellation=="function"&&Je.sender.enableCancellation(Te),new Promise(async(oe,Ce)=>{let de=tt=>{oe(tt),Je.sender.cleanup(ge),we?.dispose()},Pe=tt=>{Ce(tt),Je.sender.cleanup(ge),we?.dispose()},Ke={method:$,timerStart:Date.now(),resolve:de,reject:Pe};try{await e.write(Te),q.set(ge,Ke)}catch(tt){throw i.error("Sending request failed."),Ke.reject(new Q.ResponseError(Q.ErrorCodes.MessageWriteError,tt.message?tt.message:"Unknown reason")),tt}})},onRequest:(_,I)=>{ht();let $=null;return $a.is(_)?($=void 0,h=_):je.string(_)?($=null,I!==void 0&&($=_,p.set(_,{handler:I,type:void 0}))):I!==void 0&&($=_.method,p.set(_.method,{type:_,handler:I})),{dispose:()=>{$!==null&&($!==void 0?p.delete($):h=void 0)}}},hasPendingResponse:()=>q.size>0,trace:async(_,I,$)=>{let W=!1,ye=jt.Text;$!==void 0&&(je.boolean($)?W=$:(W=$.sendNotification||!1,ye=$.traceFormat||jt.Text)),M=_,H=ye,M===be.Off?X=void 0:X=I,W&&!xe()&&!Tt()&&await Dt.sendNotification(Ha.type,{value:be.toString(_)})},onError:B.event,onClose:Z.event,onUnhandledNotification:ae.event,onDispose:We.event,end:()=>{e.end()},dispose:()=>{if(Tt())return;le=cn.Disposed,We.fire(void 0);let _=new Q.ResponseError(Q.ErrorCodes.PendingResponseRejected,"Pending response rejected since connection got disposed");for(let I of q.values())I.reject(_);q=new Map,L=new Map,N=new Set,P=new ef.LinkedMap,je.func(e.dispose)&&e.dispose(),je.func(n.dispose)&&n.dispose()},listen:()=>{ht(),ut(),le=cn.Listening,n.listen($n)},inspect:()=>{(0,Zd.default)().console.log("inspect")}};return Dt.onNotification(ss.type,_=>{if(M===be.Off||!X)return;let I=M===be.Verbose||M===be.Compact;X.log(_.message,I?_.verbose:void 0)}),Dt.onNotification(ci.type,_=>{let I=R.get(_.token);I?I(_.value):Ge.fire(_)}),Dt}re.createMessageConnection=Fv});var ds=k(x=>{"use strict";Object.defineProperty(x,"__esModule",{value:!0});x.ProgressType=x.ProgressToken=x.createMessageConnection=x.NullLogger=x.ConnectionOptions=x.ConnectionStrategy=x.AbstractMessageBuffer=x.WriteableStreamMessageWriter=x.AbstractMessageWriter=x.MessageWriter=x.ReadableStreamMessageReader=x.AbstractMessageReader=x.MessageReader=x.SharedArrayReceiverStrategy=x.SharedArraySenderStrategy=x.CancellationToken=x.CancellationTokenSource=x.Emitter=x.Event=x.Disposable=x.LRUCache=x.Touch=x.LinkedMap=x.ParameterStructures=x.NotificationType9=x.NotificationType8=x.NotificationType7=x.NotificationType6=x.NotificationType5=x.NotificationType4=x.NotificationType3=x.NotificationType2=x.NotificationType1=x.NotificationType0=x.NotificationType=x.ErrorCodes=x.ResponseError=x.RequestType9=x.RequestType8=x.RequestType7=x.RequestType6=x.RequestType5=x.RequestType4=x.RequestType3=x.RequestType2=x.RequestType1=x.RequestType0=x.RequestType=x.Message=x.RAL=void 0;x.MessageStrategy=x.CancellationStrategy=x.CancellationSenderStrategy=x.CancellationReceiverStrategy=x.ConnectionError=x.ConnectionErrors=x.LogTraceNotification=x.SetTraceNotification=x.TraceFormat=x.TraceValues=x.Trace=void 0;var Ie=ga();Object.defineProperty(x,"Message",{enumerable:!0,get:function(){return Ie.Message}});Object.defineProperty(x,"RequestType",{enumerable:!0,get:function(){return Ie.RequestType}});Object.defineProperty(x,"RequestType0",{enumerable:!0,get:function(){return Ie.RequestType0}});Object.defineProperty(x,"RequestType1",{enumerable:!0,get:function(){return Ie.RequestType1}});Object.defineProperty(x,"RequestType2",{enumerable:!0,get:function(){return Ie.RequestType2}});Object.defineProperty(x,"RequestType3",{enumerable:!0,get:function(){return Ie.RequestType3}});Object.defineProperty(x,"RequestType4",{enumerable:!0,get:function(){return Ie.RequestType4}});Object.defineProperty(x,"RequestType5",{enumerable:!0,get:function(){return Ie.RequestType5}});Object.defineProperty(x,"RequestType6",{enumerable:!0,get:function(){return Ie.RequestType6}});Object.defineProperty(x,"RequestType7",{enumerable:!0,get:function(){return Ie.RequestType7}});Object.defineProperty(x,"RequestType8",{enumerable:!0,get:function(){return Ie.RequestType8}});Object.defineProperty(x,"RequestType9",{enumerable:!0,get:function(){return Ie.RequestType9}});Object.defineProperty(x,"ResponseError",{enumerable:!0,get:function(){return Ie.ResponseError}});Object.defineProperty(x,"ErrorCodes",{enumerable:!0,get:function(){return Ie.ErrorCodes}});Object.defineProperty(x,"NotificationType",{enumerable:!0,get:function(){return Ie.NotificationType}});Object.defineProperty(x,"NotificationType0",{enumerable:!0,get:function(){return Ie.NotificationType0}});Object.defineProperty(x,"NotificationType1",{enumerable:!0,get:function(){return Ie.NotificationType1}});Object.defineProperty(x,"NotificationType2",{enumerable:!0,get:function(){return Ie.NotificationType2}});Object.defineProperty(x,"NotificationType3",{enumerable:!0,get:function(){return Ie.NotificationType3}});Object.defineProperty(x,"NotificationType4",{enumerable:!0,get:function(){return Ie.NotificationType4}});Object.defineProperty(x,"NotificationType5",{enumerable:!0,get:function(){return Ie.NotificationType5}});Object.defineProperty(x,"NotificationType6",{enumerable:!0,get:function(){return Ie.NotificationType6}});Object.defineProperty(x,"NotificationType7",{enumerable:!0,get:function(){return Ie.NotificationType7}});Object.defineProperty(x,"NotificationType8",{enumerable:!0,get:function(){return Ie.NotificationType8}});Object.defineProperty(x,"NotificationType9",{enumerable:!0,get:function(){return Ie.NotificationType9}});Object.defineProperty(x,"ParameterStructures",{enumerable:!0,get:function(){return Ie.ParameterStructures}});var Ka=ya();Object.defineProperty(x,"LinkedMap",{enumerable:!0,get:function(){return Ka.LinkedMap}});Object.defineProperty(x,"LRUCache",{enumerable:!0,get:function(){return Ka.LRUCache}});Object.defineProperty(x,"Touch",{enumerable:!0,get:function(){return Ka.Touch}});var Nv=Ud();Object.defineProperty(x,"Disposable",{enumerable:!0,get:function(){return Nv.Disposable}});var sf=Sr();Object.defineProperty(x,"Event",{enumerable:!0,get:function(){return sf.Event}});Object.defineProperty(x,"Emitter",{enumerable:!0,get:function(){return sf.Emitter}});var of=es();Object.defineProperty(x,"CancellationTokenSource",{enumerable:!0,get:function(){return of.CancellationTokenSource}});Object.defineProperty(x,"CancellationToken",{enumerable:!0,get:function(){return of.CancellationToken}});var af=Kd();Object.defineProperty(x,"SharedArraySenderStrategy",{enumerable:!0,get:function(){return af.SharedArraySenderStrategy}});Object.defineProperty(x,"SharedArrayReceiverStrategy",{enumerable:!0,get:function(){return af.SharedArrayReceiverStrategy}});var za=Vd();Object.defineProperty(x,"MessageReader",{enumerable:!0,get:function(){return za.MessageReader}});Object.defineProperty(x,"AbstractMessageReader",{enumerable:!0,get:function(){return za.AbstractMessageReader}});Object.defineProperty(x,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return za.ReadableStreamMessageReader}});var Va=Qd();Object.defineProperty(x,"MessageWriter",{enumerable:!0,get:function(){return Va.MessageWriter}});Object.defineProperty(x,"AbstractMessageWriter",{enumerable:!0,get:function(){return Va.AbstractMessageWriter}});Object.defineProperty(x,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return Va.WriteableStreamMessageWriter}});var Mv=Yd();Object.defineProperty(x,"AbstractMessageBuffer",{enumerable:!0,get:function(){return Mv.AbstractMessageBuffer}});var dt=rf();Object.defineProperty(x,"ConnectionStrategy",{enumerable:!0,get:function(){return dt.ConnectionStrategy}});Object.defineProperty(x,"ConnectionOptions",{enumerable:!0,get:function(){return dt.ConnectionOptions}});Object.defineProperty(x,"NullLogger",{enumerable:!0,get:function(){return dt.NullLogger}});Object.defineProperty(x,"createMessageConnection",{enumerable:!0,get:function(){return dt.createMessageConnection}});Object.defineProperty(x,"ProgressToken",{enumerable:!0,get:function(){return dt.ProgressToken}});Object.defineProperty(x,"ProgressType",{enumerable:!0,get:function(){return dt.ProgressType}});Object.defineProperty(x,"Trace",{enumerable:!0,get:function(){return dt.Trace}});Object.defineProperty(x,"TraceValues",{enumerable:!0,get:function(){return dt.TraceValues}});Object.defineProperty(x,"TraceFormat",{enumerable:!0,get:function(){return dt.TraceFormat}});Object.defineProperty(x,"SetTraceNotification",{enumerable:!0,get:function(){return dt.SetTraceNotification}});Object.defineProperty(x,"LogTraceNotification",{enumerable:!0,get:function(){return dt.LogTraceNotification}});Object.defineProperty(x,"ConnectionErrors",{enumerable:!0,get:function(){return dt.ConnectionErrors}});Object.defineProperty(x,"ConnectionError",{enumerable:!0,get:function(){return dt.ConnectionError}});Object.defineProperty(x,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return dt.CancellationReceiverStrategy}});Object.defineProperty(x,"CancellationSenderStrategy",{enumerable:!0,get:function(){return dt.CancellationSenderStrategy}});Object.defineProperty(x,"CancellationStrategy",{enumerable:!0,get:function(){return dt.CancellationStrategy}});Object.defineProperty(x,"MessageStrategy",{enumerable:!0,get:function(){return dt.MessageStrategy}});var Lv=zn();x.RAL=Lv.default});var lf=k(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});var cf=require("util"),xn=ds(),fs=class n extends xn.AbstractMessageBuffer{constructor(e="utf-8"){super(e)}emptyBuffer(){return n.emptyBuffer}fromString(e,t){return Buffer.from(e,t)}toString(e,t){return e instanceof Buffer?e.toString(t):new cf.TextDecoder(t).decode(e)}asNative(e,t){return t===void 0?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,t):Buffer.from(e,0,t)}allocNative(e){return Buffer.allocUnsafe(e)}};fs.emptyBuffer=Buffer.allocUnsafe(0);var Ba=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),xn.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),xn.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),xn.Disposable.create(()=>this.stream.off("end",e))}onData(e){return this.stream.on("data",e),xn.Disposable.create(()=>this.stream.off("data",e))}},Ga=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),xn.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),xn.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),xn.Disposable.create(()=>this.stream.off("end",e))}write(e,t){return new Promise((r,i)=>{let s=o=>{o==null?r():i(o)};typeof e=="string"?this.stream.write(e,t,s):this.stream.write(e,s)})}end(){this.stream.end()}},uf=Object.freeze({messageBuffer:Object.freeze({create:n=>new fs(n)}),applicationJson:Object.freeze({encoder:Object.freeze({name:"application/json",encode:(n,e)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(n,void 0,0),e.charset))}catch(t){return Promise.reject(t)}}}),decoder:Object.freeze({name:"application/json",decode:(n,e)=>{try{return n instanceof Buffer?Promise.resolve(JSON.parse(n.toString(e.charset))):Promise.resolve(JSON.parse(new cf.TextDecoder(e.charset).decode(n)))}catch(t){return Promise.reject(t)}}})}),stream:Object.freeze({asReadableStream:n=>new Ba(n),asWritableStream:n=>new Ga(n)}),console,timer:Object.freeze({setTimeout(n,e,...t){let r=setTimeout(n,e,...t);return{dispose:()=>clearTimeout(r)}},setImmediate(n,...e){let t=setImmediate(n,...e);return{dispose:()=>clearImmediate(t)}},setInterval(n,e,...t){let r=setInterval(n,e,...t);return{dispose:()=>clearInterval(r)}}})});function Xa(){return uf}(function(n){function e(){xn.RAL.install(uf)}n.install=e})(Xa||(Xa={}));Ja.default=Xa});var ur=k(pe=>{"use strict";var Av=pe&&pe.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,i)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),jv=pe&&pe.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Av(e,n,t)};Object.defineProperty(pe,"__esModule",{value:!0});pe.createMessageConnection=pe.createServerSocketTransport=pe.createClientSocketTransport=pe.createServerPipeTransport=pe.createClientPipeTransport=pe.generateRandomPipeName=pe.StreamMessageWriter=pe.StreamMessageReader=pe.SocketMessageWriter=pe.SocketMessageReader=pe.PortMessageWriter=pe.PortMessageReader=pe.IPCMessageWriter=pe.IPCMessageReader=void 0;var kr=lf();kr.default.install();var df=require("path"),$v=require("os"),Hv=require("crypto"),gs=require("net"),$t=ds();jv(ds(),pe);var Qa=class extends $t.AbstractMessageReader{constructor(e){super(),this.process=e;let t=this.process;t.on("error",r=>this.fireError(r)),t.on("close",()=>this.fireClose())}listen(e){return this.process.on("message",e),$t.Disposable.create(()=>this.process.off("message",e))}};pe.IPCMessageReader=Qa;var Ya=class extends $t.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let t=this.process;t.on("error",r=>this.fireError(r)),t.on("close",()=>this.fireClose)}write(e){try{return typeof this.process.send=="function"&&this.process.send(e,void 0,void 0,t=>{t?(this.errorCount++,this.handleError(t,e)):this.errorCount=0}),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}};pe.IPCMessageWriter=Ya;var Za=class extends $t.AbstractMessageReader{constructor(e){super(),this.onData=new $t.Emitter,e.on("close",()=>this.fireClose),e.on("error",t=>this.fireError(t)),e.on("message",t=>{this.onData.fire(t)})}listen(e){return this.onData.event(e)}};pe.PortMessageReader=Za;var ec=class extends $t.AbstractMessageWriter{constructor(e){super(),this.port=e,this.errorCount=0,e.on("close",()=>this.fireClose()),e.on("error",t=>this.fireError(t))}write(e){try{return this.port.postMessage(e),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}};pe.PortMessageWriter=ec;var ar=class extends $t.ReadableStreamMessageReader{constructor(e,t="utf-8"){super((0,kr.default)().stream.asReadableStream(e),t)}};pe.SocketMessageReader=ar;var cr=class extends $t.WriteableStreamMessageWriter{constructor(e,t){super((0,kr.default)().stream.asWritableStream(e),t),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}};pe.SocketMessageWriter=cr;var hs=class extends $t.ReadableStreamMessageReader{constructor(e,t){super((0,kr.default)().stream.asReadableStream(e),t)}};pe.StreamMessageReader=hs;var ps=class extends $t.WriteableStreamMessageWriter{constructor(e,t){super((0,kr.default)().stream.asWritableStream(e),t)}};pe.StreamMessageWriter=ps;var ff=process.env.XDG_RUNTIME_DIR,Uv=new Map([["linux",107],["darwin",103]]);function Wv(){let n=(0,Hv.randomBytes)(21).toString("hex");if(process.platform==="win32")return`\\\\.\\pipe\\vscode-jsonrpc-${n}-sock`;let e;ff?e=df.join(ff,`vscode-ipc-${n}.sock`):e=df.join($v.tmpdir(),`vscode-${n}.sock`);let t=Uv.get(process.platform);return t!==void 0&&e.length>t&&(0,kr.default)().console.warn(`WARNING: IPC handle "${e}" is longer than ${t} characters.`),e}pe.generateRandomPipeName=Wv;function Kv(n,e="utf-8"){let t,r=new Promise((i,s)=>{t=i});return new Promise((i,s)=>{let o=(0,gs.createServer)(a=>{o.close(),t([new ar(a,e),new cr(a,e)])});o.on("error",s),o.listen(n,()=>{o.removeListener("error",s),i({onConnected:()=>r})})})}pe.createClientPipeTransport=Kv;function zv(n,e="utf-8"){let t=(0,gs.createConnection)(n);return[new ar(t,e),new cr(t,e)]}pe.createServerPipeTransport=zv;function Vv(n,e="utf-8"){let t,r=new Promise((i,s)=>{t=i});return new Promise((i,s)=>{let o=(0,gs.createServer)(a=>{o.close(),t([new ar(a,e),new cr(a,e)])});o.on("error",s),o.listen(n,"127.0.0.1",()=>{o.removeListener("error",s),i({onConnected:()=>r})})})}pe.createClientSocketTransport=Vv;function Bv(n,e="utf-8"){let t=(0,gs.createConnection)(n,"127.0.0.1");return[new ar(t,e),new cr(t,e)]}pe.createServerSocketTransport=Bv;function Gv(n){let e=n;return e.read!==void 0&&e.addListener!==void 0}function Xv(n){let e=n;return e.write!==void 0&&e.addListener!==void 0}function Jv(n,e,t,r){t||(t=$t.NullLogger);let i=Gv(n)?new hs(n):n,s=Xv(e)?new ps(e):e;return $t.ConnectionStrategy.is(r)&&(r={connectionStrategy:r}),(0,$t.createMessageConnection)(i,s,t,r)}pe.createMessageConnection=Jv});var tc=k((sR,hf)=>{"use strict";hf.exports=ur()});var ys=k((pf,ms)=>{(function(n){if(typeof ms=="object"&&typeof ms.exports=="object"){var e=n(require,pf);e!==void 0&&(ms.exports=e)}else typeof define=="function"&&define.amd&&define(["require","exports"],n)})(function(n,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextDocument=e.EOL=e.WorkspaceFolder=e.InlineCompletionContext=e.SelectedCompletionInfo=e.InlineCompletionTriggerKind=e.InlineCompletionList=e.InlineCompletionItem=e.StringValue=e.InlayHint=e.InlayHintLabelPart=e.InlayHintKind=e.InlineValueContext=e.InlineValueEvaluatableExpression=e.InlineValueVariableLookup=e.InlineValueText=e.SemanticTokens=e.SemanticTokenModifiers=e.SemanticTokenTypes=e.SelectionRange=e.DocumentLink=e.FormattingOptions=e.CodeLens=e.CodeAction=e.CodeActionContext=e.CodeActionTriggerKind=e.CodeActionKind=e.DocumentSymbol=e.WorkspaceSymbol=e.SymbolInformation=e.SymbolTag=e.SymbolKind=e.DocumentHighlight=e.DocumentHighlightKind=e.SignatureInformation=e.ParameterInformation=e.Hover=e.MarkedString=e.CompletionList=e.CompletionItem=e.CompletionItemLabelDetails=e.InsertTextMode=e.InsertReplaceEdit=e.CompletionItemTag=e.InsertTextFormat=e.CompletionItemKind=e.MarkupContent=e.MarkupKind=e.TextDocumentItem=e.OptionalVersionedTextDocumentIdentifier=e.VersionedTextDocumentIdentifier=e.TextDocumentIdentifier=e.WorkspaceChange=e.WorkspaceEdit=e.DeleteFile=e.RenameFile=e.CreateFile=e.TextDocumentEdit=e.AnnotatedTextEdit=e.ChangeAnnotationIdentifier=e.ChangeAnnotation=e.TextEdit=e.Command=e.Diagnostic=e.CodeDescription=e.DiagnosticTag=e.DiagnosticSeverity=e.DiagnosticRelatedInformation=e.FoldingRange=e.FoldingRangeKind=e.ColorPresentation=e.ColorInformation=e.Color=e.LocationLink=e.Location=e.Range=e.Position=e.uinteger=e.integer=e.URI=e.DocumentUri=void 0;var t;(function(f){function b(D){return typeof D=="string"}f.is=b})(t||(e.DocumentUri=t={}));var r;(function(f){function b(D){return typeof D=="string"}f.is=b})(r||(e.URI=r={}));var i;(function(f){f.MIN_VALUE=-2147483648,f.MAX_VALUE=2147483647;function b(D){return typeof D=="number"&&f.MIN_VALUE<=D&&D<=f.MAX_VALUE}f.is=b})(i||(e.integer=i={}));var s;(function(f){f.MIN_VALUE=0,f.MAX_VALUE=2147483647;function b(D){return typeof D=="number"&&f.MIN_VALUE<=D&&D<=f.MAX_VALUE}f.is=b})(s||(e.uinteger=s={}));var o;(function(f){function b(g,l){return g===Number.MAX_VALUE&&(g=s.MAX_VALUE),l===Number.MAX_VALUE&&(l=s.MAX_VALUE),{line:g,character:l}}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&S.uinteger(l.line)&&S.uinteger(l.character)}f.is=D})(o||(e.Position=o={}));var a;(function(f){function b(g,l,T,O){if(S.uinteger(g)&&S.uinteger(l)&&S.uinteger(T)&&S.uinteger(O))return{start:o.create(g,l),end:o.create(T,O)};if(o.is(g)&&o.is(l))return{start:g,end:l};throw new Error("Range#create called with invalid arguments[".concat(g,", ").concat(l,", ").concat(T,", ").concat(O,"]"))}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&o.is(l.start)&&o.is(l.end)}f.is=D})(a||(e.Range=a={}));var u;(function(f){function b(g,l){return{uri:g,range:l}}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&a.is(l.range)&&(S.string(l.uri)||S.undefined(l.uri))}f.is=D})(u||(e.Location=u={}));var h;(function(f){function b(g,l,T,O){return{targetUri:g,targetRange:l,targetSelectionRange:T,originSelectionRange:O}}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&a.is(l.targetRange)&&S.string(l.targetUri)&&a.is(l.targetSelectionRange)&&(a.is(l.originSelectionRange)||S.undefined(l.originSelectionRange))}f.is=D})(h||(e.LocationLink=h={}));var p;(function(f){function b(g,l,T,O){return{red:g,green:l,blue:T,alpha:O}}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&S.numberRange(l.red,0,1)&&S.numberRange(l.green,0,1)&&S.numberRange(l.blue,0,1)&&S.numberRange(l.alpha,0,1)}f.is=D})(p||(e.Color=p={}));var v;(function(f){function b(g,l){return{range:g,color:l}}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&a.is(l.range)&&p.is(l.color)}f.is=D})(v||(e.ColorInformation=v={}));var m;(function(f){function b(g,l,T){return{label:g,textEdit:l,additionalTextEdits:T}}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&S.string(l.label)&&(S.undefined(l.textEdit)||X.is(l))&&(S.undefined(l.additionalTextEdits)||S.typedArray(l.additionalTextEdits,X.is))}f.is=D})(m||(e.ColorPresentation=m={}));var R;(function(f){f.Comment="comment",f.Imports="imports",f.Region="region"})(R||(e.FoldingRangeKind=R={}));var y;(function(f){function b(g,l,T,O,ee,Ne){var Ee={startLine:g,endLine:l};return S.defined(T)&&(Ee.startCharacter=T),S.defined(O)&&(Ee.endCharacter=O),S.defined(ee)&&(Ee.kind=ee),S.defined(Ne)&&(Ee.collapsedText=Ne),Ee}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&S.uinteger(l.startLine)&&S.uinteger(l.startLine)&&(S.undefined(l.startCharacter)||S.uinteger(l.startCharacter))&&(S.undefined(l.endCharacter)||S.uinteger(l.endCharacter))&&(S.undefined(l.kind)||S.string(l.kind))}f.is=D})(y||(e.FoldingRange=y={}));var P;(function(f){function b(g,l){return{location:g,message:l}}f.create=b;function D(g){var l=g;return S.defined(l)&&u.is(l.location)&&S.string(l.message)}f.is=D})(P||(e.DiagnosticRelatedInformation=P={}));var q;(function(f){f.Error=1,f.Warning=2,f.Information=3,f.Hint=4})(q||(e.DiagnosticSeverity=q={}));var N;(function(f){f.Unnecessary=1,f.Deprecated=2})(N||(e.DiagnosticTag=N={}));var L;(function(f){function b(D){var g=D;return S.objectLiteral(g)&&S.string(g.href)}f.is=b})(L||(e.CodeDescription=L={}));var M;(function(f){function b(g,l,T,O,ee,Ne){var Ee={range:g,message:l};return S.defined(T)&&(Ee.severity=T),S.defined(O)&&(Ee.code=O),S.defined(ee)&&(Ee.source=ee),S.defined(Ne)&&(Ee.relatedInformation=Ne),Ee}f.create=b;function D(g){var l,T=g;return S.defined(T)&&a.is(T.range)&&S.string(T.message)&&(S.number(T.severity)||S.undefined(T.severity))&&(S.integer(T.code)||S.string(T.code)||S.undefined(T.code))&&(S.undefined(T.codeDescription)||S.string((l=T.codeDescription)===null||l===void 0?void 0:l.href))&&(S.string(T.source)||S.undefined(T.source))&&(S.undefined(T.relatedInformation)||S.typedArray(T.relatedInformation,P.is))}f.is=D})(M||(e.Diagnostic=M={}));var H;(function(f){function b(g,l){for(var T=[],O=2;O0&&(ee.arguments=T),ee}f.create=b;function D(g){var l=g;return S.defined(l)&&S.string(l.title)&&S.string(l.command)}f.is=D})(H||(e.Command=H={}));var X;(function(f){function b(T,O){return{range:T,newText:O}}f.replace=b;function D(T,O){return{range:{start:T,end:T},newText:O}}f.insert=D;function g(T){return{range:T,newText:""}}f.del=g;function l(T){var O=T;return S.objectLiteral(O)&&S.string(O.newText)&&a.is(O.range)}f.is=l})(X||(e.TextEdit=X={}));var le;(function(f){function b(g,l,T){var O={label:g};return l!==void 0&&(O.needsConfirmation=l),T!==void 0&&(O.description=T),O}f.create=b;function D(g){var l=g;return S.objectLiteral(l)&&S.string(l.label)&&(S.boolean(l.needsConfirmation)||l.needsConfirmation===void 0)&&(S.string(l.description)||l.description===void 0)}f.is=D})(le||(e.ChangeAnnotation=le={}));var B;(function(f){function b(D){var g=D;return S.string(g)}f.is=b})(B||(e.ChangeAnnotationIdentifier=B={}));var Z;(function(f){function b(T,O,ee){return{range:T,newText:O,annotationId:ee}}f.replace=b;function D(T,O,ee){return{range:{start:T,end:T},newText:O,annotationId:ee}}f.insert=D;function g(T,O){return{range:T,newText:"",annotationId:O}}f.del=g;function l(T){var O=T;return X.is(O)&&(le.is(O.annotationId)||B.is(O.annotationId))}f.is=l})(Z||(e.AnnotatedTextEdit=Z={}));var ae;(function(f){function b(g,l){return{textDocument:g,edits:l}}f.create=b;function D(g){var l=g;return S.defined(l)&&xe.is(l.textDocument)&&Array.isArray(l.edits)}f.is=D})(ae||(e.TextDocumentEdit=ae={}));var Ge;(function(f){function b(g,l,T){var O={kind:"create",uri:g};return l!==void 0&&(l.overwrite!==void 0||l.ignoreIfExists!==void 0)&&(O.options=l),T!==void 0&&(O.annotationId=T),O}f.create=b;function D(g){var l=g;return l&&l.kind==="create"&&S.string(l.uri)&&(l.options===void 0||(l.options.overwrite===void 0||S.boolean(l.options.overwrite))&&(l.options.ignoreIfExists===void 0||S.boolean(l.options.ignoreIfExists)))&&(l.annotationId===void 0||B.is(l.annotationId))}f.is=D})(Ge||(e.CreateFile=Ge={}));var We;(function(f){function b(g,l,T,O){var ee={kind:"rename",oldUri:g,newUri:l};return T!==void 0&&(T.overwrite!==void 0||T.ignoreIfExists!==void 0)&&(ee.options=T),O!==void 0&&(ee.annotationId=O),ee}f.create=b;function D(g){var l=g;return l&&l.kind==="rename"&&S.string(l.oldUri)&&S.string(l.newUri)&&(l.options===void 0||(l.options.overwrite===void 0||S.boolean(l.options.overwrite))&&(l.options.ignoreIfExists===void 0||S.boolean(l.options.ignoreIfExists)))&&(l.annotationId===void 0||B.is(l.annotationId))}f.is=D})(We||(e.RenameFile=We={}));var Je;(function(f){function b(g,l,T){var O={kind:"delete",uri:g};return l!==void 0&&(l.recursive!==void 0||l.ignoreIfNotExists!==void 0)&&(O.options=l),T!==void 0&&(O.annotationId=T),O}f.create=b;function D(g){var l=g;return l&&l.kind==="delete"&&S.string(l.uri)&&(l.options===void 0||(l.options.recursive===void 0||S.boolean(l.options.recursive))&&(l.options.ignoreIfNotExists===void 0||S.boolean(l.options.ignoreIfNotExists)))&&(l.annotationId===void 0||B.is(l.annotationId))}f.is=D})(Je||(e.DeleteFile=Je={}));var zt;(function(f){function b(D){var g=D;return g&&(g.changes!==void 0||g.documentChanges!==void 0)&&(g.documentChanges===void 0||g.documentChanges.every(function(l){return S.string(l.kind)?Ge.is(l)||We.is(l)||Je.is(l):ae.is(l)}))}f.is=b})(zt||(e.WorkspaceEdit=zt={}));var _t=function(){function f(b,D){this.edits=b,this.changeAnnotations=D}return f.prototype.insert=function(b,D,g){var l,T;if(g===void 0?l=X.insert(b,D):B.is(g)?(T=g,l=Z.insert(b,D,g)):(this.assertChangeAnnotations(this.changeAnnotations),T=this.changeAnnotations.manage(g),l=Z.insert(b,D,T)),this.edits.push(l),T!==void 0)return T},f.prototype.replace=function(b,D,g){var l,T;if(g===void 0?l=X.replace(b,D):B.is(g)?(T=g,l=Z.replace(b,D,g)):(this.assertChangeAnnotations(this.changeAnnotations),T=this.changeAnnotations.manage(g),l=Z.replace(b,D,T)),this.edits.push(l),T!==void 0)return T},f.prototype.delete=function(b,D){var g,l;if(D===void 0?g=X.del(b):B.is(D)?(l=D,g=Z.del(b,D)):(this.assertChangeAnnotations(this.changeAnnotations),l=this.changeAnnotations.manage(D),g=Z.del(b,l)),this.edits.push(g),l!==void 0)return l},f.prototype.add=function(b){this.edits.push(b)},f.prototype.all=function(){return this.edits},f.prototype.clear=function(){this.edits.splice(0,this.edits.length)},f.prototype.assertChangeAnnotations=function(b){if(b===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},f}(),ot=function(){function f(b){this._annotations=b===void 0?Object.create(null):b,this._counter=0,this._size=0}return f.prototype.all=function(){return this._annotations},Object.defineProperty(f.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),f.prototype.manage=function(b,D){var g;if(B.is(b)?g=b:(g=this.nextId(),D=b),this._annotations[g]!==void 0)throw new Error("Id ".concat(g," is already in use."));if(D===void 0)throw new Error("No annotation provided for id ".concat(g));return this._annotations[g]=D,this._size++,g},f.prototype.nextId=function(){return this._counter++,this._counter.toString()},f}(),at=function(){function f(b){var D=this;this._textEditChanges=Object.create(null),b!==void 0?(this._workspaceEdit=b,b.documentChanges?(this._changeAnnotations=new ot(b.changeAnnotations),b.changeAnnotations=this._changeAnnotations.all(),b.documentChanges.forEach(function(g){if(ae.is(g)){var l=new _t(g.edits,D._changeAnnotations);D._textEditChanges[g.textDocument.uri]=l}})):b.changes&&Object.keys(b.changes).forEach(function(g){var l=new _t(b.changes[g]);D._textEditChanges[g]=l})):this._workspaceEdit={}}return Object.defineProperty(f.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),f.prototype.getTextEditChange=function(b){if(xe.is(b)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var D={uri:b.uri,version:b.version},g=this._textEditChanges[D.uri];if(!g){var l=[],T={textDocument:D,edits:l};this._workspaceEdit.documentChanges.push(T),g=new _t(l,this._changeAnnotations),this._textEditChanges[D.uri]=g}return g}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var g=this._textEditChanges[b];if(!g){var l=[];this._workspaceEdit.changes[b]=l,g=new _t(l),this._textEditChanges[b]=g}return g}},f.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ot,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},f.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},f.prototype.createFile=function(b,D,g){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var l;le.is(D)||B.is(D)?l=D:g=D;var T,O;if(l===void 0?T=Ge.create(b,g):(O=B.is(l)?l:this._changeAnnotations.manage(l),T=Ge.create(b,g,O)),this._workspaceEdit.documentChanges.push(T),O!==void 0)return O},f.prototype.renameFile=function(b,D,g,l){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var T;le.is(g)||B.is(g)?T=g:l=g;var O,ee;if(T===void 0?O=We.create(b,D,l):(ee=B.is(T)?T:this._changeAnnotations.manage(T),O=We.create(b,D,l,ee)),this._workspaceEdit.documentChanges.push(O),ee!==void 0)return ee},f.prototype.deleteFile=function(b,D,g){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var l;le.is(D)||B.is(D)?l=D:g=D;var T,O;if(l===void 0?T=Je.create(b,g):(O=B.is(l)?l:this._changeAnnotations.manage(l),T=Je.create(b,g,O)),this._workspaceEdit.documentChanges.push(T),O!==void 0)return O},f}();e.WorkspaceChange=at;var tn;(function(f){function b(g){return{uri:g}}f.create=b;function D(g){var l=g;return S.defined(l)&&S.string(l.uri)}f.is=D})(tn||(e.TextDocumentIdentifier=tn={}));var pn;(function(f){function b(g,l){return{uri:g,version:l}}f.create=b;function D(g){var l=g;return S.defined(l)&&S.string(l.uri)&&S.integer(l.version)}f.is=D})(pn||(e.VersionedTextDocumentIdentifier=pn={}));var xe;(function(f){function b(g,l){return{uri:g,version:l}}f.create=b;function D(g){var l=g;return S.defined(l)&&S.string(l.uri)&&(l.version===null||S.integer(l.version))}f.is=D})(xe||(e.OptionalVersionedTextDocumentIdentifier=xe={}));var Tt;(function(f){function b(g,l,T,O){return{uri:g,languageId:l,version:T,text:O}}f.create=b;function D(g){var l=g;return S.defined(l)&&S.string(l.uri)&&S.string(l.languageId)&&S.integer(l.version)&&S.string(l.text)}f.is=D})(Tt||(e.TextDocumentItem=Tt={}));var bt;(function(f){f.PlainText="plaintext",f.Markdown="markdown";function b(D){var g=D;return g===f.PlainText||g===f.Markdown}f.is=b})(bt||(e.MarkupKind=bt={}));var ct;(function(f){function b(D){var g=D;return S.objectLiteral(D)&&bt.is(g.kind)&&S.string(g.value)}f.is=b})(ct||(e.MarkupContent=ct={}));var jn;(function(f){f.Text=1,f.Method=2,f.Function=3,f.Constructor=4,f.Field=5,f.Variable=6,f.Class=7,f.Interface=8,f.Module=9,f.Property=10,f.Unit=11,f.Value=12,f.Enum=13,f.Keyword=14,f.Snippet=15,f.Color=16,f.File=17,f.Reference=18,f.Folder=19,f.EnumMember=20,f.Constant=21,f.Struct=22,f.Event=23,f.Operator=24,f.TypeParameter=25})(jn||(e.CompletionItemKind=jn={}));var gn;(function(f){f.PlainText=1,f.Snippet=2})(gn||(e.InsertTextFormat=gn={}));var mn;(function(f){f.Deprecated=1})(mn||(e.CompletionItemTag=mn={}));var Pn;(function(f){function b(g,l,T){return{newText:g,insert:l,replace:T}}f.create=b;function D(g){var l=g;return l&&S.string(l.newText)&&a.is(l.insert)&&a.is(l.replace)}f.is=D})(Pn||(e.InsertReplaceEdit=Pn={}));var $n;(function(f){f.asIs=1,f.adjustIndentation=2})($n||(e.InsertTextMode=$n={}));var yn;(function(f){function b(D){var g=D;return g&&(S.string(g.detail)||g.detail===void 0)&&(S.string(g.description)||g.description===void 0)}f.is=b})(yn||(e.CompletionItemLabelDetails=yn={}));var nn;(function(f){function b(D){return{label:D}}f.create=b})(nn||(e.CompletionItem=nn={}));var rn;(function(f){function b(D,g){return{items:D||[],isIncomplete:!!g}}f.create=b})(rn||(e.CompletionList=rn={}));var vn;(function(f){function b(g){return g.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}f.fromPlainText=b;function D(g){var l=g;return S.string(l)||S.objectLiteral(l)&&S.string(l.language)&&S.string(l.value)}f.is=D})(vn||(e.MarkedString=vn={}));var Qe;(function(f){function b(D){var g=D;return!!g&&S.objectLiteral(g)&&(ct.is(g.contents)||vn.is(g.contents)||S.typedArray(g.contents,vn.is))&&(D.range===void 0||a.is(D.range))}f.is=b})(Qe||(e.Hover=Qe={}));var En;(function(f){function b(D,g){return g?{label:D,documentation:g}:{label:D}}f.create=b})(En||(e.ParameterInformation=En={}));var sn;(function(f){function b(D,g){for(var l=[],T=2;T=0;Et--){var At=Ne[Et],an=T.offsetAt(At.range.start),ue=T.offsetAt(At.range.end);if(ue<=Ee)ee=ee.substring(0,an)+At.newText+ee.substring(ue,ee.length);else throw new Error("Overlapping edit");Ee=an}return ee}f.applyEdits=g;function l(T,O){if(T.length<=1)return T;var ee=T.length/2|0,Ne=T.slice(0,ee),Ee=T.slice(ee);l(Ne,O),l(Ee,O);for(var Et=0,At=0,an=0;Et0&&b.push(D.length),this._lineOffsets=b}return this._lineOffsets},f.prototype.positionAt=function(b){b=Math.max(Math.min(b,this._content.length),0);var D=this.getLineOffsets(),g=0,l=D.length;if(l===0)return o.create(0,b);for(;gb?l=T:g=T+1}var O=g-1;return o.create(O,b-D[O])},f.prototype.offsetAt=function(b){var D=this.getLineOffsets();if(b.line>=D.length)return this._content.length;if(b.line<0)return 0;var g=D[b.line],l=b.line+1"u"}f.undefined=g;function l(ue){return ue===!0||ue===!1}f.boolean=l;function T(ue){return b.call(ue)==="[object String]"}f.string=T;function O(ue){return b.call(ue)==="[object Number]"}f.number=O;function ee(ue,bn,c){return b.call(ue)==="[object Number]"&&bn<=ue&&ue<=c}f.numberRange=ee;function Ne(ue){return b.call(ue)==="[object Number]"&&-2147483648<=ue&&ue<=2147483647}f.integer=Ne;function Ee(ue){return b.call(ue)==="[object Number]"&&0<=ue&&ue<=2147483647}f.uinteger=Ee;function Et(ue){return b.call(ue)==="[object Function]"}f.func=Et;function At(ue){return ue!==null&&typeof ue=="object"}f.objectLiteral=At;function an(ue,bn){return Array.isArray(ue)&&ue.every(bn)}f.typedArray=an})(S||(S={}))})});var Me=k(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt.ProtocolNotificationType=kt.ProtocolNotificationType0=kt.ProtocolRequestType=kt.ProtocolRequestType0=kt.RegistrationType=kt.MessageDirection=void 0;var xr=ur(),gf;(function(n){n.clientToServer="clientToServer",n.serverToClient="serverToClient",n.both="both"})(gf||(kt.MessageDirection=gf={}));var nc=class{constructor(e){this.method=e}};kt.RegistrationType=nc;var rc=class extends xr.RequestType0{constructor(e){super(e)}};kt.ProtocolRequestType0=rc;var ic=class extends xr.RequestType{constructor(e){super(e,xr.ParameterStructures.byName)}};kt.ProtocolRequestType=ic;var sc=class extends xr.NotificationType0{constructor(e){super(e)}};kt.ProtocolNotificationType0=sc;var oc=class extends xr.NotificationType{constructor(e){super(e,xr.ParameterStructures.byName)}};kt.ProtocolNotificationType=oc});var vs=k(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.objectLiteral=Ye.typedArray=Ye.stringArray=Ye.array=Ye.func=Ye.error=Ye.number=Ye.string=Ye.boolean=void 0;function Qv(n){return n===!0||n===!1}Ye.boolean=Qv;function mf(n){return typeof n=="string"||n instanceof String}Ye.string=mf;function Yv(n){return typeof n=="number"||n instanceof Number}Ye.number=Yv;function Zv(n){return n instanceof Error}Ye.error=Zv;function eC(n){return typeof n=="function"}Ye.func=eC;function yf(n){return Array.isArray(n)}Ye.array=yf;function tC(n){return yf(n)&&n.every(e=>mf(e))}Ye.stringArray=tC;function nC(n,e){return Array.isArray(n)&&n.every(e)}Ye.typedArray=nC;function rC(n){return n!==null&&typeof n=="object"}Ye.objectLiteral=rC});var _f=k(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.ImplementationRequest=void 0;var vf=Me(),Cf;(function(n){n.method="textDocument/implementation",n.messageDirection=vf.MessageDirection.clientToServer,n.type=new vf.ProtocolRequestType(n.method)})(Cf||(Cs.ImplementationRequest=Cf={}))});var wf=k(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.TypeDefinitionRequest=void 0;var bf=Me(),Df;(function(n){n.method="textDocument/typeDefinition",n.messageDirection=bf.MessageDirection.clientToServer,n.type=new bf.ProtocolRequestType(n.method)})(Df||(_s.TypeDefinitionRequest=Df={}))});var Tf=k(Ir=>{"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});Ir.DidChangeWorkspaceFoldersNotification=Ir.WorkspaceFoldersRequest=void 0;var bs=Me(),Rf;(function(n){n.method="workspace/workspaceFolders",n.messageDirection=bs.MessageDirection.serverToClient,n.type=new bs.ProtocolRequestType0(n.method)})(Rf||(Ir.WorkspaceFoldersRequest=Rf={}));var Sf;(function(n){n.method="workspace/didChangeWorkspaceFolders",n.messageDirection=bs.MessageDirection.clientToServer,n.type=new bs.ProtocolNotificationType(n.method)})(Sf||(Ir.DidChangeWorkspaceFoldersNotification=Sf={}))});var qf=k(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.ConfigurationRequest=void 0;var Pf=Me(),Ef;(function(n){n.method="workspace/configuration",n.messageDirection=Pf.MessageDirection.serverToClient,n.type=new Pf.ProtocolRequestType(n.method)})(Ef||(Ds.ConfigurationRequest=Ef={}))});var If=k(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});Or.ColorPresentationRequest=Or.DocumentColorRequest=void 0;var ws=Me(),kf;(function(n){n.method="textDocument/documentColor",n.messageDirection=ws.MessageDirection.clientToServer,n.type=new ws.ProtocolRequestType(n.method)})(kf||(Or.DocumentColorRequest=kf={}));var xf;(function(n){n.method="textDocument/colorPresentation",n.messageDirection=ws.MessageDirection.clientToServer,n.type=new ws.ProtocolRequestType(n.method)})(xf||(Or.ColorPresentationRequest=xf={}))});var Nf=k(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});Fr.FoldingRangeRefreshRequest=Fr.FoldingRangeRequest=void 0;var Rs=Me(),Of;(function(n){n.method="textDocument/foldingRange",n.messageDirection=Rs.MessageDirection.clientToServer,n.type=new Rs.ProtocolRequestType(n.method)})(Of||(Fr.FoldingRangeRequest=Of={}));var Ff;(function(n){n.method="workspace/foldingRange/refresh",n.messageDirection=Rs.MessageDirection.serverToClient,n.type=new Rs.ProtocolRequestType0(n.method)})(Ff||(Fr.FoldingRangeRefreshRequest=Ff={}))});var Af=k(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.DeclarationRequest=void 0;var Mf=Me(),Lf;(function(n){n.method="textDocument/declaration",n.messageDirection=Mf.MessageDirection.clientToServer,n.type=new Mf.ProtocolRequestType(n.method)})(Lf||(Ss.DeclarationRequest=Lf={}))});var Hf=k(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.SelectionRangeRequest=void 0;var jf=Me(),$f;(function(n){n.method="textDocument/selectionRange",n.messageDirection=jf.MessageDirection.clientToServer,n.type=new jf.ProtocolRequestType(n.method)})($f||(Ts.SelectionRangeRequest=$f={}))});var zf=k(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.WorkDoneProgressCancelNotification=Gn.WorkDoneProgressCreateRequest=Gn.WorkDoneProgress=void 0;var iC=ur(),Ps=Me(),Uf;(function(n){n.type=new iC.ProgressType;function e(t){return t===n.type}n.is=e})(Uf||(Gn.WorkDoneProgress=Uf={}));var Wf;(function(n){n.method="window/workDoneProgress/create",n.messageDirection=Ps.MessageDirection.serverToClient,n.type=new Ps.ProtocolRequestType(n.method)})(Wf||(Gn.WorkDoneProgressCreateRequest=Wf={}));var Kf;(function(n){n.method="window/workDoneProgress/cancel",n.messageDirection=Ps.MessageDirection.clientToServer,n.type=new Ps.ProtocolNotificationType(n.method)})(Kf||(Gn.WorkDoneProgressCancelNotification=Kf={}))});var Xf=k(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.CallHierarchyOutgoingCallsRequest=Xn.CallHierarchyIncomingCallsRequest=Xn.CallHierarchyPrepareRequest=void 0;var Nr=Me(),Vf;(function(n){n.method="textDocument/prepareCallHierarchy",n.messageDirection=Nr.MessageDirection.clientToServer,n.type=new Nr.ProtocolRequestType(n.method)})(Vf||(Xn.CallHierarchyPrepareRequest=Vf={}));var Bf;(function(n){n.method="callHierarchy/incomingCalls",n.messageDirection=Nr.MessageDirection.clientToServer,n.type=new Nr.ProtocolRequestType(n.method)})(Bf||(Xn.CallHierarchyIncomingCallsRequest=Bf={}));var Gf;(function(n){n.method="callHierarchy/outgoingCalls",n.messageDirection=Nr.MessageDirection.clientToServer,n.type=new Nr.ProtocolRequestType(n.method)})(Gf||(Xn.CallHierarchyOutgoingCallsRequest=Gf={}))});var th=k(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.SemanticTokensRefreshRequest=xt.SemanticTokensRangeRequest=xt.SemanticTokensDeltaRequest=xt.SemanticTokensRequest=xt.SemanticTokensRegistrationType=xt.TokenFormat=void 0;var In=Me(),Jf;(function(n){n.Relative="relative"})(Jf||(xt.TokenFormat=Jf={}));var di;(function(n){n.method="textDocument/semanticTokens",n.type=new In.RegistrationType(n.method)})(di||(xt.SemanticTokensRegistrationType=di={}));var Qf;(function(n){n.method="textDocument/semanticTokens/full",n.messageDirection=In.MessageDirection.clientToServer,n.type=new In.ProtocolRequestType(n.method),n.registrationMethod=di.method})(Qf||(xt.SemanticTokensRequest=Qf={}));var Yf;(function(n){n.method="textDocument/semanticTokens/full/delta",n.messageDirection=In.MessageDirection.clientToServer,n.type=new In.ProtocolRequestType(n.method),n.registrationMethod=di.method})(Yf||(xt.SemanticTokensDeltaRequest=Yf={}));var Zf;(function(n){n.method="textDocument/semanticTokens/range",n.messageDirection=In.MessageDirection.clientToServer,n.type=new In.ProtocolRequestType(n.method),n.registrationMethod=di.method})(Zf||(xt.SemanticTokensRangeRequest=Zf={}));var eh;(function(n){n.method="workspace/semanticTokens/refresh",n.messageDirection=In.MessageDirection.serverToClient,n.type=new In.ProtocolRequestType0(n.method)})(eh||(xt.SemanticTokensRefreshRequest=eh={}))});var ih=k(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.ShowDocumentRequest=void 0;var nh=Me(),rh;(function(n){n.method="window/showDocument",n.messageDirection=nh.MessageDirection.serverToClient,n.type=new nh.ProtocolRequestType(n.method)})(rh||(Es.ShowDocumentRequest=rh={}))});var ah=k(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.LinkedEditingRangeRequest=void 0;var sh=Me(),oh;(function(n){n.method="textDocument/linkedEditingRange",n.messageDirection=sh.MessageDirection.clientToServer,n.type=new sh.ProtocolRequestType(n.method)})(oh||(qs.LinkedEditingRangeRequest=oh={}))});var gh=k(mt=>{"use strict";Object.defineProperty(mt,"__esModule",{value:!0});mt.WillDeleteFilesRequest=mt.DidDeleteFilesNotification=mt.DidRenameFilesNotification=mt.WillRenameFilesRequest=mt.DidCreateFilesNotification=mt.WillCreateFilesRequest=mt.FileOperationPatternKind=void 0;var Xt=Me(),ch;(function(n){n.file="file",n.folder="folder"})(ch||(mt.FileOperationPatternKind=ch={}));var uh;(function(n){n.method="workspace/willCreateFiles",n.messageDirection=Xt.MessageDirection.clientToServer,n.type=new Xt.ProtocolRequestType(n.method)})(uh||(mt.WillCreateFilesRequest=uh={}));var lh;(function(n){n.method="workspace/didCreateFiles",n.messageDirection=Xt.MessageDirection.clientToServer,n.type=new Xt.ProtocolNotificationType(n.method)})(lh||(mt.DidCreateFilesNotification=lh={}));var dh;(function(n){n.method="workspace/willRenameFiles",n.messageDirection=Xt.MessageDirection.clientToServer,n.type=new Xt.ProtocolRequestType(n.method)})(dh||(mt.WillRenameFilesRequest=dh={}));var fh;(function(n){n.method="workspace/didRenameFiles",n.messageDirection=Xt.MessageDirection.clientToServer,n.type=new Xt.ProtocolNotificationType(n.method)})(fh||(mt.DidRenameFilesNotification=fh={}));var hh;(function(n){n.method="workspace/didDeleteFiles",n.messageDirection=Xt.MessageDirection.clientToServer,n.type=new Xt.ProtocolNotificationType(n.method)})(hh||(mt.DidDeleteFilesNotification=hh={}));var ph;(function(n){n.method="workspace/willDeleteFiles",n.messageDirection=Xt.MessageDirection.clientToServer,n.type=new Xt.ProtocolRequestType(n.method)})(ph||(mt.WillDeleteFilesRequest=ph={}))});var _h=k(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.MonikerRequest=Jn.MonikerKind=Jn.UniquenessLevel=void 0;var mh=Me(),yh;(function(n){n.document="document",n.project="project",n.group="group",n.scheme="scheme",n.global="global"})(yh||(Jn.UniquenessLevel=yh={}));var vh;(function(n){n.$import="import",n.$export="export",n.local="local"})(vh||(Jn.MonikerKind=vh={}));var Ch;(function(n){n.method="textDocument/moniker",n.messageDirection=mh.MessageDirection.clientToServer,n.type=new mh.ProtocolRequestType(n.method)})(Ch||(Jn.MonikerRequest=Ch={}))});var Rh=k(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.TypeHierarchySubtypesRequest=Qn.TypeHierarchySupertypesRequest=Qn.TypeHierarchyPrepareRequest=void 0;var Mr=Me(),bh;(function(n){n.method="textDocument/prepareTypeHierarchy",n.messageDirection=Mr.MessageDirection.clientToServer,n.type=new Mr.ProtocolRequestType(n.method)})(bh||(Qn.TypeHierarchyPrepareRequest=bh={}));var Dh;(function(n){n.method="typeHierarchy/supertypes",n.messageDirection=Mr.MessageDirection.clientToServer,n.type=new Mr.ProtocolRequestType(n.method)})(Dh||(Qn.TypeHierarchySupertypesRequest=Dh={}));var wh;(function(n){n.method="typeHierarchy/subtypes",n.messageDirection=Mr.MessageDirection.clientToServer,n.type=new Mr.ProtocolRequestType(n.method)})(wh||(Qn.TypeHierarchySubtypesRequest=wh={}))});var Ph=k(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.InlineValueRefreshRequest=Lr.InlineValueRequest=void 0;var ks=Me(),Sh;(function(n){n.method="textDocument/inlineValue",n.messageDirection=ks.MessageDirection.clientToServer,n.type=new ks.ProtocolRequestType(n.method)})(Sh||(Lr.InlineValueRequest=Sh={}));var Th;(function(n){n.method="workspace/inlineValue/refresh",n.messageDirection=ks.MessageDirection.serverToClient,n.type=new ks.ProtocolRequestType0(n.method)})(Th||(Lr.InlineValueRefreshRequest=Th={}))});var xh=k(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.InlayHintRefreshRequest=Yn.InlayHintResolveRequest=Yn.InlayHintRequest=void 0;var Ar=Me(),Eh;(function(n){n.method="textDocument/inlayHint",n.messageDirection=Ar.MessageDirection.clientToServer,n.type=new Ar.ProtocolRequestType(n.method)})(Eh||(Yn.InlayHintRequest=Eh={}));var qh;(function(n){n.method="inlayHint/resolve",n.messageDirection=Ar.MessageDirection.clientToServer,n.type=new Ar.ProtocolRequestType(n.method)})(qh||(Yn.InlayHintResolveRequest=qh={}));var kh;(function(n){n.method="workspace/inlayHint/refresh",n.messageDirection=Ar.MessageDirection.serverToClient,n.type=new Ar.ProtocolRequestType0(n.method)})(kh||(Yn.InlayHintRefreshRequest=kh={}))});var Ah=k(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.DiagnosticRefreshRequest=Jt.WorkspaceDiagnosticRequest=Jt.DocumentDiagnosticRequest=Jt.DocumentDiagnosticReportKind=Jt.DiagnosticServerCancellationData=void 0;var Lh=ur(),sC=vs(),jr=Me(),Ih;(function(n){function e(t){let r=t;return r&&sC.boolean(r.retriggerRequest)}n.is=e})(Ih||(Jt.DiagnosticServerCancellationData=Ih={}));var Oh;(function(n){n.Full="full",n.Unchanged="unchanged"})(Oh||(Jt.DocumentDiagnosticReportKind=Oh={}));var Fh;(function(n){n.method="textDocument/diagnostic",n.messageDirection=jr.MessageDirection.clientToServer,n.type=new jr.ProtocolRequestType(n.method),n.partialResult=new Lh.ProgressType})(Fh||(Jt.DocumentDiagnosticRequest=Fh={}));var Nh;(function(n){n.method="workspace/diagnostic",n.messageDirection=jr.MessageDirection.clientToServer,n.type=new jr.ProtocolRequestType(n.method),n.partialResult=new Lh.ProgressType})(Nh||(Jt.WorkspaceDiagnosticRequest=Nh={}));var Mh;(function(n){n.method="workspace/diagnostic/refresh",n.messageDirection=jr.MessageDirection.serverToClient,n.type=new jr.ProtocolRequestType0(n.method)})(Mh||(Jt.DiagnosticRefreshRequest=Mh={}))});var zh=k(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.DidCloseNotebookDocumentNotification=Ve.DidSaveNotebookDocumentNotification=Ve.DidChangeNotebookDocumentNotification=Ve.NotebookCellArrayChange=Ve.DidOpenNotebookDocumentNotification=Ve.NotebookDocumentSyncRegistrationType=Ve.NotebookDocument=Ve.NotebookCell=Ve.ExecutionSummary=Ve.NotebookCellKind=void 0;var fi=ys(),un=vs(),wn=Me(),ac;(function(n){n.Markup=1,n.Code=2;function e(t){return t===1||t===2}n.is=e})(ac||(Ve.NotebookCellKind=ac={}));var cc;(function(n){function e(i,s){let o={executionOrder:i};return(s===!0||s===!1)&&(o.success=s),o}n.create=e;function t(i){let s=i;return un.objectLiteral(s)&&fi.uinteger.is(s.executionOrder)&&(s.success===void 0||un.boolean(s.success))}n.is=t;function r(i,s){return i===s?!0:i==null||s===null||s===void 0?!1:i.executionOrder===s.executionOrder&&i.success===s.success}n.equals=r})(cc||(Ve.ExecutionSummary=cc={}));var xs;(function(n){function e(s,o){return{kind:s,document:o}}n.create=e;function t(s){let o=s;return un.objectLiteral(o)&&ac.is(o.kind)&&fi.DocumentUri.is(o.document)&&(o.metadata===void 0||un.objectLiteral(o.metadata))}n.is=t;function r(s,o){let a=new Set;return s.document!==o.document&&a.add("document"),s.kind!==o.kind&&a.add("kind"),s.executionSummary!==o.executionSummary&&a.add("executionSummary"),(s.metadata!==void 0||o.metadata!==void 0)&&!i(s.metadata,o.metadata)&&a.add("metadata"),(s.executionSummary!==void 0||o.executionSummary!==void 0)&&!cc.equals(s.executionSummary,o.executionSummary)&&a.add("executionSummary"),a}n.diff=r;function i(s,o){if(s===o)return!0;if(s==null||o===null||o===void 0||typeof s!=typeof o||typeof s!="object")return!1;let a=Array.isArray(s),u=Array.isArray(o);if(a!==u)return!1;if(a&&u){if(s.length!==o.length)return!1;for(let h=0;h{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});Is.InlineCompletionRequest=void 0;var Vh=Me(),Bh;(function(n){n.method="textDocument/inlineCompletion",n.messageDirection=Vh.MessageDirection.clientToServer,n.type=new Vh.ProtocolRequestType(n.method)})(Bh||(Is.InlineCompletionRequest=Bh={}))});var ag=k(C=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});C.WorkspaceSymbolRequest=C.CodeActionResolveRequest=C.CodeActionRequest=C.DocumentSymbolRequest=C.DocumentHighlightRequest=C.ReferencesRequest=C.DefinitionRequest=C.SignatureHelpRequest=C.SignatureHelpTriggerKind=C.HoverRequest=C.CompletionResolveRequest=C.CompletionRequest=C.CompletionTriggerKind=C.PublishDiagnosticsNotification=C.WatchKind=C.RelativePattern=C.FileChangeType=C.DidChangeWatchedFilesNotification=C.WillSaveTextDocumentWaitUntilRequest=C.WillSaveTextDocumentNotification=C.TextDocumentSaveReason=C.DidSaveTextDocumentNotification=C.DidCloseTextDocumentNotification=C.DidChangeTextDocumentNotification=C.TextDocumentContentChangeEvent=C.DidOpenTextDocumentNotification=C.TextDocumentSyncKind=C.TelemetryEventNotification=C.LogMessageNotification=C.ShowMessageRequest=C.ShowMessageNotification=C.MessageType=C.DidChangeConfigurationNotification=C.ExitNotification=C.ShutdownRequest=C.InitializedNotification=C.InitializeErrorCodes=C.InitializeRequest=C.WorkDoneProgressOptions=C.TextDocumentRegistrationOptions=C.StaticRegistrationOptions=C.PositionEncodingKind=C.FailureHandlingKind=C.ResourceOperationKind=C.UnregistrationRequest=C.RegistrationRequest=C.DocumentSelector=C.NotebookCellTextDocumentFilter=C.NotebookDocumentFilter=C.TextDocumentFilter=void 0;C.MonikerRequest=C.MonikerKind=C.UniquenessLevel=C.WillDeleteFilesRequest=C.DidDeleteFilesNotification=C.WillRenameFilesRequest=C.DidRenameFilesNotification=C.WillCreateFilesRequest=C.DidCreateFilesNotification=C.FileOperationPatternKind=C.LinkedEditingRangeRequest=C.ShowDocumentRequest=C.SemanticTokensRegistrationType=C.SemanticTokensRefreshRequest=C.SemanticTokensRangeRequest=C.SemanticTokensDeltaRequest=C.SemanticTokensRequest=C.TokenFormat=C.CallHierarchyPrepareRequest=C.CallHierarchyOutgoingCallsRequest=C.CallHierarchyIncomingCallsRequest=C.WorkDoneProgressCancelNotification=C.WorkDoneProgressCreateRequest=C.WorkDoneProgress=C.SelectionRangeRequest=C.DeclarationRequest=C.FoldingRangeRefreshRequest=C.FoldingRangeRequest=C.ColorPresentationRequest=C.DocumentColorRequest=C.ConfigurationRequest=C.DidChangeWorkspaceFoldersNotification=C.WorkspaceFoldersRequest=C.TypeDefinitionRequest=C.ImplementationRequest=C.ApplyWorkspaceEditRequest=C.ExecuteCommandRequest=C.PrepareRenameRequest=C.RenameRequest=C.PrepareSupportDefaultBehavior=C.DocumentOnTypeFormattingRequest=C.DocumentRangesFormattingRequest=C.DocumentRangeFormattingRequest=C.DocumentFormattingRequest=C.DocumentLinkResolveRequest=C.DocumentLinkRequest=C.CodeLensRefreshRequest=C.CodeLensResolveRequest=C.CodeLensRequest=C.WorkspaceSymbolResolveRequest=void 0;C.InlineCompletionRequest=C.DidCloseNotebookDocumentNotification=C.DidSaveNotebookDocumentNotification=C.DidChangeNotebookDocumentNotification=C.NotebookCellArrayChange=C.DidOpenNotebookDocumentNotification=C.NotebookDocumentSyncRegistrationType=C.NotebookDocument=C.NotebookCell=C.ExecutionSummary=C.NotebookCellKind=C.DiagnosticRefreshRequest=C.WorkspaceDiagnosticRequest=C.DocumentDiagnosticRequest=C.DocumentDiagnosticReportKind=C.DiagnosticServerCancellationData=C.InlayHintRefreshRequest=C.InlayHintResolveRequest=C.InlayHintRequest=C.InlineValueRefreshRequest=C.InlineValueRequest=C.TypeHierarchySupertypesRequest=C.TypeHierarchySubtypesRequest=C.TypeHierarchyPrepareRequest=void 0;var j=Me(),Xh=ys(),rt=vs(),oC=_f();Object.defineProperty(C,"ImplementationRequest",{enumerable:!0,get:function(){return oC.ImplementationRequest}});var aC=wf();Object.defineProperty(C,"TypeDefinitionRequest",{enumerable:!0,get:function(){return aC.TypeDefinitionRequest}});var rg=Tf();Object.defineProperty(C,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return rg.WorkspaceFoldersRequest}});Object.defineProperty(C,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return rg.DidChangeWorkspaceFoldersNotification}});var cC=qf();Object.defineProperty(C,"ConfigurationRequest",{enumerable:!0,get:function(){return cC.ConfigurationRequest}});var ig=If();Object.defineProperty(C,"DocumentColorRequest",{enumerable:!0,get:function(){return ig.DocumentColorRequest}});Object.defineProperty(C,"ColorPresentationRequest",{enumerable:!0,get:function(){return ig.ColorPresentationRequest}});var sg=Nf();Object.defineProperty(C,"FoldingRangeRequest",{enumerable:!0,get:function(){return sg.FoldingRangeRequest}});Object.defineProperty(C,"FoldingRangeRefreshRequest",{enumerable:!0,get:function(){return sg.FoldingRangeRefreshRequest}});var uC=Af();Object.defineProperty(C,"DeclarationRequest",{enumerable:!0,get:function(){return uC.DeclarationRequest}});var lC=Hf();Object.defineProperty(C,"SelectionRangeRequest",{enumerable:!0,get:function(){return lC.SelectionRangeRequest}});var hc=zf();Object.defineProperty(C,"WorkDoneProgress",{enumerable:!0,get:function(){return hc.WorkDoneProgress}});Object.defineProperty(C,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return hc.WorkDoneProgressCreateRequest}});Object.defineProperty(C,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return hc.WorkDoneProgressCancelNotification}});var pc=Xf();Object.defineProperty(C,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return pc.CallHierarchyIncomingCallsRequest}});Object.defineProperty(C,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return pc.CallHierarchyOutgoingCallsRequest}});Object.defineProperty(C,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return pc.CallHierarchyPrepareRequest}});var Hr=th();Object.defineProperty(C,"TokenFormat",{enumerable:!0,get:function(){return Hr.TokenFormat}});Object.defineProperty(C,"SemanticTokensRequest",{enumerable:!0,get:function(){return Hr.SemanticTokensRequest}});Object.defineProperty(C,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return Hr.SemanticTokensDeltaRequest}});Object.defineProperty(C,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return Hr.SemanticTokensRangeRequest}});Object.defineProperty(C,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return Hr.SemanticTokensRefreshRequest}});Object.defineProperty(C,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return Hr.SemanticTokensRegistrationType}});var dC=ih();Object.defineProperty(C,"ShowDocumentRequest",{enumerable:!0,get:function(){return dC.ShowDocumentRequest}});var fC=ah();Object.defineProperty(C,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return fC.LinkedEditingRangeRequest}});var lr=gh();Object.defineProperty(C,"FileOperationPatternKind",{enumerable:!0,get:function(){return lr.FileOperationPatternKind}});Object.defineProperty(C,"DidCreateFilesNotification",{enumerable:!0,get:function(){return lr.DidCreateFilesNotification}});Object.defineProperty(C,"WillCreateFilesRequest",{enumerable:!0,get:function(){return lr.WillCreateFilesRequest}});Object.defineProperty(C,"DidRenameFilesNotification",{enumerable:!0,get:function(){return lr.DidRenameFilesNotification}});Object.defineProperty(C,"WillRenameFilesRequest",{enumerable:!0,get:function(){return lr.WillRenameFilesRequest}});Object.defineProperty(C,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return lr.DidDeleteFilesNotification}});Object.defineProperty(C,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return lr.WillDeleteFilesRequest}});var gc=_h();Object.defineProperty(C,"UniquenessLevel",{enumerable:!0,get:function(){return gc.UniquenessLevel}});Object.defineProperty(C,"MonikerKind",{enumerable:!0,get:function(){return gc.MonikerKind}});Object.defineProperty(C,"MonikerRequest",{enumerable:!0,get:function(){return gc.MonikerRequest}});var mc=Rh();Object.defineProperty(C,"TypeHierarchyPrepareRequest",{enumerable:!0,get:function(){return mc.TypeHierarchyPrepareRequest}});Object.defineProperty(C,"TypeHierarchySubtypesRequest",{enumerable:!0,get:function(){return mc.TypeHierarchySubtypesRequest}});Object.defineProperty(C,"TypeHierarchySupertypesRequest",{enumerable:!0,get:function(){return mc.TypeHierarchySupertypesRequest}});var og=Ph();Object.defineProperty(C,"InlineValueRequest",{enumerable:!0,get:function(){return og.InlineValueRequest}});Object.defineProperty(C,"InlineValueRefreshRequest",{enumerable:!0,get:function(){return og.InlineValueRefreshRequest}});var yc=xh();Object.defineProperty(C,"InlayHintRequest",{enumerable:!0,get:function(){return yc.InlayHintRequest}});Object.defineProperty(C,"InlayHintResolveRequest",{enumerable:!0,get:function(){return yc.InlayHintResolveRequest}});Object.defineProperty(C,"InlayHintRefreshRequest",{enumerable:!0,get:function(){return yc.InlayHintRefreshRequest}});var hi=Ah();Object.defineProperty(C,"DiagnosticServerCancellationData",{enumerable:!0,get:function(){return hi.DiagnosticServerCancellationData}});Object.defineProperty(C,"DocumentDiagnosticReportKind",{enumerable:!0,get:function(){return hi.DocumentDiagnosticReportKind}});Object.defineProperty(C,"DocumentDiagnosticRequest",{enumerable:!0,get:function(){return hi.DocumentDiagnosticRequest}});Object.defineProperty(C,"WorkspaceDiagnosticRequest",{enumerable:!0,get:function(){return hi.WorkspaceDiagnosticRequest}});Object.defineProperty(C,"DiagnosticRefreshRequest",{enumerable:!0,get:function(){return hi.DiagnosticRefreshRequest}});var Rn=zh();Object.defineProperty(C,"NotebookCellKind",{enumerable:!0,get:function(){return Rn.NotebookCellKind}});Object.defineProperty(C,"ExecutionSummary",{enumerable:!0,get:function(){return Rn.ExecutionSummary}});Object.defineProperty(C,"NotebookCell",{enumerable:!0,get:function(){return Rn.NotebookCell}});Object.defineProperty(C,"NotebookDocument",{enumerable:!0,get:function(){return Rn.NotebookDocument}});Object.defineProperty(C,"NotebookDocumentSyncRegistrationType",{enumerable:!0,get:function(){return Rn.NotebookDocumentSyncRegistrationType}});Object.defineProperty(C,"DidOpenNotebookDocumentNotification",{enumerable:!0,get:function(){return Rn.DidOpenNotebookDocumentNotification}});Object.defineProperty(C,"NotebookCellArrayChange",{enumerable:!0,get:function(){return Rn.NotebookCellArrayChange}});Object.defineProperty(C,"DidChangeNotebookDocumentNotification",{enumerable:!0,get:function(){return Rn.DidChangeNotebookDocumentNotification}});Object.defineProperty(C,"DidSaveNotebookDocumentNotification",{enumerable:!0,get:function(){return Rn.DidSaveNotebookDocumentNotification}});Object.defineProperty(C,"DidCloseNotebookDocumentNotification",{enumerable:!0,get:function(){return Rn.DidCloseNotebookDocumentNotification}});var hC=Gh();Object.defineProperty(C,"InlineCompletionRequest",{enumerable:!0,get:function(){return hC.InlineCompletionRequest}});var uc;(function(n){function e(t){let r=t;return rt.string(r)||rt.string(r.language)||rt.string(r.scheme)||rt.string(r.pattern)}n.is=e})(uc||(C.TextDocumentFilter=uc={}));var lc;(function(n){function e(t){let r=t;return rt.objectLiteral(r)&&(rt.string(r.notebookType)||rt.string(r.scheme)||rt.string(r.pattern))}n.is=e})(lc||(C.NotebookDocumentFilter=lc={}));var dc;(function(n){function e(t){let r=t;return rt.objectLiteral(r)&&(rt.string(r.notebook)||lc.is(r.notebook))&&(r.language===void 0||rt.string(r.language))}n.is=e})(dc||(C.NotebookCellTextDocumentFilter=dc={}));var fc;(function(n){function e(t){if(!Array.isArray(t))return!1;for(let r of t)if(!rt.string(r)&&!uc.is(r)&&!dc.is(r))return!1;return!0}n.is=e})(fc||(C.DocumentSelector=fc={}));var Jh;(function(n){n.method="client/registerCapability",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolRequestType(n.method)})(Jh||(C.RegistrationRequest=Jh={}));var Qh;(function(n){n.method="client/unregisterCapability",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolRequestType(n.method)})(Qh||(C.UnregistrationRequest=Qh={}));var Yh;(function(n){n.Create="create",n.Rename="rename",n.Delete="delete"})(Yh||(C.ResourceOperationKind=Yh={}));var Zh;(function(n){n.Abort="abort",n.Transactional="transactional",n.TextOnlyTransactional="textOnlyTransactional",n.Undo="undo"})(Zh||(C.FailureHandlingKind=Zh={}));var ep;(function(n){n.UTF8="utf-8",n.UTF16="utf-16",n.UTF32="utf-32"})(ep||(C.PositionEncodingKind=ep={}));var tp;(function(n){function e(t){let r=t;return r&&rt.string(r.id)&&r.id.length>0}n.hasId=e})(tp||(C.StaticRegistrationOptions=tp={}));var np;(function(n){function e(t){let r=t;return r&&(r.documentSelector===null||fc.is(r.documentSelector))}n.is=e})(np||(C.TextDocumentRegistrationOptions=np={}));var rp;(function(n){function e(r){let i=r;return rt.objectLiteral(i)&&(i.workDoneProgress===void 0||rt.boolean(i.workDoneProgress))}n.is=e;function t(r){let i=r;return i&&rt.boolean(i.workDoneProgress)}n.hasWorkDoneProgress=t})(rp||(C.WorkDoneProgressOptions=rp={}));var ip;(function(n){n.method="initialize",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(ip||(C.InitializeRequest=ip={}));var sp;(function(n){n.unknownProtocolVersion=1})(sp||(C.InitializeErrorCodes=sp={}));var op;(function(n){n.method="initialized",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType(n.method)})(op||(C.InitializedNotification=op={}));var ap;(function(n){n.method="shutdown",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType0(n.method)})(ap||(C.ShutdownRequest=ap={}));var cp;(function(n){n.method="exit",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType0(n.method)})(cp||(C.ExitNotification=cp={}));var up;(function(n){n.method="workspace/didChangeConfiguration",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType(n.method)})(up||(C.DidChangeConfigurationNotification=up={}));var lp;(function(n){n.Error=1,n.Warning=2,n.Info=3,n.Log=4,n.Debug=5})(lp||(C.MessageType=lp={}));var dp;(function(n){n.method="window/showMessage",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolNotificationType(n.method)})(dp||(C.ShowMessageNotification=dp={}));var fp;(function(n){n.method="window/showMessageRequest",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolRequestType(n.method)})(fp||(C.ShowMessageRequest=fp={}));var hp;(function(n){n.method="window/logMessage",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolNotificationType(n.method)})(hp||(C.LogMessageNotification=hp={}));var pp;(function(n){n.method="telemetry/event",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolNotificationType(n.method)})(pp||(C.TelemetryEventNotification=pp={}));var gp;(function(n){n.None=0,n.Full=1,n.Incremental=2})(gp||(C.TextDocumentSyncKind=gp={}));var mp;(function(n){n.method="textDocument/didOpen",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType(n.method)})(mp||(C.DidOpenTextDocumentNotification=mp={}));var yp;(function(n){function e(r){let i=r;return i!=null&&typeof i.text=="string"&&i.range!==void 0&&(i.rangeLength===void 0||typeof i.rangeLength=="number")}n.isIncremental=e;function t(r){let i=r;return i!=null&&typeof i.text=="string"&&i.range===void 0&&i.rangeLength===void 0}n.isFull=t})(yp||(C.TextDocumentContentChangeEvent=yp={}));var vp;(function(n){n.method="textDocument/didChange",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType(n.method)})(vp||(C.DidChangeTextDocumentNotification=vp={}));var Cp;(function(n){n.method="textDocument/didClose",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType(n.method)})(Cp||(C.DidCloseTextDocumentNotification=Cp={}));var _p;(function(n){n.method="textDocument/didSave",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType(n.method)})(_p||(C.DidSaveTextDocumentNotification=_p={}));var bp;(function(n){n.Manual=1,n.AfterDelay=2,n.FocusOut=3})(bp||(C.TextDocumentSaveReason=bp={}));var Dp;(function(n){n.method="textDocument/willSave",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType(n.method)})(Dp||(C.WillSaveTextDocumentNotification=Dp={}));var wp;(function(n){n.method="textDocument/willSaveWaitUntil",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(wp||(C.WillSaveTextDocumentWaitUntilRequest=wp={}));var Rp;(function(n){n.method="workspace/didChangeWatchedFiles",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolNotificationType(n.method)})(Rp||(C.DidChangeWatchedFilesNotification=Rp={}));var Sp;(function(n){n.Created=1,n.Changed=2,n.Deleted=3})(Sp||(C.FileChangeType=Sp={}));var Tp;(function(n){function e(t){let r=t;return rt.objectLiteral(r)&&(Xh.URI.is(r.baseUri)||Xh.WorkspaceFolder.is(r.baseUri))&&rt.string(r.pattern)}n.is=e})(Tp||(C.RelativePattern=Tp={}));var Pp;(function(n){n.Create=1,n.Change=2,n.Delete=4})(Pp||(C.WatchKind=Pp={}));var Ep;(function(n){n.method="textDocument/publishDiagnostics",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolNotificationType(n.method)})(Ep||(C.PublishDiagnosticsNotification=Ep={}));var qp;(function(n){n.Invoked=1,n.TriggerCharacter=2,n.TriggerForIncompleteCompletions=3})(qp||(C.CompletionTriggerKind=qp={}));var kp;(function(n){n.method="textDocument/completion",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(kp||(C.CompletionRequest=kp={}));var xp;(function(n){n.method="completionItem/resolve",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(xp||(C.CompletionResolveRequest=xp={}));var Ip;(function(n){n.method="textDocument/hover",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Ip||(C.HoverRequest=Ip={}));var Op;(function(n){n.Invoked=1,n.TriggerCharacter=2,n.ContentChange=3})(Op||(C.SignatureHelpTriggerKind=Op={}));var Fp;(function(n){n.method="textDocument/signatureHelp",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Fp||(C.SignatureHelpRequest=Fp={}));var Np;(function(n){n.method="textDocument/definition",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Np||(C.DefinitionRequest=Np={}));var Mp;(function(n){n.method="textDocument/references",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Mp||(C.ReferencesRequest=Mp={}));var Lp;(function(n){n.method="textDocument/documentHighlight",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Lp||(C.DocumentHighlightRequest=Lp={}));var Ap;(function(n){n.method="textDocument/documentSymbol",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Ap||(C.DocumentSymbolRequest=Ap={}));var jp;(function(n){n.method="textDocument/codeAction",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(jp||(C.CodeActionRequest=jp={}));var $p;(function(n){n.method="codeAction/resolve",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})($p||(C.CodeActionResolveRequest=$p={}));var Hp;(function(n){n.method="workspace/symbol",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Hp||(C.WorkspaceSymbolRequest=Hp={}));var Up;(function(n){n.method="workspaceSymbol/resolve",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Up||(C.WorkspaceSymbolResolveRequest=Up={}));var Wp;(function(n){n.method="textDocument/codeLens",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Wp||(C.CodeLensRequest=Wp={}));var Kp;(function(n){n.method="codeLens/resolve",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Kp||(C.CodeLensResolveRequest=Kp={}));var zp;(function(n){n.method="workspace/codeLens/refresh",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolRequestType0(n.method)})(zp||(C.CodeLensRefreshRequest=zp={}));var Vp;(function(n){n.method="textDocument/documentLink",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Vp||(C.DocumentLinkRequest=Vp={}));var Bp;(function(n){n.method="documentLink/resolve",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Bp||(C.DocumentLinkResolveRequest=Bp={}));var Gp;(function(n){n.method="textDocument/formatting",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Gp||(C.DocumentFormattingRequest=Gp={}));var Xp;(function(n){n.method="textDocument/rangeFormatting",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Xp||(C.DocumentRangeFormattingRequest=Xp={}));var Jp;(function(n){n.method="textDocument/rangesFormatting",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Jp||(C.DocumentRangesFormattingRequest=Jp={}));var Qp;(function(n){n.method="textDocument/onTypeFormatting",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Qp||(C.DocumentOnTypeFormattingRequest=Qp={}));var Yp;(function(n){n.Identifier=1})(Yp||(C.PrepareSupportDefaultBehavior=Yp={}));var Zp;(function(n){n.method="textDocument/rename",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(Zp||(C.RenameRequest=Zp={}));var eg;(function(n){n.method="textDocument/prepareRename",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(eg||(C.PrepareRenameRequest=eg={}));var tg;(function(n){n.method="workspace/executeCommand",n.messageDirection=j.MessageDirection.clientToServer,n.type=new j.ProtocolRequestType(n.method)})(tg||(C.ExecuteCommandRequest=tg={}));var ng;(function(n){n.method="workspace/applyEdit",n.messageDirection=j.MessageDirection.serverToClient,n.type=new j.ProtocolRequestType("workspace/applyEdit")})(ng||(C.ApplyWorkspaceEditRequest=ng={}))});var ug=k(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.createProtocolConnection=void 0;var cg=ur();function pC(n,e,t,r){return cg.ConnectionStrategy.is(r)&&(r={connectionStrategy:r}),(0,cg.createMessageConnection)(n,e,t,r)}Os.createProtocolConnection=pC});var dg=k(It=>{"use strict";var gC=It&&It.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,i)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),Fs=It&&It.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&gC(e,n,t)};Object.defineProperty(It,"__esModule",{value:!0});It.LSPErrorCodes=It.createProtocolConnection=void 0;Fs(ur(),It);Fs(ys(),It);Fs(Me(),It);Fs(ag(),It);var mC=ug();Object.defineProperty(It,"createProtocolConnection",{enumerable:!0,get:function(){return mC.createProtocolConnection}});var lg;(function(n){n.lspReservedErrorRangeStart=-32899,n.RequestFailed=-32803,n.ServerCancelled=-32802,n.ContentModified=-32801,n.RequestCancelled=-32800,n.lspReservedErrorRangeEnd=-32800})(lg||(It.LSPErrorCodes=lg={}))});var te=k(Sn=>{"use strict";var yC=Sn&&Sn.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,i)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),fg=Sn&&Sn.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&yC(e,n,t)};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.createProtocolConnection=void 0;var vC=tc();fg(tc(),Sn);fg(dg(),Sn);function CC(n,e,t,r){return(0,vC.createMessageConnection)(n,e,t,r)}Sn.createProtocolConnection=CC});var Ns=k(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.forEach=yt.mapAsync=yt.map=yt.clearTestMode=yt.setTestMode=yt.Semaphore=yt.Delayer=void 0;var gi=te(),vc=class{constructor(e){this.defaultDelay=e,this.timeout=void 0,this.completionPromise=void 0,this.onSuccess=void 0,this.task=void 0}trigger(e,t=this.defaultDelay){return this.task=e,t>=0&&this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise(r=>{this.onSuccess=r}).then(()=>{this.completionPromise=void 0,this.onSuccess=void 0;var r=this.task();return this.task=void 0,r})),(t>=0||this.timeout===void 0)&&(this.timeout=(0,gi.RAL)().timer.setTimeout(()=>{this.timeout=void 0,this.onSuccess(void 0)},t>=0?t:this.defaultDelay)),this.completionPromise}forceDelivery(){if(!this.completionPromise)return;this.cancelTimeout();let e=this.task();return this.completionPromise=void 0,this.onSuccess=void 0,this.task=void 0,e}isTriggered(){return this.timeout!==void 0}cancel(){this.cancelTimeout(),this.completionPromise=void 0}cancelTimeout(){this.timeout!==void 0&&(this.timeout.dispose(),this.timeout=void 0)}};yt.Delayer=vc;var Cc=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,r)=>{this._waiting.push({thunk:e,resolve:t,reject:r}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,gi.RAL)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let t=e.thunk();t instanceof Promise?t.then(r=>{this._active--,e.resolve(r),this.runNext()},r=>{this._active--,e.reject(r),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}};yt.Semaphore=Cc;var _c=!1;function _C(){_c=!0}yt.setTestMode=_C;function bC(){_c=!1}yt.clearTestMode=bC;var hg=15,pi=class{constructor(e=hg){this.yieldAfter=_c===!0?Math.max(e,2):Math.max(e,hg),this.startTime=Date.now(),this.counter=0,this.total=0,this.counterInterval=1}start(){this.counter=0,this.total=0,this.counterInterval=1,this.startTime=Date.now()}shouldYield(){if(++this.counter>=this.counterInterval){let e=Date.now()-this.startTime,t=Math.max(0,this.yieldAfter-e);if(this.total+=this.counter,this.counter=0,e>=this.yieldAfter||t<=1)return this.counterInterval=1,this.total=0,!0;switch(e){case 0:case 1:this.counterInterval=this.total*2;break}}return!1}};async function DC(n,e,t,r){if(n.length===0)return[];let i=new Array(n.length),s=new pi(r?.yieldAfter);function o(u){s.start();for(let h=u;h{(0,gi.RAL)().timer.setImmediate(()=>{u(o(a))})});return i}yt.map=DC;async function wC(n,e,t,r){if(n.length===0)return[];let i=new Array(n.length),s=new pi(r?.yieldAfter);async function o(u){s.start();for(let h=u;h{(0,gi.RAL)().timer.setImmediate(()=>{u(o(a))})});return i}yt.mapAsync=wC;async function RC(n,e,t,r){if(n.length===0)return;let i=new pi(r?.yieldAfter);function s(a){i.start();for(let u=a;u{(0,gi.RAL)().timer.setImmediate(()=>{a(s(o))})})}yt.forEach=RC});var wc=k(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});var SC=require("vscode"),bc=class extends SC.CompletionItem{constructor(e){super(e)}};Dc.default=bc});var Tc=k(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});var TC=require("vscode"),Rc=class extends TC.CodeLens{constructor(e){super(e)}};Sc.default=Rc});var qc=k(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});var PC=require("vscode"),Pc=class extends PC.DocumentLink{constructor(e,t){super(e,t)}};Ec.default=Pc});var Ic=k(xc=>{"use strict";Object.defineProperty(xc,"__esModule",{value:!0});var EC=require("vscode"),kc=class extends EC.CodeAction{constructor(e,t){super(e),this.data=t}};xc.default=kc});var Nc=k(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.ProtocolDiagnostic=Ur.DiagnosticCode=void 0;var qC=require("vscode"),Oc=Gt(),pg;(function(n){function e(t){let r=t;return r!=null&&(Oc.number(r.value)||Oc.string(r.value))&&Oc.string(r.target)}n.is=e})(pg||(Ur.DiagnosticCode=pg={}));var Fc=class extends qC.Diagnostic{constructor(e,t,r,i){super(e,t,r),this.data=i,this.hasDiagnosticCode=!1}};Ur.ProtocolDiagnostic=Fc});var Ac=k(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});var kC=require("vscode"),Mc=class extends kC.CallHierarchyItem{constructor(e,t,r,i,s,o,a){super(e,t,r,i,s,o),a!==void 0&&(this.data=a)}};Lc.default=Mc});var Hc=k($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});var xC=require("vscode"),jc=class extends xC.TypeHierarchyItem{constructor(e,t,r,i,s,o,a){super(e,t,r,i,s,o),a!==void 0&&(this.data=a)}};$c.default=jc});var Kc=k(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});var Ms=require("vscode"),Uc=class extends Ms.SymbolInformation{constructor(e,t,r,i,s){let o=!(i instanceof Ms.Uri);super(e,t,r,o?i:new Ms.Location(i,new Ms.Range(0,0,0,0))),this.hasRange=o,s!==void 0&&(this.data=s)}};Wc.default=Uc});var Bc=k(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});var IC=require("vscode"),zc=class extends IC.InlayHint{constructor(e,t,r){super(e,t,r)}};Vc.default=zc});var vg=k(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.createConverter=void 0;var Ze=require("vscode"),ne=te(),dr=Gt(),gg=Ns(),OC=wc(),FC=Tc(),NC=qc(),mg=Ic(),yg=Nc(),MC=Ac(),LC=Hc(),AC=Kc(),jC=Bc(),Gc;(function(n){function e(t){let r=t;return r&&!!r.inserting&&!!r.replacing}n.is=e})(Gc||(Gc={}));function $C(n){let t=n||(d=>d.toString());function r(d){return t(d)}function i(d){return{uri:t(d.uri)}}function s(d){return{uri:t(d.uri),languageId:d.languageId,version:d.version,text:d.getText()}}function o(d){return{uri:t(d.uri),version:d.version}}function a(d){return{textDocument:s(d)}}function u(d){let E=d;return!!E.document&&!!E.contentChanges}function h(d){let E=d;return!!E.uri&&!!E.version}function p(d,E,V){if(h(d))return{textDocument:{uri:t(d.uri),version:d.version},contentChanges:[{text:d.getText()}]};if(u(d)){let _e=E,S=V;return{textDocument:{uri:t(_e),version:S},contentChanges:d.contentChanges.map(b=>{let D=b.range;return{range:{start:{line:D.start.line,character:D.start.character},end:{line:D.end.line,character:D.end.character}},rangeLength:b.rangeLength,text:b.text}})}}else throw Error("Unsupported text document change parameter")}function v(d){return{textDocument:i(d)}}function m(d,E=!1){let V={textDocument:i(d)};return E&&(V.text=d.getText()),V}function R(d){switch(d){case Ze.TextDocumentSaveReason.Manual:return ne.TextDocumentSaveReason.Manual;case Ze.TextDocumentSaveReason.AfterDelay:return ne.TextDocumentSaveReason.AfterDelay;case Ze.TextDocumentSaveReason.FocusOut:return ne.TextDocumentSaveReason.FocusOut}return ne.TextDocumentSaveReason.Manual}function y(d){return{textDocument:i(d.document),reason:R(d.reason)}}function P(d){return{files:d.files.map(E=>({uri:t(E)}))}}function q(d){return{files:d.files.map(E=>({oldUri:t(E.oldUri),newUri:t(E.newUri)}))}}function N(d){return{files:d.files.map(E=>({uri:t(E)}))}}function L(d){return{files:d.files.map(E=>({uri:t(E)}))}}function M(d){return{files:d.files.map(E=>({oldUri:t(E.oldUri),newUri:t(E.newUri)}))}}function H(d){return{files:d.files.map(E=>({uri:t(E)}))}}function X(d,E){return{textDocument:i(d),position:ot(E)}}function le(d){switch(d){case Ze.CompletionTriggerKind.TriggerCharacter:return ne.CompletionTriggerKind.TriggerCharacter;case Ze.CompletionTriggerKind.TriggerForIncompleteCompletions:return ne.CompletionTriggerKind.TriggerForIncompleteCompletions;default:return ne.CompletionTriggerKind.Invoked}}function B(d,E,V){return{textDocument:i(d),position:ot(E),context:{triggerKind:le(V.triggerKind),triggerCharacter:V.triggerCharacter}}}function Z(d){switch(d){case Ze.SignatureHelpTriggerKind.Invoke:return ne.SignatureHelpTriggerKind.Invoked;case Ze.SignatureHelpTriggerKind.TriggerCharacter:return ne.SignatureHelpTriggerKind.TriggerCharacter;case Ze.SignatureHelpTriggerKind.ContentChange:return ne.SignatureHelpTriggerKind.ContentChange}}function ae(d){return{label:d.label}}function Ge(d){return d.map(ae)}function We(d){return{label:d.label,parameters:Ge(d.parameters)}}function Je(d){return d.map(We)}function zt(d){return d===void 0?d:{signatures:Je(d.signatures),activeSignature:d.activeSignature,activeParameter:d.activeParameter}}function _t(d,E,V){return{textDocument:i(d),position:ot(E),context:{isRetrigger:V.isRetrigger,triggerCharacter:V.triggerCharacter,triggerKind:Z(V.triggerKind),activeSignatureHelp:zt(V.activeSignatureHelp)}}}function ot(d){return{line:d.line,character:d.character}}function at(d){return d==null?d:{line:d.line>ne.uinteger.MAX_VALUE?ne.uinteger.MAX_VALUE:d.line,character:d.character>ne.uinteger.MAX_VALUE?ne.uinteger.MAX_VALUE:d.character}}function tn(d,E){return gg.map(d,at,E)}function pn(d){return d.map(at)}function xe(d){return d==null?d:{start:at(d.start),end:at(d.end)}}function Tt(d){return d.map(xe)}function bt(d){return d==null?d:ne.Location.create(r(d.uri),xe(d.range))}function ct(d){switch(d){case Ze.DiagnosticSeverity.Error:return ne.DiagnosticSeverity.Error;case Ze.DiagnosticSeverity.Warning:return ne.DiagnosticSeverity.Warning;case Ze.DiagnosticSeverity.Information:return ne.DiagnosticSeverity.Information;case Ze.DiagnosticSeverity.Hint:return ne.DiagnosticSeverity.Hint}}function jn(d){if(!d)return;let E=[];for(let V of d){let _e=gn(V);_e!==void 0&&E.push(_e)}return E.length>0?E:void 0}function gn(d){switch(d){case Ze.DiagnosticTag.Unnecessary:return ne.DiagnosticTag.Unnecessary;case Ze.DiagnosticTag.Deprecated:return ne.DiagnosticTag.Deprecated;default:return}}function mn(d){return{message:d.message,location:bt(d.location)}}function Pn(d){return d.map(mn)}function $n(d){if(d!=null)return dr.number(d)||dr.string(d)?d:{value:d.value,target:r(d.target)}}function yn(d){let E=ne.Diagnostic.create(xe(d.range),d.message),V=d instanceof yg.ProtocolDiagnostic?d:void 0;V!==void 0&&V.data!==void 0&&(E.data=V.data);let _e=$n(d.code);return yg.DiagnosticCode.is(_e)?V!==void 0&&V.hasDiagnosticCode?E.code=_e:(E.code=_e.value,E.codeDescription={href:_e.target}):E.code=_e,dr.number(d.severity)&&(E.severity=ct(d.severity)),Array.isArray(d.tags)&&(E.tags=jn(d.tags)),d.relatedInformation&&(E.relatedInformation=Pn(d.relatedInformation)),d.source&&(E.source=d.source),E}function nn(d,E){return d==null?d:gg.map(d,yn,E)}function rn(d){return d==null?d:d.map(yn)}function vn(d,E){switch(d){case"$string":return E;case ne.MarkupKind.PlainText:return{kind:d,value:E};case ne.MarkupKind.Markdown:return{kind:d,value:E.value};default:return`Unsupported Markup content received. Kind is: ${d}`}}function Qe(d){switch(d){case Ze.CompletionItemTag.Deprecated:return ne.CompletionItemTag.Deprecated}}function En(d){if(d===void 0)return d;let E=[];for(let V of d){let _e=Qe(V);_e!==void 0&&E.push(_e)}return E}function sn(d,E){return E!==void 0?E:d+1}function Vt(d,E=!1){let V,_e;dr.string(d.label)?V=d.label:(V=d.label.label,E&&(d.label.detail!==void 0||d.label.description!==void 0)&&(_e={detail:d.label.detail,description:d.label.description}));let S={label:V};_e!==void 0&&(S.labelDetails=_e);let f=d instanceof OC.default?d:void 0;d.detail&&(S.detail=d.detail),d.documentation&&(!f||f.documentationFormat==="$string"?S.documentation=d.documentation:S.documentation=vn(f.documentationFormat,d.documentation)),d.filterText&&(S.filterText=d.filterText),Hn(S,d),dr.number(d.kind)&&(S.kind=sn(d.kind,f&&f.originalItemKind)),d.sortText&&(S.sortText=d.sortText),d.additionalTextEdits&&(S.additionalTextEdits=Xe(d.additionalTextEdits)),d.commitCharacters&&(S.commitCharacters=d.commitCharacters.slice()),d.command&&(S.command=W(d.command)),(d.preselect===!0||d.preselect===!1)&&(S.preselect=d.preselect);let b=En(d.tags);if(f){if(f.data!==void 0&&(S.data=f.data),f.deprecated===!0||f.deprecated===!1){if(f.deprecated===!0&&b!==void 0&&b.length>0){let D=b.indexOf(Ze.CompletionItemTag.Deprecated);D!==-1&&b.splice(D,1)}S.deprecated=f.deprecated}f.insertTextMode!==void 0&&(S.insertTextMode=f.insertTextMode)}return b!==void 0&&b.length>0&&(S.tags=b),S.insertTextMode===void 0&&d.keepWhitespace===!0&&(S.insertTextMode=ne.InsertTextMode.adjustIndentation),S}function Hn(d,E){let V=ne.InsertTextFormat.PlainText,_e,S;E.textEdit?(_e=E.textEdit.newText,S=E.textEdit.range):E.insertText instanceof Ze.SnippetString?(V=ne.InsertTextFormat.Snippet,_e=E.insertText.value):_e=E.insertText,E.range&&(S=E.range),d.insertTextFormat=V,E.fromEdit&&_e!==void 0&&S!==void 0?d.textEdit=Bt(_e,S):d.insertText=_e}function Bt(d,E){return Gc.is(E)?ne.InsertReplaceEdit.create(d,xe(E.inserting),xe(E.replacing)):{newText:d,range:xe(E)}}function Cn(d){return{range:xe(d.range),newText:d.newText}}function Xe(d){return d==null?d:d.map(Cn)}function ht(d){return d<=Ze.SymbolKind.TypeParameter?d+1:ne.SymbolKind.Property}function ut(d){return d}function Lt(d){return d.map(ut)}function Pt(d,E,V){return{textDocument:i(d),position:ot(E),context:{includeDeclaration:V.includeDeclaration}}}async function _n(d,E){let V=ne.CodeAction.create(d.title);if(d instanceof mg.default&&d.data!==void 0&&(V.data=d.data),d.kind!==void 0&&(V.kind=_(d.kind)),d.diagnostics!==void 0&&(V.diagnostics=await nn(d.diagnostics,E)),d.edit!==void 0)throw new Error("VS Code code actions can only be converted to a protocol code action without an edit.");return d.command!==void 0&&(V.command=W(d.command)),d.isPreferred!==void 0&&(V.isPreferred=d.isPreferred),d.disabled!==void 0&&(V.disabled={reason:d.disabled.reason}),V}function qn(d){let E=ne.CodeAction.create(d.title);if(d instanceof mg.default&&d.data!==void 0&&(E.data=d.data),d.kind!==void 0&&(E.kind=_(d.kind)),d.diagnostics!==void 0&&(E.diagnostics=rn(d.diagnostics)),d.edit!==void 0)throw new Error("VS Code code actions can only be converted to a protocol code action without an edit.");return d.command!==void 0&&(E.command=W(d.command)),d.isPreferred!==void 0&&(E.isPreferred=d.isPreferred),d.disabled!==void 0&&(E.disabled={reason:d.disabled.reason}),E}async function on(d,E){if(d==null)return d;let V;return d.only&&dr.string(d.only.value)&&(V=[d.only.value]),ne.CodeActionContext.create(await nn(d.diagnostics,E),V,Dt(d.triggerKind))}function kn(d){if(d==null)return d;let E;return d.only&&dr.string(d.only.value)&&(E=[d.only.value]),ne.CodeActionContext.create(rn(d.diagnostics),E,Dt(d.triggerKind))}function Dt(d){switch(d){case Ze.CodeActionTriggerKind.Invoke:return ne.CodeActionTriggerKind.Invoked;case Ze.CodeActionTriggerKind.Automatic:return ne.CodeActionTriggerKind.Automatic;default:return}}function _(d){if(d!=null)return d.value}function I(d){return d==null?d:ne.InlineValueContext.create(d.frameId,xe(d.stoppedLocation))}function $(d,E,V){return{context:ne.InlineCompletionContext.create(V.triggerKind,V.selectedCompletionInfo),textDocument:i(d),position:at(E)}}function W(d){let E=ne.Command.create(d.title,d.command);return d.arguments&&(E.arguments=d.arguments),E}function ye(d){let E=ne.CodeLens.create(xe(d.range));return d.command&&(E.command=W(d.command)),d instanceof FC.default&&d.data&&(E.data=d.data),E}function ge(d,E){let V={tabSize:d.tabSize,insertSpaces:d.insertSpaces};return E.trimTrailingWhitespace&&(V.trimTrailingWhitespace=!0),E.trimFinalNewlines&&(V.trimFinalNewlines=!0),E.insertFinalNewline&&(V.insertFinalNewline=!0),V}function we(d){return{textDocument:i(d)}}function Te(d){return{textDocument:i(d)}}function oe(d){let E=ne.DocumentLink.create(xe(d.range));d.target&&(E.target=r(d.target)),d.tooltip!==void 0&&(E.tooltip=d.tooltip);let V=d instanceof NC.default?d:void 0;return V&&V.data&&(E.data=V.data),E}function Ce(d){return{textDocument:i(d)}}function de(d){let E={name:d.name,kind:ht(d.kind),uri:r(d.uri),range:xe(d.range),selectionRange:xe(d.selectionRange)};return d.detail!==void 0&&d.detail.length>0&&(E.detail=d.detail),d.tags!==void 0&&(E.tags=Lt(d.tags)),d instanceof MC.default&&d.data!==void 0&&(E.data=d.data),E}function Pe(d){let E={name:d.name,kind:ht(d.kind),uri:r(d.uri),range:xe(d.range),selectionRange:xe(d.selectionRange)};return d.detail!==void 0&&d.detail.length>0&&(E.detail=d.detail),d.tags!==void 0&&(E.tags=Lt(d.tags)),d instanceof LC.default&&d.data!==void 0&&(E.data=d.data),E}function Ke(d){let E=d instanceof AC.default?{name:d.name,kind:ht(d.kind),location:d.hasRange?bt(d.location):{uri:t(d.location.uri)},data:d.data}:{name:d.name,kind:ht(d.kind),location:bt(d.location)};return d.tags!==void 0&&(E.tags=Lt(d.tags)),d.containerName!==""&&(E.containerName=d.containerName),E}function tt(d){let E=typeof d.label=="string"?d.label:d.label.map(Un),V=ne.InlayHint.create(at(d.position),E);return d.kind!==void 0&&(V.kind=d.kind),d.textEdits!==void 0&&(V.textEdits=Xe(d.textEdits)),d.tooltip!==void 0&&(V.tooltip=Wn(d.tooltip)),d.paddingLeft!==void 0&&(V.paddingLeft=d.paddingLeft),d.paddingRight!==void 0&&(V.paddingRight=d.paddingRight),d instanceof jC.default&&d.data!==void 0&&(V.data=d.data),V}function Un(d){let E=ne.InlayHintLabelPart.create(d.value);return d.location!==void 0&&(E.location=bt(d.location)),d.command!==void 0&&(E.command=W(d.command)),d.tooltip!==void 0&&(E.tooltip=Wn(d.tooltip)),E}function Wn(d){return typeof d=="string"?d:{kind:ne.MarkupKind.Markdown,value:d.value}}return{asUri:r,asTextDocumentIdentifier:i,asTextDocumentItem:s,asVersionedTextDocumentIdentifier:o,asOpenTextDocumentParams:a,asChangeTextDocumentParams:p,asCloseTextDocumentParams:v,asSaveTextDocumentParams:m,asWillSaveTextDocumentParams:y,asDidCreateFilesParams:P,asDidRenameFilesParams:q,asDidDeleteFilesParams:N,asWillCreateFilesParams:L,asWillRenameFilesParams:M,asWillDeleteFilesParams:H,asTextDocumentPositionParams:X,asCompletionParams:B,asSignatureHelpParams:_t,asWorkerPosition:ot,asRange:xe,asRanges:Tt,asPosition:at,asPositions:tn,asPositionsSync:pn,asLocation:bt,asDiagnosticSeverity:ct,asDiagnosticTag:gn,asDiagnostic:yn,asDiagnostics:nn,asDiagnosticsSync:rn,asCompletionItem:Vt,asTextEdit:Cn,asSymbolKind:ht,asSymbolTag:ut,asSymbolTags:Lt,asReferenceParams:Pt,asCodeAction:_n,asCodeActionSync:qn,asCodeActionContext:on,asCodeActionContextSync:kn,asInlineValueContext:I,asCommand:W,asCodeLens:ye,asFormattingOptions:ge,asDocumentSymbolParams:we,asCodeLensParams:Te,asDocumentLink:oe,asDocumentLinkParams:Ce,asCallHierarchyItem:de,asTypeHierarchyItem:Pe,asInlayHint:tt,asWorkspaceSymbol:Ke,asInlineCompletionParams:$}}Ls.createConverter=$C});var bg=k(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.createConverter=void 0;var U=require("vscode"),Y=te(),Qt=Gt(),ve=Ns(),HC=wc(),UC=Tc(),WC=qc(),KC=Ic(),Cg=Nc(),zC=Ac(),VC=Hc(),BC=Kc(),GC=Bc(),_g=te(),As;(function(n){function e(t){let r=t;return r&&Qt.string(r.language)&&Qt.string(r.value)}n.is=e})(As||(As={}));function XC(n,e,t){let i=n||(c=>U.Uri.parse(c));function s(c){return i(c)}function o(c){let w=[];for(let F of c)if(typeof F=="string")w.push(F);else if(_g.NotebookCellTextDocumentFilter.is(F))if(typeof F.notebook=="string")w.push({notebookType:F.notebook,language:F.language});else{let G=F.notebook.notebookType??"*";w.push({notebookType:G,scheme:F.notebook.scheme,pattern:F.notebook.pattern,language:F.language})}else _g.TextDocumentFilter.is(F)&&w.push({language:F.language,scheme:F.scheme,pattern:F.pattern});return w}async function a(c,w){return ve.map(c,h,w)}function u(c){let w=new Array(c.length);for(let F=0;F0?w:void 0}function m(c){switch(c){case Y.DiagnosticTag.Unnecessary:return U.DiagnosticTag.Unnecessary;case Y.DiagnosticTag.Deprecated:return U.DiagnosticTag.Deprecated;default:return}}function R(c){return c?new U.Position(c.line,c.character):void 0}function y(c){return c?new U.Range(c.start.line,c.start.character,c.end.line,c.end.character):void 0}async function P(c,w){return ve.map(c,F=>new U.Range(F.start.line,F.start.character,F.end.line,F.end.character),w)}function q(c){if(c==null)return U.DiagnosticSeverity.Error;switch(c){case Y.DiagnosticSeverity.Error:return U.DiagnosticSeverity.Error;case Y.DiagnosticSeverity.Warning:return U.DiagnosticSeverity.Warning;case Y.DiagnosticSeverity.Information:return U.DiagnosticSeverity.Information;case Y.DiagnosticSeverity.Hint:return U.DiagnosticSeverity.Hint}return U.DiagnosticSeverity.Error}function N(c){if(Qt.string(c))return M(c);if(As.is(c))return M().appendCodeblock(c.value,c.language);if(Array.isArray(c)){let w=[];for(let F of c){let G=M();As.is(F)?G.appendCodeblock(F.value,F.language):G.appendMarkdown(F),w.push(G)}return w}else return M(c)}function L(c){if(Qt.string(c))return c;switch(c.kind){case Y.MarkupKind.Markdown:return M(c.value);case Y.MarkupKind.PlainText:return c.value;default:return`Unsupported Markup content received. Kind is: ${c.kind}`}}function M(c){let w;if(c===void 0||typeof c=="string")w=new U.MarkdownString(c);else switch(c.kind){case Y.MarkupKind.Markdown:w=new U.MarkdownString(c.value);break;case Y.MarkupKind.PlainText:w=new U.MarkdownString,w.appendText(c.value);break;default:w=new U.MarkdownString,w.appendText(`Unsupported Markup content received. Kind is: ${c.kind}`);break}return w.isTrusted=e,w.supportHtml=t,w}function H(c){if(c)return new U.Hover(N(c.contents),y(c.range))}async function X(c,w,F){if(!c)return;if(Array.isArray(c))return ve.map(c,Dn=>Ge(Dn,w),F);let G=c,{defaultRange:nt,commitCharacters:lt}=le(G,w),Se=await ve.map(G.items,Dn=>Ge(Dn,lt,nt,G.itemDefaults?.insertTextMode,G.itemDefaults?.insertTextFormat,G.itemDefaults?.data),F);return new U.CompletionList(Se,G.isIncomplete)}function le(c,w){let F=c.itemDefaults?.editRange,G=c.itemDefaults?.commitCharacters??w;return Y.Range.is(F)?{defaultRange:y(F),commitCharacters:G}:F!==void 0?{defaultRange:{inserting:y(F.insert),replacing:y(F.replace)},commitCharacters:G}:{defaultRange:void 0,commitCharacters:G}}function B(c){return Y.CompletionItemKind.Text<=c&&c<=Y.CompletionItemKind.TypeParameter?[c-1,void 0]:[U.CompletionItemKind.Text,c]}function Z(c){switch(c){case Y.CompletionItemTag.Deprecated:return U.CompletionItemTag.Deprecated}}function ae(c){if(c==null)return[];let w=[];for(let F of c){let G=Z(F);G!==void 0&&w.push(G)}return w}function Ge(c,w,F,G,nt,lt){let Se=ae(c.tags),Dn=We(c),qe=new HC.default(Dn);c.detail&&(qe.detail=c.detail),c.documentation&&(qe.documentation=L(c.documentation),qe.documentationFormat=Qt.string(c.documentation)?"$string":c.documentation.kind),c.filterText&&(qe.filterText=c.filterText);let Wi=Je(c,F,nt);if(Wi&&(qe.insertText=Wi.text,qe.range=Wi.range,qe.fromEdit=Wi.fromEdit),Qt.number(c.kind)){let[Qy,_d]=B(c.kind);qe.kind=Qy,_d&&(qe.originalItemKind=_d)}c.sortText&&(qe.sortText=c.sortText),c.additionalTextEdits&&(qe.additionalTextEdits=at(c.additionalTextEdits));let vd=c.commitCharacters!==void 0?Qt.stringArray(c.commitCharacters)?c.commitCharacters:void 0:w;vd&&(qe.commitCharacters=vd.slice()),c.command&&(qe.command=Xe(c.command)),(c.deprecated===!0||c.deprecated===!1)&&(qe.deprecated=c.deprecated,c.deprecated===!0&&Se.push(U.CompletionItemTag.Deprecated)),(c.preselect===!0||c.preselect===!1)&&(qe.preselect=c.preselect);let Cd=c.data??lt;Cd!==void 0&&(qe.data=Cd),Se.length>0&&(qe.tags=Se);let Lo=c.insertTextMode??G;return Lo!==void 0&&(qe.insertTextMode=Lo,Lo===Y.InsertTextMode.asIs&&(qe.keepWhitespace=!0)),qe}function We(c){return Y.CompletionItemLabelDetails.is(c.labelDetails)?{label:c.label,detail:c.labelDetails.detail,description:c.labelDetails.description}:c.label}function Je(c,w,F){let G=c.insertTextFormat??F;if(c.textEdit!==void 0||w!==void 0){let[nt,lt]=c.textEdit!==void 0?zt(c.textEdit):[w,c.textEditText??c.label];return G===Y.InsertTextFormat.Snippet?{text:new U.SnippetString(lt),range:nt,fromEdit:!0}:{text:lt,range:nt,fromEdit:!0}}else return c.insertText?G===Y.InsertTextFormat.Snippet?{text:new U.SnippetString(c.insertText),fromEdit:!1}:{text:c.insertText,fromEdit:!1}:void 0}function zt(c){return Y.InsertReplaceEdit.is(c)?[{inserting:y(c.insert),replacing:y(c.replace)},c.newText]:[y(c.range),c.newText]}function _t(c){if(c)return new U.TextEdit(y(c.range),c.newText)}async function ot(c,w){if(c)return ve.map(c,_t,w)}function at(c){if(!c)return;let w=new Array(c.length);for(let F=0;F0){let F=[];for(let G of c.children)F.push(Bt(G));w.children=F}return w}function Cn(c,w){c.tags=sn(w.tags),w.deprecated&&(c.tags?c.tags.includes(U.SymbolTag.Deprecated)||(c.tags=c.tags.concat(U.SymbolTag.Deprecated)):c.tags=[U.SymbolTag.Deprecated])}function Xe(c){let w={title:c.title,command:c.command};return c.arguments&&(w.arguments=c.arguments),w}async function ht(c,w){if(c)return ve.map(c,Xe,w)}let ut=new Map;ut.set(Y.CodeActionKind.Empty,U.CodeActionKind.Empty),ut.set(Y.CodeActionKind.QuickFix,U.CodeActionKind.QuickFix),ut.set(Y.CodeActionKind.Refactor,U.CodeActionKind.Refactor),ut.set(Y.CodeActionKind.RefactorExtract,U.CodeActionKind.RefactorExtract),ut.set(Y.CodeActionKind.RefactorInline,U.CodeActionKind.RefactorInline),ut.set(Y.CodeActionKind.RefactorRewrite,U.CodeActionKind.RefactorRewrite),ut.set(Y.CodeActionKind.Source,U.CodeActionKind.Source),ut.set(Y.CodeActionKind.SourceOrganizeImports,U.CodeActionKind.SourceOrganizeImports);function Lt(c){if(c==null)return;let w=ut.get(c);if(w)return w;let F=c.split(".");w=U.CodeActionKind.Empty;for(let G of F)w=w.append(G);return w}function Pt(c){if(c!=null)return c.map(w=>Lt(w))}async function _n(c,w){if(c==null)return;let F=new KC.default(c.title,c.data);return c.kind!==void 0&&(F.kind=Lt(c.kind)),c.diagnostics!==void 0&&(F.diagnostics=u(c.diagnostics)),c.edit!==void 0&&(F.edit=await Dt(c.edit,w)),c.command!==void 0&&(F.command=Xe(c.command)),c.isPreferred!==void 0&&(F.isPreferred=c.isPreferred),c.disabled!==void 0&&(F.disabled={reason:c.disabled.reason}),F}function qn(c,w){return ve.mapAsync(c,async F=>Y.Command.is(F)?Xe(F):_n(F,w),w)}function on(c){if(!c)return;let w=new UC.default(y(c.range));return c.command&&(w.command=Xe(c.command)),c.data!==void 0&&c.data!==null&&(w.data=c.data),w}async function kn(c,w){if(c)return ve.map(c,on,w)}async function Dt(c,w){if(!c)return;let F=new Map;if(c.changeAnnotations!==void 0){let lt=c.changeAnnotations;await ve.forEach(Object.keys(lt),Se=>{let Dn=_(lt[Se]);F.set(Se,Dn)},w)}let G=lt=>{if(lt!==void 0)return F.get(lt)},nt=new U.WorkspaceEdit;if(c.documentChanges){let lt=c.documentChanges;await ve.forEach(lt,Se=>{if(Y.CreateFile.is(Se))nt.createFile(i(Se.uri),Se.options,G(Se.annotationId));else if(Y.RenameFile.is(Se))nt.renameFile(i(Se.oldUri),i(Se.newUri),Se.options,G(Se.annotationId));else if(Y.DeleteFile.is(Se))nt.deleteFile(i(Se.uri),Se.options,G(Se.annotationId));else if(Y.TextDocumentEdit.is(Se)){let Dn=i(Se.textDocument.uri);for(let qe of Se.edits)Y.AnnotatedTextEdit.is(qe)?nt.replace(Dn,y(qe.range),qe.newText,G(qe.annotationId)):nt.replace(Dn,y(qe.range),qe.newText)}else throw new Error(`Unknown workspace edit change received: -${JSON.stringify(Se,void 0,4)}`)},w)}else if(c.changes){let lt=c.changes;await ve.forEach(Object.keys(lt),Se=>{nt.set(i(Se),at(lt[Se]))},w)}return nt}function _(c){if(c!==void 0)return{label:c.label,needsConfirmation:!!c.needsConfirmation,description:c.description}}function I(c){let w=y(c.range),F=c.target?s(c.target):void 0,G=new WC.default(w,F);return c.tooltip!==void 0&&(G.tooltip=c.tooltip),c.data!==void 0&&c.data!==null&&(G.data=c.data),G}async function $(c,w){if(c)return ve.map(c,I,w)}function W(c){return new U.Color(c.red,c.green,c.blue,c.alpha)}function ye(c){return new U.ColorInformation(y(c.range),W(c.color))}async function ge(c,w){if(c)return ve.map(c,ye,w)}function we(c){let w=new U.ColorPresentation(c.label);return w.additionalTextEdits=at(c.additionalTextEdits),c.textEdit&&(w.textEdit=_t(c.textEdit)),w}async function Te(c,w){if(c)return ve.map(c,we,w)}function oe(c){if(c)switch(c){case Y.FoldingRangeKind.Comment:return U.FoldingRangeKind.Comment;case Y.FoldingRangeKind.Imports:return U.FoldingRangeKind.Imports;case Y.FoldingRangeKind.Region:return U.FoldingRangeKind.Region}}function Ce(c){return new U.FoldingRange(c.startLine,c.endLine,oe(c.kind))}async function de(c,w){if(c)return ve.map(c,Ce,w)}function Pe(c){return new U.SelectionRange(y(c.range),c.parent?Pe(c.parent):void 0)}async function Ke(c,w){return Array.isArray(c)?ve.map(c,Pe,w):[]}function tt(c){return Y.InlineValueText.is(c)?new U.InlineValueText(y(c.range),c.text):Y.InlineValueVariableLookup.is(c)?new U.InlineValueVariableLookup(y(c.range),c.variableName,c.caseSensitiveLookup):new U.InlineValueEvaluatableExpression(y(c.range),c.expression)}async function Un(c,w){return Array.isArray(c)?ve.map(c,tt,w):[]}async function Wn(c,w){let F=typeof c.label=="string"?c.label:await ve.map(c.label,d,w),G=new GC.default(R(c.position),F);return c.kind!==void 0&&(G.kind=c.kind),c.textEdits!==void 0&&(G.textEdits=await ot(c.textEdits,w)),c.tooltip!==void 0&&(G.tooltip=E(c.tooltip)),c.paddingLeft!==void 0&&(G.paddingLeft=c.paddingLeft),c.paddingRight!==void 0&&(G.paddingRight=c.paddingRight),c.data!==void 0&&(G.data=c.data),G}function d(c){let w=new U.InlayHintLabelPart(c.value);return c.location!==void 0&&(w.location=ct(c.location)),c.tooltip!==void 0&&(w.tooltip=E(c.tooltip)),c.command!==void 0&&(w.command=Xe(c.command)),w}function E(c){return typeof c=="string"?c:M(c)}async function V(c,w){if(Array.isArray(c))return ve.mapAsync(c,Wn,w)}function _e(c){if(c===null)return;let w=new zC.default(Qe(c.kind),c.name,c.detail||"",s(c.uri),y(c.range),y(c.selectionRange),c.data);return c.tags!==void 0&&(w.tags=sn(c.tags)),w}async function S(c,w){if(c!==null)return ve.map(c,_e,w)}async function f(c,w){return new U.CallHierarchyIncomingCall(_e(c.from),await P(c.fromRanges,w))}async function b(c,w){if(c!==null)return ve.mapAsync(c,f,w)}async function D(c,w){return new U.CallHierarchyOutgoingCall(_e(c.to),await P(c.fromRanges,w))}async function g(c,w){if(c!==null)return ve.mapAsync(c,D,w)}async function l(c,w){if(c!=null)return new U.SemanticTokens(new Uint32Array(c.data),c.resultId)}function T(c){return new U.SemanticTokensEdit(c.start,c.deleteCount,c.data!==void 0?new Uint32Array(c.data):void 0)}async function O(c,w){if(c!=null)return new U.SemanticTokensEdits(c.edits.map(T),c.resultId)}function ee(c){return c}async function Ne(c,w){if(c!=null)return new U.LinkedEditingRanges(await P(c.ranges,w),Ee(c.wordPattern))}function Ee(c){if(c!=null)return new RegExp(c)}function Et(c){if(c===null)return;let w=new VC.default(Qe(c.kind),c.name,c.detail||"",s(c.uri),y(c.range),y(c.selectionRange),c.data);return c.tags!==void 0&&(w.tags=sn(c.tags)),w}async function At(c,w){if(c!==null)return ve.map(c,Et,w)}function an(c){if(Qt.string(c))return c;if(Y.RelativePattern.is(c)){if(Y.URI.is(c.baseUri))return new U.RelativePattern(s(c.baseUri),c.pattern);if(Y.WorkspaceFolder.is(c.baseUri)){let w=U.workspace.getWorkspaceFolder(s(c.baseUri.uri));return w!==void 0?new U.RelativePattern(w,c.pattern):void 0}}}async function ue(c,w){if(!c)return;if(Array.isArray(c))return ve.map(c,nt=>bn(nt),w);let F=c,G=await ve.map(F.items,nt=>bn(nt),w);return new U.InlineCompletionList(G)}function bn(c){let w;typeof c.insertText=="string"?w=c.insertText:w=new U.SnippetString(c.insertText.value);let F;c.command&&(F=Xe(c.command));let G=new U.InlineCompletionItem(w,y(c.range),F);return c.filterText&&(G.filterText=c.filterText),G}return{asUri:s,asDocumentSelector:o,asDiagnostics:a,asDiagnostic:h,asRange:y,asRanges:P,asPosition:R,asDiagnosticSeverity:q,asDiagnosticTag:m,asHover:H,asCompletionResult:X,asCompletionItem:Ge,asTextEdit:_t,asTextEdits:ot,asSignatureHelp:tn,asSignatureInformations:pn,asSignatureInformation:xe,asParameterInformations:Tt,asParameterInformation:bt,asDeclarationResult:jn,asDefinitionResult:gn,asLocation:ct,asReferences:$n,asDocumentHighlights:yn,asDocumentHighlight:nn,asDocumentHighlightKind:rn,asSymbolKind:Qe,asSymbolTag:En,asSymbolTags:sn,asSymbolInformations:vn,asSymbolInformation:Vt,asDocumentSymbols:Hn,asDocumentSymbol:Bt,asCommand:Xe,asCommands:ht,asCodeAction:_n,asCodeActionKind:Lt,asCodeActionKinds:Pt,asCodeActionResult:qn,asCodeLens:on,asCodeLenses:kn,asWorkspaceEdit:Dt,asDocumentLink:I,asDocumentLinks:$,asFoldingRangeKind:oe,asFoldingRange:Ce,asFoldingRanges:de,asColor:W,asColorInformation:ye,asColorInformations:ge,asColorPresentation:we,asColorPresentations:Te,asSelectionRange:Pe,asSelectionRanges:Ke,asInlineValue:tt,asInlineValues:Un,asInlayHint:Wn,asInlayHints:V,asSemanticTokensLegend:ee,asSemanticTokens:l,asSemanticTokensEdit:T,asSemanticTokensEdits:O,asCallHierarchyItem:_e,asCallHierarchyItems:S,asCallHierarchyIncomingCall:f,asCallHierarchyIncomingCalls:b,asCallHierarchyOutgoingCall:D,asCallHierarchyOutgoingCalls:g,asLinkedEditingRanges:Ne,asTypeHierarchyItem:Et,asTypeHierarchyItems:At,asGlobPattern:an,asInlineCompletionResult:ue,asInlineCompletionItem:bn}}js.createConverter=XC});var Le=k(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.generateUuid=Yt.parse=Yt.isUUID=Yt.v4=Yt.empty=void 0;var mi=class{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}},yi=class n extends mi{static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return n._oneOf(n._chars)}constructor(){super([n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),"-",n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),"-","4",n._randomHex(),n._randomHex(),n._randomHex(),"-",n._oneOf(n._timeHighBits),n._randomHex(),n._randomHex(),n._randomHex(),"-",n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex()].join(""))}};yi._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"];yi._timeHighBits=["8","9","a","b"];Yt.empty=new mi("00000000-0000-0000-0000-000000000000");function Dg(){return new yi}Yt.v4=Dg;var JC=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function wg(n){return JC.test(n)}Yt.isUUID=wg;function QC(n){if(!wg(n))throw new Error("invalid uuid");return new mi(n)}Yt.parse=QC;function YC(){return Dg().asHex()}Yt.generateUuid=YC});var Jc=k($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.ProgressPart=void 0;var Rg=require("vscode"),Sg=te(),Tg=Gt(),Xc=class{constructor(e,t,r){this._client=e,this._token=t,this._reported=0,this._infinite=!1,this._lspProgressDisposable=this._client.onProgress(Sg.WorkDoneProgress.type,this._token,i=>{switch(i.kind){case"begin":this.begin(i);break;case"report":this.report(i);break;case"end":this.done(),r&&r(this);break}})}begin(e){this._infinite=e.percentage===void 0,this._lspProgressDisposable!==void 0&&Rg.window.withProgress({location:Rg.ProgressLocation.Window,cancellable:e.cancellable,title:e.title},async(t,r)=>{if(this._lspProgressDisposable!==void 0)return this._progress=t,this._cancellationToken=r,this._tokenDisposable=this._cancellationToken.onCancellationRequested(()=>{this._client.sendNotification(Sg.WorkDoneProgressCancelNotification.type,{token:this._token})}),this.report(e),new Promise((i,s)=>{this._resolve=i,this._reject=s})})}report(e){if(this._infinite&&Tg.string(e.message))this._progress!==void 0&&this._progress.report({message:e.message});else if(Tg.number(e.percentage)){let t=Math.max(0,Math.min(e.percentage,100)),r=Math.max(0,t-this._reported);this._reported+=r,this._progress!==void 0&&this._progress.report({message:e.message,increment:r})}}cancel(){this.cleanup(),this._reject!==void 0&&(this._reject(),this._resolve=void 0,this._reject=void 0)}done(){this.cleanup(),this._resolve!==void 0&&(this._resolve(),this._resolve=void 0,this._reject=void 0)}cleanup(){this._lspProgressDisposable!==void 0&&(this._lspProgressDisposable.dispose(),this._lspProgressDisposable=void 0),this._tokenDisposable!==void 0&&(this._tokenDisposable.dispose(),this._tokenDisposable=void 0),this._progress=void 0,this._cancellationToken=void 0}};$s.ProgressPart=Xc});var me=k(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.WorkspaceFeature=it.TextDocumentLanguageFeature=it.TextDocumentEventFeature=it.DynamicDocumentFeature=it.DynamicFeature=it.StaticFeature=it.ensure=it.LSPCancellationError=void 0;var fr=require("vscode"),Qc=te(),wt=Gt(),Pg=Le(),Yc=class extends fr.CancellationError{constructor(e){super(),this.data=e}};it.LSPCancellationError=Yc;function ZC(n,e){return n[e]===void 0&&(n[e]={}),n[e]}it.ensure=ZC;var Eg;(function(n){function e(t){let r=t;return r!=null&&wt.func(r.fillClientCapabilities)&&wt.func(r.initialize)&&wt.func(r.getState)&&wt.func(r.clear)&&(r.fillInitializeParams===void 0||wt.func(r.fillInitializeParams))}n.is=e})(Eg||(it.StaticFeature=Eg={}));var qg;(function(n){function e(t){let r=t;return r!=null&&wt.func(r.fillClientCapabilities)&&wt.func(r.initialize)&&wt.func(r.getState)&&wt.func(r.clear)&&(r.fillInitializeParams===void 0||wt.func(r.fillInitializeParams))&&wt.func(r.register)&&wt.func(r.unregister)&&r.registrationType!==void 0}n.is=e})(qg||(it.DynamicFeature=qg={}));var vi=class{constructor(e){this._client=e}getState(){let e=this.getDocumentSelectors(),t=0;for(let i of e){t++;for(let s of fr.workspace.textDocuments)if(fr.languages.match(i,s)>0)return{kind:"document",id:this.registrationType.method,registrations:!0,matches:!0}}let r=t>0;return{kind:"document",id:this.registrationType.method,registrations:r,matches:!1}}};it.DynamicDocumentFeature=vi;var Zc=class extends vi{static textDocumentFilter(e,t){for(let r of e)if(fr.languages.match(r,t)>0)return!0;return!1}constructor(e,t,r,i,s,o,a){super(e),this._event=t,this._type=r,this._middleware=i,this._createParams=s,this._textDocument=o,this._selectorFilter=a,this._selectors=new Map,this._onNotificationSent=new fr.EventEmitter}getStateInfo(){return[this._selectors.values(),!1]}getDocumentSelectors(){return this._selectors.values()}register(e){e.registerOptions.documentSelector&&(this._listener||(this._listener=this._event(t=>{this.callback(t).catch(r=>{this._client.error(`Sending document notification ${this._type.method} failed.`,r)})})),this._selectors.set(e.id,this._client.protocol2CodeConverter.asDocumentSelector(e.registerOptions.documentSelector)))}async callback(e){let t=async r=>{let i=this._createParams(r);await this._client.sendNotification(this._type,i),this.notificationSent(this.getTextDocument(r),this._type,i)};if(this.matches(e)){let r=this._middleware();return r?r(e,i=>t(i)):t(e)}}matches(e){return this._client.hasDedicatedTextSynchronizationFeature(this._textDocument(e))?!1:!this._selectorFilter||this._selectorFilter(this._selectors.values(),e)}get onNotificationSent(){return this._onNotificationSent.event}notificationSent(e,t,r){this._onNotificationSent.fire({textDocument:e,type:t,params:r})}unregister(e){this._selectors.delete(e),this._selectors.size===0&&this._listener&&(this._listener.dispose(),this._listener=void 0)}clear(){this._selectors.clear(),this._onNotificationSent.dispose(),this._listener&&(this._listener.dispose(),this._listener=void 0)}getProvider(e){for(let t of this._selectors.values())if(fr.languages.match(t,e)>0)return{send:r=>this.callback(r)}}};it.TextDocumentEventFeature=Zc;var eu=class extends vi{constructor(e,t){super(e),this._registrationType=t,this._registrations=new Map}*getDocumentSelectors(){for(let e of this._registrations.values()){let t=e.data.registerOptions.documentSelector;t!==null&&(yield this._client.protocol2CodeConverter.asDocumentSelector(t))}}get registrationType(){return this._registrationType}register(e){if(!e.registerOptions.documentSelector)return;let t=this.registerLanguageProvider(e.registerOptions,e.id);this._registrations.set(e.id,{disposable:t[0],data:e,provider:t[1]})}unregister(e){let t=this._registrations.get(e);t!==void 0&&t.disposable.dispose()}clear(){this._registrations.forEach(e=>{e.disposable.dispose()}),this._registrations.clear()}getRegistration(e,t){if(t){if(Qc.TextDocumentRegistrationOptions.is(t)){let r=Qc.StaticRegistrationOptions.hasId(t)?t.id:Pg.generateUuid(),i=t.documentSelector??e;if(i)return[r,Object.assign({},t,{documentSelector:i})]}else if(wt.boolean(t)&&t===!0||Qc.WorkDoneProgressOptions.is(t)){if(!e)return[void 0,void 0];let r=wt.boolean(t)&&t===!0?{documentSelector:e}:Object.assign({},t,{documentSelector:e});return[Pg.generateUuid(),r]}}else return[void 0,void 0];return[void 0,void 0]}getRegistrationOptions(e,t){if(!(!e||!t))return wt.boolean(t)&&t===!0?{documentSelector:e}:Object.assign({},t,{documentSelector:e})}getProvider(e){for(let t of this._registrations.values()){let r=t.data.registerOptions.documentSelector;if(r!==null&&fr.languages.match(this._client.protocol2CodeConverter.asDocumentSelector(r),e)>0)return t.provider}}getAllProviders(){let e=[];for(let t of this._registrations.values())e.push(t.provider);return e}};it.TextDocumentLanguageFeature=eu;var tu=class{constructor(e,t){this._client=e,this._registrationType=t,this._registrations=new Map}getState(){let e=this._registrations.size>0;return{kind:"workspace",id:this._registrationType.method,registrations:e}}get registrationType(){return this._registrationType}register(e){let t=this.registerLanguageProvider(e.registerOptions);this._registrations.set(e.id,{disposable:t[0],provider:t[1]})}unregister(e){let t=this._registrations.get(e);t!==void 0&&t.disposable.dispose()}clear(){this._registrations.forEach(e=>{e.disposable.dispose()}),this._registrations.clear()}getProviders(){let e=[];for(let t of this._registrations.values())e.push(t.provider);return e}};it.WorkspaceFeature=tu});var xg=k((GR,kg)=>{var e_=typeof process=="object"&&process&&process.platform==="win32";kg.exports=e_?{sep:"\\"}:{sep:"/"}});var Mg=k((XR,Ng)=>{"use strict";Ng.exports=Og;function Og(n,e,t){n instanceof RegExp&&(n=Ig(n,t)),e instanceof RegExp&&(e=Ig(e,t));var r=Fg(n,e,t);return r&&{start:r[0],end:r[1],pre:t.slice(0,r[0]),body:t.slice(r[0]+n.length,r[1]),post:t.slice(r[1]+e.length)}}function Ig(n,e){var t=e.match(n);return t?t[0]:null}Og.range=Fg;function Fg(n,e,t){var r,i,s,o,a,u=t.indexOf(n),h=t.indexOf(e,u+1),p=u;if(u>=0&&h>0){if(n===e)return[u,h];for(r=[],s=t.length;p>=0&&!a;)p==u?(r.push(p),u=t.indexOf(n,p+1)):r.length==1?a=[r.pop(),h]:(i=r.pop(),i=0?u:h;r.length&&(a=[s,o])}return a}});var Kg=k((JR,Wg)=>{var Lg=Mg();Wg.exports=r_;var Ag="\0SLASH"+Math.random()+"\0",jg="\0OPEN"+Math.random()+"\0",ru="\0CLOSE"+Math.random()+"\0",$g="\0COMMA"+Math.random()+"\0",Hg="\0PERIOD"+Math.random()+"\0";function nu(n){return parseInt(n,10)==n?parseInt(n,10):n.charCodeAt(0)}function t_(n){return n.split("\\\\").join(Ag).split("\\{").join(jg).split("\\}").join(ru).split("\\,").join($g).split("\\.").join(Hg)}function n_(n){return n.split(Ag).join("\\").split(jg).join("{").split(ru).join("}").split($g).join(",").split(Hg).join(".")}function Ug(n){if(!n)return[""];var e=[],t=Lg("{","}",n);if(!t)return n.split(",");var r=t.pre,i=t.body,s=t.post,o=r.split(",");o[o.length-1]+="{"+i+"}";var a=Ug(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function r_(n){return n?(n.substr(0,2)==="{}"&&(n="\\{\\}"+n.substr(2)),Ci(t_(n),!0).map(n_)):[]}function i_(n){return"{"+n+"}"}function s_(n){return/^-?0\d/.test(n)}function o_(n,e){return n<=e}function a_(n,e){return n>=e}function Ci(n,e){var t=[],r=Lg("{","}",n);if(!r)return[n];var i=r.pre,s=r.post.length?Ci(r.post,!1):[""];if(/\$$/.test(r.pre))for(var o=0;o=0;if(!p&&!v)return r.post.match(/,.*\}/)?(n=r.pre+"{"+r.body+ru+r.post,Ci(n)):[n];var m;if(p)m=r.body.split(/\.\./);else if(m=Ug(r.body),m.length===1&&(m=Ci(m[0],!1).map(i_),m.length===1))return s.map(function(Ge){return r.pre+m[0]+Ge});var R;if(p){var y=nu(m[0]),P=nu(m[1]),q=Math.max(m[0].length,m[1].length),N=m.length==3?Math.abs(nu(m[2])):1,L=o_,M=P0){var Z=new Array(B+1).join("0");X<0?le="-"+Z+le.slice(1):le=Z+le}}R.push(le)}}else{R=[];for(var ae=0;ae{var Ht=cu.exports=(n,e,t={})=>(Hs(e),!t.nocomment&&e.charAt(0)==="#"?!1:new Wr(e,t).match(n));cu.exports=Ht;var ou=xg();Ht.sep=ou.sep;var ln=Symbol("globstar **");Ht.GLOBSTAR=ln;var c_=Kg(),zg={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},au="[^/]",iu=au+"*?",u_="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",l_="(?:(?!(?:\\/|^)\\.).)*?",Gg=n=>n.split("").reduce((e,t)=>(e[t]=!0,e),{}),Vg=Gg("().*{}+?[]^$\\!"),d_=Gg("[.("),Bg=/\/+/;Ht.filter=(n,e={})=>(t,r,i)=>Ht(t,n,e);var Zn=(n,e={})=>{let t={};return Object.keys(n).forEach(r=>t[r]=n[r]),Object.keys(e).forEach(r=>t[r]=e[r]),t};Ht.defaults=n=>{if(!n||typeof n!="object"||!Object.keys(n).length)return Ht;let e=Ht,t=(r,i,s)=>e(r,i,Zn(n,s));return t.Minimatch=class extends e.Minimatch{constructor(i,s){super(i,Zn(n,s))}},t.Minimatch.defaults=r=>e.defaults(Zn(n,r)).Minimatch,t.filter=(r,i)=>e.filter(r,Zn(n,i)),t.defaults=r=>e.defaults(Zn(n,r)),t.makeRe=(r,i)=>e.makeRe(r,Zn(n,i)),t.braceExpand=(r,i)=>e.braceExpand(r,Zn(n,i)),t.match=(r,i,s)=>e.match(r,i,Zn(n,s)),t};Ht.braceExpand=(n,e)=>Xg(n,e);var Xg=(n,e={})=>(Hs(n),e.nobrace||!/\{(?:(?!\{).)*\}/.test(n)?[n]:c_(n)),f_=1024*64,Hs=n=>{if(typeof n!="string")throw new TypeError("invalid pattern");if(n.length>f_)throw new TypeError("pattern is too long")},su=Symbol("subparse");Ht.makeRe=(n,e)=>new Wr(n,e||{}).makeRe();Ht.match=(n,e,t={})=>{let r=new Wr(e,t);return n=n.filter(i=>r.match(i)),r.options.nonull&&!n.length&&n.push(e),n};var h_=n=>n.replace(/\\(.)/g,"$1"),p_=n=>n.replace(/\\([^-\]])/g,"$1"),g_=n=>n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),m_=n=>n.replace(/[[\]\\]/g,"\\$&"),Wr=class{constructor(e,t){Hs(e),t||(t={}),this.options=t,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}debug(){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let r=this.globSet=this.braceExpand();t.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,r),r=this.globParts=r.map(i=>i.split(Bg)),this.debug(this.pattern,r),r=r.map((i,s,o)=>i.map(this.parse,this)),this.debug(this.pattern,r),r=r.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,r),this.set=r}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,t=!1,r=0;for(let i=0;i>> no match, partial?`,e,v,t,m),v===a))}var y;if(typeof h=="string"?(y=p===h,this.debug("string match",h,p,y)):(y=p.match(h),this.debug("pattern match",h,p,y)),!y)return!1}if(s===a&&o===u)return!0;if(s===a)return r;if(o===u)return s===a-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return Xg(this.pattern,this.options)}parse(e,t){Hs(e);let r=this.options;if(e==="**")if(r.noglobstar)e="*";else return ln;if(e==="")return"";let i="",s=!1,o=!1,a=[],u=[],h,p=!1,v=-1,m=-1,R,y,P,q=e.charAt(0)===".",N=r.dot||q,L=()=>q?"":N?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",M=B=>B.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",H=()=>{if(h){switch(h){case"*":i+=iu,s=!0;break;case"?":i+=au,s=!0;break;default:i+="\\"+h;break}this.debug("clearStateChar %j %j",h,i),h=!1}};for(let B=0,Z;B(We||(We="\\"),Ge+Ge+We+"|")),this.debug(`tail=%j - %s`,B,B,y,i);let Z=y.type==="*"?iu:y.type==="?"?au:"\\"+y.type;s=!0,i=i.slice(0,y.reStart)+Z+"\\("+B}H(),o&&(i+="\\\\");let X=d_[i.charAt(0)];for(let B=u.length-1;B>-1;B--){let Z=u[B],ae=i.slice(0,Z.reStart),Ge=i.slice(Z.reStart,Z.reEnd-8),We=i.slice(Z.reEnd),Je=i.slice(Z.reEnd-8,Z.reEnd)+We,zt=ae.split(")").length,_t=ae.split("(").length-zt,ot=We;for(let tn=0;tn<_t;tn++)ot=ot.replace(/\)[+*?]?/,"");We=ot;let at=We===""&&t!==su?"(?:$|\\/)":"";i=ae+Ge+We+at+Je}if(i!==""&&s&&(i="(?=.)"+i),X&&(i=L()+i),t===su)return[i,s];if(r.nocase&&!s&&(s=e.toUpperCase()!==e.toLowerCase()),!s)return h_(e);let le=r.nocase?"i":"";try{return Object.assign(new RegExp("^"+i+"$",le),{_glob:e,_src:i})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,r=t.noglobstar?iu:t.dot?u_:l_,i=t.nocase?"i":"",s=e.map(o=>(o=o.map(a=>typeof a=="string"?g_(a):a===ln?ln:a._src).reduce((a,u)=>(a[a.length-1]===ln&&u===ln||a.push(u),a),[]),o.forEach((a,u)=>{a!==ln||o[u-1]===ln||(u===0?o.length>1?o[u+1]="(?:\\/|"+r+"\\/)?"+o[u+1]:o[u]=r:u===o.length-1?o[u-1]+="(?:\\/|"+r+")?":(o[u-1]+="(?:\\/|\\/"+r+"\\/)"+o[u+1],o[u+1]=ln))}),o.filter(a=>a!==ln).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let r=this.options;ou.sep!=="/"&&(e=e.split(ou.sep).join("/")),e=e.split(Bg),this.debug(this.pattern,"split",e);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let o=e.length-1;o>=0&&(s=e[o],!s);o--);for(let o=0;o{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.DiagnosticFeature=er.DiagnosticPullMode=er.vsdiag=void 0;var y_=Us(),fe=require("vscode"),Be=te(),v_=Le(),uu=me();function Ws(n,e){return n[e]===void 0&&(n[e]={}),n[e]}var Zt;(function(n){let e;(function(t){t.full="full",t.unChanged="unChanged"})(e=n.DocumentDiagnosticReportKind||(n.DocumentDiagnosticReportKind={}))})(Zt||(er.vsdiag=Zt={}));var Ks;(function(n){n.onType="onType",n.onSave="onSave"})(Ks||(er.DiagnosticPullMode=Ks={}));var vt;(function(n){n.active="open",n.reschedule="reschedule",n.outDated="drop"})(vt||(vt={}));var lu=class n{constructor(){this.open=new Set,this._onOpen=new fe.EventEmitter,this._onClose=new fe.EventEmitter,n.fillTabResources(this.open);let e=t=>{if(t.closed.length===0&&t.opened.length===0)return;let r=this.open,i=new Set;n.fillTabResources(i);let s=new Set,o=new Set(i);for(let a of r.values())i.has(a)?o.delete(a):s.add(a);if(this.open=i,s.size>0){let a=new Set;for(let u of s)a.add(fe.Uri.parse(u));this._onClose.fire(a)}if(o.size>0){let a=new Set;for(let u of o)a.add(fe.Uri.parse(u));this._onOpen.fire(a)}};fe.window.tabGroups.onDidChangeTabs!==void 0?this.disposable=fe.window.tabGroups.onDidChangeTabs(e):this.disposable={dispose:()=>{}}}get onClose(){return this._onClose.event}get onOpen(){return this._onOpen.event}dispose(){this.disposable.dispose()}isActive(e){return e instanceof fe.Uri?fe.window.activeTextEditor?.document.uri===e:fe.window.activeTextEditor?.document===e}isVisible(e){let t=e instanceof fe.Uri?e:e.uri;return this.open.has(t.toString())}getTabResources(){let e=new Set;return n.fillTabResources(new Set,e),e}static fillTabResources(e,t){let r=e??new Set;for(let i of fe.window.tabGroups.all)for(let s of i.tabs){let o=s.input,a;o instanceof fe.TabInputText?a=o.uri:o instanceof fe.TabInputTextDiff?a=o.modified:o instanceof fe.TabInputCustom&&(a=o.uri),a!==void 0&&!r.has(a.toString())&&(r.add(a.toString()),t!==void 0&&t.add(a))}}},et;(function(n){n[n.document=1]="document",n[n.workspace=2]="workspace"})(et||(et={}));var On;(function(n){function e(t){return t instanceof fe.Uri?t.toString():t.uri.toString()}n.asKey=e})(On||(On={}));var du=class{constructor(){this.documentPullStates=new Map,this.workspacePullStates=new Map}track(e,t,r){let i=e===et.document?this.documentPullStates:this.workspacePullStates,[s,o,a]=t instanceof fe.Uri?[t.toString(),t,r]:[t.uri.toString(),t.uri,t.version],u=i.get(s);return u===void 0&&(u={document:o,pulledVersion:a,resultId:void 0},i.set(s,u)),u}update(e,t,r,i){let s=e===et.document?this.documentPullStates:this.workspacePullStates,[o,a,u,h]=t instanceof fe.Uri?[t.toString(),t,r,i]:[t.uri.toString(),t.uri,t.version,r],p=s.get(o);p===void 0?(p={document:a,pulledVersion:u,resultId:h},s.set(o,p)):(p.pulledVersion=u,p.resultId=h)}unTrack(e,t){let r=On.asKey(t);(e===et.document?this.documentPullStates:this.workspacePullStates).delete(r)}tracks(e,t){let r=On.asKey(t);return(e===et.document?this.documentPullStates:this.workspacePullStates).has(r)}getResultId(e,t){let r=On.asKey(t);return(e===et.document?this.documentPullStates:this.workspacePullStates).get(r)?.resultId}getAllResultIds(){let e=[];for(let[t,r]of this.workspacePullStates)this.documentPullStates.has(t)&&(r=this.documentPullStates.get(t)),r.resultId!==void 0&&e.push({uri:t,value:r.resultId});return e}},fu=class{constructor(e,t,r){this.client=e,this.tabs=t,this.options=r,this.isDisposed=!1,this.onDidChangeDiagnosticsEmitter=new fe.EventEmitter,this.provider=this.createProvider(),this.diagnostics=fe.languages.createDiagnosticCollection(r.identifier),this.openRequests=new Map,this.documentStates=new du,this.workspaceErrorCounter=0}knows(e,t){let r=t instanceof fe.Uri?t:t.uri;return this.documentStates.tracks(e,t)||this.openRequests.has(r.toString())}forget(e,t){this.documentStates.unTrack(e,t)}pull(e,t){if(this.isDisposed)return;let r=e instanceof fe.Uri?e:e.uri;this.pullAsync(e).then(()=>{t&&t()},i=>{this.client.error(`Document pull failed for text document ${r.toString()}`,i,!1)})}async pullAsync(e,t){if(this.isDisposed)return;let r=e instanceof fe.Uri,i=r?e:e.uri,s=i.toString();t=r?t:e.version;let o=this.openRequests.get(s),a=r?this.documentStates.track(et.document,e,t):this.documentStates.track(et.document,e);if(o===void 0){let u=new fe.CancellationTokenSource;this.openRequests.set(s,{state:vt.active,document:e,version:t,tokenSource:u});let h,p;try{h=await this.provider.provideDiagnostics(e,a.resultId,u.token)??{kind:Zt.DocumentDiagnosticReportKind.full,items:[]}}catch(v){if(v instanceof uu.LSPCancellationError&&Be.DiagnosticServerCancellationData.is(v.data)&&v.data.retriggerRequest===!1&&(p={state:vt.outDated,document:e}),p===void 0&&v instanceof fe.CancellationError)p={state:vt.reschedule,document:e};else throw v}if(p=p??this.openRequests.get(s),p===void 0){this.client.error(`Lost request state in diagnostic pull model. Clearing diagnostics for ${s}`),this.diagnostics.delete(i);return}if(this.openRequests.delete(s),!this.tabs.isVisible(e)){this.documentStates.unTrack(et.document,e);return}if(p.state===vt.outDated)return;h!==void 0&&(h.kind===Zt.DocumentDiagnosticReportKind.full&&this.diagnostics.set(i,h.items),a.pulledVersion=t,a.resultId=h.resultId),p.state===vt.reschedule&&this.pull(e)}else o.state===vt.active?(o.tokenSource.cancel(),this.openRequests.set(s,{state:vt.reschedule,document:o.document})):o.state===vt.outDated&&this.openRequests.set(s,{state:vt.reschedule,document:o.document})}forgetDocument(e){let t=e instanceof fe.Uri?e:e.uri,r=t.toString(),i=this.openRequests.get(r);this.options.workspaceDiagnostics?i!==void 0?this.openRequests.set(r,{state:vt.reschedule,document:e}):this.pull(e,()=>{this.forget(et.document,e)}):(i!==void 0&&(i.state===vt.active&&i.tokenSource.cancel(),this.openRequests.set(r,{state:vt.outDated,document:e})),this.diagnostics.delete(t),this.forget(et.document,e))}pullWorkspace(){this.isDisposed||this.pullWorkspaceAsync().then(()=>{this.workspaceTimeout=(0,Be.RAL)().timer.setTimeout(()=>{this.pullWorkspace()},2e3)},e=>{!(e instanceof uu.LSPCancellationError)&&!Be.DiagnosticServerCancellationData.is(e.data)&&(this.client.error("Workspace diagnostic pull failed.",e,!1),this.workspaceErrorCounter++),this.workspaceErrorCounter<=5&&(this.workspaceTimeout=(0,Be.RAL)().timer.setTimeout(()=>{this.pullWorkspace()},2e3))})}async pullWorkspaceAsync(){if(!this.provider.provideWorkspaceDiagnostics||this.isDisposed)return;this.workspaceCancellation!==void 0&&(this.workspaceCancellation.cancel(),this.workspaceCancellation=void 0),this.workspaceCancellation=new fe.CancellationTokenSource;let e=this.documentStates.getAllResultIds().map(t=>({uri:this.client.protocol2CodeConverter.asUri(t.uri),value:t.value}));await this.provider.provideWorkspaceDiagnostics(e,this.workspaceCancellation.token,t=>{if(!(!t||this.isDisposed))for(let r of t.items)r.kind===Zt.DocumentDiagnosticReportKind.full&&(this.documentStates.tracks(et.document,r.uri)||this.diagnostics.set(r.uri,r.items)),this.documentStates.update(et.workspace,r.uri,r.version??void 0,r.resultId)})}createProvider(){let e={onDidChangeDiagnostics:this.onDidChangeDiagnosticsEmitter.event,provideDiagnostics:(t,r,i)=>{let s=(a,u,h)=>{let p={identifier:this.options.identifier,textDocument:{uri:this.client.code2ProtocolConverter.asUri(a instanceof fe.Uri?a:a.uri)},previousResultId:u};return this.isDisposed===!0||!this.client.isRunning()?{kind:Zt.DocumentDiagnosticReportKind.full,items:[]}:this.client.sendRequest(Be.DocumentDiagnosticRequest.type,p,h).then(async v=>v==null||this.isDisposed||h.isCancellationRequested?{kind:Zt.DocumentDiagnosticReportKind.full,items:[]}:v.kind===Be.DocumentDiagnosticReportKind.Full?{kind:Zt.DocumentDiagnosticReportKind.full,resultId:v.resultId,items:await this.client.protocol2CodeConverter.asDiagnostics(v.items,h)}:{kind:Zt.DocumentDiagnosticReportKind.unChanged,resultId:v.resultId},v=>this.client.handleFailedRequest(Be.DocumentDiagnosticRequest.type,h,v,{kind:Zt.DocumentDiagnosticReportKind.full,items:[]}))},o=this.client.middleware;return o.provideDiagnostics?o.provideDiagnostics(t,r,i,s):s(t,r,i)}};return this.options.workspaceDiagnostics&&(e.provideWorkspaceDiagnostics=(t,r,i)=>{let s=async h=>h.kind===Be.DocumentDiagnosticReportKind.Full?{kind:Zt.DocumentDiagnosticReportKind.full,uri:this.client.protocol2CodeConverter.asUri(h.uri),resultId:h.resultId,version:h.version,items:await this.client.protocol2CodeConverter.asDiagnostics(h.items,r)}:{kind:Zt.DocumentDiagnosticReportKind.unChanged,uri:this.client.protocol2CodeConverter.asUri(h.uri),resultId:h.resultId,version:h.version},o=h=>{let p=[];for(let v of h)p.push({uri:this.client.code2ProtocolConverter.asUri(v.uri),value:v.value});return p},a=(h,p)=>{let v=(0,v_.generateUuid)(),m=this.client.onProgress(Be.WorkspaceDiagnosticRequest.partialResult,v,async y=>{if(y==null){i(null);return}let P={items:[]};for(let q of y.items)try{P.items.push(await s(q))}catch(N){this.client.error("Converting workspace diagnostics failed.",N)}i(P)}),R={identifier:this.options.identifier,previousResultIds:o(h),partialResultToken:v};return this.isDisposed===!0||!this.client.isRunning()?{items:[]}:this.client.sendRequest(Be.WorkspaceDiagnosticRequest.type,R,p).then(async y=>{if(p.isCancellationRequested)return{items:[]};let P={items:[]};for(let q of y.items)P.items.push(await s(q));return m.dispose(),i(P),{items:[]}},y=>(m.dispose(),this.client.handleFailedRequest(Be.DocumentDiagnosticRequest.type,p,y,{items:[]})))},u=this.client.middleware;return u.provideWorkspaceDiagnostics?u.provideWorkspaceDiagnostics(t,r,i,a):a(t,r,i)}),e}dispose(){this.isDisposed=!0,this.workspaceCancellation?.cancel(),this.workspaceTimeout?.dispose();for(let[e,t]of this.openRequests)t.state===vt.active&&t.tokenSource.cancel(),this.openRequests.set(e,{state:vt.outDated,document:t.document});this.diagnostics.dispose()}},hu=class{constructor(e){this.diagnosticRequestor=e,this.documents=new Be.LinkedMap,this.isDisposed=!1}add(e){if(this.isDisposed===!0)return;let t=On.asKey(e);this.documents.has(t)||(this.documents.set(t,e,Be.Touch.Last),this.trigger())}remove(e){let t=On.asKey(e);this.documents.delete(t),this.documents.size===0?this.stop():t===this.endDocumentKey()&&(this.endDocument=this.documents.last)}trigger(){if(this.isDisposed!==!0){if(this.intervalHandle!==void 0){this.endDocument=this.documents.last;return}this.endDocument=this.documents.last,this.intervalHandle=(0,Be.RAL)().timer.setInterval(()=>{let e=this.documents.first;if(e!==void 0){let t=On.asKey(e);this.diagnosticRequestor.pull(e),this.documents.set(t,e,Be.Touch.Last),t===this.endDocumentKey()&&this.stop()}},200)}}dispose(){this.isDisposed=!0,this.stop(),this.documents.clear()}stop(){this.intervalHandle?.dispose(),this.intervalHandle=void 0,this.endDocument=void 0}endDocumentKey(){return this.endDocument!==void 0?On.asKey(this.endDocument):void 0}},pu=class{constructor(e,t,r){let i=e.clientOptions.diagnosticPullOptions??{onChange:!0,onSave:!1},s=e.protocol2CodeConverter.asDocumentSelector(r.documentSelector),o=[],a=y=>{let P=r.documentSelector;if(i.match!==void 0)return i.match(P,y);for(let q of P)if(Be.TextDocumentFilter.is(q)){if(typeof q=="string"||q.language!==void 0&&q.language!=="*"||q.scheme!==void 0&&q.scheme!=="*"&&q.scheme!==y.scheme)return!1;if(q.pattern!==void 0){let N=new y_.Minimatch(q.pattern,{noext:!0});if(!N.makeRe()||!N.match(y.fsPath))return!1}}return!0},u=y=>y instanceof fe.Uri?a(y):fe.languages.match(s,y)>0&&t.isVisible(y),h=y=>y instanceof fe.Uri?this.activeTextDocument?.uri.toString()===y.toString():this.activeTextDocument===y;this.diagnosticRequestor=new fu(e,t,r),this.backgroundScheduler=new hu(this.diagnosticRequestor);let p=y=>{!u(y)||!r.interFileDependencies||h(y)||this.backgroundScheduler.add(y)};this.activeTextDocument=fe.window.activeTextEditor?.document,fe.window.onDidChangeActiveTextEditor(y=>{let P=this.activeTextDocument;this.activeTextDocument=y?.document,P!==void 0&&p(P),this.activeTextDocument!==void 0&&this.backgroundScheduler.remove(this.activeTextDocument)});let v=e.getFeature(Be.DidOpenTextDocumentNotification.method);o.push(v.onNotificationSent(y=>{let P=y.textDocument;this.diagnosticRequestor.knows(et.document,P)||u(P)&&this.diagnosticRequestor.pull(P,()=>{p(P)})})),o.push(t.onOpen(y=>{for(let P of y){if(this.diagnosticRequestor.knows(et.document,P))continue;let q=P.toString(),N;for(let L of fe.workspace.textDocuments)if(q===L.uri.toString()){N=L;break}N!==void 0&&u(N)&&this.diagnosticRequestor.pull(N,()=>{p(N)})}}));let m=new Set;for(let y of fe.workspace.textDocuments)u(y)&&(this.diagnosticRequestor.pull(y,()=>{p(y)}),m.add(y.uri.toString()));if(i.onTabs===!0)for(let y of t.getTabResources())!m.has(y.toString())&&u(y)&&this.diagnosticRequestor.pull(y,()=>{p(y)});if(i.onChange===!0){let y=e.getFeature(Be.DidChangeTextDocumentNotification.method);o.push(y.onNotificationSent(async P=>{let q=P.textDocument;(i.filter===void 0||!i.filter(q,Ks.onType))&&this.diagnosticRequestor.knows(et.document,q)&&this.diagnosticRequestor.pull(q,()=>{this.backgroundScheduler.trigger()})}))}if(i.onSave===!0){let y=e.getFeature(Be.DidSaveTextDocumentNotification.method);o.push(y.onNotificationSent(P=>{let q=P.textDocument;(i.filter===void 0||!i.filter(q,Ks.onSave))&&this.diagnosticRequestor.knows(et.document,q)&&this.diagnosticRequestor.pull(P.textDocument,()=>{this.backgroundScheduler.trigger()})}))}let R=e.getFeature(Be.DidCloseTextDocumentNotification.method);o.push(R.onNotificationSent(y=>{this.cleanUpDocument(y.textDocument)})),t.onClose(y=>{for(let P of y)this.cleanUpDocument(P)}),this.diagnosticRequestor.onDidChangeDiagnosticsEmitter.event(()=>{for(let y of fe.workspace.textDocuments)u(y)&&this.diagnosticRequestor.pull(y)}),r.workspaceDiagnostics===!0&&r.identifier!=="da348dc5-c30a-4515-9d98-31ff3be38d14"&&this.diagnosticRequestor.pullWorkspace(),this.disposable=fe.Disposable.from(...o,this.backgroundScheduler,this.diagnosticRequestor)}get onDidChangeDiagnosticsEmitter(){return this.diagnosticRequestor.onDidChangeDiagnosticsEmitter}get diagnostics(){return this.diagnosticRequestor.provider}cleanUpDocument(e){this.diagnosticRequestor.knows(et.document,e)&&(this.diagnosticRequestor.forgetDocument(e),this.backgroundScheduler.remove(e))}},gu=class extends uu.TextDocumentLanguageFeature{constructor(e){super(e,Be.DocumentDiagnosticRequest.type)}fillClientCapabilities(e){let t=Ws(Ws(e,"textDocument"),"diagnostic");t.dynamicRegistration=!0,t.relatedDocumentSupport=!1,Ws(Ws(e,"workspace"),"diagnostics").refreshSupport=!0}initialize(e,t){this._client.onRequest(Be.DiagnosticRefreshRequest.type,async()=>{for(let o of this.getAllProviders())o.onDidChangeDiagnosticsEmitter.fire()});let[i,s]=this.getRegistration(t,e.diagnosticProvider);!i||!s||this.register({id:i,registerOptions:s})}clear(){this.tabs!==void 0&&(this.tabs.dispose(),this.tabs=void 0),super.clear()}registerLanguageProvider(e){this.tabs===void 0&&(this.tabs=new lu);let t=new pu(this._client,this.tabs,e);return[t.disposable,t]}};er.DiagnosticFeature=gu});var Yg=k(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});Gs.NotebookDocumentSyncFeature=void 0;var Ct=require("vscode"),C_=Us(),Fn=te(),__=Le(),Jg=Gt();function Qg(n,e){return n[e]===void 0&&(n[e]={}),n[e]}var Kr;(function(n){let e;(function(t){function r(m,R){return{version:m.version,uri:R.asUri(m.uri)}}t.asVersionedNotebookDocumentIdentifier=r;function i(m,R,y){let P=Fn.NotebookDocument.create(y.asUri(m.uri),m.notebookType,m.version,s(R,y));return Object.keys(m.metadata).length>0&&(P.metadata=o(m.metadata)),P}t.asNotebookDocument=i;function s(m,R){return m.map(y=>a(y,R))}t.asNotebookCells=s;function o(m){return h(new Set,m)}t.asMetadata=o;function a(m,R){let y=Fn.NotebookCell.create(u(m.kind),R.asUri(m.document.uri));return Object.keys(m.metadata).length>0&&(y.metadata=o(m.metadata)),m.executionSummary!==void 0&&Jg.number(m.executionSummary.executionOrder)&&Jg.boolean(m.executionSummary.success)&&(y.executionSummary={executionOrder:m.executionSummary.executionOrder,success:m.executionSummary.success}),y}t.asNotebookCell=a;function u(m){switch(m){case Ct.NotebookCellKind.Markup:return Fn.NotebookCellKind.Markup;case Ct.NotebookCellKind.Code:return Fn.NotebookCellKind.Code}}function h(m,R){if(m.has(R))throw new Error("Can't deep copy cyclic structures.");if(Array.isArray(R)){let y=[];for(let P of R)if(P!==null&&typeof P=="object"||Array.isArray(P))y.push(h(m,P));else{if(P instanceof RegExp)throw new Error("Can't transfer regular expressions to the server");y.push(P)}return y}else{let y=Object.keys(R),P=Object.create(null);for(let q of y){let N=R[q];if(N!==null&&typeof N=="object"||Array.isArray(N))P[q]=h(m,N);else{if(N instanceof RegExp)throw new Error("Can't transfer regular expressions to the server");P[q]=N}}return P}}function p(m,R){let y=R.asChangeTextDocumentParams(m,m.document.uri,m.document.version);return{document:y.textDocument,changes:y.contentChanges}}t.asTextContentChange=p;function v(m,R){let y=Object.create(null);if(m.metadata&&(y.metadata=n.c2p.asMetadata(m.metadata)),m.cells!==void 0){let P=Object.create(null),q=m.cells;q.structure&&(P.structure={array:{start:q.structure.array.start,deleteCount:q.structure.array.deleteCount,cells:q.structure.array.cells!==void 0?q.structure.array.cells.map(N=>n.c2p.asNotebookCell(N,R)):void 0},didOpen:q.structure.didOpen!==void 0?q.structure.didOpen.map(N=>R.asOpenTextDocumentParams(N.document).textDocument):void 0,didClose:q.structure.didClose!==void 0?q.structure.didClose.map(N=>R.asCloseTextDocumentParams(N.document).textDocument):void 0}),q.data!==void 0&&(P.data=q.data.map(N=>n.c2p.asNotebookCell(N,R))),q.textContent!==void 0&&(P.textContent=q.textContent.map(N=>n.c2p.asTextContentChange(N,R))),Object.keys(P).length>0&&(y.cells=P)}return y}t.asNotebookDocumentChangeEvent=v})(e=n.c2p||(n.c2p={}))})(Kr||(Kr={}));var yu;(function(n){function e(a,u,h){let p=a.length,v=u.length,m=0;for(;m=0&&y>=0&&t(a[R],u[y],h);)R--,y--;let P=R+1-m,q=m===y+1?void 0:u.slice(m,y+1);return q!==void 0?{start:m,deleteCount:P,cells:q}:{start:m,deleteCount:P}}else return mr.document.uri.toString()))}}n.create=e})(Vs||(Vs={}));var zr=class{constructor(e,t){this.client=e,this.options=t,this.notebookSyncInfo=new Map,this.notebookDidOpen=new Set,this.disposables=[],this.selector=e.protocol2CodeConverter.asDocumentSelector(zs.asDocumentSelector(t)),Ct.workspace.onDidOpenNotebookDocument(r=>{this.notebookDidOpen.add(r.uri.toString()),this.didOpen(r)},void 0,this.disposables);for(let r of Ct.workspace.notebookDocuments)this.notebookDidOpen.add(r.uri.toString()),this.didOpen(r);Ct.workspace.onDidChangeNotebookDocument(r=>this.didChangeNotebookDocument(r),void 0,this.disposables),this.options.save===!0&&Ct.workspace.onDidSaveNotebookDocument(r=>this.didSave(r),void 0,this.disposables),Ct.workspace.onDidCloseNotebookDocument(r=>{this.didClose(r),this.notebookDidOpen.delete(r.uri.toString())},void 0,this.disposables)}getState(){for(let e of Ct.workspace.notebookDocuments)if(this.getMatchingCells(e)!==void 0)return{kind:"document",id:"$internal",registrations:!0,matches:!0};return{kind:"document",id:"$internal",registrations:!0,matches:!1}}get mode(){return"notebook"}handles(e){return Ct.languages.match(this.selector,e)>0}didOpenNotebookCellTextDocument(e,t){if(Ct.languages.match(this.selector,t.document)===0||!this.notebookDidOpen.has(e.uri.toString()))return;let r=this.notebookSyncInfo.get(e.uri.toString()),i=this.cellMatches(e,t);if(r!==void 0){let s=r.uris.has(t.document.uri.toString());if(i&&s||!i&&!s)return;if(i){let o=this.getMatchingCells(e);if(o!==void 0){let a=this.asNotebookDocumentChangeEvent(e,void 0,r,o);a!==void 0&&this.doSendChange(a,o).catch(()=>{})}}}else i&&this.doSendOpen(e,[t]).catch(()=>{})}didChangeNotebookCellTextDocument(e,t){Ct.languages.match(this.selector,t.document)!==0&&this.doSendChange({notebook:e,cells:{textContent:[t]}},void 0).catch(()=>{})}didCloseNotebookCellTextDocument(e,t){let r=this.notebookSyncInfo.get(e.uri.toString());if(r===void 0)return;let i=t.document.uri,s=r.cells.findIndex(o=>o.document.uri.toString()===i.toString());if(s!==-1)if(s===0&&r.cells.length===1)this.doSendClose(e,r.cells).catch(()=>{});else{let o=r.cells.slice(),a=o.splice(s,1);this.doSendChange({notebook:e,cells:{structure:{array:{start:s,deleteCount:1},didClose:a}}},o).catch(()=>{})}}dispose(){for(let e of this.disposables)e.dispose()}didOpen(e,t=this.getMatchingCells(e),r=this.notebookSyncInfo.get(e.uri.toString())){if(r!==void 0)if(t!==void 0){let i=this.asNotebookDocumentChangeEvent(e,void 0,r,t);i!==void 0&&this.doSendChange(i,t).catch(()=>{})}else this.doSendClose(e,[]).catch(()=>{});else{if(t===void 0)return;this.doSendOpen(e,t).catch(()=>{})}}didChangeNotebookDocument(e){let t=e.notebook,r=this.notebookSyncInfo.get(t.uri.toString());if(r===void 0){if(e.contentChanges.length===0)return;let i=this.getMatchingCells(t);if(i===void 0)return;this.didOpen(t,i,r)}else{let i=this.getMatchingCells(t);if(i===void 0){this.didClose(t,r);return}let s=this.asNotebookDocumentChangeEvent(e.notebook,e,r,i);s!==void 0&&this.doSendChange(s,i).catch(()=>{})}}didSave(e){this.notebookSyncInfo.get(e.uri.toString())!==void 0&&this.doSendSave(e).catch(()=>{})}didClose(e,t=this.notebookSyncInfo.get(e.uri.toString())){if(t===void 0)return;let r=e.getCells().filter(i=>t.uris.has(i.document.uri.toString()));this.doSendClose(e,r).catch(()=>{})}async sendDidOpenNotebookDocument(e){let t=this.getMatchingCells(e);if(t!==void 0)return this.doSendOpen(e,t)}async doSendOpen(e,t){let r=async(s,o)=>{let a=Kr.c2p.asNotebookDocument(s,o,this.client.code2ProtocolConverter),u=o.map(h=>this.client.code2ProtocolConverter.asTextDocumentItem(h.document));try{await this.client.sendNotification(Fn.DidOpenNotebookDocumentNotification.type,{notebookDocument:a,cellTextDocuments:u})}catch(h){throw this.client.error("Sending DidOpenNotebookDocumentNotification failed",h),h}},i=this.client.middleware?.notebooks;return this.notebookSyncInfo.set(e.uri.toString(),Vs.create(t)),i?.didOpen!==void 0?i.didOpen(e,t,r):r(e,t)}async sendDidChangeNotebookDocument(e){return this.doSendChange(e,void 0)}async doSendChange(e,t=this.getMatchingCells(e.notebook)){let r=async s=>{try{await this.client.sendNotification(Fn.DidChangeNotebookDocumentNotification.type,{notebookDocument:Kr.c2p.asVersionedNotebookDocumentIdentifier(s.notebook,this.client.code2ProtocolConverter),change:Kr.c2p.asNotebookDocumentChangeEvent(s,this.client.code2ProtocolConverter)})}catch(o){throw this.client.error("Sending DidChangeNotebookDocumentNotification failed",o),o}},i=this.client.middleware?.notebooks;return e.cells?.structure!==void 0&&this.notebookSyncInfo.set(e.notebook.uri.toString(),Vs.create(t??[])),i?.didChange!==void 0?i?.didChange(e,r):r(e)}async sendDidSaveNotebookDocument(e){return this.doSendSave(e)}async doSendSave(e){let t=async i=>{try{await this.client.sendNotification(Fn.DidSaveNotebookDocumentNotification.type,{notebookDocument:{uri:this.client.code2ProtocolConverter.asUri(i.uri)}})}catch(s){throw this.client.error("Sending DidSaveNotebookDocumentNotification failed",s),s}},r=this.client.middleware?.notebooks;return r?.didSave!==void 0?r.didSave(e,t):t(e)}async sendDidCloseNotebookDocument(e){return this.doSendClose(e,this.getMatchingCells(e)??[])}async doSendClose(e,t){let r=async(s,o)=>{try{await this.client.sendNotification(Fn.DidCloseNotebookDocumentNotification.type,{notebookDocument:{uri:this.client.code2ProtocolConverter.asUri(s.uri)},cellTextDocuments:o.map(a=>this.client.code2ProtocolConverter.asTextDocumentIdentifier(a.document))})}catch(a){throw this.client.error("Sending DidCloseNotebookDocumentNotification failed",a),a}},i=this.client.middleware?.notebooks;return this.notebookSyncInfo.delete(e.uri.toString()),i?.didClose!==void 0?i.didClose(e,t,r):r(e,t)}asNotebookDocumentChangeEvent(e,t,r,i){if(t!==void 0&&t.notebook!==e)throw new Error("Notebook must be identical");let s={notebook:e};t?.metadata!==void 0&&(s.metadata=Kr.c2p.asMetadata(t.metadata));let o;if(t?.cellChanges!==void 0&&t.cellChanges.length>0){let a=[];o=new Set(i.map(u=>u.document.uri.toString()));for(let u of t.cellChanges)o.has(u.cell.document.uri.toString())&&(u.executionSummary!==void 0||u.metadata!==void 0)&&a.push(u.cell);a.length>0&&(s.cells=s.cells??{},s.cells.data=a)}if((t?.contentChanges!==void 0&&t.contentChanges.length>0||t===void 0)&&r!==void 0&&i!==void 0){let a=r.cells,u=i,h=yu.computeDiff(a,u,!1),p,v;if(h!==void 0){p=h.cells===void 0?new Map:new Map(h.cells.map(y=>[y.document.uri.toString(),y])),v=h.deleteCount===0?new Map:new Map(a.slice(h.start,h.start+h.deleteCount).map(y=>[y.document.uri.toString(),y]));for(let y of Array.from(v.keys()))p.has(y)&&(v.delete(y),p.delete(y));s.cells=s.cells??{};let m=[],R=[];if(p.size>0||v.size>0){for(let y of p.values())m.push(y);for(let y of v.values())R.push(y)}s.cells.structure={array:h,didOpen:m,didClose:R}}}return Object.keys(s).length>1?s:void 0}getMatchingCells(e,t=e.getCells()){if(this.options.notebookSelector!==void 0){for(let r of this.options.notebookSelector)if(r.notebook===void 0||vu.matchNotebook(r.notebook,e)){let i=this.filterCells(e,t,r.cells);return i.length===0?void 0:i}}}cellMatches(e,t){let r=this.getMatchingCells(e,[t]);return r!==void 0&&r[0]===t}filterCells(e,t,r){let i=r!==void 0?t.filter(s=>{let o=s.document.languageId;return r.some(a=>a.language==="*"||o===a.language)}):t;return typeof this.client.clientOptions.notebookDocumentOptions?.filterCells=="function"?this.client.clientOptions.notebookDocumentOptions.filterCells(e,i):i}},Bs=class n{constructor(e){this.client=e,this.registrations=new Map,this.registrationType=Fn.NotebookDocumentSyncRegistrationType.type,Ct.workspace.onDidOpenTextDocument(t=>{if(t.uri.scheme!==n.CellScheme)return;let[r,i]=this.findNotebookDocumentAndCell(t);if(!(r===void 0||i===void 0))for(let s of this.registrations.values())s instanceof zr&&s.didOpenNotebookCellTextDocument(r,i)}),Ct.workspace.onDidChangeTextDocument(t=>{if(t.contentChanges.length===0)return;let r=t.document;if(r.uri.scheme!==n.CellScheme)return;let[i]=this.findNotebookDocumentAndCell(r);if(i!==void 0)for(let s of this.registrations.values())s instanceof zr&&s.didChangeNotebookCellTextDocument(i,t)}),Ct.workspace.onDidCloseTextDocument(t=>{if(t.uri.scheme!==n.CellScheme)return;let[r,i]=this.findNotebookDocumentAndCell(t);if(!(r===void 0||i===void 0))for(let s of this.registrations.values())s instanceof zr&&s.didCloseNotebookCellTextDocument(r,i)})}getState(){if(this.registrations.size===0)return{kind:"document",id:this.registrationType.method,registrations:!1,matches:!1};for(let e of this.registrations.values()){let t=e.getState();if(t.kind==="document"&&t.registrations===!0&&t.matches===!0)return{kind:"document",id:this.registrationType.method,registrations:!0,matches:!0}}return{kind:"document",id:this.registrationType.method,registrations:!0,matches:!1}}fillClientCapabilities(e){let t=Qg(Qg(e,"notebookDocument"),"synchronization");t.dynamicRegistration=!0,t.executionSummarySupport=!0}preInitialize(e){let t=e.notebookDocumentSync;t!==void 0&&(this.dedicatedChannel=this.client.protocol2CodeConverter.asDocumentSelector(zs.asDocumentSelector(t)))}initialize(e){let t=e.notebookDocumentSync;if(t===void 0)return;let r=t.id??__.generateUuid();this.register({id:r,registerOptions:t})}register(e){let t=new zr(this.client,e.registerOptions);this.registrations.set(e.id,t)}unregister(e){let t=this.registrations.get(e);t&&t.dispose()}clear(){for(let e of this.registrations.values())e.dispose();this.registrations.clear()}handles(e){if(e.uri.scheme!==n.CellScheme)return!1;if(this.dedicatedChannel!==void 0&&Ct.languages.match(this.dedicatedChannel,e)>0)return!0;for(let t of this.registrations.values())if(t.handles(e))return!0;return!1}getProvider(e){for(let t of this.registrations.values())if(t.handles(e.document))return t}findNotebookDocumentAndCell(e){let t=e.uri.toString();for(let r of Ct.workspace.notebookDocuments)for(let i of r.getCells())if(i.document.uri.toString()===t)return[r,i];return[void 0,void 0]}};Gs.NotebookDocumentSyncFeature=Bs;Bs.CellScheme="vscode-notebook-cell"});var em=k(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});tr.SyncConfigurationFeature=tr.toJSONObject=tr.ConfigurationFeature=void 0;var Vr=require("vscode"),_i=te(),b_=Gt(),D_=Le(),Zg=me(),Cu=class{constructor(e){this._client=e}getState(){return{kind:"static"}}fillClientCapabilities(e){e.workspace=e.workspace||{},e.workspace.configuration=!0}initialize(){let e=this._client;e.onRequest(_i.ConfigurationRequest.type,(t,r)=>{let i=o=>{let a=[];for(let u of o.items){let h=u.scopeUri!==void 0&&u.scopeUri!==null?this._client.protocol2CodeConverter.asUri(u.scopeUri):void 0;a.push(this.getConfiguration(h,u.section!==null?u.section:void 0))}return a},s=e.middleware.workspace;return s&&s.configuration?s.configuration(t,r,i):i(t,r)})}getConfiguration(e,t){let r=null;if(t){let i=t.lastIndexOf(".");if(i===-1)r=hr(Vr.workspace.getConfiguration(void 0,e).get(t));else{let s=Vr.workspace.getConfiguration(t.substr(0,i),e);s&&(r=hr(s.get(t.substr(i+1))))}}else{let i=Vr.workspace.getConfiguration(void 0,e);r={};for(let s of Object.keys(i))i.has(s)&&(r[s]=hr(i.get(s)))}return r===void 0&&(r=null),r}clear(){}};tr.ConfigurationFeature=Cu;function hr(n){if(n){if(Array.isArray(n))return n.map(hr);if(typeof n=="object"){let e=Object.create(null);for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=hr(n[t]));return e}}return n}tr.toJSONObject=hr;var _u=class{constructor(e){this._client=e,this.isCleared=!1,this._listeners=new Map}getState(){return{kind:"workspace",id:this.registrationType.method,registrations:this._listeners.size>0}}get registrationType(){return _i.DidChangeConfigurationNotification.type}fillClientCapabilities(e){(0,Zg.ensure)((0,Zg.ensure)(e,"workspace"),"didChangeConfiguration").dynamicRegistration=!0}initialize(){this.isCleared=!1;let e=this._client.clientOptions.synchronize?.configurationSection;e!==void 0&&this.register({id:D_.generateUuid(),registerOptions:{section:e}})}register(e){let t=Vr.workspace.onDidChangeConfiguration(r=>{this.onDidChangeConfiguration(e.registerOptions.section,r)});this._listeners.set(e.id,t),e.registerOptions.section!==void 0&&this.onDidChangeConfiguration(e.registerOptions.section,void 0)}unregister(e){let t=this._listeners.get(e);t&&(this._listeners.delete(e),t.dispose())}clear(){for(let e of this._listeners.values())e.dispose();this._listeners.clear(),this.isCleared=!0}onDidChangeConfiguration(e,t){if(this.isCleared)return;let r;if(b_.string(e)?r=[e]:r=e,r!==void 0&&t!==void 0&&!r.some(a=>t.affectsConfiguration(a)))return;let i=async o=>o===void 0?this._client.sendNotification(_i.DidChangeConfigurationNotification.type,{settings:null}):this._client.sendNotification(_i.DidChangeConfigurationNotification.type,{settings:this.extractSettingsInformation(o)}),s=this._client.middleware.workspace?.didChangeConfiguration;(s?s(r,i):i(r)).catch(o=>{this._client.error(`Sending notification ${_i.DidChangeConfigurationNotification.type.method} failed`,o)})}extractSettingsInformation(e){function t(s,o){let a=s;for(let u=0;u=0?u=Vr.workspace.getConfiguration(o.substr(0,a),r).get(o.substr(a+1)):u=Vr.workspace.getConfiguration(void 0,r).get(o),u){let h=e[s].split(".");t(i,h)[h[h.length-1]]=hr(u)}}return i}};tr.SyncConfigurationFeature=_u});var tm=k(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.DidSaveTextDocumentFeature=Ot.WillSaveWaitUntilFeature=Ot.WillSaveFeature=Ot.DidChangeTextDocumentFeature=Ot.DidCloseTextDocumentFeature=Ot.DidOpenTextDocumentFeature=void 0;var Ut=require("vscode"),ke=te(),$e=me(),Br=Le(),bu=class extends $e.TextDocumentEventFeature{constructor(e,t){super(e,Ut.workspace.onDidOpenTextDocument,ke.DidOpenTextDocumentNotification.type,()=>e.middleware.didOpen,r=>e.code2ProtocolConverter.asOpenTextDocumentParams(r),r=>r,$e.TextDocumentEventFeature.textDocumentFilter),this._syncedDocuments=t}get openDocuments(){return this._syncedDocuments.values()}fillClientCapabilities(e){(0,$e.ensure)((0,$e.ensure)(e,"textDocument"),"synchronization").dynamicRegistration=!0}initialize(e,t){let r=e.resolvedTextDocumentSync;t&&r&&r.openClose&&this.register({id:Br.generateUuid(),registerOptions:{documentSelector:t}})}get registrationType(){return ke.DidOpenTextDocumentNotification.type}register(e){if(super.register(e),!e.registerOptions.documentSelector)return;let t=this._client.protocol2CodeConverter.asDocumentSelector(e.registerOptions.documentSelector);Ut.workspace.textDocuments.forEach(r=>{let i=r.uri.toString();if(!this._syncedDocuments.has(i)&&Ut.languages.match(t,r)>0&&!this._client.hasDedicatedTextSynchronizationFeature(r)){let s=this._client.middleware,o=a=>this._client.sendNotification(this._type,this._createParams(a));(s.didOpen?s.didOpen(r,o):o(r)).catch(a=>{this._client.error(`Sending document notification ${this._type.method} failed`,a)}),this._syncedDocuments.set(i,r)}})}getTextDocument(e){return e}notificationSent(e,t,r){this._syncedDocuments.set(e.uri.toString(),e),super.notificationSent(e,t,r)}};Ot.DidOpenTextDocumentFeature=bu;var Du=class extends $e.TextDocumentEventFeature{constructor(e,t,r){super(e,Ut.workspace.onDidCloseTextDocument,ke.DidCloseTextDocumentNotification.type,()=>e.middleware.didClose,i=>e.code2ProtocolConverter.asCloseTextDocumentParams(i),i=>i,$e.TextDocumentEventFeature.textDocumentFilter),this._syncedDocuments=t,this._pendingTextDocumentChanges=r}get registrationType(){return ke.DidCloseTextDocumentNotification.type}fillClientCapabilities(e){(0,$e.ensure)((0,$e.ensure)(e,"textDocument"),"synchronization").dynamicRegistration=!0}initialize(e,t){let r=e.resolvedTextDocumentSync;t&&r&&r.openClose&&this.register({id:Br.generateUuid(),registerOptions:{documentSelector:t}})}async callback(e){await super.callback(e),this._pendingTextDocumentChanges.delete(e.uri.toString())}getTextDocument(e){return e}notificationSent(e,t,r){this._syncedDocuments.delete(e.uri.toString()),super.notificationSent(e,t,r)}unregister(e){let t=this._selectors.get(e);super.unregister(e);let r=this._selectors.values();this._syncedDocuments.forEach(i=>{if(Ut.languages.match(t,i)>0&&!this._selectorFilter(r,i)&&!this._client.hasDedicatedTextSynchronizationFeature(i)){let s=this._client.middleware,o=a=>this._client.sendNotification(this._type,this._createParams(a));this._syncedDocuments.delete(i.uri.toString()),(s.didClose?s.didClose(i,o):o(i)).catch(a=>{this._client.error(`Sending document notification ${this._type.method} failed`,a)})}})}};Ot.DidCloseTextDocumentFeature=Du;var wu=class extends $e.DynamicDocumentFeature{constructor(e,t){super(e),this._changeData=new Map,this._onNotificationSent=new Ut.EventEmitter,this._onPendingChangeAdded=new Ut.EventEmitter,this._pendingTextDocumentChanges=t,this._syncKind=ke.TextDocumentSyncKind.None}get onNotificationSent(){return this._onNotificationSent.event}get onPendingChangeAdded(){return this._onPendingChangeAdded.event}get syncKind(){return this._syncKind}get registrationType(){return ke.DidChangeTextDocumentNotification.type}fillClientCapabilities(e){(0,$e.ensure)((0,$e.ensure)(e,"textDocument"),"synchronization").dynamicRegistration=!0}initialize(e,t){let r=e.resolvedTextDocumentSync;t&&r&&r.change!==void 0&&r.change!==ke.TextDocumentSyncKind.None&&this.register({id:Br.generateUuid(),registerOptions:Object.assign({},{documentSelector:t},{syncKind:r.change})})}register(e){e.registerOptions.documentSelector&&(this._listener||(this._listener=Ut.workspace.onDidChangeTextDocument(this.callback,this)),this._changeData.set(e.id,{syncKind:e.registerOptions.syncKind,documentSelector:this._client.protocol2CodeConverter.asDocumentSelector(e.registerOptions.documentSelector)}),this.updateSyncKind(e.registerOptions.syncKind))}*getDocumentSelectors(){for(let e of this._changeData.values())yield e.documentSelector}async callback(e){if(e.contentChanges.length===0)return;let t=e.document.uri,r=e.document.version,i=[];for(let s of this._changeData.values())if(Ut.languages.match(s.documentSelector,e.document)>0&&!this._client.hasDedicatedTextSynchronizationFeature(e.document)){let o=this._client.middleware;if(s.syncKind===ke.TextDocumentSyncKind.Incremental){let a=async u=>{let h=this._client.code2ProtocolConverter.asChangeTextDocumentParams(u,t,r);await this._client.sendNotification(ke.DidChangeTextDocumentNotification.type,h),this.notificationSent(u.document,ke.DidChangeTextDocumentNotification.type,h)};i.push(o.didChange?o.didChange(e,u=>a(u)):a(e))}else if(s.syncKind===ke.TextDocumentSyncKind.Full){let a=async u=>{let h=u.document.uri.toString();this._pendingTextDocumentChanges.set(h,u.document),this._onPendingChangeAdded.fire()};i.push(o.didChange?o.didChange(e,u=>a(u)):a(e))}}return Promise.all(i).then(void 0,s=>{throw this._client.error(`Sending document notification ${ke.DidChangeTextDocumentNotification.type.method} failed`,s),s})}notificationSent(e,t,r){this._onNotificationSent.fire({textDocument:e,type:t,params:r})}unregister(e){if(this._changeData.delete(e),this._changeData.size===0)this._listener&&(this._listener.dispose(),this._listener=void 0),this._syncKind=ke.TextDocumentSyncKind.None;else{this._syncKind=ke.TextDocumentSyncKind.None;for(let t of this._changeData.values())if(this.updateSyncKind(t.syncKind),this._syncKind===ke.TextDocumentSyncKind.Full)break}}clear(){this._pendingTextDocumentChanges.clear(),this._changeData.clear(),this._syncKind=ke.TextDocumentSyncKind.None,this._listener&&(this._listener.dispose(),this._listener=void 0)}getPendingDocumentChanges(e){if(this._pendingTextDocumentChanges.size===0)return[];let t;if(e.size===0)t=Array.from(this._pendingTextDocumentChanges.values()),this._pendingTextDocumentChanges.clear();else{t=[];for(let r of this._pendingTextDocumentChanges)e.has(r[0])||(t.push(r[1]),this._pendingTextDocumentChanges.delete(r[0]))}return t}getProvider(e){for(let t of this._changeData.values())if(Ut.languages.match(t.documentSelector,e)>0)return{send:r=>this.callback(r)}}updateSyncKind(e){if(this._syncKind!==ke.TextDocumentSyncKind.Full)switch(e){case ke.TextDocumentSyncKind.Full:this._syncKind=e;break;case ke.TextDocumentSyncKind.Incremental:this._syncKind===ke.TextDocumentSyncKind.None&&(this._syncKind=ke.TextDocumentSyncKind.Incremental);break}}};Ot.DidChangeTextDocumentFeature=wu;var Ru=class extends $e.TextDocumentEventFeature{constructor(e){super(e,Ut.workspace.onWillSaveTextDocument,ke.WillSaveTextDocumentNotification.type,()=>e.middleware.willSave,t=>e.code2ProtocolConverter.asWillSaveTextDocumentParams(t),t=>t.document,(t,r)=>$e.TextDocumentEventFeature.textDocumentFilter(t,r.document))}get registrationType(){return ke.WillSaveTextDocumentNotification.type}fillClientCapabilities(e){let t=(0,$e.ensure)((0,$e.ensure)(e,"textDocument"),"synchronization");t.willSave=!0}initialize(e,t){let r=e.resolvedTextDocumentSync;t&&r&&r.willSave&&this.register({id:Br.generateUuid(),registerOptions:{documentSelector:t}})}getTextDocument(e){return e.document}};Ot.WillSaveFeature=Ru;var Su=class extends $e.DynamicDocumentFeature{constructor(e){super(e),this._selectors=new Map}getDocumentSelectors(){return this._selectors.values()}get registrationType(){return ke.WillSaveTextDocumentWaitUntilRequest.type}fillClientCapabilities(e){let t=(0,$e.ensure)((0,$e.ensure)(e,"textDocument"),"synchronization");t.willSaveWaitUntil=!0}initialize(e,t){let r=e.resolvedTextDocumentSync;t&&r&&r.willSaveWaitUntil&&this.register({id:Br.generateUuid(),registerOptions:{documentSelector:t}})}register(e){e.registerOptions.documentSelector&&(this._listener||(this._listener=Ut.workspace.onWillSaveTextDocument(this.callback,this)),this._selectors.set(e.id,this._client.protocol2CodeConverter.asDocumentSelector(e.registerOptions.documentSelector)))}callback(e){if($e.TextDocumentEventFeature.textDocumentFilter(this._selectors.values(),e.document)&&!this._client.hasDedicatedTextSynchronizationFeature(e.document)){let t=this._client.middleware,r=i=>this._client.sendRequest(ke.WillSaveTextDocumentWaitUntilRequest.type,this._client.code2ProtocolConverter.asWillSaveTextDocumentParams(i)).then(async s=>{let o=await this._client.protocol2CodeConverter.asTextEdits(s);return o===void 0?[]:o});e.waitUntil(t.willSaveWaitUntil?t.willSaveWaitUntil(e,r):r(e))}}unregister(e){this._selectors.delete(e),this._selectors.size===0&&this._listener&&(this._listener.dispose(),this._listener=void 0)}clear(){this._selectors.clear(),this._listener&&(this._listener.dispose(),this._listener=void 0)}};Ot.WillSaveWaitUntilFeature=Su;var Tu=class extends $e.TextDocumentEventFeature{constructor(e){super(e,Ut.workspace.onDidSaveTextDocument,ke.DidSaveTextDocumentNotification.type,()=>e.middleware.didSave,t=>e.code2ProtocolConverter.asSaveTextDocumentParams(t,this._includeText),t=>t,$e.TextDocumentEventFeature.textDocumentFilter),this._includeText=!1}get registrationType(){return ke.DidSaveTextDocumentNotification.type}fillClientCapabilities(e){(0,$e.ensure)((0,$e.ensure)(e,"textDocument"),"synchronization").didSave=!0}initialize(e,t){let r=e.resolvedTextDocumentSync;if(t&&r&&r.save){let i=typeof r.save=="boolean"?{includeText:!1}:{includeText:!!r.save.includeText};this.register({id:Br.generateUuid(),registerOptions:Object.assign({},{documentSelector:t},i)})}}register(e){this._includeText=!!e.registerOptions.includeText,super.register(e)}getTextDocument(e){return e}};Ot.DidSaveTextDocumentFeature=Tu});var nm=k(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.CompletionItemFeature=void 0;var w_=require("vscode"),he=te(),Pu=me(),R_=Le(),S_=[he.CompletionItemKind.Text,he.CompletionItemKind.Method,he.CompletionItemKind.Function,he.CompletionItemKind.Constructor,he.CompletionItemKind.Field,he.CompletionItemKind.Variable,he.CompletionItemKind.Class,he.CompletionItemKind.Interface,he.CompletionItemKind.Module,he.CompletionItemKind.Property,he.CompletionItemKind.Unit,he.CompletionItemKind.Value,he.CompletionItemKind.Enum,he.CompletionItemKind.Keyword,he.CompletionItemKind.Snippet,he.CompletionItemKind.Color,he.CompletionItemKind.File,he.CompletionItemKind.Reference,he.CompletionItemKind.Folder,he.CompletionItemKind.EnumMember,he.CompletionItemKind.Constant,he.CompletionItemKind.Struct,he.CompletionItemKind.Event,he.CompletionItemKind.Operator,he.CompletionItemKind.TypeParameter],Eu=class extends Pu.TextDocumentLanguageFeature{constructor(e){super(e,he.CompletionRequest.type),this.labelDetailsSupport=new Map}fillClientCapabilities(e){let t=(0,Pu.ensure)((0,Pu.ensure)(e,"textDocument"),"completion");t.dynamicRegistration=!0,t.contextSupport=!0,t.completionItem={snippetSupport:!0,commitCharactersSupport:!0,documentationFormat:[he.MarkupKind.Markdown,he.MarkupKind.PlainText],deprecatedSupport:!0,preselectSupport:!0,tagSupport:{valueSet:[he.CompletionItemTag.Deprecated]},insertReplaceSupport:!0,resolveSupport:{properties:["documentation","detail","additionalTextEdits"]},insertTextModeSupport:{valueSet:[he.InsertTextMode.asIs,he.InsertTextMode.adjustIndentation]},labelDetailsSupport:!0},t.insertTextMode=he.InsertTextMode.adjustIndentation,t.completionItemKind={valueSet:S_},t.completionList={itemDefaults:["commitCharacters","editRange","insertTextFormat","insertTextMode","data"]}}initialize(e,t){let r=this.getRegistrationOptions(t,e.completionProvider);r&&this.register({id:R_.generateUuid(),registerOptions:r})}registerLanguageProvider(e,t){this.labelDetailsSupport.set(t,!!e.completionItem?.labelDetailsSupport);let r=e.triggerCharacters??[],i=e.allCommitCharacters,s=e.documentSelector,o={provideCompletionItems:(a,u,h,p)=>{let v=this._client,m=this._client.middleware,R=(y,P,q,N)=>v.sendRequest(he.CompletionRequest.type,v.code2ProtocolConverter.asCompletionParams(y,P,q),N).then(L=>N.isCancellationRequested?null:v.protocol2CodeConverter.asCompletionResult(L,i,N),L=>v.handleFailedRequest(he.CompletionRequest.type,N,L,null));return m.provideCompletionItem?m.provideCompletionItem(a,u,p,h,R):R(a,u,p,h)},resolveCompletionItem:e.resolveProvider?(a,u)=>{let h=this._client,p=this._client.middleware,v=(m,R)=>h.sendRequest(he.CompletionResolveRequest.type,h.code2ProtocolConverter.asCompletionItem(m,!!this.labelDetailsSupport.get(t)),R).then(y=>R.isCancellationRequested?null:h.protocol2CodeConverter.asCompletionItem(y),y=>h.handleFailedRequest(he.CompletionResolveRequest.type,R,y,m));return p.resolveCompletionItem?p.resolveCompletionItem(a,u,v):v(a,u)}:void 0};return[w_.languages.registerCompletionItemProvider(this._client.protocol2CodeConverter.asDocumentSelector(s),o,...r),o]}};Xs.CompletionItemFeature=Eu});var rm=k(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.HoverFeature=void 0;var T_=require("vscode"),bi=te(),qu=me(),P_=Le(),ku=class extends qu.TextDocumentLanguageFeature{constructor(e){super(e,bi.HoverRequest.type)}fillClientCapabilities(e){let t=(0,qu.ensure)((0,qu.ensure)(e,"textDocument"),"hover");t.dynamicRegistration=!0,t.contentFormat=[bi.MarkupKind.Markdown,bi.MarkupKind.PlainText]}initialize(e,t){let r=this.getRegistrationOptions(t,e.hoverProvider);r&&this.register({id:P_.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideHover:(i,s,o)=>{let a=this._client,u=(p,v,m)=>a.sendRequest(bi.HoverRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(p,v),m).then(R=>m.isCancellationRequested?null:a.protocol2CodeConverter.asHover(R),R=>a.handleFailedRequest(bi.HoverRequest.type,m,R,null)),h=a.middleware;return h.provideHover?h.provideHover(i,s,o,u):u(i,s,o)}};return[this.registerProvider(t,r),r]}registerProvider(e,t){return T_.languages.registerHoverProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Js.HoverFeature=ku});var im=k(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.DefinitionFeature=void 0;var E_=require("vscode"),xu=te(),Iu=me(),q_=Le(),Ou=class extends Iu.TextDocumentLanguageFeature{constructor(e){super(e,xu.DefinitionRequest.type)}fillClientCapabilities(e){let t=(0,Iu.ensure)((0,Iu.ensure)(e,"textDocument"),"definition");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.definitionProvider);r&&this.register({id:q_.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideDefinition:(i,s,o)=>{let a=this._client,u=(p,v,m)=>a.sendRequest(xu.DefinitionRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(p,v),m).then(R=>m.isCancellationRequested?null:a.protocol2CodeConverter.asDefinitionResult(R,m),R=>a.handleFailedRequest(xu.DefinitionRequest.type,m,R,null)),h=a.middleware;return h.provideDefinition?h.provideDefinition(i,s,o,u):u(i,s,o)}};return[this.registerProvider(t,r),r]}registerProvider(e,t){return E_.languages.registerDefinitionProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Qs.DefinitionFeature=Ou});var om=k(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.SignatureHelpFeature=void 0;var sm=require("vscode"),Di=te(),Fu=me(),k_=Le(),Nu=class extends Fu.TextDocumentLanguageFeature{constructor(e){super(e,Di.SignatureHelpRequest.type)}fillClientCapabilities(e){let t=(0,Fu.ensure)((0,Fu.ensure)(e,"textDocument"),"signatureHelp");t.dynamicRegistration=!0,t.signatureInformation={documentationFormat:[Di.MarkupKind.Markdown,Di.MarkupKind.PlainText]},t.signatureInformation.parameterInformation={labelOffsetSupport:!0},t.signatureInformation.activeParameterSupport=!0,t.contextSupport=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.signatureHelpProvider);r&&this.register({id:k_.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t={provideSignatureHelp:(r,i,s,o)=>{let a=this._client,u=(p,v,m,R)=>a.sendRequest(Di.SignatureHelpRequest.type,a.code2ProtocolConverter.asSignatureHelpParams(p,v,m),R).then(y=>R.isCancellationRequested?null:a.protocol2CodeConverter.asSignatureHelp(y,R),y=>a.handleFailedRequest(Di.SignatureHelpRequest.type,R,y,null)),h=a.middleware;return h.provideSignatureHelp?h.provideSignatureHelp(r,i,o,s,u):u(r,i,o,s)}};return[this.registerProvider(e,t),t]}registerProvider(e,t){let r=this._client.protocol2CodeConverter.asDocumentSelector(e.documentSelector);if(e.retriggerCharacters===void 0){let i=e.triggerCharacters||[];return sm.languages.registerSignatureHelpProvider(r,t,...i)}else{let i={triggerCharacters:e.triggerCharacters||[],retriggerCharacters:e.retriggerCharacters||[]};return sm.languages.registerSignatureHelpProvider(r,t,i)}}};Ys.SignatureHelpFeature=Nu});var am=k(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.DocumentHighlightFeature=void 0;var x_=require("vscode"),Mu=te(),Lu=me(),I_=Le(),Au=class extends Lu.TextDocumentLanguageFeature{constructor(e){super(e,Mu.DocumentHighlightRequest.type)}fillClientCapabilities(e){(0,Lu.ensure)((0,Lu.ensure)(e,"textDocument"),"documentHighlight").dynamicRegistration=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.documentHighlightProvider);r&&this.register({id:I_.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideDocumentHighlights:(i,s,o)=>{let a=this._client,u=(p,v,m)=>a.sendRequest(Mu.DocumentHighlightRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(p,v),m).then(R=>m.isCancellationRequested?null:a.protocol2CodeConverter.asDocumentHighlights(R,m),R=>a.handleFailedRequest(Mu.DocumentHighlightRequest.type,m,R,null)),h=a.middleware;return h.provideDocumentHighlights?h.provideDocumentHighlights(i,s,o,u):u(i,s,o)}};return[x_.languages.registerDocumentHighlightProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r),r]}};Zs.DocumentHighlightFeature=Au});var Hu=k(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.DocumentSymbolFeature=Tn.SupportedSymbolTags=Tn.SupportedSymbolKinds=void 0;var O_=require("vscode"),De=te(),ju=me(),F_=Le();Tn.SupportedSymbolKinds=[De.SymbolKind.File,De.SymbolKind.Module,De.SymbolKind.Namespace,De.SymbolKind.Package,De.SymbolKind.Class,De.SymbolKind.Method,De.SymbolKind.Property,De.SymbolKind.Field,De.SymbolKind.Constructor,De.SymbolKind.Enum,De.SymbolKind.Interface,De.SymbolKind.Function,De.SymbolKind.Variable,De.SymbolKind.Constant,De.SymbolKind.String,De.SymbolKind.Number,De.SymbolKind.Boolean,De.SymbolKind.Array,De.SymbolKind.Object,De.SymbolKind.Key,De.SymbolKind.Null,De.SymbolKind.EnumMember,De.SymbolKind.Struct,De.SymbolKind.Event,De.SymbolKind.Operator,De.SymbolKind.TypeParameter];Tn.SupportedSymbolTags=[De.SymbolTag.Deprecated];var $u=class extends ju.TextDocumentLanguageFeature{constructor(e){super(e,De.DocumentSymbolRequest.type)}fillClientCapabilities(e){let t=(0,ju.ensure)((0,ju.ensure)(e,"textDocument"),"documentSymbol");t.dynamicRegistration=!0,t.symbolKind={valueSet:Tn.SupportedSymbolKinds},t.hierarchicalDocumentSymbolSupport=!0,t.tagSupport={valueSet:Tn.SupportedSymbolTags},t.labelSupport=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.documentSymbolProvider);r&&this.register({id:F_.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideDocumentSymbols:(s,o)=>{let a=this._client,u=async(p,v)=>{try{let m=await a.sendRequest(De.DocumentSymbolRequest.type,a.code2ProtocolConverter.asDocumentSymbolParams(p),v);if(v.isCancellationRequested||m===void 0||m===null)return null;if(m.length===0)return[];{let R=m[0];return De.DocumentSymbol.is(R)?await a.protocol2CodeConverter.asDocumentSymbols(m,v):await a.protocol2CodeConverter.asSymbolInformations(m,v)}}catch(m){return a.handleFailedRequest(De.DocumentSymbolRequest.type,v,m,null)}},h=a.middleware;return h.provideDocumentSymbols?h.provideDocumentSymbols(s,o,u):u(s,o)}},i=e.label!==void 0?{label:e.label}:void 0;return[O_.languages.registerDocumentSymbolProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r,i),r]}};Tn.DocumentSymbolFeature=$u});var um=k(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.WorkspaceSymbolFeature=void 0;var N_=require("vscode"),wi=te(),Uu=me(),cm=Hu(),M_=Le(),Wu=class extends Uu.WorkspaceFeature{constructor(e){super(e,wi.WorkspaceSymbolRequest.type)}fillClientCapabilities(e){let t=(0,Uu.ensure)((0,Uu.ensure)(e,"workspace"),"symbol");t.dynamicRegistration=!0,t.symbolKind={valueSet:cm.SupportedSymbolKinds},t.tagSupport={valueSet:cm.SupportedSymbolTags},t.resolveSupport={properties:["location.range"]}}initialize(e){e.workspaceSymbolProvider&&this.register({id:M_.generateUuid(),registerOptions:e.workspaceSymbolProvider===!0?{workDoneProgress:!1}:e.workspaceSymbolProvider})}registerLanguageProvider(e){let t={provideWorkspaceSymbols:(r,i)=>{let s=this._client,o=(u,h)=>s.sendRequest(wi.WorkspaceSymbolRequest.type,{query:u},h).then(p=>h.isCancellationRequested?null:s.protocol2CodeConverter.asSymbolInformations(p,h),p=>s.handleFailedRequest(wi.WorkspaceSymbolRequest.type,h,p,null)),a=s.middleware;return a.provideWorkspaceSymbols?a.provideWorkspaceSymbols(r,i,o):o(r,i)},resolveWorkspaceSymbol:e.resolveProvider===!0?(r,i)=>{let s=this._client,o=(u,h)=>s.sendRequest(wi.WorkspaceSymbolResolveRequest.type,s.code2ProtocolConverter.asWorkspaceSymbol(u),h).then(p=>h.isCancellationRequested?null:s.protocol2CodeConverter.asSymbolInformation(p),p=>s.handleFailedRequest(wi.WorkspaceSymbolResolveRequest.type,h,p,null)),a=s.middleware;return a.resolveWorkspaceSymbol?a.resolveWorkspaceSymbol(r,i,o):o(r,i)}:void 0};return[N_.languages.registerWorkspaceSymbolProvider(t),t]}};eo.WorkspaceSymbolFeature=Wu});var lm=k(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.ReferencesFeature=void 0;var L_=require("vscode"),Ku=te(),zu=me(),A_=Le(),Vu=class extends zu.TextDocumentLanguageFeature{constructor(e){super(e,Ku.ReferencesRequest.type)}fillClientCapabilities(e){(0,zu.ensure)((0,zu.ensure)(e,"textDocument"),"references").dynamicRegistration=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.referencesProvider);r&&this.register({id:A_.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideReferences:(i,s,o,a)=>{let u=this._client,h=(v,m,R,y)=>u.sendRequest(Ku.ReferencesRequest.type,u.code2ProtocolConverter.asReferenceParams(v,m,R),y).then(P=>y.isCancellationRequested?null:u.protocol2CodeConverter.asReferences(P,y),P=>u.handleFailedRequest(Ku.ReferencesRequest.type,y,P,null)),p=u.middleware;return p.provideReferences?p.provideReferences(i,s,o,a,h):h(i,s,o,a)}};return[this.registerProvider(t,r),r]}registerProvider(e,t){return L_.languages.registerReferenceProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};to.ReferencesFeature=Vu});var dm=k(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.CodeActionFeature=void 0;var j_=require("vscode"),Wt=te(),$_=Le(),Bu=me(),Gu=class extends Bu.TextDocumentLanguageFeature{constructor(e){super(e,Wt.CodeActionRequest.type)}fillClientCapabilities(e){let t=(0,Bu.ensure)((0,Bu.ensure)(e,"textDocument"),"codeAction");t.dynamicRegistration=!0,t.isPreferredSupport=!0,t.disabledSupport=!0,t.dataSupport=!0,t.resolveSupport={properties:["edit"]},t.codeActionLiteralSupport={codeActionKind:{valueSet:[Wt.CodeActionKind.Empty,Wt.CodeActionKind.QuickFix,Wt.CodeActionKind.Refactor,Wt.CodeActionKind.RefactorExtract,Wt.CodeActionKind.RefactorInline,Wt.CodeActionKind.RefactorRewrite,Wt.CodeActionKind.Source,Wt.CodeActionKind.SourceOrganizeImports]}},t.honorsChangeAnnotations=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.codeActionProvider);r&&this.register({id:$_.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideCodeActions:(i,s,o,a)=>{let u=this._client,h=async(v,m,R,y)=>{let P={textDocument:u.code2ProtocolConverter.asTextDocumentIdentifier(v),range:u.code2ProtocolConverter.asRange(m),context:u.code2ProtocolConverter.asCodeActionContextSync(R)};return u.sendRequest(Wt.CodeActionRequest.type,P,y).then(q=>y.isCancellationRequested||q===null||q===void 0?null:u.protocol2CodeConverter.asCodeActionResult(q,y),q=>u.handleFailedRequest(Wt.CodeActionRequest.type,y,q,null))},p=u.middleware;return p.provideCodeActions?p.provideCodeActions(i,s,o,a,h):h(i,s,o,a)},resolveCodeAction:e.resolveProvider?(i,s)=>{let o=this._client,a=this._client.middleware,u=async(h,p)=>o.sendRequest(Wt.CodeActionResolveRequest.type,o.code2ProtocolConverter.asCodeActionSync(h),p).then(v=>p.isCancellationRequested?h:o.protocol2CodeConverter.asCodeAction(v,p),v=>o.handleFailedRequest(Wt.CodeActionResolveRequest.type,p,v,h));return a.resolveCodeAction?a.resolveCodeAction(i,s,u):u(i,s)}:void 0};return[j_.languages.registerCodeActionsProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r,e.codeActionKinds?{providedCodeActionKinds:this._client.protocol2CodeConverter.asCodeActionKinds(e.codeActionKinds)}:void 0),r]}};no.CodeActionFeature=Gu});var hm=k(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.CodeLensFeature=void 0;var fm=require("vscode"),Gr=te(),H_=Le(),Ri=me(),Xu=class extends Ri.TextDocumentLanguageFeature{constructor(e){super(e,Gr.CodeLensRequest.type)}fillClientCapabilities(e){(0,Ri.ensure)((0,Ri.ensure)(e,"textDocument"),"codeLens").dynamicRegistration=!0,(0,Ri.ensure)((0,Ri.ensure)(e,"workspace"),"codeLens").refreshSupport=!0}initialize(e,t){this._client.onRequest(Gr.CodeLensRefreshRequest.type,async()=>{for(let s of this.getAllProviders())s.onDidChangeCodeLensEmitter.fire()});let i=this.getRegistrationOptions(t,e.codeLensProvider);i&&this.register({id:H_.generateUuid(),registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r=new fm.EventEmitter,i={onDidChangeCodeLenses:r.event,provideCodeLenses:(s,o)=>{let a=this._client,u=(p,v)=>a.sendRequest(Gr.CodeLensRequest.type,a.code2ProtocolConverter.asCodeLensParams(p),v).then(m=>v.isCancellationRequested?null:a.protocol2CodeConverter.asCodeLenses(m,v),m=>a.handleFailedRequest(Gr.CodeLensRequest.type,v,m,null)),h=a.middleware;return h.provideCodeLenses?h.provideCodeLenses(s,o,u):u(s,o)},resolveCodeLens:e.resolveProvider?(s,o)=>{let a=this._client,u=(p,v)=>a.sendRequest(Gr.CodeLensResolveRequest.type,a.code2ProtocolConverter.asCodeLens(p),v).then(m=>v.isCancellationRequested?p:a.protocol2CodeConverter.asCodeLens(m),m=>a.handleFailedRequest(Gr.CodeLensResolveRequest.type,v,m,p)),h=a.middleware;return h.resolveCodeLens?h.resolveCodeLens(s,o,u):u(s,o)}:void 0};return[fm.languages.registerCodeLensProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i),{provider:i,onDidChangeCodeLensEmitter:r}]}};ro.CodeLensFeature=Xu});var pm=k(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.DocumentOnTypeFormattingFeature=nr.DocumentRangeFormattingFeature=nr.DocumentFormattingFeature=void 0;var io=require("vscode"),dn=te(),Zu=Le(),Nn=me(),Xr;(function(n){function e(t){let r=io.workspace.getConfiguration("files",t);return{trimTrailingWhitespace:r.get("trimTrailingWhitespace"),trimFinalNewlines:r.get("trimFinalNewlines"),insertFinalNewline:r.get("insertFinalNewline")}}n.fromConfiguration=e})(Xr||(Xr={}));var Ju=class extends Nn.TextDocumentLanguageFeature{constructor(e){super(e,dn.DocumentFormattingRequest.type)}fillClientCapabilities(e){(0,Nn.ensure)((0,Nn.ensure)(e,"textDocument"),"formatting").dynamicRegistration=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.documentFormattingProvider);r&&this.register({id:Zu.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideDocumentFormattingEdits:(i,s,o)=>{let a=this._client,u=(p,v,m)=>{let R={textDocument:a.code2ProtocolConverter.asTextDocumentIdentifier(p),options:a.code2ProtocolConverter.asFormattingOptions(v,Xr.fromConfiguration(p))};return a.sendRequest(dn.DocumentFormattingRequest.type,R,m).then(y=>m.isCancellationRequested?null:a.protocol2CodeConverter.asTextEdits(y,m),y=>a.handleFailedRequest(dn.DocumentFormattingRequest.type,m,y,null))},h=a.middleware;return h.provideDocumentFormattingEdits?h.provideDocumentFormattingEdits(i,s,o,u):u(i,s,o)}};return[io.languages.registerDocumentFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r),r]}};nr.DocumentFormattingFeature=Ju;var Qu=class extends Nn.TextDocumentLanguageFeature{constructor(e){super(e,dn.DocumentRangeFormattingRequest.type)}fillClientCapabilities(e){let t=(0,Nn.ensure)((0,Nn.ensure)(e,"textDocument"),"rangeFormatting");t.dynamicRegistration=!0,t.rangesSupport=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.documentRangeFormattingProvider);r&&this.register({id:Zu.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideDocumentRangeFormattingEdits:(i,s,o,a)=>{let u=this._client,h=(v,m,R,y)=>{let P={textDocument:u.code2ProtocolConverter.asTextDocumentIdentifier(v),range:u.code2ProtocolConverter.asRange(m),options:u.code2ProtocolConverter.asFormattingOptions(R,Xr.fromConfiguration(v))};return u.sendRequest(dn.DocumentRangeFormattingRequest.type,P,y).then(q=>y.isCancellationRequested?null:u.protocol2CodeConverter.asTextEdits(q,y),q=>u.handleFailedRequest(dn.DocumentRangeFormattingRequest.type,y,q,null))},p=u.middleware;return p.provideDocumentRangeFormattingEdits?p.provideDocumentRangeFormattingEdits(i,s,o,a,h):h(i,s,o,a)}};return e.rangesSupport&&(r.provideDocumentRangesFormattingEdits=(i,s,o,a)=>{let u=this._client,h=(v,m,R,y)=>{let P={textDocument:u.code2ProtocolConverter.asTextDocumentIdentifier(v),ranges:u.code2ProtocolConverter.asRanges(m),options:u.code2ProtocolConverter.asFormattingOptions(R,Xr.fromConfiguration(v))};return u.sendRequest(dn.DocumentRangesFormattingRequest.type,P,y).then(q=>y.isCancellationRequested?null:u.protocol2CodeConverter.asTextEdits(q,y),q=>u.handleFailedRequest(dn.DocumentRangesFormattingRequest.type,y,q,null))},p=u.middleware;return p.provideDocumentRangesFormattingEdits?p.provideDocumentRangesFormattingEdits(i,s,o,a,h):h(i,s,o,a)}),[io.languages.registerDocumentRangeFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r),r]}};nr.DocumentRangeFormattingFeature=Qu;var Yu=class extends Nn.TextDocumentLanguageFeature{constructor(e){super(e,dn.DocumentOnTypeFormattingRequest.type)}fillClientCapabilities(e){(0,Nn.ensure)((0,Nn.ensure)(e,"textDocument"),"onTypeFormatting").dynamicRegistration=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.documentOnTypeFormattingProvider);r&&this.register({id:Zu.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideOnTypeFormattingEdits:(s,o,a,u,h)=>{let p=this._client,v=(R,y,P,q,N)=>{let L={textDocument:p.code2ProtocolConverter.asTextDocumentIdentifier(R),position:p.code2ProtocolConverter.asPosition(y),ch:P,options:p.code2ProtocolConverter.asFormattingOptions(q,Xr.fromConfiguration(R))};return p.sendRequest(dn.DocumentOnTypeFormattingRequest.type,L,N).then(M=>N.isCancellationRequested?null:p.protocol2CodeConverter.asTextEdits(M,N),M=>p.handleFailedRequest(dn.DocumentOnTypeFormattingRequest.type,N,M,null))},m=p.middleware;return m.provideOnTypeFormattingEdits?m.provideOnTypeFormattingEdits(s,o,a,u,h,v):v(s,o,a,u,h)}},i=e.moreTriggerCharacter||[];return[io.languages.registerOnTypeFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r,e.firstTriggerCharacter,...i),r]}};nr.DocumentOnTypeFormattingFeature=Yu});var mm=k(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.RenameFeature=void 0;var U_=require("vscode"),pr=te(),W_=Le(),gm=Gt(),el=me(),tl=class extends el.TextDocumentLanguageFeature{constructor(e){super(e,pr.RenameRequest.type)}fillClientCapabilities(e){let t=(0,el.ensure)((0,el.ensure)(e,"textDocument"),"rename");t.dynamicRegistration=!0,t.prepareSupport=!0,t.prepareSupportDefaultBehavior=pr.PrepareSupportDefaultBehavior.Identifier,t.honorsChangeAnnotations=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.renameProvider);r&&(gm.boolean(e.renameProvider)&&(r.prepareProvider=!1),this.register({id:W_.generateUuid(),registerOptions:r}))}registerLanguageProvider(e){let t=e.documentSelector,r={provideRenameEdits:(i,s,o,a)=>{let u=this._client,h=(v,m,R,y)=>{let P={textDocument:u.code2ProtocolConverter.asTextDocumentIdentifier(v),position:u.code2ProtocolConverter.asPosition(m),newName:R};return u.sendRequest(pr.RenameRequest.type,P,y).then(q=>y.isCancellationRequested?null:u.protocol2CodeConverter.asWorkspaceEdit(q,y),q=>u.handleFailedRequest(pr.RenameRequest.type,y,q,null,!1))},p=u.middleware;return p.provideRenameEdits?p.provideRenameEdits(i,s,o,a,h):h(i,s,o,a)},prepareRename:e.prepareProvider?(i,s,o)=>{let a=this._client,u=(p,v,m)=>{let R={textDocument:a.code2ProtocolConverter.asTextDocumentIdentifier(p),position:a.code2ProtocolConverter.asPosition(v)};return a.sendRequest(pr.PrepareRenameRequest.type,R,m).then(y=>m.isCancellationRequested?null:pr.Range.is(y)?a.protocol2CodeConverter.asRange(y):this.isDefaultBehavior(y)?y.defaultBehavior===!0?null:Promise.reject(new Error("The element can't be renamed.")):y&&pr.Range.is(y.range)?{range:a.protocol2CodeConverter.asRange(y.range),placeholder:y.placeholder}:Promise.reject(new Error("The element can't be renamed.")),y=>{throw typeof y.message=="string"?new Error(y.message):new Error("The element can't be renamed.")})},h=a.middleware;return h.prepareRename?h.prepareRename(i,s,o,u):u(i,s,o)}:void 0};return[this.registerProvider(t,r),r]}registerProvider(e,t){return U_.languages.registerRenameProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}isDefaultBehavior(e){let t=e;return t&&gm.boolean(t.defaultBehavior)}};so.RenameFeature=tl});var ym=k(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.DocumentLinkFeature=void 0;var K_=require("vscode"),Si=te(),nl=me(),z_=Le(),rl=class extends nl.TextDocumentLanguageFeature{constructor(e){super(e,Si.DocumentLinkRequest.type)}fillClientCapabilities(e){let t=(0,nl.ensure)((0,nl.ensure)(e,"textDocument"),"documentLink");t.dynamicRegistration=!0,t.tooltipSupport=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.documentLinkProvider);r&&this.register({id:z_.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideDocumentLinks:(i,s)=>{let o=this._client,a=(h,p)=>o.sendRequest(Si.DocumentLinkRequest.type,o.code2ProtocolConverter.asDocumentLinkParams(h),p).then(v=>p.isCancellationRequested?null:o.protocol2CodeConverter.asDocumentLinks(v,p),v=>o.handleFailedRequest(Si.DocumentLinkRequest.type,p,v,null)),u=o.middleware;return u.provideDocumentLinks?u.provideDocumentLinks(i,s,a):a(i,s)},resolveDocumentLink:e.resolveProvider?(i,s)=>{let o=this._client,a=(h,p)=>o.sendRequest(Si.DocumentLinkResolveRequest.type,o.code2ProtocolConverter.asDocumentLink(h),p).then(v=>p.isCancellationRequested?h:o.protocol2CodeConverter.asDocumentLink(v),v=>o.handleFailedRequest(Si.DocumentLinkResolveRequest.type,p,v,h)),u=o.middleware;return u.resolveDocumentLink?u.resolveDocumentLink(i,s,a):a(i,s)}:void 0};return[K_.languages.registerDocumentLinkProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r),r]}};oo.DocumentLinkFeature=rl});var Cm=k(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.ExecuteCommandFeature=void 0;var V_=require("vscode"),il=te(),B_=Le(),vm=me(),sl=class{constructor(e){this._client=e,this._commands=new Map}getState(){return{kind:"workspace",id:this.registrationType.method,registrations:this._commands.size>0}}get registrationType(){return il.ExecuteCommandRequest.type}fillClientCapabilities(e){(0,vm.ensure)((0,vm.ensure)(e,"workspace"),"executeCommand").dynamicRegistration=!0}initialize(e){e.executeCommandProvider&&this.register({id:B_.generateUuid(),registerOptions:Object.assign({},e.executeCommandProvider)})}register(e){let t=this._client,r=t.middleware,i=(s,o)=>{let a={command:s,arguments:o};return t.sendRequest(il.ExecuteCommandRequest.type,a).then(void 0,u=>t.handleFailedRequest(il.ExecuteCommandRequest.type,void 0,u,void 0))};if(e.registerOptions.commands){let s=[];for(let o of e.registerOptions.commands)s.push(V_.commands.registerCommand(o,(...a)=>r.executeCommand?r.executeCommand(o,a,i):i(o,a)));this._commands.set(e.id,s)}}unregister(e){let t=this._commands.get(e);t&&t.forEach(r=>r.dispose())}clear(){this._commands.forEach(e=>{e.forEach(t=>t.dispose())}),this._commands.clear()}};ao.ExecuteCommandFeature=sl});var _m=k(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.FileSystemWatcherFeature=void 0;var G_=require("vscode"),gr=te(),co=me(),ol=class{constructor(e,t){this._client=e,this._notifyFileEvent=t,this._watchers=new Map}getState(){return{kind:"workspace",id:this.registrationType.method,registrations:this._watchers.size>0}}get registrationType(){return gr.DidChangeWatchedFilesNotification.type}fillClientCapabilities(e){(0,co.ensure)((0,co.ensure)(e,"workspace"),"didChangeWatchedFiles").dynamicRegistration=!0,(0,co.ensure)((0,co.ensure)(e,"workspace"),"didChangeWatchedFiles").relativePatternSupport=!0}initialize(e,t){}register(e){if(!Array.isArray(e.registerOptions.watchers))return;let t=[];for(let r of e.registerOptions.watchers){let i=this._client.protocol2CodeConverter.asGlobPattern(r.globPattern);if(i===void 0)continue;let s=!0,o=!0,a=!0;r.kind!==void 0&&r.kind!==null&&(s=(r.kind&gr.WatchKind.Create)!==0,o=(r.kind&gr.WatchKind.Change)!==0,a=(r.kind&gr.WatchKind.Delete)!==0);let u=G_.workspace.createFileSystemWatcher(i,!s,!o,!a);this.hookListeners(u,s,o,a,t),t.push(u)}this._watchers.set(e.id,t)}registerRaw(e,t){let r=[];for(let i of t)this.hookListeners(i,!0,!0,!0,r);this._watchers.set(e,r)}hookListeners(e,t,r,i,s){t&&e.onDidCreate(o=>this._notifyFileEvent({uri:this._client.code2ProtocolConverter.asUri(o),type:gr.FileChangeType.Created}),null,s),r&&e.onDidChange(o=>this._notifyFileEvent({uri:this._client.code2ProtocolConverter.asUri(o),type:gr.FileChangeType.Changed}),null,s),i&&e.onDidDelete(o=>this._notifyFileEvent({uri:this._client.code2ProtocolConverter.asUri(o),type:gr.FileChangeType.Deleted}),null,s)}unregister(e){let t=this._watchers.get(e);if(t)for(let r of t)r.dispose()}clear(){this._watchers.forEach(e=>{for(let t of e)t.dispose()}),this._watchers.clear()}};uo.FileSystemWatcherFeature=ol});var bm=k(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.ColorProviderFeature=void 0;var X_=require("vscode"),Ti=te(),al=me(),cl=class extends al.TextDocumentLanguageFeature{constructor(e){super(e,Ti.DocumentColorRequest.type)}fillClientCapabilities(e){(0,al.ensure)((0,al.ensure)(e,"textDocument"),"colorProvider").dynamicRegistration=!0}initialize(e,t){let[r,i]=this.getRegistration(t,e.colorProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r={provideColorPresentations:(i,s,o)=>{let a=this._client,u=(p,v,m)=>{let R={color:p,textDocument:a.code2ProtocolConverter.asTextDocumentIdentifier(v.document),range:a.code2ProtocolConverter.asRange(v.range)};return a.sendRequest(Ti.ColorPresentationRequest.type,R,m).then(y=>m.isCancellationRequested?null:this._client.protocol2CodeConverter.asColorPresentations(y,m),y=>a.handleFailedRequest(Ti.ColorPresentationRequest.type,m,y,null))},h=a.middleware;return h.provideColorPresentations?h.provideColorPresentations(i,s,o,u):u(i,s,o)},provideDocumentColors:(i,s)=>{let o=this._client,a=(h,p)=>{let v={textDocument:o.code2ProtocolConverter.asTextDocumentIdentifier(h)};return o.sendRequest(Ti.DocumentColorRequest.type,v,p).then(m=>p.isCancellationRequested?null:this._client.protocol2CodeConverter.asColorInformations(m,p),m=>o.handleFailedRequest(Ti.DocumentColorRequest.type,p,m,null))},u=o.middleware;return u.provideDocumentColors?u.provideDocumentColors(i,s,a):a(i,s)}};return[X_.languages.registerColorProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r),r]}};lo.ColorProviderFeature=cl});var Dm=k(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.ImplementationFeature=void 0;var J_=require("vscode"),ul=te(),ll=me(),dl=class extends ll.TextDocumentLanguageFeature{constructor(e){super(e,ul.ImplementationRequest.type)}fillClientCapabilities(e){let t=(0,ll.ensure)((0,ll.ensure)(e,"textDocument"),"implementation");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let[r,i]=this.getRegistration(t,e.implementationProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r={provideImplementation:(i,s,o)=>{let a=this._client,u=(p,v,m)=>a.sendRequest(ul.ImplementationRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(p,v),m).then(R=>m.isCancellationRequested?null:a.protocol2CodeConverter.asDefinitionResult(R,m),R=>a.handleFailedRequest(ul.ImplementationRequest.type,m,R,null)),h=a.middleware;return h.provideImplementation?h.provideImplementation(i,s,o,u):u(i,s,o)}};return[this.registerProvider(t,r),r]}registerProvider(e,t){return J_.languages.registerImplementationProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};fo.ImplementationFeature=dl});var wm=k(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.TypeDefinitionFeature=void 0;var Q_=require("vscode"),fl=te(),Pi=me(),hl=class extends Pi.TextDocumentLanguageFeature{constructor(e){super(e,fl.TypeDefinitionRequest.type)}fillClientCapabilities(e){(0,Pi.ensure)((0,Pi.ensure)(e,"textDocument"),"typeDefinition").dynamicRegistration=!0;let t=(0,Pi.ensure)((0,Pi.ensure)(e,"textDocument"),"typeDefinition");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let[r,i]=this.getRegistration(t,e.typeDefinitionProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r={provideTypeDefinition:(i,s,o)=>{let a=this._client,u=(p,v,m)=>a.sendRequest(fl.TypeDefinitionRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(p,v),m).then(R=>m.isCancellationRequested?null:a.protocol2CodeConverter.asDefinitionResult(R,m),R=>a.handleFailedRequest(fl.TypeDefinitionRequest.type,m,R,null)),h=a.middleware;return h.provideTypeDefinition?h.provideTypeDefinition(i,s,o,u):u(i,s,o)}};return[this.registerProvider(t,r),r]}registerProvider(e,t){return Q_.languages.registerTypeDefinitionProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};ho.TypeDefinitionFeature=hl});var Rm=k(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.WorkspaceFoldersFeature=Jr.arrayDiff=void 0;var Y_=Le(),po=require("vscode"),Ei=te();function pl(n,e){if(n!=null)return n[e]}function gl(n,e){return n.filter(t=>e.indexOf(t)<0)}Jr.arrayDiff=gl;var ml=class{constructor(e){this._client=e,this._listeners=new Map}getState(){return{kind:"workspace",id:this.registrationType.method,registrations:this._listeners.size>0}}get registrationType(){return Ei.DidChangeWorkspaceFoldersNotification.type}fillInitializeParams(e){let t=po.workspace.workspaceFolders;this.initializeWithFolders(t),t===void 0?e.workspaceFolders=null:e.workspaceFolders=t.map(r=>this.asProtocol(r))}initializeWithFolders(e){this._initialFolders=e}fillClientCapabilities(e){e.workspace=e.workspace||{},e.workspace.workspaceFolders=!0}initialize(e){let t=this._client;t.onRequest(Ei.WorkspaceFoldersRequest.type,s=>{let o=()=>{let u=po.workspace.workspaceFolders;return u===void 0?null:u.map(p=>this.asProtocol(p))},a=t.middleware.workspace;return a&&a.workspaceFolders?a.workspaceFolders(s,o):o(s)});let r=pl(pl(pl(e,"workspace"),"workspaceFolders"),"changeNotifications"),i;typeof r=="string"?i=r:r===!0&&(i=Y_.generateUuid()),i&&this.register({id:i,registerOptions:void 0})}sendInitialEvent(e){let t;if(this._initialFolders&&e){let r=gl(this._initialFolders,e),i=gl(e,this._initialFolders);(i.length>0||r.length>0)&&(t=this.doSendEvent(i,r))}else this._initialFolders?t=this.doSendEvent([],this._initialFolders):e&&(t=this.doSendEvent(e,[]));t!==void 0&&t.catch(r=>{this._client.error(`Sending notification ${Ei.DidChangeWorkspaceFoldersNotification.type.method} failed`,r)})}doSendEvent(e,t){let r={event:{added:e.map(i=>this.asProtocol(i)),removed:t.map(i=>this.asProtocol(i))}};return this._client.sendNotification(Ei.DidChangeWorkspaceFoldersNotification.type,r)}register(e){let t=e.id,r=this._client,i=po.workspace.onDidChangeWorkspaceFolders(s=>{let o=h=>this.doSendEvent(h.added,h.removed),a=r.middleware.workspace;(a&&a.didChangeWorkspaceFolders?a.didChangeWorkspaceFolders(s,o):o(s)).catch(h=>{this._client.error(`Sending notification ${Ei.DidChangeWorkspaceFoldersNotification.type.method} failed`,h)})});this._listeners.set(t,i),this.sendInitialEvent(po.workspace.workspaceFolders)}unregister(e){let t=this._listeners.get(e);t!==void 0&&(this._listeners.delete(e),t.dispose())}clear(){for(let e of this._listeners.values())e.dispose();this._listeners.clear()}asProtocol(e){return e===void 0?null:{uri:this._client.code2ProtocolConverter.asUri(e.uri),name:e.name}}};Jr.WorkspaceFoldersFeature=ml});var Tm=k(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.FoldingRangeFeature=void 0;var Sm=require("vscode"),mr=te(),qi=me(),yl=class extends qi.TextDocumentLanguageFeature{constructor(e){super(e,mr.FoldingRangeRequest.type)}fillClientCapabilities(e){let t=(0,qi.ensure)((0,qi.ensure)(e,"textDocument"),"foldingRange");t.dynamicRegistration=!0,t.rangeLimit=5e3,t.lineFoldingOnly=!0,t.foldingRangeKind={valueSet:[mr.FoldingRangeKind.Comment,mr.FoldingRangeKind.Imports,mr.FoldingRangeKind.Region]},t.foldingRange={collapsedText:!1},(0,qi.ensure)((0,qi.ensure)(e,"workspace"),"foldingRange").refreshSupport=!0}initialize(e,t){this._client.onRequest(mr.FoldingRangeRefreshRequest.type,async()=>{for(let s of this.getAllProviders())s.onDidChangeFoldingRange.fire()});let[r,i]=this.getRegistration(t,e.foldingRangeProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r=new Sm.EventEmitter,i={onDidChangeFoldingRanges:r.event,provideFoldingRanges:(s,o,a)=>{let u=this._client,h=(v,m,R)=>{let y={textDocument:u.code2ProtocolConverter.asTextDocumentIdentifier(v)};return u.sendRequest(mr.FoldingRangeRequest.type,y,R).then(P=>R.isCancellationRequested?null:u.protocol2CodeConverter.asFoldingRanges(P,R),P=>u.handleFailedRequest(mr.FoldingRangeRequest.type,R,P,null))},p=u.middleware;return p.provideFoldingRanges?p.provideFoldingRanges(s,o,a,h):h(s,o,a)}};return[Sm.languages.registerFoldingRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),i),{provider:i,onDidChangeFoldingRange:r}]}};go.FoldingRangeFeature=yl});var Pm=k(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.DeclarationFeature=void 0;var Z_=require("vscode"),vl=te(),Cl=me(),_l=class extends Cl.TextDocumentLanguageFeature{constructor(e){super(e,vl.DeclarationRequest.type)}fillClientCapabilities(e){let t=(0,Cl.ensure)((0,Cl.ensure)(e,"textDocument"),"declaration");t.dynamicRegistration=!0,t.linkSupport=!0}initialize(e,t){let[r,i]=this.getRegistration(t,e.declarationProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r={provideDeclaration:(i,s,o)=>{let a=this._client,u=(p,v,m)=>a.sendRequest(vl.DeclarationRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(p,v),m).then(R=>m.isCancellationRequested?null:a.protocol2CodeConverter.asDeclarationResult(R,m),R=>a.handleFailedRequest(vl.DeclarationRequest.type,m,R,null)),h=a.middleware;return h.provideDeclaration?h.provideDeclaration(i,s,o,u):u(i,s,o)}};return[this.registerProvider(t,r),r]}registerProvider(e,t){return Z_.languages.registerDeclarationProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};mo.DeclarationFeature=_l});var Em=k(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.SelectionRangeFeature=void 0;var eb=require("vscode"),bl=te(),Dl=me(),wl=class extends Dl.TextDocumentLanguageFeature{constructor(e){super(e,bl.SelectionRangeRequest.type)}fillClientCapabilities(e){let t=(0,Dl.ensure)((0,Dl.ensure)(e,"textDocument"),"selectionRange");t.dynamicRegistration=!0}initialize(e,t){let[r,i]=this.getRegistration(t,e.selectionRangeProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r={provideSelectionRanges:(i,s,o)=>{let a=this._client,u=async(p,v,m)=>{let R={textDocument:a.code2ProtocolConverter.asTextDocumentIdentifier(p),positions:a.code2ProtocolConverter.asPositionsSync(v,m)};return a.sendRequest(bl.SelectionRangeRequest.type,R,m).then(y=>m.isCancellationRequested?null:a.protocol2CodeConverter.asSelectionRanges(y,m),y=>a.handleFailedRequest(bl.SelectionRangeRequest.type,m,y,null))},h=a.middleware;return h.provideSelectionRanges?h.provideSelectionRanges(i,s,o,u):u(i,s,o)}};return[this.registerProvider(t,r),r]}registerProvider(e,t){return eb.languages.registerSelectionRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};yo.SelectionRangeFeature=wl});var km=k(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.ProgressFeature=void 0;var qm=te(),tb=Jc();function nb(n,e){return n[e]===void 0&&(n[e]=Object.create(null)),n[e]}var Rl=class{constructor(e){this._client=e,this.activeParts=new Set}getState(){return{kind:"window",id:qm.WorkDoneProgressCreateRequest.method,registrations:this.activeParts.size>0}}fillClientCapabilities(e){nb(e,"window").workDoneProgress=!0}initialize(){let e=this._client,t=i=>{this.activeParts.delete(i)},r=i=>{this.activeParts.add(new tb.ProgressPart(this._client,i.token,t))};e.onRequest(qm.WorkDoneProgressCreateRequest.type,r)}clear(){for(let e of this.activeParts)e.done();this.activeParts.clear()}};vo.ProgressFeature=Rl});var xm=k(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.CallHierarchyFeature=void 0;var rb=require("vscode"),yr=te(),Sl=me(),Tl=class{constructor(e){this.client=e,this.middleware=e.middleware}prepareCallHierarchy(e,t,r){let i=this.client,s=this.middleware,o=(a,u,h)=>{let p=i.code2ProtocolConverter.asTextDocumentPositionParams(a,u);return i.sendRequest(yr.CallHierarchyPrepareRequest.type,p,h).then(v=>h.isCancellationRequested?null:i.protocol2CodeConverter.asCallHierarchyItems(v,h),v=>i.handleFailedRequest(yr.CallHierarchyPrepareRequest.type,h,v,null))};return s.prepareCallHierarchy?s.prepareCallHierarchy(e,t,r,o):o(e,t,r)}provideCallHierarchyIncomingCalls(e,t){let r=this.client,i=this.middleware,s=(o,a)=>{let u={item:r.code2ProtocolConverter.asCallHierarchyItem(o)};return r.sendRequest(yr.CallHierarchyIncomingCallsRequest.type,u,a).then(h=>a.isCancellationRequested?null:r.protocol2CodeConverter.asCallHierarchyIncomingCalls(h,a),h=>r.handleFailedRequest(yr.CallHierarchyIncomingCallsRequest.type,a,h,null))};return i.provideCallHierarchyIncomingCalls?i.provideCallHierarchyIncomingCalls(e,t,s):s(e,t)}provideCallHierarchyOutgoingCalls(e,t){let r=this.client,i=this.middleware,s=(o,a)=>{let u={item:r.code2ProtocolConverter.asCallHierarchyItem(o)};return r.sendRequest(yr.CallHierarchyOutgoingCallsRequest.type,u,a).then(h=>a.isCancellationRequested?null:r.protocol2CodeConverter.asCallHierarchyOutgoingCalls(h,a),h=>r.handleFailedRequest(yr.CallHierarchyOutgoingCallsRequest.type,a,h,null))};return i.provideCallHierarchyOutgoingCalls?i.provideCallHierarchyOutgoingCalls(e,t,s):s(e,t)}},Pl=class extends Sl.TextDocumentLanguageFeature{constructor(e){super(e,yr.CallHierarchyPrepareRequest.type)}fillClientCapabilities(e){let t=e,r=(0,Sl.ensure)((0,Sl.ensure)(t,"textDocument"),"callHierarchy");r.dynamicRegistration=!0}initialize(e,t){let[r,i]=this.getRegistration(t,e.callHierarchyProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=this._client,r=new Tl(t);return[rb.languages.registerCallHierarchyProvider(this._client.protocol2CodeConverter.asDocumentSelector(e.documentSelector),r),r]}};Co.CallHierarchyFeature=Pl});var Im=k(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.SemanticTokensFeature=void 0;var _o=require("vscode"),ie=te(),ki=me(),ib=Gt(),El=class extends ki.TextDocumentLanguageFeature{constructor(e){super(e,ie.SemanticTokensRegistrationType.type)}fillClientCapabilities(e){let t=(0,ki.ensure)((0,ki.ensure)(e,"textDocument"),"semanticTokens");t.dynamicRegistration=!0,t.tokenTypes=[ie.SemanticTokenTypes.namespace,ie.SemanticTokenTypes.type,ie.SemanticTokenTypes.class,ie.SemanticTokenTypes.enum,ie.SemanticTokenTypes.interface,ie.SemanticTokenTypes.struct,ie.SemanticTokenTypes.typeParameter,ie.SemanticTokenTypes.parameter,ie.SemanticTokenTypes.variable,ie.SemanticTokenTypes.property,ie.SemanticTokenTypes.enumMember,ie.SemanticTokenTypes.event,ie.SemanticTokenTypes.function,ie.SemanticTokenTypes.method,ie.SemanticTokenTypes.macro,ie.SemanticTokenTypes.keyword,ie.SemanticTokenTypes.modifier,ie.SemanticTokenTypes.comment,ie.SemanticTokenTypes.string,ie.SemanticTokenTypes.number,ie.SemanticTokenTypes.regexp,ie.SemanticTokenTypes.operator,ie.SemanticTokenTypes.decorator],t.tokenModifiers=[ie.SemanticTokenModifiers.declaration,ie.SemanticTokenModifiers.definition,ie.SemanticTokenModifiers.readonly,ie.SemanticTokenModifiers.static,ie.SemanticTokenModifiers.deprecated,ie.SemanticTokenModifiers.abstract,ie.SemanticTokenModifiers.async,ie.SemanticTokenModifiers.modification,ie.SemanticTokenModifiers.documentation,ie.SemanticTokenModifiers.defaultLibrary],t.formats=[ie.TokenFormat.Relative],t.requests={range:!0,full:{delta:!0}},t.multilineTokenSupport=!1,t.overlappingTokenSupport=!1,t.serverCancelSupport=!0,t.augmentsSyntaxTokens=!0,(0,ki.ensure)((0,ki.ensure)(e,"workspace"),"semanticTokens").refreshSupport=!0}initialize(e,t){this._client.onRequest(ie.SemanticTokensRefreshRequest.type,async()=>{for(let o of this.getAllProviders())o.onDidChangeSemanticTokensEmitter.fire()});let[i,s]=this.getRegistration(t,e.semanticTokensProvider);!i||!s||this.register({id:i,registerOptions:s})}registerLanguageProvider(e){let t=e.documentSelector,r=ib.boolean(e.full)?e.full:e.full!==void 0,i=e.full!==void 0&&typeof e.full!="boolean"&&e.full.delta===!0,s=new _o.EventEmitter,o=r?{onDidChangeSemanticTokens:s.event,provideDocumentSemanticTokens:(R,y)=>{let P=this._client,q=P.middleware,N=(L,M)=>{let H={textDocument:P.code2ProtocolConverter.asTextDocumentIdentifier(L)};return P.sendRequest(ie.SemanticTokensRequest.type,H,M).then(X=>M.isCancellationRequested?null:P.protocol2CodeConverter.asSemanticTokens(X,M),X=>P.handleFailedRequest(ie.SemanticTokensRequest.type,M,X,null))};return q.provideDocumentSemanticTokens?q.provideDocumentSemanticTokens(R,y,N):N(R,y)},provideDocumentSemanticTokensEdits:i?(R,y,P)=>{let q=this._client,N=q.middleware,L=(M,H,X)=>{let le={textDocument:q.code2ProtocolConverter.asTextDocumentIdentifier(M),previousResultId:H};return q.sendRequest(ie.SemanticTokensDeltaRequest.type,le,X).then(async B=>X.isCancellationRequested?null:ie.SemanticTokens.is(B)?await q.protocol2CodeConverter.asSemanticTokens(B,X):await q.protocol2CodeConverter.asSemanticTokensEdits(B,X),B=>q.handleFailedRequest(ie.SemanticTokensDeltaRequest.type,X,B,null))};return N.provideDocumentSemanticTokensEdits?N.provideDocumentSemanticTokensEdits(R,y,P,L):L(R,y,P)}:void 0}:void 0,u=e.range===!0?{provideDocumentRangeSemanticTokens:(R,y,P)=>{let q=this._client,N=q.middleware,L=(M,H,X)=>{let le={textDocument:q.code2ProtocolConverter.asTextDocumentIdentifier(M),range:q.code2ProtocolConverter.asRange(H)};return q.sendRequest(ie.SemanticTokensRangeRequest.type,le,X).then(B=>X.isCancellationRequested?null:q.protocol2CodeConverter.asSemanticTokens(B,X),B=>q.handleFailedRequest(ie.SemanticTokensRangeRequest.type,X,B,null))};return N.provideDocumentRangeSemanticTokens?N.provideDocumentRangeSemanticTokens(R,y,P,L):L(R,y,P)}}:void 0,h=[],p=this._client,v=p.protocol2CodeConverter.asSemanticTokensLegend(e.legend),m=p.protocol2CodeConverter.asDocumentSelector(t);return o!==void 0&&h.push(_o.languages.registerDocumentSemanticTokensProvider(m,o,v)),u!==void 0&&h.push(_o.languages.registerDocumentRangeSemanticTokensProvider(m,u,v)),[new _o.Disposable(()=>h.forEach(R=>R.dispose())),{range:u,full:o,onDidChangeSemanticTokensEmitter:s}]}};bo.SemanticTokensFeature=El});var Nm=k(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Ft.WillDeleteFilesFeature=Ft.WillRenameFilesFeature=Ft.WillCreateFilesFeature=Ft.DidDeleteFilesFeature=Ft.DidRenameFilesFeature=Ft.DidCreateFilesFeature=void 0;var en=require("vscode"),sb=Us(),Mn=te(),ob=Le();function Om(n,e){return n[e]===void 0&&(n[e]={}),n[e]}function ab(n,e){return n[e]}function Fm(n,e,t){n[e]=t}var xi=class n{constructor(e,t,r,i,s){this._client=e,this._event=t,this._registrationType=r,this._clientCapability=i,this._serverCapability=s,this._filters=new Map}getState(){return{kind:"workspace",id:this._registrationType.method,registrations:this._filters.size>0}}filterSize(){return this._filters.size}get registrationType(){return this._registrationType}fillClientCapabilities(e){let t=Om(Om(e,"workspace"),"fileOperations");Fm(t,"dynamicRegistration",!0),Fm(t,this._clientCapability,!0)}initialize(e){let t=e.workspace?.fileOperations,r=t!==void 0?ab(t,this._serverCapability):void 0;if(r?.filters!==void 0)try{this.register({id:ob.generateUuid(),registerOptions:{filters:r.filters}})}catch(i){this._client.warn(`Ignoring invalid glob pattern for ${this._serverCapability} registration: ${i}`)}}register(e){this._listener||(this._listener=this._event(this.send,this));let t=e.registerOptions.filters.map(r=>{let i=new sb.Minimatch(r.pattern.glob,n.asMinimatchOptions(r.pattern.options));if(!i.makeRe())throw new Error(`Invalid pattern ${r.pattern.glob}!`);return{scheme:r.scheme,matcher:i,kind:r.pattern.matches}});this._filters.set(e.id,t)}unregister(e){this._filters.delete(e),this._filters.size===0&&this._listener&&(this._listener.dispose(),this._listener=void 0)}clear(){this._filters.clear(),this._listener&&(this._listener.dispose(),this._listener=void 0)}getFileType(e){return n.getFileType(e)}async filter(e,t){let r=await Promise.all(e.files.map(async s=>{let o=t(s),a=o.fsPath.replace(/\\/g,"/");for(let u of this._filters.values())for(let h of u)if(!(h.scheme!==void 0&&h.scheme!==o.scheme)){if(h.matcher.match(a)){if(h.kind===void 0)return!0;let p=await this.getFileType(o);if(p===void 0)return this._client.error(`Failed to determine file type for ${o.toString()}.`),!0;if(p===en.FileType.File&&h.kind===Mn.FileOperationPatternKind.file||p===en.FileType.Directory&&h.kind===Mn.FileOperationPatternKind.folder)return!0}else if(h.kind===Mn.FileOperationPatternKind.folder&&await n.getFileType(o)===en.FileType.Directory&&h.matcher.match(`${a}/`))return!0}return!1})),i=e.files.filter((s,o)=>r[o]);return{...e,files:i}}static async getFileType(e){try{return(await en.workspace.fs.stat(e)).type}catch{return}}static asMinimatchOptions(e){let t={dot:!0};return e?.ignoreCase===!0&&(t.nocase=!0),t}},Do=class extends xi{constructor(e,t,r,i,s,o,a){super(e,t,r,i,s),this._notificationType=r,this._accessUri=o,this._createParams=a}async send(e){let t=await this.filter(e,this._accessUri);if(t.files.length){let r=async i=>this._client.sendNotification(this._notificationType,this._createParams(i));return this.doSend(t,r)}}},wo=class extends Do{constructor(){super(...arguments),this._fsPathFileTypes=new Map}async getFileType(e){let t=e.fsPath;if(this._fsPathFileTypes.has(t))return this._fsPathFileTypes.get(t);let r=await xi.getFileType(e);return r&&this._fsPathFileTypes.set(t,r),r}async cacheFileTypes(e,t){await this.filter(e,t)}clearFileTypeCache(){this._fsPathFileTypes.clear()}unregister(e){super.unregister(e),this.filterSize()===0&&this._willListener&&(this._willListener.dispose(),this._willListener=void 0)}clear(){super.clear(),this._willListener&&(this._willListener.dispose(),this._willListener=void 0)}},ql=class extends Do{constructor(e){super(e,en.workspace.onDidCreateFiles,Mn.DidCreateFilesNotification.type,"didCreate","didCreate",t=>t,e.code2ProtocolConverter.asDidCreateFilesParams)}doSend(e,t){let r=this._client.middleware.workspace;return r?.didCreateFiles?r.didCreateFiles(e,t):t(e)}};Ft.DidCreateFilesFeature=ql;var kl=class extends wo{constructor(e){super(e,en.workspace.onDidRenameFiles,Mn.DidRenameFilesNotification.type,"didRename","didRename",t=>t.oldUri,e.code2ProtocolConverter.asDidRenameFilesParams)}register(e){this._willListener||(this._willListener=en.workspace.onWillRenameFiles(this.willRename,this)),super.register(e)}willRename(e){e.waitUntil(this.cacheFileTypes(e,t=>t.oldUri))}doSend(e,t){this.clearFileTypeCache();let r=this._client.middleware.workspace;return r?.didRenameFiles?r.didRenameFiles(e,t):t(e)}};Ft.DidRenameFilesFeature=kl;var xl=class extends wo{constructor(e){super(e,en.workspace.onDidDeleteFiles,Mn.DidDeleteFilesNotification.type,"didDelete","didDelete",t=>t,e.code2ProtocolConverter.asDidDeleteFilesParams)}register(e){this._willListener||(this._willListener=en.workspace.onWillDeleteFiles(this.willDelete,this)),super.register(e)}willDelete(e){e.waitUntil(this.cacheFileTypes(e,t=>t))}doSend(e,t){this.clearFileTypeCache();let r=this._client.middleware.workspace;return r?.didDeleteFiles?r.didDeleteFiles(e,t):t(e)}};Ft.DidDeleteFilesFeature=xl;var Ii=class extends xi{constructor(e,t,r,i,s,o,a){super(e,t,r,i,s),this._requestType=r,this._accessUri=o,this._createParams=a}async send(e){let t=this.waitUntil(e);e.waitUntil(t)}async waitUntil(e){let t=await this.filter(e,this._accessUri);if(t.files.length){let r=i=>this._client.sendRequest(this._requestType,this._createParams(i),i.token).then(this._client.protocol2CodeConverter.asWorkspaceEdit);return this.doSend(t,r)}else return}},Il=class extends Ii{constructor(e){super(e,en.workspace.onWillCreateFiles,Mn.WillCreateFilesRequest.type,"willCreate","willCreate",t=>t,e.code2ProtocolConverter.asWillCreateFilesParams)}doSend(e,t){let r=this._client.middleware.workspace;return r?.willCreateFiles?r.willCreateFiles(e,t):t(e)}};Ft.WillCreateFilesFeature=Il;var Ol=class extends Ii{constructor(e){super(e,en.workspace.onWillRenameFiles,Mn.WillRenameFilesRequest.type,"willRename","willRename",t=>t.oldUri,e.code2ProtocolConverter.asWillRenameFilesParams)}doSend(e,t){let r=this._client.middleware.workspace;return r?.willRenameFiles?r.willRenameFiles(e,t):t(e)}};Ft.WillRenameFilesFeature=Ol;var Fl=class extends Ii{constructor(e){super(e,en.workspace.onWillDeleteFiles,Mn.WillDeleteFilesRequest.type,"willDelete","willDelete",t=>t,e.code2ProtocolConverter.asWillDeleteFilesParams)}doSend(e,t){let r=this._client.middleware.workspace;return r?.willDeleteFiles?r.willDeleteFiles(e,t):t(e)}};Ft.WillDeleteFilesFeature=Fl});var Mm=k(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.LinkedEditingFeature=void 0;var cb=require("vscode"),Nl=te(),Ml=me(),Ll=class extends Ml.TextDocumentLanguageFeature{constructor(e){super(e,Nl.LinkedEditingRangeRequest.type)}fillClientCapabilities(e){let t=(0,Ml.ensure)((0,Ml.ensure)(e,"textDocument"),"linkedEditingRange");t.dynamicRegistration=!0}initialize(e,t){let[r,i]=this.getRegistration(t,e.linkedEditingRangeProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r={provideLinkedEditingRanges:(i,s,o)=>{let a=this._client,u=(p,v,m)=>a.sendRequest(Nl.LinkedEditingRangeRequest.type,a.code2ProtocolConverter.asTextDocumentPositionParams(p,v),m).then(R=>m.isCancellationRequested?null:a.protocol2CodeConverter.asLinkedEditingRanges(R,m),R=>a.handleFailedRequest(Nl.LinkedEditingRangeRequest.type,m,R,null)),h=a.middleware;return h.provideLinkedEditingRange?h.provideLinkedEditingRange(i,s,o,u):u(i,s,o)}};return[this.registerProvider(t,r),r]}registerProvider(e,t){return cb.languages.registerLinkedEditingRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Ro.LinkedEditingFeature=Ll});var Lm=k(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.TypeHierarchyFeature=void 0;var ub=require("vscode"),vr=te(),Al=me(),jl=class{constructor(e){this.client=e,this.middleware=e.middleware}prepareTypeHierarchy(e,t,r){let i=this.client,s=this.middleware,o=(a,u,h)=>{let p=i.code2ProtocolConverter.asTextDocumentPositionParams(a,u);return i.sendRequest(vr.TypeHierarchyPrepareRequest.type,p,h).then(v=>h.isCancellationRequested?null:i.protocol2CodeConverter.asTypeHierarchyItems(v,h),v=>i.handleFailedRequest(vr.TypeHierarchyPrepareRequest.type,h,v,null))};return s.prepareTypeHierarchy?s.prepareTypeHierarchy(e,t,r,o):o(e,t,r)}provideTypeHierarchySupertypes(e,t){let r=this.client,i=this.middleware,s=(o,a)=>{let u={item:r.code2ProtocolConverter.asTypeHierarchyItem(o)};return r.sendRequest(vr.TypeHierarchySupertypesRequest.type,u,a).then(h=>a.isCancellationRequested?null:r.protocol2CodeConverter.asTypeHierarchyItems(h,a),h=>r.handleFailedRequest(vr.TypeHierarchySupertypesRequest.type,a,h,null))};return i.provideTypeHierarchySupertypes?i.provideTypeHierarchySupertypes(e,t,s):s(e,t)}provideTypeHierarchySubtypes(e,t){let r=this.client,i=this.middleware,s=(o,a)=>{let u={item:r.code2ProtocolConverter.asTypeHierarchyItem(o)};return r.sendRequest(vr.TypeHierarchySubtypesRequest.type,u,a).then(h=>a.isCancellationRequested?null:r.protocol2CodeConverter.asTypeHierarchyItems(h,a),h=>r.handleFailedRequest(vr.TypeHierarchySubtypesRequest.type,a,h,null))};return i.provideTypeHierarchySubtypes?i.provideTypeHierarchySubtypes(e,t,s):s(e,t)}},$l=class extends Al.TextDocumentLanguageFeature{constructor(e){super(e,vr.TypeHierarchyPrepareRequest.type)}fillClientCapabilities(e){let t=(0,Al.ensure)((0,Al.ensure)(e,"textDocument"),"typeHierarchy");t.dynamicRegistration=!0}initialize(e,t){let[r,i]=this.getRegistration(t,e.typeHierarchyProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=this._client,r=new jl(t);return[ub.languages.registerTypeHierarchyProvider(t.protocol2CodeConverter.asDocumentSelector(e.documentSelector),r),r]}};So.TypeHierarchyFeature=$l});var jm=k(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.InlineValueFeature=void 0;var Am=require("vscode"),To=te(),Oi=me(),Hl=class extends Oi.TextDocumentLanguageFeature{constructor(e){super(e,To.InlineValueRequest.type)}fillClientCapabilities(e){(0,Oi.ensure)((0,Oi.ensure)(e,"textDocument"),"inlineValue").dynamicRegistration=!0,(0,Oi.ensure)((0,Oi.ensure)(e,"workspace"),"inlineValue").refreshSupport=!0}initialize(e,t){this._client.onRequest(To.InlineValueRefreshRequest.type,async()=>{for(let s of this.getAllProviders())s.onDidChangeInlineValues.fire()});let[r,i]=this.getRegistration(t,e.inlineValueProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r=new Am.EventEmitter,i={onDidChangeInlineValues:r.event,provideInlineValues:(s,o,a,u)=>{let h=this._client,p=(m,R,y,P)=>{let q={textDocument:h.code2ProtocolConverter.asTextDocumentIdentifier(m),range:h.code2ProtocolConverter.asRange(R),context:h.code2ProtocolConverter.asInlineValueContext(y)};return h.sendRequest(To.InlineValueRequest.type,q,P).then(N=>P.isCancellationRequested?null:h.protocol2CodeConverter.asInlineValues(N,P),N=>h.handleFailedRequest(To.InlineValueRequest.type,P,N,null))},v=h.middleware;return v.provideInlineValues?v.provideInlineValues(s,o,a,u,p):p(s,o,a,u)}};return[this.registerProvider(t,i),{provider:i,onDidChangeInlineValues:r}]}registerProvider(e,t){return Am.languages.registerInlineValuesProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Po.InlineValueFeature=Hl});var Hm=k(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.InlayHintsFeature=void 0;var $m=require("vscode"),Qr=te(),Fi=me(),Ul=class extends Fi.TextDocumentLanguageFeature{constructor(e){super(e,Qr.InlayHintRequest.type)}fillClientCapabilities(e){let t=(0,Fi.ensure)((0,Fi.ensure)(e,"textDocument"),"inlayHint");t.dynamicRegistration=!0,t.resolveSupport={properties:["tooltip","textEdits","label.tooltip","label.location","label.command"]},(0,Fi.ensure)((0,Fi.ensure)(e,"workspace"),"inlayHint").refreshSupport=!0}initialize(e,t){this._client.onRequest(Qr.InlayHintRefreshRequest.type,async()=>{for(let s of this.getAllProviders())s.onDidChangeInlayHints.fire()});let[r,i]=this.getRegistration(t,e.inlayHintProvider);!r||!i||this.register({id:r,registerOptions:i})}registerLanguageProvider(e){let t=e.documentSelector,r=new $m.EventEmitter,i={onDidChangeInlayHints:r.event,provideInlayHints:(s,o,a)=>{let u=this._client,h=async(v,m,R)=>{let y={textDocument:u.code2ProtocolConverter.asTextDocumentIdentifier(v),range:u.code2ProtocolConverter.asRange(m)};try{let P=await u.sendRequest(Qr.InlayHintRequest.type,y,R);return R.isCancellationRequested?null:u.protocol2CodeConverter.asInlayHints(P,R)}catch(P){return u.handleFailedRequest(Qr.InlayHintRequest.type,R,P,null)}},p=u.middleware;return p.provideInlayHints?p.provideInlayHints(s,o,a,h):h(s,o,a)}};return i.resolveInlayHint=e.resolveProvider===!0?(s,o)=>{let a=this._client,u=async(p,v)=>{try{let m=await a.sendRequest(Qr.InlayHintResolveRequest.type,a.code2ProtocolConverter.asInlayHint(p),v);if(v.isCancellationRequested)return null;let R=a.protocol2CodeConverter.asInlayHint(m,v);return v.isCancellationRequested?null:R}catch(m){return a.handleFailedRequest(Qr.InlayHintResolveRequest.type,v,m,null)}},h=a.middleware;return h.resolveInlayHint?h.resolveInlayHint(s,o,u):u(s,o)}:void 0,[this.registerProvider(t,i),{provider:i,onDidChangeInlayHints:r}]}registerProvider(e,t){return $m.languages.registerInlayHintsProvider(this._client.protocol2CodeConverter.asDocumentSelector(e),t)}};Eo.InlayHintsFeature=Ul});var Um=k(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.InlineCompletionItemFeature=void 0;var lb=require("vscode"),Wl=te(),Kl=me(),db=Le(),zl=class extends Kl.TextDocumentLanguageFeature{constructor(e){super(e,Wl.InlineCompletionRequest.type)}fillClientCapabilities(e){let t=(0,Kl.ensure)((0,Kl.ensure)(e,"textDocument"),"inlineCompletion");t.dynamicRegistration=!0}initialize(e,t){let r=this.getRegistrationOptions(t,e.inlineCompletionProvider);r&&this.register({id:db.generateUuid(),registerOptions:r})}registerLanguageProvider(e){let t=e.documentSelector,r={provideInlineCompletionItems:(i,s,o,a)=>{let u=this._client,h=this._client.middleware,p=(v,m,R,y)=>u.sendRequest(Wl.InlineCompletionRequest.type,u.code2ProtocolConverter.asInlineCompletionParams(v,m,R),y).then(P=>y.isCancellationRequested?null:u.protocol2CodeConverter.asInlineCompletionResult(P,y),P=>u.handleFailedRequest(Wl.InlineCompletionRequest.type,y,P,null));return h.provideInlineCompletionItems?h.provideInlineCompletionItems(i,s,o,a,p):p(i,s,o,a)}};return[lb.languages.registerInlineCompletionItemProvider(this._client.protocol2CodeConverter.asDocumentSelector(t),r),r]}};qo.InlineCompletionItemFeature=zl});var Ql=k(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});st.ProposedFeatures=st.BaseLanguageClient=st.MessageTransports=st.SuspendMode=st.State=st.CloseAction=st.ErrorAction=st.RevealOutputChannelOn=void 0;var Re=require("vscode"),A=te(),fb=vg(),hb=bg(),hn=Gt(),ko=Ns(),Wm=Le(),pb=Jc(),fn=me(),gb=mu(),Km=Yg(),zm=em(),Yr=tm(),mb=nm(),yb=rm(),vb=im(),Cb=om(),_b=am(),bb=Hu(),Db=um(),wb=lm(),Rb=dm(),Sb=hm(),Vl=pm(),Tb=mm(),Pb=ym(),Eb=Cm(),qb=_m(),kb=bm(),xb=Dm(),Ib=wm(),Ob=Rm(),Fb=Tm(),Nb=Pm(),Mb=Em(),Lb=km(),Ab=xm(),jb=Im(),Zr=Nm(),$b=Mm(),Hb=Lm(),Ub=jm(),Wb=Hm(),Kb=Um(),Cr;(function(n){n[n.Debug=0]="Debug",n[n.Info=1]="Info",n[n.Warn=2]="Warn",n[n.Error=3]="Error",n[n.Never=4]="Never"})(Cr||(st.RevealOutputChannelOn=Cr={}));var Mi;(function(n){n[n.Continue=1]="Continue",n[n.Shutdown=2]="Shutdown"})(Mi||(st.ErrorAction=Mi={}));var rr;(function(n){n[n.DoNotRestart=1]="DoNotRestart",n[n.Restart=2]="Restart"})(rr||(st.CloseAction=rr={}));var Ni;(function(n){n[n.Stopped=1]="Stopped",n[n.Starting=3]="Starting",n[n.Running=2]="Running"})(Ni||(st.State=Ni={}));var Vm;(function(n){n.off="off",n.on="on"})(Vm||(st.SuspendMode=Vm={}));var Bl;(function(n){function e(t){return t==null?!1:typeof t=="boolean"||typeof t=="object"&&t!==null&&hn.stringArray(t.enabledCommands)?t:!1}n.sanitizeIsTrusted=e})(Bl||(Bl={}));var Gl=class{constructor(e,t){this.client=e,this.maxRestartCount=t,this.restarts=[]}error(e,t,r){return r&&r<=3?{action:Mi.Continue}:{action:Mi.Shutdown}}closed(){return this.restarts.push(Date.now()),this.restarts.length<=this.maxRestartCount?{action:rr.Restart}:this.restarts[this.restarts.length-1]-this.restarts[0]<=3*60*1e3?{action:rr.DoNotRestart,message:`The ${this.client.name} server crashed ${this.maxRestartCount+1} times in the last 3 minutes. The server will not be restarted. See the output for more information.`}:(this.restarts.shift(),{action:rr.Restart})}},ce;(function(n){n.Initial="initial",n.Starting="starting",n.StartFailed="startFailed",n.Running="running",n.Stopping="stopping",n.Stopped="stopped"})(ce||(ce={}));var Bm;(function(n){function e(t){return t&&A.MessageReader.is(t.reader)&&A.MessageWriter.is(t.writer)}n.is=e})(Bm||(st.MessageTransports=Bm={}));var Li=class n{constructor(e,t,r){this._traceFormat=A.TraceFormat.Text,this._diagnosticQueue=new Map,this._diagnosticQueueState={state:"idle"},this._features=[],this._dynamicFeatures=new Map,this.workspaceEditLock=new ko.Semaphore(1),this._id=e,this._name=t,r=r||{};let i={isTrusted:!1,supportHtml:!1};r.markdown!==void 0&&(i.isTrusted=Bl.sanitizeIsTrusted(r.markdown.isTrusted),i.supportHtml=r.markdown.supportHtml===!0),this._clientOptions={documentSelector:r.documentSelector??[],synchronize:r.synchronize??{},diagnosticCollectionName:r.diagnosticCollectionName,outputChannelName:r.outputChannelName??this._name,revealOutputChannelOn:r.revealOutputChannelOn??Cr.Error,stdioEncoding:r.stdioEncoding??"utf8",initializationOptions:r.initializationOptions,initializationFailedHandler:r.initializationFailedHandler,progressOnInitialization:!!r.progressOnInitialization,errorHandler:r.errorHandler??this.createDefaultErrorHandler(r.connectionOptions?.maxRestartCount),middleware:r.middleware??{},uriConverters:r.uriConverters,workspaceFolder:r.workspaceFolder,connectionOptions:r.connectionOptions,markdown:i,diagnosticPullOptions:r.diagnosticPullOptions??{onChange:!0,onSave:!1},notebookDocumentOptions:r.notebookDocumentOptions??{}},this._clientOptions.synchronize=this._clientOptions.synchronize||{},this._state=ce.Initial,this._ignoredRegistrations=new Set,this._listeners=[],this._notificationHandlers=new Map,this._pendingNotificationHandlers=new Map,this._notificationDisposables=new Map,this._requestHandlers=new Map,this._pendingRequestHandlers=new Map,this._requestDisposables=new Map,this._progressHandlers=new Map,this._pendingProgressHandlers=new Map,this._progressDisposables=new Map,this._connection=void 0,this._initializeResult=void 0,r.outputChannel?(this._outputChannel=r.outputChannel,this._disposeOutputChannel=!1):(this._outputChannel=void 0,this._disposeOutputChannel=!0),this._traceOutputChannel=r.traceOutputChannel,this._diagnostics=void 0,this._pendingOpenNotifications=new Set,this._pendingChangeSemaphore=new ko.Semaphore(1),this._pendingChangeDelayer=new ko.Delayer(250),this._fileEvents=[],this._fileEventDelayer=new ko.Delayer(250),this._onStop=void 0,this._telemetryEmitter=new A.Emitter,this._stateChangeEmitter=new A.Emitter,this._trace=A.Trace.Off,this._tracer={log:(s,o)=>{hn.string(s)?this.logTrace(s,o):this.logObjectTrace(s)}},this._c2p=fb.createConverter(r.uriConverters?r.uriConverters.code2Protocol:void 0),this._p2c=hb.createConverter(r.uriConverters?r.uriConverters.protocol2Code:void 0,this._clientOptions.markdown.isTrusted,this._clientOptions.markdown.supportHtml),this._syncedDocuments=new Map,this.registerBuiltinFeatures()}get name(){return this._name}get middleware(){return this._clientOptions.middleware??Object.create(null)}get clientOptions(){return this._clientOptions}get protocol2CodeConverter(){return this._p2c}get code2ProtocolConverter(){return this._c2p}get onTelemetry(){return this._telemetryEmitter.event}get onDidChangeState(){return this._stateChangeEmitter.event}get outputChannel(){return this._outputChannel||(this._outputChannel=Re.window.createOutputChannel(this._clientOptions.outputChannelName?this._clientOptions.outputChannelName:this._name)),this._outputChannel}get traceOutputChannel(){return this._traceOutputChannel?this._traceOutputChannel:this.outputChannel}get diagnostics(){return this._diagnostics}get state(){return this.getPublicState()}get $state(){return this._state}set $state(e){let t=this.getPublicState();this._state=e;let r=this.getPublicState();r!==t&&this._stateChangeEmitter.fire({oldState:t,newState:r})}getPublicState(){switch(this.$state){case ce.Starting:return Ni.Starting;case ce.Running:return Ni.Running;default:return Ni.Stopped}}get initializeResult(){return this._initializeResult}async sendRequest(e,...t){if(this.$state===ce.StartFailed||this.$state===ce.Stopping||this.$state===ce.Stopped)return Promise.reject(new A.ResponseError(A.ErrorCodes.ConnectionInactive,"Client is not running"));let r=await this.$start();this._didChangeTextDocumentFeature.syncKind===A.TextDocumentSyncKind.Full&&await this.sendPendingFullTextDocumentChanges(r);let i=this._clientOptions.middleware?.sendRequest;if(i!==void 0){let s,o;return t.length===1?A.CancellationToken.is(t[0])?o=t[0]:s=t[0]:t.length===2&&(s=t[0],o=t[1]),i(e,s,o,(a,u,h)=>{let p=[];return u!==void 0&&p.push(u),h!==void 0&&p.push(h),r.sendRequest(a,...p)})}else return r.sendRequest(e,...t)}onRequest(e,t){let r=typeof e=="string"?e:e.method;this._requestHandlers.set(r,t);let i=this.activeConnection(),s;return i!==void 0?(this._requestDisposables.set(r,i.onRequest(e,t)),s={dispose:()=>{let o=this._requestDisposables.get(r);o!==void 0&&(o.dispose(),this._requestDisposables.delete(r))}}):(this._pendingRequestHandlers.set(r,t),s={dispose:()=>{this._pendingRequestHandlers.delete(r);let o=this._requestDisposables.get(r);o!==void 0&&(o.dispose(),this._requestDisposables.delete(r))}}),{dispose:()=>{this._requestHandlers.delete(r),s.dispose()}}}async sendNotification(e,t){if(this.$state===ce.StartFailed||this.$state===ce.Stopping||this.$state===ce.Stopped)return Promise.reject(new A.ResponseError(A.ErrorCodes.ConnectionInactive,"Client is not running"));let r=this._didChangeTextDocumentFeature.syncKind===A.TextDocumentSyncKind.Full,i;r&&typeof e!="string"&&e.method===A.DidOpenTextDocumentNotification.method&&(i=t?.textDocument.uri,this._pendingOpenNotifications.add(i));let s=await this.$start();r&&await this.sendPendingFullTextDocumentChanges(s),i!==void 0&&this._pendingOpenNotifications.delete(i);let o=this._clientOptions.middleware?.sendNotification;return o?o(e,s.sendNotification.bind(s),t):s.sendNotification(e,t)}onNotification(e,t){let r=typeof e=="string"?e:e.method;this._notificationHandlers.set(r,t);let i=this.activeConnection(),s;return i!==void 0?(this._notificationDisposables.set(r,i.onNotification(e,t)),s={dispose:()=>{let o=this._notificationDisposables.get(r);o!==void 0&&(o.dispose(),this._notificationDisposables.delete(r))}}):(this._pendingNotificationHandlers.set(r,t),s={dispose:()=>{this._pendingNotificationHandlers.delete(r);let o=this._notificationDisposables.get(r);o!==void 0&&(o.dispose(),this._notificationDisposables.delete(r))}}),{dispose:()=>{this._notificationHandlers.delete(r),s.dispose()}}}async sendProgress(e,t,r){if(this.$state===ce.StartFailed||this.$state===ce.Stopping||this.$state===ce.Stopped)return Promise.reject(new A.ResponseError(A.ErrorCodes.ConnectionInactive,"Client is not running"));try{return(await this.$start()).sendProgress(e,t,r)}catch(i){throw this.error(`Sending progress for token ${t} failed.`,i),i}}onProgress(e,t,r){this._progressHandlers.set(t,{type:e,handler:r});let i=this.activeConnection(),s,o=this._clientOptions.middleware?.handleWorkDoneProgress,a=A.WorkDoneProgress.is(e)&&o!==void 0?u=>{o(t,u,()=>r(u))}:r;return i!==void 0?(this._progressDisposables.set(t,i.onProgress(e,t,a)),s={dispose:()=>{let u=this._progressDisposables.get(t);u!==void 0&&(u.dispose(),this._progressDisposables.delete(t))}}):(this._pendingProgressHandlers.set(t,{type:e,handler:r}),s={dispose:()=>{this._pendingProgressHandlers.delete(t);let u=this._progressDisposables.get(t);u!==void 0&&(u.dispose(),this._progressDisposables.delete(t))}}),{dispose:()=>{this._progressHandlers.delete(t),s.dispose()}}}createDefaultErrorHandler(e){if(e!==void 0&&e<0)throw new Error(`Invalid maxRestartCount: ${e}`);return new Gl(this,e??4)}async setTrace(e){this._trace=e;let t=this.activeConnection();t!==void 0&&await t.trace(this._trace,this._tracer,{sendNotification:!1,traceFormat:this._traceFormat})}data2String(e){if(e instanceof A.ResponseError){let t=e;return` Message: ${t.message} - Code: ${t.code} ${t.data?` -`+t.data.toString():""}`}return e instanceof Error?hn.string(e.stack)?e.stack:e.message:hn.string(e)?e:e.toString()}debug(e,t,r=!0){this.logOutputMessage(A.MessageType.Debug,Cr.Debug,"Debug",e,t,r)}info(e,t,r=!0){this.logOutputMessage(A.MessageType.Info,Cr.Info,"Info",e,t,r)}warn(e,t,r=!0){this.logOutputMessage(A.MessageType.Warning,Cr.Warn,"Warn",e,t,r)}error(e,t,r=!0){this.logOutputMessage(A.MessageType.Error,Cr.Error,"Error",e,t,r)}logOutputMessage(e,t,r,i,s,o){this.outputChannel.appendLine(`[${r.padEnd(5)} - ${new Date().toLocaleTimeString()}] ${i}`),s!=null&&this.outputChannel.appendLine(this.data2String(s)),(o==="force"||o&&this._clientOptions.revealOutputChannelOn<=t)&&this.showNotificationMessage(e,i)}showNotificationMessage(e,t){t=t??"A request has failed. See the output for more information.",(e===A.MessageType.Error?Re.window.showErrorMessage:e===A.MessageType.Warning?Re.window.showWarningMessage:Re.window.showInformationMessage)(t,"Go to output").then(i=>{i!==void 0&&this.outputChannel.show(!0)})}logTrace(e,t){this.traceOutputChannel.appendLine(`[Trace - ${new Date().toLocaleTimeString()}] ${e}`),t&&this.traceOutputChannel.appendLine(this.data2String(t))}logObjectTrace(e){e.isLSPMessage&&e.type?this.traceOutputChannel.append(`[LSP - ${new Date().toLocaleTimeString()}] `):this.traceOutputChannel.append(`[Trace - ${new Date().toLocaleTimeString()}] `),e&&this.traceOutputChannel.appendLine(`${JSON.stringify(e)}`)}needsStart(){return this.$state===ce.Initial||this.$state===ce.Stopping||this.$state===ce.Stopped}needsStop(){return this.$state===ce.Starting||this.$state===ce.Running}activeConnection(){return this.$state===ce.Running&&this._connection!==void 0?this._connection:void 0}isRunning(){return this.$state===ce.Running}async start(){if(this._disposed==="disposing"||this._disposed==="disposed")throw new Error("Client got disposed and can't be restarted.");if(this.$state===ce.Stopping)throw new Error("Client is currently stopping. Can only restart a full stopped client");if(this._onStart!==void 0)return this._onStart;let[e,t,r]=this.createOnStartPromise();this._onStart=e,this._diagnostics===void 0&&(this._diagnostics=this._clientOptions.diagnosticCollectionName?Re.languages.createDiagnosticCollection(this._clientOptions.diagnosticCollectionName):Re.languages.createDiagnosticCollection());for(let[i,s]of this._notificationHandlers)this._pendingNotificationHandlers.has(i)||this._pendingNotificationHandlers.set(i,s);for(let[i,s]of this._requestHandlers)this._pendingRequestHandlers.has(i)||this._pendingRequestHandlers.set(i,s);for(let[i,s]of this._progressHandlers)this._pendingProgressHandlers.has(i)||this._pendingProgressHandlers.set(i,s);this.$state=ce.Starting;try{let i=await this.createConnection();i.onNotification(A.LogMessageNotification.type,s=>{switch(s.type){case A.MessageType.Error:this.error(s.message,void 0,!1);break;case A.MessageType.Warning:this.warn(s.message,void 0,!1);break;case A.MessageType.Info:this.info(s.message,void 0,!1);break;case A.MessageType.Debug:this.debug(s.message,void 0,!1);break;default:this.outputChannel.appendLine(s.message)}}),i.onNotification(A.ShowMessageNotification.type,s=>{switch(s.type){case A.MessageType.Error:Re.window.showErrorMessage(s.message);break;case A.MessageType.Warning:Re.window.showWarningMessage(s.message);break;case A.MessageType.Info:Re.window.showInformationMessage(s.message);break;default:Re.window.showInformationMessage(s.message)}}),i.onRequest(A.ShowMessageRequest.type,s=>{let o;switch(s.type){case A.MessageType.Error:o=Re.window.showErrorMessage;break;case A.MessageType.Warning:o=Re.window.showWarningMessage;break;case A.MessageType.Info:o=Re.window.showInformationMessage;break;default:o=Re.window.showInformationMessage}let a=s.actions||[];return o(s.message,...a)}),i.onNotification(A.TelemetryEventNotification.type,s=>{this._telemetryEmitter.fire(s)}),i.onRequest(A.ShowDocumentRequest.type,async s=>{let o=async u=>{let h=this.protocol2CodeConverter.asUri(u.uri);try{if(u.external===!0)return{success:await Re.env.openExternal(h)};{let p={};return u.selection!==void 0&&(p.selection=this.protocol2CodeConverter.asRange(u.selection)),u.takeFocus===void 0||u.takeFocus===!1?p.preserveFocus=!0:u.takeFocus===!0&&(p.preserveFocus=!1),await Re.window.showTextDocument(h,p),{success:!0}}}catch{return{success:!1}}},a=this._clientOptions.middleware.window?.showDocument;return a!==void 0?a(s,o):o(s)}),i.listen(),await this.initialize(i),t()}catch(i){this.$state=ce.StartFailed,this.error(`${this._name} client: couldn't create connection to server.`,i,"force"),r(i)}return this._onStart}createOnStartPromise(){let e,t;return[new Promise((i,s)=>{e=i,t=s}),e,t]}async initialize(e){this.refreshTrace(e,!1);let t=this._clientOptions.initializationOptions,[r,i]=this._clientOptions.workspaceFolder!==void 0?[this._clientOptions.workspaceFolder.uri.fsPath,[{uri:this._c2p.asUri(this._clientOptions.workspaceFolder.uri),name:this._clientOptions.workspaceFolder.name}]]:[this._clientGetRootPath(),null],s={processId:null,clientInfo:{name:Re.env.appName,version:Re.version},locale:this.getLocale(),rootPath:r||null,rootUri:r?this._c2p.asUri(Re.Uri.file(r)):null,capabilities:this.computeClientCapabilities(),initializationOptions:hn.func(t)?t():t,trace:A.Trace.toString(this._trace),workspaceFolders:i};if(this.fillInitializeParams(s),this._clientOptions.progressOnInitialization){let o=Wm.generateUuid(),a=new pb.ProgressPart(e,o);s.workDoneToken=o;try{let u=await this.doInitialize(e,s);return a.done(),u}catch(u){throw a.cancel(),u}}else return this.doInitialize(e,s)}async doInitialize(e,t){try{let r=await e.initialize(t);if(r.capabilities.positionEncoding!==void 0&&r.capabilities.positionEncoding!==A.PositionEncodingKind.UTF16)throw new Error(`Unsupported position encoding (${r.capabilities.positionEncoding}) received from server ${this.name}`);this._initializeResult=r,this.$state=ce.Running;let i;hn.number(r.capabilities.textDocumentSync)?r.capabilities.textDocumentSync===A.TextDocumentSyncKind.None?i={openClose:!1,change:A.TextDocumentSyncKind.None,save:void 0}:i={openClose:!0,change:r.capabilities.textDocumentSync,save:{includeText:!1}}:r.capabilities.textDocumentSync!==void 0&&r.capabilities.textDocumentSync!==null&&(i=r.capabilities.textDocumentSync),this._capabilities=Object.assign({},r.capabilities,{resolvedTextDocumentSync:i}),e.onNotification(A.PublishDiagnosticsNotification.type,s=>this.handleDiagnostics(s)),e.onRequest(A.RegistrationRequest.type,s=>this.handleRegistrationRequest(s)),e.onRequest("client/registerFeature",s=>this.handleRegistrationRequest(s)),e.onRequest(A.UnregistrationRequest.type,s=>this.handleUnregistrationRequest(s)),e.onRequest("client/unregisterFeature",s=>this.handleUnregistrationRequest(s)),e.onRequest(A.ApplyWorkspaceEditRequest.type,s=>this.handleApplyWorkspaceEdit(s));for(let[s,o]of this._pendingNotificationHandlers)this._notificationDisposables.set(s,e.onNotification(s,o));this._pendingNotificationHandlers.clear();for(let[s,o]of this._pendingRequestHandlers)this._requestDisposables.set(s,e.onRequest(s,o));this._pendingRequestHandlers.clear();for(let[s,o]of this._pendingProgressHandlers)this._progressDisposables.set(s,e.onProgress(o.type,s,o.handler));return this._pendingProgressHandlers.clear(),await e.sendNotification(A.InitializedNotification.type,{}),this.hookFileEvents(e),this.hookConfigurationChanged(e),this.initializeFeatures(e),r}catch(r){throw this._clientOptions.initializationFailedHandler?this._clientOptions.initializationFailedHandler(r)?this.initialize(e):this.stop():r instanceof A.ResponseError&&r.data&&r.data.retry?Re.window.showErrorMessage(r.message,{title:"Retry",id:"retry"}).then(i=>{i&&i.id==="retry"?this.initialize(e):this.stop()}):(r&&r.message&&Re.window.showErrorMessage(r.message),this.error("Server initialization failed.",r),this.stop()),r}}_clientGetRootPath(){let e=Re.workspace.workspaceFolders;if(!e||e.length===0)return;let t=e[0];if(t.uri.scheme==="file")return t.uri.fsPath}stop(e=2e3){return this.shutdown("stop",e)}dispose(e=2e3){try{return this._disposed="disposing",this.stop(e)}finally{this._disposed="disposed"}}async shutdown(e,t){if(this.$state===ce.Stopped||this.$state===ce.Initial)return;if(this.$state===ce.Stopping){if(this._onStop!==void 0)return this._onStop;throw new Error("Client is stopping but no stop promise available.")}let r=this.activeConnection();if(r===void 0||this.$state!==ce.Running)throw new Error(`Client is not running and can't be stopped. It's current state is: ${this.$state}`);this._initializeResult=void 0,this.$state=ce.Stopping,this.cleanUp(e);let i=new Promise(o=>{(0,A.RAL)().timer.setTimeout(o,t)}),s=(async o=>(await o.shutdown(),await o.exit(),o))(r);return this._onStop=Promise.race([i,s]).then(o=>{if(o!==void 0)o.end(),o.dispose();else throw this.error("Stopping server timed out",void 0,!1),new Error("Stopping the server timed out")},o=>{throw this.error("Stopping server failed",o,!1),o}).finally(()=>{this.$state=ce.Stopped,e==="stop"&&this.cleanUpChannel(),this._onStart=void 0,this._onStop=void 0,this._connection=void 0,this._ignoredRegistrations.clear()})}cleanUp(e){this._fileEvents=[],this._fileEventDelayer.cancel();let t=this._listeners.splice(0,this._listeners.length);for(let r of t)r.dispose();this._syncedDocuments&&this._syncedDocuments.clear();for(let r of Array.from(this._features.entries()).map(i=>i[1]).reverse())r.clear();e==="stop"&&this._diagnostics!==void 0&&(this._diagnostics.dispose(),this._diagnostics=void 0),this._idleInterval!==void 0&&(this._idleInterval.dispose(),this._idleInterval=void 0)}cleanUpChannel(){this._outputChannel!==void 0&&this._disposeOutputChannel&&(this._outputChannel.dispose(),this._outputChannel=void 0)}notifyFileEvent(e){let t=this;async function r(s){return t._fileEvents.push(s),t._fileEventDelayer.trigger(async()=>{await t.sendNotification(A.DidChangeWatchedFilesNotification.type,{changes:t._fileEvents}),t._fileEvents=[]})}let i=this.clientOptions.middleware?.workspace;(i?.didChangeWatchedFile?i.didChangeWatchedFile(e,r):r(e)).catch(s=>{t.error("Notify file events failed.",s)})}async sendPendingFullTextDocumentChanges(e){return this._pendingChangeSemaphore.lock(async()=>{try{let t=this._didChangeTextDocumentFeature.getPendingDocumentChanges(this._pendingOpenNotifications);if(t.length===0)return;for(let r of t){let i=this.code2ProtocolConverter.asChangeTextDocumentParams(r);await e.sendNotification(A.DidChangeTextDocumentNotification.type,i),this._didChangeTextDocumentFeature.notificationSent(r,A.DidChangeTextDocumentNotification.type,i)}}catch(t){throw this.error("Sending pending changes failed",t,!1),t}})}triggerPendingChangeDelivery(){this._pendingChangeDelayer.trigger(async()=>{let e=this.activeConnection();if(e===void 0){this.triggerPendingChangeDelivery();return}await this.sendPendingFullTextDocumentChanges(e)}).catch(e=>this.error("Delivering pending changes failed",e,!1))}handleDiagnostics(e){if(!this._diagnostics)return;let t=e.uri;this._diagnosticQueueState.state==="busy"&&this._diagnosticQueueState.document===t&&this._diagnosticQueueState.tokenSource.cancel(),this._diagnosticQueue.set(e.uri,e.diagnostics),this.triggerDiagnosticQueue()}triggerDiagnosticQueue(){(0,A.RAL)().timer.setImmediate(()=>{this.workDiagnosticQueue()})}workDiagnosticQueue(){if(this._diagnosticQueueState.state==="busy")return;let e=this._diagnosticQueue.entries().next();if(e.done===!0)return;let[t,r]=e.value;this._diagnosticQueue.delete(t);let i=new Re.CancellationTokenSource;this._diagnosticQueueState={state:"busy",document:t,tokenSource:i},this._p2c.asDiagnostics(r,i.token).then(s=>{if(!i.token.isCancellationRequested){let o=this._p2c.asUri(t),a=this.clientOptions.middleware;a.handleDiagnostics?a.handleDiagnostics(o,s,(u,h)=>this.setDiagnostics(u,h)):this.setDiagnostics(o,s)}}).finally(()=>{this._diagnosticQueueState={state:"idle"},this.triggerDiagnosticQueue()})}setDiagnostics(e,t){this._diagnostics&&this._diagnostics.set(e,t)}getLocale(){return Re.env.language}async $start(){if(this.$state===ce.StartFailed)throw new Error("Previous start failed. Can't restart server.");await this.start();let e=this.activeConnection();if(e===void 0)throw new Error("Starting server failed");return e}async createConnection(){let e=(i,s,o)=>{this.handleConnectionError(i,s,o).catch(a=>this.error("Handling connection error failed",a))},t=()=>{this.handleConnectionClosed().catch(i=>this.error("Handling connection close failed",i))},r=await this.createMessageTransports(this._clientOptions.stdioEncoding||"utf8");return this._connection=zb(r.reader,r.writer,e,t,this._clientOptions.connectionOptions),this._connection}async handleConnectionClosed(){if(this.$state===ce.Stopped)return;try{this._connection!==void 0&&this._connection.dispose()}catch{}let e={action:rr.DoNotRestart};if(this.$state!==ce.Stopping)try{e=await this._clientOptions.errorHandler.closed()}catch{}this._connection=void 0,e.action===rr.DoNotRestart?(this.error(e.message??"Connection to server got closed. Server will not be restarted.",void 0,e.handled===!0?!1:"force"),this.cleanUp("stop"),this.$state===ce.Starting?this.$state=ce.StartFailed:this.$state=ce.Stopped,this._onStop=Promise.resolve(),this._onStart=void 0):e.action===rr.Restart&&(this.info(e.message??"Connection to server got closed. Server will restart.",!e.handled),this.cleanUp("restart"),this.$state=ce.Initial,this._onStop=Promise.resolve(),this._onStart=void 0,this.start().catch(t=>this.error("Restarting server failed",t,"force")))}async handleConnectionError(e,t,r){let i=await this._clientOptions.errorHandler.error(e,t,r);i.action===Mi.Shutdown?(this.error(i.message??`Client ${this._name}: connection to server is erroring. -${e.message} -Shutting down server.`,void 0,i.handled===!0?!1:"force"),this.stop().catch(s=>{this.error("Stopping server failed",s,!1)})):this.error(i.message??`Client ${this._name}: connection to server is erroring. -${e.message}`,void 0,i.handled===!0?!1:"force")}hookConfigurationChanged(e){this._listeners.push(Re.workspace.onDidChangeConfiguration(()=>{this.refreshTrace(e,!0)}))}refreshTrace(e,t=!1){let r=Re.workspace.getConfiguration(this._id),i=A.Trace.Off,s=A.TraceFormat.Text;if(r){let o=r.get("trace.server","off");typeof o=="string"?i=A.Trace.fromString(o):(i=A.Trace.fromString(r.get("trace.server.verbosity","off")),s=A.TraceFormat.fromString(r.get("trace.server.format","text")))}this._trace=i,this._traceFormat=s,e.trace(this._trace,this._tracer,{sendNotification:t,traceFormat:this._traceFormat}).catch(o=>{this.error("Updating trace failed with error",o,!1)})}hookFileEvents(e){let t=this._clientOptions.synchronize.fileEvents;if(!t)return;let r;hn.array(t)?r=t:r=[t],r&&this._dynamicFeatures.get(A.DidChangeWatchedFilesNotification.type.method).registerRaw(Wm.generateUuid(),r)}registerFeatures(e){for(let t of e)this.registerFeature(t)}registerFeature(e){if(this._features.push(e),fn.DynamicFeature.is(e)){let t=e.registrationType;this._dynamicFeatures.set(t.method,e)}}getFeature(e){return this._dynamicFeatures.get(e)}hasDedicatedTextSynchronizationFeature(e){let t=this.getFeature(A.NotebookDocumentSyncRegistrationType.method);return t===void 0||!(t instanceof Km.NotebookDocumentSyncFeature)?!1:t.handles(e)}registerBuiltinFeatures(){let e=new Map;this.registerFeature(new zm.ConfigurationFeature(this)),this.registerFeature(new Yr.DidOpenTextDocumentFeature(this,this._syncedDocuments)),this._didChangeTextDocumentFeature=new Yr.DidChangeTextDocumentFeature(this,e),this._didChangeTextDocumentFeature.onPendingChangeAdded(()=>{this.triggerPendingChangeDelivery()}),this.registerFeature(this._didChangeTextDocumentFeature),this.registerFeature(new Yr.WillSaveFeature(this)),this.registerFeature(new Yr.WillSaveWaitUntilFeature(this)),this.registerFeature(new Yr.DidSaveTextDocumentFeature(this)),this.registerFeature(new Yr.DidCloseTextDocumentFeature(this,this._syncedDocuments,e)),this.registerFeature(new qb.FileSystemWatcherFeature(this,t=>this.notifyFileEvent(t))),this.registerFeature(new mb.CompletionItemFeature(this)),this.registerFeature(new yb.HoverFeature(this)),this.registerFeature(new Cb.SignatureHelpFeature(this)),this.registerFeature(new vb.DefinitionFeature(this)),this.registerFeature(new wb.ReferencesFeature(this)),this.registerFeature(new _b.DocumentHighlightFeature(this)),this.registerFeature(new bb.DocumentSymbolFeature(this)),this.registerFeature(new Db.WorkspaceSymbolFeature(this)),this.registerFeature(new Rb.CodeActionFeature(this)),this.registerFeature(new Sb.CodeLensFeature(this)),this.registerFeature(new Vl.DocumentFormattingFeature(this)),this.registerFeature(new Vl.DocumentRangeFormattingFeature(this)),this.registerFeature(new Vl.DocumentOnTypeFormattingFeature(this)),this.registerFeature(new Tb.RenameFeature(this)),this.registerFeature(new Pb.DocumentLinkFeature(this)),this.registerFeature(new Eb.ExecuteCommandFeature(this)),this.registerFeature(new zm.SyncConfigurationFeature(this)),this.registerFeature(new Ib.TypeDefinitionFeature(this)),this.registerFeature(new xb.ImplementationFeature(this)),this.registerFeature(new kb.ColorProviderFeature(this)),this.clientOptions.workspaceFolder===void 0&&this.registerFeature(new Ob.WorkspaceFoldersFeature(this)),this.registerFeature(new Fb.FoldingRangeFeature(this)),this.registerFeature(new Nb.DeclarationFeature(this)),this.registerFeature(new Mb.SelectionRangeFeature(this)),this.registerFeature(new Lb.ProgressFeature(this)),this.registerFeature(new Ab.CallHierarchyFeature(this)),this.registerFeature(new jb.SemanticTokensFeature(this)),this.registerFeature(new $b.LinkedEditingFeature(this)),this.registerFeature(new Zr.DidCreateFilesFeature(this)),this.registerFeature(new Zr.DidRenameFilesFeature(this)),this.registerFeature(new Zr.DidDeleteFilesFeature(this)),this.registerFeature(new Zr.WillCreateFilesFeature(this)),this.registerFeature(new Zr.WillRenameFilesFeature(this)),this.registerFeature(new Zr.WillDeleteFilesFeature(this)),this.registerFeature(new Hb.TypeHierarchyFeature(this)),this.registerFeature(new Ub.InlineValueFeature(this)),this.registerFeature(new Wb.InlayHintsFeature(this)),this.registerFeature(new gb.DiagnosticFeature(this)),this.registerFeature(new Km.NotebookDocumentSyncFeature(this))}registerProposedFeatures(){this.registerFeatures(Jl.createAll(this))}fillInitializeParams(e){for(let t of this._features)hn.func(t.fillInitializeParams)&&t.fillInitializeParams(e)}computeClientCapabilities(){let e={};(0,fn.ensure)(e,"workspace").applyEdit=!0;let t=(0,fn.ensure)((0,fn.ensure)(e,"workspace"),"workspaceEdit");t.documentChanges=!0,t.resourceOperations=[A.ResourceOperationKind.Create,A.ResourceOperationKind.Rename,A.ResourceOperationKind.Delete],t.failureHandling=A.FailureHandlingKind.TextOnlyTransactional,t.normalizesLineEndings=!0,t.changeAnnotationSupport={groupsOnLabel:!0};let r=(0,fn.ensure)((0,fn.ensure)(e,"textDocument"),"publishDiagnostics");r.relatedInformation=!0,r.versionSupport=!1,r.tagSupport={valueSet:[A.DiagnosticTag.Unnecessary,A.DiagnosticTag.Deprecated]},r.codeDescriptionSupport=!0,r.dataSupport=!0;let i=(0,fn.ensure)(e,"window"),s=(0,fn.ensure)(i,"showMessage");s.messageActionItem={additionalPropertiesSupport:!0};let o=(0,fn.ensure)(i,"showDocument");o.support=!0;let a=(0,fn.ensure)(e,"general");a.staleRequestSupport={cancel:!0,retryOnContentModified:Array.from(n.RequestsToCancelOnContentModified)},a.regularExpressions={engine:"ECMAScript",version:"ES2020"},a.markdown={parser:"marked",version:"1.1.0"},a.positionEncodings=["utf-16"],this._clientOptions.markdown.supportHtml&&(a.markdown.allowedTags=["ul","li","p","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"]);for(let u of this._features)u.fillClientCapabilities(e);return e}initializeFeatures(e){let t=this._clientOptions.documentSelector;for(let r of this._features)hn.func(r.preInitialize)&&r.preInitialize(this._capabilities,t);for(let r of this._features)r.initialize(this._capabilities,t)}async handleRegistrationRequest(e){let t=this.clientOptions.middleware?.handleRegisterCapability;return t?t(e,r=>this.doRegisterCapability(r)):this.doRegisterCapability(e)}async doRegisterCapability(e){if(!this.isRunning()){for(let t of e.registrations)this._ignoredRegistrations.add(t.id);return}for(let t of e.registrations){let r=this._dynamicFeatures.get(t.method);if(r===void 0)return Promise.reject(new Error(`No feature implementation for ${t.method} found. Registration failed.`));let i=t.registerOptions??{};i.documentSelector=i.documentSelector??this._clientOptions.documentSelector;let s={id:t.id,registerOptions:i};try{r.register(s)}catch(o){return Promise.reject(o)}}}async handleUnregistrationRequest(e){let t=this.clientOptions.middleware?.handleUnregisterCapability;return t?t(e,r=>this.doUnregisterCapability(r)):this.doUnregisterCapability(e)}async doUnregisterCapability(e){for(let t of e.unregisterations){if(this._ignoredRegistrations.has(t.id))continue;let r=this._dynamicFeatures.get(t.method);if(!r)return Promise.reject(new Error(`No feature implementation for ${t.method} found. Unregistration failed.`));r.unregister(t.id)}}async handleApplyWorkspaceEdit(e){let t=e.edit,r=await this.workspaceEditLock.lock(()=>this._p2c.asWorkspaceEdit(t)),i=new Map;Re.workspace.textDocuments.forEach(o=>i.set(o.uri.toString(),o));let s=!1;if(t.documentChanges){for(let o of t.documentChanges)if(A.TextDocumentEdit.is(o)&&o.textDocument.version&&o.textDocument.version>=0){let a=this._p2c.asUri(o.textDocument.uri).toString(),u=i.get(a);if(u&&u.version!==o.textDocument.version){s=!0;break}}}return s?Promise.resolve({applied:!1}):hn.asPromise(Re.workspace.applyEdit(r).then(o=>({applied:o})))}handleFailedRequest(e,t,r,i,s=!0){if(r instanceof A.ResponseError){if(r.code===A.ErrorCodes.PendingResponseRejected||r.code===A.ErrorCodes.ConnectionInactive)return i;if(r.code===A.LSPErrorCodes.RequestCancelled||r.code===A.LSPErrorCodes.ServerCancelled){if(t!==void 0&&t.isCancellationRequested)return i;throw r.data!==void 0?new fn.LSPCancellationError(r.data):new Re.CancellationError}else if(r.code===A.LSPErrorCodes.ContentModified){if(n.RequestsToCancelOnContentModified.has(e.method)||n.CancellableResolveCalls.has(e.method))throw new Re.CancellationError;return i}}throw this.error(`Request ${e.method} failed.`,r,s),r}};st.BaseLanguageClient=Li;Li.RequestsToCancelOnContentModified=new Set([A.SemanticTokensRequest.method,A.SemanticTokensRangeRequest.method,A.SemanticTokensDeltaRequest.method]);Li.CancellableResolveCalls=new Set([A.CompletionResolveRequest.method,A.CodeLensResolveRequest.method,A.CodeActionResolveRequest.method,A.InlayHintResolveRequest.method,A.DocumentLinkResolveRequest.method,A.WorkspaceSymbolResolveRequest.method]);var Xl=class{error(e){(0,A.RAL)().console.error(e)}warn(e){(0,A.RAL)().console.warn(e)}info(e){(0,A.RAL)().console.info(e)}log(e){(0,A.RAL)().console.log(e)}};function zb(n,e,t,r,i){let s=new Xl,o=(0,A.createProtocolConnection)(n,e,s,i);return o.onError(u=>{t(u[0],u[1],u[2])}),o.onClose(r),{listen:()=>o.listen(),sendRequest:o.sendRequest,onRequest:o.onRequest,hasPendingResponse:o.hasPendingResponse,sendNotification:o.sendNotification,onNotification:o.onNotification,onProgress:o.onProgress,sendProgress:o.sendProgress,trace:(u,h,p)=>{let v={sendNotification:!1,traceFormat:A.TraceFormat.Text};return p===void 0?o.trace(u,h,v):(hn.boolean(p),o.trace(u,h,p))},initialize:u=>o.sendRequest(A.InitializeRequest.type,u),shutdown:()=>o.sendRequest(A.ShutdownRequest.type,void 0),exit:()=>o.sendNotification(A.ExitNotification.type),end:()=>o.end(),dispose:()=>o.dispose()}}var Jl;(function(n){function e(t){return[new Kb.InlineCompletionItemFeature(t)]}n.createAll=e})(Jl||(st.ProposedFeatures=Jl={}))});var Xm=k(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.terminate=void 0;var Gm=require("child_process"),Vb=require("path"),Bb=process.platform==="win32",Gb=process.platform==="darwin",Xb=process.platform==="linux";function Jb(n,e){if(Bb)try{let i={stdio:["pipe","pipe","ignore"]};return e&&(i.cwd=e),Gm.execFileSync("taskkill",["/T","/F","/PID",n.pid.toString()],i),!0}catch{return!1}else if(Xb||Gb)try{var t=(0,Vb.join)(__dirname,"terminateProcess.sh"),r=Gm.spawnSync(t,[n.pid.toString()]);return!r.error}catch{return!1}else return n.kill("SIGKILL"),!0}xo.terminate=Jb});var Yl=k((MS,Jm)=>{"use strict";Jm.exports=te()});var Ai=k((LS,Qm)=>{var Qb=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...n)=>console.error("SEMVER",...n):()=>{};Qm.exports=Qb});var Io=k((AS,Ym)=>{var Yb="2.0.0",Zb=Number.MAX_SAFE_INTEGER||9007199254740991,eD=16,tD=250,nD=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Ym.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:eD,MAX_SAFE_BUILD_LENGTH:tD,MAX_SAFE_INTEGER:Zb,RELEASE_TYPES:nD,SEMVER_SPEC_VERSION:Yb,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Oo=k((Ln,Zm)=>{var{MAX_SAFE_COMPONENT_LENGTH:Zl,MAX_SAFE_BUILD_LENGTH:rD,MAX_LENGTH:iD}=Io(),sD=Ai();Ln=Zm.exports={};var oD=Ln.re=[],aD=Ln.safeRe=[],K=Ln.src=[],z=Ln.t={},cD=0,ed="[a-zA-Z0-9-]",uD=[["\\s",1],["\\d",iD],[ed,rD]],lD=n=>{for(let[e,t]of uD)n=n.split(`${e}*`).join(`${e}{0,${t}}`).split(`${e}+`).join(`${e}{1,${t}}`);return n},se=(n,e,t)=>{let r=lD(e),i=cD++;sD(n,i,e),z[n]=i,K[i]=e,oD[i]=new RegExp(e,t?"g":void 0),aD[i]=new RegExp(r,t?"g":void 0)};se("NUMERICIDENTIFIER","0|[1-9]\\d*");se("NUMERICIDENTIFIERLOOSE","\\d+");se("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${ed}*`);se("MAINVERSION",`(${K[z.NUMERICIDENTIFIER]})\\.(${K[z.NUMERICIDENTIFIER]})\\.(${K[z.NUMERICIDENTIFIER]})`);se("MAINVERSIONLOOSE",`(${K[z.NUMERICIDENTIFIERLOOSE]})\\.(${K[z.NUMERICIDENTIFIERLOOSE]})\\.(${K[z.NUMERICIDENTIFIERLOOSE]})`);se("PRERELEASEIDENTIFIER",`(?:${K[z.NUMERICIDENTIFIER]}|${K[z.NONNUMERICIDENTIFIER]})`);se("PRERELEASEIDENTIFIERLOOSE",`(?:${K[z.NUMERICIDENTIFIERLOOSE]}|${K[z.NONNUMERICIDENTIFIER]})`);se("PRERELEASE",`(?:-(${K[z.PRERELEASEIDENTIFIER]}(?:\\.${K[z.PRERELEASEIDENTIFIER]})*))`);se("PRERELEASELOOSE",`(?:-?(${K[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${K[z.PRERELEASEIDENTIFIERLOOSE]})*))`);se("BUILDIDENTIFIER",`${ed}+`);se("BUILD",`(?:\\+(${K[z.BUILDIDENTIFIER]}(?:\\.${K[z.BUILDIDENTIFIER]})*))`);se("FULLPLAIN",`v?${K[z.MAINVERSION]}${K[z.PRERELEASE]}?${K[z.BUILD]}?`);se("FULL",`^${K[z.FULLPLAIN]}$`);se("LOOSEPLAIN",`[v=\\s]*${K[z.MAINVERSIONLOOSE]}${K[z.PRERELEASELOOSE]}?${K[z.BUILD]}?`);se("LOOSE",`^${K[z.LOOSEPLAIN]}$`);se("GTLT","((?:<|>)?=?)");se("XRANGEIDENTIFIERLOOSE",`${K[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);se("XRANGEIDENTIFIER",`${K[z.NUMERICIDENTIFIER]}|x|X|\\*`);se("XRANGEPLAIN",`[v=\\s]*(${K[z.XRANGEIDENTIFIER]})(?:\\.(${K[z.XRANGEIDENTIFIER]})(?:\\.(${K[z.XRANGEIDENTIFIER]})(?:${K[z.PRERELEASE]})?${K[z.BUILD]}?)?)?`);se("XRANGEPLAINLOOSE",`[v=\\s]*(${K[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${K[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${K[z.XRANGEIDENTIFIERLOOSE]})(?:${K[z.PRERELEASELOOSE]})?${K[z.BUILD]}?)?)?`);se("XRANGE",`^${K[z.GTLT]}\\s*${K[z.XRANGEPLAIN]}$`);se("XRANGELOOSE",`^${K[z.GTLT]}\\s*${K[z.XRANGEPLAINLOOSE]}$`);se("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Zl}})(?:\\.(\\d{1,${Zl}}))?(?:\\.(\\d{1,${Zl}}))?`);se("COERCE",`${K[z.COERCEPLAIN]}(?:$|[^\\d])`);se("COERCEFULL",K[z.COERCEPLAIN]+`(?:${K[z.PRERELEASE]})?(?:${K[z.BUILD]})?(?:$|[^\\d])`);se("COERCERTL",K[z.COERCE],!0);se("COERCERTLFULL",K[z.COERCEFULL],!0);se("LONETILDE","(?:~>?)");se("TILDETRIM",`(\\s*)${K[z.LONETILDE]}\\s+`,!0);Ln.tildeTrimReplace="$1~";se("TILDE",`^${K[z.LONETILDE]}${K[z.XRANGEPLAIN]}$`);se("TILDELOOSE",`^${K[z.LONETILDE]}${K[z.XRANGEPLAINLOOSE]}$`);se("LONECARET","(?:\\^)");se("CARETTRIM",`(\\s*)${K[z.LONECARET]}\\s+`,!0);Ln.caretTrimReplace="$1^";se("CARET",`^${K[z.LONECARET]}${K[z.XRANGEPLAIN]}$`);se("CARETLOOSE",`^${K[z.LONECARET]}${K[z.XRANGEPLAINLOOSE]}$`);se("COMPARATORLOOSE",`^${K[z.GTLT]}\\s*(${K[z.LOOSEPLAIN]})$|^$`);se("COMPARATOR",`^${K[z.GTLT]}\\s*(${K[z.FULLPLAIN]})$|^$`);se("COMPARATORTRIM",`(\\s*)${K[z.GTLT]}\\s*(${K[z.LOOSEPLAIN]}|${K[z.XRANGEPLAIN]})`,!0);Ln.comparatorTrimReplace="$1$2$3";se("HYPHENRANGE",`^\\s*(${K[z.XRANGEPLAIN]})\\s+-\\s+(${K[z.XRANGEPLAIN]})\\s*$`);se("HYPHENRANGELOOSE",`^\\s*(${K[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${K[z.XRANGEPLAINLOOSE]})\\s*$`);se("STAR","(<|>)?=?\\s*\\*");se("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");se("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Fo=k((jS,ey)=>{var dD=Object.freeze({loose:!0}),fD=Object.freeze({}),hD=n=>n?typeof n!="object"?dD:n:fD;ey.exports=hD});var iy=k(($S,ry)=>{var ty=/^[0-9]+$/,ny=(n,e)=>{let t=ty.test(n),r=ty.test(e);return t&&r&&(n=+n,e=+e),n===e?0:t&&!r?-1:r&&!t?1:nny(e,n);ry.exports={compareIdentifiers:ny,rcompareIdentifiers:pD}});var ji=k((HS,cy)=>{var No=Ai(),{MAX_LENGTH:sy,MAX_SAFE_INTEGER:Mo}=Io(),{safeRe:oy,t:ay}=Oo(),gD=Fo(),{compareIdentifiers:ei}=iy(),td=class n{constructor(e,t){if(t=gD(t),e instanceof n){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>sy)throw new TypeError(`version is longer than ${sy} characters`);No("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?oy[ay.LOOSE]:oy[ay.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Mo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Mo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Mo||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(t===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(t){let s=[t,i];r===!1&&(s=[t]),ei(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};cy.exports=td});var dy=k((US,ly)=>{var uy=ji(),mD=(n,e,t=!1)=>{if(n instanceof uy)return n;try{return new uy(n,e)}catch(r){if(!t)return null;throw r}};ly.exports=mD});var hy=k((WS,fy)=>{var nd=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(e,t)}return this}};fy.exports=nd});var _r=k((KS,gy)=>{var py=ji(),yD=(n,e,t)=>new py(n,t).compare(new py(e,t));gy.exports=yD});var yy=k((zS,my)=>{var vD=_r(),CD=(n,e,t)=>vD(n,e,t)===0;my.exports=CD});var Cy=k((VS,vy)=>{var _D=_r(),bD=(n,e,t)=>_D(n,e,t)!==0;vy.exports=bD});var by=k((BS,_y)=>{var DD=_r(),wD=(n,e,t)=>DD(n,e,t)>0;_y.exports=wD});var wy=k((GS,Dy)=>{var RD=_r(),SD=(n,e,t)=>RD(n,e,t)>=0;Dy.exports=SD});var Sy=k((XS,Ry)=>{var TD=_r(),PD=(n,e,t)=>TD(n,e,t)<0;Ry.exports=PD});var Py=k((JS,Ty)=>{var ED=_r(),qD=(n,e,t)=>ED(n,e,t)<=0;Ty.exports=qD});var qy=k((QS,Ey)=>{var kD=yy(),xD=Cy(),ID=by(),OD=wy(),FD=Sy(),ND=Py(),MD=(n,e,t,r)=>{switch(e){case"===":return typeof n=="object"&&(n=n.version),typeof t=="object"&&(t=t.version),n===t;case"!==":return typeof n=="object"&&(n=n.version),typeof t=="object"&&(t=t.version),n!==t;case"":case"=":case"==":return kD(n,t,r);case"!=":return xD(n,t,r);case">":return ID(n,t,r);case">=":return OD(n,t,r);case"<":return FD(n,t,r);case"<=":return ND(n,t,r);default:throw new TypeError(`Invalid operator: ${e}`)}};Ey.exports=MD});var My=k((YS,Ny)=>{var $i=Symbol("SemVer ANY"),sd=class n{static get ANY(){return $i}constructor(e,t){if(t=ky(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),id("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===$i?this.value="":this.value=this.operator+this.semver.version,id("comp",this)}parse(e){let t=this.options.loose?xy[Iy.COMPARATORLOOSE]:xy[Iy.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new Oy(r[2],this.options.loose):this.semver=$i}toString(){return this.value}test(e){if(id("Comparator.test",e,this.options.loose),this.semver===$i||e===$i)return!0;if(typeof e=="string")try{e=new Oy(e,this.options)}catch{return!1}return rd(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Fy(e.value,t).test(this.value):e.operator===""?e.value===""?!0:new Fy(this.value,t).test(e.semver):(t=ky(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||rd(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||rd(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Ny.exports=sd;var ky=Fo(),{safeRe:xy,t:Iy}=Oo(),rd=qy(),id=Ai(),Oy=ji(),Fy=od()});var od=k((ZS,$y)=>{var LD=/\s+/g,ad=class n{constructor(e,t){if(t=jD(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof cd)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(LD," "),this.set=this.raw.split("||").map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let r=this.set[0];if(this.set=this.set.filter(i=>!Ay(i[0])),this.set.length===0)this.set=[r];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&VD(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let t=this.set[e];for(let r=0;r0&&(this.formatted+=" "),this.formatted+=t[r].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let r=((this.options.includePrerelease&&KD)|(this.options.loose&&zD))+":"+e,i=Ly.get(r);if(i)return i;let s=this.options.loose,o=s?Nt[Rt.HYPHENRANGELOOSE]:Nt[Rt.HYPHENRANGE];e=e.replace(o,nw(this.options.includePrerelease)),Fe("hyphen replace",e),e=e.replace(Nt[Rt.COMPARATORTRIM],HD),Fe("comparator trim",e),e=e.replace(Nt[Rt.TILDETRIM],UD),Fe("tilde trim",e),e=e.replace(Nt[Rt.CARETTRIM],WD),Fe("caret trim",e);let a=e.split(" ").map(v=>BD(v,this.options)).join(" ").split(/\s+/).map(v=>tw(v,this.options));s&&(a=a.filter(v=>(Fe("loose invalid filter",v,this.options),!!v.match(Nt[Rt.COMPARATORLOOSE])))),Fe("range list",a);let u=new Map,h=a.map(v=>new cd(v,this.options));for(let v of h){if(Ay(v))return[v];u.set(v.value,v)}u.size>1&&u.has("")&&u.delete("");let p=[...u.values()];return Ly.set(r,p),p}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(r=>jy(r,t)&&e.set.some(i=>jy(i,t)&&r.every(s=>i.every(o=>s.intersects(o,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new $D(e,this.options)}catch{return!1}for(let t=0;tn.value==="<0.0.0-0",VD=n=>n.value==="",jy=(n,e)=>{let t=!0,r=n.slice(),i=r.pop();for(;t&&r.length;)t=r.every(s=>i.intersects(s,e)),i=r.pop();return t},BD=(n,e)=>(Fe("comp",n,e),n=JD(n,e),Fe("caret",n),n=GD(n,e),Fe("tildes",n),n=YD(n,e),Fe("xrange",n),n=ew(n,e),Fe("stars",n),n),St=n=>!n||n.toLowerCase()==="x"||n==="*",GD=(n,e)=>n.trim().split(/\s+/).map(t=>XD(t,e)).join(" "),XD=(n,e)=>{let t=e.loose?Nt[Rt.TILDELOOSE]:Nt[Rt.TILDE];return n.replace(t,(r,i,s,o,a)=>{Fe("tilde",n,r,i,s,o,a);let u;return St(i)?u="":St(s)?u=`>=${i}.0.0 <${+i+1}.0.0-0`:St(o)?u=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:a?(Fe("replaceTilde pr",a),u=`>=${i}.${s}.${o}-${a} <${i}.${+s+1}.0-0`):u=`>=${i}.${s}.${o} <${i}.${+s+1}.0-0`,Fe("tilde return",u),u})},JD=(n,e)=>n.trim().split(/\s+/).map(t=>QD(t,e)).join(" "),QD=(n,e)=>{Fe("caret",n,e);let t=e.loose?Nt[Rt.CARETLOOSE]:Nt[Rt.CARET],r=e.includePrerelease?"-0":"";return n.replace(t,(i,s,o,a,u)=>{Fe("caret",n,i,s,o,a,u);let h;return St(s)?h="":St(o)?h=`>=${s}.0.0${r} <${+s+1}.0.0-0`:St(a)?s==="0"?h=`>=${s}.${o}.0${r} <${s}.${+o+1}.0-0`:h=`>=${s}.${o}.0${r} <${+s+1}.0.0-0`:u?(Fe("replaceCaret pr",u),s==="0"?o==="0"?h=`>=${s}.${o}.${a}-${u} <${s}.${o}.${+a+1}-0`:h=`>=${s}.${o}.${a}-${u} <${s}.${+o+1}.0-0`:h=`>=${s}.${o}.${a}-${u} <${+s+1}.0.0-0`):(Fe("no pr"),s==="0"?o==="0"?h=`>=${s}.${o}.${a}${r} <${s}.${o}.${+a+1}-0`:h=`>=${s}.${o}.${a}${r} <${s}.${+o+1}.0-0`:h=`>=${s}.${o}.${a} <${+s+1}.0.0-0`),Fe("caret return",h),h})},YD=(n,e)=>(Fe("replaceXRanges",n,e),n.split(/\s+/).map(t=>ZD(t,e)).join(" ")),ZD=(n,e)=>{n=n.trim();let t=e.loose?Nt[Rt.XRANGELOOSE]:Nt[Rt.XRANGE];return n.replace(t,(r,i,s,o,a,u)=>{Fe("xRange",n,r,i,s,o,a,u);let h=St(s),p=h||St(o),v=p||St(a),m=v;return i==="="&&m&&(i=""),u=e.includePrerelease?"-0":"",h?i===">"||i==="<"?r="<0.0.0-0":r="*":i&&m?(p&&(o=0),a=0,i===">"?(i=">=",p?(s=+s+1,o=0,a=0):(o=+o+1,a=0)):i==="<="&&(i="<",p?s=+s+1:o=+o+1),i==="<"&&(u="-0"),r=`${i+s}.${o}.${a}${u}`):p?r=`>=${s}.0.0${u} <${+s+1}.0.0-0`:v&&(r=`>=${s}.${o}.0${u} <${s}.${+o+1}.0-0`),Fe("xRange return",r),r})},ew=(n,e)=>(Fe("replaceStars",n,e),n.trim().replace(Nt[Rt.STAR],"")),tw=(n,e)=>(Fe("replaceGTE0",n,e),n.trim().replace(Nt[e.includePrerelease?Rt.GTE0PRE:Rt.GTE0],"")),nw=n=>(e,t,r,i,s,o,a,u,h,p,v,m)=>(St(r)?t="":St(i)?t=`>=${r}.0.0${n?"-0":""}`:St(s)?t=`>=${r}.${i}.0${n?"-0":""}`:o?t=`>=${t}`:t=`>=${t}${n?"-0":""}`,St(h)?u="":St(p)?u=`<${+h+1}.0.0-0`:St(v)?u=`<${h}.${+p+1}.0-0`:m?u=`<=${h}.${p}.${v}-${m}`:n?u=`<${h}.${p}.${+v+1}-0`:u=`<=${u}`,`${t} ${u}`.trim()),rw=(n,e,t)=>{for(let r=0;r0){let i=n[r].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}});var Uy=k((eT,Hy)=>{var iw=od(),sw=(n,e,t)=>{try{e=new iw(e,t)}catch{return!1}return e.test(n)};Hy.exports=sw});var Ky=k(Kt=>{"use strict";var ow=Kt&&Kt.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,i)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),ud=Kt&&Kt.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&ow(e,n,t)};Object.defineProperty(Kt,"__esModule",{value:!0});Kt.DiagnosticPullMode=Kt.vsdiag=void 0;ud(te(),Kt);ud(me(),Kt);var Wy=mu();Object.defineProperty(Kt,"vsdiag",{enumerable:!0,get:function(){return Wy.vsdiag}});Object.defineProperty(Kt,"DiagnosticPullMode",{enumerable:!0,get:function(){return Wy.DiagnosticPullMode}});ud(Ql(),Kt)});var Gy=k(Mt=>{"use strict";var aw=Mt&&Mt.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var i=Object.getOwnPropertyDescriptor(e,t);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,i)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),By=Mt&&Mt.__exportStar||function(n,e){for(var t in n)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&aw(e,n,t)};Object.defineProperty(Mt,"__esModule",{value:!0});Mt.SettingMonitor=Mt.LanguageClient=Mt.TransportKind=void 0;var An=require("child_process"),ld=require("fs"),dd=require("path"),sr=require("vscode"),Ae=Gt(),zy=Ql(),cw=Xm(),He=Yl(),uw=dy(),lw=Uy();By(Yl(),Mt);By(Ky(),Mt);var Vy="^1.82.0",Ue;(function(n){n[n.stdio=0]="stdio",n[n.ipc=1]="ipc",n[n.pipe=2]="pipe",n[n.socket=3]="socket"})(Ue||(Mt.TransportKind=Ue={}));var ir;(function(n){function e(t){let r=t;return r&&r.kind===Ue.socket&&Ae.number(r.port)}n.isSocket=e})(ir||(ir={}));var fd;(function(n){function e(t){return Ae.string(t.command)}n.is=e})(fd||(fd={}));var hd;(function(n){function e(t){return Ae.string(t.module)}n.is=e})(hd||(hd={}));var pd;(function(n){function e(t){let r=t;return r&&r.writer!==void 0&&r.reader!==void 0}n.is=e})(pd||(pd={}));var gd;(function(n){function e(t){let r=t;return r&&r.process!==void 0&&typeof r.detached=="boolean"}n.is=e})(gd||(gd={}));var md=class extends zy.BaseLanguageClient{constructor(e,t,r,i,s){let o,a,u,h,p;Ae.string(t)?(o=e,a=t,u=r,h=i,p=!!s):(o=e.toLowerCase(),a=e,u=t,h=r,p=i),p===void 0&&(p=!1),super(o,a,h),this._serverOptions=u,this._forceDebug=p,this._isInDebugMode=p;try{this.checkVersion()}catch(v){throw Ae.string(v.message)&&this.outputChannel.appendLine(v.message),v}}checkVersion(){let e=uw(sr.version);if(!e)throw new Error(`No valid VS Code version detected. Version string is: ${sr.version}`);if(e.prerelease&&e.prerelease.length>0&&(e.prerelease=[]),!lw(e,Vy))throw new Error(`The language client requires VS Code version ${Vy} but received version ${sr.version}`)}get isInDebugMode(){return this._isInDebugMode}async restart(){await this.stop(),this.isInDebugMode?(await new Promise(e=>setTimeout(e,1e3)),await this.start()):await this.start()}stop(e=2e3){return super.stop(e).finally(()=>{if(this._serverProcess){let t=this._serverProcess;this._serverProcess=void 0,(this._isDetached===void 0||!this._isDetached)&&this.checkProcessDied(t),this._isDetached=void 0}})}checkProcessDied(e){!e||e.pid===void 0||setTimeout(()=>{try{e.pid!==void 0&&(process.kill(e.pid,0),(0,cw.terminate)(e))}catch{}},2e3)}handleConnectionClosed(){return this._serverProcess=void 0,super.handleConnectionClosed()}fillInitializeParams(e){super.fillInitializeParams(e),e.processId===null&&(e.processId=process.pid)}createMessageTransports(e){function t(p,v){if(!p&&!v)return;let m=Object.create(null);return Object.keys(process.env).forEach(R=>m[R]=process.env[R]),v&&(m.ELECTRON_RUN_AS_NODE="1",m.ELECTRON_NO_ASAR="1"),p&&Object.keys(p).forEach(R=>m[R]=p[R]),m}let r=["--debug=","--debug-brk=","--inspect=","--inspect-brk="],i=["--debug","--debug-brk","--inspect","--inspect-brk"];function s(){let p=process.execArgv;return p?p.some(v=>r.some(m=>v.startsWith(m))||i.some(m=>v===m)):!1}function o(p){if(p.stdin===null||p.stdout===null||p.stderr===null)throw new Error("Process created without stdio streams")}let a=this._serverOptions;if(Ae.func(a))return a().then(p=>{if(zy.MessageTransports.is(p))return this._isDetached=!!p.detached,p;if(pd.is(p))return this._isDetached=!!p.detached,{reader:new He.StreamMessageReader(p.reader),writer:new He.StreamMessageWriter(p.writer)};{let v;return gd.is(p)?(v=p.process,this._isDetached=p.detached):(v=p,this._isDetached=!1),v.stderr.on("data",m=>this.outputChannel.append(Ae.string(m)?m:m.toString(e))),{reader:new He.StreamMessageReader(v.stdout),writer:new He.StreamMessageWriter(v.stdin)}}});let u,h=a;return h.run||h.debug?this._forceDebug||s()?(u=h.debug,this._isInDebugMode=!0):(u=h.run,this._isInDebugMode=!1):u=a,this._getServerWorkingDir(u.options).then(p=>{if(hd.is(u)&&u.module){let v=u,m=v.transport||Ue.stdio;if(v.runtime){let R=[],y=v.options??Object.create(null);y.execArgv&&y.execArgv.forEach(L=>R.push(L)),R.push(v.module),v.args&&v.args.forEach(L=>R.push(L));let P=Object.create(null);P.cwd=p,P.env=t(y.env,!1);let q=this._getRuntimePath(v.runtime,p),N;if(m===Ue.ipc?(P.stdio=[null,null,null,"ipc"],R.push("--node-ipc")):m===Ue.stdio?R.push("--stdio"):m===Ue.pipe?(N=(0,He.generateRandomPipeName)(),R.push(`--pipe=${N}`)):ir.isSocket(m)&&R.push(`--socket=${m.port}`),R.push(`--clientProcessId=${process.pid.toString()}`),m===Ue.ipc||m===Ue.stdio){let L=An.spawn(q,R,P);return!L||!L.pid?ti(L,`Launching server using runtime ${q} failed.`):(this._serverProcess=L,L.stderr.on("data",M=>this.outputChannel.append(Ae.string(M)?M:M.toString(e))),m===Ue.ipc?(L.stdout.on("data",M=>this.outputChannel.append(Ae.string(M)?M:M.toString(e))),Promise.resolve({reader:new He.IPCMessageReader(L),writer:new He.IPCMessageWriter(L)})):Promise.resolve({reader:new He.StreamMessageReader(L.stdout),writer:new He.StreamMessageWriter(L.stdin)}))}else{if(m===Ue.pipe)return(0,He.createClientPipeTransport)(N).then(L=>{let M=An.spawn(q,R,P);return!M||!M.pid?ti(M,`Launching server using runtime ${q} failed.`):(this._serverProcess=M,M.stderr.on("data",H=>this.outputChannel.append(Ae.string(H)?H:H.toString(e))),M.stdout.on("data",H=>this.outputChannel.append(Ae.string(H)?H:H.toString(e))),L.onConnected().then(H=>({reader:H[0],writer:H[1]})))});if(ir.isSocket(m))return(0,He.createClientSocketTransport)(m.port).then(L=>{let M=An.spawn(q,R,P);return!M||!M.pid?ti(M,`Launching server using runtime ${q} failed.`):(this._serverProcess=M,M.stderr.on("data",H=>this.outputChannel.append(Ae.string(H)?H:H.toString(e))),M.stdout.on("data",H=>this.outputChannel.append(Ae.string(H)?H:H.toString(e))),L.onConnected().then(H=>({reader:H[0],writer:H[1]})))})}}else{let R;return new Promise((y,P)=>{let q=(v.args&&v.args.slice())??[];m===Ue.ipc?q.push("--node-ipc"):m===Ue.stdio?q.push("--stdio"):m===Ue.pipe?(R=(0,He.generateRandomPipeName)(),q.push(`--pipe=${R}`)):ir.isSocket(m)&&q.push(`--socket=${m.port}`),q.push(`--clientProcessId=${process.pid.toString()}`);let N=v.options??Object.create(null);if(N.env=t(N.env,!0),N.execArgv=N.execArgv||[],N.cwd=p,N.silent=!0,m===Ue.ipc||m===Ue.stdio){let L=An.fork(v.module,q||[],N);o(L),this._serverProcess=L,L.stderr.on("data",M=>this.outputChannel.append(Ae.string(M)?M:M.toString(e))),m===Ue.ipc?(L.stdout.on("data",M=>this.outputChannel.append(Ae.string(M)?M:M.toString(e))),y({reader:new He.IPCMessageReader(this._serverProcess),writer:new He.IPCMessageWriter(this._serverProcess)})):y({reader:new He.StreamMessageReader(L.stdout),writer:new He.StreamMessageWriter(L.stdin)})}else m===Ue.pipe?(0,He.createClientPipeTransport)(R).then(L=>{let M=An.fork(v.module,q||[],N);o(M),this._serverProcess=M,M.stderr.on("data",H=>this.outputChannel.append(Ae.string(H)?H:H.toString(e))),M.stdout.on("data",H=>this.outputChannel.append(Ae.string(H)?H:H.toString(e))),L.onConnected().then(H=>{y({reader:H[0],writer:H[1]})},P)},P):ir.isSocket(m)&&(0,He.createClientSocketTransport)(m.port).then(L=>{let M=An.fork(v.module,q||[],N);o(M),this._serverProcess=M,M.stderr.on("data",H=>this.outputChannel.append(Ae.string(H)?H:H.toString(e))),M.stdout.on("data",H=>this.outputChannel.append(Ae.string(H)?H:H.toString(e))),L.onConnected().then(H=>{y({reader:H[0],writer:H[1]})},P)},P)})}}else if(fd.is(u)&&u.command){let v=u,m=u.args!==void 0?u.args.slice(0):[],R,y=u.transport;if(y===Ue.stdio)m.push("--stdio");else if(y===Ue.pipe)R=(0,He.generateRandomPipeName)(),m.push(`--pipe=${R}`);else if(ir.isSocket(y))m.push(`--socket=${y.port}`);else if(y===Ue.ipc)throw new Error("Transport kind ipc is not support for command executable");let P=Object.assign({},v.options);if(P.cwd=P.cwd||p,y===void 0||y===Ue.stdio){let q=An.spawn(v.command,m,P);return!q||!q.pid?ti(q,`Launching server using command ${v.command} failed.`):(q.stderr.on("data",N=>this.outputChannel.append(Ae.string(N)?N:N.toString(e))),this._serverProcess=q,this._isDetached=!!P.detached,Promise.resolve({reader:new He.StreamMessageReader(q.stdout),writer:new He.StreamMessageWriter(q.stdin)}))}else{if(y===Ue.pipe)return(0,He.createClientPipeTransport)(R).then(q=>{let N=An.spawn(v.command,m,P);return!N||!N.pid?ti(N,`Launching server using command ${v.command} failed.`):(this._serverProcess=N,this._isDetached=!!P.detached,N.stderr.on("data",L=>this.outputChannel.append(Ae.string(L)?L:L.toString(e))),N.stdout.on("data",L=>this.outputChannel.append(Ae.string(L)?L:L.toString(e))),q.onConnected().then(L=>({reader:L[0],writer:L[1]})))});if(ir.isSocket(y))return(0,He.createClientSocketTransport)(y.port).then(q=>{let N=An.spawn(v.command,m,P);return!N||!N.pid?ti(N,`Launching server using command ${v.command} failed.`):(this._serverProcess=N,this._isDetached=!!P.detached,N.stderr.on("data",L=>this.outputChannel.append(Ae.string(L)?L:L.toString(e))),N.stdout.on("data",L=>this.outputChannel.append(Ae.string(L)?L:L.toString(e))),q.onConnected().then(L=>({reader:L[0],writer:L[1]})))})}}return Promise.reject(new Error("Unsupported server configuration "+JSON.stringify(a,null,4)))}).finally(()=>{this._serverProcess!==void 0&&this._serverProcess.on("exit",(p,v)=>{p!==null&&this.error(`Server process exited with code ${p}.`,void 0,!1),v!==null&&this.error(`Server process exited with signal ${v}.`,void 0,!1)})})}_getRuntimePath(e,t){if(dd.isAbsolute(e))return e;let r=this._mainGetRootPath();if(r!==void 0){let i=dd.join(r,e);if(ld.existsSync(i))return i}if(t!==void 0){let i=dd.join(t,e);if(ld.existsSync(i))return i}return e}_mainGetRootPath(){let e=sr.workspace.workspaceFolders;if(!e||e.length===0)return;let t=e[0];if(t.uri.scheme==="file")return t.uri.fsPath}_getServerWorkingDir(e){let t=e&&e.cwd;return t||(t=this.clientOptions.workspaceFolder?this.clientOptions.workspaceFolder.uri.fsPath:this._mainGetRootPath()),t?new Promise(r=>{ld.lstat(t,(i,s)=>{r(!i&&s.isDirectory()?t:void 0)})}):Promise.resolve(void 0)}};Mt.LanguageClient=md;var yd=class{constructor(e,t){this._client=e,this._setting=t,this._listeners=[]}start(){return sr.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration,this,this._listeners),this.onDidChangeConfiguration(),new sr.Disposable(()=>{this._client.needsStop()&&this._client.stop()})}onDidChangeConfiguration(){let e=this._setting.indexOf("."),t=e>=0?this._setting.substr(0,e):this._setting,r=e>=0?this._setting.substr(e+1):void 0,i=r?sr.workspace.getConfiguration(t).get(r,!1):sr.workspace.getConfiguration(t);i&&this._client.needsStart()?this._client.start().catch(s=>this._client.error("Start failed after configuration change",s,"force")):!i&&this._client.needsStop()&&this._client.stop().catch(s=>this._client.error("Stop failed after configuration change",s,"force"))}};Mt.SettingMonitor=yd;function ti(n,e){return n===null?Promise.reject(e):new Promise((t,r)=>{n.on("error",i=>{r(`${e} ${i}`)}),setImmediate(()=>r(e))})}});var Jy=k((rT,Xy)=>{"use strict";Xy.exports=Gy()});var pw={};rv(pw,{activate:()=>dw,deactivate:()=>fw});module.exports=sv(pw);var ni=class extends Error{response;request;options;constructor(e,t,r){let i=e.status||e.status===0?e.status:"",s=e.statusText||"",o=`${i} ${s}`.trim(),a=o?`status code ${o}`:"an unknown error";super(`Request failed with ${a}: ${t.method} ${t.url}`),this.name="HTTPError",this.response=e,this.request=t,this.options=r}};var br=class extends Error{request;constructor(e){super(`Request timed out: ${e.method} ${e.url}`),this.name="TimeoutError",this.request=e}};var Dr=n=>n!==null&&typeof n=="object";var ri=(...n)=>{for(let e of n)if((!Dr(e)||Array.isArray(e))&&e!==void 0)throw new TypeError("The `options` argument must be an object");return $o({},...n)},Ao=(n={},e={})=>{let t=new globalThis.Headers(n),r=e instanceof globalThis.Headers,i=new globalThis.Headers(e);for(let[s,o]of i.entries())r&&o==="undefined"||o===void 0?t.delete(s):t.set(s,o);return t};function zi(n,e,t){return Object.hasOwn(e,t)&&e[t]===void 0?[]:$o(n[t]??[],e[t]??[])}var jo=(n={},e={})=>({beforeRequest:zi(n,e,"beforeRequest"),beforeRetry:zi(n,e,"beforeRetry"),afterResponse:zi(n,e,"afterResponse"),beforeError:zi(n,e,"beforeError")}),$o=(...n)=>{let e={},t={},r={};for(let i of n)if(Array.isArray(i))Array.isArray(e)||(e=[]),e=[...e,...i];else if(Dr(i)){for(let[s,o]of Object.entries(i))Dr(o)&&s in e&&(o=$o(e[s],o)),e={...e,[s]:o};Dr(i.hooks)&&(r=jo(r,i.hooks),e.hooks=r),Dr(i.headers)&&(t=Ao(t,i.headers),e.headers=t)}return e};var Dd=(()=>{let n=!1,e=!1,t=typeof globalThis.ReadableStream=="function",r=typeof globalThis.Request=="function";if(t&&r)try{e=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type")}catch(i){if(i instanceof Error&&i.message==="unsupported BodyInit type")return!1;throw i}return n&&!e})(),wd=typeof globalThis.AbortController=="function",Rd=typeof globalThis.ReadableStream=="function",Sd=typeof globalThis.FormData=="function",Vi=["get","post","put","patch","head","delete"],ov=()=>{};ov();var Td={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},Bi=2147483647,Gi=Symbol("stop"),Pd={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,fetch:!0},Ed={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,dispatcher:!0,duplex:!0,priority:!0};var kd=n=>Vi.includes(n)?n.toUpperCase():n,av=["get","put","head","delete","options","trace"],cv=[408,413,429,500,502,503,504],uv=[413,429,503],qd={limit:2,methods:av,statusCodes:cv,afterStatusCodes:uv,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:n=>.3*2**(n-1)*1e3},xd=(n={})=>{if(typeof n=="number")return{...qd,limit:n};if(n.methods&&!Array.isArray(n.methods))throw new Error("retry.methods must be an array");if(n.statusCodes&&!Array.isArray(n.statusCodes))throw new Error("retry.statusCodes must be an array");return{...qd,...n}};async function Ho(n,e,t,r){return new Promise((i,s)=>{let o=setTimeout(()=>{t&&t.abort(),s(new br(n))},r.timeout);r.fetch(n,e).then(i).catch(s).then(()=>{clearTimeout(o)})})}async function Uo(n,{signal:e}){return new Promise((t,r)=>{e&&(e.throwIfAborted(),e.addEventListener("abort",i,{once:!0}));function i(){clearTimeout(s),r(e.reason)}let s=setTimeout(()=>{e?.removeEventListener("abort",i),t()},n)})}var Id=(n,e)=>{let t={};for(let r in e)!(r in Ed)&&!(r in Pd)&&!(r in n)&&(t[r]=e[r]);return t};var ii=class n{static create(e,t){let r=new n(e,t),i=async()=>{if(typeof r._options.timeout=="number"&&r._options.timeout>Bi)throw new RangeError(`The \`timeout\` option cannot be greater than ${Bi}`);await Promise.resolve();let a=await r._fetch();for(let u of r._options.hooks.afterResponse){let h=await u(r.request,r._options,r._decorateResponse(a.clone()));h instanceof globalThis.Response&&(a=h)}if(r._decorateResponse(a),!a.ok&&r._options.throwHttpErrors){let u=new ni(a,r.request,r._options);for(let h of r._options.hooks.beforeError)u=await h(u);throw u}if(r._options.onDownloadProgress){if(typeof r._options.onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!Rd)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(a.clone(),r._options.onDownloadProgress)}return a},o=r._options.retry.methods.includes(r.request.method.toLowerCase())?r._retry(i):i();for(let[a,u]of Object.entries(Td))o[a]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||u);let p=(await o).clone();if(a==="json"){if(p.status===204||(await p.clone().arrayBuffer()).byteLength===0)return"";if(t.parseJson)return t.parseJson(await p.text())}return p[a]()};return o}request;abortController;_retryCount=0;_input;_options;constructor(e,t={}){if(this._input=e,this._options={...t,headers:Ao(this._input.headers,t.headers),hooks:jo({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},t.hooks),method:kd(t.method??this._input.method),prefixUrl:String(t.prefixUrl||""),retry:xd(t.retry),throwHttpErrors:t.throwHttpErrors!==!1,timeout:t.timeout??1e4,fetch:t.fetch??globalThis.fetch.bind(globalThis)},typeof this._input!="string"&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&typeof this._input=="string"){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(wd){this.abortController=new globalThis.AbortController;let r=this._options.signal??this._input.signal;r?.addEventListener("abort",()=>{this.abortController.abort(r.reason)}),this._options.signal=this.abortController.signal}if(Dd&&(this._options.duplex="half"),this._options.json!==void 0&&(this._options.body=this._options.stringifyJson?.(this._options.json)??JSON.stringify(this._options.json),this._options.headers.set("content-type",this._options.headers.get("content-type")??"application/json")),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){let i="?"+(typeof this._options.searchParams=="string"?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString()),s=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,i);(Sd&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)&&!(this._options.headers&&this._options.headers["content-type"])&&this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(s,{...this.request}),this._options)}}_calculateRetryDelay(e){if(this._retryCount++,this._retryCount>this._options.retry.limit||e instanceof br)throw e;if(e instanceof ni){if(!this._options.retry.statusCodes.includes(e.response.status))throw e;let r=e.response.headers.get("Retry-After")??e.response.headers.get("RateLimit-Reset")??e.response.headers.get("X-RateLimit-Reset")??e.response.headers.get("X-Rate-Limit-Reset");if(r&&this._options.retry.afterStatusCodes.includes(e.response.status)){let i=Number(r)*1e3;Number.isNaN(i)?i=Date.parse(r)-Date.now():i>=Date.parse("2024-01-01")&&(i-=Date.now());let s=this._options.retry.maxRetryAfter??i;return ithis._options.parseJson(await e.text())),e}async _retry(e){try{return await e()}catch(t){let r=Math.min(this._calculateRetryDelay(t),Bi);if(this._retryCount<1)throw t;await Uo(r,{signal:this._options.signal});for(let i of this._options.hooks.beforeRetry)if(await i({request:this.request,options:this._options,error:t,retryCount:this._retryCount})===Gi)return;return this._retry(e)}}async _fetch(){for(let r of this._options.hooks.beforeRequest){let i=await r(this.request,this._options);if(i instanceof Request){this.request=i;break}if(i instanceof Response)return i}let e=Id(this.request,this._options),t=this.request;return this.request=t.clone(),this._options.timeout===!1?this._options.fetch(t,e):Ho(t,e,this.abortController,this._options)}_stream(e,t){let r=Number(e.headers.get("content-length"))||0,i=0;return e.status===204?(t&&t({percent:1,totalBytes:r,transferredBytes:i},new Uint8Array),new globalThis.Response(null,{status:e.status,statusText:e.statusText,headers:e.headers})):new globalThis.Response(new globalThis.ReadableStream({async start(s){let o=e.body.getReader();t&&t({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array);async function a(){let{done:u,value:h}=await o.read();if(u){s.close();return}if(t){i+=h.byteLength;let p=r===0?0:i/r;t({percent:p,transferredBytes:i,totalBytes:r},h)}s.enqueue(h),await a()}await a()}}),{status:e.status,statusText:e.statusText,headers:e.headers})}};var Wo=n=>{let e=(t,r)=>ii.create(t,ri(n,r));for(let t of Vi)e[t]=(r,i)=>ii.create(r,ri(n,i,{method:t}));return e.create=t=>Wo(ri(t)),e.extend=t=>(typeof t=="function"&&(t=t(n??{})),Wo(ri(n,t))),e.stop=Gi,e},lv=Wo(),Ko=lv;var ft=require("vscode"),Ui=iv(Jy()),Hi;async function dw(n){let e=await hw(n),t=ft.window.createOutputChannel("Cargo-appraiser Langauage Server");if(!e){ft.window.showErrorMessage("CARGO_APPRAISER_PATH environment variable is not set. Unable to start the language server.");return}let r={run:{command:e,args:["--renderer","vscode","--client-capabilities","readFile"],transport:Ui.TransportKind.stdio},debug:{command:e,args:["--renderer","vscode","--client-capabilities","readFile"],transport:Ui.TransportKind.stdio}},i={documentSelector:[{scheme:"file",language:"toml"}],synchronize:{fileEvents:ft.workspace.createFileSystemWatcher("**/Cargo.lock")},outputChannel:t};Hi=new Ui.LanguageClient("cargoAppraiser","LSP server for Cargo.toml",r,i),Hi.onRequest("textDocument/readFile",async(s,o)=>{let a=ft.Uri.parse(s.uri);return{content:(await ft.workspace.openTextDocument(a)).getText()}}),Hi.start()}function fw(){if(Hi)return Hi.stop()}async function hw(n){let e=process.env.CARGO_APPRAISER_PATH;if(e)return e;if(!ft.workspace.fs.isWritableFileSystem("file"))throw new Error("File system is not writable");let t=require("fs"),{promisify:r}=require("util"),i=r(t.chmod),s=await Ko.get("https://api.github.com/repos/washanhanzi/cargo-appraiser/releases/latest",{headers:{"User-Agent":"VSCode-Extension"}}).json(),o=process.platform,a=process.arch,u=`cargo-appraiser-${o==="win32"?"windows":o==="darwin"?"darwin":"linux"}-${a==="arm64"?"arm64":"amd64"}${o==="win32"?".exe":""}`,h=s.assets.find(L=>L.name===u);if(!h)throw new Error(`No asset found matching ${u}`);let p=`cargo-appraiser-${s.tag_name}`,v=o==="win32"?"cargo-appraiser.exe":"cargo-appraiser",m=ft.Uri.joinPath(n.globalStorageUri,p),R=ft.Uri.joinPath(m,v);if(await ft.workspace.fs.createDirectory(m),(await ft.workspace.fs.readDirectory(m)).length!==0)return R.fsPath;let P=ft.window.createStatusBarItem("download-lsp-server",ft.StatusBarAlignment.Left,0);P.text=`$(loading~spin) Downloading cargo-appraiser server ${s.tag_name}...`,P.show();let N=await(await Ko.get(h.browser_download_url)).arrayBuffer();return await ft.workspace.fs.writeFile(R,new Uint8Array(N)),await i(R.fsPath,"755"),P.dispose(),R.fsPath}0&&(module.exports={activate,deactivate}); +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +var require_messageWriter = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.WriteableStreamMessageWriter = exports2.AbstractMessageWriter = exports2.MessageWriter = void 0; + var ral_1 = require_ral(); + var Is = require_is2(); + var semaphore_1 = require_semaphore(); + var events_1 = require_events(); + var ContentLength = "Content-Length: "; + var CRLF = "\r\n"; + var MessageWriter; + (function(MessageWriter2) { + function is(value) { + let candidate = value; + return candidate && Is.func(candidate.dispose) && Is.func(candidate.onClose) && Is.func(candidate.onError) && Is.func(candidate.write); + } + MessageWriter2.is = is; + })(MessageWriter || (exports2.MessageWriter = MessageWriter = {})); + var AbstractMessageWriter = class { + constructor() { + this.errorEmitter = new events_1.Emitter(); + this.closeEmitter = new events_1.Emitter(); + } + dispose() { + this.errorEmitter.dispose(); + this.closeEmitter.dispose(); + } + get onError() { + return this.errorEmitter.event; + } + fireError(error, message, count) { + this.errorEmitter.fire([this.asError(error), message, count]); + } + get onClose() { + return this.closeEmitter.event; + } + fireClose() { + this.closeEmitter.fire(void 0); + } + asError(error) { + if (error instanceof Error) { + return error; + } else { + return new Error(`Writer received error. Reason: ${Is.string(error.message) ? error.message : "unknown"}`); + } + } + }; + exports2.AbstractMessageWriter = AbstractMessageWriter; + var ResolvedMessageWriterOptions; + (function(ResolvedMessageWriterOptions2) { + function fromOptions(options) { + if (options === void 0 || typeof options === "string") { + return { charset: options ?? "utf-8", contentTypeEncoder: (0, ral_1.default)().applicationJson.encoder }; + } else { + return { charset: options.charset ?? "utf-8", contentEncoder: options.contentEncoder, contentTypeEncoder: options.contentTypeEncoder ?? (0, ral_1.default)().applicationJson.encoder }; + } + } + ResolvedMessageWriterOptions2.fromOptions = fromOptions; + })(ResolvedMessageWriterOptions || (ResolvedMessageWriterOptions = {})); + var WriteableStreamMessageWriter = class extends AbstractMessageWriter { + constructor(writable, options) { + super(); + this.writable = writable; + this.options = ResolvedMessageWriterOptions.fromOptions(options); + this.errorCount = 0; + this.writeSemaphore = new semaphore_1.Semaphore(1); + this.writable.onError((error) => this.fireError(error)); + this.writable.onClose(() => this.fireClose()); + } + async write(msg) { + return this.writeSemaphore.lock(async () => { + const payload = this.options.contentTypeEncoder.encode(msg, this.options).then((buffer) => { + if (this.options.contentEncoder !== void 0) { + return this.options.contentEncoder.encode(buffer); + } else { + return buffer; + } + }); + return payload.then((buffer) => { + const headers = []; + headers.push(ContentLength, buffer.byteLength.toString(), CRLF); + headers.push(CRLF); + return this.doWrite(msg, headers, buffer); + }, (error) => { + this.fireError(error); + throw error; + }); + }); + } + async doWrite(msg, headers, data) { + try { + await this.writable.write(headers.join(""), "ascii"); + return this.writable.write(data); + } catch (error) { + this.handleError(error, msg); + return Promise.reject(error); + } + } + handleError(error, msg) { + this.errorCount++; + this.fireError(error, msg, this.errorCount); + } + end() { + this.writable.end(); + } + }; + exports2.WriteableStreamMessageWriter = WriteableStreamMessageWriter; + } +}); + +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +var require_messageBuffer = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.AbstractMessageBuffer = void 0; + var CR = 13; + var LF = 10; + var CRLF = "\r\n"; + var AbstractMessageBuffer = class { + constructor(encoding = "utf-8") { + this._encoding = encoding; + this._chunks = []; + this._totalLength = 0; + } + get encoding() { + return this._encoding; + } + append(chunk) { + const toAppend = typeof chunk === "string" ? this.fromString(chunk, this._encoding) : chunk; + this._chunks.push(toAppend); + this._totalLength += toAppend.byteLength; + } + tryReadHeaders(lowerCaseKeys = false) { + if (this._chunks.length === 0) { + return void 0; + } + let state = 0; + let chunkIndex = 0; + let offset = 0; + let chunkBytesRead = 0; + row: while (chunkIndex < this._chunks.length) { + const chunk = this._chunks[chunkIndex]; + offset = 0; + column: while (offset < chunk.length) { + const value = chunk[offset]; + switch (value) { + case CR: + switch (state) { + case 0: + state = 1; + break; + case 2: + state = 3; + break; + default: + state = 0; + } + break; + case LF: + switch (state) { + case 1: + state = 2; + break; + case 3: + state = 4; + offset++; + break row; + default: + state = 0; + } + break; + default: + state = 0; + } + offset++; + } + chunkBytesRead += chunk.byteLength; + chunkIndex++; + } + if (state !== 4) { + return void 0; + } + const buffer = this._read(chunkBytesRead + offset); + const result = /* @__PURE__ */ new Map(); + const headers = this.toString(buffer, "ascii").split(CRLF); + if (headers.length < 2) { + return result; + } + for (let i = 0; i < headers.length - 2; i++) { + const header = headers[i]; + const index = header.indexOf(":"); + if (index === -1) { + throw new Error(`Message header must separate key and value using ':' +${header}`); + } + const key = header.substr(0, index); + const value = header.substr(index + 1).trim(); + result.set(lowerCaseKeys ? key.toLowerCase() : key, value); + } + return result; + } + tryReadBody(length) { + if (this._totalLength < length) { + return void 0; + } + return this._read(length); + } + get numberOfBytes() { + return this._totalLength; + } + _read(byteCount) { + if (byteCount === 0) { + return this.emptyBuffer(); + } + if (byteCount > this._totalLength) { + throw new Error(`Cannot read so many bytes!`); + } + if (this._chunks[0].byteLength === byteCount) { + const chunk = this._chunks[0]; + this._chunks.shift(); + this._totalLength -= byteCount; + return this.asNative(chunk); + } + if (this._chunks[0].byteLength > byteCount) { + const chunk = this._chunks[0]; + const result2 = this.asNative(chunk, byteCount); + this._chunks[0] = chunk.slice(byteCount); + this._totalLength -= byteCount; + return result2; + } + const result = this.allocNative(byteCount); + let resultOffset = 0; + let chunkIndex = 0; + while (byteCount > 0) { + const chunk = this._chunks[chunkIndex]; + if (chunk.byteLength > byteCount) { + const chunkPart = chunk.slice(0, byteCount); + result.set(chunkPart, resultOffset); + resultOffset += byteCount; + this._chunks[chunkIndex] = chunk.slice(byteCount); + this._totalLength -= byteCount; + byteCount -= byteCount; + } else { + result.set(chunk, resultOffset); + resultOffset += chunk.byteLength; + this._chunks.shift(); + this._totalLength -= chunk.byteLength; + byteCount -= chunk.byteLength; + } + } + return result; + } + }; + exports2.AbstractMessageBuffer = AbstractMessageBuffer; + } +}); + +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.js +var require_connection = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.createMessageConnection = exports2.ConnectionOptions = exports2.MessageStrategy = exports2.CancellationStrategy = exports2.CancellationSenderStrategy = exports2.CancellationReceiverStrategy = exports2.RequestCancellationReceiverStrategy = exports2.IdCancellationReceiverStrategy = exports2.ConnectionStrategy = exports2.ConnectionError = exports2.ConnectionErrors = exports2.LogTraceNotification = exports2.SetTraceNotification = exports2.TraceFormat = exports2.TraceValues = exports2.Trace = exports2.NullLogger = exports2.ProgressType = exports2.ProgressToken = void 0; + var ral_1 = require_ral(); + var Is = require_is2(); + var messages_1 = require_messages(); + var linkedMap_1 = require_linkedMap(); + var events_1 = require_events(); + var cancellation_1 = require_cancellation(); + var CancelNotification; + (function(CancelNotification2) { + CancelNotification2.type = new messages_1.NotificationType("$/cancelRequest"); + })(CancelNotification || (CancelNotification = {})); + var ProgressToken; + (function(ProgressToken2) { + function is(value) { + return typeof value === "string" || typeof value === "number"; + } + ProgressToken2.is = is; + })(ProgressToken || (exports2.ProgressToken = ProgressToken = {})); + var ProgressNotification; + (function(ProgressNotification2) { + ProgressNotification2.type = new messages_1.NotificationType("$/progress"); + })(ProgressNotification || (ProgressNotification = {})); + var ProgressType = class { + constructor() { + } + }; + exports2.ProgressType = ProgressType; + var StarRequestHandler; + (function(StarRequestHandler2) { + function is(value) { + return Is.func(value); + } + StarRequestHandler2.is = is; + })(StarRequestHandler || (StarRequestHandler = {})); + exports2.NullLogger = Object.freeze({ + error: () => { + }, + warn: () => { + }, + info: () => { + }, + log: () => { + } + }); + var Trace; + (function(Trace2) { + Trace2[Trace2["Off"] = 0] = "Off"; + Trace2[Trace2["Messages"] = 1] = "Messages"; + Trace2[Trace2["Compact"] = 2] = "Compact"; + Trace2[Trace2["Verbose"] = 3] = "Verbose"; + })(Trace || (exports2.Trace = Trace = {})); + var TraceValues; + (function(TraceValues2) { + TraceValues2.Off = "off"; + TraceValues2.Messages = "messages"; + TraceValues2.Compact = "compact"; + TraceValues2.Verbose = "verbose"; + })(TraceValues || (exports2.TraceValues = TraceValues = {})); + (function(Trace2) { + function fromString(value) { + if (!Is.string(value)) { + return Trace2.Off; + } + value = value.toLowerCase(); + switch (value) { + case "off": + return Trace2.Off; + case "messages": + return Trace2.Messages; + case "compact": + return Trace2.Compact; + case "verbose": + return Trace2.Verbose; + default: + return Trace2.Off; + } + } + Trace2.fromString = fromString; + function toString(value) { + switch (value) { + case Trace2.Off: + return "off"; + case Trace2.Messages: + return "messages"; + case Trace2.Compact: + return "compact"; + case Trace2.Verbose: + return "verbose"; + default: + return "off"; + } + } + Trace2.toString = toString; + })(Trace || (exports2.Trace = Trace = {})); + var TraceFormat; + (function(TraceFormat2) { + TraceFormat2["Text"] = "text"; + TraceFormat2["JSON"] = "json"; + })(TraceFormat || (exports2.TraceFormat = TraceFormat = {})); + (function(TraceFormat2) { + function fromString(value) { + if (!Is.string(value)) { + return TraceFormat2.Text; + } + value = value.toLowerCase(); + if (value === "json") { + return TraceFormat2.JSON; + } else { + return TraceFormat2.Text; + } + } + TraceFormat2.fromString = fromString; + })(TraceFormat || (exports2.TraceFormat = TraceFormat = {})); + var SetTraceNotification; + (function(SetTraceNotification2) { + SetTraceNotification2.type = new messages_1.NotificationType("$/setTrace"); + })(SetTraceNotification || (exports2.SetTraceNotification = SetTraceNotification = {})); + var LogTraceNotification; + (function(LogTraceNotification2) { + LogTraceNotification2.type = new messages_1.NotificationType("$/logTrace"); + })(LogTraceNotification || (exports2.LogTraceNotification = LogTraceNotification = {})); + var ConnectionErrors; + (function(ConnectionErrors2) { + ConnectionErrors2[ConnectionErrors2["Closed"] = 1] = "Closed"; + ConnectionErrors2[ConnectionErrors2["Disposed"] = 2] = "Disposed"; + ConnectionErrors2[ConnectionErrors2["AlreadyListening"] = 3] = "AlreadyListening"; + })(ConnectionErrors || (exports2.ConnectionErrors = ConnectionErrors = {})); + var ConnectionError = class _ConnectionError extends Error { + constructor(code, message) { + super(message); + this.code = code; + Object.setPrototypeOf(this, _ConnectionError.prototype); + } + }; + exports2.ConnectionError = ConnectionError; + var ConnectionStrategy; + (function(ConnectionStrategy2) { + function is(value) { + const candidate = value; + return candidate && Is.func(candidate.cancelUndispatched); + } + ConnectionStrategy2.is = is; + })(ConnectionStrategy || (exports2.ConnectionStrategy = ConnectionStrategy = {})); + var IdCancellationReceiverStrategy; + (function(IdCancellationReceiverStrategy2) { + function is(value) { + const candidate = value; + return candidate && (candidate.kind === void 0 || candidate.kind === "id") && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === void 0 || Is.func(candidate.dispose)); + } + IdCancellationReceiverStrategy2.is = is; + })(IdCancellationReceiverStrategy || (exports2.IdCancellationReceiverStrategy = IdCancellationReceiverStrategy = {})); + var RequestCancellationReceiverStrategy; + (function(RequestCancellationReceiverStrategy2) { + function is(value) { + const candidate = value; + return candidate && candidate.kind === "request" && Is.func(candidate.createCancellationTokenSource) && (candidate.dispose === void 0 || Is.func(candidate.dispose)); + } + RequestCancellationReceiverStrategy2.is = is; + })(RequestCancellationReceiverStrategy || (exports2.RequestCancellationReceiverStrategy = RequestCancellationReceiverStrategy = {})); + var CancellationReceiverStrategy; + (function(CancellationReceiverStrategy2) { + CancellationReceiverStrategy2.Message = Object.freeze({ + createCancellationTokenSource(_) { + return new cancellation_1.CancellationTokenSource(); + } + }); + function is(value) { + return IdCancellationReceiverStrategy.is(value) || RequestCancellationReceiverStrategy.is(value); + } + CancellationReceiverStrategy2.is = is; + })(CancellationReceiverStrategy || (exports2.CancellationReceiverStrategy = CancellationReceiverStrategy = {})); + var CancellationSenderStrategy; + (function(CancellationSenderStrategy2) { + CancellationSenderStrategy2.Message = Object.freeze({ + sendCancellation(conn, id) { + return conn.sendNotification(CancelNotification.type, { id }); + }, + cleanup(_) { + } + }); + function is(value) { + const candidate = value; + return candidate && Is.func(candidate.sendCancellation) && Is.func(candidate.cleanup); + } + CancellationSenderStrategy2.is = is; + })(CancellationSenderStrategy || (exports2.CancellationSenderStrategy = CancellationSenderStrategy = {})); + var CancellationStrategy; + (function(CancellationStrategy2) { + CancellationStrategy2.Message = Object.freeze({ + receiver: CancellationReceiverStrategy.Message, + sender: CancellationSenderStrategy.Message + }); + function is(value) { + const candidate = value; + return candidate && CancellationReceiverStrategy.is(candidate.receiver) && CancellationSenderStrategy.is(candidate.sender); + } + CancellationStrategy2.is = is; + })(CancellationStrategy || (exports2.CancellationStrategy = CancellationStrategy = {})); + var MessageStrategy; + (function(MessageStrategy2) { + function is(value) { + const candidate = value; + return candidate && Is.func(candidate.handleMessage); + } + MessageStrategy2.is = is; + })(MessageStrategy || (exports2.MessageStrategy = MessageStrategy = {})); + var ConnectionOptions; + (function(ConnectionOptions2) { + function is(value) { + const candidate = value; + return candidate && (CancellationStrategy.is(candidate.cancellationStrategy) || ConnectionStrategy.is(candidate.connectionStrategy) || MessageStrategy.is(candidate.messageStrategy)); + } + ConnectionOptions2.is = is; + })(ConnectionOptions || (exports2.ConnectionOptions = ConnectionOptions = {})); + var ConnectionState; + (function(ConnectionState2) { + ConnectionState2[ConnectionState2["New"] = 1] = "New"; + ConnectionState2[ConnectionState2["Listening"] = 2] = "Listening"; + ConnectionState2[ConnectionState2["Closed"] = 3] = "Closed"; + ConnectionState2[ConnectionState2["Disposed"] = 4] = "Disposed"; + })(ConnectionState || (ConnectionState = {})); + function createMessageConnection(messageReader, messageWriter, _logger, options) { + const logger = _logger !== void 0 ? _logger : exports2.NullLogger; + let sequenceNumber = 0; + let notificationSequenceNumber = 0; + let unknownResponseSequenceNumber = 0; + const version = "2.0"; + let starRequestHandler = void 0; + const requestHandlers = /* @__PURE__ */ new Map(); + let starNotificationHandler = void 0; + const notificationHandlers = /* @__PURE__ */ new Map(); + const progressHandlers = /* @__PURE__ */ new Map(); + let timer; + let messageQueue = new linkedMap_1.LinkedMap(); + let responsePromises = /* @__PURE__ */ new Map(); + let knownCanceledRequests = /* @__PURE__ */ new Set(); + let requestTokens = /* @__PURE__ */ new Map(); + let trace = Trace.Off; + let traceFormat = TraceFormat.Text; + let tracer; + let state = ConnectionState.New; + const errorEmitter = new events_1.Emitter(); + const closeEmitter = new events_1.Emitter(); + const unhandledNotificationEmitter = new events_1.Emitter(); + const unhandledProgressEmitter = new events_1.Emitter(); + const disposeEmitter = new events_1.Emitter(); + const cancellationStrategy = options && options.cancellationStrategy ? options.cancellationStrategy : CancellationStrategy.Message; + function createRequestQueueKey(id) { + if (id === null) { + throw new Error(`Can't send requests with id null since the response can't be correlated.`); + } + return "req-" + id.toString(); + } + function createResponseQueueKey(id) { + if (id === null) { + return "res-unknown-" + (++unknownResponseSequenceNumber).toString(); + } else { + return "res-" + id.toString(); + } + } + function createNotificationQueueKey() { + return "not-" + (++notificationSequenceNumber).toString(); + } + function addMessageToQueue(queue, message) { + if (messages_1.Message.isRequest(message)) { + queue.set(createRequestQueueKey(message.id), message); + } else if (messages_1.Message.isResponse(message)) { + queue.set(createResponseQueueKey(message.id), message); + } else { + queue.set(createNotificationQueueKey(), message); + } + } + function cancelUndispatched(_message) { + return void 0; + } + function isListening() { + return state === ConnectionState.Listening; + } + function isClosed() { + return state === ConnectionState.Closed; + } + function isDisposed() { + return state === ConnectionState.Disposed; + } + function closeHandler() { + if (state === ConnectionState.New || state === ConnectionState.Listening) { + state = ConnectionState.Closed; + closeEmitter.fire(void 0); + } + } + function readErrorHandler(error) { + errorEmitter.fire([error, void 0, void 0]); + } + function writeErrorHandler(data) { + errorEmitter.fire(data); + } + messageReader.onClose(closeHandler); + messageReader.onError(readErrorHandler); + messageWriter.onClose(closeHandler); + messageWriter.onError(writeErrorHandler); + function triggerMessageQueue() { + if (timer || messageQueue.size === 0) { + return; + } + timer = (0, ral_1.default)().timer.setImmediate(() => { + timer = void 0; + processMessageQueue(); + }); + } + function handleMessage(message) { + if (messages_1.Message.isRequest(message)) { + handleRequest(message); + } else if (messages_1.Message.isNotification(message)) { + handleNotification(message); + } else if (messages_1.Message.isResponse(message)) { + handleResponse(message); + } else { + handleInvalidMessage(message); + } + } + function processMessageQueue() { + if (messageQueue.size === 0) { + return; + } + const message = messageQueue.shift(); + try { + const messageStrategy = options?.messageStrategy; + if (MessageStrategy.is(messageStrategy)) { + messageStrategy.handleMessage(message, handleMessage); + } else { + handleMessage(message); + } + } finally { + triggerMessageQueue(); + } + } + const callback = (message) => { + try { + if (messages_1.Message.isNotification(message) && message.method === CancelNotification.type.method) { + const cancelId = message.params.id; + const key = createRequestQueueKey(cancelId); + const toCancel = messageQueue.get(key); + if (messages_1.Message.isRequest(toCancel)) { + const strategy = options?.connectionStrategy; + const response = strategy && strategy.cancelUndispatched ? strategy.cancelUndispatched(toCancel, cancelUndispatched) : cancelUndispatched(toCancel); + if (response && (response.error !== void 0 || response.result !== void 0)) { + messageQueue.delete(key); + requestTokens.delete(cancelId); + response.id = toCancel.id; + traceSendingResponse(response, message.method, Date.now()); + messageWriter.write(response).catch(() => logger.error(`Sending response for canceled message failed.`)); + return; + } + } + const cancellationToken = requestTokens.get(cancelId); + if (cancellationToken !== void 0) { + cancellationToken.cancel(); + traceReceivedNotification(message); + return; + } else { + knownCanceledRequests.add(cancelId); + } + } + addMessageToQueue(messageQueue, message); + } finally { + triggerMessageQueue(); + } + }; + function handleRequest(requestMessage) { + if (isDisposed()) { + return; + } + function reply(resultOrError, method, startTime2) { + const message = { + jsonrpc: version, + id: requestMessage.id + }; + if (resultOrError instanceof messages_1.ResponseError) { + message.error = resultOrError.toJson(); + } else { + message.result = resultOrError === void 0 ? null : resultOrError; + } + traceSendingResponse(message, method, startTime2); + messageWriter.write(message).catch(() => logger.error(`Sending response failed.`)); + } + function replyError(error, method, startTime2) { + const message = { + jsonrpc: version, + id: requestMessage.id, + error: error.toJson() + }; + traceSendingResponse(message, method, startTime2); + messageWriter.write(message).catch(() => logger.error(`Sending response failed.`)); + } + function replySuccess(result, method, startTime2) { + if (result === void 0) { + result = null; + } + const message = { + jsonrpc: version, + id: requestMessage.id, + result + }; + traceSendingResponse(message, method, startTime2); + messageWriter.write(message).catch(() => logger.error(`Sending response failed.`)); + } + traceReceivedRequest(requestMessage); + const element = requestHandlers.get(requestMessage.method); + let type; + let requestHandler; + if (element) { + type = element.type; + requestHandler = element.handler; + } + const startTime = Date.now(); + if (requestHandler || starRequestHandler) { + const tokenKey = requestMessage.id ?? String(Date.now()); + const cancellationSource = IdCancellationReceiverStrategy.is(cancellationStrategy.receiver) ? cancellationStrategy.receiver.createCancellationTokenSource(tokenKey) : cancellationStrategy.receiver.createCancellationTokenSource(requestMessage); + if (requestMessage.id !== null && knownCanceledRequests.has(requestMessage.id)) { + cancellationSource.cancel(); + } + if (requestMessage.id !== null) { + requestTokens.set(tokenKey, cancellationSource); + } + try { + let handlerResult; + if (requestHandler) { + if (requestMessage.params === void 0) { + if (type !== void 0 && type.numberOfParams !== 0) { + replyError(new messages_1.ResponseError(messages_1.ErrorCodes.InvalidParams, `Request ${requestMessage.method} defines ${type.numberOfParams} params but received none.`), requestMessage.method, startTime); + return; + } + handlerResult = requestHandler(cancellationSource.token); + } else if (Array.isArray(requestMessage.params)) { + if (type !== void 0 && type.parameterStructures === messages_1.ParameterStructures.byName) { + replyError(new messages_1.ResponseError(messages_1.ErrorCodes.InvalidParams, `Request ${requestMessage.method} defines parameters by name but received parameters by position`), requestMessage.method, startTime); + return; + } + handlerResult = requestHandler(...requestMessage.params, cancellationSource.token); + } else { + if (type !== void 0 && type.parameterStructures === messages_1.ParameterStructures.byPosition) { + replyError(new messages_1.ResponseError(messages_1.ErrorCodes.InvalidParams, `Request ${requestMessage.method} defines parameters by position but received parameters by name`), requestMessage.method, startTime); + return; + } + handlerResult = requestHandler(requestMessage.params, cancellationSource.token); + } + } else if (starRequestHandler) { + handlerResult = starRequestHandler(requestMessage.method, requestMessage.params, cancellationSource.token); + } + const promise = handlerResult; + if (!handlerResult) { + requestTokens.delete(tokenKey); + replySuccess(handlerResult, requestMessage.method, startTime); + } else if (promise.then) { + promise.then((resultOrError) => { + requestTokens.delete(tokenKey); + reply(resultOrError, requestMessage.method, startTime); + }, (error) => { + requestTokens.delete(tokenKey); + if (error instanceof messages_1.ResponseError) { + replyError(error, requestMessage.method, startTime); + } else if (error && Is.string(error.message)) { + replyError(new messages_1.ResponseError(messages_1.ErrorCodes.InternalError, `Request ${requestMessage.method} failed with message: ${error.message}`), requestMessage.method, startTime); + } else { + replyError(new messages_1.ResponseError(messages_1.ErrorCodes.InternalError, `Request ${requestMessage.method} failed unexpectedly without providing any details.`), requestMessage.method, startTime); + } + }); + } else { + requestTokens.delete(tokenKey); + reply(handlerResult, requestMessage.method, startTime); + } + } catch (error) { + requestTokens.delete(tokenKey); + if (error instanceof messages_1.ResponseError) { + reply(error, requestMessage.method, startTime); + } else if (error && Is.string(error.message)) { + replyError(new messages_1.ResponseError(messages_1.ErrorCodes.InternalError, `Request ${requestMessage.method} failed with message: ${error.message}`), requestMessage.method, startTime); + } else { + replyError(new messages_1.ResponseError(messages_1.ErrorCodes.InternalError, `Request ${requestMessage.method} failed unexpectedly without providing any details.`), requestMessage.method, startTime); + } + } + } else { + replyError(new messages_1.ResponseError(messages_1.ErrorCodes.MethodNotFound, `Unhandled method ${requestMessage.method}`), requestMessage.method, startTime); + } + } + function handleResponse(responseMessage) { + if (isDisposed()) { + return; + } + if (responseMessage.id === null) { + if (responseMessage.error) { + logger.error(`Received response message without id: Error is: +${JSON.stringify(responseMessage.error, void 0, 4)}`); + } else { + logger.error(`Received response message without id. No further error information provided.`); + } + } else { + const key = responseMessage.id; + const responsePromise = responsePromises.get(key); + traceReceivedResponse(responseMessage, responsePromise); + if (responsePromise !== void 0) { + responsePromises.delete(key); + try { + if (responseMessage.error) { + const error = responseMessage.error; + responsePromise.reject(new messages_1.ResponseError(error.code, error.message, error.data)); + } else if (responseMessage.result !== void 0) { + responsePromise.resolve(responseMessage.result); + } else { + throw new Error("Should never happen."); + } + } catch (error) { + if (error.message) { + logger.error(`Response handler '${responsePromise.method}' failed with message: ${error.message}`); + } else { + logger.error(`Response handler '${responsePromise.method}' failed unexpectedly.`); + } + } + } + } + } + function handleNotification(message) { + if (isDisposed()) { + return; + } + let type = void 0; + let notificationHandler; + if (message.method === CancelNotification.type.method) { + const cancelId = message.params.id; + knownCanceledRequests.delete(cancelId); + traceReceivedNotification(message); + return; + } else { + const element = notificationHandlers.get(message.method); + if (element) { + notificationHandler = element.handler; + type = element.type; + } + } + if (notificationHandler || starNotificationHandler) { + try { + traceReceivedNotification(message); + if (notificationHandler) { + if (message.params === void 0) { + if (type !== void 0) { + if (type.numberOfParams !== 0 && type.parameterStructures !== messages_1.ParameterStructures.byName) { + logger.error(`Notification ${message.method} defines ${type.numberOfParams} params but received none.`); + } + } + notificationHandler(); + } else if (Array.isArray(message.params)) { + const params = message.params; + if (message.method === ProgressNotification.type.method && params.length === 2 && ProgressToken.is(params[0])) { + notificationHandler({ token: params[0], value: params[1] }); + } else { + if (type !== void 0) { + if (type.parameterStructures === messages_1.ParameterStructures.byName) { + logger.error(`Notification ${message.method} defines parameters by name but received parameters by position`); + } + if (type.numberOfParams !== message.params.length) { + logger.error(`Notification ${message.method} defines ${type.numberOfParams} params but received ${params.length} arguments`); + } + } + notificationHandler(...params); + } + } else { + if (type !== void 0 && type.parameterStructures === messages_1.ParameterStructures.byPosition) { + logger.error(`Notification ${message.method} defines parameters by position but received parameters by name`); + } + notificationHandler(message.params); + } + } else if (starNotificationHandler) { + starNotificationHandler(message.method, message.params); + } + } catch (error) { + if (error.message) { + logger.error(`Notification handler '${message.method}' failed with message: ${error.message}`); + } else { + logger.error(`Notification handler '${message.method}' failed unexpectedly.`); + } + } + } else { + unhandledNotificationEmitter.fire(message); + } + } + function handleInvalidMessage(message) { + if (!message) { + logger.error("Received empty message."); + return; + } + logger.error(`Received message which is neither a response nor a notification message: +${JSON.stringify(message, null, 4)}`); + const responseMessage = message; + if (Is.string(responseMessage.id) || Is.number(responseMessage.id)) { + const key = responseMessage.id; + const responseHandler = responsePromises.get(key); + if (responseHandler) { + responseHandler.reject(new Error("The received response has neither a result nor an error property.")); + } + } + } + function stringifyTrace(params) { + if (params === void 0 || params === null) { + return void 0; + } + switch (trace) { + case Trace.Verbose: + return JSON.stringify(params, null, 4); + case Trace.Compact: + return JSON.stringify(params); + default: + return void 0; + } + } + function traceSendingRequest(message) { + if (trace === Trace.Off || !tracer) { + return; + } + if (traceFormat === TraceFormat.Text) { + let data = void 0; + if ((trace === Trace.Verbose || trace === Trace.Compact) && message.params) { + data = `Params: ${stringifyTrace(message.params)} + +`; + } + tracer.log(`Sending request '${message.method} - (${message.id})'.`, data); + } else { + logLSPMessage("send-request", message); + } + } + function traceSendingNotification(message) { + if (trace === Trace.Off || !tracer) { + return; + } + if (traceFormat === TraceFormat.Text) { + let data = void 0; + if (trace === Trace.Verbose || trace === Trace.Compact) { + if (message.params) { + data = `Params: ${stringifyTrace(message.params)} + +`; + } else { + data = "No parameters provided.\n\n"; + } + } + tracer.log(`Sending notification '${message.method}'.`, data); + } else { + logLSPMessage("send-notification", message); + } + } + function traceSendingResponse(message, method, startTime) { + if (trace === Trace.Off || !tracer) { + return; + } + if (traceFormat === TraceFormat.Text) { + let data = void 0; + if (trace === Trace.Verbose || trace === Trace.Compact) { + if (message.error && message.error.data) { + data = `Error data: ${stringifyTrace(message.error.data)} + +`; + } else { + if (message.result) { + data = `Result: ${stringifyTrace(message.result)} + +`; + } else if (message.error === void 0) { + data = "No result returned.\n\n"; + } + } + } + tracer.log(`Sending response '${method} - (${message.id})'. Processing request took ${Date.now() - startTime}ms`, data); + } else { + logLSPMessage("send-response", message); + } + } + function traceReceivedRequest(message) { + if (trace === Trace.Off || !tracer) { + return; + } + if (traceFormat === TraceFormat.Text) { + let data = void 0; + if ((trace === Trace.Verbose || trace === Trace.Compact) && message.params) { + data = `Params: ${stringifyTrace(message.params)} + +`; + } + tracer.log(`Received request '${message.method} - (${message.id})'.`, data); + } else { + logLSPMessage("receive-request", message); + } + } + function traceReceivedNotification(message) { + if (trace === Trace.Off || !tracer || message.method === LogTraceNotification.type.method) { + return; + } + if (traceFormat === TraceFormat.Text) { + let data = void 0; + if (trace === Trace.Verbose || trace === Trace.Compact) { + if (message.params) { + data = `Params: ${stringifyTrace(message.params)} + +`; + } else { + data = "No parameters provided.\n\n"; + } + } + tracer.log(`Received notification '${message.method}'.`, data); + } else { + logLSPMessage("receive-notification", message); + } + } + function traceReceivedResponse(message, responsePromise) { + if (trace === Trace.Off || !tracer) { + return; + } + if (traceFormat === TraceFormat.Text) { + let data = void 0; + if (trace === Trace.Verbose || trace === Trace.Compact) { + if (message.error && message.error.data) { + data = `Error data: ${stringifyTrace(message.error.data)} + +`; + } else { + if (message.result) { + data = `Result: ${stringifyTrace(message.result)} + +`; + } else if (message.error === void 0) { + data = "No result returned.\n\n"; + } + } + } + if (responsePromise) { + const error = message.error ? ` Request failed: ${message.error.message} (${message.error.code}).` : ""; + tracer.log(`Received response '${responsePromise.method} - (${message.id})' in ${Date.now() - responsePromise.timerStart}ms.${error}`, data); + } else { + tracer.log(`Received response ${message.id} without active response promise.`, data); + } + } else { + logLSPMessage("receive-response", message); + } + } + function logLSPMessage(type, message) { + if (!tracer || trace === Trace.Off) { + return; + } + const lspMessage = { + isLSPMessage: true, + type, + message, + timestamp: Date.now() + }; + tracer.log(lspMessage); + } + function throwIfClosedOrDisposed() { + if (isClosed()) { + throw new ConnectionError(ConnectionErrors.Closed, "Connection is closed."); + } + if (isDisposed()) { + throw new ConnectionError(ConnectionErrors.Disposed, "Connection is disposed."); + } + } + function throwIfListening() { + if (isListening()) { + throw new ConnectionError(ConnectionErrors.AlreadyListening, "Connection is already listening"); + } + } + function throwIfNotListening() { + if (!isListening()) { + throw new Error("Call listen() first."); + } + } + function undefinedToNull(param) { + if (param === void 0) { + return null; + } else { + return param; + } + } + function nullToUndefined(param) { + if (param === null) { + return void 0; + } else { + return param; + } + } + function isNamedParam(param) { + return param !== void 0 && param !== null && !Array.isArray(param) && typeof param === "object"; + } + function computeSingleParam(parameterStructures, param) { + switch (parameterStructures) { + case messages_1.ParameterStructures.auto: + if (isNamedParam(param)) { + return nullToUndefined(param); + } else { + return [undefinedToNull(param)]; + } + case messages_1.ParameterStructures.byName: + if (!isNamedParam(param)) { + throw new Error(`Received parameters by name but param is not an object literal.`); + } + return nullToUndefined(param); + case messages_1.ParameterStructures.byPosition: + return [undefinedToNull(param)]; + default: + throw new Error(`Unknown parameter structure ${parameterStructures.toString()}`); + } + } + function computeMessageParams(type, params) { + let result; + const numberOfParams = type.numberOfParams; + switch (numberOfParams) { + case 0: + result = void 0; + break; + case 1: + result = computeSingleParam(type.parameterStructures, params[0]); + break; + default: + result = []; + for (let i = 0; i < params.length && i < numberOfParams; i++) { + result.push(undefinedToNull(params[i])); + } + if (params.length < numberOfParams) { + for (let i = params.length; i < numberOfParams; i++) { + result.push(null); + } + } + break; + } + return result; + } + const connection = { + sendNotification: (type, ...args) => { + throwIfClosedOrDisposed(); + let method; + let messageParams; + if (Is.string(type)) { + method = type; + const first = args[0]; + let paramStart = 0; + let parameterStructures = messages_1.ParameterStructures.auto; + if (messages_1.ParameterStructures.is(first)) { + paramStart = 1; + parameterStructures = first; + } + let paramEnd = args.length; + const numberOfParams = paramEnd - paramStart; + switch (numberOfParams) { + case 0: + messageParams = void 0; + break; + case 1: + messageParams = computeSingleParam(parameterStructures, args[paramStart]); + break; + default: + if (parameterStructures === messages_1.ParameterStructures.byName) { + throw new Error(`Received ${numberOfParams} parameters for 'by Name' notification parameter structure.`); + } + messageParams = args.slice(paramStart, paramEnd).map((value) => undefinedToNull(value)); + break; + } + } else { + const params = args; + method = type.method; + messageParams = computeMessageParams(type, params); + } + const notificationMessage = { + jsonrpc: version, + method, + params: messageParams + }; + traceSendingNotification(notificationMessage); + return messageWriter.write(notificationMessage).catch((error) => { + logger.error(`Sending notification failed.`); + throw error; + }); + }, + onNotification: (type, handler) => { + throwIfClosedOrDisposed(); + let method; + if (Is.func(type)) { + starNotificationHandler = type; + } else if (handler) { + if (Is.string(type)) { + method = type; + notificationHandlers.set(type, { type: void 0, handler }); + } else { + method = type.method; + notificationHandlers.set(type.method, { type, handler }); + } + } + return { + dispose: () => { + if (method !== void 0) { + notificationHandlers.delete(method); + } else { + starNotificationHandler = void 0; + } + } + }; + }, + onProgress: (_type, token, handler) => { + if (progressHandlers.has(token)) { + throw new Error(`Progress handler for token ${token} already registered`); + } + progressHandlers.set(token, handler); + return { + dispose: () => { + progressHandlers.delete(token); + } + }; + }, + sendProgress: (_type, token, value) => { + return connection.sendNotification(ProgressNotification.type, { token, value }); + }, + onUnhandledProgress: unhandledProgressEmitter.event, + sendRequest: (type, ...args) => { + throwIfClosedOrDisposed(); + throwIfNotListening(); + let method; + let messageParams; + let token = void 0; + if (Is.string(type)) { + method = type; + const first = args[0]; + const last = args[args.length - 1]; + let paramStart = 0; + let parameterStructures = messages_1.ParameterStructures.auto; + if (messages_1.ParameterStructures.is(first)) { + paramStart = 1; + parameterStructures = first; + } + let paramEnd = args.length; + if (cancellation_1.CancellationToken.is(last)) { + paramEnd = paramEnd - 1; + token = last; + } + const numberOfParams = paramEnd - paramStart; + switch (numberOfParams) { + case 0: + messageParams = void 0; + break; + case 1: + messageParams = computeSingleParam(parameterStructures, args[paramStart]); + break; + default: + if (parameterStructures === messages_1.ParameterStructures.byName) { + throw new Error(`Received ${numberOfParams} parameters for 'by Name' request parameter structure.`); + } + messageParams = args.slice(paramStart, paramEnd).map((value) => undefinedToNull(value)); + break; + } + } else { + const params = args; + method = type.method; + messageParams = computeMessageParams(type, params); + const numberOfParams = type.numberOfParams; + token = cancellation_1.CancellationToken.is(params[numberOfParams]) ? params[numberOfParams] : void 0; + } + const id = sequenceNumber++; + let disposable; + if (token) { + disposable = token.onCancellationRequested(() => { + const p = cancellationStrategy.sender.sendCancellation(connection, id); + if (p === void 0) { + logger.log(`Received no promise from cancellation strategy when cancelling id ${id}`); + return Promise.resolve(); + } else { + return p.catch(() => { + logger.log(`Sending cancellation messages for id ${id} failed`); + }); + } + }); + } + const requestMessage = { + jsonrpc: version, + id, + method, + params: messageParams + }; + traceSendingRequest(requestMessage); + if (typeof cancellationStrategy.sender.enableCancellation === "function") { + cancellationStrategy.sender.enableCancellation(requestMessage); + } + return new Promise(async (resolve, reject) => { + const resolveWithCleanup = (r) => { + resolve(r); + cancellationStrategy.sender.cleanup(id); + disposable?.dispose(); + }; + const rejectWithCleanup = (r) => { + reject(r); + cancellationStrategy.sender.cleanup(id); + disposable?.dispose(); + }; + const responsePromise = { method, timerStart: Date.now(), resolve: resolveWithCleanup, reject: rejectWithCleanup }; + try { + await messageWriter.write(requestMessage); + responsePromises.set(id, responsePromise); + } catch (error) { + logger.error(`Sending request failed.`); + responsePromise.reject(new messages_1.ResponseError(messages_1.ErrorCodes.MessageWriteError, error.message ? error.message : "Unknown reason")); + throw error; + } + }); + }, + onRequest: (type, handler) => { + throwIfClosedOrDisposed(); + let method = null; + if (StarRequestHandler.is(type)) { + method = void 0; + starRequestHandler = type; + } else if (Is.string(type)) { + method = null; + if (handler !== void 0) { + method = type; + requestHandlers.set(type, { handler, type: void 0 }); + } + } else { + if (handler !== void 0) { + method = type.method; + requestHandlers.set(type.method, { type, handler }); + } + } + return { + dispose: () => { + if (method === null) { + return; + } + if (method !== void 0) { + requestHandlers.delete(method); + } else { + starRequestHandler = void 0; + } + } + }; + }, + hasPendingResponse: () => { + return responsePromises.size > 0; + }, + trace: async (_value, _tracer, sendNotificationOrTraceOptions) => { + let _sendNotification = false; + let _traceFormat = TraceFormat.Text; + if (sendNotificationOrTraceOptions !== void 0) { + if (Is.boolean(sendNotificationOrTraceOptions)) { + _sendNotification = sendNotificationOrTraceOptions; + } else { + _sendNotification = sendNotificationOrTraceOptions.sendNotification || false; + _traceFormat = sendNotificationOrTraceOptions.traceFormat || TraceFormat.Text; + } + } + trace = _value; + traceFormat = _traceFormat; + if (trace === Trace.Off) { + tracer = void 0; + } else { + tracer = _tracer; + } + if (_sendNotification && !isClosed() && !isDisposed()) { + await connection.sendNotification(SetTraceNotification.type, { value: Trace.toString(_value) }); + } + }, + onError: errorEmitter.event, + onClose: closeEmitter.event, + onUnhandledNotification: unhandledNotificationEmitter.event, + onDispose: disposeEmitter.event, + end: () => { + messageWriter.end(); + }, + dispose: () => { + if (isDisposed()) { + return; + } + state = ConnectionState.Disposed; + disposeEmitter.fire(void 0); + const error = new messages_1.ResponseError(messages_1.ErrorCodes.PendingResponseRejected, "Pending response rejected since connection got disposed"); + for (const promise of responsePromises.values()) { + promise.reject(error); + } + responsePromises = /* @__PURE__ */ new Map(); + requestTokens = /* @__PURE__ */ new Map(); + knownCanceledRequests = /* @__PURE__ */ new Set(); + messageQueue = new linkedMap_1.LinkedMap(); + if (Is.func(messageWriter.dispose)) { + messageWriter.dispose(); + } + if (Is.func(messageReader.dispose)) { + messageReader.dispose(); + } + }, + listen: () => { + throwIfClosedOrDisposed(); + throwIfListening(); + state = ConnectionState.Listening; + messageReader.listen(callback); + }, + inspect: () => { + (0, ral_1.default)().console.log("inspect"); + } + }; + connection.onNotification(LogTraceNotification.type, (params) => { + if (trace === Trace.Off || !tracer) { + return; + } + const verbose = trace === Trace.Verbose || trace === Trace.Compact; + tracer.log(params.message, verbose ? params.verbose : void 0); + }); + connection.onNotification(ProgressNotification.type, (params) => { + const handler = progressHandlers.get(params.token); + if (handler) { + handler(params.value); + } else { + unhandledProgressEmitter.fire(params); + } + }); + return connection; + } + exports2.createMessageConnection = createMessageConnection; + } +}); + +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.js +var require_api = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ProgressType = exports2.ProgressToken = exports2.createMessageConnection = exports2.NullLogger = exports2.ConnectionOptions = exports2.ConnectionStrategy = exports2.AbstractMessageBuffer = exports2.WriteableStreamMessageWriter = exports2.AbstractMessageWriter = exports2.MessageWriter = exports2.ReadableStreamMessageReader = exports2.AbstractMessageReader = exports2.MessageReader = exports2.SharedArrayReceiverStrategy = exports2.SharedArraySenderStrategy = exports2.CancellationToken = exports2.CancellationTokenSource = exports2.Emitter = exports2.Event = exports2.Disposable = exports2.LRUCache = exports2.Touch = exports2.LinkedMap = exports2.ParameterStructures = exports2.NotificationType9 = exports2.NotificationType8 = exports2.NotificationType7 = exports2.NotificationType6 = exports2.NotificationType5 = exports2.NotificationType4 = exports2.NotificationType3 = exports2.NotificationType2 = exports2.NotificationType1 = exports2.NotificationType0 = exports2.NotificationType = exports2.ErrorCodes = exports2.ResponseError = exports2.RequestType9 = exports2.RequestType8 = exports2.RequestType7 = exports2.RequestType6 = exports2.RequestType5 = exports2.RequestType4 = exports2.RequestType3 = exports2.RequestType2 = exports2.RequestType1 = exports2.RequestType0 = exports2.RequestType = exports2.Message = exports2.RAL = void 0; + exports2.MessageStrategy = exports2.CancellationStrategy = exports2.CancellationSenderStrategy = exports2.CancellationReceiverStrategy = exports2.ConnectionError = exports2.ConnectionErrors = exports2.LogTraceNotification = exports2.SetTraceNotification = exports2.TraceFormat = exports2.TraceValues = exports2.Trace = void 0; + var messages_1 = require_messages(); + Object.defineProperty(exports2, "Message", { enumerable: true, get: function() { + return messages_1.Message; + } }); + Object.defineProperty(exports2, "RequestType", { enumerable: true, get: function() { + return messages_1.RequestType; + } }); + Object.defineProperty(exports2, "RequestType0", { enumerable: true, get: function() { + return messages_1.RequestType0; + } }); + Object.defineProperty(exports2, "RequestType1", { enumerable: true, get: function() { + return messages_1.RequestType1; + } }); + Object.defineProperty(exports2, "RequestType2", { enumerable: true, get: function() { + return messages_1.RequestType2; + } }); + Object.defineProperty(exports2, "RequestType3", { enumerable: true, get: function() { + return messages_1.RequestType3; + } }); + Object.defineProperty(exports2, "RequestType4", { enumerable: true, get: function() { + return messages_1.RequestType4; + } }); + Object.defineProperty(exports2, "RequestType5", { enumerable: true, get: function() { + return messages_1.RequestType5; + } }); + Object.defineProperty(exports2, "RequestType6", { enumerable: true, get: function() { + return messages_1.RequestType6; + } }); + Object.defineProperty(exports2, "RequestType7", { enumerable: true, get: function() { + return messages_1.RequestType7; + } }); + Object.defineProperty(exports2, "RequestType8", { enumerable: true, get: function() { + return messages_1.RequestType8; + } }); + Object.defineProperty(exports2, "RequestType9", { enumerable: true, get: function() { + return messages_1.RequestType9; + } }); + Object.defineProperty(exports2, "ResponseError", { enumerable: true, get: function() { + return messages_1.ResponseError; + } }); + Object.defineProperty(exports2, "ErrorCodes", { enumerable: true, get: function() { + return messages_1.ErrorCodes; + } }); + Object.defineProperty(exports2, "NotificationType", { enumerable: true, get: function() { + return messages_1.NotificationType; + } }); + Object.defineProperty(exports2, "NotificationType0", { enumerable: true, get: function() { + return messages_1.NotificationType0; + } }); + Object.defineProperty(exports2, "NotificationType1", { enumerable: true, get: function() { + return messages_1.NotificationType1; + } }); + Object.defineProperty(exports2, "NotificationType2", { enumerable: true, get: function() { + return messages_1.NotificationType2; + } }); + Object.defineProperty(exports2, "NotificationType3", { enumerable: true, get: function() { + return messages_1.NotificationType3; + } }); + Object.defineProperty(exports2, "NotificationType4", { enumerable: true, get: function() { + return messages_1.NotificationType4; + } }); + Object.defineProperty(exports2, "NotificationType5", { enumerable: true, get: function() { + return messages_1.NotificationType5; + } }); + Object.defineProperty(exports2, "NotificationType6", { enumerable: true, get: function() { + return messages_1.NotificationType6; + } }); + Object.defineProperty(exports2, "NotificationType7", { enumerable: true, get: function() { + return messages_1.NotificationType7; + } }); + Object.defineProperty(exports2, "NotificationType8", { enumerable: true, get: function() { + return messages_1.NotificationType8; + } }); + Object.defineProperty(exports2, "NotificationType9", { enumerable: true, get: function() { + return messages_1.NotificationType9; + } }); + Object.defineProperty(exports2, "ParameterStructures", { enumerable: true, get: function() { + return messages_1.ParameterStructures; + } }); + var linkedMap_1 = require_linkedMap(); + Object.defineProperty(exports2, "LinkedMap", { enumerable: true, get: function() { + return linkedMap_1.LinkedMap; + } }); + Object.defineProperty(exports2, "LRUCache", { enumerable: true, get: function() { + return linkedMap_1.LRUCache; + } }); + Object.defineProperty(exports2, "Touch", { enumerable: true, get: function() { + return linkedMap_1.Touch; + } }); + var disposable_1 = require_disposable(); + Object.defineProperty(exports2, "Disposable", { enumerable: true, get: function() { + return disposable_1.Disposable; + } }); + var events_1 = require_events(); + Object.defineProperty(exports2, "Event", { enumerable: true, get: function() { + return events_1.Event; + } }); + Object.defineProperty(exports2, "Emitter", { enumerable: true, get: function() { + return events_1.Emitter; + } }); + var cancellation_1 = require_cancellation(); + Object.defineProperty(exports2, "CancellationTokenSource", { enumerable: true, get: function() { + return cancellation_1.CancellationTokenSource; + } }); + Object.defineProperty(exports2, "CancellationToken", { enumerable: true, get: function() { + return cancellation_1.CancellationToken; + } }); + var sharedArrayCancellation_1 = require_sharedArrayCancellation(); + Object.defineProperty(exports2, "SharedArraySenderStrategy", { enumerable: true, get: function() { + return sharedArrayCancellation_1.SharedArraySenderStrategy; + } }); + Object.defineProperty(exports2, "SharedArrayReceiverStrategy", { enumerable: true, get: function() { + return sharedArrayCancellation_1.SharedArrayReceiverStrategy; + } }); + var messageReader_1 = require_messageReader(); + Object.defineProperty(exports2, "MessageReader", { enumerable: true, get: function() { + return messageReader_1.MessageReader; + } }); + Object.defineProperty(exports2, "AbstractMessageReader", { enumerable: true, get: function() { + return messageReader_1.AbstractMessageReader; + } }); + Object.defineProperty(exports2, "ReadableStreamMessageReader", { enumerable: true, get: function() { + return messageReader_1.ReadableStreamMessageReader; + } }); + var messageWriter_1 = require_messageWriter(); + Object.defineProperty(exports2, "MessageWriter", { enumerable: true, get: function() { + return messageWriter_1.MessageWriter; + } }); + Object.defineProperty(exports2, "AbstractMessageWriter", { enumerable: true, get: function() { + return messageWriter_1.AbstractMessageWriter; + } }); + Object.defineProperty(exports2, "WriteableStreamMessageWriter", { enumerable: true, get: function() { + return messageWriter_1.WriteableStreamMessageWriter; + } }); + var messageBuffer_1 = require_messageBuffer(); + Object.defineProperty(exports2, "AbstractMessageBuffer", { enumerable: true, get: function() { + return messageBuffer_1.AbstractMessageBuffer; + } }); + var connection_1 = require_connection(); + Object.defineProperty(exports2, "ConnectionStrategy", { enumerable: true, get: function() { + return connection_1.ConnectionStrategy; + } }); + Object.defineProperty(exports2, "ConnectionOptions", { enumerable: true, get: function() { + return connection_1.ConnectionOptions; + } }); + Object.defineProperty(exports2, "NullLogger", { enumerable: true, get: function() { + return connection_1.NullLogger; + } }); + Object.defineProperty(exports2, "createMessageConnection", { enumerable: true, get: function() { + return connection_1.createMessageConnection; + } }); + Object.defineProperty(exports2, "ProgressToken", { enumerable: true, get: function() { + return connection_1.ProgressToken; + } }); + Object.defineProperty(exports2, "ProgressType", { enumerable: true, get: function() { + return connection_1.ProgressType; + } }); + Object.defineProperty(exports2, "Trace", { enumerable: true, get: function() { + return connection_1.Trace; + } }); + Object.defineProperty(exports2, "TraceValues", { enumerable: true, get: function() { + return connection_1.TraceValues; + } }); + Object.defineProperty(exports2, "TraceFormat", { enumerable: true, get: function() { + return connection_1.TraceFormat; + } }); + Object.defineProperty(exports2, "SetTraceNotification", { enumerable: true, get: function() { + return connection_1.SetTraceNotification; + } }); + Object.defineProperty(exports2, "LogTraceNotification", { enumerable: true, get: function() { + return connection_1.LogTraceNotification; + } }); + Object.defineProperty(exports2, "ConnectionErrors", { enumerable: true, get: function() { + return connection_1.ConnectionErrors; + } }); + Object.defineProperty(exports2, "ConnectionError", { enumerable: true, get: function() { + return connection_1.ConnectionError; + } }); + Object.defineProperty(exports2, "CancellationReceiverStrategy", { enumerable: true, get: function() { + return connection_1.CancellationReceiverStrategy; + } }); + Object.defineProperty(exports2, "CancellationSenderStrategy", { enumerable: true, get: function() { + return connection_1.CancellationSenderStrategy; + } }); + Object.defineProperty(exports2, "CancellationStrategy", { enumerable: true, get: function() { + return connection_1.CancellationStrategy; + } }); + Object.defineProperty(exports2, "MessageStrategy", { enumerable: true, get: function() { + return connection_1.MessageStrategy; + } }); + var ral_1 = require_ral(); + exports2.RAL = ral_1.default; + } +}); + +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.js +var require_ril = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var util_1 = require("util"); + var api_1 = require_api(); + var MessageBuffer = class _MessageBuffer extends api_1.AbstractMessageBuffer { + constructor(encoding = "utf-8") { + super(encoding); + } + emptyBuffer() { + return _MessageBuffer.emptyBuffer; + } + fromString(value, encoding) { + return Buffer.from(value, encoding); + } + toString(value, encoding) { + if (value instanceof Buffer) { + return value.toString(encoding); + } else { + return new util_1.TextDecoder(encoding).decode(value); + } + } + asNative(buffer, length) { + if (length === void 0) { + return buffer instanceof Buffer ? buffer : Buffer.from(buffer); + } else { + return buffer instanceof Buffer ? buffer.slice(0, length) : Buffer.from(buffer, 0, length); + } + } + allocNative(length) { + return Buffer.allocUnsafe(length); + } + }; + MessageBuffer.emptyBuffer = Buffer.allocUnsafe(0); + var ReadableStreamWrapper = class { + constructor(stream) { + this.stream = stream; + } + onClose(listener) { + this.stream.on("close", listener); + return api_1.Disposable.create(() => this.stream.off("close", listener)); + } + onError(listener) { + this.stream.on("error", listener); + return api_1.Disposable.create(() => this.stream.off("error", listener)); + } + onEnd(listener) { + this.stream.on("end", listener); + return api_1.Disposable.create(() => this.stream.off("end", listener)); + } + onData(listener) { + this.stream.on("data", listener); + return api_1.Disposable.create(() => this.stream.off("data", listener)); + } + }; + var WritableStreamWrapper = class { + constructor(stream) { + this.stream = stream; + } + onClose(listener) { + this.stream.on("close", listener); + return api_1.Disposable.create(() => this.stream.off("close", listener)); + } + onError(listener) { + this.stream.on("error", listener); + return api_1.Disposable.create(() => this.stream.off("error", listener)); + } + onEnd(listener) { + this.stream.on("end", listener); + return api_1.Disposable.create(() => this.stream.off("end", listener)); + } + write(data, encoding) { + return new Promise((resolve, reject) => { + const callback = (error) => { + if (error === void 0 || error === null) { + resolve(); + } else { + reject(error); + } + }; + if (typeof data === "string") { + this.stream.write(data, encoding, callback); + } else { + this.stream.write(data, callback); + } + }); + } + end() { + this.stream.end(); + } + }; + var _ril = Object.freeze({ + messageBuffer: Object.freeze({ + create: (encoding) => new MessageBuffer(encoding) + }), + applicationJson: Object.freeze({ + encoder: Object.freeze({ + name: "application/json", + encode: (msg, options) => { + try { + return Promise.resolve(Buffer.from(JSON.stringify(msg, void 0, 0), options.charset)); + } catch (err) { + return Promise.reject(err); + } + } + }), + decoder: Object.freeze({ + name: "application/json", + decode: (buffer, options) => { + try { + if (buffer instanceof Buffer) { + return Promise.resolve(JSON.parse(buffer.toString(options.charset))); + } else { + return Promise.resolve(JSON.parse(new util_1.TextDecoder(options.charset).decode(buffer))); + } + } catch (err) { + return Promise.reject(err); + } + } + }) + }), + stream: Object.freeze({ + asReadableStream: (stream) => new ReadableStreamWrapper(stream), + asWritableStream: (stream) => new WritableStreamWrapper(stream) + }), + console, + timer: Object.freeze({ + setTimeout(callback, ms, ...args) { + const handle = setTimeout(callback, ms, ...args); + return { dispose: () => clearTimeout(handle) }; + }, + setImmediate(callback, ...args) { + const handle = setImmediate(callback, ...args); + return { dispose: () => clearImmediate(handle) }; + }, + setInterval(callback, ms, ...args) { + const handle = setInterval(callback, ms, ...args); + return { dispose: () => clearInterval(handle) }; + } + }) + }); + function RIL() { + return _ril; + } + (function(RIL2) { + function install() { + api_1.RAL.install(_ril); + } + RIL2.install = install; + })(RIL || (RIL = {})); + exports2.default = RIL; + } +}); + +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.js +var require_main = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.js"(exports2) { + "use strict"; + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { + return m[k]; + } }; + } + Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p); + }; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.createMessageConnection = exports2.createServerSocketTransport = exports2.createClientSocketTransport = exports2.createServerPipeTransport = exports2.createClientPipeTransport = exports2.generateRandomPipeName = exports2.StreamMessageWriter = exports2.StreamMessageReader = exports2.SocketMessageWriter = exports2.SocketMessageReader = exports2.PortMessageWriter = exports2.PortMessageReader = exports2.IPCMessageWriter = exports2.IPCMessageReader = void 0; + var ril_1 = require_ril(); + ril_1.default.install(); + var path = require("path"); + var os = require("os"); + var crypto_1 = require("crypto"); + var net_1 = require("net"); + var api_1 = require_api(); + __exportStar(require_api(), exports2); + var IPCMessageReader = class extends api_1.AbstractMessageReader { + constructor(process2) { + super(); + this.process = process2; + let eventEmitter = this.process; + eventEmitter.on("error", (error) => this.fireError(error)); + eventEmitter.on("close", () => this.fireClose()); + } + listen(callback) { + this.process.on("message", callback); + return api_1.Disposable.create(() => this.process.off("message", callback)); + } + }; + exports2.IPCMessageReader = IPCMessageReader; + var IPCMessageWriter = class extends api_1.AbstractMessageWriter { + constructor(process2) { + super(); + this.process = process2; + this.errorCount = 0; + const eventEmitter = this.process; + eventEmitter.on("error", (error) => this.fireError(error)); + eventEmitter.on("close", () => this.fireClose); + } + write(msg) { + try { + if (typeof this.process.send === "function") { + this.process.send(msg, void 0, void 0, (error) => { + if (error) { + this.errorCount++; + this.handleError(error, msg); + } else { + this.errorCount = 0; + } + }); + } + return Promise.resolve(); + } catch (error) { + this.handleError(error, msg); + return Promise.reject(error); + } + } + handleError(error, msg) { + this.errorCount++; + this.fireError(error, msg, this.errorCount); + } + end() { + } + }; + exports2.IPCMessageWriter = IPCMessageWriter; + var PortMessageReader = class extends api_1.AbstractMessageReader { + constructor(port) { + super(); + this.onData = new api_1.Emitter(); + port.on("close", () => this.fireClose); + port.on("error", (error) => this.fireError(error)); + port.on("message", (message) => { + this.onData.fire(message); + }); + } + listen(callback) { + return this.onData.event(callback); + } + }; + exports2.PortMessageReader = PortMessageReader; + var PortMessageWriter = class extends api_1.AbstractMessageWriter { + constructor(port) { + super(); + this.port = port; + this.errorCount = 0; + port.on("close", () => this.fireClose()); + port.on("error", (error) => this.fireError(error)); + } + write(msg) { + try { + this.port.postMessage(msg); + return Promise.resolve(); + } catch (error) { + this.handleError(error, msg); + return Promise.reject(error); + } + } + handleError(error, msg) { + this.errorCount++; + this.fireError(error, msg, this.errorCount); + } + end() { + } + }; + exports2.PortMessageWriter = PortMessageWriter; + var SocketMessageReader = class extends api_1.ReadableStreamMessageReader { + constructor(socket, encoding = "utf-8") { + super((0, ril_1.default)().stream.asReadableStream(socket), encoding); + } + }; + exports2.SocketMessageReader = SocketMessageReader; + var SocketMessageWriter = class extends api_1.WriteableStreamMessageWriter { + constructor(socket, options) { + super((0, ril_1.default)().stream.asWritableStream(socket), options); + this.socket = socket; + } + dispose() { + super.dispose(); + this.socket.destroy(); + } + }; + exports2.SocketMessageWriter = SocketMessageWriter; + var StreamMessageReader = class extends api_1.ReadableStreamMessageReader { + constructor(readable, encoding) { + super((0, ril_1.default)().stream.asReadableStream(readable), encoding); + } + }; + exports2.StreamMessageReader = StreamMessageReader; + var StreamMessageWriter = class extends api_1.WriteableStreamMessageWriter { + constructor(writable, options) { + super((0, ril_1.default)().stream.asWritableStream(writable), options); + } + }; + exports2.StreamMessageWriter = StreamMessageWriter; + var XDG_RUNTIME_DIR = process.env["XDG_RUNTIME_DIR"]; + var safeIpcPathLengths = /* @__PURE__ */ new Map([ + ["linux", 107], + ["darwin", 103] + ]); + function generateRandomPipeName() { + const randomSuffix = (0, crypto_1.randomBytes)(21).toString("hex"); + if (process.platform === "win32") { + return `\\\\.\\pipe\\vscode-jsonrpc-${randomSuffix}-sock`; + } + let result; + if (XDG_RUNTIME_DIR) { + result = path.join(XDG_RUNTIME_DIR, `vscode-ipc-${randomSuffix}.sock`); + } else { + result = path.join(os.tmpdir(), `vscode-${randomSuffix}.sock`); + } + const limit = safeIpcPathLengths.get(process.platform); + if (limit !== void 0 && result.length > limit) { + (0, ril_1.default)().console.warn(`WARNING: IPC handle "${result}" is longer than ${limit} characters.`); + } + return result; + } + exports2.generateRandomPipeName = generateRandomPipeName; + function createClientPipeTransport(pipeName, encoding = "utf-8") { + let connectResolve; + const connected = new Promise((resolve, _reject) => { + connectResolve = resolve; + }); + return new Promise((resolve, reject) => { + let server = (0, net_1.createServer)((socket) => { + server.close(); + connectResolve([ + new SocketMessageReader(socket, encoding), + new SocketMessageWriter(socket, encoding) + ]); + }); + server.on("error", reject); + server.listen(pipeName, () => { + server.removeListener("error", reject); + resolve({ + onConnected: () => { + return connected; + } + }); + }); + }); + } + exports2.createClientPipeTransport = createClientPipeTransport; + function createServerPipeTransport(pipeName, encoding = "utf-8") { + const socket = (0, net_1.createConnection)(pipeName); + return [ + new SocketMessageReader(socket, encoding), + new SocketMessageWriter(socket, encoding) + ]; + } + exports2.createServerPipeTransport = createServerPipeTransport; + function createClientSocketTransport(port, encoding = "utf-8") { + let connectResolve; + const connected = new Promise((resolve, _reject) => { + connectResolve = resolve; + }); + return new Promise((resolve, reject) => { + const server = (0, net_1.createServer)((socket) => { + server.close(); + connectResolve([ + new SocketMessageReader(socket, encoding), + new SocketMessageWriter(socket, encoding) + ]); + }); + server.on("error", reject); + server.listen(port, "127.0.0.1", () => { + server.removeListener("error", reject); + resolve({ + onConnected: () => { + return connected; + } + }); + }); + }); + } + exports2.createClientSocketTransport = createClientSocketTransport; + function createServerSocketTransport(port, encoding = "utf-8") { + const socket = (0, net_1.createConnection)(port, "127.0.0.1"); + return [ + new SocketMessageReader(socket, encoding), + new SocketMessageWriter(socket, encoding) + ]; + } + exports2.createServerSocketTransport = createServerSocketTransport; + function isReadableStream(value) { + const candidate = value; + return candidate.read !== void 0 && candidate.addListener !== void 0; + } + function isWritableStream(value) { + const candidate = value; + return candidate.write !== void 0 && candidate.addListener !== void 0; + } + function createMessageConnection(input, output, logger, options) { + if (!logger) { + logger = api_1.NullLogger; + } + const reader = isReadableStream(input) ? new StreamMessageReader(input) : input; + const writer = isWritableStream(output) ? new StreamMessageWriter(output) : output; + if (api_1.ConnectionStrategy.is(options)) { + options = { connectionStrategy: options }; + } + return (0, api_1.createMessageConnection)(reader, writer, logger, options); + } + exports2.createMessageConnection = createMessageConnection; + } +}); + +// node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.js +var require_node = __commonJS({ + "node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.js"(exports2, module2) { + "use strict"; + module2.exports = require_main(); + } +}); + +// node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.js +var require_main2 = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.js"(exports2, module2) { + (function(factory) { + if (typeof module2 === "object" && typeof module2.exports === "object") { + var v = factory(require, exports2); + if (v !== void 0) module2.exports = v; + } else if (typeof define === "function" && define.amd) { + define(["require", "exports"], factory); + } + })(function(require2, exports3) { + "use strict"; + Object.defineProperty(exports3, "__esModule", { value: true }); + exports3.TextDocument = exports3.EOL = exports3.WorkspaceFolder = exports3.InlineCompletionContext = exports3.SelectedCompletionInfo = exports3.InlineCompletionTriggerKind = exports3.InlineCompletionList = exports3.InlineCompletionItem = exports3.StringValue = exports3.InlayHint = exports3.InlayHintLabelPart = exports3.InlayHintKind = exports3.InlineValueContext = exports3.InlineValueEvaluatableExpression = exports3.InlineValueVariableLookup = exports3.InlineValueText = exports3.SemanticTokens = exports3.SemanticTokenModifiers = exports3.SemanticTokenTypes = exports3.SelectionRange = exports3.DocumentLink = exports3.FormattingOptions = exports3.CodeLens = exports3.CodeAction = exports3.CodeActionContext = exports3.CodeActionTriggerKind = exports3.CodeActionKind = exports3.DocumentSymbol = exports3.WorkspaceSymbol = exports3.SymbolInformation = exports3.SymbolTag = exports3.SymbolKind = exports3.DocumentHighlight = exports3.DocumentHighlightKind = exports3.SignatureInformation = exports3.ParameterInformation = exports3.Hover = exports3.MarkedString = exports3.CompletionList = exports3.CompletionItem = exports3.CompletionItemLabelDetails = exports3.InsertTextMode = exports3.InsertReplaceEdit = exports3.CompletionItemTag = exports3.InsertTextFormat = exports3.CompletionItemKind = exports3.MarkupContent = exports3.MarkupKind = exports3.TextDocumentItem = exports3.OptionalVersionedTextDocumentIdentifier = exports3.VersionedTextDocumentIdentifier = exports3.TextDocumentIdentifier = exports3.WorkspaceChange = exports3.WorkspaceEdit = exports3.DeleteFile = exports3.RenameFile = exports3.CreateFile = exports3.TextDocumentEdit = exports3.AnnotatedTextEdit = exports3.ChangeAnnotationIdentifier = exports3.ChangeAnnotation = exports3.TextEdit = exports3.Command = exports3.Diagnostic = exports3.CodeDescription = exports3.DiagnosticTag = exports3.DiagnosticSeverity = exports3.DiagnosticRelatedInformation = exports3.FoldingRange = exports3.FoldingRangeKind = exports3.ColorPresentation = exports3.ColorInformation = exports3.Color = exports3.LocationLink = exports3.Location = exports3.Range = exports3.Position = exports3.uinteger = exports3.integer = exports3.URI = exports3.DocumentUri = void 0; + var DocumentUri; + (function(DocumentUri2) { + function is(value) { + return typeof value === "string"; + } + DocumentUri2.is = is; + })(DocumentUri || (exports3.DocumentUri = DocumentUri = {})); + var URI; + (function(URI2) { + function is(value) { + return typeof value === "string"; + } + URI2.is = is; + })(URI || (exports3.URI = URI = {})); + var integer; + (function(integer2) { + integer2.MIN_VALUE = -2147483648; + integer2.MAX_VALUE = 2147483647; + function is(value) { + return typeof value === "number" && integer2.MIN_VALUE <= value && value <= integer2.MAX_VALUE; + } + integer2.is = is; + })(integer || (exports3.integer = integer = {})); + var uinteger; + (function(uinteger2) { + uinteger2.MIN_VALUE = 0; + uinteger2.MAX_VALUE = 2147483647; + function is(value) { + return typeof value === "number" && uinteger2.MIN_VALUE <= value && value <= uinteger2.MAX_VALUE; + } + uinteger2.is = is; + })(uinteger || (exports3.uinteger = uinteger = {})); + var Position; + (function(Position2) { + function create(line, character) { + if (line === Number.MAX_VALUE) { + line = uinteger.MAX_VALUE; + } + if (character === Number.MAX_VALUE) { + character = uinteger.MAX_VALUE; + } + return { line, character }; + } + Position2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Is.uinteger(candidate.line) && Is.uinteger(candidate.character); + } + Position2.is = is; + })(Position || (exports3.Position = Position = {})); + var Range; + (function(Range2) { + function create(one, two, three, four) { + if (Is.uinteger(one) && Is.uinteger(two) && Is.uinteger(three) && Is.uinteger(four)) { + return { start: Position.create(one, two), end: Position.create(three, four) }; + } else if (Position.is(one) && Position.is(two)) { + return { start: one, end: two }; + } else { + throw new Error("Range#create called with invalid arguments[".concat(one, ", ").concat(two, ", ").concat(three, ", ").concat(four, "]")); + } + } + Range2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Position.is(candidate.start) && Position.is(candidate.end); + } + Range2.is = is; + })(Range || (exports3.Range = Range = {})); + var Location; + (function(Location2) { + function create(uri, range) { + return { uri, range }; + } + Location2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Range.is(candidate.range) && (Is.string(candidate.uri) || Is.undefined(candidate.uri)); + } + Location2.is = is; + })(Location || (exports3.Location = Location = {})); + var LocationLink; + (function(LocationLink2) { + function create(targetUri, targetRange, targetSelectionRange, originSelectionRange) { + return { targetUri, targetRange, targetSelectionRange, originSelectionRange }; + } + LocationLink2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Range.is(candidate.targetRange) && Is.string(candidate.targetUri) && Range.is(candidate.targetSelectionRange) && (Range.is(candidate.originSelectionRange) || Is.undefined(candidate.originSelectionRange)); + } + LocationLink2.is = is; + })(LocationLink || (exports3.LocationLink = LocationLink = {})); + var Color; + (function(Color2) { + function create(red, green, blue, alpha) { + return { + red, + green, + blue, + alpha + }; + } + Color2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Is.numberRange(candidate.red, 0, 1) && Is.numberRange(candidate.green, 0, 1) && Is.numberRange(candidate.blue, 0, 1) && Is.numberRange(candidate.alpha, 0, 1); + } + Color2.is = is; + })(Color || (exports3.Color = Color = {})); + var ColorInformation; + (function(ColorInformation2) { + function create(range, color) { + return { + range, + color + }; + } + ColorInformation2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Range.is(candidate.range) && Color.is(candidate.color); + } + ColorInformation2.is = is; + })(ColorInformation || (exports3.ColorInformation = ColorInformation = {})); + var ColorPresentation; + (function(ColorPresentation2) { + function create(label, textEdit, additionalTextEdits) { + return { + label, + textEdit, + additionalTextEdits + }; + } + ColorPresentation2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate)) && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is)); + } + ColorPresentation2.is = is; + })(ColorPresentation || (exports3.ColorPresentation = ColorPresentation = {})); + var FoldingRangeKind; + (function(FoldingRangeKind2) { + FoldingRangeKind2.Comment = "comment"; + FoldingRangeKind2.Imports = "imports"; + FoldingRangeKind2.Region = "region"; + })(FoldingRangeKind || (exports3.FoldingRangeKind = FoldingRangeKind = {})); + var FoldingRange; + (function(FoldingRange2) { + function create(startLine, endLine, startCharacter, endCharacter, kind, collapsedText) { + var result = { + startLine, + endLine + }; + if (Is.defined(startCharacter)) { + result.startCharacter = startCharacter; + } + if (Is.defined(endCharacter)) { + result.endCharacter = endCharacter; + } + if (Is.defined(kind)) { + result.kind = kind; + } + if (Is.defined(collapsedText)) { + result.collapsedText = collapsedText; + } + return result; + } + FoldingRange2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine) && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter)) && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter)) && (Is.undefined(candidate.kind) || Is.string(candidate.kind)); + } + FoldingRange2.is = is; + })(FoldingRange || (exports3.FoldingRange = FoldingRange = {})); + var DiagnosticRelatedInformation; + (function(DiagnosticRelatedInformation2) { + function create(location, message) { + return { + location, + message + }; + } + DiagnosticRelatedInformation2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Location.is(candidate.location) && Is.string(candidate.message); + } + DiagnosticRelatedInformation2.is = is; + })(DiagnosticRelatedInformation || (exports3.DiagnosticRelatedInformation = DiagnosticRelatedInformation = {})); + var DiagnosticSeverity; + (function(DiagnosticSeverity2) { + DiagnosticSeverity2.Error = 1; + DiagnosticSeverity2.Warning = 2; + DiagnosticSeverity2.Information = 3; + DiagnosticSeverity2.Hint = 4; + })(DiagnosticSeverity || (exports3.DiagnosticSeverity = DiagnosticSeverity = {})); + var DiagnosticTag; + (function(DiagnosticTag2) { + DiagnosticTag2.Unnecessary = 1; + DiagnosticTag2.Deprecated = 2; + })(DiagnosticTag || (exports3.DiagnosticTag = DiagnosticTag = {})); + var CodeDescription; + (function(CodeDescription2) { + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.href); + } + CodeDescription2.is = is; + })(CodeDescription || (exports3.CodeDescription = CodeDescription = {})); + var Diagnostic; + (function(Diagnostic2) { + function create(range, message, severity, code, source, relatedInformation) { + var result = { range, message }; + if (Is.defined(severity)) { + result.severity = severity; + } + if (Is.defined(code)) { + result.code = code; + } + if (Is.defined(source)) { + result.source = source; + } + if (Is.defined(relatedInformation)) { + result.relatedInformation = relatedInformation; + } + return result; + } + Diagnostic2.create = create; + function is(value) { + var _a; + var candidate = value; + return Is.defined(candidate) && Range.is(candidate.range) && Is.string(candidate.message) && (Is.number(candidate.severity) || Is.undefined(candidate.severity)) && (Is.integer(candidate.code) || Is.string(candidate.code) || Is.undefined(candidate.code)) && (Is.undefined(candidate.codeDescription) || Is.string((_a = candidate.codeDescription) === null || _a === void 0 ? void 0 : _a.href)) && (Is.string(candidate.source) || Is.undefined(candidate.source)) && (Is.undefined(candidate.relatedInformation) || Is.typedArray(candidate.relatedInformation, DiagnosticRelatedInformation.is)); + } + Diagnostic2.is = is; + })(Diagnostic || (exports3.Diagnostic = Diagnostic = {})); + var Command; + (function(Command2) { + function create(title, command) { + var args = []; + for (var _i = 2; _i < arguments.length; _i++) { + args[_i - 2] = arguments[_i]; + } + var result = { title, command }; + if (Is.defined(args) && args.length > 0) { + result.arguments = args; + } + return result; + } + Command2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Is.string(candidate.title) && Is.string(candidate.command); + } + Command2.is = is; + })(Command || (exports3.Command = Command = {})); + var TextEdit; + (function(TextEdit2) { + function replace(range, newText) { + return { range, newText }; + } + TextEdit2.replace = replace; + function insert(position, newText) { + return { range: { start: position, end: position }, newText }; + } + TextEdit2.insert = insert; + function del(range) { + return { range, newText: "" }; + } + TextEdit2.del = del; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.newText) && Range.is(candidate.range); + } + TextEdit2.is = is; + })(TextEdit || (exports3.TextEdit = TextEdit = {})); + var ChangeAnnotation; + (function(ChangeAnnotation2) { + function create(label, needsConfirmation, description) { + var result = { label }; + if (needsConfirmation !== void 0) { + result.needsConfirmation = needsConfirmation; + } + if (description !== void 0) { + result.description = description; + } + return result; + } + ChangeAnnotation2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.label) && (Is.boolean(candidate.needsConfirmation) || candidate.needsConfirmation === void 0) && (Is.string(candidate.description) || candidate.description === void 0); + } + ChangeAnnotation2.is = is; + })(ChangeAnnotation || (exports3.ChangeAnnotation = ChangeAnnotation = {})); + var ChangeAnnotationIdentifier; + (function(ChangeAnnotationIdentifier2) { + function is(value) { + var candidate = value; + return Is.string(candidate); + } + ChangeAnnotationIdentifier2.is = is; + })(ChangeAnnotationIdentifier || (exports3.ChangeAnnotationIdentifier = ChangeAnnotationIdentifier = {})); + var AnnotatedTextEdit; + (function(AnnotatedTextEdit2) { + function replace(range, newText, annotation) { + return { range, newText, annotationId: annotation }; + } + AnnotatedTextEdit2.replace = replace; + function insert(position, newText, annotation) { + return { range: { start: position, end: position }, newText, annotationId: annotation }; + } + AnnotatedTextEdit2.insert = insert; + function del(range, annotation) { + return { range, newText: "", annotationId: annotation }; + } + AnnotatedTextEdit2.del = del; + function is(value) { + var candidate = value; + return TextEdit.is(candidate) && (ChangeAnnotation.is(candidate.annotationId) || ChangeAnnotationIdentifier.is(candidate.annotationId)); + } + AnnotatedTextEdit2.is = is; + })(AnnotatedTextEdit || (exports3.AnnotatedTextEdit = AnnotatedTextEdit = {})); + var TextDocumentEdit; + (function(TextDocumentEdit2) { + function create(textDocument, edits) { + return { textDocument, edits }; + } + TextDocumentEdit2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && OptionalVersionedTextDocumentIdentifier.is(candidate.textDocument) && Array.isArray(candidate.edits); + } + TextDocumentEdit2.is = is; + })(TextDocumentEdit || (exports3.TextDocumentEdit = TextDocumentEdit = {})); + var CreateFile; + (function(CreateFile2) { + function create(uri, options, annotation) { + var result = { + kind: "create", + uri + }; + if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) { + result.options = options; + } + if (annotation !== void 0) { + result.annotationId = annotation; + } + return result; + } + CreateFile2.create = create; + function is(value) { + var candidate = value; + return candidate && candidate.kind === "create" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); + } + CreateFile2.is = is; + })(CreateFile || (exports3.CreateFile = CreateFile = {})); + var RenameFile; + (function(RenameFile2) { + function create(oldUri, newUri, options, annotation) { + var result = { + kind: "rename", + oldUri, + newUri + }; + if (options !== void 0 && (options.overwrite !== void 0 || options.ignoreIfExists !== void 0)) { + result.options = options; + } + if (annotation !== void 0) { + result.annotationId = annotation; + } + return result; + } + RenameFile2.create = create; + function is(value) { + var candidate = value; + return candidate && candidate.kind === "rename" && Is.string(candidate.oldUri) && Is.string(candidate.newUri) && (candidate.options === void 0 || (candidate.options.overwrite === void 0 || Is.boolean(candidate.options.overwrite)) && (candidate.options.ignoreIfExists === void 0 || Is.boolean(candidate.options.ignoreIfExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); + } + RenameFile2.is = is; + })(RenameFile || (exports3.RenameFile = RenameFile = {})); + var DeleteFile; + (function(DeleteFile2) { + function create(uri, options, annotation) { + var result = { + kind: "delete", + uri + }; + if (options !== void 0 && (options.recursive !== void 0 || options.ignoreIfNotExists !== void 0)) { + result.options = options; + } + if (annotation !== void 0) { + result.annotationId = annotation; + } + return result; + } + DeleteFile2.create = create; + function is(value) { + var candidate = value; + return candidate && candidate.kind === "delete" && Is.string(candidate.uri) && (candidate.options === void 0 || (candidate.options.recursive === void 0 || Is.boolean(candidate.options.recursive)) && (candidate.options.ignoreIfNotExists === void 0 || Is.boolean(candidate.options.ignoreIfNotExists))) && (candidate.annotationId === void 0 || ChangeAnnotationIdentifier.is(candidate.annotationId)); + } + DeleteFile2.is = is; + })(DeleteFile || (exports3.DeleteFile = DeleteFile = {})); + var WorkspaceEdit; + (function(WorkspaceEdit2) { + function is(value) { + var candidate = value; + return candidate && (candidate.changes !== void 0 || candidate.documentChanges !== void 0) && (candidate.documentChanges === void 0 || candidate.documentChanges.every(function(change) { + if (Is.string(change.kind)) { + return CreateFile.is(change) || RenameFile.is(change) || DeleteFile.is(change); + } else { + return TextDocumentEdit.is(change); + } + })); + } + WorkspaceEdit2.is = is; + })(WorkspaceEdit || (exports3.WorkspaceEdit = WorkspaceEdit = {})); + var TextEditChangeImpl = ( + /** @class */ + function() { + function TextEditChangeImpl2(edits, changeAnnotations) { + this.edits = edits; + this.changeAnnotations = changeAnnotations; + } + TextEditChangeImpl2.prototype.insert = function(position, newText, annotation) { + var edit; + var id; + if (annotation === void 0) { + edit = TextEdit.insert(position, newText); + } else if (ChangeAnnotationIdentifier.is(annotation)) { + id = annotation; + edit = AnnotatedTextEdit.insert(position, newText, annotation); + } else { + this.assertChangeAnnotations(this.changeAnnotations); + id = this.changeAnnotations.manage(annotation); + edit = AnnotatedTextEdit.insert(position, newText, id); + } + this.edits.push(edit); + if (id !== void 0) { + return id; + } + }; + TextEditChangeImpl2.prototype.replace = function(range, newText, annotation) { + var edit; + var id; + if (annotation === void 0) { + edit = TextEdit.replace(range, newText); + } else if (ChangeAnnotationIdentifier.is(annotation)) { + id = annotation; + edit = AnnotatedTextEdit.replace(range, newText, annotation); + } else { + this.assertChangeAnnotations(this.changeAnnotations); + id = this.changeAnnotations.manage(annotation); + edit = AnnotatedTextEdit.replace(range, newText, id); + } + this.edits.push(edit); + if (id !== void 0) { + return id; + } + }; + TextEditChangeImpl2.prototype.delete = function(range, annotation) { + var edit; + var id; + if (annotation === void 0) { + edit = TextEdit.del(range); + } else if (ChangeAnnotationIdentifier.is(annotation)) { + id = annotation; + edit = AnnotatedTextEdit.del(range, annotation); + } else { + this.assertChangeAnnotations(this.changeAnnotations); + id = this.changeAnnotations.manage(annotation); + edit = AnnotatedTextEdit.del(range, id); + } + this.edits.push(edit); + if (id !== void 0) { + return id; + } + }; + TextEditChangeImpl2.prototype.add = function(edit) { + this.edits.push(edit); + }; + TextEditChangeImpl2.prototype.all = function() { + return this.edits; + }; + TextEditChangeImpl2.prototype.clear = function() { + this.edits.splice(0, this.edits.length); + }; + TextEditChangeImpl2.prototype.assertChangeAnnotations = function(value) { + if (value === void 0) { + throw new Error("Text edit change is not configured to manage change annotations."); + } + }; + return TextEditChangeImpl2; + }() + ); + var ChangeAnnotations = ( + /** @class */ + function() { + function ChangeAnnotations2(annotations) { + this._annotations = annotations === void 0 ? /* @__PURE__ */ Object.create(null) : annotations; + this._counter = 0; + this._size = 0; + } + ChangeAnnotations2.prototype.all = function() { + return this._annotations; + }; + Object.defineProperty(ChangeAnnotations2.prototype, "size", { + get: function() { + return this._size; + }, + enumerable: false, + configurable: true + }); + ChangeAnnotations2.prototype.manage = function(idOrAnnotation, annotation) { + var id; + if (ChangeAnnotationIdentifier.is(idOrAnnotation)) { + id = idOrAnnotation; + } else { + id = this.nextId(); + annotation = idOrAnnotation; + } + if (this._annotations[id] !== void 0) { + throw new Error("Id ".concat(id, " is already in use.")); + } + if (annotation === void 0) { + throw new Error("No annotation provided for id ".concat(id)); + } + this._annotations[id] = annotation; + this._size++; + return id; + }; + ChangeAnnotations2.prototype.nextId = function() { + this._counter++; + return this._counter.toString(); + }; + return ChangeAnnotations2; + }() + ); + var WorkspaceChange = ( + /** @class */ + function() { + function WorkspaceChange2(workspaceEdit) { + var _this = this; + this._textEditChanges = /* @__PURE__ */ Object.create(null); + if (workspaceEdit !== void 0) { + this._workspaceEdit = workspaceEdit; + if (workspaceEdit.documentChanges) { + this._changeAnnotations = new ChangeAnnotations(workspaceEdit.changeAnnotations); + workspaceEdit.changeAnnotations = this._changeAnnotations.all(); + workspaceEdit.documentChanges.forEach(function(change) { + if (TextDocumentEdit.is(change)) { + var textEditChange = new TextEditChangeImpl(change.edits, _this._changeAnnotations); + _this._textEditChanges[change.textDocument.uri] = textEditChange; + } + }); + } else if (workspaceEdit.changes) { + Object.keys(workspaceEdit.changes).forEach(function(key) { + var textEditChange = new TextEditChangeImpl(workspaceEdit.changes[key]); + _this._textEditChanges[key] = textEditChange; + }); + } + } else { + this._workspaceEdit = {}; + } + } + Object.defineProperty(WorkspaceChange2.prototype, "edit", { + /** + * Returns the underlying {@link WorkspaceEdit} literal + * use to be returned from a workspace edit operation like rename. + */ + get: function() { + this.initDocumentChanges(); + if (this._changeAnnotations !== void 0) { + if (this._changeAnnotations.size === 0) { + this._workspaceEdit.changeAnnotations = void 0; + } else { + this._workspaceEdit.changeAnnotations = this._changeAnnotations.all(); + } + } + return this._workspaceEdit; + }, + enumerable: false, + configurable: true + }); + WorkspaceChange2.prototype.getTextEditChange = function(key) { + if (OptionalVersionedTextDocumentIdentifier.is(key)) { + this.initDocumentChanges(); + if (this._workspaceEdit.documentChanges === void 0) { + throw new Error("Workspace edit is not configured for document changes."); + } + var textDocument = { uri: key.uri, version: key.version }; + var result = this._textEditChanges[textDocument.uri]; + if (!result) { + var edits = []; + var textDocumentEdit = { + textDocument, + edits + }; + this._workspaceEdit.documentChanges.push(textDocumentEdit); + result = new TextEditChangeImpl(edits, this._changeAnnotations); + this._textEditChanges[textDocument.uri] = result; + } + return result; + } else { + this.initChanges(); + if (this._workspaceEdit.changes === void 0) { + throw new Error("Workspace edit is not configured for normal text edit changes."); + } + var result = this._textEditChanges[key]; + if (!result) { + var edits = []; + this._workspaceEdit.changes[key] = edits; + result = new TextEditChangeImpl(edits); + this._textEditChanges[key] = result; + } + return result; + } + }; + WorkspaceChange2.prototype.initDocumentChanges = function() { + if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) { + this._changeAnnotations = new ChangeAnnotations(); + this._workspaceEdit.documentChanges = []; + this._workspaceEdit.changeAnnotations = this._changeAnnotations.all(); + } + }; + WorkspaceChange2.prototype.initChanges = function() { + if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) { + this._workspaceEdit.changes = /* @__PURE__ */ Object.create(null); + } + }; + WorkspaceChange2.prototype.createFile = function(uri, optionsOrAnnotation, options) { + this.initDocumentChanges(); + if (this._workspaceEdit.documentChanges === void 0) { + throw new Error("Workspace edit is not configured for document changes."); + } + var annotation; + if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) { + annotation = optionsOrAnnotation; + } else { + options = optionsOrAnnotation; + } + var operation; + var id; + if (annotation === void 0) { + operation = CreateFile.create(uri, options); + } else { + id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation); + operation = CreateFile.create(uri, options, id); + } + this._workspaceEdit.documentChanges.push(operation); + if (id !== void 0) { + return id; + } + }; + WorkspaceChange2.prototype.renameFile = function(oldUri, newUri, optionsOrAnnotation, options) { + this.initDocumentChanges(); + if (this._workspaceEdit.documentChanges === void 0) { + throw new Error("Workspace edit is not configured for document changes."); + } + var annotation; + if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) { + annotation = optionsOrAnnotation; + } else { + options = optionsOrAnnotation; + } + var operation; + var id; + if (annotation === void 0) { + operation = RenameFile.create(oldUri, newUri, options); + } else { + id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation); + operation = RenameFile.create(oldUri, newUri, options, id); + } + this._workspaceEdit.documentChanges.push(operation); + if (id !== void 0) { + return id; + } + }; + WorkspaceChange2.prototype.deleteFile = function(uri, optionsOrAnnotation, options) { + this.initDocumentChanges(); + if (this._workspaceEdit.documentChanges === void 0) { + throw new Error("Workspace edit is not configured for document changes."); + } + var annotation; + if (ChangeAnnotation.is(optionsOrAnnotation) || ChangeAnnotationIdentifier.is(optionsOrAnnotation)) { + annotation = optionsOrAnnotation; + } else { + options = optionsOrAnnotation; + } + var operation; + var id; + if (annotation === void 0) { + operation = DeleteFile.create(uri, options); + } else { + id = ChangeAnnotationIdentifier.is(annotation) ? annotation : this._changeAnnotations.manage(annotation); + operation = DeleteFile.create(uri, options, id); + } + this._workspaceEdit.documentChanges.push(operation); + if (id !== void 0) { + return id; + } + }; + return WorkspaceChange2; + }() + ); + exports3.WorkspaceChange = WorkspaceChange; + var TextDocumentIdentifier; + (function(TextDocumentIdentifier2) { + function create(uri) { + return { uri }; + } + TextDocumentIdentifier2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri); + } + TextDocumentIdentifier2.is = is; + })(TextDocumentIdentifier || (exports3.TextDocumentIdentifier = TextDocumentIdentifier = {})); + var VersionedTextDocumentIdentifier; + (function(VersionedTextDocumentIdentifier2) { + function create(uri, version) { + return { uri, version }; + } + VersionedTextDocumentIdentifier2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri) && Is.integer(candidate.version); + } + VersionedTextDocumentIdentifier2.is = is; + })(VersionedTextDocumentIdentifier || (exports3.VersionedTextDocumentIdentifier = VersionedTextDocumentIdentifier = {})); + var OptionalVersionedTextDocumentIdentifier; + (function(OptionalVersionedTextDocumentIdentifier2) { + function create(uri, version) { + return { uri, version }; + } + OptionalVersionedTextDocumentIdentifier2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri) && (candidate.version === null || Is.integer(candidate.version)); + } + OptionalVersionedTextDocumentIdentifier2.is = is; + })(OptionalVersionedTextDocumentIdentifier || (exports3.OptionalVersionedTextDocumentIdentifier = OptionalVersionedTextDocumentIdentifier = {})); + var TextDocumentItem; + (function(TextDocumentItem2) { + function create(uri, languageId, version, text) { + return { uri, languageId, version, text }; + } + TextDocumentItem2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri) && Is.string(candidate.languageId) && Is.integer(candidate.version) && Is.string(candidate.text); + } + TextDocumentItem2.is = is; + })(TextDocumentItem || (exports3.TextDocumentItem = TextDocumentItem = {})); + var MarkupKind; + (function(MarkupKind2) { + MarkupKind2.PlainText = "plaintext"; + MarkupKind2.Markdown = "markdown"; + function is(value) { + var candidate = value; + return candidate === MarkupKind2.PlainText || candidate === MarkupKind2.Markdown; + } + MarkupKind2.is = is; + })(MarkupKind || (exports3.MarkupKind = MarkupKind = {})); + var MarkupContent; + (function(MarkupContent2) { + function is(value) { + var candidate = value; + return Is.objectLiteral(value) && MarkupKind.is(candidate.kind) && Is.string(candidate.value); + } + MarkupContent2.is = is; + })(MarkupContent || (exports3.MarkupContent = MarkupContent = {})); + var CompletionItemKind; + (function(CompletionItemKind2) { + CompletionItemKind2.Text = 1; + CompletionItemKind2.Method = 2; + CompletionItemKind2.Function = 3; + CompletionItemKind2.Constructor = 4; + CompletionItemKind2.Field = 5; + CompletionItemKind2.Variable = 6; + CompletionItemKind2.Class = 7; + CompletionItemKind2.Interface = 8; + CompletionItemKind2.Module = 9; + CompletionItemKind2.Property = 10; + CompletionItemKind2.Unit = 11; + CompletionItemKind2.Value = 12; + CompletionItemKind2.Enum = 13; + CompletionItemKind2.Keyword = 14; + CompletionItemKind2.Snippet = 15; + CompletionItemKind2.Color = 16; + CompletionItemKind2.File = 17; + CompletionItemKind2.Reference = 18; + CompletionItemKind2.Folder = 19; + CompletionItemKind2.EnumMember = 20; + CompletionItemKind2.Constant = 21; + CompletionItemKind2.Struct = 22; + CompletionItemKind2.Event = 23; + CompletionItemKind2.Operator = 24; + CompletionItemKind2.TypeParameter = 25; + })(CompletionItemKind || (exports3.CompletionItemKind = CompletionItemKind = {})); + var InsertTextFormat; + (function(InsertTextFormat2) { + InsertTextFormat2.PlainText = 1; + InsertTextFormat2.Snippet = 2; + })(InsertTextFormat || (exports3.InsertTextFormat = InsertTextFormat = {})); + var CompletionItemTag; + (function(CompletionItemTag2) { + CompletionItemTag2.Deprecated = 1; + })(CompletionItemTag || (exports3.CompletionItemTag = CompletionItemTag = {})); + var InsertReplaceEdit; + (function(InsertReplaceEdit2) { + function create(newText, insert, replace) { + return { newText, insert, replace }; + } + InsertReplaceEdit2.create = create; + function is(value) { + var candidate = value; + return candidate && Is.string(candidate.newText) && Range.is(candidate.insert) && Range.is(candidate.replace); + } + InsertReplaceEdit2.is = is; + })(InsertReplaceEdit || (exports3.InsertReplaceEdit = InsertReplaceEdit = {})); + var InsertTextMode; + (function(InsertTextMode2) { + InsertTextMode2.asIs = 1; + InsertTextMode2.adjustIndentation = 2; + })(InsertTextMode || (exports3.InsertTextMode = InsertTextMode = {})); + var CompletionItemLabelDetails; + (function(CompletionItemLabelDetails2) { + function is(value) { + var candidate = value; + return candidate && (Is.string(candidate.detail) || candidate.detail === void 0) && (Is.string(candidate.description) || candidate.description === void 0); + } + CompletionItemLabelDetails2.is = is; + })(CompletionItemLabelDetails || (exports3.CompletionItemLabelDetails = CompletionItemLabelDetails = {})); + var CompletionItem; + (function(CompletionItem2) { + function create(label) { + return { label }; + } + CompletionItem2.create = create; + })(CompletionItem || (exports3.CompletionItem = CompletionItem = {})); + var CompletionList; + (function(CompletionList2) { + function create(items, isIncomplete) { + return { items: items ? items : [], isIncomplete: !!isIncomplete }; + } + CompletionList2.create = create; + })(CompletionList || (exports3.CompletionList = CompletionList = {})); + var MarkedString; + (function(MarkedString2) { + function fromPlainText(plainText) { + return plainText.replace(/[\\`*_{}[\]()#+\-.!]/g, "\\$&"); + } + MarkedString2.fromPlainText = fromPlainText; + function is(value) { + var candidate = value; + return Is.string(candidate) || Is.objectLiteral(candidate) && Is.string(candidate.language) && Is.string(candidate.value); + } + MarkedString2.is = is; + })(MarkedString || (exports3.MarkedString = MarkedString = {})); + var Hover; + (function(Hover2) { + function is(value) { + var candidate = value; + return !!candidate && Is.objectLiteral(candidate) && (MarkupContent.is(candidate.contents) || MarkedString.is(candidate.contents) || Is.typedArray(candidate.contents, MarkedString.is)) && (value.range === void 0 || Range.is(value.range)); + } + Hover2.is = is; + })(Hover || (exports3.Hover = Hover = {})); + var ParameterInformation; + (function(ParameterInformation2) { + function create(label, documentation) { + return documentation ? { label, documentation } : { label }; + } + ParameterInformation2.create = create; + })(ParameterInformation || (exports3.ParameterInformation = ParameterInformation = {})); + var SignatureInformation; + (function(SignatureInformation2) { + function create(label, documentation) { + var parameters = []; + for (var _i = 2; _i < arguments.length; _i++) { + parameters[_i - 2] = arguments[_i]; + } + var result = { label }; + if (Is.defined(documentation)) { + result.documentation = documentation; + } + if (Is.defined(parameters)) { + result.parameters = parameters; + } else { + result.parameters = []; + } + return result; + } + SignatureInformation2.create = create; + })(SignatureInformation || (exports3.SignatureInformation = SignatureInformation = {})); + var DocumentHighlightKind; + (function(DocumentHighlightKind2) { + DocumentHighlightKind2.Text = 1; + DocumentHighlightKind2.Read = 2; + DocumentHighlightKind2.Write = 3; + })(DocumentHighlightKind || (exports3.DocumentHighlightKind = DocumentHighlightKind = {})); + var DocumentHighlight; + (function(DocumentHighlight2) { + function create(range, kind) { + var result = { range }; + if (Is.number(kind)) { + result.kind = kind; + } + return result; + } + DocumentHighlight2.create = create; + })(DocumentHighlight || (exports3.DocumentHighlight = DocumentHighlight = {})); + var SymbolKind; + (function(SymbolKind2) { + SymbolKind2.File = 1; + SymbolKind2.Module = 2; + SymbolKind2.Namespace = 3; + SymbolKind2.Package = 4; + SymbolKind2.Class = 5; + SymbolKind2.Method = 6; + SymbolKind2.Property = 7; + SymbolKind2.Field = 8; + SymbolKind2.Constructor = 9; + SymbolKind2.Enum = 10; + SymbolKind2.Interface = 11; + SymbolKind2.Function = 12; + SymbolKind2.Variable = 13; + SymbolKind2.Constant = 14; + SymbolKind2.String = 15; + SymbolKind2.Number = 16; + SymbolKind2.Boolean = 17; + SymbolKind2.Array = 18; + SymbolKind2.Object = 19; + SymbolKind2.Key = 20; + SymbolKind2.Null = 21; + SymbolKind2.EnumMember = 22; + SymbolKind2.Struct = 23; + SymbolKind2.Event = 24; + SymbolKind2.Operator = 25; + SymbolKind2.TypeParameter = 26; + })(SymbolKind || (exports3.SymbolKind = SymbolKind = {})); + var SymbolTag; + (function(SymbolTag2) { + SymbolTag2.Deprecated = 1; + })(SymbolTag || (exports3.SymbolTag = SymbolTag = {})); + var SymbolInformation; + (function(SymbolInformation2) { + function create(name, kind, range, uri, containerName) { + var result = { + name, + kind, + location: { uri, range } + }; + if (containerName) { + result.containerName = containerName; + } + return result; + } + SymbolInformation2.create = create; + })(SymbolInformation || (exports3.SymbolInformation = SymbolInformation = {})); + var WorkspaceSymbol; + (function(WorkspaceSymbol2) { + function create(name, kind, uri, range) { + return range !== void 0 ? { name, kind, location: { uri, range } } : { name, kind, location: { uri } }; + } + WorkspaceSymbol2.create = create; + })(WorkspaceSymbol || (exports3.WorkspaceSymbol = WorkspaceSymbol = {})); + var DocumentSymbol; + (function(DocumentSymbol2) { + function create(name, detail, kind, range, selectionRange, children) { + var result = { + name, + detail, + kind, + range, + selectionRange + }; + if (children !== void 0) { + result.children = children; + } + return result; + } + DocumentSymbol2.create = create; + function is(value) { + var candidate = value; + return candidate && Is.string(candidate.name) && Is.number(candidate.kind) && Range.is(candidate.range) && Range.is(candidate.selectionRange) && (candidate.detail === void 0 || Is.string(candidate.detail)) && (candidate.deprecated === void 0 || Is.boolean(candidate.deprecated)) && (candidate.children === void 0 || Array.isArray(candidate.children)) && (candidate.tags === void 0 || Array.isArray(candidate.tags)); + } + DocumentSymbol2.is = is; + })(DocumentSymbol || (exports3.DocumentSymbol = DocumentSymbol = {})); + var CodeActionKind; + (function(CodeActionKind2) { + CodeActionKind2.Empty = ""; + CodeActionKind2.QuickFix = "quickfix"; + CodeActionKind2.Refactor = "refactor"; + CodeActionKind2.RefactorExtract = "refactor.extract"; + CodeActionKind2.RefactorInline = "refactor.inline"; + CodeActionKind2.RefactorRewrite = "refactor.rewrite"; + CodeActionKind2.Source = "source"; + CodeActionKind2.SourceOrganizeImports = "source.organizeImports"; + CodeActionKind2.SourceFixAll = "source.fixAll"; + })(CodeActionKind || (exports3.CodeActionKind = CodeActionKind = {})); + var CodeActionTriggerKind; + (function(CodeActionTriggerKind2) { + CodeActionTriggerKind2.Invoked = 1; + CodeActionTriggerKind2.Automatic = 2; + })(CodeActionTriggerKind || (exports3.CodeActionTriggerKind = CodeActionTriggerKind = {})); + var CodeActionContext; + (function(CodeActionContext2) { + function create(diagnostics, only, triggerKind) { + var result = { diagnostics }; + if (only !== void 0 && only !== null) { + result.only = only; + } + if (triggerKind !== void 0 && triggerKind !== null) { + result.triggerKind = triggerKind; + } + return result; + } + CodeActionContext2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Is.typedArray(candidate.diagnostics, Diagnostic.is) && (candidate.only === void 0 || Is.typedArray(candidate.only, Is.string)) && (candidate.triggerKind === void 0 || candidate.triggerKind === CodeActionTriggerKind.Invoked || candidate.triggerKind === CodeActionTriggerKind.Automatic); + } + CodeActionContext2.is = is; + })(CodeActionContext || (exports3.CodeActionContext = CodeActionContext = {})); + var CodeAction; + (function(CodeAction2) { + function create(title, kindOrCommandOrEdit, kind) { + var result = { title }; + var checkKind = true; + if (typeof kindOrCommandOrEdit === "string") { + checkKind = false; + result.kind = kindOrCommandOrEdit; + } else if (Command.is(kindOrCommandOrEdit)) { + result.command = kindOrCommandOrEdit; + } else { + result.edit = kindOrCommandOrEdit; + } + if (checkKind && kind !== void 0) { + result.kind = kind; + } + return result; + } + CodeAction2.create = create; + function is(value) { + var candidate = value; + return candidate && Is.string(candidate.title) && (candidate.diagnostics === void 0 || Is.typedArray(candidate.diagnostics, Diagnostic.is)) && (candidate.kind === void 0 || Is.string(candidate.kind)) && (candidate.edit !== void 0 || candidate.command !== void 0) && (candidate.command === void 0 || Command.is(candidate.command)) && (candidate.isPreferred === void 0 || Is.boolean(candidate.isPreferred)) && (candidate.edit === void 0 || WorkspaceEdit.is(candidate.edit)); + } + CodeAction2.is = is; + })(CodeAction || (exports3.CodeAction = CodeAction = {})); + var CodeLens; + (function(CodeLens2) { + function create(range, data) { + var result = { range }; + if (Is.defined(data)) { + result.data = data; + } + return result; + } + CodeLens2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.command) || Command.is(candidate.command)); + } + CodeLens2.is = is; + })(CodeLens || (exports3.CodeLens = CodeLens = {})); + var FormattingOptions; + (function(FormattingOptions2) { + function create(tabSize, insertSpaces) { + return { tabSize, insertSpaces }; + } + FormattingOptions2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Is.uinteger(candidate.tabSize) && Is.boolean(candidate.insertSpaces); + } + FormattingOptions2.is = is; + })(FormattingOptions || (exports3.FormattingOptions = FormattingOptions = {})); + var DocumentLink; + (function(DocumentLink2) { + function create(range, target, data) { + return { range, target, data }; + } + DocumentLink2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Range.is(candidate.range) && (Is.undefined(candidate.target) || Is.string(candidate.target)); + } + DocumentLink2.is = is; + })(DocumentLink || (exports3.DocumentLink = DocumentLink = {})); + var SelectionRange; + (function(SelectionRange2) { + function create(range, parent) { + return { range, parent }; + } + SelectionRange2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Range.is(candidate.range) && (candidate.parent === void 0 || SelectionRange2.is(candidate.parent)); + } + SelectionRange2.is = is; + })(SelectionRange || (exports3.SelectionRange = SelectionRange = {})); + var SemanticTokenTypes; + (function(SemanticTokenTypes2) { + SemanticTokenTypes2["namespace"] = "namespace"; + SemanticTokenTypes2["type"] = "type"; + SemanticTokenTypes2["class"] = "class"; + SemanticTokenTypes2["enum"] = "enum"; + SemanticTokenTypes2["interface"] = "interface"; + SemanticTokenTypes2["struct"] = "struct"; + SemanticTokenTypes2["typeParameter"] = "typeParameter"; + SemanticTokenTypes2["parameter"] = "parameter"; + SemanticTokenTypes2["variable"] = "variable"; + SemanticTokenTypes2["property"] = "property"; + SemanticTokenTypes2["enumMember"] = "enumMember"; + SemanticTokenTypes2["event"] = "event"; + SemanticTokenTypes2["function"] = "function"; + SemanticTokenTypes2["method"] = "method"; + SemanticTokenTypes2["macro"] = "macro"; + SemanticTokenTypes2["keyword"] = "keyword"; + SemanticTokenTypes2["modifier"] = "modifier"; + SemanticTokenTypes2["comment"] = "comment"; + SemanticTokenTypes2["string"] = "string"; + SemanticTokenTypes2["number"] = "number"; + SemanticTokenTypes2["regexp"] = "regexp"; + SemanticTokenTypes2["operator"] = "operator"; + SemanticTokenTypes2["decorator"] = "decorator"; + })(SemanticTokenTypes || (exports3.SemanticTokenTypes = SemanticTokenTypes = {})); + var SemanticTokenModifiers; + (function(SemanticTokenModifiers2) { + SemanticTokenModifiers2["declaration"] = "declaration"; + SemanticTokenModifiers2["definition"] = "definition"; + SemanticTokenModifiers2["readonly"] = "readonly"; + SemanticTokenModifiers2["static"] = "static"; + SemanticTokenModifiers2["deprecated"] = "deprecated"; + SemanticTokenModifiers2["abstract"] = "abstract"; + SemanticTokenModifiers2["async"] = "async"; + SemanticTokenModifiers2["modification"] = "modification"; + SemanticTokenModifiers2["documentation"] = "documentation"; + SemanticTokenModifiers2["defaultLibrary"] = "defaultLibrary"; + })(SemanticTokenModifiers || (exports3.SemanticTokenModifiers = SemanticTokenModifiers = {})); + var SemanticTokens; + (function(SemanticTokens2) { + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && (candidate.resultId === void 0 || typeof candidate.resultId === "string") && Array.isArray(candidate.data) && (candidate.data.length === 0 || typeof candidate.data[0] === "number"); + } + SemanticTokens2.is = is; + })(SemanticTokens || (exports3.SemanticTokens = SemanticTokens = {})); + var InlineValueText; + (function(InlineValueText2) { + function create(range, text) { + return { range, text }; + } + InlineValueText2.create = create; + function is(value) { + var candidate = value; + return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && Is.string(candidate.text); + } + InlineValueText2.is = is; + })(InlineValueText || (exports3.InlineValueText = InlineValueText = {})); + var InlineValueVariableLookup; + (function(InlineValueVariableLookup2) { + function create(range, variableName, caseSensitiveLookup) { + return { range, variableName, caseSensitiveLookup }; + } + InlineValueVariableLookup2.create = create; + function is(value) { + var candidate = value; + return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && Is.boolean(candidate.caseSensitiveLookup) && (Is.string(candidate.variableName) || candidate.variableName === void 0); + } + InlineValueVariableLookup2.is = is; + })(InlineValueVariableLookup || (exports3.InlineValueVariableLookup = InlineValueVariableLookup = {})); + var InlineValueEvaluatableExpression; + (function(InlineValueEvaluatableExpression2) { + function create(range, expression) { + return { range, expression }; + } + InlineValueEvaluatableExpression2.create = create; + function is(value) { + var candidate = value; + return candidate !== void 0 && candidate !== null && Range.is(candidate.range) && (Is.string(candidate.expression) || candidate.expression === void 0); + } + InlineValueEvaluatableExpression2.is = is; + })(InlineValueEvaluatableExpression || (exports3.InlineValueEvaluatableExpression = InlineValueEvaluatableExpression = {})); + var InlineValueContext; + (function(InlineValueContext2) { + function create(frameId, stoppedLocation) { + return { frameId, stoppedLocation }; + } + InlineValueContext2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Range.is(value.stoppedLocation); + } + InlineValueContext2.is = is; + })(InlineValueContext || (exports3.InlineValueContext = InlineValueContext = {})); + var InlayHintKind; + (function(InlayHintKind2) { + InlayHintKind2.Type = 1; + InlayHintKind2.Parameter = 2; + function is(value) { + return value === 1 || value === 2; + } + InlayHintKind2.is = is; + })(InlayHintKind || (exports3.InlayHintKind = InlayHintKind = {})); + var InlayHintLabelPart; + (function(InlayHintLabelPart2) { + function create(value) { + return { value }; + } + InlayHintLabelPart2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && (candidate.tooltip === void 0 || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.location === void 0 || Location.is(candidate.location)) && (candidate.command === void 0 || Command.is(candidate.command)); + } + InlayHintLabelPart2.is = is; + })(InlayHintLabelPart || (exports3.InlayHintLabelPart = InlayHintLabelPart = {})); + var InlayHint; + (function(InlayHint2) { + function create(position, label, kind) { + var result = { position, label }; + if (kind !== void 0) { + result.kind = kind; + } + return result; + } + InlayHint2.create = create; + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && Position.is(candidate.position) && (Is.string(candidate.label) || Is.typedArray(candidate.label, InlayHintLabelPart.is)) && (candidate.kind === void 0 || InlayHintKind.is(candidate.kind)) && candidate.textEdits === void 0 || Is.typedArray(candidate.textEdits, TextEdit.is) && (candidate.tooltip === void 0 || Is.string(candidate.tooltip) || MarkupContent.is(candidate.tooltip)) && (candidate.paddingLeft === void 0 || Is.boolean(candidate.paddingLeft)) && (candidate.paddingRight === void 0 || Is.boolean(candidate.paddingRight)); + } + InlayHint2.is = is; + })(InlayHint || (exports3.InlayHint = InlayHint = {})); + var StringValue; + (function(StringValue2) { + function createSnippet(value) { + return { kind: "snippet", value }; + } + StringValue2.createSnippet = createSnippet; + })(StringValue || (exports3.StringValue = StringValue = {})); + var InlineCompletionItem; + (function(InlineCompletionItem2) { + function create(insertText, filterText, range, command) { + return { insertText, filterText, range, command }; + } + InlineCompletionItem2.create = create; + })(InlineCompletionItem || (exports3.InlineCompletionItem = InlineCompletionItem = {})); + var InlineCompletionList; + (function(InlineCompletionList2) { + function create(items) { + return { items }; + } + InlineCompletionList2.create = create; + })(InlineCompletionList || (exports3.InlineCompletionList = InlineCompletionList = {})); + var InlineCompletionTriggerKind; + (function(InlineCompletionTriggerKind2) { + InlineCompletionTriggerKind2.Invoked = 0; + InlineCompletionTriggerKind2.Automatic = 1; + })(InlineCompletionTriggerKind || (exports3.InlineCompletionTriggerKind = InlineCompletionTriggerKind = {})); + var SelectedCompletionInfo; + (function(SelectedCompletionInfo2) { + function create(range, text) { + return { range, text }; + } + SelectedCompletionInfo2.create = create; + })(SelectedCompletionInfo || (exports3.SelectedCompletionInfo = SelectedCompletionInfo = {})); + var InlineCompletionContext; + (function(InlineCompletionContext2) { + function create(triggerKind, selectedCompletionInfo) { + return { triggerKind, selectedCompletionInfo }; + } + InlineCompletionContext2.create = create; + })(InlineCompletionContext || (exports3.InlineCompletionContext = InlineCompletionContext = {})); + var WorkspaceFolder; + (function(WorkspaceFolder2) { + function is(value) { + var candidate = value; + return Is.objectLiteral(candidate) && URI.is(candidate.uri) && Is.string(candidate.name); + } + WorkspaceFolder2.is = is; + })(WorkspaceFolder || (exports3.WorkspaceFolder = WorkspaceFolder = {})); + exports3.EOL = ["\n", "\r\n", "\r"]; + var TextDocument; + (function(TextDocument2) { + function create(uri, languageId, version, content) { + return new FullTextDocument(uri, languageId, version, content); + } + TextDocument2.create = create; + function is(value) { + var candidate = value; + return Is.defined(candidate) && Is.string(candidate.uri) && (Is.undefined(candidate.languageId) || Is.string(candidate.languageId)) && Is.uinteger(candidate.lineCount) && Is.func(candidate.getText) && Is.func(candidate.positionAt) && Is.func(candidate.offsetAt) ? true : false; + } + TextDocument2.is = is; + function applyEdits(document, edits) { + var text = document.getText(); + var sortedEdits = mergeSort(edits, function(a, b) { + var diff = a.range.start.line - b.range.start.line; + if (diff === 0) { + return a.range.start.character - b.range.start.character; + } + return diff; + }); + var lastModifiedOffset = text.length; + for (var i = sortedEdits.length - 1; i >= 0; i--) { + var e = sortedEdits[i]; + var startOffset = document.offsetAt(e.range.start); + var endOffset = document.offsetAt(e.range.end); + if (endOffset <= lastModifiedOffset) { + text = text.substring(0, startOffset) + e.newText + text.substring(endOffset, text.length); + } else { + throw new Error("Overlapping edit"); + } + lastModifiedOffset = startOffset; + } + return text; + } + TextDocument2.applyEdits = applyEdits; + function mergeSort(data, compare) { + if (data.length <= 1) { + return data; + } + var p = data.length / 2 | 0; + var left = data.slice(0, p); + var right = data.slice(p); + mergeSort(left, compare); + mergeSort(right, compare); + var leftIdx = 0; + var rightIdx = 0; + var i = 0; + while (leftIdx < left.length && rightIdx < right.length) { + var ret = compare(left[leftIdx], right[rightIdx]); + if (ret <= 0) { + data[i++] = left[leftIdx++]; + } else { + data[i++] = right[rightIdx++]; + } + } + while (leftIdx < left.length) { + data[i++] = left[leftIdx++]; + } + while (rightIdx < right.length) { + data[i++] = right[rightIdx++]; + } + return data; + } + })(TextDocument || (exports3.TextDocument = TextDocument = {})); + var FullTextDocument = ( + /** @class */ + function() { + function FullTextDocument2(uri, languageId, version, content) { + this._uri = uri; + this._languageId = languageId; + this._version = version; + this._content = content; + this._lineOffsets = void 0; + } + Object.defineProperty(FullTextDocument2.prototype, "uri", { + get: function() { + return this._uri; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(FullTextDocument2.prototype, "languageId", { + get: function() { + return this._languageId; + }, + enumerable: false, + configurable: true + }); + Object.defineProperty(FullTextDocument2.prototype, "version", { + get: function() { + return this._version; + }, + enumerable: false, + configurable: true + }); + FullTextDocument2.prototype.getText = function(range) { + if (range) { + var start = this.offsetAt(range.start); + var end = this.offsetAt(range.end); + return this._content.substring(start, end); + } + return this._content; + }; + FullTextDocument2.prototype.update = function(event, version) { + this._content = event.text; + this._version = version; + this._lineOffsets = void 0; + }; + FullTextDocument2.prototype.getLineOffsets = function() { + if (this._lineOffsets === void 0) { + var lineOffsets = []; + var text = this._content; + var isLineStart = true; + for (var i = 0; i < text.length; i++) { + if (isLineStart) { + lineOffsets.push(i); + isLineStart = false; + } + var ch = text.charAt(i); + isLineStart = ch === "\r" || ch === "\n"; + if (ch === "\r" && i + 1 < text.length && text.charAt(i + 1) === "\n") { + i++; + } + } + if (isLineStart && text.length > 0) { + lineOffsets.push(text.length); + } + this._lineOffsets = lineOffsets; + } + return this._lineOffsets; + }; + FullTextDocument2.prototype.positionAt = function(offset) { + offset = Math.max(Math.min(offset, this._content.length), 0); + var lineOffsets = this.getLineOffsets(); + var low = 0, high = lineOffsets.length; + if (high === 0) { + return Position.create(0, offset); + } + while (low < high) { + var mid = Math.floor((low + high) / 2); + if (lineOffsets[mid] > offset) { + high = mid; + } else { + low = mid + 1; + } + } + var line = low - 1; + return Position.create(line, offset - lineOffsets[line]); + }; + FullTextDocument2.prototype.offsetAt = function(position) { + var lineOffsets = this.getLineOffsets(); + if (position.line >= lineOffsets.length) { + return this._content.length; + } else if (position.line < 0) { + return 0; + } + var lineOffset = lineOffsets[position.line]; + var nextLineOffset = position.line + 1 < lineOffsets.length ? lineOffsets[position.line + 1] : this._content.length; + return Math.max(Math.min(lineOffset + position.character, nextLineOffset), lineOffset); + }; + Object.defineProperty(FullTextDocument2.prototype, "lineCount", { + get: function() { + return this.getLineOffsets().length; + }, + enumerable: false, + configurable: true + }); + return FullTextDocument2; + }() + ); + var Is; + (function(Is2) { + var toString = Object.prototype.toString; + function defined(value) { + return typeof value !== "undefined"; + } + Is2.defined = defined; + function undefined2(value) { + return typeof value === "undefined"; + } + Is2.undefined = undefined2; + function boolean(value) { + return value === true || value === false; + } + Is2.boolean = boolean; + function string(value) { + return toString.call(value) === "[object String]"; + } + Is2.string = string; + function number(value) { + return toString.call(value) === "[object Number]"; + } + Is2.number = number; + function numberRange(value, min, max) { + return toString.call(value) === "[object Number]" && min <= value && value <= max; + } + Is2.numberRange = numberRange; + function integer2(value) { + return toString.call(value) === "[object Number]" && -2147483648 <= value && value <= 2147483647; + } + Is2.integer = integer2; + function uinteger2(value) { + return toString.call(value) === "[object Number]" && 0 <= value && value <= 2147483647; + } + Is2.uinteger = uinteger2; + function func(value) { + return toString.call(value) === "[object Function]"; + } + Is2.func = func; + function objectLiteral(value) { + return value !== null && typeof value === "object"; + } + Is2.objectLiteral = objectLiteral; + function typedArray(value, check) { + return Array.isArray(value) && value.every(check); + } + Is2.typedArray = typedArray; + })(Is || (Is = {})); + }); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.js +var require_messages2 = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ProtocolNotificationType = exports2.ProtocolNotificationType0 = exports2.ProtocolRequestType = exports2.ProtocolRequestType0 = exports2.RegistrationType = exports2.MessageDirection = void 0; + var vscode_jsonrpc_1 = require_main(); + var MessageDirection; + (function(MessageDirection2) { + MessageDirection2["clientToServer"] = "clientToServer"; + MessageDirection2["serverToClient"] = "serverToClient"; + MessageDirection2["both"] = "both"; + })(MessageDirection || (exports2.MessageDirection = MessageDirection = {})); + var RegistrationType = class { + constructor(method) { + this.method = method; + } + }; + exports2.RegistrationType = RegistrationType; + var ProtocolRequestType0 = class extends vscode_jsonrpc_1.RequestType0 { + constructor(method) { + super(method); + } + }; + exports2.ProtocolRequestType0 = ProtocolRequestType0; + var ProtocolRequestType = class extends vscode_jsonrpc_1.RequestType { + constructor(method) { + super(method, vscode_jsonrpc_1.ParameterStructures.byName); + } + }; + exports2.ProtocolRequestType = ProtocolRequestType; + var ProtocolNotificationType0 = class extends vscode_jsonrpc_1.NotificationType0 { + constructor(method) { + super(method); + } + }; + exports2.ProtocolNotificationType0 = ProtocolNotificationType0; + var ProtocolNotificationType = class extends vscode_jsonrpc_1.NotificationType { + constructor(method) { + super(method, vscode_jsonrpc_1.ParameterStructures.byName); + } + }; + exports2.ProtocolNotificationType = ProtocolNotificationType; + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +var require_is3 = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.objectLiteral = exports2.typedArray = exports2.stringArray = exports2.array = exports2.func = exports2.error = exports2.number = exports2.string = exports2.boolean = void 0; + function boolean(value) { + return value === true || value === false; + } + exports2.boolean = boolean; + function string(value) { + return typeof value === "string" || value instanceof String; + } + exports2.string = string; + function number(value) { + return typeof value === "number" || value instanceof Number; + } + exports2.number = number; + function error(value) { + return value instanceof Error; + } + exports2.error = error; + function func(value) { + return typeof value === "function"; + } + exports2.func = func; + function array(value) { + return Array.isArray(value); + } + exports2.array = array; + function stringArray(value) { + return array(value) && value.every((elem) => string(elem)); + } + exports2.stringArray = stringArray; + function typedArray(value, check) { + return Array.isArray(value) && value.every(check); + } + exports2.typedArray = typedArray; + function objectLiteral(value) { + return value !== null && typeof value === "object"; + } + exports2.objectLiteral = objectLiteral; + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +var require_protocol_implementation = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ImplementationRequest = void 0; + var messages_1 = require_messages2(); + var ImplementationRequest; + (function(ImplementationRequest2) { + ImplementationRequest2.method = "textDocument/implementation"; + ImplementationRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + ImplementationRequest2.type = new messages_1.ProtocolRequestType(ImplementationRequest2.method); + })(ImplementationRequest || (exports2.ImplementationRequest = ImplementationRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +var require_protocol_typeDefinition = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.TypeDefinitionRequest = void 0; + var messages_1 = require_messages2(); + var TypeDefinitionRequest; + (function(TypeDefinitionRequest2) { + TypeDefinitionRequest2.method = "textDocument/typeDefinition"; + TypeDefinitionRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + TypeDefinitionRequest2.type = new messages_1.ProtocolRequestType(TypeDefinitionRequest2.method); + })(TypeDefinitionRequest || (exports2.TypeDefinitionRequest = TypeDefinitionRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +var require_protocol_workspaceFolder = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DidChangeWorkspaceFoldersNotification = exports2.WorkspaceFoldersRequest = void 0; + var messages_1 = require_messages2(); + var WorkspaceFoldersRequest; + (function(WorkspaceFoldersRequest2) { + WorkspaceFoldersRequest2.method = "workspace/workspaceFolders"; + WorkspaceFoldersRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + WorkspaceFoldersRequest2.type = new messages_1.ProtocolRequestType0(WorkspaceFoldersRequest2.method); + })(WorkspaceFoldersRequest || (exports2.WorkspaceFoldersRequest = WorkspaceFoldersRequest = {})); + var DidChangeWorkspaceFoldersNotification; + (function(DidChangeWorkspaceFoldersNotification2) { + DidChangeWorkspaceFoldersNotification2.method = "workspace/didChangeWorkspaceFolders"; + DidChangeWorkspaceFoldersNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidChangeWorkspaceFoldersNotification2.type = new messages_1.ProtocolNotificationType(DidChangeWorkspaceFoldersNotification2.method); + })(DidChangeWorkspaceFoldersNotification || (exports2.DidChangeWorkspaceFoldersNotification = DidChangeWorkspaceFoldersNotification = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +var require_protocol_configuration = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ConfigurationRequest = void 0; + var messages_1 = require_messages2(); + var ConfigurationRequest; + (function(ConfigurationRequest2) { + ConfigurationRequest2.method = "workspace/configuration"; + ConfigurationRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + ConfigurationRequest2.type = new messages_1.ProtocolRequestType(ConfigurationRequest2.method); + })(ConfigurationRequest || (exports2.ConfigurationRequest = ConfigurationRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +var require_protocol_colorProvider = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ColorPresentationRequest = exports2.DocumentColorRequest = void 0; + var messages_1 = require_messages2(); + var DocumentColorRequest; + (function(DocumentColorRequest2) { + DocumentColorRequest2.method = "textDocument/documentColor"; + DocumentColorRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentColorRequest2.type = new messages_1.ProtocolRequestType(DocumentColorRequest2.method); + })(DocumentColorRequest || (exports2.DocumentColorRequest = DocumentColorRequest = {})); + var ColorPresentationRequest; + (function(ColorPresentationRequest2) { + ColorPresentationRequest2.method = "textDocument/colorPresentation"; + ColorPresentationRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + ColorPresentationRequest2.type = new messages_1.ProtocolRequestType(ColorPresentationRequest2.method); + })(ColorPresentationRequest || (exports2.ColorPresentationRequest = ColorPresentationRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +var require_protocol_foldingRange = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.FoldingRangeRefreshRequest = exports2.FoldingRangeRequest = void 0; + var messages_1 = require_messages2(); + var FoldingRangeRequest; + (function(FoldingRangeRequest2) { + FoldingRangeRequest2.method = "textDocument/foldingRange"; + FoldingRangeRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + FoldingRangeRequest2.type = new messages_1.ProtocolRequestType(FoldingRangeRequest2.method); + })(FoldingRangeRequest || (exports2.FoldingRangeRequest = FoldingRangeRequest = {})); + var FoldingRangeRefreshRequest; + (function(FoldingRangeRefreshRequest2) { + FoldingRangeRefreshRequest2.method = `workspace/foldingRange/refresh`; + FoldingRangeRefreshRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + FoldingRangeRefreshRequest2.type = new messages_1.ProtocolRequestType0(FoldingRangeRefreshRequest2.method); + })(FoldingRangeRefreshRequest || (exports2.FoldingRangeRefreshRequest = FoldingRangeRefreshRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +var require_protocol_declaration = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DeclarationRequest = void 0; + var messages_1 = require_messages2(); + var DeclarationRequest; + (function(DeclarationRequest2) { + DeclarationRequest2.method = "textDocument/declaration"; + DeclarationRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DeclarationRequest2.type = new messages_1.ProtocolRequestType(DeclarationRequest2.method); + })(DeclarationRequest || (exports2.DeclarationRequest = DeclarationRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +var require_protocol_selectionRange = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.SelectionRangeRequest = void 0; + var messages_1 = require_messages2(); + var SelectionRangeRequest; + (function(SelectionRangeRequest2) { + SelectionRangeRequest2.method = "textDocument/selectionRange"; + SelectionRangeRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + SelectionRangeRequest2.type = new messages_1.ProtocolRequestType(SelectionRangeRequest2.method); + })(SelectionRangeRequest || (exports2.SelectionRangeRequest = SelectionRangeRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +var require_protocol_progress = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.WorkDoneProgressCancelNotification = exports2.WorkDoneProgressCreateRequest = exports2.WorkDoneProgress = void 0; + var vscode_jsonrpc_1 = require_main(); + var messages_1 = require_messages2(); + var WorkDoneProgress; + (function(WorkDoneProgress2) { + WorkDoneProgress2.type = new vscode_jsonrpc_1.ProgressType(); + function is(value) { + return value === WorkDoneProgress2.type; + } + WorkDoneProgress2.is = is; + })(WorkDoneProgress || (exports2.WorkDoneProgress = WorkDoneProgress = {})); + var WorkDoneProgressCreateRequest; + (function(WorkDoneProgressCreateRequest2) { + WorkDoneProgressCreateRequest2.method = "window/workDoneProgress/create"; + WorkDoneProgressCreateRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + WorkDoneProgressCreateRequest2.type = new messages_1.ProtocolRequestType(WorkDoneProgressCreateRequest2.method); + })(WorkDoneProgressCreateRequest || (exports2.WorkDoneProgressCreateRequest = WorkDoneProgressCreateRequest = {})); + var WorkDoneProgressCancelNotification; + (function(WorkDoneProgressCancelNotification2) { + WorkDoneProgressCancelNotification2.method = "window/workDoneProgress/cancel"; + WorkDoneProgressCancelNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + WorkDoneProgressCancelNotification2.type = new messages_1.ProtocolNotificationType(WorkDoneProgressCancelNotification2.method); + })(WorkDoneProgressCancelNotification || (exports2.WorkDoneProgressCancelNotification = WorkDoneProgressCancelNotification = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +var require_protocol_callHierarchy = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.CallHierarchyOutgoingCallsRequest = exports2.CallHierarchyIncomingCallsRequest = exports2.CallHierarchyPrepareRequest = void 0; + var messages_1 = require_messages2(); + var CallHierarchyPrepareRequest; + (function(CallHierarchyPrepareRequest2) { + CallHierarchyPrepareRequest2.method = "textDocument/prepareCallHierarchy"; + CallHierarchyPrepareRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CallHierarchyPrepareRequest2.type = new messages_1.ProtocolRequestType(CallHierarchyPrepareRequest2.method); + })(CallHierarchyPrepareRequest || (exports2.CallHierarchyPrepareRequest = CallHierarchyPrepareRequest = {})); + var CallHierarchyIncomingCallsRequest; + (function(CallHierarchyIncomingCallsRequest2) { + CallHierarchyIncomingCallsRequest2.method = "callHierarchy/incomingCalls"; + CallHierarchyIncomingCallsRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CallHierarchyIncomingCallsRequest2.type = new messages_1.ProtocolRequestType(CallHierarchyIncomingCallsRequest2.method); + })(CallHierarchyIncomingCallsRequest || (exports2.CallHierarchyIncomingCallsRequest = CallHierarchyIncomingCallsRequest = {})); + var CallHierarchyOutgoingCallsRequest; + (function(CallHierarchyOutgoingCallsRequest2) { + CallHierarchyOutgoingCallsRequest2.method = "callHierarchy/outgoingCalls"; + CallHierarchyOutgoingCallsRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CallHierarchyOutgoingCallsRequest2.type = new messages_1.ProtocolRequestType(CallHierarchyOutgoingCallsRequest2.method); + })(CallHierarchyOutgoingCallsRequest || (exports2.CallHierarchyOutgoingCallsRequest = CallHierarchyOutgoingCallsRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +var require_protocol_semanticTokens = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.SemanticTokensRefreshRequest = exports2.SemanticTokensRangeRequest = exports2.SemanticTokensDeltaRequest = exports2.SemanticTokensRequest = exports2.SemanticTokensRegistrationType = exports2.TokenFormat = void 0; + var messages_1 = require_messages2(); + var TokenFormat; + (function(TokenFormat2) { + TokenFormat2.Relative = "relative"; + })(TokenFormat || (exports2.TokenFormat = TokenFormat = {})); + var SemanticTokensRegistrationType; + (function(SemanticTokensRegistrationType2) { + SemanticTokensRegistrationType2.method = "textDocument/semanticTokens"; + SemanticTokensRegistrationType2.type = new messages_1.RegistrationType(SemanticTokensRegistrationType2.method); + })(SemanticTokensRegistrationType || (exports2.SemanticTokensRegistrationType = SemanticTokensRegistrationType = {})); + var SemanticTokensRequest; + (function(SemanticTokensRequest2) { + SemanticTokensRequest2.method = "textDocument/semanticTokens/full"; + SemanticTokensRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + SemanticTokensRequest2.type = new messages_1.ProtocolRequestType(SemanticTokensRequest2.method); + SemanticTokensRequest2.registrationMethod = SemanticTokensRegistrationType.method; + })(SemanticTokensRequest || (exports2.SemanticTokensRequest = SemanticTokensRequest = {})); + var SemanticTokensDeltaRequest; + (function(SemanticTokensDeltaRequest2) { + SemanticTokensDeltaRequest2.method = "textDocument/semanticTokens/full/delta"; + SemanticTokensDeltaRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + SemanticTokensDeltaRequest2.type = new messages_1.ProtocolRequestType(SemanticTokensDeltaRequest2.method); + SemanticTokensDeltaRequest2.registrationMethod = SemanticTokensRegistrationType.method; + })(SemanticTokensDeltaRequest || (exports2.SemanticTokensDeltaRequest = SemanticTokensDeltaRequest = {})); + var SemanticTokensRangeRequest; + (function(SemanticTokensRangeRequest2) { + SemanticTokensRangeRequest2.method = "textDocument/semanticTokens/range"; + SemanticTokensRangeRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + SemanticTokensRangeRequest2.type = new messages_1.ProtocolRequestType(SemanticTokensRangeRequest2.method); + SemanticTokensRangeRequest2.registrationMethod = SemanticTokensRegistrationType.method; + })(SemanticTokensRangeRequest || (exports2.SemanticTokensRangeRequest = SemanticTokensRangeRequest = {})); + var SemanticTokensRefreshRequest; + (function(SemanticTokensRefreshRequest2) { + SemanticTokensRefreshRequest2.method = `workspace/semanticTokens/refresh`; + SemanticTokensRefreshRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + SemanticTokensRefreshRequest2.type = new messages_1.ProtocolRequestType0(SemanticTokensRefreshRequest2.method); + })(SemanticTokensRefreshRequest || (exports2.SemanticTokensRefreshRequest = SemanticTokensRefreshRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +var require_protocol_showDocument = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ShowDocumentRequest = void 0; + var messages_1 = require_messages2(); + var ShowDocumentRequest; + (function(ShowDocumentRequest2) { + ShowDocumentRequest2.method = "window/showDocument"; + ShowDocumentRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + ShowDocumentRequest2.type = new messages_1.ProtocolRequestType(ShowDocumentRequest2.method); + })(ShowDocumentRequest || (exports2.ShowDocumentRequest = ShowDocumentRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +var require_protocol_linkedEditingRange = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.LinkedEditingRangeRequest = void 0; + var messages_1 = require_messages2(); + var LinkedEditingRangeRequest; + (function(LinkedEditingRangeRequest2) { + LinkedEditingRangeRequest2.method = "textDocument/linkedEditingRange"; + LinkedEditingRangeRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + LinkedEditingRangeRequest2.type = new messages_1.ProtocolRequestType(LinkedEditingRangeRequest2.method); + })(LinkedEditingRangeRequest || (exports2.LinkedEditingRangeRequest = LinkedEditingRangeRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +var require_protocol_fileOperations = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.WillDeleteFilesRequest = exports2.DidDeleteFilesNotification = exports2.DidRenameFilesNotification = exports2.WillRenameFilesRequest = exports2.DidCreateFilesNotification = exports2.WillCreateFilesRequest = exports2.FileOperationPatternKind = void 0; + var messages_1 = require_messages2(); + var FileOperationPatternKind; + (function(FileOperationPatternKind2) { + FileOperationPatternKind2.file = "file"; + FileOperationPatternKind2.folder = "folder"; + })(FileOperationPatternKind || (exports2.FileOperationPatternKind = FileOperationPatternKind = {})); + var WillCreateFilesRequest; + (function(WillCreateFilesRequest2) { + WillCreateFilesRequest2.method = "workspace/willCreateFiles"; + WillCreateFilesRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + WillCreateFilesRequest2.type = new messages_1.ProtocolRequestType(WillCreateFilesRequest2.method); + })(WillCreateFilesRequest || (exports2.WillCreateFilesRequest = WillCreateFilesRequest = {})); + var DidCreateFilesNotification; + (function(DidCreateFilesNotification2) { + DidCreateFilesNotification2.method = "workspace/didCreateFiles"; + DidCreateFilesNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidCreateFilesNotification2.type = new messages_1.ProtocolNotificationType(DidCreateFilesNotification2.method); + })(DidCreateFilesNotification || (exports2.DidCreateFilesNotification = DidCreateFilesNotification = {})); + var WillRenameFilesRequest; + (function(WillRenameFilesRequest2) { + WillRenameFilesRequest2.method = "workspace/willRenameFiles"; + WillRenameFilesRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + WillRenameFilesRequest2.type = new messages_1.ProtocolRequestType(WillRenameFilesRequest2.method); + })(WillRenameFilesRequest || (exports2.WillRenameFilesRequest = WillRenameFilesRequest = {})); + var DidRenameFilesNotification; + (function(DidRenameFilesNotification2) { + DidRenameFilesNotification2.method = "workspace/didRenameFiles"; + DidRenameFilesNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidRenameFilesNotification2.type = new messages_1.ProtocolNotificationType(DidRenameFilesNotification2.method); + })(DidRenameFilesNotification || (exports2.DidRenameFilesNotification = DidRenameFilesNotification = {})); + var DidDeleteFilesNotification; + (function(DidDeleteFilesNotification2) { + DidDeleteFilesNotification2.method = "workspace/didDeleteFiles"; + DidDeleteFilesNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidDeleteFilesNotification2.type = new messages_1.ProtocolNotificationType(DidDeleteFilesNotification2.method); + })(DidDeleteFilesNotification || (exports2.DidDeleteFilesNotification = DidDeleteFilesNotification = {})); + var WillDeleteFilesRequest; + (function(WillDeleteFilesRequest2) { + WillDeleteFilesRequest2.method = "workspace/willDeleteFiles"; + WillDeleteFilesRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + WillDeleteFilesRequest2.type = new messages_1.ProtocolRequestType(WillDeleteFilesRequest2.method); + })(WillDeleteFilesRequest || (exports2.WillDeleteFilesRequest = WillDeleteFilesRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +var require_protocol_moniker = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.MonikerRequest = exports2.MonikerKind = exports2.UniquenessLevel = void 0; + var messages_1 = require_messages2(); + var UniquenessLevel; + (function(UniquenessLevel2) { + UniquenessLevel2.document = "document"; + UniquenessLevel2.project = "project"; + UniquenessLevel2.group = "group"; + UniquenessLevel2.scheme = "scheme"; + UniquenessLevel2.global = "global"; + })(UniquenessLevel || (exports2.UniquenessLevel = UniquenessLevel = {})); + var MonikerKind; + (function(MonikerKind2) { + MonikerKind2.$import = "import"; + MonikerKind2.$export = "export"; + MonikerKind2.local = "local"; + })(MonikerKind || (exports2.MonikerKind = MonikerKind = {})); + var MonikerRequest; + (function(MonikerRequest2) { + MonikerRequest2.method = "textDocument/moniker"; + MonikerRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + MonikerRequest2.type = new messages_1.ProtocolRequestType(MonikerRequest2.method); + })(MonikerRequest || (exports2.MonikerRequest = MonikerRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +var require_protocol_typeHierarchy = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.TypeHierarchySubtypesRequest = exports2.TypeHierarchySupertypesRequest = exports2.TypeHierarchyPrepareRequest = void 0; + var messages_1 = require_messages2(); + var TypeHierarchyPrepareRequest; + (function(TypeHierarchyPrepareRequest2) { + TypeHierarchyPrepareRequest2.method = "textDocument/prepareTypeHierarchy"; + TypeHierarchyPrepareRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + TypeHierarchyPrepareRequest2.type = new messages_1.ProtocolRequestType(TypeHierarchyPrepareRequest2.method); + })(TypeHierarchyPrepareRequest || (exports2.TypeHierarchyPrepareRequest = TypeHierarchyPrepareRequest = {})); + var TypeHierarchySupertypesRequest; + (function(TypeHierarchySupertypesRequest2) { + TypeHierarchySupertypesRequest2.method = "typeHierarchy/supertypes"; + TypeHierarchySupertypesRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + TypeHierarchySupertypesRequest2.type = new messages_1.ProtocolRequestType(TypeHierarchySupertypesRequest2.method); + })(TypeHierarchySupertypesRequest || (exports2.TypeHierarchySupertypesRequest = TypeHierarchySupertypesRequest = {})); + var TypeHierarchySubtypesRequest; + (function(TypeHierarchySubtypesRequest2) { + TypeHierarchySubtypesRequest2.method = "typeHierarchy/subtypes"; + TypeHierarchySubtypesRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + TypeHierarchySubtypesRequest2.type = new messages_1.ProtocolRequestType(TypeHierarchySubtypesRequest2.method); + })(TypeHierarchySubtypesRequest || (exports2.TypeHierarchySubtypesRequest = TypeHierarchySubtypesRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +var require_protocol_inlineValue = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.InlineValueRefreshRequest = exports2.InlineValueRequest = void 0; + var messages_1 = require_messages2(); + var InlineValueRequest; + (function(InlineValueRequest2) { + InlineValueRequest2.method = "textDocument/inlineValue"; + InlineValueRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + InlineValueRequest2.type = new messages_1.ProtocolRequestType(InlineValueRequest2.method); + })(InlineValueRequest || (exports2.InlineValueRequest = InlineValueRequest = {})); + var InlineValueRefreshRequest; + (function(InlineValueRefreshRequest2) { + InlineValueRefreshRequest2.method = `workspace/inlineValue/refresh`; + InlineValueRefreshRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + InlineValueRefreshRequest2.type = new messages_1.ProtocolRequestType0(InlineValueRefreshRequest2.method); + })(InlineValueRefreshRequest || (exports2.InlineValueRefreshRequest = InlineValueRefreshRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +var require_protocol_inlayHint = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.InlayHintRefreshRequest = exports2.InlayHintResolveRequest = exports2.InlayHintRequest = void 0; + var messages_1 = require_messages2(); + var InlayHintRequest; + (function(InlayHintRequest2) { + InlayHintRequest2.method = "textDocument/inlayHint"; + InlayHintRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + InlayHintRequest2.type = new messages_1.ProtocolRequestType(InlayHintRequest2.method); + })(InlayHintRequest || (exports2.InlayHintRequest = InlayHintRequest = {})); + var InlayHintResolveRequest; + (function(InlayHintResolveRequest2) { + InlayHintResolveRequest2.method = "inlayHint/resolve"; + InlayHintResolveRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + InlayHintResolveRequest2.type = new messages_1.ProtocolRequestType(InlayHintResolveRequest2.method); + })(InlayHintResolveRequest || (exports2.InlayHintResolveRequest = InlayHintResolveRequest = {})); + var InlayHintRefreshRequest; + (function(InlayHintRefreshRequest2) { + InlayHintRefreshRequest2.method = `workspace/inlayHint/refresh`; + InlayHintRefreshRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + InlayHintRefreshRequest2.type = new messages_1.ProtocolRequestType0(InlayHintRefreshRequest2.method); + })(InlayHintRefreshRequest || (exports2.InlayHintRefreshRequest = InlayHintRefreshRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +var require_protocol_diagnostic = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DiagnosticRefreshRequest = exports2.WorkspaceDiagnosticRequest = exports2.DocumentDiagnosticRequest = exports2.DocumentDiagnosticReportKind = exports2.DiagnosticServerCancellationData = void 0; + var vscode_jsonrpc_1 = require_main(); + var Is = require_is3(); + var messages_1 = require_messages2(); + var DiagnosticServerCancellationData; + (function(DiagnosticServerCancellationData2) { + function is(value) { + const candidate = value; + return candidate && Is.boolean(candidate.retriggerRequest); + } + DiagnosticServerCancellationData2.is = is; + })(DiagnosticServerCancellationData || (exports2.DiagnosticServerCancellationData = DiagnosticServerCancellationData = {})); + var DocumentDiagnosticReportKind; + (function(DocumentDiagnosticReportKind2) { + DocumentDiagnosticReportKind2.Full = "full"; + DocumentDiagnosticReportKind2.Unchanged = "unchanged"; + })(DocumentDiagnosticReportKind || (exports2.DocumentDiagnosticReportKind = DocumentDiagnosticReportKind = {})); + var DocumentDiagnosticRequest; + (function(DocumentDiagnosticRequest2) { + DocumentDiagnosticRequest2.method = "textDocument/diagnostic"; + DocumentDiagnosticRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentDiagnosticRequest2.type = new messages_1.ProtocolRequestType(DocumentDiagnosticRequest2.method); + DocumentDiagnosticRequest2.partialResult = new vscode_jsonrpc_1.ProgressType(); + })(DocumentDiagnosticRequest || (exports2.DocumentDiagnosticRequest = DocumentDiagnosticRequest = {})); + var WorkspaceDiagnosticRequest; + (function(WorkspaceDiagnosticRequest2) { + WorkspaceDiagnosticRequest2.method = "workspace/diagnostic"; + WorkspaceDiagnosticRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + WorkspaceDiagnosticRequest2.type = new messages_1.ProtocolRequestType(WorkspaceDiagnosticRequest2.method); + WorkspaceDiagnosticRequest2.partialResult = new vscode_jsonrpc_1.ProgressType(); + })(WorkspaceDiagnosticRequest || (exports2.WorkspaceDiagnosticRequest = WorkspaceDiagnosticRequest = {})); + var DiagnosticRefreshRequest; + (function(DiagnosticRefreshRequest2) { + DiagnosticRefreshRequest2.method = `workspace/diagnostic/refresh`; + DiagnosticRefreshRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + DiagnosticRefreshRequest2.type = new messages_1.ProtocolRequestType0(DiagnosticRefreshRequest2.method); + })(DiagnosticRefreshRequest || (exports2.DiagnosticRefreshRequest = DiagnosticRefreshRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +var require_protocol_notebook = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DidCloseNotebookDocumentNotification = exports2.DidSaveNotebookDocumentNotification = exports2.DidChangeNotebookDocumentNotification = exports2.NotebookCellArrayChange = exports2.DidOpenNotebookDocumentNotification = exports2.NotebookDocumentSyncRegistrationType = exports2.NotebookDocument = exports2.NotebookCell = exports2.ExecutionSummary = exports2.NotebookCellKind = void 0; + var vscode_languageserver_types_1 = require_main2(); + var Is = require_is3(); + var messages_1 = require_messages2(); + var NotebookCellKind; + (function(NotebookCellKind2) { + NotebookCellKind2.Markup = 1; + NotebookCellKind2.Code = 2; + function is(value) { + return value === 1 || value === 2; + } + NotebookCellKind2.is = is; + })(NotebookCellKind || (exports2.NotebookCellKind = NotebookCellKind = {})); + var ExecutionSummary; + (function(ExecutionSummary2) { + function create(executionOrder, success) { + const result = { executionOrder }; + if (success === true || success === false) { + result.success = success; + } + return result; + } + ExecutionSummary2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && vscode_languageserver_types_1.uinteger.is(candidate.executionOrder) && (candidate.success === void 0 || Is.boolean(candidate.success)); + } + ExecutionSummary2.is = is; + function equals(one, other) { + if (one === other) { + return true; + } + if (one === null || one === void 0 || other === null || other === void 0) { + return false; + } + return one.executionOrder === other.executionOrder && one.success === other.success; + } + ExecutionSummary2.equals = equals; + })(ExecutionSummary || (exports2.ExecutionSummary = ExecutionSummary = {})); + var NotebookCell; + (function(NotebookCell2) { + function create(kind, document) { + return { kind, document }; + } + NotebookCell2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && NotebookCellKind.is(candidate.kind) && vscode_languageserver_types_1.DocumentUri.is(candidate.document) && (candidate.metadata === void 0 || Is.objectLiteral(candidate.metadata)); + } + NotebookCell2.is = is; + function diff(one, two) { + const result = /* @__PURE__ */ new Set(); + if (one.document !== two.document) { + result.add("document"); + } + if (one.kind !== two.kind) { + result.add("kind"); + } + if (one.executionSummary !== two.executionSummary) { + result.add("executionSummary"); + } + if ((one.metadata !== void 0 || two.metadata !== void 0) && !equalsMetadata(one.metadata, two.metadata)) { + result.add("metadata"); + } + if ((one.executionSummary !== void 0 || two.executionSummary !== void 0) && !ExecutionSummary.equals(one.executionSummary, two.executionSummary)) { + result.add("executionSummary"); + } + return result; + } + NotebookCell2.diff = diff; + function equalsMetadata(one, other) { + if (one === other) { + return true; + } + if (one === null || one === void 0 || other === null || other === void 0) { + return false; + } + if (typeof one !== typeof other) { + return false; + } + if (typeof one !== "object") { + return false; + } + const oneArray = Array.isArray(one); + const otherArray = Array.isArray(other); + if (oneArray !== otherArray) { + return false; + } + if (oneArray && otherArray) { + if (one.length !== other.length) { + return false; + } + for (let i = 0; i < one.length; i++) { + if (!equalsMetadata(one[i], other[i])) { + return false; + } + } + } + if (Is.objectLiteral(one) && Is.objectLiteral(other)) { + const oneKeys = Object.keys(one); + const otherKeys = Object.keys(other); + if (oneKeys.length !== otherKeys.length) { + return false; + } + oneKeys.sort(); + otherKeys.sort(); + if (!equalsMetadata(oneKeys, otherKeys)) { + return false; + } + for (let i = 0; i < oneKeys.length; i++) { + const prop = oneKeys[i]; + if (!equalsMetadata(one[prop], other[prop])) { + return false; + } + } + } + return true; + } + })(NotebookCell || (exports2.NotebookCell = NotebookCell = {})); + var NotebookDocument; + (function(NotebookDocument2) { + function create(uri, notebookType, version, cells) { + return { uri, notebookType, version, cells }; + } + NotebookDocument2.create = create; + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && Is.string(candidate.uri) && vscode_languageserver_types_1.integer.is(candidate.version) && Is.typedArray(candidate.cells, NotebookCell.is); + } + NotebookDocument2.is = is; + })(NotebookDocument || (exports2.NotebookDocument = NotebookDocument = {})); + var NotebookDocumentSyncRegistrationType; + (function(NotebookDocumentSyncRegistrationType2) { + NotebookDocumentSyncRegistrationType2.method = "notebookDocument/sync"; + NotebookDocumentSyncRegistrationType2.messageDirection = messages_1.MessageDirection.clientToServer; + NotebookDocumentSyncRegistrationType2.type = new messages_1.RegistrationType(NotebookDocumentSyncRegistrationType2.method); + })(NotebookDocumentSyncRegistrationType || (exports2.NotebookDocumentSyncRegistrationType = NotebookDocumentSyncRegistrationType = {})); + var DidOpenNotebookDocumentNotification; + (function(DidOpenNotebookDocumentNotification2) { + DidOpenNotebookDocumentNotification2.method = "notebookDocument/didOpen"; + DidOpenNotebookDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidOpenNotebookDocumentNotification2.type = new messages_1.ProtocolNotificationType(DidOpenNotebookDocumentNotification2.method); + DidOpenNotebookDocumentNotification2.registrationMethod = NotebookDocumentSyncRegistrationType.method; + })(DidOpenNotebookDocumentNotification || (exports2.DidOpenNotebookDocumentNotification = DidOpenNotebookDocumentNotification = {})); + var NotebookCellArrayChange; + (function(NotebookCellArrayChange2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && vscode_languageserver_types_1.uinteger.is(candidate.start) && vscode_languageserver_types_1.uinteger.is(candidate.deleteCount) && (candidate.cells === void 0 || Is.typedArray(candidate.cells, NotebookCell.is)); + } + NotebookCellArrayChange2.is = is; + function create(start, deleteCount, cells) { + const result = { start, deleteCount }; + if (cells !== void 0) { + result.cells = cells; + } + return result; + } + NotebookCellArrayChange2.create = create; + })(NotebookCellArrayChange || (exports2.NotebookCellArrayChange = NotebookCellArrayChange = {})); + var DidChangeNotebookDocumentNotification; + (function(DidChangeNotebookDocumentNotification2) { + DidChangeNotebookDocumentNotification2.method = "notebookDocument/didChange"; + DidChangeNotebookDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidChangeNotebookDocumentNotification2.type = new messages_1.ProtocolNotificationType(DidChangeNotebookDocumentNotification2.method); + DidChangeNotebookDocumentNotification2.registrationMethod = NotebookDocumentSyncRegistrationType.method; + })(DidChangeNotebookDocumentNotification || (exports2.DidChangeNotebookDocumentNotification = DidChangeNotebookDocumentNotification = {})); + var DidSaveNotebookDocumentNotification; + (function(DidSaveNotebookDocumentNotification2) { + DidSaveNotebookDocumentNotification2.method = "notebookDocument/didSave"; + DidSaveNotebookDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidSaveNotebookDocumentNotification2.type = new messages_1.ProtocolNotificationType(DidSaveNotebookDocumentNotification2.method); + DidSaveNotebookDocumentNotification2.registrationMethod = NotebookDocumentSyncRegistrationType.method; + })(DidSaveNotebookDocumentNotification || (exports2.DidSaveNotebookDocumentNotification = DidSaveNotebookDocumentNotification = {})); + var DidCloseNotebookDocumentNotification; + (function(DidCloseNotebookDocumentNotification2) { + DidCloseNotebookDocumentNotification2.method = "notebookDocument/didClose"; + DidCloseNotebookDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidCloseNotebookDocumentNotification2.type = new messages_1.ProtocolNotificationType(DidCloseNotebookDocumentNotification2.method); + DidCloseNotebookDocumentNotification2.registrationMethod = NotebookDocumentSyncRegistrationType.method; + })(DidCloseNotebookDocumentNotification || (exports2.DidCloseNotebookDocumentNotification = DidCloseNotebookDocumentNotification = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +var require_protocol_inlineCompletion = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.InlineCompletionRequest = void 0; + var messages_1 = require_messages2(); + var InlineCompletionRequest; + (function(InlineCompletionRequest2) { + InlineCompletionRequest2.method = "textDocument/inlineCompletion"; + InlineCompletionRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + InlineCompletionRequest2.type = new messages_1.ProtocolRequestType(InlineCompletionRequest2.method); + })(InlineCompletionRequest || (exports2.InlineCompletionRequest = InlineCompletionRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +var require_protocol = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.WorkspaceSymbolRequest = exports2.CodeActionResolveRequest = exports2.CodeActionRequest = exports2.DocumentSymbolRequest = exports2.DocumentHighlightRequest = exports2.ReferencesRequest = exports2.DefinitionRequest = exports2.SignatureHelpRequest = exports2.SignatureHelpTriggerKind = exports2.HoverRequest = exports2.CompletionResolveRequest = exports2.CompletionRequest = exports2.CompletionTriggerKind = exports2.PublishDiagnosticsNotification = exports2.WatchKind = exports2.RelativePattern = exports2.FileChangeType = exports2.DidChangeWatchedFilesNotification = exports2.WillSaveTextDocumentWaitUntilRequest = exports2.WillSaveTextDocumentNotification = exports2.TextDocumentSaveReason = exports2.DidSaveTextDocumentNotification = exports2.DidCloseTextDocumentNotification = exports2.DidChangeTextDocumentNotification = exports2.TextDocumentContentChangeEvent = exports2.DidOpenTextDocumentNotification = exports2.TextDocumentSyncKind = exports2.TelemetryEventNotification = exports2.LogMessageNotification = exports2.ShowMessageRequest = exports2.ShowMessageNotification = exports2.MessageType = exports2.DidChangeConfigurationNotification = exports2.ExitNotification = exports2.ShutdownRequest = exports2.InitializedNotification = exports2.InitializeErrorCodes = exports2.InitializeRequest = exports2.WorkDoneProgressOptions = exports2.TextDocumentRegistrationOptions = exports2.StaticRegistrationOptions = exports2.PositionEncodingKind = exports2.FailureHandlingKind = exports2.ResourceOperationKind = exports2.UnregistrationRequest = exports2.RegistrationRequest = exports2.DocumentSelector = exports2.NotebookCellTextDocumentFilter = exports2.NotebookDocumentFilter = exports2.TextDocumentFilter = void 0; + exports2.MonikerRequest = exports2.MonikerKind = exports2.UniquenessLevel = exports2.WillDeleteFilesRequest = exports2.DidDeleteFilesNotification = exports2.WillRenameFilesRequest = exports2.DidRenameFilesNotification = exports2.WillCreateFilesRequest = exports2.DidCreateFilesNotification = exports2.FileOperationPatternKind = exports2.LinkedEditingRangeRequest = exports2.ShowDocumentRequest = exports2.SemanticTokensRegistrationType = exports2.SemanticTokensRefreshRequest = exports2.SemanticTokensRangeRequest = exports2.SemanticTokensDeltaRequest = exports2.SemanticTokensRequest = exports2.TokenFormat = exports2.CallHierarchyPrepareRequest = exports2.CallHierarchyOutgoingCallsRequest = exports2.CallHierarchyIncomingCallsRequest = exports2.WorkDoneProgressCancelNotification = exports2.WorkDoneProgressCreateRequest = exports2.WorkDoneProgress = exports2.SelectionRangeRequest = exports2.DeclarationRequest = exports2.FoldingRangeRefreshRequest = exports2.FoldingRangeRequest = exports2.ColorPresentationRequest = exports2.DocumentColorRequest = exports2.ConfigurationRequest = exports2.DidChangeWorkspaceFoldersNotification = exports2.WorkspaceFoldersRequest = exports2.TypeDefinitionRequest = exports2.ImplementationRequest = exports2.ApplyWorkspaceEditRequest = exports2.ExecuteCommandRequest = exports2.PrepareRenameRequest = exports2.RenameRequest = exports2.PrepareSupportDefaultBehavior = exports2.DocumentOnTypeFormattingRequest = exports2.DocumentRangesFormattingRequest = exports2.DocumentRangeFormattingRequest = exports2.DocumentFormattingRequest = exports2.DocumentLinkResolveRequest = exports2.DocumentLinkRequest = exports2.CodeLensRefreshRequest = exports2.CodeLensResolveRequest = exports2.CodeLensRequest = exports2.WorkspaceSymbolResolveRequest = void 0; + exports2.InlineCompletionRequest = exports2.DidCloseNotebookDocumentNotification = exports2.DidSaveNotebookDocumentNotification = exports2.DidChangeNotebookDocumentNotification = exports2.NotebookCellArrayChange = exports2.DidOpenNotebookDocumentNotification = exports2.NotebookDocumentSyncRegistrationType = exports2.NotebookDocument = exports2.NotebookCell = exports2.ExecutionSummary = exports2.NotebookCellKind = exports2.DiagnosticRefreshRequest = exports2.WorkspaceDiagnosticRequest = exports2.DocumentDiagnosticRequest = exports2.DocumentDiagnosticReportKind = exports2.DiagnosticServerCancellationData = exports2.InlayHintRefreshRequest = exports2.InlayHintResolveRequest = exports2.InlayHintRequest = exports2.InlineValueRefreshRequest = exports2.InlineValueRequest = exports2.TypeHierarchySupertypesRequest = exports2.TypeHierarchySubtypesRequest = exports2.TypeHierarchyPrepareRequest = void 0; + var messages_1 = require_messages2(); + var vscode_languageserver_types_1 = require_main2(); + var Is = require_is3(); + var protocol_implementation_1 = require_protocol_implementation(); + Object.defineProperty(exports2, "ImplementationRequest", { enumerable: true, get: function() { + return protocol_implementation_1.ImplementationRequest; + } }); + var protocol_typeDefinition_1 = require_protocol_typeDefinition(); + Object.defineProperty(exports2, "TypeDefinitionRequest", { enumerable: true, get: function() { + return protocol_typeDefinition_1.TypeDefinitionRequest; + } }); + var protocol_workspaceFolder_1 = require_protocol_workspaceFolder(); + Object.defineProperty(exports2, "WorkspaceFoldersRequest", { enumerable: true, get: function() { + return protocol_workspaceFolder_1.WorkspaceFoldersRequest; + } }); + Object.defineProperty(exports2, "DidChangeWorkspaceFoldersNotification", { enumerable: true, get: function() { + return protocol_workspaceFolder_1.DidChangeWorkspaceFoldersNotification; + } }); + var protocol_configuration_1 = require_protocol_configuration(); + Object.defineProperty(exports2, "ConfigurationRequest", { enumerable: true, get: function() { + return protocol_configuration_1.ConfigurationRequest; + } }); + var protocol_colorProvider_1 = require_protocol_colorProvider(); + Object.defineProperty(exports2, "DocumentColorRequest", { enumerable: true, get: function() { + return protocol_colorProvider_1.DocumentColorRequest; + } }); + Object.defineProperty(exports2, "ColorPresentationRequest", { enumerable: true, get: function() { + return protocol_colorProvider_1.ColorPresentationRequest; + } }); + var protocol_foldingRange_1 = require_protocol_foldingRange(); + Object.defineProperty(exports2, "FoldingRangeRequest", { enumerable: true, get: function() { + return protocol_foldingRange_1.FoldingRangeRequest; + } }); + Object.defineProperty(exports2, "FoldingRangeRefreshRequest", { enumerable: true, get: function() { + return protocol_foldingRange_1.FoldingRangeRefreshRequest; + } }); + var protocol_declaration_1 = require_protocol_declaration(); + Object.defineProperty(exports2, "DeclarationRequest", { enumerable: true, get: function() { + return protocol_declaration_1.DeclarationRequest; + } }); + var protocol_selectionRange_1 = require_protocol_selectionRange(); + Object.defineProperty(exports2, "SelectionRangeRequest", { enumerable: true, get: function() { + return protocol_selectionRange_1.SelectionRangeRequest; + } }); + var protocol_progress_1 = require_protocol_progress(); + Object.defineProperty(exports2, "WorkDoneProgress", { enumerable: true, get: function() { + return protocol_progress_1.WorkDoneProgress; + } }); + Object.defineProperty(exports2, "WorkDoneProgressCreateRequest", { enumerable: true, get: function() { + return protocol_progress_1.WorkDoneProgressCreateRequest; + } }); + Object.defineProperty(exports2, "WorkDoneProgressCancelNotification", { enumerable: true, get: function() { + return protocol_progress_1.WorkDoneProgressCancelNotification; + } }); + var protocol_callHierarchy_1 = require_protocol_callHierarchy(); + Object.defineProperty(exports2, "CallHierarchyIncomingCallsRequest", { enumerable: true, get: function() { + return protocol_callHierarchy_1.CallHierarchyIncomingCallsRequest; + } }); + Object.defineProperty(exports2, "CallHierarchyOutgoingCallsRequest", { enumerable: true, get: function() { + return protocol_callHierarchy_1.CallHierarchyOutgoingCallsRequest; + } }); + Object.defineProperty(exports2, "CallHierarchyPrepareRequest", { enumerable: true, get: function() { + return protocol_callHierarchy_1.CallHierarchyPrepareRequest; + } }); + var protocol_semanticTokens_1 = require_protocol_semanticTokens(); + Object.defineProperty(exports2, "TokenFormat", { enumerable: true, get: function() { + return protocol_semanticTokens_1.TokenFormat; + } }); + Object.defineProperty(exports2, "SemanticTokensRequest", { enumerable: true, get: function() { + return protocol_semanticTokens_1.SemanticTokensRequest; + } }); + Object.defineProperty(exports2, "SemanticTokensDeltaRequest", { enumerable: true, get: function() { + return protocol_semanticTokens_1.SemanticTokensDeltaRequest; + } }); + Object.defineProperty(exports2, "SemanticTokensRangeRequest", { enumerable: true, get: function() { + return protocol_semanticTokens_1.SemanticTokensRangeRequest; + } }); + Object.defineProperty(exports2, "SemanticTokensRefreshRequest", { enumerable: true, get: function() { + return protocol_semanticTokens_1.SemanticTokensRefreshRequest; + } }); + Object.defineProperty(exports2, "SemanticTokensRegistrationType", { enumerable: true, get: function() { + return protocol_semanticTokens_1.SemanticTokensRegistrationType; + } }); + var protocol_showDocument_1 = require_protocol_showDocument(); + Object.defineProperty(exports2, "ShowDocumentRequest", { enumerable: true, get: function() { + return protocol_showDocument_1.ShowDocumentRequest; + } }); + var protocol_linkedEditingRange_1 = require_protocol_linkedEditingRange(); + Object.defineProperty(exports2, "LinkedEditingRangeRequest", { enumerable: true, get: function() { + return protocol_linkedEditingRange_1.LinkedEditingRangeRequest; + } }); + var protocol_fileOperations_1 = require_protocol_fileOperations(); + Object.defineProperty(exports2, "FileOperationPatternKind", { enumerable: true, get: function() { + return protocol_fileOperations_1.FileOperationPatternKind; + } }); + Object.defineProperty(exports2, "DidCreateFilesNotification", { enumerable: true, get: function() { + return protocol_fileOperations_1.DidCreateFilesNotification; + } }); + Object.defineProperty(exports2, "WillCreateFilesRequest", { enumerable: true, get: function() { + return protocol_fileOperations_1.WillCreateFilesRequest; + } }); + Object.defineProperty(exports2, "DidRenameFilesNotification", { enumerable: true, get: function() { + return protocol_fileOperations_1.DidRenameFilesNotification; + } }); + Object.defineProperty(exports2, "WillRenameFilesRequest", { enumerable: true, get: function() { + return protocol_fileOperations_1.WillRenameFilesRequest; + } }); + Object.defineProperty(exports2, "DidDeleteFilesNotification", { enumerable: true, get: function() { + return protocol_fileOperations_1.DidDeleteFilesNotification; + } }); + Object.defineProperty(exports2, "WillDeleteFilesRequest", { enumerable: true, get: function() { + return protocol_fileOperations_1.WillDeleteFilesRequest; + } }); + var protocol_moniker_1 = require_protocol_moniker(); + Object.defineProperty(exports2, "UniquenessLevel", { enumerable: true, get: function() { + return protocol_moniker_1.UniquenessLevel; + } }); + Object.defineProperty(exports2, "MonikerKind", { enumerable: true, get: function() { + return protocol_moniker_1.MonikerKind; + } }); + Object.defineProperty(exports2, "MonikerRequest", { enumerable: true, get: function() { + return protocol_moniker_1.MonikerRequest; + } }); + var protocol_typeHierarchy_1 = require_protocol_typeHierarchy(); + Object.defineProperty(exports2, "TypeHierarchyPrepareRequest", { enumerable: true, get: function() { + return protocol_typeHierarchy_1.TypeHierarchyPrepareRequest; + } }); + Object.defineProperty(exports2, "TypeHierarchySubtypesRequest", { enumerable: true, get: function() { + return protocol_typeHierarchy_1.TypeHierarchySubtypesRequest; + } }); + Object.defineProperty(exports2, "TypeHierarchySupertypesRequest", { enumerable: true, get: function() { + return protocol_typeHierarchy_1.TypeHierarchySupertypesRequest; + } }); + var protocol_inlineValue_1 = require_protocol_inlineValue(); + Object.defineProperty(exports2, "InlineValueRequest", { enumerable: true, get: function() { + return protocol_inlineValue_1.InlineValueRequest; + } }); + Object.defineProperty(exports2, "InlineValueRefreshRequest", { enumerable: true, get: function() { + return protocol_inlineValue_1.InlineValueRefreshRequest; + } }); + var protocol_inlayHint_1 = require_protocol_inlayHint(); + Object.defineProperty(exports2, "InlayHintRequest", { enumerable: true, get: function() { + return protocol_inlayHint_1.InlayHintRequest; + } }); + Object.defineProperty(exports2, "InlayHintResolveRequest", { enumerable: true, get: function() { + return protocol_inlayHint_1.InlayHintResolveRequest; + } }); + Object.defineProperty(exports2, "InlayHintRefreshRequest", { enumerable: true, get: function() { + return protocol_inlayHint_1.InlayHintRefreshRequest; + } }); + var protocol_diagnostic_1 = require_protocol_diagnostic(); + Object.defineProperty(exports2, "DiagnosticServerCancellationData", { enumerable: true, get: function() { + return protocol_diagnostic_1.DiagnosticServerCancellationData; + } }); + Object.defineProperty(exports2, "DocumentDiagnosticReportKind", { enumerable: true, get: function() { + return protocol_diagnostic_1.DocumentDiagnosticReportKind; + } }); + Object.defineProperty(exports2, "DocumentDiagnosticRequest", { enumerable: true, get: function() { + return protocol_diagnostic_1.DocumentDiagnosticRequest; + } }); + Object.defineProperty(exports2, "WorkspaceDiagnosticRequest", { enumerable: true, get: function() { + return protocol_diagnostic_1.WorkspaceDiagnosticRequest; + } }); + Object.defineProperty(exports2, "DiagnosticRefreshRequest", { enumerable: true, get: function() { + return protocol_diagnostic_1.DiagnosticRefreshRequest; + } }); + var protocol_notebook_1 = require_protocol_notebook(); + Object.defineProperty(exports2, "NotebookCellKind", { enumerable: true, get: function() { + return protocol_notebook_1.NotebookCellKind; + } }); + Object.defineProperty(exports2, "ExecutionSummary", { enumerable: true, get: function() { + return protocol_notebook_1.ExecutionSummary; + } }); + Object.defineProperty(exports2, "NotebookCell", { enumerable: true, get: function() { + return protocol_notebook_1.NotebookCell; + } }); + Object.defineProperty(exports2, "NotebookDocument", { enumerable: true, get: function() { + return protocol_notebook_1.NotebookDocument; + } }); + Object.defineProperty(exports2, "NotebookDocumentSyncRegistrationType", { enumerable: true, get: function() { + return protocol_notebook_1.NotebookDocumentSyncRegistrationType; + } }); + Object.defineProperty(exports2, "DidOpenNotebookDocumentNotification", { enumerable: true, get: function() { + return protocol_notebook_1.DidOpenNotebookDocumentNotification; + } }); + Object.defineProperty(exports2, "NotebookCellArrayChange", { enumerable: true, get: function() { + return protocol_notebook_1.NotebookCellArrayChange; + } }); + Object.defineProperty(exports2, "DidChangeNotebookDocumentNotification", { enumerable: true, get: function() { + return protocol_notebook_1.DidChangeNotebookDocumentNotification; + } }); + Object.defineProperty(exports2, "DidSaveNotebookDocumentNotification", { enumerable: true, get: function() { + return protocol_notebook_1.DidSaveNotebookDocumentNotification; + } }); + Object.defineProperty(exports2, "DidCloseNotebookDocumentNotification", { enumerable: true, get: function() { + return protocol_notebook_1.DidCloseNotebookDocumentNotification; + } }); + var protocol_inlineCompletion_1 = require_protocol_inlineCompletion(); + Object.defineProperty(exports2, "InlineCompletionRequest", { enumerable: true, get: function() { + return protocol_inlineCompletion_1.InlineCompletionRequest; + } }); + var TextDocumentFilter; + (function(TextDocumentFilter2) { + function is(value) { + const candidate = value; + return Is.string(candidate) || (Is.string(candidate.language) || Is.string(candidate.scheme) || Is.string(candidate.pattern)); + } + TextDocumentFilter2.is = is; + })(TextDocumentFilter || (exports2.TextDocumentFilter = TextDocumentFilter = {})); + var NotebookDocumentFilter; + (function(NotebookDocumentFilter2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && (Is.string(candidate.notebookType) || Is.string(candidate.scheme) || Is.string(candidate.pattern)); + } + NotebookDocumentFilter2.is = is; + })(NotebookDocumentFilter || (exports2.NotebookDocumentFilter = NotebookDocumentFilter = {})); + var NotebookCellTextDocumentFilter; + (function(NotebookCellTextDocumentFilter2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && (Is.string(candidate.notebook) || NotebookDocumentFilter.is(candidate.notebook)) && (candidate.language === void 0 || Is.string(candidate.language)); + } + NotebookCellTextDocumentFilter2.is = is; + })(NotebookCellTextDocumentFilter || (exports2.NotebookCellTextDocumentFilter = NotebookCellTextDocumentFilter = {})); + var DocumentSelector; + (function(DocumentSelector2) { + function is(value) { + if (!Array.isArray(value)) { + return false; + } + for (let elem of value) { + if (!Is.string(elem) && !TextDocumentFilter.is(elem) && !NotebookCellTextDocumentFilter.is(elem)) { + return false; + } + } + return true; + } + DocumentSelector2.is = is; + })(DocumentSelector || (exports2.DocumentSelector = DocumentSelector = {})); + var RegistrationRequest; + (function(RegistrationRequest2) { + RegistrationRequest2.method = "client/registerCapability"; + RegistrationRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + RegistrationRequest2.type = new messages_1.ProtocolRequestType(RegistrationRequest2.method); + })(RegistrationRequest || (exports2.RegistrationRequest = RegistrationRequest = {})); + var UnregistrationRequest; + (function(UnregistrationRequest2) { + UnregistrationRequest2.method = "client/unregisterCapability"; + UnregistrationRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + UnregistrationRequest2.type = new messages_1.ProtocolRequestType(UnregistrationRequest2.method); + })(UnregistrationRequest || (exports2.UnregistrationRequest = UnregistrationRequest = {})); + var ResourceOperationKind; + (function(ResourceOperationKind2) { + ResourceOperationKind2.Create = "create"; + ResourceOperationKind2.Rename = "rename"; + ResourceOperationKind2.Delete = "delete"; + })(ResourceOperationKind || (exports2.ResourceOperationKind = ResourceOperationKind = {})); + var FailureHandlingKind; + (function(FailureHandlingKind2) { + FailureHandlingKind2.Abort = "abort"; + FailureHandlingKind2.Transactional = "transactional"; + FailureHandlingKind2.TextOnlyTransactional = "textOnlyTransactional"; + FailureHandlingKind2.Undo = "undo"; + })(FailureHandlingKind || (exports2.FailureHandlingKind = FailureHandlingKind = {})); + var PositionEncodingKind; + (function(PositionEncodingKind2) { + PositionEncodingKind2.UTF8 = "utf-8"; + PositionEncodingKind2.UTF16 = "utf-16"; + PositionEncodingKind2.UTF32 = "utf-32"; + })(PositionEncodingKind || (exports2.PositionEncodingKind = PositionEncodingKind = {})); + var StaticRegistrationOptions; + (function(StaticRegistrationOptions2) { + function hasId(value) { + const candidate = value; + return candidate && Is.string(candidate.id) && candidate.id.length > 0; + } + StaticRegistrationOptions2.hasId = hasId; + })(StaticRegistrationOptions || (exports2.StaticRegistrationOptions = StaticRegistrationOptions = {})); + var TextDocumentRegistrationOptions; + (function(TextDocumentRegistrationOptions2) { + function is(value) { + const candidate = value; + return candidate && (candidate.documentSelector === null || DocumentSelector.is(candidate.documentSelector)); + } + TextDocumentRegistrationOptions2.is = is; + })(TextDocumentRegistrationOptions || (exports2.TextDocumentRegistrationOptions = TextDocumentRegistrationOptions = {})); + var WorkDoneProgressOptions; + (function(WorkDoneProgressOptions2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && (candidate.workDoneProgress === void 0 || Is.boolean(candidate.workDoneProgress)); + } + WorkDoneProgressOptions2.is = is; + function hasWorkDoneProgress(value) { + const candidate = value; + return candidate && Is.boolean(candidate.workDoneProgress); + } + WorkDoneProgressOptions2.hasWorkDoneProgress = hasWorkDoneProgress; + })(WorkDoneProgressOptions || (exports2.WorkDoneProgressOptions = WorkDoneProgressOptions = {})); + var InitializeRequest; + (function(InitializeRequest2) { + InitializeRequest2.method = "initialize"; + InitializeRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + InitializeRequest2.type = new messages_1.ProtocolRequestType(InitializeRequest2.method); + })(InitializeRequest || (exports2.InitializeRequest = InitializeRequest = {})); + var InitializeErrorCodes; + (function(InitializeErrorCodes2) { + InitializeErrorCodes2.unknownProtocolVersion = 1; + })(InitializeErrorCodes || (exports2.InitializeErrorCodes = InitializeErrorCodes = {})); + var InitializedNotification; + (function(InitializedNotification2) { + InitializedNotification2.method = "initialized"; + InitializedNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + InitializedNotification2.type = new messages_1.ProtocolNotificationType(InitializedNotification2.method); + })(InitializedNotification || (exports2.InitializedNotification = InitializedNotification = {})); + var ShutdownRequest; + (function(ShutdownRequest2) { + ShutdownRequest2.method = "shutdown"; + ShutdownRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + ShutdownRequest2.type = new messages_1.ProtocolRequestType0(ShutdownRequest2.method); + })(ShutdownRequest || (exports2.ShutdownRequest = ShutdownRequest = {})); + var ExitNotification; + (function(ExitNotification2) { + ExitNotification2.method = "exit"; + ExitNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + ExitNotification2.type = new messages_1.ProtocolNotificationType0(ExitNotification2.method); + })(ExitNotification || (exports2.ExitNotification = ExitNotification = {})); + var DidChangeConfigurationNotification; + (function(DidChangeConfigurationNotification2) { + DidChangeConfigurationNotification2.method = "workspace/didChangeConfiguration"; + DidChangeConfigurationNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidChangeConfigurationNotification2.type = new messages_1.ProtocolNotificationType(DidChangeConfigurationNotification2.method); + })(DidChangeConfigurationNotification || (exports2.DidChangeConfigurationNotification = DidChangeConfigurationNotification = {})); + var MessageType; + (function(MessageType2) { + MessageType2.Error = 1; + MessageType2.Warning = 2; + MessageType2.Info = 3; + MessageType2.Log = 4; + MessageType2.Debug = 5; + })(MessageType || (exports2.MessageType = MessageType = {})); + var ShowMessageNotification; + (function(ShowMessageNotification2) { + ShowMessageNotification2.method = "window/showMessage"; + ShowMessageNotification2.messageDirection = messages_1.MessageDirection.serverToClient; + ShowMessageNotification2.type = new messages_1.ProtocolNotificationType(ShowMessageNotification2.method); + })(ShowMessageNotification || (exports2.ShowMessageNotification = ShowMessageNotification = {})); + var ShowMessageRequest; + (function(ShowMessageRequest2) { + ShowMessageRequest2.method = "window/showMessageRequest"; + ShowMessageRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + ShowMessageRequest2.type = new messages_1.ProtocolRequestType(ShowMessageRequest2.method); + })(ShowMessageRequest || (exports2.ShowMessageRequest = ShowMessageRequest = {})); + var LogMessageNotification; + (function(LogMessageNotification2) { + LogMessageNotification2.method = "window/logMessage"; + LogMessageNotification2.messageDirection = messages_1.MessageDirection.serverToClient; + LogMessageNotification2.type = new messages_1.ProtocolNotificationType(LogMessageNotification2.method); + })(LogMessageNotification || (exports2.LogMessageNotification = LogMessageNotification = {})); + var TelemetryEventNotification; + (function(TelemetryEventNotification2) { + TelemetryEventNotification2.method = "telemetry/event"; + TelemetryEventNotification2.messageDirection = messages_1.MessageDirection.serverToClient; + TelemetryEventNotification2.type = new messages_1.ProtocolNotificationType(TelemetryEventNotification2.method); + })(TelemetryEventNotification || (exports2.TelemetryEventNotification = TelemetryEventNotification = {})); + var TextDocumentSyncKind; + (function(TextDocumentSyncKind2) { + TextDocumentSyncKind2.None = 0; + TextDocumentSyncKind2.Full = 1; + TextDocumentSyncKind2.Incremental = 2; + })(TextDocumentSyncKind || (exports2.TextDocumentSyncKind = TextDocumentSyncKind = {})); + var DidOpenTextDocumentNotification; + (function(DidOpenTextDocumentNotification2) { + DidOpenTextDocumentNotification2.method = "textDocument/didOpen"; + DidOpenTextDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidOpenTextDocumentNotification2.type = new messages_1.ProtocolNotificationType(DidOpenTextDocumentNotification2.method); + })(DidOpenTextDocumentNotification || (exports2.DidOpenTextDocumentNotification = DidOpenTextDocumentNotification = {})); + var TextDocumentContentChangeEvent; + (function(TextDocumentContentChangeEvent2) { + function isIncremental(event) { + let candidate = event; + return candidate !== void 0 && candidate !== null && typeof candidate.text === "string" && candidate.range !== void 0 && (candidate.rangeLength === void 0 || typeof candidate.rangeLength === "number"); + } + TextDocumentContentChangeEvent2.isIncremental = isIncremental; + function isFull(event) { + let candidate = event; + return candidate !== void 0 && candidate !== null && typeof candidate.text === "string" && candidate.range === void 0 && candidate.rangeLength === void 0; + } + TextDocumentContentChangeEvent2.isFull = isFull; + })(TextDocumentContentChangeEvent || (exports2.TextDocumentContentChangeEvent = TextDocumentContentChangeEvent = {})); + var DidChangeTextDocumentNotification; + (function(DidChangeTextDocumentNotification2) { + DidChangeTextDocumentNotification2.method = "textDocument/didChange"; + DidChangeTextDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidChangeTextDocumentNotification2.type = new messages_1.ProtocolNotificationType(DidChangeTextDocumentNotification2.method); + })(DidChangeTextDocumentNotification || (exports2.DidChangeTextDocumentNotification = DidChangeTextDocumentNotification = {})); + var DidCloseTextDocumentNotification; + (function(DidCloseTextDocumentNotification2) { + DidCloseTextDocumentNotification2.method = "textDocument/didClose"; + DidCloseTextDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidCloseTextDocumentNotification2.type = new messages_1.ProtocolNotificationType(DidCloseTextDocumentNotification2.method); + })(DidCloseTextDocumentNotification || (exports2.DidCloseTextDocumentNotification = DidCloseTextDocumentNotification = {})); + var DidSaveTextDocumentNotification; + (function(DidSaveTextDocumentNotification2) { + DidSaveTextDocumentNotification2.method = "textDocument/didSave"; + DidSaveTextDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidSaveTextDocumentNotification2.type = new messages_1.ProtocolNotificationType(DidSaveTextDocumentNotification2.method); + })(DidSaveTextDocumentNotification || (exports2.DidSaveTextDocumentNotification = DidSaveTextDocumentNotification = {})); + var TextDocumentSaveReason; + (function(TextDocumentSaveReason2) { + TextDocumentSaveReason2.Manual = 1; + TextDocumentSaveReason2.AfterDelay = 2; + TextDocumentSaveReason2.FocusOut = 3; + })(TextDocumentSaveReason || (exports2.TextDocumentSaveReason = TextDocumentSaveReason = {})); + var WillSaveTextDocumentNotification; + (function(WillSaveTextDocumentNotification2) { + WillSaveTextDocumentNotification2.method = "textDocument/willSave"; + WillSaveTextDocumentNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + WillSaveTextDocumentNotification2.type = new messages_1.ProtocolNotificationType(WillSaveTextDocumentNotification2.method); + })(WillSaveTextDocumentNotification || (exports2.WillSaveTextDocumentNotification = WillSaveTextDocumentNotification = {})); + var WillSaveTextDocumentWaitUntilRequest; + (function(WillSaveTextDocumentWaitUntilRequest2) { + WillSaveTextDocumentWaitUntilRequest2.method = "textDocument/willSaveWaitUntil"; + WillSaveTextDocumentWaitUntilRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + WillSaveTextDocumentWaitUntilRequest2.type = new messages_1.ProtocolRequestType(WillSaveTextDocumentWaitUntilRequest2.method); + })(WillSaveTextDocumentWaitUntilRequest || (exports2.WillSaveTextDocumentWaitUntilRequest = WillSaveTextDocumentWaitUntilRequest = {})); + var DidChangeWatchedFilesNotification; + (function(DidChangeWatchedFilesNotification2) { + DidChangeWatchedFilesNotification2.method = "workspace/didChangeWatchedFiles"; + DidChangeWatchedFilesNotification2.messageDirection = messages_1.MessageDirection.clientToServer; + DidChangeWatchedFilesNotification2.type = new messages_1.ProtocolNotificationType(DidChangeWatchedFilesNotification2.method); + })(DidChangeWatchedFilesNotification || (exports2.DidChangeWatchedFilesNotification = DidChangeWatchedFilesNotification = {})); + var FileChangeType; + (function(FileChangeType2) { + FileChangeType2.Created = 1; + FileChangeType2.Changed = 2; + FileChangeType2.Deleted = 3; + })(FileChangeType || (exports2.FileChangeType = FileChangeType = {})); + var RelativePattern; + (function(RelativePattern2) { + function is(value) { + const candidate = value; + return Is.objectLiteral(candidate) && (vscode_languageserver_types_1.URI.is(candidate.baseUri) || vscode_languageserver_types_1.WorkspaceFolder.is(candidate.baseUri)) && Is.string(candidate.pattern); + } + RelativePattern2.is = is; + })(RelativePattern || (exports2.RelativePattern = RelativePattern = {})); + var WatchKind; + (function(WatchKind2) { + WatchKind2.Create = 1; + WatchKind2.Change = 2; + WatchKind2.Delete = 4; + })(WatchKind || (exports2.WatchKind = WatchKind = {})); + var PublishDiagnosticsNotification; + (function(PublishDiagnosticsNotification2) { + PublishDiagnosticsNotification2.method = "textDocument/publishDiagnostics"; + PublishDiagnosticsNotification2.messageDirection = messages_1.MessageDirection.serverToClient; + PublishDiagnosticsNotification2.type = new messages_1.ProtocolNotificationType(PublishDiagnosticsNotification2.method); + })(PublishDiagnosticsNotification || (exports2.PublishDiagnosticsNotification = PublishDiagnosticsNotification = {})); + var CompletionTriggerKind; + (function(CompletionTriggerKind2) { + CompletionTriggerKind2.Invoked = 1; + CompletionTriggerKind2.TriggerCharacter = 2; + CompletionTriggerKind2.TriggerForIncompleteCompletions = 3; + })(CompletionTriggerKind || (exports2.CompletionTriggerKind = CompletionTriggerKind = {})); + var CompletionRequest; + (function(CompletionRequest2) { + CompletionRequest2.method = "textDocument/completion"; + CompletionRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CompletionRequest2.type = new messages_1.ProtocolRequestType(CompletionRequest2.method); + })(CompletionRequest || (exports2.CompletionRequest = CompletionRequest = {})); + var CompletionResolveRequest; + (function(CompletionResolveRequest2) { + CompletionResolveRequest2.method = "completionItem/resolve"; + CompletionResolveRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CompletionResolveRequest2.type = new messages_1.ProtocolRequestType(CompletionResolveRequest2.method); + })(CompletionResolveRequest || (exports2.CompletionResolveRequest = CompletionResolveRequest = {})); + var HoverRequest; + (function(HoverRequest2) { + HoverRequest2.method = "textDocument/hover"; + HoverRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + HoverRequest2.type = new messages_1.ProtocolRequestType(HoverRequest2.method); + })(HoverRequest || (exports2.HoverRequest = HoverRequest = {})); + var SignatureHelpTriggerKind; + (function(SignatureHelpTriggerKind2) { + SignatureHelpTriggerKind2.Invoked = 1; + SignatureHelpTriggerKind2.TriggerCharacter = 2; + SignatureHelpTriggerKind2.ContentChange = 3; + })(SignatureHelpTriggerKind || (exports2.SignatureHelpTriggerKind = SignatureHelpTriggerKind = {})); + var SignatureHelpRequest; + (function(SignatureHelpRequest2) { + SignatureHelpRequest2.method = "textDocument/signatureHelp"; + SignatureHelpRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + SignatureHelpRequest2.type = new messages_1.ProtocolRequestType(SignatureHelpRequest2.method); + })(SignatureHelpRequest || (exports2.SignatureHelpRequest = SignatureHelpRequest = {})); + var DefinitionRequest; + (function(DefinitionRequest2) { + DefinitionRequest2.method = "textDocument/definition"; + DefinitionRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DefinitionRequest2.type = new messages_1.ProtocolRequestType(DefinitionRequest2.method); + })(DefinitionRequest || (exports2.DefinitionRequest = DefinitionRequest = {})); + var ReferencesRequest; + (function(ReferencesRequest2) { + ReferencesRequest2.method = "textDocument/references"; + ReferencesRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + ReferencesRequest2.type = new messages_1.ProtocolRequestType(ReferencesRequest2.method); + })(ReferencesRequest || (exports2.ReferencesRequest = ReferencesRequest = {})); + var DocumentHighlightRequest; + (function(DocumentHighlightRequest2) { + DocumentHighlightRequest2.method = "textDocument/documentHighlight"; + DocumentHighlightRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentHighlightRequest2.type = new messages_1.ProtocolRequestType(DocumentHighlightRequest2.method); + })(DocumentHighlightRequest || (exports2.DocumentHighlightRequest = DocumentHighlightRequest = {})); + var DocumentSymbolRequest; + (function(DocumentSymbolRequest2) { + DocumentSymbolRequest2.method = "textDocument/documentSymbol"; + DocumentSymbolRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentSymbolRequest2.type = new messages_1.ProtocolRequestType(DocumentSymbolRequest2.method); + })(DocumentSymbolRequest || (exports2.DocumentSymbolRequest = DocumentSymbolRequest = {})); + var CodeActionRequest; + (function(CodeActionRequest2) { + CodeActionRequest2.method = "textDocument/codeAction"; + CodeActionRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CodeActionRequest2.type = new messages_1.ProtocolRequestType(CodeActionRequest2.method); + })(CodeActionRequest || (exports2.CodeActionRequest = CodeActionRequest = {})); + var CodeActionResolveRequest; + (function(CodeActionResolveRequest2) { + CodeActionResolveRequest2.method = "codeAction/resolve"; + CodeActionResolveRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CodeActionResolveRequest2.type = new messages_1.ProtocolRequestType(CodeActionResolveRequest2.method); + })(CodeActionResolveRequest || (exports2.CodeActionResolveRequest = CodeActionResolveRequest = {})); + var WorkspaceSymbolRequest; + (function(WorkspaceSymbolRequest2) { + WorkspaceSymbolRequest2.method = "workspace/symbol"; + WorkspaceSymbolRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + WorkspaceSymbolRequest2.type = new messages_1.ProtocolRequestType(WorkspaceSymbolRequest2.method); + })(WorkspaceSymbolRequest || (exports2.WorkspaceSymbolRequest = WorkspaceSymbolRequest = {})); + var WorkspaceSymbolResolveRequest; + (function(WorkspaceSymbolResolveRequest2) { + WorkspaceSymbolResolveRequest2.method = "workspaceSymbol/resolve"; + WorkspaceSymbolResolveRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + WorkspaceSymbolResolveRequest2.type = new messages_1.ProtocolRequestType(WorkspaceSymbolResolveRequest2.method); + })(WorkspaceSymbolResolveRequest || (exports2.WorkspaceSymbolResolveRequest = WorkspaceSymbolResolveRequest = {})); + var CodeLensRequest; + (function(CodeLensRequest2) { + CodeLensRequest2.method = "textDocument/codeLens"; + CodeLensRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CodeLensRequest2.type = new messages_1.ProtocolRequestType(CodeLensRequest2.method); + })(CodeLensRequest || (exports2.CodeLensRequest = CodeLensRequest = {})); + var CodeLensResolveRequest; + (function(CodeLensResolveRequest2) { + CodeLensResolveRequest2.method = "codeLens/resolve"; + CodeLensResolveRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + CodeLensResolveRequest2.type = new messages_1.ProtocolRequestType(CodeLensResolveRequest2.method); + })(CodeLensResolveRequest || (exports2.CodeLensResolveRequest = CodeLensResolveRequest = {})); + var CodeLensRefreshRequest; + (function(CodeLensRefreshRequest2) { + CodeLensRefreshRequest2.method = `workspace/codeLens/refresh`; + CodeLensRefreshRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + CodeLensRefreshRequest2.type = new messages_1.ProtocolRequestType0(CodeLensRefreshRequest2.method); + })(CodeLensRefreshRequest || (exports2.CodeLensRefreshRequest = CodeLensRefreshRequest = {})); + var DocumentLinkRequest; + (function(DocumentLinkRequest2) { + DocumentLinkRequest2.method = "textDocument/documentLink"; + DocumentLinkRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentLinkRequest2.type = new messages_1.ProtocolRequestType(DocumentLinkRequest2.method); + })(DocumentLinkRequest || (exports2.DocumentLinkRequest = DocumentLinkRequest = {})); + var DocumentLinkResolveRequest; + (function(DocumentLinkResolveRequest2) { + DocumentLinkResolveRequest2.method = "documentLink/resolve"; + DocumentLinkResolveRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentLinkResolveRequest2.type = new messages_1.ProtocolRequestType(DocumentLinkResolveRequest2.method); + })(DocumentLinkResolveRequest || (exports2.DocumentLinkResolveRequest = DocumentLinkResolveRequest = {})); + var DocumentFormattingRequest; + (function(DocumentFormattingRequest2) { + DocumentFormattingRequest2.method = "textDocument/formatting"; + DocumentFormattingRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentFormattingRequest2.type = new messages_1.ProtocolRequestType(DocumentFormattingRequest2.method); + })(DocumentFormattingRequest || (exports2.DocumentFormattingRequest = DocumentFormattingRequest = {})); + var DocumentRangeFormattingRequest; + (function(DocumentRangeFormattingRequest2) { + DocumentRangeFormattingRequest2.method = "textDocument/rangeFormatting"; + DocumentRangeFormattingRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentRangeFormattingRequest2.type = new messages_1.ProtocolRequestType(DocumentRangeFormattingRequest2.method); + })(DocumentRangeFormattingRequest || (exports2.DocumentRangeFormattingRequest = DocumentRangeFormattingRequest = {})); + var DocumentRangesFormattingRequest; + (function(DocumentRangesFormattingRequest2) { + DocumentRangesFormattingRequest2.method = "textDocument/rangesFormatting"; + DocumentRangesFormattingRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentRangesFormattingRequest2.type = new messages_1.ProtocolRequestType(DocumentRangesFormattingRequest2.method); + })(DocumentRangesFormattingRequest || (exports2.DocumentRangesFormattingRequest = DocumentRangesFormattingRequest = {})); + var DocumentOnTypeFormattingRequest; + (function(DocumentOnTypeFormattingRequest2) { + DocumentOnTypeFormattingRequest2.method = "textDocument/onTypeFormatting"; + DocumentOnTypeFormattingRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + DocumentOnTypeFormattingRequest2.type = new messages_1.ProtocolRequestType(DocumentOnTypeFormattingRequest2.method); + })(DocumentOnTypeFormattingRequest || (exports2.DocumentOnTypeFormattingRequest = DocumentOnTypeFormattingRequest = {})); + var PrepareSupportDefaultBehavior; + (function(PrepareSupportDefaultBehavior2) { + PrepareSupportDefaultBehavior2.Identifier = 1; + })(PrepareSupportDefaultBehavior || (exports2.PrepareSupportDefaultBehavior = PrepareSupportDefaultBehavior = {})); + var RenameRequest; + (function(RenameRequest2) { + RenameRequest2.method = "textDocument/rename"; + RenameRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + RenameRequest2.type = new messages_1.ProtocolRequestType(RenameRequest2.method); + })(RenameRequest || (exports2.RenameRequest = RenameRequest = {})); + var PrepareRenameRequest; + (function(PrepareRenameRequest2) { + PrepareRenameRequest2.method = "textDocument/prepareRename"; + PrepareRenameRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + PrepareRenameRequest2.type = new messages_1.ProtocolRequestType(PrepareRenameRequest2.method); + })(PrepareRenameRequest || (exports2.PrepareRenameRequest = PrepareRenameRequest = {})); + var ExecuteCommandRequest; + (function(ExecuteCommandRequest2) { + ExecuteCommandRequest2.method = "workspace/executeCommand"; + ExecuteCommandRequest2.messageDirection = messages_1.MessageDirection.clientToServer; + ExecuteCommandRequest2.type = new messages_1.ProtocolRequestType(ExecuteCommandRequest2.method); + })(ExecuteCommandRequest || (exports2.ExecuteCommandRequest = ExecuteCommandRequest = {})); + var ApplyWorkspaceEditRequest; + (function(ApplyWorkspaceEditRequest2) { + ApplyWorkspaceEditRequest2.method = "workspace/applyEdit"; + ApplyWorkspaceEditRequest2.messageDirection = messages_1.MessageDirection.serverToClient; + ApplyWorkspaceEditRequest2.type = new messages_1.ProtocolRequestType("workspace/applyEdit"); + })(ApplyWorkspaceEditRequest || (exports2.ApplyWorkspaceEditRequest = ApplyWorkspaceEditRequest = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.js +var require_connection2 = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.createProtocolConnection = void 0; + var vscode_jsonrpc_1 = require_main(); + function createProtocolConnection(input, output, logger, options) { + if (vscode_jsonrpc_1.ConnectionStrategy.is(options)) { + options = { connectionStrategy: options }; + } + return (0, vscode_jsonrpc_1.createMessageConnection)(input, output, logger, options); + } + exports2.createProtocolConnection = createProtocolConnection; + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.js +var require_api2 = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.js"(exports2) { + "use strict"; + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { + return m[k]; + } }; + } + Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p); + }; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.LSPErrorCodes = exports2.createProtocolConnection = void 0; + __exportStar(require_main(), exports2); + __exportStar(require_main2(), exports2); + __exportStar(require_messages2(), exports2); + __exportStar(require_protocol(), exports2); + var connection_1 = require_connection2(); + Object.defineProperty(exports2, "createProtocolConnection", { enumerable: true, get: function() { + return connection_1.createProtocolConnection; + } }); + var LSPErrorCodes; + (function(LSPErrorCodes2) { + LSPErrorCodes2.lspReservedErrorRangeStart = -32899; + LSPErrorCodes2.RequestFailed = -32803; + LSPErrorCodes2.ServerCancelled = -32802; + LSPErrorCodes2.ContentModified = -32801; + LSPErrorCodes2.RequestCancelled = -32800; + LSPErrorCodes2.lspReservedErrorRangeEnd = -32800; + })(LSPErrorCodes || (exports2.LSPErrorCodes = LSPErrorCodes = {})); + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.js +var require_main3 = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.js"(exports2) { + "use strict"; + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { + return m[k]; + } }; + } + Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p); + }; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.createProtocolConnection = void 0; + var node_1 = require_node(); + __exportStar(require_node(), exports2); + __exportStar(require_api2(), exports2); + function createProtocolConnection(input, output, logger, options) { + return (0, node_1.createMessageConnection)(input, output, logger, options); + } + exports2.createProtocolConnection = createProtocolConnection; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/async.js +var require_async = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/async.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.forEach = exports2.mapAsync = exports2.map = exports2.clearTestMode = exports2.setTestMode = exports2.Semaphore = exports2.Delayer = void 0; + var vscode_languageserver_protocol_1 = require_main3(); + var Delayer = class { + constructor(defaultDelay) { + this.defaultDelay = defaultDelay; + this.timeout = void 0; + this.completionPromise = void 0; + this.onSuccess = void 0; + this.task = void 0; + } + trigger(task, delay2 = this.defaultDelay) { + this.task = task; + if (delay2 >= 0) { + this.cancelTimeout(); + } + if (!this.completionPromise) { + this.completionPromise = new Promise((resolve) => { + this.onSuccess = resolve; + }).then(() => { + this.completionPromise = void 0; + this.onSuccess = void 0; + var result = this.task(); + this.task = void 0; + return result; + }); + } + if (delay2 >= 0 || this.timeout === void 0) { + this.timeout = (0, vscode_languageserver_protocol_1.RAL)().timer.setTimeout(() => { + this.timeout = void 0; + this.onSuccess(void 0); + }, delay2 >= 0 ? delay2 : this.defaultDelay); + } + return this.completionPromise; + } + forceDelivery() { + if (!this.completionPromise) { + return void 0; + } + this.cancelTimeout(); + let result = this.task(); + this.completionPromise = void 0; + this.onSuccess = void 0; + this.task = void 0; + return result; + } + isTriggered() { + return this.timeout !== void 0; + } + cancel() { + this.cancelTimeout(); + this.completionPromise = void 0; + } + cancelTimeout() { + if (this.timeout !== void 0) { + this.timeout.dispose(); + this.timeout = void 0; + } + } + }; + exports2.Delayer = Delayer; + var Semaphore = class { + constructor(capacity = 1) { + if (capacity <= 0) { + throw new Error("Capacity must be greater than 0"); + } + this._capacity = capacity; + this._active = 0; + this._waiting = []; + } + lock(thunk) { + return new Promise((resolve, reject) => { + this._waiting.push({ thunk, resolve, reject }); + this.runNext(); + }); + } + get active() { + return this._active; + } + runNext() { + if (this._waiting.length === 0 || this._active === this._capacity) { + return; + } + (0, vscode_languageserver_protocol_1.RAL)().timer.setImmediate(() => this.doRunNext()); + } + doRunNext() { + if (this._waiting.length === 0 || this._active === this._capacity) { + return; + } + const next = this._waiting.shift(); + this._active++; + if (this._active > this._capacity) { + throw new Error(`To many thunks active`); + } + try { + const result = next.thunk(); + if (result instanceof Promise) { + result.then((value) => { + this._active--; + next.resolve(value); + this.runNext(); + }, (err) => { + this._active--; + next.reject(err); + this.runNext(); + }); + } else { + this._active--; + next.resolve(result); + this.runNext(); + } + } catch (err) { + this._active--; + next.reject(err); + this.runNext(); + } + } + }; + exports2.Semaphore = Semaphore; + var $test = false; + function setTestMode() { + $test = true; + } + exports2.setTestMode = setTestMode; + function clearTestMode() { + $test = false; + } + exports2.clearTestMode = clearTestMode; + var defaultYieldTimeout = 15; + var Timer = class { + constructor(yieldAfter = defaultYieldTimeout) { + this.yieldAfter = $test === true ? Math.max(yieldAfter, 2) : Math.max(yieldAfter, defaultYieldTimeout); + this.startTime = Date.now(); + this.counter = 0; + this.total = 0; + this.counterInterval = 1; + } + start() { + this.counter = 0; + this.total = 0; + this.counterInterval = 1; + this.startTime = Date.now(); + } + shouldYield() { + if (++this.counter >= this.counterInterval) { + const timeTaken = Date.now() - this.startTime; + const timeLeft = Math.max(0, this.yieldAfter - timeTaken); + this.total += this.counter; + this.counter = 0; + if (timeTaken >= this.yieldAfter || timeLeft <= 1) { + this.counterInterval = 1; + this.total = 0; + return true; + } else { + switch (timeTaken) { + case 0: + case 1: + this.counterInterval = this.total * 2; + break; + } + } + } + return false; + } + }; + async function map(items, func, token, options) { + if (items.length === 0) { + return []; + } + const result = new Array(items.length); + const timer = new Timer(options?.yieldAfter); + function convertBatch(start) { + timer.start(); + for (let i = start; i < items.length; i++) { + result[i] = func(items[i]); + if (timer.shouldYield()) { + options?.yieldCallback && options.yieldCallback(); + return i + 1; + } + } + return -1; + } + let index = convertBatch(0); + while (index !== -1) { + if (token !== void 0 && token.isCancellationRequested) { + break; + } + index = await new Promise((resolve) => { + (0, vscode_languageserver_protocol_1.RAL)().timer.setImmediate(() => { + resolve(convertBatch(index)); + }); + }); + } + return result; + } + exports2.map = map; + async function mapAsync(items, func, token, options) { + if (items.length === 0) { + return []; + } + const result = new Array(items.length); + const timer = new Timer(options?.yieldAfter); + async function convertBatch(start) { + timer.start(); + for (let i = start; i < items.length; i++) { + result[i] = await func(items[i], token); + if (timer.shouldYield()) { + options?.yieldCallback && options.yieldCallback(); + return i + 1; + } + } + return -1; + } + let index = await convertBatch(0); + while (index !== -1) { + if (token !== void 0 && token.isCancellationRequested) { + break; + } + index = await new Promise((resolve) => { + (0, vscode_languageserver_protocol_1.RAL)().timer.setImmediate(() => { + resolve(convertBatch(index)); + }); + }); + } + return result; + } + exports2.mapAsync = mapAsync; + async function forEach(items, func, token, options) { + if (items.length === 0) { + return; + } + const timer = new Timer(options?.yieldAfter); + function runBatch(start) { + timer.start(); + for (let i = start; i < items.length; i++) { + func(items[i]); + if (timer.shouldYield()) { + options?.yieldCallback && options.yieldCallback(); + return i + 1; + } + } + return -1; + } + let index = runBatch(0); + while (index !== -1) { + if (token !== void 0 && token.isCancellationRequested) { + break; + } + index = await new Promise((resolve) => { + (0, vscode_languageserver_protocol_1.RAL)().timer.setImmediate(() => { + resolve(runBatch(index)); + }); + }); + } + } + exports2.forEach = forEach; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCompletionItem.js +var require_protocolCompletionItem = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCompletionItem.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var code = require("vscode"); + var ProtocolCompletionItem = class extends code.CompletionItem { + constructor(label) { + super(label); + } + }; + exports2.default = ProtocolCompletionItem; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCodeLens.js +var require_protocolCodeLens = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCodeLens.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var code = require("vscode"); + var ProtocolCodeLens = class extends code.CodeLens { + constructor(range) { + super(range); + } + }; + exports2.default = ProtocolCodeLens; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolDocumentLink.js +var require_protocolDocumentLink = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolDocumentLink.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var code = require("vscode"); + var ProtocolDocumentLink = class extends code.DocumentLink { + constructor(range, target) { + super(range, target); + } + }; + exports2.default = ProtocolDocumentLink; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCodeAction.js +var require_protocolCodeAction = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCodeAction.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var vscode = require("vscode"); + var ProtocolCodeAction = class extends vscode.CodeAction { + constructor(title, data) { + super(title); + this.data = data; + } + }; + exports2.default = ProtocolCodeAction; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolDiagnostic.js +var require_protocolDiagnostic = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolDiagnostic.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ProtocolDiagnostic = exports2.DiagnosticCode = void 0; + var vscode = require("vscode"); + var Is = require_is(); + var DiagnosticCode; + (function(DiagnosticCode2) { + function is(value) { + const candidate = value; + return candidate !== void 0 && candidate !== null && (Is.number(candidate.value) || Is.string(candidate.value)) && Is.string(candidate.target); + } + DiagnosticCode2.is = is; + })(DiagnosticCode || (exports2.DiagnosticCode = DiagnosticCode = {})); + var ProtocolDiagnostic = class extends vscode.Diagnostic { + constructor(range, message, severity, data) { + super(range, message, severity); + this.data = data; + this.hasDiagnosticCode = false; + } + }; + exports2.ProtocolDiagnostic = ProtocolDiagnostic; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCallHierarchyItem.js +var require_protocolCallHierarchyItem = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCallHierarchyItem.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var code = require("vscode"); + var ProtocolCallHierarchyItem = class extends code.CallHierarchyItem { + constructor(kind, name, detail, uri, range, selectionRange, data) { + super(kind, name, detail, uri, range, selectionRange); + if (data !== void 0) { + this.data = data; + } + } + }; + exports2.default = ProtocolCallHierarchyItem; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolTypeHierarchyItem.js +var require_protocolTypeHierarchyItem = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolTypeHierarchyItem.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var code = require("vscode"); + var ProtocolTypeHierarchyItem = class extends code.TypeHierarchyItem { + constructor(kind, name, detail, uri, range, selectionRange, data) { + super(kind, name, detail, uri, range, selectionRange); + if (data !== void 0) { + this.data = data; + } + } + }; + exports2.default = ProtocolTypeHierarchyItem; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolWorkspaceSymbol.js +var require_protocolWorkspaceSymbol = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolWorkspaceSymbol.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var code = require("vscode"); + var WorkspaceSymbol = class extends code.SymbolInformation { + constructor(name, kind, containerName, locationOrUri, data) { + const hasRange = !(locationOrUri instanceof code.Uri); + super(name, kind, containerName, hasRange ? locationOrUri : new code.Location(locationOrUri, new code.Range(0, 0, 0, 0))); + this.hasRange = hasRange; + if (data !== void 0) { + this.data = data; + } + } + }; + exports2.default = WorkspaceSymbol; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolInlayHint.js +var require_protocolInlayHint = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolInlayHint.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + var code = require("vscode"); + var ProtocolInlayHint = class extends code.InlayHint { + constructor(position, label, kind) { + super(position, label, kind); + } + }; + exports2.default = ProtocolInlayHint; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeConverter.js +var require_codeConverter = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeConverter.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.createConverter = void 0; + var code = require("vscode"); + var proto = require_main3(); + var Is = require_is(); + var async = require_async(); + var protocolCompletionItem_1 = require_protocolCompletionItem(); + var protocolCodeLens_1 = require_protocolCodeLens(); + var protocolDocumentLink_1 = require_protocolDocumentLink(); + var protocolCodeAction_1 = require_protocolCodeAction(); + var protocolDiagnostic_1 = require_protocolDiagnostic(); + var protocolCallHierarchyItem_1 = require_protocolCallHierarchyItem(); + var protocolTypeHierarchyItem_1 = require_protocolTypeHierarchyItem(); + var protocolWorkspaceSymbol_1 = require_protocolWorkspaceSymbol(); + var protocolInlayHint_1 = require_protocolInlayHint(); + var InsertReplaceRange; + (function(InsertReplaceRange2) { + function is(value) { + const candidate = value; + return candidate && !!candidate.inserting && !!candidate.replacing; + } + InsertReplaceRange2.is = is; + })(InsertReplaceRange || (InsertReplaceRange = {})); + function createConverter(uriConverter) { + const nullConverter = (value) => value.toString(); + const _uriConverter = uriConverter || nullConverter; + function asUri(value) { + return _uriConverter(value); + } + function asTextDocumentIdentifier(textDocument) { + return { + uri: _uriConverter(textDocument.uri) + }; + } + function asTextDocumentItem(textDocument) { + return { + uri: _uriConverter(textDocument.uri), + languageId: textDocument.languageId, + version: textDocument.version, + text: textDocument.getText() + }; + } + function asVersionedTextDocumentIdentifier(textDocument) { + return { + uri: _uriConverter(textDocument.uri), + version: textDocument.version + }; + } + function asOpenTextDocumentParams(textDocument) { + return { + textDocument: asTextDocumentItem(textDocument) + }; + } + function isTextDocumentChangeEvent(value) { + const candidate = value; + return !!candidate.document && !!candidate.contentChanges; + } + function isTextDocument(value) { + const candidate = value; + return !!candidate.uri && !!candidate.version; + } + function asChangeTextDocumentParams(arg0, arg1, arg2) { + if (isTextDocument(arg0)) { + const result = { + textDocument: { + uri: _uriConverter(arg0.uri), + version: arg0.version + }, + contentChanges: [{ text: arg0.getText() }] + }; + return result; + } else if (isTextDocumentChangeEvent(arg0)) { + const uri = arg1; + const version = arg2; + const result = { + textDocument: { + uri: _uriConverter(uri), + version + }, + contentChanges: arg0.contentChanges.map((change) => { + const range = change.range; + return { + range: { + start: { line: range.start.line, character: range.start.character }, + end: { line: range.end.line, character: range.end.character } + }, + rangeLength: change.rangeLength, + text: change.text + }; + }) + }; + return result; + } else { + throw Error("Unsupported text document change parameter"); + } + } + function asCloseTextDocumentParams(textDocument) { + return { + textDocument: asTextDocumentIdentifier(textDocument) + }; + } + function asSaveTextDocumentParams(textDocument, includeContent = false) { + let result = { + textDocument: asTextDocumentIdentifier(textDocument) + }; + if (includeContent) { + result.text = textDocument.getText(); + } + return result; + } + function asTextDocumentSaveReason(reason) { + switch (reason) { + case code.TextDocumentSaveReason.Manual: + return proto.TextDocumentSaveReason.Manual; + case code.TextDocumentSaveReason.AfterDelay: + return proto.TextDocumentSaveReason.AfterDelay; + case code.TextDocumentSaveReason.FocusOut: + return proto.TextDocumentSaveReason.FocusOut; + } + return proto.TextDocumentSaveReason.Manual; + } + function asWillSaveTextDocumentParams(event) { + return { + textDocument: asTextDocumentIdentifier(event.document), + reason: asTextDocumentSaveReason(event.reason) + }; + } + function asDidCreateFilesParams(event) { + return { + files: event.files.map((fileUri) => ({ + uri: _uriConverter(fileUri) + })) + }; + } + function asDidRenameFilesParams(event) { + return { + files: event.files.map((file) => ({ + oldUri: _uriConverter(file.oldUri), + newUri: _uriConverter(file.newUri) + })) + }; + } + function asDidDeleteFilesParams(event) { + return { + files: event.files.map((fileUri) => ({ + uri: _uriConverter(fileUri) + })) + }; + } + function asWillCreateFilesParams(event) { + return { + files: event.files.map((fileUri) => ({ + uri: _uriConverter(fileUri) + })) + }; + } + function asWillRenameFilesParams(event) { + return { + files: event.files.map((file) => ({ + oldUri: _uriConverter(file.oldUri), + newUri: _uriConverter(file.newUri) + })) + }; + } + function asWillDeleteFilesParams(event) { + return { + files: event.files.map((fileUri) => ({ + uri: _uriConverter(fileUri) + })) + }; + } + function asTextDocumentPositionParams(textDocument, position) { + return { + textDocument: asTextDocumentIdentifier(textDocument), + position: asWorkerPosition(position) + }; + } + function asCompletionTriggerKind(triggerKind) { + switch (triggerKind) { + case code.CompletionTriggerKind.TriggerCharacter: + return proto.CompletionTriggerKind.TriggerCharacter; + case code.CompletionTriggerKind.TriggerForIncompleteCompletions: + return proto.CompletionTriggerKind.TriggerForIncompleteCompletions; + default: + return proto.CompletionTriggerKind.Invoked; + } + } + function asCompletionParams(textDocument, position, context) { + return { + textDocument: asTextDocumentIdentifier(textDocument), + position: asWorkerPosition(position), + context: { + triggerKind: asCompletionTriggerKind(context.triggerKind), + triggerCharacter: context.triggerCharacter + } + }; + } + function asSignatureHelpTriggerKind(triggerKind) { + switch (triggerKind) { + case code.SignatureHelpTriggerKind.Invoke: + return proto.SignatureHelpTriggerKind.Invoked; + case code.SignatureHelpTriggerKind.TriggerCharacter: + return proto.SignatureHelpTriggerKind.TriggerCharacter; + case code.SignatureHelpTriggerKind.ContentChange: + return proto.SignatureHelpTriggerKind.ContentChange; + } + } + function asParameterInformation(value) { + return { + label: value.label + }; + } + function asParameterInformations(values) { + return values.map(asParameterInformation); + } + function asSignatureInformation(value) { + return { + label: value.label, + parameters: asParameterInformations(value.parameters) + }; + } + function asSignatureInformations(values) { + return values.map(asSignatureInformation); + } + function asSignatureHelp(value) { + if (value === void 0) { + return value; + } + return { + signatures: asSignatureInformations(value.signatures), + activeSignature: value.activeSignature, + activeParameter: value.activeParameter + }; + } + function asSignatureHelpParams(textDocument, position, context) { + return { + textDocument: asTextDocumentIdentifier(textDocument), + position: asWorkerPosition(position), + context: { + isRetrigger: context.isRetrigger, + triggerCharacter: context.triggerCharacter, + triggerKind: asSignatureHelpTriggerKind(context.triggerKind), + activeSignatureHelp: asSignatureHelp(context.activeSignatureHelp) + } + }; + } + function asWorkerPosition(position) { + return { line: position.line, character: position.character }; + } + function asPosition(value) { + if (value === void 0 || value === null) { + return value; + } + return { line: value.line > proto.uinteger.MAX_VALUE ? proto.uinteger.MAX_VALUE : value.line, character: value.character > proto.uinteger.MAX_VALUE ? proto.uinteger.MAX_VALUE : value.character }; + } + function asPositions(values, token) { + return async.map(values, asPosition, token); + } + function asPositionsSync(values) { + return values.map(asPosition); + } + function asRange(value) { + if (value === void 0 || value === null) { + return value; + } + return { start: asPosition(value.start), end: asPosition(value.end) }; + } + function asRanges(values) { + return values.map(asRange); + } + function asLocation(value) { + if (value === void 0 || value === null) { + return value; + } + return proto.Location.create(asUri(value.uri), asRange(value.range)); + } + function asDiagnosticSeverity(value) { + switch (value) { + case code.DiagnosticSeverity.Error: + return proto.DiagnosticSeverity.Error; + case code.DiagnosticSeverity.Warning: + return proto.DiagnosticSeverity.Warning; + case code.DiagnosticSeverity.Information: + return proto.DiagnosticSeverity.Information; + case code.DiagnosticSeverity.Hint: + return proto.DiagnosticSeverity.Hint; + } + } + function asDiagnosticTags(tags) { + if (!tags) { + return void 0; + } + let result = []; + for (let tag of tags) { + let converted = asDiagnosticTag(tag); + if (converted !== void 0) { + result.push(converted); + } + } + return result.length > 0 ? result : void 0; + } + function asDiagnosticTag(tag) { + switch (tag) { + case code.DiagnosticTag.Unnecessary: + return proto.DiagnosticTag.Unnecessary; + case code.DiagnosticTag.Deprecated: + return proto.DiagnosticTag.Deprecated; + default: + return void 0; + } + } + function asRelatedInformation(item) { + return { + message: item.message, + location: asLocation(item.location) + }; + } + function asRelatedInformations(items) { + return items.map(asRelatedInformation); + } + function asDiagnosticCode(value) { + if (value === void 0 || value === null) { + return void 0; + } + if (Is.number(value) || Is.string(value)) { + return value; + } + return { value: value.value, target: asUri(value.target) }; + } + function asDiagnostic(item) { + const result = proto.Diagnostic.create(asRange(item.range), item.message); + const protocolDiagnostic = item instanceof protocolDiagnostic_1.ProtocolDiagnostic ? item : void 0; + if (protocolDiagnostic !== void 0 && protocolDiagnostic.data !== void 0) { + result.data = protocolDiagnostic.data; + } + const code2 = asDiagnosticCode(item.code); + if (protocolDiagnostic_1.DiagnosticCode.is(code2)) { + if (protocolDiagnostic !== void 0 && protocolDiagnostic.hasDiagnosticCode) { + result.code = code2; + } else { + result.code = code2.value; + result.codeDescription = { href: code2.target }; + } + } else { + result.code = code2; + } + if (Is.number(item.severity)) { + result.severity = asDiagnosticSeverity(item.severity); + } + if (Array.isArray(item.tags)) { + result.tags = asDiagnosticTags(item.tags); + } + if (item.relatedInformation) { + result.relatedInformation = asRelatedInformations(item.relatedInformation); + } + if (item.source) { + result.source = item.source; + } + return result; + } + function asDiagnostics(items, token) { + if (items === void 0 || items === null) { + return items; + } + return async.map(items, asDiagnostic, token); + } + function asDiagnosticsSync(items) { + if (items === void 0 || items === null) { + return items; + } + return items.map(asDiagnostic); + } + function asDocumentation(format, documentation) { + switch (format) { + case "$string": + return documentation; + case proto.MarkupKind.PlainText: + return { kind: format, value: documentation }; + case proto.MarkupKind.Markdown: + return { kind: format, value: documentation.value }; + default: + return `Unsupported Markup content received. Kind is: ${format}`; + } + } + function asCompletionItemTag(tag) { + switch (tag) { + case code.CompletionItemTag.Deprecated: + return proto.CompletionItemTag.Deprecated; + } + return void 0; + } + function asCompletionItemTags(tags) { + if (tags === void 0) { + return tags; + } + const result = []; + for (let tag of tags) { + const converted = asCompletionItemTag(tag); + if (converted !== void 0) { + result.push(converted); + } + } + return result; + } + function asCompletionItemKind(value, original) { + if (original !== void 0) { + return original; + } + return value + 1; + } + function asCompletionItem(item, labelDetailsSupport = false) { + let label; + let labelDetails; + if (Is.string(item.label)) { + label = item.label; + } else { + label = item.label.label; + if (labelDetailsSupport && (item.label.detail !== void 0 || item.label.description !== void 0)) { + labelDetails = { detail: item.label.detail, description: item.label.description }; + } + } + let result = { label }; + if (labelDetails !== void 0) { + result.labelDetails = labelDetails; + } + let protocolItem = item instanceof protocolCompletionItem_1.default ? item : void 0; + if (item.detail) { + result.detail = item.detail; + } + if (item.documentation) { + if (!protocolItem || protocolItem.documentationFormat === "$string") { + result.documentation = item.documentation; + } else { + result.documentation = asDocumentation(protocolItem.documentationFormat, item.documentation); + } + } + if (item.filterText) { + result.filterText = item.filterText; + } + fillPrimaryInsertText(result, item); + if (Is.number(item.kind)) { + result.kind = asCompletionItemKind(item.kind, protocolItem && protocolItem.originalItemKind); + } + if (item.sortText) { + result.sortText = item.sortText; + } + if (item.additionalTextEdits) { + result.additionalTextEdits = asTextEdits(item.additionalTextEdits); + } + if (item.commitCharacters) { + result.commitCharacters = item.commitCharacters.slice(); + } + if (item.command) { + result.command = asCommand(item.command); + } + if (item.preselect === true || item.preselect === false) { + result.preselect = item.preselect; + } + const tags = asCompletionItemTags(item.tags); + if (protocolItem) { + if (protocolItem.data !== void 0) { + result.data = protocolItem.data; + } + if (protocolItem.deprecated === true || protocolItem.deprecated === false) { + if (protocolItem.deprecated === true && tags !== void 0 && tags.length > 0) { + const index = tags.indexOf(code.CompletionItemTag.Deprecated); + if (index !== -1) { + tags.splice(index, 1); + } + } + result.deprecated = protocolItem.deprecated; + } + if (protocolItem.insertTextMode !== void 0) { + result.insertTextMode = protocolItem.insertTextMode; + } + } + if (tags !== void 0 && tags.length > 0) { + result.tags = tags; + } + if (result.insertTextMode === void 0 && item.keepWhitespace === true) { + result.insertTextMode = proto.InsertTextMode.adjustIndentation; + } + return result; + } + function fillPrimaryInsertText(target, source) { + let format = proto.InsertTextFormat.PlainText; + let text = void 0; + let range = void 0; + if (source.textEdit) { + text = source.textEdit.newText; + range = source.textEdit.range; + } else if (source.insertText instanceof code.SnippetString) { + format = proto.InsertTextFormat.Snippet; + text = source.insertText.value; + } else { + text = source.insertText; + } + if (source.range) { + range = source.range; + } + target.insertTextFormat = format; + if (source.fromEdit && text !== void 0 && range !== void 0) { + target.textEdit = asCompletionTextEdit(text, range); + } else { + target.insertText = text; + } + } + function asCompletionTextEdit(newText, range) { + if (InsertReplaceRange.is(range)) { + return proto.InsertReplaceEdit.create(newText, asRange(range.inserting), asRange(range.replacing)); + } else { + return { newText, range: asRange(range) }; + } + } + function asTextEdit(edit) { + return { range: asRange(edit.range), newText: edit.newText }; + } + function asTextEdits(edits) { + if (edits === void 0 || edits === null) { + return edits; + } + return edits.map(asTextEdit); + } + function asSymbolKind(item) { + if (item <= code.SymbolKind.TypeParameter) { + return item + 1; + } + return proto.SymbolKind.Property; + } + function asSymbolTag(item) { + return item; + } + function asSymbolTags(items) { + return items.map(asSymbolTag); + } + function asReferenceParams(textDocument, position, options) { + return { + textDocument: asTextDocumentIdentifier(textDocument), + position: asWorkerPosition(position), + context: { includeDeclaration: options.includeDeclaration } + }; + } + async function asCodeAction(item, token) { + let result = proto.CodeAction.create(item.title); + if (item instanceof protocolCodeAction_1.default && item.data !== void 0) { + result.data = item.data; + } + if (item.kind !== void 0) { + result.kind = asCodeActionKind(item.kind); + } + if (item.diagnostics !== void 0) { + result.diagnostics = await asDiagnostics(item.diagnostics, token); + } + if (item.edit !== void 0) { + throw new Error(`VS Code code actions can only be converted to a protocol code action without an edit.`); + } + if (item.command !== void 0) { + result.command = asCommand(item.command); + } + if (item.isPreferred !== void 0) { + result.isPreferred = item.isPreferred; + } + if (item.disabled !== void 0) { + result.disabled = { reason: item.disabled.reason }; + } + return result; + } + function asCodeActionSync(item) { + let result = proto.CodeAction.create(item.title); + if (item instanceof protocolCodeAction_1.default && item.data !== void 0) { + result.data = item.data; + } + if (item.kind !== void 0) { + result.kind = asCodeActionKind(item.kind); + } + if (item.diagnostics !== void 0) { + result.diagnostics = asDiagnosticsSync(item.diagnostics); + } + if (item.edit !== void 0) { + throw new Error(`VS Code code actions can only be converted to a protocol code action without an edit.`); + } + if (item.command !== void 0) { + result.command = asCommand(item.command); + } + if (item.isPreferred !== void 0) { + result.isPreferred = item.isPreferred; + } + if (item.disabled !== void 0) { + result.disabled = { reason: item.disabled.reason }; + } + return result; + } + async function asCodeActionContext(context, token) { + if (context === void 0 || context === null) { + return context; + } + let only; + if (context.only && Is.string(context.only.value)) { + only = [context.only.value]; + } + return proto.CodeActionContext.create(await asDiagnostics(context.diagnostics, token), only, asCodeActionTriggerKind(context.triggerKind)); + } + function asCodeActionContextSync(context) { + if (context === void 0 || context === null) { + return context; + } + let only; + if (context.only && Is.string(context.only.value)) { + only = [context.only.value]; + } + return proto.CodeActionContext.create(asDiagnosticsSync(context.diagnostics), only, asCodeActionTriggerKind(context.triggerKind)); + } + function asCodeActionTriggerKind(kind) { + switch (kind) { + case code.CodeActionTriggerKind.Invoke: + return proto.CodeActionTriggerKind.Invoked; + case code.CodeActionTriggerKind.Automatic: + return proto.CodeActionTriggerKind.Automatic; + default: + return void 0; + } + } + function asCodeActionKind(item) { + if (item === void 0 || item === null) { + return void 0; + } + return item.value; + } + function asInlineValueContext(context) { + if (context === void 0 || context === null) { + return context; + } + return proto.InlineValueContext.create(context.frameId, asRange(context.stoppedLocation)); + } + function asInlineCompletionParams(document, position, context) { + return { + context: proto.InlineCompletionContext.create(context.triggerKind, context.selectedCompletionInfo), + textDocument: asTextDocumentIdentifier(document), + position: asPosition(position) + }; + } + function asCommand(item) { + let result = proto.Command.create(item.title, item.command); + if (item.arguments) { + result.arguments = item.arguments; + } + return result; + } + function asCodeLens(item) { + let result = proto.CodeLens.create(asRange(item.range)); + if (item.command) { + result.command = asCommand(item.command); + } + if (item instanceof protocolCodeLens_1.default) { + if (item.data) { + result.data = item.data; + } + } + return result; + } + function asFormattingOptions(options, fileOptions) { + const result = { tabSize: options.tabSize, insertSpaces: options.insertSpaces }; + if (fileOptions.trimTrailingWhitespace) { + result.trimTrailingWhitespace = true; + } + if (fileOptions.trimFinalNewlines) { + result.trimFinalNewlines = true; + } + if (fileOptions.insertFinalNewline) { + result.insertFinalNewline = true; + } + return result; + } + function asDocumentSymbolParams(textDocument) { + return { + textDocument: asTextDocumentIdentifier(textDocument) + }; + } + function asCodeLensParams(textDocument) { + return { + textDocument: asTextDocumentIdentifier(textDocument) + }; + } + function asDocumentLink(item) { + let result = proto.DocumentLink.create(asRange(item.range)); + if (item.target) { + result.target = asUri(item.target); + } + if (item.tooltip !== void 0) { + result.tooltip = item.tooltip; + } + let protocolItem = item instanceof protocolDocumentLink_1.default ? item : void 0; + if (protocolItem && protocolItem.data) { + result.data = protocolItem.data; + } + return result; + } + function asDocumentLinkParams(textDocument) { + return { + textDocument: asTextDocumentIdentifier(textDocument) + }; + } + function asCallHierarchyItem(value) { + const result = { + name: value.name, + kind: asSymbolKind(value.kind), + uri: asUri(value.uri), + range: asRange(value.range), + selectionRange: asRange(value.selectionRange) + }; + if (value.detail !== void 0 && value.detail.length > 0) { + result.detail = value.detail; + } + if (value.tags !== void 0) { + result.tags = asSymbolTags(value.tags); + } + if (value instanceof protocolCallHierarchyItem_1.default && value.data !== void 0) { + result.data = value.data; + } + return result; + } + function asTypeHierarchyItem(value) { + const result = { + name: value.name, + kind: asSymbolKind(value.kind), + uri: asUri(value.uri), + range: asRange(value.range), + selectionRange: asRange(value.selectionRange) + }; + if (value.detail !== void 0 && value.detail.length > 0) { + result.detail = value.detail; + } + if (value.tags !== void 0) { + result.tags = asSymbolTags(value.tags); + } + if (value instanceof protocolTypeHierarchyItem_1.default && value.data !== void 0) { + result.data = value.data; + } + return result; + } + function asWorkspaceSymbol(item) { + const result = item instanceof protocolWorkspaceSymbol_1.default ? { name: item.name, kind: asSymbolKind(item.kind), location: item.hasRange ? asLocation(item.location) : { uri: _uriConverter(item.location.uri) }, data: item.data } : { name: item.name, kind: asSymbolKind(item.kind), location: asLocation(item.location) }; + if (item.tags !== void 0) { + result.tags = asSymbolTags(item.tags); + } + if (item.containerName !== "") { + result.containerName = item.containerName; + } + return result; + } + function asInlayHint(item) { + const label = typeof item.label === "string" ? item.label : item.label.map(asInlayHintLabelPart); + const result = proto.InlayHint.create(asPosition(item.position), label); + if (item.kind !== void 0) { + result.kind = item.kind; + } + if (item.textEdits !== void 0) { + result.textEdits = asTextEdits(item.textEdits); + } + if (item.tooltip !== void 0) { + result.tooltip = asTooltip(item.tooltip); + } + if (item.paddingLeft !== void 0) { + result.paddingLeft = item.paddingLeft; + } + if (item.paddingRight !== void 0) { + result.paddingRight = item.paddingRight; + } + if (item instanceof protocolInlayHint_1.default && item.data !== void 0) { + result.data = item.data; + } + return result; + } + function asInlayHintLabelPart(item) { + const result = proto.InlayHintLabelPart.create(item.value); + if (item.location !== void 0) { + result.location = asLocation(item.location); + } + if (item.command !== void 0) { + result.command = asCommand(item.command); + } + if (item.tooltip !== void 0) { + result.tooltip = asTooltip(item.tooltip); + } + return result; + } + function asTooltip(value) { + if (typeof value === "string") { + return value; + } + const result = { + kind: proto.MarkupKind.Markdown, + value: value.value + }; + return result; + } + return { + asUri, + asTextDocumentIdentifier, + asTextDocumentItem, + asVersionedTextDocumentIdentifier, + asOpenTextDocumentParams, + asChangeTextDocumentParams, + asCloseTextDocumentParams, + asSaveTextDocumentParams, + asWillSaveTextDocumentParams, + asDidCreateFilesParams, + asDidRenameFilesParams, + asDidDeleteFilesParams, + asWillCreateFilesParams, + asWillRenameFilesParams, + asWillDeleteFilesParams, + asTextDocumentPositionParams, + asCompletionParams, + asSignatureHelpParams, + asWorkerPosition, + asRange, + asRanges, + asPosition, + asPositions, + asPositionsSync, + asLocation, + asDiagnosticSeverity, + asDiagnosticTag, + asDiagnostic, + asDiagnostics, + asDiagnosticsSync, + asCompletionItem, + asTextEdit, + asSymbolKind, + asSymbolTag, + asSymbolTags, + asReferenceParams, + asCodeAction, + asCodeActionSync, + asCodeActionContext, + asCodeActionContextSync, + asInlineValueContext, + asCommand, + asCodeLens, + asFormattingOptions, + asDocumentSymbolParams, + asCodeLensParams, + asDocumentLink, + asDocumentLinkParams, + asCallHierarchyItem, + asTypeHierarchyItem, + asInlayHint, + asWorkspaceSymbol, + asInlineCompletionParams + }; + } + exports2.createConverter = createConverter; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolConverter.js +var require_protocolConverter = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolConverter.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.createConverter = void 0; + var code = require("vscode"); + var ls = require_main3(); + var Is = require_is(); + var async = require_async(); + var protocolCompletionItem_1 = require_protocolCompletionItem(); + var protocolCodeLens_1 = require_protocolCodeLens(); + var protocolDocumentLink_1 = require_protocolDocumentLink(); + var protocolCodeAction_1 = require_protocolCodeAction(); + var protocolDiagnostic_1 = require_protocolDiagnostic(); + var protocolCallHierarchyItem_1 = require_protocolCallHierarchyItem(); + var protocolTypeHierarchyItem_1 = require_protocolTypeHierarchyItem(); + var protocolWorkspaceSymbol_1 = require_protocolWorkspaceSymbol(); + var protocolInlayHint_1 = require_protocolInlayHint(); + var vscode_languageserver_protocol_1 = require_main3(); + var CodeBlock; + (function(CodeBlock2) { + function is(value) { + let candidate = value; + return candidate && Is.string(candidate.language) && Is.string(candidate.value); + } + CodeBlock2.is = is; + })(CodeBlock || (CodeBlock = {})); + function createConverter(uriConverter, trustMarkdown, supportHtml) { + const nullConverter = (value) => code.Uri.parse(value); + const _uriConverter = uriConverter || nullConverter; + function asUri(value) { + return _uriConverter(value); + } + function asDocumentSelector(selector) { + const result = []; + for (const filter of selector) { + if (typeof filter === "string") { + result.push(filter); + } else if (vscode_languageserver_protocol_1.NotebookCellTextDocumentFilter.is(filter)) { + if (typeof filter.notebook === "string") { + result.push({ notebookType: filter.notebook, language: filter.language }); + } else { + const notebookType = filter.notebook.notebookType ?? "*"; + result.push({ notebookType, scheme: filter.notebook.scheme, pattern: filter.notebook.pattern, language: filter.language }); + } + } else if (vscode_languageserver_protocol_1.TextDocumentFilter.is(filter)) { + result.push({ language: filter.language, scheme: filter.scheme, pattern: filter.pattern }); + } + } + return result; + } + async function asDiagnostics(diagnostics, token) { + return async.map(diagnostics, asDiagnostic, token); + } + function asDiagnosticsSync(diagnostics) { + const result = new Array(diagnostics.length); + for (let i = 0; i < diagnostics.length; i++) { + result[i] = asDiagnostic(diagnostics[i]); + } + return result; + } + function asDiagnostic(diagnostic) { + let result = new protocolDiagnostic_1.ProtocolDiagnostic(asRange(diagnostic.range), diagnostic.message, asDiagnosticSeverity(diagnostic.severity), diagnostic.data); + if (diagnostic.code !== void 0) { + if (typeof diagnostic.code === "string" || typeof diagnostic.code === "number") { + if (ls.CodeDescription.is(diagnostic.codeDescription)) { + result.code = { + value: diagnostic.code, + target: asUri(diagnostic.codeDescription.href) + }; + } else { + result.code = diagnostic.code; + } + } else if (protocolDiagnostic_1.DiagnosticCode.is(diagnostic.code)) { + result.hasDiagnosticCode = true; + const diagnosticCode = diagnostic.code; + result.code = { + value: diagnosticCode.value, + target: asUri(diagnosticCode.target) + }; + } + } + if (diagnostic.source) { + result.source = diagnostic.source; + } + if (diagnostic.relatedInformation) { + result.relatedInformation = asRelatedInformation(diagnostic.relatedInformation); + } + if (Array.isArray(diagnostic.tags)) { + result.tags = asDiagnosticTags(diagnostic.tags); + } + return result; + } + function asRelatedInformation(relatedInformation) { + const result = new Array(relatedInformation.length); + for (let i = 0; i < relatedInformation.length; i++) { + const info = relatedInformation[i]; + result[i] = new code.DiagnosticRelatedInformation(asLocation(info.location), info.message); + } + return result; + } + function asDiagnosticTags(tags) { + if (!tags) { + return void 0; + } + let result = []; + for (let tag of tags) { + let converted = asDiagnosticTag(tag); + if (converted !== void 0) { + result.push(converted); + } + } + return result.length > 0 ? result : void 0; + } + function asDiagnosticTag(tag) { + switch (tag) { + case ls.DiagnosticTag.Unnecessary: + return code.DiagnosticTag.Unnecessary; + case ls.DiagnosticTag.Deprecated: + return code.DiagnosticTag.Deprecated; + default: + return void 0; + } + } + function asPosition(value) { + return value ? new code.Position(value.line, value.character) : void 0; + } + function asRange(value) { + return value ? new code.Range(value.start.line, value.start.character, value.end.line, value.end.character) : void 0; + } + async function asRanges(items, token) { + return async.map(items, (range) => { + return new code.Range(range.start.line, range.start.character, range.end.line, range.end.character); + }, token); + } + function asDiagnosticSeverity(value) { + if (value === void 0 || value === null) { + return code.DiagnosticSeverity.Error; + } + switch (value) { + case ls.DiagnosticSeverity.Error: + return code.DiagnosticSeverity.Error; + case ls.DiagnosticSeverity.Warning: + return code.DiagnosticSeverity.Warning; + case ls.DiagnosticSeverity.Information: + return code.DiagnosticSeverity.Information; + case ls.DiagnosticSeverity.Hint: + return code.DiagnosticSeverity.Hint; + } + return code.DiagnosticSeverity.Error; + } + function asHoverContent(value) { + if (Is.string(value)) { + return asMarkdownString(value); + } else if (CodeBlock.is(value)) { + let result = asMarkdownString(); + return result.appendCodeblock(value.value, value.language); + } else if (Array.isArray(value)) { + let result = []; + for (let element of value) { + let item = asMarkdownString(); + if (CodeBlock.is(element)) { + item.appendCodeblock(element.value, element.language); + } else { + item.appendMarkdown(element); + } + result.push(item); + } + return result; + } else { + return asMarkdownString(value); + } + } + function asDocumentation(value) { + if (Is.string(value)) { + return value; + } else { + switch (value.kind) { + case ls.MarkupKind.Markdown: + return asMarkdownString(value.value); + case ls.MarkupKind.PlainText: + return value.value; + default: + return `Unsupported Markup content received. Kind is: ${value.kind}`; + } + } + } + function asMarkdownString(value) { + let result; + if (value === void 0 || typeof value === "string") { + result = new code.MarkdownString(value); + } else { + switch (value.kind) { + case ls.MarkupKind.Markdown: + result = new code.MarkdownString(value.value); + break; + case ls.MarkupKind.PlainText: + result = new code.MarkdownString(); + result.appendText(value.value); + break; + default: + result = new code.MarkdownString(); + result.appendText(`Unsupported Markup content received. Kind is: ${value.kind}`); + break; + } + } + result.isTrusted = trustMarkdown; + result.supportHtml = supportHtml; + return result; + } + function asHover(hover) { + if (!hover) { + return void 0; + } + return new code.Hover(asHoverContent(hover.contents), asRange(hover.range)); + } + async function asCompletionResult(value, allCommitCharacters, token) { + if (!value) { + return void 0; + } + if (Array.isArray(value)) { + return async.map(value, (item) => asCompletionItem(item, allCommitCharacters), token); + } + const list = value; + const { defaultRange, commitCharacters } = getCompletionItemDefaults(list, allCommitCharacters); + const converted = await async.map(list.items, (item) => { + return asCompletionItem(item, commitCharacters, defaultRange, list.itemDefaults?.insertTextMode, list.itemDefaults?.insertTextFormat, list.itemDefaults?.data); + }, token); + return new code.CompletionList(converted, list.isIncomplete); + } + function getCompletionItemDefaults(list, allCommitCharacters) { + const rangeDefaults = list.itemDefaults?.editRange; + const commitCharacters = list.itemDefaults?.commitCharacters ?? allCommitCharacters; + return ls.Range.is(rangeDefaults) ? { defaultRange: asRange(rangeDefaults), commitCharacters } : rangeDefaults !== void 0 ? { defaultRange: { inserting: asRange(rangeDefaults.insert), replacing: asRange(rangeDefaults.replace) }, commitCharacters } : { defaultRange: void 0, commitCharacters }; + } + function asCompletionItemKind(value) { + if (ls.CompletionItemKind.Text <= value && value <= ls.CompletionItemKind.TypeParameter) { + return [value - 1, void 0]; + } + return [code.CompletionItemKind.Text, value]; + } + function asCompletionItemTag(tag) { + switch (tag) { + case ls.CompletionItemTag.Deprecated: + return code.CompletionItemTag.Deprecated; + } + return void 0; + } + function asCompletionItemTags(tags) { + if (tags === void 0 || tags === null) { + return []; + } + const result = []; + for (const tag of tags) { + const converted = asCompletionItemTag(tag); + if (converted !== void 0) { + result.push(converted); + } + } + return result; + } + function asCompletionItem(item, defaultCommitCharacters, defaultRange, defaultInsertTextMode, defaultInsertTextFormat, defaultData) { + const tags = asCompletionItemTags(item.tags); + const label = asCompletionItemLabel(item); + const result = new protocolCompletionItem_1.default(label); + if (item.detail) { + result.detail = item.detail; + } + if (item.documentation) { + result.documentation = asDocumentation(item.documentation); + result.documentationFormat = Is.string(item.documentation) ? "$string" : item.documentation.kind; + } + if (item.filterText) { + result.filterText = item.filterText; + } + const insertText = asCompletionInsertText(item, defaultRange, defaultInsertTextFormat); + if (insertText) { + result.insertText = insertText.text; + result.range = insertText.range; + result.fromEdit = insertText.fromEdit; + } + if (Is.number(item.kind)) { + let [itemKind, original] = asCompletionItemKind(item.kind); + result.kind = itemKind; + if (original) { + result.originalItemKind = original; + } + } + if (item.sortText) { + result.sortText = item.sortText; + } + if (item.additionalTextEdits) { + result.additionalTextEdits = asTextEditsSync(item.additionalTextEdits); + } + const commitCharacters = item.commitCharacters !== void 0 ? Is.stringArray(item.commitCharacters) ? item.commitCharacters : void 0 : defaultCommitCharacters; + if (commitCharacters) { + result.commitCharacters = commitCharacters.slice(); + } + if (item.command) { + result.command = asCommand(item.command); + } + if (item.deprecated === true || item.deprecated === false) { + result.deprecated = item.deprecated; + if (item.deprecated === true) { + tags.push(code.CompletionItemTag.Deprecated); + } + } + if (item.preselect === true || item.preselect === false) { + result.preselect = item.preselect; + } + const data = item.data ?? defaultData; + if (data !== void 0) { + result.data = data; + } + if (tags.length > 0) { + result.tags = tags; + } + const insertTextMode = item.insertTextMode ?? defaultInsertTextMode; + if (insertTextMode !== void 0) { + result.insertTextMode = insertTextMode; + if (insertTextMode === ls.InsertTextMode.asIs) { + result.keepWhitespace = true; + } + } + return result; + } + function asCompletionItemLabel(item) { + if (ls.CompletionItemLabelDetails.is(item.labelDetails)) { + return { + label: item.label, + detail: item.labelDetails.detail, + description: item.labelDetails.description + }; + } else { + return item.label; + } + } + function asCompletionInsertText(item, defaultRange, defaultInsertTextFormat) { + const insertTextFormat = item.insertTextFormat ?? defaultInsertTextFormat; + if (item.textEdit !== void 0 || defaultRange !== void 0) { + const [range, newText] = item.textEdit !== void 0 ? getCompletionRangeAndText(item.textEdit) : [defaultRange, item.textEditText ?? item.label]; + if (insertTextFormat === ls.InsertTextFormat.Snippet) { + return { text: new code.SnippetString(newText), range, fromEdit: true }; + } else { + return { text: newText, range, fromEdit: true }; + } + } else if (item.insertText) { + if (insertTextFormat === ls.InsertTextFormat.Snippet) { + return { text: new code.SnippetString(item.insertText), fromEdit: false }; + } else { + return { text: item.insertText, fromEdit: false }; + } + } else { + return void 0; + } + } + function getCompletionRangeAndText(value) { + if (ls.InsertReplaceEdit.is(value)) { + return [{ inserting: asRange(value.insert), replacing: asRange(value.replace) }, value.newText]; + } else { + return [asRange(value.range), value.newText]; + } + } + function asTextEdit(edit) { + if (!edit) { + return void 0; + } + return new code.TextEdit(asRange(edit.range), edit.newText); + } + async function asTextEdits(items, token) { + if (!items) { + return void 0; + } + return async.map(items, asTextEdit, token); + } + function asTextEditsSync(items) { + if (!items) { + return void 0; + } + const result = new Array(items.length); + for (let i = 0; i < items.length; i++) { + result[i] = asTextEdit(items[i]); + } + return result; + } + async function asSignatureHelp(item, token) { + if (!item) { + return void 0; + } + let result = new code.SignatureHelp(); + if (Is.number(item.activeSignature)) { + result.activeSignature = item.activeSignature; + } else { + result.activeSignature = 0; + } + if (Is.number(item.activeParameter)) { + result.activeParameter = item.activeParameter; + } else { + result.activeParameter = 0; + } + if (item.signatures) { + result.signatures = await asSignatureInformations(item.signatures, token); + } + return result; + } + async function asSignatureInformations(items, token) { + return async.mapAsync(items, asSignatureInformation, token); + } + async function asSignatureInformation(item, token) { + let result = new code.SignatureInformation(item.label); + if (item.documentation !== void 0) { + result.documentation = asDocumentation(item.documentation); + } + if (item.parameters !== void 0) { + result.parameters = await asParameterInformations(item.parameters, token); + } + if (item.activeParameter !== void 0) { + result.activeParameter = item.activeParameter; + } + { + return result; + } + } + function asParameterInformations(items, token) { + return async.map(items, asParameterInformation, token); + } + function asParameterInformation(item) { + let result = new code.ParameterInformation(item.label); + if (item.documentation) { + result.documentation = asDocumentation(item.documentation); + } + return result; + } + function asLocation(item) { + return item ? new code.Location(_uriConverter(item.uri), asRange(item.range)) : void 0; + } + async function asDeclarationResult(item, token) { + if (!item) { + return void 0; + } + return asLocationResult(item, token); + } + async function asDefinitionResult(item, token) { + if (!item) { + return void 0; + } + return asLocationResult(item, token); + } + function asLocationLink(item) { + if (!item) { + return void 0; + } + let result = { + targetUri: _uriConverter(item.targetUri), + targetRange: asRange(item.targetRange), + originSelectionRange: asRange(item.originSelectionRange), + targetSelectionRange: asRange(item.targetSelectionRange) + }; + if (!result.targetSelectionRange) { + throw new Error(`targetSelectionRange must not be undefined or null`); + } + return result; + } + async function asLocationResult(item, token) { + if (!item) { + return void 0; + } + if (Is.array(item)) { + if (item.length === 0) { + return []; + } else if (ls.LocationLink.is(item[0])) { + const links = item; + return async.map(links, asLocationLink, token); + } else { + const locations = item; + return async.map(locations, asLocation, token); + } + } else if (ls.LocationLink.is(item)) { + return [asLocationLink(item)]; + } else { + return asLocation(item); + } + } + async function asReferences(values, token) { + if (!values) { + return void 0; + } + return async.map(values, asLocation, token); + } + async function asDocumentHighlights(values, token) { + if (!values) { + return void 0; + } + return async.map(values, asDocumentHighlight, token); + } + function asDocumentHighlight(item) { + let result = new code.DocumentHighlight(asRange(item.range)); + if (Is.number(item.kind)) { + result.kind = asDocumentHighlightKind(item.kind); + } + return result; + } + function asDocumentHighlightKind(item) { + switch (item) { + case ls.DocumentHighlightKind.Text: + return code.DocumentHighlightKind.Text; + case ls.DocumentHighlightKind.Read: + return code.DocumentHighlightKind.Read; + case ls.DocumentHighlightKind.Write: + return code.DocumentHighlightKind.Write; + } + return code.DocumentHighlightKind.Text; + } + async function asSymbolInformations(values, token) { + if (!values) { + return void 0; + } + return async.map(values, asSymbolInformation, token); + } + function asSymbolKind(item) { + if (item <= ls.SymbolKind.TypeParameter) { + return item - 1; + } + return code.SymbolKind.Property; + } + function asSymbolTag(value) { + switch (value) { + case ls.SymbolTag.Deprecated: + return code.SymbolTag.Deprecated; + default: + return void 0; + } + } + function asSymbolTags(items) { + if (items === void 0 || items === null) { + return void 0; + } + const result = []; + for (const item of items) { + const converted = asSymbolTag(item); + if (converted !== void 0) { + result.push(converted); + } + } + return result.length === 0 ? void 0 : result; + } + function asSymbolInformation(item) { + const data = item.data; + const location = item.location; + const result = location.range === void 0 || data !== void 0 ? new protocolWorkspaceSymbol_1.default(item.name, asSymbolKind(item.kind), item.containerName ?? "", location.range === void 0 ? _uriConverter(location.uri) : new code.Location(_uriConverter(item.location.uri), asRange(location.range)), data) : new code.SymbolInformation(item.name, asSymbolKind(item.kind), item.containerName ?? "", new code.Location(_uriConverter(item.location.uri), asRange(location.range))); + fillTags(result, item); + return result; + } + async function asDocumentSymbols(values, token) { + if (values === void 0 || values === null) { + return void 0; + } + return async.map(values, asDocumentSymbol, token); + } + function asDocumentSymbol(value) { + let result = new code.DocumentSymbol(value.name, value.detail || "", asSymbolKind(value.kind), asRange(value.range), asRange(value.selectionRange)); + fillTags(result, value); + if (value.children !== void 0 && value.children.length > 0) { + let children = []; + for (let child of value.children) { + children.push(asDocumentSymbol(child)); + } + result.children = children; + } + return result; + } + function fillTags(result, value) { + result.tags = asSymbolTags(value.tags); + if (value.deprecated) { + if (!result.tags) { + result.tags = [code.SymbolTag.Deprecated]; + } else { + if (!result.tags.includes(code.SymbolTag.Deprecated)) { + result.tags = result.tags.concat(code.SymbolTag.Deprecated); + } + } + } + } + function asCommand(item) { + let result = { title: item.title, command: item.command }; + if (item.arguments) { + result.arguments = item.arguments; + } + return result; + } + async function asCommands(items, token) { + if (!items) { + return void 0; + } + return async.map(items, asCommand, token); + } + const kindMapping = /* @__PURE__ */ new Map(); + kindMapping.set(ls.CodeActionKind.Empty, code.CodeActionKind.Empty); + kindMapping.set(ls.CodeActionKind.QuickFix, code.CodeActionKind.QuickFix); + kindMapping.set(ls.CodeActionKind.Refactor, code.CodeActionKind.Refactor); + kindMapping.set(ls.CodeActionKind.RefactorExtract, code.CodeActionKind.RefactorExtract); + kindMapping.set(ls.CodeActionKind.RefactorInline, code.CodeActionKind.RefactorInline); + kindMapping.set(ls.CodeActionKind.RefactorRewrite, code.CodeActionKind.RefactorRewrite); + kindMapping.set(ls.CodeActionKind.Source, code.CodeActionKind.Source); + kindMapping.set(ls.CodeActionKind.SourceOrganizeImports, code.CodeActionKind.SourceOrganizeImports); + function asCodeActionKind(item) { + if (item === void 0 || item === null) { + return void 0; + } + let result = kindMapping.get(item); + if (result) { + return result; + } + let parts = item.split("."); + result = code.CodeActionKind.Empty; + for (let part of parts) { + result = result.append(part); + } + return result; + } + function asCodeActionKinds(items) { + if (items === void 0 || items === null) { + return void 0; + } + return items.map((kind) => asCodeActionKind(kind)); + } + async function asCodeAction(item, token) { + if (item === void 0 || item === null) { + return void 0; + } + let result = new protocolCodeAction_1.default(item.title, item.data); + if (item.kind !== void 0) { + result.kind = asCodeActionKind(item.kind); + } + if (item.diagnostics !== void 0) { + result.diagnostics = asDiagnosticsSync(item.diagnostics); + } + if (item.edit !== void 0) { + result.edit = await asWorkspaceEdit(item.edit, token); + } + if (item.command !== void 0) { + result.command = asCommand(item.command); + } + if (item.isPreferred !== void 0) { + result.isPreferred = item.isPreferred; + } + if (item.disabled !== void 0) { + result.disabled = { reason: item.disabled.reason }; + } + return result; + } + function asCodeActionResult(items, token) { + return async.mapAsync(items, async (item) => { + if (ls.Command.is(item)) { + return asCommand(item); + } else { + return asCodeAction(item, token); + } + }, token); + } + function asCodeLens(item) { + if (!item) { + return void 0; + } + let result = new protocolCodeLens_1.default(asRange(item.range)); + if (item.command) { + result.command = asCommand(item.command); + } + if (item.data !== void 0 && item.data !== null) { + result.data = item.data; + } + return result; + } + async function asCodeLenses(items, token) { + if (!items) { + return void 0; + } + return async.map(items, asCodeLens, token); + } + async function asWorkspaceEdit(item, token) { + if (!item) { + return void 0; + } + const sharedMetadata = /* @__PURE__ */ new Map(); + if (item.changeAnnotations !== void 0) { + const changeAnnotations = item.changeAnnotations; + await async.forEach(Object.keys(changeAnnotations), (key) => { + const metaData = asWorkspaceEditEntryMetadata(changeAnnotations[key]); + sharedMetadata.set(key, metaData); + }, token); + } + const asMetadata = (annotation) => { + if (annotation === void 0) { + return void 0; + } else { + return sharedMetadata.get(annotation); + } + }; + const result = new code.WorkspaceEdit(); + if (item.documentChanges) { + const documentChanges = item.documentChanges; + await async.forEach(documentChanges, (change) => { + if (ls.CreateFile.is(change)) { + result.createFile(_uriConverter(change.uri), change.options, asMetadata(change.annotationId)); + } else if (ls.RenameFile.is(change)) { + result.renameFile(_uriConverter(change.oldUri), _uriConverter(change.newUri), change.options, asMetadata(change.annotationId)); + } else if (ls.DeleteFile.is(change)) { + result.deleteFile(_uriConverter(change.uri), change.options, asMetadata(change.annotationId)); + } else if (ls.TextDocumentEdit.is(change)) { + const uri = _uriConverter(change.textDocument.uri); + for (const edit of change.edits) { + if (ls.AnnotatedTextEdit.is(edit)) { + result.replace(uri, asRange(edit.range), edit.newText, asMetadata(edit.annotationId)); + } else { + result.replace(uri, asRange(edit.range), edit.newText); + } + } + } else { + throw new Error(`Unknown workspace edit change received: +${JSON.stringify(change, void 0, 4)}`); + } + }, token); + } else if (item.changes) { + const changes = item.changes; + await async.forEach(Object.keys(changes), (key) => { + result.set(_uriConverter(key), asTextEditsSync(changes[key])); + }, token); + } + return result; + } + function asWorkspaceEditEntryMetadata(annotation) { + if (annotation === void 0) { + return void 0; + } + return { label: annotation.label, needsConfirmation: !!annotation.needsConfirmation, description: annotation.description }; + } + function asDocumentLink(item) { + let range = asRange(item.range); + let target = item.target ? asUri(item.target) : void 0; + let link = new protocolDocumentLink_1.default(range, target); + if (item.tooltip !== void 0) { + link.tooltip = item.tooltip; + } + if (item.data !== void 0 && item.data !== null) { + link.data = item.data; + } + return link; + } + async function asDocumentLinks(items, token) { + if (!items) { + return void 0; + } + return async.map(items, asDocumentLink, token); + } + function asColor(color) { + return new code.Color(color.red, color.green, color.blue, color.alpha); + } + function asColorInformation(ci) { + return new code.ColorInformation(asRange(ci.range), asColor(ci.color)); + } + async function asColorInformations(colorInformation, token) { + if (!colorInformation) { + return void 0; + } + return async.map(colorInformation, asColorInformation, token); + } + function asColorPresentation(cp) { + let presentation = new code.ColorPresentation(cp.label); + presentation.additionalTextEdits = asTextEditsSync(cp.additionalTextEdits); + if (cp.textEdit) { + presentation.textEdit = asTextEdit(cp.textEdit); + } + return presentation; + } + async function asColorPresentations(colorPresentations, token) { + if (!colorPresentations) { + return void 0; + } + return async.map(colorPresentations, asColorPresentation, token); + } + function asFoldingRangeKind(kind) { + if (kind) { + switch (kind) { + case ls.FoldingRangeKind.Comment: + return code.FoldingRangeKind.Comment; + case ls.FoldingRangeKind.Imports: + return code.FoldingRangeKind.Imports; + case ls.FoldingRangeKind.Region: + return code.FoldingRangeKind.Region; + } + } + return void 0; + } + function asFoldingRange(r) { + return new code.FoldingRange(r.startLine, r.endLine, asFoldingRangeKind(r.kind)); + } + async function asFoldingRanges(foldingRanges, token) { + if (!foldingRanges) { + return void 0; + } + return async.map(foldingRanges, asFoldingRange, token); + } + function asSelectionRange(selectionRange) { + return new code.SelectionRange(asRange(selectionRange.range), selectionRange.parent ? asSelectionRange(selectionRange.parent) : void 0); + } + async function asSelectionRanges(selectionRanges, token) { + if (!Array.isArray(selectionRanges)) { + return []; + } + return async.map(selectionRanges, asSelectionRange, token); + } + function asInlineValue(inlineValue) { + if (ls.InlineValueText.is(inlineValue)) { + return new code.InlineValueText(asRange(inlineValue.range), inlineValue.text); + } else if (ls.InlineValueVariableLookup.is(inlineValue)) { + return new code.InlineValueVariableLookup(asRange(inlineValue.range), inlineValue.variableName, inlineValue.caseSensitiveLookup); + } else { + return new code.InlineValueEvaluatableExpression(asRange(inlineValue.range), inlineValue.expression); + } + } + async function asInlineValues(inlineValues, token) { + if (!Array.isArray(inlineValues)) { + return []; + } + return async.map(inlineValues, asInlineValue, token); + } + async function asInlayHint(value, token) { + const label = typeof value.label === "string" ? value.label : await async.map(value.label, asInlayHintLabelPart, token); + const result = new protocolInlayHint_1.default(asPosition(value.position), label); + if (value.kind !== void 0) { + result.kind = value.kind; + } + if (value.textEdits !== void 0) { + result.textEdits = await asTextEdits(value.textEdits, token); + } + if (value.tooltip !== void 0) { + result.tooltip = asTooltip(value.tooltip); + } + if (value.paddingLeft !== void 0) { + result.paddingLeft = value.paddingLeft; + } + if (value.paddingRight !== void 0) { + result.paddingRight = value.paddingRight; + } + if (value.data !== void 0) { + result.data = value.data; + } + return result; + } + function asInlayHintLabelPart(part) { + const result = new code.InlayHintLabelPart(part.value); + if (part.location !== void 0) { + result.location = asLocation(part.location); + } + if (part.tooltip !== void 0) { + result.tooltip = asTooltip(part.tooltip); + } + if (part.command !== void 0) { + result.command = asCommand(part.command); + } + return result; + } + function asTooltip(value) { + if (typeof value === "string") { + return value; + } + return asMarkdownString(value); + } + async function asInlayHints(values, token) { + if (!Array.isArray(values)) { + return void 0; + } + return async.mapAsync(values, asInlayHint, token); + } + function asCallHierarchyItem(item) { + if (item === null) { + return void 0; + } + const result = new protocolCallHierarchyItem_1.default(asSymbolKind(item.kind), item.name, item.detail || "", asUri(item.uri), asRange(item.range), asRange(item.selectionRange), item.data); + if (item.tags !== void 0) { + result.tags = asSymbolTags(item.tags); + } + return result; + } + async function asCallHierarchyItems(items, token) { + if (items === null) { + return void 0; + } + return async.map(items, asCallHierarchyItem, token); + } + async function asCallHierarchyIncomingCall(item, token) { + return new code.CallHierarchyIncomingCall(asCallHierarchyItem(item.from), await asRanges(item.fromRanges, token)); + } + async function asCallHierarchyIncomingCalls(items, token) { + if (items === null) { + return void 0; + } + return async.mapAsync(items, asCallHierarchyIncomingCall, token); + } + async function asCallHierarchyOutgoingCall(item, token) { + return new code.CallHierarchyOutgoingCall(asCallHierarchyItem(item.to), await asRanges(item.fromRanges, token)); + } + async function asCallHierarchyOutgoingCalls(items, token) { + if (items === null) { + return void 0; + } + return async.mapAsync(items, asCallHierarchyOutgoingCall, token); + } + async function asSemanticTokens(value, _token) { + if (value === void 0 || value === null) { + return void 0; + } + return new code.SemanticTokens(new Uint32Array(value.data), value.resultId); + } + function asSemanticTokensEdit(value) { + return new code.SemanticTokensEdit(value.start, value.deleteCount, value.data !== void 0 ? new Uint32Array(value.data) : void 0); + } + async function asSemanticTokensEdits(value, _token) { + if (value === void 0 || value === null) { + return void 0; + } + return new code.SemanticTokensEdits(value.edits.map(asSemanticTokensEdit), value.resultId); + } + function asSemanticTokensLegend(value) { + return value; + } + async function asLinkedEditingRanges(value, token) { + if (value === null || value === void 0) { + return void 0; + } + return new code.LinkedEditingRanges(await asRanges(value.ranges, token), asRegularExpression(value.wordPattern)); + } + function asRegularExpression(value) { + if (value === null || value === void 0) { + return void 0; + } + return new RegExp(value); + } + function asTypeHierarchyItem(item) { + if (item === null) { + return void 0; + } + let result = new protocolTypeHierarchyItem_1.default(asSymbolKind(item.kind), item.name, item.detail || "", asUri(item.uri), asRange(item.range), asRange(item.selectionRange), item.data); + if (item.tags !== void 0) { + result.tags = asSymbolTags(item.tags); + } + return result; + } + async function asTypeHierarchyItems(items, token) { + if (items === null) { + return void 0; + } + return async.map(items, asTypeHierarchyItem, token); + } + function asGlobPattern(pattern) { + if (Is.string(pattern)) { + return pattern; + } + if (ls.RelativePattern.is(pattern)) { + if (ls.URI.is(pattern.baseUri)) { + return new code.RelativePattern(asUri(pattern.baseUri), pattern.pattern); + } else if (ls.WorkspaceFolder.is(pattern.baseUri)) { + const workspaceFolder = code.workspace.getWorkspaceFolder(asUri(pattern.baseUri.uri)); + return workspaceFolder !== void 0 ? new code.RelativePattern(workspaceFolder, pattern.pattern) : void 0; + } + } + return void 0; + } + async function asInlineCompletionResult(value, token) { + if (!value) { + return void 0; + } + if (Array.isArray(value)) { + return async.map(value, (item) => asInlineCompletionItem(item), token); + } + const list = value; + const converted = await async.map(list.items, (item) => { + return asInlineCompletionItem(item); + }, token); + return new code.InlineCompletionList(converted); + } + function asInlineCompletionItem(item) { + let insertText; + if (typeof item.insertText === "string") { + insertText = item.insertText; + } else { + insertText = new code.SnippetString(item.insertText.value); + } + let command = void 0; + if (item.command) { + command = asCommand(item.command); + } + const inlineCompletionItem = new code.InlineCompletionItem(insertText, asRange(item.range), command); + if (item.filterText) { + inlineCompletionItem.filterText = item.filterText; + } + return inlineCompletionItem; + } + return { + asUri, + asDocumentSelector, + asDiagnostics, + asDiagnostic, + asRange, + asRanges, + asPosition, + asDiagnosticSeverity, + asDiagnosticTag, + asHover, + asCompletionResult, + asCompletionItem, + asTextEdit, + asTextEdits, + asSignatureHelp, + asSignatureInformations, + asSignatureInformation, + asParameterInformations, + asParameterInformation, + asDeclarationResult, + asDefinitionResult, + asLocation, + asReferences, + asDocumentHighlights, + asDocumentHighlight, + asDocumentHighlightKind, + asSymbolKind, + asSymbolTag, + asSymbolTags, + asSymbolInformations, + asSymbolInformation, + asDocumentSymbols, + asDocumentSymbol, + asCommand, + asCommands, + asCodeAction, + asCodeActionKind, + asCodeActionKinds, + asCodeActionResult, + asCodeLens, + asCodeLenses, + asWorkspaceEdit, + asDocumentLink, + asDocumentLinks, + asFoldingRangeKind, + asFoldingRange, + asFoldingRanges, + asColor, + asColorInformation, + asColorInformations, + asColorPresentation, + asColorPresentations, + asSelectionRange, + asSelectionRanges, + asInlineValue, + asInlineValues, + asInlayHint, + asInlayHints, + asSemanticTokensLegend, + asSemanticTokens, + asSemanticTokensEdit, + asSemanticTokensEdits, + asCallHierarchyItem, + asCallHierarchyItems, + asCallHierarchyIncomingCall, + asCallHierarchyIncomingCalls, + asCallHierarchyOutgoingCall, + asCallHierarchyOutgoingCalls, + asLinkedEditingRanges, + asTypeHierarchyItem, + asTypeHierarchyItems, + asGlobPattern, + asInlineCompletionResult, + asInlineCompletionItem + }; + } + exports2.createConverter = createConverter; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/uuid.js +var require_uuid = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/uuid.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.generateUuid = exports2.parse = exports2.isUUID = exports2.v4 = exports2.empty = void 0; + var ValueUUID = class { + constructor(_value) { + this._value = _value; + } + asHex() { + return this._value; + } + equals(other) { + return this.asHex() === other.asHex(); + } + }; + var V4UUID = class _V4UUID extends ValueUUID { + static _oneOf(array) { + return array[Math.floor(array.length * Math.random())]; + } + static _randomHex() { + return _V4UUID._oneOf(_V4UUID._chars); + } + constructor() { + super([ + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + "-", + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + "-", + "4", + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + "-", + _V4UUID._oneOf(_V4UUID._timeHighBits), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + "-", + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex(), + _V4UUID._randomHex() + ].join("")); + } + }; + V4UUID._chars = ["0", "1", "2", "3", "4", "5", "6", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]; + V4UUID._timeHighBits = ["8", "9", "a", "b"]; + exports2.empty = new ValueUUID("00000000-0000-0000-0000-000000000000"); + function v4() { + return new V4UUID(); + } + exports2.v4 = v4; + var _UUIDPattern = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i; + function isUUID(value) { + return _UUIDPattern.test(value); + } + exports2.isUUID = isUUID; + function parse(value) { + if (!isUUID(value)) { + throw new Error("invalid uuid"); + } + return new ValueUUID(value); + } + exports2.parse = parse; + function generateUuid() { + return v4().asHex(); + } + exports2.generateUuid = generateUuid; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/progressPart.js +var require_progressPart = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/progressPart.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ProgressPart = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var Is = require_is(); + var ProgressPart = class { + constructor(_client, _token, done) { + this._client = _client; + this._token = _token; + this._reported = 0; + this._infinite = false; + this._lspProgressDisposable = this._client.onProgress(vscode_languageserver_protocol_1.WorkDoneProgress.type, this._token, (value) => { + switch (value.kind) { + case "begin": + this.begin(value); + break; + case "report": + this.report(value); + break; + case "end": + this.done(); + done && done(this); + break; + } + }); + } + begin(params) { + this._infinite = params.percentage === void 0; + if (this._lspProgressDisposable === void 0) { + return; + } + void vscode_1.window.withProgress({ location: vscode_1.ProgressLocation.Window, cancellable: params.cancellable, title: params.title }, async (progress, cancellationToken) => { + if (this._lspProgressDisposable === void 0) { + return; + } + this._progress = progress; + this._cancellationToken = cancellationToken; + this._tokenDisposable = this._cancellationToken.onCancellationRequested(() => { + this._client.sendNotification(vscode_languageserver_protocol_1.WorkDoneProgressCancelNotification.type, { token: this._token }); + }); + this.report(params); + return new Promise((resolve, reject) => { + this._resolve = resolve; + this._reject = reject; + }); + }); + } + report(params) { + if (this._infinite && Is.string(params.message)) { + this._progress !== void 0 && this._progress.report({ message: params.message }); + } else if (Is.number(params.percentage)) { + const percentage = Math.max(0, Math.min(params.percentage, 100)); + const delta = Math.max(0, percentage - this._reported); + this._reported += delta; + this._progress !== void 0 && this._progress.report({ message: params.message, increment: delta }); + } + } + cancel() { + this.cleanup(); + if (this._reject !== void 0) { + this._reject(); + this._resolve = void 0; + this._reject = void 0; + } + } + done() { + this.cleanup(); + if (this._resolve !== void 0) { + this._resolve(); + this._resolve = void 0; + this._reject = void 0; + } + } + cleanup() { + if (this._lspProgressDisposable !== void 0) { + this._lspProgressDisposable.dispose(); + this._lspProgressDisposable = void 0; + } + if (this._tokenDisposable !== void 0) { + this._tokenDisposable.dispose(); + this._tokenDisposable = void 0; + } + this._progress = void 0; + this._cancellationToken = void 0; + } + }; + exports2.ProgressPart = ProgressPart; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/features.js +var require_features = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/features.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.WorkspaceFeature = exports2.TextDocumentLanguageFeature = exports2.TextDocumentEventFeature = exports2.DynamicDocumentFeature = exports2.DynamicFeature = exports2.StaticFeature = exports2.ensure = exports2.LSPCancellationError = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var Is = require_is(); + var UUID = require_uuid(); + var LSPCancellationError = class extends vscode_1.CancellationError { + constructor(data) { + super(); + this.data = data; + } + }; + exports2.LSPCancellationError = LSPCancellationError; + function ensure(target, key) { + if (target[key] === void 0) { + target[key] = {}; + } + return target[key]; + } + exports2.ensure = ensure; + var StaticFeature; + (function(StaticFeature2) { + function is(value) { + const candidate = value; + return candidate !== void 0 && candidate !== null && Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.clear) && (candidate.fillInitializeParams === void 0 || Is.func(candidate.fillInitializeParams)); + } + StaticFeature2.is = is; + })(StaticFeature || (exports2.StaticFeature = StaticFeature = {})); + var DynamicFeature; + (function(DynamicFeature2) { + function is(value) { + const candidate = value; + return candidate !== void 0 && candidate !== null && Is.func(candidate.fillClientCapabilities) && Is.func(candidate.initialize) && Is.func(candidate.getState) && Is.func(candidate.clear) && (candidate.fillInitializeParams === void 0 || Is.func(candidate.fillInitializeParams)) && Is.func(candidate.register) && Is.func(candidate.unregister) && candidate.registrationType !== void 0; + } + DynamicFeature2.is = is; + })(DynamicFeature || (exports2.DynamicFeature = DynamicFeature = {})); + var DynamicDocumentFeature = class { + constructor(client2) { + this._client = client2; + } + /** + * Returns the state the feature is in. + */ + getState() { + const selectors = this.getDocumentSelectors(); + let count = 0; + for (const selector of selectors) { + count++; + for (const document of vscode_1.workspace.textDocuments) { + if (vscode_1.languages.match(selector, document) > 0) { + return { kind: "document", id: this.registrationType.method, registrations: true, matches: true }; + } + } + } + const registrations = count > 0; + return { kind: "document", id: this.registrationType.method, registrations, matches: false }; + } + }; + exports2.DynamicDocumentFeature = DynamicDocumentFeature; + var TextDocumentEventFeature = class extends DynamicDocumentFeature { + static textDocumentFilter(selectors, textDocument) { + for (const selector of selectors) { + if (vscode_1.languages.match(selector, textDocument) > 0) { + return true; + } + } + return false; + } + constructor(client2, event, type, middleware, createParams, textDocument, selectorFilter) { + super(client2); + this._event = event; + this._type = type; + this._middleware = middleware; + this._createParams = createParams; + this._textDocument = textDocument; + this._selectorFilter = selectorFilter; + this._selectors = /* @__PURE__ */ new Map(); + this._onNotificationSent = new vscode_1.EventEmitter(); + } + getStateInfo() { + return [this._selectors.values(), false]; + } + getDocumentSelectors() { + return this._selectors.values(); + } + register(data) { + if (!data.registerOptions.documentSelector) { + return; + } + if (!this._listener) { + this._listener = this._event((data2) => { + this.callback(data2).catch((error) => { + this._client.error(`Sending document notification ${this._type.method} failed.`, error); + }); + }); + } + this._selectors.set(data.id, this._client.protocol2CodeConverter.asDocumentSelector(data.registerOptions.documentSelector)); + } + async callback(data) { + const doSend = async (data2) => { + const params = this._createParams(data2); + await this._client.sendNotification(this._type, params); + this.notificationSent(this.getTextDocument(data2), this._type, params); + }; + if (this.matches(data)) { + const middleware = this._middleware(); + return middleware ? middleware(data, (data2) => doSend(data2)) : doSend(data); + } + } + matches(data) { + if (this._client.hasDedicatedTextSynchronizationFeature(this._textDocument(data))) { + return false; + } + return !this._selectorFilter || this._selectorFilter(this._selectors.values(), data); + } + get onNotificationSent() { + return this._onNotificationSent.event; + } + notificationSent(textDocument, type, params) { + this._onNotificationSent.fire({ textDocument, type, params }); + } + unregister(id) { + this._selectors.delete(id); + if (this._selectors.size === 0 && this._listener) { + this._listener.dispose(); + this._listener = void 0; + } + } + clear() { + this._selectors.clear(); + this._onNotificationSent.dispose(); + if (this._listener) { + this._listener.dispose(); + this._listener = void 0; + } + } + getProvider(document) { + for (const selector of this._selectors.values()) { + if (vscode_1.languages.match(selector, document) > 0) { + return { + send: (data) => { + return this.callback(data); + } + }; + } + } + return void 0; + } + }; + exports2.TextDocumentEventFeature = TextDocumentEventFeature; + var TextDocumentLanguageFeature = class extends DynamicDocumentFeature { + constructor(client2, registrationType) { + super(client2); + this._registrationType = registrationType; + this._registrations = /* @__PURE__ */ new Map(); + } + *getDocumentSelectors() { + for (const registration of this._registrations.values()) { + const selector = registration.data.registerOptions.documentSelector; + if (selector === null) { + continue; + } + yield this._client.protocol2CodeConverter.asDocumentSelector(selector); + } + } + get registrationType() { + return this._registrationType; + } + register(data) { + if (!data.registerOptions.documentSelector) { + return; + } + let registration = this.registerLanguageProvider(data.registerOptions, data.id); + this._registrations.set(data.id, { disposable: registration[0], data, provider: registration[1] }); + } + unregister(id) { + let registration = this._registrations.get(id); + if (registration !== void 0) { + registration.disposable.dispose(); + } + } + clear() { + this._registrations.forEach((value) => { + value.disposable.dispose(); + }); + this._registrations.clear(); + } + getRegistration(documentSelector, capability) { + if (!capability) { + return [void 0, void 0]; + } else if (vscode_languageserver_protocol_1.TextDocumentRegistrationOptions.is(capability)) { + const id = vscode_languageserver_protocol_1.StaticRegistrationOptions.hasId(capability) ? capability.id : UUID.generateUuid(); + const selector = capability.documentSelector ?? documentSelector; + if (selector) { + return [id, Object.assign({}, capability, { documentSelector: selector })]; + } + } else if (Is.boolean(capability) && capability === true || vscode_languageserver_protocol_1.WorkDoneProgressOptions.is(capability)) { + if (!documentSelector) { + return [void 0, void 0]; + } + const options = Is.boolean(capability) && capability === true ? { documentSelector } : Object.assign({}, capability, { documentSelector }); + return [UUID.generateUuid(), options]; + } + return [void 0, void 0]; + } + getRegistrationOptions(documentSelector, capability) { + if (!documentSelector || !capability) { + return void 0; + } + return Is.boolean(capability) && capability === true ? { documentSelector } : Object.assign({}, capability, { documentSelector }); + } + getProvider(textDocument) { + for (const registration of this._registrations.values()) { + let selector = registration.data.registerOptions.documentSelector; + if (selector !== null && vscode_1.languages.match(this._client.protocol2CodeConverter.asDocumentSelector(selector), textDocument) > 0) { + return registration.provider; + } + } + return void 0; + } + getAllProviders() { + const result = []; + for (const item of this._registrations.values()) { + result.push(item.provider); + } + return result; + } + }; + exports2.TextDocumentLanguageFeature = TextDocumentLanguageFeature; + var WorkspaceFeature = class { + constructor(client2, registrationType) { + this._client = client2; + this._registrationType = registrationType; + this._registrations = /* @__PURE__ */ new Map(); + } + getState() { + const registrations = this._registrations.size > 0; + return { kind: "workspace", id: this._registrationType.method, registrations }; + } + get registrationType() { + return this._registrationType; + } + register(data) { + const registration = this.registerLanguageProvider(data.registerOptions); + this._registrations.set(data.id, { disposable: registration[0], provider: registration[1] }); + } + unregister(id) { + let registration = this._registrations.get(id); + if (registration !== void 0) { + registration.disposable.dispose(); + } + } + clear() { + this._registrations.forEach((registration) => { + registration.disposable.dispose(); + }); + this._registrations.clear(); + } + getProviders() { + const result = []; + for (const registration of this._registrations.values()) { + result.push(registration.provider); + } + return result; + } + }; + exports2.WorkspaceFeature = WorkspaceFeature; + } +}); + +// node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/lib/path.js +var require_path = __commonJS({ + "node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/lib/path.js"(exports2, module2) { + var isWindows = typeof process === "object" && process && process.platform === "win32"; + module2.exports = isWindows ? { sep: "\\" } : { sep: "/" }; + } +}); + +// node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js +var require_balanced_match = __commonJS({ + "node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports2, module2) { + "use strict"; + module2.exports = balanced; + function balanced(a, b, str) { + if (a instanceof RegExp) a = maybeMatch(a, str); + if (b instanceof RegExp) b = maybeMatch(b, str); + var r = range(a, b, str); + return r && { + start: r[0], + end: r[1], + pre: str.slice(0, r[0]), + body: str.slice(r[0] + a.length, r[1]), + post: str.slice(r[1] + b.length) + }; + } + function maybeMatch(reg, str) { + var m = str.match(reg); + return m ? m[0] : null; + } + balanced.range = range; + function range(a, b, str) { + var begs, beg, left, right, result; + var ai = str.indexOf(a); + var bi = str.indexOf(b, ai + 1); + var i = ai; + if (ai >= 0 && bi > 0) { + if (a === b) { + return [ai, bi]; + } + begs = []; + left = str.length; + while (i >= 0 && !result) { + if (i == ai) { + begs.push(i); + ai = str.indexOf(a, i + 1); + } else if (begs.length == 1) { + result = [begs.pop(), bi]; + } else { + beg = begs.pop(); + if (beg < left) { + left = beg; + right = bi; + } + bi = str.indexOf(b, i + 1); + } + i = ai < bi && ai >= 0 ? ai : bi; + } + if (begs.length) { + result = [left, right]; + } + } + return result; + } + } +}); + +// node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js +var require_brace_expansion = __commonJS({ + "node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(exports2, module2) { + var balanced = require_balanced_match(); + module2.exports = expandTop; + var escSlash = "\0SLASH" + Math.random() + "\0"; + var escOpen = "\0OPEN" + Math.random() + "\0"; + var escClose = "\0CLOSE" + Math.random() + "\0"; + var escComma = "\0COMMA" + Math.random() + "\0"; + var escPeriod = "\0PERIOD" + Math.random() + "\0"; + function numeric(str) { + return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0); + } + function escapeBraces(str) { + return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod); + } + function unescapeBraces(str) { + return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join("."); + } + function parseCommaParts(str) { + if (!str) + return [""]; + var parts = []; + var m = balanced("{", "}", str); + if (!m) + return str.split(","); + var pre = m.pre; + var body = m.body; + var post = m.post; + var p = pre.split(","); + p[p.length - 1] += "{" + body + "}"; + var postParts = parseCommaParts(post); + if (post.length) { + p[p.length - 1] += postParts.shift(); + p.push.apply(p, postParts); + } + parts.push.apply(parts, p); + return parts; + } + function expandTop(str) { + if (!str) + return []; + if (str.substr(0, 2) === "{}") { + str = "\\{\\}" + str.substr(2); + } + return expand(escapeBraces(str), true).map(unescapeBraces); + } + function embrace(str) { + return "{" + str + "}"; + } + function isPadded(el) { + return /^-?0\d/.test(el); + } + function lte(i, y) { + return i <= y; + } + function gte(i, y) { + return i >= y; + } + function expand(str, isTop) { + var expansions = []; + var m = balanced("{", "}", str); + if (!m) return [str]; + var pre = m.pre; + var post = m.post.length ? expand(m.post, false) : [""]; + if (/\$$/.test(m.pre)) { + for (var k = 0; k < post.length; k++) { + var expansion = pre + "{" + m.body + "}" + post[k]; + expansions.push(expansion); + } + } else { + var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body); + var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body); + var isSequence = isNumericSequence || isAlphaSequence; + var isOptions = m.body.indexOf(",") >= 0; + if (!isSequence && !isOptions) { + if (m.post.match(/,.*\}/)) { + str = m.pre + "{" + m.body + escClose + m.post; + return expand(str); + } + return [str]; + } + var n; + if (isSequence) { + n = m.body.split(/\.\./); + } else { + n = parseCommaParts(m.body); + if (n.length === 1) { + n = expand(n[0], false).map(embrace); + if (n.length === 1) { + return post.map(function(p) { + return m.pre + n[0] + p; + }); + } + } + } + var N; + if (isSequence) { + var x = numeric(n[0]); + var y = numeric(n[1]); + var width = Math.max(n[0].length, n[1].length); + var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1; + var test = lte; + var reverse = y < x; + if (reverse) { + incr *= -1; + test = gte; + } + var pad = n.some(isPadded); + N = []; + for (var i = x; test(i, y); i += incr) { + var c; + if (isAlphaSequence) { + c = String.fromCharCode(i); + if (c === "\\") + c = ""; + } else { + c = String(i); + if (pad) { + var need = width - c.length; + if (need > 0) { + var z = new Array(need + 1).join("0"); + if (i < 0) + c = "-" + z + c.slice(1); + else + c = z + c; + } + } + } + N.push(c); + } + } else { + N = []; + for (var j = 0; j < n.length; j++) { + N.push.apply(N, expand(n[j], false)); + } + } + for (var j = 0; j < N.length; j++) { + for (var k = 0; k < post.length; k++) { + var expansion = pre + N[j] + post[k]; + if (!isTop || isSequence || expansion) + expansions.push(expansion); + } + } + } + return expansions; + } + } +}); + +// node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js +var require_minimatch = __commonJS({ + "node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js"(exports2, module2) { + var minimatch = module2.exports = (p, pattern, options = {}) => { + assertValidPattern(pattern); + if (!options.nocomment && pattern.charAt(0) === "#") { + return false; + } + return new Minimatch(pattern, options).match(p); + }; + module2.exports = minimatch; + var path = require_path(); + minimatch.sep = path.sep; + var GLOBSTAR = Symbol("globstar **"); + minimatch.GLOBSTAR = GLOBSTAR; + var expand = require_brace_expansion(); + var plTypes = { + "!": { open: "(?:(?!(?:", close: "))[^/]*?)" }, + "?": { open: "(?:", close: ")?" }, + "+": { open: "(?:", close: ")+" }, + "*": { open: "(?:", close: ")*" }, + "@": { open: "(?:", close: ")" } + }; + var qmark = "[^/]"; + var star = qmark + "*?"; + var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?"; + var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?"; + var charSet = (s) => s.split("").reduce((set, c) => { + set[c] = true; + return set; + }, {}); + var reSpecials = charSet("().*{}+?[]^$\\!"); + var addPatternStartSet = charSet("[.("); + var slashSplit = /\/+/; + minimatch.filter = (pattern, options = {}) => (p, i, list) => minimatch(p, pattern, options); + var ext = (a, b = {}) => { + const t = {}; + Object.keys(a).forEach((k) => t[k] = a[k]); + Object.keys(b).forEach((k) => t[k] = b[k]); + return t; + }; + minimatch.defaults = (def) => { + if (!def || typeof def !== "object" || !Object.keys(def).length) { + return minimatch; + } + const orig = minimatch; + const m = (p, pattern, options) => orig(p, pattern, ext(def, options)); + m.Minimatch = class Minimatch extends orig.Minimatch { + constructor(pattern, options) { + super(pattern, ext(def, options)); + } + }; + m.Minimatch.defaults = (options) => orig.defaults(ext(def, options)).Minimatch; + m.filter = (pattern, options) => orig.filter(pattern, ext(def, options)); + m.defaults = (options) => orig.defaults(ext(def, options)); + m.makeRe = (pattern, options) => orig.makeRe(pattern, ext(def, options)); + m.braceExpand = (pattern, options) => orig.braceExpand(pattern, ext(def, options)); + m.match = (list, pattern, options) => orig.match(list, pattern, ext(def, options)); + return m; + }; + minimatch.braceExpand = (pattern, options) => braceExpand(pattern, options); + var braceExpand = (pattern, options = {}) => { + assertValidPattern(pattern); + if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) { + return [pattern]; + } + return expand(pattern); + }; + var MAX_PATTERN_LENGTH = 1024 * 64; + var assertValidPattern = (pattern) => { + if (typeof pattern !== "string") { + throw new TypeError("invalid pattern"); + } + if (pattern.length > MAX_PATTERN_LENGTH) { + throw new TypeError("pattern is too long"); + } + }; + var SUBPARSE = Symbol("subparse"); + minimatch.makeRe = (pattern, options) => new Minimatch(pattern, options || {}).makeRe(); + minimatch.match = (list, pattern, options = {}) => { + const mm = new Minimatch(pattern, options); + list = list.filter((f) => mm.match(f)); + if (mm.options.nonull && !list.length) { + list.push(pattern); + } + return list; + }; + var globUnescape = (s) => s.replace(/\\(.)/g, "$1"); + var charUnescape = (s) => s.replace(/\\([^-\]])/g, "$1"); + var regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); + var braExpEscape = (s) => s.replace(/[[\]\\]/g, "\\$&"); + var Minimatch = class { + constructor(pattern, options) { + assertValidPattern(pattern); + if (!options) options = {}; + this.options = options; + this.set = []; + this.pattern = pattern; + this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options.allowWindowsEscape === false; + if (this.windowsPathsNoEscape) { + this.pattern = this.pattern.replace(/\\/g, "/"); + } + this.regexp = null; + this.negate = false; + this.comment = false; + this.empty = false; + this.partial = !!options.partial; + this.make(); + } + debug() { + } + make() { + const pattern = this.pattern; + const options = this.options; + if (!options.nocomment && pattern.charAt(0) === "#") { + this.comment = true; + return; + } + if (!pattern) { + this.empty = true; + return; + } + this.parseNegate(); + let set = this.globSet = this.braceExpand(); + if (options.debug) this.debug = (...args) => console.error(...args); + this.debug(this.pattern, set); + set = this.globParts = set.map((s) => s.split(slashSplit)); + this.debug(this.pattern, set); + set = set.map((s, si, set2) => s.map(this.parse, this)); + this.debug(this.pattern, set); + set = set.filter((s) => s.indexOf(false) === -1); + this.debug(this.pattern, set); + this.set = set; + } + parseNegate() { + if (this.options.nonegate) return; + const pattern = this.pattern; + let negate = false; + let negateOffset = 0; + for (let i = 0; i < pattern.length && pattern.charAt(i) === "!"; i++) { + negate = !negate; + negateOffset++; + } + if (negateOffset) this.pattern = pattern.slice(negateOffset); + this.negate = negate; + } + // set partial to true to test if, for example, + // "/a/b" matches the start of "/*/b/*/d" + // Partial means, if you run out of file before you run + // out of pattern, then that's fine, as long as all + // the parts match. + matchOne(file, pattern, partial) { + var options = this.options; + this.debug( + "matchOne", + { "this": this, file, pattern } + ); + this.debug("matchOne", file.length, pattern.length); + for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) { + this.debug("matchOne loop"); + var p = pattern[pi]; + var f = file[fi]; + this.debug(pattern, p, f); + if (p === false) return false; + if (p === GLOBSTAR) { + this.debug("GLOBSTAR", [pattern, p, f]); + var fr = fi; + var pr = pi + 1; + if (pr === pl) { + this.debug("** at the end"); + for (; fi < fl; fi++) { + if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".") return false; + } + return true; + } + while (fr < fl) { + var swallowee = file[fr]; + this.debug("\nglobstar while", file, fr, pattern, pr, swallowee); + if (this.matchOne(file.slice(fr), pattern.slice(pr), partial)) { + this.debug("globstar found match!", fr, fl, swallowee); + return true; + } else { + if (swallowee === "." || swallowee === ".." || !options.dot && swallowee.charAt(0) === ".") { + this.debug("dot detected!", file, fr, pattern, pr); + break; + } + this.debug("globstar swallow a segment, and continue"); + fr++; + } + } + if (partial) { + this.debug("\n>>> no match, partial?", file, fr, pattern, pr); + if (fr === fl) return true; + } + return false; + } + var hit; + if (typeof p === "string") { + hit = f === p; + this.debug("string match", p, f, hit); + } else { + hit = f.match(p); + this.debug("pattern match", p, f, hit); + } + if (!hit) return false; + } + if (fi === fl && pi === pl) { + return true; + } else if (fi === fl) { + return partial; + } else if (pi === pl) { + return fi === fl - 1 && file[fi] === ""; + } + throw new Error("wtf?"); + } + braceExpand() { + return braceExpand(this.pattern, this.options); + } + parse(pattern, isSub) { + assertValidPattern(pattern); + const options = this.options; + if (pattern === "**") { + if (!options.noglobstar) + return GLOBSTAR; + else + pattern = "*"; + } + if (pattern === "") return ""; + let re = ""; + let hasMagic = false; + let escaping = false; + const patternListStack = []; + const negativeLists = []; + let stateChar; + let inClass = false; + let reClassStart = -1; + let classStart = -1; + let cs; + let pl; + let sp; + let dotTravAllowed = pattern.charAt(0) === "."; + let dotFileAllowed = options.dot || dotTravAllowed; + const patternStart = () => dotTravAllowed ? "" : dotFileAllowed ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)"; + const subPatternStart = (p) => p.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)"; + const clearStateChar = () => { + if (stateChar) { + switch (stateChar) { + case "*": + re += star; + hasMagic = true; + break; + case "?": + re += qmark; + hasMagic = true; + break; + default: + re += "\\" + stateChar; + break; + } + this.debug("clearStateChar %j %j", stateChar, re); + stateChar = false; + } + }; + for (let i = 0, c; i < pattern.length && (c = pattern.charAt(i)); i++) { + this.debug("%s %s %s %j", pattern, i, re, c); + if (escaping) { + if (c === "/") { + return false; + } + if (reSpecials[c]) { + re += "\\"; + } + re += c; + escaping = false; + continue; + } + switch (c) { + case "/": { + return false; + } + case "\\": + if (inClass && pattern.charAt(i + 1) === "-") { + re += c; + continue; + } + clearStateChar(); + escaping = true; + continue; + case "?": + case "*": + case "+": + case "@": + case "!": + this.debug("%s %s %s %j <-- stateChar", pattern, i, re, c); + if (inClass) { + this.debug(" in class"); + if (c === "!" && i === classStart + 1) c = "^"; + re += c; + continue; + } + this.debug("call clearStateChar %j", stateChar); + clearStateChar(); + stateChar = c; + if (options.noext) clearStateChar(); + continue; + case "(": { + if (inClass) { + re += "("; + continue; + } + if (!stateChar) { + re += "\\("; + continue; + } + const plEntry = { + type: stateChar, + start: i - 1, + reStart: re.length, + open: plTypes[stateChar].open, + close: plTypes[stateChar].close + }; + this.debug(this.pattern, " ", plEntry); + patternListStack.push(plEntry); + re += plEntry.open; + if (plEntry.start === 0 && plEntry.type !== "!") { + dotTravAllowed = true; + re += subPatternStart(pattern.slice(i + 1)); + } + this.debug("plType %j %j", stateChar, re); + stateChar = false; + continue; + } + case ")": { + const plEntry = patternListStack[patternListStack.length - 1]; + if (inClass || !plEntry) { + re += "\\)"; + continue; + } + patternListStack.pop(); + clearStateChar(); + hasMagic = true; + pl = plEntry; + re += pl.close; + if (pl.type === "!") { + negativeLists.push(Object.assign(pl, { reEnd: re.length })); + } + continue; + } + case "|": { + const plEntry = patternListStack[patternListStack.length - 1]; + if (inClass || !plEntry) { + re += "\\|"; + continue; + } + clearStateChar(); + re += "|"; + if (plEntry.start === 0 && plEntry.type !== "!") { + dotTravAllowed = true; + re += subPatternStart(pattern.slice(i + 1)); + } + continue; + } + case "[": + clearStateChar(); + if (inClass) { + re += "\\" + c; + continue; + } + inClass = true; + classStart = i; + reClassStart = re.length; + re += c; + continue; + case "]": + if (i === classStart + 1 || !inClass) { + re += "\\" + c; + continue; + } + cs = pattern.substring(classStart + 1, i); + try { + RegExp("[" + braExpEscape(charUnescape(cs)) + "]"); + re += c; + } catch (er) { + re = re.substring(0, reClassStart) + "(?:$.)"; + } + hasMagic = true; + inClass = false; + continue; + default: + clearStateChar(); + if (reSpecials[c] && !(c === "^" && inClass)) { + re += "\\"; + } + re += c; + break; + } + } + if (inClass) { + cs = pattern.slice(classStart + 1); + sp = this.parse(cs, SUBPARSE); + re = re.substring(0, reClassStart) + "\\[" + sp[0]; + hasMagic = hasMagic || sp[1]; + } + for (pl = patternListStack.pop(); pl; pl = patternListStack.pop()) { + let tail; + tail = re.slice(pl.reStart + pl.open.length); + this.debug("setting tail", re, pl); + tail = tail.replace(/((?:\\{2}){0,64})(\\?)\|/g, (_, $1, $2) => { + if (!$2) { + $2 = "\\"; + } + return $1 + $1 + $2 + "|"; + }); + this.debug("tail=%j\n %s", tail, tail, pl, re); + const t = pl.type === "*" ? star : pl.type === "?" ? qmark : "\\" + pl.type; + hasMagic = true; + re = re.slice(0, pl.reStart) + t + "\\(" + tail; + } + clearStateChar(); + if (escaping) { + re += "\\\\"; + } + const addPatternStart = addPatternStartSet[re.charAt(0)]; + for (let n = negativeLists.length - 1; n > -1; n--) { + const nl = negativeLists[n]; + const nlBefore = re.slice(0, nl.reStart); + const nlFirst = re.slice(nl.reStart, nl.reEnd - 8); + let nlAfter = re.slice(nl.reEnd); + const nlLast = re.slice(nl.reEnd - 8, nl.reEnd) + nlAfter; + const closeParensBefore = nlBefore.split(")").length; + const openParensBefore = nlBefore.split("(").length - closeParensBefore; + let cleanAfter = nlAfter; + for (let i = 0; i < openParensBefore; i++) { + cleanAfter = cleanAfter.replace(/\)[+*?]?/, ""); + } + nlAfter = cleanAfter; + const dollar = nlAfter === "" && isSub !== SUBPARSE ? "(?:$|\\/)" : ""; + re = nlBefore + nlFirst + nlAfter + dollar + nlLast; + } + if (re !== "" && hasMagic) { + re = "(?=.)" + re; + } + if (addPatternStart) { + re = patternStart() + re; + } + if (isSub === SUBPARSE) { + return [re, hasMagic]; + } + if (options.nocase && !hasMagic) { + hasMagic = pattern.toUpperCase() !== pattern.toLowerCase(); + } + if (!hasMagic) { + return globUnescape(pattern); + } + const flags = options.nocase ? "i" : ""; + try { + return Object.assign(new RegExp("^" + re + "$", flags), { + _glob: pattern, + _src: re + }); + } catch (er) { + return new RegExp("$."); + } + } + makeRe() { + if (this.regexp || this.regexp === false) return this.regexp; + const set = this.set; + if (!set.length) { + this.regexp = false; + return this.regexp; + } + const options = this.options; + const twoStar = options.noglobstar ? star : options.dot ? twoStarDot : twoStarNoDot; + const flags = options.nocase ? "i" : ""; + let re = set.map((pattern) => { + pattern = pattern.map( + (p) => typeof p === "string" ? regExpEscape(p) : p === GLOBSTAR ? GLOBSTAR : p._src + ).reduce((set2, p) => { + if (!(set2[set2.length - 1] === GLOBSTAR && p === GLOBSTAR)) { + set2.push(p); + } + return set2; + }, []); + pattern.forEach((p, i) => { + if (p !== GLOBSTAR || pattern[i - 1] === GLOBSTAR) { + return; + } + if (i === 0) { + if (pattern.length > 1) { + pattern[i + 1] = "(?:\\/|" + twoStar + "\\/)?" + pattern[i + 1]; + } else { + pattern[i] = twoStar; + } + } else if (i === pattern.length - 1) { + pattern[i - 1] += "(?:\\/|" + twoStar + ")?"; + } else { + pattern[i - 1] += "(?:\\/|\\/" + twoStar + "\\/)" + pattern[i + 1]; + pattern[i + 1] = GLOBSTAR; + } + }); + return pattern.filter((p) => p !== GLOBSTAR).join("/"); + }).join("|"); + re = "^(?:" + re + ")$"; + if (this.negate) re = "^(?!" + re + ").*$"; + try { + this.regexp = new RegExp(re, flags); + } catch (ex) { + this.regexp = false; + } + return this.regexp; + } + match(f, partial = this.partial) { + this.debug("match", f, this.pattern); + if (this.comment) return false; + if (this.empty) return f === ""; + if (f === "/" && partial) return true; + const options = this.options; + if (path.sep !== "/") { + f = f.split(path.sep).join("/"); + } + f = f.split(slashSplit); + this.debug(this.pattern, "split", f); + const set = this.set; + this.debug(this.pattern, "set", set); + let filename; + for (let i = f.length - 1; i >= 0; i--) { + filename = f[i]; + if (filename) break; + } + for (let i = 0; i < set.length; i++) { + const pattern = set[i]; + let file = f; + if (options.matchBase && pattern.length === 1) { + file = [filename]; + } + const hit = this.matchOne(file, pattern, partial); + if (hit) { + if (options.flipNegate) return true; + return !this.negate; + } + } + if (options.flipNegate) return false; + return this.negate; + } + static defaults(def) { + return minimatch.defaults(def).Minimatch; + } + }; + minimatch.Minimatch = Minimatch; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/diagnostic.js +var require_diagnostic = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/diagnostic.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DiagnosticFeature = exports2.DiagnosticPullMode = exports2.vsdiag = void 0; + var minimatch = require_minimatch(); + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var uuid_1 = require_uuid(); + var features_1 = require_features(); + function ensure(target, key) { + if (target[key] === void 0) { + target[key] = {}; + } + return target[key]; + } + var vsdiag; + (function(vsdiag2) { + let DocumentDiagnosticReportKind; + (function(DocumentDiagnosticReportKind2) { + DocumentDiagnosticReportKind2["full"] = "full"; + DocumentDiagnosticReportKind2["unChanged"] = "unChanged"; + })(DocumentDiagnosticReportKind = vsdiag2.DocumentDiagnosticReportKind || (vsdiag2.DocumentDiagnosticReportKind = {})); + })(vsdiag || (exports2.vsdiag = vsdiag = {})); + var DiagnosticPullMode; + (function(DiagnosticPullMode2) { + DiagnosticPullMode2["onType"] = "onType"; + DiagnosticPullMode2["onSave"] = "onSave"; + })(DiagnosticPullMode || (exports2.DiagnosticPullMode = DiagnosticPullMode = {})); + var RequestStateKind; + (function(RequestStateKind2) { + RequestStateKind2["active"] = "open"; + RequestStateKind2["reschedule"] = "reschedule"; + RequestStateKind2["outDated"] = "drop"; + })(RequestStateKind || (RequestStateKind = {})); + var Tabs = class _Tabs { + constructor() { + this.open = /* @__PURE__ */ new Set(); + this._onOpen = new vscode_1.EventEmitter(); + this._onClose = new vscode_1.EventEmitter(); + _Tabs.fillTabResources(this.open); + const openTabsHandler = (event) => { + if (event.closed.length === 0 && event.opened.length === 0) { + return; + } + const oldTabs = this.open; + const currentTabs = /* @__PURE__ */ new Set(); + _Tabs.fillTabResources(currentTabs); + const closed = /* @__PURE__ */ new Set(); + const opened = new Set(currentTabs); + for (const tab of oldTabs.values()) { + if (currentTabs.has(tab)) { + opened.delete(tab); + } else { + closed.add(tab); + } + } + this.open = currentTabs; + if (closed.size > 0) { + const toFire = /* @__PURE__ */ new Set(); + for (const item of closed) { + toFire.add(vscode_1.Uri.parse(item)); + } + this._onClose.fire(toFire); + } + if (opened.size > 0) { + const toFire = /* @__PURE__ */ new Set(); + for (const item of opened) { + toFire.add(vscode_1.Uri.parse(item)); + } + this._onOpen.fire(toFire); + } + }; + if (vscode_1.window.tabGroups.onDidChangeTabs !== void 0) { + this.disposable = vscode_1.window.tabGroups.onDidChangeTabs(openTabsHandler); + } else { + this.disposable = { dispose: () => { + } }; + } + } + get onClose() { + return this._onClose.event; + } + get onOpen() { + return this._onOpen.event; + } + dispose() { + this.disposable.dispose(); + } + isActive(document) { + return document instanceof vscode_1.Uri ? vscode_1.window.activeTextEditor?.document.uri === document : vscode_1.window.activeTextEditor?.document === document; + } + isVisible(document) { + const uri = document instanceof vscode_1.Uri ? document : document.uri; + return this.open.has(uri.toString()); + } + getTabResources() { + const result = /* @__PURE__ */ new Set(); + _Tabs.fillTabResources(/* @__PURE__ */ new Set(), result); + return result; + } + static fillTabResources(strings, uris) { + const seen = strings ?? /* @__PURE__ */ new Set(); + for (const group of vscode_1.window.tabGroups.all) { + for (const tab of group.tabs) { + const input = tab.input; + let uri; + if (input instanceof vscode_1.TabInputText) { + uri = input.uri; + } else if (input instanceof vscode_1.TabInputTextDiff) { + uri = input.modified; + } else if (input instanceof vscode_1.TabInputCustom) { + uri = input.uri; + } + if (uri !== void 0 && !seen.has(uri.toString())) { + seen.add(uri.toString()); + uris !== void 0 && uris.add(uri); + } + } + } + } + }; + var PullState; + (function(PullState2) { + PullState2[PullState2["document"] = 1] = "document"; + PullState2[PullState2["workspace"] = 2] = "workspace"; + })(PullState || (PullState = {})); + var DocumentOrUri; + (function(DocumentOrUri2) { + function asKey(document) { + return document instanceof vscode_1.Uri ? document.toString() : document.uri.toString(); + } + DocumentOrUri2.asKey = asKey; + })(DocumentOrUri || (DocumentOrUri = {})); + var DocumentPullStateTracker = class { + constructor() { + this.documentPullStates = /* @__PURE__ */ new Map(); + this.workspacePullStates = /* @__PURE__ */ new Map(); + } + track(kind, document, arg1) { + const states = kind === PullState.document ? this.documentPullStates : this.workspacePullStates; + const [key, uri, version] = document instanceof vscode_1.Uri ? [document.toString(), document, arg1] : [document.uri.toString(), document.uri, document.version]; + let state = states.get(key); + if (state === void 0) { + state = { document: uri, pulledVersion: version, resultId: void 0 }; + states.set(key, state); + } + return state; + } + update(kind, document, arg1, arg2) { + const states = kind === PullState.document ? this.documentPullStates : this.workspacePullStates; + const [key, uri, version, resultId] = document instanceof vscode_1.Uri ? [document.toString(), document, arg1, arg2] : [document.uri.toString(), document.uri, document.version, arg1]; + let state = states.get(key); + if (state === void 0) { + state = { document: uri, pulledVersion: version, resultId }; + states.set(key, state); + } else { + state.pulledVersion = version; + state.resultId = resultId; + } + } + unTrack(kind, document) { + const key = DocumentOrUri.asKey(document); + const states = kind === PullState.document ? this.documentPullStates : this.workspacePullStates; + states.delete(key); + } + tracks(kind, document) { + const key = DocumentOrUri.asKey(document); + const states = kind === PullState.document ? this.documentPullStates : this.workspacePullStates; + return states.has(key); + } + getResultId(kind, document) { + const key = DocumentOrUri.asKey(document); + const states = kind === PullState.document ? this.documentPullStates : this.workspacePullStates; + return states.get(key)?.resultId; + } + getAllResultIds() { + const result = []; + for (let [uri, value] of this.workspacePullStates) { + if (this.documentPullStates.has(uri)) { + value = this.documentPullStates.get(uri); + } + if (value.resultId !== void 0) { + result.push({ uri, value: value.resultId }); + } + } + return result; + } + }; + var DiagnosticRequestor = class { + constructor(client2, tabs, options) { + this.client = client2; + this.tabs = tabs; + this.options = options; + this.isDisposed = false; + this.onDidChangeDiagnosticsEmitter = new vscode_1.EventEmitter(); + this.provider = this.createProvider(); + this.diagnostics = vscode_1.languages.createDiagnosticCollection(options.identifier); + this.openRequests = /* @__PURE__ */ new Map(); + this.documentStates = new DocumentPullStateTracker(); + this.workspaceErrorCounter = 0; + } + knows(kind, document) { + const uri = document instanceof vscode_1.Uri ? document : document.uri; + return this.documentStates.tracks(kind, document) || this.openRequests.has(uri.toString()); + } + forget(kind, document) { + this.documentStates.unTrack(kind, document); + } + pull(document, cb) { + if (this.isDisposed) { + return; + } + const uri = document instanceof vscode_1.Uri ? document : document.uri; + this.pullAsync(document).then(() => { + if (cb) { + cb(); + } + }, (error) => { + this.client.error(`Document pull failed for text document ${uri.toString()}`, error, false); + }); + } + async pullAsync(document, version) { + if (this.isDisposed) { + return; + } + const isUri = document instanceof vscode_1.Uri; + const uri = isUri ? document : document.uri; + const key = uri.toString(); + version = isUri ? version : document.version; + const currentRequestState = this.openRequests.get(key); + const documentState = isUri ? this.documentStates.track(PullState.document, document, version) : this.documentStates.track(PullState.document, document); + if (currentRequestState === void 0) { + const tokenSource = new vscode_1.CancellationTokenSource(); + this.openRequests.set(key, { state: RequestStateKind.active, document, version, tokenSource }); + let report; + let afterState; + try { + report = await this.provider.provideDiagnostics(document, documentState.resultId, tokenSource.token) ?? { kind: vsdiag.DocumentDiagnosticReportKind.full, items: [] }; + } catch (error) { + if (error instanceof features_1.LSPCancellationError && vscode_languageserver_protocol_1.DiagnosticServerCancellationData.is(error.data) && error.data.retriggerRequest === false) { + afterState = { state: RequestStateKind.outDated, document }; + } + if (afterState === void 0 && error instanceof vscode_1.CancellationError) { + afterState = { state: RequestStateKind.reschedule, document }; + } else { + throw error; + } + } + afterState = afterState ?? this.openRequests.get(key); + if (afterState === void 0) { + this.client.error(`Lost request state in diagnostic pull model. Clearing diagnostics for ${key}`); + this.diagnostics.delete(uri); + return; + } + this.openRequests.delete(key); + if (!this.tabs.isVisible(document)) { + this.documentStates.unTrack(PullState.document, document); + return; + } + if (afterState.state === RequestStateKind.outDated) { + return; + } + if (report !== void 0) { + if (report.kind === vsdiag.DocumentDiagnosticReportKind.full) { + this.diagnostics.set(uri, report.items); + } + documentState.pulledVersion = version; + documentState.resultId = report.resultId; + } + if (afterState.state === RequestStateKind.reschedule) { + this.pull(document); + } + } else { + if (currentRequestState.state === RequestStateKind.active) { + currentRequestState.tokenSource.cancel(); + this.openRequests.set(key, { state: RequestStateKind.reschedule, document: currentRequestState.document }); + } else if (currentRequestState.state === RequestStateKind.outDated) { + this.openRequests.set(key, { state: RequestStateKind.reschedule, document: currentRequestState.document }); + } + } + } + forgetDocument(document) { + const uri = document instanceof vscode_1.Uri ? document : document.uri; + const key = uri.toString(); + const request = this.openRequests.get(key); + if (this.options.workspaceDiagnostics) { + if (request !== void 0) { + this.openRequests.set(key, { state: RequestStateKind.reschedule, document }); + } else { + this.pull(document, () => { + this.forget(PullState.document, document); + }); + } + } else { + if (request !== void 0) { + if (request.state === RequestStateKind.active) { + request.tokenSource.cancel(); + } + this.openRequests.set(key, { state: RequestStateKind.outDated, document }); + } + this.diagnostics.delete(uri); + this.forget(PullState.document, document); + } + } + pullWorkspace() { + if (this.isDisposed) { + return; + } + this.pullWorkspaceAsync().then(() => { + this.workspaceTimeout = (0, vscode_languageserver_protocol_1.RAL)().timer.setTimeout(() => { + this.pullWorkspace(); + }, 2e3); + }, (error) => { + if (!(error instanceof features_1.LSPCancellationError) && !vscode_languageserver_protocol_1.DiagnosticServerCancellationData.is(error.data)) { + this.client.error(`Workspace diagnostic pull failed.`, error, false); + this.workspaceErrorCounter++; + } + if (this.workspaceErrorCounter <= 5) { + this.workspaceTimeout = (0, vscode_languageserver_protocol_1.RAL)().timer.setTimeout(() => { + this.pullWorkspace(); + }, 2e3); + } + }); + } + async pullWorkspaceAsync() { + if (!this.provider.provideWorkspaceDiagnostics || this.isDisposed) { + return; + } + if (this.workspaceCancellation !== void 0) { + this.workspaceCancellation.cancel(); + this.workspaceCancellation = void 0; + } + this.workspaceCancellation = new vscode_1.CancellationTokenSource(); + const previousResultIds = this.documentStates.getAllResultIds().map((item) => { + return { + uri: this.client.protocol2CodeConverter.asUri(item.uri), + value: item.value + }; + }); + await this.provider.provideWorkspaceDiagnostics(previousResultIds, this.workspaceCancellation.token, (chunk) => { + if (!chunk || this.isDisposed) { + return; + } + for (const item of chunk.items) { + if (item.kind === vsdiag.DocumentDiagnosticReportKind.full) { + if (!this.documentStates.tracks(PullState.document, item.uri)) { + this.diagnostics.set(item.uri, item.items); + } + } + this.documentStates.update(PullState.workspace, item.uri, item.version ?? void 0, item.resultId); + } + }); + } + createProvider() { + const result = { + onDidChangeDiagnostics: this.onDidChangeDiagnosticsEmitter.event, + provideDiagnostics: (document, previousResultId, token) => { + const provideDiagnostics = (document2, previousResultId2, token2) => { + const params = { + identifier: this.options.identifier, + textDocument: { uri: this.client.code2ProtocolConverter.asUri(document2 instanceof vscode_1.Uri ? document2 : document2.uri) }, + previousResultId: previousResultId2 + }; + if (this.isDisposed === true || !this.client.isRunning()) { + return { kind: vsdiag.DocumentDiagnosticReportKind.full, items: [] }; + } + return this.client.sendRequest(vscode_languageserver_protocol_1.DocumentDiagnosticRequest.type, params, token2).then(async (result2) => { + if (result2 === void 0 || result2 === null || this.isDisposed || token2.isCancellationRequested) { + return { kind: vsdiag.DocumentDiagnosticReportKind.full, items: [] }; + } + if (result2.kind === vscode_languageserver_protocol_1.DocumentDiagnosticReportKind.Full) { + return { kind: vsdiag.DocumentDiagnosticReportKind.full, resultId: result2.resultId, items: await this.client.protocol2CodeConverter.asDiagnostics(result2.items, token2) }; + } else { + return { kind: vsdiag.DocumentDiagnosticReportKind.unChanged, resultId: result2.resultId }; + } + }, (error) => { + return this.client.handleFailedRequest(vscode_languageserver_protocol_1.DocumentDiagnosticRequest.type, token2, error, { kind: vsdiag.DocumentDiagnosticReportKind.full, items: [] }); + }); + }; + const middleware = this.client.middleware; + return middleware.provideDiagnostics ? middleware.provideDiagnostics(document, previousResultId, token, provideDiagnostics) : provideDiagnostics(document, previousResultId, token); + } + }; + if (this.options.workspaceDiagnostics) { + result.provideWorkspaceDiagnostics = (resultIds, token, resultReporter) => { + const convertReport = async (report) => { + if (report.kind === vscode_languageserver_protocol_1.DocumentDiagnosticReportKind.Full) { + return { + kind: vsdiag.DocumentDiagnosticReportKind.full, + uri: this.client.protocol2CodeConverter.asUri(report.uri), + resultId: report.resultId, + version: report.version, + items: await this.client.protocol2CodeConverter.asDiagnostics(report.items, token) + }; + } else { + return { + kind: vsdiag.DocumentDiagnosticReportKind.unChanged, + uri: this.client.protocol2CodeConverter.asUri(report.uri), + resultId: report.resultId, + version: report.version + }; + } + }; + const convertPreviousResultIds = (resultIds2) => { + const converted = []; + for (const item of resultIds2) { + converted.push({ uri: this.client.code2ProtocolConverter.asUri(item.uri), value: item.value }); + } + return converted; + }; + const provideDiagnostics = (resultIds2, token2) => { + const partialResultToken = (0, uuid_1.generateUuid)(); + const disposable = this.client.onProgress(vscode_languageserver_protocol_1.WorkspaceDiagnosticRequest.partialResult, partialResultToken, async (partialResult) => { + if (partialResult === void 0 || partialResult === null) { + resultReporter(null); + return; + } + const converted = { + items: [] + }; + for (const item of partialResult.items) { + try { + converted.items.push(await convertReport(item)); + } catch (error) { + this.client.error(`Converting workspace diagnostics failed.`, error); + } + } + resultReporter(converted); + }); + const params = { + identifier: this.options.identifier, + previousResultIds: convertPreviousResultIds(resultIds2), + partialResultToken + }; + if (this.isDisposed === true || !this.client.isRunning()) { + return { items: [] }; + } + return this.client.sendRequest(vscode_languageserver_protocol_1.WorkspaceDiagnosticRequest.type, params, token2).then(async (result2) => { + if (token2.isCancellationRequested) { + return { items: [] }; + } + const converted = { + items: [] + }; + for (const item of result2.items) { + converted.items.push(await convertReport(item)); + } + disposable.dispose(); + resultReporter(converted); + return { items: [] }; + }, (error) => { + disposable.dispose(); + return this.client.handleFailedRequest(vscode_languageserver_protocol_1.DocumentDiagnosticRequest.type, token2, error, { items: [] }); + }); + }; + const middleware = this.client.middleware; + return middleware.provideWorkspaceDiagnostics ? middleware.provideWorkspaceDiagnostics(resultIds, token, resultReporter, provideDiagnostics) : provideDiagnostics(resultIds, token, resultReporter); + }; + } + return result; + } + dispose() { + this.isDisposed = true; + this.workspaceCancellation?.cancel(); + this.workspaceTimeout?.dispose(); + for (const [key, request] of this.openRequests) { + if (request.state === RequestStateKind.active) { + request.tokenSource.cancel(); + } + this.openRequests.set(key, { state: RequestStateKind.outDated, document: request.document }); + } + this.diagnostics.dispose(); + } + }; + var BackgroundScheduler = class { + constructor(diagnosticRequestor) { + this.diagnosticRequestor = diagnosticRequestor; + this.documents = new vscode_languageserver_protocol_1.LinkedMap(); + this.isDisposed = false; + } + add(document) { + if (this.isDisposed === true) { + return; + } + const key = DocumentOrUri.asKey(document); + if (this.documents.has(key)) { + return; + } + this.documents.set(key, document, vscode_languageserver_protocol_1.Touch.Last); + this.trigger(); + } + remove(document) { + const key = DocumentOrUri.asKey(document); + this.documents.delete(key); + if (this.documents.size === 0) { + this.stop(); + } else if (key === this.endDocumentKey()) { + this.endDocument = this.documents.last; + } + } + trigger() { + if (this.isDisposed === true) { + return; + } + if (this.intervalHandle !== void 0) { + this.endDocument = this.documents.last; + return; + } + this.endDocument = this.documents.last; + this.intervalHandle = (0, vscode_languageserver_protocol_1.RAL)().timer.setInterval(() => { + const document = this.documents.first; + if (document !== void 0) { + const key = DocumentOrUri.asKey(document); + this.diagnosticRequestor.pull(document); + this.documents.set(key, document, vscode_languageserver_protocol_1.Touch.Last); + if (key === this.endDocumentKey()) { + this.stop(); + } + } + }, 200); + } + dispose() { + this.isDisposed = true; + this.stop(); + this.documents.clear(); + } + stop() { + this.intervalHandle?.dispose(); + this.intervalHandle = void 0; + this.endDocument = void 0; + } + endDocumentKey() { + return this.endDocument !== void 0 ? DocumentOrUri.asKey(this.endDocument) : void 0; + } + }; + var DiagnosticFeatureProviderImpl = class { + constructor(client2, tabs, options) { + const diagnosticPullOptions = client2.clientOptions.diagnosticPullOptions ?? { onChange: true, onSave: false }; + const documentSelector = client2.protocol2CodeConverter.asDocumentSelector(options.documentSelector); + const disposables = []; + const matchResource = (resource) => { + const selector = options.documentSelector; + if (diagnosticPullOptions.match !== void 0) { + return diagnosticPullOptions.match(selector, resource); + } + for (const filter of selector) { + if (!vscode_languageserver_protocol_1.TextDocumentFilter.is(filter)) { + continue; + } + if (typeof filter === "string") { + return false; + } + if (filter.language !== void 0 && filter.language !== "*") { + return false; + } + if (filter.scheme !== void 0 && filter.scheme !== "*" && filter.scheme !== resource.scheme) { + return false; + } + if (filter.pattern !== void 0) { + const matcher = new minimatch.Minimatch(filter.pattern, { noext: true }); + if (!matcher.makeRe()) { + return false; + } + if (!matcher.match(resource.fsPath)) { + return false; + } + } + } + return true; + }; + const matches = (document) => { + return document instanceof vscode_1.Uri ? matchResource(document) : vscode_1.languages.match(documentSelector, document) > 0 && tabs.isVisible(document); + }; + const isActiveDocument = (document) => { + return document instanceof vscode_1.Uri ? this.activeTextDocument?.uri.toString() === document.toString() : this.activeTextDocument === document; + }; + this.diagnosticRequestor = new DiagnosticRequestor(client2, tabs, options); + this.backgroundScheduler = new BackgroundScheduler(this.diagnosticRequestor); + const addToBackgroundIfNeeded = (document) => { + if (!matches(document) || !options.interFileDependencies || isActiveDocument(document)) { + return; + } + this.backgroundScheduler.add(document); + }; + this.activeTextDocument = vscode_1.window.activeTextEditor?.document; + vscode_1.window.onDidChangeActiveTextEditor((editor) => { + const oldActive = this.activeTextDocument; + this.activeTextDocument = editor?.document; + if (oldActive !== void 0) { + addToBackgroundIfNeeded(oldActive); + } + if (this.activeTextDocument !== void 0) { + this.backgroundScheduler.remove(this.activeTextDocument); + } + }); + const openFeature = client2.getFeature(vscode_languageserver_protocol_1.DidOpenTextDocumentNotification.method); + disposables.push(openFeature.onNotificationSent((event) => { + const textDocument = event.textDocument; + if (this.diagnosticRequestor.knows(PullState.document, textDocument)) { + return; + } + if (matches(textDocument)) { + this.diagnosticRequestor.pull(textDocument, () => { + addToBackgroundIfNeeded(textDocument); + }); + } + })); + disposables.push(tabs.onOpen((opened) => { + for (const resource of opened) { + if (this.diagnosticRequestor.knows(PullState.document, resource)) { + continue; + } + const uriStr = resource.toString(); + let textDocument; + for (const item of vscode_1.workspace.textDocuments) { + if (uriStr === item.uri.toString()) { + textDocument = item; + break; + } + } + if (textDocument !== void 0 && matches(textDocument)) { + this.diagnosticRequestor.pull(textDocument, () => { + addToBackgroundIfNeeded(textDocument); + }); + } + } + })); + const pulledTextDocuments = /* @__PURE__ */ new Set(); + for (const textDocument of vscode_1.workspace.textDocuments) { + if (matches(textDocument)) { + this.diagnosticRequestor.pull(textDocument, () => { + addToBackgroundIfNeeded(textDocument); + }); + pulledTextDocuments.add(textDocument.uri.toString()); + } + } + if (diagnosticPullOptions.onTabs === true) { + for (const resource of tabs.getTabResources()) { + if (!pulledTextDocuments.has(resource.toString()) && matches(resource)) { + this.diagnosticRequestor.pull(resource, () => { + addToBackgroundIfNeeded(resource); + }); + } + } + } + if (diagnosticPullOptions.onChange === true) { + const changeFeature = client2.getFeature(vscode_languageserver_protocol_1.DidChangeTextDocumentNotification.method); + disposables.push(changeFeature.onNotificationSent(async (event) => { + const textDocument = event.textDocument; + if ((diagnosticPullOptions.filter === void 0 || !diagnosticPullOptions.filter(textDocument, DiagnosticPullMode.onType)) && this.diagnosticRequestor.knows(PullState.document, textDocument)) { + this.diagnosticRequestor.pull(textDocument, () => { + this.backgroundScheduler.trigger(); + }); + } + })); + } + if (diagnosticPullOptions.onSave === true) { + const saveFeature = client2.getFeature(vscode_languageserver_protocol_1.DidSaveTextDocumentNotification.method); + disposables.push(saveFeature.onNotificationSent((event) => { + const textDocument = event.textDocument; + if ((diagnosticPullOptions.filter === void 0 || !diagnosticPullOptions.filter(textDocument, DiagnosticPullMode.onSave)) && this.diagnosticRequestor.knows(PullState.document, textDocument)) { + this.diagnosticRequestor.pull(event.textDocument, () => { + this.backgroundScheduler.trigger(); + }); + } + })); + } + const closeFeature = client2.getFeature(vscode_languageserver_protocol_1.DidCloseTextDocumentNotification.method); + disposables.push(closeFeature.onNotificationSent((event) => { + this.cleanUpDocument(event.textDocument); + })); + tabs.onClose((closed) => { + for (const document of closed) { + this.cleanUpDocument(document); + } + }); + this.diagnosticRequestor.onDidChangeDiagnosticsEmitter.event(() => { + for (const textDocument of vscode_1.workspace.textDocuments) { + if (matches(textDocument)) { + this.diagnosticRequestor.pull(textDocument); + } + } + }); + if (options.workspaceDiagnostics === true && options.identifier !== "da348dc5-c30a-4515-9d98-31ff3be38d14") { + this.diagnosticRequestor.pullWorkspace(); + } + this.disposable = vscode_1.Disposable.from(...disposables, this.backgroundScheduler, this.diagnosticRequestor); + } + get onDidChangeDiagnosticsEmitter() { + return this.diagnosticRequestor.onDidChangeDiagnosticsEmitter; + } + get diagnostics() { + return this.diagnosticRequestor.provider; + } + cleanUpDocument(document) { + if (this.diagnosticRequestor.knows(PullState.document, document)) { + this.diagnosticRequestor.forgetDocument(document); + this.backgroundScheduler.remove(document); + } + } + }; + var DiagnosticFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DocumentDiagnosticRequest.type); + } + fillClientCapabilities(capabilities) { + let capability = ensure(ensure(capabilities, "textDocument"), "diagnostic"); + capability.dynamicRegistration = true; + capability.relatedDocumentSupport = false; + ensure(ensure(capabilities, "workspace"), "diagnostics").refreshSupport = true; + } + initialize(capabilities, documentSelector) { + const client2 = this._client; + client2.onRequest(vscode_languageserver_protocol_1.DiagnosticRefreshRequest.type, async () => { + for (const provider of this.getAllProviders()) { + provider.onDidChangeDiagnosticsEmitter.fire(); + } + }); + let [id, options] = this.getRegistration(documentSelector, capabilities.diagnosticProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + clear() { + if (this.tabs !== void 0) { + this.tabs.dispose(); + this.tabs = void 0; + } + super.clear(); + } + registerLanguageProvider(options) { + if (this.tabs === void 0) { + this.tabs = new Tabs(); + } + const provider = new DiagnosticFeatureProviderImpl(this._client, this.tabs, options); + return [provider.disposable, provider]; + } + }; + exports2.DiagnosticFeature = DiagnosticFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/notebook.js +var require_notebook = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/notebook.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.NotebookDocumentSyncFeature = void 0; + var vscode = require("vscode"); + var minimatch = require_minimatch(); + var proto = require_main3(); + var UUID = require_uuid(); + var Is = require_is(); + function ensure(target, key) { + if (target[key] === void 0) { + target[key] = {}; + } + return target[key]; + } + var Converter; + (function(Converter2) { + let c2p; + (function(c2p2) { + function asVersionedNotebookDocumentIdentifier(notebookDocument, base) { + return { + version: notebookDocument.version, + uri: base.asUri(notebookDocument.uri) + }; + } + c2p2.asVersionedNotebookDocumentIdentifier = asVersionedNotebookDocumentIdentifier; + function asNotebookDocument(notebookDocument, cells, base) { + const result = proto.NotebookDocument.create(base.asUri(notebookDocument.uri), notebookDocument.notebookType, notebookDocument.version, asNotebookCells(cells, base)); + if (Object.keys(notebookDocument.metadata).length > 0) { + result.metadata = asMetadata(notebookDocument.metadata); + } + return result; + } + c2p2.asNotebookDocument = asNotebookDocument; + function asNotebookCells(cells, base) { + return cells.map((cell) => asNotebookCell(cell, base)); + } + c2p2.asNotebookCells = asNotebookCells; + function asMetadata(metadata) { + const seen = /* @__PURE__ */ new Set(); + return deepCopy(seen, metadata); + } + c2p2.asMetadata = asMetadata; + function asNotebookCell(cell, base) { + const result = proto.NotebookCell.create(asNotebookCellKind(cell.kind), base.asUri(cell.document.uri)); + if (Object.keys(cell.metadata).length > 0) { + result.metadata = asMetadata(cell.metadata); + } + if (cell.executionSummary !== void 0 && (Is.number(cell.executionSummary.executionOrder) && Is.boolean(cell.executionSummary.success))) { + result.executionSummary = { + executionOrder: cell.executionSummary.executionOrder, + success: cell.executionSummary.success + }; + } + return result; + } + c2p2.asNotebookCell = asNotebookCell; + function asNotebookCellKind(kind) { + switch (kind) { + case vscode.NotebookCellKind.Markup: + return proto.NotebookCellKind.Markup; + case vscode.NotebookCellKind.Code: + return proto.NotebookCellKind.Code; + } + } + function deepCopy(seen, value) { + if (seen.has(value)) { + throw new Error(`Can't deep copy cyclic structures.`); + } + if (Array.isArray(value)) { + const result = []; + for (const elem of value) { + if (elem !== null && typeof elem === "object" || Array.isArray(elem)) { + result.push(deepCopy(seen, elem)); + } else { + if (elem instanceof RegExp) { + throw new Error(`Can't transfer regular expressions to the server`); + } + result.push(elem); + } + } + return result; + } else { + const props = Object.keys(value); + const result = /* @__PURE__ */ Object.create(null); + for (const prop of props) { + const elem = value[prop]; + if (elem !== null && typeof elem === "object" || Array.isArray(elem)) { + result[prop] = deepCopy(seen, elem); + } else { + if (elem instanceof RegExp) { + throw new Error(`Can't transfer regular expressions to the server`); + } + result[prop] = elem; + } + } + return result; + } + } + function asTextContentChange(event, base) { + const params = base.asChangeTextDocumentParams(event, event.document.uri, event.document.version); + return { document: params.textDocument, changes: params.contentChanges }; + } + c2p2.asTextContentChange = asTextContentChange; + function asNotebookDocumentChangeEvent(event, base) { + const result = /* @__PURE__ */ Object.create(null); + if (event.metadata) { + result.metadata = Converter2.c2p.asMetadata(event.metadata); + } + if (event.cells !== void 0) { + const cells = /* @__PURE__ */ Object.create(null); + const changedCells = event.cells; + if (changedCells.structure) { + cells.structure = { + array: { + start: changedCells.structure.array.start, + deleteCount: changedCells.structure.array.deleteCount, + cells: changedCells.structure.array.cells !== void 0 ? changedCells.structure.array.cells.map((cell) => Converter2.c2p.asNotebookCell(cell, base)) : void 0 + }, + didOpen: changedCells.structure.didOpen !== void 0 ? changedCells.structure.didOpen.map((cell) => base.asOpenTextDocumentParams(cell.document).textDocument) : void 0, + didClose: changedCells.structure.didClose !== void 0 ? changedCells.structure.didClose.map((cell) => base.asCloseTextDocumentParams(cell.document).textDocument) : void 0 + }; + } + if (changedCells.data !== void 0) { + cells.data = changedCells.data.map((cell) => Converter2.c2p.asNotebookCell(cell, base)); + } + if (changedCells.textContent !== void 0) { + cells.textContent = changedCells.textContent.map((event2) => Converter2.c2p.asTextContentChange(event2, base)); + } + if (Object.keys(cells).length > 0) { + result.cells = cells; + } + } + return result; + } + c2p2.asNotebookDocumentChangeEvent = asNotebookDocumentChangeEvent; + })(c2p = Converter2.c2p || (Converter2.c2p = {})); + })(Converter || (Converter = {})); + var $NotebookCell; + (function($NotebookCell2) { + function computeDiff(originalCells, modifiedCells, compareMetadata) { + const originalLength = originalCells.length; + const modifiedLength = modifiedCells.length; + let startIndex = 0; + while (startIndex < modifiedLength && startIndex < originalLength && equals(originalCells[startIndex], modifiedCells[startIndex], compareMetadata)) { + startIndex++; + } + if (startIndex < modifiedLength && startIndex < originalLength) { + let originalEndIndex = originalLength - 1; + let modifiedEndIndex = modifiedLength - 1; + while (originalEndIndex >= 0 && modifiedEndIndex >= 0 && equals(originalCells[originalEndIndex], modifiedCells[modifiedEndIndex], compareMetadata)) { + originalEndIndex--; + modifiedEndIndex--; + } + const deleteCount = originalEndIndex + 1 - startIndex; + const newCells = startIndex === modifiedEndIndex + 1 ? void 0 : modifiedCells.slice(startIndex, modifiedEndIndex + 1); + return newCells !== void 0 ? { start: startIndex, deleteCount, cells: newCells } : { start: startIndex, deleteCount }; + } else if (startIndex < modifiedLength) { + return { start: startIndex, deleteCount: 0, cells: modifiedCells.slice(startIndex) }; + } else if (startIndex < originalLength) { + return { start: startIndex, deleteCount: originalLength - startIndex }; + } else { + return void 0; + } + } + $NotebookCell2.computeDiff = computeDiff; + function equals(one, other, compareMetaData = true) { + if (one.kind !== other.kind || one.document.uri.toString() !== other.document.uri.toString() || one.document.languageId !== other.document.languageId || !equalsExecution(one.executionSummary, other.executionSummary)) { + return false; + } + return !compareMetaData || compareMetaData && equalsMetadata(one.metadata, other.metadata); + } + function equalsExecution(one, other) { + if (one === other) { + return true; + } + if (one === void 0 || other === void 0) { + return false; + } + return one.executionOrder === other.executionOrder && one.success === other.success && equalsTiming(one.timing, other.timing); + } + function equalsTiming(one, other) { + if (one === other) { + return true; + } + if (one === void 0 || other === void 0) { + return false; + } + return one.startTime === other.startTime && one.endTime === other.endTime; + } + function equalsMetadata(one, other) { + if (one === other) { + return true; + } + if (one === null || one === void 0 || other === null || other === void 0) { + return false; + } + if (typeof one !== typeof other) { + return false; + } + if (typeof one !== "object") { + return false; + } + const oneArray = Array.isArray(one); + const otherArray = Array.isArray(other); + if (oneArray !== otherArray) { + return false; + } + if (oneArray && otherArray) { + if (one.length !== other.length) { + return false; + } + for (let i = 0; i < one.length; i++) { + if (!equalsMetadata(one[i], other[i])) { + return false; + } + } + } + if (isObjectLiteral(one) && isObjectLiteral(other)) { + const oneKeys = Object.keys(one); + const otherKeys = Object.keys(other); + if (oneKeys.length !== otherKeys.length) { + return false; + } + oneKeys.sort(); + otherKeys.sort(); + if (!equalsMetadata(oneKeys, otherKeys)) { + return false; + } + for (let i = 0; i < oneKeys.length; i++) { + const prop = oneKeys[i]; + if (!equalsMetadata(one[prop], other[prop])) { + return false; + } + } + return true; + } + return false; + } + function isObjectLiteral(value) { + return value !== null && typeof value === "object"; + } + $NotebookCell2.isObjectLiteral = isObjectLiteral; + })($NotebookCell || ($NotebookCell = {})); + var $NotebookDocumentFilter; + (function($NotebookDocumentFilter2) { + function matchNotebook(filter, notebookDocument) { + if (typeof filter === "string") { + return filter === "*" || notebookDocument.notebookType === filter; + } + if (filter.notebookType !== void 0 && filter.notebookType !== "*" && notebookDocument.notebookType !== filter.notebookType) { + return false; + } + const uri = notebookDocument.uri; + if (filter.scheme !== void 0 && filter.scheme !== "*" && uri.scheme !== filter.scheme) { + return false; + } + if (filter.pattern !== void 0) { + const matcher = new minimatch.Minimatch(filter.pattern, { noext: true }); + if (!matcher.makeRe()) { + return false; + } + if (!matcher.match(uri.fsPath)) { + return false; + } + } + return true; + } + $NotebookDocumentFilter2.matchNotebook = matchNotebook; + })($NotebookDocumentFilter || ($NotebookDocumentFilter = {})); + var $NotebookDocumentSyncOptions; + (function($NotebookDocumentSyncOptions2) { + function asDocumentSelector(options) { + const selector = options.notebookSelector; + const result = []; + for (const element of selector) { + const notebookType = (typeof element.notebook === "string" ? element.notebook : element.notebook?.notebookType) ?? "*"; + const scheme = typeof element.notebook === "string" ? void 0 : element.notebook?.scheme; + const pattern = typeof element.notebook === "string" ? void 0 : element.notebook?.pattern; + if (element.cells !== void 0) { + for (const cell of element.cells) { + result.push(asDocumentFilter(notebookType, scheme, pattern, cell.language)); + } + } else { + result.push(asDocumentFilter(notebookType, scheme, pattern, void 0)); + } + } + return result; + } + $NotebookDocumentSyncOptions2.asDocumentSelector = asDocumentSelector; + function asDocumentFilter(notebookType, scheme, pattern, language) { + return scheme === void 0 && pattern === void 0 ? { notebook: notebookType, language } : { notebook: { notebookType, scheme, pattern }, language }; + } + })($NotebookDocumentSyncOptions || ($NotebookDocumentSyncOptions = {})); + var SyncInfo; + (function(SyncInfo2) { + function create(cells) { + return { + cells, + uris: new Set(cells.map((cell) => cell.document.uri.toString())) + }; + } + SyncInfo2.create = create; + })(SyncInfo || (SyncInfo = {})); + var NotebookDocumentSyncFeatureProvider = class { + constructor(client2, options) { + this.client = client2; + this.options = options; + this.notebookSyncInfo = /* @__PURE__ */ new Map(); + this.notebookDidOpen = /* @__PURE__ */ new Set(); + this.disposables = []; + this.selector = client2.protocol2CodeConverter.asDocumentSelector($NotebookDocumentSyncOptions.asDocumentSelector(options)); + vscode.workspace.onDidOpenNotebookDocument((notebookDocument) => { + this.notebookDidOpen.add(notebookDocument.uri.toString()); + this.didOpen(notebookDocument); + }, void 0, this.disposables); + for (const notebookDocument of vscode.workspace.notebookDocuments) { + this.notebookDidOpen.add(notebookDocument.uri.toString()); + this.didOpen(notebookDocument); + } + vscode.workspace.onDidChangeNotebookDocument((event) => this.didChangeNotebookDocument(event), void 0, this.disposables); + if (this.options.save === true) { + vscode.workspace.onDidSaveNotebookDocument((notebookDocument) => this.didSave(notebookDocument), void 0, this.disposables); + } + vscode.workspace.onDidCloseNotebookDocument((notebookDocument) => { + this.didClose(notebookDocument); + this.notebookDidOpen.delete(notebookDocument.uri.toString()); + }, void 0, this.disposables); + } + getState() { + for (const notebook of vscode.workspace.notebookDocuments) { + const matchingCells = this.getMatchingCells(notebook); + if (matchingCells !== void 0) { + return { kind: "document", id: "$internal", registrations: true, matches: true }; + } + } + return { kind: "document", id: "$internal", registrations: true, matches: false }; + } + get mode() { + return "notebook"; + } + handles(textDocument) { + return vscode.languages.match(this.selector, textDocument) > 0; + } + didOpenNotebookCellTextDocument(notebookDocument, cell) { + if (vscode.languages.match(this.selector, cell.document) === 0) { + return; + } + if (!this.notebookDidOpen.has(notebookDocument.uri.toString())) { + return; + } + const syncInfo = this.notebookSyncInfo.get(notebookDocument.uri.toString()); + const cellMatches = this.cellMatches(notebookDocument, cell); + if (syncInfo !== void 0) { + const cellIsSynced = syncInfo.uris.has(cell.document.uri.toString()); + if (cellMatches && cellIsSynced || !cellMatches && !cellIsSynced) { + return; + } + if (cellMatches) { + const matchingCells = this.getMatchingCells(notebookDocument); + if (matchingCells !== void 0) { + const event = this.asNotebookDocumentChangeEvent(notebookDocument, void 0, syncInfo, matchingCells); + if (event !== void 0) { + this.doSendChange(event, matchingCells).catch(() => { + }); + } + } + } + } else { + if (cellMatches) { + this.doSendOpen(notebookDocument, [cell]).catch(() => { + }); + } + } + } + didChangeNotebookCellTextDocument(notebookDocument, event) { + if (vscode.languages.match(this.selector, event.document) === 0) { + return; + } + this.doSendChange({ + notebook: notebookDocument, + cells: { textContent: [event] } + }, void 0).catch(() => { + }); + } + didCloseNotebookCellTextDocument(notebookDocument, cell) { + const syncInfo = this.notebookSyncInfo.get(notebookDocument.uri.toString()); + if (syncInfo === void 0) { + return; + } + const cellUri = cell.document.uri; + const index = syncInfo.cells.findIndex((item) => item.document.uri.toString() === cellUri.toString()); + if (index === -1) { + return; + } + if (index === 0 && syncInfo.cells.length === 1) { + this.doSendClose(notebookDocument, syncInfo.cells).catch(() => { + }); + } else { + const newCells = syncInfo.cells.slice(); + const deleted = newCells.splice(index, 1); + this.doSendChange({ + notebook: notebookDocument, + cells: { + structure: { + array: { start: index, deleteCount: 1 }, + didClose: deleted + } + } + }, newCells).catch(() => { + }); + } + } + dispose() { + for (const disposable of this.disposables) { + disposable.dispose(); + } + } + didOpen(notebookDocument, matchingCells = this.getMatchingCells(notebookDocument), syncInfo = this.notebookSyncInfo.get(notebookDocument.uri.toString())) { + if (syncInfo !== void 0) { + if (matchingCells !== void 0) { + const event = this.asNotebookDocumentChangeEvent(notebookDocument, void 0, syncInfo, matchingCells); + if (event !== void 0) { + this.doSendChange(event, matchingCells).catch(() => { + }); + } + } else { + this.doSendClose(notebookDocument, []).catch(() => { + }); + } + } else { + if (matchingCells === void 0) { + return; + } + this.doSendOpen(notebookDocument, matchingCells).catch(() => { + }); + } + } + didChangeNotebookDocument(event) { + const notebookDocument = event.notebook; + const syncInfo = this.notebookSyncInfo.get(notebookDocument.uri.toString()); + if (syncInfo === void 0) { + if (event.contentChanges.length === 0) { + return; + } + const cells = this.getMatchingCells(notebookDocument); + if (cells === void 0) { + return; + } + this.didOpen(notebookDocument, cells, syncInfo); + } else { + const cells = this.getMatchingCells(notebookDocument); + if (cells === void 0) { + this.didClose(notebookDocument, syncInfo); + return; + } + const newEvent = this.asNotebookDocumentChangeEvent(event.notebook, event, syncInfo, cells); + if (newEvent !== void 0) { + this.doSendChange(newEvent, cells).catch(() => { + }); + } + } + } + didSave(notebookDocument) { + const syncInfo = this.notebookSyncInfo.get(notebookDocument.uri.toString()); + if (syncInfo === void 0) { + return; + } + this.doSendSave(notebookDocument).catch(() => { + }); + } + didClose(notebookDocument, syncInfo = this.notebookSyncInfo.get(notebookDocument.uri.toString())) { + if (syncInfo === void 0) { + return; + } + const syncedCells = notebookDocument.getCells().filter((cell) => syncInfo.uris.has(cell.document.uri.toString())); + this.doSendClose(notebookDocument, syncedCells).catch(() => { + }); + } + async sendDidOpenNotebookDocument(notebookDocument) { + const cells = this.getMatchingCells(notebookDocument); + if (cells === void 0) { + return; + } + return this.doSendOpen(notebookDocument, cells); + } + async doSendOpen(notebookDocument, cells) { + const send = async (notebookDocument2, cells2) => { + const nb = Converter.c2p.asNotebookDocument(notebookDocument2, cells2, this.client.code2ProtocolConverter); + const cellDocuments = cells2.map((cell) => this.client.code2ProtocolConverter.asTextDocumentItem(cell.document)); + try { + await this.client.sendNotification(proto.DidOpenNotebookDocumentNotification.type, { + notebookDocument: nb, + cellTextDocuments: cellDocuments + }); + } catch (error) { + this.client.error("Sending DidOpenNotebookDocumentNotification failed", error); + throw error; + } + }; + const middleware = this.client.middleware?.notebooks; + this.notebookSyncInfo.set(notebookDocument.uri.toString(), SyncInfo.create(cells)); + return middleware?.didOpen !== void 0 ? middleware.didOpen(notebookDocument, cells, send) : send(notebookDocument, cells); + } + async sendDidChangeNotebookDocument(event) { + return this.doSendChange(event, void 0); + } + async doSendChange(event, cells = this.getMatchingCells(event.notebook)) { + const send = async (event2) => { + try { + await this.client.sendNotification(proto.DidChangeNotebookDocumentNotification.type, { + notebookDocument: Converter.c2p.asVersionedNotebookDocumentIdentifier(event2.notebook, this.client.code2ProtocolConverter), + change: Converter.c2p.asNotebookDocumentChangeEvent(event2, this.client.code2ProtocolConverter) + }); + } catch (error) { + this.client.error("Sending DidChangeNotebookDocumentNotification failed", error); + throw error; + } + }; + const middleware = this.client.middleware?.notebooks; + if (event.cells?.structure !== void 0) { + this.notebookSyncInfo.set(event.notebook.uri.toString(), SyncInfo.create(cells ?? [])); + } + return middleware?.didChange !== void 0 ? middleware?.didChange(event, send) : send(event); + } + async sendDidSaveNotebookDocument(notebookDocument) { + return this.doSendSave(notebookDocument); + } + async doSendSave(notebookDocument) { + const send = async (notebookDocument2) => { + try { + await this.client.sendNotification(proto.DidSaveNotebookDocumentNotification.type, { + notebookDocument: { uri: this.client.code2ProtocolConverter.asUri(notebookDocument2.uri) } + }); + } catch (error) { + this.client.error("Sending DidSaveNotebookDocumentNotification failed", error); + throw error; + } + }; + const middleware = this.client.middleware?.notebooks; + return middleware?.didSave !== void 0 ? middleware.didSave(notebookDocument, send) : send(notebookDocument); + } + async sendDidCloseNotebookDocument(notebookDocument) { + return this.doSendClose(notebookDocument, this.getMatchingCells(notebookDocument) ?? []); + } + async doSendClose(notebookDocument, cells) { + const send = async (notebookDocument2, cells2) => { + try { + await this.client.sendNotification(proto.DidCloseNotebookDocumentNotification.type, { + notebookDocument: { uri: this.client.code2ProtocolConverter.asUri(notebookDocument2.uri) }, + cellTextDocuments: cells2.map((cell) => this.client.code2ProtocolConverter.asTextDocumentIdentifier(cell.document)) + }); + } catch (error) { + this.client.error("Sending DidCloseNotebookDocumentNotification failed", error); + throw error; + } + }; + const middleware = this.client.middleware?.notebooks; + this.notebookSyncInfo.delete(notebookDocument.uri.toString()); + return middleware?.didClose !== void 0 ? middleware.didClose(notebookDocument, cells, send) : send(notebookDocument, cells); + } + asNotebookDocumentChangeEvent(notebook, event, syncInfo, matchingCells) { + if (event !== void 0 && event.notebook !== notebook) { + throw new Error("Notebook must be identical"); + } + const result = { + notebook + }; + if (event?.metadata !== void 0) { + result.metadata = Converter.c2p.asMetadata(event.metadata); + } + let matchingCellsSet; + if (event?.cellChanges !== void 0 && event.cellChanges.length > 0) { + const data = []; + matchingCellsSet = new Set(matchingCells.map((cell) => cell.document.uri.toString())); + for (const cellChange of event.cellChanges) { + if (matchingCellsSet.has(cellChange.cell.document.uri.toString()) && (cellChange.executionSummary !== void 0 || cellChange.metadata !== void 0)) { + data.push(cellChange.cell); + } + } + if (data.length > 0) { + result.cells = result.cells ?? {}; + result.cells.data = data; + } + } + if ((event?.contentChanges !== void 0 && event.contentChanges.length > 0 || event === void 0) && syncInfo !== void 0 && matchingCells !== void 0) { + const oldCells = syncInfo.cells; + const newCells = matchingCells; + const diff = $NotebookCell.computeDiff(oldCells, newCells, false); + let addedCells; + let removedCells; + if (diff !== void 0) { + addedCells = diff.cells === void 0 ? /* @__PURE__ */ new Map() : new Map(diff.cells.map((cell) => [cell.document.uri.toString(), cell])); + removedCells = diff.deleteCount === 0 ? /* @__PURE__ */ new Map() : new Map(oldCells.slice(diff.start, diff.start + diff.deleteCount).map((cell) => [cell.document.uri.toString(), cell])); + for (const key of Array.from(removedCells.keys())) { + if (addedCells.has(key)) { + removedCells.delete(key); + addedCells.delete(key); + } + } + result.cells = result.cells ?? {}; + const didOpen = []; + const didClose = []; + if (addedCells.size > 0 || removedCells.size > 0) { + for (const cell of addedCells.values()) { + didOpen.push(cell); + } + for (const cell of removedCells.values()) { + didClose.push(cell); + } + } + result.cells.structure = { + array: diff, + didOpen, + didClose + }; + } + } + return Object.keys(result).length > 1 ? result : void 0; + } + getMatchingCells(notebookDocument, cells = notebookDocument.getCells()) { + if (this.options.notebookSelector === void 0) { + return void 0; + } + for (const item of this.options.notebookSelector) { + if (item.notebook === void 0 || $NotebookDocumentFilter.matchNotebook(item.notebook, notebookDocument)) { + const filtered = this.filterCells(notebookDocument, cells, item.cells); + return filtered.length === 0 ? void 0 : filtered; + } + } + return void 0; + } + cellMatches(notebookDocument, cell) { + const cells = this.getMatchingCells(notebookDocument, [cell]); + return cells !== void 0 && cells[0] === cell; + } + filterCells(notebookDocument, cells, cellSelector) { + const filtered = cellSelector !== void 0 ? cells.filter((cell) => { + const cellLanguage = cell.document.languageId; + return cellSelector.some((filter) => filter.language === "*" || cellLanguage === filter.language); + }) : cells; + return typeof this.client.clientOptions.notebookDocumentOptions?.filterCells === "function" ? this.client.clientOptions.notebookDocumentOptions.filterCells(notebookDocument, filtered) : filtered; + } + }; + var NotebookDocumentSyncFeature = class _NotebookDocumentSyncFeature { + constructor(client2) { + this.client = client2; + this.registrations = /* @__PURE__ */ new Map(); + this.registrationType = proto.NotebookDocumentSyncRegistrationType.type; + vscode.workspace.onDidOpenTextDocument((textDocument) => { + if (textDocument.uri.scheme !== _NotebookDocumentSyncFeature.CellScheme) { + return; + } + const [notebookDocument, notebookCell] = this.findNotebookDocumentAndCell(textDocument); + if (notebookDocument === void 0 || notebookCell === void 0) { + return; + } + for (const provider of this.registrations.values()) { + if (provider instanceof NotebookDocumentSyncFeatureProvider) { + provider.didOpenNotebookCellTextDocument(notebookDocument, notebookCell); + } + } + }); + vscode.workspace.onDidChangeTextDocument((event) => { + if (event.contentChanges.length === 0) { + return; + } + const textDocument = event.document; + if (textDocument.uri.scheme !== _NotebookDocumentSyncFeature.CellScheme) { + return; + } + const [notebookDocument] = this.findNotebookDocumentAndCell(textDocument); + if (notebookDocument === void 0) { + return; + } + for (const provider of this.registrations.values()) { + if (provider instanceof NotebookDocumentSyncFeatureProvider) { + provider.didChangeNotebookCellTextDocument(notebookDocument, event); + } + } + }); + vscode.workspace.onDidCloseTextDocument((textDocument) => { + if (textDocument.uri.scheme !== _NotebookDocumentSyncFeature.CellScheme) { + return; + } + const [notebookDocument, notebookCell] = this.findNotebookDocumentAndCell(textDocument); + if (notebookDocument === void 0 || notebookCell === void 0) { + return; + } + for (const provider of this.registrations.values()) { + if (provider instanceof NotebookDocumentSyncFeatureProvider) { + provider.didCloseNotebookCellTextDocument(notebookDocument, notebookCell); + } + } + }); + } + getState() { + if (this.registrations.size === 0) { + return { kind: "document", id: this.registrationType.method, registrations: false, matches: false }; + } + for (const provider of this.registrations.values()) { + const state = provider.getState(); + if (state.kind === "document" && state.registrations === true && state.matches === true) { + return { kind: "document", id: this.registrationType.method, registrations: true, matches: true }; + } + } + return { kind: "document", id: this.registrationType.method, registrations: true, matches: false }; + } + fillClientCapabilities(capabilities) { + const synchronization = ensure(ensure(capabilities, "notebookDocument"), "synchronization"); + synchronization.dynamicRegistration = true; + synchronization.executionSummarySupport = true; + } + preInitialize(capabilities) { + const options = capabilities.notebookDocumentSync; + if (options === void 0) { + return; + } + this.dedicatedChannel = this.client.protocol2CodeConverter.asDocumentSelector($NotebookDocumentSyncOptions.asDocumentSelector(options)); + } + initialize(capabilities) { + const options = capabilities.notebookDocumentSync; + if (options === void 0) { + return; + } + const id = options.id ?? UUID.generateUuid(); + this.register({ id, registerOptions: options }); + } + register(data) { + const provider = new NotebookDocumentSyncFeatureProvider(this.client, data.registerOptions); + this.registrations.set(data.id, provider); + } + unregister(id) { + const provider = this.registrations.get(id); + provider && provider.dispose(); + } + clear() { + for (const provider of this.registrations.values()) { + provider.dispose(); + } + this.registrations.clear(); + } + handles(textDocument) { + if (textDocument.uri.scheme !== _NotebookDocumentSyncFeature.CellScheme) { + return false; + } + if (this.dedicatedChannel !== void 0 && vscode.languages.match(this.dedicatedChannel, textDocument) > 0) { + return true; + } + for (const provider of this.registrations.values()) { + if (provider.handles(textDocument)) { + return true; + } + } + return false; + } + getProvider(notebookCell) { + for (const provider of this.registrations.values()) { + if (provider.handles(notebookCell.document)) { + return provider; + } + } + return void 0; + } + findNotebookDocumentAndCell(textDocument) { + const uri = textDocument.uri.toString(); + for (const notebookDocument of vscode.workspace.notebookDocuments) { + for (const cell of notebookDocument.getCells()) { + if (cell.document.uri.toString() === uri) { + return [notebookDocument, cell]; + } + } + } + return [void 0, void 0]; + } + }; + exports2.NotebookDocumentSyncFeature = NotebookDocumentSyncFeature; + NotebookDocumentSyncFeature.CellScheme = "vscode-notebook-cell"; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/configuration.js +var require_configuration = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/configuration.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.SyncConfigurationFeature = exports2.toJSONObject = exports2.ConfigurationFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var Is = require_is(); + var UUID = require_uuid(); + var features_1 = require_features(); + var ConfigurationFeature = class { + constructor(client2) { + this._client = client2; + } + getState() { + return { kind: "static" }; + } + fillClientCapabilities(capabilities) { + capabilities.workspace = capabilities.workspace || {}; + capabilities.workspace.configuration = true; + } + initialize() { + let client2 = this._client; + client2.onRequest(vscode_languageserver_protocol_1.ConfigurationRequest.type, (params, token) => { + let configuration = (params2) => { + let result = []; + for (let item of params2.items) { + let resource = item.scopeUri !== void 0 && item.scopeUri !== null ? this._client.protocol2CodeConverter.asUri(item.scopeUri) : void 0; + result.push(this.getConfiguration(resource, item.section !== null ? item.section : void 0)); + } + return result; + }; + let middleware = client2.middleware.workspace; + return middleware && middleware.configuration ? middleware.configuration(params, token, configuration) : configuration(params, token); + }); + } + getConfiguration(resource, section) { + let result = null; + if (section) { + let index = section.lastIndexOf("."); + if (index === -1) { + result = toJSONObject(vscode_1.workspace.getConfiguration(void 0, resource).get(section)); + } else { + let config = vscode_1.workspace.getConfiguration(section.substr(0, index), resource); + if (config) { + result = toJSONObject(config.get(section.substr(index + 1))); + } + } + } else { + let config = vscode_1.workspace.getConfiguration(void 0, resource); + result = {}; + for (let key of Object.keys(config)) { + if (config.has(key)) { + result[key] = toJSONObject(config.get(key)); + } + } + } + if (result === void 0) { + result = null; + } + return result; + } + clear() { + } + }; + exports2.ConfigurationFeature = ConfigurationFeature; + function toJSONObject(obj) { + if (obj) { + if (Array.isArray(obj)) { + return obj.map(toJSONObject); + } else if (typeof obj === "object") { + const res = /* @__PURE__ */ Object.create(null); + for (const key in obj) { + if (Object.prototype.hasOwnProperty.call(obj, key)) { + res[key] = toJSONObject(obj[key]); + } + } + return res; + } + } + return obj; + } + exports2.toJSONObject = toJSONObject; + var SyncConfigurationFeature = class { + constructor(_client) { + this._client = _client; + this.isCleared = false; + this._listeners = /* @__PURE__ */ new Map(); + } + getState() { + return { kind: "workspace", id: this.registrationType.method, registrations: this._listeners.size > 0 }; + } + get registrationType() { + return vscode_languageserver_protocol_1.DidChangeConfigurationNotification.type; + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "didChangeConfiguration").dynamicRegistration = true; + } + initialize() { + this.isCleared = false; + let section = this._client.clientOptions.synchronize?.configurationSection; + if (section !== void 0) { + this.register({ + id: UUID.generateUuid(), + registerOptions: { + section + } + }); + } + } + register(data) { + let disposable = vscode_1.workspace.onDidChangeConfiguration((event) => { + this.onDidChangeConfiguration(data.registerOptions.section, event); + }); + this._listeners.set(data.id, disposable); + if (data.registerOptions.section !== void 0) { + this.onDidChangeConfiguration(data.registerOptions.section, void 0); + } + } + unregister(id) { + let disposable = this._listeners.get(id); + if (disposable) { + this._listeners.delete(id); + disposable.dispose(); + } + } + clear() { + for (const disposable of this._listeners.values()) { + disposable.dispose(); + } + this._listeners.clear(); + this.isCleared = true; + } + onDidChangeConfiguration(configurationSection, event) { + if (this.isCleared) { + return; + } + let sections; + if (Is.string(configurationSection)) { + sections = [configurationSection]; + } else { + sections = configurationSection; + } + if (sections !== void 0 && event !== void 0) { + let affected = sections.some((section) => event.affectsConfiguration(section)); + if (!affected) { + return; + } + } + const didChangeConfiguration = async (sections2) => { + if (sections2 === void 0) { + return this._client.sendNotification(vscode_languageserver_protocol_1.DidChangeConfigurationNotification.type, { settings: null }); + } else { + return this._client.sendNotification(vscode_languageserver_protocol_1.DidChangeConfigurationNotification.type, { settings: this.extractSettingsInformation(sections2) }); + } + }; + let middleware = this._client.middleware.workspace?.didChangeConfiguration; + (middleware ? middleware(sections, didChangeConfiguration) : didChangeConfiguration(sections)).catch((error) => { + this._client.error(`Sending notification ${vscode_languageserver_protocol_1.DidChangeConfigurationNotification.type.method} failed`, error); + }); + } + extractSettingsInformation(keys) { + function ensurePath(config, path) { + let current = config; + for (let i = 0; i < path.length - 1; i++) { + let obj = current[path[i]]; + if (!obj) { + obj = /* @__PURE__ */ Object.create(null); + current[path[i]] = obj; + } + current = obj; + } + return current; + } + let resource = this._client.clientOptions.workspaceFolder ? this._client.clientOptions.workspaceFolder.uri : void 0; + let result = /* @__PURE__ */ Object.create(null); + for (let i = 0; i < keys.length; i++) { + let key = keys[i]; + let index = key.indexOf("."); + let config = null; + if (index >= 0) { + config = vscode_1.workspace.getConfiguration(key.substr(0, index), resource).get(key.substr(index + 1)); + } else { + config = vscode_1.workspace.getConfiguration(void 0, resource).get(key); + } + if (config) { + let path = keys[i].split("."); + ensurePath(result, path)[path[path.length - 1]] = toJSONObject(config); + } + } + return result; + } + }; + exports2.SyncConfigurationFeature = SyncConfigurationFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/textSynchronization.js +var require_textSynchronization = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/textSynchronization.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DidSaveTextDocumentFeature = exports2.WillSaveWaitUntilFeature = exports2.WillSaveFeature = exports2.DidChangeTextDocumentFeature = exports2.DidCloseTextDocumentFeature = exports2.DidOpenTextDocumentFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var DidOpenTextDocumentFeature = class extends features_1.TextDocumentEventFeature { + constructor(client2, syncedDocuments) { + super(client2, vscode_1.workspace.onDidOpenTextDocument, vscode_languageserver_protocol_1.DidOpenTextDocumentNotification.type, () => client2.middleware.didOpen, (textDocument) => client2.code2ProtocolConverter.asOpenTextDocumentParams(textDocument), (data) => data, features_1.TextDocumentEventFeature.textDocumentFilter); + this._syncedDocuments = syncedDocuments; + } + get openDocuments() { + return this._syncedDocuments.values(); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "synchronization").dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const textDocumentSyncOptions = capabilities.resolvedTextDocumentSync; + if (documentSelector && textDocumentSyncOptions && textDocumentSyncOptions.openClose) { + this.register({ id: UUID.generateUuid(), registerOptions: { documentSelector } }); + } + } + get registrationType() { + return vscode_languageserver_protocol_1.DidOpenTextDocumentNotification.type; + } + register(data) { + super.register(data); + if (!data.registerOptions.documentSelector) { + return; + } + const documentSelector = this._client.protocol2CodeConverter.asDocumentSelector(data.registerOptions.documentSelector); + vscode_1.workspace.textDocuments.forEach((textDocument) => { + const uri = textDocument.uri.toString(); + if (this._syncedDocuments.has(uri)) { + return; + } + if (vscode_1.languages.match(documentSelector, textDocument) > 0 && !this._client.hasDedicatedTextSynchronizationFeature(textDocument)) { + const middleware = this._client.middleware; + const didOpen = (textDocument2) => { + return this._client.sendNotification(this._type, this._createParams(textDocument2)); + }; + (middleware.didOpen ? middleware.didOpen(textDocument, didOpen) : didOpen(textDocument)).catch((error) => { + this._client.error(`Sending document notification ${this._type.method} failed`, error); + }); + this._syncedDocuments.set(uri, textDocument); + } + }); + } + getTextDocument(data) { + return data; + } + notificationSent(textDocument, type, params) { + this._syncedDocuments.set(textDocument.uri.toString(), textDocument); + super.notificationSent(textDocument, type, params); + } + }; + exports2.DidOpenTextDocumentFeature = DidOpenTextDocumentFeature; + var DidCloseTextDocumentFeature = class extends features_1.TextDocumentEventFeature { + constructor(client2, syncedDocuments, pendingTextDocumentChanges) { + super(client2, vscode_1.workspace.onDidCloseTextDocument, vscode_languageserver_protocol_1.DidCloseTextDocumentNotification.type, () => client2.middleware.didClose, (textDocument) => client2.code2ProtocolConverter.asCloseTextDocumentParams(textDocument), (data) => data, features_1.TextDocumentEventFeature.textDocumentFilter); + this._syncedDocuments = syncedDocuments; + this._pendingTextDocumentChanges = pendingTextDocumentChanges; + } + get registrationType() { + return vscode_languageserver_protocol_1.DidCloseTextDocumentNotification.type; + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "synchronization").dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + let textDocumentSyncOptions = capabilities.resolvedTextDocumentSync; + if (documentSelector && textDocumentSyncOptions && textDocumentSyncOptions.openClose) { + this.register({ id: UUID.generateUuid(), registerOptions: { documentSelector } }); + } + } + async callback(data) { + await super.callback(data); + this._pendingTextDocumentChanges.delete(data.uri.toString()); + } + getTextDocument(data) { + return data; + } + notificationSent(textDocument, type, params) { + this._syncedDocuments.delete(textDocument.uri.toString()); + super.notificationSent(textDocument, type, params); + } + unregister(id) { + const selector = this._selectors.get(id); + super.unregister(id); + const selectors = this._selectors.values(); + this._syncedDocuments.forEach((textDocument) => { + if (vscode_1.languages.match(selector, textDocument) > 0 && !this._selectorFilter(selectors, textDocument) && !this._client.hasDedicatedTextSynchronizationFeature(textDocument)) { + let middleware = this._client.middleware; + let didClose = (textDocument2) => { + return this._client.sendNotification(this._type, this._createParams(textDocument2)); + }; + this._syncedDocuments.delete(textDocument.uri.toString()); + (middleware.didClose ? middleware.didClose(textDocument, didClose) : didClose(textDocument)).catch((error) => { + this._client.error(`Sending document notification ${this._type.method} failed`, error); + }); + } + }); + } + }; + exports2.DidCloseTextDocumentFeature = DidCloseTextDocumentFeature; + var DidChangeTextDocumentFeature = class extends features_1.DynamicDocumentFeature { + constructor(client2, pendingTextDocumentChanges) { + super(client2); + this._changeData = /* @__PURE__ */ new Map(); + this._onNotificationSent = new vscode_1.EventEmitter(); + this._onPendingChangeAdded = new vscode_1.EventEmitter(); + this._pendingTextDocumentChanges = pendingTextDocumentChanges; + this._syncKind = vscode_languageserver_protocol_1.TextDocumentSyncKind.None; + } + get onNotificationSent() { + return this._onNotificationSent.event; + } + get onPendingChangeAdded() { + return this._onPendingChangeAdded.event; + } + get syncKind() { + return this._syncKind; + } + get registrationType() { + return vscode_languageserver_protocol_1.DidChangeTextDocumentNotification.type; + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "synchronization").dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + let textDocumentSyncOptions = capabilities.resolvedTextDocumentSync; + if (documentSelector && textDocumentSyncOptions && textDocumentSyncOptions.change !== void 0 && textDocumentSyncOptions.change !== vscode_languageserver_protocol_1.TextDocumentSyncKind.None) { + this.register({ + id: UUID.generateUuid(), + registerOptions: Object.assign({}, { documentSelector }, { syncKind: textDocumentSyncOptions.change }) + }); + } + } + register(data) { + if (!data.registerOptions.documentSelector) { + return; + } + if (!this._listener) { + this._listener = vscode_1.workspace.onDidChangeTextDocument(this.callback, this); + } + this._changeData.set(data.id, { + syncKind: data.registerOptions.syncKind, + documentSelector: this._client.protocol2CodeConverter.asDocumentSelector(data.registerOptions.documentSelector) + }); + this.updateSyncKind(data.registerOptions.syncKind); + } + *getDocumentSelectors() { + for (const data of this._changeData.values()) { + yield data.documentSelector; + } + } + async callback(event) { + if (event.contentChanges.length === 0) { + return; + } + const uri = event.document.uri; + const version = event.document.version; + const promises = []; + for (const changeData of this._changeData.values()) { + if (vscode_1.languages.match(changeData.documentSelector, event.document) > 0 && !this._client.hasDedicatedTextSynchronizationFeature(event.document)) { + const middleware = this._client.middleware; + if (changeData.syncKind === vscode_languageserver_protocol_1.TextDocumentSyncKind.Incremental) { + const didChange = async (event2) => { + const params = this._client.code2ProtocolConverter.asChangeTextDocumentParams(event2, uri, version); + await this._client.sendNotification(vscode_languageserver_protocol_1.DidChangeTextDocumentNotification.type, params); + this.notificationSent(event2.document, vscode_languageserver_protocol_1.DidChangeTextDocumentNotification.type, params); + }; + promises.push(middleware.didChange ? middleware.didChange(event, (event2) => didChange(event2)) : didChange(event)); + } else if (changeData.syncKind === vscode_languageserver_protocol_1.TextDocumentSyncKind.Full) { + const didChange = async (event2) => { + const eventUri = event2.document.uri.toString(); + this._pendingTextDocumentChanges.set(eventUri, event2.document); + this._onPendingChangeAdded.fire(); + }; + promises.push(middleware.didChange ? middleware.didChange(event, (event2) => didChange(event2)) : didChange(event)); + } + } + } + return Promise.all(promises).then(void 0, (error) => { + this._client.error(`Sending document notification ${vscode_languageserver_protocol_1.DidChangeTextDocumentNotification.type.method} failed`, error); + throw error; + }); + } + notificationSent(textDocument, type, params) { + this._onNotificationSent.fire({ textDocument, type, params }); + } + unregister(id) { + this._changeData.delete(id); + if (this._changeData.size === 0) { + if (this._listener) { + this._listener.dispose(); + this._listener = void 0; + } + this._syncKind = vscode_languageserver_protocol_1.TextDocumentSyncKind.None; + } else { + this._syncKind = vscode_languageserver_protocol_1.TextDocumentSyncKind.None; + for (const changeData of this._changeData.values()) { + this.updateSyncKind(changeData.syncKind); + if (this._syncKind === vscode_languageserver_protocol_1.TextDocumentSyncKind.Full) { + break; + } + } + } + } + clear() { + this._pendingTextDocumentChanges.clear(); + this._changeData.clear(); + this._syncKind = vscode_languageserver_protocol_1.TextDocumentSyncKind.None; + if (this._listener) { + this._listener.dispose(); + this._listener = void 0; + } + } + getPendingDocumentChanges(excludes) { + if (this._pendingTextDocumentChanges.size === 0) { + return []; + } + let result; + if (excludes.size === 0) { + result = Array.from(this._pendingTextDocumentChanges.values()); + this._pendingTextDocumentChanges.clear(); + } else { + result = []; + for (const entry of this._pendingTextDocumentChanges) { + if (!excludes.has(entry[0])) { + result.push(entry[1]); + this._pendingTextDocumentChanges.delete(entry[0]); + } + } + } + return result; + } + getProvider(document) { + for (const changeData of this._changeData.values()) { + if (vscode_1.languages.match(changeData.documentSelector, document) > 0) { + return { + send: (event) => { + return this.callback(event); + } + }; + } + } + return void 0; + } + updateSyncKind(syncKind) { + if (this._syncKind === vscode_languageserver_protocol_1.TextDocumentSyncKind.Full) { + return; + } + switch (syncKind) { + case vscode_languageserver_protocol_1.TextDocumentSyncKind.Full: + this._syncKind = syncKind; + break; + case vscode_languageserver_protocol_1.TextDocumentSyncKind.Incremental: + if (this._syncKind === vscode_languageserver_protocol_1.TextDocumentSyncKind.None) { + this._syncKind = vscode_languageserver_protocol_1.TextDocumentSyncKind.Incremental; + } + break; + } + } + }; + exports2.DidChangeTextDocumentFeature = DidChangeTextDocumentFeature; + var WillSaveFeature = class extends features_1.TextDocumentEventFeature { + constructor(client2) { + super(client2, vscode_1.workspace.onWillSaveTextDocument, vscode_languageserver_protocol_1.WillSaveTextDocumentNotification.type, () => client2.middleware.willSave, (willSaveEvent) => client2.code2ProtocolConverter.asWillSaveTextDocumentParams(willSaveEvent), (event) => event.document, (selectors, willSaveEvent) => features_1.TextDocumentEventFeature.textDocumentFilter(selectors, willSaveEvent.document)); + } + get registrationType() { + return vscode_languageserver_protocol_1.WillSaveTextDocumentNotification.type; + } + fillClientCapabilities(capabilities) { + let value = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "synchronization"); + value.willSave = true; + } + initialize(capabilities, documentSelector) { + let textDocumentSyncOptions = capabilities.resolvedTextDocumentSync; + if (documentSelector && textDocumentSyncOptions && textDocumentSyncOptions.willSave) { + this.register({ + id: UUID.generateUuid(), + registerOptions: { documentSelector } + }); + } + } + getTextDocument(data) { + return data.document; + } + }; + exports2.WillSaveFeature = WillSaveFeature; + var WillSaveWaitUntilFeature = class extends features_1.DynamicDocumentFeature { + constructor(client2) { + super(client2); + this._selectors = /* @__PURE__ */ new Map(); + } + getDocumentSelectors() { + return this._selectors.values(); + } + get registrationType() { + return vscode_languageserver_protocol_1.WillSaveTextDocumentWaitUntilRequest.type; + } + fillClientCapabilities(capabilities) { + let value = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "synchronization"); + value.willSaveWaitUntil = true; + } + initialize(capabilities, documentSelector) { + let textDocumentSyncOptions = capabilities.resolvedTextDocumentSync; + if (documentSelector && textDocumentSyncOptions && textDocumentSyncOptions.willSaveWaitUntil) { + this.register({ + id: UUID.generateUuid(), + registerOptions: { documentSelector } + }); + } + } + register(data) { + if (!data.registerOptions.documentSelector) { + return; + } + if (!this._listener) { + this._listener = vscode_1.workspace.onWillSaveTextDocument(this.callback, this); + } + this._selectors.set(data.id, this._client.protocol2CodeConverter.asDocumentSelector(data.registerOptions.documentSelector)); + } + callback(event) { + if (features_1.TextDocumentEventFeature.textDocumentFilter(this._selectors.values(), event.document) && !this._client.hasDedicatedTextSynchronizationFeature(event.document)) { + let middleware = this._client.middleware; + let willSaveWaitUntil = (event2) => { + return this._client.sendRequest(vscode_languageserver_protocol_1.WillSaveTextDocumentWaitUntilRequest.type, this._client.code2ProtocolConverter.asWillSaveTextDocumentParams(event2)).then(async (edits) => { + let vEdits = await this._client.protocol2CodeConverter.asTextEdits(edits); + return vEdits === void 0 ? [] : vEdits; + }); + }; + event.waitUntil(middleware.willSaveWaitUntil ? middleware.willSaveWaitUntil(event, willSaveWaitUntil) : willSaveWaitUntil(event)); + } + } + unregister(id) { + this._selectors.delete(id); + if (this._selectors.size === 0 && this._listener) { + this._listener.dispose(); + this._listener = void 0; + } + } + clear() { + this._selectors.clear(); + if (this._listener) { + this._listener.dispose(); + this._listener = void 0; + } + } + }; + exports2.WillSaveWaitUntilFeature = WillSaveWaitUntilFeature; + var DidSaveTextDocumentFeature = class extends features_1.TextDocumentEventFeature { + constructor(client2) { + super(client2, vscode_1.workspace.onDidSaveTextDocument, vscode_languageserver_protocol_1.DidSaveTextDocumentNotification.type, () => client2.middleware.didSave, (textDocument) => client2.code2ProtocolConverter.asSaveTextDocumentParams(textDocument, this._includeText), (data) => data, features_1.TextDocumentEventFeature.textDocumentFilter); + this._includeText = false; + } + get registrationType() { + return vscode_languageserver_protocol_1.DidSaveTextDocumentNotification.type; + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "synchronization").didSave = true; + } + initialize(capabilities, documentSelector) { + const textDocumentSyncOptions = capabilities.resolvedTextDocumentSync; + if (documentSelector && textDocumentSyncOptions && textDocumentSyncOptions.save) { + const saveOptions = typeof textDocumentSyncOptions.save === "boolean" ? { includeText: false } : { includeText: !!textDocumentSyncOptions.save.includeText }; + this.register({ + id: UUID.generateUuid(), + registerOptions: Object.assign({}, { documentSelector }, saveOptions) + }); + } + } + register(data) { + this._includeText = !!data.registerOptions.includeText; + super.register(data); + } + getTextDocument(data) { + return data; + } + }; + exports2.DidSaveTextDocumentFeature = DidSaveTextDocumentFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/completion.js +var require_completion = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/completion.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.CompletionItemFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var SupportedCompletionItemKinds = [ + vscode_languageserver_protocol_1.CompletionItemKind.Text, + vscode_languageserver_protocol_1.CompletionItemKind.Method, + vscode_languageserver_protocol_1.CompletionItemKind.Function, + vscode_languageserver_protocol_1.CompletionItemKind.Constructor, + vscode_languageserver_protocol_1.CompletionItemKind.Field, + vscode_languageserver_protocol_1.CompletionItemKind.Variable, + vscode_languageserver_protocol_1.CompletionItemKind.Class, + vscode_languageserver_protocol_1.CompletionItemKind.Interface, + vscode_languageserver_protocol_1.CompletionItemKind.Module, + vscode_languageserver_protocol_1.CompletionItemKind.Property, + vscode_languageserver_protocol_1.CompletionItemKind.Unit, + vscode_languageserver_protocol_1.CompletionItemKind.Value, + vscode_languageserver_protocol_1.CompletionItemKind.Enum, + vscode_languageserver_protocol_1.CompletionItemKind.Keyword, + vscode_languageserver_protocol_1.CompletionItemKind.Snippet, + vscode_languageserver_protocol_1.CompletionItemKind.Color, + vscode_languageserver_protocol_1.CompletionItemKind.File, + vscode_languageserver_protocol_1.CompletionItemKind.Reference, + vscode_languageserver_protocol_1.CompletionItemKind.Folder, + vscode_languageserver_protocol_1.CompletionItemKind.EnumMember, + vscode_languageserver_protocol_1.CompletionItemKind.Constant, + vscode_languageserver_protocol_1.CompletionItemKind.Struct, + vscode_languageserver_protocol_1.CompletionItemKind.Event, + vscode_languageserver_protocol_1.CompletionItemKind.Operator, + vscode_languageserver_protocol_1.CompletionItemKind.TypeParameter + ]; + var CompletionItemFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.CompletionRequest.type); + this.labelDetailsSupport = /* @__PURE__ */ new Map(); + } + fillClientCapabilities(capabilities) { + let completion = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "completion"); + completion.dynamicRegistration = true; + completion.contextSupport = true; + completion.completionItem = { + snippetSupport: true, + commitCharactersSupport: true, + documentationFormat: [vscode_languageserver_protocol_1.MarkupKind.Markdown, vscode_languageserver_protocol_1.MarkupKind.PlainText], + deprecatedSupport: true, + preselectSupport: true, + tagSupport: { valueSet: [vscode_languageserver_protocol_1.CompletionItemTag.Deprecated] }, + insertReplaceSupport: true, + resolveSupport: { + properties: ["documentation", "detail", "additionalTextEdits"] + }, + insertTextModeSupport: { valueSet: [vscode_languageserver_protocol_1.InsertTextMode.asIs, vscode_languageserver_protocol_1.InsertTextMode.adjustIndentation] }, + labelDetailsSupport: true + }; + completion.insertTextMode = vscode_languageserver_protocol_1.InsertTextMode.adjustIndentation; + completion.completionItemKind = { valueSet: SupportedCompletionItemKinds }; + completion.completionList = { + itemDefaults: [ + "commitCharacters", + "editRange", + "insertTextFormat", + "insertTextMode", + "data" + ] + }; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.completionProvider); + if (!options) { + return; + } + this.register({ + id: UUID.generateUuid(), + registerOptions: options + }); + } + registerLanguageProvider(options, id) { + this.labelDetailsSupport.set(id, !!options.completionItem?.labelDetailsSupport); + const triggerCharacters = options.triggerCharacters ?? []; + const defaultCommitCharacters = options.allCommitCharacters; + const selector = options.documentSelector; + const provider = { + provideCompletionItems: (document, position, token, context) => { + const client2 = this._client; + const middleware = this._client.middleware; + const provideCompletionItems = (document2, position2, context2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.CompletionRequest.type, client2.code2ProtocolConverter.asCompletionParams(document2, position2, context2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asCompletionResult(result, defaultCommitCharacters, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CompletionRequest.type, token2, error, null); + }); + }; + return middleware.provideCompletionItem ? middleware.provideCompletionItem(document, position, context, token, provideCompletionItems) : provideCompletionItems(document, position, context, token); + }, + resolveCompletionItem: options.resolveProvider ? (item, token) => { + const client2 = this._client; + const middleware = this._client.middleware; + const resolveCompletionItem = (item2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.CompletionResolveRequest.type, client2.code2ProtocolConverter.asCompletionItem(item2, !!this.labelDetailsSupport.get(id)), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asCompletionItem(result); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CompletionResolveRequest.type, token2, error, item2); + }); + }; + return middleware.resolveCompletionItem ? middleware.resolveCompletionItem(item, token, resolveCompletionItem) : resolveCompletionItem(item, token); + } : void 0 + }; + return [vscode_1.languages.registerCompletionItemProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider, ...triggerCharacters), provider]; + } + }; + exports2.CompletionItemFeature = CompletionItemFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/hover.js +var require_hover = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/hover.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.HoverFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var HoverFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.HoverRequest.type); + } + fillClientCapabilities(capabilities) { + const hoverCapability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "hover"); + hoverCapability.dynamicRegistration = true; + hoverCapability.contentFormat = [vscode_languageserver_protocol_1.MarkupKind.Markdown, vscode_languageserver_protocol_1.MarkupKind.PlainText]; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.hoverProvider); + if (!options) { + return; + } + this.register({ + id: UUID.generateUuid(), + registerOptions: options + }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideHover: (document, position, token) => { + const client2 = this._client; + const provideHover = (document2, position2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.HoverRequest.type, client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asHover(result); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.HoverRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideHover ? middleware.provideHover(document, position, token, provideHover) : provideHover(document, position, token); + } + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerHoverProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.HoverFeature = HoverFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/definition.js +var require_definition = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/definition.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DefinitionFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var DefinitionFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DefinitionRequest.type); + } + fillClientCapabilities(capabilities) { + let definitionSupport = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "definition"); + definitionSupport.dynamicRegistration = true; + definitionSupport.linkSupport = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.definitionProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideDefinition: (document, position, token) => { + const client2 = this._client; + const provideDefinition = (document2, position2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.DefinitionRequest.type, client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asDefinitionResult(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DefinitionRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideDefinition ? middleware.provideDefinition(document, position, token, provideDefinition) : provideDefinition(document, position, token); + } + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerDefinitionProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.DefinitionFeature = DefinitionFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/signatureHelp.js +var require_signatureHelp = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/signatureHelp.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.SignatureHelpFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var SignatureHelpFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.SignatureHelpRequest.type); + } + fillClientCapabilities(capabilities) { + let config = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "signatureHelp"); + config.dynamicRegistration = true; + config.signatureInformation = { documentationFormat: [vscode_languageserver_protocol_1.MarkupKind.Markdown, vscode_languageserver_protocol_1.MarkupKind.PlainText] }; + config.signatureInformation.parameterInformation = { labelOffsetSupport: true }; + config.signatureInformation.activeParameterSupport = true; + config.contextSupport = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.signatureHelpProvider); + if (!options) { + return; + } + this.register({ + id: UUID.generateUuid(), + registerOptions: options + }); + } + registerLanguageProvider(options) { + const provider = { + provideSignatureHelp: (document, position, token, context) => { + const client2 = this._client; + const providerSignatureHelp = (document2, position2, context2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.SignatureHelpRequest.type, client2.code2ProtocolConverter.asSignatureHelpParams(document2, position2, context2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asSignatureHelp(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.SignatureHelpRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideSignatureHelp ? middleware.provideSignatureHelp(document, position, context, token, providerSignatureHelp) : providerSignatureHelp(document, position, context, token); + } + }; + return [this.registerProvider(options, provider), provider]; + } + registerProvider(options, provider) { + const selector = this._client.protocol2CodeConverter.asDocumentSelector(options.documentSelector); + if (options.retriggerCharacters === void 0) { + const triggerCharacters = options.triggerCharacters || []; + return vscode_1.languages.registerSignatureHelpProvider(selector, provider, ...triggerCharacters); + } else { + const metaData = { + triggerCharacters: options.triggerCharacters || [], + retriggerCharacters: options.retriggerCharacters || [] + }; + return vscode_1.languages.registerSignatureHelpProvider(selector, provider, metaData); + } + } + }; + exports2.SignatureHelpFeature = SignatureHelpFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentHighlight.js +var require_documentHighlight = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentHighlight.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DocumentHighlightFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var DocumentHighlightFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DocumentHighlightRequest.type); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "documentHighlight").dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.documentHighlightProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideDocumentHighlights: (document, position, token) => { + const client2 = this._client; + const _provideDocumentHighlights = (document2, position2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.DocumentHighlightRequest.type, client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asDocumentHighlights(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentHighlightRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideDocumentHighlights ? middleware.provideDocumentHighlights(document, position, token, _provideDocumentHighlights) : _provideDocumentHighlights(document, position, token); + } + }; + return [vscode_1.languages.registerDocumentHighlightProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider]; + } + }; + exports2.DocumentHighlightFeature = DocumentHighlightFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentSymbol.js +var require_documentSymbol = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentSymbol.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DocumentSymbolFeature = exports2.SupportedSymbolTags = exports2.SupportedSymbolKinds = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + exports2.SupportedSymbolKinds = [ + vscode_languageserver_protocol_1.SymbolKind.File, + vscode_languageserver_protocol_1.SymbolKind.Module, + vscode_languageserver_protocol_1.SymbolKind.Namespace, + vscode_languageserver_protocol_1.SymbolKind.Package, + vscode_languageserver_protocol_1.SymbolKind.Class, + vscode_languageserver_protocol_1.SymbolKind.Method, + vscode_languageserver_protocol_1.SymbolKind.Property, + vscode_languageserver_protocol_1.SymbolKind.Field, + vscode_languageserver_protocol_1.SymbolKind.Constructor, + vscode_languageserver_protocol_1.SymbolKind.Enum, + vscode_languageserver_protocol_1.SymbolKind.Interface, + vscode_languageserver_protocol_1.SymbolKind.Function, + vscode_languageserver_protocol_1.SymbolKind.Variable, + vscode_languageserver_protocol_1.SymbolKind.Constant, + vscode_languageserver_protocol_1.SymbolKind.String, + vscode_languageserver_protocol_1.SymbolKind.Number, + vscode_languageserver_protocol_1.SymbolKind.Boolean, + vscode_languageserver_protocol_1.SymbolKind.Array, + vscode_languageserver_protocol_1.SymbolKind.Object, + vscode_languageserver_protocol_1.SymbolKind.Key, + vscode_languageserver_protocol_1.SymbolKind.Null, + vscode_languageserver_protocol_1.SymbolKind.EnumMember, + vscode_languageserver_protocol_1.SymbolKind.Struct, + vscode_languageserver_protocol_1.SymbolKind.Event, + vscode_languageserver_protocol_1.SymbolKind.Operator, + vscode_languageserver_protocol_1.SymbolKind.TypeParameter + ]; + exports2.SupportedSymbolTags = [ + vscode_languageserver_protocol_1.SymbolTag.Deprecated + ]; + var DocumentSymbolFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DocumentSymbolRequest.type); + } + fillClientCapabilities(capabilities) { + let symbolCapabilities = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "documentSymbol"); + symbolCapabilities.dynamicRegistration = true; + symbolCapabilities.symbolKind = { + valueSet: exports2.SupportedSymbolKinds + }; + symbolCapabilities.hierarchicalDocumentSymbolSupport = true; + symbolCapabilities.tagSupport = { + valueSet: exports2.SupportedSymbolTags + }; + symbolCapabilities.labelSupport = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.documentSymbolProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideDocumentSymbols: (document, token) => { + const client2 = this._client; + const _provideDocumentSymbols = async (document2, token2) => { + try { + const data = await client2.sendRequest(vscode_languageserver_protocol_1.DocumentSymbolRequest.type, client2.code2ProtocolConverter.asDocumentSymbolParams(document2), token2); + if (token2.isCancellationRequested || data === void 0 || data === null) { + return null; + } + if (data.length === 0) { + return []; + } else { + const first = data[0]; + if (vscode_languageserver_protocol_1.DocumentSymbol.is(first)) { + return await client2.protocol2CodeConverter.asDocumentSymbols(data, token2); + } else { + return await client2.protocol2CodeConverter.asSymbolInformations(data, token2); + } + } + } catch (error) { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentSymbolRequest.type, token2, error, null); + } + }; + const middleware = client2.middleware; + return middleware.provideDocumentSymbols ? middleware.provideDocumentSymbols(document, token, _provideDocumentSymbols) : _provideDocumentSymbols(document, token); + } + }; + const metaData = options.label !== void 0 ? { label: options.label } : void 0; + return [vscode_1.languages.registerDocumentSymbolProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider, metaData), provider]; + } + }; + exports2.DocumentSymbolFeature = DocumentSymbolFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/workspaceSymbol.js +var require_workspaceSymbol = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/workspaceSymbol.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.WorkspaceSymbolFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var documentSymbol_1 = require_documentSymbol(); + var UUID = require_uuid(); + var WorkspaceSymbolFeature = class extends features_1.WorkspaceFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.WorkspaceSymbolRequest.type); + } + fillClientCapabilities(capabilities) { + let symbolCapabilities = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "symbol"); + symbolCapabilities.dynamicRegistration = true; + symbolCapabilities.symbolKind = { + valueSet: documentSymbol_1.SupportedSymbolKinds + }; + symbolCapabilities.tagSupport = { + valueSet: documentSymbol_1.SupportedSymbolTags + }; + symbolCapabilities.resolveSupport = { properties: ["location.range"] }; + } + initialize(capabilities) { + if (!capabilities.workspaceSymbolProvider) { + return; + } + this.register({ + id: UUID.generateUuid(), + registerOptions: capabilities.workspaceSymbolProvider === true ? { workDoneProgress: false } : capabilities.workspaceSymbolProvider + }); + } + registerLanguageProvider(options) { + const provider = { + provideWorkspaceSymbols: (query, token) => { + const client2 = this._client; + const provideWorkspaceSymbols = (query2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.WorkspaceSymbolRequest.type, { query: query2 }, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asSymbolInformations(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.WorkspaceSymbolRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideWorkspaceSymbols ? middleware.provideWorkspaceSymbols(query, token, provideWorkspaceSymbols) : provideWorkspaceSymbols(query, token); + }, + resolveWorkspaceSymbol: options.resolveProvider === true ? (item, token) => { + const client2 = this._client; + const resolveWorkspaceSymbol = (item2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.WorkspaceSymbolResolveRequest.type, client2.code2ProtocolConverter.asWorkspaceSymbol(item2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asSymbolInformation(result); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.WorkspaceSymbolResolveRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.resolveWorkspaceSymbol ? middleware.resolveWorkspaceSymbol(item, token, resolveWorkspaceSymbol) : resolveWorkspaceSymbol(item, token); + } : void 0 + }; + return [vscode_1.languages.registerWorkspaceSymbolProvider(provider), provider]; + } + }; + exports2.WorkspaceSymbolFeature = WorkspaceSymbolFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/reference.js +var require_reference = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/reference.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ReferencesFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var ReferencesFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.ReferencesRequest.type); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "references").dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.referencesProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideReferences: (document, position, options2, token) => { + const client2 = this._client; + const _providerReferences = (document2, position2, options3, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.ReferencesRequest.type, client2.code2ProtocolConverter.asReferenceParams(document2, position2, options3), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asReferences(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.ReferencesRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideReferences ? middleware.provideReferences(document, position, options2, token, _providerReferences) : _providerReferences(document, position, options2, token); + } + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerReferenceProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.ReferencesFeature = ReferencesFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeAction.js +var require_codeAction = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeAction.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.CodeActionFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var UUID = require_uuid(); + var features_1 = require_features(); + var CodeActionFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.CodeActionRequest.type); + } + fillClientCapabilities(capabilities) { + const cap = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "codeAction"); + cap.dynamicRegistration = true; + cap.isPreferredSupport = true; + cap.disabledSupport = true; + cap.dataSupport = true; + cap.resolveSupport = { + properties: ["edit"] + }; + cap.codeActionLiteralSupport = { + codeActionKind: { + valueSet: [ + vscode_languageserver_protocol_1.CodeActionKind.Empty, + vscode_languageserver_protocol_1.CodeActionKind.QuickFix, + vscode_languageserver_protocol_1.CodeActionKind.Refactor, + vscode_languageserver_protocol_1.CodeActionKind.RefactorExtract, + vscode_languageserver_protocol_1.CodeActionKind.RefactorInline, + vscode_languageserver_protocol_1.CodeActionKind.RefactorRewrite, + vscode_languageserver_protocol_1.CodeActionKind.Source, + vscode_languageserver_protocol_1.CodeActionKind.SourceOrganizeImports + ] + } + }; + cap.honorsChangeAnnotations = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.codeActionProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideCodeActions: (document, range, context, token) => { + const client2 = this._client; + const _provideCodeActions = async (document2, range2, context2, token2) => { + const params = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + range: client2.code2ProtocolConverter.asRange(range2), + context: client2.code2ProtocolConverter.asCodeActionContextSync(context2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.CodeActionRequest.type, params, token2).then((values) => { + if (token2.isCancellationRequested || values === null || values === void 0) { + return null; + } + return client2.protocol2CodeConverter.asCodeActionResult(values, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CodeActionRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideCodeActions ? middleware.provideCodeActions(document, range, context, token, _provideCodeActions) : _provideCodeActions(document, range, context, token); + }, + resolveCodeAction: options.resolveProvider ? (item, token) => { + const client2 = this._client; + const middleware = this._client.middleware; + const resolveCodeAction = async (item2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.CodeActionResolveRequest.type, client2.code2ProtocolConverter.asCodeActionSync(item2), token2).then((result) => { + if (token2.isCancellationRequested) { + return item2; + } + return client2.protocol2CodeConverter.asCodeAction(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CodeActionResolveRequest.type, token2, error, item2); + }); + }; + return middleware.resolveCodeAction ? middleware.resolveCodeAction(item, token, resolveCodeAction) : resolveCodeAction(item, token); + } : void 0 + }; + return [vscode_1.languages.registerCodeActionsProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider, options.codeActionKinds ? { providedCodeActionKinds: this._client.protocol2CodeConverter.asCodeActionKinds(options.codeActionKinds) } : void 0), provider]; + } + }; + exports2.CodeActionFeature = CodeActionFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeLens.js +var require_codeLens = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeLens.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.CodeLensFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var UUID = require_uuid(); + var features_1 = require_features(); + var CodeLensFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.CodeLensRequest.type); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "codeLens").dynamicRegistration = true; + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "codeLens").refreshSupport = true; + } + initialize(capabilities, documentSelector) { + const client2 = this._client; + client2.onRequest(vscode_languageserver_protocol_1.CodeLensRefreshRequest.type, async () => { + for (const provider of this.getAllProviders()) { + provider.onDidChangeCodeLensEmitter.fire(); + } + }); + const options = this.getRegistrationOptions(documentSelector, capabilities.codeLensProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const eventEmitter = new vscode_1.EventEmitter(); + const provider = { + onDidChangeCodeLenses: eventEmitter.event, + provideCodeLenses: (document, token) => { + const client2 = this._client; + const provideCodeLenses = (document2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.CodeLensRequest.type, client2.code2ProtocolConverter.asCodeLensParams(document2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asCodeLenses(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CodeLensRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideCodeLenses ? middleware.provideCodeLenses(document, token, provideCodeLenses) : provideCodeLenses(document, token); + }, + resolveCodeLens: options.resolveProvider ? (codeLens, token) => { + const client2 = this._client; + const resolveCodeLens = (codeLens2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.CodeLensResolveRequest.type, client2.code2ProtocolConverter.asCodeLens(codeLens2), token2).then((result) => { + if (token2.isCancellationRequested) { + return codeLens2; + } + return client2.protocol2CodeConverter.asCodeLens(result); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CodeLensResolveRequest.type, token2, error, codeLens2); + }); + }; + const middleware = client2.middleware; + return middleware.resolveCodeLens ? middleware.resolveCodeLens(codeLens, token, resolveCodeLens) : resolveCodeLens(codeLens, token); + } : void 0 + }; + return [vscode_1.languages.registerCodeLensProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), { provider, onDidChangeCodeLensEmitter: eventEmitter }]; + } + }; + exports2.CodeLensFeature = CodeLensFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/formatting.js +var require_formatting = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/formatting.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DocumentOnTypeFormattingFeature = exports2.DocumentRangeFormattingFeature = exports2.DocumentFormattingFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var UUID = require_uuid(); + var features_1 = require_features(); + var FileFormattingOptions; + (function(FileFormattingOptions2) { + function fromConfiguration(document) { + const filesConfig = vscode_1.workspace.getConfiguration("files", document); + return { + trimTrailingWhitespace: filesConfig.get("trimTrailingWhitespace"), + trimFinalNewlines: filesConfig.get("trimFinalNewlines"), + insertFinalNewline: filesConfig.get("insertFinalNewline") + }; + } + FileFormattingOptions2.fromConfiguration = fromConfiguration; + })(FileFormattingOptions || (FileFormattingOptions = {})); + var DocumentFormattingFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DocumentFormattingRequest.type); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "formatting").dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.documentFormattingProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideDocumentFormattingEdits: (document, options2, token) => { + const client2 = this._client; + const provideDocumentFormattingEdits = (document2, options3, token2) => { + const params = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + options: client2.code2ProtocolConverter.asFormattingOptions(options3, FileFormattingOptions.fromConfiguration(document2)) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.DocumentFormattingRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asTextEdits(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentFormattingRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideDocumentFormattingEdits ? middleware.provideDocumentFormattingEdits(document, options2, token, provideDocumentFormattingEdits) : provideDocumentFormattingEdits(document, options2, token); + } + }; + return [vscode_1.languages.registerDocumentFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider]; + } + }; + exports2.DocumentFormattingFeature = DocumentFormattingFeature; + var DocumentRangeFormattingFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DocumentRangeFormattingRequest.type); + } + fillClientCapabilities(capabilities) { + const capability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "rangeFormatting"); + capability.dynamicRegistration = true; + capability.rangesSupport = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.documentRangeFormattingProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideDocumentRangeFormattingEdits: (document, range, options2, token) => { + const client2 = this._client; + const provideDocumentRangeFormattingEdits = (document2, range2, options3, token2) => { + const params = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + range: client2.code2ProtocolConverter.asRange(range2), + options: client2.code2ProtocolConverter.asFormattingOptions(options3, FileFormattingOptions.fromConfiguration(document2)) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.DocumentRangeFormattingRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asTextEdits(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentRangeFormattingRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideDocumentRangeFormattingEdits ? middleware.provideDocumentRangeFormattingEdits(document, range, options2, token, provideDocumentRangeFormattingEdits) : provideDocumentRangeFormattingEdits(document, range, options2, token); + } + }; + if (options.rangesSupport) { + provider.provideDocumentRangesFormattingEdits = (document, ranges, options2, token) => { + const client2 = this._client; + const provideDocumentRangesFormattingEdits = (document2, ranges2, options3, token2) => { + const params = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + ranges: client2.code2ProtocolConverter.asRanges(ranges2), + options: client2.code2ProtocolConverter.asFormattingOptions(options3, FileFormattingOptions.fromConfiguration(document2)) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.DocumentRangesFormattingRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asTextEdits(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentRangesFormattingRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideDocumentRangesFormattingEdits ? middleware.provideDocumentRangesFormattingEdits(document, ranges, options2, token, provideDocumentRangesFormattingEdits) : provideDocumentRangesFormattingEdits(document, ranges, options2, token); + }; + } + return [vscode_1.languages.registerDocumentRangeFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider]; + } + }; + exports2.DocumentRangeFormattingFeature = DocumentRangeFormattingFeature; + var DocumentOnTypeFormattingFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DocumentOnTypeFormattingRequest.type); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "onTypeFormatting").dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.documentOnTypeFormattingProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideOnTypeFormattingEdits: (document, position, ch, options2, token) => { + const client2 = this._client; + const provideOnTypeFormattingEdits = (document2, position2, ch2, options3, token2) => { + let params = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + position: client2.code2ProtocolConverter.asPosition(position2), + ch: ch2, + options: client2.code2ProtocolConverter.asFormattingOptions(options3, FileFormattingOptions.fromConfiguration(document2)) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.DocumentOnTypeFormattingRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asTextEdits(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentOnTypeFormattingRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideOnTypeFormattingEdits ? middleware.provideOnTypeFormattingEdits(document, position, ch, options2, token, provideOnTypeFormattingEdits) : provideOnTypeFormattingEdits(document, position, ch, options2, token); + } + }; + const moreTriggerCharacter = options.moreTriggerCharacter || []; + return [vscode_1.languages.registerOnTypeFormattingEditProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider, options.firstTriggerCharacter, ...moreTriggerCharacter), provider]; + } + }; + exports2.DocumentOnTypeFormattingFeature = DocumentOnTypeFormattingFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/rename.js +var require_rename = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/rename.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.RenameFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var UUID = require_uuid(); + var Is = require_is(); + var features_1 = require_features(); + var RenameFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.RenameRequest.type); + } + fillClientCapabilities(capabilities) { + let rename = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "rename"); + rename.dynamicRegistration = true; + rename.prepareSupport = true; + rename.prepareSupportDefaultBehavior = vscode_languageserver_protocol_1.PrepareSupportDefaultBehavior.Identifier; + rename.honorsChangeAnnotations = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.renameProvider); + if (!options) { + return; + } + if (Is.boolean(capabilities.renameProvider)) { + options.prepareProvider = false; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideRenameEdits: (document, position, newName, token) => { + const client2 = this._client; + const provideRenameEdits = (document2, position2, newName2, token2) => { + let params = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + position: client2.code2ProtocolConverter.asPosition(position2), + newName: newName2 + }; + return client2.sendRequest(vscode_languageserver_protocol_1.RenameRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asWorkspaceEdit(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.RenameRequest.type, token2, error, null, false); + }); + }; + const middleware = client2.middleware; + return middleware.provideRenameEdits ? middleware.provideRenameEdits(document, position, newName, token, provideRenameEdits) : provideRenameEdits(document, position, newName, token); + }, + prepareRename: options.prepareProvider ? (document, position, token) => { + const client2 = this._client; + const prepareRename = (document2, position2, token2) => { + let params = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + position: client2.code2ProtocolConverter.asPosition(position2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.PrepareRenameRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + if (vscode_languageserver_protocol_1.Range.is(result)) { + return client2.protocol2CodeConverter.asRange(result); + } else if (this.isDefaultBehavior(result)) { + return result.defaultBehavior === true ? null : Promise.reject(new Error(`The element can't be renamed.`)); + } else if (result && vscode_languageserver_protocol_1.Range.is(result.range)) { + return { + range: client2.protocol2CodeConverter.asRange(result.range), + placeholder: result.placeholder + }; + } + return Promise.reject(new Error(`The element can't be renamed.`)); + }, (error) => { + if (typeof error.message === "string") { + throw new Error(error.message); + } else { + throw new Error(`The element can't be renamed.`); + } + }); + }; + const middleware = client2.middleware; + return middleware.prepareRename ? middleware.prepareRename(document, position, token, prepareRename) : prepareRename(document, position, token); + } : void 0 + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerRenameProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + isDefaultBehavior(value) { + const candidate = value; + return candidate && Is.boolean(candidate.defaultBehavior); + } + }; + exports2.RenameFeature = RenameFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentLink.js +var require_documentLink = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentLink.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DocumentLinkFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var DocumentLinkFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DocumentLinkRequest.type); + } + fillClientCapabilities(capabilities) { + const documentLinkCapabilities = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "documentLink"); + documentLinkCapabilities.dynamicRegistration = true; + documentLinkCapabilities.tooltipSupport = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.documentLinkProvider); + if (!options) { + return; + } + this.register({ id: UUID.generateUuid(), registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideDocumentLinks: (document, token) => { + const client2 = this._client; + const provideDocumentLinks = (document2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.DocumentLinkRequest.type, client2.code2ProtocolConverter.asDocumentLinkParams(document2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asDocumentLinks(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentLinkRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideDocumentLinks ? middleware.provideDocumentLinks(document, token, provideDocumentLinks) : provideDocumentLinks(document, token); + }, + resolveDocumentLink: options.resolveProvider ? (link, token) => { + const client2 = this._client; + let resolveDocumentLink = (link2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.DocumentLinkResolveRequest.type, client2.code2ProtocolConverter.asDocumentLink(link2), token2).then((result) => { + if (token2.isCancellationRequested) { + return link2; + } + return client2.protocol2CodeConverter.asDocumentLink(result); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentLinkResolveRequest.type, token2, error, link2); + }); + }; + const middleware = client2.middleware; + return middleware.resolveDocumentLink ? middleware.resolveDocumentLink(link, token, resolveDocumentLink) : resolveDocumentLink(link, token); + } : void 0 + }; + return [vscode_1.languages.registerDocumentLinkProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider]; + } + }; + exports2.DocumentLinkFeature = DocumentLinkFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/executeCommand.js +var require_executeCommand = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/executeCommand.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ExecuteCommandFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var UUID = require_uuid(); + var features_1 = require_features(); + var ExecuteCommandFeature = class { + constructor(client2) { + this._client = client2; + this._commands = /* @__PURE__ */ new Map(); + } + getState() { + return { kind: "workspace", id: this.registrationType.method, registrations: this._commands.size > 0 }; + } + get registrationType() { + return vscode_languageserver_protocol_1.ExecuteCommandRequest.type; + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "executeCommand").dynamicRegistration = true; + } + initialize(capabilities) { + if (!capabilities.executeCommandProvider) { + return; + } + this.register({ + id: UUID.generateUuid(), + registerOptions: Object.assign({}, capabilities.executeCommandProvider) + }); + } + register(data) { + const client2 = this._client; + const middleware = client2.middleware; + const executeCommand = (command, args) => { + let params = { + command, + arguments: args + }; + return client2.sendRequest(vscode_languageserver_protocol_1.ExecuteCommandRequest.type, params).then(void 0, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.ExecuteCommandRequest.type, void 0, error, void 0); + }); + }; + if (data.registerOptions.commands) { + const disposables = []; + for (const command of data.registerOptions.commands) { + disposables.push(vscode_1.commands.registerCommand(command, (...args) => { + return middleware.executeCommand ? middleware.executeCommand(command, args, executeCommand) : executeCommand(command, args); + })); + } + this._commands.set(data.id, disposables); + } + } + unregister(id) { + let disposables = this._commands.get(id); + if (disposables) { + disposables.forEach((disposable) => disposable.dispose()); + } + } + clear() { + this._commands.forEach((value) => { + value.forEach((disposable) => disposable.dispose()); + }); + this._commands.clear(); + } + }; + exports2.ExecuteCommandFeature = ExecuteCommandFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/fileSystemWatcher.js +var require_fileSystemWatcher = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/fileSystemWatcher.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.FileSystemWatcherFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var FileSystemWatcherFeature = class { + constructor(client2, notifyFileEvent) { + this._client = client2; + this._notifyFileEvent = notifyFileEvent; + this._watchers = /* @__PURE__ */ new Map(); + } + getState() { + return { kind: "workspace", id: this.registrationType.method, registrations: this._watchers.size > 0 }; + } + get registrationType() { + return vscode_languageserver_protocol_1.DidChangeWatchedFilesNotification.type; + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "didChangeWatchedFiles").dynamicRegistration = true; + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "didChangeWatchedFiles").relativePatternSupport = true; + } + initialize(_capabilities, _documentSelector) { + } + register(data) { + if (!Array.isArray(data.registerOptions.watchers)) { + return; + } + const disposables = []; + for (const watcher of data.registerOptions.watchers) { + const globPattern = this._client.protocol2CodeConverter.asGlobPattern(watcher.globPattern); + if (globPattern === void 0) { + continue; + } + let watchCreate = true, watchChange = true, watchDelete = true; + if (watcher.kind !== void 0 && watcher.kind !== null) { + watchCreate = (watcher.kind & vscode_languageserver_protocol_1.WatchKind.Create) !== 0; + watchChange = (watcher.kind & vscode_languageserver_protocol_1.WatchKind.Change) !== 0; + watchDelete = (watcher.kind & vscode_languageserver_protocol_1.WatchKind.Delete) !== 0; + } + const fileSystemWatcher = vscode_1.workspace.createFileSystemWatcher(globPattern, !watchCreate, !watchChange, !watchDelete); + this.hookListeners(fileSystemWatcher, watchCreate, watchChange, watchDelete, disposables); + disposables.push(fileSystemWatcher); + } + this._watchers.set(data.id, disposables); + } + registerRaw(id, fileSystemWatchers) { + let disposables = []; + for (let fileSystemWatcher of fileSystemWatchers) { + this.hookListeners(fileSystemWatcher, true, true, true, disposables); + } + this._watchers.set(id, disposables); + } + hookListeners(fileSystemWatcher, watchCreate, watchChange, watchDelete, listeners) { + if (watchCreate) { + fileSystemWatcher.onDidCreate((resource) => this._notifyFileEvent({ + uri: this._client.code2ProtocolConverter.asUri(resource), + type: vscode_languageserver_protocol_1.FileChangeType.Created + }), null, listeners); + } + if (watchChange) { + fileSystemWatcher.onDidChange((resource) => this._notifyFileEvent({ + uri: this._client.code2ProtocolConverter.asUri(resource), + type: vscode_languageserver_protocol_1.FileChangeType.Changed + }), null, listeners); + } + if (watchDelete) { + fileSystemWatcher.onDidDelete((resource) => this._notifyFileEvent({ + uri: this._client.code2ProtocolConverter.asUri(resource), + type: vscode_languageserver_protocol_1.FileChangeType.Deleted + }), null, listeners); + } + } + unregister(id) { + let disposables = this._watchers.get(id); + if (disposables) { + for (let disposable of disposables) { + disposable.dispose(); + } + } + } + clear() { + this._watchers.forEach((disposables) => { + for (let disposable of disposables) { + disposable.dispose(); + } + }); + this._watchers.clear(); + } + }; + exports2.FileSystemWatcherFeature = FileSystemWatcherFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/colorProvider.js +var require_colorProvider = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/colorProvider.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ColorProviderFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var ColorProviderFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DocumentColorRequest.type); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "colorProvider").dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + let [id, options] = this.getRegistration(documentSelector, capabilities.colorProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideColorPresentations: (color, context, token) => { + const client2 = this._client; + const provideColorPresentations = (color2, context2, token2) => { + const requestParams = { + color: color2, + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(context2.document), + range: client2.code2ProtocolConverter.asRange(context2.range) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.ColorPresentationRequest.type, requestParams, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return this._client.protocol2CodeConverter.asColorPresentations(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.ColorPresentationRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideColorPresentations ? middleware.provideColorPresentations(color, context, token, provideColorPresentations) : provideColorPresentations(color, context, token); + }, + provideDocumentColors: (document, token) => { + const client2 = this._client; + const provideDocumentColors = (document2, token2) => { + const requestParams = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.DocumentColorRequest.type, requestParams, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return this._client.protocol2CodeConverter.asColorInformations(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DocumentColorRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideDocumentColors ? middleware.provideDocumentColors(document, token, provideDocumentColors) : provideDocumentColors(document, token); + } + }; + return [vscode_1.languages.registerColorProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider]; + } + }; + exports2.ColorProviderFeature = ColorProviderFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/implementation.js +var require_implementation = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/implementation.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ImplementationFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var ImplementationFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.ImplementationRequest.type); + } + fillClientCapabilities(capabilities) { + let implementationSupport = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "implementation"); + implementationSupport.dynamicRegistration = true; + implementationSupport.linkSupport = true; + } + initialize(capabilities, documentSelector) { + let [id, options] = this.getRegistration(documentSelector, capabilities.implementationProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideImplementation: (document, position, token) => { + const client2 = this._client; + const provideImplementation = (document2, position2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.ImplementationRequest.type, client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asDefinitionResult(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.ImplementationRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideImplementation ? middleware.provideImplementation(document, position, token, provideImplementation) : provideImplementation(document, position, token); + } + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerImplementationProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.ImplementationFeature = ImplementationFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/typeDefinition.js +var require_typeDefinition = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/typeDefinition.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.TypeDefinitionFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var TypeDefinitionFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.TypeDefinitionRequest.type); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "typeDefinition").dynamicRegistration = true; + let typeDefinitionSupport = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "typeDefinition"); + typeDefinitionSupport.dynamicRegistration = true; + typeDefinitionSupport.linkSupport = true; + } + initialize(capabilities, documentSelector) { + let [id, options] = this.getRegistration(documentSelector, capabilities.typeDefinitionProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideTypeDefinition: (document, position, token) => { + const client2 = this._client; + const provideTypeDefinition = (document2, position2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.TypeDefinitionRequest.type, client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asDefinitionResult(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.TypeDefinitionRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideTypeDefinition ? middleware.provideTypeDefinition(document, position, token, provideTypeDefinition) : provideTypeDefinition(document, position, token); + } + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerTypeDefinitionProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.TypeDefinitionFeature = TypeDefinitionFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/workspaceFolder.js +var require_workspaceFolder = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/workspaceFolder.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.WorkspaceFoldersFeature = exports2.arrayDiff = void 0; + var UUID = require_uuid(); + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + function access(target, key) { + if (target === void 0 || target === null) { + return void 0; + } + return target[key]; + } + function arrayDiff(left, right) { + return left.filter((element) => right.indexOf(element) < 0); + } + exports2.arrayDiff = arrayDiff; + var WorkspaceFoldersFeature = class { + constructor(client2) { + this._client = client2; + this._listeners = /* @__PURE__ */ new Map(); + } + getState() { + return { kind: "workspace", id: this.registrationType.method, registrations: this._listeners.size > 0 }; + } + get registrationType() { + return vscode_languageserver_protocol_1.DidChangeWorkspaceFoldersNotification.type; + } + fillInitializeParams(params) { + const folders = vscode_1.workspace.workspaceFolders; + this.initializeWithFolders(folders); + if (folders === void 0) { + params.workspaceFolders = null; + } else { + params.workspaceFolders = folders.map((folder) => this.asProtocol(folder)); + } + } + initializeWithFolders(currentWorkspaceFolders) { + this._initialFolders = currentWorkspaceFolders; + } + fillClientCapabilities(capabilities) { + capabilities.workspace = capabilities.workspace || {}; + capabilities.workspace.workspaceFolders = true; + } + initialize(capabilities) { + const client2 = this._client; + client2.onRequest(vscode_languageserver_protocol_1.WorkspaceFoldersRequest.type, (token) => { + const workspaceFolders = () => { + const folders = vscode_1.workspace.workspaceFolders; + if (folders === void 0) { + return null; + } + const result = folders.map((folder) => { + return this.asProtocol(folder); + }); + return result; + }; + const middleware = client2.middleware.workspace; + return middleware && middleware.workspaceFolders ? middleware.workspaceFolders(token, workspaceFolders) : workspaceFolders(token); + }); + const value = access(access(access(capabilities, "workspace"), "workspaceFolders"), "changeNotifications"); + let id; + if (typeof value === "string") { + id = value; + } else if (value === true) { + id = UUID.generateUuid(); + } + if (id) { + this.register({ id, registerOptions: void 0 }); + } + } + sendInitialEvent(currentWorkspaceFolders) { + let promise; + if (this._initialFolders && currentWorkspaceFolders) { + const removed = arrayDiff(this._initialFolders, currentWorkspaceFolders); + const added = arrayDiff(currentWorkspaceFolders, this._initialFolders); + if (added.length > 0 || removed.length > 0) { + promise = this.doSendEvent(added, removed); + } + } else if (this._initialFolders) { + promise = this.doSendEvent([], this._initialFolders); + } else if (currentWorkspaceFolders) { + promise = this.doSendEvent(currentWorkspaceFolders, []); + } + if (promise !== void 0) { + promise.catch((error) => { + this._client.error(`Sending notification ${vscode_languageserver_protocol_1.DidChangeWorkspaceFoldersNotification.type.method} failed`, error); + }); + } + } + doSendEvent(addedFolders, removedFolders) { + let params = { + event: { + added: addedFolders.map((folder) => this.asProtocol(folder)), + removed: removedFolders.map((folder) => this.asProtocol(folder)) + } + }; + return this._client.sendNotification(vscode_languageserver_protocol_1.DidChangeWorkspaceFoldersNotification.type, params); + } + register(data) { + let id = data.id; + let client2 = this._client; + let disposable = vscode_1.workspace.onDidChangeWorkspaceFolders((event) => { + let didChangeWorkspaceFolders = (event2) => { + return this.doSendEvent(event2.added, event2.removed); + }; + let middleware = client2.middleware.workspace; + const promise = middleware && middleware.didChangeWorkspaceFolders ? middleware.didChangeWorkspaceFolders(event, didChangeWorkspaceFolders) : didChangeWorkspaceFolders(event); + promise.catch((error) => { + this._client.error(`Sending notification ${vscode_languageserver_protocol_1.DidChangeWorkspaceFoldersNotification.type.method} failed`, error); + }); + }); + this._listeners.set(id, disposable); + this.sendInitialEvent(vscode_1.workspace.workspaceFolders); + } + unregister(id) { + let disposable = this._listeners.get(id); + if (disposable === void 0) { + return; + } + this._listeners.delete(id); + disposable.dispose(); + } + clear() { + for (let disposable of this._listeners.values()) { + disposable.dispose(); + } + this._listeners.clear(); + } + asProtocol(workspaceFolder) { + if (workspaceFolder === void 0) { + return null; + } + return { uri: this._client.code2ProtocolConverter.asUri(workspaceFolder.uri), name: workspaceFolder.name }; + } + }; + exports2.WorkspaceFoldersFeature = WorkspaceFoldersFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/foldingRange.js +var require_foldingRange = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/foldingRange.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.FoldingRangeFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var FoldingRangeFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.FoldingRangeRequest.type); + } + fillClientCapabilities(capabilities) { + let capability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "foldingRange"); + capability.dynamicRegistration = true; + capability.rangeLimit = 5e3; + capability.lineFoldingOnly = true; + capability.foldingRangeKind = { valueSet: [vscode_languageserver_protocol_1.FoldingRangeKind.Comment, vscode_languageserver_protocol_1.FoldingRangeKind.Imports, vscode_languageserver_protocol_1.FoldingRangeKind.Region] }; + capability.foldingRange = { collapsedText: false }; + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "foldingRange").refreshSupport = true; + } + initialize(capabilities, documentSelector) { + this._client.onRequest(vscode_languageserver_protocol_1.FoldingRangeRefreshRequest.type, async () => { + for (const provider of this.getAllProviders()) { + provider.onDidChangeFoldingRange.fire(); + } + }); + let [id, options] = this.getRegistration(documentSelector, capabilities.foldingRangeProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const eventEmitter = new vscode_1.EventEmitter(); + const provider = { + onDidChangeFoldingRanges: eventEmitter.event, + provideFoldingRanges: (document, context, token) => { + const client2 = this._client; + const provideFoldingRanges = (document2, _, token2) => { + const requestParams = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.FoldingRangeRequest.type, requestParams, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asFoldingRanges(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.FoldingRangeRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideFoldingRanges ? middleware.provideFoldingRanges(document, context, token, provideFoldingRanges) : provideFoldingRanges(document, context, token); + } + }; + return [vscode_1.languages.registerFoldingRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), { provider, onDidChangeFoldingRange: eventEmitter }]; + } + }; + exports2.FoldingRangeFeature = FoldingRangeFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/declaration.js +var require_declaration = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/declaration.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DeclarationFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var DeclarationFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.DeclarationRequest.type); + } + fillClientCapabilities(capabilities) { + const declarationSupport = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "declaration"); + declarationSupport.dynamicRegistration = true; + declarationSupport.linkSupport = true; + } + initialize(capabilities, documentSelector) { + const [id, options] = this.getRegistration(documentSelector, capabilities.declarationProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideDeclaration: (document, position, token) => { + const client2 = this._client; + const provideDeclaration = (document2, position2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.DeclarationRequest.type, client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asDeclarationResult(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.DeclarationRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideDeclaration ? middleware.provideDeclaration(document, position, token, provideDeclaration) : provideDeclaration(document, position, token); + } + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerDeclarationProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.DeclarationFeature = DeclarationFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/selectionRange.js +var require_selectionRange = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/selectionRange.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.SelectionRangeFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var SelectionRangeFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.SelectionRangeRequest.type); + } + fillClientCapabilities(capabilities) { + const capability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "selectionRange"); + capability.dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const [id, options] = this.getRegistration(documentSelector, capabilities.selectionRangeProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideSelectionRanges: (document, positions, token) => { + const client2 = this._client; + const provideSelectionRanges = async (document2, positions2, token2) => { + const requestParams = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + positions: client2.code2ProtocolConverter.asPositionsSync(positions2, token2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.SelectionRangeRequest.type, requestParams, token2).then((ranges) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asSelectionRanges(ranges, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.SelectionRangeRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideSelectionRanges ? middleware.provideSelectionRanges(document, positions, token, provideSelectionRanges) : provideSelectionRanges(document, positions, token); + } + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerSelectionRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.SelectionRangeFeature = SelectionRangeFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/progress.js +var require_progress = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/progress.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ProgressFeature = void 0; + var vscode_languageserver_protocol_1 = require_main3(); + var progressPart_1 = require_progressPart(); + function ensure(target, key) { + if (target[key] === void 0) { + target[key] = /* @__PURE__ */ Object.create(null); + } + return target[key]; + } + var ProgressFeature = class { + constructor(_client) { + this._client = _client; + this.activeParts = /* @__PURE__ */ new Set(); + } + getState() { + return { kind: "window", id: vscode_languageserver_protocol_1.WorkDoneProgressCreateRequest.method, registrations: this.activeParts.size > 0 }; + } + fillClientCapabilities(capabilities) { + ensure(capabilities, "window").workDoneProgress = true; + } + initialize() { + const client2 = this._client; + const deleteHandler = (part) => { + this.activeParts.delete(part); + }; + const createHandler = (params) => { + this.activeParts.add(new progressPart_1.ProgressPart(this._client, params.token, deleteHandler)); + }; + client2.onRequest(vscode_languageserver_protocol_1.WorkDoneProgressCreateRequest.type, createHandler); + } + clear() { + for (const part of this.activeParts) { + part.done(); + } + this.activeParts.clear(); + } + }; + exports2.ProgressFeature = ProgressFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/callHierarchy.js +var require_callHierarchy = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/callHierarchy.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.CallHierarchyFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var CallHierarchyProvider = class { + constructor(client2) { + this.client = client2; + this.middleware = client2.middleware; + } + prepareCallHierarchy(document, position, token) { + const client2 = this.client; + const middleware = this.middleware; + const prepareCallHierarchy = (document2, position2, token2) => { + const params = client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2); + return client2.sendRequest(vscode_languageserver_protocol_1.CallHierarchyPrepareRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asCallHierarchyItems(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CallHierarchyPrepareRequest.type, token2, error, null); + }); + }; + return middleware.prepareCallHierarchy ? middleware.prepareCallHierarchy(document, position, token, prepareCallHierarchy) : prepareCallHierarchy(document, position, token); + } + provideCallHierarchyIncomingCalls(item, token) { + const client2 = this.client; + const middleware = this.middleware; + const provideCallHierarchyIncomingCalls = (item2, token2) => { + const params = { + item: client2.code2ProtocolConverter.asCallHierarchyItem(item2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.CallHierarchyIncomingCallsRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asCallHierarchyIncomingCalls(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CallHierarchyIncomingCallsRequest.type, token2, error, null); + }); + }; + return middleware.provideCallHierarchyIncomingCalls ? middleware.provideCallHierarchyIncomingCalls(item, token, provideCallHierarchyIncomingCalls) : provideCallHierarchyIncomingCalls(item, token); + } + provideCallHierarchyOutgoingCalls(item, token) { + const client2 = this.client; + const middleware = this.middleware; + const provideCallHierarchyOutgoingCalls = (item2, token2) => { + const params = { + item: client2.code2ProtocolConverter.asCallHierarchyItem(item2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.CallHierarchyOutgoingCallsRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asCallHierarchyOutgoingCalls(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.CallHierarchyOutgoingCallsRequest.type, token2, error, null); + }); + }; + return middleware.provideCallHierarchyOutgoingCalls ? middleware.provideCallHierarchyOutgoingCalls(item, token, provideCallHierarchyOutgoingCalls) : provideCallHierarchyOutgoingCalls(item, token); + } + }; + var CallHierarchyFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.CallHierarchyPrepareRequest.type); + } + fillClientCapabilities(cap) { + const capabilities = cap; + const capability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "callHierarchy"); + capability.dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const [id, options] = this.getRegistration(documentSelector, capabilities.callHierarchyProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const client2 = this._client; + const provider = new CallHierarchyProvider(client2); + return [vscode_1.languages.registerCallHierarchyProvider(this._client.protocol2CodeConverter.asDocumentSelector(options.documentSelector), provider), provider]; + } + }; + exports2.CallHierarchyFeature = CallHierarchyFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/semanticTokens.js +var require_semanticTokens = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/semanticTokens.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.SemanticTokensFeature = void 0; + var vscode = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var Is = require_is(); + var SemanticTokensFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.SemanticTokensRegistrationType.type); + } + fillClientCapabilities(capabilities) { + const capability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "semanticTokens"); + capability.dynamicRegistration = true; + capability.tokenTypes = [ + vscode_languageserver_protocol_1.SemanticTokenTypes.namespace, + vscode_languageserver_protocol_1.SemanticTokenTypes.type, + vscode_languageserver_protocol_1.SemanticTokenTypes.class, + vscode_languageserver_protocol_1.SemanticTokenTypes.enum, + vscode_languageserver_protocol_1.SemanticTokenTypes.interface, + vscode_languageserver_protocol_1.SemanticTokenTypes.struct, + vscode_languageserver_protocol_1.SemanticTokenTypes.typeParameter, + vscode_languageserver_protocol_1.SemanticTokenTypes.parameter, + vscode_languageserver_protocol_1.SemanticTokenTypes.variable, + vscode_languageserver_protocol_1.SemanticTokenTypes.property, + vscode_languageserver_protocol_1.SemanticTokenTypes.enumMember, + vscode_languageserver_protocol_1.SemanticTokenTypes.event, + vscode_languageserver_protocol_1.SemanticTokenTypes.function, + vscode_languageserver_protocol_1.SemanticTokenTypes.method, + vscode_languageserver_protocol_1.SemanticTokenTypes.macro, + vscode_languageserver_protocol_1.SemanticTokenTypes.keyword, + vscode_languageserver_protocol_1.SemanticTokenTypes.modifier, + vscode_languageserver_protocol_1.SemanticTokenTypes.comment, + vscode_languageserver_protocol_1.SemanticTokenTypes.string, + vscode_languageserver_protocol_1.SemanticTokenTypes.number, + vscode_languageserver_protocol_1.SemanticTokenTypes.regexp, + vscode_languageserver_protocol_1.SemanticTokenTypes.operator, + vscode_languageserver_protocol_1.SemanticTokenTypes.decorator + ]; + capability.tokenModifiers = [ + vscode_languageserver_protocol_1.SemanticTokenModifiers.declaration, + vscode_languageserver_protocol_1.SemanticTokenModifiers.definition, + vscode_languageserver_protocol_1.SemanticTokenModifiers.readonly, + vscode_languageserver_protocol_1.SemanticTokenModifiers.static, + vscode_languageserver_protocol_1.SemanticTokenModifiers.deprecated, + vscode_languageserver_protocol_1.SemanticTokenModifiers.abstract, + vscode_languageserver_protocol_1.SemanticTokenModifiers.async, + vscode_languageserver_protocol_1.SemanticTokenModifiers.modification, + vscode_languageserver_protocol_1.SemanticTokenModifiers.documentation, + vscode_languageserver_protocol_1.SemanticTokenModifiers.defaultLibrary + ]; + capability.formats = [vscode_languageserver_protocol_1.TokenFormat.Relative]; + capability.requests = { + range: true, + full: { + delta: true + } + }; + capability.multilineTokenSupport = false; + capability.overlappingTokenSupport = false; + capability.serverCancelSupport = true; + capability.augmentsSyntaxTokens = true; + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "semanticTokens").refreshSupport = true; + } + initialize(capabilities, documentSelector) { + const client2 = this._client; + client2.onRequest(vscode_languageserver_protocol_1.SemanticTokensRefreshRequest.type, async () => { + for (const provider of this.getAllProviders()) { + provider.onDidChangeSemanticTokensEmitter.fire(); + } + }); + const [id, options] = this.getRegistration(documentSelector, capabilities.semanticTokensProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const fullProvider = Is.boolean(options.full) ? options.full : options.full !== void 0; + const hasEditProvider = options.full !== void 0 && typeof options.full !== "boolean" && options.full.delta === true; + const eventEmitter = new vscode.EventEmitter(); + const documentProvider = fullProvider ? { + onDidChangeSemanticTokens: eventEmitter.event, + provideDocumentSemanticTokens: (document, token) => { + const client3 = this._client; + const middleware = client3.middleware; + const provideDocumentSemanticTokens = (document2, token2) => { + const params = { + textDocument: client3.code2ProtocolConverter.asTextDocumentIdentifier(document2) + }; + return client3.sendRequest(vscode_languageserver_protocol_1.SemanticTokensRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client3.protocol2CodeConverter.asSemanticTokens(result, token2); + }, (error) => { + return client3.handleFailedRequest(vscode_languageserver_protocol_1.SemanticTokensRequest.type, token2, error, null); + }); + }; + return middleware.provideDocumentSemanticTokens ? middleware.provideDocumentSemanticTokens(document, token, provideDocumentSemanticTokens) : provideDocumentSemanticTokens(document, token); + }, + provideDocumentSemanticTokensEdits: hasEditProvider ? (document, previousResultId, token) => { + const client3 = this._client; + const middleware = client3.middleware; + const provideDocumentSemanticTokensEdits = (document2, previousResultId2, token2) => { + const params = { + textDocument: client3.code2ProtocolConverter.asTextDocumentIdentifier(document2), + previousResultId: previousResultId2 + }; + return client3.sendRequest(vscode_languageserver_protocol_1.SemanticTokensDeltaRequest.type, params, token2).then(async (result) => { + if (token2.isCancellationRequested) { + return null; + } + if (vscode_languageserver_protocol_1.SemanticTokens.is(result)) { + return await client3.protocol2CodeConverter.asSemanticTokens(result, token2); + } else { + return await client3.protocol2CodeConverter.asSemanticTokensEdits(result, token2); + } + }, (error) => { + return client3.handleFailedRequest(vscode_languageserver_protocol_1.SemanticTokensDeltaRequest.type, token2, error, null); + }); + }; + return middleware.provideDocumentSemanticTokensEdits ? middleware.provideDocumentSemanticTokensEdits(document, previousResultId, token, provideDocumentSemanticTokensEdits) : provideDocumentSemanticTokensEdits(document, previousResultId, token); + } : void 0 + } : void 0; + const hasRangeProvider = options.range === true; + const rangeProvider = hasRangeProvider ? { + provideDocumentRangeSemanticTokens: (document, range, token) => { + const client3 = this._client; + const middleware = client3.middleware; + const provideDocumentRangeSemanticTokens = (document2, range2, token2) => { + const params = { + textDocument: client3.code2ProtocolConverter.asTextDocumentIdentifier(document2), + range: client3.code2ProtocolConverter.asRange(range2) + }; + return client3.sendRequest(vscode_languageserver_protocol_1.SemanticTokensRangeRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client3.protocol2CodeConverter.asSemanticTokens(result, token2); + }, (error) => { + return client3.handleFailedRequest(vscode_languageserver_protocol_1.SemanticTokensRangeRequest.type, token2, error, null); + }); + }; + return middleware.provideDocumentRangeSemanticTokens ? middleware.provideDocumentRangeSemanticTokens(document, range, token, provideDocumentRangeSemanticTokens) : provideDocumentRangeSemanticTokens(document, range, token); + } + } : void 0; + const disposables = []; + const client2 = this._client; + const legend = client2.protocol2CodeConverter.asSemanticTokensLegend(options.legend); + const documentSelector = client2.protocol2CodeConverter.asDocumentSelector(selector); + if (documentProvider !== void 0) { + disposables.push(vscode.languages.registerDocumentSemanticTokensProvider(documentSelector, documentProvider, legend)); + } + if (rangeProvider !== void 0) { + disposables.push(vscode.languages.registerDocumentRangeSemanticTokensProvider(documentSelector, rangeProvider, legend)); + } + return [new vscode.Disposable(() => disposables.forEach((item) => item.dispose())), { range: rangeProvider, full: documentProvider, onDidChangeSemanticTokensEmitter: eventEmitter }]; + } + }; + exports2.SemanticTokensFeature = SemanticTokensFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/fileOperations.js +var require_fileOperations = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/fileOperations.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.WillDeleteFilesFeature = exports2.WillRenameFilesFeature = exports2.WillCreateFilesFeature = exports2.DidDeleteFilesFeature = exports2.DidRenameFilesFeature = exports2.DidCreateFilesFeature = void 0; + var code = require("vscode"); + var minimatch = require_minimatch(); + var proto = require_main3(); + var UUID = require_uuid(); + function ensure(target, key) { + if (target[key] === void 0) { + target[key] = {}; + } + return target[key]; + } + function access(target, key) { + return target[key]; + } + function assign(target, key, value) { + target[key] = value; + } + var FileOperationFeature = class _FileOperationFeature { + constructor(client2, event, registrationType, clientCapability, serverCapability) { + this._client = client2; + this._event = event; + this._registrationType = registrationType; + this._clientCapability = clientCapability; + this._serverCapability = serverCapability; + this._filters = /* @__PURE__ */ new Map(); + } + getState() { + return { kind: "workspace", id: this._registrationType.method, registrations: this._filters.size > 0 }; + } + filterSize() { + return this._filters.size; + } + get registrationType() { + return this._registrationType; + } + fillClientCapabilities(capabilities) { + const value = ensure(ensure(capabilities, "workspace"), "fileOperations"); + assign(value, "dynamicRegistration", true); + assign(value, this._clientCapability, true); + } + initialize(capabilities) { + const options = capabilities.workspace?.fileOperations; + const capability = options !== void 0 ? access(options, this._serverCapability) : void 0; + if (capability?.filters !== void 0) { + try { + this.register({ + id: UUID.generateUuid(), + registerOptions: { filters: capability.filters } + }); + } catch (e) { + this._client.warn(`Ignoring invalid glob pattern for ${this._serverCapability} registration: ${e}`); + } + } + } + register(data) { + if (!this._listener) { + this._listener = this._event(this.send, this); + } + const minimatchFilter = data.registerOptions.filters.map((filter) => { + const matcher = new minimatch.Minimatch(filter.pattern.glob, _FileOperationFeature.asMinimatchOptions(filter.pattern.options)); + if (!matcher.makeRe()) { + throw new Error(`Invalid pattern ${filter.pattern.glob}!`); + } + return { scheme: filter.scheme, matcher, kind: filter.pattern.matches }; + }); + this._filters.set(data.id, minimatchFilter); + } + unregister(id) { + this._filters.delete(id); + if (this._filters.size === 0 && this._listener) { + this._listener.dispose(); + this._listener = void 0; + } + } + clear() { + this._filters.clear(); + if (this._listener) { + this._listener.dispose(); + this._listener = void 0; + } + } + getFileType(uri) { + return _FileOperationFeature.getFileType(uri); + } + async filter(event, prop) { + const fileMatches = await Promise.all(event.files.map(async (item) => { + const uri = prop(item); + const path = uri.fsPath.replace(/\\/g, "/"); + for (const filters of this._filters.values()) { + for (const filter of filters) { + if (filter.scheme !== void 0 && filter.scheme !== uri.scheme) { + continue; + } + if (filter.matcher.match(path)) { + if (filter.kind === void 0) { + return true; + } + const fileType = await this.getFileType(uri); + if (fileType === void 0) { + this._client.error(`Failed to determine file type for ${uri.toString()}.`); + return true; + } + if (fileType === code.FileType.File && filter.kind === proto.FileOperationPatternKind.file || fileType === code.FileType.Directory && filter.kind === proto.FileOperationPatternKind.folder) { + return true; + } + } else if (filter.kind === proto.FileOperationPatternKind.folder) { + const fileType = await _FileOperationFeature.getFileType(uri); + if (fileType === code.FileType.Directory && filter.matcher.match(`${path}/`)) { + return true; + } + } + } + } + return false; + })); + const files = event.files.filter((_, index) => fileMatches[index]); + return { ...event, files }; + } + static async getFileType(uri) { + try { + return (await code.workspace.fs.stat(uri)).type; + } catch (e) { + return void 0; + } + } + static asMinimatchOptions(options) { + const result = { dot: true }; + if (options?.ignoreCase === true) { + result.nocase = true; + } + return result; + } + }; + var NotificationFileOperationFeature = class extends FileOperationFeature { + constructor(client2, event, notificationType, clientCapability, serverCapability, accessUri, createParams) { + super(client2, event, notificationType, clientCapability, serverCapability); + this._notificationType = notificationType; + this._accessUri = accessUri; + this._createParams = createParams; + } + async send(originalEvent) { + const filteredEvent = await this.filter(originalEvent, this._accessUri); + if (filteredEvent.files.length) { + const next = async (event) => { + return this._client.sendNotification(this._notificationType, this._createParams(event)); + }; + return this.doSend(filteredEvent, next); + } + } + }; + var CachingNotificationFileOperationFeature = class extends NotificationFileOperationFeature { + constructor() { + super(...arguments); + this._fsPathFileTypes = /* @__PURE__ */ new Map(); + } + async getFileType(uri) { + const fsPath = uri.fsPath; + if (this._fsPathFileTypes.has(fsPath)) { + return this._fsPathFileTypes.get(fsPath); + } + const type = await FileOperationFeature.getFileType(uri); + if (type) { + this._fsPathFileTypes.set(fsPath, type); + } + return type; + } + async cacheFileTypes(event, prop) { + await this.filter(event, prop); + } + clearFileTypeCache() { + this._fsPathFileTypes.clear(); + } + unregister(id) { + super.unregister(id); + if (this.filterSize() === 0 && this._willListener) { + this._willListener.dispose(); + this._willListener = void 0; + } + } + clear() { + super.clear(); + if (this._willListener) { + this._willListener.dispose(); + this._willListener = void 0; + } + } + }; + var DidCreateFilesFeature = class extends NotificationFileOperationFeature { + constructor(client2) { + super(client2, code.workspace.onDidCreateFiles, proto.DidCreateFilesNotification.type, "didCreate", "didCreate", (i) => i, client2.code2ProtocolConverter.asDidCreateFilesParams); + } + doSend(event, next) { + const middleware = this._client.middleware.workspace; + return middleware?.didCreateFiles ? middleware.didCreateFiles(event, next) : next(event); + } + }; + exports2.DidCreateFilesFeature = DidCreateFilesFeature; + var DidRenameFilesFeature = class extends CachingNotificationFileOperationFeature { + constructor(client2) { + super(client2, code.workspace.onDidRenameFiles, proto.DidRenameFilesNotification.type, "didRename", "didRename", (i) => i.oldUri, client2.code2ProtocolConverter.asDidRenameFilesParams); + } + register(data) { + if (!this._willListener) { + this._willListener = code.workspace.onWillRenameFiles(this.willRename, this); + } + super.register(data); + } + willRename(e) { + e.waitUntil(this.cacheFileTypes(e, (i) => i.oldUri)); + } + doSend(event, next) { + this.clearFileTypeCache(); + const middleware = this._client.middleware.workspace; + return middleware?.didRenameFiles ? middleware.didRenameFiles(event, next) : next(event); + } + }; + exports2.DidRenameFilesFeature = DidRenameFilesFeature; + var DidDeleteFilesFeature = class extends CachingNotificationFileOperationFeature { + constructor(client2) { + super(client2, code.workspace.onDidDeleteFiles, proto.DidDeleteFilesNotification.type, "didDelete", "didDelete", (i) => i, client2.code2ProtocolConverter.asDidDeleteFilesParams); + } + register(data) { + if (!this._willListener) { + this._willListener = code.workspace.onWillDeleteFiles(this.willDelete, this); + } + super.register(data); + } + willDelete(e) { + e.waitUntil(this.cacheFileTypes(e, (i) => i)); + } + doSend(event, next) { + this.clearFileTypeCache(); + const middleware = this._client.middleware.workspace; + return middleware?.didDeleteFiles ? middleware.didDeleteFiles(event, next) : next(event); + } + }; + exports2.DidDeleteFilesFeature = DidDeleteFilesFeature; + var RequestFileOperationFeature = class extends FileOperationFeature { + constructor(client2, event, requestType, clientCapability, serverCapability, accessUri, createParams) { + super(client2, event, requestType, clientCapability, serverCapability); + this._requestType = requestType; + this._accessUri = accessUri; + this._createParams = createParams; + } + async send(originalEvent) { + const waitUntil = this.waitUntil(originalEvent); + originalEvent.waitUntil(waitUntil); + } + async waitUntil(originalEvent) { + const filteredEvent = await this.filter(originalEvent, this._accessUri); + if (filteredEvent.files.length) { + const next = (event) => { + return this._client.sendRequest(this._requestType, this._createParams(event), event.token).then(this._client.protocol2CodeConverter.asWorkspaceEdit); + }; + return this.doSend(filteredEvent, next); + } else { + return void 0; + } + } + }; + var WillCreateFilesFeature = class extends RequestFileOperationFeature { + constructor(client2) { + super(client2, code.workspace.onWillCreateFiles, proto.WillCreateFilesRequest.type, "willCreate", "willCreate", (i) => i, client2.code2ProtocolConverter.asWillCreateFilesParams); + } + doSend(event, next) { + const middleware = this._client.middleware.workspace; + return middleware?.willCreateFiles ? middleware.willCreateFiles(event, next) : next(event); + } + }; + exports2.WillCreateFilesFeature = WillCreateFilesFeature; + var WillRenameFilesFeature = class extends RequestFileOperationFeature { + constructor(client2) { + super(client2, code.workspace.onWillRenameFiles, proto.WillRenameFilesRequest.type, "willRename", "willRename", (i) => i.oldUri, client2.code2ProtocolConverter.asWillRenameFilesParams); + } + doSend(event, next) { + const middleware = this._client.middleware.workspace; + return middleware?.willRenameFiles ? middleware.willRenameFiles(event, next) : next(event); + } + }; + exports2.WillRenameFilesFeature = WillRenameFilesFeature; + var WillDeleteFilesFeature = class extends RequestFileOperationFeature { + constructor(client2) { + super(client2, code.workspace.onWillDeleteFiles, proto.WillDeleteFilesRequest.type, "willDelete", "willDelete", (i) => i, client2.code2ProtocolConverter.asWillDeleteFilesParams); + } + doSend(event, next) { + const middleware = this._client.middleware.workspace; + return middleware?.willDeleteFiles ? middleware.willDeleteFiles(event, next) : next(event); + } + }; + exports2.WillDeleteFilesFeature = WillDeleteFilesFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/linkedEditingRange.js +var require_linkedEditingRange = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/linkedEditingRange.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.LinkedEditingFeature = void 0; + var code = require("vscode"); + var proto = require_main3(); + var features_1 = require_features(); + var LinkedEditingFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, proto.LinkedEditingRangeRequest.type); + } + fillClientCapabilities(capabilities) { + const linkedEditingSupport = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "linkedEditingRange"); + linkedEditingSupport.dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + let [id, options] = this.getRegistration(documentSelector, capabilities.linkedEditingRangeProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideLinkedEditingRanges: (document, position, token) => { + const client2 = this._client; + const provideLinkedEditing = (document2, position2, token2) => { + return client2.sendRequest(proto.LinkedEditingRangeRequest.type, client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asLinkedEditingRanges(result, token2); + }, (error) => { + return client2.handleFailedRequest(proto.LinkedEditingRangeRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideLinkedEditingRange ? middleware.provideLinkedEditingRange(document, position, token, provideLinkedEditing) : provideLinkedEditing(document, position, token); + } + }; + return [this.registerProvider(selector, provider), provider]; + } + registerProvider(selector, provider) { + return code.languages.registerLinkedEditingRangeProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.LinkedEditingFeature = LinkedEditingFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/typeHierarchy.js +var require_typeHierarchy = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/typeHierarchy.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.TypeHierarchyFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var TypeHierarchyProvider = class { + constructor(client2) { + this.client = client2; + this.middleware = client2.middleware; + } + prepareTypeHierarchy(document, position, token) { + const client2 = this.client; + const middleware = this.middleware; + const prepareTypeHierarchy = (document2, position2, token2) => { + const params = client2.code2ProtocolConverter.asTextDocumentPositionParams(document2, position2); + return client2.sendRequest(vscode_languageserver_protocol_1.TypeHierarchyPrepareRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asTypeHierarchyItems(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.TypeHierarchyPrepareRequest.type, token2, error, null); + }); + }; + return middleware.prepareTypeHierarchy ? middleware.prepareTypeHierarchy(document, position, token, prepareTypeHierarchy) : prepareTypeHierarchy(document, position, token); + } + provideTypeHierarchySupertypes(item, token) { + const client2 = this.client; + const middleware = this.middleware; + const provideTypeHierarchySupertypes = (item2, token2) => { + const params = { + item: client2.code2ProtocolConverter.asTypeHierarchyItem(item2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.TypeHierarchySupertypesRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asTypeHierarchyItems(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.TypeHierarchySupertypesRequest.type, token2, error, null); + }); + }; + return middleware.provideTypeHierarchySupertypes ? middleware.provideTypeHierarchySupertypes(item, token, provideTypeHierarchySupertypes) : provideTypeHierarchySupertypes(item, token); + } + provideTypeHierarchySubtypes(item, token) { + const client2 = this.client; + const middleware = this.middleware; + const provideTypeHierarchySubtypes = (item2, token2) => { + const params = { + item: client2.code2ProtocolConverter.asTypeHierarchyItem(item2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.TypeHierarchySubtypesRequest.type, params, token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asTypeHierarchyItems(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.TypeHierarchySubtypesRequest.type, token2, error, null); + }); + }; + return middleware.provideTypeHierarchySubtypes ? middleware.provideTypeHierarchySubtypes(item, token, provideTypeHierarchySubtypes) : provideTypeHierarchySubtypes(item, token); + } + }; + var TypeHierarchyFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.TypeHierarchyPrepareRequest.type); + } + fillClientCapabilities(capabilities) { + const capability = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "typeHierarchy"); + capability.dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const [id, options] = this.getRegistration(documentSelector, capabilities.typeHierarchyProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const client2 = this._client; + const provider = new TypeHierarchyProvider(client2); + return [vscode_1.languages.registerTypeHierarchyProvider(client2.protocol2CodeConverter.asDocumentSelector(options.documentSelector), provider), provider]; + } + }; + exports2.TypeHierarchyFeature = TypeHierarchyFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlineValue.js +var require_inlineValue = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlineValue.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.InlineValueFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var InlineValueFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.InlineValueRequest.type); + } + fillClientCapabilities(capabilities) { + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "inlineValue").dynamicRegistration = true; + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "inlineValue").refreshSupport = true; + } + initialize(capabilities, documentSelector) { + this._client.onRequest(vscode_languageserver_protocol_1.InlineValueRefreshRequest.type, async () => { + for (const provider of this.getAllProviders()) { + provider.onDidChangeInlineValues.fire(); + } + }); + const [id, options] = this.getRegistration(documentSelector, capabilities.inlineValueProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const eventEmitter = new vscode_1.EventEmitter(); + const provider = { + onDidChangeInlineValues: eventEmitter.event, + provideInlineValues: (document, viewPort, context, token) => { + const client2 = this._client; + const provideInlineValues = (document2, viewPort2, context2, token2) => { + const requestParams = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + range: client2.code2ProtocolConverter.asRange(viewPort2), + context: client2.code2ProtocolConverter.asInlineValueContext(context2) + }; + return client2.sendRequest(vscode_languageserver_protocol_1.InlineValueRequest.type, requestParams, token2).then((values) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asInlineValues(values, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.InlineValueRequest.type, token2, error, null); + }); + }; + const middleware = client2.middleware; + return middleware.provideInlineValues ? middleware.provideInlineValues(document, viewPort, context, token, provideInlineValues) : provideInlineValues(document, viewPort, context, token); + } + }; + return [this.registerProvider(selector, provider), { provider, onDidChangeInlineValues: eventEmitter }]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerInlineValuesProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.InlineValueFeature = InlineValueFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlayHint.js +var require_inlayHint = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlayHint.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.InlayHintsFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var InlayHintsFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.InlayHintRequest.type); + } + fillClientCapabilities(capabilities) { + const inlayHint = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "inlayHint"); + inlayHint.dynamicRegistration = true; + inlayHint.resolveSupport = { + properties: ["tooltip", "textEdits", "label.tooltip", "label.location", "label.command"] + }; + (0, features_1.ensure)((0, features_1.ensure)(capabilities, "workspace"), "inlayHint").refreshSupport = true; + } + initialize(capabilities, documentSelector) { + this._client.onRequest(vscode_languageserver_protocol_1.InlayHintRefreshRequest.type, async () => { + for (const provider of this.getAllProviders()) { + provider.onDidChangeInlayHints.fire(); + } + }); + const [id, options] = this.getRegistration(documentSelector, capabilities.inlayHintProvider); + if (!id || !options) { + return; + } + this.register({ id, registerOptions: options }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const eventEmitter = new vscode_1.EventEmitter(); + const provider = { + onDidChangeInlayHints: eventEmitter.event, + provideInlayHints: (document, viewPort, token) => { + const client2 = this._client; + const provideInlayHints = async (document2, viewPort2, token2) => { + const requestParams = { + textDocument: client2.code2ProtocolConverter.asTextDocumentIdentifier(document2), + range: client2.code2ProtocolConverter.asRange(viewPort2) + }; + try { + const values = await client2.sendRequest(vscode_languageserver_protocol_1.InlayHintRequest.type, requestParams, token2); + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asInlayHints(values, token2); + } catch (error) { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.InlayHintRequest.type, token2, error, null); + } + }; + const middleware = client2.middleware; + return middleware.provideInlayHints ? middleware.provideInlayHints(document, viewPort, token, provideInlayHints) : provideInlayHints(document, viewPort, token); + } + }; + provider.resolveInlayHint = options.resolveProvider === true ? (hint, token) => { + const client2 = this._client; + const resolveInlayHint = async (item, token2) => { + try { + const value = await client2.sendRequest(vscode_languageserver_protocol_1.InlayHintResolveRequest.type, client2.code2ProtocolConverter.asInlayHint(item), token2); + if (token2.isCancellationRequested) { + return null; + } + const result = client2.protocol2CodeConverter.asInlayHint(value, token2); + return token2.isCancellationRequested ? null : result; + } catch (error) { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.InlayHintResolveRequest.type, token2, error, null); + } + }; + const middleware = client2.middleware; + return middleware.resolveInlayHint ? middleware.resolveInlayHint(hint, token, resolveInlayHint) : resolveInlayHint(hint, token); + } : void 0; + return [this.registerProvider(selector, provider), { provider, onDidChangeInlayHints: eventEmitter }]; + } + registerProvider(selector, provider) { + return vscode_1.languages.registerInlayHintsProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider); + } + }; + exports2.InlayHintsFeature = InlayHintsFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlineCompletion.js +var require_inlineCompletion = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlineCompletion.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.InlineCompletionItemFeature = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var features_1 = require_features(); + var UUID = require_uuid(); + var InlineCompletionItemFeature = class extends features_1.TextDocumentLanguageFeature { + constructor(client2) { + super(client2, vscode_languageserver_protocol_1.InlineCompletionRequest.type); + } + fillClientCapabilities(capabilities) { + let inlineCompletion = (0, features_1.ensure)((0, features_1.ensure)(capabilities, "textDocument"), "inlineCompletion"); + inlineCompletion.dynamicRegistration = true; + } + initialize(capabilities, documentSelector) { + const options = this.getRegistrationOptions(documentSelector, capabilities.inlineCompletionProvider); + if (!options) { + return; + } + this.register({ + id: UUID.generateUuid(), + registerOptions: options + }); + } + registerLanguageProvider(options) { + const selector = options.documentSelector; + const provider = { + provideInlineCompletionItems: (document, position, context, token) => { + const client2 = this._client; + const middleware = this._client.middleware; + const provideInlineCompletionItems = (document2, position2, context2, token2) => { + return client2.sendRequest(vscode_languageserver_protocol_1.InlineCompletionRequest.type, client2.code2ProtocolConverter.asInlineCompletionParams(document2, position2, context2), token2).then((result) => { + if (token2.isCancellationRequested) { + return null; + } + return client2.protocol2CodeConverter.asInlineCompletionResult(result, token2); + }, (error) => { + return client2.handleFailedRequest(vscode_languageserver_protocol_1.InlineCompletionRequest.type, token2, error, null); + }); + }; + return middleware.provideInlineCompletionItems ? middleware.provideInlineCompletionItems(document, position, context, token, provideInlineCompletionItems) : provideInlineCompletionItems(document, position, context, token); + } + }; + return [vscode_1.languages.registerInlineCompletionItemProvider(this._client.protocol2CodeConverter.asDocumentSelector(selector), provider), provider]; + } + }; + exports2.InlineCompletionItemFeature = InlineCompletionItemFeature; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/client.js +var require_client = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/client.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.ProposedFeatures = exports2.BaseLanguageClient = exports2.MessageTransports = exports2.SuspendMode = exports2.State = exports2.CloseAction = exports2.ErrorAction = exports2.RevealOutputChannelOn = void 0; + var vscode_1 = require("vscode"); + var vscode_languageserver_protocol_1 = require_main3(); + var c2p = require_codeConverter(); + var p2c = require_protocolConverter(); + var Is = require_is(); + var async_1 = require_async(); + var UUID = require_uuid(); + var progressPart_1 = require_progressPart(); + var features_1 = require_features(); + var diagnostic_1 = require_diagnostic(); + var notebook_1 = require_notebook(); + var configuration_1 = require_configuration(); + var textSynchronization_1 = require_textSynchronization(); + var completion_1 = require_completion(); + var hover_1 = require_hover(); + var definition_1 = require_definition(); + var signatureHelp_1 = require_signatureHelp(); + var documentHighlight_1 = require_documentHighlight(); + var documentSymbol_1 = require_documentSymbol(); + var workspaceSymbol_1 = require_workspaceSymbol(); + var reference_1 = require_reference(); + var codeAction_1 = require_codeAction(); + var codeLens_1 = require_codeLens(); + var formatting_1 = require_formatting(); + var rename_1 = require_rename(); + var documentLink_1 = require_documentLink(); + var executeCommand_1 = require_executeCommand(); + var fileSystemWatcher_1 = require_fileSystemWatcher(); + var colorProvider_1 = require_colorProvider(); + var implementation_1 = require_implementation(); + var typeDefinition_1 = require_typeDefinition(); + var workspaceFolder_1 = require_workspaceFolder(); + var foldingRange_1 = require_foldingRange(); + var declaration_1 = require_declaration(); + var selectionRange_1 = require_selectionRange(); + var progress_1 = require_progress(); + var callHierarchy_1 = require_callHierarchy(); + var semanticTokens_1 = require_semanticTokens(); + var fileOperations_1 = require_fileOperations(); + var linkedEditingRange_1 = require_linkedEditingRange(); + var typeHierarchy_1 = require_typeHierarchy(); + var inlineValue_1 = require_inlineValue(); + var inlayHint_1 = require_inlayHint(); + var inlineCompletion_1 = require_inlineCompletion(); + var RevealOutputChannelOn; + (function(RevealOutputChannelOn2) { + RevealOutputChannelOn2[RevealOutputChannelOn2["Debug"] = 0] = "Debug"; + RevealOutputChannelOn2[RevealOutputChannelOn2["Info"] = 1] = "Info"; + RevealOutputChannelOn2[RevealOutputChannelOn2["Warn"] = 2] = "Warn"; + RevealOutputChannelOn2[RevealOutputChannelOn2["Error"] = 3] = "Error"; + RevealOutputChannelOn2[RevealOutputChannelOn2["Never"] = 4] = "Never"; + })(RevealOutputChannelOn || (exports2.RevealOutputChannelOn = RevealOutputChannelOn = {})); + var ErrorAction; + (function(ErrorAction2) { + ErrorAction2[ErrorAction2["Continue"] = 1] = "Continue"; + ErrorAction2[ErrorAction2["Shutdown"] = 2] = "Shutdown"; + })(ErrorAction || (exports2.ErrorAction = ErrorAction = {})); + var CloseAction; + (function(CloseAction2) { + CloseAction2[CloseAction2["DoNotRestart"] = 1] = "DoNotRestart"; + CloseAction2[CloseAction2["Restart"] = 2] = "Restart"; + })(CloseAction || (exports2.CloseAction = CloseAction = {})); + var State; + (function(State2) { + State2[State2["Stopped"] = 1] = "Stopped"; + State2[State2["Starting"] = 3] = "Starting"; + State2[State2["Running"] = 2] = "Running"; + })(State || (exports2.State = State = {})); + var SuspendMode; + (function(SuspendMode2) { + SuspendMode2["off"] = "off"; + SuspendMode2["on"] = "on"; + })(SuspendMode || (exports2.SuspendMode = SuspendMode = {})); + var ResolvedClientOptions; + (function(ResolvedClientOptions2) { + function sanitizeIsTrusted(isTrusted) { + if (isTrusted === void 0 || isTrusted === null) { + return false; + } + if (typeof isTrusted === "boolean" || typeof isTrusted === "object" && isTrusted !== null && Is.stringArray(isTrusted.enabledCommands)) { + return isTrusted; + } + return false; + } + ResolvedClientOptions2.sanitizeIsTrusted = sanitizeIsTrusted; + })(ResolvedClientOptions || (ResolvedClientOptions = {})); + var DefaultErrorHandler = class { + constructor(client2, maxRestartCount) { + this.client = client2; + this.maxRestartCount = maxRestartCount; + this.restarts = []; + } + error(_error, _message, count) { + if (count && count <= 3) { + return { action: ErrorAction.Continue }; + } + return { action: ErrorAction.Shutdown }; + } + closed() { + this.restarts.push(Date.now()); + if (this.restarts.length <= this.maxRestartCount) { + return { action: CloseAction.Restart }; + } else { + let diff = this.restarts[this.restarts.length - 1] - this.restarts[0]; + if (diff <= 3 * 60 * 1e3) { + return { action: CloseAction.DoNotRestart, message: `The ${this.client.name} server crashed ${this.maxRestartCount + 1} times in the last 3 minutes. The server will not be restarted. See the output for more information.` }; + } else { + this.restarts.shift(); + return { action: CloseAction.Restart }; + } + } + } + }; + var ClientState; + (function(ClientState2) { + ClientState2["Initial"] = "initial"; + ClientState2["Starting"] = "starting"; + ClientState2["StartFailed"] = "startFailed"; + ClientState2["Running"] = "running"; + ClientState2["Stopping"] = "stopping"; + ClientState2["Stopped"] = "stopped"; + })(ClientState || (ClientState = {})); + var MessageTransports; + (function(MessageTransports2) { + function is(value) { + let candidate = value; + return candidate && vscode_languageserver_protocol_1.MessageReader.is(value.reader) && vscode_languageserver_protocol_1.MessageWriter.is(value.writer); + } + MessageTransports2.is = is; + })(MessageTransports || (exports2.MessageTransports = MessageTransports = {})); + var BaseLanguageClient = class _BaseLanguageClient { + constructor(id, name, clientOptions) { + this._traceFormat = vscode_languageserver_protocol_1.TraceFormat.Text; + this._diagnosticQueue = /* @__PURE__ */ new Map(); + this._diagnosticQueueState = { state: "idle" }; + this._features = []; + this._dynamicFeatures = /* @__PURE__ */ new Map(); + this.workspaceEditLock = new async_1.Semaphore(1); + this._id = id; + this._name = name; + clientOptions = clientOptions || {}; + const markdown = { isTrusted: false, supportHtml: false }; + if (clientOptions.markdown !== void 0) { + markdown.isTrusted = ResolvedClientOptions.sanitizeIsTrusted(clientOptions.markdown.isTrusted); + markdown.supportHtml = clientOptions.markdown.supportHtml === true; + } + this._clientOptions = { + documentSelector: clientOptions.documentSelector ?? [], + synchronize: clientOptions.synchronize ?? {}, + diagnosticCollectionName: clientOptions.diagnosticCollectionName, + outputChannelName: clientOptions.outputChannelName ?? this._name, + revealOutputChannelOn: clientOptions.revealOutputChannelOn ?? RevealOutputChannelOn.Error, + stdioEncoding: clientOptions.stdioEncoding ?? "utf8", + initializationOptions: clientOptions.initializationOptions, + initializationFailedHandler: clientOptions.initializationFailedHandler, + progressOnInitialization: !!clientOptions.progressOnInitialization, + errorHandler: clientOptions.errorHandler ?? this.createDefaultErrorHandler(clientOptions.connectionOptions?.maxRestartCount), + middleware: clientOptions.middleware ?? {}, + uriConverters: clientOptions.uriConverters, + workspaceFolder: clientOptions.workspaceFolder, + connectionOptions: clientOptions.connectionOptions, + markdown, + // suspend: { + // mode: clientOptions.suspend?.mode ?? SuspendMode.off, + // callback: clientOptions.suspend?.callback ?? (() => Promise.resolve(true)), + // interval: clientOptions.suspend?.interval ? Math.max(clientOptions.suspend.interval, defaultInterval) : defaultInterval + // }, + diagnosticPullOptions: clientOptions.diagnosticPullOptions ?? { onChange: true, onSave: false }, + notebookDocumentOptions: clientOptions.notebookDocumentOptions ?? {} + }; + this._clientOptions.synchronize = this._clientOptions.synchronize || {}; + this._state = ClientState.Initial; + this._ignoredRegistrations = /* @__PURE__ */ new Set(); + this._listeners = []; + this._notificationHandlers = /* @__PURE__ */ new Map(); + this._pendingNotificationHandlers = /* @__PURE__ */ new Map(); + this._notificationDisposables = /* @__PURE__ */ new Map(); + this._requestHandlers = /* @__PURE__ */ new Map(); + this._pendingRequestHandlers = /* @__PURE__ */ new Map(); + this._requestDisposables = /* @__PURE__ */ new Map(); + this._progressHandlers = /* @__PURE__ */ new Map(); + this._pendingProgressHandlers = /* @__PURE__ */ new Map(); + this._progressDisposables = /* @__PURE__ */ new Map(); + this._connection = void 0; + this._initializeResult = void 0; + if (clientOptions.outputChannel) { + this._outputChannel = clientOptions.outputChannel; + this._disposeOutputChannel = false; + } else { + this._outputChannel = void 0; + this._disposeOutputChannel = true; + } + this._traceOutputChannel = clientOptions.traceOutputChannel; + this._diagnostics = void 0; + this._pendingOpenNotifications = /* @__PURE__ */ new Set(); + this._pendingChangeSemaphore = new async_1.Semaphore(1); + this._pendingChangeDelayer = new async_1.Delayer(250); + this._fileEvents = []; + this._fileEventDelayer = new async_1.Delayer(250); + this._onStop = void 0; + this._telemetryEmitter = new vscode_languageserver_protocol_1.Emitter(); + this._stateChangeEmitter = new vscode_languageserver_protocol_1.Emitter(); + this._trace = vscode_languageserver_protocol_1.Trace.Off; + this._tracer = { + log: (messageOrDataObject, data) => { + if (Is.string(messageOrDataObject)) { + this.logTrace(messageOrDataObject, data); + } else { + this.logObjectTrace(messageOrDataObject); + } + } + }; + this._c2p = c2p.createConverter(clientOptions.uriConverters ? clientOptions.uriConverters.code2Protocol : void 0); + this._p2c = p2c.createConverter(clientOptions.uriConverters ? clientOptions.uriConverters.protocol2Code : void 0, this._clientOptions.markdown.isTrusted, this._clientOptions.markdown.supportHtml); + this._syncedDocuments = /* @__PURE__ */ new Map(); + this.registerBuiltinFeatures(); + } + get name() { + return this._name; + } + get middleware() { + return this._clientOptions.middleware ?? /* @__PURE__ */ Object.create(null); + } + get clientOptions() { + return this._clientOptions; + } + get protocol2CodeConverter() { + return this._p2c; + } + get code2ProtocolConverter() { + return this._c2p; + } + get onTelemetry() { + return this._telemetryEmitter.event; + } + get onDidChangeState() { + return this._stateChangeEmitter.event; + } + get outputChannel() { + if (!this._outputChannel) { + this._outputChannel = vscode_1.window.createOutputChannel(this._clientOptions.outputChannelName ? this._clientOptions.outputChannelName : this._name); + } + return this._outputChannel; + } + get traceOutputChannel() { + if (this._traceOutputChannel) { + return this._traceOutputChannel; + } + return this.outputChannel; + } + get diagnostics() { + return this._diagnostics; + } + get state() { + return this.getPublicState(); + } + get $state() { + return this._state; + } + set $state(value) { + let oldState = this.getPublicState(); + this._state = value; + let newState = this.getPublicState(); + if (newState !== oldState) { + this._stateChangeEmitter.fire({ oldState, newState }); + } + } + getPublicState() { + switch (this.$state) { + case ClientState.Starting: + return State.Starting; + case ClientState.Running: + return State.Running; + default: + return State.Stopped; + } + } + get initializeResult() { + return this._initializeResult; + } + async sendRequest(type, ...params) { + if (this.$state === ClientState.StartFailed || this.$state === ClientState.Stopping || this.$state === ClientState.Stopped) { + return Promise.reject(new vscode_languageserver_protocol_1.ResponseError(vscode_languageserver_protocol_1.ErrorCodes.ConnectionInactive, `Client is not running`)); + } + const connection = await this.$start(); + if (this._didChangeTextDocumentFeature.syncKind === vscode_languageserver_protocol_1.TextDocumentSyncKind.Full) { + await this.sendPendingFullTextDocumentChanges(connection); + } + const _sendRequest = this._clientOptions.middleware?.sendRequest; + if (_sendRequest !== void 0) { + let param = void 0; + let token = void 0; + if (params.length === 1) { + if (vscode_languageserver_protocol_1.CancellationToken.is(params[0])) { + token = params[0]; + } else { + param = params[0]; + } + } else if (params.length === 2) { + param = params[0]; + token = params[1]; + } + return _sendRequest(type, param, token, (type2, param2, token2) => { + const params2 = []; + if (param2 !== void 0) { + params2.push(param2); + } + if (token2 !== void 0) { + params2.push(token2); + } + return connection.sendRequest(type2, ...params2); + }); + } else { + return connection.sendRequest(type, ...params); + } + } + onRequest(type, handler) { + const method = typeof type === "string" ? type : type.method; + this._requestHandlers.set(method, handler); + const connection = this.activeConnection(); + let disposable; + if (connection !== void 0) { + this._requestDisposables.set(method, connection.onRequest(type, handler)); + disposable = { + dispose: () => { + const disposable2 = this._requestDisposables.get(method); + if (disposable2 !== void 0) { + disposable2.dispose(); + this._requestDisposables.delete(method); + } + } + }; + } else { + this._pendingRequestHandlers.set(method, handler); + disposable = { + dispose: () => { + this._pendingRequestHandlers.delete(method); + const disposable2 = this._requestDisposables.get(method); + if (disposable2 !== void 0) { + disposable2.dispose(); + this._requestDisposables.delete(method); + } + } + }; + } + return { + dispose: () => { + this._requestHandlers.delete(method); + disposable.dispose(); + } + }; + } + async sendNotification(type, params) { + if (this.$state === ClientState.StartFailed || this.$state === ClientState.Stopping || this.$state === ClientState.Stopped) { + return Promise.reject(new vscode_languageserver_protocol_1.ResponseError(vscode_languageserver_protocol_1.ErrorCodes.ConnectionInactive, `Client is not running`)); + } + const needsPendingFullTextDocumentSync = this._didChangeTextDocumentFeature.syncKind === vscode_languageserver_protocol_1.TextDocumentSyncKind.Full; + let openNotification; + if (needsPendingFullTextDocumentSync && typeof type !== "string" && type.method === vscode_languageserver_protocol_1.DidOpenTextDocumentNotification.method) { + openNotification = params?.textDocument.uri; + this._pendingOpenNotifications.add(openNotification); + } + const connection = await this.$start(); + if (needsPendingFullTextDocumentSync) { + await this.sendPendingFullTextDocumentChanges(connection); + } + if (openNotification !== void 0) { + this._pendingOpenNotifications.delete(openNotification); + } + const _sendNotification = this._clientOptions.middleware?.sendNotification; + return _sendNotification ? _sendNotification(type, connection.sendNotification.bind(connection), params) : connection.sendNotification(type, params); + } + onNotification(type, handler) { + const method = typeof type === "string" ? type : type.method; + this._notificationHandlers.set(method, handler); + const connection = this.activeConnection(); + let disposable; + if (connection !== void 0) { + this._notificationDisposables.set(method, connection.onNotification(type, handler)); + disposable = { + dispose: () => { + const disposable2 = this._notificationDisposables.get(method); + if (disposable2 !== void 0) { + disposable2.dispose(); + this._notificationDisposables.delete(method); + } + } + }; + } else { + this._pendingNotificationHandlers.set(method, handler); + disposable = { + dispose: () => { + this._pendingNotificationHandlers.delete(method); + const disposable2 = this._notificationDisposables.get(method); + if (disposable2 !== void 0) { + disposable2.dispose(); + this._notificationDisposables.delete(method); + } + } + }; + } + return { + dispose: () => { + this._notificationHandlers.delete(method); + disposable.dispose(); + } + }; + } + async sendProgress(type, token, value) { + if (this.$state === ClientState.StartFailed || this.$state === ClientState.Stopping || this.$state === ClientState.Stopped) { + return Promise.reject(new vscode_languageserver_protocol_1.ResponseError(vscode_languageserver_protocol_1.ErrorCodes.ConnectionInactive, `Client is not running`)); + } + try { + const connection = await this.$start(); + return connection.sendProgress(type, token, value); + } catch (error) { + this.error(`Sending progress for token ${token} failed.`, error); + throw error; + } + } + onProgress(type, token, handler) { + this._progressHandlers.set(token, { type, handler }); + const connection = this.activeConnection(); + let disposable; + const handleWorkDoneProgress = this._clientOptions.middleware?.handleWorkDoneProgress; + const realHandler = vscode_languageserver_protocol_1.WorkDoneProgress.is(type) && handleWorkDoneProgress !== void 0 ? (params) => { + handleWorkDoneProgress(token, params, () => handler(params)); + } : handler; + if (connection !== void 0) { + this._progressDisposables.set(token, connection.onProgress(type, token, realHandler)); + disposable = { + dispose: () => { + const disposable2 = this._progressDisposables.get(token); + if (disposable2 !== void 0) { + disposable2.dispose(); + this._progressDisposables.delete(token); + } + } + }; + } else { + this._pendingProgressHandlers.set(token, { type, handler }); + disposable = { + dispose: () => { + this._pendingProgressHandlers.delete(token); + const disposable2 = this._progressDisposables.get(token); + if (disposable2 !== void 0) { + disposable2.dispose(); + this._progressDisposables.delete(token); + } + } + }; + } + return { + dispose: () => { + this._progressHandlers.delete(token); + disposable.dispose(); + } + }; + } + createDefaultErrorHandler(maxRestartCount) { + if (maxRestartCount !== void 0 && maxRestartCount < 0) { + throw new Error(`Invalid maxRestartCount: ${maxRestartCount}`); + } + return new DefaultErrorHandler(this, maxRestartCount ?? 4); + } + async setTrace(value) { + this._trace = value; + const connection = this.activeConnection(); + if (connection !== void 0) { + await connection.trace(this._trace, this._tracer, { + sendNotification: false, + traceFormat: this._traceFormat + }); + } + } + data2String(data) { + if (data instanceof vscode_languageserver_protocol_1.ResponseError) { + const responseError = data; + return ` Message: ${responseError.message} + Code: ${responseError.code} ${responseError.data ? "\n" + responseError.data.toString() : ""}`; + } + if (data instanceof Error) { + if (Is.string(data.stack)) { + return data.stack; + } + return data.message; + } + if (Is.string(data)) { + return data; + } + return data.toString(); + } + debug(message, data, showNotification = true) { + this.logOutputMessage(vscode_languageserver_protocol_1.MessageType.Debug, RevealOutputChannelOn.Debug, "Debug", message, data, showNotification); + } + info(message, data, showNotification = true) { + this.logOutputMessage(vscode_languageserver_protocol_1.MessageType.Info, RevealOutputChannelOn.Info, "Info", message, data, showNotification); + } + warn(message, data, showNotification = true) { + this.logOutputMessage(vscode_languageserver_protocol_1.MessageType.Warning, RevealOutputChannelOn.Warn, "Warn", message, data, showNotification); + } + error(message, data, showNotification = true) { + this.logOutputMessage(vscode_languageserver_protocol_1.MessageType.Error, RevealOutputChannelOn.Error, "Error", message, data, showNotification); + } + logOutputMessage(type, reveal, name, message, data, showNotification) { + this.outputChannel.appendLine(`[${name.padEnd(5)} - ${(/* @__PURE__ */ new Date()).toLocaleTimeString()}] ${message}`); + if (data !== null && data !== void 0) { + this.outputChannel.appendLine(this.data2String(data)); + } + if (showNotification === "force" || showNotification && this._clientOptions.revealOutputChannelOn <= reveal) { + this.showNotificationMessage(type, message); + } + } + showNotificationMessage(type, message) { + message = message ?? "A request has failed. See the output for more information."; + const messageFunc = type === vscode_languageserver_protocol_1.MessageType.Error ? vscode_1.window.showErrorMessage : type === vscode_languageserver_protocol_1.MessageType.Warning ? vscode_1.window.showWarningMessage : vscode_1.window.showInformationMessage; + void messageFunc(message, "Go to output").then((selection) => { + if (selection !== void 0) { + this.outputChannel.show(true); + } + }); + } + logTrace(message, data) { + this.traceOutputChannel.appendLine(`[Trace - ${(/* @__PURE__ */ new Date()).toLocaleTimeString()}] ${message}`); + if (data) { + this.traceOutputChannel.appendLine(this.data2String(data)); + } + } + logObjectTrace(data) { + if (data.isLSPMessage && data.type) { + this.traceOutputChannel.append(`[LSP - ${(/* @__PURE__ */ new Date()).toLocaleTimeString()}] `); + } else { + this.traceOutputChannel.append(`[Trace - ${(/* @__PURE__ */ new Date()).toLocaleTimeString()}] `); + } + if (data) { + this.traceOutputChannel.appendLine(`${JSON.stringify(data)}`); + } + } + needsStart() { + return this.$state === ClientState.Initial || this.$state === ClientState.Stopping || this.$state === ClientState.Stopped; + } + needsStop() { + return this.$state === ClientState.Starting || this.$state === ClientState.Running; + } + activeConnection() { + return this.$state === ClientState.Running && this._connection !== void 0 ? this._connection : void 0; + } + isRunning() { + return this.$state === ClientState.Running; + } + async start() { + if (this._disposed === "disposing" || this._disposed === "disposed") { + throw new Error(`Client got disposed and can't be restarted.`); + } + if (this.$state === ClientState.Stopping) { + throw new Error(`Client is currently stopping. Can only restart a full stopped client`); + } + if (this._onStart !== void 0) { + return this._onStart; + } + const [promise, resolve, reject] = this.createOnStartPromise(); + this._onStart = promise; + if (this._diagnostics === void 0) { + this._diagnostics = this._clientOptions.diagnosticCollectionName ? vscode_1.languages.createDiagnosticCollection(this._clientOptions.diagnosticCollectionName) : vscode_1.languages.createDiagnosticCollection(); + } + for (const [method, handler] of this._notificationHandlers) { + if (!this._pendingNotificationHandlers.has(method)) { + this._pendingNotificationHandlers.set(method, handler); + } + } + for (const [method, handler] of this._requestHandlers) { + if (!this._pendingRequestHandlers.has(method)) { + this._pendingRequestHandlers.set(method, handler); + } + } + for (const [token, data] of this._progressHandlers) { + if (!this._pendingProgressHandlers.has(token)) { + this._pendingProgressHandlers.set(token, data); + } + } + this.$state = ClientState.Starting; + try { + const connection = await this.createConnection(); + connection.onNotification(vscode_languageserver_protocol_1.LogMessageNotification.type, (message) => { + switch (message.type) { + case vscode_languageserver_protocol_1.MessageType.Error: + this.error(message.message, void 0, false); + break; + case vscode_languageserver_protocol_1.MessageType.Warning: + this.warn(message.message, void 0, false); + break; + case vscode_languageserver_protocol_1.MessageType.Info: + this.info(message.message, void 0, false); + break; + case vscode_languageserver_protocol_1.MessageType.Debug: + this.debug(message.message, void 0, false); + break; + default: + this.outputChannel.appendLine(message.message); + } + }); + connection.onNotification(vscode_languageserver_protocol_1.ShowMessageNotification.type, (message) => { + switch (message.type) { + case vscode_languageserver_protocol_1.MessageType.Error: + void vscode_1.window.showErrorMessage(message.message); + break; + case vscode_languageserver_protocol_1.MessageType.Warning: + void vscode_1.window.showWarningMessage(message.message); + break; + case vscode_languageserver_protocol_1.MessageType.Info: + void vscode_1.window.showInformationMessage(message.message); + break; + default: + void vscode_1.window.showInformationMessage(message.message); + } + }); + connection.onRequest(vscode_languageserver_protocol_1.ShowMessageRequest.type, (params) => { + let messageFunc; + switch (params.type) { + case vscode_languageserver_protocol_1.MessageType.Error: + messageFunc = vscode_1.window.showErrorMessage; + break; + case vscode_languageserver_protocol_1.MessageType.Warning: + messageFunc = vscode_1.window.showWarningMessage; + break; + case vscode_languageserver_protocol_1.MessageType.Info: + messageFunc = vscode_1.window.showInformationMessage; + break; + default: + messageFunc = vscode_1.window.showInformationMessage; + } + let actions = params.actions || []; + return messageFunc(params.message, ...actions); + }); + connection.onNotification(vscode_languageserver_protocol_1.TelemetryEventNotification.type, (data) => { + this._telemetryEmitter.fire(data); + }); + connection.onRequest(vscode_languageserver_protocol_1.ShowDocumentRequest.type, async (params) => { + const showDocument = async (params2) => { + const uri = this.protocol2CodeConverter.asUri(params2.uri); + try { + if (params2.external === true) { + const success = await vscode_1.env.openExternal(uri); + return { success }; + } else { + const options = {}; + if (params2.selection !== void 0) { + options.selection = this.protocol2CodeConverter.asRange(params2.selection); + } + if (params2.takeFocus === void 0 || params2.takeFocus === false) { + options.preserveFocus = true; + } else if (params2.takeFocus === true) { + options.preserveFocus = false; + } + await vscode_1.window.showTextDocument(uri, options); + return { success: true }; + } + } catch (error) { + return { success: false }; + } + }; + const middleware = this._clientOptions.middleware.window?.showDocument; + if (middleware !== void 0) { + return middleware(params, showDocument); + } else { + return showDocument(params); + } + }); + connection.listen(); + await this.initialize(connection); + resolve(); + } catch (error) { + this.$state = ClientState.StartFailed; + this.error(`${this._name} client: couldn't create connection to server.`, error, "force"); + reject(error); + } + return this._onStart; + } + createOnStartPromise() { + let resolve; + let reject; + const promise = new Promise((_resolve, _reject) => { + resolve = _resolve; + reject = _reject; + }); + return [promise, resolve, reject]; + } + async initialize(connection) { + this.refreshTrace(connection, false); + const initOption = this._clientOptions.initializationOptions; + const [rootPath, workspaceFolders] = this._clientOptions.workspaceFolder !== void 0 ? [this._clientOptions.workspaceFolder.uri.fsPath, [{ uri: this._c2p.asUri(this._clientOptions.workspaceFolder.uri), name: this._clientOptions.workspaceFolder.name }]] : [this._clientGetRootPath(), null]; + const initParams = { + processId: null, + clientInfo: { + name: vscode_1.env.appName, + version: vscode_1.version + }, + locale: this.getLocale(), + rootPath: rootPath ? rootPath : null, + rootUri: rootPath ? this._c2p.asUri(vscode_1.Uri.file(rootPath)) : null, + capabilities: this.computeClientCapabilities(), + initializationOptions: Is.func(initOption) ? initOption() : initOption, + trace: vscode_languageserver_protocol_1.Trace.toString(this._trace), + workspaceFolders + }; + this.fillInitializeParams(initParams); + if (this._clientOptions.progressOnInitialization) { + const token = UUID.generateUuid(); + const part = new progressPart_1.ProgressPart(connection, token); + initParams.workDoneToken = token; + try { + const result = await this.doInitialize(connection, initParams); + part.done(); + return result; + } catch (error) { + part.cancel(); + throw error; + } + } else { + return this.doInitialize(connection, initParams); + } + } + async doInitialize(connection, initParams) { + try { + const result = await connection.initialize(initParams); + if (result.capabilities.positionEncoding !== void 0 && result.capabilities.positionEncoding !== vscode_languageserver_protocol_1.PositionEncodingKind.UTF16) { + throw new Error(`Unsupported position encoding (${result.capabilities.positionEncoding}) received from server ${this.name}`); + } + this._initializeResult = result; + this.$state = ClientState.Running; + let textDocumentSyncOptions = void 0; + if (Is.number(result.capabilities.textDocumentSync)) { + if (result.capabilities.textDocumentSync === vscode_languageserver_protocol_1.TextDocumentSyncKind.None) { + textDocumentSyncOptions = { + openClose: false, + change: vscode_languageserver_protocol_1.TextDocumentSyncKind.None, + save: void 0 + }; + } else { + textDocumentSyncOptions = { + openClose: true, + change: result.capabilities.textDocumentSync, + save: { + includeText: false + } + }; + } + } else if (result.capabilities.textDocumentSync !== void 0 && result.capabilities.textDocumentSync !== null) { + textDocumentSyncOptions = result.capabilities.textDocumentSync; + } + this._capabilities = Object.assign({}, result.capabilities, { resolvedTextDocumentSync: textDocumentSyncOptions }); + connection.onNotification(vscode_languageserver_protocol_1.PublishDiagnosticsNotification.type, (params) => this.handleDiagnostics(params)); + connection.onRequest(vscode_languageserver_protocol_1.RegistrationRequest.type, (params) => this.handleRegistrationRequest(params)); + connection.onRequest("client/registerFeature", (params) => this.handleRegistrationRequest(params)); + connection.onRequest(vscode_languageserver_protocol_1.UnregistrationRequest.type, (params) => this.handleUnregistrationRequest(params)); + connection.onRequest("client/unregisterFeature", (params) => this.handleUnregistrationRequest(params)); + connection.onRequest(vscode_languageserver_protocol_1.ApplyWorkspaceEditRequest.type, (params) => this.handleApplyWorkspaceEdit(params)); + for (const [method, handler] of this._pendingNotificationHandlers) { + this._notificationDisposables.set(method, connection.onNotification(method, handler)); + } + this._pendingNotificationHandlers.clear(); + for (const [method, handler] of this._pendingRequestHandlers) { + this._requestDisposables.set(method, connection.onRequest(method, handler)); + } + this._pendingRequestHandlers.clear(); + for (const [token, data] of this._pendingProgressHandlers) { + this._progressDisposables.set(token, connection.onProgress(data.type, token, data.handler)); + } + this._pendingProgressHandlers.clear(); + await connection.sendNotification(vscode_languageserver_protocol_1.InitializedNotification.type, {}); + this.hookFileEvents(connection); + this.hookConfigurationChanged(connection); + this.initializeFeatures(connection); + return result; + } catch (error) { + if (this._clientOptions.initializationFailedHandler) { + if (this._clientOptions.initializationFailedHandler(error)) { + void this.initialize(connection); + } else { + void this.stop(); + } + } else if (error instanceof vscode_languageserver_protocol_1.ResponseError && error.data && error.data.retry) { + void vscode_1.window.showErrorMessage(error.message, { title: "Retry", id: "retry" }).then((item) => { + if (item && item.id === "retry") { + void this.initialize(connection); + } else { + void this.stop(); + } + }); + } else { + if (error && error.message) { + void vscode_1.window.showErrorMessage(error.message); + } + this.error("Server initialization failed.", error); + void this.stop(); + } + throw error; + } + } + _clientGetRootPath() { + let folders = vscode_1.workspace.workspaceFolders; + if (!folders || folders.length === 0) { + return void 0; + } + let folder = folders[0]; + if (folder.uri.scheme === "file") { + return folder.uri.fsPath; + } + return void 0; + } + stop(timeout2 = 2e3) { + return this.shutdown("stop", timeout2); + } + dispose(timeout2 = 2e3) { + try { + this._disposed = "disposing"; + return this.stop(timeout2); + } finally { + this._disposed = "disposed"; + } + } + async shutdown(mode, timeout2) { + if (this.$state === ClientState.Stopped || this.$state === ClientState.Initial) { + return; + } + if (this.$state === ClientState.Stopping) { + if (this._onStop !== void 0) { + return this._onStop; + } else { + throw new Error(`Client is stopping but no stop promise available.`); + } + } + const connection = this.activeConnection(); + if (connection === void 0 || this.$state !== ClientState.Running) { + throw new Error(`Client is not running and can't be stopped. It's current state is: ${this.$state}`); + } + this._initializeResult = void 0; + this.$state = ClientState.Stopping; + this.cleanUp(mode); + const tp = new Promise((c) => { + (0, vscode_languageserver_protocol_1.RAL)().timer.setTimeout(c, timeout2); + }); + const shutdown = (async (connection2) => { + await connection2.shutdown(); + await connection2.exit(); + return connection2; + })(connection); + return this._onStop = Promise.race([tp, shutdown]).then((connection2) => { + if (connection2 !== void 0) { + connection2.end(); + connection2.dispose(); + } else { + this.error(`Stopping server timed out`, void 0, false); + throw new Error(`Stopping the server timed out`); + } + }, (error) => { + this.error(`Stopping server failed`, error, false); + throw error; + }).finally(() => { + this.$state = ClientState.Stopped; + mode === "stop" && this.cleanUpChannel(); + this._onStart = void 0; + this._onStop = void 0; + this._connection = void 0; + this._ignoredRegistrations.clear(); + }); + } + cleanUp(mode) { + this._fileEvents = []; + this._fileEventDelayer.cancel(); + const disposables = this._listeners.splice(0, this._listeners.length); + for (const disposable of disposables) { + disposable.dispose(); + } + if (this._syncedDocuments) { + this._syncedDocuments.clear(); + } + for (const feature of Array.from(this._features.entries()).map((entry) => entry[1]).reverse()) { + feature.clear(); + } + if (mode === "stop" && this._diagnostics !== void 0) { + this._diagnostics.dispose(); + this._diagnostics = void 0; + } + if (this._idleInterval !== void 0) { + this._idleInterval.dispose(); + this._idleInterval = void 0; + } + } + cleanUpChannel() { + if (this._outputChannel !== void 0 && this._disposeOutputChannel) { + this._outputChannel.dispose(); + this._outputChannel = void 0; + } + } + notifyFileEvent(event) { + const client2 = this; + async function didChangeWatchedFile(event2) { + client2._fileEvents.push(event2); + return client2._fileEventDelayer.trigger(async () => { + await client2.sendNotification(vscode_languageserver_protocol_1.DidChangeWatchedFilesNotification.type, { changes: client2._fileEvents }); + client2._fileEvents = []; + }); + } + const workSpaceMiddleware = this.clientOptions.middleware?.workspace; + (workSpaceMiddleware?.didChangeWatchedFile ? workSpaceMiddleware.didChangeWatchedFile(event, didChangeWatchedFile) : didChangeWatchedFile(event)).catch((error) => { + client2.error(`Notify file events failed.`, error); + }); + } + async sendPendingFullTextDocumentChanges(connection) { + return this._pendingChangeSemaphore.lock(async () => { + try { + const changes = this._didChangeTextDocumentFeature.getPendingDocumentChanges(this._pendingOpenNotifications); + if (changes.length === 0) { + return; + } + for (const document of changes) { + const params = this.code2ProtocolConverter.asChangeTextDocumentParams(document); + await connection.sendNotification(vscode_languageserver_protocol_1.DidChangeTextDocumentNotification.type, params); + this._didChangeTextDocumentFeature.notificationSent(document, vscode_languageserver_protocol_1.DidChangeTextDocumentNotification.type, params); + } + } catch (error) { + this.error(`Sending pending changes failed`, error, false); + throw error; + } + }); + } + triggerPendingChangeDelivery() { + this._pendingChangeDelayer.trigger(async () => { + const connection = this.activeConnection(); + if (connection === void 0) { + this.triggerPendingChangeDelivery(); + return; + } + await this.sendPendingFullTextDocumentChanges(connection); + }).catch((error) => this.error(`Delivering pending changes failed`, error, false)); + } + handleDiagnostics(params) { + if (!this._diagnostics) { + return; + } + const key = params.uri; + if (this._diagnosticQueueState.state === "busy" && this._diagnosticQueueState.document === key) { + this._diagnosticQueueState.tokenSource.cancel(); + } + this._diagnosticQueue.set(params.uri, params.diagnostics); + this.triggerDiagnosticQueue(); + } + triggerDiagnosticQueue() { + (0, vscode_languageserver_protocol_1.RAL)().timer.setImmediate(() => { + this.workDiagnosticQueue(); + }); + } + workDiagnosticQueue() { + if (this._diagnosticQueueState.state === "busy") { + return; + } + const next = this._diagnosticQueue.entries().next(); + if (next.done === true) { + return; + } + const [document, diagnostics] = next.value; + this._diagnosticQueue.delete(document); + const tokenSource = new vscode_1.CancellationTokenSource(); + this._diagnosticQueueState = { state: "busy", document, tokenSource }; + this._p2c.asDiagnostics(diagnostics, tokenSource.token).then((converted) => { + if (!tokenSource.token.isCancellationRequested) { + const uri = this._p2c.asUri(document); + const middleware = this.clientOptions.middleware; + if (middleware.handleDiagnostics) { + middleware.handleDiagnostics(uri, converted, (uri2, diagnostics2) => this.setDiagnostics(uri2, diagnostics2)); + } else { + this.setDiagnostics(uri, converted); + } + } + }).finally(() => { + this._diagnosticQueueState = { state: "idle" }; + this.triggerDiagnosticQueue(); + }); + } + setDiagnostics(uri, diagnostics) { + if (!this._diagnostics) { + return; + } + this._diagnostics.set(uri, diagnostics); + } + getLocale() { + return vscode_1.env.language; + } + async $start() { + if (this.$state === ClientState.StartFailed) { + throw new Error(`Previous start failed. Can't restart server.`); + } + await this.start(); + const connection = this.activeConnection(); + if (connection === void 0) { + throw new Error(`Starting server failed`); + } + return connection; + } + async createConnection() { + let errorHandler = (error, message, count) => { + this.handleConnectionError(error, message, count).catch((error2) => this.error(`Handling connection error failed`, error2)); + }; + let closeHandler = () => { + this.handleConnectionClosed().catch((error) => this.error(`Handling connection close failed`, error)); + }; + const transports = await this.createMessageTransports(this._clientOptions.stdioEncoding || "utf8"); + this._connection = createConnection(transports.reader, transports.writer, errorHandler, closeHandler, this._clientOptions.connectionOptions); + return this._connection; + } + async handleConnectionClosed() { + if (this.$state === ClientState.Stopped) { + return; + } + try { + if (this._connection !== void 0) { + this._connection.dispose(); + } + } catch (error) { + } + let handlerResult = { action: CloseAction.DoNotRestart }; + if (this.$state !== ClientState.Stopping) { + try { + handlerResult = await this._clientOptions.errorHandler.closed(); + } catch (error) { + } + } + this._connection = void 0; + if (handlerResult.action === CloseAction.DoNotRestart) { + this.error(handlerResult.message ?? "Connection to server got closed. Server will not be restarted.", void 0, handlerResult.handled === true ? false : "force"); + this.cleanUp("stop"); + if (this.$state === ClientState.Starting) { + this.$state = ClientState.StartFailed; + } else { + this.$state = ClientState.Stopped; + } + this._onStop = Promise.resolve(); + this._onStart = void 0; + } else if (handlerResult.action === CloseAction.Restart) { + this.info(handlerResult.message ?? "Connection to server got closed. Server will restart.", !handlerResult.handled); + this.cleanUp("restart"); + this.$state = ClientState.Initial; + this._onStop = Promise.resolve(); + this._onStart = void 0; + this.start().catch((error) => this.error(`Restarting server failed`, error, "force")); + } + } + async handleConnectionError(error, message, count) { + const handlerResult = await this._clientOptions.errorHandler.error(error, message, count); + if (handlerResult.action === ErrorAction.Shutdown) { + this.error(handlerResult.message ?? `Client ${this._name}: connection to server is erroring. +${error.message} +Shutting down server.`, void 0, handlerResult.handled === true ? false : "force"); + this.stop().catch((error2) => { + this.error(`Stopping server failed`, error2, false); + }); + } else { + this.error(handlerResult.message ?? `Client ${this._name}: connection to server is erroring. +${error.message}`, void 0, handlerResult.handled === true ? false : "force"); + } + } + hookConfigurationChanged(connection) { + this._listeners.push(vscode_1.workspace.onDidChangeConfiguration(() => { + this.refreshTrace(connection, true); + })); + } + refreshTrace(connection, sendNotification = false) { + const config = vscode_1.workspace.getConfiguration(this._id); + let trace = vscode_languageserver_protocol_1.Trace.Off; + let traceFormat = vscode_languageserver_protocol_1.TraceFormat.Text; + if (config) { + const traceConfig = config.get("trace.server", "off"); + if (typeof traceConfig === "string") { + trace = vscode_languageserver_protocol_1.Trace.fromString(traceConfig); + } else { + trace = vscode_languageserver_protocol_1.Trace.fromString(config.get("trace.server.verbosity", "off")); + traceFormat = vscode_languageserver_protocol_1.TraceFormat.fromString(config.get("trace.server.format", "text")); + } + } + this._trace = trace; + this._traceFormat = traceFormat; + connection.trace(this._trace, this._tracer, { + sendNotification, + traceFormat: this._traceFormat + }).catch((error) => { + this.error(`Updating trace failed with error`, error, false); + }); + } + hookFileEvents(_connection) { + let fileEvents = this._clientOptions.synchronize.fileEvents; + if (!fileEvents) { + return; + } + let watchers; + if (Is.array(fileEvents)) { + watchers = fileEvents; + } else { + watchers = [fileEvents]; + } + if (!watchers) { + return; + } + this._dynamicFeatures.get(vscode_languageserver_protocol_1.DidChangeWatchedFilesNotification.type.method).registerRaw(UUID.generateUuid(), watchers); + } + registerFeatures(features) { + for (let feature of features) { + this.registerFeature(feature); + } + } + registerFeature(feature) { + this._features.push(feature); + if (features_1.DynamicFeature.is(feature)) { + const registrationType = feature.registrationType; + this._dynamicFeatures.set(registrationType.method, feature); + } + } + getFeature(request) { + return this._dynamicFeatures.get(request); + } + hasDedicatedTextSynchronizationFeature(textDocument) { + const feature = this.getFeature(vscode_languageserver_protocol_1.NotebookDocumentSyncRegistrationType.method); + if (feature === void 0 || !(feature instanceof notebook_1.NotebookDocumentSyncFeature)) { + return false; + } + return feature.handles(textDocument); + } + registerBuiltinFeatures() { + const pendingFullTextDocumentChanges = /* @__PURE__ */ new Map(); + this.registerFeature(new configuration_1.ConfigurationFeature(this)); + this.registerFeature(new textSynchronization_1.DidOpenTextDocumentFeature(this, this._syncedDocuments)); + this._didChangeTextDocumentFeature = new textSynchronization_1.DidChangeTextDocumentFeature(this, pendingFullTextDocumentChanges); + this._didChangeTextDocumentFeature.onPendingChangeAdded(() => { + this.triggerPendingChangeDelivery(); + }); + this.registerFeature(this._didChangeTextDocumentFeature); + this.registerFeature(new textSynchronization_1.WillSaveFeature(this)); + this.registerFeature(new textSynchronization_1.WillSaveWaitUntilFeature(this)); + this.registerFeature(new textSynchronization_1.DidSaveTextDocumentFeature(this)); + this.registerFeature(new textSynchronization_1.DidCloseTextDocumentFeature(this, this._syncedDocuments, pendingFullTextDocumentChanges)); + this.registerFeature(new fileSystemWatcher_1.FileSystemWatcherFeature(this, (event) => this.notifyFileEvent(event))); + this.registerFeature(new completion_1.CompletionItemFeature(this)); + this.registerFeature(new hover_1.HoverFeature(this)); + this.registerFeature(new signatureHelp_1.SignatureHelpFeature(this)); + this.registerFeature(new definition_1.DefinitionFeature(this)); + this.registerFeature(new reference_1.ReferencesFeature(this)); + this.registerFeature(new documentHighlight_1.DocumentHighlightFeature(this)); + this.registerFeature(new documentSymbol_1.DocumentSymbolFeature(this)); + this.registerFeature(new workspaceSymbol_1.WorkspaceSymbolFeature(this)); + this.registerFeature(new codeAction_1.CodeActionFeature(this)); + this.registerFeature(new codeLens_1.CodeLensFeature(this)); + this.registerFeature(new formatting_1.DocumentFormattingFeature(this)); + this.registerFeature(new formatting_1.DocumentRangeFormattingFeature(this)); + this.registerFeature(new formatting_1.DocumentOnTypeFormattingFeature(this)); + this.registerFeature(new rename_1.RenameFeature(this)); + this.registerFeature(new documentLink_1.DocumentLinkFeature(this)); + this.registerFeature(new executeCommand_1.ExecuteCommandFeature(this)); + this.registerFeature(new configuration_1.SyncConfigurationFeature(this)); + this.registerFeature(new typeDefinition_1.TypeDefinitionFeature(this)); + this.registerFeature(new implementation_1.ImplementationFeature(this)); + this.registerFeature(new colorProvider_1.ColorProviderFeature(this)); + if (this.clientOptions.workspaceFolder === void 0) { + this.registerFeature(new workspaceFolder_1.WorkspaceFoldersFeature(this)); + } + this.registerFeature(new foldingRange_1.FoldingRangeFeature(this)); + this.registerFeature(new declaration_1.DeclarationFeature(this)); + this.registerFeature(new selectionRange_1.SelectionRangeFeature(this)); + this.registerFeature(new progress_1.ProgressFeature(this)); + this.registerFeature(new callHierarchy_1.CallHierarchyFeature(this)); + this.registerFeature(new semanticTokens_1.SemanticTokensFeature(this)); + this.registerFeature(new linkedEditingRange_1.LinkedEditingFeature(this)); + this.registerFeature(new fileOperations_1.DidCreateFilesFeature(this)); + this.registerFeature(new fileOperations_1.DidRenameFilesFeature(this)); + this.registerFeature(new fileOperations_1.DidDeleteFilesFeature(this)); + this.registerFeature(new fileOperations_1.WillCreateFilesFeature(this)); + this.registerFeature(new fileOperations_1.WillRenameFilesFeature(this)); + this.registerFeature(new fileOperations_1.WillDeleteFilesFeature(this)); + this.registerFeature(new typeHierarchy_1.TypeHierarchyFeature(this)); + this.registerFeature(new inlineValue_1.InlineValueFeature(this)); + this.registerFeature(new inlayHint_1.InlayHintsFeature(this)); + this.registerFeature(new diagnostic_1.DiagnosticFeature(this)); + this.registerFeature(new notebook_1.NotebookDocumentSyncFeature(this)); + } + registerProposedFeatures() { + this.registerFeatures(ProposedFeatures.createAll(this)); + } + fillInitializeParams(params) { + for (let feature of this._features) { + if (Is.func(feature.fillInitializeParams)) { + feature.fillInitializeParams(params); + } + } + } + computeClientCapabilities() { + const result = {}; + (0, features_1.ensure)(result, "workspace").applyEdit = true; + const workspaceEdit = (0, features_1.ensure)((0, features_1.ensure)(result, "workspace"), "workspaceEdit"); + workspaceEdit.documentChanges = true; + workspaceEdit.resourceOperations = [vscode_languageserver_protocol_1.ResourceOperationKind.Create, vscode_languageserver_protocol_1.ResourceOperationKind.Rename, vscode_languageserver_protocol_1.ResourceOperationKind.Delete]; + workspaceEdit.failureHandling = vscode_languageserver_protocol_1.FailureHandlingKind.TextOnlyTransactional; + workspaceEdit.normalizesLineEndings = true; + workspaceEdit.changeAnnotationSupport = { + groupsOnLabel: true + }; + const diagnostics = (0, features_1.ensure)((0, features_1.ensure)(result, "textDocument"), "publishDiagnostics"); + diagnostics.relatedInformation = true; + diagnostics.versionSupport = false; + diagnostics.tagSupport = { valueSet: [vscode_languageserver_protocol_1.DiagnosticTag.Unnecessary, vscode_languageserver_protocol_1.DiagnosticTag.Deprecated] }; + diagnostics.codeDescriptionSupport = true; + diagnostics.dataSupport = true; + const windowCapabilities = (0, features_1.ensure)(result, "window"); + const showMessage = (0, features_1.ensure)(windowCapabilities, "showMessage"); + showMessage.messageActionItem = { additionalPropertiesSupport: true }; + const showDocument = (0, features_1.ensure)(windowCapabilities, "showDocument"); + showDocument.support = true; + const generalCapabilities = (0, features_1.ensure)(result, "general"); + generalCapabilities.staleRequestSupport = { + cancel: true, + retryOnContentModified: Array.from(_BaseLanguageClient.RequestsToCancelOnContentModified) + }; + generalCapabilities.regularExpressions = { engine: "ECMAScript", version: "ES2020" }; + generalCapabilities.markdown = { + parser: "marked", + version: "1.1.0" + }; + generalCapabilities.positionEncodings = ["utf-16"]; + if (this._clientOptions.markdown.supportHtml) { + generalCapabilities.markdown.allowedTags = ["ul", "li", "p", "code", "blockquote", "ol", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "em", "pre", "table", "thead", "tbody", "tr", "th", "td", "div", "del", "a", "strong", "br", "img", "span"]; + } + for (let feature of this._features) { + feature.fillClientCapabilities(result); + } + return result; + } + initializeFeatures(_connection) { + const documentSelector = this._clientOptions.documentSelector; + for (const feature of this._features) { + if (Is.func(feature.preInitialize)) { + feature.preInitialize(this._capabilities, documentSelector); + } + } + for (const feature of this._features) { + feature.initialize(this._capabilities, documentSelector); + } + } + async handleRegistrationRequest(params) { + const middleware = this.clientOptions.middleware?.handleRegisterCapability; + if (middleware) { + return middleware(params, (nextParams) => this.doRegisterCapability(nextParams)); + } else { + return this.doRegisterCapability(params); + } + } + async doRegisterCapability(params) { + if (!this.isRunning()) { + for (const registration of params.registrations) { + this._ignoredRegistrations.add(registration.id); + } + return; + } + for (const registration of params.registrations) { + const feature = this._dynamicFeatures.get(registration.method); + if (feature === void 0) { + return Promise.reject(new Error(`No feature implementation for ${registration.method} found. Registration failed.`)); + } + const options = registration.registerOptions ?? {}; + options.documentSelector = options.documentSelector ?? this._clientOptions.documentSelector; + const data = { + id: registration.id, + registerOptions: options + }; + try { + feature.register(data); + } catch (err) { + return Promise.reject(err); + } + } + } + async handleUnregistrationRequest(params) { + const middleware = this.clientOptions.middleware?.handleUnregisterCapability; + if (middleware) { + return middleware(params, (nextParams) => this.doUnregisterCapability(nextParams)); + } else { + return this.doUnregisterCapability(params); + } + } + async doUnregisterCapability(params) { + for (const unregistration of params.unregisterations) { + if (this._ignoredRegistrations.has(unregistration.id)) { + continue; + } + const feature = this._dynamicFeatures.get(unregistration.method); + if (!feature) { + return Promise.reject(new Error(`No feature implementation for ${unregistration.method} found. Unregistration failed.`)); + } + feature.unregister(unregistration.id); + } + } + async handleApplyWorkspaceEdit(params) { + const workspaceEdit = params.edit; + const converted = await this.workspaceEditLock.lock(() => { + return this._p2c.asWorkspaceEdit(workspaceEdit); + }); + const openTextDocuments = /* @__PURE__ */ new Map(); + vscode_1.workspace.textDocuments.forEach((document) => openTextDocuments.set(document.uri.toString(), document)); + let versionMismatch = false; + if (workspaceEdit.documentChanges) { + for (const change of workspaceEdit.documentChanges) { + if (vscode_languageserver_protocol_1.TextDocumentEdit.is(change) && change.textDocument.version && change.textDocument.version >= 0) { + const changeUri = this._p2c.asUri(change.textDocument.uri).toString(); + const textDocument = openTextDocuments.get(changeUri); + if (textDocument && textDocument.version !== change.textDocument.version) { + versionMismatch = true; + break; + } + } + } + } + if (versionMismatch) { + return Promise.resolve({ applied: false }); + } + return Is.asPromise(vscode_1.workspace.applyEdit(converted).then((value) => { + return { applied: value }; + })); + } + handleFailedRequest(type, token, error, defaultValue, showNotification = true) { + if (error instanceof vscode_languageserver_protocol_1.ResponseError) { + if (error.code === vscode_languageserver_protocol_1.ErrorCodes.PendingResponseRejected || error.code === vscode_languageserver_protocol_1.ErrorCodes.ConnectionInactive) { + return defaultValue; + } + if (error.code === vscode_languageserver_protocol_1.LSPErrorCodes.RequestCancelled || error.code === vscode_languageserver_protocol_1.LSPErrorCodes.ServerCancelled) { + if (token !== void 0 && token.isCancellationRequested) { + return defaultValue; + } else { + if (error.data !== void 0) { + throw new features_1.LSPCancellationError(error.data); + } else { + throw new vscode_1.CancellationError(); + } + } + } else if (error.code === vscode_languageserver_protocol_1.LSPErrorCodes.ContentModified) { + if (_BaseLanguageClient.RequestsToCancelOnContentModified.has(type.method) || _BaseLanguageClient.CancellableResolveCalls.has(type.method)) { + throw new vscode_1.CancellationError(); + } else { + return defaultValue; + } + } + } + this.error(`Request ${type.method} failed.`, error, showNotification); + throw error; + } + }; + exports2.BaseLanguageClient = BaseLanguageClient; + BaseLanguageClient.RequestsToCancelOnContentModified = /* @__PURE__ */ new Set([ + vscode_languageserver_protocol_1.SemanticTokensRequest.method, + vscode_languageserver_protocol_1.SemanticTokensRangeRequest.method, + vscode_languageserver_protocol_1.SemanticTokensDeltaRequest.method + ]); + BaseLanguageClient.CancellableResolveCalls = /* @__PURE__ */ new Set([ + vscode_languageserver_protocol_1.CompletionResolveRequest.method, + vscode_languageserver_protocol_1.CodeLensResolveRequest.method, + vscode_languageserver_protocol_1.CodeActionResolveRequest.method, + vscode_languageserver_protocol_1.InlayHintResolveRequest.method, + vscode_languageserver_protocol_1.DocumentLinkResolveRequest.method, + vscode_languageserver_protocol_1.WorkspaceSymbolResolveRequest.method + ]); + var ConsoleLogger = class { + error(message) { + (0, vscode_languageserver_protocol_1.RAL)().console.error(message); + } + warn(message) { + (0, vscode_languageserver_protocol_1.RAL)().console.warn(message); + } + info(message) { + (0, vscode_languageserver_protocol_1.RAL)().console.info(message); + } + log(message) { + (0, vscode_languageserver_protocol_1.RAL)().console.log(message); + } + }; + function createConnection(input, output, errorHandler, closeHandler, options) { + const logger = new ConsoleLogger(); + const connection = (0, vscode_languageserver_protocol_1.createProtocolConnection)(input, output, logger, options); + connection.onError((data) => { + errorHandler(data[0], data[1], data[2]); + }); + connection.onClose(closeHandler); + const result = { + listen: () => connection.listen(), + sendRequest: connection.sendRequest, + onRequest: connection.onRequest, + hasPendingResponse: connection.hasPendingResponse, + sendNotification: connection.sendNotification, + onNotification: connection.onNotification, + onProgress: connection.onProgress, + sendProgress: connection.sendProgress, + trace: (value, tracer, sendNotificationOrTraceOptions) => { + const defaultTraceOptions = { + sendNotification: false, + traceFormat: vscode_languageserver_protocol_1.TraceFormat.Text + }; + if (sendNotificationOrTraceOptions === void 0) { + return connection.trace(value, tracer, defaultTraceOptions); + } else if (Is.boolean(sendNotificationOrTraceOptions)) { + return connection.trace(value, tracer, sendNotificationOrTraceOptions); + } else { + return connection.trace(value, tracer, sendNotificationOrTraceOptions); + } + }, + initialize: (params) => { + return connection.sendRequest(vscode_languageserver_protocol_1.InitializeRequest.type, params); + }, + shutdown: () => { + return connection.sendRequest(vscode_languageserver_protocol_1.ShutdownRequest.type, void 0); + }, + exit: () => { + return connection.sendNotification(vscode_languageserver_protocol_1.ExitNotification.type); + }, + end: () => connection.end(), + dispose: () => connection.dispose() + }; + return result; + } + var ProposedFeatures; + (function(ProposedFeatures2) { + function createAll(_client) { + let result = [ + new inlineCompletion_1.InlineCompletionItemFeature(_client) + ]; + return result; + } + ProposedFeatures2.createAll = createAll; + })(ProposedFeatures || (exports2.ProposedFeatures = ProposedFeatures = {})); + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/node/processes.js +var require_processes = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/node/processes.js"(exports2) { + "use strict"; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.terminate = void 0; + var cp = require("child_process"); + var path_1 = require("path"); + var isWindows = process.platform === "win32"; + var isMacintosh = process.platform === "darwin"; + var isLinux = process.platform === "linux"; + function terminate(process2, cwd) { + if (isWindows) { + try { + let options = { + stdio: ["pipe", "pipe", "ignore"] + }; + if (cwd) { + options.cwd = cwd; + } + cp.execFileSync("taskkill", ["/T", "/F", "/PID", process2.pid.toString()], options); + return true; + } catch (err) { + return false; + } + } else if (isLinux || isMacintosh) { + try { + var cmd = (0, path_1.join)(__dirname, "terminateProcess.sh"); + var result = cp.spawnSync(cmd, [process2.pid.toString()]); + return result.error ? false : true; + } catch (err) { + return false; + } + } else { + process2.kill("SIGKILL"); + return true; + } + } + exports2.terminate = terminate; + } +}); + +// node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/node.js +var require_node2 = __commonJS({ + "node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/node.js"(exports2, module2) { + "use strict"; + module2.exports = require_main3(); + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js +var require_debug = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"(exports2, module2) { + var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => { + }; + module2.exports = debug; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js +var require_constants = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"(exports2, module2) { + var SEMVER_SPEC_VERSION = "2.0.0"; + var MAX_LENGTH = 256; + var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ + 9007199254740991; + var MAX_SAFE_COMPONENT_LENGTH = 16; + var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6; + var RELEASE_TYPES = [ + "major", + "premajor", + "minor", + "preminor", + "patch", + "prepatch", + "prerelease" + ]; + module2.exports = { + MAX_LENGTH, + MAX_SAFE_COMPONENT_LENGTH, + MAX_SAFE_BUILD_LENGTH, + MAX_SAFE_INTEGER, + RELEASE_TYPES, + SEMVER_SPEC_VERSION, + FLAG_INCLUDE_PRERELEASE: 1, + FLAG_LOOSE: 2 + }; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js +var require_re = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"(exports2, module2) { + var { + MAX_SAFE_COMPONENT_LENGTH, + MAX_SAFE_BUILD_LENGTH, + MAX_LENGTH + } = require_constants(); + var debug = require_debug(); + exports2 = module2.exports = {}; + var re = exports2.re = []; + var safeRe = exports2.safeRe = []; + var src = exports2.src = []; + var t = exports2.t = {}; + var R = 0; + var LETTERDASHNUMBER = "[a-zA-Z0-9-]"; + var safeRegexReplacements = [ + ["\\s", 1], + ["\\d", MAX_LENGTH], + [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH] + ]; + var makeSafeRegex = (value) => { + for (const [token, max] of safeRegexReplacements) { + value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`); + } + return value; + }; + var createToken = (name, value, isGlobal) => { + const safe = makeSafeRegex(value); + const index = R++; + debug(name, index, value); + t[name] = index; + src[index] = value; + re[index] = new RegExp(value, isGlobal ? "g" : void 0); + safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0); + }; + createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*"); + createToken("NUMERICIDENTIFIERLOOSE", "\\d+"); + createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`); + createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`); + createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`); + createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`); + createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`); + createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`); + createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`); + createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`); + createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`); + createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`); + createToken("FULL", `^${src[t.FULLPLAIN]}$`); + createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`); + createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`); + createToken("GTLT", "((?:<|>)?=?)"); + createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`); + createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`); + createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`); + createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`); + createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`); + createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`); + createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`); + createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`); + createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`); + createToken("COERCERTL", src[t.COERCE], true); + createToken("COERCERTLFULL", src[t.COERCEFULL], true); + createToken("LONETILDE", "(?:~>?)"); + createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true); + exports2.tildeTrimReplace = "$1~"; + createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`); + createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`); + createToken("LONECARET", "(?:\\^)"); + createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true); + exports2.caretTrimReplace = "$1^"; + createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`); + createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`); + createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`); + createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`); + createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true); + exports2.comparatorTrimReplace = "$1$2$3"; + createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`); + createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`); + createToken("STAR", "(<|>)?=?\\s*\\*"); + createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"); + createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$"); + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js +var require_parse_options = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"(exports2, module2) { + var looseOption = Object.freeze({ loose: true }); + var emptyOpts = Object.freeze({}); + var parseOptions = (options) => { + if (!options) { + return emptyOpts; + } + if (typeof options !== "object") { + return looseOption; + } + return options; + }; + module2.exports = parseOptions; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js +var require_identifiers = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"(exports2, module2) { + var numeric = /^[0-9]+$/; + var compareIdentifiers = (a, b) => { + const anum = numeric.test(a); + const bnum = numeric.test(b); + if (anum && bnum) { + a = +a; + b = +b; + } + return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1; + }; + var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a); + module2.exports = { + compareIdentifiers, + rcompareIdentifiers + }; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js +var require_semver = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"(exports2, module2) { + var debug = require_debug(); + var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants(); + var { safeRe: re, t } = require_re(); + var parseOptions = require_parse_options(); + var { compareIdentifiers } = require_identifiers(); + var SemVer = class _SemVer { + constructor(version, options) { + options = parseOptions(options); + if (version instanceof _SemVer) { + if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) { + return version; + } else { + version = version.version; + } + } else if (typeof version !== "string") { + throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`); + } + if (version.length > MAX_LENGTH) { + throw new TypeError( + `version is longer than ${MAX_LENGTH} characters` + ); + } + debug("SemVer", version, options); + this.options = options; + this.loose = !!options.loose; + this.includePrerelease = !!options.includePrerelease; + const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]); + if (!m) { + throw new TypeError(`Invalid Version: ${version}`); + } + this.raw = version; + this.major = +m[1]; + this.minor = +m[2]; + this.patch = +m[3]; + if (this.major > MAX_SAFE_INTEGER || this.major < 0) { + throw new TypeError("Invalid major version"); + } + if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { + throw new TypeError("Invalid minor version"); + } + if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { + throw new TypeError("Invalid patch version"); + } + if (!m[4]) { + this.prerelease = []; + } else { + this.prerelease = m[4].split(".").map((id) => { + if (/^[0-9]+$/.test(id)) { + const num = +id; + if (num >= 0 && num < MAX_SAFE_INTEGER) { + return num; + } + } + return id; + }); + } + this.build = m[5] ? m[5].split(".") : []; + this.format(); + } + format() { + this.version = `${this.major}.${this.minor}.${this.patch}`; + if (this.prerelease.length) { + this.version += `-${this.prerelease.join(".")}`; + } + return this.version; + } + toString() { + return this.version; + } + compare(other) { + debug("SemVer.compare", this.version, this.options, other); + if (!(other instanceof _SemVer)) { + if (typeof other === "string" && other === this.version) { + return 0; + } + other = new _SemVer(other, this.options); + } + if (other.version === this.version) { + return 0; + } + return this.compareMain(other) || this.comparePre(other); + } + compareMain(other) { + if (!(other instanceof _SemVer)) { + other = new _SemVer(other, this.options); + } + return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch); + } + comparePre(other) { + if (!(other instanceof _SemVer)) { + other = new _SemVer(other, this.options); + } + if (this.prerelease.length && !other.prerelease.length) { + return -1; + } else if (!this.prerelease.length && other.prerelease.length) { + return 1; + } else if (!this.prerelease.length && !other.prerelease.length) { + return 0; + } + let i = 0; + do { + const a = this.prerelease[i]; + const b = other.prerelease[i]; + debug("prerelease compare", i, a, b); + if (a === void 0 && b === void 0) { + return 0; + } else if (b === void 0) { + return 1; + } else if (a === void 0) { + return -1; + } else if (a === b) { + continue; + } else { + return compareIdentifiers(a, b); + } + } while (++i); + } + compareBuild(other) { + if (!(other instanceof _SemVer)) { + other = new _SemVer(other, this.options); + } + let i = 0; + do { + const a = this.build[i]; + const b = other.build[i]; + debug("build compare", i, a, b); + if (a === void 0 && b === void 0) { + return 0; + } else if (b === void 0) { + return 1; + } else if (a === void 0) { + return -1; + } else if (a === b) { + continue; + } else { + return compareIdentifiers(a, b); + } + } while (++i); + } + // preminor will bump the version up to the next minor release, and immediately + // down to pre-release. premajor and prepatch work the same way. + inc(release, identifier, identifierBase) { + switch (release) { + case "premajor": + this.prerelease.length = 0; + this.patch = 0; + this.minor = 0; + this.major++; + this.inc("pre", identifier, identifierBase); + break; + case "preminor": + this.prerelease.length = 0; + this.patch = 0; + this.minor++; + this.inc("pre", identifier, identifierBase); + break; + case "prepatch": + this.prerelease.length = 0; + this.inc("patch", identifier, identifierBase); + this.inc("pre", identifier, identifierBase); + break; + case "prerelease": + if (this.prerelease.length === 0) { + this.inc("patch", identifier, identifierBase); + } + this.inc("pre", identifier, identifierBase); + break; + case "major": + if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) { + this.major++; + } + this.minor = 0; + this.patch = 0; + this.prerelease = []; + break; + case "minor": + if (this.patch !== 0 || this.prerelease.length === 0) { + this.minor++; + } + this.patch = 0; + this.prerelease = []; + break; + case "patch": + if (this.prerelease.length === 0) { + this.patch++; + } + this.prerelease = []; + break; + case "pre": { + const base = Number(identifierBase) ? 1 : 0; + if (!identifier && identifierBase === false) { + throw new Error("invalid increment argument: identifier is empty"); + } + if (this.prerelease.length === 0) { + this.prerelease = [base]; + } else { + let i = this.prerelease.length; + while (--i >= 0) { + if (typeof this.prerelease[i] === "number") { + this.prerelease[i]++; + i = -2; + } + } + if (i === -1) { + if (identifier === this.prerelease.join(".") && identifierBase === false) { + throw new Error("invalid increment argument: identifier already exists"); + } + this.prerelease.push(base); + } + } + if (identifier) { + let prerelease = [identifier, base]; + if (identifierBase === false) { + prerelease = [identifier]; + } + if (compareIdentifiers(this.prerelease[0], identifier) === 0) { + if (isNaN(this.prerelease[1])) { + this.prerelease = prerelease; + } + } else { + this.prerelease = prerelease; + } + } + break; + } + default: + throw new Error(`invalid increment argument: ${release}`); + } + this.raw = this.format(); + if (this.build.length) { + this.raw += `+${this.build.join(".")}`; + } + return this; + } + }; + module2.exports = SemVer; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js +var require_parse = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"(exports2, module2) { + var SemVer = require_semver(); + var parse = (version, options, throwErrors = false) => { + if (version instanceof SemVer) { + return version; + } + try { + return new SemVer(version, options); + } catch (er) { + if (!throwErrors) { + return null; + } + throw er; + } + }; + module2.exports = parse; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js +var require_lrucache = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js"(exports2, module2) { + var LRUCache = class { + constructor() { + this.max = 1e3; + this.map = /* @__PURE__ */ new Map(); + } + get(key) { + const value = this.map.get(key); + if (value === void 0) { + return void 0; + } else { + this.map.delete(key); + this.map.set(key, value); + return value; + } + } + delete(key) { + return this.map.delete(key); + } + set(key, value) { + const deleted = this.delete(key); + if (!deleted && value !== void 0) { + if (this.map.size >= this.max) { + const firstKey = this.map.keys().next().value; + this.delete(firstKey); + } + this.map.set(key, value); + } + return this; + } + }; + module2.exports = LRUCache; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js +var require_compare = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"(exports2, module2) { + var SemVer = require_semver(); + var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose)); + module2.exports = compare; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js +var require_eq = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"(exports2, module2) { + var compare = require_compare(); + var eq = (a, b, loose) => compare(a, b, loose) === 0; + module2.exports = eq; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js +var require_neq = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"(exports2, module2) { + var compare = require_compare(); + var neq = (a, b, loose) => compare(a, b, loose) !== 0; + module2.exports = neq; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js +var require_gt = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"(exports2, module2) { + var compare = require_compare(); + var gt = (a, b, loose) => compare(a, b, loose) > 0; + module2.exports = gt; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js +var require_gte = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"(exports2, module2) { + var compare = require_compare(); + var gte = (a, b, loose) => compare(a, b, loose) >= 0; + module2.exports = gte; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js +var require_lt = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"(exports2, module2) { + var compare = require_compare(); + var lt = (a, b, loose) => compare(a, b, loose) < 0; + module2.exports = lt; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js +var require_lte = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"(exports2, module2) { + var compare = require_compare(); + var lte = (a, b, loose) => compare(a, b, loose) <= 0; + module2.exports = lte; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js +var require_cmp = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"(exports2, module2) { + var eq = require_eq(); + var neq = require_neq(); + var gt = require_gt(); + var gte = require_gte(); + var lt = require_lt(); + var lte = require_lte(); + var cmp = (a, op, b, loose) => { + switch (op) { + case "===": + if (typeof a === "object") { + a = a.version; + } + if (typeof b === "object") { + b = b.version; + } + return a === b; + case "!==": + if (typeof a === "object") { + a = a.version; + } + if (typeof b === "object") { + b = b.version; + } + return a !== b; + case "": + case "=": + case "==": + return eq(a, b, loose); + case "!=": + return neq(a, b, loose); + case ">": + return gt(a, b, loose); + case ">=": + return gte(a, b, loose); + case "<": + return lt(a, b, loose); + case "<=": + return lte(a, b, loose); + default: + throw new TypeError(`Invalid operator: ${op}`); + } + }; + module2.exports = cmp; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js +var require_comparator = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"(exports2, module2) { + var ANY = Symbol("SemVer ANY"); + var Comparator = class _Comparator { + static get ANY() { + return ANY; + } + constructor(comp, options) { + options = parseOptions(options); + if (comp instanceof _Comparator) { + if (comp.loose === !!options.loose) { + return comp; + } else { + comp = comp.value; + } + } + comp = comp.trim().split(/\s+/).join(" "); + debug("comparator", comp, options); + this.options = options; + this.loose = !!options.loose; + this.parse(comp); + if (this.semver === ANY) { + this.value = ""; + } else { + this.value = this.operator + this.semver.version; + } + debug("comp", this); + } + parse(comp) { + const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]; + const m = comp.match(r); + if (!m) { + throw new TypeError(`Invalid comparator: ${comp}`); + } + this.operator = m[1] !== void 0 ? m[1] : ""; + if (this.operator === "=") { + this.operator = ""; + } + if (!m[2]) { + this.semver = ANY; + } else { + this.semver = new SemVer(m[2], this.options.loose); + } + } + toString() { + return this.value; + } + test(version) { + debug("Comparator.test", version, this.options.loose); + if (this.semver === ANY || version === ANY) { + return true; + } + if (typeof version === "string") { + try { + version = new SemVer(version, this.options); + } catch (er) { + return false; + } + } + return cmp(version, this.operator, this.semver, this.options); + } + intersects(comp, options) { + if (!(comp instanceof _Comparator)) { + throw new TypeError("a Comparator is required"); + } + if (this.operator === "") { + if (this.value === "") { + return true; + } + return new Range(comp.value, options).test(this.value); + } else if (comp.operator === "") { + if (comp.value === "") { + return true; + } + return new Range(this.value, options).test(comp.semver); + } + options = parseOptions(options); + if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) { + return false; + } + if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) { + return false; + } + if (this.operator.startsWith(">") && comp.operator.startsWith(">")) { + return true; + } + if (this.operator.startsWith("<") && comp.operator.startsWith("<")) { + return true; + } + if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) { + return true; + } + if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) { + return true; + } + if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) { + return true; + } + return false; + } + }; + module2.exports = Comparator; + var parseOptions = require_parse_options(); + var { safeRe: re, t } = require_re(); + var cmp = require_cmp(); + var debug = require_debug(); + var SemVer = require_semver(); + var Range = require_range(); + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js +var require_range = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"(exports2, module2) { + var SPACE_CHARACTERS = /\s+/g; + var Range = class _Range { + constructor(range, options) { + options = parseOptions(options); + if (range instanceof _Range) { + if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) { + return range; + } else { + return new _Range(range.raw, options); + } + } + if (range instanceof Comparator) { + this.raw = range.value; + this.set = [[range]]; + this.formatted = void 0; + return this; + } + this.options = options; + this.loose = !!options.loose; + this.includePrerelease = !!options.includePrerelease; + this.raw = range.trim().replace(SPACE_CHARACTERS, " "); + this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length); + if (!this.set.length) { + throw new TypeError(`Invalid SemVer Range: ${this.raw}`); + } + if (this.set.length > 1) { + const first = this.set[0]; + this.set = this.set.filter((c) => !isNullSet(c[0])); + if (this.set.length === 0) { + this.set = [first]; + } else if (this.set.length > 1) { + for (const c of this.set) { + if (c.length === 1 && isAny(c[0])) { + this.set = [c]; + break; + } + } + } + } + this.formatted = void 0; + } + get range() { + if (this.formatted === void 0) { + this.formatted = ""; + for (let i = 0; i < this.set.length; i++) { + if (i > 0) { + this.formatted += "||"; + } + const comps = this.set[i]; + for (let k = 0; k < comps.length; k++) { + if (k > 0) { + this.formatted += " "; + } + this.formatted += comps[k].toString().trim(); + } + } + } + return this.formatted; + } + format() { + return this.range; + } + toString() { + return this.range; + } + parseRange(range) { + const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE); + const memoKey = memoOpts + ":" + range; + const cached = cache.get(memoKey); + if (cached) { + return cached; + } + const loose = this.options.loose; + const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]; + range = range.replace(hr, hyphenReplace(this.options.includePrerelease)); + debug("hyphen replace", range); + range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace); + debug("comparator trim", range); + range = range.replace(re[t.TILDETRIM], tildeTrimReplace); + debug("tilde trim", range); + range = range.replace(re[t.CARETTRIM], caretTrimReplace); + debug("caret trim", range); + let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options)); + if (loose) { + rangeList = rangeList.filter((comp) => { + debug("loose invalid filter", comp, this.options); + return !!comp.match(re[t.COMPARATORLOOSE]); + }); + } + debug("range list", rangeList); + const rangeMap = /* @__PURE__ */ new Map(); + const comparators = rangeList.map((comp) => new Comparator(comp, this.options)); + for (const comp of comparators) { + if (isNullSet(comp)) { + return [comp]; + } + rangeMap.set(comp.value, comp); + } + if (rangeMap.size > 1 && rangeMap.has("")) { + rangeMap.delete(""); + } + const result = [...rangeMap.values()]; + cache.set(memoKey, result); + return result; + } + intersects(range, options) { + if (!(range instanceof _Range)) { + throw new TypeError("a Range is required"); + } + return this.set.some((thisComparators) => { + return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => { + return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => { + return rangeComparators.every((rangeComparator) => { + return thisComparator.intersects(rangeComparator, options); + }); + }); + }); + }); + } + // if ANY of the sets match ALL of its comparators, then pass + test(version) { + if (!version) { + return false; + } + if (typeof version === "string") { + try { + version = new SemVer(version, this.options); + } catch (er) { + return false; + } + } + for (let i = 0; i < this.set.length; i++) { + if (testSet(this.set[i], version, this.options)) { + return true; + } + } + return false; + } + }; + module2.exports = Range; + var LRU = require_lrucache(); + var cache = new LRU(); + var parseOptions = require_parse_options(); + var Comparator = require_comparator(); + var debug = require_debug(); + var SemVer = require_semver(); + var { + safeRe: re, + t, + comparatorTrimReplace, + tildeTrimReplace, + caretTrimReplace + } = require_re(); + var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants(); + var isNullSet = (c) => c.value === "<0.0.0-0"; + var isAny = (c) => c.value === ""; + var isSatisfiable = (comparators, options) => { + let result = true; + const remainingComparators = comparators.slice(); + let testComparator = remainingComparators.pop(); + while (result && remainingComparators.length) { + result = remainingComparators.every((otherComparator) => { + return testComparator.intersects(otherComparator, options); + }); + testComparator = remainingComparators.pop(); + } + return result; + }; + var parseComparator = (comp, options) => { + debug("comp", comp, options); + comp = replaceCarets(comp, options); + debug("caret", comp); + comp = replaceTildes(comp, options); + debug("tildes", comp); + comp = replaceXRanges(comp, options); + debug("xrange", comp); + comp = replaceStars(comp, options); + debug("stars", comp); + return comp; + }; + var isX = (id) => !id || id.toLowerCase() === "x" || id === "*"; + var replaceTildes = (comp, options) => { + return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" "); + }; + var replaceTilde = (comp, options) => { + const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]; + return comp.replace(r, (_, M, m, p, pr) => { + debug("tilde", comp, _, M, m, p, pr); + let ret; + if (isX(M)) { + ret = ""; + } else if (isX(m)) { + ret = `>=${M}.0.0 <${+M + 1}.0.0-0`; + } else if (isX(p)) { + ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`; + } else if (pr) { + debug("replaceTilde pr", pr); + ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`; + } else { + ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`; + } + debug("tilde return", ret); + return ret; + }); + }; + var replaceCarets = (comp, options) => { + return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" "); + }; + var replaceCaret = (comp, options) => { + debug("caret", comp, options); + const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]; + const z = options.includePrerelease ? "-0" : ""; + return comp.replace(r, (_, M, m, p, pr) => { + debug("caret", comp, _, M, m, p, pr); + let ret; + if (isX(M)) { + ret = ""; + } else if (isX(m)) { + ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`; + } else if (isX(p)) { + if (M === "0") { + ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`; + } else { + ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`; + } + } else if (pr) { + debug("replaceCaret pr", pr); + if (M === "0") { + if (m === "0") { + ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`; + } else { + ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`; + } + } else { + ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`; + } + } else { + debug("no pr"); + if (M === "0") { + if (m === "0") { + ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`; + } else { + ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`; + } + } else { + ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`; + } + } + debug("caret return", ret); + return ret; + }); + }; + var replaceXRanges = (comp, options) => { + debug("replaceXRanges", comp, options); + return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" "); + }; + var replaceXRange = (comp, options) => { + comp = comp.trim(); + const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]; + return comp.replace(r, (ret, gtlt, M, m, p, pr) => { + debug("xRange", comp, ret, gtlt, M, m, p, pr); + const xM = isX(M); + const xm = xM || isX(m); + const xp = xm || isX(p); + const anyX = xp; + if (gtlt === "=" && anyX) { + gtlt = ""; + } + pr = options.includePrerelease ? "-0" : ""; + if (xM) { + if (gtlt === ">" || gtlt === "<") { + ret = "<0.0.0-0"; + } else { + ret = "*"; + } + } else if (gtlt && anyX) { + if (xm) { + m = 0; + } + p = 0; + if (gtlt === ">") { + gtlt = ">="; + if (xm) { + M = +M + 1; + m = 0; + p = 0; + } else { + m = +m + 1; + p = 0; + } + } else if (gtlt === "<=") { + gtlt = "<"; + if (xm) { + M = +M + 1; + } else { + m = +m + 1; + } + } + if (gtlt === "<") { + pr = "-0"; + } + ret = `${gtlt + M}.${m}.${p}${pr}`; + } else if (xm) { + ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`; + } else if (xp) { + ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`; + } + debug("xRange return", ret); + return ret; + }); + }; + var replaceStars = (comp, options) => { + debug("replaceStars", comp, options); + return comp.trim().replace(re[t.STAR], ""); + }; + var replaceGTE0 = (comp, options) => { + debug("replaceGTE0", comp, options); + return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], ""); + }; + var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => { + if (isX(fM)) { + from = ""; + } else if (isX(fm)) { + from = `>=${fM}.0.0${incPr ? "-0" : ""}`; + } else if (isX(fp)) { + from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`; + } else if (fpr) { + from = `>=${from}`; + } else { + from = `>=${from}${incPr ? "-0" : ""}`; + } + if (isX(tM)) { + to = ""; + } else if (isX(tm)) { + to = `<${+tM + 1}.0.0-0`; + } else if (isX(tp)) { + to = `<${tM}.${+tm + 1}.0-0`; + } else if (tpr) { + to = `<=${tM}.${tm}.${tp}-${tpr}`; + } else if (incPr) { + to = `<${tM}.${tm}.${+tp + 1}-0`; + } else { + to = `<=${to}`; + } + return `${from} ${to}`.trim(); + }; + var testSet = (set, version, options) => { + for (let i = 0; i < set.length; i++) { + if (!set[i].test(version)) { + return false; + } + } + if (version.prerelease.length && !options.includePrerelease) { + for (let i = 0; i < set.length; i++) { + debug(set[i].semver); + if (set[i].semver === Comparator.ANY) { + continue; + } + if (set[i].semver.prerelease.length > 0) { + const allowed = set[i].semver; + if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) { + return true; + } + } + } + return false; + } + return true; + }; + } +}); + +// node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js +var require_satisfies = __commonJS({ + "node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"(exports2, module2) { + var Range = require_range(); + var satisfies = (version, range, options) => { + try { + range = new Range(range, options); + } catch (er) { + return false; + } + return range.test(version); + }; + module2.exports = satisfies; + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/api.js +var require_api3 = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/api.js"(exports2) { + "use strict"; + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { + return m[k]; + } }; + } + Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p); + }; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.DiagnosticPullMode = exports2.vsdiag = void 0; + __exportStar(require_main3(), exports2); + __exportStar(require_features(), exports2); + var diagnostic_1 = require_diagnostic(); + Object.defineProperty(exports2, "vsdiag", { enumerable: true, get: function() { + return diagnostic_1.vsdiag; + } }); + Object.defineProperty(exports2, "DiagnosticPullMode", { enumerable: true, get: function() { + return diagnostic_1.DiagnosticPullMode; + } }); + __exportStar(require_client(), exports2); + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/node/main.js +var require_main4 = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/node/main.js"(exports2) { + "use strict"; + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { + return m[k]; + } }; + } + Object.defineProperty(o, k2, desc); + } : function(o, m, k, k2) { + if (k2 === void 0) k2 = k; + o[k2] = m[k]; + }); + var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p); + }; + Object.defineProperty(exports2, "__esModule", { value: true }); + exports2.SettingMonitor = exports2.LanguageClient = exports2.TransportKind = void 0; + var cp = require("child_process"); + var fs = require("fs"); + var path = require("path"); + var vscode_1 = require("vscode"); + var Is = require_is(); + var client_1 = require_client(); + var processes_1 = require_processes(); + var node_1 = require_node2(); + var semverParse = require_parse(); + var semverSatisfies = require_satisfies(); + __exportStar(require_node2(), exports2); + __exportStar(require_api3(), exports2); + var REQUIRED_VSCODE_VERSION = "^1.82.0"; + var TransportKind2; + (function(TransportKind3) { + TransportKind3[TransportKind3["stdio"] = 0] = "stdio"; + TransportKind3[TransportKind3["ipc"] = 1] = "ipc"; + TransportKind3[TransportKind3["pipe"] = 2] = "pipe"; + TransportKind3[TransportKind3["socket"] = 3] = "socket"; + })(TransportKind2 || (exports2.TransportKind = TransportKind2 = {})); + var Transport; + (function(Transport2) { + function isSocket(value) { + const candidate = value; + return candidate && candidate.kind === TransportKind2.socket && Is.number(candidate.port); + } + Transport2.isSocket = isSocket; + })(Transport || (Transport = {})); + var Executable; + (function(Executable2) { + function is(value) { + return Is.string(value.command); + } + Executable2.is = is; + })(Executable || (Executable = {})); + var NodeModule; + (function(NodeModule2) { + function is(value) { + return Is.string(value.module); + } + NodeModule2.is = is; + })(NodeModule || (NodeModule = {})); + var StreamInfo; + (function(StreamInfo2) { + function is(value) { + let candidate = value; + return candidate && candidate.writer !== void 0 && candidate.reader !== void 0; + } + StreamInfo2.is = is; + })(StreamInfo || (StreamInfo = {})); + var ChildProcessInfo; + (function(ChildProcessInfo2) { + function is(value) { + let candidate = value; + return candidate && candidate.process !== void 0 && typeof candidate.detached === "boolean"; + } + ChildProcessInfo2.is = is; + })(ChildProcessInfo || (ChildProcessInfo = {})); + var LanguageClient2 = class extends client_1.BaseLanguageClient { + constructor(arg1, arg2, arg3, arg4, arg5) { + let id; + let name; + let serverOptions; + let clientOptions; + let forceDebug; + if (Is.string(arg2)) { + id = arg1; + name = arg2; + serverOptions = arg3; + clientOptions = arg4; + forceDebug = !!arg5; + } else { + id = arg1.toLowerCase(); + name = arg1; + serverOptions = arg2; + clientOptions = arg3; + forceDebug = arg4; + } + if (forceDebug === void 0) { + forceDebug = false; + } + super(id, name, clientOptions); + this._serverOptions = serverOptions; + this._forceDebug = forceDebug; + this._isInDebugMode = forceDebug; + try { + this.checkVersion(); + } catch (error) { + if (Is.string(error.message)) { + this.outputChannel.appendLine(error.message); + } + throw error; + } + } + checkVersion() { + const codeVersion = semverParse(vscode_1.version); + if (!codeVersion) { + throw new Error(`No valid VS Code version detected. Version string is: ${vscode_1.version}`); + } + if (codeVersion.prerelease && codeVersion.prerelease.length > 0) { + codeVersion.prerelease = []; + } + if (!semverSatisfies(codeVersion, REQUIRED_VSCODE_VERSION)) { + throw new Error(`The language client requires VS Code version ${REQUIRED_VSCODE_VERSION} but received version ${vscode_1.version}`); + } + } + get isInDebugMode() { + return this._isInDebugMode; + } + async restart() { + await this.stop(); + if (this.isInDebugMode) { + await new Promise((resolve) => setTimeout(resolve, 1e3)); + await this.start(); + } else { + await this.start(); + } + } + stop(timeout2 = 2e3) { + return super.stop(timeout2).finally(() => { + if (this._serverProcess) { + const toCheck = this._serverProcess; + this._serverProcess = void 0; + if (this._isDetached === void 0 || !this._isDetached) { + this.checkProcessDied(toCheck); + } + this._isDetached = void 0; + } + }); + } + checkProcessDied(childProcess) { + if (!childProcess || childProcess.pid === void 0) { + return; + } + setTimeout(() => { + try { + if (childProcess.pid !== void 0) { + process.kill(childProcess.pid, 0); + (0, processes_1.terminate)(childProcess); + } + } catch (error) { + } + }, 2e3); + } + handleConnectionClosed() { + this._serverProcess = void 0; + return super.handleConnectionClosed(); + } + fillInitializeParams(params) { + super.fillInitializeParams(params); + if (params.processId === null) { + params.processId = process.pid; + } + } + createMessageTransports(encoding) { + function getEnvironment(env, fork) { + if (!env && !fork) { + return void 0; + } + const result = /* @__PURE__ */ Object.create(null); + Object.keys(process.env).forEach((key) => result[key] = process.env[key]); + if (fork) { + result["ELECTRON_RUN_AS_NODE"] = "1"; + result["ELECTRON_NO_ASAR"] = "1"; + } + if (env) { + Object.keys(env).forEach((key) => result[key] = env[key]); + } + return result; + } + const debugStartWith = ["--debug=", "--debug-brk=", "--inspect=", "--inspect-brk="]; + const debugEquals = ["--debug", "--debug-brk", "--inspect", "--inspect-brk"]; + function startedInDebugMode() { + let args = process.execArgv; + if (args) { + return args.some((arg) => { + return debugStartWith.some((value) => arg.startsWith(value)) || debugEquals.some((value) => arg === value); + }); + } + return false; + } + function assertStdio(process2) { + if (process2.stdin === null || process2.stdout === null || process2.stderr === null) { + throw new Error("Process created without stdio streams"); + } + } + const server = this._serverOptions; + if (Is.func(server)) { + return server().then((result) => { + if (client_1.MessageTransports.is(result)) { + this._isDetached = !!result.detached; + return result; + } else if (StreamInfo.is(result)) { + this._isDetached = !!result.detached; + return { reader: new node_1.StreamMessageReader(result.reader), writer: new node_1.StreamMessageWriter(result.writer) }; + } else { + let cp2; + if (ChildProcessInfo.is(result)) { + cp2 = result.process; + this._isDetached = result.detached; + } else { + cp2 = result; + this._isDetached = false; + } + cp2.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + return { reader: new node_1.StreamMessageReader(cp2.stdout), writer: new node_1.StreamMessageWriter(cp2.stdin) }; + } + }); + } + let json; + let runDebug = server; + if (runDebug.run || runDebug.debug) { + if (this._forceDebug || startedInDebugMode()) { + json = runDebug.debug; + this._isInDebugMode = true; + } else { + json = runDebug.run; + this._isInDebugMode = false; + } + } else { + json = server; + } + return this._getServerWorkingDir(json.options).then((serverWorkingDir) => { + if (NodeModule.is(json) && json.module) { + let node = json; + let transport = node.transport || TransportKind2.stdio; + if (node.runtime) { + const args = []; + const options = node.options ?? /* @__PURE__ */ Object.create(null); + if (options.execArgv) { + options.execArgv.forEach((element) => args.push(element)); + } + args.push(node.module); + if (node.args) { + node.args.forEach((element) => args.push(element)); + } + const execOptions = /* @__PURE__ */ Object.create(null); + execOptions.cwd = serverWorkingDir; + execOptions.env = getEnvironment(options.env, false); + const runtime = this._getRuntimePath(node.runtime, serverWorkingDir); + let pipeName = void 0; + if (transport === TransportKind2.ipc) { + execOptions.stdio = [null, null, null, "ipc"]; + args.push("--node-ipc"); + } else if (transport === TransportKind2.stdio) { + args.push("--stdio"); + } else if (transport === TransportKind2.pipe) { + pipeName = (0, node_1.generateRandomPipeName)(); + args.push(`--pipe=${pipeName}`); + } else if (Transport.isSocket(transport)) { + args.push(`--socket=${transport.port}`); + } + args.push(`--clientProcessId=${process.pid.toString()}`); + if (transport === TransportKind2.ipc || transport === TransportKind2.stdio) { + const serverProcess = cp.spawn(runtime, args, execOptions); + if (!serverProcess || !serverProcess.pid) { + return handleChildProcessStartError(serverProcess, `Launching server using runtime ${runtime} failed.`); + } + this._serverProcess = serverProcess; + serverProcess.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + if (transport === TransportKind2.ipc) { + serverProcess.stdout.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + return Promise.resolve({ reader: new node_1.IPCMessageReader(serverProcess), writer: new node_1.IPCMessageWriter(serverProcess) }); + } else { + return Promise.resolve({ reader: new node_1.StreamMessageReader(serverProcess.stdout), writer: new node_1.StreamMessageWriter(serverProcess.stdin) }); + } + } else if (transport === TransportKind2.pipe) { + return (0, node_1.createClientPipeTransport)(pipeName).then((transport2) => { + const process2 = cp.spawn(runtime, args, execOptions); + if (!process2 || !process2.pid) { + return handleChildProcessStartError(process2, `Launching server using runtime ${runtime} failed.`); + } + this._serverProcess = process2; + process2.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + process2.stdout.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + return transport2.onConnected().then((protocol) => { + return { reader: protocol[0], writer: protocol[1] }; + }); + }); + } else if (Transport.isSocket(transport)) { + return (0, node_1.createClientSocketTransport)(transport.port).then((transport2) => { + const process2 = cp.spawn(runtime, args, execOptions); + if (!process2 || !process2.pid) { + return handleChildProcessStartError(process2, `Launching server using runtime ${runtime} failed.`); + } + this._serverProcess = process2; + process2.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + process2.stdout.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + return transport2.onConnected().then((protocol) => { + return { reader: protocol[0], writer: protocol[1] }; + }); + }); + } + } else { + let pipeName = void 0; + return new Promise((resolve, reject) => { + const args = (node.args && node.args.slice()) ?? []; + if (transport === TransportKind2.ipc) { + args.push("--node-ipc"); + } else if (transport === TransportKind2.stdio) { + args.push("--stdio"); + } else if (transport === TransportKind2.pipe) { + pipeName = (0, node_1.generateRandomPipeName)(); + args.push(`--pipe=${pipeName}`); + } else if (Transport.isSocket(transport)) { + args.push(`--socket=${transport.port}`); + } + args.push(`--clientProcessId=${process.pid.toString()}`); + const options = node.options ?? /* @__PURE__ */ Object.create(null); + options.env = getEnvironment(options.env, true); + options.execArgv = options.execArgv || []; + options.cwd = serverWorkingDir; + options.silent = true; + if (transport === TransportKind2.ipc || transport === TransportKind2.stdio) { + const sp = cp.fork(node.module, args || [], options); + assertStdio(sp); + this._serverProcess = sp; + sp.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + if (transport === TransportKind2.ipc) { + sp.stdout.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + resolve({ reader: new node_1.IPCMessageReader(this._serverProcess), writer: new node_1.IPCMessageWriter(this._serverProcess) }); + } else { + resolve({ reader: new node_1.StreamMessageReader(sp.stdout), writer: new node_1.StreamMessageWriter(sp.stdin) }); + } + } else if (transport === TransportKind2.pipe) { + (0, node_1.createClientPipeTransport)(pipeName).then((transport2) => { + const sp = cp.fork(node.module, args || [], options); + assertStdio(sp); + this._serverProcess = sp; + sp.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + sp.stdout.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + transport2.onConnected().then((protocol) => { + resolve({ reader: protocol[0], writer: protocol[1] }); + }, reject); + }, reject); + } else if (Transport.isSocket(transport)) { + (0, node_1.createClientSocketTransport)(transport.port).then((transport2) => { + const sp = cp.fork(node.module, args || [], options); + assertStdio(sp); + this._serverProcess = sp; + sp.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + sp.stdout.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + transport2.onConnected().then((protocol) => { + resolve({ reader: protocol[0], writer: protocol[1] }); + }, reject); + }, reject); + } + }); + } + } else if (Executable.is(json) && json.command) { + const command = json; + const args = json.args !== void 0 ? json.args.slice(0) : []; + let pipeName = void 0; + const transport = json.transport; + if (transport === TransportKind2.stdio) { + args.push("--stdio"); + } else if (transport === TransportKind2.pipe) { + pipeName = (0, node_1.generateRandomPipeName)(); + args.push(`--pipe=${pipeName}`); + } else if (Transport.isSocket(transport)) { + args.push(`--socket=${transport.port}`); + } else if (transport === TransportKind2.ipc) { + throw new Error(`Transport kind ipc is not support for command executable`); + } + const options = Object.assign({}, command.options); + options.cwd = options.cwd || serverWorkingDir; + if (transport === void 0 || transport === TransportKind2.stdio) { + const serverProcess = cp.spawn(command.command, args, options); + if (!serverProcess || !serverProcess.pid) { + return handleChildProcessStartError(serverProcess, `Launching server using command ${command.command} failed.`); + } + serverProcess.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + this._serverProcess = serverProcess; + this._isDetached = !!options.detached; + return Promise.resolve({ reader: new node_1.StreamMessageReader(serverProcess.stdout), writer: new node_1.StreamMessageWriter(serverProcess.stdin) }); + } else if (transport === TransportKind2.pipe) { + return (0, node_1.createClientPipeTransport)(pipeName).then((transport2) => { + const serverProcess = cp.spawn(command.command, args, options); + if (!serverProcess || !serverProcess.pid) { + return handleChildProcessStartError(serverProcess, `Launching server using command ${command.command} failed.`); + } + this._serverProcess = serverProcess; + this._isDetached = !!options.detached; + serverProcess.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + serverProcess.stdout.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + return transport2.onConnected().then((protocol) => { + return { reader: protocol[0], writer: protocol[1] }; + }); + }); + } else if (Transport.isSocket(transport)) { + return (0, node_1.createClientSocketTransport)(transport.port).then((transport2) => { + const serverProcess = cp.spawn(command.command, args, options); + if (!serverProcess || !serverProcess.pid) { + return handleChildProcessStartError(serverProcess, `Launching server using command ${command.command} failed.`); + } + this._serverProcess = serverProcess; + this._isDetached = !!options.detached; + serverProcess.stderr.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + serverProcess.stdout.on("data", (data) => this.outputChannel.append(Is.string(data) ? data : data.toString(encoding))); + return transport2.onConnected().then((protocol) => { + return { reader: protocol[0], writer: protocol[1] }; + }); + }); + } + } + return Promise.reject(new Error(`Unsupported server configuration ` + JSON.stringify(server, null, 4))); + }).finally(() => { + if (this._serverProcess !== void 0) { + this._serverProcess.on("exit", (code, signal) => { + if (code !== null) { + this.error(`Server process exited with code ${code}.`, void 0, false); + } + if (signal !== null) { + this.error(`Server process exited with signal ${signal}.`, void 0, false); + } + }); + } + }); + } + _getRuntimePath(runtime, serverWorkingDirectory) { + if (path.isAbsolute(runtime)) { + return runtime; + } + const mainRootPath = this._mainGetRootPath(); + if (mainRootPath !== void 0) { + const result = path.join(mainRootPath, runtime); + if (fs.existsSync(result)) { + return result; + } + } + if (serverWorkingDirectory !== void 0) { + const result = path.join(serverWorkingDirectory, runtime); + if (fs.existsSync(result)) { + return result; + } + } + return runtime; + } + _mainGetRootPath() { + let folders = vscode_1.workspace.workspaceFolders; + if (!folders || folders.length === 0) { + return void 0; + } + let folder = folders[0]; + if (folder.uri.scheme === "file") { + return folder.uri.fsPath; + } + return void 0; + } + _getServerWorkingDir(options) { + let cwd = options && options.cwd; + if (!cwd) { + cwd = this.clientOptions.workspaceFolder ? this.clientOptions.workspaceFolder.uri.fsPath : this._mainGetRootPath(); + } + if (cwd) { + return new Promise((s) => { + fs.lstat(cwd, (err, stats) => { + s(!err && stats.isDirectory() ? cwd : void 0); + }); + }); + } + return Promise.resolve(void 0); + } + }; + exports2.LanguageClient = LanguageClient2; + var SettingMonitor = class { + constructor(_client, _setting) { + this._client = _client; + this._setting = _setting; + this._listeners = []; + } + start() { + vscode_1.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration, this, this._listeners); + this.onDidChangeConfiguration(); + return new vscode_1.Disposable(() => { + if (this._client.needsStop()) { + void this._client.stop(); + } + }); + } + onDidChangeConfiguration() { + let index = this._setting.indexOf("."); + let primary = index >= 0 ? this._setting.substr(0, index) : this._setting; + let rest = index >= 0 ? this._setting.substr(index + 1) : void 0; + let enabled = rest ? vscode_1.workspace.getConfiguration(primary).get(rest, false) : vscode_1.workspace.getConfiguration(primary); + if (enabled && this._client.needsStart()) { + this._client.start().catch((error) => this._client.error("Start failed after configuration change", error, "force")); + } else if (!enabled && this._client.needsStop()) { + void this._client.stop().catch((error) => this._client.error("Stop failed after configuration change", error, "force")); + } + } + }; + exports2.SettingMonitor = SettingMonitor; + function handleChildProcessStartError(process2, message) { + if (process2 === null) { + return Promise.reject(message); + } + return new Promise((_, reject) => { + process2.on("error", (err) => { + reject(`${message} ${err}`); + }); + setImmediate(() => reject(message)); + }); + } + } +}); + +// node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/node.js +var require_node3 = __commonJS({ + "node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/node.js"(exports2, module2) { + "use strict"; + module2.exports = require_main4(); + } +}); + +// src/extension.ts +var extension_exports = {}; +__export(extension_exports, { + activate: () => activate, + deactivate: () => deactivate +}); +module.exports = __toCommonJS(extension_exports); + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/errors/HTTPError.js +var HTTPError = class extends Error { + response; + request; + options; + constructor(response, request, options) { + const code = response.status || response.status === 0 ? response.status : ""; + const title = response.statusText || ""; + const status = `${code} ${title}`.trim(); + const reason = status ? `status code ${status}` : "an unknown error"; + super(`Request failed with ${reason}: ${request.method} ${request.url}`); + this.name = "HTTPError"; + this.response = response; + this.request = request; + this.options = options; + } +}; + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/errors/TimeoutError.js +var TimeoutError = class extends Error { + request; + constructor(request) { + super(`Request timed out: ${request.method} ${request.url}`); + this.name = "TimeoutError"; + this.request = request; + } +}; + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/utils/is.js +var isObject = (value) => value !== null && typeof value === "object"; + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/utils/merge.js +var validateAndMerge = (...sources) => { + for (const source of sources) { + if ((!isObject(source) || Array.isArray(source)) && source !== void 0) { + throw new TypeError("The `options` argument must be an object"); + } + } + return deepMerge({}, ...sources); +}; +var mergeHeaders = (source1 = {}, source2 = {}) => { + const result = new globalThis.Headers(source1); + const isHeadersInstance = source2 instanceof globalThis.Headers; + const source = new globalThis.Headers(source2); + for (const [key, value] of source.entries()) { + if (isHeadersInstance && value === "undefined" || value === void 0) { + result.delete(key); + } else { + result.set(key, value); + } + } + return result; +}; +function newHookValue(original, incoming, property) { + return Object.hasOwn(incoming, property) && incoming[property] === void 0 ? [] : deepMerge(original[property] ?? [], incoming[property] ?? []); +} +var mergeHooks = (original = {}, incoming = {}) => ({ + beforeRequest: newHookValue(original, incoming, "beforeRequest"), + beforeRetry: newHookValue(original, incoming, "beforeRetry"), + afterResponse: newHookValue(original, incoming, "afterResponse"), + beforeError: newHookValue(original, incoming, "beforeError") +}); +var deepMerge = (...sources) => { + let returnValue = {}; + let headers = {}; + let hooks = {}; + for (const source of sources) { + if (Array.isArray(source)) { + if (!Array.isArray(returnValue)) { + returnValue = []; + } + returnValue = [...returnValue, ...source]; + } else if (isObject(source)) { + for (let [key, value] of Object.entries(source)) { + if (isObject(value) && key in returnValue) { + value = deepMerge(returnValue[key], value); + } + returnValue = { ...returnValue, [key]: value }; + } + if (isObject(source.hooks)) { + hooks = mergeHooks(hooks, source.hooks); + returnValue.hooks = hooks; + } + if (isObject(source.headers)) { + headers = mergeHeaders(headers, source.headers); + returnValue.headers = headers; + } + } + } + return returnValue; +}; + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/core/constants.js +var supportsRequestStreams = (() => { + let duplexAccessed = false; + let hasContentType = false; + const supportsReadableStream = typeof globalThis.ReadableStream === "function"; + const supportsRequest = typeof globalThis.Request === "function"; + if (supportsReadableStream && supportsRequest) { + try { + hasContentType = new globalThis.Request("https://empty.invalid", { + body: new globalThis.ReadableStream(), + method: "POST", + // @ts-expect-error - Types are outdated. + get duplex() { + duplexAccessed = true; + return "half"; + } + }).headers.has("Content-Type"); + } catch (error) { + if (error instanceof Error && error.message === "unsupported BodyInit type") { + return false; + } + throw error; + } + } + return duplexAccessed && !hasContentType; +})(); +var supportsAbortController = typeof globalThis.AbortController === "function"; +var supportsResponseStreams = typeof globalThis.ReadableStream === "function"; +var supportsFormData = typeof globalThis.FormData === "function"; +var requestMethods = ["get", "post", "put", "patch", "head", "delete"]; +var validate = () => void 0; +validate(); +var responseTypes = { + json: "application/json", + text: "text/*", + formData: "multipart/form-data", + arrayBuffer: "*/*", + blob: "*/*" +}; +var maxSafeTimeout = 2147483647; +var stop = Symbol("stop"); +var kyOptionKeys = { + json: true, + parseJson: true, + stringifyJson: true, + searchParams: true, + prefixUrl: true, + retry: true, + timeout: true, + hooks: true, + throwHttpErrors: true, + onDownloadProgress: true, + fetch: true +}; +var requestOptionsRegistry = { + method: true, + headers: true, + body: true, + mode: true, + credentials: true, + cache: true, + redirect: true, + referrer: true, + referrerPolicy: true, + integrity: true, + keepalive: true, + signal: true, + window: true, + dispatcher: true, + duplex: true, + priority: true +}; + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/utils/normalize.js +var normalizeRequestMethod = (input) => requestMethods.includes(input) ? input.toUpperCase() : input; +var retryMethods = ["get", "put", "head", "delete", "options", "trace"]; +var retryStatusCodes = [408, 413, 429, 500, 502, 503, 504]; +var retryAfterStatusCodes = [413, 429, 503]; +var defaultRetryOptions = { + limit: 2, + methods: retryMethods, + statusCodes: retryStatusCodes, + afterStatusCodes: retryAfterStatusCodes, + maxRetryAfter: Number.POSITIVE_INFINITY, + backoffLimit: Number.POSITIVE_INFINITY, + delay: (attemptCount) => 0.3 * 2 ** (attemptCount - 1) * 1e3 +}; +var normalizeRetryOptions = (retry = {}) => { + if (typeof retry === "number") { + return { + ...defaultRetryOptions, + limit: retry + }; + } + if (retry.methods && !Array.isArray(retry.methods)) { + throw new Error("retry.methods must be an array"); + } + if (retry.statusCodes && !Array.isArray(retry.statusCodes)) { + throw new Error("retry.statusCodes must be an array"); + } + return { + ...defaultRetryOptions, + ...retry + }; +}; + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/utils/timeout.js +async function timeout(request, init, abortController, options) { + return new Promise((resolve, reject) => { + const timeoutId = setTimeout(() => { + if (abortController) { + abortController.abort(); + } + reject(new TimeoutError(request)); + }, options.timeout); + void options.fetch(request, init).then(resolve).catch(reject).then(() => { + clearTimeout(timeoutId); + }); + }); +} + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/utils/delay.js +async function delay(ms, { signal }) { + return new Promise((resolve, reject) => { + if (signal) { + signal.throwIfAborted(); + signal.addEventListener("abort", abortHandler, { once: true }); + } + function abortHandler() { + clearTimeout(timeoutId); + reject(signal.reason); + } + const timeoutId = setTimeout(() => { + signal?.removeEventListener("abort", abortHandler); + resolve(); + }, ms); + }); +} + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/utils/options.js +var findUnknownOptions = (request, options) => { + const unknownOptions = {}; + for (const key in options) { + if (!(key in requestOptionsRegistry) && !(key in kyOptionKeys) && !(key in request)) { + unknownOptions[key] = options[key]; + } + } + return unknownOptions; +}; + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/core/Ky.js +var Ky = class _Ky { + static create(input, options) { + const ky2 = new _Ky(input, options); + const function_ = async () => { + if (typeof ky2._options.timeout === "number" && ky2._options.timeout > maxSafeTimeout) { + throw new RangeError(`The \`timeout\` option cannot be greater than ${maxSafeTimeout}`); + } + await Promise.resolve(); + let response = await ky2._fetch(); + for (const hook of ky2._options.hooks.afterResponse) { + const modifiedResponse = await hook(ky2.request, ky2._options, ky2._decorateResponse(response.clone())); + if (modifiedResponse instanceof globalThis.Response) { + response = modifiedResponse; + } + } + ky2._decorateResponse(response); + if (!response.ok && ky2._options.throwHttpErrors) { + let error = new HTTPError(response, ky2.request, ky2._options); + for (const hook of ky2._options.hooks.beforeError) { + error = await hook(error); + } + throw error; + } + if (ky2._options.onDownloadProgress) { + if (typeof ky2._options.onDownloadProgress !== "function") { + throw new TypeError("The `onDownloadProgress` option must be a function"); + } + if (!supportsResponseStreams) { + throw new Error("Streams are not supported in your environment. `ReadableStream` is missing."); + } + return ky2._stream(response.clone(), ky2._options.onDownloadProgress); + } + return response; + }; + const isRetriableMethod = ky2._options.retry.methods.includes(ky2.request.method.toLowerCase()); + const result = isRetriableMethod ? ky2._retry(function_) : function_(); + for (const [type, mimeType] of Object.entries(responseTypes)) { + result[type] = async () => { + ky2.request.headers.set("accept", ky2.request.headers.get("accept") || mimeType); + const awaitedResult = await result; + const response = awaitedResult.clone(); + if (type === "json") { + if (response.status === 204) { + return ""; + } + const arrayBuffer = await response.clone().arrayBuffer(); + const responseSize = arrayBuffer.byteLength; + if (responseSize === 0) { + return ""; + } + if (options.parseJson) { + return options.parseJson(await response.text()); + } + } + return response[type](); + }; + } + return result; + } + request; + abortController; + _retryCount = 0; + _input; + _options; + // eslint-disable-next-line complexity + constructor(input, options = {}) { + this._input = input; + this._options = { + ...options, + headers: mergeHeaders(this._input.headers, options.headers), + hooks: mergeHooks({ + beforeRequest: [], + beforeRetry: [], + beforeError: [], + afterResponse: [] + }, options.hooks), + method: normalizeRequestMethod(options.method ?? this._input.method), + // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing + prefixUrl: String(options.prefixUrl || ""), + retry: normalizeRetryOptions(options.retry), + throwHttpErrors: options.throwHttpErrors !== false, + timeout: options.timeout ?? 1e4, + fetch: options.fetch ?? globalThis.fetch.bind(globalThis) + }; + if (typeof this._input !== "string" && !(this._input instanceof URL || this._input instanceof globalThis.Request)) { + throw new TypeError("`input` must be a string, URL, or Request"); + } + if (this._options.prefixUrl && typeof this._input === "string") { + if (this._input.startsWith("/")) { + throw new Error("`input` must not begin with a slash when using `prefixUrl`"); + } + if (!this._options.prefixUrl.endsWith("/")) { + this._options.prefixUrl += "/"; + } + this._input = this._options.prefixUrl + this._input; + } + if (supportsAbortController) { + this.abortController = new globalThis.AbortController(); + const originalSignal = this._options.signal ?? this._input.signal; + originalSignal?.addEventListener("abort", () => { + this.abortController.abort(originalSignal.reason); + }); + this._options.signal = this.abortController.signal; + } + if (supportsRequestStreams) { + this._options.duplex = "half"; + } + if (this._options.json !== void 0) { + this._options.body = this._options.stringifyJson?.(this._options.json) ?? JSON.stringify(this._options.json); + this._options.headers.set("content-type", this._options.headers.get("content-type") ?? "application/json"); + } + this.request = new globalThis.Request(this._input, this._options); + if (this._options.searchParams) { + const textSearchParams = typeof this._options.searchParams === "string" ? this._options.searchParams.replace(/^\?/, "") : new URLSearchParams(this._options.searchParams).toString(); + const searchParams = "?" + textSearchParams; + const url = this.request.url.replace(/(?:\?.*?)?(?=#|$)/, searchParams); + if ((supportsFormData && this._options.body instanceof globalThis.FormData || this._options.body instanceof URLSearchParams) && !(this._options.headers && this._options.headers["content-type"])) { + this.request.headers.delete("content-type"); + } + this.request = new globalThis.Request(new globalThis.Request(url, { ...this.request }), this._options); + } + } + _calculateRetryDelay(error) { + this._retryCount++; + if (this._retryCount > this._options.retry.limit || error instanceof TimeoutError) { + throw error; + } + if (error instanceof HTTPError) { + if (!this._options.retry.statusCodes.includes(error.response.status)) { + throw error; + } + const retryAfter = error.response.headers.get("Retry-After") ?? error.response.headers.get("RateLimit-Reset") ?? error.response.headers.get("X-RateLimit-Reset") ?? error.response.headers.get("X-Rate-Limit-Reset"); + if (retryAfter && this._options.retry.afterStatusCodes.includes(error.response.status)) { + let after = Number(retryAfter) * 1e3; + if (Number.isNaN(after)) { + after = Date.parse(retryAfter) - Date.now(); + } else if (after >= Date.parse("2024-01-01")) { + after -= Date.now(); + } + const max = this._options.retry.maxRetryAfter ?? after; + return after < max ? after : max; + } + if (error.response.status === 413) { + throw error; + } + } + const retryDelay = this._options.retry.delay(this._retryCount); + return Math.min(this._options.retry.backoffLimit, retryDelay); + } + _decorateResponse(response) { + if (this._options.parseJson) { + response.json = async () => this._options.parseJson(await response.text()); + } + return response; + } + async _retry(function_) { + try { + return await function_(); + } catch (error) { + const ms = Math.min(this._calculateRetryDelay(error), maxSafeTimeout); + if (this._retryCount < 1) { + throw error; + } + await delay(ms, { signal: this._options.signal }); + for (const hook of this._options.hooks.beforeRetry) { + const hookResult = await hook({ + request: this.request, + options: this._options, + error, + retryCount: this._retryCount + }); + if (hookResult === stop) { + return; + } + } + return this._retry(function_); + } + } + async _fetch() { + for (const hook of this._options.hooks.beforeRequest) { + const result = await hook(this.request, this._options); + if (result instanceof Request) { + this.request = result; + break; + } + if (result instanceof Response) { + return result; + } + } + const nonRequestOptions = findUnknownOptions(this.request, this._options); + const mainRequest = this.request; + this.request = mainRequest.clone(); + if (this._options.timeout === false) { + return this._options.fetch(mainRequest, nonRequestOptions); + } + return timeout(mainRequest, nonRequestOptions, this.abortController, this._options); + } + /* istanbul ignore next */ + _stream(response, onDownloadProgress) { + const totalBytes = Number(response.headers.get("content-length")) || 0; + let transferredBytes = 0; + if (response.status === 204) { + if (onDownloadProgress) { + onDownloadProgress({ percent: 1, totalBytes, transferredBytes }, new Uint8Array()); + } + return new globalThis.Response(null, { + status: response.status, + statusText: response.statusText, + headers: response.headers + }); + } + return new globalThis.Response(new globalThis.ReadableStream({ + async start(controller) { + const reader = response.body.getReader(); + if (onDownloadProgress) { + onDownloadProgress({ percent: 0, transferredBytes: 0, totalBytes }, new Uint8Array()); + } + async function read() { + const { done, value } = await reader.read(); + if (done) { + controller.close(); + return; + } + if (onDownloadProgress) { + transferredBytes += value.byteLength; + const percent = totalBytes === 0 ? 0 : transferredBytes / totalBytes; + onDownloadProgress({ percent, transferredBytes, totalBytes }, value); + } + controller.enqueue(value); + await read(); + } + await read(); + } + }), { + status: response.status, + statusText: response.statusText, + headers: response.headers + }); + } +}; + +// node_modules/.pnpm/ky@1.7.2/node_modules/ky/distribution/index.js +var createInstance = (defaults) => { + const ky2 = (input, options) => Ky.create(input, validateAndMerge(defaults, options)); + for (const method of requestMethods) { + ky2[method] = (input, options) => Ky.create(input, validateAndMerge(defaults, options, { method })); + } + ky2.create = (newDefaults) => createInstance(validateAndMerge(newDefaults)); + ky2.extend = (newDefaults) => { + if (typeof newDefaults === "function") { + newDefaults = newDefaults(defaults ?? {}); + } + return createInstance(validateAndMerge(defaults, newDefaults)); + }; + ky2.stop = stop; + return ky2; +}; +var ky = createInstance(); +var distribution_default = ky; + +// src/extension.ts +var import_vscode = require("vscode"); +var import_node = __toESM(require_node3()); +var client; +async function activate(context) { + let serverPath = await languageServerBinaryPath(context); + const traceOutputChannel = import_vscode.window.createOutputChannel("Cargo-appraiser Langauage Server"); + if (!serverPath) { + import_vscode.window.showErrorMessage("CARGO_APPRAISER_PATH environment variable is not set. Unable to start the language server."); + return; + } + const serverOptions = { + run: { + command: serverPath, + args: ["--renderer", "vscode", "--client-capabilities", "readFile"], + transport: import_node.TransportKind.stdio + }, + debug: { + command: serverPath, + args: ["--renderer", "vscode", "--client-capabilities", "readFile"], + transport: import_node.TransportKind.stdio + } + }; + const clientOptions = { + // Register the server for TOML documents + documentSelector: [{ scheme: "file", language: "toml" }], + synchronize: { + // Notify the server about file changes to '.clientrc files contained in the workspace + fileEvents: import_vscode.workspace.createFileSystemWatcher("**/Cargo.lock") + }, + outputChannel: traceOutputChannel + }; + client = new import_node.LanguageClient( + "cargoAppraiser", + "LSP server for Cargo.toml", + serverOptions, + clientOptions + ); + client.onRequest("textDocument/readFile", async (params, next) => { + const uri = import_vscode.Uri.parse(params.uri); + const document = await import_vscode.workspace.openTextDocument(uri); + return { + content: document.getText() + }; + }); + client.start(); +} +function deactivate() { + if (!client) { + return void 0; + } + return client.stop(); +} +async function languageServerBinaryPath(context) { + const serverPath = process.env.CARGO_APPRAISER_PATH; + if (serverPath) { + return serverPath; + } + if (!import_vscode.workspace.fs.isWritableFileSystem("file")) { + throw new Error("File system is not writable"); + } + const fs = require("fs"); + const { promisify } = require("util"); + const chmod = promisify(fs.chmod); + const releaseInfo = await distribution_default.get("https://api.github.com/repos/washanhanzi/cargo-appraiser/releases/latest", { + headers: { "User-Agent": "VSCode-Extension" } + }).json(); + const platform = process.platform; + const arch = process.arch; + const assetName = `cargo-appraiser-${platform === "win32" ? "windows" : platform === "darwin" ? "darwin" : "linux"}-${arch === "arm64" ? "arm64" : "amd64"}${platform === "win32" ? ".exe" : ""}`; + const asset = releaseInfo.assets.find((asset2) => asset2.name === assetName); + if (!asset) { + throw new Error(`No asset found matching ${assetName}`); + } + const versionDir = `cargo-appraiser-${releaseInfo.tag_name}`; + const binaryName = platform === "win32" ? "cargo-appraiser.exe" : "cargo-appraiser"; + const uri = import_vscode.Uri.joinPath(context.globalStorageUri, versionDir); + const binaryPath = import_vscode.Uri.joinPath(uri, binaryName); + await import_vscode.workspace.fs.createDirectory(uri); + const content = await import_vscode.workspace.fs.readDirectory(uri); + if (content.length !== 0) { + return binaryPath.fsPath; + } + const statusBarItem = import_vscode.window.createStatusBarItem("download-lsp-server", import_vscode.StatusBarAlignment.Left, 0); + statusBarItem.text = `$(loading~spin) Downloading cargo-appraiser server ${releaseInfo.tag_name}...`; + statusBarItem.show(); + const response = await distribution_default.get(asset.browser_download_url); + const buffer = await response.arrayBuffer(); + await import_vscode.workspace.fs.writeFile(binaryPath, new Uint8Array(buffer)); + await chmod(binaryPath.fsPath, "755"); + statusBarItem.dispose(); + return binaryPath.fsPath; +} +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + activate, + deactivate +}); /*! Bundled license information: ky/distribution/index.js: (*! MIT License © Sindre Sorhus *) */ +//# sourceMappingURL=extension.js.map diff --git a/editor/code/dist/extension.js.map b/editor/code/dist/extension.js.map index 512932a..fba55cd 100644 --- a/editor/code/dist/extension.js.map +++ b/editor/code/dist/extension.js.map @@ -1,6 +1,6 @@ { "version": 3, "sources": ["../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/is.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/is.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messages.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/linkedMap.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/disposable.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/ral.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/events.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/cancellation.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/semaphore.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageReader.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageWriter.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/connection.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/common/api.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/ril.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/lib/node/main.js", "../node_modules/.pnpm/vscode-jsonrpc@8.2.0/node_modules/vscode-jsonrpc/node.js", "../node_modules/.pnpm/vscode-languageserver-types@3.17.5/node_modules/vscode-languageserver-types/lib/umd/main.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/messages.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/protocol.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/connection.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/common/api.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/lib/node/main.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/async.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCompletionItem.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCodeLens.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolDocumentLink.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCodeAction.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolDiagnostic.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolCallHierarchyItem.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolTypeHierarchyItem.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolWorkspaceSymbol.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolInlayHint.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeConverter.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/protocolConverter.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/utils/uuid.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/progressPart.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/features.js", "../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/lib/path.js", "../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js", "../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js", "../node_modules/.pnpm/minimatch@5.1.6/node_modules/minimatch/minimatch.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/diagnostic.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/notebook.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/configuration.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/textSynchronization.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/completion.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/hover.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/definition.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/signatureHelp.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentHighlight.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentSymbol.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/workspaceSymbol.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/reference.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeAction.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/codeLens.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/formatting.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/rename.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/documentLink.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/executeCommand.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/fileSystemWatcher.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/colorProvider.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/implementation.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/typeDefinition.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/workspaceFolder.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/foldingRange.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/declaration.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/selectionRange.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/progress.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/callHierarchy.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/semanticTokens.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/fileOperations.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/linkedEditingRange.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/typeHierarchy.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlineValue.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlayHint.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/inlineCompletion.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/client.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/node/processes.js", "../node_modules/.pnpm/vscode-languageserver-protocol@3.17.5/node_modules/vscode-languageserver-protocol/node.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js", "../node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/common/api.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/lib/node/main.js", "../node_modules/.pnpm/vscode-languageclient@9.0.1/node_modules/vscode-languageclient/node.js", "../src/extension.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/errors/HTTPError.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/errors/TimeoutError.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/utils/is.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/utils/merge.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/core/constants.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/utils/normalize.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/utils/timeout.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/utils/delay.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/utils/options.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/core/Ky.ts", "../node_modules/.pnpm/ky@1.7.2/node_modules/ky/source/index.ts"], - "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,6GAAAA,UAAA;AAAA;AAKA,WAAO,eAAeA,UAAS,cAAc,EAAE,OAAO,KAAK,CAAC;AAC5D,IAAAA,SAAQ,YAAYA,SAAQ,WAAWA,SAAQ,aAAaA,SAAQ,cAAcA,SAAQ,QAAQA,SAAQ,OAAOA,SAAQ,QAAQA,SAAQ,SAASA,SAAQ,SAASA,SAAQ,UAAU;AACrL,aAAS,QAAQ,OAAO;AACpB,aAAO,UAAU,QAAQ,UAAU;AAAA,IACvC;AACA,IAAAA,SAAQ,UAAU;AAClB,aAAS,OAAO,OAAO;AACnB,aAAO,OAAO,UAAU,YAAY,iBAAiB;AAAA,IACzD;AACA,IAAAA,SAAQ,SAAS;AACjB,aAAS,OAAO,OAAO;AACnB,aAAO,OAAO,UAAU,YAAY,iBAAiB;AAAA,IACzD;AACA,IAAAA,SAAQ,SAAS;AACjB,aAAS,MAAM,OAAO;AAClB,aAAO,iBAAiB;AAAA,IAC5B;AACA,IAAAA,SAAQ,QAAQ;AAChB,aAAS,KAAK,OAAO;AACjB,aAAO,OAAO,UAAU;AAAA,IAC5B;AACA,IAAAA,SAAQ,OAAO;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QAAQ;AACzB,QAAM,OAAO,QAAQ;AAErB,QAAM,YAAY,mBAAmB,aAAa,UAAU,YAAY,aAAa,WAAW,WAAW,OAAO,IAAI,SAAS,UAAU,UAAU,OAAO,GAAG,aAAa,UAAU,SAAS,EAAE;AAE/L,QAAM,QAAQ,YAAY,OAAO,KAAK,CAACC,WAAeA,OAAM,SAAS,SAAS;AAC9E,MAAI,CAAC,OAAO;AACR,UAAM,IAAI,MAAM,2BAA2B,SAAS,EAAE;AAAA,EAC1D;AAEA,QAAM,aAAa,mBAAmB,YAAY,QAAQ;AAC1D,QAAM,aAAa,aAAa,UAAU,wBAAwB;AAElE,QAAM,MAAM,kBAAI,SAAS,QAAQ,kBAAkB,UAAU;AAC7D,QAAM,aAAa,kBAAI,SAAS,KAAK,UAAU;AAC/C,QAAM,wBAAU,GAAG,gBAAgB,GAAG;AAEtC,QAAM,UAAU,MAAM,wBAAU,GAAG,cAAc,GAAG;AAGpD,MAAI,QAAQ,WAAW,GAAG;AACtB,WAAO,WAAW;AAAA,EACtB;AAGA,QAAM,gBAAgB,qBAAO,oBAAoB,uBAAuB,iCAAmB,MAAM,CAAC;AAUlG,gBAAc,OAAO,sDAAsD,YAAY,QAAQ;AAC/F,gBAAc,KAAK;AAEnB,QAAM,WAAW,MAAM,qBAAG,IAAI,MAAM,oBAAoB;AACxD,QAAM,SAAS,MAAM,SAAS,YAAY;AAC1C,QAAM,wBAAU,GAAG,UAAU,YAAY,IAAI,WAAW,MAAM,CAAC;AAE/D,QAAM,MAAM,WAAW,QAAQ,KAAK;AACpC,gBAAc,QAAQ;AAEtB,SAAO,WAAW;AACtB;", "names": ["exports", "error", "require_is", "exports", "exports", "ErrorCodes", "Message", "exports", "Touch", "exports", "Disposable", "exports", "RAL", "exports", "Event", "exports", "CancellationToken", "exports", "CancellationState", "exports", "exports", "MessageReader", "ResolvedMessageReaderOptions", "timeout", "exports", "MessageWriter", "ResolvedMessageWriterOptions", "exports", "result", "exports", "CancelNotification", "ProgressToken", "ProgressNotification", "StarRequestHandler", "Trace", "TraceValues", "TraceFormat", "SetTraceNotification", "LogTraceNotification", "ConnectionErrors", "ConnectionStrategy", "IdCancellationReceiverStrategy", "RequestCancellationReceiverStrategy", "CancellationReceiverStrategy", "CancellationSenderStrategy", "CancellationStrategy", "MessageStrategy", "ConnectionOptions", "ConnectionState", "startTime", "exports", "exports", "RIL", "exports", "process", "exports", "module", "require_main", "exports", "module", "require", "DocumentUri", "URI", "integer", "uinteger", "Position", "Range", "Location", "LocationLink", "Color", "ColorInformation", "ColorPresentation", "FoldingRangeKind", "FoldingRange", "DiagnosticRelatedInformation", "DiagnosticSeverity", "DiagnosticTag", "CodeDescription", "Diagnostic", "Command", "TextEdit", "ChangeAnnotation", "ChangeAnnotationIdentifier", "AnnotatedTextEdit", "TextDocumentEdit", "CreateFile", "RenameFile", "DeleteFile", "WorkspaceEdit", "TextEditChangeImpl", "ChangeAnnotations", "WorkspaceChange", "TextDocumentIdentifier", "VersionedTextDocumentIdentifier", "OptionalVersionedTextDocumentIdentifier", "TextDocumentItem", "MarkupKind", "MarkupContent", "CompletionItemKind", "InsertTextFormat", "CompletionItemTag", "InsertReplaceEdit", "InsertTextMode", "CompletionItemLabelDetails", "CompletionItem", "CompletionList", "MarkedString", "Hover", "ParameterInformation", "SignatureInformation", "DocumentHighlightKind", "DocumentHighlight", "SymbolKind", "SymbolTag", "SymbolInformation", "WorkspaceSymbol", "DocumentSymbol", "CodeActionKind", "CodeActionTriggerKind", "CodeActionContext", "CodeAction", "CodeLens", "FormattingOptions", "DocumentLink", "SelectionRange", "SemanticTokenTypes", "SemanticTokenModifiers", "SemanticTokens", "InlineValueText", "InlineValueVariableLookup", "InlineValueEvaluatableExpression", "InlineValueContext", "InlayHintKind", "InlayHintLabelPart", "InlayHint", "StringValue", "InlineCompletionItem", "InlineCompletionList", "InlineCompletionTriggerKind", "SelectedCompletionInfo", "InlineCompletionContext", "WorkspaceFolder", "TextDocument", "FullTextDocument", "Is", "undefined", "require_messages", "exports", "MessageDirection", "require_is", "exports", "exports", "ImplementationRequest", "exports", "TypeDefinitionRequest", "exports", "WorkspaceFoldersRequest", "DidChangeWorkspaceFoldersNotification", "exports", "ConfigurationRequest", "exports", "DocumentColorRequest", "ColorPresentationRequest", "exports", "FoldingRangeRequest", "FoldingRangeRefreshRequest", "exports", "DeclarationRequest", "exports", "SelectionRangeRequest", "exports", "WorkDoneProgress", "WorkDoneProgressCreateRequest", "WorkDoneProgressCancelNotification", "exports", "CallHierarchyPrepareRequest", "CallHierarchyIncomingCallsRequest", "CallHierarchyOutgoingCallsRequest", "exports", "TokenFormat", "SemanticTokensRegistrationType", "SemanticTokensRequest", "SemanticTokensDeltaRequest", "SemanticTokensRangeRequest", "SemanticTokensRefreshRequest", "exports", "ShowDocumentRequest", "exports", "LinkedEditingRangeRequest", "exports", "FileOperationPatternKind", "WillCreateFilesRequest", "DidCreateFilesNotification", "WillRenameFilesRequest", "DidRenameFilesNotification", "DidDeleteFilesNotification", "WillDeleteFilesRequest", "exports", "UniquenessLevel", "MonikerKind", "MonikerRequest", "exports", "TypeHierarchyPrepareRequest", "TypeHierarchySupertypesRequest", "TypeHierarchySubtypesRequest", "exports", "InlineValueRequest", "InlineValueRefreshRequest", "exports", "InlayHintRequest", "InlayHintResolveRequest", "InlayHintRefreshRequest", "exports", "DiagnosticServerCancellationData", "DocumentDiagnosticReportKind", "DocumentDiagnosticRequest", "WorkspaceDiagnosticRequest", "DiagnosticRefreshRequest", "exports", "NotebookCellKind", "ExecutionSummary", "NotebookCell", "NotebookDocument", "NotebookDocumentSyncRegistrationType", "DidOpenNotebookDocumentNotification", "NotebookCellArrayChange", "DidChangeNotebookDocumentNotification", "DidSaveNotebookDocumentNotification", "DidCloseNotebookDocumentNotification", "exports", "InlineCompletionRequest", "exports", "TextDocumentFilter", "NotebookDocumentFilter", "NotebookCellTextDocumentFilter", "DocumentSelector", "RegistrationRequest", "UnregistrationRequest", "ResourceOperationKind", "FailureHandlingKind", "PositionEncodingKind", "StaticRegistrationOptions", "TextDocumentRegistrationOptions", "WorkDoneProgressOptions", "InitializeRequest", "InitializeErrorCodes", "InitializedNotification", "ShutdownRequest", "ExitNotification", "DidChangeConfigurationNotification", "MessageType", "ShowMessageNotification", "ShowMessageRequest", "LogMessageNotification", "TelemetryEventNotification", "TextDocumentSyncKind", "DidOpenTextDocumentNotification", "TextDocumentContentChangeEvent", "DidChangeTextDocumentNotification", "DidCloseTextDocumentNotification", "DidSaveTextDocumentNotification", "TextDocumentSaveReason", "WillSaveTextDocumentNotification", "WillSaveTextDocumentWaitUntilRequest", "DidChangeWatchedFilesNotification", "FileChangeType", "RelativePattern", "WatchKind", "PublishDiagnosticsNotification", "CompletionTriggerKind", "CompletionRequest", "CompletionResolveRequest", "HoverRequest", "SignatureHelpTriggerKind", "SignatureHelpRequest", "DefinitionRequest", "ReferencesRequest", "DocumentHighlightRequest", "DocumentSymbolRequest", "CodeActionRequest", "CodeActionResolveRequest", "WorkspaceSymbolRequest", "WorkspaceSymbolResolveRequest", "CodeLensRequest", "CodeLensResolveRequest", "CodeLensRefreshRequest", "DocumentLinkRequest", "DocumentLinkResolveRequest", "DocumentFormattingRequest", "DocumentRangeFormattingRequest", "DocumentRangesFormattingRequest", "DocumentOnTypeFormattingRequest", "PrepareSupportDefaultBehavior", "RenameRequest", "PrepareRenameRequest", "ExecuteCommandRequest", "ApplyWorkspaceEditRequest", "require_connection", "exports", "require_api", "exports", "LSPErrorCodes", "require_main", "exports", "exports", "delay", "exports", "exports", "exports", "exports", "exports", "DiagnosticCode", "exports", "exports", "exports", "exports", "exports", "InsertReplaceRange", "code", "exports", "CodeBlock", "exports", "exports", "exports", "StaticFeature", "DynamicFeature", "client", "data", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "set", "exports", "vsdiag", "DocumentDiagnosticReportKind", "DiagnosticPullMode", "RequestStateKind", "PullState", "DocumentOrUri", "client", "document", "previousResultId", "token", "result", "resultIds", "exports", "Converter", "c2p", "event", "$NotebookCell", "$NotebookDocumentFilter", "$NotebookDocumentSyncOptions", "SyncInfo", "client", "notebookDocument", "cells", "exports", "client", "params", "sections", "exports", "client", "textDocument", "event", "exports", "client", "document", "position", "context", "token", "item", "exports", "client", "document", "position", "token", "exports", "client", "document", "position", "token", "exports", "client", "document", "position", "context", "token", "exports", "client", "document", "position", "token", "exports", "client", "document", "token", "exports", "client", "query", "token", "item", "exports", "client", "options", "document", "position", "token", "exports", "client", "document", "range", "context", "token", "item", "exports", "client", "document", "token", "codeLens", "exports", "FileFormattingOptions", "client", "options", "document", "token", "range", "ranges", "position", "ch", "exports", "client", "document", "position", "newName", "token", "exports", "client", "document", "token", "link", "exports", "client", "exports", "client", "exports", "client", "color", "context", "token", "document", "exports", "client", "document", "position", "token", "exports", "client", "document", "position", "token", "exports", "client", "event", "exports", "client", "document", "token", "exports", "client", "document", "position", "token", "exports", "client", "document", "positions", "token", "exports", "client", "exports", "client", "document", "position", "token", "item", "exports", "client", "document", "token", "previousResultId", "range", "exports", "client", "exports", "client", "document", "position", "token", "exports", "client", "document", "position", "token", "item", "exports", "client", "document", "viewPort", "context", "token", "exports", "client", "document", "viewPort", "token", "exports", "client", "document", "position", "context", "token", "exports", "RevealOutputChannelOn", "ErrorAction", "CloseAction", "State", "SuspendMode", "ResolvedClientOptions", "client", "ClientState", "MessageTransports", "type", "param", "token", "params", "disposable", "timeout", "connection", "event", "uri", "diagnostics", "error", "ProposedFeatures", "exports", "process", "require_node", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "exports", "module", "require_api", "exports", "require_main", "exports", "TransportKind", "Transport", "Executable", "NodeModule", "StreamInfo", "ChildProcessInfo", "LanguageClient", "timeout", "process", "cp", "transport", "require_node", "exports", "module", "ky", "ky", "asset"] } diff --git a/src/controller/cargo.rs b/src/controller/cargo.rs index fc62bb6..b8249df 100644 --- a/src/controller/cargo.rs +++ b/src/controller/cargo.rs @@ -38,7 +38,6 @@ pub struct CargoResolveOutput { #[tracing::instrument(name = "cargo_resolve", level = "trace")] pub async fn cargo_resolve(ctx: &Ctx) -> Result { - info!("start resolve {}", ctx.rev); let path = Path::new(ctx.uri.path().as_str()); let gctx = cargo::util::context::GlobalContext::default().map_err(CargoError::resolve_error)?; let workspace = @@ -114,7 +113,6 @@ pub async fn cargo_resolve(ctx: &Ctx) -> Result ); } } - info!("finished resolve inside {}", ctx.rev); Ok(CargoResolveOutput { ctx: ctx.clone(), dependencies: res, diff --git a/src/controller/hover.rs b/src/controller/hover.rs index 294ceca..32deaf1 100644 --- a/src/controller/hover.rs +++ b/src/controller/hover.rs @@ -3,8 +3,8 @@ use std::collections::HashMap; use tower_lsp::lsp_types::{Hover, HoverContents, MarkedString}; use crate::entity::{ - Dependency, DependencyEntryKind, DependencyKeyKind, EntryKind, KeyKind, NodeKind, TomlNode, - WorkspaceKeyKind, + commit_str, git_ref_str, Dependency, DependencyEntryKind, DependencyKeyKind, EntryKind, + KeyKind, NodeKind, TomlNode, WorkspaceKeyKind, }; pub fn hover( @@ -71,6 +71,24 @@ pub fn hover( range: Some(node.range), }) } + NodeKind::Entry(EntryKind::Dependency(_, DependencyEntryKind::TableDependencyGit)) => { + let source_id = dep?.resolved.as_ref()?.package_id().source_id(); + let git_ref = git_ref_str(&source_id); + let commit = commit_str(&source_id); + //make a new string of markdown list "- \n - \n" + //if git_ref is some and commit is some + let mut s = String::new(); + if let Some(git_ref) = git_ref { + s.push_str(&format!("- {}\n", git_ref)); + } + if let Some(commit) = commit { + s.push_str(&format!("- {}\n", commit)); + } + Some(Hover { + contents: HoverContents::Scalar(MarkedString::String(s)), + range: Some(node.range), + }) + } _ => None, } } diff --git a/src/decoration.rs b/src/decoration.rs index 006cea3..61ac57a 100644 --- a/src/decoration.rs +++ b/src/decoration.rs @@ -5,8 +5,9 @@ use tower_lsp::{ lsp_types::{InlayHint, Range, Uri}, Client, }; +use tracing::info; -use crate::entity::Dependency; +use crate::entity::{commit_str_short, git_ref_str, Dependency}; pub mod inlay_hint; @@ -84,11 +85,25 @@ pub struct DecorationPayload { installed: String, latest_matched: String, latest: String, + //(ref,commit) + git: Option<(String, String)>, } pub fn decoration_payload(dep: &Dependency) -> DecorationPayload { + let mut git = None; let installed = match dep.resolved.as_ref() { - Some(resolved) => resolved.version().to_string(), + Some(resolved) => { + if resolved.package_id().source_id().is_git() { + git = Some(( + git_ref_str(&resolved.package_id().source_id()).unwrap_or_default(), + commit_str_short(&resolved.package_id().source_id()) + .map_or(String::new(), |c| c.to_string()), + )); + String::new() + } else { + resolved.version().to_string() + } + } None => "".to_string(), }; let latest_matched = match dep.latest_matched_summary.as_ref() { @@ -103,12 +118,21 @@ pub fn decoration_payload(dep: &Dependency) -> DecorationPayload { installed, latest_matched, latest, + git, } } pub fn formatted_string(dep: &Dependency, formatter: &DecorationFormatter) -> Option { let version = version_decoration(dep); let payload = decoration_payload(dep); + if let Some((r, commit)) = payload.git { + return Some( + formatter + .git + .replace("{{ref}}", &r) + .replace("{{commit}}", &commit), + ); + } match version { VersionDecoration::Latest => Some( formatter @@ -211,6 +235,7 @@ pub fn version_decoration(dep: &Dependency) -> VersionDecoration { /// - installed: the installed version /// - latest_matched: the latest compatible version /// - latest: the latest version, the latest version may or may not be compatilbe with the version requirement +/// - git: if the dependency source is git /// /// the formatter has 7 fields: /// latest: the dependency has the latest version installed @@ -221,6 +246,7 @@ pub fn version_decoration(dep: &Dependency) -> VersionDecoration { /// compatible_latest: the installed version can update to latest version /// noncompatible_latest: the installed version can't upate to latest version /// yanked: the installed version is yanked +/// git: support {{ref}}, {{commit}} #[derive(Debug, Deserialize, Clone)] #[serde(rename_all = "camelCase")] pub struct DecorationFormatter { @@ -240,6 +266,8 @@ pub struct DecorationFormatter { pub noncompatible_latest: String, #[serde(default = "default_yanked")] pub yanked: String, + #[serde(default = "default_git")] + pub git: String, } impl Default for DecorationFormatter { @@ -253,6 +281,7 @@ impl Default for DecorationFormatter { waiting: default_waiting(), mixed_upgradeable: default_mixed_upgradeable(), yanked: default_yanked(), + git: default_git(), } } } @@ -288,3 +317,7 @@ fn default_local() -> String { fn default_yanked() -> String { "❌ yanked {{installed}}, {{latest_matched}}".to_string() } + +fn default_git() -> String { + "🐙 {{commit}}".to_string() +} diff --git a/src/entity.rs b/src/entity.rs index f3b4784..b6cfbaa 100644 --- a/src/entity.rs +++ b/src/entity.rs @@ -19,6 +19,7 @@ pub use entry::*; pub use key::*; pub use manifest::*; pub use node::*; +pub use package::*; pub use table::*; pub use toml_error::*; pub use tree::*; diff --git a/src/entity/package.rs b/src/entity/package.rs index a640b51..9c7af97 100644 --- a/src/entity/package.rs +++ b/src/entity/package.rs @@ -1,3 +1,5 @@ +use cargo::core::SourceId; + use super::Value; //Package is a semantic representation of cargo.toml's package table @@ -15,3 +17,40 @@ pub struct Package { readme: Option>, workspace: Option>, } + +pub fn git_ref_str(source_id: &SourceId) -> Option { + if source_id.is_git() { + let Some(r) = source_id.git_reference() else { + return None; + }; + match r.pretty_ref(false) { + Some(r) => return Some(r.to_string()), + None => return None, + }; + } + None +} + +pub fn commit_str(source_id: &SourceId) -> Option<&str> { + if source_id.is_git() { + let Some(c) = source_id.precise_git_fragment() else { + return None; + }; + return Some(c); + } + None +} + +pub fn commit_str_short(source_id: &SourceId) -> Option<&str> { + // Get the full commit hash + let Some(commit) = commit_str(source_id) else { + return None; + }; + + // Handle case where commit hash is shorter than 7 chars + if commit.len() < 7 { + Some(commit) + } else { + Some(&commit[..7]) + } +} diff --git a/src/main.rs b/src/main.rs index 70e19bd..d15cf44 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ use tokio::sync::{mpsc::Sender, oneshot}; use tower_lsp::jsonrpc::Result; use tower_lsp::lsp_types::*; use tower_lsp::{Client, LanguageServer, LspService, Server}; -use tracing::{error, info, warn}; +use tracing::{error, info}; mod config; mod controller;