Domain: amberpublishers.in
Server Adress: 86.38.243.169

privdayz.com

/home/u866425823/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/
Dosya Yükle :
Current File : /home/u866425823/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/server-main.js

"use strict";var __getOwnPropNames=Object.getOwnPropertyNames,__commonJS=(R,E)=>function(){return E||(0,R[__getOwnPropNames(R)[0]])((E={exports:{}}).exports,E),E.exports},require_performance=__commonJS({"out-build/vs/base/common/performance.js"(R,E){"use strict";(function(){function b(o){const f=[];typeof o=="number"&&f.push("code/timeOrigin",o);function m(p){f.push(p,Date.now())}function _(){const p=[];for(let i=0;i<f.length;i+=2)p.push({name:f[i],startTime:f[i+1]});return p}return{mark:m,getMarks:_}}function C(){if(typeof performance=="object"&&typeof performance.mark=="function"&&!performance.nodeTiming)return typeof performance.timeOrigin!="number"&&!performance.timing?b():{mark(o){performance.mark(o)},getMarks(){let o=performance.timeOrigin;typeof o!="number"&&(o=performance.timing.navigationStart||performance.timing.redirectStart||performance.timing.fetchStart);const f=[{name:"code/timeOrigin",startTime:Math.round(o)}];for(const m of performance.getEntriesByType("mark"))f.push({name:m.name,startTime:Math.round(o+m.startTime)});return f}};if(typeof process=="object"){const o=performance?.timeOrigin??Math.round((require.__$__nodeRequire||require)("perf_hooks").performance.timeOrigin);return b(o)}else return console.trace("perf-util loaded in UNKNOWN environment"),b()}function O(o){return o.MonacoPerformanceMarks||(o.MonacoPerformanceMarks=C()),o.MonacoPerformanceMarks}var y;typeof global=="object"?y=global:typeof self=="object"?y=self:y={},typeof define=="function"?define([],function(){return O(y)}):typeof E=="object"&&typeof E.exports=="object"?E.exports=O(y):(console.trace("perf-util defined in UNKNOWN context (neither requirejs or commonjs)"),y.perf=O(y))})()}}),require_bootstrap_node=__commonJS({"out-build/bootstrap-node.js"(R){"use strict";function E(){const b=require("path");try{typeof process.env.VSCODE_CWD!="string"&&(process.env.VSCODE_CWD=process.cwd()),process.platform==="win32"&&process.chdir(b.dirname(process.execPath))}catch(C){console.error(C)}}E(),R.injectNodeModuleLookupPath=function(b){if(!b)throw new Error("Missing injectPath");const C=require("module"),y=require("path").join(__dirname,"../node_modules"),o=C._resolveLookupPaths;C._resolveLookupPaths=function(f,m){const _=o(f,m);if(Array.isArray(_)){for(let p=0,i=_.length;p<i;p++)if(_[p]===y){_.splice(p,0,b);break}}return _}},R.removeGlobalNodeModuleLookupPaths=function(){const b=require("module"),C=b.globalPaths,O=b._resolveLookupPaths;b._resolveLookupPaths=function(y,o){const f=O(y,o);if(Array.isArray(f)){let m=0;for(;m<f.length&&f[f.length-1-m]===C[C.length-1-m];)m++;return f.slice(0,f.length-m)}return f}},R.configurePortable=function(b){const C=require("fs"),O=require("path"),y=O.dirname(__dirname);function o(c){return process.env.VSCODE_DEV?y:process.platform==="darwin"?c.dirname(c.dirname(c.dirname(y))):c.dirname(c.dirname(y))}function f(c){if(process.env.VSCODE_PORTABLE)return process.env.VSCODE_PORTABLE;if(process.platform==="win32"||process.platform==="linux")return c.join(o(c),"data");const h=b.portable||`${b.applicationName}-portable-data`;return c.join(c.dirname(o(c)),h)}const m=f(O),_=!("target"in b)&&C.existsSync(m),p=O.join(m,"tmp"),i=_&&C.existsSync(p);return _?process.env.VSCODE_PORTABLE=m:delete process.env.VSCODE_PORTABLE,i&&(process.platform==="win32"?(process.env.TMP=p,process.env.TEMP=p):process.env.TMPDIR=p),{portableDataPath:m,isPortable:_}}}}),require_loader=__commonJS({"out-build/vs/loader.js"(R,E){"use strict";var b=R,C=typeof global=="object"?global:{},y;(function(o){o.global=b;class f{get isWindows(){return this._detect(),this._isWindows}get isNode(){return this._detect(),this._isNode}get isElectronRenderer(){return this._detect(),this._isElectronRenderer}get isWebWorker(){return this._detect(),this._isWebWorker}get isElectronNodeIntegrationWebWorker(){return this._detect(),this._isElectronNodeIntegrationWebWorker}constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,this._isElectronRenderer=!1,this._isWebWorker=!1,this._isElectronNodeIntegrationWebWorker=!1}_detect(){this._detected||(this._detected=!0,this._isWindows=f._isWindows(),this._isNode=typeof E<"u"&&!!E.exports,this._isElectronRenderer=typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.electron<"u"&&process.type==="renderer",this._isWebWorker=typeof o.global.importScripts=="function",this._isElectronNodeIntegrationWebWorker=this._isWebWorker&&typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.electron<"u"&&process.type==="worker")}static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.indexOf("Windows")>=0?!0:typeof process<"u"?process.platform==="win32":!1}}o.Environment=f})(y||(y={}));var y;(function(o){class f{constructor(i,c,h){this.type=i,this.detail=c,this.timestamp=h}}o.LoaderEvent=f;class m{constructor(i){this._events=[new f(1,"",i)]}record(i,c){this._events.push(new f(i,c,o.Utilities.getHighPerformanceTimestamp()))}getEvents(){return this._events}}o.LoaderEventRecorder=m;class _{record(i,c){}getEvents(){return[]}}_.INSTANCE=new _,o.NullLoaderEventRecorder=_})(y||(y={}));var y;(function(o){class f{static fileUriToFilePath(_,p){if(p=decodeURI(p).replace(/%23/g,"#"),_){if(/^file:\/\/\//.test(p))return p.substr(8);if(/^file:\/\//.test(p))return p.substr(5)}else if(/^file:\/\//.test(p))return p.substr(7);return p}static startsWith(_,p){return _.length>=p.length&&_.substr(0,p.length)===p}static endsWith(_,p){return _.length>=p.length&&_.substr(_.length-p.length)===p}static containsQueryString(_){return/^[^\#]*\?/gi.test(_)}static isAbsolutePath(_){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(_)}static forEachProperty(_,p){if(_){let i;for(i in _)_.hasOwnProperty(i)&&p(i,_[i])}}static isEmpty(_){let p=!0;return f.forEachProperty(_,()=>{p=!1}),p}static recursiveClone(_){if(!_||typeof _!="object"||_ instanceof RegExp||!Array.isArray(_)&&Object.getPrototypeOf(_)!==Object.prototype)return _;let p=Array.isArray(_)?[]:{};return f.forEachProperty(_,(i,c)=>{c&&typeof c=="object"?p[i]=f.recursiveClone(c):p[i]=c}),p}static generateAnonymousModule(){return"===anonymous"+f.NEXT_ANONYMOUS_ID+++"==="}static isAnonymousModule(_){return f.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()}}f.NEXT_ANONYMOUS_ID=1,f.PERFORMANCE_NOW_PROBED=!1,f.HAS_PERFORMANCE_NOW=!1,o.Utilities=f})(y||(y={}));var y;(function(o){function f(p){if(p instanceof Error)return p;const i=new Error(p.message||String(p)||"Unknown Error");return p.stack&&(i.stack=p.stack),i}o.ensureError=f;class m{static validateConfigurationOptions(i){function c(h){if(h.phase==="loading"){console.error('Loading "'+h.moduleId+'" failed'),console.error(h),console.error("Here are the modules that depend on it:"),console.error(h.neededBy);return}if(h.phase==="factory"){console.error('The factory function of "'+h.moduleId+'" has thrown an exception'),console.error(h),console.error("Here are the modules that depend on it:"),console.error(h.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=c),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 h=f(new Error("INVALID cached data configuration, 'path' MUST be set"));h.phase="configuration",i.onError(h),i.nodeCachedData=void 0}return i}static mergeConfigurationOptions(i=null,c=null){let h=o.Utilities.recursiveClone(c||{});return o.Utilities.forEachProperty(i,(t,e)=>{t==="ignoreDuplicateModules"&&typeof h.ignoreDuplicateModules<"u"?h.ignoreDuplicateModules=h.ignoreDuplicateModules.concat(e):t==="paths"&&typeof h.paths<"u"?o.Utilities.forEachProperty(e,(r,n)=>h.paths[r]=n):t==="config"&&typeof h.config<"u"?o.Utilities.forEachProperty(e,(r,n)=>h.config[r]=n):h[t]=o.Utilities.recursiveClone(e)}),m.validateConfigurationOptions(h)}}o.ConfigurationOptionsUtil=m;class _{constructor(i,c){if(this._env=i,this.options=m.mergeConfigurationOptions(c),this._createIgnoreDuplicateModulesMap(),this._createSortedPathsRules(),this.options.baseUrl===""&&this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){let h=this.options.nodeRequire.main.filename,t=Math.max(h.lastIndexOf("/"),h.lastIndexOf("\\"));this.options.baseUrl=h.substring(0,t+1)}}_createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};for(let i=0;i<this.options.ignoreDuplicateModules.length;i++)this.ignoreDuplicateModulesMap[this.options.ignoreDuplicateModules[i]]=!0}_createSortedPathsRules(){this.sortedPathsRules=[],o.Utilities.forEachProperty(this.options.paths,(i,c)=>{Array.isArray(c)?this.sortedPathsRules.push({from:i,to:c}):this.sortedPathsRules.push({from:i,to:[c]})}),this.sortedPathsRules.sort((i,c)=>c.from.length-i.from.length)}cloneAndMerge(i){return new _(this._env,m.mergeConfigurationOptions(i,this.options))}getOptionsLiteral(){return this.options}_applyPaths(i){let c;for(let h=0,t=this.sortedPathsRules.length;h<t;h++)if(c=this.sortedPathsRules[h],o.Utilities.startsWith(i,c.from)){let e=[];for(let r=0,n=c.to.length;r<n;r++)e.push(c.to[r]+i.substr(c.from.length));return e}return[i]}_addUrlArgsToUrl(i){return o.Utilities.containsQueryString(i)?i+"&"+this.options.urlArgs:i+"?"+this.options.urlArgs}_addUrlArgsIfNecessaryToUrl(i){return this.options.urlArgs?this._addUrlArgsToUrl(i):i}_addUrlArgsIfNecessaryToUrls(i){if(this.options.urlArgs)for(let c=0,h=i.length;c<h;c++)i[c]=this._addUrlArgsToUrl(i[c]);return i}moduleIdToPaths(i){if(this._env.isNode&&this.options.amdModulesPattern instanceof RegExp&&!this.options.amdModulesPattern.test(i))return this.isBuild()?["empty:"]:["node|"+i];let c=i,h;if(!o.Utilities.endsWith(c,".js")&&!o.Utilities.isAbsolutePath(c)){h=this._applyPaths(c);for(let t=0,e=h.length;t<e;t++)this.isBuild()&&h[t]==="empty:"||(o.Utilities.isAbsolutePath(h[t])||(h[t]=this.options.baseUrl+h[t]),!o.Utilities.endsWith(h[t],".js")&&!o.Utilities.containsQueryString(h[t])&&(h[t]=h[t]+".js"))}else!o.Utilities.endsWith(c,".js")&&!o.Utilities.containsQueryString(c)&&(c=c+".js"),h=[c];return this._addUrlArgsIfNecessaryToUrls(h)}requireToUrl(i){let c=i;return o.Utilities.isAbsolutePath(c)||(c=this._applyPaths(c)[0],o.Utilities.isAbsolutePath(c)||(c=this.options.baseUrl+c)),this._addUrlArgsIfNecessaryToUrl(c)}isBuild(){return this.options.isBuild}shouldInvokeFactory(i){return!!(!this.options.isBuild||o.Utilities.isAnonymousModule(i)||this.options.buildForceInvokeFactory&&this.options.buildForceInvokeFactory[i])}isDuplicateMessageIgnoredFor(i){return this.ignoreDuplicateModulesMap.hasOwnProperty(i)}getConfigForModule(i){if(this.options.config)return this.options.config[i]}shouldCatchError(){return this.options.catchError}shouldRecordStats(){return this.options.recordStats}onError(i){this.options.onError(i)}}o.Configuration=_})(y||(y={}));var y;(function(o){class f{constructor(e){this._env=e,this._scriptLoader=null,this._callbackMap={}}load(e,r,n,s){if(!this._scriptLoader)if(this._env.isWebWorker)this._scriptLoader=new p;else if(this._env.isElectronRenderer){const{preferScriptTags:u}=e.getConfig().getOptionsLiteral();u?this._scriptLoader=new m:this._scriptLoader=new i(this._env)}else this._env.isNode?this._scriptLoader=new i(this._env):this._scriptLoader=new m;let l={callback:n,errorback:s};if(this._callbackMap.hasOwnProperty(r)){this._callbackMap[r].push(l);return}this._callbackMap[r]=[l],this._scriptLoader.load(e,r,()=>this.triggerCallback(r),u=>this.triggerErrorback(r,u))}triggerCallback(e){let r=this._callbackMap[e];delete this._callbackMap[e];for(let n=0;n<r.length;n++)r[n].callback()}triggerErrorback(e,r){let n=this._callbackMap[e];delete this._callbackMap[e];for(let s=0;s<n.length;s++)n[s].errorback(r)}}class m{attachListeners(e,r,n){let s=()=>{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=c(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=r.split("|"),d=null;try{d=u(a[1])}catch(g){s(g);return}e.enqueueDefineAnonymousModule([],()=>d),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 p{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=c(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=r.split("|");let d=null;try{d=u(a[1])}catch(g){s(g);return}e.enqueueDefineAnonymousModule([],function(){return d}),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 d=a.constructor;let g=function(P){try{return a.require(P)}finally{}};return g.resolve=function(P,I){return d._resolveFilename(P,a,!1,I)},g.resolve.paths=function(P){return d._resolveLookupPaths(P,a)},g.main=process.mainModule,g.extensions=d._extensions,g.cache=d._cache,g}l.prototype._compile=function(a,d){const g=l.wrap(a.replace(/^#!.*/,"")),v=r.getRecorder(),P=s._getCachedDataPath(n,d),I={filename:d};let D;try{const N=s._fs.readFileSync(P);D=N.slice(0,16),I.cachedData=N.slice(16),v.record(60,P)}catch{v.record(61,P)}const w=new s._vm.Script(g,I),U=w.runInThisContext(I),q=s._path.dirname(d),S=u(this),T=[this.exports,S,this,d,q,process,C,Buffer],k=U.apply(this.exports,T);return s._handleCachedData(w,g,P,!I.cachedData,r),s._verifyCachedData(w,g,P,D,r),k}}load(e,r,n,s){const l=e.getConfig().getOptionsLiteral(),u=c(e.getRecorder(),l.nodeRequire||o.global.nodeRequire),a=l.nodeInstrumenter||function(g){return g};this._init(u),this._initNodeRequire(u,e);let d=e.getRecorder();if(/^node\|/.test(r)){let g=r.split("|"),v=null;try{v=u(g[1])}catch(P){s(P);return}e.enqueueDefineAnonymousModule([],()=>v),n()}else{r=o.Utilities.fileUriToFilePath(this._env.isWindows,r);const g=this._path.normalize(r),v=this._getElectronRendererScriptPathOrUri(g),P=!!l.nodeCachedData,I=P?this._getCachedDataPath(l.nodeCachedData,r):void 0;this._readSourceAndCachedData(g,I,d,(D,w,U,q)=>{if(D){s(D);return}let S;w.charCodeAt(0)===i._BOM?S=i._PREFIX+w.substring(1)+i._SUFFIX:S=i._PREFIX+w+i._SUFFIX,S=a(S,g);const T={filename:v,cachedData:U},k=this._createAndEvalScript(e,S,T,n,s);this._handleCachedData(k,S,I,P&&!U,e),this._verifyCachedData(k,S,I,q,e)})}}_createAndEvalScript(e,r,n,s,l){const u=e.getRecorder();u.record(31,n.filename);const a=new this._vm.Script(r,n),d=a.runInThisContext(n),g=e.getGlobalAMDDefineFunc();let v=!1;const P=function(){return v=!0,g.apply(null,arguments)};return P.amd=g.amd,d.call(o.global,e.getGlobalAMDRequireFunc(),P,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,d;const g=()=>{setTimeout(()=>{d||(d=this._crypto.createHash("md5").update(r,"utf8").digest());const v=e.createCachedData();if(!(v.length===0||v.length===u||a>=5)){if(v.length<u){g();return}u=v.length,this._fs.writeFile(n,Buffer.concat([d,v]),P=>{P&&s.getConfig().onError(P),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,d=2;const g=v=>{v?s(v):--d===0&&s(void 0,l,u,a)};this._fs.readFile(e,{encoding:"utf8"},(v,P)=>{l=P,g(v)}),this._fs.readFile(r,(v,P)=>{!v&&P&&P.length>0?(a=P.slice(0,16),u=P.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 c(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=c;function h(t){return new f(t)}o.createScriptLoader=h})(y||(y={}));var y;(function(o){class f{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=f._normalizeModuleId(this.fromModulePath+e)),e}}f.ROOT=new f(""),o.ModuleIdResolver=f;class m{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=m._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=m;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 p{constructor(t){this.id=t}}p.EXPORTS=new p(0),p.MODULE=new p(1),p.REQUIRE=new p(2),o.RegularDependency=p;class i{constructor(t,e,r){this.id=t,this.pluginId=e,this.pluginParam=r}}o.PluginDependency=i;class c{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 c(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;l<s.length;l++){let u=s[l].match(/(.*):(\d+):(\d+)\)?$/);if(u){let a=u[1],d=u[2],g=u[3],v=Math.max(a.lastIndexOf(" ")+1,a.lastIndexOf("(")+1);if(a=a.substr(v),a=r(a),a===n){let P={line:parseInt(d,10),col:parseInt(g,10)};return P.line===1&&(P.col-=53),P}}}throw new Error("Could not correlate define call site for needle "+t)}getBuildInfo(){if(!this._config.isBuild())return null;let t=[],e=0;for(let r=0,n=this._modules2.length;r<n;r++){let s=this._modules2[r];if(!s)continue;let l=this._buildInfoPath[s.id]||null,u=this._buildInfoDefineStack[s.id]||null,a=this._buildInfoDependencies[s.id];t[e++]={id:s.strId,path:l,defineLocation:l&&u?c._findRelevantLocationInStack(l,u):null,dependencies:a,shim:null,exports:s.exports}}return t}getRecorder(){return this._recorder||(this._config.shouldRecordStats()?this._recorder=new o.LoaderEventRecorder(this._loaderAvailableTimestamp):this._recorder=o.NullLoaderEventRecorder.INSTANCE),this._recorder}getLoaderEvents(){return this.getRecorder().getEvents()}enqueueDefineAnonymousModule(t,e){if(this._currentAnonymousDefineCall!==null)throw new Error("Can only have one anonymous define call per script file");let r=null;this._config.isBuild()&&(r=new Error("StackLocation").stack||null),this._currentAnonymousDefineCall={stack:r,dependencies:t,callback:e}}defineModule(t,e,r,n,s,l=new f(t)){let u=this._moduleIdProvider.getModuleId(t);if(this._modules2[u]){this._config.isDuplicateMessageIgnoredFor(t)||console.warn("Duplicate definition of module '"+t+"'");return}let a=new m(u,t,this._normalizeDependencies(e,l),r,n,l);this._modules2[u]=a,this._config.isBuild()&&(this._buildInfoDefineStack[u]=s,this._buildInfoDependencies[u]=(a.dependencies||[]).map(d=>this._moduleIdProvider.getStrModuleId(d.id))),this._resolve(a)}_normalizeDependency(t,e){if(t==="exports")return p.EXPORTS;if(t==="module")return p.MODULE;if(t==="require")return p.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 p(this._moduleIdProvider.getModuleId(e.resolveModule(t)))}_normalizeDependencies(t,e){let r=[],n=0;for(let s=0,l=t.length;s<l;s++)r[n++]=this._normalizeDependency(t[s],e);return r}_relativeRequire(t,e,r,n){if(typeof e=="string")return this.synchronousRequire(e,t);this.defineModule(o.Utilities.generateAnonymousModule(),e,r,n,null,t)}synchronousRequire(t,e=new f(t)){let r=this._normalizeDependency(t,e),n=this._modules2[r.id];if(!n)throw new Error("Check dependency list! Synchronous require cannot resolve module '"+t+"'. This is the first mention of this module!");if(!n.isComplete())throw new Error("Check dependency list! Synchronous require cannot resolve module '"+t+"'. This module has not been resolved completely yet.");if(n.error)throw n.error;return n.exports}configure(t,e){let r=this._config.shouldRecordStats();e?this._config=new o.Configuration(this._env,t):this._config=this._config.cloneAndMerge(t),this._config.shouldRecordStats()&&!r&&(this._recorder=null)}getConfig(){return this._config}_onLoad(t){if(this._currentAnonymousDefineCall!==null){let e=this._currentAnonymousDefineCall;this._currentAnonymousDefineCall=null,this.defineModule(this._moduleIdProvider.getStrModuleId(t),e.dependencies,e.callback,null,e.stack)}}_createLoadError(t,e){let r=this._moduleIdProvider.getStrModuleId(t),n=(this._inverseDependencies2[t]||[]).map(l=>this._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 m(t,this._moduleIdProvider.getStrModuleId(t),[],()=>{},null,null));let n=[];for(let u=0,a=this._moduleIdProvider.getMaxModuleId();u<a;u++)n[u]=!1;let s=!1,l=[];for(l.push(t),n[t]=!0;l.length>0;){let u=l.shift(),a=this._modules2[u];a&&(s=a.onDependencyError(r)||s);let d=this._inverseDependencies2[u];if(d)for(let g=0,v=d.length;g<v;g++){let P=d[g];n[P]||(l.push(P),n[P]=!0)}}s||this._config.onError(r)}_hasDependencyPath(t,e){let r=this._modules2[t];if(!r)return!1;let n=[];for(let l=0,u=this._moduleIdProvider.getMaxModuleId();l<u;l++)n[l]=!1;let s=[];for(s.push(r),n[t]=!0;s.length>0;){let u=s.shift().dependencies;if(u)for(let a=0,d=u.length;a<d;a++){let g=u[a];if(g.id===e)return!0;let v=this._modules2[g.id];v&&!n[g.id]&&(n[g.id]=!0,s.push(v))}}return!1}_findCyclePath(t,e,r){if(t===e||r===50)return[t];let n=this._modules2[t];if(!n)return null;let s=n.dependencies;if(s)for(let l=0,u=s.length;l<u;l++){let a=this._findCyclePath(s[l].id,e,r+1);if(a!==null)return a.push(t),a}return null}_createRequire(t){let e=(r,n,s)=>this._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],d=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}d.record(10,a),this._scriptLoader.load(this,a,()=>{this._config.isBuild()&&(this._buildInfoPath[t]=a),d.record(11,a),this._onLoad(t)},g=>{d.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(f.ROOT),r,this._config.getOptionsLiteral())}_resolve(t){let e=t.dependencies;if(e)for(let r=0,n=e.length;r<n;r++){let s=e[r];if(s===p.EXPORTS){t.exportsPassedIn=!0,t.unresolvedDependenciesCount--;continue}if(s===p.MODULE){t.unresolvedDependenciesCount--;continue}if(s===p.REQUIRE){t.unresolvedDependenciesCount--;continue}let l=this._modules2[s.id];if(l&&l.isComplete()){if(l.error){t.onDependencyError(l.error);return}t.unresolvedDependenciesCount--;continue}if(this._hasDependencyPath(s.id,t.id)){this._hasDependencyCycle=!0,console.warn("There is a dependency cycle between '"+this._moduleIdProvider.getStrModuleId(s.id)+"' and '"+this._moduleIdProvider.getStrModuleId(t.id)+"'. The cyclic path follows:");let u=this._findCyclePath(s.id,t.id,0)||[];u.reverse(),u.push(s.id),console.warn(u.map(a=>this._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,d=r.length;a<d;a++){let g=r[a];if(g===p.EXPORTS){n[a]=t.exports;continue}if(g===p.MODULE){n[a]={id:t.strId,config:()=>this._config.getConfigForModule(t.strId)};continue}if(g===p.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(d=>this._moduleIdProvider.getStrModuleId(d));t.complete(e,this._config,n,s);let l=this._inverseDependencies2[t.id];if(this._inverseDependencies2[t.id]=null,l)for(let a=0,d=l.length;a<d;a++){let g=l[a],v=this._modules2[g];v.unresolvedDependenciesCount--,v.unresolvedDependenciesCount===0&&this._onModuleComplete(v)}let u=this._inversePluginDependencies2.get(t.id);if(u){this._inversePluginDependencies2.delete(t.id);for(let a=0,d=u.length;a<d;a++)this._loadPluginDependency(t.exports,u[a])}}}o.ModuleManager=c})(y||(y={}));var O,y;(function(o){const f=new o.Environment;let m=null;const _=function(h,t,e){typeof h!="string"&&(e=t,t=h,h=null),(typeof t!="object"||!Array.isArray(t))&&(e=t,t=null),t||(t=["require","exports","module"]),h?m.defineModule(h,t,e,null,null):m.enqueueDefineAnonymousModule(t,e)};_.amd={jQuery:!0};const p=function(h,t=!1){m.configure(h,t)},i=function(){if(arguments.length===1){if(arguments[0]instanceof Object&&!Array.isArray(arguments[0])){p(arguments[0]);return}if(typeof arguments[0]=="string")return m.synchronousRequire(arguments[0])}if((arguments.length===2||arguments.length===3)&&Array.isArray(arguments[0])){m.defineModule(o.Utilities.generateAnonymousModule(),arguments[0],arguments[1],arguments[2],null);return}throw new Error("Unrecognized require call")};i.config=p,i.getConfig=function(){return m.getConfig().getOptionsLiteral()},i.reset=function(){m=m.reset()},i.getBuildInfo=function(){return m.getBuildInfo()},i.getStats=function(){return m.getLoaderEvents()},i.define=_;function c(){if(typeof o.global.require<"u"||typeof require<"u"){const h=o.global.require||require;if(typeof h=="function"&&typeof h.resolve=="function"){const t=o.ensureRecordedNodeRequire(m.getRecorder(),h);o.global.nodeRequire=t,i.nodeRequire=t,i.__$__nodeRequire=t}}f.isNode&&!f.isElectronRenderer&&!f.isElectronNodeIntegrationWebWorker?E.exports=i:(f.isElectronRenderer||(o.global.define=_),o.global.require=i)}o.init=c,(typeof o.global.define!="function"||!o.global.define.amd)&&(m=new o.ModuleManager(f,o.createScriptLoader(f),_,i,o.Utilities.getHighPerformanceTimestamp()),typeof o.global.require<"u"&&typeof o.global.require!="function"&&i.config(o.global.require),O=function(){return _.apply(null,arguments)},O.amd=_.amd,typeof doNotInitLoader>"u"&&c())})(y||(y={})),O("vs/css",["require","exports"],function(o,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.load=void 0;function m(h,t,e,r){if(r=r||{},(r["vs/css"]||{}).disabled){e({});return}const s=t.toUrl(h+".css");_(h,s,()=>{e({})},l=>{typeof e.error=="function"&&e.error("Could not find "+s+".")})}f.load=m;function _(h,t,e,r){if(p(h,t)){e();return}i(h,t,e,r)}function p(h,t){const e=window.document.getElementsByTagName("link");for(let r=0,n=e.length;r<n;r++){const s=e[r].getAttribute("data-name"),l=e[r].getAttribute("href");if(s===h||l===t)return!0}return!1}function i(h,t,e,r){const n=document.createElement("link");n.setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("data-name",h),c(h,n,e,r),n.setAttribute("href",t),(window.document.head||window.document.getElementsByTagName("head")[0]).appendChild(n)}function c(h,t,e,r){const n=()=>{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,f){"use strict";Object.defineProperty(f,"__esModule",{value:!0}),f.load=f.create=f.setPseudoTranslation=f.getConfiguredDefaultLocale=f.localize2=f.localize=void 0;let m=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;const _="i-default";function p(d,g){let v;return g.length===0?v=d:v=d.replace(/\{(\d+)\}/g,(P,I)=>{const D=I[0],w=g[D];let U=P;return typeof w=="string"?U=w:(typeof w=="number"||typeof w=="boolean"||w===void 0||w===null)&&(U=String(w)),U}),m&&(v="\uFF3B"+v.replace(/[aouei]/g,"$&$&")+"\uFF3D"),v}function i(d,g){let v=d[g];return v||(v=d["*"],v)?v:null}function c(d){return d.charAt(d.length-1)==="/"?d:d+"/"}async function h(d,g,v){const P=c(d)+c(g)+"vscode/"+c(v),I=await fetch(P);if(I.ok)return await I.json();throw new Error(`${I.status} - ${I.statusText}`)}function t(d){return function(g,v){const P=Array.prototype.slice.call(arguments,2);return p(d[g],P)}}function e(d){return(g,v,...P)=>({value:p(d[g],P),original:p(v,P)})}function r(d,g,...v){return p(g,v)}f.localize=r;function n(d,g,...v){const P=p(g,v);return{value:P,original:P}}f.localize2=n;function s(d){}f.getConfiguredDefaultLocale=s;function l(d){m=d}f.setPseudoTranslation=l;function u(d,g){return{localize:t(g[d]),localize2:e(g[d]),getConfiguredDefaultLocale:g.getConfiguredDefaultLocale??(v=>{})}}f.create=u;function a(d,g,v,P){const I=P["vs/nls"]??{};if(!d||d.length===0)return v({localize:r,localize2:n,getConfiguredDefaultLocale:()=>I.availableLanguages?.["*"]});const D=I.availableLanguages?i(I.availableLanguages,d):null,w=D===null||D===_;let U=".nls";w||(U=U+"."+D);const q=S=>{Array.isArray(S)?(S.localize=t(S),S.localize2=e(S)):(S.localize=t(S[d]),S.localize2=e(S[d])),S.getConfiguredDefaultLocale=()=>I.availableLanguages?.["*"],v(S)};typeof I.loadBundle=="function"?I.loadBundle(d,D,(S,T)=>{S?g([d+".nls"],q):q(T)}):I.translationServiceUrl&&!w?(async()=>{try{const S=await h(I.translationServiceUrl,D,d);return q(S)}catch(S){if(!D.includes("-"))return console.error(S),g([d+".nls"],q);try{const T=D.split("-")[0],k=await h(I.translationServiceUrl,T,d);return I.availableLanguages??={},I.availableLanguages["*"]=T,q(k)}catch(T){return console.error(T),g([d+".nls"],q)}}})():g([d+U],q,S=>{if(U===".nls"){console.error("Failed trying to load default language strings",S);return}console.error(`Failed to load message bundle for language ${D}. Falling back to the default language:`,S),g([d+".nls"],q)})}f.load=a})}}),require_bootstrap=__commonJS({"out-build/bootstrap.js"(R,E){"use strict";(function(b,C){typeof R=="object"?E.exports=C():b.MonacoBootstrap=C()})(R,function(){const b=typeof require=="function"?require("module"):void 0,C=typeof require=="function"?require("path"):void 0,O=typeof require=="function"?require("fs"):void 0,y=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(!C||!b||typeof process>"u"){console.warn("enableASARSupport() is only available in node.js environments");return}const t=C.join(__dirname,"../node_modules"),e=`${t}.asar`,r=b._resolveLookupPaths;b._resolveLookupPaths=function(n,s){const l=r(n,s);if(Array.isArray(l)){for(let u=0,a=l.length;u<a;u++)if(l[u]===t){l.splice(u,0,e);break}}return l}}function f(t,e){let r=t.replace(/\\/g,"/");r.length>0&&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 m(){const t=p();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}c(e._resolvedLanguagePackCoreLocation,`${n.replace(/\//g,"!")}.nls.json`).then(function(a){const d=JSON.parse(a);r[n]=d,l(void 0,d)}).catch(a=>{try{e._corruptedFile&&h(e._corruptedFile,"corrupted").catch(function(d){console.error(d)})}finally{l(a,void 0)}})}}return e}function _(){return(typeof self=="object"?self:typeof global=="object"?global:{}).vscode}function p(){const t=_();if(t)return t.process;if(typeof process<"u")return process}function i(){const t=_();if(t)return t.ipcRenderer}async function c(...t){const e=i();if(e)return e.invoke("vscode:readNlsFile",...t);if(O&&C&&y)return(await y.promisify(O.readFile)(C.join(...t))).toString();throw new Error("Unsupported operation (read NLS files)")}function h(t,e){const r=i();if(r)return r.invoke("vscode:writeNlsFile",t,e);if(O&&y)return y.promisify(O.writeFile)(t,e);throw new Error("Unsupported operation (write NLS files)")}return{enableASARSupport:o,setupNLS:m,fileUriFromPath:f}})}}),require_bootstrap_amd=__commonJS({"out-build/bootstrap-amd.js"(R){"use strict";var E=require;if(globalThis._VSCODE_NODE_MODULES=new Proxy(Object.create(null),{get:(o,f)=>E(String(f))}),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 b=require_loader(),C=require_bootstrap(),O=require_performance(),y=C.setupNLS();b.config({baseUrl:C.fileUriFromPath(__dirname,{isWindows:process.platform==="win32"}),catchError:!0,nodeRequire:E,"vs/nls":y,amdModulesPattern:/^vs\//,recordStats:!0}),(process.env.ELECTRON_RUN_AS_NODE||process.versions.electron)&&b.define("fs",["original-fs"],function(o){return o}),y&&y.pseudo&&b(["vs/nls"],function(o){o.setPseudoTranslation(!!y.pseudo)}),R.load=function(o,f,m){o&&(process.env.VSCODE_CODE_CACHE_PATH&&b.config({nodeCachedData:{path:process.env.VSCODE_CODE_CACHE_PATH,seed:o}}),f=f||function(){},m=m||function(_){console.error(_)},O.mark("code/fork/willLoadCode"),b([o],f,m))}}}),perf=require_performance(),performance2=require("perf_hooks").performance,product=require("../product.json"),readline=require("readline"),http=require("http");perf.mark("code/server/start"),global.vscodeServerStartTime=performance2.now();async function start(){const E=require("minimist")(process.argv.slice(2),{boolean:["start-server","list-extensions","print-ip-address","help","version","accept-server-license-terms"],string:["install-extension","install-builtin-extension","uninstall-extension","locate-extension","socket-path","host","port","compatibility"],alias:{help:"h",version:"v"}});["host","port","accept-server-license-terms"].forEach(r=>{if(!E[r]){const n=process.env[`VSCODE_SERVER_${r.toUpperCase().replace("-","_")}`];n&&(E[r]=n)}});const b=["list-extensions","locate-extension"],C=["install-extension","install-builtin-extension","uninstall-extension"];if(E.help||E.version||b.some(r=>!!E[r])||C.some(r=>!!E[r])&&!E["start-server"]){loadCode().then(r=>{r.spawnCli()});return}let y=null,o=null;const f=()=>(o||(o=loadCode().then(async r=>{const n=await r.createServer(c);return y=n,n})),o),m=require("http"),_=require("os");if(Array.isArray(product.serverLicense)&&product.serverLicense.length&&(console.log(product.serverLicense.join(`
`)),product.serverLicensePrompt&&E["accept-server-license-terms"]!==!0)){hasStdinWithoutTty()&&(console.log("To accept the license terms, start the server with --accept-server-license-terms"),process.exit(1));try{await prompt(product.serverLicensePrompt)||process.exit(1)}catch(r){console.log(r),process.exit(1)}}let p=!0,i=!0,c=null;const h=m.createServer(async(r,n)=>(p&&(p=!1,perf.mark("code/server/firstRequest")),(await f()).handleRequest(r,n)));h.on("upgrade",async(r,n)=>(i&&(i=!1,perf.mark("code/server/firstWebSocket")),(await f()).handleUpgrade(r,n))),h.on("error",async r=>(await f()).handleServerError(r));const t=sanitizeStringArg(E.host)||(E.compatibility!=="1.63"?"localhost":void 0),e=E["socket-path"]?{path:sanitizeStringArg(E["socket-path"])}:{host:t,port:await parsePort(t,sanitizeStringArg(E.port))};h.listen(e,async()=>{let r=Array.isArray(product.serverGreeting)&&product.serverGreeting.length?`

${product.serverGreeting.join(`
`)}

`:"";if(typeof e.port=="number"&&E["print-ip-address"]){const n=_.networkInterfaces();Object.keys(n).forEach(function(s){n[s]?.forEach(function(l){!l.internal&&l.family==="IPv4"&&(r+=`IP Address: ${l.address}
`)})})}if(c=h.address(),c===null)throw new Error("Unexpected server address");r+=`Server bound to ${typeof c=="string"?c:`${c.address}:${c.port} (${c.family})`}
`,r+=`Extension host agent listening on ${typeof c=="string"?c:c.port}
`,console.log(r),perf.mark("code/server/started"),global.vscodeServerListenTime=performance2.now(),await f()}),process.on("exit",()=>{h.close(),y&&y.dispose()})}function sanitizeStringArg(R){return Array.isArray(R)&&(R=R.pop()),typeof R=="string"?R:void 0}async function parsePort(R,E){if(E){let b;if(E.match(/^\d+$/))return parseInt(E,10);if(b=parseRange(E)){const C=await findFreePort(R,b.start,b.end);if(C!==void 0)return C;console.warn(`--port: Could not find free port in range: ${b.start} - ${b.end} (inclusive).`),process.exit(1)}else console.warn(`--port "${E}" is not a valid number or range. Ranges must be in the form 'from-to' with 'from' an integer larger than 0 and not larger than 'end'.`),process.exit(1)}return 8e3}function parseRange(R){const E=R.match(/^(\d+)-(\d+)$/);if(E){const b=parseInt(E[1],10),C=parseInt(E[2],10);if(b>0&&b<=C&&C<=65535)return{start:b,end:C}}}async function findFreePort(R,E,b){const C=O=>new Promise(y=>{const o=http.createServer();o.listen(O,R,()=>{o.close(),y(!0)}).on("error",()=>{y(!1)})});for(let O=E;O<=b;O++)if(await C(O))return O}function loadCode(){return new Promise((R,E)=>{const b=require("path");delete process.env.ELECTRON_RUN_AS_NODE,process.env.VSCODE_HANDLES_SIGPIPE="true",process.env.VSCODE_DEV?(process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH=process.env.VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH||b.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.main",R,E)})}function hasStdinWithoutTty(){try{return!process.stdin.isTTY}catch{}return!1}function prompt(R){const E=readline.createInterface({input:process.stdin,output:process.stdout});return new Promise((b,C)=>{E.question(R+" ",async function(O){E.close();const y=O.toString().trim().toLowerCase();y===""||y==="y"||y==="yes"?b(!0):y==="n"||y==="no"?b(!1):(process.stdout.write(`
Invalid Response. Answer either yes (y, yes) or no (n, no)
`),b(await prompt(R)))})})}start();

//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/core/server-main.js.map

coded by Privdayz.com - Visit https://privdayz.com/ for more php shells.