~ K    A     L    I ~
UNAME : Linux web63.extendcp.co.uk 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Wed Jun 25 06:37:46 EDT 2025 x86_64
SERVER IP : 10.0.187.63 -________- CLIENT IP : 216.73.216.199
PATH :/usr/share/maxscale/gui/js/
UP FILE :
MINI SHELL D ZAB '
Current File : //usr/share/maxscale/gui/js/npm.monaco-editor~e8d92a51.71311869.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["npm.monaco-editor~e8d92a51"],{"03d9":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"h",(function(){return d}));var i,o,r,s,a,c,u,l,d,h=n("dff7");(function(e){e.noSelection=h["a"]("noSelection","No selection"),e.singleSelectionRange=h["a"]("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=h["a"]("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=h["a"]("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=h["a"]("multiSelection","{0} selections"),e.emergencyConfOn=h["a"]("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=h["a"]("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=h["a"]("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=h["a"]("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=h["a"]("readonlyEditor"," in a read-only code editor"),e.editableEditor=h["a"]("editableEditor"," in a code editor"),e.changeConfigToOnMac=h["a"]("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=h["a"]("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=h["a"]("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=h["a"]("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=h["a"]("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=h["a"]("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=h["a"]("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=h["a"]("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=h["a"]("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=h["a"]("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=h["a"]("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=h["a"]("showAccessibilityHelpAction","Show Accessibility Help")})(i||(i={})),function(e){e.inspectTokensAction=h["a"]("inspectTokens","Developer: Inspect Tokens")}(o||(o={})),function(e){e.gotoLineActionLabel=h["a"]("gotoLineActionLabel","Go to Line/Column...")}(r||(r={})),function(e){e.helpQuickAccessActionLabel=h["a"]("helpQuickAccess","Show all Quick Access Providers")}(s||(s={})),function(e){e.quickCommandActionLabel=h["a"]("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=h["a"]("quickCommandActionHelp","Show And Run Commands")}(a||(a={})),function(e){e.quickOutlineActionLabel=h["a"]("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=h["a"]("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(c||(c={})),function(e){e.editorViewAccessibleLabel=h["a"]("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=h["a"]("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(u||(u={})),function(e){e.toggleHighContrast=h["a"]("toggleHighContrast","Toggle High Contrast Theme")}(l||(l={})),function(e){e.bulkEditServiceSummary=h["a"]("bulkEditServiceSummary","Made {0} edits in {1} files")}(d||(d={}))},"09db":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("0a0f");const o="editorWorkerService",r=Object(i["c"])(o)},"1b69":function(e,t,n){"use strict";n.d(t,"a",(function(){return F})),n.d(t,"b",(function(){return x})),n.d(t,"c",(function(){return B}));var i=n("308f"),o=n("a666"),r=n("30db"),s=n("fdcc"),a=n("b57f"),c=n("bd7e"),u=n("cb41"),l=n("0867"),d=n("944a"),h=n("75bf"),g=n("fbba"),m=n("5fe7"),f=n("2504"),p=n("b7d0"),_=n("d3d7"),b=n("3803"),S=n("eda7"),C=n("a054"),v=n("b589"),y=n("252f"),L=n("74ce"),w=n("aa3d"),O=n("0184"),k=n("e971"),M=n("e58e"),T=n("7340"),D=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},R=function(e,t){return function(n,i){t(n,i,e)}};function I(e){return e.toString()}function E(e){const t=new S["a"],n=e.createSnapshot();let i;while(i=n.read())t.update(i);return t.digest()}class N{constructor(e,t,n){this._modelEventListeners=new o["b"],this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose(()=>t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(t=>n(e,t)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(e.languageId)),this.model.setMode(e.languageId)}}const A=r["g"]||r["i"]?1:2;class P{constructor(e,t,n,i,o,r,s,a){this.uri=e,this.initialUndoRedoSnapshot=t,this.time=n,this.sharesUndoRedoStack=i,this.heapSize=o,this.sha1=r,this.versionId=s,this.alternativeVersionId=a}}let F=class e extends o["a"]{constructor(e,t,n,o,r,s,a,c,u){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=n,this._logService=o,this._undoRedoService=r,this._languageService=s,this._languageConfigurationService=a,this._languageFeatureDebounceService=c,this._onModelAdded=this._register(new i["b"]),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new i["b"]),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new i["b"]),this.onModelLanguageChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new j(this._themeService,this._languageService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new W(this._semanticStyling,this,this._themeService,this._configurationService,this._languageFeatureDebounceService,u))}static _readModelOptions(e,t){var n;let i=c["a"].tabSize;if(e.editor&&"undefined"!==typeof e.editor.tabSize){const t=parseInt(e.editor.tabSize,10);isNaN(t)||(i=t),i<1&&(i=1)}let o=i;if(e.editor&&"undefined"!==typeof e.editor.indentSize&&"tabSize"!==e.editor.indentSize){const t=parseInt(e.editor.indentSize,10);isNaN(t)||(o=t),o<1&&(o=1)}let r=c["a"].insertSpaces;e.editor&&"undefined"!==typeof e.editor.insertSpaces&&(r="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));let s=A;const a=e.eol;"\r\n"===a?s=2:"\n"===a&&(s=1);let u=c["a"].trimAutoWhitespace;e.editor&&"undefined"!==typeof e.editor.trimAutoWhitespace&&(u="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));let l=c["a"].detectIndentation;e.editor&&"undefined"!==typeof e.editor.detectIndentation&&(l="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));let d=c["a"].largeFileOptimizations;e.editor&&"undefined"!==typeof e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations));let h=c["a"].bracketPairColorizationOptions;return(null===(n=e.editor)||void 0===n?void 0:n.bracketPairColorization)&&"object"===typeof e.editor.bracketPairColorization&&(h={enabled:!!e.editor.bracketPairColorization.enabled}),{isForSimpleWidget:t,tabSize:i,indentSize:o,insertSpaces:r,detectIndentation:l,defaultEOL:s,trimAutoWhitespace:u,largeFileOptimizations:d,bracketPairColorizationOptions:h}}_getEOL(e,t){if(e)return this._resourcePropertiesService.getEOL(e,t);const n=this._configurationService.getValue("files.eol",{overrideIdentifier:t});return n&&"string"===typeof n&&"auto"!==n?n:3===r["a"]||2===r["a"]?"\n":"\r\n"}_shouldRestoreUndoStack(){const e=this._configurationService.getValue("files.restoreUndoStack");return"boolean"!==typeof e||e}getCreationOptions(t,n,i){let o=this._modelCreationOptionsByLanguageAndResource[t+n];if(!o){const r=this._configurationService.getValue("editor",{overrideIdentifier:t,resource:n}),s=this._getEOL(n,t);o=e._readModelOptions({editor:r,eol:s},i),this._modelCreationOptionsByLanguageAndResource[t+n]=o}return o}_updateModelOptions(){const t=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);const n=Object.keys(this._models);for(let i=0,o=n.length;i<o;i++){const o=n[i],r=this._models[o],s=r.model.getLanguageId(),a=r.model.uri,c=t[s+a],u=this.getCreationOptions(s,a,r.model.isForSimpleWidget);e._setModelOptionsForModel(r.model,u,c)}}static _setModelOptionsForModel(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&1===e.getLineCount()&&e.setEOL(1===t.defaultEOL?0:1),n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace&&Object(w["d"])(n.bracketPairColorizationOptions,t.bracketPairColorizationOptions)||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace,bracketColorizationOptions:t.bracketPairColorizationOptions})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace,bracketColorizationOptions:t.bracketPairColorizationOptions}))}_insertDisposedModel(e){this._disposedModels.set(I(e.uri),e),this._disposedModelsHeapSize+=e.heapSize}_removeDisposedModel(e){const t=this._disposedModels.get(I(e));return t&&(this._disposedModelsHeapSize-=t.heapSize),this._disposedModels.delete(I(e)),t}_ensureDisposedModelsHeapSize(e){if(this._disposedModelsHeapSize>e){const t=[];this._disposedModels.forEach(e=>{e.sharesUndoRedoStack||t.push(e)}),t.sort((e,t)=>e.time-t.time);while(t.length>0&&this._disposedModelsHeapSize>e){const e=t.shift();this._removeDisposedModel(e.uri),null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}}}_createModelData(e,t,n,i){const o=this.getCreationOptions(t,n,i),r=new a["c"](e,t,o,n,this._undoRedoService,this._languageService,this._languageConfigurationService);if(n&&this._disposedModels.has(I(n))){const e=this._removeDisposedModel(n),t=this._undoRedoService.getElements(n),i=E(r)===e.sha1;if(i||e.sharesUndoRedoStack){for(const e of t.past)Object(C["b"])(e)&&e.matchesResource(n)&&e.setModel(r);for(const e of t.future)Object(C["b"])(e)&&e.matchesResource(n)&&e.setModel(r);this._undoRedoService.setElementsValidFlag(n,!0,e=>Object(C["b"])(e)&&e.matchesResource(n)),i&&(r._overwriteVersionId(e.versionId),r._overwriteAlternativeVersionId(e.alternativeVersionId),r._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot)}const s=I(r.uri);if(this._models[s])throw new Error("ModelService: Cannot add model because it already exists!");const c=new N(r,e=>this._onWillDispose(e),(e,t)=>this._onDidChangeLanguage(e,t));return this._models[s]=c,c}createModel(e,t,n,i=!1){let o;return t?(o=this._createModelData(e,t.languageId,n,i),this.setMode(o.model,t)):o=this._createModelData(e,u["b"],n,i),this._onModelAdded.fire(o.model),o.model}setMode(e,t){if(!t)return;const n=this._models[I(e.uri)];n&&n.setLanguage(t)}getModels(){const e=[],t=Object.keys(this._models);for(let n=0,i=t.length;n<i;n++){const i=t[n];e.push(this._models[i].model)}return e}getModel(e){const t=I(e),n=this._models[t];return n?n.model:null}getSemanticTokensProviderStyling(e){return this._semanticStyling.get(e)}_schemaShouldMaintainUndoRedoElements(e){return e.scheme===v["c"].file||e.scheme===v["c"].vscodeRemote||e.scheme===v["c"].userData||e.scheme===v["c"].vscodeNotebookCell||"fake-fs"===e.scheme}_onWillDispose(t){const n=I(t.uri),i=this._models[n],o=this._undoRedoService.getUriComparisonKey(t.uri)!==t.uri.toString();let r=!1,s=0;if(o||this._shouldRestoreUndoStack()&&this._schemaShouldMaintainUndoRedoElements(t.uri)){const e=this._undoRedoService.getElements(t.uri);if(e.past.length>0||e.future.length>0){for(const n of e.past)Object(C["b"])(n)&&n.matchesResource(t.uri)&&(r=!0,s+=n.heapSize(t.uri),n.setModel(t.uri));for(const n of e.future)Object(C["b"])(n)&&n.matchesResource(t.uri)&&(r=!0,s+=n.heapSize(t.uri),n.setModel(t.uri))}}const a=e.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK;if(r)if(!o&&s>a){const e=i.model.getInitialUndoRedoSnapshot();null!==e&&this._undoRedoService.restoreSnapshot(e)}else this._ensureDisposedModelsHeapSize(a-s),this._undoRedoService.setElementsValidFlag(t.uri,!1,e=>Object(C["b"])(e)&&e.matchesResource(t.uri)),this._insertDisposedModel(new P(t.uri,i.model.getInitialUndoRedoSnapshot(),Date.now(),o,s,E(t),t.getVersionId(),t.getAlternativeVersionId()));else if(!o){const e=i.model.getInitialUndoRedoSnapshot();null!==e&&this._undoRedoService.restoreSnapshot(e)}delete this._models[n],i.dispose(),delete this._modelCreationOptionsByLanguageAndResource[t.getLanguageId()+t.uri],this._onModelRemoved.fire(t)}_onDidChangeLanguage(t,n){const i=n.oldLanguage,o=t.getLanguageId(),r=this.getCreationOptions(i,t.uri,t.isForSimpleWidget),s=this.getCreationOptions(o,t.uri,t.isForSimpleWidget);e._setModelOptionsForModel(t,s,r),this._onModelModeChanged.fire({model:t,oldLanguageId:i})}};F.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20971520,F=D([R(0,g["a"]),R(1,h["b"]),R(2,p["b"]),R(3,_["b"]),R(4,b["a"]),R(5,l["a"]),R(6,O["a"]),R(7,k["a"]),R(8,T["a"])],F);const x="editor.semanticHighlighting";function B(e,t,n){var i;const o=null===(i=n.getValue(x,{overrideIdentifier:e.getLanguageId(),resource:e.uri}))||void 0===i?void 0:i.enabled;return"boolean"===typeof o?o:t.getColorTheme().semanticHighlighting}let W=class extends o["a"]{constructor(e,t,n,i,o,r){super(),this._watchers=Object.create(null),this._semanticStyling=e;const s=e=>{this._watchers[e.uri.toString()]=new H(e,this._semanticStyling,n,o,r)},a=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},c=()=>{for(let e of t.getModels()){const t=this._watchers[e.uri.toString()];B(e,n,i)?t||s(e):t&&a(e,t)}};this._register(t.onModelAdded(e=>{B(e,n,i)&&s(e)})),this._register(t.onModelRemoved(e=>{const t=this._watchers[e.uri.toString()];t&&a(e,t)})),this._register(i.onDidChangeConfiguration(e=>{e.affectsConfiguration(x)&&c()})),this._register(n.onDidColorThemeChange(c))}};W=D([R(1,d["a"]),R(2,p["b"]),R(3,g["a"]),R(4,k["a"]),R(5,T["a"])],W);class j extends o["a"]{constructor(e,t,n){super(),this._themeService=e,this._languageService=t,this._logService=n,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(e){return this._caches.has(e)||this._caches.set(e,new y["a"](e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}}class U{constructor(e,t,n){this.provider=e,this.resultId=t,this.data=n}dispose(){this.provider.releaseDocumentSemanticTokens(this.resultId)}}let H=class e extends o["a"]{constructor(t,n,i,r,s){super(),this._isDisposed=!1,this._model=t,this._semanticStyling=n,this._provider=s.documentSemanticTokensProvider,this._debounceInformation=r.for(this._provider,"DocumentSemanticTokens",{min:e.REQUEST_MIN_DELAY,max:e.REQUEST_MAX_DELAY}),this._fetchDocumentSemanticTokens=this._register(new m["h"](()=>this._fetchDocumentSemanticTokensNow(),e.REQUEST_MIN_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));const a=()=>{Object(o["g"])(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const e of this._provider.all(t))"function"===typeof e.onDidChange&&this._documentProvidersChangeListeners.push(e.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};a(),this._register(this._provider.onDidChange(()=>{a(),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._register(i.onDidColorThemeChange(e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(this._currentDocumentRequestCancellationTokenSource)return;if(!Object(L["d"])(this._provider,this._model))return void(this._currentDocumentResponse&&this._model.setSemanticTokens(null,!1));const e=new f["b"],t=this._currentDocumentResponse?this._currentDocumentResponse.provider:null,n=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null,i=Object(L["b"])(this._provider,this._model,t,n,e.token);this._currentDocumentRequestCancellationTokenSource=e;const o=[],r=this._model.onDidChangeContent(e=>{o.push(e)}),a=new M["a"](!1);i.then(e=>{if(this._debounceInformation.update(this._model,a.elapsed()),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),e){const{provider:t,tokens:n}=e,i=this._semanticStyling.get(t);this._setDocumentSemanticTokens(t,n||null,i,o)}else this._setDocumentSemanticTokens(null,null,null,o)},e=>{const t=e&&(s["f"](e)||"string"===typeof e.message&&-1!==e.message.indexOf("busy"));t||s["g"](e),this._currentDocumentRequestCancellationTokenSource=null,r.dispose(),o.length>0&&(this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model)))})}static _copy(e,t,n,i,o){for(let r=0;r<o;r++)n[i+r]=e[t+r]}_setDocumentSemanticTokens(t,n,i,o){const r=this._currentDocumentResponse,s=()=>{o.length>0&&!this._fetchDocumentSemanticTokens.isScheduled()&&this._fetchDocumentSemanticTokens.schedule(this._debounceInformation.get(this._model))};if(this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._isDisposed)t&&n&&t.releaseDocumentSemanticTokens(n.resultId);else if(t&&i){if(!n)return this._model.setSemanticTokens(null,!0),void s();if(Object(L["f"])(n)){if(!r)return void this._model.setSemanticTokens(null,!0);if(0===n.edits.length)n={resultId:n.resultId,data:r.data};else{let t=0;for(const e of n.edits)t+=(e.data?e.data.length:0)-e.deleteCount;const i=r.data,o=new Uint32Array(i.length+t);let s=i.length,a=o.length;for(let r=n.edits.length-1;r>=0;r--){const t=n.edits[r],c=s-(t.start+t.deleteCount);c>0&&(e._copy(i,s-c,o,a-c,c),a-=c),t.data&&(e._copy(t.data,0,o,a-t.data.length,t.data.length),a-=t.data.length),s=t.start}s>0&&e._copy(i,0,o,0,s),n={resultId:n.resultId,data:o}}}if(Object(L["e"])(n)){this._currentDocumentResponse=new U(t,n.resultId,n.data);const e=Object(y["b"])(n,i,this._model.getLanguageId());if(o.length>0)for(const t of o)for(const n of e)for(const e of t.changes)n.applyEdit(e.range,e.text);this._model.setSemanticTokens(e,!0)}else this._model.setSemanticTokens(null,!0);s()}else this._model.setSemanticTokens(null,!1)}};H.REQUEST_MIN_DELAY=300,H.REQUEST_MAX_DELAY=2e3,H=D([R(2,p["b"]),R(3,k["a"]),R(4,T["a"])],H)},"252f":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d}));var i=n("2e5a"),o=n("b7d0"),r=n("d3d7"),s=n("e02c"),a=n("0867"),c=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},u=function(e,t){return function(n,i){t(n,i,e)}};let l=class{constructor(e,t,n,i){this._legend=e,this._themeService=t,this._languageService=n,this._logService=i,this._hashTable=new g,this._hasWarnedOverlappingTokens=!1}getMetadata(e,t,n){const o=this._languageService.languageIdCodec.encodeLanguageId(n),s=this._hashTable.get(e,t,o);let a;if(s)a=s.metadata,this._logService.getLevel()===r["c"].Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${i["k"].getForeground(a)}, fontStyle ${i["k"].getFontStyle(a).toString(2)}`);else{let s=this._legend.tokenTypes[e];const c=[];if(s){let e=t;for(let t=0;e>0&&t<this._legend.tokenModifiers.length;t++)1&e&&c.push(this._legend.tokenModifiers[t]),e>>=1;e>0&&this._logService.getLevel()===r["c"].Trace&&(this._logService.trace(`SemanticTokensProviderStyling: unknown token modifier index: ${t.toString(2)} for legend: ${JSON.stringify(this._legend.tokenModifiers)}`),c.push("not-in-legend"));const i=this._themeService.getColorTheme().getTokenStyleMetadata(s,c,n);if("undefined"===typeof i)a=2147483647;else{if(a=0,"undefined"!==typeof i.italic){const e=(i.italic?1:0)<<10;a|=1|e}if("undefined"!==typeof i.bold){const e=(i.bold?2:0)<<10;a|=2|e}if("undefined"!==typeof i.underline){const e=(i.underline?4:0)<<10;a|=4|e}if("undefined"!==typeof i.strikethrough){const e=(i.strikethrough?8:0)<<10;a|=8|e}if(i.foreground){const e=i.foreground<<14;a|=16|e}0===a&&(a=2147483647)}}else this._logService.getLevel()===r["c"].Trace&&this._logService.trace(`SemanticTokensProviderStyling: unknown token type index: ${e} for legend: ${JSON.stringify(this._legend.tokenTypes)}`),a=2147483647,s="not-in-legend";this._hashTable.add(e,t,o,a),this._logService.getLevel()===r["c"].Trace&&this._logService.trace(`SemanticTokensProviderStyling ${e} (${s}) / ${t} (${c.join(" ")}): foreground ${i["k"].getForeground(a)}, fontStyle ${i["k"].getFontStyle(a).toString(2)}`)}return a}warnOverlappingSemanticTokens(e,t){this._hasWarnedOverlappingTokens||(this._hasWarnedOverlappingTokens=!0,console.warn(`Overlapping semantic tokens detected at lineNumber ${e}, column ${t}`))}};function d(e,t,n){const i=e.data,o=e.data.length/5|0,r=Math.max(Math.ceil(o/1024),400),a=[];let c=0,u=1,l=0;while(c<o){const e=c;let d=Math.min(e+r,o);if(d<o){let t=d;while(t-1>e&&0===i[5*t])t--;if(t-1===e){let e=d;while(e+1<o&&0===i[5*e])e++;d=e}else d=t}let h=new Uint32Array(4*(d-e)),g=0,m=0,f=0,p=0,_=0;while(c<d){const e=5*c,o=i[e],r=i[e+1],s=u+o|0,a=0===o?l+r|0:r,d=i[e+2],b=i[e+3],S=i[e+4],C=t.getMetadata(b,S,n);2147483647!==C&&(0===m&&(m=s),f===s&&_>a&&(t.warnOverlappingSemanticTokens(s,a+1),p<a?h[g-4+2]=a:g-=4),h[g]=s-m,h[g+1]=a,h[g+2]=a+d,h[g+3]=C,g+=4,f=s,p=a,_=a+d),u=s,l=a,c++}g!==h.length&&(h=h.subarray(0,g));const b=s["a"].create(m,h);a.push(b)}return a}l=c([u(1,o["b"]),u(2,a["a"]),u(3,r["b"])],l);class h{constructor(e,t,n,i){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.languageId=n,this.metadata=i,this.next=null}}class g{constructor(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=g._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<g._SIZES.length?2/3*this._currentLength:0),this._elements=[],g._nullOutEntries(this._elements,this._currentLength)}static _nullOutEntries(e,t){for(let n=0;n<t;n++)e[n]=null}_hash2(e,t){return(e<<5)-e+t|0}_hashFunc(e,t,n){return this._hash2(this._hash2(e,t),n)%this._currentLength}get(e,t,n){const i=this._hashFunc(e,t,n);let o=this._elements[i];while(o){if(o.tokenTypeIndex===e&&o.tokenModifierSet===t&&o.languageId===n)return o;o=o.next}return null}add(e,t,n,i){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){const e=this._elements;this._currentLengthIndex++,this._currentLength=g._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<g._SIZES.length?2/3*this._currentLength:0),this._elements=[],g._nullOutEntries(this._elements,this._currentLength);for(const t of e){let e=t;while(e){const t=e.next;e.next=null,this._add(e),e=t}}}this._add(new h(e,t,n,i))}_add(e){const t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet,e.languageId);e.next=this._elements[t],this._elements[t]=e}}g._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143]},2646:function(e,t,n){"use strict";var i=n("259d"),o=n("7340"),r=n("f5f3");class s{constructor(){this.referenceProvider=new i["a"](this._score.bind(this)),this.renameProvider=new i["a"](this._score.bind(this)),this.codeActionProvider=new i["a"](this._score.bind(this)),this.definitionProvider=new i["a"](this._score.bind(this)),this.typeDefinitionProvider=new i["a"](this._score.bind(this)),this.declarationProvider=new i["a"](this._score.bind(this)),this.implementationProvider=new i["a"](this._score.bind(this)),this.documentSymbolProvider=new i["a"](this._score.bind(this)),this.inlayHintsProvider=new i["a"](this._score.bind(this)),this.colorProvider=new i["a"](this._score.bind(this)),this.codeLensProvider=new i["a"](this._score.bind(this)),this.documentFormattingEditProvider=new i["a"](this._score.bind(this)),this.documentRangeFormattingEditProvider=new i["a"](this._score.bind(this)),this.onTypeFormattingEditProvider=new i["a"](this._score.bind(this)),this.signatureHelpProvider=new i["a"](this._score.bind(this)),this.hoverProvider=new i["a"](this._score.bind(this)),this.documentHighlightProvider=new i["a"](this._score.bind(this)),this.selectionRangeProvider=new i["a"](this._score.bind(this)),this.foldingRangeProvider=new i["a"](this._score.bind(this)),this.linkProvider=new i["a"](this._score.bind(this)),this.inlineCompletionsProvider=new i["a"](this._score.bind(this)),this.completionProvider=new i["a"](this._score.bind(this)),this.linkedEditingRangeProvider=new i["a"](this._score.bind(this)),this.documentRangeSemanticTokensProvider=new i["a"](this._score.bind(this)),this.documentSemanticTokensProvider=new i["a"](this._score.bind(this))}_score(e){var t;return null===(t=this._notebookTypeResolver)||void 0===t?void 0:t.call(this,e)}}Object(r["b"])(o["a"],s,!0)},"424a":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("2504"),o=n("308f"),r=n("fe45"),s=n("6d8e"),a=n("7061"),c=n("6a89"),u=n("8025"),l=n("2e5a"),d=n("6881");class h{static chord(e,t){return Object(r["c"])(e,t)}}function g(){return{editor:void 0,languages:void 0,CancellationTokenSource:i["b"],Emitter:o["b"],KeyCode:d["r"],KeyMod:h,Position:a["a"],Range:c["a"],Selection:u["a"],SelectionDirection:d["D"],MarkerSeverity:d["s"],MarkerTag:d["t"],Uri:s["a"],Token:l["j"]}}h.CtrlCmd=2048,h.Shift=1024,h.Alt=512,h.WinCtrl=256},6881:function(e,t,n){"use strict";var i,o,r,s,a,c,u,l,d,h,g,m,f,p,_,b,S,C,v,y,L,w,O,k,M,T,D,R,I,E,N,A,P,F,x,B,W;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return h})),n.d(t,"k",(function(){return g})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return p})),n.d(t,"o",(function(){return _})),n.d(t,"p",(function(){return b})),n.d(t,"q",(function(){return S})),n.d(t,"r",(function(){return C})),n.d(t,"s",(function(){return v})),n.d(t,"t",(function(){return y})),n.d(t,"u",(function(){return L})),n.d(t,"v",(function(){return w})),n.d(t,"w",(function(){return O})),n.d(t,"x",(function(){return k})),n.d(t,"y",(function(){return M})),n.d(t,"z",(function(){return T})),n.d(t,"A",(function(){return D})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return I})),n.d(t,"D",(function(){return E})),n.d(t,"E",(function(){return N})),n.d(t,"F",(function(){return A})),n.d(t,"G",(function(){return P})),n.d(t,"H",(function(){return F})),n.d(t,"I",(function(){return x})),n.d(t,"J",(function(){return B})),n.d(t,"K",(function(){return W})),function(e){e[e["Unknown"]=0]="Unknown",e[e["Disabled"]=1]="Disabled",e[e["Enabled"]=2]="Enabled"}(i||(i={})),function(e){e[e["KeepWhitespace"]=1]="KeepWhitespace",e[e["InsertAsSnippet"]=4]="InsertAsSnippet"}(o||(o={})),function(e){e[e["Method"]=0]="Method",e[e["Function"]=1]="Function",e[e["Constructor"]=2]="Constructor",e[e["Field"]=3]="Field",e[e["Variable"]=4]="Variable",e[e["Class"]=5]="Class",e[e["Struct"]=6]="Struct",e[e["Interface"]=7]="Interface",e[e["Module"]=8]="Module",e[e["Property"]=9]="Property",e[e["Event"]=10]="Event",e[e["Operator"]=11]="Operator",e[e["Unit"]=12]="Unit",e[e["Value"]=13]="Value",e[e["Constant"]=14]="Constant",e[e["Enum"]=15]="Enum",e[e["EnumMember"]=16]="EnumMember",e[e["Keyword"]=17]="Keyword",e[e["Text"]=18]="Text",e[e["Color"]=19]="Color",e[e["File"]=20]="File",e[e["Reference"]=21]="Reference",e[e["Customcolor"]=22]="Customcolor",e[e["Folder"]=23]="Folder",e[e["TypeParameter"]=24]="TypeParameter",e[e["User"]=25]="User",e[e["Issue"]=26]="Issue",e[e["Snippet"]=27]="Snippet"}(r||(r={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(s||(s={})),function(e){e[e["Invoke"]=0]="Invoke",e[e["TriggerCharacter"]=1]="TriggerCharacter",e[e["TriggerForIncompleteCompletions"]=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e["EXACT"]=0]="EXACT",e[e["ABOVE"]=1]="ABOVE",e[e["BELOW"]=2]="BELOW"}(c||(c={})),function(e){e[e["NotSet"]=0]="NotSet",e[e["ContentFlush"]=1]="ContentFlush",e[e["RecoverFromMarkers"]=2]="RecoverFromMarkers",e[e["Explicit"]=3]="Explicit",e[e["Paste"]=4]="Paste",e[e["Undo"]=5]="Undo",e[e["Redo"]=6]="Redo"}(u||(u={})),function(e){e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(l||(l={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(d||(d={})),function(e){e[e["None"]=0]="None",e[e["Keep"]=1]="Keep",e[e["Brackets"]=2]="Brackets",e[e["Advanced"]=3]="Advanced",e[e["Full"]=4]="Full"}(h||(h={})),function(e){e[e["acceptSuggestionOnCommitCharacter"]=0]="acceptSuggestionOnCommitCharacter",e[e["acceptSuggestionOnEnter"]=1]="acceptSuggestionOnEnter",e[e["accessibilitySupport"]=2]="accessibilitySupport",e[e["accessibilityPageSize"]=3]="accessibilityPageSize",e[e["ariaLabel"]=4]="ariaLabel",e[e["autoClosingBrackets"]=5]="autoClosingBrackets",e[e["autoClosingDelete"]=6]="autoClosingDelete",e[e["autoClosingOvertype"]=7]="autoClosingOvertype",e[e["autoClosingQuotes"]=8]="autoClosingQuotes",e[e["autoIndent"]=9]="autoIndent",e[e["automaticLayout"]=10]="automaticLayout",e[e["autoSurround"]=11]="autoSurround",e[e["bracketPairColorization"]=12]="bracketPairColorization",e[e["guides"]=13]="guides",e[e["codeLens"]=14]="codeLens",e[e["codeLensFontFamily"]=15]="codeLensFontFamily",e[e["codeLensFontSize"]=16]="codeLensFontSize",e[e["colorDecorators"]=17]="colorDecorators",e[e["columnSelection"]=18]="columnSelection",e[e["comments"]=19]="comments",e[e["contextmenu"]=20]="contextmenu",e[e["copyWithSyntaxHighlighting"]=21]="copyWithSyntaxHighlighting",e[e["cursorBlinking"]=22]="cursorBlinking",e[e["cursorSmoothCaretAnimation"]=23]="cursorSmoothCaretAnimation",e[e["cursorStyle"]=24]="cursorStyle",e[e["cursorSurroundingLines"]=25]="cursorSurroundingLines",e[e["cursorSurroundingLinesStyle"]=26]="cursorSurroundingLinesStyle",e[e["cursorWidth"]=27]="cursorWidth",e[e["disableLayerHinting"]=28]="disableLayerHinting",e[e["disableMonospaceOptimizations"]=29]="disableMonospaceOptimizations",e[e["domReadOnly"]=30]="domReadOnly",e[e["dragAndDrop"]=31]="dragAndDrop",e[e["emptySelectionClipboard"]=32]="emptySelectionClipboard",e[e["extraEditorClassName"]=33]="extraEditorClassName",e[e["fastScrollSensitivity"]=34]="fastScrollSensitivity",e[e["find"]=35]="find",e[e["fixedOverflowWidgets"]=36]="fixedOverflowWidgets",e[e["folding"]=37]="folding",e[e["foldingStrategy"]=38]="foldingStrategy",e[e["foldingHighlight"]=39]="foldingHighlight",e[e["foldingImportsByDefault"]=40]="foldingImportsByDefault",e[e["foldingMaximumRegions"]=41]="foldingMaximumRegions",e[e["unfoldOnClickAfterEndOfLine"]=42]="unfoldOnClickAfterEndOfLine",e[e["fontFamily"]=43]="fontFamily",e[e["fontInfo"]=44]="fontInfo",e[e["fontLigatures"]=45]="fontLigatures",e[e["fontSize"]=46]="fontSize",e[e["fontWeight"]=47]="fontWeight",e[e["formatOnPaste"]=48]="formatOnPaste",e[e["formatOnType"]=49]="formatOnType",e[e["glyphMargin"]=50]="glyphMargin",e[e["gotoLocation"]=51]="gotoLocation",e[e["hideCursorInOverviewRuler"]=52]="hideCursorInOverviewRuler",e[e["hover"]=53]="hover",e[e["inDiffEditor"]=54]="inDiffEditor",e[e["inlineSuggest"]=55]="inlineSuggest",e[e["letterSpacing"]=56]="letterSpacing",e[e["lightbulb"]=57]="lightbulb",e[e["lineDecorationsWidth"]=58]="lineDecorationsWidth",e[e["lineHeight"]=59]="lineHeight",e[e["lineNumbers"]=60]="lineNumbers",e[e["lineNumbersMinChars"]=61]="lineNumbersMinChars",e[e["linkedEditing"]=62]="linkedEditing",e[e["links"]=63]="links",e[e["matchBrackets"]=64]="matchBrackets",e[e["minimap"]=65]="minimap",e[e["mouseStyle"]=66]="mouseStyle",e[e["mouseWheelScrollSensitivity"]=67]="mouseWheelScrollSensitivity",e[e["mouseWheelZoom"]=68]="mouseWheelZoom",e[e["multiCursorMergeOverlapping"]=69]="multiCursorMergeOverlapping",e[e["multiCursorModifier"]=70]="multiCursorModifier",e[e["multiCursorPaste"]=71]="multiCursorPaste",e[e["occurrencesHighlight"]=72]="occurrencesHighlight",e[e["overviewRulerBorder"]=73]="overviewRulerBorder",e[e["overviewRulerLanes"]=74]="overviewRulerLanes",e[e["padding"]=75]="padding",e[e["parameterHints"]=76]="parameterHints",e[e["peekWidgetDefaultFocus"]=77]="peekWidgetDefaultFocus",e[e["definitionLinkOpensInPeek"]=78]="definitionLinkOpensInPeek",e[e["quickSuggestions"]=79]="quickSuggestions",e[e["quickSuggestionsDelay"]=80]="quickSuggestionsDelay",e[e["readOnly"]=81]="readOnly",e[e["renameOnType"]=82]="renameOnType",e[e["renderControlCharacters"]=83]="renderControlCharacters",e[e["renderFinalNewline"]=84]="renderFinalNewline",e[e["renderLineHighlight"]=85]="renderLineHighlight",e[e["renderLineHighlightOnlyWhenFocus"]=86]="renderLineHighlightOnlyWhenFocus",e[e["renderValidationDecorations"]=87]="renderValidationDecorations",e[e["renderWhitespace"]=88]="renderWhitespace",e[e["revealHorizontalRightPadding"]=89]="revealHorizontalRightPadding",e[e["roundedSelection"]=90]="roundedSelection",e[e["rulers"]=91]="rulers",e[e["scrollbar"]=92]="scrollbar",e[e["scrollBeyondLastColumn"]=93]="scrollBeyondLastColumn",e[e["scrollBeyondLastLine"]=94]="scrollBeyondLastLine",e[e["scrollPredominantAxis"]=95]="scrollPredominantAxis",e[e["selectionClipboard"]=96]="selectionClipboard",e[e["selectionHighlight"]=97]="selectionHighlight",e[e["selectOnLineNumbers"]=98]="selectOnLineNumbers",e[e["showFoldingControls"]=99]="showFoldingControls",e[e["showUnused"]=100]="showUnused",e[e["snippetSuggestions"]=101]="snippetSuggestions",e[e["smartSelect"]=102]="smartSelect",e[e["smoothScrolling"]=103]="smoothScrolling",e[e["stickyTabStops"]=104]="stickyTabStops",e[e["stopRenderingLineAfter"]=105]="stopRenderingLineAfter",e[e["suggest"]=106]="suggest",e[e["suggestFontSize"]=107]="suggestFontSize",e[e["suggestLineHeight"]=108]="suggestLineHeight",e[e["suggestOnTriggerCharacters"]=109]="suggestOnTriggerCharacters",e[e["suggestSelection"]=110]="suggestSelection",e[e["tabCompletion"]=111]="tabCompletion",e[e["tabIndex"]=112]="tabIndex",e[e["unicodeHighlighting"]=113]="unicodeHighlighting",e[e["unusualLineTerminators"]=114]="unusualLineTerminators",e[e["useShadowDOM"]=115]="useShadowDOM",e[e["useTabStops"]=116]="useTabStops",e[e["wordSeparators"]=117]="wordSeparators",e[e["wordWrap"]=118]="wordWrap",e[e["wordWrapBreakAfterCharacters"]=119]="wordWrapBreakAfterCharacters",e[e["wordWrapBreakBeforeCharacters"]=120]="wordWrapBreakBeforeCharacters",e[e["wordWrapColumn"]=121]="wordWrapColumn",e[e["wordWrapOverride1"]=122]="wordWrapOverride1",e[e["wordWrapOverride2"]=123]="wordWrapOverride2",e[e["wrappingIndent"]=124]="wrappingIndent",e[e["wrappingStrategy"]=125]="wrappingStrategy",e[e["showDeprecated"]=126]="showDeprecated",e[e["inlayHints"]=127]="inlayHints",e[e["editorClassName"]=128]="editorClassName",e[e["pixelRatio"]=129]="pixelRatio",e[e["tabFocusMode"]=130]="tabFocusMode",e[e["layoutInfo"]=131]="layoutInfo",e[e["wrappingInfo"]=132]="wrappingInfo"}(g||(g={})),function(e){e[e["TextDefined"]=0]="TextDefined",e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(m||(m={})),function(e){e[e["LF"]=0]="LF",e[e["CRLF"]=1]="CRLF"}(f||(f={})),function(e){e[e["None"]=0]="None",e[e["Indent"]=1]="Indent",e[e["IndentOutdent"]=2]="IndentOutdent",e[e["Outdent"]=3]="Outdent"}(p||(p={})),function(e){e[e["Both"]=0]="Both",e[e["Right"]=1]="Right",e[e["Left"]=2]="Left",e[e["None"]=3]="None"}(_||(_={})),function(e){e[e["Type"]=1]="Type",e[e["Parameter"]=2]="Parameter"}(b||(b={})),function(e){e[e["Automatic"]=0]="Automatic",e[e["Explicit"]=1]="Explicit"}(S||(S={})),function(e){e[e["DependsOnKbLayout"]=-1]="DependsOnKbLayout",e[e["Unknown"]=0]="Unknown",e[e["Backspace"]=1]="Backspace",e[e["Tab"]=2]="Tab",e[e["Enter"]=3]="Enter",e[e["Shift"]=4]="Shift",e[e["Ctrl"]=5]="Ctrl",e[e["Alt"]=6]="Alt",e[e["PauseBreak"]=7]="PauseBreak",e[e["CapsLock"]=8]="CapsLock",e[e["Escape"]=9]="Escape",e[e["Space"]=10]="Space",e[e["PageUp"]=11]="PageUp",e[e["PageDown"]=12]="PageDown",e[e["End"]=13]="End",e[e["Home"]=14]="Home",e[e["LeftArrow"]=15]="LeftArrow",e[e["UpArrow"]=16]="UpArrow",e[e["RightArrow"]=17]="RightArrow",e[e["DownArrow"]=18]="DownArrow",e[e["Insert"]=19]="Insert",e[e["Delete"]=20]="Delete",e[e["Digit0"]=21]="Digit0",e[e["Digit1"]=22]="Digit1",e[e["Digit2"]=23]="Digit2",e[e["Digit3"]=24]="Digit3",e[e["Digit4"]=25]="Digit4",e[e["Digit5"]=26]="Digit5",e[e["Digit6"]=27]="Digit6",e[e["Digit7"]=28]="Digit7",e[e["Digit8"]=29]="Digit8",e[e["Digit9"]=30]="Digit9",e[e["KeyA"]=31]="KeyA",e[e["KeyB"]=32]="KeyB",e[e["KeyC"]=33]="KeyC",e[e["KeyD"]=34]="KeyD",e[e["KeyE"]=35]="KeyE",e[e["KeyF"]=36]="KeyF",e[e["KeyG"]=37]="KeyG",e[e["KeyH"]=38]="KeyH",e[e["KeyI"]=39]="KeyI",e[e["KeyJ"]=40]="KeyJ",e[e["KeyK"]=41]="KeyK",e[e["KeyL"]=42]="KeyL",e[e["KeyM"]=43]="KeyM",e[e["KeyN"]=44]="KeyN",e[e["KeyO"]=45]="KeyO",e[e["KeyP"]=46]="KeyP",e[e["KeyQ"]=47]="KeyQ",e[e["KeyR"]=48]="KeyR",e[e["KeyS"]=49]="KeyS",e[e["KeyT"]=50]="KeyT",e[e["KeyU"]=51]="KeyU",e[e["KeyV"]=52]="KeyV",e[e["KeyW"]=53]="KeyW",e[e["KeyX"]=54]="KeyX",e[e["KeyY"]=55]="KeyY",e[e["KeyZ"]=56]="KeyZ",e[e["Meta"]=57]="Meta",e[e["ContextMenu"]=58]="ContextMenu",e[e["F1"]=59]="F1",e[e["F2"]=60]="F2",e[e["F3"]=61]="F3",e[e["F4"]=62]="F4",e[e["F5"]=63]="F5",e[e["F6"]=64]="F6",e[e["F7"]=65]="F7",e[e["F8"]=66]="F8",e[e["F9"]=67]="F9",e[e["F10"]=68]="F10",e[e["F11"]=69]="F11",e[e["F12"]=70]="F12",e[e["F13"]=71]="F13",e[e["F14"]=72]="F14",e[e["F15"]=73]="F15",e[e["F16"]=74]="F16",e[e["F17"]=75]="F17",e[e["F18"]=76]="F18",e[e["F19"]=77]="F19",e[e["NumLock"]=78]="NumLock",e[e["ScrollLock"]=79]="ScrollLock",e[e["Semicolon"]=80]="Semicolon",e[e["Equal"]=81]="Equal",e[e["Comma"]=82]="Comma",e[e["Minus"]=83]="Minus",e[e["Period"]=84]="Period",e[e["Slash"]=85]="Slash",e[e["Backquote"]=86]="Backquote",e[e["BracketLeft"]=87]="BracketLeft",e[e["Backslash"]=88]="Backslash",e[e["BracketRight"]=89]="BracketRight",e[e["Quote"]=90]="Quote",e[e["OEM_8"]=91]="OEM_8",e[e["IntlBackslash"]=92]="IntlBackslash",e[e["Numpad0"]=93]="Numpad0",e[e["Numpad1"]=94]="Numpad1",e[e["Numpad2"]=95]="Numpad2",e[e["Numpad3"]=96]="Numpad3",e[e["Numpad4"]=97]="Numpad4",e[e["Numpad5"]=98]="Numpad5",e[e["Numpad6"]=99]="Numpad6",e[e["Numpad7"]=100]="Numpad7",e[e["Numpad8"]=101]="Numpad8",e[e["Numpad9"]=102]="Numpad9",e[e["NumpadMultiply"]=103]="NumpadMultiply",e[e["NumpadAdd"]=104]="NumpadAdd",e[e["NUMPAD_SEPARATOR"]=105]="NUMPAD_SEPARATOR",e[e["NumpadSubtract"]=106]="NumpadSubtract",e[e["NumpadDecimal"]=107]="NumpadDecimal",e[e["NumpadDivide"]=108]="NumpadDivide",e[e["KEY_IN_COMPOSITION"]=109]="KEY_IN_COMPOSITION",e[e["ABNT_C1"]=110]="ABNT_C1",e[e["ABNT_C2"]=111]="ABNT_C2",e[e["AudioVolumeMute"]=112]="AudioVolumeMute",e[e["AudioVolumeUp"]=113]="AudioVolumeUp",e[e["AudioVolumeDown"]=114]="AudioVolumeDown",e[e["BrowserSearch"]=115]="BrowserSearch",e[e["BrowserHome"]=116]="BrowserHome",e[e["BrowserBack"]=117]="BrowserBack",e[e["BrowserForward"]=118]="BrowserForward",e[e["MediaTrackNext"]=119]="MediaTrackNext",e[e["MediaTrackPrevious"]=120]="MediaTrackPrevious",e[e["MediaStop"]=121]="MediaStop",e[e["MediaPlayPause"]=122]="MediaPlayPause",e[e["LaunchMediaPlayer"]=123]="LaunchMediaPlayer",e[e["LaunchMail"]=124]="LaunchMail",e[e["LaunchApp2"]=125]="LaunchApp2",e[e["Clear"]=126]="Clear",e[e["MAX_VALUE"]=127]="MAX_VALUE"}(C||(C={})),function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"}(v||(v={})),function(e){e[e["Unnecessary"]=1]="Unnecessary",e[e["Deprecated"]=2]="Deprecated"}(y||(y={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(L||(L={})),function(e){e[e["UNKNOWN"]=0]="UNKNOWN",e[e["TEXTAREA"]=1]="TEXTAREA",e[e["GUTTER_GLYPH_MARGIN"]=2]="GUTTER_GLYPH_MARGIN",e[e["GUTTER_LINE_NUMBERS"]=3]="GUTTER_LINE_NUMBERS",e[e["GUTTER_LINE_DECORATIONS"]=4]="GUTTER_LINE_DECORATIONS",e[e["GUTTER_VIEW_ZONE"]=5]="GUTTER_VIEW_ZONE",e[e["CONTENT_TEXT"]=6]="CONTENT_TEXT",e[e["CONTENT_EMPTY"]=7]="CONTENT_EMPTY",e[e["CONTENT_VIEW_ZONE"]=8]="CONTENT_VIEW_ZONE",e[e["CONTENT_WIDGET"]=9]="CONTENT_WIDGET",e[e["OVERVIEW_RULER"]=10]="OVERVIEW_RULER",e[e["SCROLLBAR"]=11]="SCROLLBAR",e[e["OVERLAY_WIDGET"]=12]="OVERLAY_WIDGET",e[e["OUTSIDE_EDITOR"]=13]="OUTSIDE_EDITOR"}(w||(w={})),function(e){e[e["TOP_RIGHT_CORNER"]=0]="TOP_RIGHT_CORNER",e[e["BOTTOM_RIGHT_CORNER"]=1]="BOTTOM_RIGHT_CORNER",e[e["TOP_CENTER"]=2]="TOP_CENTER"}(O||(O={})),function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"}(k||(k={})),function(e){e[e["Left"]=0]="Left",e[e["Right"]=1]="Right",e[e["None"]=2]="None"}(M||(M={})),function(e){e[e["Off"]=0]="Off",e[e["On"]=1]="On",e[e["Relative"]=2]="Relative",e[e["Interval"]=3]="Interval",e[e["Custom"]=4]="Custom"}(T||(T={})),function(e){e[e["None"]=0]="None",e[e["Text"]=1]="Text",e[e["Blocks"]=2]="Blocks"}(D||(D={})),function(e){e[e["Smooth"]=0]="Smooth",e[e["Immediate"]=1]="Immediate"}(R||(R={})),function(e){e[e["Auto"]=1]="Auto",e[e["Hidden"]=2]="Hidden",e[e["Visible"]=3]="Visible"}(I||(I={})),function(e){e[e["LTR"]=0]="LTR",e[e["RTL"]=1]="RTL"}(E||(E={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"}(N||(N={})),function(e){e[e["File"]=0]="File",e[e["Module"]=1]="Module",e[e["Namespace"]=2]="Namespace",e[e["Package"]=3]="Package",e[e["Class"]=4]="Class",e[e["Method"]=5]="Method",e[e["Property"]=6]="Property",e[e["Field"]=7]="Field",e[e["Constructor"]=8]="Constructor",e[e["Enum"]=9]="Enum",e[e["Interface"]=10]="Interface",e[e["Function"]=11]="Function",e[e["Variable"]=12]="Variable",e[e["Constant"]=13]="Constant",e[e["String"]=14]="String",e[e["Number"]=15]="Number",e[e["Boolean"]=16]="Boolean",e[e["Array"]=17]="Array",e[e["Object"]=18]="Object",e[e["Key"]=19]="Key",e[e["Null"]=20]="Null",e[e["EnumMember"]=21]="EnumMember",e[e["Struct"]=22]="Struct",e[e["Event"]=23]="Event",e[e["Operator"]=24]="Operator",e[e["TypeParameter"]=25]="TypeParameter"}(A||(A={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(P||(P={})),function(e){e[e["Hidden"]=0]="Hidden",e[e["Blink"]=1]="Blink",e[e["Smooth"]=2]="Smooth",e[e["Phase"]=3]="Phase",e[e["Expand"]=4]="Expand",e[e["Solid"]=5]="Solid"}(F||(F={})),function(e){e[e["Line"]=1]="Line",e[e["Block"]=2]="Block",e[e["Underline"]=3]="Underline",e[e["LineThin"]=4]="LineThin",e[e["BlockOutline"]=5]="BlockOutline",e[e["UnderlineThin"]=6]="UnderlineThin"}(x||(x={})),function(e){e[e["AlwaysGrowsWhenTypingAtEdges"]=0]="AlwaysGrowsWhenTypingAtEdges",e[e["NeverGrowsWhenTypingAtEdges"]=1]="NeverGrowsWhenTypingAtEdges",e[e["GrowsOnlyWhenTypingBefore"]=2]="GrowsOnlyWhenTypingBefore",e[e["GrowsOnlyWhenTypingAfter"]=3]="GrowsOnlyWhenTypingAfter"}(B||(B={})),function(e){e[e["None"]=0]="None",e[e["Same"]=1]="Same",e[e["Indent"]=2]="Indent",e[e["DeepIndent"]=3]="DeepIndent"}(W||(W={}))},7340:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("0a0f");const o=Object(i["c"])("ILanguageFeaturesService")},"74ce":function(e,t,n){"use strict";n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return S})),n.d(t,"d",(function(){return v})),n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return k})),n.d(t,"a",(function(){return T}));var i=n("2504"),o=n("fdcc"),r=n("6d8e"),s=n("944a"),a=n("9e74"),c=n("ef8e"),u=n("1e93"),l=n("30db");function d(e){for(let t=0,n=e.length;t<n;t+=4){const n=e[t+0],i=e[t+1],o=e[t+2],r=e[t+3];e[t+0]=r,e[t+1]=o,e[t+2]=i,e[t+3]=n}}function h(e){const t=new Uint8Array(e.buffer,e.byteOffset,4*e.length);return l["h"]()||d(t),u["a"].wrap(t)}function g(e){const t=new Uint32Array(m(e));let n=0;if(t[n++]=e.id,"full"===e.type)t[n++]=1,t[n++]=e.data.length,t.set(e.data,n),n+=e.data.length;else{t[n++]=2,t[n++]=e.deltas.length;for(const i of e.deltas)t[n++]=i.start,t[n++]=i.deleteCount,i.data?(t[n++]=i.data.length,t.set(i.data,n),n+=i.data.length):t[n++]=0}return h(t)}function m(e){let t=0;if(t+=2,"full"===e.type)t+=1+e.data.length;else{t+=1,t+=3*e.deltas.length;for(const n of e.deltas)n.data&&(t+=n.data.length)}return t}var f=n("6a89"),p=n("7340"),_=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{c(i.next(e))}catch(t){r(t)}}function a(e){try{c(i["throw"](e))}catch(t){r(t)}}function c(e){e.done?n(e.value):o(e.value).then(s,a)}c((i=i.apply(e,t||[])).next())}))};function b(e){return e&&!!e.data}function S(e){return e&&Array.isArray(e.edits)}class C{constructor(e,t,n){this.provider=e,this.tokens=t,this.error=n}}function v(e,t){return e.has(t)}function y(e,t){const n=e.orderedGroups(t);return n.length>0?n[0]:[]}function L(e,t,n,i,o){return _(this,void 0,void 0,(function*(){const r=y(e,t),s=yield Promise.all(r.map(e=>_(this,void 0,void 0,(function*(){let r,s=null;try{r=yield e.provideDocumentSemanticTokens(t,e===n?i:null,o)}catch(a){s=a,r=null}return r&&(b(r)||S(r))||(r=null),new C(e,r,s)}))));for(const e of s){if(e.error)throw e.error;if(e.tokens)return e}return s.length>0?s[0]:null}))}function w(e,t){const n=e.orderedGroups(t);return n.length>0?n[0]:null}class O{constructor(e,t){this.provider=e,this.tokens=t}}function k(e,t){return e.has(t)}function M(e,t){const n=e.orderedGroups(t);return n.length>0?n[0]:[]}function T(e,t,n,i){return _(this,void 0,void 0,(function*(){const r=M(e,t),s=yield Promise.all(r.map(e=>_(this,void 0,void 0,(function*(){let r;try{r=yield e.provideDocumentRangeSemanticTokens(t,n,i)}catch(s){Object(o["h"])(s),r=null}return r&&b(r)||(r=null),new O(e,r)}))));for(const e of s)if(e.tokens)return e;return s.length>0?s[0]:null}))}a["a"].registerCommand("_provideDocumentSemanticTokensLegend",(e,...t)=>_(void 0,void 0,void 0,(function*(){const[n]=t;Object(c["c"])(n instanceof r["a"]);const i=e.get(s["a"]).getModel(n);if(!i)return;const{documentSemanticTokensProvider:o}=e.get(p["a"]),u=w(o,i);return u?u[0].getLegend():e.get(a["b"]).executeCommand("_provideDocumentRangeSemanticTokensLegend",n)}))),a["a"].registerCommand("_provideDocumentSemanticTokens",(e,...t)=>_(void 0,void 0,void 0,(function*(){const[n]=t;Object(c["c"])(n instanceof r["a"]);const o=e.get(s["a"]).getModel(n);if(!o)return;const{documentSemanticTokensProvider:u}=e.get(p["a"]);if(!v(u,o))return e.get(a["b"]).executeCommand("_provideDocumentRangeSemanticTokens",n,o.getFullModelRange());const l=yield L(u,o,null,null,i["a"].None);if(!l)return;const{provider:d,tokens:h}=l;if(!h||!b(h))return;const m=g({id:0,type:"full",data:h.data});return h.resultId&&d.releaseDocumentSemanticTokens(h.resultId),m}))),a["a"].registerCommand("_provideDocumentRangeSemanticTokensLegend",(e,...t)=>_(void 0,void 0,void 0,(function*(){const[n,o]=t;Object(c["c"])(n instanceof r["a"]);const a=e.get(s["a"]).getModel(n);if(!a)return;const{documentRangeSemanticTokensProvider:u}=e.get(p["a"]),l=M(u,a);if(0===l.length)return;if(1===l.length)return l[0].getLegend();if(!o||!f["a"].isIRange(o))return console.warn("provideDocumentRangeSemanticTokensLegend might be out-of-sync with provideDocumentRangeSemanticTokens unless a range argument is passed in"),l[0].getLegend();const d=yield T(u,a,f["a"].lift(o),i["a"].None);return d?d.provider.getLegend():void 0}))),a["a"].registerCommand("_provideDocumentRangeSemanticTokens",(e,...t)=>_(void 0,void 0,void 0,(function*(){const[n,o]=t;Object(c["c"])(n instanceof r["a"]),Object(c["c"])(f["a"].isIRange(o));const a=e.get(s["a"]).getModel(n);if(!a)return;const{documentRangeSemanticTokensProvider:u}=e.get(p["a"]),l=yield T(u,a,f["a"].lift(o),i["a"].None);return l&&l.tokens?g({id:0,type:"full",data:l.tokens.data}):void 0})))},"75bf":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r}));var i=n("0a0f");const o=Object(i["c"])("textResourceConfigurationService"),r=Object(i["c"])("textResourcePropertiesService")},7908:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("0a0f");const o=Object(i["c"])("markerDecorationsService")},"7e52":function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var i=n("b400"),o=n("a666"),r=n("3352"),s=n("b7d0"),a=n("dc81"),c=n("944a"),u=n("6a89"),l=n("b589"),d=n("308f"),h=n("303e"),g=n("4035"),m=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},f=function(e,t){return function(n,i){t(n,i,e)}};class p extends o["a"]{constructor(e){super(),this.model=e,this._markersData=new Map,this._register(Object(o["j"])(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(e,t){const n=[...this._markersData.keys()];this._markersData.clear();const i=this.model.deltaDecorations(n,t);for(let o=0;o<i.length;o++)this._markersData.set(i[o],e[o]);return 0!==n.length||0!==i.length}getMarker(e){return this._markersData.get(e.id)}}let _=class extends o["a"]{constructor(e,t){super(),this._markerService=t,this._onDidChangeMarker=this._register(new d["b"]),this._markerDecorations=new g["b"],e.getModels().forEach(e=>this._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){const n=this._markerDecorations.get(e);return n&&n.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{const t=this._markerDecorations.get(e);t&&this._updateDecorations(t)})}_onModelAdded(e){const t=new p(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(e.uri);t&&(t.dispose(),this._markerDecorations.delete(e.uri)),e.uri.scheme!==l["c"].inMemory&&e.uri.scheme!==l["c"].internal&&e.uri.scheme!==l["c"].vscode||this._markerService&&this._markerService.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri]))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500}),n=t.map(t=>({range:this._createDecorationRange(e.model,t),options:this._createDecorationOption(t)}));e.update(t,n)&&this._onDidChangeMarker.fire(e.model)}_createDecorationRange(e,t){let n=u["a"].lift(t);if(t.severity!==i["c"].Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),n=e.validateRange(n),n.isEmpty()){const t=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);if(1===t||n.endColumn>=t)return n;const i=e.getWordAtPosition(n.getStartPosition());i&&(n=new u["a"](n.startLineNumber,i.startColumn,n.endLineNumber,i.endColumn))}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){let i=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);i<n.endColumn&&(n=new u["a"](n.startLineNumber,i,n.endLineNumber,n.endColumn),t.startColumn=i)}return n}_createDecorationOption(e){let t,n,o,c=void 0,u=void 0;switch(e.severity){case i["c"].Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case i["c"].Warning:t="squiggly-warning",c=Object(s["g"])(a["O"]),n=20,o={color:Object(s["g"])(h["tc"]),position:r["d"].Inline};break;case i["c"].Info:t="squiggly-info",c=Object(s["g"])(a["M"]),n=10;break;case i["c"].Error:default:t="squiggly-error",c=Object(s["g"])(a["L"]),n=30,o={color:Object(s["g"])(h["lc"]),position:r["d"].Inline};break}return e.tags&&(-1!==e.tags.indexOf(1)&&(u="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(u="squiggly-inline-deprecated")),{description:"marker-decoration",stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:c,position:r["e"].Right},minimap:o,zIndex:n,inlineClassName:u}}_hasMarkerTag(e,t){return!!e.tags&&e.tags.indexOf(t)>=0}};_=m([f(0,c["a"]),f(1,i["b"])],_)},"85c6":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("6a89"),o=n("8c02"),r=n("3742"),s=n("ef8e"),a=n("879b");class c{static computeUnicodeHighlights(e,t,n){const c=n?n.startLineNumber:1,d=n?n.endLineNumber:e.getLineCount(),h=new l(t),g=h.getCandidateCodePoints();let m;m="allNonBasicAscii"===g?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp(""+u(Array.from(g)),"g");const f=new o["b"](null,m),p=[];let _,b=!1,S=0,C=0,v=0;e:for(let o=c,u=d;o<=u;o++){const t=e.getLineContent(o),n=t.length;f.reset(0);do{if(_=f.next(t),_){let e=_.index,c=_.index+_[0].length;if(e>0){const n=t.charCodeAt(e-1);r["E"](n)&&e--}if(c+1<n){const e=t.charCodeAt(c-1);r["E"](e)&&c++}const u=t.substring(e,c),l=Object(a["d"])(e+1,a["a"],t,0),d=h.shouldHighlightNonBasicASCII(u,l?l.word:null);if(0!==d){3===d?S++:2===d?C++:1===d?v++:Object(s["b"])(d);const t=1e3;if(p.length>=t){b=!0;break e}p.push(new i["a"](o,e+1,o,c+1))}}}while(_)}return{ranges:p,hasMore:b,ambiguousCharacterCount:S,invisibleCharacterCount:C,nonBasicAsciiCharacterCount:v}}static computeUnicodeHighlightReason(e,t){const n=new l(t),i=n.shouldHighlightNonBasicASCII(e,null);switch(i){case 0:return null;case 2:return{kind:1};case 3:{const i=e.codePointAt(0),o=n.ambiguousCharacters.getPrimaryConfusable(i),s=r["a"].getLocales().filter(e=>!r["a"].getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(i));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:s}}case 1:return{kind:2}}}}function u(e,t){const n=`[${r["t"](e.map(e=>String.fromCodePoint(e)).join(""))}]`;return n}class l{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=r["a"].getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of r["c"].codePoints)d(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,o=!1;if(t)for(let s of t){const e=s.codePointAt(0),t=r["A"](s);i=i||t,t||this.ambiguousCharacters.isAmbiguous(e)||r["c"].isInvisibleCharacter(e)||(o=!0)}return!i&&o?0:this.options.invisibleCharacters&&!d(e)&&r["c"].isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function d(e){return" "===e||"\n"===e||"\t"===e}},"8aeb":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("b589"),o=n("82c9"),r=n("cb41"),s=n("459c");const a=/(?:\/|^)(?:([^\/]+)\/)?([^\/]+)$/;function c(e,t,n,r){const c=r===s["a"].ROOT_FOLDER?["rootfolder-icon"]:r===s["a"].FOLDER?["folder-icon"]:["file-icon"];if(n){let d;if(n.scheme===i["c"].data){const e=o["a"].parseMetaData(n);d=e.get(o["a"].META_DATA_LABEL)}else{const e=n.path.match(a);e?(d=l(e[2].toLowerCase()),e[1]&&c.push(l(e[1].toLowerCase())+"-name-dir-icon")):d=l(n.authority.toLowerCase())}if(r===s["a"].FOLDER)c.push(d+"-name-folder-icon");else{if(d){if(c.push(d+"-name-file-icon"),c.push("name-file-icon"),d.length<=255){const e=d.split(".");for(let t=1;t<e.length;t++)c.push(e.slice(t).join(".")+"-ext-file-icon")}c.push("ext-file-icon")}const i=u(e,t,n);i&&c.push(l(i)+"-lang-file-icon")}}return c}function u(e,t,n){if(!n)return null;let s=null;if(n.scheme===i["c"].data){const e=o["a"].parseMetaData(n),i=e.get(o["a"].META_DATA_MIME);i&&(s=t.getLanguageIdByMimeType(i))}else{const t=e.getModel(n);t&&(s=t.getLanguageId())}return s&&s!==r["b"]?s:t.guessLanguageIdByFilepathOrFirstLine(n)}function l(e){return e.replace(/[\11\12\14\15\40]/g,"/")}},"944a":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("0a0f");const o=Object(i["c"])("modelService")},b78f:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("0a0f");const o=Object(i["c"])("textModelService")},ccf6:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var i=n("1b0e"),o=n("30db"),r=n("6d8e"),s=n("7061"),a=n("6a89"),c=n("22e9"),u=n("a411"),l=n("879b"),d=n("97bb"),h=n("ef5d"),g=n("424a"),m=n("ef8e"),f=n("e58e"),p=n("85c6"),_=function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{c(i.next(e))}catch(t){r(t)}}function a(e){try{c(i["throw"](e))}catch(t){r(t)}}function c(e){e.done?n(e.value):o(e.value).then(s,a)}c((i=i.apply(e,t||[])).next())}))};class b extends u["a"]{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,t){const n=Object(l["d"])(e.column,Object(l["c"])(t),this._lines[e.lineNumber-1],0);return n?new a["a"](e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const t=this._lines,n=this._wordenize.bind(this);let i=0,o="",r=0,s=[];return{*[Symbol.iterator](){while(1)if(r<s.length){const e=o.substring(s[r].start,s[r].end);r+=1,yield e}else{if(!(i<t.length))break;o=t[i],s=n(o,e),r=0,i+=1}}}}getLineWords(e,t){const n=this._lines[e-1],i=this._wordenize(n,t),o=[];for(const r of i)o.push({word:n.substring(r.start,r.end),startColumn:r.start+1,endColumn:r.end+1});return o}_wordenize(e,t){const n=[];let i;t.lastIndex=0;while(i=t.exec(e)){if(0===i[0].length)break;n.push({start:i.index,end:i.index+i[0].length})}return n}getValueInRange(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);const t=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,o=[];o.push(this._lines[n].substring(e.startColumn-1));for(let r=n+1;r<i;r++)o.push(this._lines[r]);return o.push(this._lines[i].substring(0,e.endColumn-1)),o.join(t)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();const t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}}_validateRange(e){const t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!s["a"].isIPosition(e))throw new Error("bad position");let{lineNumber:t,column:n}=e,i=!1;if(t<1)t=1,n=1,i=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>e&&(n=e,i=!0)}return i?{lineNumber:t,column:n}:e}}class S{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new b(r["a"].parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(!this._models[e])return;const n=this._models[e];n.onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,t,n){return _(this,void 0,void 0,(function*(){const i=this._getModel(e);return i?p["a"].computeUnicodeHighlights(i,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,t,n,i){return _(this,void 0,void 0,(function*(){const o=this._getModel(e),r=this._getModel(t);if(!o||!r)return null;const s=o.getLinesContent(),a=r.getLinesContent(),u=new c["a"](s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}),l=u.computeDiff(),d=!(l.changes.length>0)&&this._modelsAreIdentical(o,r);return{quitEarly:l.quitEarly,identical:d,changes:l.changes}}))}_modelsAreIdentical(e,t){const n=e.getLineCount(),i=t.getLineCount();if(n!==i)return!1;for(let o=1;o<=n;o++){const n=e.getLineContent(o),i=t.getLineContent(o);if(n!==i)return!1}return!0}computeMoreMinimalEdits(e,t){return _(this,void 0,void 0,(function*(){const n=this._getModel(e);if(!n)return t;const o=[];let r=void 0;t=t.slice(0).sort((e,t)=>{if(e.range&&t.range)return a["a"].compareRangesUsingStarts(e.range,t.range);const n=e.range?0:1,i=t.range?0:1;return n-i});for(let{range:e,text:s,eol:c}of t){if("number"===typeof c&&(r=c),a["a"].isEmpty(e)&&!s)continue;const t=n.getValueInRange(e);if(s=s.replace(/\r\n|\n|\r/g,n.eol),t===s)continue;if(Math.max(s.length,t.length)>S._diffLimit){o.push({range:e,text:s});continue}const u=Object(i["b"])(t,s,!1),l=n.offsetAt(a["a"].lift(e).getStartPosition());for(const e of u){const t=n.positionAt(l+e.originalStart),i=n.positionAt(l+e.originalStart+e.originalLength),r={text:s.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:i.lineNumber,endColumn:i.column}};n.getValueInRange(r.range)!==r.text&&o.push(r)}}return"number"===typeof r&&o.push({eol:r,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o}))}computeLinks(e){return _(this,void 0,void 0,(function*(){const t=this._getModel(e);return t?Object(d["a"])(t):null}))}textualSuggest(e,t,n,i){return _(this,void 0,void 0,(function*(){const o=new f["a"](!0),r=new RegExp(n,i),s=new Set;e:for(let n of e){const e=this._getModel(n);if(e)for(let n of e.words(r))if(n!==t&&isNaN(Number(n))&&(s.add(n),s.size>S._suggestionsLimit))break e}return{words:Array.from(s),duration:o.elapsed()}}))}computeWordRanges(e,t,n,i){return _(this,void 0,void 0,(function*(){const o=this._getModel(e);if(!o)return Object.create(null);const r=new RegExp(n,i),s=Object.create(null);for(let e=t.startLineNumber;e<t.endLineNumber;e++){const t=o.getLineWords(e,r);for(const n of t){if(!isNaN(Number(n.word)))continue;let t=s[n.word];t||(t=[],s[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}}return s}))}navigateValueSet(e,t,n,i,o){return _(this,void 0,void 0,(function*(){const r=this._getModel(e);if(!r)return null;const s=new RegExp(i,o);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});const a=r.getValueInRange(t),c=r.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},s);if(!c)return null;const u=r.getValueInRange(c),l=h["a"].INSTANCE.navigateValueSet(t,a,c,u,n);return l}))}loadForeignModule(e,t,n){const i=(e,t)=>this._host.fhr(e,t),o=m["d"](n,i),r={host:o,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(r,t),Promise.resolve(m["e"](this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!==typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(n){return Promise.reject(n)}}}S._diffLimit=1e5,S._suggestionsLimit=1e4,"function"===typeof importScripts&&(o["b"].monaco=Object(g["a"])())},e47f:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var i=n("308f"),o=n("a666"),r=n("e8e3"),s=n("fdcc"),a=n("3742"),c=n("9768"),u=n("b9b4"),l=n("b589"),d=n("32b8"),h=n("82c9");let g=[],m=[],f=[];function p(e,t=!1){_(e,!1,t)}function _(e,t,n){const i=b(e,t);g.push(i),i.userConfigured?f.push(i):m.push(i),n&&!i.userConfigured&&g.forEach(e=>{e.mime===i.mime||e.userConfigured||(i.extension&&e.extension===i.extension&&console.warn(`Overwriting extension <<${i.extension}>> to now point to mime <<${i.mime}>>`),i.filename&&e.filename===i.filename&&console.warn(`Overwriting filename <<${i.filename}>> to now point to mime <<${i.mime}>>`),i.filepattern&&e.filepattern===i.filepattern&&console.warn(`Overwriting filepattern <<${i.filepattern}>> to now point to mime <<${i.mime}>>`),i.firstline&&e.firstline===i.firstline&&console.warn(`Overwriting firstline <<${i.firstline}>> to now point to mime <<${i.mime}>>`))})}function b(e,t){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:t,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?Object(c["b"])(e.filepattern.toLowerCase()):void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(d["e"].sep)>=0}}function S(){g=g.filter(e=>e.userConfigured),m=[]}function C(e,t){let n;if(e)switch(e.scheme){case l["c"].file:n=e.fsPath;break;case l["c"].data:{const t=h["a"].parseMetaData(e);n=t.get(h["a"].META_DATA_LABEL);break}default:n=e.path}if(!n)return[u["a"].unknown];n=n.toLowerCase();const i=Object(d["a"])(n),o=v(n,i,f);if(o)return[o,u["a"].text];const r=v(n,i,m);if(r)return[r,u["a"].text];if(t){const e=y(t);if(e)return[e,u["a"].text]}return[u["a"].unknown]}function v(e,t,n){var i;let o=void 0,r=void 0,s=void 0;for(let a=n.length-1;a>=0;a--){const c=n[a];if(t===c.filenameLowercase){o=c;break}if(c.filepattern&&(!r||c.filepattern.length>r.filepattern.length)){const n=c.filepatternOnPath?e:t;(null===(i=c.filepatternLowercase)||void 0===i?void 0:i.call(c,n))&&(r=c)}c.extension&&(!s||c.extension.length>s.extension.length)&&t.endsWith(c.extensionLowercase)&&(s=c)}return o?o.mime:r?r.mime:s?s.mime:void 0}function y(e){if(Object(a["T"])(e)&&(e=e.substr(1)),e.length>0)for(let t=g.length-1;t>=0;t--){const n=g[t];if(!n.firstline)continue;const i=e.match(n.firstline);if(i&&i.length>0)return n.mime}}var L=n("cb41"),w=n("0910"),O=n("89cd"),k=n("0184");const M=Object.prototype.hasOwnProperty,T="vs.editor.nullLanguage";k["b"].register(T,{});class D{constructor(){this._languageIdToLanguage=[],this._languageToLanguageId=new Map,this._register(T,0),this._register(L["b"],1),this._nextLanguageId=2}_register(e,t){this._languageIdToLanguage[t]=e,this._languageToLanguageId.set(e,t)}register(e){if(this._languageToLanguageId.has(e))return;const t=this._nextLanguageId++;this._register(e,t)}encodeLanguageId(e){return this._languageToLanguageId.get(e)||0}decodeLanguageId(e){return this._languageIdToLanguage[e]||T}}class R extends o["a"]{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new i["b"]),this.onDidChange=this._onDidChange.event,R.instanceCount++,this._warnOnOverwrite=t,this.languageIdCodec=new D,this._dynamicLanguages=[],this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(L["a"].onDidChangeLanguages(e=>{this._initializeFromRegistry()})))}dispose(){R.instanceCount--,super.dispose()}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},S();const e=[].concat(L["a"].getLanguages()).concat(this._dynamicLanguages);this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(e=>{const t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach(e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(e=>{this._mimeTypesMap[e]=t.identifier})}),O["a"].as(w["a"].Configuration).registerOverrideIdentifiers(this.getRegisteredLanguageIds()),this._onDidChange.fire()}_registerLanguage(e){const t=e.id;let n;M.call(this._languages,t)?n=this._languages[t]:(this.languageIdCodec.register(t),n={identifier:t,name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[],icons:[]},this._languages[t]=n),this._mergeLanguage(n,e)}_mergeLanguage(e,t){const n=t.id;let i=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&(e.mimetypes.push(...t.mimetypes),i=t.mimetypes[0]),i||(i="text/x-"+n,e.mimetypes.push(i)),Array.isArray(t.extensions)){t.configuration?e.extensions=t.extensions.concat(e.extensions):e.extensions=e.extensions.concat(t.extensions);for(let e of t.extensions)p({id:n,mime:i,extension:e},this._warnOnOverwrite)}if(Array.isArray(t.filenames))for(let s of t.filenames)p({id:n,mime:i,filename:s},this._warnOnOverwrite),e.filenames.push(s);if(Array.isArray(t.filenamePatterns))for(let s of t.filenamePatterns)p({id:n,mime:i,filepattern:s},this._warnOnOverwrite);if("string"===typeof t.firstLine&&t.firstLine.length>0){let e=t.firstLine;"^"!==e.charAt(0)&&(e="^"+e);try{const t=new RegExp(e);Object(a["O"])(t)||p({id:n,mime:i,firstline:t},this._warnOnOverwrite)}catch(c){Object(s["g"])(c)}}e.aliases.push(n);let o=null;if("undefined"!==typeof t.aliases&&Array.isArray(t.aliases)&&(o=0===t.aliases.length?[null]:t.aliases),null!==o)for(const s of o)s&&0!==s.length&&e.aliases.push(s);const r=null!==o&&o.length>0;if(r&&null===o[0]);else{const t=(r?o[0]:null)||n;!r&&e.name||(e.name=t)}t.configuration&&e.configurationFiles.push(t.configuration),t.icon&&e.icons.push(t.icon)}isRegisteredLanguageId(e){return!!e&&M.call(this._languages,e)}getRegisteredLanguageIds(){return Object.keys(this._languages)}getLanguageIdByLanguageName(e){const t=e.toLowerCase();return M.call(this._lowercaseNameMap,t)?this._lowercaseNameMap[t]:null}getLanguageIdByMimeType(e){return e&&M.call(this._mimeTypesMap,e)?this._mimeTypesMap[e]:null}guessLanguageIdByFilepathOrFirstLine(e,t){if(!e&&!t)return[];const n=C(e,t);return Object(r["e"])(n.map(e=>this.getLanguageIdByMimeType(e)))}}R.instanceCount=0;var I=n("2e5a");class E extends o["a"]{constructor(e=!1){super(),this._onDidEncounterLanguage=this._register(new i["b"]),this.onDidEncounterLanguage=this._onDidEncounterLanguage.event,this._onDidChange=this._register(new i["b"]({leakWarningThreshold:200})),this.onDidChange=this._onDidChange.event,E.instanceCount++,this._encounteredLanguages=new Set,this._registry=this._register(new R(!0,e)),this.languageIdCodec=this._registry.languageIdCodec,this._register(this._registry.onDidChange(()=>this._onDidChange.fire()))}dispose(){E.instanceCount--,super.dispose()}isRegisteredLanguageId(e){return this._registry.isRegisteredLanguageId(e)}getLanguageIdByLanguageName(e){return this._registry.getLanguageIdByLanguageName(e)}getLanguageIdByMimeType(e){return this._registry.getLanguageIdByMimeType(e)}guessLanguageIdByFilepathOrFirstLine(e,t){const n=this._registry.guessLanguageIdByFilepathOrFirstLine(e,t);return Object(r["n"])(n,null)}createById(e){return new N(this.onDidChange,()=>this._createAndGetLanguageIdentifier(e))}createByFilepathOrFirstLine(e,t){return new N(this.onDidChange,()=>{const n=this.guessLanguageIdByFilepathOrFirstLine(e,t);return this._createAndGetLanguageIdentifier(n)})}_createAndGetLanguageIdentifier(e){return e&&this.isRegisteredLanguageId(e)||(e=L["b"]),this._encounteredLanguages.has(e)||(this._encounteredLanguages.add(e),I["l"].getOrCreate(e),this._onDidEncounterLanguage.fire(e)),e}}E.instanceCount=0;class N{constructor(e,t){this._onDidChangeLanguages=e,this._selector=t,this._listener=null,this._emitter=null,this.languageId=this._selector()}_dispose(){this._listener&&(this._listener.dispose(),this._listener=null),this._emitter&&(this._emitter.dispose(),this._emitter=null)}get onDidChange(){return this._listener||(this._listener=this._onDidChangeLanguages(()=>this._evaluate())),this._emitter||(this._emitter=new i["b"]({onLastListenerRemove:()=>{this._dispose()}})),this._emitter.event}_evaluate(){const e=this._selector();e!==this.languageId&&(this.languageId=e,this._emitter&&this._emitter.fire(this.languageId))}}},e971:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("eda7"),o=n("4035"),r=n("49d9"),s=n("f5f3"),a=n("0a0f"),c=n("d3d7"),u=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},l=function(e,t){return function(n,i){t(n,i,e)}};const d=Object(a["c"])("ILanguageFeatureDebounceService");var h;(function(e){const t=new WeakMap;let n=0;function i(e){let i=t.get(e);return void 0===i&&(i=++n,t.set(e,i)),i}e.of=i})(h||(h={}));class g{constructor(e,t,n,i,r,s){this._logService=e,this._name=t,this._registry=n,this._default=i,this._min=r,this._max=s,this._cache=new o["a"](50,.7)}_key(e){return e.id+this._registry.all(e).reduce((e,t)=>Object(i["b"])(h.of(t),e),0)}get(e){const t=this._key(e),n=this._cache.get(t);return n?Object(r["c"])(n.value,this._min,this._max):this.default()}update(e,t){const n=this._key(e);let i=this._cache.get(n);i||(i=new r["b"](6),this._cache.set(n,i));const o=Object(r["c"])(i.update(t),this._min,this._max);return this._logService.trace(`[DEBOUNCE: ${this._name}] for ${e.uri.toString()} is ${o}ms`),o}_overall(){const e=new r["a"];for(const[,t]of this._cache)e.update(t.value);return e.value}default(){const e=0|this._overall()||this._default;return Object(r["c"])(e,this._min,this._max)}}let m=class{constructor(e){this._logService=e,this._data=new Map}for(e,t,n){var i,o,r;const s=null!==(i=null===n||void 0===n?void 0:n.min)&&void 0!==i?i:50,a=null!==(o=null===n||void 0===n?void 0:n.max)&&void 0!==o?o:Math.pow(s,2),c=null!==(r=null===n||void 0===n?void 0:n.key)&&void 0!==r?r:void 0,u=`${h.of(e)},${s}${c?","+c:""}`;let l=this._data.get(u);return l||(l=new g(this._logService,t,e,0|this._overallAverage()||1.5*s,s,a),this._data.set(u,l)),l}_overallAverage(){let e=new r["a"];for(let t of this._data.values())e.update(t.default());return e.value}};m=u([l(0,c["b"])],m),Object(s["b"])(d,m,!0)}}]);
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com