"use strict";var __getOwnPropNames=Object.getOwnPropertyNames,__commonJS=(w,I)=>function(){return I||(0,w[__getOwnPropNames(w)[0]])((I={exports:{}}).exports,I),I.exports},require_bootstrap_node=__commonJS({"out-build/bootstrap-node.js"(w){"use strict";function I(){const P=require("path");try{typeof process.env.VSCODE_CWD!="string"&&(process.env.VSCODE_CWD=process.cwd()),process.platform==="win32"&&process.chdir(P.dirname(process.execPath))}catch(R){console.error(R)}}I(),w.injectNodeModuleLookupPath=function(P){if(!P)throw new Error("Missing injectPath");const R=require("module"),E=require("path").join(__dirname,"../node_modules"),o=R._resolveLookupPaths;R._resolveLookupPaths=function(d,y){const _=o(d,y);if(Array.isArray(_)){for(let f=0,i=_.length;f=0?!0:typeof process<"u"?process.platform==="win32":!1}}o.Environment=d})(E||(E={}));var E;(function(o){class d{constructor(i,h,p){this.type=i,this.detail=h,this.timestamp=p}}o.LoaderEvent=d;class y{constructor(i){this._events=[new d(1,"",i)]}record(i,h){this._events.push(new d(i,h,o.Utilities.getHighPerformanceTimestamp()))}getEvents(){return this._events}}o.LoaderEventRecorder=y;class _{record(i,h){}getEvents(){return[]}}_.INSTANCE=new _,o.NullLoaderEventRecorder=_})(E||(E={}));var E;(function(o){class d{static fileUriToFilePath(_,f){if(f=decodeURI(f).replace(/%23/g,"#"),_){if(/^file:\/\/\//.test(f))return f.substr(8);if(/^file:\/\//.test(f))return f.substr(5)}else if(/^file:\/\//.test(f))return f.substr(7);return f}static startsWith(_,f){return _.length>=f.length&&_.substr(0,f.length)===f}static endsWith(_,f){return _.length>=f.length&&_.substr(_.length-f.length)===f}static containsQueryString(_){return/^[^\#]*\?/gi.test(_)}static isAbsolutePath(_){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(_)}static forEachProperty(_,f){if(_){let i;for(i in _)_.hasOwnProperty(i)&&f(i,_[i])}}static isEmpty(_){let f=!0;return d.forEachProperty(_,()=>{f=!1}),f}static recursiveClone(_){if(!_||typeof _!="object"||_ instanceof RegExp||!Array.isArray(_)&&Object.getPrototypeOf(_)!==Object.prototype)return _;let f=Array.isArray(_)?[]:{};return d.forEachProperty(_,(i,h)=>{h&&typeof h=="object"?f[i]=d.recursiveClone(h):f[i]=h}),f}static generateAnonymousModule(){return"===anonymous"+d.NEXT_ANONYMOUS_ID+++"==="}static isAnonymousModule(_){return d.startsWith(_,"===anonymous")}static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBED||(this.PERFORMANCE_NOW_PROBED=!0,this.HAS_PERFORMANCE_NOW=o.global.performance&&typeof o.global.performance.now=="function"),this.HAS_PERFORMANCE_NOW?o.global.performance.now():Date.now()}}d.NEXT_ANONYMOUS_ID=1,d.PERFORMANCE_NOW_PROBED=!1,d.HAS_PERFORMANCE_NOW=!1,o.Utilities=d})(E||(E={}));var E;(function(o){function d(f){if(f instanceof Error)return f;const i=new Error(f.message||String(f)||"Unknown Error");return f.stack&&(i.stack=f.stack),i}o.ensureError=d;class y{static validateConfigurationOptions(i){function h(p){if(p.phase==="loading"){console.error('Loading "'+p.moduleId+'" failed'),console.error(p),console.error("Here are the modules that depend on it:"),console.error(p.neededBy);return}if(p.phase==="factory"){console.error('The factory function of "'+p.moduleId+'" has thrown an exception'),console.error(p),console.error("Here are the modules that depend on it:"),console.error(p.neededBy);return}}if(i=i||{},typeof i.baseUrl!="string"&&(i.baseUrl=""),typeof i.isBuild!="boolean"&&(i.isBuild=!1),typeof i.paths!="object"&&(i.paths={}),typeof i.config!="object"&&(i.config={}),typeof i.catchError>"u"&&(i.catchError=!1),typeof i.recordStats>"u"&&(i.recordStats=!1),typeof i.urlArgs!="string"&&(i.urlArgs=""),typeof i.onError!="function"&&(i.onError=h),Array.isArray(i.ignoreDuplicateModules)||(i.ignoreDuplicateModules=[]),i.baseUrl.length>0&&(o.Utilities.endsWith(i.baseUrl,"/")||(i.baseUrl+="/")),typeof i.cspNonce!="string"&&(i.cspNonce=""),typeof i.preferScriptTags>"u"&&(i.preferScriptTags=!1),i.nodeCachedData&&typeof i.nodeCachedData=="object"&&(typeof i.nodeCachedData.seed!="string"&&(i.nodeCachedData.seed="seed"),(typeof i.nodeCachedData.writeDelay!="number"||i.nodeCachedData.writeDelay<0)&&(i.nodeCachedData.writeDelay=1e3*7),!i.nodeCachedData.path||typeof i.nodeCachedData.path!="string")){const p=d(new Error("INVALID cached data configuration, 'path' MUST be set"));p.phase="configuration",i.onError(p),i.nodeCachedData=void 0}return i}static mergeConfigurationOptions(i=null,h=null){let p=o.Utilities.recursiveClone(h||{});return o.Utilities.forEachProperty(i,(t,e)=>{t==="ignoreDuplicateModules"&&typeof p.ignoreDuplicateModules<"u"?p.ignoreDuplicateModules=p.ignoreDuplicateModules.concat(e):t==="paths"&&typeof p.paths<"u"?o.Utilities.forEachProperty(e,(r,n)=>p.paths[r]=n):t==="config"&&typeof p.config<"u"?o.Utilities.forEachProperty(e,(r,n)=>p.config[r]=n):p[t]=o.Utilities.recursiveClone(e)}),y.validateConfigurationOptions(p)}}o.ConfigurationOptionsUtil=y;class _{constructor(i,h){if(this._env=i,this.options=y.mergeConfigurationOptions(h),this._createIgnoreDuplicateModulesMap(),this._createSortedPathsRules(),this.options.baseUrl===""&&this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){let p=this.options.nodeRequire.main.filename,t=Math.max(p.lastIndexOf("/"),p.lastIndexOf("\\"));this.options.baseUrl=p.substring(0,t+1)}}_createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};for(let i=0;i{Array.isArray(h)?this.sortedPathsRules.push({from:i,to:h}):this.sortedPathsRules.push({from:i,to:[h]})}),this.sortedPathsRules.sort((i,h)=>h.from.length-i.from.length)}cloneAndMerge(i){return new _(this._env,y.mergeConfigurationOptions(i,this.options))}getOptionsLiteral(){return this.options}_applyPaths(i){let h;for(let p=0,t=this.sortedPathsRules.length;pthis.triggerCallback(r),u=>this.triggerErrorback(r,u))}triggerCallback(e){let r=this._callbackMap[e];delete this._callbackMap[e];for(let n=0;n{e.removeEventListener("load",l),e.removeEventListener("error",u)},l=a=>{s(),r()},u=a=>{s(),n(a)};e.addEventListener("load",l),e.addEventListener("error",u)}load(e,r,n,s){if(/^node\|/.test(r)){let l=e.getConfig().getOptionsLiteral(),u=h(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=r.split("|"),c=null;try{c=u(a[1])}catch(g){s(g);return}e.enqueueDefineAnonymousModule([],()=>c),n()}else{let l=document.createElement("script");l.setAttribute("async","async"),l.setAttribute("type","text/javascript"),this.attachListeners(l,n,s);const{trustedTypesPolicy:u}=e.getConfig().getOptionsLiteral();u&&(r=u.createScriptURL(r)),l.setAttribute("src",r);const{cspNonce:a}=e.getConfig().getOptionsLiteral();a&&l.setAttribute("nonce",a),document.getElementsByTagName("head")[0].appendChild(l)}}}function _(t){const{trustedTypesPolicy:e}=t.getConfig().getOptionsLiteral();try{return(e?self.eval(e.createScript("","true")):new Function("true")).call(self),!0}catch{return!1}}class f{constructor(){this._cachedCanUseEval=null}_canUseEval(e){return this._cachedCanUseEval===null&&(this._cachedCanUseEval=_(e)),this._cachedCanUseEval}load(e,r,n,s){if(/^node\|/.test(r)){const l=e.getConfig().getOptionsLiteral(),u=h(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=r.split("|");let c=null;try{c=u(a[1])}catch(g){s(g);return}e.enqueueDefineAnonymousModule([],function(){return c}),n()}else{const{trustedTypesPolicy:l}=e.getConfig().getOptionsLiteral();if(!(/^((http:)|(https:)|(file:))/.test(r)&&r.substring(0,self.origin.length)!==self.origin)&&this._canUseEval(e)){fetch(r).then(a=>{if(a.status!==200)throw new Error(a.statusText);return a.text()}).then(a=>{a=`${a} //# sourceURL=${r}`,(l?self.eval(l.createScript("",a)):new Function(a)).call(self),n()}).then(void 0,s);return}try{l&&(r=l.createScriptURL(r)),importScripts(r),n()}catch(a){s(a)}}}}class i{constructor(e){this._env=e,this._didInitialize=!1,this._didPatchNodeRequire=!1}_init(e){this._didInitialize||(this._didInitialize=!0,this._fs=e("fs"),this._vm=e("vm"),this._path=e("path"),this._crypto=e("crypto"))}_initNodeRequire(e,r){const{nodeCachedData:n}=r.getConfig().getOptionsLiteral();if(!n||this._didPatchNodeRequire)return;this._didPatchNodeRequire=!0;const s=this,l=e("module");function u(a){const c=a.constructor;let g=function(m){try{return a.require(m)}finally{}};return g.resolve=function(m,b){return c._resolveFilename(m,a,!1,b)},g.resolve.paths=function(m){return c._resolveLookupPaths(m,a)},g.main=process.mainModule,g.extensions=c._extensions,g.cache=c._cache,g}l.prototype._compile=function(a,c){const g=l.wrap(a.replace(/^#!.*/,"")),v=r.getRecorder(),m=s._getCachedDataPath(n,c),b={filename:c};let S;try{const k=s._fs.readFileSync(m);S=k.slice(0,16),b.cachedData=k.slice(16),v.record(60,m)}catch{v.record(61,m)}const D=new s._vm.Script(g,b),U=D.runInThisContext(b),N=s._path.dirname(c),C=u(this),T=[this.exports,C,this,c,N,process,R,Buffer],q=U.apply(this.exports,T);return s._handleCachedData(D,g,m,!b.cachedData,r),s._verifyCachedData(D,g,m,S,r),q}}load(e,r,n,s){const l=e.getConfig().getOptionsLiteral(),u=h(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=l.nodeInstrumenter||function(g){return g};this._init(u),this._initNodeRequire(u,e);let c=e.getRecorder();if(/^node\|/.test(r)){let g=r.split("|"),v=null;try{v=u(g[1])}catch(m){s(m);return}e.enqueueDefineAnonymousModule([],()=>v),n()}else{r=o.Utilities.fileUriToFilePath(this._env.isWindows,r);const g=this._path.normalize(r),v=this._getElectronRendererScriptPathOrUri(g),m=!!l.nodeCachedData,b=m?this._getCachedDataPath(l.nodeCachedData,r):void 0;this._readSourceAndCachedData(g,b,c,(S,D,U,N)=>{if(S){s(S);return}let C;D.charCodeAt(0)===i._BOM?C=i._PREFIX+D.substring(1)+i._SUFFIX:C=i._PREFIX+D+i._SUFFIX,C=a(C,g);const T={filename:v,cachedData:U},q=this._createAndEvalScript(e,C,T,n,s);this._handleCachedData(q,C,b,m&&!U,e),this._verifyCachedData(q,C,b,N,e)})}}_createAndEvalScript(e,r,n,s,l){const u=e.getRecorder();u.record(31,n.filename);const a=new this._vm.Script(r,n),c=a.runInThisContext(n),g=e.getGlobalAMDDefineFunc();let v=!1;const m=function(){return v=!0,g.apply(null,arguments)};return m.amd=g.amd,c.call(o.global,e.getGlobalAMDRequireFunc(),m,n.filename,this._path.dirname(n.filename)),u.record(32,n.filename),v?s():l(new Error(`Didn't receive define call in ${n.filename}!`)),a}_getElectronRendererScriptPathOrUri(e){if(!this._env.isElectronRenderer)return e;let r=e.match(/^([a-z])\:(.*)/i);return r?`file:///${(r[1].toUpperCase()+":"+r[2]).replace(/\\/g,"/")}`:`file://${e}`}_getCachedDataPath(e,r){const n=this._crypto.createHash("md5").update(r,"utf8").update(e.seed,"utf8").update(process.arch,"").digest("hex"),s=this._path.basename(r).replace(/\.js$/,"");return this._path.join(e.path,`${s}-${n}.code`)}_handleCachedData(e,r,n,s,l){e.cachedDataRejected?this._fs.unlink(n,u=>{l.getRecorder().record(62,n),this._createAndWriteCachedData(e,r,n,l),u&&l.getConfig().onError(u)}):s&&this._createAndWriteCachedData(e,r,n,l)}_createAndWriteCachedData(e,r,n,s){let l=Math.ceil(s.getConfig().getOptionsLiteral().nodeCachedData.writeDelay*(1+Math.random())),u=-1,a=0,c;const g=()=>{setTimeout(()=>{c||(c=this._crypto.createHash("md5").update(r,"utf8").digest());const v=e.createCachedData();if(!(v.length===0||v.length===u||a>=5)){if(v.length{m&&s.getConfig().onError(m),s.getRecorder().record(63,n),g()})}},l*Math.pow(4,a++))};g()}_readSourceAndCachedData(e,r,n,s){if(!r)this._fs.readFile(e,{encoding:"utf8"},s);else{let l,u,a,c=2;const g=v=>{v?s(v):--c===0&&s(void 0,l,u,a)};this._fs.readFile(e,{encoding:"utf8"},(v,m)=>{l=m,g(v)}),this._fs.readFile(r,(v,m)=>{!v&&m&&m.length>0?(a=m.slice(0,16),u=m.slice(16),n.record(60,r)):n.record(61,r),g()})}}_verifyCachedData(e,r,n,s,l){s&&(e.cachedDataRejected||setTimeout(()=>{const u=this._crypto.createHash("md5").update(r,"utf8").digest();s.equals(u)||(l.getConfig().onError(new Error(`FAILED TO VERIFY CACHED DATA, deleting stale '${n}' now, but a RESTART IS REQUIRED`)),this._fs.unlink(n,a=>{a&&l.getConfig().onError(a)}))},Math.ceil(5e3*(1+Math.random()))))}}i._BOM=65279,i._PREFIX="(function (require, define, __filename, __dirname) { ",i._SUFFIX=` });`;function h(t,e){if(e.__$__isRecorded)return e;const r=function(s){t.record(33,s);try{return e(s)}finally{t.record(34,s)}};return r.__$__isRecorded=!0,r}o.ensureRecordedNodeRequire=h;function p(t){return new d(t)}o.createScriptLoader=p})(E||(E={}));var E;(function(o){class d{constructor(t){let e=t.lastIndexOf("/");e!==-1?this.fromModulePath=t.substr(0,e+1):this.fromModulePath=""}static _normalizeModuleId(t){let e=t,r;for(r=/\/\.\//;r.test(e);)e=e.replace(r,"/");for(e=e.replace(/^\.\//g,""),r=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;r.test(e);)e=e.replace(r,"/");return e=e.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,""),e}resolveModule(t){let e=t;return o.Utilities.isAbsolutePath(e)||(o.Utilities.startsWith(e,"./")||o.Utilities.startsWith(e,"../"))&&(e=d._normalizeModuleId(this.fromModulePath+e)),e}}d.ROOT=new d(""),o.ModuleIdResolver=d;class y{constructor(t,e,r,n,s,l){this.id=t,this.strId=e,this.dependencies=r,this._callback=n,this._errorback=s,this.moduleIdResolver=l,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}static _safeInvokeFunction(t,e){try{return{returnedValue:t.apply(o.global,e),producedError:null}}catch(r){return{returnedValue:null,producedError:r}}}static _invokeFactory(t,e,r,n){return t.shouldInvokeFactory(e)?t.shouldCatchError()?this._safeInvokeFunction(r,n):{returnedValue:r.apply(o.global,n),producedError:null}:{returnedValue:null,producedError:null}}complete(t,e,r,n){this._isComplete=!0;let s=null;if(this._callback)if(typeof this._callback=="function"){t.record(21,this.strId);let l=y._invokeFactory(e,this.strId,this._callback,r);s=l.producedError,t.record(22,this.strId),!s&&typeof l.returnedValue<"u"&&(!this.exportsPassedIn||o.Utilities.isEmpty(this.exports))&&(this.exports=l.returnedValue)}else this.exports=this._callback;if(s){let l=o.ensureError(s);l.phase="factory",l.moduleId=this.strId,l.neededBy=n(this.id),this.error=l,e.onError(l)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null}onDependencyError(t){return this._isComplete=!0,this.error=t,this._errorback?(this._errorback(t),!0):!1}isComplete(){return this._isComplete}}o.Module=y;class _{constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}getMaxModuleId(){return this._nextId}getModuleId(t){let e=this._strModuleIdToIntModuleId.get(t);return typeof e>"u"&&(e=this._nextId++,this._strModuleIdToIntModuleId.set(t,e),this._intModuleIdToStrModuleId[e]=t),e}getStrModuleId(t){return this._intModuleIdToStrModuleId[t]}}class f{constructor(t){this.id=t}}f.EXPORTS=new f(0),f.MODULE=new f(1),f.REQUIRE=new f(2),o.RegularDependency=f;class i{constructor(t,e,r){this.id=t,this.pluginId=e,this.pluginParam=r}}o.PluginDependency=i;class h{constructor(t,e,r,n,s=0){this._env=t,this._scriptLoader=e,this._loaderAvailableTimestamp=s,this._defineFunc=r,this._requireFunc=n,this._moduleIdProvider=new _,this._config=new o.Configuration(this._env),this._hasDependencyCycle=!1,this._modules2=[],this._knownModules2=[],this._inverseDependencies2=[],this._inversePluginDependencies2=new Map,this._currentAnonymousDefineCall=null,this._recorder=null,this._buildInfoPath=[],this._buildInfoDefineStack=[],this._buildInfoDependencies=[],this._requireFunc.moduleManager=this}reset(){return new h(this._env,this._scriptLoader,this._defineFunc,this._requireFunc,this._loaderAvailableTimestamp)}getGlobalAMDDefineFunc(){return this._defineFunc}getGlobalAMDRequireFunc(){return this._requireFunc}static _findRelevantLocationInStack(t,e){let r=l=>l.replace(/\\/g,"/"),n=r(t),s=e.split(/\n/);for(let l=0;lthis._moduleIdProvider.getStrModuleId(c.id))),this._resolve(a)}_normalizeDependency(t,e){if(t==="exports")return f.EXPORTS;if(t==="module")return f.MODULE;if(t==="require")return f.REQUIRE;let r=t.indexOf("!");if(r>=0){let n=e.resolveModule(t.substr(0,r)),s=e.resolveModule(t.substr(r+1)),l=this._moduleIdProvider.getModuleId(n+"!"+s),u=this._moduleIdProvider.getModuleId(n);return new i(l,u,s)}return new f(this._moduleIdProvider.getModuleId(e.resolveModule(t)))}_normalizeDependencies(t,e){let r=[],n=0;for(let s=0,l=t.length;sthis._moduleIdProvider.getStrModuleId(l));const s=o.ensureError(e);return s.phase="loading",s.moduleId=r,s.neededBy=n,s}_onLoadError(t,e){const r=this._createLoadError(t,e);this._modules2[t]||(this._modules2[t]=new y(t,this._moduleIdProvider.getStrModuleId(t),[],()=>{},null,null));let n=[];for(let u=0,a=this._moduleIdProvider.getMaxModuleId();u0;){let u=l.shift(),a=this._modules2[u];a&&(s=a.onDependencyError(r)||s);let c=this._inverseDependencies2[u];if(c)for(let g=0,v=c.length;g0;){let u=s.shift().dependencies;if(u)for(let a=0,c=u.length;athis._relativeRequire(t,r,n,s);return e.toUrl=r=>this._config.requireToUrl(t.resolveModule(r)),e.getStats=()=>this.getLoaderEvents(),e.hasDependencyCycle=()=>this._hasDependencyCycle,e.config=(r,n=!1)=>{this.configure(r,n)},e.__$__nodeRequire=o.global.nodeRequire,e}_loadModule(t){if(this._modules2[t]||this._knownModules2[t])return;this._knownModules2[t]=!0;let e=this._moduleIdProvider.getStrModuleId(t),r=this._config.moduleIdToPaths(e),n=/^@[^\/]+\/[^\/]+$/;this._env.isNode&&(e.indexOf("/")===-1||n.test(e))&&r.push("node|"+e);let s=-1,l=u=>{if(s++,s>=r.length)this._onLoadError(t,u);else{let a=r[s],c=this.getRecorder();if(this._config.isBuild()&&a==="empty:"){this._buildInfoPath[t]=a,this.defineModule(this._moduleIdProvider.getStrModuleId(t),[],null,null,null),this._onLoad(t);return}c.record(10,a),this._scriptLoader.load(this,a,()=>{this._config.isBuild()&&(this._buildInfoPath[t]=a),c.record(11,a),this._onLoad(t)},g=>{c.record(12,a),l(g)})}};l(null)}_loadPluginDependency(t,e){if(this._modules2[e.id]||this._knownModules2[e.id])return;this._knownModules2[e.id]=!0;let r=n=>{this.defineModule(this._moduleIdProvider.getStrModuleId(e.id),[],n,null,null)};r.error=n=>{this._config.onError(this._createLoadError(e.id,n))},t.load(e.pluginParam,this._createRequire(d.ROOT),r,this._config.getOptionsLiteral())}_resolve(t){let e=t.dependencies;if(e)for(let r=0,n=e.length;rthis._moduleIdProvider.getStrModuleId(a)).join(` => `)),t.unresolvedDependenciesCount--;continue}if(this._inverseDependencies2[s.id]=this._inverseDependencies2[s.id]||[],this._inverseDependencies2[s.id].push(t.id),s instanceof i){let u=this._modules2[s.pluginId];if(u&&u.isComplete()){this._loadPluginDependency(u.exports,s);continue}let a=this._inversePluginDependencies2.get(s.pluginId);a||(a=[],this._inversePluginDependencies2.set(s.pluginId,a)),a.push(s),this._loadModule(s.pluginId);continue}this._loadModule(s.id)}t.unresolvedDependenciesCount===0&&this._onModuleComplete(t)}_onModuleComplete(t){let e=this.getRecorder();if(t.isComplete())return;let r=t.dependencies,n=[];if(r)for(let a=0,c=r.length;athis._config.getConfigForModule(t.strId)};continue}if(g===f.REQUIRE){n[a]=this._createRequire(t.moduleIdResolver);continue}let v=this._modules2[g.id];if(v){n[a]=v.exports;continue}n[a]=null}const s=a=>(this._inverseDependencies2[a]||[]).map(c=>this._moduleIdProvider.getStrModuleId(c));t.complete(e,this._config,n,s);let l=this._inverseDependencies2[t.id];if(this._inverseDependencies2[t.id]=null,l)for(let a=0,c=l.length;a"u"&&h())})(E||(E={})),O("vs/css",["require","exports"],function(o,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.load=void 0;function y(p,t,e,r){if(r=r||{},(r["vs/css"]||{}).disabled){e({});return}const s=t.toUrl(p+".css");_(p,s,()=>{e({})},l=>{typeof e.error=="function"&&e.error("Could not find "+s+".")})}d.load=y;function _(p,t,e,r){if(f(p,t)){e();return}i(p,t,e,r)}function f(p,t){const e=window.document.getElementsByTagName("link");for(let r=0,n=e.length;r{t.removeEventListener("load",s),t.removeEventListener("error",l)},s=u=>{n(),e()},l=u=>{n(),r(u)};t.addEventListener("load",s),t.addEventListener("error",l)}}),O("vs/nls",["require","exports"],function(o,d){"use strict";Object.defineProperty(d,"__esModule",{value:!0}),d.load=d.create=d.setPseudoTranslation=d.getConfiguredDefaultLocale=d.localize2=d.localize=void 0;let y=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const _="i-default";function f(c,g){let v;return g.length===0?v=c:v=c.replace(/\{(\d+)\}/g,(m,b)=>{const S=b[0],D=g[S];let U=m;return typeof D=="string"?U=D:(typeof D=="number"||typeof D=="boolean"||D===void 0||D===null)&&(U=String(D)),U}),y&&(v="\uFF3B"+v.replace(/[aouei]/g,"$&$&")+"\uFF3D"),v}function i(c,g){let v=c[g];return v||(v=c["*"],v)?v:null}function h(c){return c.charAt(c.length-1)==="/"?c:c+"/"}async function p(c,g,v){const m=h(c)+h(g)+"vscode/"+h(v),b=await fetch(m);if(b.ok)return await b.json();throw new Error(`${b.status} - ${b.statusText}`)}function t(c){return function(g,v){const m=Array.prototype.slice.call(arguments,2);return f(c[g],m)}}function e(c){return(g,v,...m)=>({value:f(c[g],m),original:f(v,m)})}function r(c,g,...v){return f(g,v)}d.localize=r;function n(c,g,...v){const m=f(g,v);return{value:m,original:m}}d.localize2=n;function s(c){}d.getConfiguredDefaultLocale=s;function l(c){y=c}d.setPseudoTranslation=l;function u(c,g){return{localize:t(g[c]),localize2:e(g[c]),getConfiguredDefaultLocale:g.getConfiguredDefaultLocale??(v=>{})}}d.create=u;function a(c,g,v,m){const b=m["vs/nls"]??{};if(!c||c.length===0)return v({localize:r,localize2:n,getConfiguredDefaultLocale:()=>b.availableLanguages?.["*"]});const S=b.availableLanguages?i(b.availableLanguages,c):null,D=S===null||S===_;let U=".nls";D||(U=U+"."+S);const N=C=>{Array.isArray(C)?(C.localize=t(C),C.localize2=e(C)):(C.localize=t(C[c]),C.localize2=e(C[c])),C.getConfiguredDefaultLocale=()=>b.availableLanguages?.["*"],v(C)};typeof b.loadBundle=="function"?b.loadBundle(c,S,(C,T)=>{C?g([c+".nls"],N):N(T)}):b.translationServiceUrl&&!D?(async()=>{try{const C=await p(b.translationServiceUrl,S,c);return N(C)}catch(C){if(!S.includes("-"))return console.error(C),g([c+".nls"],N);try{const T=S.split("-")[0],q=await p(b.translationServiceUrl,T,c);return b.availableLanguages??={},b.availableLanguages["*"]=T,N(q)}catch(T){return console.error(T),g([c+".nls"],N)}}})():g([c+U],N,C=>{if(U===".nls"){console.error("Failed trying to load default language strings",C);return}console.error(`Failed to load message bundle for language ${S}. Falling back to the default language:`,C),g([c+".nls"],N)})}d.load=a})}}),require_bootstrap=__commonJS({"out-build/bootstrap.js"(w,I){"use strict";(function(P,R){typeof w=="object"?I.exports=R():P.MonacoBootstrap=R()})(w,function(){const P=typeof require=="function"?require("module"):void 0,R=typeof require=="function"?require("path"):void 0,O=typeof require=="function"?require("fs"):void 0,E=typeof require=="function"?require("util"):void 0;if(Error.stackTraceLimit=100,typeof process<"u"&&!process.env.VSCODE_HANDLES_SIGPIPE){let t=!1;process.on("SIGPIPE",()=>{t||(t=!0,console.error(new Error("Unexpected SIGPIPE")))})}function o(){if(!R||!P||typeof process>"u"){console.warn("enableASARSupport() is only available in node.js environments");return}const t=R.join(__dirname,"../node_modules"),e=`${t}.asar`,r=P._resolveLookupPaths;P._resolveLookupPaths=function(n,s){const l=r(n,s);if(Array.isArray(l)){for(let u=0,a=l.length;u0&&r.charAt(0)!=="/"&&(r=`/${r}`);let n;return e.isWindows&&r.startsWith("//")?n=encodeURI(`${e.scheme||"file"}:${r}`):n=encodeURI(`${e.scheme||"file"}://${e.fallbackAuthority||""}${r}`),n.replace(/#/g,"%23")}function y(){const t=f();let e={availableLanguages:{}};if(t&&t.env.VSCODE_NLS_CONFIG)try{e=JSON.parse(t.env.VSCODE_NLS_CONFIG)}catch{}if(e._resolvedLanguagePackCoreLocation){const r=Object.create(null);e.loadBundle=function(n,s,l){const u=r[n];if(u){l(void 0,u);return}h(e._resolvedLanguagePackCoreLocation,`${n.replace(/\//g,"!")}.nls.json`).then(function(a){const c=JSON.parse(a);r[n]=c,l(void 0,c)}).catch(a=>{try{e._corruptedFile&&p(e._corruptedFile,"corrupted").catch(function(c){console.error(c)})}finally{l(a,void 0)}})}}return e}function _(){return(typeof self=="object"?self:typeof global=="object"?global:{}).vscode}function f(){const t=_();if(t)return t.process;if(typeof process<"u")return process}function i(){const t=_();if(t)return t.ipcRenderer}async function h(...t){const e=i();if(e)return e.invoke("vscode:readNlsFile",...t);if(O&&R&&E)return(await E.promisify(O.readFile)(R.join(...t))).toString();throw new Error("Unsupported operation (read NLS files)")}function p(t,e){const r=i();if(r)return r.invoke("vscode:writeNlsFile",t,e);if(O&&E)return E.promisify(O.writeFile)(t,e);throw new Error("Unsupported operation (write NLS files)")}return{enableASARSupport:o,setupNLS:y,fileUriFromPath:d}})}}),require_performance=__commonJS({"out-build/vs/base/common/performance.js"(w,I){"use strict";(function(){function P(o){const d=[];typeof o=="number"&&d.push("code/timeOrigin",o);function y(f){d.push(f,Date.now())}function _(){const f=[];for(let i=0;iI(String(d))}),globalThis._VSCODE_PRODUCT_JSON=require("../product.json"),process.env.VSCODE_DEV)try{const o=require("../product.overrides.json");globalThis._VSCODE_PRODUCT_JSON=Object.assign(globalThis._VSCODE_PRODUCT_JSON,o)}catch{}globalThis._VSCODE_PACKAGE_JSON=require("../package.json");var P=require_loader(),R=require_bootstrap(),O=require_performance(),E=R.setupNLS();P.config({baseUrl:R.fileUriFromPath(__dirname,{isWindows:process.platform==="win32"}),catchError:!0,nodeRequire:I,"vs/nls":E,amdModulesPattern:/^vs\//,recordStats:!0}),(process.env.ELECTRON_RUN_AS_NODE||process.versions.electron)&&P.define("fs",["original-fs"],function(o){return o}),E&&E.pseudo&&P(["vs/nls"],function(o){o.setPseudoTranslation(!!E.pseudo)}),w.load=function(o,d,y){o&&(process.env.VSCODE_CODE_CACHE_PATH&&P.config({nodeCachedData:{path:process.env.VSCODE_CODE_CACHE_PATH,seed:o}}),d=d||function(){},y=y||function(_){console.error(_)},O.mark("code/fork/willLoadCode"),P([o],d,y))}}}),path=require("path");delete process.env.ELECTRON_RUN_AS_NODE,process.env.VSCODE_DEV?(process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH=process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH||path.join(__dirname,"..","remote","node_modules"),require_bootstrap_node().injectNodeModuleLookupPath(process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH)):delete process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH,require_bootstrap_amd().load("vs/server/node/server.cli"); //# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/31c37ee8f63491495ac49e43b8544550fbae4533/core/server-cli.js.map