code-server
Version:
Run VS Code on a remote server.
10 lines (8 loc) • 157 kB
JavaScript
"use strict";/*!--------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/var he=function(e,t){return he=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])},he(e,t)};export function __extends(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");he(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}export var __assign=function(){return __assign=Object.assign||function(t){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},__assign.apply(this,arguments)};export function __rest(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(r[n[s]]=e[n[s]]);return r}export function __decorate(e,t,r,n){var s=arguments.length,i=s<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(s<3?o(i):s>3?o(t,r,i):o(t,r))||i);return s>3&&i&&Object.defineProperty(t,r,i),i}export function __param(e,t){return function(r,n){t(r,n,e)}}export function __esDecorate(e,t,r,n,s,i){function o(y){if(y!==void 0&&typeof y!="function")throw new TypeError("Function expected");return y}for(var a=n.kind,c=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),u,h=!1,g=r.length-1;g>=0;g--){var m={};for(var O in n)m[O]=O==="access"?{}:n[O];for(var O in n.access)m.access[O]=n.access[O];m.addInitializer=function(y){if(h)throw new TypeError("Cannot add initializers after decoration has completed");i.push(o(y||null))};var d=(0,r[g])(a==="accessor"?{get:f.get,set:f.set}:f[c],m);if(a==="accessor"){if(d===void 0)continue;if(d===null||typeof d!="object")throw new TypeError("Object expected");(u=o(d.get))&&(f.get=u),(u=o(d.set))&&(f.set=u),(u=o(d.init))&&s.unshift(u)}else(u=o(d))&&(a==="field"?s.unshift(u):f[c]=u)}l&&Object.defineProperty(l,n.name,f),h=!0}export function __runInitializers(e,t,r){for(var n=arguments.length>2,s=0;s<t.length;s++)r=n?t[s].call(e,r):t[s].call(e);return n?r:void 0}export function __propKey(e){return typeof e=="symbol"?e:"".concat(e)}export function __setFunctionName(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}export function __metadata(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}export function __awaiter(e,t,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(f){try{l(n.next(f))}catch(u){o(u)}}function c(f){try{l(n.throw(f))}catch(u){o(u)}}function l(f){f.done?i(f.value):s(f.value).then(a,c)}l((n=n.apply(e,t||[])).next())})}export function __generator(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(f){return c([l,f])}}function c(l){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(n=1,s&&(i=l[0]&2?s.return:l[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,l[1])).done)return i;switch(s=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,s=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(f){l=[6,f],s=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}export var __createBinding=Object.create?function(e,t,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);(!s||("get"in s?!t.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]};export function __exportStar(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&__createBinding(t,e,r)}export function __values(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}export function __read(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),s,i=[],o;try{for(;(t===void 0||t-- >0)&&!(s=n.next()).done;)i.push(s.value)}catch(a){o={error:a}}finally{try{s&&!s.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i}export function __spread(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e}export function __spreadArrays(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),s=0,t=0;t<r;t++)for(var i=arguments[t],o=0,a=i.length;o<a;o++,s++)n[s]=i[o];return n}export function __spreadArray(e,t,r){if(r||arguments.length===2)for(var n=0,s=t.length,i;n<s;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}export function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}export function __asyncGenerator(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),s,i=[];return s={},a("next"),a("throw"),a("return",o),s[Symbol.asyncIterator]=function(){return this},s;function o(g){return function(m){return Promise.resolve(m).then(g,u)}}function a(g,m){n[g]&&(s[g]=function(O){return new Promise(function(d,y){i.push([g,O,d,y])>1||c(g,O)})},m&&(s[g]=m(s[g])))}function c(g,m){try{l(n[g](m))}catch(O){h(i[0][3],O)}}function l(g){g.value instanceof __await?Promise.resolve(g.value.v).then(f,u):h(i[0][2],g)}function f(g){c("next",g)}function u(g){c("throw",g)}function h(g,m){g(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}export function __asyncDelegator(e){var t,r;return t={},n("next"),n("throw",function(s){throw s}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(s,i){t[s]=e[s]?function(o){return(r=!r)?{value:__await(e[s](o)),done:!1}:i?i(o):o}:i}}export function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values=="function"?__values(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(o){return new Promise(function(a,c){o=e[i](o),s(a,c,o.done,o.value)})}}function s(i,o,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},o)}}export function __makeTemplateObject(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var Fn=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};export function __importStar(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&__createBinding(t,e,r);return Fn(t,e),t}export function __importDefault(e){return e&&e.__esModule?e:{default:e}}export function __classPrivateFieldGet(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}export function __classPrivateFieldSet(e,t,r,n,s){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!s:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?s.call(e,r):s?s.value=r:t.set(e,r),r}export function __classPrivateFieldIn(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}export function __addDisposableResource(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,s;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(s=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");s&&(n=function(){try{s.call(this)}catch(i){return Promise.reject(i)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var Un=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};export function __disposeResources(e){function t(n){e.error=e.hasError?new Un(n,e.error,"An error was suppressed during disposal."):n,e.hasError=!0}function r(){for(;e.stack.length;){var n=e.stack.pop();try{var s=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(s).then(r,function(i){return t(i),r()})}catch(i){t(i)}}if(e.hasError)throw e.error}return r()}export default{__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources};var Vn=Object.create,de=Object.defineProperty,qn=Object.getOwnPropertyDescriptor,pe=Object.getOwnPropertyNames,zn=Object.getPrototypeOf,Wn=Object.prototype.hasOwnProperty,k=(e,t)=>function(){return e&&(t=(0,e[pe(e)[0]])(e=0)),t},Hn=(e,t)=>function(){return t||(0,e[pe(e)[0]])((t={exports:{}}).exports,t),t.exports},Kn=(e,t)=>{for(var r in t)de(e,r,{get:t[r],enumerable:!0})},Jn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of pe(t))!Wn.call(e,s)&&s!==r&&de(e,s,{get:()=>t[s],enumerable:!(n=qn(t,s))||n.enumerable});return e},Gn=(e,t,r)=>(r=e!=null?Vn(zn(e)):{},Jn(t||!e||!e.__esModule?de(r,"default",{value:e,enumerable:!0}):r,e));function Bn(){return globalThis._VSCODE_NLS_MESSAGES}function rt(){return globalThis._VSCODE_NLS_LANGUAGE}var nt=k({"out-build/vs/nls.messages.js"(){"use strict"}});function it(e,t){let r;return t.length===0?r=e:r=e.replace(/\{(\d+)\}/g,(n,s)=>{const i=s[0],o=t[i];let a=n;return typeof o=="string"?a=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(a=String(o)),a}),st&&(r="\uFF3B"+r.replace(/[aouei]/g,"$&$&")+"\uFF3D"),r}function $(e,t,...r){return it(typeof e=="number"?Zn(e,t):t,r)}function Zn(e,t){const r=Bn()?.[e];if(typeof r!="string"){if(typeof t=="string")return t;throw new Error(`!!! NLS MISSING: ${e} !!!`)}return r}var st,ot=k({"out-build/vs/nls.js"(){"use strict";nt(),nt(),st=rt()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0}}),m1,S1,x1,C1,at,ge,J1,lt,ct,ut,ft,P1,L1,me,ht,n1,i1,B,ve,dt,pt,G1,s1,gt,mt,vt,ye,yt,bt,e1,c1,wt,_t,Ct,Et,At,Qn,Yn,Xn,ei,h1=k({"out-build/vs/base/common/platform.js"(){"use strict";if(ot(),m1="en",S1=!1,x1=!1,C1=!1,at=!1,ge=!1,J1=!1,lt=!1,ct=!1,ut=!1,ft=!1,P1=void 0,L1=m1,me=m1,ht=void 0,n1=void 0,i1=globalThis,B=void 0,typeof i1.vscode<"u"&&typeof i1.vscode.process<"u"?B=i1.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(B=process),ve=typeof B?.versions?.electron=="string",dt=ve&&B?.type==="renderer",typeof B=="object"){S1=B.platform==="win32",x1=B.platform==="darwin",C1=B.platform==="linux",at=C1&&!!B.env.SNAP&&!!B.env.SNAP_REVISION,lt=ve,ut=!!B.env.CI||!!B.env.BUILD_ARTIFACTSTAGINGDIRECTORY,P1=m1,L1=m1;const e=B.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);P1=t.userLocale,me=t.osLocale,L1=t.resolvedLanguage||m1,ht=t.languagePack?.translationsConfigFile}catch{}ge=!0}else typeof navigator=="object"&&!dt?(n1=navigator.userAgent,S1=n1.indexOf("Windows")>=0,x1=n1.indexOf("Macintosh")>=0,ct=(n1.indexOf("Macintosh")>=0||n1.indexOf("iPad")>=0||n1.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,C1=n1.indexOf("Linux")>=0,ft=n1?.indexOf("Mobi")>=0,J1=!0,L1=rt()||m1,P1=navigator.language.toLowerCase(),me=P1):console.error("Unable to resolve platform.");(function(e){e[e.Web=0]="Web",e[e.Mac=1]="Mac",e[e.Linux=2]="Linux",e[e.Windows=3]="Windows"})(pt||(pt={})),G1=0,x1?G1=1:S1?G1=3:C1&&(G1=2),s1=S1,gt=x1,mt=C1,vt=ge,ye=J1,yt=J1&&typeof i1.importScripts=="function",bt=yt?i1.origin:void 0,e1=n1,c1=L1,function(e){function t(){return c1}e.value=t;function r(){return c1.length===2?c1==="en":c1.length>=3?c1[0]==="e"&&c1[1]==="n"&&c1[2]==="-":!1}e.isDefaultVariant=r;function n(){return c1==="en"}e.isDefault=n}(wt||(wt={})),_t=typeof i1.postMessage=="function"&&!i1.importScripts,Ct=(()=>{if(_t){const e=[];i1.addEventListener("message",r=>{if(r.data&&r.data.vscodeScheduleAsyncWork)for(let n=0,s=e.length;n<s;n++){const i=e[n];if(i.id===r.data.vscodeScheduleAsyncWork){e.splice(n,1),i.callback();return}}});let t=0;return r=>{const n=++t;e.push({id:n,callback:r}),i1.postMessage({vscodeScheduleAsyncWork:n},"*")}}return e=>setTimeout(e)})(),function(e){e[e.Windows=1]="Windows",e[e.Macintosh=2]="Macintosh",e[e.Linux=3]="Linux"}(Et||(Et={})),At=!!(e1&&e1.indexOf("Chrome")>=0),Qn=!!(e1&&e1.indexOf("Firefox")>=0),Yn=!!(!At&&e1&&e1.indexOf("Safari")>=0),Xn=!!(e1&&e1.indexOf("Edg/")>=0),ei=!!(e1&&e1.indexOf("Android")>=0)}}),v1,B1,y1,$t,Ot,ti,St=k({"out-build/vs/base/common/process.js"(){"use strict";if(h1(),B1=globalThis.vscode,typeof B1<"u"&&typeof B1.process<"u"){const e=B1.process;v1={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else typeof process<"u"&&typeof process?.versions?.node=="string"?v1={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:v1={get platform(){return s1?"win32":gt?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};y1=v1.cwd,$t=v1.env,Ot=v1.platform,ti=v1.arch}});function ri(e,t){if(e===null||typeof e!="object")throw new we(t,"Object",e)}function V(e,t){if(typeof e!="string")throw new we(t,"string",e)}function P(e){return e===z||e===J}function be(e){return e===z}function u1(e){return e>=Pt&&e<=Dt||e>=Lt&&e<=kt}function Z1(e,t,r,n){let s="",i=0,o=-1,a=0,c=0;for(let l=0;l<=e.length;++l){if(l<e.length)c=e.charCodeAt(l);else{if(n(c))break;c=z}if(n(c)){if(!(o===l-1||a===1))if(a===2){if(s.length<2||i!==2||s.charCodeAt(s.length-1)!==d1||s.charCodeAt(s.length-2)!==d1){if(s.length>2){const f=s.lastIndexOf(r);f===-1?(s="",i=0):(s=s.slice(0,f),i=s.length-1-s.lastIndexOf(r)),o=l,a=0;continue}else if(s.length!==0){s="",i=0,o=l,a=0;continue}}t&&(s+=s.length>0?`${r}..`:"..",i=2)}else s.length>0?s+=`${r}${e.slice(o+1,l)}`:s=e.slice(o+1,l),i=l-o-1;o=l,a=0}else c===d1&&a!==-1?++a:a=-1}return s}function ni(e){return e?`${e[0]==="."?"":"."}${e}`:""}function xt(e,t){ri(t,"pathObject");const r=t.dir||t.root,n=t.base||`${t.name||""}${ni(t.ext)}`;return r?r===t.root?`${r}${n}`:`${r}${e}${n}`:n}var Pt,Lt,Dt,kt,d1,z,J,o1,Nt,we,G,q,Tt,j,jt,ii,Q1,_e,Rt,Y1,si,It,oi,ai,li,D1,ci,k1=k({"out-build/vs/base/common/path.js"(){"use strict";St(),Pt=65,Lt=97,Dt=90,kt=122,d1=46,z=47,J=92,o1=58,Nt=63,we=class extends Error{constructor(e,t,r){let n;typeof t=="string"&&t.indexOf("not ")===0?(n="must not be",t=t.replace(/^not /,"")):n="must be";const s=e.indexOf(".")!==-1?"property":"argument";let i=`The "${e}" ${s} ${n} of type ${t}`;i+=`. Received type ${typeof r}`,super(i),this.code="ERR_INVALID_ARG_TYPE"}},G=Ot==="win32",q={resolve(...e){let t="",r="",n=!1;for(let s=e.length-1;s>=-1;s--){let i;if(s>=0){if(i=e[s],V(i,`paths[${s}]`),i.length===0)continue}else t.length===0?i=y1():(i=$t[`=${t}`]||y1(),(i===void 0||i.slice(0,2).toLowerCase()!==t.toLowerCase()&&i.charCodeAt(2)===J)&&(i=`${t}\\`));const o=i.length;let a=0,c="",l=!1;const f=i.charCodeAt(0);if(o===1)P(f)&&(a=1,l=!0);else if(P(f))if(l=!0,P(i.charCodeAt(1))){let u=2,h=u;for(;u<o&&!P(i.charCodeAt(u));)u++;if(u<o&&u!==h){const g=i.slice(h,u);for(h=u;u<o&&P(i.charCodeAt(u));)u++;if(u<o&&u!==h){for(h=u;u<o&&!P(i.charCodeAt(u));)u++;(u===o||u!==h)&&(c=`\\\\${g}\\${i.slice(h,u)}`,a=u)}}}else a=1;else u1(f)&&i.charCodeAt(1)===o1&&(c=i.slice(0,2),a=2,o>2&&P(i.charCodeAt(2))&&(l=!0,a=3));if(c.length>0)if(t.length>0){if(c.toLowerCase()!==t.toLowerCase())continue}else t=c;if(n){if(t.length>0)break}else if(r=`${i.slice(a)}\\${r}`,n=l,l&&t.length>0)break}return r=Z1(r,!n,"\\",P),n?`${t}\\${r}`:`${t}${r}`||"."},normalize(e){V(e,"path");const t=e.length;if(t===0)return".";let r=0,n,s=!1;const i=e.charCodeAt(0);if(t===1)return be(i)?"\\":e;if(P(i))if(s=!0,P(e.charCodeAt(1))){let a=2,c=a;for(;a<t&&!P(e.charCodeAt(a));)a++;if(a<t&&a!==c){const l=e.slice(c,a);for(c=a;a<t&&P(e.charCodeAt(a));)a++;if(a<t&&a!==c){for(c=a;a<t&&!P(e.charCodeAt(a));)a++;if(a===t)return`\\\\${l}\\${e.slice(c)}\\`;a!==c&&(n=`\\\\${l}\\${e.slice(c,a)}`,r=a)}}}else r=1;else u1(i)&&e.charCodeAt(1)===o1&&(n=e.slice(0,2),r=2,t>2&&P(e.charCodeAt(2))&&(s=!0,r=3));let o=r<t?Z1(e.slice(r),!s,"\\",P):"";if(o.length===0&&!s&&(o="."),o.length>0&&P(e.charCodeAt(t-1))&&(o+="\\"),!s&&n===void 0&&e.includes(":")){if(o.length>=2&&u1(o.charCodeAt(0))&&o.charCodeAt(1)===o1)return`.\\${o}`;let a=e.indexOf(":");do if(a===t-1||P(e.charCodeAt(a+1)))return`.\\${o}`;while((a=e.indexOf(":",a+1))!==-1)}return n===void 0?s?`\\${o}`:o:s?`${n}\\${o}`:`${n}${o}`},isAbsolute(e){V(e,"path");const t=e.length;if(t===0)return!1;const r=e.charCodeAt(0);return P(r)||t>2&&u1(r)&&e.charCodeAt(1)===o1&&P(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,r;for(let i=0;i<e.length;++i){const o=e[i];V(o,"path"),o.length>0&&(t===void 0?t=r=o:t+=`\\${o}`)}if(t===void 0)return".";let n=!0,s=0;if(typeof r=="string"&&P(r.charCodeAt(0))){++s;const i=r.length;i>1&&P(r.charCodeAt(1))&&(++s,i>2&&(P(r.charCodeAt(2))?++s:n=!1))}if(n){for(;s<t.length&&P(t.charCodeAt(s));)s++;s>=2&&(t=`\\${t.slice(s)}`)}return q.normalize(t)},relative(e,t){if(V(e,"from"),V(t,"to"),e===t)return"";const r=q.resolve(e),n=q.resolve(t);if(r===n||(e=r.toLowerCase(),t=n.toLowerCase(),e===t))return"";if(r.length!==e.length||n.length!==t.length){const m=r.split("\\"),O=n.split("\\");m[m.length-1]===""&&m.pop(),O[O.length-1]===""&&O.pop();const d=m.length,y=O.length,C=d<y?d:y;let S;for(S=0;S<C&&m[S].toLowerCase()===O[S].toLowerCase();S++);return S===0?n:S===C?y>C?O.slice(S).join("\\"):d>C?"..\\".repeat(d-1-S)+"..":"":"..\\".repeat(d-S)+O.slice(S).join("\\")}let s=0;for(;s<e.length&&e.charCodeAt(s)===J;)s++;let i=e.length;for(;i-1>s&&e.charCodeAt(i-1)===J;)i--;const o=i-s;let a=0;for(;a<t.length&&t.charCodeAt(a)===J;)a++;let c=t.length;for(;c-1>a&&t.charCodeAt(c-1)===J;)c--;const l=c-a,f=o<l?o:l;let u=-1,h=0;for(;h<f;h++){const m=e.charCodeAt(s+h);if(m!==t.charCodeAt(a+h))break;m===J&&(u=h)}if(h!==f){if(u===-1)return n}else{if(l>f){if(t.charCodeAt(a+h)===J)return n.slice(a+h+1);if(h===2)return n.slice(a+h)}o>f&&(e.charCodeAt(s+h)===J?u=h:h===2&&(u=3)),u===-1&&(u=0)}let g="";for(h=s+u+1;h<=i;++h)(h===i||e.charCodeAt(h)===J)&&(g+=g.length===0?"..":"\\..");return a+=u,g.length>0?`${g}${n.slice(a,c)}`:(n.charCodeAt(a)===J&&++a,n.slice(a,c))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=q.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===J){if(t.charCodeAt(1)===J){const r=t.charCodeAt(2);if(r!==Nt&&r!==d1)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(u1(t.charCodeAt(0))&&t.charCodeAt(1)===o1&&t.charCodeAt(2)===J)return`\\\\?\\${t}`;return t},dirname(e){V(e,"path");const t=e.length;if(t===0)return".";let r=-1,n=0;const s=e.charCodeAt(0);if(t===1)return P(s)?e:".";if(P(s)){if(r=n=1,P(e.charCodeAt(1))){let a=2,c=a;for(;a<t&&!P(e.charCodeAt(a));)a++;if(a<t&&a!==c){for(c=a;a<t&&P(e.charCodeAt(a));)a++;if(a<t&&a!==c){for(c=a;a<t&&!P(e.charCodeAt(a));)a++;if(a===t)return e;a!==c&&(r=n=a+1)}}}}else u1(s)&&e.charCodeAt(1)===o1&&(r=t>2&&P(e.charCodeAt(2))?3:2,n=r);let i=-1,o=!0;for(let a=t-1;a>=n;--a)if(P(e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;if(i===-1){if(r===-1)return".";i=r}return e.slice(0,i)},basename(e,t){t!==void 0&&V(t,"suffix"),V(e,"path");let r=0,n=-1,s=!0,i;if(e.length>=2&&u1(e.charCodeAt(0))&&e.charCodeAt(1)===o1&&(r=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=r;--i){const c=e.charCodeAt(i);if(P(c)){if(!s){r=i+1;break}}else a===-1&&(s=!1,a=i+1),o>=0&&(c===t.charCodeAt(o)?--o===-1&&(n=i):(o=-1,n=a))}return r===n?n=a:n===-1&&(n=e.length),e.slice(r,n)}for(i=e.length-1;i>=r;--i)if(P(e.charCodeAt(i))){if(!s){r=i+1;break}}else n===-1&&(s=!1,n=i+1);return n===-1?"":e.slice(r,n)},extname(e){V(e,"path");let t=0,r=-1,n=0,s=-1,i=!0,o=0;e.length>=2&&e.charCodeAt(1)===o1&&u1(e.charCodeAt(0))&&(t=n=2);for(let a=e.length-1;a>=t;--a){const c=e.charCodeAt(a);if(P(c)){if(!i){n=a+1;break}continue}s===-1&&(i=!1,s=a+1),c===d1?r===-1?r=a:o!==1&&(o=1):r!==-1&&(o=-1)}return r===-1||s===-1||o===0||o===1&&r===s-1&&r===n+1?"":e.slice(r,s)},format:xt.bind(null,"\\"),parse(e){V(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const r=e.length;let n=0,s=e.charCodeAt(0);if(r===1)return P(s)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(P(s)){if(n=1,P(e.charCodeAt(1))){let u=2,h=u;for(;u<r&&!P(e.charCodeAt(u));)u++;if(u<r&&u!==h){for(h=u;u<r&&P(e.charCodeAt(u));)u++;if(u<r&&u!==h){for(h=u;u<r&&!P(e.charCodeAt(u));)u++;u===r?n=u:u!==h&&(n=u+1)}}}}else if(u1(s)&&e.charCodeAt(1)===o1){if(r<=2)return t.root=t.dir=e,t;if(n=2,P(e.charCodeAt(2))){if(r===3)return t.root=t.dir=e,t;n=3}}n>0&&(t.root=e.slice(0,n));let i=-1,o=n,a=-1,c=!0,l=e.length-1,f=0;for(;l>=n;--l){if(s=e.charCodeAt(l),P(s)){if(!c){o=l+1;break}continue}a===-1&&(c=!1,a=l+1),s===d1?i===-1?i=l:f!==1&&(f=1):i!==-1&&(f=-1)}return a!==-1&&(i===-1||f===0||f===1&&i===a-1&&i===o+1?t.base=t.name=e.slice(o,a):(t.name=e.slice(o,i),t.base=e.slice(o,a),t.ext=e.slice(i,a))),o>0&&o!==n?t.dir=e.slice(0,o-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},Tt=(()=>{if(G){const e=/\\/g;return()=>{const t=y1().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>y1()})(),j={resolve(...e){let t="",r=!1;for(let n=e.length-1;n>=0&&!r;n--){const s=e[n];V(s,`paths[${n}]`),s.length!==0&&(t=`${s}/${t}`,r=s.charCodeAt(0)===z)}if(!r){const n=Tt();t=`${n}/${t}`,r=n.charCodeAt(0)===z}return t=Z1(t,!r,"/",be),r?`/${t}`:t.length>0?t:"."},normalize(e){if(V(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===z,r=e.charCodeAt(e.length-1)===z;return e=Z1(e,!t,"/",be),e.length===0?t?"/":r?"./":".":(r&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return V(e,"path"),e.length>0&&e.charCodeAt(0)===z},join(...e){if(e.length===0)return".";const t=[];for(let r=0;r<e.length;++r){const n=e[r];V(n,"path"),n.length>0&&t.push(n)}return t.length===0?".":j.normalize(t.join("/"))},relative(e,t){if(V(e,"from"),V(t,"to"),e===t||(e=j.resolve(e),t=j.resolve(t),e===t))return"";const r=1,n=e.length,s=n-r,i=1,o=t.length-i,a=s<o?s:o;let c=-1,l=0;for(;l<a;l++){const u=e.charCodeAt(r+l);if(u!==t.charCodeAt(i+l))break;u===z&&(c=l)}if(l===a)if(o>a){if(t.charCodeAt(i+l)===z)return t.slice(i+l+1);if(l===0)return t.slice(i+l)}else s>a&&(e.charCodeAt(r+l)===z?c=l:l===0&&(c=0));let f="";for(l=r+c+1;l<=n;++l)(l===n||e.charCodeAt(l)===z)&&(f+=f.length===0?"..":"/..");return`${f}${t.slice(i+c)}`},toNamespacedPath(e){return e},dirname(e){if(V(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===z;let r=-1,n=!0;for(let s=e.length-1;s>=1;--s)if(e.charCodeAt(s)===z){if(!n){r=s;break}}else n=!1;return r===-1?t?"/":".":t&&r===1?"//":e.slice(0,r)},basename(e,t){t!==void 0&&V(t,"suffix"),V(e,"path");let r=0,n=-1,s=!0,i;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(i=e.length-1;i>=0;--i){const c=e.charCodeAt(i);if(c===z){if(!s){r=i+1;break}}else a===-1&&(s=!1,a=i+1),o>=0&&(c===t.charCodeAt(o)?--o===-1&&(n=i):(o=-1,n=a))}return r===n?n=a:n===-1&&(n=e.length),e.slice(r,n)}for(i=e.length-1;i>=0;--i)if(e.charCodeAt(i)===z){if(!s){r=i+1;break}}else n===-1&&(s=!1,n=i+1);return n===-1?"":e.slice(r,n)},extname(e){V(e,"path");let t=-1,r=0,n=-1,s=!0,i=0;for(let o=e.length-1;o>=0;--o){const a=e[o];if(a==="/"){if(!s){r=o+1;break}continue}n===-1&&(s=!1,n=o+1),a==="."?t===-1?t=o:i!==1&&(i=1):t!==-1&&(i=-1)}return t===-1||n===-1||i===0||i===1&&t===n-1&&t===r+1?"":e.slice(t,n)},format:xt.bind(null,"/"),parse(e){V(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const r=e.charCodeAt(0)===z;let n;r?(t.root="/",n=1):n=0;let s=-1,i=0,o=-1,a=!0,c=e.length-1,l=0;for(;c>=n;--c){const f=e.charCodeAt(c);if(f===z){if(!a){i=c+1;break}continue}o===-1&&(a=!1,o=c+1),f===d1?s===-1?s=c:l!==1&&(l=1):s!==-1&&(l=-1)}if(o!==-1){const f=i===0&&r?1:i;s===-1||l===0||l===1&&s===o-1&&s===i+1?t.base=t.name=e.slice(f,o):(t.name=e.slice(f,s),t.base=e.slice(f,o),t.ext=e.slice(s,o))}return i>0?t.dir=e.slice(0,i-1):r&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null},j.win32=q.win32=q,j.posix=q.posix=j,jt=G?q.normalize:j.normalize,ii=G?q.isAbsolute:j.isAbsolute,Q1=G?q.join:j.join,_e=G?q.resolve:j.resolve,Rt=G?q.relative:j.relative,Y1=G?q.dirname:j.dirname,si=G?q.basename:j.basename,It=G?q.extname:j.extname,oi=G?q.format:j.format,ai=G?q.parse:j.parse,li=G?q.toNamespacedPath:j.toNamespacedPath,D1=G?q.sep:j.sep,ci=G?q.delimiter:j.delimiter}}),ui=Hn({"node_modules/minimist/index.js"(e,t){"use strict";function r(i,o){var a=i;o.slice(0,-1).forEach(function(l){a=a[l]||{}});var c=o[o.length-1];return c in a}function n(i){return typeof i=="number"||/^0x[0-9a-f]+$/i.test(i)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(i)}function s(i,o){return o==="constructor"&&typeof i[o]=="function"||o==="__proto__"}t.exports=function(i,o){o||(o={});var a={bools:{},strings:{},unknownFn:null};typeof o.unknown=="function"&&(a.unknownFn=o.unknown),typeof o.boolean=="boolean"&&o.boolean?a.allBools=!0:[].concat(o.boolean).filter(Boolean).forEach(function(x){a.bools[x]=!0});var c={};function l(x){return c[x].some(function(F){return a.bools[F]})}Object.keys(o.alias||{}).forEach(function(x){c[x]=[].concat(o.alias[x]),c[x].forEach(function(F){c[F]=[x].concat(c[x].filter(function(X){return F!==X}))})}),[].concat(o.string).filter(Boolean).forEach(function(x){a.strings[x]=!0,c[x]&&[].concat(c[x]).forEach(function(F){a.strings[F]=!0})});var f=o.default||{},u={_:[]};function h(x,F){return a.allBools&&/^--[^=]+$/.test(F)||a.strings[x]||a.bools[x]||c[x]}function g(x,F,X){for(var R=x,g1=0;g1<F.length-1;g1++){var v=F[g1];if(s(R,v))return;R[v]===void 0&&(R[v]={}),(R[v]===Object.prototype||R[v]===Number.prototype||R[v]===String.prototype)&&(R[v]={}),R[v]===Array.prototype&&(R[v]=[]),R=R[v]}var p=F[F.length-1];s(R,p)||((R===Object.prototype||R===Number.prototype||R===String.prototype)&&(R={}),R===Array.prototype&&(R=[]),R[p]===void 0||a.bools[p]||typeof R[p]=="boolean"?R[p]=X:Array.isArray(R[p])?R[p].push(X):R[p]=[R[p],X])}function m(x,F,X){if(!(X&&a.unknownFn&&!h(x,X)&&a.unknownFn(X)===!1)){var R=!a.strings[x]&&n(F)?Number(F):F;g(u,x.split("."),R),(c[x]||[]).forEach(function(g1){g(u,g1.split("."),R)})}}Object.keys(a.bools).forEach(function(x){m(x,f[x]===void 0?!1:f[x])});var O=[];i.indexOf("--")!==-1&&(O=i.slice(i.indexOf("--")+1),i=i.slice(0,i.indexOf("--")));for(var d=0;d<i.length;d++){var y=i[d],C,S;if(/^--.+=/.test(y)){var U=y.match(/^--([^=]+)=([\s\S]*)$/);C=U[1];var _=U[2];a.bools[C]&&(_=_!=="false"),m(C,_,y)}else if(/^--no-.+/.test(y))C=y.match(/^--no-(.+)/)[1],m(C,!1,y);else if(/^--.+/.test(y))C=y.match(/^--(.+)/)[1],S=i[d+1],S!==void 0&&!/^(-|--)[^-]/.test(S)&&!a.bools[C]&&!a.allBools&&(!c[C]||!l(C))?(m(C,S,y),d+=1):/^(true|false)$/.test(S)?(m(C,S==="true",y),d+=1):m(C,a.strings[C]?"":!0,y);else if(/^-[^-]+/.test(y)){for(var E=y.slice(1,-1).split(""),D=!1,T=0;T<E.length;T++){if(S=y.slice(T+2),S==="-"){m(E[T],S,y);continue}if(/[A-Za-z]/.test(E[T])&&S[0]==="="){m(E[T],S.slice(1),y),D=!0;break}if(/[A-Za-z]/.test(E[T])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(S)){m(E[T],S,y),D=!0;break}if(E[T+1]&&E[T+1].match(/\W/)){m(E[T],y.slice(T+2),y),D=!0;break}else m(E[T],a.strings[E[T]]?"":!0,y)}C=y.slice(-1)[0],!D&&C!=="-"&&(i[d+1]&&!/^(-|--)[^-]/.test(i[d+1])&&!a.bools[C]&&(!c[C]||!l(C))?(m(C,i[d+1],y),d+=1):i[d+1]&&/^(true|false)$/.test(i[d+1])?(m(C,i[d+1]==="true",y),d+=1):m(C,a.strings[C]?"":!0,y))}else if((!a.unknownFn||a.unknownFn(y)!==!1)&&u._.push(a.strings._||!n(y)?y:Number(y)),o.stopEarly){u._.push.apply(u._,i.slice(d+1));break}}return Object.keys(f).forEach(function(x){r(u,x.split("."))||(g(u,x.split("."),f[x]),(c[x]||[]).forEach(function(F){g(u,F.split("."),f[x])}))}),o["--"]?u["--"]=O.slice():O.forEach(function(x){u._.push(x)}),u}}});function Mt(e,t,r=zt){const n=e.find(h=>h.length>0&&h[0]!=="-"),s={},i=["_"],o=[],a={};let c;for(const h in t){const g=t[h];g.type==="subcommand"?h===n&&(c=g):(g.alias&&(s[h]=g.alias),g.type==="string"||g.type==="string[]"?(i.push(h),g.deprecates&&i.push(...g.deprecates)):g.type==="boolean"&&(o.push(h),g.deprecates&&o.push(...g.deprecates)),g.global&&(a[h]=g))}if(c&&n){const h=a;for(const d in c.options)h[d]=c.options[d];const g=e.filter(d=>d!==n),m=r.getSubcommandReporter?r.getSubcommandReporter(n):void 0,O=Mt(g,h,m);return{[n]:O,_:[]}}const l=(0,Vt.default)(e,{string:i,boolean:o,alias:s}),f={},u=l;f._=l._.map(h=>String(h)).filter(h=>h.length>0),delete u._;for(const h in t){const g=t[h];if(g.type==="subcommand")continue;g.alias&&delete u[g.alias];let m=u[h];if(g.deprecates)for(const O of g.deprecates)u.hasOwnProperty(O)&&(m||(m=u[O],m&&r.onDeprecatedOption(O,g.deprecationMessage||$(1885,null,h))),delete u[O]);if(typeof m<"u"){if(g.type==="string[]"){if(Array.isArray(m)||(m=[m]),!g.allowEmptyValue){const O=m.filter(d=>d.length>0);O.length!==m.length&&(r.onEmptyValue(h),m=O.length>0?O:void 0)}}else g.type==="string"&&(Array.isArray(m)?(m=m.pop(),r.onMultipleValues(h,m)):!m&&!g.allowEmptyValue&&(r.onEmptyValue(h),m=void 0));f[h]=m,g.deprecationMessage&&r.onDeprecatedOption(h,g.deprecationMessage)}delete u[h]}for(const h in u)r.onUnknownOption(h);return f}function fi(e,t){let r="";return t.args&&(Array.isArray(t.args)?r=` <${t.args.join("> <")}>`:r=` <${t.args}>`),t.alias?`-${t.alias} --${e}${r}`:`--${e}${r}`}function hi(e,t){const r=[];for(const n in e){const s=e[n],i=fi(n,s);r.push([i,s.description])}return Ft(r,t)}function Ft(e,t){const n=e.reduce((o,a)=>Math.max(o,a[0].length),12)+2+1;if(t-n<25)return e.reduce((o,a)=>o.concat([` ${a[0]}`,` ${a[1]}`]),[]);const s=t-n-1,i=[];for(const o of e){const a=o[0],c=di(o[1],s),l=Ut(n-a.length-2);i.push(" "+a+l+c[0]);for(let f=1;f<c.length;f++)i.push(Ut(n)+c[f])}return i}function Ut(e){return" ".repeat(e)}function di(e,t){const r=[];for(;e.length;){let n=e.length<t?e.length:e.lastIndexOf(" ",t);n===0&&(n=t);const s=e.slice(0,n).trim();e=e.slice(n).trimStart(),r.push(s)}return r}function pi(e,t,r,n,s){const i=process.stdout.isTTY&&process.stdout.columns||80,o=s?.noInputFiles!==!0?`[${$(1886,null)}...]`:"",a=[`${e} ${r}`];a.push(""),a.push(`${$(1887,null)}: ${t} [${$(1888,null)}]${o}`),a.push(""),s?.noPipe!==!0&&(s1?a.push($(1889,null,t)):a.push($(1890,null,t)),a.push(""));const c={},l=[];for(const f in n){const u=n[f];if(u.type==="subcommand")u.description&&l.push({command:f,description:u.description});else if(u.description&&u.cat){let h=c[u.cat];h||(c[u.cat]=h={}),h[f]=u}}for(const f in c){const u=f,h=c[u];h&&(a.push(qt[u]),a.push(...hi(h,i)),a.push(""))}return l.length&&(a.push($(1891,null)),a.push(...Ft(l.map(f=>[f.command,f.description]),i)),a.push("")),a.join(`
`)}function gi(e,t){return`${e||$(1892,null)}
${t||$(1893,null)}
${process.arch}`}var Vt,qt,Ce,zt,mi=k({"out-build/vs/platform/environment/node/argv.js"(){"use strict";Vt=Gn(ui(),1),h1(),ot(),qt={o:$(1842,null),e:$(1843,null),t:$(1844,null)},Ce={tunnel:{type:"subcommand",description:"Make the current machine accessible from vscode.dev or other machines through a secure tunnel",options:{"cli-data-dir":{type:"string",args:"dir",description:$(1845,null)},"disable-telemetry":{type:"boolean"},"telemetry-level":{type:"string"},user:{type:"subcommand",options:{login:{type:"subcommand",options:{provider:{type:"string"},"access-token":{type:"string"}}}}}}},"serve-web":{type:"subcommand",description:"Run a server that displays the editor UI in browsers.",options:{"cli-data-dir":{type:"string",args:"dir",description:$(1846,null)},"disable-telemetry":{type:"boolean"},"telemetry-level":{type:"string"}}},diff:{type:"boolean",cat:"o",alias:"d",args:["file","file"],description:$(1847,null)},merge:{type:"boolean",cat:"o",alias:"m",args:["path1","path2","base","result"],description:$(1848,null)},add:{type:"boolean",cat:"o",alias:"a",args:"folder",description:$(1849,null)},remove:{type:"boolean",cat:"o",args:"folder",description:$(1850,null)},goto:{type:"boolean",cat:"o",alias:"g",args:"file:line[:character]",description:$(1851,null)},"new-window":{type:"boolean",cat:"o",alias:"n",description:$(1852,null)},"reuse-window":{type:"boolean",cat:"o",alias:"r",description:$(1853,null)},wait:{type:"boolean",cat:"o",alias:"w",description:$(1854,null)},waitMarkerFilePath:{type:"string"},locale:{type:"string",cat:"o",args:"locale",description:$(1855,null)},"user-data-dir":{type:"string",cat:"o",args:"dir",description:$(1856,null)},profile:{type:"string",cat:"o",args:"profileName",description:$(1857,null)},help:{type:"boolean",cat:"o",alias:"h",description:$(1858,null)},"stdin-to-clipboard":{type:"boolean",cat:"o",alias:"c",description:$(1859,null)},"extensions-dir":{type:"string",deprecates:["extensionHomePath"],cat:"e",args:"dir",description:$(1860,null)},"extensions-download-dir":{type:"string"},"builtin-extensions-dir":{type:"string"},"list-extensions":{type:"boolean",cat:"e",description:$(1861,null)},"show-versions":{type:"boolean",cat:"e",description:$(1862,null)},category:{type:"string",allowEmptyValue:!0,cat:"e",description:$(1863,null),args:"category"},"install-extension":{type:"string[]",cat:"e",args:"ext-id | path",description:$(1864,null)},"pre-release":{type:"boolean",cat:"e",description:$(1865,null)},"uninstall-extension":{type:"string[]",cat:"e",args:"ext-id",description:$(1866,null)},"update-extensions":{type:"boolean",cat:"e",description:$(1867,null)},"enable-proposed-api":{type:"string[]",allowEmptyValue:!0,cat:"e",args:"ext-id",description:$(1868,null)},"add-mcp":{type:"string[]",cat:"o",args:"json",description:$(1869,null)},version:{type:"boolean",cat:"t",alias:"v",description:$(1870,null)},verbose:{type:"boolean",cat:"t",global:!0,description:$(1871,null)},log:{type:"string[]",cat:"t",args:"level",global:!0,description:$(1872,null)},status:{type:"boolean",alias:"s",cat:"t",description:$(1873,null)},"prof-startup":{type:"boolean",cat:"t",description:$(1874,null)},"prof-append-timers":{type:"string"},"prof-duration-markers":{type:"string[]"},"prof-duration-markers-file":{type:"string"},"no-cached-data":{type:"boolean"},"prof-startup-prefix":{type:"string"},"prof-v8-extensions":{type:"boolean"},"disable-extensions":{type:"boolean",deprecates:["disableExtensions"],cat:"t",description:$(1875,null)},"disable-extension":{type:"string[]",cat:"t",args:"ext-id",description:$(1876,null)},sync:{type:"string",cat:"t",description:$(1877,null),args:["on | off"]},"inspect-extensions":{type:"string",allowEmptyValue:!0,deprecates:["debugPluginHost"],args:"port",cat:"t",description:$(1878,null)},"inspect-brk-extensions":{type:"string",allowEmptyValue:!0,deprecates:["debugBrkPluginHost"],args:"port",cat:"t",description:$(1879,null)},"disable-lcd-text":{type:"boolean",cat:"t",description:$(1880,null)},"disable-gpu":{type:"boolean",cat:"t",description:$(1881,null)},"disable-chromium-sandbox":{type:"boolean",cat:"t",description:$(1882,null)},sandbox:{type:"boolean"},"locate-shell-integration-path":{type:"string",cat:"t",args:["shell"],description:$(1883,null)},telemetry:{type:"boolean",cat:"t",description:$(1884,null)},remote:{type:"string",allowEmptyValue:!0},"folder-uri":{type:"string[]",cat:"o",args:"uri"},"file-uri":{type:"string[]",cat:"o",args:"uri"},"locate-extension":{type:"string[]"},extensionDevelopmentPath:{type:"string[]"},extensionDevelopmentKind:{type:"string[]"},extensionTestsPath:{type:"string"},extensionEnvironment:{type:"string"},debugId:{type:"string"},debugRenderer:{type:"boolean"},"inspect-ptyhost":{type:"string",allowEmptyValue:!0},"inspect-brk-ptyhost":{type:"string",allowEmptyValue:!0},"inspect-search":{type:"string",deprecates:["debugSearch"],allowEmptyValue:!0},"inspect-brk-search":{type:"string",deprecates:["debugBrkSearch"],allowEmptyValue:!0},"inspect-sharedprocess":{type:"string",allowEmptyValue:!0},"inspect-brk-sharedprocess":{type:"string",allowEmptyValue:!0},"export-default-configuration":{type:"string"},"install-source":{type:"string"},"enable-smoke-test-driver":{type:"boolean"},logExtensionHostCommunication:{type:"boolean"},"skip-release-notes":{type:"boolean"},"skip-welcome":{type:"boolean"},"disable-telemetry":{type:"boolean"},"disable-updates":{type:"boolean"},"use-inmemory-secretstorage":{type:"boolean",deprecates:["disable-keytar"]},"password-store":{type:"string"},"disable-workspace-trust":{type:"boolean"},"disable-crash-reporter":{type:"boolean"},"crash-reporter-directory":{type:"string"},"crash-reporter-id":{type:"string"},"skip-add-to-recently-opened":{type:"boolean"},"open-url":{type:"boolean"},"file-write":{type:"boolean"},"file-chmod":{type:"boolean"},"install-builtin-extension":{type:"string[]"},force:{type:"boolean"},"do-not-sync":{type:"boolean"},"do-not-include-pack-dependencies":{type:"boolean"},trace:{type:"boolean"},"trace-memory-infra":{type:"boolean"},"trace-category-filter":{type:"string"},"trace-options":{type:"string"},"preserve-env":{type:"boolean"},"force-user-env":{type:"boolean"},"force-disable-user-env":{type:"boolean"},"open-devtools":{type:"boolean"},"disable-gpu-sandbox":{type:"boolean"},logsPath:{type:"string"},"__enable-file-policy":{type:"boolean"},editSessionId:{type:"string"},continueOn:{type:"string"},"enable-coi":{type:"boolean"},"unresponsive-sample-interval":{type:"string"},"unresponsive-sample-period":{type:"string"},"no-proxy-server":{type:"boolean"},"no-sandbox":{type:"boolean",alias:"sandbox"},"proxy-server":{type:"string"},"proxy-bypass-list":{type:"string"},"proxy-pac-url":{type:"string"},"js-flags":{type:"string"},inspect:{type:"string",allowEmptyValue:!0},"inspect-brk":{type:"string",allowEmptyValue:!0},nolazy:{type:"boolean"},"force-device-scale-factor":{type:"string"},"force-renderer-accessibility":{type:"boolean"},"ignore-certificate-errors":{type:"boolean"},"allow-insecure-localhost":{type:"boolean"},"log-net-log":{type:"string"},vmodule:{type:"string"},_urls:{type:"string[]"},"disable-dev-shm-usage":{type:"boolean"},"profile-temp":{type:"boolean"},"ozone-platform":{type:"string"},"enable-tracing":{type:"string"},"trace-startup-format":{type:"string"},"trace-startup-file":{type:"string"},"trace-startup-duration":{type:"string"},"xdg-portal-required-version":{type:"string"},_:{type:"string[]"}},zt={onUnknownOption:()=>{},onMultipleValues:()=>{},onEmptyValue:()=>{},onDeprecatedOption:()=>{}}}});function vi(e,t){const r=Object.create(null);for(const n of e){const s=t(n);let i=r[s];i||(i=r[s]=[]),i.push(n)}return r}var Wt,yi,Ht=k({"out-build/vs/base/common/collections.js"(){"use strict";yi=class{static{Wt=Symbol.toStringTag}constructor(e,t){this.b=t,this.a=new Map,this[Wt]="SetWithKey";for(const r of e)this.add(r)}get size(){return this.a.size}add(e){const t=this.b(e);return this.a.set(t,e),this}delete(e){return this.a.delete(this.b(e))}has(e){return this.a.has(this.b(e))}*entries(){for(const e of this.a.values())yield[e,e]}keys(){return this.values()}*values(){for(const e of this.a.values())yield e}clear(){this.a.clear()}forEach(e,t){this.a.forEach(r=>e.call(t,r,r,this))}[Symbol.iterator](){return this.values()}}}});function X1(e){bi(e)||Jt.onUnexpectedError(e)}function bi(e){return e instanceof Ee?!0:e instanceof Error&&e.name===ee&&e.message===ee}var Kt,Jt,ee,Ee,Ae,N1=k({"out-build/vs/base/common/errors.js"(){"use strict";Kt=class{constructor(){this.b=[],this.a=function(e){setTimeout(()=>{throw e.stack?Ae.isErrorNoTelemetry(e)?new Ae(e.message+`
`+e.stack):new Error(e.message+`
`+e.stack):e},0)}}addListener(e){return this.b.push(e),()=>{this.d(e)}}c(e){this.b.forEach(t=>{t(e)})}d(e){this.b.splice(this.b.indexOf(e),1)}setUnexpectedErrorHandler(e){this.a=e}getUnexpectedErrorHandler(){return this.a}onUnexpectedError(e){this.a(e),this.c(e)}onUnexpectedExternalError(e){this.a(e)}},Jt=new Kt,ee="Canceled",Ee=class extends Error{constructor(){super(ee),this.name=this.message}},Ae=class Xe extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof Xe)return t;const r=new Xe;return r.message=t.message,r.stack=t.stack,r}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}}});function wi(e,t){const r=this;let n=!1,s;return function(){if(n)return s;if(n=!0,t)try{s=e.apply(r,arguments)}finally{t()}else s=e.apply(r,arguments);return s}}var Gt=k({"out-build/vs/base/common/functional.js"(){"use strict"}});function _i(e,t,r=0,n=e.length){let s=r,i=n;for(;s<i;){const o=Math.floor((s+i)/2);t(e[o])?s=o+1:i=o}return s-1}var Ci,Ei=k({"out-build/vs/base/common/arraysFind.js"(){"use strict";Ci=class Dn{static{this.assertInvariants=!1}constructor(t){this.e=t,this.c=0}findLastMonotonous(t){if(Dn.assertInvariants){if(this.d){for(const n of this.e)if(this.d(n)&&!t(n))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this.d=t}const r=_i(this.e,t,this.c);return this.c=r+1,r===-1?void 0:this.e[r]}}}});function Ai(e,t){return(r,n)=>t(e(r),e(n))}var $e,Bt,$i,Oi=k({"out-build/vs/base/common/arrays.js"(){"use strict";Ei(),N1(),function(e){function t(i){return i<0}e.isLessThan=t;function r(i){return i<=0}e.isLessThanOrEqual=r;function n(i){return i>0}e.isGreaterThan=n;function s(i){return i===0}e.isNeitherLessOrGreaterThan=s,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}($e||($e={})),Bt=(e,t)=>e-t,$i=class le{static{this.empty=new le(t=>{})}constructor(t){this.iterate=t}forEach(t){this.iterate(r=>(t(r),!0))}toArray(){const t=[];return this.iterate(r=>(t.push(r),!0)),t}filter(t){return new le(r=>this.iterate(n=>t(n)?r(n):!0))}map(t){return new le(r=>this.iterate(n=>r(t(n))))}some(t){let r=!1;return this.iterate(n=>(r=t(n),!r)),r}findFirst(t){let r;return this.iterate(n=>t(n)?(r=n,!1):!0),r}findLast(t){let r;return this.iterate(n=>(t(n)&&(r=n),!0)),r}findLastMaxBy(t){let r,n=!0;return this.iterate(s=>((n||$e.isGreaterThan(t(s,r)))&&(n=!1,r=s),!0)),r}}}});function Si(e){return Array.isArray(e)}var Zt,Qt,Yt,Xt,Oe,xi,er,Pi,tr,Li=k({"out-build/vs/base/common/map.js"(){"use strict";Xt=class{constructor(e,t){this.uri=e,this.value=t}},Oe=class V1{static{this.c=t=>t.toString()}constructor(t,r){if(this[Zt]="ResourceMap",t instanceof V1)this.d=new Map(t.d),this.e=r??V1.c;else if(Si(t)){this.d=new Map,this.e=r??V1.c;for(const[n,s]of t)this.set(n,s)}else this.d=new Map,this.e=t??V1.c}set(t,r){return this.d.set(this.e(t),new Xt(t,r)),this}get(t){return this.d.get(this.e(t))?.value}has(t){return this.d.has(this.e(t))}get size(){return this.d.size}clear(){this.d.clear()}delete(t){return this.d.delete(this.e(t))}forEach(t,r){typeof r<"u"&&(t=t.bind(r));for(const[n,s]of this.d)t(s.value,s.uri,this)}*values(){for(const t of this.d.values())yield t.value}*keys(){for(const t of this.d.values())yield t.uri}*entries(){for(const t of this.d.values())yield[t.uri,t.value]}*[(Zt=Symbol.toStringTag,Symbol.iterator)](){for(const[,t]of this.d)yield[t.uri,t.value]}},xi=class{constructor(e,t){this[Qt]="ResourceSet",!e||typeof e=="function"?this.c=new Oe(e):(this.c=new Oe(t),e.forEach(this.add,this))}get size(){return this.c.size}add(e){return this.c.set(e,e),this}clear(){this.c.clear()}delete(e){return this.c.delete(e)}forEach(e,t){this.c.forEach((r,n)=>e.call(t,n,n,this))}has(e){return this.c.has(e)}entries(){return this.c.entries()}keys(){return this.c.keys()}values(){return this.c.keys()}[(Qt=Symbol.toStringTag,Symbol.iterator)](){return this.keys()}},function(e){e[e.None=0]="None",e[e.AsOld=1]="AsOld",e[e.AsNew=2]="AsNew"}(er||(er={})),Pi=class{constructor(){this[Yt]="LinkedMap",this.c=new Map,this.d=void 0,this.e=void 0,this.f=0,this.g=0}clear(){this.c.clear(),this.d=void 0,this.e=void 0,this.f=0,this.g++}isEmpty(){return!this.d&&!this.e}get size(){return this.f}get first(){return this.d?.value}get last(){return this.e?.value}has(e){return this.c.has(e)}get(e,t=0){const r=this.c.get(e);if(r)return t!==0&&this.n(r,t),r.value}set(e,t,r=0){let n=this.c.get(e);if(n)n.value=t,r!==0&&this.n(n,r);else{switch(n={key:e,value:t,next:void 0,previous:void 0},r){case 0:this.l(n);break;case 1:this.k(n);break;case 2:this.l(n);break;default:this.l(n);break}this.c.set(e,n),this.f++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this.c.get(e);if(t)return this.c.delete(e),this.m(t),this.f--,t.value}shift(){if(!this.d&&!this.e)return;if(!this.d||!this.e)throw new Error("Invalid list");const e=this.d;return this.c.delete(e.key),this.m(e),this.f--,e.value}forEach(e,t){const r=this.g;let n=this.d;for(;n;){if(t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),this.g!==r)throw new Error("LinkedMap got modified during iteration.");n=n.next}}keys(){const e=this,t=this.g;let r=this.d;const n={[Symbol.iterator](){return n},next(){if(e.g!==t)throw new Error("LinkedMap got modified during iteration.");if(r){const s={value:r.key,done:!1};return r=r.next,s}else return{value:void 0,done:!0}}};return n}values(){const e=this,t=this.g;let r=this.d;const n={[Symbol.iterator](){return n},next(){if(e.g!==t)throw new Error("LinkedMap got modified during iteration.");if(r){const s={value:r.value,done:!1};return r=r.next,s}else return{value:void 0,done:!0}}};return n}entries(){const e=this,t=this.g;let r=this.d;const n={[Symbol.iterator](){return n},next(){if(e.g!==t)throw new Error("LinkedMap got modified during iteration.");if(r){const s={value:[r.key,r.value],done:!1};return r=r.next,s}else return{value:void 0,done:!0}}};return n}[(Yt=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}h(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this.d,r=this.size;for(;t&&r>e;)this.c.delete(t.key),t=t.next,r--;this.d=t,this.f=r,t&&(t.previous=void 0),this.g++}j(e){if(e>=this.size)return;if(e===0){this.clear();return}let t=this.e,r=this.size;for(;t&&r>e;)this.c.delete(t.key),t=t.previous,r--;this.e=t,this.f=r,t&&(t.next=void 0),this.g++}k(e){if(!this.d&&!this.e)this.e=e;else if(this.d)e.next=this.d,this.d.previous=e;else throw new Error("Invalid list");this.d=e,this.g++}l(e){if(!this.d&&!this.e)this.d=e;else if(this.e)e.previous=this.e,this.e.next=e;else throw new Error("Invalid list");this.e=e,this.g++}m(e){if(e===this.d&&e===this.e)this.d=void 0,this.e=void 0;else if(e===this.d){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this.d=e.next}else if(e===this.e){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this.e=e.previous}else{const t=e.next,r=e.previous;if(!t||!r)throw new Error("Invalid list");t.previous=r,r.next=t}e.next=void 0,e.previous=void 0,this.g++}n(e,t){if(!this.d||!this.e)throw new Error("Invalid list");if(!(t!==1&&t!==2)){if(t===1){if(e===this.d)return;const r=e.next,n=e.previous;e===this.e?(n.next=void 0,this.e=n):(r.previous=n,n.next=r),e.previous=void 0,e.next=this.d,this.d.previous=e,this.d=e,this.g++}else if(t===2){if(e===this.e)return;const r=e.next,n=e.previous;e===this.d?(r.previous=void 0,this.d=r):(r.previous=n,n.next=r),e.next=void 0,e.previous=this.e,this.e.next=e,this.e=e,this.g++}}}toJSON(){const e=[];return this.forEach((t,r)=>{e.push([r,t])}),e}fromJSON(e){this.clear();for(const[t,r]of e)this.set(t,r)}},tr=class{constructor(){this.c=new Map}add(e,t){let r=this.c.get(e);r||(r=new Set,this.c.set(e,r)),r.add(t)}delete(e,t){const r=this.c.get(e);r&&(r.delete(t),r.size===0&&this.c.delete(e))}forEach(e,t){const r=this.c.get(e);r&&r.forEach(t)}get(e){const t=this.c.get(e);return t||new Set}}}}),Di=k({"out-build/vs/base/common/assert.js"(){"use strict";N1()}});function ki(e){return!!e&&typeof e[Symbol.iterator]=="function"}var rr=k({"out-build/vs/base/common/types.js"(){"use strict";Di()}}),Se,Ni=k({"out-build/vs/base/common/iterator.js"(){"use strict";rr(),function(e){function t(_){return _&&typeof _=="object"&&typeof _[Symbol.iterator]=="function"}e.is=t;const r=Object.freeze([]);function n(){return r}e.empty=n;function*s(_){yield _}e.single=s;function i(_){return t(_)?_:s(_)}e.wrap=i;function o(_){return _||r}e.from=o;function*a(_){for(let E=_.length-1;E>=0;E--)yield _[E]}e.reverse=a;function c(_){return!_||_