__useblocks__.define(`static/core/e8f58e9f2.js`,[`require`,`exports`,`module`,`static/core/4dc58c63.js`,`static/core/72f3bd432.js`,`static/core/b9a50ff12.js`,`static/core/c4f58dea2.js`],function(e,t,n){e("./4dc58c63.js");let r=e("./b9a50ff12.js"),i=e("./c4f58dea2.js"),a=e("./72f3bd432.js");var o=120*1e3,s=class{constructor(e){this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&=(this._worker.dispose(),null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){this._worker&&Date.now()-this._lastUsedTime>o&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||=(this._worker=i.t({moduleId:`vs/language/css/cssWorker`,createWorker:()=>new Worker(new URL(``+(typeof document>`u`?e("url").pathToFileURL(__dirname+`/../../assets/css.worker-CjbgNdRf.js`).href:new URL(`../../assets/css.worker-CjbgNdRf.js`,document.currentScript&&document.currentScript.tagName.toUpperCase()===`SCRIPT`&&document.currentScript.src||document.baseURI).href),``+{}.url),{type:`module`}),label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let t;return this._getClient().then(e=>{t=e}).then(t=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(e=>t)}};function c(e){let t=[],n=[],i=new s(e);t.push(i);let o=(...e)=>i.getLanguageServiceWorker(...e);function c(){let{languageId:t,modeConfiguration:i}=e;u(n),i.completionItems&&n.push(r.h.registerCompletionItemProvider(t,new a.t(o,[`/`,`-`,`:`]))),i.hovers&&n.push(r.h.registerHoverProvider(t,new a.d(o))),i.documentHighlights&&n.push(r.h.registerDocumentHighlightProvider(t,new a.o(o))),i.definitions&&n.push(r.h.registerDefinitionProvider(t,new a.n(o))),i.references&&n.push(r.h.registerReferenceProvider(t,new a.f(o))),i.documentSymbols&&n.push(r.h.registerDocumentSymbolProvider(t,new a.l(o))),i.rename&&n.push(r.h.registerRenameProvider(t,new a.p(o))),i.colors&&n.push(r.h.registerColorProvider(t,new a.i(o))),i.foldingRanges&&n.push(r.h.registerFoldingRangeProvider(t,new a.u(o))),i.diagnostics&&n.push(new a.r(t,o,e.onDidChange)),i.selectionRanges&&n.push(r.h.registerSelectionRangeProvider(t,new a.m(o))),i.documentFormattingEdits&&n.push(r.h.registerDocumentFormattingEditProvider(t,new a.a(o))),i.documentRangeFormattingEdits&&n.push(r.h.registerDocumentRangeFormattingEditProvider(t,new a.c(o)))}return c(),t.push(l(n)),l(t)}function l(e){return{dispose:()=>u(e)}}function u(e){for(;e.length;)e.pop().dispose()}t.CompletionAdapter=a.t,t.DefinitionAdapter=a.n,t.DiagnosticsAdapter=a.r,t.DocumentColorAdapter=a.i,t.DocumentFormattingEditProvider=a.a,t.DocumentHighlightAdapter=a.o,t.DocumentLinkAdapter=a.s,t.DocumentRangeFormattingEditProvider=a.c,t.DocumentSymbolAdapter=a.l,t.FoldingRangeAdapter=a.u,t.HoverAdapter=a.d,t.ReferenceAdapter=a.f,t.RenameAdapter=a.p,t.SelectionRangeAdapter=a.m,t.WorkerManager=s,t.fromPosition=a.h,t.fromRange=a.g,t.setupMode=c,t.toRange=a._,t.toTextEdit=a.v});