@jsjoeio/code-server
Version:
Run VS Code on a remote server.
1 lines • 1.31 MB
JavaScript
!function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=36)}([function(e,t,n){"use strict";var r,i,o,a,s,l,c,d,h,p,u,m,f,g,b,v,y,w,x,S,_,k,T,C,R,E;n.r(t),n.d(t,"integer",(function(){return r})),n.d(t,"uinteger",(function(){return i})),n.d(t,"Position",(function(){return o})),n.d(t,"Range",(function(){return a})),n.d(t,"Location",(function(){return s})),n.d(t,"LocationLink",(function(){return l})),n.d(t,"Color",(function(){return c})),n.d(t,"ColorInformation",(function(){return d})),n.d(t,"ColorPresentation",(function(){return h})),n.d(t,"FoldingRangeKind",(function(){return p})),n.d(t,"FoldingRange",(function(){return u})),n.d(t,"DiagnosticRelatedInformation",(function(){return m})),n.d(t,"DiagnosticSeverity",(function(){return f})),n.d(t,"DiagnosticTag",(function(){return g})),n.d(t,"CodeDescription",(function(){return b})),n.d(t,"Diagnostic",(function(){return v})),n.d(t,"Command",(function(){return y})),n.d(t,"TextEdit",(function(){return w})),n.d(t,"ChangeAnnotation",(function(){return x})),n.d(t,"ChangeAnnotationIdentifier",(function(){return S})),n.d(t,"AnnotatedTextEdit",(function(){return _})),n.d(t,"TextDocumentEdit",(function(){return k})),n.d(t,"CreateFile",(function(){return T})),n.d(t,"RenameFile",(function(){return C})),n.d(t,"DeleteFile",(function(){return R})),n.d(t,"WorkspaceEdit",(function(){return E})),n.d(t,"WorkspaceChange",(function(){return se})),n.d(t,"TextDocumentIdentifier",(function(){return D})),n.d(t,"VersionedTextDocumentIdentifier",(function(){return M})),n.d(t,"OptionalVersionedTextDocumentIdentifier",(function(){return z})),n.d(t,"TextDocumentItem",(function(){return I})),n.d(t,"MarkupKind",(function(){return F})),n.d(t,"MarkupContent",(function(){return P})),n.d(t,"CompletionItemKind",(function(){return A})),n.d(t,"InsertTextFormat",(function(){return N})),n.d(t,"CompletionItemTag",(function(){return L})),n.d(t,"InsertReplaceEdit",(function(){return O})),n.d(t,"InsertTextMode",(function(){return W})),n.d(t,"CompletionItem",(function(){return q})),n.d(t,"CompletionList",(function(){return U})),n.d(t,"MarkedString",(function(){return H})),n.d(t,"Hover",(function(){return j})),n.d(t,"ParameterInformation",(function(){return B})),n.d(t,"SignatureInformation",(function(){return V})),n.d(t,"DocumentHighlightKind",(function(){return K})),n.d(t,"DocumentHighlight",(function(){return $})),n.d(t,"SymbolKind",(function(){return G})),n.d(t,"SymbolTag",(function(){return J})),n.d(t,"SymbolInformation",(function(){return X})),n.d(t,"DocumentSymbol",(function(){return Y})),n.d(t,"CodeActionKind",(function(){return Z})),n.d(t,"CodeActionContext",(function(){return Q})),n.d(t,"CodeAction",(function(){return ee})),n.d(t,"CodeLens",(function(){return te})),n.d(t,"FormattingOptions",(function(){return ne})),n.d(t,"DocumentLink",(function(){return re})),n.d(t,"SelectionRange",(function(){return ie})),n.d(t,"EOL",(function(){return ce})),n.d(t,"TextDocument",(function(){return le})),function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(r||(r={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(i||(i={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=i.MAX_VALUE),t===Number.MAX_VALUE&&(t=i.MAX_VALUE),{line:e,character:t}},e.is=function(e){var t=e;return de.objectLiteral(t)&&de.uinteger(t.line)&&de.uinteger(t.character)}}(o||(o={})),function(e){e.create=function(e,t,n,r){if(de.uinteger(e)&&de.uinteger(t)&&de.uinteger(n)&&de.uinteger(r))return{start:o.create(e,t),end:o.create(n,r)};if(o.is(e)&&o.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){var t=e;return de.objectLiteral(t)&&o.is(t.start)&&o.is(t.end)}}(a||(a={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return de.defined(t)&&a.is(t.range)&&(de.string(t.uri)||de.undefined(t.uri))}}(s||(s={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return de.defined(t)&&a.is(t.targetRange)&&de.string(t.targetUri)&&(a.is(t.targetSelectionRange)||de.undefined(t.targetSelectionRange))&&(a.is(t.originSelectionRange)||de.undefined(t.originSelectionRange))}}(l||(l={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return de.numberRange(t.red,0,1)&&de.numberRange(t.green,0,1)&&de.numberRange(t.blue,0,1)&&de.numberRange(t.alpha,0,1)}}(c||(c={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return a.is(t.range)&&c.is(t.color)}}(d||(d={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return de.string(t.label)&&(de.undefined(t.textEdit)||w.is(t))&&(de.undefined(t.additionalTextEdits)||de.typedArray(t.additionalTextEdits,w.is))}}(h||(h={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(p||(p={})),function(e){e.create=function(e,t,n,r,i){var o={startLine:e,endLine:t};return de.defined(n)&&(o.startCharacter=n),de.defined(r)&&(o.endCharacter=r),de.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return de.uinteger(t.startLine)&&de.uinteger(t.startLine)&&(de.undefined(t.startCharacter)||de.uinteger(t.startCharacter))&&(de.undefined(t.endCharacter)||de.uinteger(t.endCharacter))&&(de.undefined(t.kind)||de.string(t.kind))}}(u||(u={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return de.defined(t)&&s.is(t.location)&&de.string(t.message)}}(m||(m={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(f||(f={})),function(e){e.Unnecessary=1,e.Deprecated=2}(g||(g={})),function(e){e.is=function(e){var t=e;return null!=t&&de.string(t.href)}}(b||(b={})),function(e){e.create=function(e,t,n,r,i,o){var a={range:e,message:t};return de.defined(n)&&(a.severity=n),de.defined(r)&&(a.code=r),de.defined(i)&&(a.source=i),de.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t,n=e;return de.defined(n)&&a.is(n.range)&&de.string(n.message)&&(de.number(n.severity)||de.undefined(n.severity))&&(de.integer(n.code)||de.string(n.code)||de.undefined(n.code))&&(de.undefined(n.codeDescription)||de.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(de.string(n.source)||de.undefined(n.source))&&(de.undefined(n.relatedInformation)||de.typedArray(n.relatedInformation,m.is))}}(v||(v={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={title:e,command:t};return de.defined(n)&&n.length>0&&(i.arguments=n),i},e.is=function(e){var t=e;return de.defined(t)&&de.string(t.title)&&de.string(t.command)}}(y||(y={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return de.objectLiteral(t)&&de.string(t.newText)&&a.is(t.range)}}(w||(w={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){var t=e;return void 0!==t&&de.objectLiteral(t)&&de.string(t.label)&&(de.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(de.string(t.description)||void 0===t.description)}}(x||(x={})),function(e){e.is=function(e){return"string"==typeof e}}(S||(S={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){var t=e;return w.is(t)&&(x.is(t.annotationId)||S.is(t.annotationId))}}(_||(_={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return de.defined(t)&&z.is(t.textDocument)&&Array.isArray(t.edits)}}(k||(k={})),function(e){e.create=function(e,t,n){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&"create"===t.kind&&de.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||de.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||de.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||S.is(t.annotationId))}}(T||(T={})),function(e){e.create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&de.string(t.oldUri)&&de.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||de.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||de.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||S.is(t.annotationId))}}(C||(C={})),function(e){e.create=function(e,t,n){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&"delete"===t.kind&&de.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||de.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||de.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||S.is(t.annotationId))}}(R||(R={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return de.string(e.kind)?T.is(e)||C.is(e)||R.is(e):k.is(e)})))}}(E||(E={}));var D,M,z,I,F,P,A,N,L,O,W,q,U,H,j,B,V,K,$,G,J,X,Y,Z,Q,ee,te,ne,re,ie,oe=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=w.insert(e,t):S.is(n)?(i=n,r=_.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=_.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=w.replace(e,t):S.is(n)?(i=n,r=_.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=_.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=w.del(e):S.is(t)?(r=t,n=_.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=_.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),ae=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(S.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}(),se=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new ae(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(k.is(e)){var n=new oe(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new oe(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}return Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(z.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new oe(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new oe(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new ae,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,o;if(x.is(t)||S.is(t)?r=t:n=t,void 0===r?i=T.create(e,n):(o=S.is(r)?r:this._changeAnnotations.manage(r),i=T.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,o,a;if(x.is(n)||S.is(n)?i=n:r=n,void 0===i?o=C.create(e,t,r):(a=S.is(i)?i:this._changeAnnotations.manage(i),o=C.create(e,t,r,a)),this._workspaceEdit.documentChanges.push(o),void 0!==a)return a},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,o;if(x.is(t)||S.is(t)?r=t:n=t,void 0===r?i=R.create(e,n):(o=S.is(r)?r:this._changeAnnotations.manage(r),i=R.create(e,n,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return de.defined(t)&&de.string(t.uri)}}(D||(D={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return de.defined(t)&&de.string(t.uri)&&de.integer(t.version)}}(M||(M={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return de.defined(t)&&de.string(t.uri)&&(null===t.version||de.integer(t.version))}}(z||(z={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return de.defined(t)&&de.string(t.uri)&&de.string(t.languageId)&&de.integer(t.version)&&de.string(t.text)}}(I||(I={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(F||(F={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(F||(F={})),function(e){e.is=function(e){var t=e;return de.objectLiteral(e)&&F.is(t.kind)&&de.string(t.value)}}(P||(P={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(A||(A={})),function(e){e.PlainText=1,e.Snippet=2}(N||(N={})),function(e){e.Deprecated=1}(L||(L={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&de.string(t.newText)&&a.is(t.insert)&&a.is(t.replace)}}(O||(O={})),function(e){e.asIs=1,e.adjustIndentation=2}(W||(W={})),function(e){e.create=function(e){return{label:e}}}(q||(q={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(U||(U={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return de.string(t)||de.objectLiteral(t)&&de.string(t.language)&&de.string(t.value)}}(H||(H={})),function(e){e.is=function(e){var t=e;return!!t&&de.objectLiteral(t)&&(P.is(t.contents)||H.is(t.contents)||de.typedArray(t.contents,H.is))&&(void 0===e.range||a.is(e.range))}}(j||(j={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(B||(B={})),function(e){e.create=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={label:e};return de.defined(t)&&(i.documentation=t),de.defined(n)?i.parameters=n:i.parameters=[],i}}(V||(V={})),function(e){e.Text=1,e.Read=2,e.Write=3}(K||(K={})),function(e){e.create=function(e,t){var n={range:e};return de.number(t)&&(n.kind=t),n}}($||($={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(G||(G={})),function(e){e.Deprecated=1}(J||(J={})),function(e){e.create=function(e,t,n,r,i){var o={name:e,kind:t,location:{uri:r,range:n}};return i&&(o.containerName=i),o}}(X||(X={})),function(e){e.create=function(e,t,n,r,i,o){var a={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&de.string(t.name)&&de.number(t.kind)&&a.is(t.range)&&a.is(t.selectionRange)&&(void 0===t.detail||de.string(t.detail))&&(void 0===t.deprecated||de.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(Y||(Y={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(Z||(Z={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return de.defined(t)&&de.typedArray(t.diagnostics,v.is)&&(void 0===t.only||de.typedArray(t.only,de.string))}}(Q||(Q={})),function(e){e.create=function(e,t,n){var r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):y.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},e.is=function(e){var t=e;return t&&de.string(t.title)&&(void 0===t.diagnostics||de.typedArray(t.diagnostics,v.is))&&(void 0===t.kind||de.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||y.is(t.command))&&(void 0===t.isPreferred||de.boolean(t.isPreferred))&&(void 0===t.edit||E.is(t.edit))}}(ee||(ee={})),function(e){e.create=function(e,t){var n={range:e};return de.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return de.defined(t)&&a.is(t.range)&&(de.undefined(t.command)||y.is(t.command))}}(te||(te={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return de.defined(t)&&de.uinteger(t.tabSize)&&de.boolean(t.insertSpaces)}}(ne||(ne={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return de.defined(t)&&a.is(t.range)&&(de.undefined(t.target)||de.string(t.target))}}(re||(re={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&a.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(ie||(ie={}));var le,ce=["\n","\r\n","\r"];!function(e){e.create=function(e,t,n,r){return new he(e,t,n,r)},e.is=function(e){var t=e;return!!(de.defined(t)&&de.string(t.uri)&&(de.undefined(t.languageId)||de.string(t.languageId))&&de.uinteger(t.lineCount)&&de.func(t.getText)&&de.func(t.positionAt)&&de.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),r=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);var a=0,s=0,l=0;for(;a<i.length&&s<o.length;){var c=n(i[a],o[s]);t[l++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[l++]=i[a++];for(;s<o.length;)t[l++]=o[s++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=n.length,o=r.length-1;o>=0;o--){var a=r[o],s=e.offsetAt(a.range.start),l=e.offsetAt(a.range.end);if(!(l<=i))throw new Error("Overlapping edit");n=n.substring(0,s)+a.newText+n.substring(l,n.length),i=s}return n}}(le||(le={}));var de,he=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r<t.length;r++){n&&(e.push(r),n=!1);var i=t.charAt(r);n="\r"===i||"\n"===i,"\r"===i&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return o.create(0,e);for(;n<r;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i+1}var a=n-1;return o.create(a,e-t[a])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(de||(de={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=t.loadMessageBundle=void 0;var r=n(12),i=n(13),o=n(29),a=n(30),s=n(30);Object.defineProperty(t,"MessageFormat",{enumerable:!0,get:function(){return s.MessageFormat}}),Object.defineProperty(t,"BundleFormat",{enumerable:!0,get:function(){return s.BundleFormat}});var l,c,d=Object.prototype.toString;function h(e){return"[object Number]"===d.call(e)}function p(e){return"[object String]"===d.call(e)}function u(e){return JSON.parse(i.readFileSync(e,"utf8"))}function m(e){return function(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return h(t)?t>=e.length?void console.error("Broken localize call found. Index out of bounds. Stacktrace is\n: "+new Error("").stack):a.format(e[t],r):p(n)?(console.warn("Message "+n+" didn't get externalized correctly."),a.format(n,r)):void console.error("Broken localize call found. Stacktrace is\n: "+new Error("").stack)}}function f(e,t){return l[e]=t,t}function g(e,t){var n,o,a,s=r.join(c.cacheRoot,e.id+"-"+e.hash+".json"),l=!1,d=!1;try{return n=JSON.parse(i.readFileSync(s,{encoding:"utf8",flag:"r"})),o=s,a=new Date,i.utimes(o,a,a,(function(){})),n}catch(e){if("ENOENT"===e.code)d=!0;else{if(!(e instanceof SyntaxError))throw e;console.log("Syntax error parsing message bundle: "+e.message+"."),i.unlink(s,(function(e){e&&console.error("Deleting corrupted bundle "+s+" failed.")})),l=!0}}if(!(n=function(e,t){var n=c.translationsConfig[e.id];if(n){var i=u(n).contents,o=u(r.join(t,"nls.metadata.json")),a=Object.create(null);for(var s in o){var l=o[s],d=i[e.outDir+"/"+s];if(d){for(var h=[],m=0;m<l.keys.length;m++){var f=l.keys[m],g=d[p(f)?f:f.key];void 0===g&&(g=l.messages[m]),h.push(g)}a[s]=h}else a[s]=l.messages}return a}}(e,t))||l)return n;if(d)try{i.writeFileSync(s,JSON.stringify(n),{encoding:"utf8",flag:"wx"})}catch(e){if("EEXIST"===e.code)return n;throw e}return n}function b(e){try{return function(e){var t=u(r.join(e,"nls.metadata.json")),n=Object.create(null);for(var i in t){var o=t[i];n[i]=o.messages}return n}(e)}catch(e){return void console.log("Generating default bundle from meta data failed.",e)}}function v(e,t){var n;if(!0===c.languagePackSupport&&void 0!==c.cacheRoot&&void 0!==c.languagePackId&&void 0!==c.translationsConfigFile&&void 0!==c.translationsConfig)try{n=g(e,t)}catch(e){console.log("Load or create bundle failed ",e)}if(!n){if(c.languagePackSupport)return b(t);var o=function(e){for(var t=c.language;t;){var n=r.join(e,"nls.bundle."+t+".json");if(i.existsSync(n))return n;var o=t.lastIndexOf("-");t=o>0?t.substring(0,o):void 0}if(void 0===t){n=r.join(e,"nls.bundle.json");if(i.existsSync(n))return n}}(t);if(o)try{return u(o)}catch(e){console.log("Loading in the box message bundle failed.",e)}n=b(t)}return n}function y(e){if(!e)return a.localize;var t=r.extname(e);if(t&&(e=e.substr(0,e.length-t.length)),c.messageFormat===a.MessageFormat.both||c.messageFormat===a.MessageFormat.bundle){var n=function(e){for(var t,n=r.dirname(e);t=r.join(n,"nls.metadata.header.json"),!i.existsSync(t);){var o=r.dirname(n);if(o===n){t=void 0;break}n=o}return t}(e);if(n){var o=r.dirname(n),s=l[o];if(void 0===s)try{var d=JSON.parse(i.readFileSync(n,"utf8"));try{var h=v(d,o);s=f(o,h?{header:d,nlsBundle:h}:null)}catch(e){console.error("Failed to load nls bundle",e),s=f(o,null)}}catch(e){console.error("Failed to read header file",e),s=f(o,null)}if(s){var p=e.substr(o.length+1).replace(/\\/g,"/"),g=s.nlsBundle[p];return void 0===g?(console.error("Messages for file "+e+" not found. See console for details."),function(){return"Messages not found."}):m(g)}}}if(c.messageFormat===a.MessageFormat.both||c.messageFormat===a.MessageFormat.file)try{var b=u(function(e){var t;if(c.cacheLanguageResolution&&t)t=t;else{if(a.isPseudo||!c.language)t=".nls.json";else for(var n=c.language;n;){var r=".nls."+n+".json";if(i.existsSync(e+r)){t=r;break}var o=n.lastIndexOf("-");o>0?n=n.substring(0,o):(t=".nls.json",n=null)}c.cacheLanguageResolution&&(t=t)}return e+t}(e));return Array.isArray(b)?m(b):a.isDefined(b.messages)&&a.isDefined(b.keys)?m(b.messages):(console.error("String bundle '"+e+"' uses an unsupported format."),function(){return"File bundle has unsupported format. See console for details"})}catch(e){"ENOENT"!==e.code&&console.error("Failed to load single file bundle",e)}return console.error("Failed to load message bundle for file "+e),function(){return"Failed to load message bundle. See console for details."}}function w(e){return e&&(p(e.locale)&&(c.locale=e.locale.toLowerCase(),c.language=c.locale,l=Object.create(null)),void 0!==e.messageFormat&&(c.messageFormat=e.messageFormat),e.bundleFormat===a.BundleFormat.standalone&&!0===c.languagePackSupport&&(c.languagePackSupport=!1)),a.setPseudo("pseudo"===c.locale),y}!function(){if(c={locale:void 0,language:void 0,languagePackSupport:!1,cacheLanguageResolution:!0,messageFormat:a.MessageFormat.bundle},p(process.env.VSCODE_NLS_CONFIG))try{var e=JSON.parse(process.env.VSCODE_NLS_CONFIG),t=void 0;if(e.availableLanguages){var n=e.availableLanguages["*"];p(n)&&(t=n)}if(p(e.locale)&&(c.locale=e.locale.toLowerCase()),void 0===t?c.language=c.locale:"en"!==t&&(c.language=t),function(e){return!0===e||!1===e}(e._languagePackSupport)&&(c.languagePackSupport=e._languagePackSupport),p(e._cacheRoot)&&(c.cacheRoot=e._cacheRoot),p(e._languagePackId)&&(c.languagePackId=e._languagePackId),p(e._translationsConfigFile)){c.translationsConfigFile=e._translationsConfigFile;try{c.translationsConfig=u(c.translationsConfigFile)}catch(t){if(e._corruptedFile){var o=r.dirname(e._corruptedFile);i.exists(o,(function(t){t&&i.writeFile(e._corruptedFile,"corrupted","utf8",(function(e){console.error(e)}))}))}}}}catch(e){}a.setPseudo("pseudo"===c.locale),l=Object.create(null)}(),t.loadMessageBundle=y,t.config=w,o.default.install(Object.freeze({loadMessageBundle:y,config:w}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtocolNotificationType=t.ProtocolNotificationType0=t.ProtocolRequestType=t.ProtocolRequestType0=t.RegistrationType=void 0;const r=n(8);t.RegistrationType=class{constructor(e){this.method=e}};class i extends r.RequestType0{constructor(e){super(e)}}t.ProtocolRequestType0=i;class o extends r.RequestType{constructor(e){super(e,r.ParameterStructures.byName)}}t.ProtocolRequestType=o;class a extends r.NotificationType0{constructor(e){super(e)}}t.ProtocolNotificationType0=a;class s extends r.NotificationType{constructor(e){super(e,r.ParameterStructures.byName)}}t.ProtocolNotificationType=s},function(e,t,n){"use strict";var r;n.r(t),n.d(t,"URI",(function(){return i})),n.d(t,"Utils",(function(){return o})),r=(()=>{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(r.length<2||2!==i||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===e&&(e=process.cwd()),a=e),t(a),0!==a.length&&(r=a+"/"+r,i=47===a.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var l=n.length-s,c=a<l?a:l,d=-1,h=0;h<=c;++h){if(h===c){if(l>c){if(47===n.charCodeAt(s+h))return n.slice(s+h+1);if(0===h)return n.slice(s+h)}else a>c&&(47===e.charCodeAt(i+h)?d=h:0===h&&(d=0));break}var p=e.charCodeAt(i+h);if(p!==n.charCodeAt(s+h))break;47===p&&(d=h)}var u="";for(h=i+d+1;h<=o;++h)h!==o&&47!==e.charCodeAt(h)||(0===u.length?u+="..":u+="/..");return u.length>0?u+n.slice(s+d):(s+=d,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!a){i=r+1;break}}else-1===l&&(a=!1,l=r+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===i&&(o=!1,i=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,c=!0,d=e.length-1,h=0;d>=r;--d)if(47!==(i=e.charCodeAt(d)))-1===l&&(c=!1,l=d+1),46===i?-1===a?a=d:1!==h&&(h=1):-1!==a&&(h=-1);else if(!c){s=d+1;break}return-1===a||-1===l||0===h||1===h&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&o?e.slice(1,l):e.slice(s,l)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,l)):(n.name=e.slice(s,a),n.base=e.slice(s,l)),n.ext=e.slice(a,l)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},447:(e,t,n)=>{var r;if(n.r(t),n.d(t,{URI:()=>m,Utils:()=>k}),"object"==typeof process)r="win32"===process.platform;else if("object"==typeof navigator){var i=navigator.userAgent;r=i.indexOf("Windows")>=0}var o,a,s=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//,h="",p="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,m=function(){function e(e,t,n,r,i,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||h,this.authority=e.authority||h,this.path=e.path||h,this.query=e.query||h,this.fragment=e.fragment||h):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||h,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==p&&(t=p+t):t=p}return t}(this.scheme,n||h),this.query=r||h,this.fragment=i||h,function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(d.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return w(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=h),void 0===n?n=this.authority:null===n&&(n=h),void 0===r?r=this.path:null===r&&(r=h),void 0===i?i=this.query:null===i&&(i=h),void 0===o?o=this.fragment:null===o&&(o=h),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new g(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new g(n[2]||h,_(n[4]||h),_(n[5]||h),_(n[7]||h),_(n[9]||h),t):new g(h,h,h,h,h)},e.file=function(e){var t=h;if(r&&(e=e.replace(/\\/g,p)),e[0]===p&&e[1]===p){var n=e.indexOf(p,2);-1===n?(t=e.substring(2),e=p):(t=e.substring(2,n),e=e.substring(n)||p)}return new g("file",t,e,h,h)},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),x(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new g(t);return n._formatted=t.external,n._fsPath=t._sep===f?t.fsPath:null,n}return t},e}(),f=r?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?x(this,!0):(this._formatted||(this._formatted=x(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(m),b=((a={})[58]="%3A",a[47]="%2F",a[63]="%3F",a[35]="%23",a[91]="%5B",a[93]="%5D",a[64]="%40",a[33]="%21",a[36]="%24",a[38]="%26",a[39]="%27",a[40]="%28",a[41]="%29",a[42]="%2A",a[43]="%2B",a[44]="%2C",a[59]="%3B",a[61]="%3D",a[32]="%20",a);function v(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var a=b[o];void 0!==a?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=a):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function y(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=b[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function w(e,t){var n;return n=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,r&&(n=n.replace(/\//g,"\\")),n}function x(e,t){var n=t?y:v,r="",i=e.scheme,o=e.authority,a=e.path,s=e.query,l=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=p,r+=p),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?r+=n(d,!1):(r+=n(d.substr(0,c),!1),r+=":",r+=n(d.substr(c+1),!1)),r+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?r+=n(o,!1):(r+=n(o.substr(0,c),!1),r+=o.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(h=a.charCodeAt(1))>=65&&h<=90&&(a="/"+String.fromCharCode(h+32)+":"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var h;(h=a.charCodeAt(0))>=65&&h<=90&&(a=String.fromCharCode(h+32)+":"+a.substr(2))}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),l&&(r+="#",r+=t?l:v(l,!1)),r}var S=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function _(e){return e.match(S)?e.replace(S,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}var k,T=n(470),C=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},R=T.posix||T;!function(e){e.joinPath=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.with({path:R.join.apply(R,C([e.path],t))})},e.resolvePath=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=e.path||"/";return e.with({path:R.resolve.apply(R,C([r],t))})},e.dirname=function(e){var t=R.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)?e:e.with({path:t})},e.basename=function(e){return R.basename(e.path)},e.extname=function(e){return R.extname(e.path)}}(k||(k={}))}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}return n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(447)})();const{URI:i,Utils:o}=r},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.createProtocolConnection=void 0;const o=n(20);i(n(20),t),i(n(49),t),t.createProtocolConnection=function(e,t,n,r){return o.createMessageConnection(e,t,n,r)}},function(e,t,n){"use strict";let r;function i(){if(void 0===r)throw new Error("No runtime abstraction layer installed");return r}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.install=function(e){if(void 0===e)throw new Error("No runtime abstraction layer provided");r=e}}(i||(i={})),t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguageModes=t.TextDocument=t.TokenType=t.ClientCapabilities=t.TextDocumentIdentifier=t.SelectionRange=t.DiagnosticSeverity=t.ParameterInformation=t.SignatureInformation=t.WorkspaceEdit=t.ColorPresentation=t.ColorInformation=t.Color=t.TextEdit=t.SymbolKind=t.SymbolInformation=t.Range=t.Position=t.Location=t.Hover=t.FormattingOptions=t.FoldingRangeKind=t.FoldingRange=t.DocumentLink=t.DocumentHighlightKind=t.DocumentHighlight=t.Diagnostic=t.CompletionItemKind=t.CompletionList=t.CompletionItem=void 0;const r=n(35),i=n(18),o=n(14),a=n(81),s=n(31),l=n(82),c=n(83);var d=n(7);Object.defineProperty(t,"CompletionItem",{enumerable:!0,get:function(){return d.CompletionItem}}),Object.defineProperty(t,"CompletionList",{enumerable:!0,get:function(){return d.CompletionList}}),Object.defineProperty(t,"CompletionItemKind",{enumerable:!0,get:function(){return d.CompletionItemKind}}),Object.defineProperty(t,"Diagnostic",{enumerable:!0,get:function(){return d.Diagnostic}}),Object.defineProperty(t,"DocumentHighlight",{enumerable:!0,get:function(){return d.DocumentHighlight}}),Object.defineProperty(t,"DocumentHighlightKind",{enumerable:!0,get:function(){return d.DocumentHighlightKind}}),Object.defineProperty(t,"DocumentLink",{enumerable:!0,get:function(){return d.DocumentLink}}),Object.defineProperty(t,"FoldingRange",{enumerable:!0,get:function(){return d.FoldingRange}}),Object.defineProperty(t,"FoldingRangeKind",{enumerable:!0,get:function(){return d.FoldingRangeKind}}),Object.defineProperty(t,"FormattingOptions",{enumerable:!0,get:function(){return d.FormattingOptions}}),Object.defineProperty(t,"Hover",{enumerable:!0,get:function(){return d.Hover}}),Object.defineProperty(t,"Location",{enumerable:!0,get:function(){return d.Location}}),Object.defineProperty(t,"Position",{enumerable:!0,get:function(){return d.Position}}),Object.defineProperty(t,"Range",{enumerable:!0,get:function(){return d.Range}}),Object.defineProperty(t,"SymbolInformation",{enumerable:!0,get:function(){return d.SymbolInformation}}),Object.defineProperty(t,"SymbolKind",{enumerable:!0,get:function(){return d.SymbolKind}}),Object.defineProperty(t,"TextEdit",{enumerable:!0,get:function(){return d.TextEdit}}),Object.defineProperty(t,"Color",{enumerable:!0,get:function(){return d.Color}}),Object.defineProperty(t,"ColorInformation",{enumerable:!0,get:function(){return d.ColorInformation}}),Object.defineProperty(t,"ColorPresentation",{enumerable:!0,get:function(){return d.ColorPresentation}}),Object.defineProperty(t,"WorkspaceEdit",{enumerable:!0,get:function(){return d.WorkspaceEdit}}),Object.defineProperty(t,"SignatureInformation",{enumerable:!0,get:function(){return d.SignatureInformation}}),Object.defineProperty(t,"ParameterInformation",{enumerable:!0,get:function(){return d.ParameterInformation}}),Object.defineProperty(t,"DiagnosticSeverity",{enumerable:!0,get:function(){return d.DiagnosticSeverity}}),Object.defineProperty(t,"SelectionRange",{enumerable:!0,get:function(){return d.SelectionRange}}),Object.defineProperty(t,"TextDocumentIdentifier",{enumerable:!0,get:function(){return d.TextDocumentIdentifier}});var h=n(18);Object.defineProperty(t,"ClientCapabilities",{enumerable:!0,get:function(){return h.ClientCapabilities}}),Object.defineProperty(t,"TokenType",{enumerable:!0,get:function(){return h.TokenType}});var p=n(11);Object.defineProperty(t,"TextDocument",{enumerable:!0,get:function(){return p.TextDocument}}),t.getLanguageModes=function(e,t,n,d){const h=i.getLanguageService({clientCapabilities:n,fileSystemProvider:d}),p=r.getCSSLanguageService({clientCapabilities:n,fileSystemProvider:d});let u=o.getLanguageModelCache(10,60,e=>s.getDocumentRegions(h,e)),m=[];m.push(u);let f=Object.create(null);return f.html=l.getHTMLMode(h,t),e.css&&(f.css=a.getCSSMode(p,u,t)),e.javascript&&(f.javascript=c.getJavaScriptMode(u,"javascript",t),f.typescript=c.getJavaScriptMode(u,"typescript",t)),{async updateDataProviders(e){h.setDataProviders(!0,e)},getModeAtPosition(e,t){let n=u.get(e).getLanguageAtPosition(t);if(n)return f[n]},getModesInRange:(e,t)=>u.get(e).getLanguageRanges(t).map(e=>({start:e.start,end:e.end,mode:e.languageId&&f[e.languageId],attributeValue:e.attributeValue})),getAllModesInDocument(e){let t=[];for(let n of u.get(e).getLanguagesInDocument()){let e=f[n];e&&t.push(e)}return t},getAllModes(){let e=[];for(let t in f){let n=f[t];n&&e.push(n)}return e},getMode:e=>f[e],onDocumentRemoved(e){m.forEach(t=>t.onDocumentRemoved(e));for(let t in f)f[t].onDocumentRemoved(e)},dispose(){m.forEach(e=>e.dispose()),m=[];for(let e in f)f[e].dispose();f={}}}}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.createConnection=t.Files=void 0;const o=n(15),a=n(19),s=n(76),l=n(27);i(n(27),t),i(n(79),t),function(e){e.uriToFilePath=s.uriToFilePath,e.resolveGlobalNodePath=s.resolveGlobalNodePath,e.resolveGlobalYarnPath=s.resolveGlobalYarnPath,e.resolve=s.resolve,e.resolveModulePath=s.resolveModulePath}(t.Files||(t.Files={}));let c=!1,d=void 0;!function(){function e(e){try{let t=parseInt(e);isNaN(t)||(d=setInterval(()=>{try{process.kill(t,0)}catch(e){process.exit(c?0:1)}},3e3))}catch(e){}}for(let t=2;t<process.argv.length;t++){let n=process.argv[t];if("--clientProcessId"===n&&t+1<process.argv.length)return void e(process.argv[t+1]);{let t=n.split("=");"--clientProcessId"===t[0]&&e(t[1])}}}();const h={initialize:e=>{const t=e.processId;o.number(t)&&void 0===d&&setInterval(()=>{try{process.kill(t,0)}catch(e){process.exit(c?0:1)}},3e3)},get shutdownReceived(){return c},set shutdownReceived(e){c=e},exit:e=>{process.exit(e)}};t.createConnection=function(e,t,n,r){let i,s,d,p;return void 0!==e&&"features"===e.__brand&&(i=e,e=t,t=n,n=r),l.ConnectionStrategy.is(e)||l.ConnectionOptions.is(e)?p=e:(s=e,d=t,p=n),function(e,t,n,r){if(!e&&!t&&process.argv.length>2){let n=void 0,r=void 0,o=process.argv.slice(2);for(let a=0;a<o.length;a++){let s=o[a];if("--node-ipc"===s){e=new l.IPCMessageReader(process),t=new l.IPCMessageWriter(process);break}if("--stdio"===s){e=process.stdin,t=process.stdout;break}if("--socket"===s){n=parseInt(o[a+1]);break}if("--pipe"===s){r=o[a+1];break}var i=s.split("=");if("--socket"===i[0]){n=parseInt(i[1]);break}if("--pipe"===i[0]){r=i[1];break}}if(n){let r=l.createServerSocketTransport(n);e=r